@clickhouse/click-ui 0.0.138 → 0.0.140
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/click-ui.es.js +125 -32
- package/dist/click-ui.umd.js +125 -32
- package/dist/components/Accordion/Accordion.d.ts +3 -2
- package/dist/components/GenericLabel/GenericLabel.d.ts +7 -0
- package/dist/components/Tabs/Tabs.d.ts +13 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/types.d.ts +2 -1
- package/dist/styles/variables.dark.json.d.ts +5 -5
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -3161,7 +3161,7 @@ const Button$2 = styled.button.withConfig({
|
|
|
3161
3161
|
cursor: not-allowed;
|
|
3162
3162
|
}
|
|
3163
3163
|
`);
|
|
3164
|
-
const FormFieldLabel = styled.label.withConfig({
|
|
3164
|
+
const FormFieldLabel$1 = styled.label.withConfig({
|
|
3165
3165
|
componentId: "sc-1gg29zb-0"
|
|
3166
3166
|
})(["", ""], ({
|
|
3167
3167
|
theme: theme2,
|
|
@@ -3192,7 +3192,34 @@ const Label$1 = ({
|
|
|
3192
3192
|
error: error2,
|
|
3193
3193
|
children,
|
|
3194
3194
|
...props
|
|
3195
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel, { disabled, $error: error2, ...props, children });
|
|
3195
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel$1, { disabled, $error: error2, ...props, children });
|
|
3196
|
+
const FormFieldLabel = styled.label.withConfig({
|
|
3197
|
+
componentId: "sc-e2xmgs-0"
|
|
3198
|
+
})(["", ""], ({
|
|
3199
|
+
theme: theme2,
|
|
3200
|
+
disabled
|
|
3201
|
+
}) => `
|
|
3202
|
+
${disabled ? `
|
|
3203
|
+
color: ${theme2.click.field.color.genericLabel.disabled};
|
|
3204
|
+
font: ${theme2.click.field.typography.genericLabel.disabled};
|
|
3205
|
+
` : `
|
|
3206
|
+
color: ${theme2.click.field.color.genericLabel.default};
|
|
3207
|
+
font: ${theme2.click.field.typography.genericLabel.default};
|
|
3208
|
+
&:hover {
|
|
3209
|
+
color: ${theme2.click.field.color.genericLabel.hover};
|
|
3210
|
+
font: ${theme2.click.field.typography.genericLabel.hover};
|
|
3211
|
+
}
|
|
3212
|
+
&:focus, &:focus-within {
|
|
3213
|
+
color: ${theme2.click.field.color.genericLabel.active};
|
|
3214
|
+
font: ${theme2.click.field.typography.genericLabel.active};
|
|
3215
|
+
}
|
|
3216
|
+
`};
|
|
3217
|
+
`);
|
|
3218
|
+
const GenericLabel = ({
|
|
3219
|
+
disabled,
|
|
3220
|
+
children,
|
|
3221
|
+
...props
|
|
3222
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel, { disabled, ...props, children });
|
|
3196
3223
|
function _extends$1() {
|
|
3197
3224
|
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
3198
3225
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -8903,21 +8930,24 @@ const Accordion = ({
|
|
|
8903
8930
|
iconSize,
|
|
8904
8931
|
gap,
|
|
8905
8932
|
children,
|
|
8933
|
+
fillWidth = false,
|
|
8906
8934
|
...delegated
|
|
8907
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
|
|
8908
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, children: [
|
|
8935
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
|
|
8936
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
|
|
8909
8937
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
|
|
8910
8938
|
/* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
|
|
8911
8939
|
icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
|
|
8912
8940
|
] }),
|
|
8913
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: size2, children: title })
|
|
8941
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
|
|
8914
8942
|
] }),
|
|
8915
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
8916
|
-
|
|
8943
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
|
|
8944
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
|
|
8945
|
+
children
|
|
8946
|
+
] })
|
|
8917
8947
|
] }) });
|
|
8918
8948
|
const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
8919
8949
|
componentId: "sc-1ysh219-0"
|
|
8920
|
-
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ""], ({
|
|
8950
|
+
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
|
|
8921
8951
|
theme: theme2,
|
|
8922
8952
|
$size = "md",
|
|
8923
8953
|
color = "default"
|
|
@@ -8936,7 +8966,9 @@ const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withC
|
|
|
8936
8966
|
font: ${theme2.click.accordion[$size].typography.label.hover};
|
|
8937
8967
|
cursor: pointer;
|
|
8938
8968
|
}
|
|
8939
|
-
|
|
8969
|
+
`, ({
|
|
8970
|
+
$fillWidth
|
|
8971
|
+
}) => $fillWidth && "width: 100%");
|
|
8940
8972
|
const AccordionIconWrapper = styled.div.withConfig({
|
|
8941
8973
|
componentId: "sc-1ysh219-1"
|
|
8942
8974
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger);
|
|
@@ -10688,7 +10720,7 @@ const $e698a72e93240346$export$be92b6f5f03c0fe9 = $e698a72e93240346$export$48513
|
|
|
10688
10720
|
const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
|
|
10689
10721
|
const Wrapper$6 = styled(FormRoot).withConfig({
|
|
10690
10722
|
componentId: "sc-1sck1ja-0"
|
|
10691
|
-
})(["max-width:fit-content;"]);
|
|
10723
|
+
})(["align-items:center;max-width:fit-content;"]);
|
|
10692
10724
|
const Checkbox = ({
|
|
10693
10725
|
id,
|
|
10694
10726
|
label,
|
|
@@ -10699,8 +10731,8 @@ const Checkbox = ({
|
|
|
10699
10731
|
}) => {
|
|
10700
10732
|
const defaultId = useId();
|
|
10701
10733
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
|
|
10702
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10703
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10734
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10735
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
10704
10736
|
] });
|
|
10705
10737
|
};
|
|
10706
10738
|
const CheckInput = styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
|
|
@@ -32307,10 +32339,25 @@ const Wrapper$3 = styled.div.withConfig({
|
|
|
32307
32339
|
color: ${theme2.click.field.color.text.default};
|
|
32308
32340
|
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
32309
32341
|
background: ${theme2.click.field.color.background.default};
|
|
32342
|
+
|
|
32343
|
+
*:autofill,
|
|
32344
|
+
*:-webkit-autofill {
|
|
32345
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
32346
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
32347
|
+
caret-color: ${theme2.click.field.color.text.default};
|
|
32348
|
+
}
|
|
32349
|
+
|
|
32310
32350
|
&:hover {
|
|
32311
32351
|
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
32312
32352
|
background: ${theme2.click.field.color.background.hover};
|
|
32313
32353
|
color: ${theme2.click.field.color.text.hover};
|
|
32354
|
+
|
|
32355
|
+
*:autofill,
|
|
32356
|
+
*:-webkit-autofill {
|
|
32357
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
32358
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
32359
|
+
caret-color: ${theme2.click.field.color.text.hover};
|
|
32360
|
+
}
|
|
32314
32361
|
}
|
|
32315
32362
|
${$resize === "none" ? "" : `
|
|
32316
32363
|
resize: ${$resize};
|
|
@@ -32322,9 +32369,23 @@ const Wrapper$3 = styled.div.withConfig({
|
|
|
32322
32369
|
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
32323
32370
|
background: ${theme2.click.field.color.background.active};
|
|
32324
32371
|
color: ${theme2.click.field.color.text.error};
|
|
32372
|
+
|
|
32373
|
+
*:autofill,
|
|
32374
|
+
*:-webkit-autofill {
|
|
32375
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
32376
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
32377
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
32378
|
+
}
|
|
32379
|
+
|
|
32325
32380
|
&:hover {
|
|
32326
|
-
|
|
32327
|
-
|
|
32381
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
32382
|
+
color: ${theme2.click.field.color.text.error};
|
|
32383
|
+
*:autofill,
|
|
32384
|
+
*:-webkit-autofill {
|
|
32385
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
32386
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
32387
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
32388
|
+
}
|
|
32328
32389
|
}
|
|
32329
32390
|
` : `
|
|
32330
32391
|
&:focus-within,
|
|
@@ -32333,6 +32394,13 @@ const Wrapper$3 = styled.div.withConfig({
|
|
|
32333
32394
|
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
32334
32395
|
background: ${theme2.click.field.color.background.active};
|
|
32335
32396
|
color: ${theme2.click.field.color.text.active};
|
|
32397
|
+
|
|
32398
|
+
*:autofill,
|
|
32399
|
+
*:-webkit-autofill {
|
|
32400
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
32401
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
32402
|
+
caret-color: ${theme2.click.field.color.text.active};
|
|
32403
|
+
}
|
|
32336
32404
|
}
|
|
32337
32405
|
`};
|
|
32338
32406
|
&:disabled, &.disabled {
|
|
@@ -32340,6 +32408,13 @@ const Wrapper$3 = styled.div.withConfig({
|
|
|
32340
32408
|
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
32341
32409
|
background: ${theme2.click.field.color.background.disabled};
|
|
32342
32410
|
color: ${theme2.click.field.color.text.disabled};
|
|
32411
|
+
|
|
32412
|
+
*:autofill,
|
|
32413
|
+
*:-webkit-autofill {
|
|
32414
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
32415
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
32416
|
+
caret-color: ${theme2.click.field.color.text.disabled};
|
|
32417
|
+
}
|
|
32343
32418
|
}
|
|
32344
32419
|
`);
|
|
32345
32420
|
const InputWrapper = ({
|
|
@@ -32608,7 +32683,7 @@ const Pagination = ({
|
|
|
32608
32683
|
] }),
|
|
32609
32684
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Container, { gap: "xxs", fillWidth: false, children: [
|
|
32610
32685
|
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { icon: "chevron-left", type: "ghost", disabled: leftButtonDisabled, onClick: onPrevClick, "data-testid": "prev-btn" }),
|
|
32611
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false, onKeyDown, min: 1, max: totalPages, onFocus: onPageNumberFocus, hideControls: true, onBlur: onPageNumberBlur, disabled: leftButtonDisabled && rightButtonDisabled }) }),
|
|
32686
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false, onKeyDown, "aria-label": currentPage.toString(), min: 1, max: totalPages, onFocus: onPageNumberFocus, hideControls: true, onBlur: onPageNumberBlur, disabled: leftButtonDisabled && rightButtonDisabled }) }),
|
|
32612
32687
|
!!totalPages && /* @__PURE__ */ jsxRuntimeExports.jsxs(Text, { component: "div", color: "muted", size: "sm", children: [
|
|
32613
32688
|
"of ",
|
|
32614
32689
|
formatNumber(totalPages)
|
|
@@ -32971,8 +33046,8 @@ const RadioGroupItem = ({
|
|
|
32971
33046
|
}) => {
|
|
32972
33047
|
const defaultId = useId();
|
|
32973
33048
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$1, { $orientation: "horizontal", $dir: "end", $addLabelPadding: false, ...props, children: [
|
|
32974
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RadioInput, { value, id: id ?? defaultId, disabled, required, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RadioGroupIndicator, {}) }),
|
|
32975
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
33049
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RadioInput, { value, id: id ?? defaultId, disabled, required, "aria-label": `${label}`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RadioGroupIndicator, {}) }),
|
|
33050
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
32976
33051
|
] });
|
|
32977
33052
|
};
|
|
32978
33053
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
@@ -37318,7 +37393,7 @@ const NavContext = createContext({
|
|
|
37318
37393
|
});
|
|
37319
37394
|
const CollapsibleContainer = styled.div.withConfig({
|
|
37320
37395
|
componentId: "sc-guwmyz-0"
|
|
37321
|
-
})([
|
|
37396
|
+
})(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}&:hover{[data-trigger-icon]{visibility:visible;}}']);
|
|
37322
37397
|
const Collapsible = ({
|
|
37323
37398
|
open: openProp,
|
|
37324
37399
|
onOpenChange: onOpenChangeProp,
|
|
@@ -37378,7 +37453,7 @@ CollapsipleHeader.displayName = "CollapsibleHeader";
|
|
|
37378
37453
|
Collapsible.Header = CollapsipleHeader;
|
|
37379
37454
|
const CollapsipleTriggerButton = styled(EmptyButton$1).withConfig({
|
|
37380
37455
|
componentId: "sc-guwmyz-2"
|
|
37381
|
-
})([
|
|
37456
|
+
})(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
|
|
37382
37457
|
const CollapsipleTrigger = ({
|
|
37383
37458
|
onClick: onClickProp,
|
|
37384
37459
|
children,
|
|
@@ -37768,7 +37843,7 @@ const $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5c
|
|
|
37768
37843
|
const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
|
|
37769
37844
|
const Wrapper = styled(FormRoot).withConfig({
|
|
37770
37845
|
componentId: "sc-egkkgl-0"
|
|
37771
|
-
})(["max-width:fit-content;"]);
|
|
37846
|
+
})(["align-items:center;max-width:fit-content;"]);
|
|
37772
37847
|
const Switch = forwardRef(({
|
|
37773
37848
|
checked,
|
|
37774
37849
|
disabled,
|
|
@@ -37780,8 +37855,8 @@ const Switch = forwardRef(({
|
|
|
37780
37855
|
}, ref) => {
|
|
37781
37856
|
const defaultId = useId();
|
|
37782
37857
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper, { $orientation: orientation, $dir: dir, children: [
|
|
37783
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SwitchRoot, { ref, id: id ?? defaultId, disabled, checked, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SwitchThumb, { $checked: checked }) }),
|
|
37784
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
37858
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SwitchRoot, { ref, id: id ?? defaultId, disabled, "aria-label": `${label}`, checked, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SwitchThumb, { $checked: checked }) }),
|
|
37859
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
37785
37860
|
] });
|
|
37786
37861
|
});
|
|
37787
37862
|
const getRootVars = (theme2, disabled, checked) => {
|
|
@@ -38012,6 +38087,17 @@ const Tabs = ({
|
|
|
38012
38087
|
Tabs.TriggersList = TriggersList;
|
|
38013
38088
|
Tabs.Trigger = Trigger;
|
|
38014
38089
|
Tabs.Content = Content;
|
|
38090
|
+
const FullWidthTabs = styled(Tabs).withConfig({
|
|
38091
|
+
componentId: "sc-tj736u-3"
|
|
38092
|
+
})(["width:100%;"]);
|
|
38093
|
+
FullWidthTabs.Trigger = styled(Trigger).withConfig({
|
|
38094
|
+
componentId: "sc-tj736u-4"
|
|
38095
|
+
})(["", ";"], (props) => props.width ? `width: ${props.width};` : `
|
|
38096
|
+
flex-basis: auto;
|
|
38097
|
+
flex-grow: 1;
|
|
38098
|
+
flex-shrink: 1;
|
|
38099
|
+
`);
|
|
38100
|
+
FullWidthTabs.TriggersList = TriggersList;
|
|
38015
38101
|
const TabsContainer = styled.div.withConfig({
|
|
38016
38102
|
componentId: "sc-137ymle-0"
|
|
38017
38103
|
})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
|
|
@@ -38072,7 +38158,7 @@ const FileTabs = ({
|
|
|
38072
38158
|
ref.current.scrollLeft += evt.deltaY;
|
|
38073
38159
|
}
|
|
38074
38160
|
};
|
|
38075
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(TabContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsContainer, { ref, onWheel, onScroll: (e) => {
|
|
38161
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(TabContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsContainer, { ref, onWheel, role: "tablist", onScroll: (e) => {
|
|
38076
38162
|
e.preventDefault();
|
|
38077
38163
|
e.stopPropagation();
|
|
38078
38164
|
}, $count: (listProp ?? list).length, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsSortableContainer, { as: distExports.ReactSortable, direction: direction ?? "horizontal", group: group ?? "tabbar", list: listProp ?? list, setList: setListProp ?? setList, onEnd: (evt, sortable, store) => {
|
|
@@ -38086,7 +38172,7 @@ const FileTabs = ({
|
|
|
38086
38172
|
if (typeof onEnd === "function") {
|
|
38087
38173
|
onEnd(evt, sortable, store);
|
|
38088
38174
|
}
|
|
38089
|
-
}, revertOnSpill: true, ...props, children: Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { tabIndex: index2, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
38175
|
+
}, revertOnSpill: true, ...props, children: Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { tabIndex: index2 + 1, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
38090
38176
|
};
|
|
38091
38177
|
const TabElement = styled.div.withConfig({
|
|
38092
38178
|
componentId: "sc-137ymle-2"
|
|
@@ -38266,12 +38352,12 @@ const Thead = ({
|
|
|
38266
38352
|
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("col", { width: (actionsList.length + 1) * 32 + 10 })
|
|
38267
38353
|
] }),
|
|
38268
38354
|
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledThead, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
|
|
38269
|
-
isSelectable && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { onCheckedChange: onSelectAll, disabled: !hasRows }) }),
|
|
38355
|
+
isSelectable && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2, "aria-label": "Select column", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { onCheckedChange: onSelectAll, disabled: !hasRows }) }),
|
|
38270
38356
|
headers.map(({
|
|
38271
38357
|
width,
|
|
38272
38358
|
...headerProps
|
|
38273
38359
|
}, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(TableHeader, { onSort: onSort(headerProps, index2), size: size2, ...headerProps }, `table-header-${index2}-${width}`)),
|
|
38274
|
-
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2 })
|
|
38360
|
+
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { "aria-label": "Actions", $size: size2 })
|
|
38275
38361
|
] }) })
|
|
38276
38362
|
] });
|
|
38277
38363
|
};
|
|
@@ -41784,9 +41870,9 @@ const click$2 = {
|
|
|
41784
41870
|
avatar: {
|
|
41785
41871
|
color: {
|
|
41786
41872
|
background: {
|
|
41787
|
-
"default": "#
|
|
41788
|
-
hover: "#
|
|
41789
|
-
active: "#
|
|
41873
|
+
"default": "#808691",
|
|
41874
|
+
hover: "#b3b6bd",
|
|
41875
|
+
active: "#b3b6bd"
|
|
41790
41876
|
},
|
|
41791
41877
|
text: {
|
|
41792
41878
|
"default": "#1F1F1C",
|
|
@@ -42828,8 +42914,8 @@ const click$2 = {
|
|
|
42828
42914
|
color: {
|
|
42829
42915
|
background: {
|
|
42830
42916
|
"default": "#1F1F1C",
|
|
42831
|
-
hover: "
|
|
42832
|
-
active: "lch(
|
|
42917
|
+
hover: "lch(15.8 0 0)",
|
|
42918
|
+
active: "lch(17.9 0 0)"
|
|
42833
42919
|
},
|
|
42834
42920
|
stroke: {
|
|
42835
42921
|
"default": "#323232"
|
|
@@ -47879,6 +47965,7 @@ const StepItem = styled.div.withConfig({
|
|
|
47879
47965
|
row-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.y};
|
|
47880
47966
|
column-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.x};
|
|
47881
47967
|
padding-bottom: ${theme2.click.stepper.vertical[$type].content.space.bottom[$isOpen ? "active" : "default"]};
|
|
47968
|
+
box-sizing: content-box;
|
|
47882
47969
|
&:not(:last-of-type) {
|
|
47883
47970
|
&::before{
|
|
47884
47971
|
content: "";
|
|
@@ -47887,7 +47974,8 @@ const StepItem = styled.div.withConfig({
|
|
|
47887
47974
|
height: 100%;
|
|
47888
47975
|
left: calc(${theme2.click.stepper.vertical[$type].step.size.width} / 2 );
|
|
47889
47976
|
width: ${theme2.click.stepper.vertical[$type].connector.size.width};
|
|
47890
|
-
background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]}
|
|
47977
|
+
background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]};
|
|
47978
|
+
box-sizing: content-box;
|
|
47891
47979
|
}
|
|
47892
47980
|
}
|
|
47893
47981
|
`);
|
|
@@ -47924,8 +48012,10 @@ const StepBubble = styled.div.withConfig({
|
|
|
47924
48012
|
font: ${theme2.click.stepper.vertical.numbered.step.typography.number.default};
|
|
47925
48013
|
color: ${theme2.click.stepper.vertical[$type].step.color.icon[$status]};
|
|
47926
48014
|
counter-increment: vertical-stepper;
|
|
48015
|
+
box-sizing: content-box;
|
|
47927
48016
|
${$type === "numbered" && $status !== "complete" ? `
|
|
47928
48017
|
&::before {
|
|
48018
|
+
box-sizing: content-box;
|
|
47929
48019
|
font: inherit;
|
|
47930
48020
|
color: inherit;
|
|
47931
48021
|
content: counter(vertical-stepper);
|
|
@@ -47933,6 +48023,7 @@ const StepBubble = styled.div.withConfig({
|
|
|
47933
48023
|
` : ""}
|
|
47934
48024
|
${$status == "complete" && $type === "bulleted" ? `
|
|
47935
48025
|
&::after {
|
|
48026
|
+
box-sizing: content-box;
|
|
47936
48027
|
content: "";
|
|
47937
48028
|
position: absolute;
|
|
47938
48029
|
width: 50%;
|
|
@@ -48015,6 +48106,8 @@ export {
|
|
|
48015
48106
|
Flags,
|
|
48016
48107
|
Flyout,
|
|
48017
48108
|
FormContainer,
|
|
48109
|
+
FullWidthTabs,
|
|
48110
|
+
GenericLabel,
|
|
48018
48111
|
Grid,
|
|
48019
48112
|
GridContainer$1 as GridContainer,
|
|
48020
48113
|
HoverCard,
|
package/dist/click-ui.umd.js
CHANGED
|
@@ -3178,7 +3178,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3178
3178
|
cursor: not-allowed;
|
|
3179
3179
|
}
|
|
3180
3180
|
`);
|
|
3181
|
-
const FormFieldLabel = styled.label.withConfig({
|
|
3181
|
+
const FormFieldLabel$1 = styled.label.withConfig({
|
|
3182
3182
|
componentId: "sc-1gg29zb-0"
|
|
3183
3183
|
})(["", ""], ({
|
|
3184
3184
|
theme: theme2,
|
|
@@ -3209,7 +3209,34 @@ var __publicField = (obj, key, value) => {
|
|
|
3209
3209
|
error: error2,
|
|
3210
3210
|
children,
|
|
3211
3211
|
...props
|
|
3212
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel, { disabled, $error: error2, ...props, children });
|
|
3212
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel$1, { disabled, $error: error2, ...props, children });
|
|
3213
|
+
const FormFieldLabel = styled.label.withConfig({
|
|
3214
|
+
componentId: "sc-e2xmgs-0"
|
|
3215
|
+
})(["", ""], ({
|
|
3216
|
+
theme: theme2,
|
|
3217
|
+
disabled
|
|
3218
|
+
}) => `
|
|
3219
|
+
${disabled ? `
|
|
3220
|
+
color: ${theme2.click.field.color.genericLabel.disabled};
|
|
3221
|
+
font: ${theme2.click.field.typography.genericLabel.disabled};
|
|
3222
|
+
` : `
|
|
3223
|
+
color: ${theme2.click.field.color.genericLabel.default};
|
|
3224
|
+
font: ${theme2.click.field.typography.genericLabel.default};
|
|
3225
|
+
&:hover {
|
|
3226
|
+
color: ${theme2.click.field.color.genericLabel.hover};
|
|
3227
|
+
font: ${theme2.click.field.typography.genericLabel.hover};
|
|
3228
|
+
}
|
|
3229
|
+
&:focus, &:focus-within {
|
|
3230
|
+
color: ${theme2.click.field.color.genericLabel.active};
|
|
3231
|
+
font: ${theme2.click.field.typography.genericLabel.active};
|
|
3232
|
+
}
|
|
3233
|
+
`};
|
|
3234
|
+
`);
|
|
3235
|
+
const GenericLabel = ({
|
|
3236
|
+
disabled,
|
|
3237
|
+
children,
|
|
3238
|
+
...props
|
|
3239
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(FormFieldLabel, { disabled, ...props, children });
|
|
3213
3240
|
function _extends$1() {
|
|
3214
3241
|
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
3215
3242
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -8920,21 +8947,24 @@ var __publicField = (obj, key, value) => {
|
|
|
8920
8947
|
iconSize,
|
|
8921
8948
|
gap,
|
|
8922
8949
|
children,
|
|
8950
|
+
fillWidth = false,
|
|
8923
8951
|
...delegated
|
|
8924
|
-
}) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
|
|
8925
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, children: [
|
|
8952
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsx($1bf158f521e1b1b4$export$be92b6f5f03c0fe9, { type: "single", collapsible: true, className: "asasas", ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsxs($1bf158f521e1b1b4$export$6d08773d2e66f8f2, { value: "item", children: [
|
|
8953
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionTrigger, { $size: size2, color, $fillWidth: fillWidth, children: [
|
|
8926
8954
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionIconsWrapper, { children: [
|
|
8927
8955
|
/* @__PURE__ */ jsxRuntimeExports.jsx(AccordionIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "chevron-right", size: iconSize || size2, "aria-label": "accordion icon" }) }),
|
|
8928
8956
|
icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: iconSize || size2 }) : null
|
|
8929
8957
|
] }),
|
|
8930
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { size: size2, children: title })
|
|
8958
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text, { component: "div", size: size2, children: title })
|
|
8931
8959
|
] }),
|
|
8932
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
8933
|
-
|
|
8960
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionContent, { children: [
|
|
8961
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: gap }),
|
|
8962
|
+
children
|
|
8963
|
+
] })
|
|
8934
8964
|
] }) });
|
|
8935
8965
|
const AccordionTrigger = styled($1bf158f521e1b1b4$export$41fb9f06171c75f4).withConfig({
|
|
8936
8966
|
componentId: "sc-1ysh219-0"
|
|
8937
|
-
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", ""], ({
|
|
8967
|
+
})(["border:none;padding:0;background-color:transparent;display:flex;align-items:center;", " ", ";"], ({
|
|
8938
8968
|
theme: theme2,
|
|
8939
8969
|
$size = "md",
|
|
8940
8970
|
color = "default"
|
|
@@ -8953,7 +8983,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8953
8983
|
font: ${theme2.click.accordion[$size].typography.label.hover};
|
|
8954
8984
|
cursor: pointer;
|
|
8955
8985
|
}
|
|
8956
|
-
|
|
8986
|
+
`, ({
|
|
8987
|
+
$fillWidth
|
|
8988
|
+
}) => $fillWidth && "width: 100%");
|
|
8957
8989
|
const AccordionIconWrapper = styled.div.withConfig({
|
|
8958
8990
|
componentId: "sc-1ysh219-1"
|
|
8959
8991
|
})(["display:flex;align-items:center;justify-content:center;transition:transform 200ms cubic-bezier(0.87,0,0.13,1);", "[data-state='open'] &{transform:rotate(90deg);}"], AccordionTrigger);
|
|
@@ -10705,7 +10737,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10705
10737
|
const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad738f51d1c05;
|
|
10706
10738
|
const Wrapper$6 = styled(FormRoot).withConfig({
|
|
10707
10739
|
componentId: "sc-1sck1ja-0"
|
|
10708
|
-
})(["max-width:fit-content;"]);
|
|
10740
|
+
})(["align-items:center;max-width:fit-content;"]);
|
|
10709
10741
|
const Checkbox = ({
|
|
10710
10742
|
id,
|
|
10711
10743
|
label,
|
|
@@ -10716,8 +10748,8 @@ var __publicField = (obj, key, value) => {
|
|
|
10716
10748
|
}) => {
|
|
10717
10749
|
const defaultId = React.useId();
|
|
10718
10750
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { $orientation: orientation ?? "horizontal", $dir: dir ?? "end", children: [
|
|
10719
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10720
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10751
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckInput, { id: id ?? defaultId, "data-testid": "checkbox", disabled, "aria-label": `${label}`, ...delegated, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: "check", size: "sm" }) }) }),
|
|
10752
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
10721
10753
|
] });
|
|
10722
10754
|
};
|
|
10723
10755
|
const CheckInput = styled($e698a72e93240346$export$be92b6f5f03c0fe9).withConfig({
|
|
@@ -32324,10 +32356,25 @@ var __publicField = (obj, key, value) => {
|
|
|
32324
32356
|
color: ${theme2.click.field.color.text.default};
|
|
32325
32357
|
border: 1px solid ${theme2.click.field.color.stroke.default};
|
|
32326
32358
|
background: ${theme2.click.field.color.background.default};
|
|
32359
|
+
|
|
32360
|
+
*:autofill,
|
|
32361
|
+
*:-webkit-autofill {
|
|
32362
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.default} inset;
|
|
32363
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.default};
|
|
32364
|
+
caret-color: ${theme2.click.field.color.text.default};
|
|
32365
|
+
}
|
|
32366
|
+
|
|
32327
32367
|
&:hover {
|
|
32328
32368
|
border: 1px solid ${theme2.click.field.color.stroke.hover};
|
|
32329
32369
|
background: ${theme2.click.field.color.background.hover};
|
|
32330
32370
|
color: ${theme2.click.field.color.text.hover};
|
|
32371
|
+
|
|
32372
|
+
*:autofill,
|
|
32373
|
+
*:-webkit-autofill {
|
|
32374
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.hover} inset;
|
|
32375
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.hover};
|
|
32376
|
+
caret-color: ${theme2.click.field.color.text.hover};
|
|
32377
|
+
}
|
|
32331
32378
|
}
|
|
32332
32379
|
${$resize === "none" ? "" : `
|
|
32333
32380
|
resize: ${$resize};
|
|
@@ -32339,9 +32386,23 @@ var __publicField = (obj, key, value) => {
|
|
|
32339
32386
|
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
32340
32387
|
background: ${theme2.click.field.color.background.active};
|
|
32341
32388
|
color: ${theme2.click.field.color.text.error};
|
|
32389
|
+
|
|
32390
|
+
*:autofill,
|
|
32391
|
+
*:-webkit-autofill {
|
|
32392
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
32393
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
32394
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
32395
|
+
}
|
|
32396
|
+
|
|
32342
32397
|
&:hover {
|
|
32343
|
-
|
|
32344
|
-
|
|
32398
|
+
border: 1px solid ${theme2.click.field.color.stroke.error};
|
|
32399
|
+
color: ${theme2.click.field.color.text.error};
|
|
32400
|
+
*:autofill,
|
|
32401
|
+
*:-webkit-autofill {
|
|
32402
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.error} inset;
|
|
32403
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.error};
|
|
32404
|
+
caret-color: ${theme2.click.field.color.text.error};
|
|
32405
|
+
}
|
|
32345
32406
|
}
|
|
32346
32407
|
` : `
|
|
32347
32408
|
&:focus-within,
|
|
@@ -32350,6 +32411,13 @@ var __publicField = (obj, key, value) => {
|
|
|
32350
32411
|
border: 1px solid ${theme2.click.field.color.stroke.active};
|
|
32351
32412
|
background: ${theme2.click.field.color.background.active};
|
|
32352
32413
|
color: ${theme2.click.field.color.text.active};
|
|
32414
|
+
|
|
32415
|
+
*:autofill,
|
|
32416
|
+
*:-webkit-autofill {
|
|
32417
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.active} inset;
|
|
32418
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.active};
|
|
32419
|
+
caret-color: ${theme2.click.field.color.text.active};
|
|
32420
|
+
}
|
|
32353
32421
|
}
|
|
32354
32422
|
`};
|
|
32355
32423
|
&:disabled, &.disabled {
|
|
@@ -32357,6 +32425,13 @@ var __publicField = (obj, key, value) => {
|
|
|
32357
32425
|
border: 1px solid ${theme2.click.field.color.stroke.disabled};
|
|
32358
32426
|
background: ${theme2.click.field.color.background.disabled};
|
|
32359
32427
|
color: ${theme2.click.field.color.text.disabled};
|
|
32428
|
+
|
|
32429
|
+
*:autofill,
|
|
32430
|
+
*:-webkit-autofill {
|
|
32431
|
+
-webkit-box-shadow: 0 0 0px 50vh ${theme2.click.field.color.background.disabled} inset;
|
|
32432
|
+
-webkit-text-fill-color: ${theme2.click.field.color.text.disabled};
|
|
32433
|
+
caret-color: ${theme2.click.field.color.text.disabled};
|
|
32434
|
+
}
|
|
32360
32435
|
}
|
|
32361
32436
|
`);
|
|
32362
32437
|
const InputWrapper = ({
|
|
@@ -32625,7 +32700,7 @@ var __publicField = (obj, key, value) => {
|
|
|
32625
32700
|
] }),
|
|
32626
32701
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Container, { gap: "xxs", fillWidth: false, children: [
|
|
32627
32702
|
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { icon: "chevron-left", type: "ghost", disabled: leftButtonDisabled, onClick: onPrevClick, "data-testid": "prev-btn" }),
|
|
32628
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false, onKeyDown, min: 1, max: totalPages, onFocus: onPageNumberFocus, hideControls: true, onBlur: onPageNumberBlur, disabled: leftButtonDisabled && rightButtonDisabled }) }),
|
|
32703
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false, onKeyDown, "aria-label": currentPage.toString(), min: 1, max: totalPages, onFocus: onPageNumberFocus, hideControls: true, onBlur: onPageNumberBlur, disabled: leftButtonDisabled && rightButtonDisabled }) }),
|
|
32629
32704
|
!!totalPages && /* @__PURE__ */ jsxRuntimeExports.jsxs(Text, { component: "div", color: "muted", size: "sm", children: [
|
|
32630
32705
|
"of ",
|
|
32631
32706
|
formatNumber(totalPages)
|
|
@@ -32988,8 +33063,8 @@ var __publicField = (obj, key, value) => {
|
|
|
32988
33063
|
}) => {
|
|
32989
33064
|
const defaultId = React.useId();
|
|
32990
33065
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$1, { $orientation: "horizontal", $dir: "end", $addLabelPadding: false, ...props, children: [
|
|
32991
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RadioInput, { value, id: id ?? defaultId, disabled, required, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RadioGroupIndicator, {}) }),
|
|
32992
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
33066
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RadioInput, { value, id: id ?? defaultId, disabled, required, "aria-label": `${label}`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RadioGroupIndicator, {}) }),
|
|
33067
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
32993
33068
|
] });
|
|
32994
33069
|
};
|
|
32995
33070
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
@@ -37335,7 +37410,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37335
37410
|
});
|
|
37336
37411
|
const CollapsibleContainer = styled.div.withConfig({
|
|
37337
37412
|
componentId: "sc-guwmyz-0"
|
|
37338
|
-
})([
|
|
37413
|
+
})(['width:100%;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}&:hover{[data-trigger-icon]{visibility:visible;}}']);
|
|
37339
37414
|
const Collapsible = ({
|
|
37340
37415
|
open: openProp,
|
|
37341
37416
|
onOpenChange: onOpenChangeProp,
|
|
@@ -37395,7 +37470,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37395
37470
|
Collapsible.Header = CollapsipleHeader;
|
|
37396
37471
|
const CollapsipleTriggerButton = styled(EmptyButton$1).withConfig({
|
|
37397
37472
|
componentId: "sc-guwmyz-2"
|
|
37398
|
-
})([
|
|
37473
|
+
})(["display:flex;align-items:center;font:inherit;color:inherit;cursor:inherit;"]);
|
|
37399
37474
|
const CollapsipleTrigger = ({
|
|
37400
37475
|
onClick: onClickProp,
|
|
37401
37476
|
children,
|
|
@@ -37785,7 +37860,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37785
37860
|
const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
|
|
37786
37861
|
const Wrapper = styled(FormRoot).withConfig({
|
|
37787
37862
|
componentId: "sc-egkkgl-0"
|
|
37788
|
-
})(["max-width:fit-content;"]);
|
|
37863
|
+
})(["align-items:center;max-width:fit-content;"]);
|
|
37789
37864
|
const Switch = React.forwardRef(({
|
|
37790
37865
|
checked,
|
|
37791
37866
|
disabled,
|
|
@@ -37797,8 +37872,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
37797
37872
|
}, ref) => {
|
|
37798
37873
|
const defaultId = React.useId();
|
|
37799
37874
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper, { $orientation: orientation, $dir: dir, children: [
|
|
37800
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SwitchRoot, { ref, id: id ?? defaultId, disabled, checked, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SwitchThumb, { $checked: checked }) }),
|
|
37801
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
37875
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SwitchRoot, { ref, id: id ?? defaultId, disabled, "aria-label": `${label}`, checked, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SwitchThumb, { $checked: checked }) }),
|
|
37876
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx(GenericLabel, { htmlFor: id ?? defaultId, disabled, children: label })
|
|
37802
37877
|
] });
|
|
37803
37878
|
});
|
|
37804
37879
|
const getRootVars = (theme2, disabled, checked) => {
|
|
@@ -38029,6 +38104,17 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38029
38104
|
Tabs.TriggersList = TriggersList;
|
|
38030
38105
|
Tabs.Trigger = Trigger;
|
|
38031
38106
|
Tabs.Content = Content;
|
|
38107
|
+
const FullWidthTabs = styled(Tabs).withConfig({
|
|
38108
|
+
componentId: "sc-tj736u-3"
|
|
38109
|
+
})(["width:100%;"]);
|
|
38110
|
+
FullWidthTabs.Trigger = styled(Trigger).withConfig({
|
|
38111
|
+
componentId: "sc-tj736u-4"
|
|
38112
|
+
})(["", ";"], (props) => props.width ? `width: ${props.width};` : `
|
|
38113
|
+
flex-basis: auto;
|
|
38114
|
+
flex-grow: 1;
|
|
38115
|
+
flex-shrink: 1;
|
|
38116
|
+
`);
|
|
38117
|
+
FullWidthTabs.TriggersList = TriggersList;
|
|
38032
38118
|
const TabsContainer = styled.div.withConfig({
|
|
38033
38119
|
componentId: "sc-137ymle-0"
|
|
38034
38120
|
})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;max-width:", ";&::-webkit-scrollbar{height:0;}"], ({
|
|
@@ -38089,7 +38175,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38089
38175
|
ref.current.scrollLeft += evt.deltaY;
|
|
38090
38176
|
}
|
|
38091
38177
|
};
|
|
38092
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(TabContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsContainer, { ref, onWheel, onScroll: (e) => {
|
|
38178
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(TabContext.Provider, { value, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsContainer, { ref, onWheel, role: "tablist", onScroll: (e) => {
|
|
38093
38179
|
e.preventDefault();
|
|
38094
38180
|
e.stopPropagation();
|
|
38095
38181
|
}, $count: (listProp ?? list).length, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsSortableContainer, { as: distExports.ReactSortable, direction: direction ?? "horizontal", group: group ?? "tabbar", list: listProp ?? list, setList: setListProp ?? setList, onEnd: (evt, sortable, store) => {
|
|
@@ -38103,7 +38189,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38103
38189
|
if (typeof onEnd === "function") {
|
|
38104
38190
|
onEnd(evt, sortable, store);
|
|
38105
38191
|
}
|
|
38106
|
-
}, revertOnSpill: true, ...props, children: React.Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { tabIndex: index2, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
38192
|
+
}, revertOnSpill: true, ...props, children: React.Children.map(children, (child, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { tabIndex: index2 + 1, role: "tab", onClick: onSelect(index2), children: child }, `tab-element-${index2}`)) }) }) });
|
|
38107
38193
|
};
|
|
38108
38194
|
const TabElement = styled.div.withConfig({
|
|
38109
38195
|
componentId: "sc-137ymle-2"
|
|
@@ -38283,12 +38369,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
38283
38369
|
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("col", { width: (actionsList.length + 1) * 32 + 10 })
|
|
38284
38370
|
] }),
|
|
38285
38371
|
/* @__PURE__ */ jsxRuntimeExports.jsx(StyledThead, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
|
|
38286
|
-
isSelectable && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { onCheckedChange: onSelectAll, disabled: !hasRows }) }),
|
|
38372
|
+
isSelectable && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2, "aria-label": "Select column", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { onCheckedChange: onSelectAll, disabled: !hasRows }) }),
|
|
38287
38373
|
headers.map(({
|
|
38288
38374
|
width,
|
|
38289
38375
|
...headerProps
|
|
38290
38376
|
}, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(TableHeader, { onSort: onSort(headerProps, index2), size: size2, ...headerProps }, `table-header-${index2}-${width}`)),
|
|
38291
|
-
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { $size: size2 })
|
|
38377
|
+
actionsList.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(StyledHeader, { "aria-label": "Actions", $size: size2 })
|
|
38292
38378
|
] }) })
|
|
38293
38379
|
] });
|
|
38294
38380
|
};
|
|
@@ -41801,9 +41887,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
41801
41887
|
avatar: {
|
|
41802
41888
|
color: {
|
|
41803
41889
|
background: {
|
|
41804
|
-
"default": "#
|
|
41805
|
-
hover: "#
|
|
41806
|
-
active: "#
|
|
41890
|
+
"default": "#808691",
|
|
41891
|
+
hover: "#b3b6bd",
|
|
41892
|
+
active: "#b3b6bd"
|
|
41807
41893
|
},
|
|
41808
41894
|
text: {
|
|
41809
41895
|
"default": "#1F1F1C",
|
|
@@ -42845,8 +42931,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
42845
42931
|
color: {
|
|
42846
42932
|
background: {
|
|
42847
42933
|
"default": "#1F1F1C",
|
|
42848
|
-
hover: "
|
|
42849
|
-
active: "lch(
|
|
42934
|
+
hover: "lch(15.8 0 0)",
|
|
42935
|
+
active: "lch(17.9 0 0)"
|
|
42850
42936
|
},
|
|
42851
42937
|
stroke: {
|
|
42852
42938
|
"default": "#323232"
|
|
@@ -47896,6 +47982,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47896
47982
|
row-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.y};
|
|
47897
47983
|
column-gap: ${theme2.click.stepper.vertical[$type].content.space.gap.x};
|
|
47898
47984
|
padding-bottom: ${theme2.click.stepper.vertical[$type].content.space.bottom[$isOpen ? "active" : "default"]};
|
|
47985
|
+
box-sizing: content-box;
|
|
47899
47986
|
&:not(:last-of-type) {
|
|
47900
47987
|
&::before{
|
|
47901
47988
|
content: "";
|
|
@@ -47904,7 +47991,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47904
47991
|
height: 100%;
|
|
47905
47992
|
left: calc(${theme2.click.stepper.vertical[$type].step.size.width} / 2 );
|
|
47906
47993
|
width: ${theme2.click.stepper.vertical[$type].connector.size.width};
|
|
47907
|
-
background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]}
|
|
47994
|
+
background: ${theme2.click.stepper.vertical[$type].connector.color.stroke[$status]};
|
|
47995
|
+
box-sizing: content-box;
|
|
47908
47996
|
}
|
|
47909
47997
|
}
|
|
47910
47998
|
`);
|
|
@@ -47941,8 +48029,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47941
48029
|
font: ${theme2.click.stepper.vertical.numbered.step.typography.number.default};
|
|
47942
48030
|
color: ${theme2.click.stepper.vertical[$type].step.color.icon[$status]};
|
|
47943
48031
|
counter-increment: vertical-stepper;
|
|
48032
|
+
box-sizing: content-box;
|
|
47944
48033
|
${$type === "numbered" && $status !== "complete" ? `
|
|
47945
48034
|
&::before {
|
|
48035
|
+
box-sizing: content-box;
|
|
47946
48036
|
font: inherit;
|
|
47947
48037
|
color: inherit;
|
|
47948
48038
|
content: counter(vertical-stepper);
|
|
@@ -47950,6 +48040,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47950
48040
|
` : ""}
|
|
47951
48041
|
${$status == "complete" && $type === "bulleted" ? `
|
|
47952
48042
|
&::after {
|
|
48043
|
+
box-sizing: content-box;
|
|
47953
48044
|
content: "";
|
|
47954
48045
|
position: absolute;
|
|
47955
48046
|
width: 50%;
|
|
@@ -48031,6 +48122,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48031
48122
|
exports2.Flags = Flags;
|
|
48032
48123
|
exports2.Flyout = Flyout;
|
|
48033
48124
|
exports2.FormContainer = FormContainer;
|
|
48125
|
+
exports2.FullWidthTabs = FullWidthTabs;
|
|
48126
|
+
exports2.GenericLabel = GenericLabel;
|
|
48034
48127
|
exports2.Grid = Grid;
|
|
48035
48128
|
exports2.GridContainer = GridContainer$1;
|
|
48036
48129
|
exports2.HoverCard = HoverCard;
|
|
@@ -12,10 +12,11 @@ export interface AccordionProps extends SizeProp, Omit<RadixAccordion.AccordionS
|
|
|
12
12
|
iconSize?: IconSize;
|
|
13
13
|
gap?: Gap;
|
|
14
14
|
children: React.ReactNode;
|
|
15
|
+
fillWidth?: boolean;
|
|
15
16
|
}
|
|
16
17
|
interface SizeProp {
|
|
17
18
|
size?: Size;
|
|
18
19
|
}
|
|
19
|
-
declare const SidebarAccordion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
20
|
-
declare const AccordionToExport: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
20
|
+
declare const SidebarAccordion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
21
|
+
declare const AccordionToExport: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
21
22
|
export { AccordionToExport as Accordion, SidebarAccordion };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface GenericLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
htmlFor?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const GenericLabel: ({ disabled, children, ...props }: GenericLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,4 +15,16 @@ declare const Tabs: {
|
|
|
15
15
|
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
16
|
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
declare const FullWidthTabs: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<TabsProps, never>> & string & Omit<{
|
|
19
|
+
({ defaultValue, children, ariaLabel, onValueChange, ...delegated }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
TriggersList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsListProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsListProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
23
|
+
Trigger: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
24
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
25
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
26
|
+
Content: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
27
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<RadixTabs.TabsContentProps & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
29
|
+
}, keyof import('react').Component<any, {}, any>>;
|
|
30
|
+
export { Tabs, FullWidthTabs };
|
|
@@ -2,6 +2,7 @@ export * from './types';
|
|
|
2
2
|
export { Icon } from './Icon/Icon';
|
|
3
3
|
export { IconButton } from './IconButton/IconButton';
|
|
4
4
|
export { Label } from './Label/Label';
|
|
5
|
+
export { GenericLabel } from './GenericLabel/GenericLabel';
|
|
5
6
|
export { Dropdown } from './Dropdown/Dropdown';
|
|
6
7
|
export { Accordion } from './Accordion/Accordion';
|
|
7
8
|
export { Alert, DangerAlert, InfoAlert, WarningAlert, SuccessAlert } from './Alert/Alert';
|
|
@@ -50,7 +51,7 @@ export { SidebarCollapsibleTitle } from './SidebarCollapsibleTitle/SidebarCollap
|
|
|
50
51
|
export { Spacer } from './Spacer/Spacer';
|
|
51
52
|
export { SplitButton } from './SplitButton/SplitButton';
|
|
52
53
|
export { Switch } from './Switch/Switch';
|
|
53
|
-
export { Tabs } from './Tabs/Tabs';
|
|
54
|
+
export { Tabs, FullWidthTabs } from './Tabs/Tabs';
|
|
54
55
|
export { FileTabs, FileTabElement } from './FileTabs/FileTabs';
|
|
55
56
|
export { Table } from './Table/Table';
|
|
56
57
|
export { Text } from './Typography/Text/Text';
|
|
@@ -47,7 +47,7 @@ export type { VerticalStepperProps, VerticalStepProps, } from './VerticalStepper
|
|
|
47
47
|
export type { CardHorizontalProps } from './CardHorizontal/CardHorizontal';
|
|
48
48
|
export type { CardPromotionProps } from './CardPromotion/CardPromotion';
|
|
49
49
|
export type { ProgressBarProps } from './ProgressBar/ProgressBar';
|
|
50
|
-
export type { GridProps, CellProps, SelectedRegion, SelectionFocus, SelectionAction, GridContextMenuItemProps, Rectangle } from './Grid/types';
|
|
50
|
+
export type { GridProps, CellProps, SelectedRegion, SelectionFocus, SelectionAction, GridContextMenuItemProps, Rectangle, } from './Grid/types';
|
|
51
51
|
export type States = "default" | "active" | "disabled" | "error" | "hover";
|
|
52
52
|
export type HorizontalDirection = "start" | "end";
|
|
53
53
|
export type Orientation = "horizontal" | "vertical";
|
|
@@ -55,6 +55,7 @@ export type { FormContainerProps } from './FormContainer/FormContainer';
|
|
|
55
55
|
export type { AutoCompleteProps, AutoCompleteOptionListItem, } from './AutoComplete/AutoComplete';
|
|
56
56
|
export type { PaginationProps } from './Pagination/Pagination';
|
|
57
57
|
export type { ContextMenuItemProps } from './ContextMenu/ContextMenu';
|
|
58
|
+
export type { GenericLabelProps } from './GenericLabel/GenericLabel';
|
|
58
59
|
export type { IconButtonProps };
|
|
59
60
|
export type { AlertProps };
|
|
60
61
|
export type { AvatarProps };
|
|
@@ -67,9 +67,9 @@ declare const _default: {
|
|
|
67
67
|
"avatar": {
|
|
68
68
|
"color": {
|
|
69
69
|
"background": {
|
|
70
|
-
"default": "#
|
|
71
|
-
"hover": "#
|
|
72
|
-
"active": "#
|
|
70
|
+
"default": "#808691",
|
|
71
|
+
"hover": "#b3b6bd",
|
|
72
|
+
"active": "#b3b6bd"
|
|
73
73
|
},
|
|
74
74
|
"text": {
|
|
75
75
|
"default": "#1F1F1C",
|
|
@@ -1111,8 +1111,8 @@ declare const _default: {
|
|
|
1111
1111
|
"color": {
|
|
1112
1112
|
"background": {
|
|
1113
1113
|
"default": "#1F1F1C",
|
|
1114
|
-
"hover": "
|
|
1115
|
-
"active": "lch(
|
|
1114
|
+
"hover": "lch(15.8 0 0)",
|
|
1115
|
+
"active": "lch(17.9 0 0)"
|
|
1116
1116
|
},
|
|
1117
1117
|
"stroke": {
|
|
1118
1118
|
"default": "#323232"
|