@nuee/ui 0.3.0 → 0.4.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/accordion.d.ts +4 -4
- package/dist/accordion.js +129 -219
- package/dist/accordion.js.map +2 -2
- package/dist/alert-dialog.d.ts +5 -5
- package/dist/alert-dialog.js +138 -249
- package/dist/alert-dialog.js.map +3 -3
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.js +19 -50
- package/dist/aspect-ratio.js.map +2 -2
- package/dist/attachment.d.ts +8 -8
- package/dist/attachment.js +158 -286
- package/dist/attachment.js.map +3 -3
- package/dist/avatar.d.ts +6 -6
- package/dist/avatar.js +98 -212
- package/dist/avatar.js.map +3 -3
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +19 -50
- package/dist/badge.js.map +2 -2
- package/dist/banner.d.ts +3 -3
- package/dist/banner.js +111 -204
- package/dist/banner.js.map +2 -2
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.js +90 -178
- package/dist/breadcrumb.js.map +3 -3
- package/dist/bubble.d.ts +1 -1
- package/dist/bubble.js +23 -54
- package/dist/bubble.js.map +2 -2
- package/dist/button-group.d.ts +2 -2
- package/dist/button-group.js +69 -162
- package/dist/button-group.js.map +2 -2
- package/dist/button.d.ts +1 -1
- package/dist/button.js +42 -73
- package/dist/button.js.map +2 -2
- package/dist/card.d.ts +6 -6
- package/dist/card.js +97 -283
- package/dist/card.js.map +2 -2
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.js +23 -42
- package/dist/checkbox.js.map +2 -2
- package/dist/collapsible.d.ts +3 -3
- package/dist/collapsible.js +108 -180
- package/dist/collapsible.js.map +2 -2
- package/dist/combobox.d.ts +3 -3
- package/dist/combobox.js +194 -275
- package/dist/combobox.js.map +2 -2
- package/dist/content-row.d.ts +7 -7
- package/dist/content-row.js +96 -184
- package/dist/content-row.js.map +3 -3
- package/dist/context-menu.js +257 -386
- package/dist/context-menu.js.map +2 -2
- package/dist/dialog.d.ts +5 -5
- package/dist/dialog.js +106 -189
- package/dist/dialog.js.map +3 -3
- package/dist/drawer.d.ts +7 -7
- package/dist/drawer.js +152 -266
- package/dist/drawer.js.map +3 -3
- package/dist/dropdown-menu.d.ts +6 -6
- package/dist/dropdown-menu.js +257 -386
- package/dist/dropdown-menu.js.map +2 -2
- package/dist/empty.d.ts +6 -6
- package/dist/empty.js +91 -164
- package/dist/empty.js.map +3 -3
- package/dist/field.d.ts +9 -9
- package/dist/field.js +154 -367
- package/dist/field.js.map +3 -3
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.js +40 -91
- package/dist/hover-card.js.map +2 -2
- package/dist/index.js +3838 -6825
- package/dist/index.js.map +4 -4
- package/dist/input-group.d.ts +3 -3
- package/dist/input-group.js +139 -325
- package/dist/input-group.js.map +2 -2
- package/dist/input-otp.d.ts +4 -4
- package/dist/input-otp.js +67 -133
- package/dist/input-otp.js.map +3 -3
- package/dist/input.d.ts +1 -1
- package/dist/input.js +18 -49
- package/dist/input.js.map +2 -2
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.js +32 -94
- package/dist/kbd.js.map +2 -2
- package/dist/label.d.ts +1 -1
- package/dist/label.js +16 -47
- package/dist/label.js.map +2 -2
- package/dist/link.js +31 -63
- package/dist/link.js.map +2 -2
- package/dist/marker.d.ts +3 -3
- package/dist/marker.js +42 -87
- package/dist/marker.js.map +3 -3
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.js +300 -456
- package/dist/menubar.js.map +3 -3
- package/dist/message-scroller.d.ts +1 -1
- package/dist/message-scroller.js +99 -161
- package/dist/message-scroller.js.map +2 -2
- package/dist/message.d.ts +4 -4
- package/dist/message.js +55 -111
- package/dist/message.js.map +3 -3
- package/dist/native-select.d.ts +1 -1
- package/dist/native-select.js +36 -67
- package/dist/native-select.js.map +2 -2
- package/dist/navigation-menu.d.ts +4 -4
- package/dist/navigation-menu.js +234 -333
- package/dist/navigation-menu.js.map +2 -2
- package/dist/pagination.d.ts +5 -5
- package/dist/pagination.js +68 -133
- package/dist/pagination.js.map +3 -3
- package/dist/popover.d.ts +4 -4
- package/dist/popover.js +73 -136
- package/dist/popover.js.map +3 -3
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +28 -41
- package/dist/progress.js.map +2 -2
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.js +48 -82
- package/dist/radio-group.js.map +2 -2
- package/dist/scroll-area.d.ts +2 -2
- package/dist/scroll-area.js +80 -106
- package/dist/scroll-area.js.map +2 -2
- package/dist/select.d.ts +3 -3
- package/dist/select.js +190 -271
- package/dist/select.js.map +2 -2
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +24 -55
- package/dist/separator.js.map +2 -2
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +16 -47
- package/dist/skeleton.js.map +2 -2
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +52 -65
- package/dist/slider.js.map +2 -2
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.js +19 -50
- package/dist/spinner.js.map +2 -2
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +28 -48
- package/dist/switch.js.map +2 -2
- package/dist/table.d.ts +8 -8
- package/dist/table.js +112 -212
- package/dist/table.js.map +3 -3
- package/dist/tabs.d.ts +4 -4
- package/dist/tabs.js +115 -194
- package/dist/tabs.js.map +2 -2
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.js +18 -49
- package/dist/textarea.js.map +2 -2
- package/dist/toggle-group.d.ts +2 -2
- package/dist/toggle-group.js +67 -103
- package/dist/toggle-group.js.map +2 -2
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.js +26 -46
- package/dist/toggle.js.map +2 -2
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +39 -56
- package/dist/tooltip.js.map +2 -2
- package/dist/typography.d.ts +7 -4
- package/dist/typography.js +1 -8
- package/dist/typography.js.map +2 -2
- package/package.json +3 -3
- package/dist/stylex-props.d.ts +0 -3
package/dist/popover.js
CHANGED
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
import { c as _c } from "react/compiler-runtime";
|
|
3
3
|
import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
|
|
4
4
|
import * as stylex from "@stylexjs/stylex";
|
|
5
|
-
|
|
6
|
-
// src/stylex-props.ts
|
|
7
|
-
function getNativeStyleProps(stylexProps, className, style) {
|
|
8
|
-
return {
|
|
9
|
-
className: [stylexProps.className, className].filter(Boolean).join(" "),
|
|
10
|
-
style: {
|
|
11
|
-
...stylexProps.style,
|
|
12
|
-
...style
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// src/popover.tsx
|
|
18
5
|
import { jsx } from "react/jsx-runtime";
|
|
19
6
|
var styles = {
|
|
20
7
|
popup: {
|
|
@@ -53,10 +40,8 @@ var Popover = PopoverPrimitive.Root;
|
|
|
53
40
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
54
41
|
var PopoverClose = PopoverPrimitive.Close;
|
|
55
42
|
function PopoverContent(t0) {
|
|
56
|
-
const $ = _c(
|
|
57
|
-
let className;
|
|
43
|
+
const $ = _c(19);
|
|
58
44
|
let props2;
|
|
59
|
-
let style;
|
|
60
45
|
let t1;
|
|
61
46
|
let t2;
|
|
62
47
|
let t3;
|
|
@@ -64,220 +49,172 @@ function PopoverContent(t0) {
|
|
|
64
49
|
if ($[0] !== t0) {
|
|
65
50
|
({
|
|
66
51
|
align: t1,
|
|
67
|
-
className,
|
|
68
52
|
side: t2,
|
|
69
53
|
sideOffset: t3,
|
|
70
|
-
style,
|
|
71
54
|
xstyle,
|
|
72
55
|
...props2
|
|
73
56
|
} = t0);
|
|
74
57
|
$[0] = t0;
|
|
75
|
-
$[1] =
|
|
76
|
-
$[2] =
|
|
77
|
-
$[3] =
|
|
78
|
-
$[4] =
|
|
79
|
-
$[5] =
|
|
80
|
-
$[6] = t3;
|
|
81
|
-
$[7] = xstyle;
|
|
58
|
+
$[1] = props2;
|
|
59
|
+
$[2] = t1;
|
|
60
|
+
$[3] = t2;
|
|
61
|
+
$[4] = t3;
|
|
62
|
+
$[5] = xstyle;
|
|
82
63
|
} else {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
t3 = $[6];
|
|
89
|
-
xstyle = $[7];
|
|
64
|
+
props2 = $[1];
|
|
65
|
+
t1 = $[2];
|
|
66
|
+
t2 = $[3];
|
|
67
|
+
t3 = $[4];
|
|
68
|
+
xstyle = $[5];
|
|
90
69
|
}
|
|
91
70
|
const align = t1 === void 0 ? "start" : t1;
|
|
92
71
|
const side = t2 === void 0 ? "bottom" : t2;
|
|
93
72
|
const sideOffset = t3 === void 0 ? 6 : t3;
|
|
94
73
|
let t4;
|
|
95
|
-
if ($[
|
|
74
|
+
if ($[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
96
75
|
t4 = {
|
|
97
76
|
className: "x1aciyhk"
|
|
98
77
|
};
|
|
99
|
-
$[
|
|
78
|
+
$[6] = t4;
|
|
100
79
|
} else {
|
|
101
|
-
t4 = $[
|
|
80
|
+
t4 = $[6];
|
|
102
81
|
}
|
|
103
82
|
let t5;
|
|
104
|
-
|
|
83
|
+
let t6;
|
|
84
|
+
if ($[7] !== xstyle) {
|
|
105
85
|
t5 = (state) => {
|
|
106
86
|
const stylexProps = stylex.props(styles.popup, state.transitionStatus === "starting" && styles.popupTransitioning, state.transitionStatus === "ending" && styles.popupTransitioning, state.transitionStatus === "ending" && styles.popupEnding, xstyle);
|
|
107
|
-
return
|
|
87
|
+
return stylexProps.className;
|
|
108
88
|
};
|
|
109
|
-
$[9] = className;
|
|
110
|
-
$[10] = xstyle;
|
|
111
|
-
$[11] = t5;
|
|
112
|
-
} else {
|
|
113
|
-
t5 = $[11];
|
|
114
|
-
}
|
|
115
|
-
let t6;
|
|
116
|
-
if ($[12] !== style || $[13] !== xstyle) {
|
|
117
89
|
t6 = (state_0) => {
|
|
118
90
|
const stylexProps_0 = stylex.props(styles.popup, state_0.transitionStatus === "starting" && styles.popupTransitioning, state_0.transitionStatus === "ending" && styles.popupTransitioning, state_0.transitionStatus === "ending" && styles.popupEnding, xstyle);
|
|
119
|
-
return
|
|
120
|
-
...stylexProps_0.style,
|
|
121
|
-
...typeof style === "function" ? style(state_0) : style
|
|
122
|
-
};
|
|
91
|
+
return stylexProps_0.style;
|
|
123
92
|
};
|
|
124
|
-
$[
|
|
125
|
-
$[
|
|
126
|
-
$[
|
|
93
|
+
$[7] = xstyle;
|
|
94
|
+
$[8] = t5;
|
|
95
|
+
$[9] = t6;
|
|
127
96
|
} else {
|
|
128
|
-
|
|
97
|
+
t5 = $[8];
|
|
98
|
+
t6 = $[9];
|
|
129
99
|
}
|
|
130
100
|
let t7;
|
|
131
|
-
if ($[
|
|
101
|
+
if ($[10] !== props2 || $[11] !== t5 || $[12] !== t6) {
|
|
132
102
|
t7 = /* @__PURE__ */ jsx(PopoverPrimitive.Popup, { ...props2, className: t5, style: t6 });
|
|
133
|
-
$[
|
|
134
|
-
$[
|
|
135
|
-
$[
|
|
136
|
-
$[
|
|
103
|
+
$[10] = props2;
|
|
104
|
+
$[11] = t5;
|
|
105
|
+
$[12] = t6;
|
|
106
|
+
$[13] = t7;
|
|
137
107
|
} else {
|
|
138
|
-
t7 = $[
|
|
108
|
+
t7 = $[13];
|
|
139
109
|
}
|
|
140
110
|
let t8;
|
|
141
|
-
if ($[
|
|
111
|
+
if ($[14] !== align || $[15] !== side || $[16] !== sideOffset || $[17] !== t7) {
|
|
142
112
|
t8 = /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(PopoverPrimitive.Positioner, { align, side, sideOffset, ...t4, children: t7 }) });
|
|
143
|
-
$[
|
|
144
|
-
$[
|
|
145
|
-
$[
|
|
146
|
-
$[
|
|
147
|
-
$[
|
|
113
|
+
$[14] = align;
|
|
114
|
+
$[15] = side;
|
|
115
|
+
$[16] = sideOffset;
|
|
116
|
+
$[17] = t7;
|
|
117
|
+
$[18] = t8;
|
|
148
118
|
} else {
|
|
149
|
-
t8 = $[
|
|
119
|
+
t8 = $[18];
|
|
150
120
|
}
|
|
151
121
|
return t8;
|
|
152
122
|
}
|
|
153
123
|
function PopoverHeader(t0) {
|
|
154
|
-
const $ = _c(
|
|
155
|
-
let className;
|
|
124
|
+
const $ = _c(5);
|
|
156
125
|
let props2;
|
|
157
|
-
let style;
|
|
158
126
|
if ($[0] !== t0) {
|
|
159
127
|
({
|
|
160
|
-
className,
|
|
161
|
-
style,
|
|
162
128
|
...props2
|
|
163
129
|
} = t0);
|
|
164
130
|
$[0] = t0;
|
|
165
|
-
$[1] =
|
|
166
|
-
$[2] = props2;
|
|
167
|
-
$[3] = style;
|
|
131
|
+
$[1] = props2;
|
|
168
132
|
} else {
|
|
169
|
-
|
|
170
|
-
props2 = $[2];
|
|
171
|
-
style = $[3];
|
|
133
|
+
props2 = $[1];
|
|
172
134
|
}
|
|
173
135
|
let t1;
|
|
174
|
-
if ($[
|
|
175
|
-
t1 =
|
|
136
|
+
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
137
|
+
t1 = {
|
|
176
138
|
className: "x78zum5 xdt5ytf x1kr9b5u"
|
|
177
|
-
}
|
|
178
|
-
$[
|
|
179
|
-
$[5] = style;
|
|
180
|
-
$[6] = t1;
|
|
139
|
+
};
|
|
140
|
+
$[2] = t1;
|
|
181
141
|
} else {
|
|
182
|
-
t1 = $[
|
|
142
|
+
t1 = $[2];
|
|
183
143
|
}
|
|
184
144
|
let t2;
|
|
185
|
-
if ($[
|
|
145
|
+
if ($[3] !== props2) {
|
|
186
146
|
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...t1 });
|
|
187
|
-
$[
|
|
188
|
-
$[
|
|
189
|
-
$[9] = t2;
|
|
147
|
+
$[3] = props2;
|
|
148
|
+
$[4] = t2;
|
|
190
149
|
} else {
|
|
191
|
-
t2 = $[
|
|
150
|
+
t2 = $[4];
|
|
192
151
|
}
|
|
193
152
|
return t2;
|
|
194
153
|
}
|
|
195
154
|
function PopoverTitle(t0) {
|
|
196
|
-
const $ = _c(
|
|
155
|
+
const $ = _c(7);
|
|
197
156
|
let children;
|
|
198
|
-
let className;
|
|
199
157
|
let props2;
|
|
200
|
-
let style;
|
|
201
158
|
if ($[0] !== t0) {
|
|
202
159
|
({
|
|
203
160
|
children,
|
|
204
|
-
className,
|
|
205
|
-
style,
|
|
206
161
|
...props2
|
|
207
162
|
} = t0);
|
|
208
163
|
$[0] = t0;
|
|
209
164
|
$[1] = children;
|
|
210
|
-
$[2] =
|
|
211
|
-
$[3] = props2;
|
|
212
|
-
$[4] = style;
|
|
165
|
+
$[2] = props2;
|
|
213
166
|
} else {
|
|
214
167
|
children = $[1];
|
|
215
|
-
|
|
216
|
-
props2 = $[3];
|
|
217
|
-
style = $[4];
|
|
168
|
+
props2 = $[2];
|
|
218
169
|
}
|
|
219
170
|
let t1;
|
|
220
|
-
if ($[
|
|
221
|
-
t1 =
|
|
171
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
172
|
+
t1 = {
|
|
222
173
|
className: "x99mhxu x1v899x5 xi1fz51 x1ghz6dp"
|
|
223
|
-
}
|
|
224
|
-
$[
|
|
225
|
-
$[6] = style;
|
|
226
|
-
$[7] = t1;
|
|
174
|
+
};
|
|
175
|
+
$[3] = t1;
|
|
227
176
|
} else {
|
|
228
|
-
t1 = $[
|
|
177
|
+
t1 = $[3];
|
|
229
178
|
}
|
|
230
179
|
let t2;
|
|
231
|
-
if ($[
|
|
180
|
+
if ($[4] !== children || $[5] !== props2) {
|
|
232
181
|
t2 = /* @__PURE__ */ jsx("h2", { ...props2, ...t1, children });
|
|
233
|
-
$[
|
|
234
|
-
$[
|
|
235
|
-
$[
|
|
236
|
-
$[11] = t2;
|
|
182
|
+
$[4] = children;
|
|
183
|
+
$[5] = props2;
|
|
184
|
+
$[6] = t2;
|
|
237
185
|
} else {
|
|
238
|
-
t2 = $[
|
|
186
|
+
t2 = $[6];
|
|
239
187
|
}
|
|
240
188
|
return t2;
|
|
241
189
|
}
|
|
242
190
|
function PopoverDescription(t0) {
|
|
243
|
-
const $ = _c(
|
|
244
|
-
let className;
|
|
191
|
+
const $ = _c(5);
|
|
245
192
|
let props2;
|
|
246
|
-
let style;
|
|
247
193
|
if ($[0] !== t0) {
|
|
248
194
|
({
|
|
249
|
-
className,
|
|
250
|
-
style,
|
|
251
195
|
...props2
|
|
252
196
|
} = t0);
|
|
253
197
|
$[0] = t0;
|
|
254
|
-
$[1] =
|
|
255
|
-
$[2] = props2;
|
|
256
|
-
$[3] = style;
|
|
198
|
+
$[1] = props2;
|
|
257
199
|
} else {
|
|
258
|
-
|
|
259
|
-
props2 = $[2];
|
|
260
|
-
style = $[3];
|
|
200
|
+
props2 = $[1];
|
|
261
201
|
}
|
|
262
202
|
let t1;
|
|
263
|
-
if ($[
|
|
264
|
-
t1 =
|
|
203
|
+
if ($[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
204
|
+
t1 = {
|
|
265
205
|
className: "x1ry1pnm x99mhxu xi1fz51 x1ghz6dp"
|
|
266
|
-
}
|
|
267
|
-
$[
|
|
268
|
-
$[5] = style;
|
|
269
|
-
$[6] = t1;
|
|
206
|
+
};
|
|
207
|
+
$[2] = t1;
|
|
270
208
|
} else {
|
|
271
|
-
t1 = $[
|
|
209
|
+
t1 = $[2];
|
|
272
210
|
}
|
|
273
211
|
let t2;
|
|
274
|
-
if ($[
|
|
212
|
+
if ($[3] !== props2) {
|
|
275
213
|
t2 = /* @__PURE__ */ jsx("p", { ...props2, ...t1 });
|
|
276
|
-
$[
|
|
277
|
-
$[
|
|
278
|
-
$[9] = t2;
|
|
214
|
+
$[3] = props2;
|
|
215
|
+
$[4] = t2;
|
|
279
216
|
} else {
|
|
280
|
-
t2 = $[
|
|
217
|
+
t2 = $[4];
|
|
281
218
|
}
|
|
282
219
|
return t2;
|
|
283
220
|
}
|
package/dist/popover.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/popover.tsx"
|
|
4
|
-
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { Popover as PopoverPrimitive } from \"@base-ui/react/popover\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport {
|
|
5
|
-
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,SAAS,WAAW,wBAAwB;AAC5C,YAAY,YAAY
|
|
3
|
+
"sources": ["../src/popover.tsx"],
|
|
4
|
+
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { Popover as PopoverPrimitive } from \"@base-ui/react/popover\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { colorVars, motionVars, radiusVars, shadowVars, sizeVars, spacingVars, typographyVars } from \"@nuee/tokens/semantic.stylex\";\nconst styles = {\n popup: {\n kWkggS: \"x1sgh50o\",\n kVAM5u: \"x13xm7is\",\n kaIpWk: \"x7c24we\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"xzgztj1\",\n kGVxlE: \"xkr81ss\",\n kMwMTN: \"x1alews2\",\n ks0D6T: \"x193lwwl\",\n kI3sdo: \"x1a2a7pz\",\n kmVPX3: \"xkm8lt0\",\n k3aq6I: \"x3oybdh\",\n k3nNDw: \"xctpfpq\",\n kIyJzY: \"x1ial40k\",\n k1ekBW: \"x6o7n8i\",\n kAMwcw: \"xctuv9u\",\n kzqmXN: \"x1qyi71f\",\n kdUZ5K: \"xuupxpy\",\n k6CgDc: \"xsagj69\",\n $$css: true\n },\n popupTransitioning: {\n kSiTet: \"xg01cxk\",\n k3aq6I: \"xjzqdv7\",\n $$css: true\n },\n popupEnding: {\n kIyJzY: \"xdshaxz\",\n kAMwcw: \"x1pa548h\",\n $$css: true\n }\n};\nexport const Popover = PopoverPrimitive.Root;\nexport const PopoverTrigger = PopoverPrimitive.Trigger;\nexport const PopoverClose = PopoverPrimitive.Close;\ntype PopoverContentProps = ComponentProps<typeof PopoverPrimitive.Popup> & Pick<ComponentProps<typeof PopoverPrimitive.Positioner>, \"align\" | \"side\" | \"sideOffset\"> & {\n xstyle?: stylex.StyleXStyles;\n};\nexport function PopoverContent(t0) {\n const $ = _c(19);\n let props;\n let t1;\n let t2;\n let t3;\n let xstyle;\n if ($[0] !== t0) {\n ({\n align: t1,\n side: t2,\n sideOffset: t3,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = props;\n $[2] = t1;\n $[3] = t2;\n $[4] = t3;\n $[5] = xstyle;\n } else {\n props = $[1];\n t1 = $[2];\n t2 = $[3];\n t3 = $[4];\n xstyle = $[5];\n }\n const align = t1 === undefined ? \"start\" : t1;\n const side = t2 === undefined ? \"bottom\" : t2;\n const sideOffset = t3 === undefined ? 6 : t3;\n let t4;\n if ($[6] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = {\n className: \"x1aciyhk\"\n };\n $[6] = t4;\n } else {\n t4 = $[6];\n }\n let t5;\n let t6;\n if ($[7] !== xstyle) {\n t5 = state => {\n const stylexProps = stylex.props(styles.popup, state.transitionStatus === \"starting\" && styles.popupTransitioning, state.transitionStatus === \"ending\" && styles.popupTransitioning, state.transitionStatus === \"ending\" && styles.popupEnding, xstyle);\n return stylexProps.className;\n };\n t6 = state_0 => {\n const stylexProps_0 = stylex.props(styles.popup, state_0.transitionStatus === \"starting\" && styles.popupTransitioning, state_0.transitionStatus === \"ending\" && styles.popupTransitioning, state_0.transitionStatus === \"ending\" && styles.popupEnding, xstyle);\n return stylexProps_0.style;\n };\n $[7] = xstyle;\n $[8] = t5;\n $[9] = t6;\n } else {\n t5 = $[8];\n t6 = $[9];\n }\n let t7;\n if ($[10] !== props || $[11] !== t5 || $[12] !== t6) {\n t7 = <PopoverPrimitive.Popup {...props} className={t5} style={t6} />;\n $[10] = props;\n $[11] = t5;\n $[12] = t6;\n $[13] = t7;\n } else {\n t7 = $[13];\n }\n let t8;\n if ($[14] !== align || $[15] !== side || $[16] !== sideOffset || $[17] !== t7) {\n t8 = <PopoverPrimitive.Portal><PopoverPrimitive.Positioner align={align} side={side} sideOffset={sideOffset} {...t4}>{t7}</PopoverPrimitive.Positioner></PopoverPrimitive.Portal>;\n $[14] = align;\n $[15] = side;\n $[16] = sideOffset;\n $[17] = t7;\n $[18] = t8;\n } else {\n t8 = $[18];\n }\n return t8;\n}\nexport function PopoverHeader(t0) {\n const $ = _c(5);\n let props;\n if ($[0] !== t0) {\n ({\n ...props\n } = t0);\n $[0] = t0;\n $[1] = props;\n } else {\n props = $[1];\n }\n let t1;\n if ($[2] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t1 = {\n className: \"x78zum5 xdt5ytf x1kr9b5u\"\n };\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n let t2;\n if ($[3] !== props) {\n t2 = <div {...props} {...t1} />;\n $[3] = props;\n $[4] = t2;\n } else {\n t2 = $[4];\n }\n return t2;\n}\nexport function PopoverTitle(t0) {\n const $ = _c(7);\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] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t1 = {\n className: \"x99mhxu x1v899x5 xi1fz51 x1ghz6dp\"\n };\n $[3] = t1;\n } else {\n t1 = $[3];\n }\n let t2;\n if ($[4] !== children || $[5] !== props) {\n t2 = <h2 {...props} {...t1}>{children}</h2>;\n $[4] = children;\n $[5] = props;\n $[6] = t2;\n } else {\n t2 = $[6];\n }\n return t2;\n}\nexport function PopoverDescription(t0) {\n const $ = _c(5);\n let props;\n if ($[0] !== t0) {\n ({\n ...props\n } = t0);\n $[0] = t0;\n $[1] = props;\n } else {\n props = $[1];\n }\n let t1;\n if ($[2] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t1 = {\n className: \"x1ry1pnm x99mhxu xi1fz51 x1ghz6dp\"\n };\n $[2] = t1;\n } else {\n t1 = $[2];\n }\n let t2;\n if ($[3] !== props) {\n t2 = <p {...props} {...t1} />;\n $[3] = props;\n $[4] = t2;\n } else {\n t2 = $[4];\n }\n return t2;\n}"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,SAAS,WAAW,wBAAwB;AAC5C,YAAY,YAAY;AAsGf;AAnGT,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,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,oBAAoB;AAAA,IAClB,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AAAA,IACX,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AACF;AACO,IAAM,UAAU,iBAAiB;AACjC,IAAM,iBAAiB,iBAAiB;AACxC,IAAM,eAAe,iBAAiB;AAItC,SAAS,eAAe,IAAI;AACjC,QAAM,IAAI,GAAG,EAAE;AACf,MAAIA;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI,EAAE,CAAC,MAAM,IAAI;AACf,KAAC;AAAA,MACC,OAAO;AAAA,MACP,MAAM;AAAA,MACN,YAAY;AAAA,MACZ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B,GAAG;AACpD,SAAK;AAAA,MACH,WAAW;AAAA,IACb;AACA,MAAE,CAAC,IAAI;AAAA,EACT,OAAO;AACL,SAAK,EAAE,CAAC;AAAA,EACV;AACA,MAAI;AACJ,MAAI,EAAE,CAAC,MAAMA,QAAO;AAClB,SAAK,oBAAC,OAAG,GAAGA,QAAQ,GAAG,IAAI;AAC3B,MAAE,CAAC,IAAIA;AACP,MAAE,CAAC,IAAI;AAAA,EACT,OAAO;AACL,SAAK,EAAE,CAAC;AAAA,EACV;AACA,SAAO;AACT;",
|
|
6
6
|
"names": ["props"]
|
|
7
7
|
}
|
package/dist/progress.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { ComponentProps } from "react";
|
|
|
4
4
|
export type ProgressProps = ComponentProps<typeof ProgressPrimitive.Root> & {
|
|
5
5
|
xstyle?: stylex.StyleXStyles;
|
|
6
6
|
};
|
|
7
|
-
export declare function Progress({
|
|
7
|
+
export declare function Progress({ xstyle, ...props }: ProgressProps): import("react").JSX.Element;
|
package/dist/progress.js
CHANGED
|
@@ -14,75 +14,62 @@ var styles = {
|
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
function Progress(t0) {
|
|
17
|
-
const $ = _c(
|
|
18
|
-
let className;
|
|
17
|
+
const $ = _c(14);
|
|
19
18
|
let props2;
|
|
20
|
-
let style;
|
|
21
19
|
let xstyle;
|
|
22
20
|
if ($[0] !== t0) {
|
|
23
21
|
({
|
|
24
|
-
className,
|
|
25
|
-
style,
|
|
26
22
|
xstyle,
|
|
27
23
|
...props2
|
|
28
24
|
} = t0);
|
|
29
25
|
$[0] = t0;
|
|
30
|
-
$[1] =
|
|
31
|
-
$[2] =
|
|
32
|
-
$[3] = style;
|
|
33
|
-
$[4] = xstyle;
|
|
26
|
+
$[1] = props2;
|
|
27
|
+
$[2] = xstyle;
|
|
34
28
|
} else {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
style = $[3];
|
|
38
|
-
xstyle = $[4];
|
|
29
|
+
props2 = $[1];
|
|
30
|
+
xstyle = $[2];
|
|
39
31
|
}
|
|
40
32
|
let t1;
|
|
41
|
-
if ($[
|
|
33
|
+
if ($[3] !== xstyle) {
|
|
42
34
|
t1 = stylex.props(styles.root, xstyle);
|
|
43
|
-
$[
|
|
44
|
-
$[
|
|
35
|
+
$[3] = xstyle;
|
|
36
|
+
$[4] = t1;
|
|
45
37
|
} else {
|
|
46
|
-
t1 = $[
|
|
38
|
+
t1 = $[4];
|
|
47
39
|
}
|
|
48
40
|
const stylexProps = t1;
|
|
49
41
|
let t2;
|
|
50
|
-
if ($[
|
|
51
|
-
t2 = (
|
|
52
|
-
$[
|
|
53
|
-
$[
|
|
54
|
-
$[9] = t2;
|
|
42
|
+
if ($[5] !== stylexProps.className) {
|
|
43
|
+
t2 = () => stylexProps.className;
|
|
44
|
+
$[5] = stylexProps.className;
|
|
45
|
+
$[6] = t2;
|
|
55
46
|
} else {
|
|
56
|
-
t2 = $[
|
|
47
|
+
t2 = $[6];
|
|
57
48
|
}
|
|
58
49
|
let t3;
|
|
59
|
-
if ($[
|
|
60
|
-
t3 = (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
});
|
|
64
|
-
$[10] = style;
|
|
65
|
-
$[11] = stylexProps.style;
|
|
66
|
-
$[12] = t3;
|
|
50
|
+
if ($[7] !== stylexProps.style) {
|
|
51
|
+
t3 = () => stylexProps.style;
|
|
52
|
+
$[7] = stylexProps.style;
|
|
53
|
+
$[8] = t3;
|
|
67
54
|
} else {
|
|
68
|
-
t3 = $[
|
|
55
|
+
t3 = $[8];
|
|
69
56
|
}
|
|
70
57
|
let t4;
|
|
71
|
-
if ($[
|
|
58
|
+
if ($[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
72
59
|
t4 = /* @__PURE__ */ jsx(ProgressPrimitive.Indicator, { className: "x92qhq x5yr21d x1ial40k xxrbq2n" });
|
|
73
|
-
$[
|
|
60
|
+
$[9] = t4;
|
|
74
61
|
} else {
|
|
75
|
-
t4 = $[
|
|
62
|
+
t4 = $[9];
|
|
76
63
|
}
|
|
77
64
|
let t5;
|
|
78
|
-
if ($[
|
|
65
|
+
if ($[10] !== props2 || $[11] !== t2 || $[12] !== t3) {
|
|
79
66
|
t5 = /* @__PURE__ */ jsx(ProgressPrimitive.Root, { ...props2, className: t2, style: t3, children: t4 });
|
|
80
|
-
$[
|
|
81
|
-
$[
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
67
|
+
$[10] = props2;
|
|
68
|
+
$[11] = t2;
|
|
69
|
+
$[12] = t3;
|
|
70
|
+
$[13] = t5;
|
|
84
71
|
} else {
|
|
85
|
-
t5 = $[
|
|
72
|
+
t5 = $[13];
|
|
86
73
|
}
|
|
87
74
|
return t5;
|
|
88
75
|
}
|
package/dist/progress.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/progress.tsx"],
|
|
4
|
-
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { Progress as ProgressPrimitive } from \"@base-ui/react/progress\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { colorVars, motionVars, radiusVars } from \"@nuee/tokens/semantic.stylex\";\nconst styles = {\n root: {\n kWkggS: \"xoec9bc\",\n kaIpWk: \"x9gkxt8\",\n kZKoxP: \"x164u9eo\",\n kVQacm: \"xb3r6kr\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\nexport type ProgressProps = ComponentProps<typeof ProgressPrimitive.Root> & {\n xstyle?: stylex.StyleXStyles;\n};\nexport function Progress(t0) {\n const $ = _c(
|
|
5
|
-
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,SAAS,YAAY,yBAAyB;AAC9C,YAAY,YAAY;
|
|
4
|
+
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport { Progress as ProgressPrimitive } from \"@base-ui/react/progress\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { colorVars, motionVars, radiusVars } from \"@nuee/tokens/semantic.stylex\";\nconst styles = {\n root: {\n kWkggS: \"xoec9bc\",\n kaIpWk: \"x9gkxt8\",\n kZKoxP: \"x164u9eo\",\n kVQacm: \"xb3r6kr\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\nexport type ProgressProps = ComponentProps<typeof ProgressPrimitive.Root> & {\n xstyle?: stylex.StyleXStyles;\n};\nexport function Progress(t0) {\n const $ = _c(14);\n let props;\n let xstyle;\n if ($[0] !== t0) {\n ({\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = props;\n $[2] = xstyle;\n } else {\n props = $[1];\n xstyle = $[2];\n }\n let t1;\n if ($[3] !== xstyle) {\n t1 = stylex.props(styles.root, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== stylexProps.className) {\n t2 = () => stylexProps.className;\n $[5] = stylexProps.className;\n $[6] = t2;\n } else {\n t2 = $[6];\n }\n let t3;\n if ($[7] !== stylexProps.style) {\n t3 = () => stylexProps.style;\n $[7] = stylexProps.style;\n $[8] = t3;\n } else {\n t3 = $[8];\n }\n let t4;\n if ($[9] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = <ProgressPrimitive.Indicator className=\"x92qhq x5yr21d x1ial40k xxrbq2n\" />;\n $[9] = t4;\n } else {\n t4 = $[9];\n }\n let t5;\n if ($[10] !== props || $[11] !== t2 || $[12] !== t3) {\n t5 = <ProgressPrimitive.Root {...props} className={t2} style={t3}>{t4}</ProgressPrimitive.Root>;\n $[10] = props;\n $[11] = t2;\n $[12] = t3;\n $[13] = t5;\n } else {\n t5 = $[13];\n }\n return t5;\n}"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,SAAS,YAAY,yBAAyB;AAC9C,YAAY,YAAY;AA2Df;AAxDT,I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AAA,EACV;AACA,MAAI;AACJ,MAAI,EAAE,EAAE,MAAMA,UAAS,EAAE,EAAE,MAAM,MAAM,EAAE,EAAE,MAAM,IAAI;AACnD,SAAK,oBAAC,kBAAkB,MAAlB,EAAwB,GAAGA,QAAO,WAAW,IAAI,OAAO,IAAK,cAAG;AACtE,MAAE,EAAE,IAAIA;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AAAA,EACV,OAAO;AACL,SAAK,EAAE,EAAE;AAAA,EACX;AACA,SAAO;AACT;",
|
|
6
6
|
"names": ["props"]
|
|
7
7
|
}
|
package/dist/radio-group.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import type { ComponentProps } from "react";
|
|
|
5
5
|
export type RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive> & {
|
|
6
6
|
xstyle?: stylex.StyleXStyles;
|
|
7
7
|
};
|
|
8
|
-
export declare function RadioGroup({
|
|
8
|
+
export declare function RadioGroup({ xstyle, ...props }: RadioGroupProps): import("react").JSX.Element;
|
|
9
9
|
export type RadioGroupItemProps = ComponentProps<typeof RadioPrimitive.Root> & {
|
|
10
10
|
xstyle?: stylex.StyleXStyles;
|
|
11
11
|
};
|
|
12
|
-
export declare function RadioGroupItem({
|
|
12
|
+
export declare function RadioGroupItem({ xstyle, ...props }: RadioGroupItemProps): import("react").JSX.Element;
|