@nuee/ui 0.3.2 → 0.4.1
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/card.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ type StyleProps = {
|
|
|
6
6
|
type ElementProps = ComponentProps<"div"> & StyleProps;
|
|
7
7
|
type HeadingProps = ComponentProps<"h3"> & StyleProps;
|
|
8
8
|
type ParagraphProps = ComponentProps<"p"> & StyleProps;
|
|
9
|
-
export declare function Card({
|
|
10
|
-
export declare function CardHeader({
|
|
11
|
-
export declare function CardTitle({ children,
|
|
12
|
-
export declare function CardDescription({
|
|
13
|
-
export declare function CardContent({
|
|
14
|
-
export declare function CardFooter({
|
|
9
|
+
export declare function Card({ xstyle, ...props }: ElementProps): import("react").JSX.Element;
|
|
10
|
+
export declare function CardHeader({ xstyle, ...props }: ElementProps): import("react").JSX.Element;
|
|
11
|
+
export declare function CardTitle({ children, xstyle, ...props }: HeadingProps): import("react").JSX.Element;
|
|
12
|
+
export declare function CardDescription({ xstyle, ...props }: ParagraphProps): import("react").JSX.Element;
|
|
13
|
+
export declare function CardContent({ xstyle, ...props }: ElementProps): import("react").JSX.Element;
|
|
14
|
+
export declare function CardFooter({ xstyle, ...props }: ElementProps): import("react").JSX.Element;
|
|
15
15
|
export {};
|
package/dist/card.js
CHANGED
|
@@ -52,411 +52,225 @@ var styles = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function Card(t0) {
|
|
55
|
-
const $ = _c(
|
|
56
|
-
let className;
|
|
55
|
+
const $ = _c(8);
|
|
57
56
|
let props2;
|
|
58
|
-
let style;
|
|
59
57
|
let xstyle;
|
|
60
58
|
if ($[0] !== t0) {
|
|
61
59
|
({
|
|
62
|
-
className,
|
|
63
|
-
style,
|
|
64
60
|
xstyle,
|
|
65
61
|
...props2
|
|
66
62
|
} = t0);
|
|
67
63
|
$[0] = t0;
|
|
68
|
-
$[1] =
|
|
69
|
-
$[2] =
|
|
70
|
-
$[3] = style;
|
|
71
|
-
$[4] = xstyle;
|
|
64
|
+
$[1] = props2;
|
|
65
|
+
$[2] = xstyle;
|
|
72
66
|
} else {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
style = $[3];
|
|
76
|
-
xstyle = $[4];
|
|
67
|
+
props2 = $[1];
|
|
68
|
+
xstyle = $[2];
|
|
77
69
|
}
|
|
78
70
|
let t1;
|
|
79
|
-
if ($[
|
|
71
|
+
if ($[3] !== xstyle) {
|
|
80
72
|
t1 = stylex.props(styles.card, xstyle);
|
|
81
|
-
$[
|
|
82
|
-
$[
|
|
73
|
+
$[3] = xstyle;
|
|
74
|
+
$[4] = t1;
|
|
83
75
|
} else {
|
|
84
|
-
t1 = $[
|
|
76
|
+
t1 = $[4];
|
|
85
77
|
}
|
|
86
78
|
const stylexProps = t1;
|
|
87
79
|
let t2;
|
|
88
|
-
if ($[
|
|
89
|
-
t2 =
|
|
90
|
-
$[
|
|
91
|
-
$[
|
|
92
|
-
$[
|
|
93
|
-
} else {
|
|
94
|
-
t2 = $[9];
|
|
95
|
-
}
|
|
96
|
-
const t3 = t2.join(" ");
|
|
97
|
-
let t4;
|
|
98
|
-
if ($[10] !== style || $[11] !== stylexProps.style) {
|
|
99
|
-
t4 = {
|
|
100
|
-
...stylexProps.style,
|
|
101
|
-
...style
|
|
102
|
-
};
|
|
103
|
-
$[10] = style;
|
|
104
|
-
$[11] = stylexProps.style;
|
|
105
|
-
$[12] = t4;
|
|
80
|
+
if ($[5] !== props2 || $[6] !== stylexProps) {
|
|
81
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...stylexProps });
|
|
82
|
+
$[5] = props2;
|
|
83
|
+
$[6] = stylexProps;
|
|
84
|
+
$[7] = t2;
|
|
106
85
|
} else {
|
|
107
|
-
|
|
86
|
+
t2 = $[7];
|
|
108
87
|
}
|
|
109
|
-
|
|
110
|
-
if ($[13] !== props2 || $[14] !== t3 || $[15] !== t4) {
|
|
111
|
-
t5 = /* @__PURE__ */ jsx("div", { ...props2, className: t3, style: t4 });
|
|
112
|
-
$[13] = props2;
|
|
113
|
-
$[14] = t3;
|
|
114
|
-
$[15] = t4;
|
|
115
|
-
$[16] = t5;
|
|
116
|
-
} else {
|
|
117
|
-
t5 = $[16];
|
|
118
|
-
}
|
|
119
|
-
return t5;
|
|
88
|
+
return t2;
|
|
120
89
|
}
|
|
121
90
|
function CardHeader(t0) {
|
|
122
|
-
const $ = _c(
|
|
123
|
-
let className;
|
|
91
|
+
const $ = _c(8);
|
|
124
92
|
let props2;
|
|
125
|
-
let style;
|
|
126
93
|
let xstyle;
|
|
127
94
|
if ($[0] !== t0) {
|
|
128
95
|
({
|
|
129
|
-
className,
|
|
130
|
-
style,
|
|
131
96
|
xstyle,
|
|
132
97
|
...props2
|
|
133
98
|
} = t0);
|
|
134
99
|
$[0] = t0;
|
|
135
|
-
$[1] =
|
|
136
|
-
$[2] =
|
|
137
|
-
$[3] = style;
|
|
138
|
-
$[4] = xstyle;
|
|
100
|
+
$[1] = props2;
|
|
101
|
+
$[2] = xstyle;
|
|
139
102
|
} else {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
style = $[3];
|
|
143
|
-
xstyle = $[4];
|
|
103
|
+
props2 = $[1];
|
|
104
|
+
xstyle = $[2];
|
|
144
105
|
}
|
|
145
106
|
let t1;
|
|
146
|
-
if ($[
|
|
107
|
+
if ($[3] !== xstyle) {
|
|
147
108
|
t1 = stylex.props(styles.header, xstyle);
|
|
148
|
-
$[
|
|
149
|
-
$[
|
|
109
|
+
$[3] = xstyle;
|
|
110
|
+
$[4] = t1;
|
|
150
111
|
} else {
|
|
151
|
-
t1 = $[
|
|
112
|
+
t1 = $[4];
|
|
152
113
|
}
|
|
153
114
|
const stylexProps = t1;
|
|
154
115
|
let t2;
|
|
155
|
-
if ($[
|
|
156
|
-
t2 =
|
|
157
|
-
$[
|
|
158
|
-
$[
|
|
159
|
-
$[
|
|
116
|
+
if ($[5] !== props2 || $[6] !== stylexProps) {
|
|
117
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...stylexProps });
|
|
118
|
+
$[5] = props2;
|
|
119
|
+
$[6] = stylexProps;
|
|
120
|
+
$[7] = t2;
|
|
160
121
|
} else {
|
|
161
|
-
t2 = $[
|
|
122
|
+
t2 = $[7];
|
|
162
123
|
}
|
|
163
|
-
|
|
164
|
-
let t4;
|
|
165
|
-
if ($[10] !== style || $[11] !== stylexProps.style) {
|
|
166
|
-
t4 = {
|
|
167
|
-
...stylexProps.style,
|
|
168
|
-
...style
|
|
169
|
-
};
|
|
170
|
-
$[10] = style;
|
|
171
|
-
$[11] = stylexProps.style;
|
|
172
|
-
$[12] = t4;
|
|
173
|
-
} else {
|
|
174
|
-
t4 = $[12];
|
|
175
|
-
}
|
|
176
|
-
let t5;
|
|
177
|
-
if ($[13] !== props2 || $[14] !== t3 || $[15] !== t4) {
|
|
178
|
-
t5 = /* @__PURE__ */ jsx("div", { ...props2, className: t3, style: t4 });
|
|
179
|
-
$[13] = props2;
|
|
180
|
-
$[14] = t3;
|
|
181
|
-
$[15] = t4;
|
|
182
|
-
$[16] = t5;
|
|
183
|
-
} else {
|
|
184
|
-
t5 = $[16];
|
|
185
|
-
}
|
|
186
|
-
return t5;
|
|
124
|
+
return t2;
|
|
187
125
|
}
|
|
188
126
|
function CardTitle(t0) {
|
|
189
|
-
const $ = _c(
|
|
127
|
+
const $ = _c(10);
|
|
190
128
|
let children;
|
|
191
|
-
let className;
|
|
192
129
|
let props2;
|
|
193
|
-
let style;
|
|
194
130
|
let xstyle;
|
|
195
131
|
if ($[0] !== t0) {
|
|
196
132
|
({
|
|
197
133
|
children,
|
|
198
|
-
className,
|
|
199
|
-
style,
|
|
200
134
|
xstyle,
|
|
201
135
|
...props2
|
|
202
136
|
} = t0);
|
|
203
137
|
$[0] = t0;
|
|
204
138
|
$[1] = children;
|
|
205
|
-
$[2] =
|
|
206
|
-
$[3] =
|
|
207
|
-
$[4] = style;
|
|
208
|
-
$[5] = xstyle;
|
|
139
|
+
$[2] = props2;
|
|
140
|
+
$[3] = xstyle;
|
|
209
141
|
} else {
|
|
210
142
|
children = $[1];
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
style = $[4];
|
|
214
|
-
xstyle = $[5];
|
|
143
|
+
props2 = $[2];
|
|
144
|
+
xstyle = $[3];
|
|
215
145
|
}
|
|
216
146
|
let t1;
|
|
217
|
-
if ($[
|
|
147
|
+
if ($[4] !== xstyle) {
|
|
218
148
|
t1 = stylex.props(styles.title, xstyle);
|
|
219
|
-
$[
|
|
220
|
-
$[
|
|
149
|
+
$[4] = xstyle;
|
|
150
|
+
$[5] = t1;
|
|
221
151
|
} else {
|
|
222
|
-
t1 = $[
|
|
152
|
+
t1 = $[5];
|
|
223
153
|
}
|
|
224
154
|
const stylexProps = t1;
|
|
225
155
|
let t2;
|
|
226
|
-
if ($[
|
|
227
|
-
t2 =
|
|
228
|
-
$[
|
|
229
|
-
$[
|
|
230
|
-
$[
|
|
231
|
-
|
|
232
|
-
t2 = $[10];
|
|
233
|
-
}
|
|
234
|
-
const t3 = t2.join(" ");
|
|
235
|
-
let t4;
|
|
236
|
-
if ($[11] !== style || $[12] !== stylexProps.style) {
|
|
237
|
-
t4 = {
|
|
238
|
-
...stylexProps.style,
|
|
239
|
-
...style
|
|
240
|
-
};
|
|
241
|
-
$[11] = style;
|
|
242
|
-
$[12] = stylexProps.style;
|
|
243
|
-
$[13] = t4;
|
|
244
|
-
} else {
|
|
245
|
-
t4 = $[13];
|
|
246
|
-
}
|
|
247
|
-
let t5;
|
|
248
|
-
if ($[14] !== children || $[15] !== props2 || $[16] !== t3 || $[17] !== t4) {
|
|
249
|
-
t5 = /* @__PURE__ */ jsx("h3", { ...props2, className: t3, style: t4, children });
|
|
250
|
-
$[14] = children;
|
|
251
|
-
$[15] = props2;
|
|
252
|
-
$[16] = t3;
|
|
253
|
-
$[17] = t4;
|
|
254
|
-
$[18] = t5;
|
|
156
|
+
if ($[6] !== children || $[7] !== props2 || $[8] !== stylexProps) {
|
|
157
|
+
t2 = /* @__PURE__ */ jsx("h3", { ...props2, ...stylexProps, children });
|
|
158
|
+
$[6] = children;
|
|
159
|
+
$[7] = props2;
|
|
160
|
+
$[8] = stylexProps;
|
|
161
|
+
$[9] = t2;
|
|
255
162
|
} else {
|
|
256
|
-
|
|
163
|
+
t2 = $[9];
|
|
257
164
|
}
|
|
258
|
-
return
|
|
165
|
+
return t2;
|
|
259
166
|
}
|
|
260
167
|
function CardDescription(t0) {
|
|
261
|
-
const $ = _c(
|
|
262
|
-
let className;
|
|
168
|
+
const $ = _c(8);
|
|
263
169
|
let props2;
|
|
264
|
-
let style;
|
|
265
170
|
let xstyle;
|
|
266
171
|
if ($[0] !== t0) {
|
|
267
172
|
({
|
|
268
|
-
className,
|
|
269
|
-
style,
|
|
270
173
|
xstyle,
|
|
271
174
|
...props2
|
|
272
175
|
} = t0);
|
|
273
176
|
$[0] = t0;
|
|
274
|
-
$[1] =
|
|
275
|
-
$[2] =
|
|
276
|
-
$[3] = style;
|
|
277
|
-
$[4] = xstyle;
|
|
177
|
+
$[1] = props2;
|
|
178
|
+
$[2] = xstyle;
|
|
278
179
|
} else {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
style = $[3];
|
|
282
|
-
xstyle = $[4];
|
|
180
|
+
props2 = $[1];
|
|
181
|
+
xstyle = $[2];
|
|
283
182
|
}
|
|
284
183
|
let t1;
|
|
285
|
-
if ($[
|
|
184
|
+
if ($[3] !== xstyle) {
|
|
286
185
|
t1 = stylex.props(styles.description, xstyle);
|
|
287
|
-
$[
|
|
288
|
-
$[
|
|
186
|
+
$[3] = xstyle;
|
|
187
|
+
$[4] = t1;
|
|
289
188
|
} else {
|
|
290
|
-
t1 = $[
|
|
189
|
+
t1 = $[4];
|
|
291
190
|
}
|
|
292
191
|
const stylexProps = t1;
|
|
293
192
|
let t2;
|
|
294
|
-
if ($[
|
|
295
|
-
t2 =
|
|
296
|
-
$[
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
} else {
|
|
300
|
-
t2 = $[9];
|
|
301
|
-
}
|
|
302
|
-
const t3 = t2.join(" ");
|
|
303
|
-
let t4;
|
|
304
|
-
if ($[10] !== style || $[11] !== stylexProps.style) {
|
|
305
|
-
t4 = {
|
|
306
|
-
...stylexProps.style,
|
|
307
|
-
...style
|
|
308
|
-
};
|
|
309
|
-
$[10] = style;
|
|
310
|
-
$[11] = stylexProps.style;
|
|
311
|
-
$[12] = t4;
|
|
193
|
+
if ($[5] !== props2 || $[6] !== stylexProps) {
|
|
194
|
+
t2 = /* @__PURE__ */ jsx("p", { ...props2, ...stylexProps });
|
|
195
|
+
$[5] = props2;
|
|
196
|
+
$[6] = stylexProps;
|
|
197
|
+
$[7] = t2;
|
|
312
198
|
} else {
|
|
313
|
-
|
|
199
|
+
t2 = $[7];
|
|
314
200
|
}
|
|
315
|
-
|
|
316
|
-
if ($[13] !== props2 || $[14] !== t3 || $[15] !== t4) {
|
|
317
|
-
t5 = /* @__PURE__ */ jsx("p", { ...props2, className: t3, style: t4 });
|
|
318
|
-
$[13] = props2;
|
|
319
|
-
$[14] = t3;
|
|
320
|
-
$[15] = t4;
|
|
321
|
-
$[16] = t5;
|
|
322
|
-
} else {
|
|
323
|
-
t5 = $[16];
|
|
324
|
-
}
|
|
325
|
-
return t5;
|
|
201
|
+
return t2;
|
|
326
202
|
}
|
|
327
203
|
function CardContent(t0) {
|
|
328
|
-
const $ = _c(
|
|
329
|
-
let className;
|
|
204
|
+
const $ = _c(8);
|
|
330
205
|
let props2;
|
|
331
|
-
let style;
|
|
332
206
|
let xstyle;
|
|
333
207
|
if ($[0] !== t0) {
|
|
334
208
|
({
|
|
335
|
-
className,
|
|
336
|
-
style,
|
|
337
209
|
xstyle,
|
|
338
210
|
...props2
|
|
339
211
|
} = t0);
|
|
340
212
|
$[0] = t0;
|
|
341
|
-
$[1] =
|
|
342
|
-
$[2] =
|
|
343
|
-
$[3] = style;
|
|
344
|
-
$[4] = xstyle;
|
|
213
|
+
$[1] = props2;
|
|
214
|
+
$[2] = xstyle;
|
|
345
215
|
} else {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
style = $[3];
|
|
349
|
-
xstyle = $[4];
|
|
216
|
+
props2 = $[1];
|
|
217
|
+
xstyle = $[2];
|
|
350
218
|
}
|
|
351
219
|
let t1;
|
|
352
|
-
if ($[
|
|
220
|
+
if ($[3] !== xstyle) {
|
|
353
221
|
t1 = stylex.props(styles.content, xstyle);
|
|
354
|
-
$[
|
|
355
|
-
$[
|
|
222
|
+
$[3] = xstyle;
|
|
223
|
+
$[4] = t1;
|
|
356
224
|
} else {
|
|
357
|
-
t1 = $[
|
|
225
|
+
t1 = $[4];
|
|
358
226
|
}
|
|
359
227
|
const stylexProps = t1;
|
|
360
228
|
let t2;
|
|
361
|
-
if ($[
|
|
362
|
-
t2 =
|
|
363
|
-
$[
|
|
364
|
-
$[
|
|
365
|
-
$[
|
|
229
|
+
if ($[5] !== props2 || $[6] !== stylexProps) {
|
|
230
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...stylexProps });
|
|
231
|
+
$[5] = props2;
|
|
232
|
+
$[6] = stylexProps;
|
|
233
|
+
$[7] = t2;
|
|
366
234
|
} else {
|
|
367
|
-
t2 = $[
|
|
235
|
+
t2 = $[7];
|
|
368
236
|
}
|
|
369
|
-
|
|
370
|
-
let t4;
|
|
371
|
-
if ($[10] !== style || $[11] !== stylexProps.style) {
|
|
372
|
-
t4 = {
|
|
373
|
-
...stylexProps.style,
|
|
374
|
-
...style
|
|
375
|
-
};
|
|
376
|
-
$[10] = style;
|
|
377
|
-
$[11] = stylexProps.style;
|
|
378
|
-
$[12] = t4;
|
|
379
|
-
} else {
|
|
380
|
-
t4 = $[12];
|
|
381
|
-
}
|
|
382
|
-
let t5;
|
|
383
|
-
if ($[13] !== props2 || $[14] !== t3 || $[15] !== t4) {
|
|
384
|
-
t5 = /* @__PURE__ */ jsx("div", { ...props2, className: t3, style: t4 });
|
|
385
|
-
$[13] = props2;
|
|
386
|
-
$[14] = t3;
|
|
387
|
-
$[15] = t4;
|
|
388
|
-
$[16] = t5;
|
|
389
|
-
} else {
|
|
390
|
-
t5 = $[16];
|
|
391
|
-
}
|
|
392
|
-
return t5;
|
|
237
|
+
return t2;
|
|
393
238
|
}
|
|
394
239
|
function CardFooter(t0) {
|
|
395
|
-
const $ = _c(
|
|
396
|
-
let className;
|
|
240
|
+
const $ = _c(8);
|
|
397
241
|
let props2;
|
|
398
|
-
let style;
|
|
399
242
|
let xstyle;
|
|
400
243
|
if ($[0] !== t0) {
|
|
401
244
|
({
|
|
402
|
-
className,
|
|
403
|
-
style,
|
|
404
245
|
xstyle,
|
|
405
246
|
...props2
|
|
406
247
|
} = t0);
|
|
407
248
|
$[0] = t0;
|
|
408
|
-
$[1] =
|
|
409
|
-
$[2] =
|
|
410
|
-
$[3] = style;
|
|
411
|
-
$[4] = xstyle;
|
|
249
|
+
$[1] = props2;
|
|
250
|
+
$[2] = xstyle;
|
|
412
251
|
} else {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
style = $[3];
|
|
416
|
-
xstyle = $[4];
|
|
252
|
+
props2 = $[1];
|
|
253
|
+
xstyle = $[2];
|
|
417
254
|
}
|
|
418
255
|
let t1;
|
|
419
|
-
if ($[
|
|
256
|
+
if ($[3] !== xstyle) {
|
|
420
257
|
t1 = stylex.props(styles.footer, xstyle);
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
258
|
+
$[3] = xstyle;
|
|
259
|
+
$[4] = t1;
|
|
423
260
|
} else {
|
|
424
|
-
t1 = $[
|
|
261
|
+
t1 = $[4];
|
|
425
262
|
}
|
|
426
263
|
const stylexProps = t1;
|
|
427
264
|
let t2;
|
|
428
|
-
if ($[
|
|
429
|
-
t2 =
|
|
430
|
-
$[
|
|
431
|
-
$[
|
|
432
|
-
$[
|
|
433
|
-
} else {
|
|
434
|
-
t2 = $[9];
|
|
435
|
-
}
|
|
436
|
-
const t3 = t2.join(" ");
|
|
437
|
-
let t4;
|
|
438
|
-
if ($[10] !== style || $[11] !== stylexProps.style) {
|
|
439
|
-
t4 = {
|
|
440
|
-
...stylexProps.style,
|
|
441
|
-
...style
|
|
442
|
-
};
|
|
443
|
-
$[10] = style;
|
|
444
|
-
$[11] = stylexProps.style;
|
|
445
|
-
$[12] = t4;
|
|
446
|
-
} else {
|
|
447
|
-
t4 = $[12];
|
|
448
|
-
}
|
|
449
|
-
let t5;
|
|
450
|
-
if ($[13] !== props2 || $[14] !== t3 || $[15] !== t4) {
|
|
451
|
-
t5 = /* @__PURE__ */ jsx("div", { ...props2, className: t3, style: t4 });
|
|
452
|
-
$[13] = props2;
|
|
453
|
-
$[14] = t3;
|
|
454
|
-
$[15] = t4;
|
|
455
|
-
$[16] = t5;
|
|
265
|
+
if ($[5] !== props2 || $[6] !== stylexProps) {
|
|
266
|
+
t2 = /* @__PURE__ */ jsx("div", { ...props2, ...stylexProps });
|
|
267
|
+
$[5] = props2;
|
|
268
|
+
$[6] = stylexProps;
|
|
269
|
+
$[7] = t2;
|
|
456
270
|
} else {
|
|
457
|
-
|
|
271
|
+
t2 = $[7];
|
|
458
272
|
}
|
|
459
|
-
return
|
|
273
|
+
return t2;
|
|
460
274
|
}
|
|
461
275
|
export {
|
|
462
276
|
Card,
|
package/dist/card.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/card.tsx"],
|
|
4
|
-
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { colorVars, radiusVars, sizeVars, spacingVars, typographyVars } from \"@nuee/tokens/semantic.stylex\";\nconst styles = {\n card: {\n kWkggS: \"x8m6yc2\",\n kVAM5u: \"x13xm7is\",\n kaIpWk: \"x7c24we\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"xzgztj1\",\n kMwMTN: \"x1alews2\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n header: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"x1kr9b5u\",\n k8WAf4: \"x5kd9k0\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n },\n title: {\n kGuDYH: \"x1owaoya\",\n k63SB2: \"xq1ytqg\",\n kLWn49: \"x1hfsx4t\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n description: {\n kMwMTN: \"x1ry1pnm\",\n kGuDYH: \"x99mhxu\",\n kLWn49: \"xi1fz51\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n content: {\n kGO01o: \"xta64rn\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n },\n footer: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"xmtacc2\",\n kGO01o: \"xta64rn\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n }\n};\ntype StyleProps = {\n xstyle?: stylex.StyleXStyles;\n};\ntype ElementProps = ComponentProps<\"div\"> & StyleProps;\ntype HeadingProps = ComponentProps<\"h3\"> & StyleProps;\ntype ParagraphProps = ComponentProps<\"p\"> & StyleProps;\nexport function Card(t0) {\n const $ = _c(
|
|
5
|
-
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,YAAY,YAAY;
|
|
4
|
+
"sourcesContent": ["import { c as _c } from \"react/compiler-runtime\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport { colorVars, radiusVars, sizeVars, spacingVars, typographyVars } from \"@nuee/tokens/semantic.stylex\";\nconst styles = {\n card: {\n kWkggS: \"x8m6yc2\",\n kVAM5u: \"x13xm7is\",\n kaIpWk: \"x7c24we\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"xzgztj1\",\n kMwMTN: \"x1alews2\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n header: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"x1kr9b5u\",\n k8WAf4: \"x5kd9k0\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n },\n title: {\n kGuDYH: \"x1owaoya\",\n k63SB2: \"xq1ytqg\",\n kLWn49: \"x1hfsx4t\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n description: {\n kMwMTN: \"x1ry1pnm\",\n kGuDYH: \"x99mhxu\",\n kLWn49: \"xi1fz51\",\n kogj98: \"x1ghz6dp\",\n $$css: true\n },\n content: {\n kGO01o: \"xta64rn\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n },\n footer: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"xmtacc2\",\n kGO01o: \"xta64rn\",\n kg3NbH: \"x1td9pdb\",\n $$css: true\n }\n};\ntype StyleProps = {\n xstyle?: stylex.StyleXStyles;\n};\ntype ElementProps = ComponentProps<\"div\"> & StyleProps;\ntype HeadingProps = ComponentProps<\"h3\"> & StyleProps;\ntype ParagraphProps = ComponentProps<\"p\"> & StyleProps;\nexport function Card(t0) {\n const $ = _c(8);\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.card, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== props || $[6] !== stylexProps) {\n t2 = <div {...props} {...stylexProps} />;\n $[5] = props;\n $[6] = stylexProps;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}\nexport function CardHeader(t0) {\n const $ = _c(8);\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.header, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== props || $[6] !== stylexProps) {\n t2 = <div {...props} {...stylexProps} />;\n $[5] = props;\n $[6] = stylexProps;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}\nexport function CardTitle(t0) {\n const $ = _c(10);\n let children;\n let props;\n let xstyle;\n if ($[0] !== t0) {\n ({\n children,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = props;\n $[3] = xstyle;\n } else {\n children = $[1];\n props = $[2];\n xstyle = $[3];\n }\n let t1;\n if ($[4] !== xstyle) {\n t1 = stylex.props(styles.title, xstyle);\n $[4] = xstyle;\n $[5] = t1;\n } else {\n t1 = $[5];\n }\n const stylexProps = t1;\n let t2;\n if ($[6] !== children || $[7] !== props || $[8] !== stylexProps) {\n t2 = <h3 {...props} {...stylexProps}>{children}</h3>;\n $[6] = children;\n $[7] = props;\n $[8] = stylexProps;\n $[9] = t2;\n } else {\n t2 = $[9];\n }\n return t2;\n}\nexport function CardDescription(t0) {\n const $ = _c(8);\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.description, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== props || $[6] !== stylexProps) {\n t2 = <p {...props} {...stylexProps} />;\n $[5] = props;\n $[6] = stylexProps;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}\nexport function CardContent(t0) {\n const $ = _c(8);\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.content, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== props || $[6] !== stylexProps) {\n t2 = <div {...props} {...stylexProps} />;\n $[5] = props;\n $[6] = stylexProps;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}\nexport function CardFooter(t0) {\n const $ = _c(8);\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.footer, xstyle);\n $[3] = xstyle;\n $[4] = t1;\n } else {\n t1 = $[4];\n }\n const stylexProps = t1;\n let t2;\n if ($[5] !== props || $[6] !== stylexProps) {\n t2 = <div {...props} {...stylexProps} />;\n $[5] = props;\n $[6] = stylexProps;\n $[7] = t2;\n } else {\n t2 = $[7];\n }\n return t2;\n}"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,KAAK,UAAU;AACxB,YAAY,YAAY;AAqFf;AAlFT,IAAM,SAAS;AAAA,EACb,MAAM;AAAA,IACJ,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,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,Q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C,IAAI;AAAA,EACT,OAAO;AACL,SAAK,EAAE,CAAC;AAAA,EACV;AACA,QAAM,cAAc;AACpB,MAAI;AACJ,MAAI,EAAE,CAAC,MAAMA,UAAS,EAAE,CAAC,MAAM,aAAa;AAC1C,SAAK,oBAAC,SAAK,GAAGA,QAAQ,GAAG,aAAa;AACtC,MAAE,CAAC,IAAIA;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AAAA,EACT,OAAO;AACL,SAAK,EAAE,CAAC;AAAA,EACV;AACA,SAAO;AACT;",
|
|
6
6
|
"names": ["props"]
|
|
7
7
|
}
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { ComponentProps } from "react";
|
|
|
4
4
|
export type CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root> & {
|
|
5
5
|
xstyle?: stylex.StyleXStyles;
|
|
6
6
|
};
|
|
7
|
-
export declare function Checkbox({
|
|
7
|
+
export declare function Checkbox({ xstyle, ...props }: CheckboxProps): import("react").JSX.Element;
|