@keboola/design 4.3.0 → 4.3.2

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.
@@ -566,7 +566,7 @@ var init_styles = __esm({
566
566
  "tw-tracking-[1px]",
567
567
  "tw-uppercase",
568
568
  // border
569
- "tw-rounded",
569
+ "tw-rounded-[var(--radius-lg,0.25rem)]",
570
570
  "tw-border",
571
571
  "tw-border-transparent",
572
572
  // styling
@@ -720,7 +720,7 @@ var init_styles = __esm({
720
720
  // border
721
721
  "tw-border",
722
722
  "tw-border-transparent",
723
- "tw-rounded-lg",
723
+ "tw-rounded-[var(--radius-lg,0.25rem)]",
724
724
  // text
725
725
  "tw-font-medium",
726
726
  "tw-select-none",
@@ -782,6 +782,9 @@ var init_styles = __esm({
782
782
  outline: [
783
783
  "!tw-border-input",
784
784
  "tw-bg-background",
785
+ // Semantic base text color so the label/icon flips in dark mode
786
+ // (matches `invisible`); previously unset → inherited a fixed dark color.
787
+ "tw-text-foreground",
785
788
  "hover:not-disabled:tw-bg-accent",
786
789
  "hover:not-disabled:tw-text-accent-foreground",
787
790
  "hover:active:tw-bg-background",
@@ -1809,8 +1812,8 @@ var variants2 = cva(
1809
1812
  variant: {
1810
1813
  default: "tw-border tw-border-border tw-bg-popover",
1811
1814
  error: "tw-bg-error-550",
1812
- info: "tw-bg-secondary-600",
1813
- success: "tw-bg-primary-700",
1815
+ info: "tw-bg-blue-600",
1816
+ success: "tw-bg-green-700",
1814
1817
  warning: "tw-bg-warning-550"
1815
1818
  }
1816
1819
  }
@@ -2756,7 +2759,10 @@ var DropdownMenuRadioItem = ({
2756
2759
  "data-[state=checked]:tw-cursor-default",
2757
2760
  {
2758
2761
  "data-[state=checked]:tw-bg-neutral-100": indicator === "none",
2759
- "group-data-[variant=argo]/dropdown-menu-content:data-[state=checked]:tw-bg-sky-100": indicator === "check"
2762
+ // Semantic brand tint (flips under `[data-theme='dark']`) instead of a
2763
+ // hardcoded `tw-bg-sky-100`, which stayed light in dark mode and left the
2764
+ // checked item's text near-invisible.
2765
+ "group-data-[variant=argo]/dropdown-menu-content:data-[state=checked]:tw-bg-primary/10": indicator === "check"
2760
2766
  },
2761
2767
  className
2762
2768
  ),
@@ -3275,7 +3281,7 @@ var inputGroupVariants = cva(
3275
3281
  "tw-flex",
3276
3282
  "tw-items-center",
3277
3283
  // base
3278
- "tw-rounded",
3284
+ "tw-rounded-[var(--radius-lg,0.25rem)]",
3279
3285
  "tw-border",
3280
3286
  "tw-border-solid",
3281
3287
  "tw-border-neutral-200",
@@ -3396,7 +3402,6 @@ var inputGroupVariants = cva(
3396
3402
  // muted filled input surface — gray, distinct from white containers; not the app-background token
3397
3403
  "tw-bg-muted",
3398
3404
  "tw-border-input",
3399
- "tw-rounded-lg",
3400
3405
  "tw-text-foreground",
3401
3406
  "has-[:is(input,textarea):disabled]:tw-opacity-50",
3402
3407
  // higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly