@keboola/design 4.2.0 → 4.2.1

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/index.cjs CHANGED
@@ -1443,9 +1443,9 @@ var variants = classVarianceAuthority.cva(
1443
1443
  "focus-visible:tw-outline",
1444
1444
  "focus-visible:tw-outline-1",
1445
1445
  "focus-visible:-tw-outline-offset-1",
1446
- "focus-visible:tw-outline-secondary-500",
1446
+ "focus-visible:tw-outline-ring",
1447
1447
  "focus-visible:tw-ring-4",
1448
- "focus-visible:tw-ring-secondary-200",
1448
+ "focus-visible:tw-ring-ring/30",
1449
1449
  // disabled
1450
1450
  "disabled:tw-opacity-40",
1451
1451
  "disabled:tw-cursor-not-allowed",
@@ -2489,9 +2489,10 @@ var toggleVariants = classVarianceAuthority.cva(
2489
2489
  // focus-visible
2490
2490
  "[&:not(:active)]:not-disabled:focus-visible:tw-outline",
2491
2491
  "!tw-outline-offset-0",
2492
- "[&:not(:active)]:not-disabled:focus-visible:tw-outline-secondary-500",
2492
+ "[&:not(:active)]:not-disabled:focus-visible:tw-outline-ring",
2493
2493
  "[&:not(:active)]:not-disabled:focus-visible:tw-outline-1",
2494
- "[&:not(:active)]:not-disabled:focus-visible:tw-shadow-[0_0_0_4px_rgba(31,143,255,0.2)]"
2494
+ "[&:not(:active)]:not-disabled:focus-visible:tw-ring-4",
2495
+ "[&:not(:active)]:not-disabled:focus-visible:tw-ring-ring/20"
2495
2496
  ],
2496
2497
  {
2497
2498
  variants: {
@@ -8832,7 +8833,7 @@ var inputGroupVariants = classVarianceAuthority.cva(
8832
8833
  variants: {
8833
8834
  focusVariant: {
8834
8835
  default: [],
8835
- on: ["!tw-border-secondary-500", "!tw-ring-secondary-200", "!tw-ring-4"],
8836
+ on: ["!tw-border-ring", "!tw-ring-ring/30", "!tw-ring-4"],
8836
8837
  off: ["has-[:is(input,textarea):focus]:!tw-ring-0"]
8837
8838
  },
8838
8839
  variant: {
@@ -8872,8 +8873,8 @@ var inputGroupVariants = classVarianceAuthority.cva(
8872
8873
  },
8873
8874
  state: {
8874
8875
  default: [
8875
- "has-[:is(input,textarea):focus]:tw-border-secondary-500",
8876
- "has-[:is(input,textarea):focus]:tw-ring-secondary-200"
8876
+ "has-[:is(input,textarea):focus]:tw-border-ring",
8877
+ "has-[:is(input,textarea):focus]:tw-ring-ring/30"
8877
8878
  ],
8878
8879
  error: [
8879
8880
  "tw-border-error-500",
@@ -9953,9 +9954,9 @@ var switchVariants = classVarianceAuthority.cva(
9953
9954
  "focus-visible:tw-outline-none",
9954
9955
  "before:focus-visible:tw-outline",
9955
9956
  "before:focus-visible:tw-outline-1",
9956
- "before:focus-visible:tw-outline-secondary-500",
9957
+ "before:focus-visible:tw-outline-ring",
9957
9958
  "before:focus-visible:tw-ring-4",
9958
- "before:focus-visible:tw-ring-secondary-200"
9959
+ "before:focus-visible:tw-ring-ring/30"
9959
9960
  ],
9960
9961
  argo: [
9961
9962
  "tw-peer",
@@ -10139,7 +10140,7 @@ var radioVariants = classVarianceAuthority.cva(
10139
10140
  "data-[state=unchecked]:hover:tw-border-primary",
10140
10141
  "data-[state=unchecked]:disabled:hover:tw-border-neutral-200",
10141
10142
  "focus-visible:tw-ring-2",
10142
- "focus-visible:tw-ring-secondary-200"
10143
+ "focus-visible:tw-ring-ring/30"
10143
10144
  ],
10144
10145
  argo: [
10145
10146
  "disabled:tw-opacity-50",
@@ -10219,9 +10220,9 @@ var radioItemButtonVariants = classVarianceAuthority.cva(
10219
10220
  "data-[state=checked]:tw-text-white",
10220
10221
  "data-[state=checked]:tw-cursor-default",
10221
10222
  "focus-visible:tw-outline",
10222
- "focus-visible:tw-outline-secondary-500",
10223
+ "focus-visible:tw-outline-ring",
10223
10224
  "focus-visible:tw-ring-4",
10224
- "focus-visible:tw-ring-secondary-200"
10225
+ "focus-visible:tw-ring-ring/30"
10225
10226
  ],
10226
10227
  argo: [
10227
10228
  "disabled:tw-opacity-50",
@@ -10690,8 +10691,8 @@ var searchWrapperVariants = classVarianceAuthority.cva(
10690
10691
  // focus
10691
10692
  "has-[input:focus]:tw-outline-1",
10692
10693
  "has-[input:focus]:tw-ring-4",
10693
- "has-[input:focus]:tw-outline-secondary-500",
10694
- "has-[input:focus]:tw-ring-secondary-200"
10694
+ "has-[input:focus]:tw-outline-ring",
10695
+ "has-[input:focus]:tw-ring-ring/30"
10695
10696
  ],
10696
10697
  ai: [
10697
10698
  "tailwindcss-preflight",
@@ -10708,7 +10709,7 @@ var searchWrapperVariants = classVarianceAuthority.cva(
10708
10709
  "tw-shadow-[inset_0_100vw_white]",
10709
10710
  // focus
10710
10711
  "has-[input:focus]:tw-ring-4",
10711
- "has-[input:focus]:tw-ring-secondary-200"
10712
+ "has-[input:focus]:tw-ring-ring/30"
10712
10713
  ]
10713
10714
  }
10714
10715
  }
@@ -11130,10 +11131,10 @@ var variants4 = classVarianceAuthority.cva(
11130
11131
  },
11131
11132
  state: {
11132
11133
  default: [
11133
- "focus:tw-border-secondary-500",
11134
- "focus:tw-ring-secondary-200",
11135
- "data-[state=open]:tw-border-secondary-500",
11136
- "data-[state=open]:tw-ring-secondary-200"
11134
+ "focus:tw-border-ring",
11135
+ "focus:tw-ring-ring/30",
11136
+ "data-[state=open]:tw-border-ring",
11137
+ "data-[state=open]:tw-ring-ring/30"
11137
11138
  ],
11138
11139
  error: [
11139
11140
  "tw-border-error-500",
@@ -11512,7 +11513,7 @@ var badgeRootVariants = classVarianceAuthority.cva(
11512
11513
  "focus-visible:tw-outline-none",
11513
11514
  "focus-visible:tw-ring-2",
11514
11515
  "focus-visible:tw-ring-inset",
11515
- "focus-visible:tw-ring-secondary-500"
11516
+ "focus-visible:tw-ring-ring"
11516
11517
  ],
11517
11518
  {
11518
11519
  defaultVariants: {
@@ -14978,9 +14979,9 @@ FormGroup.NumberInput = FormGroupNumberInput;
14978
14979
  FormGroup.ColorInput = FormGroupColorInput;
14979
14980
  FormGroup.Textarea = FormGroupTextarea;
14980
14981
  var variantClasses = {
14981
- success: "tw-text-secondary-500 focus-visible:tw-outline-secondary-500 not-disabled:hover:tw-text-secondary-600",
14982
+ success: "tw-text-secondary-500 focus-visible:tw-outline-ring not-disabled:hover:tw-text-secondary-600",
14982
14983
  error: "tw-text-error-500 focus-visible:tw-outline-error-500 not-disabled:hover:tw-text-error-600",
14983
- processing: "tw-text-secondary-500 focus-visible:tw-outline-secondary-500 not-disabled:hover:tw-text-secondary-600",
14984
+ processing: "tw-text-secondary-500 focus-visible:tw-outline-ring not-disabled:hover:tw-text-secondary-600",
14984
14985
  dismissed: "tw-text-neutral-700 focus-visible:tw-outline-neutral-500 not-disabled:hover:tw-text-neutral-800"
14985
14986
  };
14986
14987
  var renderVariantIcon = (variant) => {
@@ -15113,8 +15114,8 @@ var Avatar = ({
15113
15114
  "tw-border",
15114
15115
  "tw-border-transparent",
15115
15116
  "focus-visible:tw-ring-4",
15116
- "focus-visible:tw-ring-secondary-200",
15117
- "focus-visible:tw-border-secondary-500",
15117
+ "focus-visible:tw-ring-ring/30",
15118
+ "focus-visible:tw-border-ring",
15118
15119
  className
15119
15120
  ),
15120
15121
  children: [
@@ -15225,7 +15226,7 @@ var ExpandToggle = ({
15225
15226
  type: "button",
15226
15227
  onClick: onToggle,
15227
15228
  "aria-expanded": isExpanded,
15228
- className: "tailwindcss-preflight tw-inline-flex tw-cursor-pointer tw-items-center tw-gap-1 tw-bg-transparent tw-p-0 tw-text-sm tw-font-medium tw-text-secondary-500 hover:tw-text-secondary-600 focus-visible:tw-outline focus-visible:tw-outline-2 focus-visible:tw-outline-offset-2 focus-visible:tw-outline-secondary-500",
15229
+ className: "tailwindcss-preflight tw-inline-flex tw-cursor-pointer tw-items-center tw-gap-1 tw-bg-transparent tw-p-0 tw-text-sm tw-font-medium tw-text-secondary-500 hover:tw-text-secondary-600 focus-visible:tw-outline focus-visible:tw-outline-2 focus-visible:tw-outline-offset-2 focus-visible:tw-outline-ring",
15229
15230
  children: [
15230
15231
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: isExpanded ? showLessLabel : showMoreLabel }),
15231
15232
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -15585,7 +15586,7 @@ var promptInputVariants = classVarianceAuthority.cva(
15585
15586
  "tw-shadow-[inset_0_100vw_white]",
15586
15587
  // focus
15587
15588
  "has-[textarea:focus]:tw-ring-4",
15588
- "has-[textarea:focus]:tw-ring-secondary-200",
15589
+ "has-[textarea:focus]:tw-ring-ring/30",
15589
15590
  "tw-cursor-text",
15590
15591
  "tw-px-2"
15591
15592
  ],
@@ -16455,7 +16456,7 @@ var Alert = ({
16455
16456
  "tw-rounded-sm",
16456
16457
  "focus-visible:tw-outline",
16457
16458
  "focus-visible:tw-outline-2",
16458
- "focus-visible:tw-outline-secondary-500"
16459
+ "focus-visible:tw-outline-ring"
16459
16460
  ),
16460
16461
  children: [
16461
16462
  !hideIcon && /* @__PURE__ */ jsxRuntime.jsx(AlertIcon, { variant, icon }),
@@ -18528,10 +18529,10 @@ var SidebarGroupAction = ({
18528
18529
  "hover:[&_svg]:tw-text-secondary-600",
18529
18530
  "hover:tw-bg-neutral-100",
18530
18531
  "focus-visible:tw-ring-4",
18531
- "focus-visible:tw-ring-secondary-200",
18532
+ "focus-visible:tw-ring-ring/30",
18532
18533
  "focus-visible:tw-outline",
18533
18534
  "focus-visible:tw-outline-1",
18534
- "focus-visible:tw-outline-secondary-500",
18535
+ "focus-visible:tw-outline-ring",
18535
18536
  className
18536
18537
  ),
18537
18538
  children
@@ -19808,7 +19809,7 @@ var BreadcrumbEllipsis = ({
19808
19809
  // focus
19809
19810
  "focus-visible:tw-outline-none",
19810
19811
  "focus-visible:tw-ring-2",
19811
- "focus-visible:tw-ring-secondary-500/50",
19812
+ "focus-visible:tw-ring-ring/50",
19812
19813
  "tw-p-1",
19813
19814
  className
19814
19815
  ),
@@ -19844,7 +19845,7 @@ var BreadcrumbLink = ({
19844
19845
  // focus
19845
19846
  "focus-visible:tw-outline-none",
19846
19847
  "focus-visible:tw-ring-2",
19847
- "focus-visible:tw-ring-secondary-500/50",
19848
+ "focus-visible:tw-ring-ring/50",
19848
19849
  "focus-visible:tw-rounded-sm",
19849
19850
  // Icon
19850
19851
  '[&_svg:not([class*="tw-size-"])]:tw-size-3.5',