@clickhouse/click-ui 0.0.42 → 0.0.44
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 +233 -87
- package/dist/click-ui.umd.js +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/styles/types.d.ts +99 -25
- package/dist/styles/variables.classic.json.d.ts +24 -1
- package/dist/styles/variables.dark.json.d.ts +48 -25
- package/dist/styles/variables.json.d.ts +99 -25
- package/dist/styles/variables.light.json.d.ts +48 -25
- package/dist/theme/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -7966,28 +7966,30 @@ const Wu = Uu, zu = Ru, Gu = Nu, __ = ({
|
|
|
7966
7966
|
] }) }), $_ = ({
|
|
7967
7967
|
options: e,
|
|
7968
7968
|
selected: n,
|
|
7969
|
-
|
|
7970
|
-
|
|
7969
|
+
fillWidth: i,
|
|
7970
|
+
onClick: o,
|
|
7971
|
+
...a
|
|
7971
7972
|
}) => {
|
|
7972
|
-
const
|
|
7973
|
-
value:
|
|
7974
|
-
label:
|
|
7975
|
-
fillWidth: c,
|
|
7973
|
+
const s = e.length - 1, r = e.map(({
|
|
7974
|
+
value: l,
|
|
7975
|
+
label: c,
|
|
7976
7976
|
...d
|
|
7977
7977
|
}, f) => {
|
|
7978
|
-
const u = f === 0 ? "left" : f ===
|
|
7979
|
-
return /* @__PURE__ */ t.jsx(sf, { $active:
|
|
7978
|
+
const u = f === 0 ? "left" : f === s ? "right" : "center";
|
|
7979
|
+
return /* @__PURE__ */ t.jsx(sf, { $active: l === n, $position: u, $fillWidth: i, onClick: () => o == null ? void 0 : o(l), role: "button", ...d, children: c }, l);
|
|
7980
7980
|
});
|
|
7981
|
-
return /* @__PURE__ */ t.jsx(tf, { ...
|
|
7981
|
+
return /* @__PURE__ */ t.jsx(tf, { $fillWidth: i, ...a, children: r });
|
|
7982
7982
|
}, tf = M.div.withConfig({
|
|
7983
7983
|
componentId: "sc-ukgugp-0"
|
|
7984
|
-
})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;border:1px solid ", ";background:", ";border-radius:", ";"], ({
|
|
7984
|
+
})(["box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;border:1px solid ", ";background:", ";border-radius:", ";width:", ";"], ({
|
|
7985
7985
|
theme: e
|
|
7986
7986
|
}) => e.click.button.group.color.stroke.panel, ({
|
|
7987
7987
|
theme: e
|
|
7988
7988
|
}) => e.click.button.group.color.background.panel, ({
|
|
7989
7989
|
theme: e
|
|
7990
|
-
}) => e.click.button.group.radii.end
|
|
7990
|
+
}) => e.click.button.group.radii.end, ({
|
|
7991
|
+
$fillWidth: e
|
|
7992
|
+
}) => e ? "100%" : "auto"), w9 = "var(--click-button-button-group-radii-end)", nf = `${w9} 0px 0px ${w9}`, of = `0px ${w9} ${w9} 0px`, af = "var(--click-button-button-group-radii-center)", sf = M.button.withConfig({
|
|
7991
7993
|
componentId: "sc-ukgugp-1"
|
|
7992
7994
|
})(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:", ";color:", ";font:", ";border-radius:", ";padding:", " ", ";gap:", ";", " cursor:pointer;&:hover{background:", ";}&:disabled{cursor:not-allowed;background:", ";}&:active,&:focus{background:", ";&:disabled{background:", ";}}border-radius:", ";"], ({
|
|
7993
7995
|
$active: e,
|
|
@@ -18484,13 +18486,36 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
18484
18486
|
intense: "#b3b6bd"
|
|
18485
18487
|
},
|
|
18486
18488
|
accent: {
|
|
18487
|
-
default: "#
|
|
18489
|
+
default: "#FFC029"
|
|
18488
18490
|
},
|
|
18489
18491
|
outline: {
|
|
18490
18492
|
default: "#C78F0F"
|
|
18491
18493
|
},
|
|
18492
18494
|
shadow: {
|
|
18493
18495
|
default: "lch(6.77 0 0 / 0.15)"
|
|
18496
|
+
},
|
|
18497
|
+
feedback: {
|
|
18498
|
+
info: {
|
|
18499
|
+
background: "#dae6fc",
|
|
18500
|
+
foreground: "#135be6"
|
|
18501
|
+
},
|
|
18502
|
+
success: {
|
|
18503
|
+
background: "#e0f8e7",
|
|
18504
|
+
foreground: "#15632b"
|
|
18505
|
+
},
|
|
18506
|
+
warning: {
|
|
18507
|
+
background: "#ffedd8",
|
|
18508
|
+
foreground: "#9e5600"
|
|
18509
|
+
},
|
|
18510
|
+
danger: {
|
|
18511
|
+
background: "#ffdddd",
|
|
18512
|
+
foreground: "#c10000"
|
|
18513
|
+
},
|
|
18514
|
+
neutral: {
|
|
18515
|
+
background: "#e6e7e9",
|
|
18516
|
+
foreground: "#53575f",
|
|
18517
|
+
stroke: "lch(91.6 1.1 266)"
|
|
18518
|
+
}
|
|
18494
18519
|
}
|
|
18495
18520
|
}
|
|
18496
18521
|
}, a_ = {
|
|
@@ -19579,6 +19604,31 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
19579
19604
|
}
|
|
19580
19605
|
}
|
|
19581
19606
|
},
|
|
19607
|
+
grid: {
|
|
19608
|
+
color: {
|
|
19609
|
+
background: {
|
|
19610
|
+
header: {
|
|
19611
|
+
default: "lch(16.1 0 0 / 0.7)"
|
|
19612
|
+
},
|
|
19613
|
+
row: {
|
|
19614
|
+
default: "#1F1F1C"
|
|
19615
|
+
}
|
|
19616
|
+
},
|
|
19617
|
+
text: {
|
|
19618
|
+
header: {
|
|
19619
|
+
default: "#b3b6bd"
|
|
19620
|
+
},
|
|
19621
|
+
row: {
|
|
19622
|
+
default: "#ffffff"
|
|
19623
|
+
}
|
|
19624
|
+
},
|
|
19625
|
+
stroke: {
|
|
19626
|
+
cell: {
|
|
19627
|
+
stroke: "lch(27.5 0 0 / 0.3)"
|
|
19628
|
+
}
|
|
19629
|
+
}
|
|
19630
|
+
}
|
|
19631
|
+
},
|
|
19582
19632
|
global: {
|
|
19583
19633
|
color: {
|
|
19584
19634
|
background: {
|
|
@@ -19634,31 +19684,6 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
19634
19684
|
}
|
|
19635
19685
|
}
|
|
19636
19686
|
},
|
|
19637
|
-
grid: {
|
|
19638
|
-
color: {
|
|
19639
|
-
background: {
|
|
19640
|
-
header: {
|
|
19641
|
-
default: "lch(16.1 0 0 / 0.7)"
|
|
19642
|
-
},
|
|
19643
|
-
row: {
|
|
19644
|
-
default: "#1F1F1C"
|
|
19645
|
-
}
|
|
19646
|
-
},
|
|
19647
|
-
text: {
|
|
19648
|
-
header: {
|
|
19649
|
-
default: "#b3b6bd"
|
|
19650
|
-
},
|
|
19651
|
-
row: {
|
|
19652
|
-
default: "#ffffff"
|
|
19653
|
-
}
|
|
19654
|
-
},
|
|
19655
|
-
stroke: {
|
|
19656
|
-
cell: {
|
|
19657
|
-
stroke: "lch(27.5 0 0 / 0.3)"
|
|
19658
|
-
}
|
|
19659
|
-
}
|
|
19660
|
-
}
|
|
19661
|
-
},
|
|
19662
19687
|
storybook: {
|
|
19663
19688
|
global: {
|
|
19664
19689
|
background: "rgb(27,28,29)"
|
|
@@ -19692,6 +19717,29 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
19692
19717
|
},
|
|
19693
19718
|
shadow: {
|
|
19694
19719
|
default: "lch(6.77 0 0 / 0.6)"
|
|
19720
|
+
},
|
|
19721
|
+
feedback: {
|
|
19722
|
+
info: {
|
|
19723
|
+
background: "#092e73",
|
|
19724
|
+
foreground: "#91b3f6"
|
|
19725
|
+
},
|
|
19726
|
+
success: {
|
|
19727
|
+
background: "#0e421d",
|
|
19728
|
+
foreground: "#81e59d"
|
|
19729
|
+
},
|
|
19730
|
+
warning: {
|
|
19731
|
+
background: "#4f2b00",
|
|
19732
|
+
foreground: "#ff9416"
|
|
19733
|
+
},
|
|
19734
|
+
danger: {
|
|
19735
|
+
background: "#610000",
|
|
19736
|
+
foreground: "#ff7575"
|
|
19737
|
+
},
|
|
19738
|
+
neutral: {
|
|
19739
|
+
background: "#414141",
|
|
19740
|
+
foreground: "#c0c0c0",
|
|
19741
|
+
stroke: "lch(27.5 0 0 / 0.3)"
|
|
19742
|
+
}
|
|
19695
19743
|
}
|
|
19696
19744
|
}
|
|
19697
19745
|
}, r_ = {
|
|
@@ -20773,6 +20821,31 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
20773
20821
|
}
|
|
20774
20822
|
}
|
|
20775
20823
|
},
|
|
20824
|
+
grid: {
|
|
20825
|
+
color: {
|
|
20826
|
+
background: {
|
|
20827
|
+
header: {
|
|
20828
|
+
default: "lch(97.2 1.57 272 / 0.7)"
|
|
20829
|
+
},
|
|
20830
|
+
row: {
|
|
20831
|
+
default: "#ffffff"
|
|
20832
|
+
}
|
|
20833
|
+
},
|
|
20834
|
+
text: {
|
|
20835
|
+
header: {
|
|
20836
|
+
default: "#696e79"
|
|
20837
|
+
},
|
|
20838
|
+
row: {
|
|
20839
|
+
default: "#161517"
|
|
20840
|
+
}
|
|
20841
|
+
},
|
|
20842
|
+
stroke: {
|
|
20843
|
+
cell: {
|
|
20844
|
+
stroke: "lch(91.6 1.1 266)"
|
|
20845
|
+
}
|
|
20846
|
+
}
|
|
20847
|
+
}
|
|
20848
|
+
},
|
|
20776
20849
|
global: {
|
|
20777
20850
|
color: {
|
|
20778
20851
|
background: {
|
|
@@ -20828,31 +20901,6 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
20828
20901
|
}
|
|
20829
20902
|
}
|
|
20830
20903
|
},
|
|
20831
|
-
grid: {
|
|
20832
|
-
color: {
|
|
20833
|
-
background: {
|
|
20834
|
-
header: {
|
|
20835
|
-
default: "lch(97.2 1.57 272 / 0.7)"
|
|
20836
|
-
},
|
|
20837
|
-
row: {
|
|
20838
|
-
default: "#ffffff"
|
|
20839
|
-
}
|
|
20840
|
-
},
|
|
20841
|
-
text: {
|
|
20842
|
-
header: {
|
|
20843
|
-
default: "#696e79"
|
|
20844
|
-
},
|
|
20845
|
-
row: {
|
|
20846
|
-
default: "#161517"
|
|
20847
|
-
}
|
|
20848
|
-
},
|
|
20849
|
-
stroke: {
|
|
20850
|
-
cell: {
|
|
20851
|
-
stroke: "lch(91.6 1.1 266)"
|
|
20852
|
-
}
|
|
20853
|
-
}
|
|
20854
|
-
}
|
|
20855
|
-
},
|
|
20856
20904
|
storybook: {
|
|
20857
20905
|
global: {
|
|
20858
20906
|
background: "#ffffff"
|
|
@@ -20886,6 +20934,29 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
20886
20934
|
},
|
|
20887
20935
|
shadow: {
|
|
20888
20936
|
default: "lch(6.77 0 0 / 0.15)"
|
|
20937
|
+
},
|
|
20938
|
+
feedback: {
|
|
20939
|
+
info: {
|
|
20940
|
+
background: "#dae6fc",
|
|
20941
|
+
foreground: "#135be6"
|
|
20942
|
+
},
|
|
20943
|
+
success: {
|
|
20944
|
+
background: "#e0f8e7",
|
|
20945
|
+
foreground: "#15632b"
|
|
20946
|
+
},
|
|
20947
|
+
warning: {
|
|
20948
|
+
background: "#ffedd8",
|
|
20949
|
+
foreground: "#9e5600"
|
|
20950
|
+
},
|
|
20951
|
+
danger: {
|
|
20952
|
+
background: "#ffdddd",
|
|
20953
|
+
foreground: "#c10000"
|
|
20954
|
+
},
|
|
20955
|
+
neutral: {
|
|
20956
|
+
background: "#e6e7e9",
|
|
20957
|
+
foreground: "#53575f",
|
|
20958
|
+
stroke: "lch(91.6 1.1 266)"
|
|
20959
|
+
}
|
|
20889
20960
|
}
|
|
20890
20961
|
}
|
|
20891
20962
|
}, c_ = {
|
|
@@ -22683,6 +22754,18 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
22683
22754
|
title: {
|
|
22684
22755
|
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;`
|
|
22685
22756
|
},
|
|
22757
|
+
cell: {
|
|
22758
|
+
space: {
|
|
22759
|
+
md: {
|
|
22760
|
+
y: "0.75rem",
|
|
22761
|
+
x: "1rem"
|
|
22762
|
+
},
|
|
22763
|
+
sm: {
|
|
22764
|
+
y: "0.5rem",
|
|
22765
|
+
x: "1rem"
|
|
22766
|
+
}
|
|
22767
|
+
}
|
|
22768
|
+
},
|
|
22686
22769
|
color: {
|
|
22687
22770
|
background: {
|
|
22688
22771
|
default: "#f6f7fa"
|
|
@@ -22714,6 +22797,29 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
22714
22797
|
radii: {
|
|
22715
22798
|
all: "0.25rem"
|
|
22716
22799
|
},
|
|
22800
|
+
body: {
|
|
22801
|
+
cell: {
|
|
22802
|
+
space: {
|
|
22803
|
+
md: {
|
|
22804
|
+
y: "1rem",
|
|
22805
|
+
x: "1rem"
|
|
22806
|
+
},
|
|
22807
|
+
sm: {
|
|
22808
|
+
y: "0.5rem",
|
|
22809
|
+
x: "1rem"
|
|
22810
|
+
}
|
|
22811
|
+
}
|
|
22812
|
+
}
|
|
22813
|
+
},
|
|
22814
|
+
mobile: {
|
|
22815
|
+
cell: {
|
|
22816
|
+
space: {
|
|
22817
|
+
y: "1rem",
|
|
22818
|
+
x: "1rem",
|
|
22819
|
+
gap: "0.5rem"
|
|
22820
|
+
}
|
|
22821
|
+
}
|
|
22822
|
+
},
|
|
22717
22823
|
row: {
|
|
22718
22824
|
color: {
|
|
22719
22825
|
background: {
|
|
@@ -23009,6 +23115,47 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
23009
23115
|
}
|
|
23010
23116
|
}
|
|
23011
23117
|
},
|
|
23118
|
+
grid: {
|
|
23119
|
+
header: {
|
|
23120
|
+
cell: {
|
|
23121
|
+
space: {
|
|
23122
|
+
y: "0.438rem",
|
|
23123
|
+
x: "0.5rem"
|
|
23124
|
+
}
|
|
23125
|
+
}
|
|
23126
|
+
},
|
|
23127
|
+
body: {
|
|
23128
|
+
cell: {
|
|
23129
|
+
space: {
|
|
23130
|
+
y: "0.25rem",
|
|
23131
|
+
x: "0.5rem"
|
|
23132
|
+
}
|
|
23133
|
+
}
|
|
23134
|
+
},
|
|
23135
|
+
color: {
|
|
23136
|
+
background: {
|
|
23137
|
+
header: {
|
|
23138
|
+
default: "lch(97.2 1.57 272 / 0.7)"
|
|
23139
|
+
},
|
|
23140
|
+
row: {
|
|
23141
|
+
default: "#ffffff"
|
|
23142
|
+
}
|
|
23143
|
+
},
|
|
23144
|
+
text: {
|
|
23145
|
+
header: {
|
|
23146
|
+
default: "#696e79"
|
|
23147
|
+
},
|
|
23148
|
+
row: {
|
|
23149
|
+
default: "#161517"
|
|
23150
|
+
}
|
|
23151
|
+
},
|
|
23152
|
+
stroke: {
|
|
23153
|
+
cell: {
|
|
23154
|
+
stroke: "lch(91.6 1.1 266)"
|
|
23155
|
+
}
|
|
23156
|
+
}
|
|
23157
|
+
}
|
|
23158
|
+
},
|
|
23012
23159
|
global: {
|
|
23013
23160
|
color: {
|
|
23014
23161
|
background: {
|
|
@@ -23064,31 +23211,6 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
23064
23211
|
}
|
|
23065
23212
|
}
|
|
23066
23213
|
},
|
|
23067
|
-
grid: {
|
|
23068
|
-
color: {
|
|
23069
|
-
background: {
|
|
23070
|
-
header: {
|
|
23071
|
-
default: "lch(97.2 1.57 272 / 0.7)"
|
|
23072
|
-
},
|
|
23073
|
-
row: {
|
|
23074
|
-
default: "#ffffff"
|
|
23075
|
-
}
|
|
23076
|
-
},
|
|
23077
|
-
text: {
|
|
23078
|
-
header: {
|
|
23079
|
-
default: "#696e79"
|
|
23080
|
-
},
|
|
23081
|
-
row: {
|
|
23082
|
-
default: "#161517"
|
|
23083
|
-
}
|
|
23084
|
-
},
|
|
23085
|
-
stroke: {
|
|
23086
|
-
cell: {
|
|
23087
|
-
stroke: "lch(91.6 1.1 266)"
|
|
23088
|
-
}
|
|
23089
|
-
}
|
|
23090
|
-
}
|
|
23091
|
-
},
|
|
23092
23214
|
storybook: {
|
|
23093
23215
|
global: {
|
|
23094
23216
|
background: "#ffffff"
|
|
@@ -23139,6 +23261,29 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
23139
23261
|
},
|
|
23140
23262
|
shadow: {
|
|
23141
23263
|
default: "lch(6.77 0 0 / 0.15)"
|
|
23264
|
+
},
|
|
23265
|
+
feedback: {
|
|
23266
|
+
info: {
|
|
23267
|
+
background: "#dae6fc",
|
|
23268
|
+
foreground: "#135be6"
|
|
23269
|
+
},
|
|
23270
|
+
success: {
|
|
23271
|
+
background: "#e0f8e7",
|
|
23272
|
+
foreground: "#15632b"
|
|
23273
|
+
},
|
|
23274
|
+
warning: {
|
|
23275
|
+
background: "#ffedd8",
|
|
23276
|
+
foreground: "#9e5600"
|
|
23277
|
+
},
|
|
23278
|
+
danger: {
|
|
23279
|
+
background: "#ffdddd",
|
|
23280
|
+
foreground: "#c10000"
|
|
23281
|
+
},
|
|
23282
|
+
neutral: {
|
|
23283
|
+
background: "#e6e7e9",
|
|
23284
|
+
foreground: "#53575f",
|
|
23285
|
+
stroke: "lch(91.6 1.1 266)"
|
|
23286
|
+
}
|
|
23142
23287
|
}
|
|
23143
23288
|
}
|
|
23144
23289
|
}, Lo = {
|
|
@@ -23408,6 +23553,7 @@ const te = /* @__PURE__ */ F9(o_), lo = {
|
|
|
23408
23553
|
}, i$ = () => {
|
|
23409
23554
|
const e = Oe();
|
|
23410
23555
|
return {
|
|
23556
|
+
name: e.name,
|
|
23411
23557
|
global: e.global,
|
|
23412
23558
|
sizes: e.sizes
|
|
23413
23559
|
};
|