@clickhouse/click-ui 0.0.216 → 0.0.219
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.bundled.es.js +66 -43
- package/dist/click-ui.bundled.umd.js +66 -43
- package/dist/click-ui.es.js +66 -43
- package/dist/click-ui.umd.js +66 -43
- package/dist/styles/types.d.ts +35 -5
- package/dist/styles/variables.dark.json.d.ts +1 -1
- package/dist/styles/variables.json.d.ts +37 -7
- package/dist/styles/variables.light.json.d.ts +2 -2
- package/package.json +1 -1
|
@@ -10614,46 +10614,41 @@ const Title$3 = pt.div.withConfig({
|
|
|
10614
10614
|
const ButtonGroup = ({
|
|
10615
10615
|
options,
|
|
10616
10616
|
selected,
|
|
10617
|
-
fillWidth,
|
|
10617
|
+
fillWidth = false,
|
|
10618
10618
|
onClick,
|
|
10619
|
-
type,
|
|
10619
|
+
type = "default",
|
|
10620
10620
|
...props
|
|
10621
10621
|
}) => {
|
|
10622
|
-
const
|
|
10623
|
-
const btns = options.map(({
|
|
10622
|
+
const buttons = options.map(({
|
|
10624
10623
|
value,
|
|
10625
10624
|
label,
|
|
10626
10625
|
...props2
|
|
10627
|
-
},
|
|
10628
|
-
|
|
10629
|
-
return /* @__PURE__ */ jsx(Button$1, { $active: value === selected, $position: position2, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value);
|
|
10630
|
-
});
|
|
10631
|
-
return /* @__PURE__ */ jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
10626
|
+
}) => /* @__PURE__ */ jsx(Button$1, { $active: value === selected, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value));
|
|
10627
|
+
return /* @__PURE__ */ jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: buttons });
|
|
10632
10628
|
};
|
|
10633
10629
|
const ButtonGroupWrapper = pt.div.withConfig({
|
|
10634
10630
|
componentId: "sc-ukgugp-0"
|
|
10635
|
-
})(["box-sizing:border-box;
|
|
10631
|
+
})(["display:inline-flex;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:center;padding:", ";gap:", ";border:", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
10636
10632
|
theme: theme2,
|
|
10637
|
-
$type
|
|
10638
|
-
}) => theme2.click.button.group.space.
|
|
10633
|
+
$type
|
|
10634
|
+
}) => `${theme2.click.button.group.space.panel[$type].x} ${theme2.click.button.group.space.panel[$type].y}`, ({
|
|
10639
10635
|
theme: theme2,
|
|
10640
|
-
$type
|
|
10641
|
-
}) => theme2.click.button.group.
|
|
10636
|
+
$type
|
|
10637
|
+
}) => theme2.click.button.group.space.panel[$type].gap, ({
|
|
10638
|
+
theme: theme2,
|
|
10639
|
+
$type
|
|
10640
|
+
}) => $type === "default" ? `1px solid ${theme2.click.button.group.color.panel.stroke[$type]}` : "none", ({
|
|
10642
10641
|
theme: theme2
|
|
10643
10642
|
}) => theme2.click.button.group.color.background.panel, ({
|
|
10644
10643
|
theme: theme2
|
|
10645
|
-
}) => theme2.click.button.group.radii.all, ({
|
|
10644
|
+
}) => theme2.click.button.group.radii.panel.all, ({
|
|
10646
10645
|
$fillWidth
|
|
10647
10646
|
}) => $fillWidth ? "100%" : "auto");
|
|
10648
|
-
const endRadii = "var(--click-button-button-group-radii-end)";
|
|
10649
|
-
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
10650
|
-
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
10651
|
-
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
10652
10647
|
const Button$1 = pt.button.attrs((props) => ({
|
|
10653
10648
|
"aria-pressed": props.$active
|
|
10654
10649
|
})).withConfig({
|
|
10655
10650
|
componentId: "sc-ukgugp-1"
|
|
10656
|
-
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;
|
|
10651
|
+
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;background:", ";color:", ";font:", ";padding:", ";", ";border-radius:", ";cursor:pointer;border:none;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}"], ({
|
|
10657
10652
|
$active,
|
|
10658
10653
|
theme: theme2
|
|
10659
10654
|
}) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
|
|
@@ -10661,14 +10656,14 @@ const Button$1 = pt.button.attrs((props) => ({
|
|
|
10661
10656
|
}) => theme2.click.button.group.color.text.default, ({
|
|
10662
10657
|
theme: theme2
|
|
10663
10658
|
}) => theme2.click.button.group.typography.label.default, ({
|
|
10664
|
-
theme: theme2
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
theme: theme2
|
|
10669
|
-
}) => theme2.click.button.basic.space.group, ({
|
|
10670
|
-
$fillWidth = false
|
|
10659
|
+
theme: theme2,
|
|
10660
|
+
$type
|
|
10661
|
+
}) => `${theme2.click.button.group.space.button[$type].y} ${theme2.click.button.group.space.button[$type].x}`, ({
|
|
10662
|
+
$fillWidth
|
|
10671
10663
|
}) => $fillWidth ? "flex: 1;" : "", ({
|
|
10664
|
+
theme: theme2,
|
|
10665
|
+
$type
|
|
10666
|
+
}) => theme2.click.button.group.radii.button[$type].all, ({
|
|
10672
10667
|
theme: theme2
|
|
10673
10668
|
}) => theme2.click.button.group.color.background.hover, ({
|
|
10674
10669
|
theme: theme2
|
|
@@ -10691,11 +10686,7 @@ const Button$1 = pt.button.attrs((props) => ({
|
|
|
10691
10686
|
theme: theme2
|
|
10692
10687
|
}) => theme2.click.button.group.color.text.active, ({
|
|
10693
10688
|
theme: theme2
|
|
10694
|
-
}) => theme2.click.button.group.color.background["disabled-active"]
|
|
10695
|
-
theme: theme2,
|
|
10696
|
-
$type,
|
|
10697
|
-
$position
|
|
10698
|
-
}) => $type === "borderless" ? theme2.click.button.group.radii.all : $position === "left" ? leftBorderRadius : $position === "right" ? rightBorderRadius : centerBorderRadius);
|
|
10689
|
+
}) => theme2.click.button.group.color.background["disabled-active"]);
|
|
10699
10690
|
const Button = ({
|
|
10700
10691
|
type = "primary",
|
|
10701
10692
|
iconLeft,
|
|
@@ -35690,7 +35681,9 @@ const SelectValue = pt.div.withConfig({
|
|
|
35690
35681
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
35691
35682
|
const StyledSelectTrigger = pt($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
35692
35683
|
componentId: "sc-oudbwg-2"
|
|
35693
|
-
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
35684
|
+
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;min-height:", ";span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
35685
|
+
theme: theme2
|
|
35686
|
+
}) => theme2.click.genericMenu.panel.size.height, ({
|
|
35694
35687
|
theme: theme2,
|
|
35695
35688
|
$error
|
|
35696
35689
|
}) => `
|
|
@@ -44795,7 +44788,7 @@ const click$2 = {
|
|
|
44795
44788
|
background: {
|
|
44796
44789
|
"default": "rgba(0,0,0,0)",
|
|
44797
44790
|
hover: "#282828",
|
|
44798
|
-
active: "
|
|
44791
|
+
active: "#414141",
|
|
44799
44792
|
disabled: "rgba(0,0,0,0)",
|
|
44800
44793
|
"disabled-active": "lch(0 0 0 / 0)",
|
|
44801
44794
|
panel: "rgba(0,0,0,0)"
|
|
@@ -46619,9 +46612,9 @@ const click$1 = {
|
|
|
46619
46612
|
background: {
|
|
46620
46613
|
"default": "rgba(0,0,0,0)",
|
|
46621
46614
|
hover: "#f6f7fa",
|
|
46622
|
-
active: "lch(
|
|
46615
|
+
active: "lch(95.3 1.54 272)",
|
|
46623
46616
|
disabled: "rgba(0,0,0,0)",
|
|
46624
|
-
"disabled-active": "lch(
|
|
46617
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
46625
46618
|
panel: "rgba(0,0,0,0)"
|
|
46626
46619
|
},
|
|
46627
46620
|
text: {
|
|
@@ -48723,8 +48716,17 @@ const click = {
|
|
|
48723
48716
|
},
|
|
48724
48717
|
group: {
|
|
48725
48718
|
radii: {
|
|
48726
|
-
|
|
48727
|
-
|
|
48719
|
+
button: {
|
|
48720
|
+
"default": {
|
|
48721
|
+
all: "2px"
|
|
48722
|
+
},
|
|
48723
|
+
borderless: {
|
|
48724
|
+
all: "0.25rem"
|
|
48725
|
+
}
|
|
48726
|
+
},
|
|
48727
|
+
panel: {
|
|
48728
|
+
all: "0.25rem"
|
|
48729
|
+
}
|
|
48728
48730
|
},
|
|
48729
48731
|
typography: {
|
|
48730
48732
|
label: {
|
|
@@ -48742,18 +48744,36 @@ const click = {
|
|
|
48742
48744
|
}
|
|
48743
48745
|
},
|
|
48744
48746
|
space: {
|
|
48745
|
-
|
|
48746
|
-
"default":
|
|
48747
|
-
|
|
48747
|
+
panel: {
|
|
48748
|
+
"default": {
|
|
48749
|
+
x: "3px",
|
|
48750
|
+
y: "3px",
|
|
48751
|
+
gap: "3px"
|
|
48752
|
+
},
|
|
48753
|
+
borderless: {
|
|
48754
|
+
x: "0",
|
|
48755
|
+
y: "0",
|
|
48756
|
+
gap: "0.25rem"
|
|
48757
|
+
}
|
|
48758
|
+
},
|
|
48759
|
+
button: {
|
|
48760
|
+
"default": {
|
|
48761
|
+
y: "1.5px",
|
|
48762
|
+
x: "0.75rem"
|
|
48763
|
+
},
|
|
48764
|
+
borderless: {
|
|
48765
|
+
y: "5.5px",
|
|
48766
|
+
x: "1rem"
|
|
48767
|
+
}
|
|
48748
48768
|
}
|
|
48749
48769
|
},
|
|
48750
48770
|
color: {
|
|
48751
48771
|
background: {
|
|
48752
48772
|
"default": "rgba(0,0,0,0)",
|
|
48753
48773
|
hover: "#f6f7fa",
|
|
48754
|
-
active: "lch(
|
|
48774
|
+
active: "lch(95.3 1.54 272)",
|
|
48755
48775
|
disabled: "rgba(0,0,0,0)",
|
|
48756
|
-
"disabled-active": "lch(
|
|
48776
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
48757
48777
|
panel: "rgba(0,0,0,0)"
|
|
48758
48778
|
},
|
|
48759
48779
|
text: {
|
|
@@ -49928,6 +49948,9 @@ const click = {
|
|
|
49928
49948
|
shadow: {
|
|
49929
49949
|
"default": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"
|
|
49930
49950
|
},
|
|
49951
|
+
size: {
|
|
49952
|
+
height: "2rem"
|
|
49953
|
+
},
|
|
49931
49954
|
color: {
|
|
49932
49955
|
background: {
|
|
49933
49956
|
"default": "#ffffff"
|
|
@@ -10630,46 +10630,41 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10630
10630
|
const ButtonGroup = ({
|
|
10631
10631
|
options: options2,
|
|
10632
10632
|
selected,
|
|
10633
|
-
fillWidth,
|
|
10633
|
+
fillWidth = false,
|
|
10634
10634
|
onClick,
|
|
10635
|
-
type,
|
|
10635
|
+
type = "default",
|
|
10636
10636
|
...props
|
|
10637
10637
|
}) => {
|
|
10638
|
-
const
|
|
10639
|
-
const btns = options2.map(({
|
|
10638
|
+
const buttons = options2.map(({
|
|
10640
10639
|
value,
|
|
10641
10640
|
label,
|
|
10642
10641
|
...props2
|
|
10643
|
-
},
|
|
10644
|
-
|
|
10645
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Button$1, { $active: value === selected, $position: position2, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value);
|
|
10646
|
-
});
|
|
10647
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
10642
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(Button$1, { $active: value === selected, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value));
|
|
10643
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: buttons });
|
|
10648
10644
|
};
|
|
10649
10645
|
const ButtonGroupWrapper = pt.div.withConfig({
|
|
10650
10646
|
componentId: "sc-ukgugp-0"
|
|
10651
|
-
})(["box-sizing:border-box;
|
|
10647
|
+
})(["display:inline-flex;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:center;padding:", ";gap:", ";border:", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
10652
10648
|
theme: theme2,
|
|
10653
|
-
$type
|
|
10654
|
-
}) => theme2.click.button.group.space.
|
|
10649
|
+
$type
|
|
10650
|
+
}) => `${theme2.click.button.group.space.panel[$type].x} ${theme2.click.button.group.space.panel[$type].y}`, ({
|
|
10655
10651
|
theme: theme2,
|
|
10656
|
-
$type
|
|
10657
|
-
}) => theme2.click.button.group.
|
|
10652
|
+
$type
|
|
10653
|
+
}) => theme2.click.button.group.space.panel[$type].gap, ({
|
|
10654
|
+
theme: theme2,
|
|
10655
|
+
$type
|
|
10656
|
+
}) => $type === "default" ? `1px solid ${theme2.click.button.group.color.panel.stroke[$type]}` : "none", ({
|
|
10658
10657
|
theme: theme2
|
|
10659
10658
|
}) => theme2.click.button.group.color.background.panel, ({
|
|
10660
10659
|
theme: theme2
|
|
10661
|
-
}) => theme2.click.button.group.radii.all, ({
|
|
10660
|
+
}) => theme2.click.button.group.radii.panel.all, ({
|
|
10662
10661
|
$fillWidth
|
|
10663
10662
|
}) => $fillWidth ? "100%" : "auto");
|
|
10664
|
-
const endRadii = "var(--click-button-button-group-radii-end)";
|
|
10665
|
-
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
10666
|
-
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
10667
|
-
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
10668
10663
|
const Button$1 = pt.button.attrs((props) => ({
|
|
10669
10664
|
"aria-pressed": props.$active
|
|
10670
10665
|
})).withConfig({
|
|
10671
10666
|
componentId: "sc-ukgugp-1"
|
|
10672
|
-
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;
|
|
10667
|
+
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;background:", ";color:", ";font:", ";padding:", ";", ";border-radius:", ";cursor:pointer;border:none;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}"], ({
|
|
10673
10668
|
$active,
|
|
10674
10669
|
theme: theme2
|
|
10675
10670
|
}) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
|
|
@@ -10677,14 +10672,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10677
10672
|
}) => theme2.click.button.group.color.text.default, ({
|
|
10678
10673
|
theme: theme2
|
|
10679
10674
|
}) => theme2.click.button.group.typography.label.default, ({
|
|
10680
|
-
theme: theme2
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
theme: theme2
|
|
10685
|
-
}) => theme2.click.button.basic.space.group, ({
|
|
10686
|
-
$fillWidth = false
|
|
10675
|
+
theme: theme2,
|
|
10676
|
+
$type
|
|
10677
|
+
}) => `${theme2.click.button.group.space.button[$type].y} ${theme2.click.button.group.space.button[$type].x}`, ({
|
|
10678
|
+
$fillWidth
|
|
10687
10679
|
}) => $fillWidth ? "flex: 1;" : "", ({
|
|
10680
|
+
theme: theme2,
|
|
10681
|
+
$type
|
|
10682
|
+
}) => theme2.click.button.group.radii.button[$type].all, ({
|
|
10688
10683
|
theme: theme2
|
|
10689
10684
|
}) => theme2.click.button.group.color.background.hover, ({
|
|
10690
10685
|
theme: theme2
|
|
@@ -10707,11 +10702,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10707
10702
|
theme: theme2
|
|
10708
10703
|
}) => theme2.click.button.group.color.text.active, ({
|
|
10709
10704
|
theme: theme2
|
|
10710
|
-
}) => theme2.click.button.group.color.background["disabled-active"]
|
|
10711
|
-
theme: theme2,
|
|
10712
|
-
$type,
|
|
10713
|
-
$position
|
|
10714
|
-
}) => $type === "borderless" ? theme2.click.button.group.radii.all : $position === "left" ? leftBorderRadius : $position === "right" ? rightBorderRadius : centerBorderRadius);
|
|
10705
|
+
}) => theme2.click.button.group.color.background["disabled-active"]);
|
|
10715
10706
|
const Button = ({
|
|
10716
10707
|
type = "primary",
|
|
10717
10708
|
iconLeft,
|
|
@@ -35706,7 +35697,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
35706
35697
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
35707
35698
|
const StyledSelectTrigger = pt($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
35708
35699
|
componentId: "sc-oudbwg-2"
|
|
35709
|
-
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
35700
|
+
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;min-height:", ";span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
35701
|
+
theme: theme2
|
|
35702
|
+
}) => theme2.click.genericMenu.panel.size.height, ({
|
|
35710
35703
|
theme: theme2,
|
|
35711
35704
|
$error
|
|
35712
35705
|
}) => `
|
|
@@ -44811,7 +44804,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
44811
44804
|
background: {
|
|
44812
44805
|
"default": "rgba(0,0,0,0)",
|
|
44813
44806
|
hover: "#282828",
|
|
44814
|
-
active: "
|
|
44807
|
+
active: "#414141",
|
|
44815
44808
|
disabled: "rgba(0,0,0,0)",
|
|
44816
44809
|
"disabled-active": "lch(0 0 0 / 0)",
|
|
44817
44810
|
panel: "rgba(0,0,0,0)"
|
|
@@ -46635,9 +46628,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
46635
46628
|
background: {
|
|
46636
46629
|
"default": "rgba(0,0,0,0)",
|
|
46637
46630
|
hover: "#f6f7fa",
|
|
46638
|
-
active: "lch(
|
|
46631
|
+
active: "lch(95.3 1.54 272)",
|
|
46639
46632
|
disabled: "rgba(0,0,0,0)",
|
|
46640
|
-
"disabled-active": "lch(
|
|
46633
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
46641
46634
|
panel: "rgba(0,0,0,0)"
|
|
46642
46635
|
},
|
|
46643
46636
|
text: {
|
|
@@ -48739,8 +48732,17 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48739
48732
|
},
|
|
48740
48733
|
group: {
|
|
48741
48734
|
radii: {
|
|
48742
|
-
|
|
48743
|
-
|
|
48735
|
+
button: {
|
|
48736
|
+
"default": {
|
|
48737
|
+
all: "2px"
|
|
48738
|
+
},
|
|
48739
|
+
borderless: {
|
|
48740
|
+
all: "0.25rem"
|
|
48741
|
+
}
|
|
48742
|
+
},
|
|
48743
|
+
panel: {
|
|
48744
|
+
all: "0.25rem"
|
|
48745
|
+
}
|
|
48744
48746
|
},
|
|
48745
48747
|
typography: {
|
|
48746
48748
|
label: {
|
|
@@ -48758,18 +48760,36 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48758
48760
|
}
|
|
48759
48761
|
},
|
|
48760
48762
|
space: {
|
|
48761
|
-
|
|
48762
|
-
"default":
|
|
48763
|
-
|
|
48763
|
+
panel: {
|
|
48764
|
+
"default": {
|
|
48765
|
+
x: "3px",
|
|
48766
|
+
y: "3px",
|
|
48767
|
+
gap: "3px"
|
|
48768
|
+
},
|
|
48769
|
+
borderless: {
|
|
48770
|
+
x: "0",
|
|
48771
|
+
y: "0",
|
|
48772
|
+
gap: "0.25rem"
|
|
48773
|
+
}
|
|
48774
|
+
},
|
|
48775
|
+
button: {
|
|
48776
|
+
"default": {
|
|
48777
|
+
y: "1.5px",
|
|
48778
|
+
x: "0.75rem"
|
|
48779
|
+
},
|
|
48780
|
+
borderless: {
|
|
48781
|
+
y: "5.5px",
|
|
48782
|
+
x: "1rem"
|
|
48783
|
+
}
|
|
48764
48784
|
}
|
|
48765
48785
|
},
|
|
48766
48786
|
color: {
|
|
48767
48787
|
background: {
|
|
48768
48788
|
"default": "rgba(0,0,0,0)",
|
|
48769
48789
|
hover: "#f6f7fa",
|
|
48770
|
-
active: "lch(
|
|
48790
|
+
active: "lch(95.3 1.54 272)",
|
|
48771
48791
|
disabled: "rgba(0,0,0,0)",
|
|
48772
|
-
"disabled-active": "lch(
|
|
48792
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
48773
48793
|
panel: "rgba(0,0,0,0)"
|
|
48774
48794
|
},
|
|
48775
48795
|
text: {
|
|
@@ -49944,6 +49964,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
49944
49964
|
shadow: {
|
|
49945
49965
|
"default": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"
|
|
49946
49966
|
},
|
|
49967
|
+
size: {
|
|
49968
|
+
height: "2rem"
|
|
49969
|
+
},
|
|
49947
49970
|
color: {
|
|
49948
49971
|
background: {
|
|
49949
49972
|
"default": "#ffffff"
|
package/dist/click-ui.es.js
CHANGED
|
@@ -9418,46 +9418,41 @@ const Title$3 = styled.div.withConfig({
|
|
|
9418
9418
|
const ButtonGroup = ({
|
|
9419
9419
|
options,
|
|
9420
9420
|
selected,
|
|
9421
|
-
fillWidth,
|
|
9421
|
+
fillWidth = false,
|
|
9422
9422
|
onClick,
|
|
9423
|
-
type,
|
|
9423
|
+
type = "default",
|
|
9424
9424
|
...props
|
|
9425
9425
|
}) => {
|
|
9426
|
-
const
|
|
9427
|
-
const btns = options.map(({
|
|
9426
|
+
const buttons = options.map(({
|
|
9428
9427
|
value,
|
|
9429
9428
|
label,
|
|
9430
9429
|
...props2
|
|
9431
|
-
},
|
|
9432
|
-
|
|
9433
|
-
return /* @__PURE__ */ jsx(Button$1, { $active: value === selected, $position: position, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value);
|
|
9434
|
-
});
|
|
9435
|
-
return /* @__PURE__ */ jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
9430
|
+
}) => /* @__PURE__ */ jsx(Button$1, { $active: value === selected, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value));
|
|
9431
|
+
return /* @__PURE__ */ jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: buttons });
|
|
9436
9432
|
};
|
|
9437
9433
|
const ButtonGroupWrapper = styled.div.withConfig({
|
|
9438
9434
|
componentId: "sc-ukgugp-0"
|
|
9439
|
-
})(["box-sizing:border-box;
|
|
9435
|
+
})(["display:inline-flex;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:center;padding:", ";gap:", ";border:", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
9440
9436
|
theme: theme2,
|
|
9441
|
-
$type
|
|
9442
|
-
}) => theme2.click.button.group.space.
|
|
9437
|
+
$type
|
|
9438
|
+
}) => `${theme2.click.button.group.space.panel[$type].x} ${theme2.click.button.group.space.panel[$type].y}`, ({
|
|
9443
9439
|
theme: theme2,
|
|
9444
|
-
$type
|
|
9445
|
-
}) => theme2.click.button.group.
|
|
9440
|
+
$type
|
|
9441
|
+
}) => theme2.click.button.group.space.panel[$type].gap, ({
|
|
9442
|
+
theme: theme2,
|
|
9443
|
+
$type
|
|
9444
|
+
}) => $type === "default" ? `1px solid ${theme2.click.button.group.color.panel.stroke[$type]}` : "none", ({
|
|
9446
9445
|
theme: theme2
|
|
9447
9446
|
}) => theme2.click.button.group.color.background.panel, ({
|
|
9448
9447
|
theme: theme2
|
|
9449
|
-
}) => theme2.click.button.group.radii.all, ({
|
|
9448
|
+
}) => theme2.click.button.group.radii.panel.all, ({
|
|
9450
9449
|
$fillWidth
|
|
9451
9450
|
}) => $fillWidth ? "100%" : "auto");
|
|
9452
|
-
const endRadii = "var(--click-button-button-group-radii-end)";
|
|
9453
|
-
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
9454
|
-
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
9455
|
-
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
9456
9451
|
const Button$1 = styled.button.attrs((props) => ({
|
|
9457
9452
|
"aria-pressed": props.$active
|
|
9458
9453
|
})).withConfig({
|
|
9459
9454
|
componentId: "sc-ukgugp-1"
|
|
9460
|
-
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;
|
|
9455
|
+
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;background:", ";color:", ";font:", ";padding:", ";", ";border-radius:", ";cursor:pointer;border:none;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}"], ({
|
|
9461
9456
|
$active,
|
|
9462
9457
|
theme: theme2
|
|
9463
9458
|
}) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
|
|
@@ -9465,14 +9460,14 @@ const Button$1 = styled.button.attrs((props) => ({
|
|
|
9465
9460
|
}) => theme2.click.button.group.color.text.default, ({
|
|
9466
9461
|
theme: theme2
|
|
9467
9462
|
}) => theme2.click.button.group.typography.label.default, ({
|
|
9468
|
-
theme: theme2
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
theme: theme2
|
|
9473
|
-
}) => theme2.click.button.basic.space.group, ({
|
|
9474
|
-
$fillWidth = false
|
|
9463
|
+
theme: theme2,
|
|
9464
|
+
$type
|
|
9465
|
+
}) => `${theme2.click.button.group.space.button[$type].y} ${theme2.click.button.group.space.button[$type].x}`, ({
|
|
9466
|
+
$fillWidth
|
|
9475
9467
|
}) => $fillWidth ? "flex: 1;" : "", ({
|
|
9468
|
+
theme: theme2,
|
|
9469
|
+
$type
|
|
9470
|
+
}) => theme2.click.button.group.radii.button[$type].all, ({
|
|
9476
9471
|
theme: theme2
|
|
9477
9472
|
}) => theme2.click.button.group.color.background.hover, ({
|
|
9478
9473
|
theme: theme2
|
|
@@ -9495,11 +9490,7 @@ const Button$1 = styled.button.attrs((props) => ({
|
|
|
9495
9490
|
theme: theme2
|
|
9496
9491
|
}) => theme2.click.button.group.color.text.active, ({
|
|
9497
9492
|
theme: theme2
|
|
9498
|
-
}) => theme2.click.button.group.color.background["disabled-active"]
|
|
9499
|
-
theme: theme2,
|
|
9500
|
-
$type,
|
|
9501
|
-
$position
|
|
9502
|
-
}) => $type === "borderless" ? theme2.click.button.group.radii.all : $position === "left" ? leftBorderRadius : $position === "right" ? rightBorderRadius : centerBorderRadius);
|
|
9493
|
+
}) => theme2.click.button.group.color.background["disabled-active"]);
|
|
9503
9494
|
const Button = ({
|
|
9504
9495
|
type = "primary",
|
|
9505
9496
|
iconLeft,
|
|
@@ -34522,7 +34513,9 @@ const SelectValue = styled.div.withConfig({
|
|
|
34522
34513
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
34523
34514
|
const StyledSelectTrigger = styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
34524
34515
|
componentId: "sc-oudbwg-2"
|
|
34525
|
-
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
34516
|
+
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;min-height:", ";span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
34517
|
+
theme: theme2
|
|
34518
|
+
}) => theme2.click.genericMenu.panel.size.height, ({
|
|
34526
34519
|
theme: theme2,
|
|
34527
34520
|
$error
|
|
34528
34521
|
}) => `
|
|
@@ -43627,7 +43620,7 @@ const click$2 = {
|
|
|
43627
43620
|
background: {
|
|
43628
43621
|
"default": "rgba(0,0,0,0)",
|
|
43629
43622
|
hover: "#282828",
|
|
43630
|
-
active: "
|
|
43623
|
+
active: "#414141",
|
|
43631
43624
|
disabled: "rgba(0,0,0,0)",
|
|
43632
43625
|
"disabled-active": "lch(0 0 0 / 0)",
|
|
43633
43626
|
panel: "rgba(0,0,0,0)"
|
|
@@ -45451,9 +45444,9 @@ const click$1 = {
|
|
|
45451
45444
|
background: {
|
|
45452
45445
|
"default": "rgba(0,0,0,0)",
|
|
45453
45446
|
hover: "#f6f7fa",
|
|
45454
|
-
active: "lch(
|
|
45447
|
+
active: "lch(95.3 1.54 272)",
|
|
45455
45448
|
disabled: "rgba(0,0,0,0)",
|
|
45456
|
-
"disabled-active": "lch(
|
|
45449
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
45457
45450
|
panel: "rgba(0,0,0,0)"
|
|
45458
45451
|
},
|
|
45459
45452
|
text: {
|
|
@@ -47555,8 +47548,17 @@ const click = {
|
|
|
47555
47548
|
},
|
|
47556
47549
|
group: {
|
|
47557
47550
|
radii: {
|
|
47558
|
-
|
|
47559
|
-
|
|
47551
|
+
button: {
|
|
47552
|
+
"default": {
|
|
47553
|
+
all: "2px"
|
|
47554
|
+
},
|
|
47555
|
+
borderless: {
|
|
47556
|
+
all: "0.25rem"
|
|
47557
|
+
}
|
|
47558
|
+
},
|
|
47559
|
+
panel: {
|
|
47560
|
+
all: "0.25rem"
|
|
47561
|
+
}
|
|
47560
47562
|
},
|
|
47561
47563
|
typography: {
|
|
47562
47564
|
label: {
|
|
@@ -47574,18 +47576,36 @@ const click = {
|
|
|
47574
47576
|
}
|
|
47575
47577
|
},
|
|
47576
47578
|
space: {
|
|
47577
|
-
|
|
47578
|
-
"default":
|
|
47579
|
-
|
|
47579
|
+
panel: {
|
|
47580
|
+
"default": {
|
|
47581
|
+
x: "3px",
|
|
47582
|
+
y: "3px",
|
|
47583
|
+
gap: "3px"
|
|
47584
|
+
},
|
|
47585
|
+
borderless: {
|
|
47586
|
+
x: "0",
|
|
47587
|
+
y: "0",
|
|
47588
|
+
gap: "0.25rem"
|
|
47589
|
+
}
|
|
47590
|
+
},
|
|
47591
|
+
button: {
|
|
47592
|
+
"default": {
|
|
47593
|
+
y: "1.5px",
|
|
47594
|
+
x: "0.75rem"
|
|
47595
|
+
},
|
|
47596
|
+
borderless: {
|
|
47597
|
+
y: "5.5px",
|
|
47598
|
+
x: "1rem"
|
|
47599
|
+
}
|
|
47580
47600
|
}
|
|
47581
47601
|
},
|
|
47582
47602
|
color: {
|
|
47583
47603
|
background: {
|
|
47584
47604
|
"default": "rgba(0,0,0,0)",
|
|
47585
47605
|
hover: "#f6f7fa",
|
|
47586
|
-
active: "lch(
|
|
47606
|
+
active: "lch(95.3 1.54 272)",
|
|
47587
47607
|
disabled: "rgba(0,0,0,0)",
|
|
47588
|
-
"disabled-active": "lch(
|
|
47608
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
47589
47609
|
panel: "rgba(0,0,0,0)"
|
|
47590
47610
|
},
|
|
47591
47611
|
text: {
|
|
@@ -48760,6 +48780,9 @@ const click = {
|
|
|
48760
48780
|
shadow: {
|
|
48761
48781
|
"default": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"
|
|
48762
48782
|
},
|
|
48783
|
+
size: {
|
|
48784
|
+
height: "2rem"
|
|
48785
|
+
},
|
|
48763
48786
|
color: {
|
|
48764
48787
|
background: {
|
|
48765
48788
|
"default": "#ffffff"
|
package/dist/click-ui.umd.js
CHANGED
|
@@ -9433,46 +9433,41 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9433
9433
|
const ButtonGroup = ({
|
|
9434
9434
|
options: options2,
|
|
9435
9435
|
selected,
|
|
9436
|
-
fillWidth,
|
|
9436
|
+
fillWidth = false,
|
|
9437
9437
|
onClick,
|
|
9438
|
-
type,
|
|
9438
|
+
type = "default",
|
|
9439
9439
|
...props
|
|
9440
9440
|
}) => {
|
|
9441
|
-
const
|
|
9442
|
-
const btns = options2.map(({
|
|
9441
|
+
const buttons = options2.map(({
|
|
9443
9442
|
value,
|
|
9444
9443
|
label,
|
|
9445
9444
|
...props2
|
|
9446
|
-
},
|
|
9447
|
-
|
|
9448
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Button$1, { $active: value === selected, $position: position, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value);
|
|
9449
|
-
});
|
|
9450
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: btns });
|
|
9445
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(Button$1, { $active: value === selected, $fillWidth: fillWidth, $type: type, onClick: () => onClick == null ? void 0 : onClick(value), role: "button", ...props2, children: label }, value));
|
|
9446
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupWrapper, { $fillWidth: fillWidth, $type: type, ...props, children: buttons });
|
|
9451
9447
|
};
|
|
9452
9448
|
const ButtonGroupWrapper = styled.styled.div.withConfig({
|
|
9453
9449
|
componentId: "sc-ukgugp-0"
|
|
9454
|
-
})(["box-sizing:border-box;
|
|
9450
|
+
})(["display:inline-flex;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:center;padding:", ";gap:", ";border:", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
9455
9451
|
theme: theme2,
|
|
9456
|
-
$type
|
|
9457
|
-
}) => theme2.click.button.group.space.
|
|
9452
|
+
$type
|
|
9453
|
+
}) => `${theme2.click.button.group.space.panel[$type].x} ${theme2.click.button.group.space.panel[$type].y}`, ({
|
|
9458
9454
|
theme: theme2,
|
|
9459
|
-
$type
|
|
9460
|
-
}) => theme2.click.button.group.
|
|
9455
|
+
$type
|
|
9456
|
+
}) => theme2.click.button.group.space.panel[$type].gap, ({
|
|
9457
|
+
theme: theme2,
|
|
9458
|
+
$type
|
|
9459
|
+
}) => $type === "default" ? `1px solid ${theme2.click.button.group.color.panel.stroke[$type]}` : "none", ({
|
|
9461
9460
|
theme: theme2
|
|
9462
9461
|
}) => theme2.click.button.group.color.background.panel, ({
|
|
9463
9462
|
theme: theme2
|
|
9464
|
-
}) => theme2.click.button.group.radii.all, ({
|
|
9463
|
+
}) => theme2.click.button.group.radii.panel.all, ({
|
|
9465
9464
|
$fillWidth
|
|
9466
9465
|
}) => $fillWidth ? "100%" : "auto");
|
|
9467
|
-
const endRadii = "var(--click-button-button-group-radii-end)";
|
|
9468
|
-
const leftBorderRadius = `${endRadii} 0px 0px ${endRadii}`;
|
|
9469
|
-
const rightBorderRadius = `0px ${endRadii} ${endRadii} 0px`;
|
|
9470
|
-
const centerBorderRadius = "var(--click-button-button-group-radii-center)";
|
|
9471
9466
|
const Button$1 = styled.styled.button.attrs((props) => ({
|
|
9472
9467
|
"aria-pressed": props.$active
|
|
9473
9468
|
})).withConfig({
|
|
9474
9469
|
componentId: "sc-ukgugp-1"
|
|
9475
|
-
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;
|
|
9470
|
+
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;background:", ";color:", ";font:", ";padding:", ";", ";border-radius:", ";cursor:pointer;border:none;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}"], ({
|
|
9476
9471
|
$active,
|
|
9477
9472
|
theme: theme2
|
|
9478
9473
|
}) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
|
|
@@ -9480,14 +9475,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9480
9475
|
}) => theme2.click.button.group.color.text.default, ({
|
|
9481
9476
|
theme: theme2
|
|
9482
9477
|
}) => theme2.click.button.group.typography.label.default, ({
|
|
9483
|
-
theme: theme2
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
theme: theme2
|
|
9488
|
-
}) => theme2.click.button.basic.space.group, ({
|
|
9489
|
-
$fillWidth = false
|
|
9478
|
+
theme: theme2,
|
|
9479
|
+
$type
|
|
9480
|
+
}) => `${theme2.click.button.group.space.button[$type].y} ${theme2.click.button.group.space.button[$type].x}`, ({
|
|
9481
|
+
$fillWidth
|
|
9490
9482
|
}) => $fillWidth ? "flex: 1;" : "", ({
|
|
9483
|
+
theme: theme2,
|
|
9484
|
+
$type
|
|
9485
|
+
}) => theme2.click.button.group.radii.button[$type].all, ({
|
|
9491
9486
|
theme: theme2
|
|
9492
9487
|
}) => theme2.click.button.group.color.background.hover, ({
|
|
9493
9488
|
theme: theme2
|
|
@@ -9510,11 +9505,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9510
9505
|
theme: theme2
|
|
9511
9506
|
}) => theme2.click.button.group.color.text.active, ({
|
|
9512
9507
|
theme: theme2
|
|
9513
|
-
}) => theme2.click.button.group.color.background["disabled-active"]
|
|
9514
|
-
theme: theme2,
|
|
9515
|
-
$type,
|
|
9516
|
-
$position
|
|
9517
|
-
}) => $type === "borderless" ? theme2.click.button.group.radii.all : $position === "left" ? leftBorderRadius : $position === "right" ? rightBorderRadius : centerBorderRadius);
|
|
9508
|
+
}) => theme2.click.button.group.color.background["disabled-active"]);
|
|
9518
9509
|
const Button = ({
|
|
9519
9510
|
type = "primary",
|
|
9520
9511
|
iconLeft,
|
|
@@ -34537,7 +34528,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
34537
34528
|
})(["text-align:left;flex:1;gap:inherit;color:inherit;font:inherit;overflow:hidden;"]);
|
|
34538
34529
|
const StyledSelectTrigger = styled.styled($cb5cc270b50c6fcd$export$41fb9f06171c75f4).withConfig({
|
|
34539
34530
|
componentId: "sc-oudbwg-2"
|
|
34540
|
-
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
34531
|
+
})(["width:100%;display:flex;align-items:center;justify-content:space-between;align-items:center;cursor:pointer;min-height:", ";span:first-of-type{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", " [data-hide-in-trigger]{display:none;}"], ({
|
|
34532
|
+
theme: theme2
|
|
34533
|
+
}) => theme2.click.genericMenu.panel.size.height, ({
|
|
34541
34534
|
theme: theme2,
|
|
34542
34535
|
$error
|
|
34543
34536
|
}) => `
|
|
@@ -43642,7 +43635,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
43642
43635
|
background: {
|
|
43643
43636
|
"default": "rgba(0,0,0,0)",
|
|
43644
43637
|
hover: "#282828",
|
|
43645
|
-
active: "
|
|
43638
|
+
active: "#414141",
|
|
43646
43639
|
disabled: "rgba(0,0,0,0)",
|
|
43647
43640
|
"disabled-active": "lch(0 0 0 / 0)",
|
|
43648
43641
|
panel: "rgba(0,0,0,0)"
|
|
@@ -45466,9 +45459,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
45466
45459
|
background: {
|
|
45467
45460
|
"default": "rgba(0,0,0,0)",
|
|
45468
45461
|
hover: "#f6f7fa",
|
|
45469
|
-
active: "lch(
|
|
45462
|
+
active: "lch(95.3 1.54 272)",
|
|
45470
45463
|
disabled: "rgba(0,0,0,0)",
|
|
45471
|
-
"disabled-active": "lch(
|
|
45464
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
45472
45465
|
panel: "rgba(0,0,0,0)"
|
|
45473
45466
|
},
|
|
45474
45467
|
text: {
|
|
@@ -47570,8 +47563,17 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47570
47563
|
},
|
|
47571
47564
|
group: {
|
|
47572
47565
|
radii: {
|
|
47573
|
-
|
|
47574
|
-
|
|
47566
|
+
button: {
|
|
47567
|
+
"default": {
|
|
47568
|
+
all: "2px"
|
|
47569
|
+
},
|
|
47570
|
+
borderless: {
|
|
47571
|
+
all: "0.25rem"
|
|
47572
|
+
}
|
|
47573
|
+
},
|
|
47574
|
+
panel: {
|
|
47575
|
+
all: "0.25rem"
|
|
47576
|
+
}
|
|
47575
47577
|
},
|
|
47576
47578
|
typography: {
|
|
47577
47579
|
label: {
|
|
@@ -47589,18 +47591,36 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
47589
47591
|
}
|
|
47590
47592
|
},
|
|
47591
47593
|
space: {
|
|
47592
|
-
|
|
47593
|
-
"default":
|
|
47594
|
-
|
|
47594
|
+
panel: {
|
|
47595
|
+
"default": {
|
|
47596
|
+
x: "3px",
|
|
47597
|
+
y: "3px",
|
|
47598
|
+
gap: "3px"
|
|
47599
|
+
},
|
|
47600
|
+
borderless: {
|
|
47601
|
+
x: "0",
|
|
47602
|
+
y: "0",
|
|
47603
|
+
gap: "0.25rem"
|
|
47604
|
+
}
|
|
47605
|
+
},
|
|
47606
|
+
button: {
|
|
47607
|
+
"default": {
|
|
47608
|
+
y: "1.5px",
|
|
47609
|
+
x: "0.75rem"
|
|
47610
|
+
},
|
|
47611
|
+
borderless: {
|
|
47612
|
+
y: "5.5px",
|
|
47613
|
+
x: "1rem"
|
|
47614
|
+
}
|
|
47595
47615
|
}
|
|
47596
47616
|
},
|
|
47597
47617
|
color: {
|
|
47598
47618
|
background: {
|
|
47599
47619
|
"default": "rgba(0,0,0,0)",
|
|
47600
47620
|
hover: "#f6f7fa",
|
|
47601
|
-
active: "lch(
|
|
47621
|
+
active: "lch(95.3 1.54 272)",
|
|
47602
47622
|
disabled: "rgba(0,0,0,0)",
|
|
47603
|
-
"disabled-active": "lch(
|
|
47623
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
47604
47624
|
panel: "rgba(0,0,0,0)"
|
|
47605
47625
|
},
|
|
47606
47626
|
text: {
|
|
@@ -48775,6 +48795,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48775
48795
|
shadow: {
|
|
48776
48796
|
"default": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"
|
|
48777
48797
|
},
|
|
48798
|
+
size: {
|
|
48799
|
+
height: "2rem"
|
|
48800
|
+
},
|
|
48778
48801
|
color: {
|
|
48779
48802
|
background: {
|
|
48780
48803
|
"default": "#ffffff"
|
package/dist/styles/types.d.ts
CHANGED
|
@@ -711,8 +711,17 @@ export interface Theme {
|
|
|
711
711
|
};
|
|
712
712
|
"group": {
|
|
713
713
|
"radii": {
|
|
714
|
-
"
|
|
715
|
-
|
|
714
|
+
"button": {
|
|
715
|
+
"default": {
|
|
716
|
+
"all": string;
|
|
717
|
+
};
|
|
718
|
+
"borderless": {
|
|
719
|
+
"all": string;
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
"panel": {
|
|
723
|
+
"all": string;
|
|
724
|
+
};
|
|
716
725
|
};
|
|
717
726
|
"typography": {
|
|
718
727
|
"label": {
|
|
@@ -730,9 +739,27 @@ export interface Theme {
|
|
|
730
739
|
};
|
|
731
740
|
};
|
|
732
741
|
"space": {
|
|
733
|
-
"
|
|
734
|
-
"default":
|
|
735
|
-
|
|
742
|
+
"panel": {
|
|
743
|
+
"default": {
|
|
744
|
+
"x": string;
|
|
745
|
+
"y": string;
|
|
746
|
+
"gap": string;
|
|
747
|
+
};
|
|
748
|
+
"borderless": {
|
|
749
|
+
"x": string;
|
|
750
|
+
"y": string;
|
|
751
|
+
"gap": string;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
"button": {
|
|
755
|
+
"default": {
|
|
756
|
+
"y": string;
|
|
757
|
+
"x": string;
|
|
758
|
+
};
|
|
759
|
+
"borderless": {
|
|
760
|
+
"y": string;
|
|
761
|
+
"x": string;
|
|
762
|
+
};
|
|
736
763
|
};
|
|
737
764
|
};
|
|
738
765
|
"color": {
|
|
@@ -1916,6 +1943,9 @@ export interface Theme {
|
|
|
1916
1943
|
"shadow": {
|
|
1917
1944
|
"default": string;
|
|
1918
1945
|
};
|
|
1946
|
+
"size": {
|
|
1947
|
+
"height": string;
|
|
1948
|
+
};
|
|
1919
1949
|
"color": {
|
|
1920
1950
|
"background": {
|
|
1921
1951
|
"default": string;
|
|
@@ -419,7 +419,7 @@ declare const _default: {
|
|
|
419
419
|
"background": {
|
|
420
420
|
"default": "rgba(0,0,0,0)",
|
|
421
421
|
"hover": "#282828",
|
|
422
|
-
"active": "
|
|
422
|
+
"active": "#414141",
|
|
423
423
|
"disabled": "rgba(0,0,0,0)",
|
|
424
424
|
"disabled-active": "lch(0 0 0 / 0)",
|
|
425
425
|
"panel": "rgba(0,0,0,0)"
|
|
@@ -711,8 +711,17 @@ declare const _default: {
|
|
|
711
711
|
},
|
|
712
712
|
"group": {
|
|
713
713
|
"radii": {
|
|
714
|
-
"
|
|
715
|
-
|
|
714
|
+
"button": {
|
|
715
|
+
"default": {
|
|
716
|
+
"all": "2px"
|
|
717
|
+
},
|
|
718
|
+
"borderless": {
|
|
719
|
+
"all": "0.25rem"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"panel": {
|
|
723
|
+
"all": "0.25rem"
|
|
724
|
+
}
|
|
716
725
|
},
|
|
717
726
|
"typography": {
|
|
718
727
|
"label": {
|
|
@@ -730,18 +739,36 @@ declare const _default: {
|
|
|
730
739
|
}
|
|
731
740
|
},
|
|
732
741
|
"space": {
|
|
733
|
-
"
|
|
734
|
-
"default":
|
|
735
|
-
|
|
742
|
+
"panel": {
|
|
743
|
+
"default": {
|
|
744
|
+
"x": "3px",
|
|
745
|
+
"y": "3px",
|
|
746
|
+
"gap": "3px"
|
|
747
|
+
},
|
|
748
|
+
"borderless": {
|
|
749
|
+
"x": "0",
|
|
750
|
+
"y": "0",
|
|
751
|
+
"gap": "0.25rem"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
"button": {
|
|
755
|
+
"default": {
|
|
756
|
+
"y": "1.5px",
|
|
757
|
+
"x": "0.75rem"
|
|
758
|
+
},
|
|
759
|
+
"borderless": {
|
|
760
|
+
"y": "5.5px",
|
|
761
|
+
"x": "1rem"
|
|
762
|
+
}
|
|
736
763
|
}
|
|
737
764
|
},
|
|
738
765
|
"color": {
|
|
739
766
|
"background": {
|
|
740
767
|
"default": "rgba(0,0,0,0)",
|
|
741
768
|
"hover": "#f6f7fa",
|
|
742
|
-
"active": "lch(
|
|
769
|
+
"active": "lch(95.3 1.54 272)",
|
|
743
770
|
"disabled": "rgba(0,0,0,0)",
|
|
744
|
-
"disabled-active": "lch(
|
|
771
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
745
772
|
"panel": "rgba(0,0,0,0)"
|
|
746
773
|
},
|
|
747
774
|
"text": {
|
|
@@ -1916,6 +1943,9 @@ declare const _default: {
|
|
|
1916
1943
|
"shadow": {
|
|
1917
1944
|
"default": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)"
|
|
1918
1945
|
},
|
|
1946
|
+
"size": {
|
|
1947
|
+
"height": "2rem"
|
|
1948
|
+
},
|
|
1919
1949
|
"color": {
|
|
1920
1950
|
"background": {
|
|
1921
1951
|
"default": "#ffffff"
|
|
@@ -419,9 +419,9 @@ declare const _default: {
|
|
|
419
419
|
"background": {
|
|
420
420
|
"default": "rgba(0,0,0,0)",
|
|
421
421
|
"hover": "#f6f7fa",
|
|
422
|
-
"active": "lch(
|
|
422
|
+
"active": "lch(95.3 1.54 272)",
|
|
423
423
|
"disabled": "rgba(0,0,0,0)",
|
|
424
|
-
"disabled-active": "lch(
|
|
424
|
+
"disabled-active": "lch(76.2 1.23 272)",
|
|
425
425
|
"panel": "rgba(0,0,0,0)"
|
|
426
426
|
},
|
|
427
427
|
"text": {
|