@bolerish/ui 0.13.0 → 0.16.0
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/alert-dialog.js +69 -17
- package/dist/alert-dialog.js.map +3 -3
- package/dist/attachment.js +89 -10
- package/dist/attachment.js.map +4 -4
- package/dist/button-group.js +84 -5
- package/dist/button-group.js.map +4 -4
- package/dist/button.d.ts +10 -2
- package/dist/button.js +81 -2
- package/dist/button.js.map +4 -4
- package/dist/calendar.js +16 -11
- package/dist/calendar.js.map +2 -2
- package/dist/card.js +70 -18
- package/dist/card.js.map +3 -3
- package/dist/carousel.d.ts +2 -2
- package/dist/carousel.js +78 -43
- package/dist/carousel.js.map +2 -2
- package/dist/combobox.d.ts +2 -1
- package/dist/combobox.js +140 -77
- package/dist/combobox.js.map +3 -3
- package/dist/date-picker.js +152 -37
- package/dist/date-picker.js.map +4 -4
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +69 -17
- package/dist/dialog.js.map +3 -3
- package/dist/drawer.js +73 -21
- package/dist/drawer.js.map +3 -3
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +76 -20
- package/dist/dropdown-menu.js.map +3 -3
- package/dist/global.css +33 -0
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.js +66 -14
- package/dist/hover-card.js.map +3 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.js +19 -15
- package/dist/index.js.map +2 -2
- package/dist/input-group.d.ts +1 -1
- package/dist/input-group.js +111 -44
- package/dist/input-group.js.map +4 -4
- package/dist/input-otp.js +84 -5
- package/dist/input-otp.js.map +4 -4
- package/dist/input.d.ts +1 -1
- package/dist/input.js +122 -17
- package/dist/input.js.map +4 -4
- package/dist/item.d.ts +32 -0
- package/dist/{content-row.js → item.js} +103 -24
- package/dist/item.js.map +7 -0
- package/dist/liquid-refraction.svg +7 -0
- package/dist/liquid.d.ts +10 -0
- package/dist/liquid.js +229 -0
- package/dist/liquid.js.map +7 -0
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.js +66 -14
- package/dist/menubar.js.map +3 -3
- package/dist/native-select.js +102 -22
- package/dist/native-select.js.map +4 -4
- package/dist/navigation-menu.js +71 -19
- package/dist/navigation-menu.js.map +3 -3
- package/dist/pagination.js +2 -0
- package/dist/pagination.js.map +2 -2
- package/dist/popover.js +70 -16
- package/dist/popover.js.map +3 -3
- package/dist/select.js +75 -18
- package/dist/select.js.map +3 -3
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +60 -48
- package/dist/slider.js.map +2 -2
- package/dist/styles/liquid-map.d.ts +5 -0
- package/dist/styles/surface.d.ts +152 -13
- package/dist/stylex.css +205 -17
- package/dist/surface.d.ts +12 -0
- package/dist/surface.js +12 -0
- package/dist/surface.js.map +7 -0
- package/dist/textarea.js +81 -2
- package/dist/textarea.js.map +4 -4
- package/dist/toast.d.ts +3 -1
- package/dist/toast.js +127 -61
- package/dist/toast.js.map +3 -3
- package/dist/toggle-group.js +82 -3
- package/dist/toggle-group.js.map +4 -4
- package/dist/toggle.js +81 -2
- package/dist/toggle.js.map +4 -4
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +85 -2
- package/dist/tooltip.js.map +4 -4
- package/package.json +10 -5
- package/dist/content-row.d.ts +0 -32
- package/dist/content-row.js.map +0 -7
package/dist/date-picker.js
CHANGED
|
@@ -6,13 +6,128 @@ import * as stylex from "@stylexjs/stylex";
|
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { Calendar } from "./calendar.js";
|
|
8
8
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
// src/styles/surface.ts
|
|
10
11
|
var styles = {
|
|
12
|
+
edge: {
|
|
13
|
+
kVAM5u: "x1kqtvf4",
|
|
14
|
+
kFGkbq: "x1w1tqly",
|
|
15
|
+
$$css: true
|
|
16
|
+
},
|
|
17
|
+
material: {
|
|
18
|
+
"--bolerish-material-shadow": "xvd6nka",
|
|
19
|
+
kGVxlE: "x16ifxj2 xpqbwuo",
|
|
20
|
+
kWkggS: "x1s4uome x1u5mdis",
|
|
21
|
+
k6WDB: "x1t853zo x1o5bnqd",
|
|
22
|
+
kKwaWg: "x18o3ruo xxit9r9",
|
|
23
|
+
kTahiY: "x1cg02ou",
|
|
24
|
+
kEcs6k: "x11rvarm",
|
|
25
|
+
kWrjR8: "x1ile18z",
|
|
26
|
+
kfloDl: "x1m3y3zz",
|
|
27
|
+
kO6drA: "x9yvj25",
|
|
28
|
+
kkTUmj: "x14hm74v",
|
|
29
|
+
k11ilZ: "xhobzj1",
|
|
30
|
+
ktzNWN: "xwaqzdf",
|
|
31
|
+
$$css: true
|
|
32
|
+
},
|
|
33
|
+
panel: {
|
|
34
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
35
|
+
"--bolerish-material-opacity": "x8fe23t",
|
|
36
|
+
"--bolerish-material-filter": "x1n6mwez",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
control: {
|
|
40
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
41
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
42
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
subtle: {
|
|
46
|
+
"--bolerish-material-color": "x1819ggx",
|
|
47
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
48
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
outline: {
|
|
52
|
+
"--bolerish-material-color": "x3m3fbl",
|
|
53
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
54
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
55
|
+
$$css: true
|
|
56
|
+
},
|
|
57
|
+
raised: {
|
|
58
|
+
"--bolerish-material-shadow": "x1l9gcvt",
|
|
59
|
+
"--bolerish-material-color": "x1y5ilfp",
|
|
60
|
+
"--bolerish-material-opacity": "x1nqk09",
|
|
61
|
+
"--bolerish-material-filter": "x1gkvbmm",
|
|
62
|
+
$$css: true
|
|
63
|
+
},
|
|
64
|
+
translucent: {
|
|
65
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
66
|
+
"--bolerish-material-opacity": "xoh9gux",
|
|
67
|
+
"--bolerish-material-filter": "xhu24am",
|
|
68
|
+
$$css: true
|
|
69
|
+
},
|
|
70
|
+
floating: {
|
|
71
|
+
"--bolerish-material-shadow": "xu02b4h",
|
|
72
|
+
"--bolerish-material-color": "x1y5ilfp",
|
|
73
|
+
"--bolerish-material-opacity": "x14p89z6",
|
|
74
|
+
"--bolerish-material-filter": "xunhrho",
|
|
75
|
+
$$css: true
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
var surfaceStyles = {
|
|
79
|
+
edge: styles.edge,
|
|
80
|
+
panel: [styles.material, styles.panel],
|
|
81
|
+
control: [styles.material, styles.control],
|
|
82
|
+
subtle: [styles.material, styles.subtle],
|
|
83
|
+
outline: [styles.material, styles.outline],
|
|
84
|
+
raised: [styles.material, styles.raised],
|
|
85
|
+
translucent: [styles.material, styles.translucent],
|
|
86
|
+
floating: [styles.material, styles.floating]
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
// src/date-picker.tsx
|
|
90
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
91
|
+
var styles2 = {
|
|
11
92
|
root: {
|
|
12
93
|
k1xSpc: "x3nfvp2",
|
|
13
94
|
k7Eaqz: "x1jn9kf5",
|
|
14
95
|
$$css: true
|
|
15
96
|
},
|
|
97
|
+
trigger: {
|
|
98
|
+
kGNEyG: "x6s0dn4",
|
|
99
|
+
kysU6D: "xjyslct",
|
|
100
|
+
kWkggS: "xcc0o6n",
|
|
101
|
+
kVAM5u: "x1kqtvf4",
|
|
102
|
+
kaIpWk: "x1p5vitp",
|
|
103
|
+
ksu8eU: "x1y0btm7",
|
|
104
|
+
kMzoRj: "x1al7nqq",
|
|
105
|
+
kMwMTN: "x1t28c4i",
|
|
106
|
+
kkrTdU: "x1ypdohk",
|
|
107
|
+
k1xSpc: "x3nfvp2",
|
|
108
|
+
kMv6JI: "x1b1to7n",
|
|
109
|
+
kGuDYH: "x1lskvfa",
|
|
110
|
+
k63SB2: "x6valzt",
|
|
111
|
+
kZKoxP: "x1f00wt4",
|
|
112
|
+
kI3sdo: "x1a2a7pz",
|
|
113
|
+
kg3NbH: "x5044ve",
|
|
114
|
+
k9WMMc: "xdpxx8g",
|
|
115
|
+
kIyJzY: "xznvecg",
|
|
116
|
+
k1ekBW: "x1eaenvl",
|
|
117
|
+
kAMwcw: "xrkjf8i",
|
|
118
|
+
kzqmXN: "xh8yej3",
|
|
119
|
+
kaVNsj: "x1vy8v46",
|
|
120
|
+
kOJeXU: "xafblzd",
|
|
121
|
+
kZs9gx: "x768paa",
|
|
122
|
+
kiEn40: "x1p3hdyt",
|
|
123
|
+
k7shQP: "x9v5kkp",
|
|
124
|
+
kPJHz1: "x1k4h2j2",
|
|
125
|
+
kD2jPA: "xjbuoma",
|
|
126
|
+
kdODIN: "xwaks2a",
|
|
127
|
+
kWC4TW: "x1vi5fzm",
|
|
128
|
+
kYPGJ8: "x1s07b3s",
|
|
129
|
+
$$css: true
|
|
130
|
+
},
|
|
16
131
|
calendar: {
|
|
17
132
|
kmVPX3: "x1717udv",
|
|
18
133
|
kzqmXN: "xeq5yr9",
|
|
@@ -25,7 +140,7 @@ function defaultFormat(date) {
|
|
|
25
140
|
}).format(date);
|
|
26
141
|
}
|
|
27
142
|
function DatePicker(props2) {
|
|
28
|
-
const $ = _c(
|
|
143
|
+
const $ = _c(27);
|
|
29
144
|
const {
|
|
30
145
|
defaultValue,
|
|
31
146
|
disabled,
|
|
@@ -67,70 +182,70 @@ function DatePicker(props2) {
|
|
|
67
182
|
const handleSelect = t3;
|
|
68
183
|
let t4;
|
|
69
184
|
if ($[5] !== xstyle) {
|
|
70
|
-
t4 = stylex.props(
|
|
185
|
+
t4 = stylex.props(styles2.root, xstyle);
|
|
71
186
|
$[5] = xstyle;
|
|
72
187
|
$[6] = t4;
|
|
73
188
|
} else {
|
|
74
189
|
t4 = $[6];
|
|
75
190
|
}
|
|
76
191
|
let t5;
|
|
77
|
-
if ($[7]
|
|
78
|
-
t5 =
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
$[7] = t5;
|
|
192
|
+
if ($[7] !== disabled) {
|
|
193
|
+
t5 = stylex.props(styles2.trigger, !disabled && surfaceStyles.control);
|
|
194
|
+
$[7] = disabled;
|
|
195
|
+
$[8] = t5;
|
|
82
196
|
} else {
|
|
83
|
-
t5 = $[
|
|
197
|
+
t5 = $[8];
|
|
84
198
|
}
|
|
85
199
|
let t6;
|
|
86
|
-
if ($[
|
|
200
|
+
if ($[9] !== format || $[10] !== placeholder || $[11] !== selectedValue) {
|
|
87
201
|
t6 = selectedValue ? /* @__PURE__ */ jsx("span", { className: "x6valzt", children: format(selectedValue) }) : /* @__PURE__ */ jsx("span", { className: "xj9e3ow", children: placeholder });
|
|
88
|
-
$[
|
|
89
|
-
$[
|
|
90
|
-
$[
|
|
91
|
-
$[
|
|
202
|
+
$[9] = format;
|
|
203
|
+
$[10] = placeholder;
|
|
204
|
+
$[11] = selectedValue;
|
|
205
|
+
$[12] = t6;
|
|
92
206
|
} else {
|
|
93
|
-
t6 = $[
|
|
207
|
+
t6 = $[12];
|
|
94
208
|
}
|
|
95
209
|
let t7;
|
|
96
|
-
if ($[
|
|
210
|
+
if ($[13] !== disabled || $[14] !== t5 || $[15] !== t6) {
|
|
97
211
|
t7 = /* @__PURE__ */ jsx(PopoverTrigger, { render: /* @__PURE__ */ jsx("button", { disabled, type: "button", ...t5, children: t6 }) });
|
|
98
|
-
$[
|
|
99
|
-
$[
|
|
100
|
-
$[
|
|
212
|
+
$[13] = disabled;
|
|
213
|
+
$[14] = t5;
|
|
214
|
+
$[15] = t6;
|
|
215
|
+
$[16] = t7;
|
|
101
216
|
} else {
|
|
102
|
-
t7 = $[
|
|
217
|
+
t7 = $[16];
|
|
103
218
|
}
|
|
104
219
|
let t8;
|
|
105
|
-
if ($[
|
|
106
|
-
t8 = /* @__PURE__ */ jsx(PopoverContent, { xstyle:
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
220
|
+
if ($[17] !== handleSelect || $[18] !== selectedValue) {
|
|
221
|
+
t8 = /* @__PURE__ */ jsx(PopoverContent, { xstyle: styles2.calendar, children: /* @__PURE__ */ jsx(Calendar, { mode: "single", onSelect: handleSelect, selected: selectedValue }) });
|
|
222
|
+
$[17] = handleSelect;
|
|
223
|
+
$[18] = selectedValue;
|
|
224
|
+
$[19] = t8;
|
|
110
225
|
} else {
|
|
111
|
-
t8 = $[
|
|
226
|
+
t8 = $[19];
|
|
112
227
|
}
|
|
113
228
|
let t9;
|
|
114
|
-
if ($[
|
|
229
|
+
if ($[20] !== open || $[21] !== t7 || $[22] !== t8) {
|
|
115
230
|
t9 = /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
|
|
116
231
|
t7,
|
|
117
232
|
t8
|
|
118
233
|
] });
|
|
119
|
-
$[
|
|
120
|
-
$[
|
|
121
|
-
$[
|
|
122
|
-
$[
|
|
234
|
+
$[20] = open;
|
|
235
|
+
$[21] = t7;
|
|
236
|
+
$[22] = t8;
|
|
237
|
+
$[23] = t9;
|
|
123
238
|
} else {
|
|
124
|
-
t9 = $[
|
|
239
|
+
t9 = $[23];
|
|
125
240
|
}
|
|
126
241
|
let t10;
|
|
127
|
-
if ($[
|
|
242
|
+
if ($[24] !== t4 || $[25] !== t9) {
|
|
128
243
|
t10 = /* @__PURE__ */ jsx("span", { ...t4, children: t9 });
|
|
129
|
-
$[
|
|
130
|
-
$[
|
|
131
|
-
$[
|
|
244
|
+
$[24] = t4;
|
|
245
|
+
$[25] = t9;
|
|
246
|
+
$[26] = t10;
|
|
132
247
|
} else {
|
|
133
|
-
t10 = $[
|
|
248
|
+
t10 = $[26];
|
|
134
249
|
}
|
|
135
250
|
return t10;
|
|
136
251
|
}
|
package/dist/date-picker.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/date-picker.tsx"],
|
|
4
|
-
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { colorVars, motionVars, radiusVars, sizeVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport { useState } from \"react\";\nimport { Calendar } from \"./calendar\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"./popover\";\nconst styles = {\n root: {\n k1xSpc: \"x3nfvp2\",\n k7Eaqz: \"x1jn9kf5\",\n $$css: true\n },\n calendar: {\n kmVPX3: \"x1717udv\",\n kzqmXN: \"xeq5yr9\",\n $$css: true\n }\n};\nexport type DatePickerProps = {\n defaultValue?: Date;\n disabled?: boolean;\n format?: (date: Date) => string;\n onValueChange?: (date: Date | undefined) => void;\n placeholder?: string;\n value?: Date;\n xstyle?: stylex.StyleXStyles;\n};\nfunction defaultFormat(date: Date) {\n return new Intl.DateTimeFormat(undefined, {\n dateStyle: \"medium\"\n }).format(date);\n}\nexport function DatePicker(props) {\n const $ = _c(
|
|
5
|
-
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AAExB,YAAY,YAAY;AACxB,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AACzB,SAAS,SAAS,gBAAgB,sBAAsB;
|
|
6
|
-
"names": ["props", "handleSelect"]
|
|
3
|
+
"sources": ["../src/date-picker.tsx", "../src/styles/surface.ts"],
|
|
4
|
+
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { colorVars, motionVars, radiusVars, sizeVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport { useState } from \"react\";\nimport { Calendar } from \"./calendar\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"./popover\";\nimport { surfaceStyles } from \"./styles/surface\";\nconst styles = {\n root: {\n k1xSpc: \"x3nfvp2\",\n k7Eaqz: \"x1jn9kf5\",\n $$css: true\n },\n trigger: {\n kGNEyG: \"x6s0dn4\",\n kysU6D: \"xjyslct\",\n kWkggS: \"xcc0o6n\",\n kVAM5u: \"x1kqtvf4\",\n kaIpWk: \"x1p5vitp\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"x1al7nqq\",\n kMwMTN: \"x1t28c4i\",\n kkrTdU: \"x1ypdohk\",\n k1xSpc: \"x3nfvp2\",\n kMv6JI: \"x1b1to7n\",\n kGuDYH: \"x1lskvfa\",\n k63SB2: \"x6valzt\",\n kZKoxP: \"x1f00wt4\",\n kI3sdo: \"x1a2a7pz\",\n kg3NbH: \"x5044ve\",\n k9WMMc: \"xdpxx8g\",\n kIyJzY: \"xznvecg\",\n k1ekBW: \"x1eaenvl\",\n kAMwcw: \"xrkjf8i\",\n kzqmXN: \"xh8yej3\",\n kaVNsj: \"x1vy8v46\",\n kOJeXU: \"xafblzd\",\n kZs9gx: \"x768paa\",\n kiEn40: \"x1p3hdyt\",\n k7shQP: \"x9v5kkp\",\n kPJHz1: \"x1k4h2j2\",\n kD2jPA: \"xjbuoma\",\n kdODIN: \"xwaks2a\",\n kWC4TW: \"x1vi5fzm\",\n kYPGJ8: \"x1s07b3s\",\n $$css: true\n },\n calendar: {\n kmVPX3: \"x1717udv\",\n kzqmXN: \"xeq5yr9\",\n $$css: true\n }\n};\nexport type DatePickerProps = {\n defaultValue?: Date;\n disabled?: boolean;\n format?: (date: Date) => string;\n onValueChange?: (date: Date | undefined) => void;\n placeholder?: string;\n value?: Date;\n xstyle?: stylex.StyleXStyles;\n};\nfunction defaultFormat(date: Date) {\n return new Intl.DateTimeFormat(undefined, {\n dateStyle: \"medium\"\n }).format(date);\n}\nexport function DatePicker(props) {\n const $ = _c(27);\n const {\n defaultValue,\n disabled,\n format: t0,\n onValueChange,\n placeholder: t1,\n value,\n xstyle\n } = props;\n const format = t0 === undefined ? defaultFormat : t0;\n const placeholder = t1 === undefined ? \"Pick a date\" : t1;\n const [open, setOpen] = useState(false);\n const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);\n let t2;\n if ($[0] !== props) {\n t2 = Object.hasOwn(props, \"value\");\n $[0] = props;\n $[1] = t2;\n } else {\n t2 = $[1];\n }\n const isControlled = t2;\n const selectedValue = isControlled ? value : uncontrolledValue;\n let t3;\n if ($[2] !== isControlled || $[3] !== onValueChange) {\n t3 = function handleSelect(date) {\n if (!isControlled) {\n setUncontrolledValue(date);\n }\n onValueChange?.(date);\n setOpen(false);\n };\n $[2] = isControlled;\n $[3] = onValueChange;\n $[4] = t3;\n } else {\n t3 = $[4];\n }\n const handleSelect = t3;\n let t4;\n if ($[5] !== xstyle) {\n t4 = stylex.props(styles.root, xstyle);\n $[5] = xstyle;\n $[6] = t4;\n } else {\n t4 = $[6];\n }\n let t5;\n if ($[7] !== disabled) {\n t5 = stylex.props(styles.trigger, !disabled && surfaceStyles.control);\n $[7] = disabled;\n $[8] = t5;\n } else {\n t5 = $[8];\n }\n let t6;\n if ($[9] !== format || $[10] !== placeholder || $[11] !== selectedValue) {\n t6 = selectedValue ? <span className=\"x6valzt\">{format(selectedValue)}</span> : <span className=\"xj9e3ow\">{placeholder}</span>;\n $[9] = format;\n $[10] = placeholder;\n $[11] = selectedValue;\n $[12] = t6;\n } else {\n t6 = $[12];\n }\n let t7;\n if ($[13] !== disabled || $[14] !== t5 || $[15] !== t6) {\n t7 = <PopoverTrigger render={<button disabled={disabled} type=\"button\" {...t5}>{t6}</button>} />;\n $[13] = disabled;\n $[14] = t5;\n $[15] = t6;\n $[16] = t7;\n } else {\n t7 = $[16];\n }\n let t8;\n if ($[17] !== handleSelect || $[18] !== selectedValue) {\n t8 = <PopoverContent xstyle={styles.calendar}><Calendar mode=\"single\" onSelect={handleSelect} selected={selectedValue} /></PopoverContent>;\n $[17] = handleSelect;\n $[18] = selectedValue;\n $[19] = t8;\n } else {\n t8 = $[19];\n }\n let t9;\n if ($[20] !== open || $[21] !== t7 || $[22] !== t8) {\n t9 = <Popover open={open} onOpenChange={setOpen}>{t7}{t8}</Popover>;\n $[20] = open;\n $[21] = t7;\n $[22] = t8;\n $[23] = t9;\n } else {\n t9 = $[23];\n }\n let t10;\n if ($[24] !== t4 || $[25] !== t9) {\n t10 = <span {...t4}>{t9}</span>;\n $[24] = t4;\n $[25] = t9;\n $[26] = t10;\n } else {\n t10 = $[26];\n }\n return t10;\n}", "import { colorVars, shadowVars } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nconst styles = {\n edge: {\n kVAM5u: \"x1kqtvf4\",\n kFGkbq: \"x1w1tqly\",\n $$css: true\n },\n material: {\n \"--bolerish-material-shadow\": \"xvd6nka\",\n kGVxlE: \"x16ifxj2 xpqbwuo\",\n kWkggS: \"x1s4uome x1u5mdis\",\n k6WDB: \"x1t853zo x1o5bnqd\",\n kKwaWg: \"x18o3ruo xxit9r9\",\n kTahiY: \"x1cg02ou\",\n kEcs6k: \"x11rvarm\",\n kWrjR8: \"x1ile18z\",\n kfloDl: \"x1m3y3zz\",\n kO6drA: \"x9yvj25\",\n kkTUmj: \"x14hm74v\",\n k11ilZ: \"xhobzj1\",\n ktzNWN: \"xwaqzdf\",\n $$css: true\n },\n panel: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"x8fe23t\",\n \"--bolerish-material-filter\": \"x1n6mwez\",\n $$css: true\n },\n control: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n subtle: {\n \"--bolerish-material-color\": \"x1819ggx\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n outline: {\n \"--bolerish-material-color\": \"x3m3fbl\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n raised: {\n \"--bolerish-material-shadow\": \"x1l9gcvt\",\n \"--bolerish-material-color\": \"x1y5ilfp\",\n \"--bolerish-material-opacity\": \"x1nqk09\",\n \"--bolerish-material-filter\": \"x1gkvbmm\",\n $$css: true\n },\n translucent: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"xoh9gux\",\n \"--bolerish-material-filter\": \"xhu24am\",\n $$css: true\n },\n floating: {\n \"--bolerish-material-shadow\": \"xu02b4h\",\n \"--bolerish-material-color\": \"x1y5ilfp\",\n \"--bolerish-material-opacity\": \"x14p89z6\",\n \"--bolerish-material-filter\": \"xunhrho\",\n $$css: true\n }\n};\nexport const surfaceStyles = {\n edge: styles.edge,\n panel: [styles.material, styles.panel],\n control: [styles.material, styles.control],\n subtle: [styles.material, styles.subtle],\n outline: [styles.material, styles.outline],\n raised: [styles.material, styles.raised],\n translucent: [styles.material, styles.translucent],\n floating: [styles.material, styles.floating]\n};"],
|
|
5
|
+
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AAExB,YAAY,YAAY;AACxB,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AACzB,SAAS,SAAS,gBAAgB,sBAAsB;;;ACLxD,IAAM,SAAS;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,UAAU;AAAA,IACR,8BAA8B;AAAA,IAC9B,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EAC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,IAAI;AAAA,EACV,OAAO;AACL,UAAM,EAAE,EAAE;AAAA,EACZ;AACA,SAAO;AACT;",
|
|
6
|
+
"names": ["styles", "props", "handleSelect"]
|
|
7
7
|
}
|
package/dist/dialog.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as stylex from "@stylexjs/stylex";
|
|
|
3
3
|
import type { ComponentProps, ReactNode } from "react";
|
|
4
4
|
import type { ControlPlacementStyles } from "./styles/control-layout";
|
|
5
5
|
import type { StyledProps } from "./styles/merge-styles";
|
|
6
|
-
export declare const Dialog:
|
|
6
|
+
export declare const Dialog: <Payload>(props: DialogPrimitive.Root.Props<Payload>) => React.JSX.Element;
|
|
7
7
|
export declare function DialogTrigger({ className, style, xstyle, ...props }: StyledProps<ComponentProps<typeof DialogPrimitive.Trigger>> & {
|
|
8
8
|
xstyle?: stylex.StyleXStyles;
|
|
9
9
|
}): import("react").JSX.Element;
|
package/dist/dialog.js
CHANGED
|
@@ -20,35 +20,87 @@ function mergeStyles(base, className, style) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// src/styles/surface.ts
|
|
23
|
-
var
|
|
23
|
+
var styles = {
|
|
24
24
|
edge: {
|
|
25
25
|
kVAM5u: "x1kqtvf4",
|
|
26
26
|
kFGkbq: "x1w1tqly",
|
|
27
27
|
$$css: true
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
material: {
|
|
30
|
+
"--bolerish-material-shadow": "xvd6nka",
|
|
31
|
+
kGVxlE: "x16ifxj2 xpqbwuo",
|
|
32
|
+
kWkggS: "x1s4uome x1u5mdis",
|
|
33
|
+
k6WDB: "x1t853zo x1o5bnqd",
|
|
34
|
+
kKwaWg: "x18o3ruo xxit9r9",
|
|
35
|
+
kTahiY: "x1cg02ou",
|
|
33
36
|
kEcs6k: "x11rvarm",
|
|
37
|
+
kWrjR8: "x1ile18z",
|
|
38
|
+
kfloDl: "x1m3y3zz",
|
|
34
39
|
kO6drA: "x9yvj25",
|
|
35
40
|
kkTUmj: "x14hm74v",
|
|
41
|
+
k11ilZ: "xhobzj1",
|
|
42
|
+
ktzNWN: "xwaqzdf",
|
|
43
|
+
$$css: true
|
|
44
|
+
},
|
|
45
|
+
panel: {
|
|
46
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
47
|
+
"--bolerish-material-opacity": "x8fe23t",
|
|
48
|
+
"--bolerish-material-filter": "x1n6mwez",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
control: {
|
|
52
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
53
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
54
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
55
|
+
$$css: true
|
|
56
|
+
},
|
|
57
|
+
subtle: {
|
|
58
|
+
"--bolerish-material-color": "x1819ggx",
|
|
59
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
60
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
61
|
+
$$css: true
|
|
62
|
+
},
|
|
63
|
+
outline: {
|
|
64
|
+
"--bolerish-material-color": "x3m3fbl",
|
|
65
|
+
"--bolerish-material-opacity": "xg4j6g8",
|
|
66
|
+
"--bolerish-material-filter": "x1mpfm11",
|
|
67
|
+
$$css: true
|
|
68
|
+
},
|
|
69
|
+
raised: {
|
|
70
|
+
"--bolerish-material-shadow": "x1l9gcvt",
|
|
71
|
+
"--bolerish-material-color": "x1y5ilfp",
|
|
72
|
+
"--bolerish-material-opacity": "x1nqk09",
|
|
73
|
+
"--bolerish-material-filter": "x1gkvbmm",
|
|
74
|
+
$$css: true
|
|
75
|
+
},
|
|
76
|
+
translucent: {
|
|
77
|
+
"--bolerish-material-color": "x14zkn9l",
|
|
78
|
+
"--bolerish-material-opacity": "xoh9gux",
|
|
79
|
+
"--bolerish-material-filter": "xhu24am",
|
|
36
80
|
$$css: true
|
|
37
81
|
},
|
|
38
82
|
floating: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
kO6drA: "x9yvj25",
|
|
44
|
-
kkTUmj: "x14hm74v",
|
|
83
|
+
"--bolerish-material-shadow": "xu02b4h",
|
|
84
|
+
"--bolerish-material-color": "x1y5ilfp",
|
|
85
|
+
"--bolerish-material-opacity": "x14p89z6",
|
|
86
|
+
"--bolerish-material-filter": "xunhrho",
|
|
45
87
|
$$css: true
|
|
46
88
|
}
|
|
47
89
|
};
|
|
90
|
+
var surfaceStyles = {
|
|
91
|
+
edge: styles.edge,
|
|
92
|
+
panel: [styles.material, styles.panel],
|
|
93
|
+
control: [styles.material, styles.control],
|
|
94
|
+
subtle: [styles.material, styles.subtle],
|
|
95
|
+
outline: [styles.material, styles.outline],
|
|
96
|
+
raised: [styles.material, styles.raised],
|
|
97
|
+
translucent: [styles.material, styles.translucent],
|
|
98
|
+
floating: [styles.material, styles.floating]
|
|
99
|
+
};
|
|
48
100
|
|
|
49
101
|
// src/dialog.tsx
|
|
50
102
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
51
|
-
var
|
|
103
|
+
var styles2 = {
|
|
52
104
|
popup: {
|
|
53
105
|
kWkggS: "xssngo0",
|
|
54
106
|
kVAM5u: "x1kqtvf4",
|
|
@@ -256,7 +308,7 @@ function DialogContent(t0) {
|
|
|
256
308
|
}
|
|
257
309
|
let t5;
|
|
258
310
|
if ($[10] !== className || $[11] !== style || $[12] !== xstyle) {
|
|
259
|
-
t5 = mergeStyles(stylex.props(
|
|
311
|
+
t5 = mergeStyles(stylex.props(styles2.popup, surfaceStyles.raised, surfaceStyles.edge, xstyle), className, style);
|
|
260
312
|
$[10] = className;
|
|
261
313
|
$[11] = style;
|
|
262
314
|
$[12] = xstyle;
|
|
@@ -318,7 +370,7 @@ function DialogHeader(t0) {
|
|
|
318
370
|
}
|
|
319
371
|
let t1;
|
|
320
372
|
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
321
|
-
t1 = mergeStyles(stylex.props(
|
|
373
|
+
t1 = mergeStyles(stylex.props(styles2.header, xstyle), className, style);
|
|
322
374
|
$[5] = className;
|
|
323
375
|
$[6] = style;
|
|
324
376
|
$[7] = xstyle;
|
|
@@ -363,7 +415,7 @@ function DialogFooter(t0) {
|
|
|
363
415
|
}
|
|
364
416
|
let t1;
|
|
365
417
|
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
366
|
-
t1 = mergeStyles(stylex.props(
|
|
418
|
+
t1 = mergeStyles(stylex.props(styles2.footer, xstyle), className, style);
|
|
367
419
|
$[5] = className;
|
|
368
420
|
$[6] = style;
|
|
369
421
|
$[7] = xstyle;
|
|
@@ -408,7 +460,7 @@ function DialogTitle(t0) {
|
|
|
408
460
|
}
|
|
409
461
|
let t1;
|
|
410
462
|
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
411
|
-
t1 = mergeStyles(stylex.props(
|
|
463
|
+
t1 = mergeStyles(stylex.props(styles2.title, xstyle), className, style);
|
|
412
464
|
$[5] = className;
|
|
413
465
|
$[6] = style;
|
|
414
466
|
$[7] = xstyle;
|
|
@@ -453,7 +505,7 @@ function DialogDescription(t0) {
|
|
|
453
505
|
}
|
|
454
506
|
let t1;
|
|
455
507
|
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
456
|
-
t1 = mergeStyles(stylex.props(
|
|
508
|
+
t1 = mergeStyles(stylex.props(styles2.description, xstyle), className, style);
|
|
457
509
|
$[5] = className;
|
|
458
510
|
$[6] = style;
|
|
459
511
|
$[7] = xstyle;
|
package/dist/dialog.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/dialog.tsx", "../src/styles/merge-styles.ts", "../src/styles/surface.ts"],
|
|
4
|
-
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { Dialog as DialogPrimitive } from \"@base-ui/react/dialog\";\nimport { colorVars, layerVars, motionVars, radiusVars, shadowVars, sizeVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport { XIcon } from \"@phosphor-icons/react\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps, ReactNode } from \"react\";\nimport type { ControlPlacementStyles } from \"./styles/control-layout\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\nimport { surfaceStyles } from \"./styles/surface\";\nconst styles = {\n popup: {\n kWkggS: \"xssngo0\",\n kVAM5u: \"x1kqtvf4\",\n kaIpWk: \"x9up7g5\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"x1al7nqq\",\n kGVxlE: \"x1wlfqej\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"xb7usi1\",\n kskxy: \"x1g15ey4\",\n ks0D6T: \"xf6f31h\",\n kI3sdo: \"x1a2a7pz\",\n kVQacm: \"xysyzu8\",\n kmVPX3: \"x18lnuv8\",\n kVAEAm: \"x1n2onr6\",\n kIyJzY: \"x1cvj37l\",\n k1ekBW: \"x6o7n8i\",\n kAMwcw: \"x1oxff63\",\n kzqmXN: \"xh8yej3\",\n kdD3Bq: \"x1i2unn7\",\n koVVf4: \"x14doao2\",\n kQuUWH: \"x1w3282i\",\n kRVfsM: \"xqoz2hw\",\n kxero2: \"xt8ron0\",\n kJ7s2Z: \"x1mnfbwj\",\n kZj1XV: \"x10uu9l5\",\n $$css: true\n },\n header: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"x136xbx3\",\n kwRFfy: \"x11qfw98\",\n $$css: true\n },\n footer: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kwnvtZ: \"x1a02dak\",\n kOIVth: \"x136xbx3\",\n kjj79g: \"x13a6bvl\",\n $$css: true\n },\n title: {\n kMwMTN: \"x1t28c4i\",\n kGuDYH: \"xr5nsds\",\n k63SB2: \"x5cgamv\",\n kLWn49: \"x15rnifv\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n description: {\n kMwMTN: \"xj9e3ow\",\n kGuDYH: \"x1lskvfa\",\n kLWn49: \"xipl0i2\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n }\n};\nexport const Dialog = DialogPrimitive.Root;\nexport function DialogTrigger(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Trigger {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogClose(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Close {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\ntype DialogContentProps = StyledProps<ComponentProps<typeof DialogPrimitive.Popup>> & {\n children: ReactNode;\n /** Accessible name for the optional close button. @default \"Close\" */\n closeLabel?: string;\n showCloseButton?: boolean;\n xstyle?: stylex.StyleXStyles;\n};\nexport function DialogContent(t0) {\n const $ = _c(22);\n let children;\n let className;\n let props;\n let style;\n let t1;\n let t2;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n children,\n closeLabel: t1,\n showCloseButton: t2,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = className;\n $[3] = props;\n $[4] = style;\n $[5] = t1;\n $[6] = t2;\n $[7] = xstyle;\n } else {\n children = $[1];\n className = $[2];\n props = $[3];\n style = $[4];\n t1 = $[5];\n t2 = $[6];\n xstyle = $[7];\n }\n const closeLabel = t1 === undefined ? \"Close\" : t1;\n const showCloseButton = t2 === undefined ? true : t2;\n let t3;\n if ($[8] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t3 = <DialogPrimitive.Backdrop className=\"xt65qkv x10a8y8t xixxii4 x1cvj37l x19991ni x1oxff63 x1ya9j91 x1llxi74 x1gqblgl x1w3282i xqoz2hw xt8ron0 x1mnfbwj\" />;\n $[8] = t3;\n } else {\n t3 = $[8];\n }\n let t4;\n if ($[9] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = {\n className: \"x6s0dn4 x78zum5 x10a8y8t xl56j7k xv3ig3d xixxii4 xqehhcd\"\n };\n $[9] = t4;\n } else {\n t4 = $[9];\n }\n let t5;\n if ($[10] !== className || $[11] !== style || $[12] !== xstyle) {\n t5 = mergeStyles(stylex.props(styles.popup, surfaceStyles.edge, xstyle), className, style);\n $[10] = className;\n $[11] = style;\n $[12] = xstyle;\n $[13] = t5;\n } else {\n t5 = $[13];\n }\n let t6;\n if ($[14] !== closeLabel || $[15] !== showCloseButton) {\n t6 = showCloseButton ? <DialogPrimitive.Close aria-label={closeLabel} className=\"x6s0dn4 xjyslct xjbqb8w xng3xce xc342km x1p5vitp xj9e3ow x1ypdohk x3nfvp2 x1rrewj3 xl56j7k x1a2a7pz x10l6tqk xjord3i x85z9ou xznvecg xs2xxs2 xrkjf8i xwuz77y xk9i4fa x1woi373 x768paa x1p3hdyt x9v5kkp x1k4h2j2\"><XIcon aria-hidden=\"true\" /></DialogPrimitive.Close> : null;\n $[14] = closeLabel;\n $[15] = showCloseButton;\n $[16] = t6;\n } else {\n t6 = $[16];\n }\n let t7;\n if ($[17] !== children || $[18] !== props || $[19] !== t5 || $[20] !== t6) {\n t7 = <DialogPrimitive.Portal>{t3}<DialogPrimitive.Viewport {...t4}><DialogPrimitive.Popup {...props} {...t5}>{children}{t6}</DialogPrimitive.Popup></DialogPrimitive.Viewport></DialogPrimitive.Portal>;\n $[17] = children;\n $[18] = props;\n $[19] = t5;\n $[20] = t6;\n $[21] = t7;\n } else {\n t7 = $[21];\n }\n return t7;\n}\nexport function DialogHeader(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.header, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <div {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogFooter(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.footer, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <div {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogTitle(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.title, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Title {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogDescription(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.description, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Description {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}", "import type * as stylex from \"@stylexjs/stylex\";\nimport type { CSSProperties } from \"react\";\nexport type StyledProps<Props> = Props extends unknown ? Omit<Props, \"className\" | \"style\"> & {\n className?: string;\n style?: CSSProperties;\n} : never;\nexport function mergeStyles(base: ReturnType<typeof stylex.props>, className?: string, style?: CSSProperties): {\n className?: string;\n style?: CSSProperties;\n} {\n if (className === undefined && style === undefined) return base;\n return {\n ...base,\n className: [base.className, className].filter(Boolean).join(\" \") || undefined,\n style: base.style || style ? {\n ...base.style,\n ...style\n } : undefined\n };\n}", "import { colorVars } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nexport const surfaceStyles = {\n edge: {\n kVAM5u: \"x1kqtvf4\",\n kFGkbq: \"x1w1tqly\",\n $$css: true\n },\n translucent: {\n kWkggS: \"xcc0o6n x6pgpxb\",\n k6WDB: \"x1jh03n0\",\n kTahiY: \"x1rxs12l\",\n kEcs6k: \"x11rvarm\",\n kO6drA: \"x9yvj25\",\n kkTUmj: \"x14hm74v\",\n $$css: true\n },\n floating: {\n kWkggS: \"xssngo0 x1r7obb8\",\n k6WDB: \"x1jh03n0\",\n kTahiY: \"x1psyy34\",\n kEcs6k: \"x11rvarm\",\n kO6drA: \"x9yvj25\",\n kkTUmj: \"x14hm74v\",\n $$css: true\n }\n};"],
|
|
5
|
-
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AACxB,SAAS,UAAU,uBAAuB;AAE1C,SAAS,aAAa;AACtB,YAAY,YAAY;;;ACAjB,SAAS,YAAY,MAAuC,WAAoB,OAGrF;AACA,MAAI,cAAc,UAAa,UAAU,OAAW,QAAO;AAC3D,SAAO;AAAA,IACL,GAAG;AAAA,IACH,WAAW,CAAC,KAAK,WAAW,SAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,KAAK;AAAA,IACpE,OAAO,KAAK,SAAS,QAAQ;AAAA,MAC3B,GAAG,KAAK;AAAA,MACR,GAAG;AAAA,IACL,IAAI;AAAA,EACN;AACF;;;
|
|
6
|
-
"names": ["props"]
|
|
4
|
+
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { Dialog as DialogPrimitive } from \"@base-ui/react/dialog\";\nimport { colorVars, layerVars, motionVars, radiusVars, shadowVars, sizeVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport { XIcon } from \"@phosphor-icons/react\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps, ReactNode } from \"react\";\nimport type { ControlPlacementStyles } from \"./styles/control-layout\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\nimport { surfaceStyles } from \"./styles/surface\";\nconst styles = {\n popup: {\n kWkggS: \"xssngo0\",\n kVAM5u: \"x1kqtvf4\",\n kaIpWk: \"x9up7g5\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"x1al7nqq\",\n kGVxlE: \"x1wlfqej\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"xb7usi1\",\n kskxy: \"x1g15ey4\",\n ks0D6T: \"xf6f31h\",\n kI3sdo: \"x1a2a7pz\",\n kVQacm: \"xysyzu8\",\n kmVPX3: \"x18lnuv8\",\n kVAEAm: \"x1n2onr6\",\n kIyJzY: \"x1cvj37l\",\n k1ekBW: \"x6o7n8i\",\n kAMwcw: \"x1oxff63\",\n kzqmXN: \"xh8yej3\",\n kdD3Bq: \"x1i2unn7\",\n koVVf4: \"x14doao2\",\n kQuUWH: \"x1w3282i\",\n kRVfsM: \"xqoz2hw\",\n kxero2: \"xt8ron0\",\n kJ7s2Z: \"x1mnfbwj\",\n kZj1XV: \"x10uu9l5\",\n $$css: true\n },\n header: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"x136xbx3\",\n kwRFfy: \"x11qfw98\",\n $$css: true\n },\n footer: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kwnvtZ: \"x1a02dak\",\n kOIVth: \"x136xbx3\",\n kjj79g: \"x13a6bvl\",\n $$css: true\n },\n title: {\n kMwMTN: \"x1t28c4i\",\n kGuDYH: \"xr5nsds\",\n k63SB2: \"x5cgamv\",\n kLWn49: \"x15rnifv\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n description: {\n kMwMTN: \"xj9e3ow\",\n kGuDYH: \"x1lskvfa\",\n kLWn49: \"xipl0i2\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n }\n};\nexport const Dialog = DialogPrimitive.Root;\nexport function DialogTrigger(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Trigger {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogClose(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Close {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\ntype DialogContentProps = StyledProps<ComponentProps<typeof DialogPrimitive.Popup>> & {\n children: ReactNode;\n /** Accessible name for the optional close button. @default \"Close\" */\n closeLabel?: string;\n showCloseButton?: boolean;\n xstyle?: stylex.StyleXStyles;\n};\nexport function DialogContent(t0) {\n const $ = _c(22);\n let children;\n let className;\n let props;\n let style;\n let t1;\n let t2;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n children,\n closeLabel: t1,\n showCloseButton: t2,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = className;\n $[3] = props;\n $[4] = style;\n $[5] = t1;\n $[6] = t2;\n $[7] = xstyle;\n } else {\n children = $[1];\n className = $[2];\n props = $[3];\n style = $[4];\n t1 = $[5];\n t2 = $[6];\n xstyle = $[7];\n }\n const closeLabel = t1 === undefined ? \"Close\" : t1;\n const showCloseButton = t2 === undefined ? true : t2;\n let t3;\n if ($[8] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t3 = <DialogPrimitive.Backdrop className=\"xt65qkv x10a8y8t xixxii4 x1cvj37l x19991ni x1oxff63 x1ya9j91 x1llxi74 x1gqblgl x1w3282i xqoz2hw xt8ron0 x1mnfbwj\" />;\n $[8] = t3;\n } else {\n t3 = $[8];\n }\n let t4;\n if ($[9] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = {\n className: \"x6s0dn4 x78zum5 x10a8y8t xl56j7k xv3ig3d xixxii4 xqehhcd\"\n };\n $[9] = t4;\n } else {\n t4 = $[9];\n }\n let t5;\n if ($[10] !== className || $[11] !== style || $[12] !== xstyle) {\n t5 = mergeStyles(stylex.props(styles.popup, surfaceStyles.raised, surfaceStyles.edge, xstyle), className, style);\n $[10] = className;\n $[11] = style;\n $[12] = xstyle;\n $[13] = t5;\n } else {\n t5 = $[13];\n }\n let t6;\n if ($[14] !== closeLabel || $[15] !== showCloseButton) {\n t6 = showCloseButton ? <DialogPrimitive.Close aria-label={closeLabel} className=\"x6s0dn4 xjyslct xjbqb8w xng3xce xc342km x1p5vitp xj9e3ow x1ypdohk x3nfvp2 x1rrewj3 xl56j7k x1a2a7pz x10l6tqk xjord3i x85z9ou xznvecg xs2xxs2 xrkjf8i xwuz77y xk9i4fa x1woi373 x768paa x1p3hdyt x9v5kkp x1k4h2j2\"><XIcon aria-hidden=\"true\" /></DialogPrimitive.Close> : null;\n $[14] = closeLabel;\n $[15] = showCloseButton;\n $[16] = t6;\n } else {\n t6 = $[16];\n }\n let t7;\n if ($[17] !== children || $[18] !== props || $[19] !== t5 || $[20] !== t6) {\n t7 = <DialogPrimitive.Portal>{t3}<DialogPrimitive.Viewport {...t4}><DialogPrimitive.Popup {...props} {...t5}>{children}{t6}</DialogPrimitive.Popup></DialogPrimitive.Viewport></DialogPrimitive.Portal>;\n $[17] = children;\n $[18] = props;\n $[19] = t5;\n $[20] = t6;\n $[21] = t7;\n } else {\n t7 = $[21];\n }\n return t7;\n}\nexport function DialogHeader(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.header, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <div {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogFooter(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.footer, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <div {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogTitle(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.title, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Title {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function DialogDescription(t0) {\n const $ = _c(12);\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = props;\n $[3] = style;\n $[4] = xstyle;\n } else {\n className = $[1];\n props = $[2];\n style = $[3];\n xstyle = $[4];\n }\n let t1;\n if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.description, xstyle), className, style);\n $[5] = className;\n $[6] = style;\n $[7] = xstyle;\n $[8] = t1;\n } else {\n t1 = $[8];\n }\n let t2;\n if ($[9] !== props || $[10] !== t1) {\n t2 = <DialogPrimitive.Description {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}", "import type * as stylex from \"@stylexjs/stylex\";\nimport type { CSSProperties } from \"react\";\nexport type StyledProps<Props> = Props extends unknown ? Omit<Props, \"className\" | \"style\"> & {\n className?: string;\n style?: CSSProperties;\n} : never;\nexport function mergeStyles(base: ReturnType<typeof stylex.props>, className?: string, style?: CSSProperties): {\n className?: string;\n style?: CSSProperties;\n} {\n if (className === undefined && style === undefined) return base;\n return {\n ...base,\n className: [base.className, className].filter(Boolean).join(\" \") || undefined,\n style: base.style || style ? {\n ...base.style,\n ...style\n } : undefined\n };\n}", "import { colorVars, shadowVars } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nconst styles = {\n edge: {\n kVAM5u: \"x1kqtvf4\",\n kFGkbq: \"x1w1tqly\",\n $$css: true\n },\n material: {\n \"--bolerish-material-shadow\": \"xvd6nka\",\n kGVxlE: \"x16ifxj2 xpqbwuo\",\n kWkggS: \"x1s4uome x1u5mdis\",\n k6WDB: \"x1t853zo x1o5bnqd\",\n kKwaWg: \"x18o3ruo xxit9r9\",\n kTahiY: \"x1cg02ou\",\n kEcs6k: \"x11rvarm\",\n kWrjR8: \"x1ile18z\",\n kfloDl: \"x1m3y3zz\",\n kO6drA: \"x9yvj25\",\n kkTUmj: \"x14hm74v\",\n k11ilZ: \"xhobzj1\",\n ktzNWN: \"xwaqzdf\",\n $$css: true\n },\n panel: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"x8fe23t\",\n \"--bolerish-material-filter\": \"x1n6mwez\",\n $$css: true\n },\n control: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n subtle: {\n \"--bolerish-material-color\": \"x1819ggx\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n outline: {\n \"--bolerish-material-color\": \"x3m3fbl\",\n \"--bolerish-material-opacity\": \"xg4j6g8\",\n \"--bolerish-material-filter\": \"x1mpfm11\",\n $$css: true\n },\n raised: {\n \"--bolerish-material-shadow\": \"x1l9gcvt\",\n \"--bolerish-material-color\": \"x1y5ilfp\",\n \"--bolerish-material-opacity\": \"x1nqk09\",\n \"--bolerish-material-filter\": \"x1gkvbmm\",\n $$css: true\n },\n translucent: {\n \"--bolerish-material-color\": \"x14zkn9l\",\n \"--bolerish-material-opacity\": \"xoh9gux\",\n \"--bolerish-material-filter\": \"xhu24am\",\n $$css: true\n },\n floating: {\n \"--bolerish-material-shadow\": \"xu02b4h\",\n \"--bolerish-material-color\": \"x1y5ilfp\",\n \"--bolerish-material-opacity\": \"x14p89z6\",\n \"--bolerish-material-filter\": \"xunhrho\",\n $$css: true\n }\n};\nexport const surfaceStyles = {\n edge: styles.edge,\n panel: [styles.material, styles.panel],\n control: [styles.material, styles.control],\n subtle: [styles.material, styles.subtle],\n outline: [styles.material, styles.outline],\n raised: [styles.material, styles.raised],\n translucent: [styles.material, styles.translucent],\n floating: [styles.material, styles.floating]\n};"],
|
|
5
|
+
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AACxB,SAAS,UAAU,uBAAuB;AAE1C,SAAS,aAAa;AACtB,YAAY,YAAY;;;ACAjB,SA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