@bolerish/ui 0.0.0-stage → 0.11.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/LICENSE +21 -0
- package/configuration_schema.json +105 -0
- package/dist/_tokens.js +395 -0
- package/dist/_tokens.js.map +7 -0
- package/dist/accordion.d.ts +17 -0
- package/dist/accordion.js +347 -0
- package/dist/accordion.js.map +7 -0
- package/dist/alert-dialog.d.ts +30 -0
- package/dist/alert-dialog.js +460 -0
- package/dist/alert-dialog.js.map +7 -0
- package/dist/aspect-ratio.d.ts +8 -0
- package/dist/aspect-ratio.js +45 -0
- package/dist/aspect-ratio.js.map +7 -0
- package/dist/attachment.d.ts +39 -0
- package/dist/attachment.js +600 -0
- package/dist/attachment.js.map +7 -0
- package/dist/avatar.d.ts +26 -0
- package/dist/avatar.js +393 -0
- package/dist/avatar.js.map +7 -0
- package/dist/badge.d.ts +10 -0
- package/dist/badge.js +82 -0
- package/dist/badge.js.map +7 -0
- package/dist/banner.d.ts +19 -0
- package/dist/banner.js +127 -0
- package/dist/banner.js.map +7 -0
- package/dist/breadcrumb.d.ts +27 -0
- package/dist/breadcrumb.js +426 -0
- package/dist/breadcrumb.js.map +7 -0
- package/dist/button-group.d.ts +15 -0
- package/dist/button-group.js +330 -0
- package/dist/button-group.js.map +7 -0
- package/dist/button.d.ts +17 -0
- package/dist/button.js +313 -0
- package/dist/button.js.map +7 -0
- package/dist/calendar.d.ts +10 -0
- package/dist/calendar.js +257 -0
- package/dist/calendar.js.map +7 -0
- package/dist/card.d.ts +16 -0
- package/dist/card.js +131 -0
- package/dist/card.js.map +7 -0
- package/dist/carousel.d.ts +34 -0
- package/dist/carousel.js +551 -0
- package/dist/carousel.js.map +7 -0
- package/dist/checkbox.d.ts +8 -0
- package/dist/checkbox.js +113 -0
- package/dist/checkbox.js.map +7 -0
- package/dist/cli.js +6 -0
- package/dist/cli.js.map +7 -0
- package/dist/collapsible.d.ts +17 -0
- package/dist/collapsible.js +337 -0
- package/dist/collapsible.js.map +7 -0
- package/dist/combobox.d.ts +37 -0
- package/dist/combobox.js +692 -0
- package/dist/combobox.js.map +7 -0
- package/dist/content-row.d.ts +32 -0
- package/dist/content-row.js +253 -0
- package/dist/content-row.js.map +7 -0
- package/dist/context-menu.d.ts +9 -0
- package/dist/context-menu.js +86 -0
- package/dist/context-menu.js.map +7 -0
- package/dist/date-picker.d.ts +11 -0
- package/dist/date-picker.js +140 -0
- package/dist/date-picker.js.map +7 -0
- package/dist/dialog.d.ts +33 -0
- package/dist/dialog.js +458 -0
- package/dist/dialog.js.map +7 -0
- package/dist/drawer.d.ts +37 -0
- package/dist/drawer.js +773 -0
- package/dist/drawer.js.map +7 -0
- package/dist/dropdown-menu.d.ts +52 -0
- package/dist/dropdown-menu.js +824 -0
- package/dist/dropdown-menu.js.map +7 -0
- package/dist/empty.d.ts +13 -0
- package/dist/empty.js +136 -0
- package/dist/empty.js.map +7 -0
- package/dist/field.d.ts +21 -0
- package/dist/field.js +578 -0
- package/dist/field.js.map +7 -0
- package/dist/global.css +19 -0
- package/dist/heading.d.ts +9 -0
- package/dist/heading.js +108 -0
- package/dist/heading.js.map +7 -0
- package/dist/hover-card.d.ts +16 -0
- package/dist/hover-card.js +202 -0
- package/dist/hover-card.js.map +7 -0
- package/dist/index.d.ts +96 -0
- package/dist/index.js +524 -0
- package/dist/index.js.map +7 -0
- package/dist/input-group.d.ts +22 -0
- package/dist/input-group.js +458 -0
- package/dist/input-group.js.map +7 -0
- package/dist/input-otp.d.ts +18 -0
- package/dist/input-otp.js +261 -0
- package/dist/input-otp.js.map +7 -0
- package/dist/input.d.ts +9 -0
- package/dist/input.js +141 -0
- package/dist/input.js.map +7 -0
- package/dist/kbd.d.ts +10 -0
- package/dist/kbd.js +66 -0
- package/dist/kbd.js.map +7 -0
- package/dist/label.d.ts +7 -0
- package/dist/label.js +101 -0
- package/dist/label.js.map +7 -0
- package/dist/link.d.ts +18 -0
- package/dist/link.js +194 -0
- package/dist/link.js.map +7 -0
- package/dist/marker.d.ts +15 -0
- package/dist/marker.js +99 -0
- package/dist/marker.js.map +7 -0
- package/dist/menubar.d.ts +26 -0
- package/dist/menubar.js +211 -0
- package/dist/menubar.js.map +7 -0
- package/dist/native-select.d.ts +15 -0
- package/dist/native-select.js +248 -0
- package/dist/native-select.js.map +7 -0
- package/dist/navigation-menu.d.ts +28 -0
- package/dist/navigation-menu.js +598 -0
- package/dist/navigation-menu.js.map +7 -0
- package/dist/p.d.ts +4 -0
- package/dist/p.js +7 -0
- package/dist/p.js.map +7 -0
- package/dist/pagination.d.ts +24 -0
- package/dist/pagination.js +425 -0
- package/dist/pagination.js.map +7 -0
- package/dist/paragraph.d.ts +8 -0
- package/dist/paragraph.js +106 -0
- package/dist/paragraph.js.map +7 -0
- package/dist/popover.d.ts +26 -0
- package/dist/popover.js +413 -0
- package/dist/popover.js.map +7 -0
- package/dist/primitives.d.ts +1 -0
- package/dist/primitives.js +5 -0
- package/dist/primitives.js.map +7 -0
- package/dist/progress.d.ts +8 -0
- package/dist/progress.js +88 -0
- package/dist/progress.js.map +7 -0
- package/dist/radio-group.d.ts +13 -0
- package/dist/radio-group.js +156 -0
- package/dist/radio-group.js.map +7 -0
- package/dist/reset.css +72 -0
- package/dist/scroll-area.d.ts +19 -0
- package/dist/scroll-area.js +302 -0
- package/dist/scroll-area.js.map +7 -0
- package/dist/select.d.ts +34 -0
- package/dist/select.js +649 -0
- package/dist/select.js.map +7 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.js +107 -0
- package/dist/separator.js.map +7 -0
- package/dist/skeleton.d.ts +7 -0
- package/dist/skeleton.js +42 -0
- package/dist/skeleton.js.map +7 -0
- package/dist/slider.d.ts +10 -0
- package/dist/slider.js +145 -0
- package/dist/slider.js.map +7 -0
- package/dist/spinner.d.ts +8 -0
- package/dist/spinner.js +49 -0
- package/dist/spinner.js.map +7 -0
- package/dist/styles/control-layout.d.ts +9 -0
- package/dist/styles/merge-styles.d.ts +10 -0
- package/dist/stylex.css +2862 -0
- package/dist/switch.d.ts +9 -0
- package/dist/switch.js +153 -0
- package/dist/switch.js.map +7 -0
- package/dist/table.d.ts +31 -0
- package/dist/table.js +171 -0
- package/dist/table.js.map +7 -0
- package/dist/tabs.d.ts +20 -0
- package/dist/tabs.js +403 -0
- package/dist/tabs.js.map +7 -0
- package/dist/textarea.d.ts +7 -0
- package/dist/textarea.js +76 -0
- package/dist/textarea.js.map +7 -0
- package/dist/theme.d.ts +5 -0
- package/dist/theme.js +44 -0
- package/dist/theme.js.map +7 -0
- package/dist/timeline.d.ts +30 -0
- package/dist/timeline.js +182 -0
- package/dist/timeline.js.map +7 -0
- package/dist/toast.d.ts +14 -0
- package/dist/toast.js +463 -0
- package/dist/toast.js.map +7 -0
- package/dist/toast.stylex.d.ts +8 -0
- package/dist/toggle-group.d.ts +19 -0
- package/dist/toggle-group.js +324 -0
- package/dist/toggle-group.js.map +7 -0
- package/dist/toggle.d.ts +12 -0
- package/dist/toggle.js +192 -0
- package/dist/toggle.js.map +7 -0
- package/dist/tooltip.d.ts +14 -0
- package/dist/tooltip.js +214 -0
- package/dist/tooltip.js.map +7 -0
- package/dist/typography.d.ts +51 -0
- package/package.json +114 -3
- package/README.md +0 -3
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/alert-dialog.tsx
|
|
4
|
+
import { c as _c } from "react/compiler-runtime";
|
|
5
|
+
import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
|
|
6
|
+
import * as stylex from "@stylexjs/stylex";
|
|
7
|
+
import { Button } from "./button.js";
|
|
8
|
+
|
|
9
|
+
// src/styles/merge-styles.ts
|
|
10
|
+
function mergeStyles(base, className, style) {
|
|
11
|
+
if (className === void 0 && style === void 0) return base;
|
|
12
|
+
return {
|
|
13
|
+
...base,
|
|
14
|
+
className: [base.className, className].filter(Boolean).join(" ") || void 0,
|
|
15
|
+
style: base.style || style ? {
|
|
16
|
+
...base.style,
|
|
17
|
+
...style
|
|
18
|
+
} : void 0
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// src/alert-dialog.tsx
|
|
23
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
24
|
+
var styles = {
|
|
25
|
+
popup: {
|
|
26
|
+
kWkggS: "xssngo0",
|
|
27
|
+
kVAM5u: "x1kqtvf4",
|
|
28
|
+
kaIpWk: "x9up7g5",
|
|
29
|
+
ksu8eU: "x1y0btm7",
|
|
30
|
+
kMzoRj: "x1al7nqq",
|
|
31
|
+
kGVxlE: "x1wlfqej",
|
|
32
|
+
k1xSpc: "x78zum5",
|
|
33
|
+
kXwgrk: "xdt5ytf",
|
|
34
|
+
kOIVth: "xb7usi1",
|
|
35
|
+
kskxy: "x1g15ey4",
|
|
36
|
+
ks0D6T: "x1983rqf",
|
|
37
|
+
kI3sdo: "x1a2a7pz",
|
|
38
|
+
kVQacm: "xysyzu8",
|
|
39
|
+
kmVPX3: "x18lnuv8",
|
|
40
|
+
kVAEAm: "x1n2onr6",
|
|
41
|
+
kIyJzY: "x1cvj37l",
|
|
42
|
+
k1ekBW: "x6o7n8i",
|
|
43
|
+
kAMwcw: "x1oxff63",
|
|
44
|
+
kzqmXN: "xh8yej3",
|
|
45
|
+
kdD3Bq: "x1i2unn7",
|
|
46
|
+
koVVf4: "x14doao2",
|
|
47
|
+
kQuUWH: "x1w3282i",
|
|
48
|
+
kRVfsM: "xqoz2hw",
|
|
49
|
+
kxero2: "xt8ron0",
|
|
50
|
+
kJ7s2Z: "x1mnfbwj",
|
|
51
|
+
kZj1XV: "x10uu9l5",
|
|
52
|
+
$$css: true
|
|
53
|
+
},
|
|
54
|
+
header: {
|
|
55
|
+
k1xSpc: "x78zum5",
|
|
56
|
+
kXwgrk: "xdt5ytf",
|
|
57
|
+
kOIVth: "x136xbx3",
|
|
58
|
+
$$css: true
|
|
59
|
+
},
|
|
60
|
+
footer: {
|
|
61
|
+
kGNEyG: "x6s0dn4",
|
|
62
|
+
k1xSpc: "x78zum5",
|
|
63
|
+
kwnvtZ: "x1a02dak",
|
|
64
|
+
kOIVth: "x136xbx3",
|
|
65
|
+
kjj79g: "x13a6bvl",
|
|
66
|
+
$$css: true
|
|
67
|
+
},
|
|
68
|
+
title: {
|
|
69
|
+
kMwMTN: "x1t28c4i",
|
|
70
|
+
kGuDYH: "xr5nsds",
|
|
71
|
+
k63SB2: "x5cgamv",
|
|
72
|
+
kLWn49: "x15rnifv",
|
|
73
|
+
kogj98: "x1ghz6dp",
|
|
74
|
+
$$css: true
|
|
75
|
+
},
|
|
76
|
+
description: {
|
|
77
|
+
kMwMTN: "xj9e3ow",
|
|
78
|
+
kGuDYH: "x1lskvfa",
|
|
79
|
+
kLWn49: "xipl0i2",
|
|
80
|
+
kogj98: "x1ghz6dp",
|
|
81
|
+
$$css: true
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
var AlertDialog = AlertDialogPrimitive.Root;
|
|
85
|
+
function AlertDialogTrigger(t0) {
|
|
86
|
+
const $ = _c(12);
|
|
87
|
+
let className;
|
|
88
|
+
let props2;
|
|
89
|
+
let style;
|
|
90
|
+
let xstyle;
|
|
91
|
+
if ($[0] !== t0) {
|
|
92
|
+
({
|
|
93
|
+
className,
|
|
94
|
+
style,
|
|
95
|
+
xstyle,
|
|
96
|
+
...props2
|
|
97
|
+
} = t0);
|
|
98
|
+
$[0] = t0;
|
|
99
|
+
$[1] = className;
|
|
100
|
+
$[2] = props2;
|
|
101
|
+
$[3] = style;
|
|
102
|
+
$[4] = xstyle;
|
|
103
|
+
} else {
|
|
104
|
+
className = $[1];
|
|
105
|
+
props2 = $[2];
|
|
106
|
+
style = $[3];
|
|
107
|
+
xstyle = $[4];
|
|
108
|
+
}
|
|
109
|
+
let t1;
|
|
110
|
+
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
111
|
+
t1 = mergeStyles(stylex.props(xstyle), className, style);
|
|
112
|
+
$[5] = className;
|
|
113
|
+
$[6] = style;
|
|
114
|
+
$[7] = xstyle;
|
|
115
|
+
$[8] = t1;
|
|
116
|
+
} else {
|
|
117
|
+
t1 = $[8];
|
|
118
|
+
}
|
|
119
|
+
let t2;
|
|
120
|
+
if ($[9] !== props2 || $[10] !== t1) {
|
|
121
|
+
t2 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Trigger, { ...props2, ...t1 });
|
|
122
|
+
$[9] = props2;
|
|
123
|
+
$[10] = t1;
|
|
124
|
+
$[11] = t2;
|
|
125
|
+
} else {
|
|
126
|
+
t2 = $[11];
|
|
127
|
+
}
|
|
128
|
+
return t2;
|
|
129
|
+
}
|
|
130
|
+
function AlertDialogContent(t0) {
|
|
131
|
+
const $ = _c(16);
|
|
132
|
+
let children;
|
|
133
|
+
let className;
|
|
134
|
+
let props2;
|
|
135
|
+
let style;
|
|
136
|
+
let xstyle;
|
|
137
|
+
if ($[0] !== t0) {
|
|
138
|
+
({
|
|
139
|
+
className,
|
|
140
|
+
style,
|
|
141
|
+
children,
|
|
142
|
+
xstyle,
|
|
143
|
+
...props2
|
|
144
|
+
} = t0);
|
|
145
|
+
$[0] = t0;
|
|
146
|
+
$[1] = children;
|
|
147
|
+
$[2] = className;
|
|
148
|
+
$[3] = props2;
|
|
149
|
+
$[4] = style;
|
|
150
|
+
$[5] = xstyle;
|
|
151
|
+
} else {
|
|
152
|
+
children = $[1];
|
|
153
|
+
className = $[2];
|
|
154
|
+
props2 = $[3];
|
|
155
|
+
style = $[4];
|
|
156
|
+
xstyle = $[5];
|
|
157
|
+
}
|
|
158
|
+
let t1;
|
|
159
|
+
if ($[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
160
|
+
t1 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Backdrop, { className: "xt65qkv x10a8y8t xixxii4 x1cvj37l x19991ni x1oxff63 x1ya9j91 x1llxi74 x1gqblgl x1w3282i xqoz2hw xt8ron0 x1mnfbwj" });
|
|
161
|
+
$[6] = t1;
|
|
162
|
+
} else {
|
|
163
|
+
t1 = $[6];
|
|
164
|
+
}
|
|
165
|
+
let t2;
|
|
166
|
+
if ($[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
167
|
+
t2 = {
|
|
168
|
+
className: "x6s0dn4 x78zum5 x10a8y8t xl56j7k xv3ig3d xixxii4 xqehhcd"
|
|
169
|
+
};
|
|
170
|
+
$[7] = t2;
|
|
171
|
+
} else {
|
|
172
|
+
t2 = $[7];
|
|
173
|
+
}
|
|
174
|
+
let t3;
|
|
175
|
+
if ($[8] !== className || $[9] !== style || $[10] !== xstyle) {
|
|
176
|
+
t3 = mergeStyles(stylex.props(styles.popup, xstyle), className, style);
|
|
177
|
+
$[8] = className;
|
|
178
|
+
$[9] = style;
|
|
179
|
+
$[10] = xstyle;
|
|
180
|
+
$[11] = t3;
|
|
181
|
+
} else {
|
|
182
|
+
t3 = $[11];
|
|
183
|
+
}
|
|
184
|
+
let t4;
|
|
185
|
+
if ($[12] !== children || $[13] !== props2 || $[14] !== t3) {
|
|
186
|
+
t4 = /* @__PURE__ */ jsxs(AlertDialogPrimitive.Portal, { children: [
|
|
187
|
+
t1,
|
|
188
|
+
/* @__PURE__ */ jsx(AlertDialogPrimitive.Viewport, { ...t2, children: /* @__PURE__ */ jsx(AlertDialogPrimitive.Popup, { ...props2, ...t3, children }) })
|
|
189
|
+
] });
|
|
190
|
+
$[12] = children;
|
|
191
|
+
$[13] = props2;
|
|
192
|
+
$[14] = t3;
|
|
193
|
+
$[15] = t4;
|
|
194
|
+
} else {
|
|
195
|
+
t4 = $[15];
|
|
196
|
+
}
|
|
197
|
+
return t4;
|
|
198
|
+
}
|
|
199
|
+
function AlertDialogHeader(t0) {
|
|
200
|
+
const $ = _c(12);
|
|
201
|
+
let className;
|
|
202
|
+
let props2;
|
|
203
|
+
let style;
|
|
204
|
+
let xstyle;
|
|
205
|
+
if ($[0] !== t0) {
|
|
206
|
+
({
|
|
207
|
+
className,
|
|
208
|
+
style,
|
|
209
|
+
xstyle,
|
|
210
|
+
...props2
|
|
211
|
+
} = t0);
|
|
212
|
+
$[0] = t0;
|
|
213
|
+
$[1] = className;
|
|
214
|
+
$[2] = props2;
|
|
215
|
+
$[3] = style;
|
|
216
|
+
$[4] = xstyle;
|
|
217
|
+
} else {
|
|
218
|
+
className = $[1];
|
|
219
|
+
props2 = $[2];
|
|
220
|
+
style = $[3];
|
|
221
|
+
xstyle = $[4];
|
|
222
|
+
}
|
|
223
|
+
let t1;
|
|
224
|
+
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
225
|
+
t1 = mergeStyles(stylex.props(styles.header, xstyle), className, style);
|
|
226
|
+
$[5] = className;
|
|
227
|
+
$[6] = style;
|
|
228
|
+
$[7] = xstyle;
|
|
229
|
+
$[8] = t1;
|
|
230
|
+
} else {
|
|
231
|
+
t1 = $[8];
|
|
232
|
+
}
|
|
233
|
+
let t2;
|
|
234
|
+
if ($[9] !== props2 || $[10] !== t1) {
|
|
235
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
236
|
+
$[9] = props2;
|
|
237
|
+
$[10] = t1;
|
|
238
|
+
$[11] = t2;
|
|
239
|
+
} else {
|
|
240
|
+
t2 = $[11];
|
|
241
|
+
}
|
|
242
|
+
return t2;
|
|
243
|
+
}
|
|
244
|
+
function AlertDialogFooter(t0) {
|
|
245
|
+
const $ = _c(12);
|
|
246
|
+
let className;
|
|
247
|
+
let props2;
|
|
248
|
+
let style;
|
|
249
|
+
let xstyle;
|
|
250
|
+
if ($[0] !== t0) {
|
|
251
|
+
({
|
|
252
|
+
className,
|
|
253
|
+
style,
|
|
254
|
+
xstyle,
|
|
255
|
+
...props2
|
|
256
|
+
} = t0);
|
|
257
|
+
$[0] = t0;
|
|
258
|
+
$[1] = className;
|
|
259
|
+
$[2] = props2;
|
|
260
|
+
$[3] = style;
|
|
261
|
+
$[4] = xstyle;
|
|
262
|
+
} else {
|
|
263
|
+
className = $[1];
|
|
264
|
+
props2 = $[2];
|
|
265
|
+
style = $[3];
|
|
266
|
+
xstyle = $[4];
|
|
267
|
+
}
|
|
268
|
+
let t1;
|
|
269
|
+
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
270
|
+
t1 = mergeStyles(stylex.props(styles.footer, xstyle), className, style);
|
|
271
|
+
$[5] = className;
|
|
272
|
+
$[6] = style;
|
|
273
|
+
$[7] = xstyle;
|
|
274
|
+
$[8] = t1;
|
|
275
|
+
} else {
|
|
276
|
+
t1 = $[8];
|
|
277
|
+
}
|
|
278
|
+
let t2;
|
|
279
|
+
if ($[9] !== props2 || $[10] !== t1) {
|
|
280
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
281
|
+
$[9] = props2;
|
|
282
|
+
$[10] = t1;
|
|
283
|
+
$[11] = t2;
|
|
284
|
+
} else {
|
|
285
|
+
t2 = $[11];
|
|
286
|
+
}
|
|
287
|
+
return t2;
|
|
288
|
+
}
|
|
289
|
+
function AlertDialogTitle(t0) {
|
|
290
|
+
const $ = _c(12);
|
|
291
|
+
let className;
|
|
292
|
+
let props2;
|
|
293
|
+
let style;
|
|
294
|
+
let xstyle;
|
|
295
|
+
if ($[0] !== t0) {
|
|
296
|
+
({
|
|
297
|
+
className,
|
|
298
|
+
style,
|
|
299
|
+
xstyle,
|
|
300
|
+
...props2
|
|
301
|
+
} = t0);
|
|
302
|
+
$[0] = t0;
|
|
303
|
+
$[1] = className;
|
|
304
|
+
$[2] = props2;
|
|
305
|
+
$[3] = style;
|
|
306
|
+
$[4] = xstyle;
|
|
307
|
+
} else {
|
|
308
|
+
className = $[1];
|
|
309
|
+
props2 = $[2];
|
|
310
|
+
style = $[3];
|
|
311
|
+
xstyle = $[4];
|
|
312
|
+
}
|
|
313
|
+
let t1;
|
|
314
|
+
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
315
|
+
t1 = mergeStyles(stylex.props(styles.title, xstyle), className, style);
|
|
316
|
+
$[5] = className;
|
|
317
|
+
$[6] = style;
|
|
318
|
+
$[7] = xstyle;
|
|
319
|
+
$[8] = t1;
|
|
320
|
+
} else {
|
|
321
|
+
t1 = $[8];
|
|
322
|
+
}
|
|
323
|
+
let t2;
|
|
324
|
+
if ($[9] !== props2 || $[10] !== t1) {
|
|
325
|
+
t2 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Title, { ...props2, ...t1 });
|
|
326
|
+
$[9] = props2;
|
|
327
|
+
$[10] = t1;
|
|
328
|
+
$[11] = t2;
|
|
329
|
+
} else {
|
|
330
|
+
t2 = $[11];
|
|
331
|
+
}
|
|
332
|
+
return t2;
|
|
333
|
+
}
|
|
334
|
+
function AlertDialogDescription(t0) {
|
|
335
|
+
const $ = _c(12);
|
|
336
|
+
let className;
|
|
337
|
+
let props2;
|
|
338
|
+
let style;
|
|
339
|
+
let xstyle;
|
|
340
|
+
if ($[0] !== t0) {
|
|
341
|
+
({
|
|
342
|
+
className,
|
|
343
|
+
style,
|
|
344
|
+
xstyle,
|
|
345
|
+
...props2
|
|
346
|
+
} = t0);
|
|
347
|
+
$[0] = t0;
|
|
348
|
+
$[1] = className;
|
|
349
|
+
$[2] = props2;
|
|
350
|
+
$[3] = style;
|
|
351
|
+
$[4] = xstyle;
|
|
352
|
+
} else {
|
|
353
|
+
className = $[1];
|
|
354
|
+
props2 = $[2];
|
|
355
|
+
style = $[3];
|
|
356
|
+
xstyle = $[4];
|
|
357
|
+
}
|
|
358
|
+
let t1;
|
|
359
|
+
if ($[5] !== className || $[6] !== style || $[7] !== xstyle) {
|
|
360
|
+
t1 = mergeStyles(stylex.props(styles.description, xstyle), className, style);
|
|
361
|
+
$[5] = className;
|
|
362
|
+
$[6] = style;
|
|
363
|
+
$[7] = xstyle;
|
|
364
|
+
$[8] = t1;
|
|
365
|
+
} else {
|
|
366
|
+
t1 = $[8];
|
|
367
|
+
}
|
|
368
|
+
let t2;
|
|
369
|
+
if ($[9] !== props2 || $[10] !== t1) {
|
|
370
|
+
t2 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Description, { ...props2, ...t1 });
|
|
371
|
+
$[9] = props2;
|
|
372
|
+
$[10] = t1;
|
|
373
|
+
$[11] = t2;
|
|
374
|
+
} else {
|
|
375
|
+
t2 = $[11];
|
|
376
|
+
}
|
|
377
|
+
return t2;
|
|
378
|
+
}
|
|
379
|
+
function AlertDialogCancel(t0) {
|
|
380
|
+
const $ = _c(8);
|
|
381
|
+
let children;
|
|
382
|
+
let props2;
|
|
383
|
+
if ($[0] !== t0) {
|
|
384
|
+
({
|
|
385
|
+
children,
|
|
386
|
+
...props2
|
|
387
|
+
} = t0);
|
|
388
|
+
$[0] = t0;
|
|
389
|
+
$[1] = children;
|
|
390
|
+
$[2] = props2;
|
|
391
|
+
} else {
|
|
392
|
+
children = $[1];
|
|
393
|
+
props2 = $[2];
|
|
394
|
+
}
|
|
395
|
+
let t1;
|
|
396
|
+
if ($[3] !== children) {
|
|
397
|
+
t1 = /* @__PURE__ */ jsx(Button, { variant: "secondary", children });
|
|
398
|
+
$[3] = children;
|
|
399
|
+
$[4] = t1;
|
|
400
|
+
} else {
|
|
401
|
+
t1 = $[4];
|
|
402
|
+
}
|
|
403
|
+
let t2;
|
|
404
|
+
if ($[5] !== props2 || $[6] !== t1) {
|
|
405
|
+
t2 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Close, { ...props2, render: t1 });
|
|
406
|
+
$[5] = props2;
|
|
407
|
+
$[6] = t1;
|
|
408
|
+
$[7] = t2;
|
|
409
|
+
} else {
|
|
410
|
+
t2 = $[7];
|
|
411
|
+
}
|
|
412
|
+
return t2;
|
|
413
|
+
}
|
|
414
|
+
function AlertDialogAction(t0) {
|
|
415
|
+
const $ = _c(8);
|
|
416
|
+
let children;
|
|
417
|
+
let props2;
|
|
418
|
+
if ($[0] !== t0) {
|
|
419
|
+
({
|
|
420
|
+
children,
|
|
421
|
+
...props2
|
|
422
|
+
} = t0);
|
|
423
|
+
$[0] = t0;
|
|
424
|
+
$[1] = children;
|
|
425
|
+
$[2] = props2;
|
|
426
|
+
} else {
|
|
427
|
+
children = $[1];
|
|
428
|
+
props2 = $[2];
|
|
429
|
+
}
|
|
430
|
+
let t1;
|
|
431
|
+
if ($[3] !== children) {
|
|
432
|
+
t1 = /* @__PURE__ */ jsx(Button, { variant: "destructive", children });
|
|
433
|
+
$[3] = children;
|
|
434
|
+
$[4] = t1;
|
|
435
|
+
} else {
|
|
436
|
+
t1 = $[4];
|
|
437
|
+
}
|
|
438
|
+
let t2;
|
|
439
|
+
if ($[5] !== props2 || $[6] !== t1) {
|
|
440
|
+
t2 = /* @__PURE__ */ jsx(AlertDialogPrimitive.Close, { ...props2, render: t1 });
|
|
441
|
+
$[5] = props2;
|
|
442
|
+
$[6] = t1;
|
|
443
|
+
$[7] = t2;
|
|
444
|
+
} else {
|
|
445
|
+
t2 = $[7];
|
|
446
|
+
}
|
|
447
|
+
return t2;
|
|
448
|
+
}
|
|
449
|
+
export {
|
|
450
|
+
AlertDialog,
|
|
451
|
+
AlertDialogAction,
|
|
452
|
+
AlertDialogCancel,
|
|
453
|
+
AlertDialogContent,
|
|
454
|
+
AlertDialogDescription,
|
|
455
|
+
AlertDialogFooter,
|
|
456
|
+
AlertDialogHeader,
|
|
457
|
+
AlertDialogTitle,
|
|
458
|
+
AlertDialogTrigger
|
|
459
|
+
};
|
|
460
|
+
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/alert-dialog.tsx", "../src/styles/merge-styles.ts"],
|
|
4
|
+
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { AlertDialog as AlertDialogPrimitive } from \"@base-ui/react/alert-dialog\";\nimport { colorVars, layerVars, motionVars, radiusVars, shadowVars, sizeVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { Button } from \"./button\";\nimport type { ControlPlacementStyles } from \"./styles/control-layout\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\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: \"x1983rqf\",\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 $$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 AlertDialog = AlertDialogPrimitive.Root;\nexport function AlertDialogTrigger(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 = <AlertDialogPrimitive.Trigger {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\ntype AlertDialogContentProps = StyledProps<ComponentProps<typeof AlertDialogPrimitive.Popup>> & {\n children: ReactNode;\n xstyle?: stylex.StyleXStyles;\n};\nexport function AlertDialogContent(t0) {\n const $ = _c(16);\n let children;\n let className;\n let props;\n let style;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n children,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = className;\n $[3] = props;\n $[4] = style;\n $[5] = xstyle;\n } else {\n children = $[1];\n className = $[2];\n props = $[3];\n style = $[4];\n xstyle = $[5];\n }\n let t1;\n if ($[6] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t1 = <AlertDialogPrimitive.Backdrop className=\"xt65qkv x10a8y8t xixxii4 x1cvj37l x19991ni x1oxff63 x1ya9j91 x1llxi74 x1gqblgl x1w3282i xqoz2hw xt8ron0 x1mnfbwj\" />;\n $[6] = t1;\n } else {\n t1 = $[6];\n }\n let t2;\n if ($[7] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t2 = {\n className: \"x6s0dn4 x78zum5 x10a8y8t xl56j7k xv3ig3d xixxii4 xqehhcd\"\n };\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n let t3;\n if ($[8] !== className || $[9] !== style || $[10] !== xstyle) {\n t3 = mergeStyles(stylex.props(styles.popup, xstyle), className, style);\n $[8] = className;\n $[9] = style;\n $[10] = xstyle;\n $[11] = t3;\n } else {\n t3 = $[11];\n }\n let t4;\n if ($[12] !== children || $[13] !== props || $[14] !== t3) {\n t4 = <AlertDialogPrimitive.Portal>{t1}<AlertDialogPrimitive.Viewport {...t2}><AlertDialogPrimitive.Popup {...props} {...t3}>{children}</AlertDialogPrimitive.Popup></AlertDialogPrimitive.Viewport></AlertDialogPrimitive.Portal>;\n $[12] = children;\n $[13] = props;\n $[14] = t3;\n $[15] = t4;\n } else {\n t4 = $[15];\n }\n return t4;\n}\nexport function AlertDialogHeader(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 AlertDialogFooter(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 AlertDialogTitle(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 = <AlertDialogPrimitive.Title {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\nexport function AlertDialogDescription(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 = <AlertDialogPrimitive.Description {...props} {...t1} />;\n $[9] = props;\n $[10] = t1;\n $[11] = t2;\n } else {\n t2 = $[11];\n }\n return t2;\n}\ntype AlertDialogButtonProps = StyledProps<ComponentProps<typeof AlertDialogPrimitive.Close>>;\nexport function AlertDialogCancel(t0) {\n const $ = _c(8);\n let children;\n let props;\n if ($[0] !== t0) {\n ({\n children,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = props;\n } else {\n children = $[1];\n props = $[2];\n }\n let t1;\n if ($[3] !== children) {\n t1 = <Button variant=\"secondary\">{children}</Button>;\n $[3] = children;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n let t2;\n if ($[5] !== props || $[6] !== t1) {\n t2 = <AlertDialogPrimitive.Close {...props} render={t1} />;\n $[5] = props;\n $[6] = t1;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}\nexport function AlertDialogAction(t0) {\n const $ = _c(8);\n let children;\n let props;\n if ($[0] !== t0) {\n ({\n children,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = props;\n } else {\n children = $[1];\n props = $[2];\n }\n let t1;\n if ($[3] !== children) {\n t1 = <Button variant=\"destructive\">{children}</Button>;\n $[3] = children;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n let t2;\n if ($[5] !== props || $[6] !== t1) {\n t2 = <AlertDialogPrimitive.Close {...props} render={t1} />;\n $[5] = props;\n $[6] = t1;\n $[7] = t2;\n } else {\n t2 = $[7];\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}"],
|
|
5
|
+
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AACxB,SAAS,eAAe,4BAA4B;AAEpD,YAAY,YAAY;AAExB,SAAS,cAAc;;;ACDhB,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;;;ADyFS,cAqEA,YArEA;AAjGT,IAAM,SAAS;AAAA,EACb,OAAO;AAAA,IACL,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,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,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR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MAAE,CAAC,IAAIA;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AAAA,EACT,OAAO;AACL,SAAK,EAAE,CAAC;AAAA,EACV;AACA,SAAO;AACT;",
|
|
6
|
+
"names": ["props"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
import type { ComponentProps } from "react";
|
|
3
|
+
import type { StyledProps } from "./styles/merge-styles";
|
|
4
|
+
export type AspectRatioProps = StyledProps<ComponentProps<"div">> & {
|
|
5
|
+
ratio?: number;
|
|
6
|
+
xstyle?: stylex.StyleXStyles;
|
|
7
|
+
};
|
|
8
|
+
export declare function AspectRatio({ className, style, ratio, xstyle, ...props }: AspectRatioProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/aspect-ratio.tsx
|
|
2
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
|
+
|
|
4
|
+
// src/styles/merge-styles.ts
|
|
5
|
+
function mergeStyles(base, className, style) {
|
|
6
|
+
if (className === void 0 && style === void 0) return base;
|
|
7
|
+
return {
|
|
8
|
+
...base,
|
|
9
|
+
className: [base.className, className].filter(Boolean).join(" ") || void 0,
|
|
10
|
+
style: base.style || style ? {
|
|
11
|
+
...base.style,
|
|
12
|
+
...style
|
|
13
|
+
} : void 0
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// src/aspect-ratio.tsx
|
|
18
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
var _temp = {
|
|
20
|
+
kVQacm: "xb3r6kr",
|
|
21
|
+
kVAEAm: "x1n2onr6",
|
|
22
|
+
kzqmXN: "xh8yej3",
|
|
23
|
+
"$$css": true
|
|
24
|
+
};
|
|
25
|
+
var styles = {
|
|
26
|
+
root: (ratio) => [_temp, {
|
|
27
|
+
kOBAk4: ratio != null ? "x10y9f9r" : ratio,
|
|
28
|
+
$$css: true
|
|
29
|
+
}, {
|
|
30
|
+
"--x-aspectRatio": ratio != null ? ratio : void 0
|
|
31
|
+
}]
|
|
32
|
+
};
|
|
33
|
+
function AspectRatio({
|
|
34
|
+
className,
|
|
35
|
+
style,
|
|
36
|
+
ratio = 1,
|
|
37
|
+
xstyle,
|
|
38
|
+
...props2
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ jsx("div", { ...props2, ...mergeStyles(stylex.props(styles.root(ratio), xstyle), className, style) });
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
AspectRatio
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=aspect-ratio.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/aspect-ratio.tsx", "../src/styles/merge-styles.ts"],
|
|
4
|
+
"sourcesContent": ["import * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\nconst _temp = {\n kVQacm: \"xb3r6kr\",\n kVAEAm: \"x1n2onr6\",\n kzqmXN: \"xh8yej3\",\n \"$$css\": true\n};\nconst styles = {\n root: (ratio: number) => [_temp, {\n kOBAk4: ratio != null ? \"x10y9f9r\" : ratio,\n $$css: true\n }, {\n \"--x-aspectRatio\": ratio != null ? ratio : undefined\n }]\n};\nexport type AspectRatioProps = StyledProps<ComponentProps<\"div\">> & {\n ratio?: number;\n xstyle?: stylex.StyleXStyles;\n};\nexport function AspectRatio({\n className,\n style,\n ratio = 1,\n xstyle,\n ...props\n}: AspectRatioProps) {\n return <div {...props} {...mergeStyles(stylex.props(styles.root(ratio), xstyle), className, style)} />;\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}"],
|
|
5
|
+
"mappings": ";AAAA,YAAY,YAAY;;;ACMjB,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;;;ADUS;AAzBT,IAAM,QAAQ;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AACX;AACA,IAAM,SAAS;AAAA,EACb,MAAM,CAAC,UAAkB,CAAC,OAAO;AAAA,IAC/B,QAAQ,SAAS,OAAO,aAAa;AAAA,IACrC,OAAO;AAAA,EACT,GAAG;AAAA,IACD,mBAAmB,SAAS,OAAO,QAAQ;AAAA,EAC7C,CAAC;AACH;AAKO,SAAS,YAAY;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR;AAAA,EACA,GAAGA;AACL,GAAqB;AACnB,SAAO,oBAAC,SAAK,GAAGA,QAAQ,GAAG,YAAmB,aAAM,OAAO,KAAK,KAAK,GAAG,MAAM,GAAG,WAAW,KAAK,GAAG;AACtG;",
|
|
6
|
+
"names": ["props"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
import type { ComponentProps } from "react";
|
|
3
|
+
import { type ButtonProps } from "./button";
|
|
4
|
+
import type { ControlPlacementStyles } from "./styles/control-layout";
|
|
5
|
+
import type { StyledProps } from "./styles/merge-styles";
|
|
6
|
+
export type AttachmentState = "done" | "error" | "idle" | "processing" | "uploading";
|
|
7
|
+
export type AttachmentSize = "default" | "sm" | "xs";
|
|
8
|
+
export type AttachmentProps = StyledProps<Omit<ComponentProps<"div">, "title">> & {
|
|
9
|
+
orientation?: "horizontal" | "vertical";
|
|
10
|
+
size?: AttachmentSize;
|
|
11
|
+
state?: AttachmentState;
|
|
12
|
+
xstyle?: stylex.StyleXStyles;
|
|
13
|
+
};
|
|
14
|
+
export declare function Attachment({ className, style, orientation, size, state, xstyle, ...props }: AttachmentProps): import("react").JSX.Element;
|
|
15
|
+
export type AttachmentMediaProps = StyledProps<ComponentProps<"div">> & {
|
|
16
|
+
variant?: "icon" | "image";
|
|
17
|
+
xstyle?: stylex.StyleXStyles;
|
|
18
|
+
};
|
|
19
|
+
export declare function AttachmentMedia({ className, style, xstyle, variant, ...props }: AttachmentMediaProps): import("react").JSX.Element;
|
|
20
|
+
export declare function AttachmentContent({ className, style, xstyle, ...props }: StyledProps<ComponentProps<"div">> & {
|
|
21
|
+
xstyle?: stylex.StyleXStyles;
|
|
22
|
+
}): import("react").JSX.Element;
|
|
23
|
+
export declare function AttachmentTitle({ className, style, xstyle, ...props }: StyledProps<ComponentProps<"div">> & {
|
|
24
|
+
xstyle?: ControlPlacementStyles;
|
|
25
|
+
}): import("react").JSX.Element;
|
|
26
|
+
export declare function AttachmentDescription({ className, style, xstyle, ...props }: StyledProps<ComponentProps<"p">> & {
|
|
27
|
+
xstyle?: ControlPlacementStyles;
|
|
28
|
+
}): import("react").JSX.Element;
|
|
29
|
+
export declare function AttachmentActions({ className, style, xstyle, ...props }: StyledProps<ComponentProps<"div">> & {
|
|
30
|
+
xstyle?: stylex.StyleXStyles;
|
|
31
|
+
}): import("react").JSX.Element;
|
|
32
|
+
export type AttachmentActionProps = Omit<ButtonProps, "size" | "variant">;
|
|
33
|
+
export declare function AttachmentAction({ xstyle, ...props }: AttachmentActionProps): import("react").JSX.Element;
|
|
34
|
+
export declare function AttachmentTrigger({ className, style, xstyle, type, ...props }: StyledProps<ComponentProps<"button">> & {
|
|
35
|
+
xstyle?: ControlPlacementStyles;
|
|
36
|
+
}): import("react").JSX.Element;
|
|
37
|
+
export declare function AttachmentGroup({ className, style, xstyle, ...props }: StyledProps<ComponentProps<"div">> & {
|
|
38
|
+
xstyle?: stylex.StyleXStyles;
|
|
39
|
+
}): import("react").JSX.Element;
|