Comparing version 1.0.5 to 1.0.6
@@ -705,2 +705,3 @@ // src/plugin.ts | ||
}], | ||
["o-dashed", { "border-style": "dashed" }], | ||
["o-solid", { | ||
@@ -710,2 +711,7 @@ "background-color": "rgba(var(--onu-c-context), 1) !important", | ||
"color": "white !important" | ||
}], | ||
["o-disabled", { | ||
"opacity": 0.4, | ||
"pointer-events": "none", | ||
"cursor": "not-allowed" | ||
}] | ||
@@ -733,23 +739,38 @@ ], | ||
], | ||
shortcuts: { | ||
...commonShortcuts, | ||
"o-border-base": "border-gray-400/50", | ||
"o-border-300": "border-gray-400/40", | ||
"o-border-200": "border-gray-400/25", | ||
"o-transition": "transition-all duration-200", | ||
"o-focus-base": "ring-2 ring-context/50", | ||
"o-active-base": "ring-3 ring-context/10", | ||
"o-borderless": "!border-none !shadow-none", | ||
"o-solid": "!bg-context !border-context !c-white", | ||
"o-light": "!bg-transparent !border-context !c-context", | ||
"o-button-base": "fcc gap-1 inline-flex px-1em py-0.25em cursor-pointer rounded text-sm !outline-none c-context o-solid border", | ||
"o-button-light": "o-light", | ||
"o-button-link": "decoration-none", | ||
"o-button-hover": "op100 !border-context text-context", | ||
"o-button-active": "o-active-base bg-context/5", | ||
"o-button-icon": "-ml-0.2em mr-0.2em text-1.1em", | ||
"o-avatar-base": "border-circle rounded-full shadow-sm", | ||
"o-avatar-icon": "text-2em", | ||
"o-card-base": "rounded-lg shadow-lg p-8 bg-gradient-from-rgba(255, 255, 255, 0.2) bg-gradient-to-rgba(255, 255, 255, 0.035) backdrop-blur-lg overflow-hidden" | ||
} | ||
shortcuts: [ | ||
{ | ||
...commonShortcuts, | ||
"o-border-base": "border-gray-400/50", | ||
"o-border-300": "border-gray-400/40", | ||
"o-border-200": "border-gray-400/25", | ||
"o-transition": "transition-all duration-200", | ||
"o-focus-base": "ring-2 ring-context/50", | ||
"o-active-base": "ring-3 ring-context/10", | ||
"o-borderless": "!border-none !shadow-none", | ||
"o-solid": "bg-context border-context c-white", | ||
"o-light": `bg-context:12 hover-bg-context active-bg-context:64 | ||
!border-context !hover-border-context !active-border-context:64 | ||
!c-context !hover-c-white !active-c-white`, | ||
"o-text": `!bg-transparent !hover-bg-context:32 !active-bg-context:12 | ||
!border-transparent | ||
!c-context`, | ||
"o-button-base": "fcc gap-1 inline-flex cursor-pointer rounded !outline-none c-context o-solid border", | ||
"o-button-hover": "hover-border-context:64 hover-text-white hover-bg-context:64", | ||
"o-button-active": "active-border-context:32 active-text-white active-bg-context:32", | ||
"o-button-light": "o-light", | ||
"o-button-text": "o-text", | ||
"o-button-size-xs": "px-0.6em py-0.18em", | ||
"o-button-size-sm": "px-0.8em py-0.22em", | ||
"o-button-size-md": "px-1em py-0.25em", | ||
"o-button-size-lg": "px-1.1em py-0.3em", | ||
"o-button-size-xl": "px-1.2em py-0.4em", | ||
"o-avatar-base": "border-circle rounded shadow-sm", | ||
"o-avatar-icon": "text-2em", | ||
"o-card-base": "rounded-lg shadow-lg p-8 bg-gradient-from-rgba(255, 255, 255, 0.2) bg-gradient-to-rgba(255, 255, 255, 0.035) backdrop-blur-lg overflow-hidden" | ||
}, | ||
[/^o-button-(.*)$/, ([, s]) => { | ||
if (["xs", "sm", "md", "lg", "xl"].includes(s)) | ||
return `o-button-size-${s} text-${s}`; | ||
}] | ||
] | ||
}; | ||
@@ -756,0 +777,0 @@ } |
{ | ||
"name": "onu-ui", | ||
"type": "module", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Onu-UI for web components with unocss & vueuse", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@onu-ui/components": "1.0.5" | ||
"@onu-ui/components": "1.0.6" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46876
1607
Updated@onu-ui/components@1.0.6