@clickhouse/click-ui 0.0.53 → 0.0.55
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 +296 -110
- package/dist/click-ui.umd.js +50 -47
- package/dist/components/BigStat/BigStat.d.ts +3 -1
- package/dist/components/CardPrimary/CardPrimary.d.ts +11 -5
- package/dist/components/Panel/Panel.d.ts +3 -1
- package/dist/logo.svg +1 -1
- package/dist/styles/types.d.ts +57 -15
- package/dist/styles/variables.classic.json.d.ts +58 -0
- package/dist/styles/variables.dark.json.d.ts +53 -18
- package/dist/styles/variables.json.d.ts +64 -22
- package/dist/styles/variables.light.json.d.ts +49 -16
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -1574,7 +1574,7 @@ const Ec = (e) => /* @__PURE__ */ o.jsxs("svg", { width: "24", height: "25", vie
|
|
|
1574
1574
|
] }),
|
|
1575
1575
|
/* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsx("clipPath", { id: "clip0_3880_12442", children: /* @__PURE__ */ o.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
|
|
1576
1576
|
] }), B7 = (e) => /* @__PURE__ */ o.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 20, viewBox: "0 0 30 20", fill: "none", ...e, children: [
|
|
1577
|
-
/* @__PURE__ */ o.jsxs("g", {
|
|
1577
|
+
/* @__PURE__ */ o.jsxs("g", { clipPath: "url(#swedenFlagClipPath)", children: [
|
|
1578
1578
|
/* @__PURE__ */ o.jsx("path", { d: "M0 0H30V20H0V0Z", fill: "#006AA7" }),
|
|
1579
1579
|
/* @__PURE__ */ o.jsx("path", { d: "M0 8H9.375V0H13.125V8H30V12H13.125V20H9.375V12H0V8Z", fill: "#FECC00" })
|
|
1580
1580
|
] }),
|
|
@@ -6639,25 +6639,28 @@ const yu = bu, ku = Cu, $u = xu, f_ = ({
|
|
|
6639
6639
|
] }) }), u_ = ({
|
|
6640
6640
|
label: e = "Label",
|
|
6641
6641
|
title: t = "Title",
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
/* @__PURE__ */ o.jsx(
|
|
6642
|
+
height: n = "6rem",
|
|
6643
|
+
size: r,
|
|
6644
|
+
state: i
|
|
6645
|
+
}) => /* @__PURE__ */ o.jsxs(Fu, { $state: i, $size: r, $height: n, children: [
|
|
6646
|
+
/* @__PURE__ */ o.jsx(Iu, { $state: i, $size: r, children: e }),
|
|
6647
|
+
/* @__PURE__ */ o.jsx(Hu, { $state: i, $size: r, children: t })
|
|
6647
6648
|
] }), Fu = $.div.withConfig({
|
|
6648
6649
|
componentId: "sc-u5029o-0"
|
|
6649
|
-
})(["display:flex;", ""], ({
|
|
6650
|
+
})(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
|
|
6650
6651
|
$state: e = "default",
|
|
6651
6652
|
$size: t = "lg",
|
|
6652
|
-
|
|
6653
|
+
$height: n = "fixed",
|
|
6654
|
+
theme: r
|
|
6653
6655
|
}) => `
|
|
6654
|
-
background-color: ${
|
|
6655
|
-
color: ${
|
|
6656
|
-
font: ${
|
|
6657
|
-
border-radius: ${
|
|
6658
|
-
border: ${
|
|
6659
|
-
gap: ${
|
|
6660
|
-
padding: ${n.click.bigStat.space.all};
|
|
6656
|
+
background-color: ${r.click.bigStat.color.background[e]};
|
|
6657
|
+
color: ${r.click.bigStat.color.label[e]};
|
|
6658
|
+
font: ${r.click.bigStat.typography[t].label[e]};
|
|
6659
|
+
border-radius: ${r.click.bigStat.radii.all};
|
|
6660
|
+
border: ${r.click.bigStat.stroke} solid ${r.click.bigStat.color.stroke[e]};
|
|
6661
|
+
gap: ${r.click.bigStat.space.gap};
|
|
6662
|
+
padding: ${n === "fixed" ? `0 ${r.click.bigStat.space.all}` : r.click.bigStat.space.all};
|
|
6663
|
+
min-height: ${n !== void 0 ? `${n}` : "auto"};
|
|
6661
6664
|
flex-direction: ${t === "sm" ? "column-reverse" : "column"};
|
|
6662
6665
|
`), Iu = $.div.withConfig({
|
|
6663
6666
|
componentId: "sc-u5029o-1"
|
|
@@ -6920,13 +6923,15 @@ const Wu = $.div.withConfig({
|
|
|
6920
6923
|
] })
|
|
6921
6924
|
] }), Xu = $.div.withConfig({
|
|
6922
6925
|
componentId: "sc-2dguvi-0"
|
|
6923
|
-
})(["background-color:", ";border-radius:", ";border:", ";display:flex;max-width:100%;text-align:
|
|
6926
|
+
})(["background-color:", ";border-radius:", ";border:", ";display:flex;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ";}&[disabled],&[disabled]:hover,&[disabled]:active{background-color:", ";color:", ";border:1px solid ", ";cursor:not-allowed;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}", ""], ({
|
|
6924
6927
|
theme: e
|
|
6925
6928
|
}) => e.click.card.primary.color.background.default, ({
|
|
6926
6929
|
theme: e
|
|
6927
6930
|
}) => e.click.card.primary.radii.all, ({
|
|
6928
6931
|
theme: e
|
|
6929
6932
|
}) => `1px solid ${e.click.card.primary.color.stroke.default}`, ({
|
|
6933
|
+
$alignContent: e
|
|
6934
|
+
}) => e === "start" ? "left" : e === "end" ? "right" : "center", ({
|
|
6930
6935
|
$size: e = "md",
|
|
6931
6936
|
theme: t
|
|
6932
6937
|
}) => `${t.click.card.primary.space[e].x} ${t.click.card.primary.space[e].y}`, ({
|
|
@@ -6947,6 +6952,8 @@ const Wu = $.div.withConfig({
|
|
|
6947
6952
|
theme: e
|
|
6948
6953
|
}) => e.click.button.basic.color.primary.stroke.active, ({
|
|
6949
6954
|
theme: e
|
|
6955
|
+
}) => e.click.button.basic.color.primary.stroke.active, ({
|
|
6956
|
+
theme: e
|
|
6950
6957
|
}) => e.click.card.primary.color.background.disabled, ({
|
|
6951
6958
|
theme: e
|
|
6952
6959
|
}) => e.click.card.primary.color.title.disabled, ({
|
|
@@ -6959,7 +6966,10 @@ const Wu = $.div.withConfig({
|
|
|
6959
6966
|
theme: e
|
|
6960
6967
|
}) => e.click.button.basic.color.primary.background.disabled, ({
|
|
6961
6968
|
theme: e
|
|
6962
|
-
}) => e.click.button.basic.color.primary.stroke.disabled
|
|
6969
|
+
}) => e.click.button.basic.color.primary.stroke.disabled, ({
|
|
6970
|
+
$isSelected: e,
|
|
6971
|
+
theme: t
|
|
6972
|
+
}) => e ? `border-color: ${t.click.button.basic.color.primary.stroke.active};` : ""), Ju = $.div.withConfig({
|
|
6963
6973
|
componentId: "sc-2dguvi-1"
|
|
6964
6974
|
})(["display:flex;flex-direction:column;align-items:center;gap:", ";h3{color:", ";}svg{height:", ";width:", ";}"], ({
|
|
6965
6975
|
$size: e = "md",
|
|
@@ -6979,28 +6989,34 @@ const Wu = $.div.withConfig({
|
|
|
6979
6989
|
$size: e = "md",
|
|
6980
6990
|
theme: t
|
|
6981
6991
|
}) => t.click.card.primary.space[e].gap), g_ = ({
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
+
alignContent: e,
|
|
6993
|
+
title: t,
|
|
6994
|
+
icon: n,
|
|
6995
|
+
hasShadow: r = !1,
|
|
6996
|
+
description: i,
|
|
6997
|
+
infoUrl: a,
|
|
6998
|
+
infoText: s,
|
|
6999
|
+
size: l,
|
|
7000
|
+
disabled: c = !1,
|
|
7001
|
+
onButtonClick: d,
|
|
7002
|
+
isSelected: u,
|
|
7003
|
+
children: f,
|
|
7004
|
+
...p
|
|
6992
7005
|
}) => {
|
|
6993
|
-
const
|
|
6994
|
-
typeof
|
|
6995
|
-
},
|
|
6996
|
-
return /* @__PURE__ */ o.jsxs(Xu, { $hasShadow:
|
|
6997
|
-
/* @__PURE__ */ o.jsxs(Ju, { $size:
|
|
6998
|
-
/* @__PURE__ */ o.jsx(fe, { name:
|
|
6999
|
-
/* @__PURE__ */ o.jsx(Bs, { type: "h3", children:
|
|
7006
|
+
const h = (g) => {
|
|
7007
|
+
typeof d == "function" && d(g), a && a.length > 0 && window.open(a, "_blank");
|
|
7008
|
+
}, b = a || typeof d == "function" ? or : "div";
|
|
7009
|
+
return /* @__PURE__ */ o.jsxs(Xu, { $alignContent: e, $hasShadow: r, $size: l, $disabled: c, $isSelected: u, ...p, children: [
|
|
7010
|
+
/* @__PURE__ */ o.jsxs(Ju, { $size: l, $disabled: c, children: [
|
|
7011
|
+
n && /* @__PURE__ */ o.jsx(fe, { name: n, "aria-hidden": !0 }),
|
|
7012
|
+
t && /* @__PURE__ */ o.jsx(Bs, { type: "h3", children: t })
|
|
7013
|
+
] }),
|
|
7014
|
+
(i || f) && /* @__PURE__ */ o.jsxs(Qu, { $size: l, children: [
|
|
7015
|
+
/* @__PURE__ */ o.jsx(en, { color: "muted", children: i }),
|
|
7016
|
+
f
|
|
7000
7017
|
] }),
|
|
7001
|
-
|
|
7002
|
-
s
|
|
7003
|
-
a && /* @__PURE__ */ o.jsx(f, { onClick: u, disabled: l, children: a })
|
|
7018
|
+
l == "sm" && /* @__PURE__ */ o.jsx(Yl, { size: "sm" }),
|
|
7019
|
+
s && /* @__PURE__ */ o.jsx(b, { onClick: h, disabled: c, children: s })
|
|
7004
7020
|
] });
|
|
7005
7021
|
};
|
|
7006
7022
|
function bi(e) {
|
|
@@ -11972,12 +11988,13 @@ const M_ = ({
|
|
|
11972
11988
|
children: i,
|
|
11973
11989
|
orientation: a = "horizontal",
|
|
11974
11990
|
width: s,
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11991
|
+
radii: l = "sm",
|
|
11992
|
+
fillWidth: c,
|
|
11993
|
+
height: d,
|
|
11994
|
+
fillHeight: u,
|
|
11995
|
+
alignItems: f = "center",
|
|
11996
|
+
...p
|
|
11997
|
+
}) => /* @__PURE__ */ o.jsx(Tv, { $hasBorder: e, $hasShadow: t, $color: n, $padding: r, $width: s, $radii: l, $orientation: a, $fillWidth: c, $height: d, $fillHeight: u, $alignItems: f, ...p, children: i }), Tv = $.div.withConfig({
|
|
11981
11998
|
componentId: "sc-1q78udp-0"
|
|
11982
11999
|
})(["display:flex;flex-flow:", ";align-items:", ";width:", ";height:", ";background-color:", ";border-radius:", ";padding:", ";border:", ";box-shadow:", ";gap:0.625rem;"], ({
|
|
11983
12000
|
$orientation: e = "horizontal"
|
|
@@ -11993,8 +12010,9 @@ const M_ = ({
|
|
|
11993
12010
|
$color: e = "default",
|
|
11994
12011
|
theme: t
|
|
11995
12012
|
}) => t.click.panel.color.background[e], ({
|
|
11996
|
-
|
|
11997
|
-
|
|
12013
|
+
$radii: e = "sm",
|
|
12014
|
+
theme: t
|
|
12015
|
+
}) => t.click.panel.radii[e], ({
|
|
11998
12016
|
$padding: e = "md",
|
|
11999
12017
|
theme: t
|
|
12000
12018
|
}) => t.click.panel.space.y[e], ({
|
|
@@ -18068,6 +18086,64 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
18068
18086
|
}
|
|
18069
18087
|
}
|
|
18070
18088
|
},
|
|
18089
|
+
grid: {
|
|
18090
|
+
header: {
|
|
18091
|
+
color: {
|
|
18092
|
+
background: {
|
|
18093
|
+
default: "#f6f7fa",
|
|
18094
|
+
hover: "#f6f7fa",
|
|
18095
|
+
active: "lch(94.8 1.53 272)"
|
|
18096
|
+
},
|
|
18097
|
+
title: {
|
|
18098
|
+
default: "#161517"
|
|
18099
|
+
},
|
|
18100
|
+
icon: {
|
|
18101
|
+
default: "#161517"
|
|
18102
|
+
},
|
|
18103
|
+
checkbox: {
|
|
18104
|
+
background: {
|
|
18105
|
+
default: "#cccfd3"
|
|
18106
|
+
},
|
|
18107
|
+
border: {
|
|
18108
|
+
default: "#808691"
|
|
18109
|
+
}
|
|
18110
|
+
}
|
|
18111
|
+
}
|
|
18112
|
+
},
|
|
18113
|
+
row: {
|
|
18114
|
+
color: {
|
|
18115
|
+
background: {
|
|
18116
|
+
default: "#ffffff",
|
|
18117
|
+
hover: "#dae6fc",
|
|
18118
|
+
active: "lch(91.1 11.9 266)"
|
|
18119
|
+
},
|
|
18120
|
+
stroke: {
|
|
18121
|
+
default: "lch(91.6 1.1 266)",
|
|
18122
|
+
hover: "#FFC029",
|
|
18123
|
+
active: "#FFC029"
|
|
18124
|
+
},
|
|
18125
|
+
text: {
|
|
18126
|
+
default: "#161517"
|
|
18127
|
+
},
|
|
18128
|
+
link: {
|
|
18129
|
+
default: "#C78F0F"
|
|
18130
|
+
},
|
|
18131
|
+
label: {
|
|
18132
|
+
default: "#696e79"
|
|
18133
|
+
}
|
|
18134
|
+
}
|
|
18135
|
+
},
|
|
18136
|
+
global: {
|
|
18137
|
+
color: {
|
|
18138
|
+
stroke: {
|
|
18139
|
+
default: "lch(91.6 1.1 266)"
|
|
18140
|
+
},
|
|
18141
|
+
background: {
|
|
18142
|
+
default: "#ffffff"
|
|
18143
|
+
}
|
|
18144
|
+
}
|
|
18145
|
+
}
|
|
18146
|
+
},
|
|
18071
18147
|
global: {
|
|
18072
18148
|
color: {
|
|
18073
18149
|
text: {
|
|
@@ -19141,7 +19217,9 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
19141
19217
|
header: {
|
|
19142
19218
|
color: {
|
|
19143
19219
|
background: {
|
|
19144
|
-
default: "#282828"
|
|
19220
|
+
default: "#282828",
|
|
19221
|
+
hover: "#282828",
|
|
19222
|
+
active: "lch(18.2 0 0)"
|
|
19145
19223
|
},
|
|
19146
19224
|
title: {
|
|
19147
19225
|
default: "#ffffff"
|
|
@@ -19163,8 +19241,8 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
19163
19241
|
color: {
|
|
19164
19242
|
background: {
|
|
19165
19243
|
default: "#1F1F1C",
|
|
19166
|
-
hover: "#
|
|
19167
|
-
active: "
|
|
19244
|
+
hover: "#1F1F1C",
|
|
19245
|
+
active: "lch(13.9 2.07 105)"
|
|
19168
19246
|
},
|
|
19169
19247
|
stroke: {
|
|
19170
19248
|
default: "lch(27.5 0 0 / 0.3)"
|
|
@@ -19299,26 +19377,59 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
19299
19377
|
}
|
|
19300
19378
|
},
|
|
19301
19379
|
grid: {
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
default: "
|
|
19380
|
+
header: {
|
|
19381
|
+
color: {
|
|
19382
|
+
background: {
|
|
19383
|
+
default: "#282828",
|
|
19384
|
+
hover: "#282828",
|
|
19385
|
+
active: "lch(18.2 0 0)"
|
|
19306
19386
|
},
|
|
19307
|
-
|
|
19308
|
-
default: "#
|
|
19387
|
+
title: {
|
|
19388
|
+
default: "#ffffff"
|
|
19389
|
+
},
|
|
19390
|
+
icon: {
|
|
19391
|
+
default: "#ffffff"
|
|
19392
|
+
},
|
|
19393
|
+
checkbox: {
|
|
19394
|
+
background: {
|
|
19395
|
+
default: "#cccfd3"
|
|
19396
|
+
},
|
|
19397
|
+
border: {
|
|
19398
|
+
default: "#808691"
|
|
19399
|
+
}
|
|
19309
19400
|
}
|
|
19310
|
-
}
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19401
|
+
}
|
|
19402
|
+
},
|
|
19403
|
+
row: {
|
|
19404
|
+
color: {
|
|
19405
|
+
background: {
|
|
19406
|
+
default: "#1F1F1C",
|
|
19407
|
+
hover: "#1F1F1C",
|
|
19408
|
+
active: "lch(13.9 2.07 105)"
|
|
19314
19409
|
},
|
|
19315
|
-
|
|
19410
|
+
stroke: {
|
|
19411
|
+
default: "lch(27.5 0 0 / 0.3)",
|
|
19412
|
+
hover: "#FAFF69",
|
|
19413
|
+
active: "#FAFF69"
|
|
19414
|
+
},
|
|
19415
|
+
text: {
|
|
19316
19416
|
default: "#ffffff"
|
|
19417
|
+
},
|
|
19418
|
+
link: {
|
|
19419
|
+
default: "#FAFF69"
|
|
19420
|
+
},
|
|
19421
|
+
label: {
|
|
19422
|
+
default: "#b3b6bd"
|
|
19317
19423
|
}
|
|
19318
|
-
}
|
|
19319
|
-
|
|
19320
|
-
|
|
19321
|
-
|
|
19424
|
+
}
|
|
19425
|
+
},
|
|
19426
|
+
global: {
|
|
19427
|
+
color: {
|
|
19428
|
+
stroke: {
|
|
19429
|
+
default: "lch(27.5 0 0 / 0.3)"
|
|
19430
|
+
},
|
|
19431
|
+
background: {
|
|
19432
|
+
default: "#1F1F1C"
|
|
19322
19433
|
}
|
|
19323
19434
|
}
|
|
19324
19435
|
}
|
|
@@ -20460,7 +20571,7 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
20460
20571
|
background: {
|
|
20461
20572
|
default: "#ffffff",
|
|
20462
20573
|
hover: "#dae6fc",
|
|
20463
|
-
active: "
|
|
20574
|
+
active: "lch(91.1 11.9 266)"
|
|
20464
20575
|
},
|
|
20465
20576
|
stroke: {
|
|
20466
20577
|
default: "lch(91.6 1.1 266)"
|
|
@@ -20592,26 +20703,59 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
20592
20703
|
}
|
|
20593
20704
|
},
|
|
20594
20705
|
grid: {
|
|
20595
|
-
|
|
20596
|
-
|
|
20597
|
-
|
|
20598
|
-
default: "
|
|
20706
|
+
header: {
|
|
20707
|
+
color: {
|
|
20708
|
+
background: {
|
|
20709
|
+
default: "#f6f7fa",
|
|
20710
|
+
hover: "#f6f7fa",
|
|
20711
|
+
active: "lch(94.8 1.53 272)"
|
|
20599
20712
|
},
|
|
20600
|
-
|
|
20601
|
-
default: "#
|
|
20713
|
+
title: {
|
|
20714
|
+
default: "#161517"
|
|
20715
|
+
},
|
|
20716
|
+
icon: {
|
|
20717
|
+
default: "#161517"
|
|
20718
|
+
},
|
|
20719
|
+
checkbox: {
|
|
20720
|
+
background: {
|
|
20721
|
+
default: "#cccfd3"
|
|
20722
|
+
},
|
|
20723
|
+
border: {
|
|
20724
|
+
default: "#808691"
|
|
20725
|
+
}
|
|
20602
20726
|
}
|
|
20603
|
-
}
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
|
|
20727
|
+
}
|
|
20728
|
+
},
|
|
20729
|
+
row: {
|
|
20730
|
+
color: {
|
|
20731
|
+
background: {
|
|
20732
|
+
default: "#ffffff",
|
|
20733
|
+
hover: "#dae6fc",
|
|
20734
|
+
active: "lch(91.1 11.9 266)"
|
|
20607
20735
|
},
|
|
20608
|
-
|
|
20736
|
+
stroke: {
|
|
20737
|
+
default: "lch(91.6 1.1 266)",
|
|
20738
|
+
hover: "#151515",
|
|
20739
|
+
active: "#151515"
|
|
20740
|
+
},
|
|
20741
|
+
text: {
|
|
20609
20742
|
default: "#161517"
|
|
20743
|
+
},
|
|
20744
|
+
link: {
|
|
20745
|
+
default: "#135be6"
|
|
20746
|
+
},
|
|
20747
|
+
label: {
|
|
20748
|
+
default: "#696e79"
|
|
20610
20749
|
}
|
|
20611
|
-
}
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20750
|
+
}
|
|
20751
|
+
},
|
|
20752
|
+
global: {
|
|
20753
|
+
color: {
|
|
20754
|
+
stroke: {
|
|
20755
|
+
default: "lch(91.6 1.1 266)"
|
|
20756
|
+
},
|
|
20757
|
+
background: {
|
|
20758
|
+
default: "#ffffff"
|
|
20615
20759
|
}
|
|
20616
20760
|
}
|
|
20617
20761
|
}
|
|
@@ -21022,9 +21166,6 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
21022
21166
|
}
|
|
21023
21167
|
}
|
|
21024
21168
|
},
|
|
21025
|
-
size: {
|
|
21026
|
-
height: "6rem"
|
|
21027
|
-
},
|
|
21028
21169
|
color: {
|
|
21029
21170
|
stroke: {
|
|
21030
21171
|
default: "lch(91.6 1.1 266)"
|
|
@@ -22094,7 +22235,10 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
22094
22235
|
default: "1px"
|
|
22095
22236
|
},
|
|
22096
22237
|
radii: {
|
|
22097
|
-
|
|
22238
|
+
none: "0",
|
|
22239
|
+
sm: "0.25rem",
|
|
22240
|
+
md: "0.5rem",
|
|
22241
|
+
lg: "0.75rem"
|
|
22098
22242
|
},
|
|
22099
22243
|
stroke: {
|
|
22100
22244
|
default: "1px solid lch(91.6 1.1 266)"
|
|
@@ -22678,7 +22822,9 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
22678
22822
|
},
|
|
22679
22823
|
color: {
|
|
22680
22824
|
background: {
|
|
22681
|
-
default: "#f6f7fa"
|
|
22825
|
+
default: "#f6f7fa",
|
|
22826
|
+
hover: "#f6f7fa",
|
|
22827
|
+
active: "lch(97.3 1.53 272)"
|
|
22682
22828
|
},
|
|
22683
22829
|
title: {
|
|
22684
22830
|
default: "#161517"
|
|
@@ -22736,7 +22882,7 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
22736
22882
|
background: {
|
|
22737
22883
|
default: "#ffffff",
|
|
22738
22884
|
hover: "#dae6fc",
|
|
22739
|
-
active: "
|
|
22885
|
+
active: "lch(91.1 11.9 266)"
|
|
22740
22886
|
},
|
|
22741
22887
|
stroke: {
|
|
22742
22888
|
default: "lch(91.6 1.1 266)"
|
|
@@ -23049,6 +23195,30 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23049
23195
|
y: "0.438rem",
|
|
23050
23196
|
x: "0.5rem"
|
|
23051
23197
|
}
|
|
23198
|
+
},
|
|
23199
|
+
title: {
|
|
23200
|
+
default: `500 0.75rem/1.5 "Inter", '"SF Pro Display"', -apple-system, BlinkMacSystemFont, '"Segoe UI"', Roboto, Oxygen, Ubuntu, Cantarell, '"Open Sans"', '"Helvetica Neue"', sans-serif;`
|
|
23201
|
+
},
|
|
23202
|
+
color: {
|
|
23203
|
+
background: {
|
|
23204
|
+
default: "#f6f7fa",
|
|
23205
|
+
hover: "#f6f7fa",
|
|
23206
|
+
active: "lch(94.8 1.53 272)"
|
|
23207
|
+
},
|
|
23208
|
+
title: {
|
|
23209
|
+
default: "#161517"
|
|
23210
|
+
},
|
|
23211
|
+
icon: {
|
|
23212
|
+
default: "#161517"
|
|
23213
|
+
},
|
|
23214
|
+
checkbox: {
|
|
23215
|
+
background: {
|
|
23216
|
+
default: "#cccfd3"
|
|
23217
|
+
},
|
|
23218
|
+
border: {
|
|
23219
|
+
default: "#808691"
|
|
23220
|
+
}
|
|
23221
|
+
}
|
|
23052
23222
|
}
|
|
23053
23223
|
},
|
|
23054
23224
|
body: {
|
|
@@ -23059,26 +23229,41 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23059
23229
|
}
|
|
23060
23230
|
}
|
|
23061
23231
|
},
|
|
23062
|
-
|
|
23063
|
-
background: {
|
|
23064
|
-
header: {
|
|
23065
|
-
default: "lch(97.2 1.57 272 / 0.7)"
|
|
23066
|
-
},
|
|
23067
|
-
row: {
|
|
23068
|
-
default: "#ffffff"
|
|
23069
|
-
}
|
|
23070
|
-
},
|
|
23232
|
+
cell: {
|
|
23071
23233
|
text: {
|
|
23072
|
-
|
|
23073
|
-
|
|
23234
|
+
default: `500 0.875rem/1.7 "Inconsolata", '"SFMono Regular"', monospace`
|
|
23235
|
+
}
|
|
23236
|
+
},
|
|
23237
|
+
row: {
|
|
23238
|
+
color: {
|
|
23239
|
+
background: {
|
|
23240
|
+
default: "#ffffff",
|
|
23241
|
+
hover: "#dae6fc",
|
|
23242
|
+
active: "lch(91.1 11.9 266)"
|
|
23074
23243
|
},
|
|
23075
|
-
|
|
23244
|
+
stroke: {
|
|
23245
|
+
default: "lch(91.6 1.1 266)",
|
|
23246
|
+
hover: "#151515",
|
|
23247
|
+
active: "#151515"
|
|
23248
|
+
},
|
|
23249
|
+
text: {
|
|
23076
23250
|
default: "#161517"
|
|
23251
|
+
},
|
|
23252
|
+
link: {
|
|
23253
|
+
default: "#135be6"
|
|
23254
|
+
},
|
|
23255
|
+
label: {
|
|
23256
|
+
default: "#696e79"
|
|
23077
23257
|
}
|
|
23078
|
-
}
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23258
|
+
}
|
|
23259
|
+
},
|
|
23260
|
+
global: {
|
|
23261
|
+
color: {
|
|
23262
|
+
stroke: {
|
|
23263
|
+
default: "lch(91.6 1.1 266)"
|
|
23264
|
+
},
|
|
23265
|
+
background: {
|
|
23266
|
+
default: "#ffffff"
|
|
23082
23267
|
}
|
|
23083
23268
|
}
|
|
23084
23269
|
}
|
|
@@ -23430,6 +23615,7 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23430
23615
|
0: "0",
|
|
23431
23616
|
1: "0.25rem",
|
|
23432
23617
|
2: "0.5rem",
|
|
23618
|
+
3: "0.75rem",
|
|
23433
23619
|
full: "9999px"
|
|
23434
23620
|
},
|
|
23435
23621
|
width: {
|
|
@@ -23520,12 +23706,14 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23520
23706
|
return /* @__PURE__ */ o.jsx(WS, { ...n, children: /* @__PURE__ */ o.jsx(lc.Provider, { value: r, children: e }) });
|
|
23521
23707
|
}, GS = $.div.withConfig({
|
|
23522
23708
|
componentId: "sc-xro1ly-1"
|
|
23523
|
-
})(["position:relative;width:100%;padding:0;", ""], ({
|
|
23709
|
+
})(["display:flex;flex-direction:column;position:relative;width:100%;padding:0;", ""], ({
|
|
23524
23710
|
theme: e,
|
|
23525
23711
|
$type: t,
|
|
23526
23712
|
$status: n,
|
|
23527
23713
|
$isOpen: r
|
|
23528
23714
|
}) => `
|
|
23715
|
+
row-gap: ${e.click.stepper.vertical[t].content.space.gap.y};
|
|
23716
|
+
column-gap: ${e.click.stepper.vertical[t].content.space.gap.x};
|
|
23529
23717
|
padding-bottom: ${e.click.stepper.vertical[t].content.space.bottom[r ? "active" : "default"]};
|
|
23530
23718
|
&:not(:last-of-type) {
|
|
23531
23719
|
&::before{
|
|
@@ -23541,9 +23729,7 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23541
23729
|
`), KS = $.button.withConfig({
|
|
23542
23730
|
componentId: "sc-xro1ly-2"
|
|
23543
23731
|
})(["", ""], ({
|
|
23544
|
-
|
|
23545
|
-
$type: t,
|
|
23546
|
-
$status: n
|
|
23732
|
+
$status: e
|
|
23547
23733
|
}) => `
|
|
23548
23734
|
display: flex;
|
|
23549
23735
|
align-items: center;
|
|
@@ -23551,10 +23737,9 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23551
23737
|
width: 100%;
|
|
23552
23738
|
background: transparent;
|
|
23553
23739
|
border: none;
|
|
23554
|
-
|
|
23740
|
+
gap: inherit;
|
|
23741
|
+
cursor: ${e === "active" ? "default" : e === "complete" ? "pointer" : "not-allowed"};
|
|
23555
23742
|
flex-direction: row;
|
|
23556
|
-
row-gap: ${e.click.stepper.vertical[t].content.space.gap.y};
|
|
23557
|
-
column-gap: ${e.click.stepper.vertical[t].content.space.gap.x};
|
|
23558
23743
|
`), qS = $.div.withConfig({
|
|
23559
23744
|
componentId: "sc-xro1ly-3"
|
|
23560
23745
|
})(["", ""], ({
|
|
@@ -23594,13 +23779,14 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23594
23779
|
componentId: "sc-xro1ly-4"
|
|
23595
23780
|
})(["color:inherit;path{stroke-width:3;}"]), XS = $.div.withConfig({
|
|
23596
23781
|
componentId: "sc-xro1ly-5"
|
|
23597
|
-
})(["", ")"], ({
|
|
23782
|
+
})(["display:flex;flex-direction:column;", ")"], ({
|
|
23598
23783
|
theme: e,
|
|
23599
23784
|
$type: t,
|
|
23600
23785
|
$status: n
|
|
23601
23786
|
}) => `
|
|
23602
23787
|
font: ${e.click.stepper.vertical[t].typography.title.default};
|
|
23603
23788
|
color: ${e.click.stepper.vertical[t].color.title[n]};
|
|
23789
|
+
gap: inherit;
|
|
23604
23790
|
`), JS = $.div.withConfig({
|
|
23605
23791
|
componentId: "sc-xro1ly-6"
|
|
23606
23792
|
})(["display:flex;width:100%;flex-direction:column;", ""], ({
|
|
@@ -23620,7 +23806,7 @@ const r2 = /* @__PURE__ */ Ao(HS), B0 = {
|
|
|
23620
23806
|
type: s
|
|
23621
23807
|
} = Ct(lc), l = !r || e === "active";
|
|
23622
23808
|
return /* @__PURE__ */ o.jsxs(GS, { $type: s, $status: e, $isOpen: l, children: [
|
|
23623
|
-
/* @__PURE__ */ o.jsxs(KS, { $
|
|
23809
|
+
/* @__PURE__ */ o.jsxs(KS, { $status: e, disabled: e === "incomplete" || i, ...a, children: [
|
|
23624
23810
|
/* @__PURE__ */ o.jsx(qS, { $type: s, $status: e, children: s === "numbered" && e === "complete" ? /* @__PURE__ */ o.jsx(YS, { name: "check", size: "xs" }) : null }),
|
|
23625
23811
|
n && /* @__PURE__ */ o.jsx(XS, { $type: s, $status: e, children: n })
|
|
23626
23812
|
] }),
|