kaleido-ui 0.1.93 → 0.1.95

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.
@@ -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 border border-danger/20 text-danger font-bold rounded-xl hover:brightness-115",
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 border border-primary/20 hover:bg-primary/25 hover:border-primary/35",
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: {
@@ -2808,7 +2808,7 @@ function OptionSelector({
2808
2808
  !compact && "w-full"
2809
2809
  ),
2810
2810
  children: [
2811
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "truncate", children: selected?.label }),
2811
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "truncate leading-normal", children: selected?.label }),
2812
2812
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2813
2813
  Icon,
2814
2814
  {
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 border border-danger/20 text-danger font-bold rounded-xl hover:brightness-115",
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 border border-primary/20 hover:bg-primary/25 hover:border-primary/35",
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: {
@@ -2626,7 +2626,7 @@ function OptionSelector({
2626
2626
  !compact && "w-full"
2627
2627
  ),
2628
2628
  children: [
2629
- /* @__PURE__ */ jsx32("span", { className: "truncate", children: selected?.label }),
2629
+ /* @__PURE__ */ jsx32("span", { className: "truncate leading-normal", children: selected?.label }),
2630
2630
  /* @__PURE__ */ jsx32(
2631
2631
  Icon,
2632
2632
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.93",
3
+ "version": "0.1.95",
4
4
  "description": "KaleidoSwap shared UI library — design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
5
5
  "license": "MIT",
6
6
  "type": "module",