kaleido-ui 0.1.93 → 0.1.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/index.cjs +2 -2
- package/dist/web/index.js +2 -2
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -239,12 +239,12 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
|
239
239
|
surface: "bg-primary/15 text-primary hover:bg-primary/25",
|
|
240
240
|
cta: "w-full bg-primary text-primary-foreground font-bold rounded-2xl shadow-md hover:brightness-115 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none",
|
|
241
241
|
"cta-gradient": "w-full bg-gradient-to-r from-primary to-primary/80 text-primary-foreground font-extrabold rounded-2xl shadow-lg hover:opacity-90 hover:-translate-y-0.5 active:translate-y-0 active:opacity-100 disabled:opacity-40 disabled:shadow-none disabled:cursor-not-allowed disabled:bg-accent disabled:text-muted-foreground",
|
|
242
|
-
"danger-subtle": "bg-danger/10
|
|
242
|
+
"danger-subtle": "bg-danger/10 text-danger font-bold rounded-xl hover:bg-danger/15 hover:brightness-115",
|
|
243
243
|
hyperlink: "group text-muted-foreground underline underline-offset-2 hover:text-white hover:decoration-primary hover:[&_.icon]:text-primary bg-transparent font-normal",
|
|
244
244
|
// Hierarchy variants — primary/secondary/tertiary action emphasis.
|
|
245
245
|
// Pair with size="lg" or size="cta" for full-bleed buttons.
|
|
246
246
|
h1: "w-full bg-primary text-primary-foreground font-bold rounded-2xl shadow-md hover:brightness-115 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none",
|
|
247
|
-
h2: "w-full bg-primary/15 text-primary font-semibold rounded-xl
|
|
247
|
+
h2: "w-full bg-primary/15 text-primary font-semibold rounded-xl hover:bg-primary/25",
|
|
248
248
|
h3: "text-primary font-semibold rounded-lg hover:bg-primary/10 active:bg-primary/15"
|
|
249
249
|
},
|
|
250
250
|
size: {
|
package/dist/web/index.js
CHANGED
|
@@ -51,12 +51,12 @@ var buttonVariants = cva(
|
|
|
51
51
|
surface: "bg-primary/15 text-primary hover:bg-primary/25",
|
|
52
52
|
cta: "w-full bg-primary text-primary-foreground font-bold rounded-2xl shadow-md hover:brightness-115 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none",
|
|
53
53
|
"cta-gradient": "w-full bg-gradient-to-r from-primary to-primary/80 text-primary-foreground font-extrabold rounded-2xl shadow-lg hover:opacity-90 hover:-translate-y-0.5 active:translate-y-0 active:opacity-100 disabled:opacity-40 disabled:shadow-none disabled:cursor-not-allowed disabled:bg-accent disabled:text-muted-foreground",
|
|
54
|
-
"danger-subtle": "bg-danger/10
|
|
54
|
+
"danger-subtle": "bg-danger/10 text-danger font-bold rounded-xl hover:bg-danger/15 hover:brightness-115",
|
|
55
55
|
hyperlink: "group text-muted-foreground underline underline-offset-2 hover:text-white hover:decoration-primary hover:[&_.icon]:text-primary bg-transparent font-normal",
|
|
56
56
|
// Hierarchy variants — primary/secondary/tertiary action emphasis.
|
|
57
57
|
// Pair with size="lg" or size="cta" for full-bleed buttons.
|
|
58
58
|
h1: "w-full bg-primary text-primary-foreground font-bold rounded-2xl shadow-md hover:brightness-115 disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none",
|
|
59
|
-
h2: "w-full bg-primary/15 text-primary font-semibold rounded-xl
|
|
59
|
+
h2: "w-full bg-primary/15 text-primary font-semibold rounded-xl hover:bg-primary/25",
|
|
60
60
|
h3: "text-primary font-semibold rounded-lg hover:bg-primary/10 active:bg-primary/15"
|
|
61
61
|
},
|
|
62
62
|
size: {
|
package/package.json
CHANGED