@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/editors.cjs +2 -2
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +2 -2
- package/dist/editors.js.map +1 -1
- package/dist/index.cjs +32 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -31
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +5 -5
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +5 -5
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +2 -2
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +2 -2
- package/dist/mermaid.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1412,9 +1412,9 @@ var variants = cva(
|
|
|
1412
1412
|
"focus-visible:tw-outline",
|
|
1413
1413
|
"focus-visible:tw-outline-1",
|
|
1414
1414
|
"focus-visible:-tw-outline-offset-1",
|
|
1415
|
-
"focus-visible:tw-outline-
|
|
1415
|
+
"focus-visible:tw-outline-ring",
|
|
1416
1416
|
"focus-visible:tw-ring-4",
|
|
1417
|
-
"focus-visible:tw-ring-
|
|
1417
|
+
"focus-visible:tw-ring-ring/30",
|
|
1418
1418
|
// disabled
|
|
1419
1419
|
"disabled:tw-opacity-40",
|
|
1420
1420
|
"disabled:tw-cursor-not-allowed",
|
|
@@ -2458,9 +2458,10 @@ var toggleVariants = cva(
|
|
|
2458
2458
|
// focus-visible
|
|
2459
2459
|
"[&:not(:active)]:not-disabled:focus-visible:tw-outline",
|
|
2460
2460
|
"!tw-outline-offset-0",
|
|
2461
|
-
"[&:not(:active)]:not-disabled:focus-visible:tw-outline-
|
|
2461
|
+
"[&:not(:active)]:not-disabled:focus-visible:tw-outline-ring",
|
|
2462
2462
|
"[&:not(:active)]:not-disabled:focus-visible:tw-outline-1",
|
|
2463
|
-
"[&:not(:active)]:not-disabled:focus-visible:tw-
|
|
2463
|
+
"[&:not(:active)]:not-disabled:focus-visible:tw-ring-4",
|
|
2464
|
+
"[&:not(:active)]:not-disabled:focus-visible:tw-ring-ring/20"
|
|
2464
2465
|
],
|
|
2465
2466
|
{
|
|
2466
2467
|
variants: {
|
|
@@ -8801,7 +8802,7 @@ var inputGroupVariants = cva(
|
|
|
8801
8802
|
variants: {
|
|
8802
8803
|
focusVariant: {
|
|
8803
8804
|
default: [],
|
|
8804
|
-
on: ["!tw-border-
|
|
8805
|
+
on: ["!tw-border-ring", "!tw-ring-ring/30", "!tw-ring-4"],
|
|
8805
8806
|
off: ["has-[:is(input,textarea):focus]:!tw-ring-0"]
|
|
8806
8807
|
},
|
|
8807
8808
|
variant: {
|
|
@@ -8841,8 +8842,8 @@ var inputGroupVariants = cva(
|
|
|
8841
8842
|
},
|
|
8842
8843
|
state: {
|
|
8843
8844
|
default: [
|
|
8844
|
-
"has-[:is(input,textarea):focus]:tw-border-
|
|
8845
|
-
"has-[:is(input,textarea):focus]:tw-ring-
|
|
8845
|
+
"has-[:is(input,textarea):focus]:tw-border-ring",
|
|
8846
|
+
"has-[:is(input,textarea):focus]:tw-ring-ring/30"
|
|
8846
8847
|
],
|
|
8847
8848
|
error: [
|
|
8848
8849
|
"tw-border-error-500",
|
|
@@ -9922,9 +9923,9 @@ var switchVariants = cva(
|
|
|
9922
9923
|
"focus-visible:tw-outline-none",
|
|
9923
9924
|
"before:focus-visible:tw-outline",
|
|
9924
9925
|
"before:focus-visible:tw-outline-1",
|
|
9925
|
-
"before:focus-visible:tw-outline-
|
|
9926
|
+
"before:focus-visible:tw-outline-ring",
|
|
9926
9927
|
"before:focus-visible:tw-ring-4",
|
|
9927
|
-
"before:focus-visible:tw-ring-
|
|
9928
|
+
"before:focus-visible:tw-ring-ring/30"
|
|
9928
9929
|
],
|
|
9929
9930
|
argo: [
|
|
9930
9931
|
"tw-peer",
|
|
@@ -10108,7 +10109,7 @@ var radioVariants = cva(
|
|
|
10108
10109
|
"data-[state=unchecked]:hover:tw-border-primary",
|
|
10109
10110
|
"data-[state=unchecked]:disabled:hover:tw-border-neutral-200",
|
|
10110
10111
|
"focus-visible:tw-ring-2",
|
|
10111
|
-
"focus-visible:tw-ring-
|
|
10112
|
+
"focus-visible:tw-ring-ring/30"
|
|
10112
10113
|
],
|
|
10113
10114
|
argo: [
|
|
10114
10115
|
"disabled:tw-opacity-50",
|
|
@@ -10188,9 +10189,9 @@ var radioItemButtonVariants = cva(
|
|
|
10188
10189
|
"data-[state=checked]:tw-text-white",
|
|
10189
10190
|
"data-[state=checked]:tw-cursor-default",
|
|
10190
10191
|
"focus-visible:tw-outline",
|
|
10191
|
-
"focus-visible:tw-outline-
|
|
10192
|
+
"focus-visible:tw-outline-ring",
|
|
10192
10193
|
"focus-visible:tw-ring-4",
|
|
10193
|
-
"focus-visible:tw-ring-
|
|
10194
|
+
"focus-visible:tw-ring-ring/30"
|
|
10194
10195
|
],
|
|
10195
10196
|
argo: [
|
|
10196
10197
|
"disabled:tw-opacity-50",
|
|
@@ -10659,8 +10660,8 @@ var searchWrapperVariants = cva(
|
|
|
10659
10660
|
// focus
|
|
10660
10661
|
"has-[input:focus]:tw-outline-1",
|
|
10661
10662
|
"has-[input:focus]:tw-ring-4",
|
|
10662
|
-
"has-[input:focus]:tw-outline-
|
|
10663
|
-
"has-[input:focus]:tw-ring-
|
|
10663
|
+
"has-[input:focus]:tw-outline-ring",
|
|
10664
|
+
"has-[input:focus]:tw-ring-ring/30"
|
|
10664
10665
|
],
|
|
10665
10666
|
ai: [
|
|
10666
10667
|
"tailwindcss-preflight",
|
|
@@ -10677,7 +10678,7 @@ var searchWrapperVariants = cva(
|
|
|
10677
10678
|
"tw-shadow-[inset_0_100vw_white]",
|
|
10678
10679
|
// focus
|
|
10679
10680
|
"has-[input:focus]:tw-ring-4",
|
|
10680
|
-
"has-[input:focus]:tw-ring-
|
|
10681
|
+
"has-[input:focus]:tw-ring-ring/30"
|
|
10681
10682
|
]
|
|
10682
10683
|
}
|
|
10683
10684
|
}
|
|
@@ -11099,10 +11100,10 @@ var variants4 = cva(
|
|
|
11099
11100
|
},
|
|
11100
11101
|
state: {
|
|
11101
11102
|
default: [
|
|
11102
|
-
"focus:tw-border-
|
|
11103
|
-
"focus:tw-ring-
|
|
11104
|
-
"data-[state=open]:tw-border-
|
|
11105
|
-
"data-[state=open]:tw-ring-
|
|
11103
|
+
"focus:tw-border-ring",
|
|
11104
|
+
"focus:tw-ring-ring/30",
|
|
11105
|
+
"data-[state=open]:tw-border-ring",
|
|
11106
|
+
"data-[state=open]:tw-ring-ring/30"
|
|
11106
11107
|
],
|
|
11107
11108
|
error: [
|
|
11108
11109
|
"tw-border-error-500",
|
|
@@ -11481,7 +11482,7 @@ var badgeRootVariants = cva(
|
|
|
11481
11482
|
"focus-visible:tw-outline-none",
|
|
11482
11483
|
"focus-visible:tw-ring-2",
|
|
11483
11484
|
"focus-visible:tw-ring-inset",
|
|
11484
|
-
"focus-visible:tw-ring-
|
|
11485
|
+
"focus-visible:tw-ring-ring"
|
|
11485
11486
|
],
|
|
11486
11487
|
{
|
|
11487
11488
|
defaultVariants: {
|
|
@@ -14947,9 +14948,9 @@ FormGroup.NumberInput = FormGroupNumberInput;
|
|
|
14947
14948
|
FormGroup.ColorInput = FormGroupColorInput;
|
|
14948
14949
|
FormGroup.Textarea = FormGroupTextarea;
|
|
14949
14950
|
var variantClasses = {
|
|
14950
|
-
success: "tw-text-secondary-500 focus-visible:tw-outline-
|
|
14951
|
+
success: "tw-text-secondary-500 focus-visible:tw-outline-ring not-disabled:hover:tw-text-secondary-600",
|
|
14951
14952
|
error: "tw-text-error-500 focus-visible:tw-outline-error-500 not-disabled:hover:tw-text-error-600",
|
|
14952
|
-
processing: "tw-text-secondary-500 focus-visible:tw-outline-
|
|
14953
|
+
processing: "tw-text-secondary-500 focus-visible:tw-outline-ring not-disabled:hover:tw-text-secondary-600",
|
|
14953
14954
|
dismissed: "tw-text-neutral-700 focus-visible:tw-outline-neutral-500 not-disabled:hover:tw-text-neutral-800"
|
|
14954
14955
|
};
|
|
14955
14956
|
var renderVariantIcon = (variant) => {
|
|
@@ -15082,8 +15083,8 @@ var Avatar = ({
|
|
|
15082
15083
|
"tw-border",
|
|
15083
15084
|
"tw-border-transparent",
|
|
15084
15085
|
"focus-visible:tw-ring-4",
|
|
15085
|
-
"focus-visible:tw-ring-
|
|
15086
|
-
"focus-visible:tw-border-
|
|
15086
|
+
"focus-visible:tw-ring-ring/30",
|
|
15087
|
+
"focus-visible:tw-border-ring",
|
|
15087
15088
|
className
|
|
15088
15089
|
),
|
|
15089
15090
|
children: [
|
|
@@ -15194,7 +15195,7 @@ var ExpandToggle = ({
|
|
|
15194
15195
|
type: "button",
|
|
15195
15196
|
onClick: onToggle,
|
|
15196
15197
|
"aria-expanded": isExpanded,
|
|
15197
|
-
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-
|
|
15198
|
+
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",
|
|
15198
15199
|
children: [
|
|
15199
15200
|
/* @__PURE__ */ jsx("span", { children: isExpanded ? showLessLabel : showMoreLabel }),
|
|
15200
15201
|
/* @__PURE__ */ jsx(
|
|
@@ -15554,7 +15555,7 @@ var promptInputVariants = cva(
|
|
|
15554
15555
|
"tw-shadow-[inset_0_100vw_white]",
|
|
15555
15556
|
// focus
|
|
15556
15557
|
"has-[textarea:focus]:tw-ring-4",
|
|
15557
|
-
"has-[textarea:focus]:tw-ring-
|
|
15558
|
+
"has-[textarea:focus]:tw-ring-ring/30",
|
|
15558
15559
|
"tw-cursor-text",
|
|
15559
15560
|
"tw-px-2"
|
|
15560
15561
|
],
|
|
@@ -16424,7 +16425,7 @@ var Alert = ({
|
|
|
16424
16425
|
"tw-rounded-sm",
|
|
16425
16426
|
"focus-visible:tw-outline",
|
|
16426
16427
|
"focus-visible:tw-outline-2",
|
|
16427
|
-
"focus-visible:tw-outline-
|
|
16428
|
+
"focus-visible:tw-outline-ring"
|
|
16428
16429
|
),
|
|
16429
16430
|
children: [
|
|
16430
16431
|
!hideIcon && /* @__PURE__ */ jsx(AlertIcon, { variant, icon }),
|
|
@@ -18497,10 +18498,10 @@ var SidebarGroupAction = ({
|
|
|
18497
18498
|
"hover:[&_svg]:tw-text-secondary-600",
|
|
18498
18499
|
"hover:tw-bg-neutral-100",
|
|
18499
18500
|
"focus-visible:tw-ring-4",
|
|
18500
|
-
"focus-visible:tw-ring-
|
|
18501
|
+
"focus-visible:tw-ring-ring/30",
|
|
18501
18502
|
"focus-visible:tw-outline",
|
|
18502
18503
|
"focus-visible:tw-outline-1",
|
|
18503
|
-
"focus-visible:tw-outline-
|
|
18504
|
+
"focus-visible:tw-outline-ring",
|
|
18504
18505
|
className
|
|
18505
18506
|
),
|
|
18506
18507
|
children
|
|
@@ -19777,7 +19778,7 @@ var BreadcrumbEllipsis = ({
|
|
|
19777
19778
|
// focus
|
|
19778
19779
|
"focus-visible:tw-outline-none",
|
|
19779
19780
|
"focus-visible:tw-ring-2",
|
|
19780
|
-
"focus-visible:tw-ring-
|
|
19781
|
+
"focus-visible:tw-ring-ring/50",
|
|
19781
19782
|
"tw-p-1",
|
|
19782
19783
|
className
|
|
19783
19784
|
),
|
|
@@ -19813,7 +19814,7 @@ var BreadcrumbLink = ({
|
|
|
19813
19814
|
// focus
|
|
19814
19815
|
"focus-visible:tw-outline-none",
|
|
19815
19816
|
"focus-visible:tw-ring-2",
|
|
19816
|
-
"focus-visible:tw-ring-
|
|
19817
|
+
"focus-visible:tw-ring-ring/50",
|
|
19817
19818
|
"focus-visible:tw-rounded-sm",
|
|
19818
19819
|
// Icon
|
|
19819
19820
|
'[&_svg:not([class*="tw-size-"])]:tw-size-3.5',
|