@nuee/ui 0.4.0 → 0.5.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/Icon.js +2 -0
- package/dist/Icon.js.map +2 -2
- package/dist/accordion.d.ts +4 -4
- package/dist/accordion.js +105 -207
- package/dist/accordion.js.map +4 -4
- package/dist/alert-dialog.d.ts +6 -6
- package/dist/alert-dialog.js +83 -352
- package/dist/alert-dialog.js.map +4 -4
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.js +6 -42
- package/dist/aspect-ratio.js.map +2 -2
- package/dist/attachment.d.ts +8 -8
- package/dist/attachment.js +82 -314
- package/dist/attachment.js.map +4 -4
- package/dist/avatar.d.ts +7 -9
- package/dist/avatar.js +29 -71
- package/dist/avatar.js.map +2 -2
- package/dist/badge.d.ts +2 -4
- package/dist/badge.js +7 -44
- package/dist/badge.js.map +2 -2
- package/dist/banner.d.ts +4 -7
- package/dist/banner.js +35 -273
- package/dist/banner.js.map +2 -2
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.js +12 -92
- package/dist/breadcrumb.js.map +4 -4
- package/dist/bubble.d.ts +6 -4
- package/dist/bubble.js +17 -55
- package/dist/bubble.js.map +2 -2
- package/dist/button-group.d.ts +5 -5
- package/dist/button-group.js +113 -159
- package/dist/button-group.js.map +4 -4
- package/dist/button.d.ts +7 -5
- package/dist/button.js +141 -44
- package/dist/button.js.map +2 -2
- package/dist/calendar.d.ts +9 -0
- package/dist/calendar.js +234 -0
- package/dist/calendar.js.map +7 -0
- package/dist/card.d.ts +3 -3
- package/dist/card.js +31 -216
- package/dist/card.js.map +2 -2
- package/dist/carousel.d.ts +28 -0
- package/dist/carousel.js +427 -0
- package/dist/carousel.js.map +7 -0
- package/dist/checkbox.d.ts +3 -3
- package/dist/checkbox.js +45 -115
- package/dist/checkbox.js.map +4 -4
- package/dist/collapsible.d.ts +3 -3
- package/dist/collapsible.js +96 -184
- package/dist/collapsible.js.map +4 -4
- package/dist/combobox.d.ts +6 -6
- package/dist/combobox.js +182 -268
- package/dist/combobox.js.map +4 -4
- package/dist/content-row.d.ts +7 -7
- package/dist/content-row.js +97 -241
- package/dist/content-row.js.map +3 -3
- package/dist/context-menu.js +15 -738
- package/dist/context-menu.js.map +4 -4
- package/dist/control-layout.d.ts +9 -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 +5 -5
- package/dist/dialog.js +44 -161
- package/dist/dialog.js.map +4 -4
- package/dist/drawer.d.ts +8 -8
- package/dist/drawer.js +80 -119
- package/dist/drawer.js.map +2 -2
- package/dist/dropdown-menu.d.ts +8 -8
- package/dist/dropdown-menu.js +244 -416
- package/dist/dropdown-menu.js.map +4 -4
- package/dist/empty.d.ts +6 -6
- package/dist/empty.js +31 -210
- package/dist/empty.js.map +2 -2
- package/dist/field.d.ts +9 -9
- package/dist/field.js +81 -31
- package/dist/field.js.map +3 -3
- package/dist/global.css +5 -0
- package/dist/heading.d.ts +6 -0
- package/dist/heading.js +92 -0
- package/dist/heading.js.map +7 -0
- package/dist/hover-card.d.ts +7 -4
- package/dist/hover-card.js +51 -3
- package/dist/hover-card.js.map +2 -2
- package/dist/index.d.ts +14 -8
- package/dist/index.js +295 -12210
- package/dist/index.js.map +4 -4
- package/dist/input-group.d.ts +5 -5
- package/dist/input-group.js +95 -485
- package/dist/input-group.js.map +4 -4
- package/dist/input-otp.d.ts +6 -6
- package/dist/input-otp.js +18 -43
- package/dist/input-otp.js.map +2 -2
- package/dist/input.d.ts +3 -3
- package/dist/input.js +7 -4
- package/dist/input.js.map +2 -2
- package/dist/kbd.d.ts +2 -7
- package/dist/kbd.js +4 -99
- package/dist/kbd.js.map +3 -3
- package/dist/label.d.ts +2 -5
- package/dist/label.js +64 -39
- package/dist/label.js.map +3 -3
- package/dist/link.d.ts +3 -5
- package/dist/link.js +22 -107
- package/dist/link.js.map +4 -4
- package/dist/marker.d.ts +3 -3
- package/dist/marker.js +17 -104
- package/dist/marker.js.map +2 -2
- package/dist/menubar.d.ts +2 -2
- package/dist/menubar.js +36 -772
- package/dist/menubar.js.map +4 -4
- package/dist/message.d.ts +9 -6
- package/dist/message.js +35 -155
- package/dist/message.js.map +2 -2
- package/dist/native-select.d.ts +5 -5
- package/dist/native-select.js +24 -102
- package/dist/native-select.js.map +4 -4
- package/dist/navigation-menu.d.ts +7 -7
- package/dist/navigation-menu.js +183 -307
- package/dist/navigation-menu.js.map +4 -4
- package/dist/pagination.d.ts +5 -5
- package/dist/pagination.js +13 -92
- package/dist/pagination.js.map +4 -4
- package/dist/popover.d.ts +4 -4
- package/dist/popover.js +44 -36
- package/dist/popover.js.map +3 -3
- package/dist/primitives.js +2 -0
- package/dist/primitives.js.map +2 -2
- package/dist/progress.d.ts +3 -3
- package/dist/progress.js +16 -30
- package/dist/progress.js.map +2 -2
- package/dist/radio-group.d.ts +5 -5
- package/dist/radio-group.js +43 -49
- package/dist/radio-group.js.map +3 -3
- package/dist/reset.css +0 -1
- package/dist/scroll-area.d.ts +2 -2
- package/dist/scroll-area.js +56 -80
- package/dist/scroll-area.js.map +2 -2
- package/dist/select.d.ts +5 -5
- package/dist/select.js +169 -255
- package/dist/select.js.map +4 -4
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +11 -10
- package/dist/separator.js.map +2 -2
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +6 -37
- package/dist/skeleton.js.map +2 -2
- package/dist/slider.d.ts +3 -3
- package/dist/slider.js +37 -46
- package/dist/slider.js.map +2 -2
- package/dist/spinner.d.ts +2 -4
- package/dist/spinner.js +5 -61
- package/dist/spinner.js.map +3 -3
- package/dist/stylex.css +463 -307
- package/dist/switch.d.ts +3 -3
- package/dist/switch.js +49 -35
- package/dist/switch.js.map +3 -3
- package/dist/table.d.ts +9 -10
- package/dist/table.js +33 -274
- package/dist/table.js.map +2 -2
- package/dist/tabs.d.ts +4 -4
- package/dist/tabs.js +84 -135
- package/dist/tabs.js.map +3 -3
- package/dist/textarea.d.ts +3 -3
- package/dist/textarea.js +11 -43
- package/dist/textarea.js.map +2 -2
- package/dist/timeline.d.ts +19 -0
- package/dist/timeline.js +104 -0
- package/dist/timeline.js.map +7 -0
- package/dist/toast.d.ts +4 -2
- package/dist/toast.js +261 -485
- package/dist/toast.js.map +4 -4
- package/dist/toast.stylex.d.ts +4 -2
- package/dist/toggle-group.d.ts +5 -5
- package/dist/toggle-group.js +52 -60
- package/dist/toggle-group.js.map +3 -3
- package/dist/toggle.d.ts +3 -3
- package/dist/toggle.js +28 -20
- package/dist/toggle.js.map +3 -3
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +52 -44
- package/dist/tooltip.js.map +3 -3
- package/dist/typography.d.ts +50 -294
- package/package.json +15 -7
- package/dist/message-scroller.d.ts +0 -10
- package/dist/message-scroller.js +0 -464
- package/dist/message-scroller.js.map +0 -7
- package/dist/typography.js +0 -85
- package/dist/typography.js.map +0 -7
package/dist/attachment.js
CHANGED
|
@@ -1,243 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import { c as _c2 } from "react/compiler-runtime";
|
|
3
|
-
import * as stylex2 from "@stylexjs/stylex";
|
|
1
|
+
"use client";
|
|
4
2
|
|
|
5
|
-
// src/
|
|
3
|
+
// src/attachment.tsx
|
|
6
4
|
import { c as _c } from "react/compiler-runtime";
|
|
7
|
-
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
8
5
|
import * as stylex from "@stylexjs/stylex";
|
|
6
|
+
import { Button } from "./button.js";
|
|
9
7
|
import { jsx } from "react/jsx-runtime";
|
|
10
8
|
var styles = {
|
|
11
|
-
root: {
|
|
12
|
-
kGNEyG: "x6s0dn4",
|
|
13
|
-
kysU6D: "xjyslct",
|
|
14
|
-
ksu8eU: "x1y0btm7",
|
|
15
|
-
kMzoRj: "xzgztj1",
|
|
16
|
-
kkrTdU: "x1ypdohk",
|
|
17
|
-
k1xSpc: "x3nfvp2",
|
|
18
|
-
kGuDYH: "x99mhxu",
|
|
19
|
-
k63SB2: "x1v899x5",
|
|
20
|
-
kOIVth: "x1uj7ll3",
|
|
21
|
-
kHBbk8: "xc8icb0",
|
|
22
|
-
kjj79g: "xl56j7k",
|
|
23
|
-
kLWn49: "x1hfsx4t",
|
|
24
|
-
kI3sdo: "x1a2a7pz",
|
|
25
|
-
kVQacm: "xb3r6kr",
|
|
26
|
-
kVAEAm: "x1n2onr6",
|
|
27
|
-
kIyJzY: "xdshaxz",
|
|
28
|
-
k1ekBW: "x1qsmvhx",
|
|
29
|
-
kAMwcw: "xscx6xn",
|
|
30
|
-
kfSwDN: "x87ps6o",
|
|
31
|
-
khDVqt: "xuxw1ft",
|
|
32
|
-
kZs9gx: "x7yqiub",
|
|
33
|
-
kiEn40: "xzvmsi2",
|
|
34
|
-
k7shQP: "x9v5kkp",
|
|
35
|
-
kPJHz1: "x11ci167",
|
|
36
|
-
kYPGJ8: "x1s07b3s",
|
|
37
|
-
kLkRvE: "xqhzmhv",
|
|
38
|
-
kgeoSG: "x1cpjm7i",
|
|
39
|
-
kFcpXp: "xxx281p",
|
|
40
|
-
km8f2m: "xkk1bqk",
|
|
41
|
-
kEoFBp: "x1hmns74",
|
|
42
|
-
kxmVGU: "x2hztxu",
|
|
43
|
-
$$css: true
|
|
44
|
-
},
|
|
45
|
-
solidInteraction: {
|
|
46
|
-
kLkRvE: "xqhzmhv x1v9rfms x1c9ljbx",
|
|
47
|
-
$$css: true
|
|
48
|
-
},
|
|
49
|
-
surfaceInteraction: {
|
|
50
|
-
kLkRvE: "xqhzmhv x10nvyxg x1kux2mm",
|
|
51
|
-
$$css: true
|
|
52
|
-
},
|
|
53
|
-
content: {
|
|
54
|
-
kGNEyG: "x6s0dn4",
|
|
55
|
-
k1xSpc: "x3nfvp2",
|
|
56
|
-
kOIVth: "x1uj7ll3",
|
|
57
|
-
kVAEAm: "x1n2onr6",
|
|
58
|
-
kY2c9j: "x1vjfegm",
|
|
59
|
-
$$css: true
|
|
60
|
-
},
|
|
61
|
-
primaryContent: {
|
|
62
|
-
kMwMTN: "x1mij46l",
|
|
63
|
-
$$css: true
|
|
64
|
-
},
|
|
65
|
-
destructiveContent: {
|
|
66
|
-
kMwMTN: "xte0b6o",
|
|
67
|
-
$$css: true
|
|
68
|
-
},
|
|
69
|
-
disabledContent: {
|
|
70
|
-
kMwMTN: "x2rig74",
|
|
71
|
-
$$css: true
|
|
72
|
-
},
|
|
73
|
-
primary: {
|
|
74
|
-
kWkggS: "x92qhq",
|
|
75
|
-
kVAM5u: "x1nbx55b",
|
|
76
|
-
kMwMTN: "x1mij46l",
|
|
77
|
-
$$css: true
|
|
78
|
-
},
|
|
79
|
-
secondary: {
|
|
80
|
-
kWkggS: "x8m6yc2",
|
|
81
|
-
kVAM5u: "x13xm7is",
|
|
82
|
-
kMwMTN: "x1alews2",
|
|
83
|
-
$$css: true
|
|
84
|
-
},
|
|
85
|
-
ghost: {
|
|
86
|
-
kWkggS: "xnar5hm",
|
|
87
|
-
kVAM5u: "x38l7vw",
|
|
88
|
-
kMwMTN: "x1alews2",
|
|
89
|
-
$$css: true
|
|
90
|
-
},
|
|
91
|
-
destructive: {
|
|
92
|
-
kWkggS: "xstylu5",
|
|
93
|
-
kVAM5u: "xg020jo",
|
|
94
|
-
kMwMTN: "xte0b6o",
|
|
95
|
-
$$css: true
|
|
96
|
-
},
|
|
97
|
-
disabled: {
|
|
98
|
-
kWkggS: "x1fdj243",
|
|
99
|
-
kVAM5u: "x13xm7is",
|
|
100
|
-
kMwMTN: "x2rig74",
|
|
101
|
-
$$css: true
|
|
102
|
-
},
|
|
103
|
-
disabledGhost: {
|
|
104
|
-
kWkggS: "xnar5hm",
|
|
105
|
-
kVAM5u: "x38l7vw",
|
|
106
|
-
$$css: true
|
|
107
|
-
},
|
|
108
|
-
disabledInteraction: {
|
|
109
|
-
kLkRvE: "xqhzmhv",
|
|
110
|
-
$$css: true
|
|
111
|
-
},
|
|
112
|
-
sm: {
|
|
113
|
-
kaIpWk: "x7c24we",
|
|
114
|
-
kZKoxP: "x5vhmdc",
|
|
115
|
-
kg3NbH: "xdaxh69",
|
|
116
|
-
$$css: true
|
|
117
|
-
},
|
|
118
|
-
md: {
|
|
119
|
-
kaIpWk: "x7c24we",
|
|
120
|
-
kZKoxP: "x1f831s2",
|
|
121
|
-
kg3NbH: "x19pklni",
|
|
122
|
-
$$css: true
|
|
123
|
-
},
|
|
124
|
-
lg: {
|
|
125
|
-
kaIpWk: "x7c24we",
|
|
126
|
-
kZKoxP: "xbdy5jr",
|
|
127
|
-
kg3NbH: "xo72ft4",
|
|
128
|
-
$$css: true
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
function Button(t0) {
|
|
132
|
-
const $ = _c(24);
|
|
133
|
-
let children;
|
|
134
|
-
let disabled;
|
|
135
|
-
let props3;
|
|
136
|
-
let t1;
|
|
137
|
-
let t2;
|
|
138
|
-
let xstyle;
|
|
139
|
-
if ($[0] !== t0) {
|
|
140
|
-
({
|
|
141
|
-
children,
|
|
142
|
-
disabled,
|
|
143
|
-
size: t1,
|
|
144
|
-
variant: t2,
|
|
145
|
-
xstyle,
|
|
146
|
-
...props3
|
|
147
|
-
} = t0);
|
|
148
|
-
$[0] = t0;
|
|
149
|
-
$[1] = children;
|
|
150
|
-
$[2] = disabled;
|
|
151
|
-
$[3] = props3;
|
|
152
|
-
$[4] = t1;
|
|
153
|
-
$[5] = t2;
|
|
154
|
-
$[6] = xstyle;
|
|
155
|
-
} else {
|
|
156
|
-
children = $[1];
|
|
157
|
-
disabled = $[2];
|
|
158
|
-
props3 = $[3];
|
|
159
|
-
t1 = $[4];
|
|
160
|
-
t2 = $[5];
|
|
161
|
-
xstyle = $[6];
|
|
162
|
-
}
|
|
163
|
-
const size = t1 === void 0 ? "md" : t1;
|
|
164
|
-
const variant = t2 === void 0 ? "primary" : t2;
|
|
165
|
-
const isDisabled = Boolean(disabled);
|
|
166
|
-
const hasSolidBackground = variant === "primary" || variant === "destructive";
|
|
167
|
-
let t3;
|
|
168
|
-
if ($[7] !== hasSolidBackground || $[8] !== isDisabled || $[9] !== size || $[10] !== variant || $[11] !== xstyle) {
|
|
169
|
-
t3 = stylex.props(styles.root, styles[variant], styles[size], hasSolidBackground ? styles.solidInteraction : styles.surfaceInteraction, isDisabled && styles.disabled, isDisabled && variant === "ghost" && styles.disabledGhost, isDisabled && styles.disabledInteraction, xstyle);
|
|
170
|
-
$[7] = hasSolidBackground;
|
|
171
|
-
$[8] = isDisabled;
|
|
172
|
-
$[9] = size;
|
|
173
|
-
$[10] = variant;
|
|
174
|
-
$[11] = xstyle;
|
|
175
|
-
$[12] = t3;
|
|
176
|
-
} else {
|
|
177
|
-
t3 = $[12];
|
|
178
|
-
}
|
|
179
|
-
const stylexProps = t3;
|
|
180
|
-
let t4;
|
|
181
|
-
if ($[13] !== isDisabled || $[14] !== variant) {
|
|
182
|
-
t4 = {
|
|
183
|
-
0: {
|
|
184
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm"
|
|
185
|
-
},
|
|
186
|
-
4: {
|
|
187
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm x1mij46l"
|
|
188
|
-
},
|
|
189
|
-
2: {
|
|
190
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm xte0b6o"
|
|
191
|
-
},
|
|
192
|
-
6: {
|
|
193
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm xte0b6o"
|
|
194
|
-
},
|
|
195
|
-
1: {
|
|
196
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm x2rig74"
|
|
197
|
-
},
|
|
198
|
-
5: {
|
|
199
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm x2rig74"
|
|
200
|
-
},
|
|
201
|
-
3: {
|
|
202
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm x2rig74"
|
|
203
|
-
},
|
|
204
|
-
7: {
|
|
205
|
-
className: "x6s0dn4 x3nfvp2 x1uj7ll3 x1n2onr6 x1vjfegm x2rig74"
|
|
206
|
-
}
|
|
207
|
-
}[!!(variant === "primary") << 2 | !!(variant === "destructive") << 1 | !!isDisabled << 0];
|
|
208
|
-
$[13] = isDisabled;
|
|
209
|
-
$[14] = variant;
|
|
210
|
-
$[15] = t4;
|
|
211
|
-
} else {
|
|
212
|
-
t4 = $[15];
|
|
213
|
-
}
|
|
214
|
-
const contentStylexProps = t4;
|
|
215
|
-
let t5;
|
|
216
|
-
if ($[16] !== children || $[17] !== contentStylexProps) {
|
|
217
|
-
t5 = /* @__PURE__ */ jsx("span", { ...contentStylexProps, children });
|
|
218
|
-
$[16] = children;
|
|
219
|
-
$[17] = contentStylexProps;
|
|
220
|
-
$[18] = t5;
|
|
221
|
-
} else {
|
|
222
|
-
t5 = $[18];
|
|
223
|
-
}
|
|
224
|
-
let t6;
|
|
225
|
-
if ($[19] !== disabled || $[20] !== props3 || $[21] !== stylexProps || $[22] !== t5) {
|
|
226
|
-
t6 = /* @__PURE__ */ jsx(ButtonPrimitive, { ...props3, disabled, ...stylexProps, children: t5 });
|
|
227
|
-
$[19] = disabled;
|
|
228
|
-
$[20] = props3;
|
|
229
|
-
$[21] = stylexProps;
|
|
230
|
-
$[22] = t5;
|
|
231
|
-
$[23] = t6;
|
|
232
|
-
} else {
|
|
233
|
-
t6 = $[23];
|
|
234
|
-
}
|
|
235
|
-
return t6;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
// src/attachment.tsx
|
|
239
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
240
|
-
var styles2 = {
|
|
241
9
|
root: {
|
|
242
10
|
kGNEyG: "x6s0dn4",
|
|
243
11
|
kWkggS: "x8m6yc2",
|
|
@@ -283,7 +51,7 @@ var styles2 = {
|
|
|
283
51
|
},
|
|
284
52
|
error: {
|
|
285
53
|
kWkggS: "x16jirg3",
|
|
286
|
-
kVAM5u: "
|
|
54
|
+
kVAM5u: "x9r1u3d",
|
|
287
55
|
$$css: true
|
|
288
56
|
},
|
|
289
57
|
media: {
|
|
@@ -315,7 +83,8 @@ var styles2 = {
|
|
|
315
83
|
kXwgrk: "xdt5ytf",
|
|
316
84
|
kOIVth: "x1kr9b5u",
|
|
317
85
|
k7Eaqz: "xeuugli",
|
|
318
|
-
|
|
86
|
+
kwRFfy: "xqp18zy",
|
|
87
|
+
kZCmMZ: "x15x5vka",
|
|
319
88
|
$$css: true
|
|
320
89
|
},
|
|
321
90
|
title: {
|
|
@@ -345,7 +114,6 @@ var styles2 = {
|
|
|
345
114
|
},
|
|
346
115
|
action: {
|
|
347
116
|
k7Eaqz: "xneaidr",
|
|
348
|
-
kg3NbH: "x1cot6zx",
|
|
349
117
|
$$css: true
|
|
350
118
|
},
|
|
351
119
|
trigger: {
|
|
@@ -371,8 +139,8 @@ var styles2 = {
|
|
|
371
139
|
}
|
|
372
140
|
};
|
|
373
141
|
function Attachment(t0) {
|
|
374
|
-
const $ =
|
|
375
|
-
let
|
|
142
|
+
const $ = _c(16);
|
|
143
|
+
let props2;
|
|
376
144
|
let t1;
|
|
377
145
|
let t2;
|
|
378
146
|
let t3;
|
|
@@ -383,16 +151,16 @@ function Attachment(t0) {
|
|
|
383
151
|
size: t2,
|
|
384
152
|
state: t3,
|
|
385
153
|
xstyle,
|
|
386
|
-
...
|
|
154
|
+
...props2
|
|
387
155
|
} = t0);
|
|
388
156
|
$[0] = t0;
|
|
389
|
-
$[1] =
|
|
157
|
+
$[1] = props2;
|
|
390
158
|
$[2] = t1;
|
|
391
159
|
$[3] = t2;
|
|
392
160
|
$[4] = t3;
|
|
393
161
|
$[5] = xstyle;
|
|
394
162
|
} else {
|
|
395
|
-
|
|
163
|
+
props2 = $[1];
|
|
396
164
|
t1 = $[2];
|
|
397
165
|
t2 = $[3];
|
|
398
166
|
t3 = $[4];
|
|
@@ -403,7 +171,7 @@ function Attachment(t0) {
|
|
|
403
171
|
const state = t3 === void 0 ? "done" : t3;
|
|
404
172
|
let t4;
|
|
405
173
|
if ($[6] !== orientation || $[7] !== size || $[8] !== state || $[9] !== xstyle) {
|
|
406
|
-
t4 =
|
|
174
|
+
t4 = stylex.props(styles.root, styles[orientation], size === "default" ? styles.sizeDefault : styles[size], state === "error" && styles.error, xstyle);
|
|
407
175
|
$[6] = orientation;
|
|
408
176
|
$[7] = size;
|
|
409
177
|
$[8] = state;
|
|
@@ -413,10 +181,10 @@ function Attachment(t0) {
|
|
|
413
181
|
t4 = $[10];
|
|
414
182
|
}
|
|
415
183
|
let t5;
|
|
416
|
-
if ($[11] !== orientation || $[12] !==
|
|
417
|
-
t5 = /* @__PURE__ */
|
|
184
|
+
if ($[11] !== orientation || $[12] !== props2 || $[13] !== state || $[14] !== t4) {
|
|
185
|
+
t5 = /* @__PURE__ */ jsx("div", { ...props2, "data-orientation": orientation, "data-state": state, ...t4 });
|
|
418
186
|
$[11] = orientation;
|
|
419
|
-
$[12] =
|
|
187
|
+
$[12] = props2;
|
|
420
188
|
$[13] = state;
|
|
421
189
|
$[14] = t4;
|
|
422
190
|
$[15] = t5;
|
|
@@ -426,34 +194,34 @@ function Attachment(t0) {
|
|
|
426
194
|
return t5;
|
|
427
195
|
}
|
|
428
196
|
function AttachmentMedia(t0) {
|
|
429
|
-
const $ =
|
|
430
|
-
let
|
|
197
|
+
const $ = _c(8);
|
|
198
|
+
let props2;
|
|
431
199
|
let t1;
|
|
432
200
|
if ($[0] !== t0) {
|
|
433
201
|
({
|
|
434
202
|
variant: t1,
|
|
435
|
-
...
|
|
203
|
+
...props2
|
|
436
204
|
} = t0);
|
|
437
205
|
$[0] = t0;
|
|
438
|
-
$[1] =
|
|
206
|
+
$[1] = props2;
|
|
439
207
|
$[2] = t1;
|
|
440
208
|
} else {
|
|
441
|
-
|
|
209
|
+
props2 = $[1];
|
|
442
210
|
t1 = $[2];
|
|
443
211
|
}
|
|
444
212
|
const variant = t1 === void 0 ? "icon" : t1;
|
|
445
213
|
let t2;
|
|
446
214
|
if ($[3] !== variant) {
|
|
447
|
-
t2 =
|
|
215
|
+
t2 = stylex.props(styles.media, styles[`media${variant}`]);
|
|
448
216
|
$[3] = variant;
|
|
449
217
|
$[4] = t2;
|
|
450
218
|
} else {
|
|
451
219
|
t2 = $[4];
|
|
452
220
|
}
|
|
453
221
|
let t3;
|
|
454
|
-
if ($[5] !==
|
|
455
|
-
t3 = /* @__PURE__ */
|
|
456
|
-
$[5] =
|
|
222
|
+
if ($[5] !== props2 || $[6] !== t2) {
|
|
223
|
+
t3 = /* @__PURE__ */ jsx("div", { ...props2, ...t2 });
|
|
224
|
+
$[5] = props2;
|
|
457
225
|
$[6] = t2;
|
|
458
226
|
$[7] = t3;
|
|
459
227
|
} else {
|
|
@@ -462,30 +230,30 @@ function AttachmentMedia(t0) {
|
|
|
462
230
|
return t3;
|
|
463
231
|
}
|
|
464
232
|
function AttachmentContent(t0) {
|
|
465
|
-
const $ =
|
|
466
|
-
let
|
|
233
|
+
const $ = _c(5);
|
|
234
|
+
let props2;
|
|
467
235
|
if ($[0] !== t0) {
|
|
468
236
|
({
|
|
469
|
-
...
|
|
237
|
+
...props2
|
|
470
238
|
} = t0);
|
|
471
239
|
$[0] = t0;
|
|
472
|
-
$[1] =
|
|
240
|
+
$[1] = props2;
|
|
473
241
|
} else {
|
|
474
|
-
|
|
242
|
+
props2 = $[1];
|
|
475
243
|
}
|
|
476
244
|
let t1;
|
|
477
245
|
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
478
246
|
t1 = {
|
|
479
|
-
className: "x78zum5 x98rzlu xdt5ytf x1kr9b5u xeuugli
|
|
247
|
+
className: "x78zum5 x98rzlu xdt5ytf x1kr9b5u xeuugli xqp18zy x15x5vka"
|
|
480
248
|
};
|
|
481
249
|
$[2] = t1;
|
|
482
250
|
} else {
|
|
483
251
|
t1 = $[2];
|
|
484
252
|
}
|
|
485
253
|
let t2;
|
|
486
|
-
if ($[3] !==
|
|
487
|
-
t2 = /* @__PURE__ */
|
|
488
|
-
$[3] =
|
|
254
|
+
if ($[3] !== props2) {
|
|
255
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
256
|
+
$[3] = props2;
|
|
489
257
|
$[4] = t2;
|
|
490
258
|
} else {
|
|
491
259
|
t2 = $[4];
|
|
@@ -493,16 +261,16 @@ function AttachmentContent(t0) {
|
|
|
493
261
|
return t2;
|
|
494
262
|
}
|
|
495
263
|
function AttachmentTitle(t0) {
|
|
496
|
-
const $ =
|
|
497
|
-
let
|
|
264
|
+
const $ = _c(5);
|
|
265
|
+
let props2;
|
|
498
266
|
if ($[0] !== t0) {
|
|
499
267
|
({
|
|
500
|
-
...
|
|
268
|
+
...props2
|
|
501
269
|
} = t0);
|
|
502
270
|
$[0] = t0;
|
|
503
|
-
$[1] =
|
|
271
|
+
$[1] = props2;
|
|
504
272
|
} else {
|
|
505
|
-
|
|
273
|
+
props2 = $[1];
|
|
506
274
|
}
|
|
507
275
|
let t1;
|
|
508
276
|
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -514,9 +282,9 @@ function AttachmentTitle(t0) {
|
|
|
514
282
|
t1 = $[2];
|
|
515
283
|
}
|
|
516
284
|
let t2;
|
|
517
|
-
if ($[3] !==
|
|
518
|
-
t2 = /* @__PURE__ */
|
|
519
|
-
$[3] =
|
|
285
|
+
if ($[3] !== props2) {
|
|
286
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
287
|
+
$[3] = props2;
|
|
520
288
|
$[4] = t2;
|
|
521
289
|
} else {
|
|
522
290
|
t2 = $[4];
|
|
@@ -524,16 +292,16 @@ function AttachmentTitle(t0) {
|
|
|
524
292
|
return t2;
|
|
525
293
|
}
|
|
526
294
|
function AttachmentDescription(t0) {
|
|
527
|
-
const $ =
|
|
528
|
-
let
|
|
295
|
+
const $ = _c(5);
|
|
296
|
+
let props2;
|
|
529
297
|
if ($[0] !== t0) {
|
|
530
298
|
({
|
|
531
|
-
...
|
|
299
|
+
...props2
|
|
532
300
|
} = t0);
|
|
533
301
|
$[0] = t0;
|
|
534
|
-
$[1] =
|
|
302
|
+
$[1] = props2;
|
|
535
303
|
} else {
|
|
536
|
-
|
|
304
|
+
props2 = $[1];
|
|
537
305
|
}
|
|
538
306
|
let t1;
|
|
539
307
|
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -545,9 +313,9 @@ function AttachmentDescription(t0) {
|
|
|
545
313
|
t1 = $[2];
|
|
546
314
|
}
|
|
547
315
|
let t2;
|
|
548
|
-
if ($[3] !==
|
|
549
|
-
t2 = /* @__PURE__ */
|
|
550
|
-
$[3] =
|
|
316
|
+
if ($[3] !== props2) {
|
|
317
|
+
t2 = /* @__PURE__ */ jsx("p", { ...props2, ...t1 });
|
|
318
|
+
$[3] = props2;
|
|
551
319
|
$[4] = t2;
|
|
552
320
|
} else {
|
|
553
321
|
t2 = $[4];
|
|
@@ -555,16 +323,16 @@ function AttachmentDescription(t0) {
|
|
|
555
323
|
return t2;
|
|
556
324
|
}
|
|
557
325
|
function AttachmentActions(t0) {
|
|
558
|
-
const $ =
|
|
559
|
-
let
|
|
326
|
+
const $ = _c(5);
|
|
327
|
+
let props2;
|
|
560
328
|
if ($[0] !== t0) {
|
|
561
329
|
({
|
|
562
|
-
...
|
|
330
|
+
...props2
|
|
563
331
|
} = t0);
|
|
564
332
|
$[0] = t0;
|
|
565
|
-
$[1] =
|
|
333
|
+
$[1] = props2;
|
|
566
334
|
} else {
|
|
567
|
-
|
|
335
|
+
props2 = $[1];
|
|
568
336
|
}
|
|
569
337
|
let t1;
|
|
570
338
|
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -576,9 +344,9 @@ function AttachmentActions(t0) {
|
|
|
576
344
|
t1 = $[2];
|
|
577
345
|
}
|
|
578
346
|
let t2;
|
|
579
|
-
if ($[3] !==
|
|
580
|
-
t2 = /* @__PURE__ */
|
|
581
|
-
$[3] =
|
|
347
|
+
if ($[3] !== props2) {
|
|
348
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
349
|
+
$[3] = props2;
|
|
582
350
|
$[4] = t2;
|
|
583
351
|
} else {
|
|
584
352
|
t2 = $[4];
|
|
@@ -586,33 +354,33 @@ function AttachmentActions(t0) {
|
|
|
586
354
|
return t2;
|
|
587
355
|
}
|
|
588
356
|
function AttachmentAction(t0) {
|
|
589
|
-
const $ =
|
|
590
|
-
let
|
|
357
|
+
const $ = _c(8);
|
|
358
|
+
let props2;
|
|
591
359
|
let xstyle;
|
|
592
360
|
if ($[0] !== t0) {
|
|
593
361
|
({
|
|
594
362
|
xstyle,
|
|
595
|
-
...
|
|
363
|
+
...props2
|
|
596
364
|
} = t0);
|
|
597
365
|
$[0] = t0;
|
|
598
|
-
$[1] =
|
|
366
|
+
$[1] = props2;
|
|
599
367
|
$[2] = xstyle;
|
|
600
368
|
} else {
|
|
601
|
-
|
|
369
|
+
props2 = $[1];
|
|
602
370
|
xstyle = $[2];
|
|
603
371
|
}
|
|
604
372
|
let t1;
|
|
605
373
|
if ($[3] !== xstyle) {
|
|
606
|
-
t1 = [
|
|
374
|
+
t1 = [styles.action, xstyle];
|
|
607
375
|
$[3] = xstyle;
|
|
608
376
|
$[4] = t1;
|
|
609
377
|
} else {
|
|
610
378
|
t1 = $[4];
|
|
611
379
|
}
|
|
612
380
|
let t2;
|
|
613
|
-
if ($[5] !==
|
|
614
|
-
t2 = /* @__PURE__ */
|
|
615
|
-
$[5] =
|
|
381
|
+
if ($[5] !== props2 || $[6] !== t1) {
|
|
382
|
+
t2 = /* @__PURE__ */ jsx(Button, { ...props2, size: "sm", variant: "ghost", xstyle: t1 });
|
|
383
|
+
$[5] = props2;
|
|
616
384
|
$[6] = t1;
|
|
617
385
|
$[7] = t2;
|
|
618
386
|
} else {
|
|
@@ -621,19 +389,19 @@ function AttachmentAction(t0) {
|
|
|
621
389
|
return t2;
|
|
622
390
|
}
|
|
623
391
|
function AttachmentTrigger(t0) {
|
|
624
|
-
const $ =
|
|
625
|
-
let
|
|
392
|
+
const $ = _c(7);
|
|
393
|
+
let props2;
|
|
626
394
|
let t1;
|
|
627
395
|
if ($[0] !== t0) {
|
|
628
396
|
({
|
|
629
397
|
type: t1,
|
|
630
|
-
...
|
|
398
|
+
...props2
|
|
631
399
|
} = t0);
|
|
632
400
|
$[0] = t0;
|
|
633
|
-
$[1] =
|
|
401
|
+
$[1] = props2;
|
|
634
402
|
$[2] = t1;
|
|
635
403
|
} else {
|
|
636
|
-
|
|
404
|
+
props2 = $[1];
|
|
637
405
|
t1 = $[2];
|
|
638
406
|
}
|
|
639
407
|
const type = t1 === void 0 ? "button" : t1;
|
|
@@ -647,9 +415,9 @@ function AttachmentTrigger(t0) {
|
|
|
647
415
|
t2 = $[3];
|
|
648
416
|
}
|
|
649
417
|
let t3;
|
|
650
|
-
if ($[4] !==
|
|
651
|
-
t3 = /* @__PURE__ */
|
|
652
|
-
$[4] =
|
|
418
|
+
if ($[4] !== props2 || $[5] !== type) {
|
|
419
|
+
t3 = /* @__PURE__ */ jsx("button", { ...props2, type, ...t2 });
|
|
420
|
+
$[4] = props2;
|
|
653
421
|
$[5] = type;
|
|
654
422
|
$[6] = t3;
|
|
655
423
|
} else {
|
|
@@ -658,16 +426,16 @@ function AttachmentTrigger(t0) {
|
|
|
658
426
|
return t3;
|
|
659
427
|
}
|
|
660
428
|
function AttachmentGroup(t0) {
|
|
661
|
-
const $ =
|
|
662
|
-
let
|
|
429
|
+
const $ = _c(5);
|
|
430
|
+
let props2;
|
|
663
431
|
if ($[0] !== t0) {
|
|
664
432
|
({
|
|
665
|
-
...
|
|
433
|
+
...props2
|
|
666
434
|
} = t0);
|
|
667
435
|
$[0] = t0;
|
|
668
|
-
$[1] =
|
|
436
|
+
$[1] = props2;
|
|
669
437
|
} else {
|
|
670
|
-
|
|
438
|
+
props2 = $[1];
|
|
671
439
|
}
|
|
672
440
|
let t1;
|
|
673
441
|
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -679,9 +447,9 @@ function AttachmentGroup(t0) {
|
|
|
679
447
|
t1 = $[2];
|
|
680
448
|
}
|
|
681
449
|
let t2;
|
|
682
|
-
if ($[3] !==
|
|
683
|
-
t2 = /* @__PURE__ */
|
|
684
|
-
$[3] =
|
|
450
|
+
if ($[3] !== props2) {
|
|
451
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
452
|
+
$[3] = props2;
|
|
685
453
|
$[4] = t2;
|
|
686
454
|
} else {
|
|
687
455
|
t2 = $[4];
|