@vlrc-fe/components 3.0.4 → 3.0.6
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/CHANGELOG.md +19 -0
- package/dist/ConfirmModal.cjs +30 -32
- package/dist/ConfirmModal.d.ts +3 -7
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +31 -32
- package/dist/Modal.cjs +3 -4
- package/dist/Modal.d.ts +1 -3
- package/dist/Modal.d.ts.map +1 -1
- package/dist/Modal.js +3 -4
- package/dist/MultiSelect/MultiSelect.cjs +0 -1
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +0 -1
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +1 -0
- package/dist/MultiSelect/utils.cjs +2 -2
- package/dist/MultiSelect/utils.js +2 -2
- package/dist/Typography/Link.cjs +3 -5
- package/dist/Typography/Link.d.ts +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +3 -5
- package/dist/Typography/Paragraph.cjs +3 -5
- package/dist/Typography/Paragraph.d.ts +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +3 -5
- package/dist/Typography/Text.cjs +3 -4
- package/dist/Typography/Text.d.ts +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +4 -5
- package/dist/Typography/Title.cjs +4 -4
- package/dist/Typography/Title.d.ts +1 -1
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +5 -5
- package/dist/Typography/Typography.d.ts +8 -4
- package/dist/Typography/Typography.d.ts.map +1 -1
- package/dist/Typography/index.d.ts +0 -3
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +1 -4
- package/dist/Typography/types.d.ts +4 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/assets/stylex.css +32 -8
- package/dist/astryx.cjs +1 -10
- package/dist/astryx.d.ts +0 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +0 -2
- package/dist/index.cjs +2 -12
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -6
- package/dist/layout/Box.cjs +44 -67
- package/dist/layout/Box.d.ts +3 -5
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +44 -67
- package/dist/layout/Center.cjs +13 -24
- package/dist/layout/Center.d.ts +2 -2
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +13 -24
- package/dist/layout/Container.cjs +21 -10
- package/dist/layout/Container.d.ts +3 -5
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +21 -10
- package/dist/layout/Stack.cjs +55 -93
- package/dist/layout/Stack.d.ts +5 -5
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +55 -93
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/lazyLoad.cjs +1 -1
- package/dist/lazyLoad.d.ts.map +1 -1
- package/dist/lazyLoad.js +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/zIndex.cjs +0 -2
- package/dist/theme/zIndex.d.ts +4 -4
- package/dist/theme/zIndex.d.ts.map +1 -1
- package/dist/theme.css +32 -8
- package/dist/ui/aspect-ratio.cjs +0 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +0 -1
- package/dist/ui/avatar.cjs +0 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +0 -1
- package/dist/ui/calendar.cjs +0 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +0 -1
- package/dist/ui/carousel.cjs +0 -1
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +0 -1
- package/dist/ui/checkbox.cjs +4 -8
- package/dist/ui/checkbox.d.ts +1 -1
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +5 -9
- package/dist/ui/circular-progress.cjs +25 -20
- package/dist/ui/circular-progress.d.ts +3 -3
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +25 -20
- package/dist/ui/code-block.cjs +180 -176
- package/dist/ui/code-block.d.ts +17 -9
- package/dist/ui/code-block.d.ts.map +1 -1
- package/dist/ui/code-block.js +181 -177
- package/dist/ui/collapsible.cjs +0 -1
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +0 -1
- package/dist/ui/compare-slider.cjs +2 -3
- package/dist/ui/compare-slider.d.ts +3 -2
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +3 -4
- package/dist/ui/context-menu.cjs +0 -1
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +0 -1
- package/dist/ui/copy-button.cjs +2 -3
- package/dist/ui/copy-button.d.ts +1 -1
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +3 -4
- package/dist/ui/dialog.cjs +2 -0
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +2 -0
- package/dist/ui/drawer.cjs +2 -0
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +2 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +1 -0
- package/dist/ui/empty.cjs +37 -52
- package/dist/ui/empty.d.ts +5 -5
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +38 -53
- package/dist/ui/file-upload.cjs +0 -1
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +0 -1
- package/dist/ui/flex.cjs +3 -4
- package/dist/ui/flex.d.ts +3 -2
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +3 -4
- package/dist/ui/form.cjs +0 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +0 -1
- package/dist/ui/gauge.cjs +2 -4
- package/dist/ui/gauge.d.ts +3 -2
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +2 -4
- package/dist/ui/grid.cjs +7 -7
- package/dist/ui/grid.d.ts +7 -3
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +7 -8
- package/dist/ui/hover-card.cjs +0 -1
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +0 -1
- package/dist/ui/input-group.cjs +17 -23
- package/dist/ui/input-group.d.ts +2 -2
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +17 -23
- package/dist/ui/marker.cjs +78 -75
- package/dist/ui/marker.d.ts +7 -4
- package/dist/ui/marker.d.ts.map +1 -1
- package/dist/ui/marker.js +79 -76
- package/dist/ui/masonry.cjs +2 -4
- package/dist/ui/masonry.d.ts +1 -1
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +3 -5
- package/dist/ui/menubar.cjs +0 -1
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +0 -1
- package/dist/ui/progress.cjs +6 -5
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +6 -5
- package/dist/ui/questionnaire.cjs +138 -135
- package/dist/ui/questionnaire.d.ts +21 -11
- package/dist/ui/questionnaire.d.ts.map +1 -1
- package/dist/ui/questionnaire.js +139 -136
- package/dist/ui/rating.cjs +2 -3
- package/dist/ui/rating.d.ts +3 -2
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +3 -4
- package/dist/ui/resizable.cjs +0 -1
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +0 -1
- package/dist/ui/row-col.cjs +4 -6
- package/dist/ui/row-col.d.ts +6 -4
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +5 -7
- package/dist/ui/scroll-area.cjs +40 -53
- package/dist/ui/scroll-area.d.ts +1 -1
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +40 -53
- package/dist/ui/segmented.cjs +2 -3
- package/dist/ui/segmented.d.ts +3 -2
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +3 -4
- package/dist/ui/sheet.cjs +2 -0
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +2 -0
- package/dist/ui/sidebar.cjs +0 -1
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +0 -1
- package/dist/ui/signature-pad.cjs +148 -147
- package/dist/ui/signature-pad.d.ts +17 -9
- package/dist/ui/signature-pad.d.ts.map +1 -1
- package/dist/ui/signature-pad.js +149 -148
- package/dist/ui/stat.cjs +57 -71
- package/dist/ui/stat.d.ts +8 -8
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +57 -71
- package/dist/ui/switch.cjs +4 -8
- package/dist/ui/switch.d.ts +1 -1
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +5 -9
- package/dist/utils.cjs +1 -6
- package/dist/utils.d.ts +2 -12
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -4
- package/package.json +1 -1
package/dist/ui/questionnaire.js
CHANGED
|
@@ -7,7 +7,7 @@ import { HStack } from "../layout/Stack.js";
|
|
|
7
7
|
import * as stylex from "@stylexjs/stylex";
|
|
8
8
|
import { Check, ChevronLeft, ChevronRight } from "lucide-react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { createContext,
|
|
10
|
+
import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
// src/ui/questionnaire.tsx
|
|
13
13
|
var QuestionnaireContext = createContext(null);
|
|
@@ -111,7 +111,7 @@ var styles = {
|
|
|
111
111
|
$$css: true
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
|
-
|
|
114
|
+
function Questionnaire({ currentStep: controlledStep, defaultStep = 0, onStepChange, onSubmit, onStatusChange, values: controlledValues, defaultValues = {}, onValuesChange, sx, className, ref, children, ...props }) {
|
|
115
115
|
const [items, setItems] = useState([]);
|
|
116
116
|
const [uncontrolledStep, setUncontrolledStep] = useState(typeof defaultStep === "number" ? defaultStep : 0);
|
|
117
117
|
const [uncontrolledValues, setUncontrolledValues] = useState(defaultValues);
|
|
@@ -261,9 +261,8 @@ var Questionnaire = forwardRef(({ currentStep: controlledStep, defaultStep = 0,
|
|
|
261
261
|
children
|
|
262
262
|
})
|
|
263
263
|
});
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
var QuestionnaireItem = forwardRef(({ name, required = false, title, description, sx, className, children, ...props }, ref) => {
|
|
264
|
+
}
|
|
265
|
+
function QuestionnaireItem({ name, required = false, title, description, sx, className, ref, children, ...props }) {
|
|
267
266
|
const { currentStepName, registerItem, unregisterItem } = useQuestionnaire();
|
|
268
267
|
useEffect(() => {
|
|
269
268
|
registerItem(name, required);
|
|
@@ -293,26 +292,28 @@ var QuestionnaireItem = forwardRef(({ name, required = false, title, description
|
|
|
293
292
|
children
|
|
294
293
|
]
|
|
295
294
|
});
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
const $ = c(25);
|
|
295
|
+
}
|
|
296
|
+
function QuestionnaireTitle(t0) {
|
|
297
|
+
const $ = c(26);
|
|
300
298
|
let children;
|
|
301
299
|
let className;
|
|
302
300
|
let props;
|
|
301
|
+
let ref;
|
|
303
302
|
let sx;
|
|
304
303
|
if ($[0] !== t0) {
|
|
305
|
-
({sx, className, children, ...props} = t0);
|
|
304
|
+
({sx, className, children, ref, ...props} = t0);
|
|
306
305
|
$[0] = t0;
|
|
307
306
|
$[1] = children;
|
|
308
307
|
$[2] = className;
|
|
309
308
|
$[3] = props;
|
|
310
|
-
$[4] =
|
|
309
|
+
$[4] = ref;
|
|
310
|
+
$[5] = sx;
|
|
311
311
|
} else {
|
|
312
312
|
children = $[1];
|
|
313
313
|
className = $[2];
|
|
314
314
|
props = $[3];
|
|
315
|
-
|
|
315
|
+
ref = $[4];
|
|
316
|
+
sx = $[5];
|
|
316
317
|
}
|
|
317
318
|
let T0;
|
|
318
319
|
let sxProps;
|
|
@@ -320,42 +321,42 @@ var QuestionnaireTitle = forwardRef((t0, ref) => {
|
|
|
320
321
|
let t2;
|
|
321
322
|
let t3;
|
|
322
323
|
let t4;
|
|
323
|
-
if ($[
|
|
324
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
324
325
|
sxProps = stylex.props(styles.title, sx);
|
|
325
326
|
T0 = Box;
|
|
326
327
|
t1 = "legend";
|
|
327
328
|
t2 = ref;
|
|
328
329
|
t3 = "questionnaire-title";
|
|
329
330
|
t4 = cn(sxProps.className, className);
|
|
330
|
-
$[
|
|
331
|
-
$[
|
|
332
|
-
$[
|
|
333
|
-
$[
|
|
334
|
-
$[
|
|
335
|
-
$[
|
|
336
|
-
$[
|
|
337
|
-
$[
|
|
338
|
-
$[
|
|
331
|
+
$[6] = className;
|
|
332
|
+
$[7] = ref;
|
|
333
|
+
$[8] = sx;
|
|
334
|
+
$[9] = T0;
|
|
335
|
+
$[10] = sxProps;
|
|
336
|
+
$[11] = t1;
|
|
337
|
+
$[12] = t2;
|
|
338
|
+
$[13] = t3;
|
|
339
|
+
$[14] = t4;
|
|
339
340
|
} else {
|
|
340
|
-
T0 = $[
|
|
341
|
-
sxProps = $[
|
|
342
|
-
t1 = $[
|
|
343
|
-
t2 = $[
|
|
344
|
-
t3 = $[
|
|
345
|
-
t4 = $[
|
|
341
|
+
T0 = $[9];
|
|
342
|
+
sxProps = $[10];
|
|
343
|
+
t1 = $[11];
|
|
344
|
+
t2 = $[12];
|
|
345
|
+
t3 = $[13];
|
|
346
|
+
t4 = $[14];
|
|
346
347
|
}
|
|
347
348
|
let t5;
|
|
348
|
-
if ($[
|
|
349
|
+
if ($[15] !== children) {
|
|
349
350
|
t5 = typeof children === "string" ? /* @__PURE__ */ jsx(Title, {
|
|
350
351
|
level: 4,
|
|
351
352
|
m: 0,
|
|
352
353
|
children
|
|
353
354
|
}) : children;
|
|
354
|
-
$[
|
|
355
|
-
$[
|
|
356
|
-
} else t5 = $[
|
|
355
|
+
$[15] = children;
|
|
356
|
+
$[16] = t5;
|
|
357
|
+
} else t5 = $[16];
|
|
357
358
|
let t6;
|
|
358
|
-
if ($[
|
|
359
|
+
if ($[17] !== T0 || $[18] !== props || $[19] !== sxProps.style || $[20] !== t1 || $[21] !== t2 || $[22] !== t3 || $[23] !== t4 || $[24] !== t5) {
|
|
359
360
|
t6 = /* @__PURE__ */ jsx(T0, {
|
|
360
361
|
as: t1,
|
|
361
362
|
ref: t2,
|
|
@@ -365,51 +366,54 @@ var QuestionnaireTitle = forwardRef((t0, ref) => {
|
|
|
365
366
|
...props,
|
|
366
367
|
children: t5
|
|
367
368
|
});
|
|
368
|
-
$[
|
|
369
|
-
$[
|
|
370
|
-
$[
|
|
371
|
-
$[
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
375
|
-
$[
|
|
376
|
-
$[
|
|
377
|
-
} else t6 = $[
|
|
369
|
+
$[17] = T0;
|
|
370
|
+
$[18] = props;
|
|
371
|
+
$[19] = sxProps.style;
|
|
372
|
+
$[20] = t1;
|
|
373
|
+
$[21] = t2;
|
|
374
|
+
$[22] = t3;
|
|
375
|
+
$[23] = t4;
|
|
376
|
+
$[24] = t5;
|
|
377
|
+
$[25] = t6;
|
|
378
|
+
} else t6 = $[25];
|
|
378
379
|
return t6;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const $ = c(11);
|
|
380
|
+
}
|
|
381
|
+
function QuestionnaireDescription(t0) {
|
|
382
|
+
const $ = c(12);
|
|
383
383
|
let children;
|
|
384
384
|
let className;
|
|
385
385
|
let props;
|
|
386
|
+
let ref;
|
|
386
387
|
if ($[0] !== t0) {
|
|
387
|
-
const { sx, className: t1, children: t2,
|
|
388
|
+
const { sx, className: t1, children: t2, ref: t3, ...t4 } = t0;
|
|
388
389
|
className = t1;
|
|
389
390
|
children = t2;
|
|
390
|
-
|
|
391
|
+
ref = t3;
|
|
392
|
+
props = t4;
|
|
391
393
|
$[0] = t0;
|
|
392
394
|
$[1] = children;
|
|
393
395
|
$[2] = className;
|
|
394
396
|
$[3] = props;
|
|
397
|
+
$[4] = ref;
|
|
395
398
|
} else {
|
|
396
399
|
children = $[1];
|
|
397
400
|
className = $[2];
|
|
398
401
|
props = $[3];
|
|
402
|
+
ref = $[4];
|
|
399
403
|
}
|
|
400
404
|
const t1 = ref;
|
|
401
405
|
let t2;
|
|
402
|
-
if ($[
|
|
406
|
+
if ($[5] !== children) {
|
|
403
407
|
t2 = typeof children === "string" ? /* @__PURE__ */ jsx(Text, {
|
|
404
408
|
type: "secondary",
|
|
405
409
|
size: "sm",
|
|
406
410
|
children
|
|
407
411
|
}) : children;
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
} else t2 = $[
|
|
412
|
+
$[5] = children;
|
|
413
|
+
$[6] = t2;
|
|
414
|
+
} else t2 = $[6];
|
|
411
415
|
let t3;
|
|
412
|
-
if ($[
|
|
416
|
+
if ($[7] !== className || $[8] !== props || $[9] !== t1 || $[10] !== t2) {
|
|
413
417
|
t3 = /* @__PURE__ */ jsx(Box, {
|
|
414
418
|
ref: t1,
|
|
415
419
|
"data-slot": "questionnaire-description",
|
|
@@ -417,62 +421,64 @@ var QuestionnaireDescription = forwardRef((t0, ref) => {
|
|
|
417
421
|
...props,
|
|
418
422
|
children: t2
|
|
419
423
|
});
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
425
|
-
} else t3 = $[
|
|
424
|
+
$[7] = className;
|
|
425
|
+
$[8] = props;
|
|
426
|
+
$[9] = t1;
|
|
427
|
+
$[10] = t2;
|
|
428
|
+
$[11] = t3;
|
|
429
|
+
} else t3 = $[11];
|
|
426
430
|
return t3;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
const $ = c(21);
|
|
431
|
+
}
|
|
432
|
+
function QuestionnaireContent(t0) {
|
|
433
|
+
const $ = c(22);
|
|
431
434
|
let children;
|
|
432
435
|
let className;
|
|
433
436
|
let props;
|
|
437
|
+
let ref;
|
|
434
438
|
let sx;
|
|
435
439
|
if ($[0] !== t0) {
|
|
436
|
-
({sx, className, children, ...props} = t0);
|
|
440
|
+
({sx, className, children, ref, ...props} = t0);
|
|
437
441
|
$[0] = t0;
|
|
438
442
|
$[1] = children;
|
|
439
443
|
$[2] = className;
|
|
440
444
|
$[3] = props;
|
|
441
|
-
$[4] =
|
|
445
|
+
$[4] = ref;
|
|
446
|
+
$[5] = sx;
|
|
442
447
|
} else {
|
|
443
448
|
children = $[1];
|
|
444
449
|
className = $[2];
|
|
445
450
|
props = $[3];
|
|
446
|
-
|
|
451
|
+
ref = $[4];
|
|
452
|
+
sx = $[5];
|
|
447
453
|
}
|
|
448
454
|
let T0;
|
|
449
455
|
let sxProps;
|
|
450
456
|
let t1;
|
|
451
457
|
let t2;
|
|
452
458
|
let t3;
|
|
453
|
-
if ($[
|
|
459
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
454
460
|
sxProps = stylex.props(styles.content, sx);
|
|
455
461
|
T0 = Box;
|
|
456
462
|
t1 = ref;
|
|
457
463
|
t2 = "questionnaire-content";
|
|
458
464
|
t3 = cn(sxProps.className, className);
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
465
|
+
$[6] = className;
|
|
466
|
+
$[7] = ref;
|
|
467
|
+
$[8] = sx;
|
|
468
|
+
$[9] = T0;
|
|
469
|
+
$[10] = sxProps;
|
|
470
|
+
$[11] = t1;
|
|
471
|
+
$[12] = t2;
|
|
472
|
+
$[13] = t3;
|
|
467
473
|
} else {
|
|
468
|
-
T0 = $[
|
|
469
|
-
sxProps = $[
|
|
470
|
-
t1 = $[
|
|
471
|
-
t2 = $[
|
|
472
|
-
t3 = $[
|
|
474
|
+
T0 = $[9];
|
|
475
|
+
sxProps = $[10];
|
|
476
|
+
t1 = $[11];
|
|
477
|
+
t2 = $[12];
|
|
478
|
+
t3 = $[13];
|
|
473
479
|
}
|
|
474
480
|
let t4;
|
|
475
|
-
if ($[
|
|
481
|
+
if ($[14] !== T0 || $[15] !== children || $[16] !== props || $[17] !== sxProps.style || $[18] !== t1 || $[19] !== t2 || $[20] !== t3) {
|
|
476
482
|
t4 = /* @__PURE__ */ jsx(T0, {
|
|
477
483
|
ref: t1,
|
|
478
484
|
"data-slot": t2,
|
|
@@ -481,19 +487,18 @@ var QuestionnaireContent = forwardRef((t0, ref) => {
|
|
|
481
487
|
...props,
|
|
482
488
|
children
|
|
483
489
|
});
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
} else t4 = $[
|
|
490
|
+
$[14] = T0;
|
|
491
|
+
$[15] = children;
|
|
492
|
+
$[16] = props;
|
|
493
|
+
$[17] = sxProps.style;
|
|
494
|
+
$[18] = t1;
|
|
495
|
+
$[19] = t2;
|
|
496
|
+
$[20] = t3;
|
|
497
|
+
$[21] = t4;
|
|
498
|
+
} else t4 = $[21];
|
|
493
499
|
return t4;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
var QuestionnaireProgress = forwardRef(({ variant = "segmented", formatText = (cur, tot) => `Question ${cur + 1} of ${tot}`, sx, className, ...props }, ref) => {
|
|
500
|
+
}
|
|
501
|
+
function QuestionnaireProgress({ variant = "segmented", formatText = (cur, tot) => `Question ${cur + 1} of ${tot}`, sx, className, ref, ...props }) {
|
|
497
502
|
const { currentStep, totalSteps } = useQuestionnaire();
|
|
498
503
|
const percent = totalSteps > 0 ? (currentStep + 1) / totalSteps * 100 : 0;
|
|
499
504
|
const sxProps = stylex.props(styles.progressRoot, sx);
|
|
@@ -529,55 +534,57 @@ var QuestionnaireProgress = forwardRef(({ variant = "segmented", formatText = (c
|
|
|
529
534
|
})
|
|
530
535
|
]
|
|
531
536
|
});
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
const $ = c(21);
|
|
537
|
+
}
|
|
538
|
+
function QuestionnaireActions(t0) {
|
|
539
|
+
const $ = c(22);
|
|
536
540
|
let children;
|
|
537
541
|
let className;
|
|
538
542
|
let props;
|
|
543
|
+
let ref;
|
|
539
544
|
let sx;
|
|
540
545
|
if ($[0] !== t0) {
|
|
541
|
-
({sx, className, children, ...props} = t0);
|
|
546
|
+
({sx, className, children, ref, ...props} = t0);
|
|
542
547
|
$[0] = t0;
|
|
543
548
|
$[1] = children;
|
|
544
549
|
$[2] = className;
|
|
545
550
|
$[3] = props;
|
|
546
|
-
$[4] =
|
|
551
|
+
$[4] = ref;
|
|
552
|
+
$[5] = sx;
|
|
547
553
|
} else {
|
|
548
554
|
children = $[1];
|
|
549
555
|
className = $[2];
|
|
550
556
|
props = $[3];
|
|
551
|
-
|
|
557
|
+
ref = $[4];
|
|
558
|
+
sx = $[5];
|
|
552
559
|
}
|
|
553
560
|
let T0;
|
|
554
561
|
let sxProps;
|
|
555
562
|
let t1;
|
|
556
563
|
let t2;
|
|
557
564
|
let t3;
|
|
558
|
-
if ($[
|
|
565
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
559
566
|
sxProps = stylex.props(styles.actions, sx);
|
|
560
567
|
T0 = Box;
|
|
561
568
|
t1 = ref;
|
|
562
569
|
t2 = "questionnaire-actions";
|
|
563
570
|
t3 = cn(sxProps.className, className);
|
|
564
|
-
$[
|
|
565
|
-
$[
|
|
566
|
-
$[
|
|
567
|
-
$[
|
|
568
|
-
$[
|
|
569
|
-
$[
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
571
|
+
$[6] = className;
|
|
572
|
+
$[7] = ref;
|
|
573
|
+
$[8] = sx;
|
|
574
|
+
$[9] = T0;
|
|
575
|
+
$[10] = sxProps;
|
|
576
|
+
$[11] = t1;
|
|
577
|
+
$[12] = t2;
|
|
578
|
+
$[13] = t3;
|
|
572
579
|
} else {
|
|
573
|
-
T0 = $[
|
|
574
|
-
sxProps = $[
|
|
575
|
-
t1 = $[
|
|
576
|
-
t2 = $[
|
|
577
|
-
t3 = $[
|
|
580
|
+
T0 = $[9];
|
|
581
|
+
sxProps = $[10];
|
|
582
|
+
t1 = $[11];
|
|
583
|
+
t2 = $[12];
|
|
584
|
+
t3 = $[13];
|
|
578
585
|
}
|
|
579
586
|
let t4;
|
|
580
|
-
if ($[
|
|
587
|
+
if ($[14] !== T0 || $[15] !== children || $[16] !== props || $[17] !== sxProps.style || $[18] !== t1 || $[19] !== t2 || $[20] !== t3) {
|
|
581
588
|
t4 = /* @__PURE__ */ jsx(T0, {
|
|
582
589
|
ref: t1,
|
|
583
590
|
"data-slot": t2,
|
|
@@ -586,19 +593,18 @@ var QuestionnaireActions = forwardRef((t0, ref) => {
|
|
|
586
593
|
...props,
|
|
587
594
|
children
|
|
588
595
|
});
|
|
589
|
-
$[
|
|
590
|
-
$[
|
|
591
|
-
$[
|
|
592
|
-
$[
|
|
593
|
-
$[
|
|
594
|
-
$[
|
|
595
|
-
$[
|
|
596
|
-
$[
|
|
597
|
-
} else t4 = $[
|
|
596
|
+
$[14] = T0;
|
|
597
|
+
$[15] = children;
|
|
598
|
+
$[16] = props;
|
|
599
|
+
$[17] = sxProps.style;
|
|
600
|
+
$[18] = t1;
|
|
601
|
+
$[19] = t2;
|
|
602
|
+
$[20] = t3;
|
|
603
|
+
$[21] = t4;
|
|
604
|
+
} else t4 = $[21];
|
|
598
605
|
return t4;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
var QuestionnairePrevious = forwardRef(({ variant = "ghost", size = "default", children, disabled: buttonDisabled, ...props }, ref) => {
|
|
606
|
+
}
|
|
607
|
+
function QuestionnairePrevious({ variant = "ghost", size = "default", children, disabled: buttonDisabled, ref, ...props }) {
|
|
602
608
|
const { prevStep, isFirst } = useQuestionnaire();
|
|
603
609
|
return /* @__PURE__ */ jsx(Button, {
|
|
604
610
|
ref,
|
|
@@ -617,9 +623,8 @@ var QuestionnairePrevious = forwardRef(({ variant = "ghost", size = "default", c
|
|
|
617
623
|
})]
|
|
618
624
|
})
|
|
619
625
|
});
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
var QuestionnaireNext = forwardRef(({ variant = "default", size = "default", completeLabel = "Submit", nextLabel = "Next", children, disabled: buttonDisabled, ...props }, ref) => {
|
|
626
|
+
}
|
|
627
|
+
function QuestionnaireNext({ variant = "default", size = "default", completeLabel = "Submit", nextLabel = "Next", children, disabled: buttonDisabled, ref, ...props }) {
|
|
623
628
|
const { isLast, items, currentStepName, getValue } = useQuestionnaire();
|
|
624
629
|
const currentItem = items.find((it) => it.name === currentStepName);
|
|
625
630
|
const currentValue = getValue(currentStepName);
|
|
@@ -641,9 +646,8 @@ var QuestionnaireNext = forwardRef(({ variant = "default", size = "default", com
|
|
|
641
646
|
}), isLast ? /* @__PURE__ */ jsx(Check, { size: 16 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 16 })]
|
|
642
647
|
})
|
|
643
648
|
});
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
var QuestionnaireSkip = forwardRef(({ variant = "ghost", size = "default", label = "Skip", children, disabled: buttonDisabled, ...props }, ref) => {
|
|
649
|
+
}
|
|
650
|
+
function QuestionnaireSkip({ variant = "ghost", size = "default", label = "Skip", children, disabled: buttonDisabled, ref, ...props }) {
|
|
647
651
|
const { skipStep, items, currentStepName } = useQuestionnaire();
|
|
648
652
|
const currentItem = items.find((it) => it.name === currentStepName);
|
|
649
653
|
const isButtonDisabled = buttonDisabled ?? currentItem?.required;
|
|
@@ -662,6 +666,5 @@ var QuestionnaireSkip = forwardRef(({ variant = "ghost", size = "default", label
|
|
|
662
666
|
children: label
|
|
663
667
|
})
|
|
664
668
|
});
|
|
665
|
-
}
|
|
666
|
-
QuestionnaireSkip.displayName = "QuestionnaireSkip";
|
|
669
|
+
}
|
|
667
670
|
export { Questionnaire, QuestionnaireActions, QuestionnaireContent, QuestionnaireDescription, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, QuestionnaireSkip, QuestionnaireTitle, useQuestionnaire };
|
package/dist/ui/rating.cjs
CHANGED
|
@@ -68,7 +68,7 @@ var styles = {
|
|
|
68
68
|
$$css: true
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
function Rating({ value: controlledValue, defaultValue = 0, onValueChange, max = 5, allowHalf = false, readOnly = false, disabled = false, size = "md", sx, className, tabIndex, "aria-label": ariaLabel = "Rating", ref, ...props }) {
|
|
72
72
|
const isControlled = controlledValue !== void 0;
|
|
73
73
|
const [internalValue, setInternalValue] = (0, react.useState)(defaultValue);
|
|
74
74
|
const [hoverValue, setHoverValue] = (0, react.useState)(null);
|
|
@@ -186,6 +186,5 @@ var Rating = (0, react.forwardRef)(({ value: controlledValue, defaultValue = 0,
|
|
|
186
186
|
...props,
|
|
187
187
|
children: items
|
|
188
188
|
});
|
|
189
|
-
}
|
|
190
|
-
Rating.displayName = "Rating";
|
|
189
|
+
}
|
|
191
190
|
exports.Rating = Rating;
|
package/dist/ui/rating.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLAttributes } from 'react';
|
|
1
|
+
import { type HTMLAttributes, type Ref } from 'react';
|
|
2
2
|
import * as stylex from '@stylexjs/stylex';
|
|
3
3
|
export type RatingSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
export interface RatingProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
@@ -11,6 +11,7 @@ export interface RatingProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
size?: RatingSize;
|
|
13
13
|
sx?: stylex.StyleXStyles;
|
|
14
|
+
ref?: Ref<HTMLElement>;
|
|
14
15
|
}
|
|
15
|
-
export declare
|
|
16
|
+
export declare function Rating({ value: controlledValue, defaultValue, onValueChange, max, allowHalf, readOnly, disabled, size, sx, className, tabIndex, 'aria-label': ariaLabel, ref, ...props }: RatingProps): import("react").JSX.Element;
|
|
16
17
|
//# sourceMappingURL=rating.d.ts.map
|
package/dist/ui/rating.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../src/ui/rating.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../src/ui/rating.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EAEnB,KAAK,GAAG,EACT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAmG3C,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CACxB;AAED,wBAAgB,MAAM,CAAC,EACrB,KAAK,EAAE,eAAe,EACtB,YAAgB,EAChB,aAAa,EACb,GAAO,EACP,SAAiB,EACjB,QAAgB,EAChB,QAAgB,EAChB,IAAW,EACX,EAAE,EACF,SAAS,EACT,QAAQ,EACR,YAAY,EAAE,SAAoB,EAClC,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,+BAqJb"}
|
package/dist/ui/rating.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Flex } from "./flex.js";
|
|
|
2
2
|
import * as stylex from "@stylexjs/stylex";
|
|
3
3
|
import { Star } from "lucide-react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
5
|
+
import { useCallback, useState } from "react";
|
|
6
6
|
// src/ui/rating.tsx
|
|
7
7
|
var styles = {
|
|
8
8
|
root: {
|
|
@@ -66,7 +66,7 @@ var styles = {
|
|
|
66
66
|
$$css: true
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
function Rating({ value: controlledValue, defaultValue = 0, onValueChange, max = 5, allowHalf = false, readOnly = false, disabled = false, size = "md", sx, className, tabIndex, "aria-label": ariaLabel = "Rating", ref, ...props }) {
|
|
70
70
|
const isControlled = controlledValue !== void 0;
|
|
71
71
|
const [internalValue, setInternalValue] = useState(defaultValue);
|
|
72
72
|
const [hoverValue, setHoverValue] = useState(null);
|
|
@@ -184,6 +184,5 @@ var Rating = forwardRef(({ value: controlledValue, defaultValue = 0, onValueChan
|
|
|
184
184
|
...props,
|
|
185
185
|
children: items
|
|
186
186
|
});
|
|
187
|
-
}
|
|
188
|
-
Rating.displayName = "Rating";
|
|
187
|
+
}
|
|
189
188
|
export { Rating };
|
package/dist/ui/resizable.cjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_utils = require("../utils.cjs");
|
|
4
3
|
const require_react_resizable_panels_browser_esm = require("../node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../src/ui/resizable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../src/ui/resizable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAsC3C,MAAM,WAAW,wBAAyB,SAAQ,cAAc,CAAC,OAAO,UAAU,CAAC;IACjF,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CAC1B;AAED,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,+BAWjF;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,+BAEjE;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,OAAO,iBAAiB,CAAC;IACpF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CAC1B;AAED,iBAAS,eAAe,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAiBrF;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/ui/resizable.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { cn } from "../utils.js";
|
|
3
2
|
import { Panel, PanelGroup, PanelResizeHandle } from "../node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js";
|
|
4
3
|
import * as stylex from "@stylexjs/stylex";
|
package/dist/ui/row-col.cjs
CHANGED
|
@@ -395,7 +395,7 @@ function resolveRowGutter(gutter, screens) {
|
|
|
395
395
|
}
|
|
396
396
|
return parseGutterPair(gutter);
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
function Row({ gutter = 0, align = "top", justify = "start", wrap = true, asChild = false, as = "div", className, style, sx, ref, children, ...props }) {
|
|
399
399
|
const screens = require_useBreakpoint.useBreakpoint();
|
|
400
400
|
const [gutterX, gutterY] = (0, react.useMemo)(() => resolveRowGutter(gutter, screens), [gutter, screens]);
|
|
401
401
|
const sxProps = _stylexjs_stylex.props(styles.rowBase, wrap ? styles.rowWrap : styles.rowNoWrap, align ? rowAlignStyles[align] : void 0, justify ? rowJustifyStyles[justify] : void 0, sx);
|
|
@@ -422,9 +422,8 @@ var Row = (0, react.forwardRef)(function Row({ gutter = 0, align = "top", justif
|
|
|
422
422
|
children
|
|
423
423
|
})
|
|
424
424
|
});
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
var Col = (0, react.forwardRef)(function Col({ span, offset, order, pull, push, flex, xs, sm, md, lg, xl, xxl, asChild = false, as = "div", className, style, sx, children, ...props }, ref) {
|
|
425
|
+
}
|
|
426
|
+
function Col({ span, offset, order, pull, push, flex, xs, sm, md, lg, xl, xxl, asChild = false, as = "div", className, style, sx, ref, children, ...props }) {
|
|
428
427
|
const screens = require_useBreakpoint.useBreakpoint();
|
|
429
428
|
const responsiveConfig = (0, react.useMemo)(() => {
|
|
430
429
|
const breakpoints = [
|
|
@@ -499,8 +498,7 @@ var Col = (0, react.forwardRef)(function Col({ span, offset, order, pull, push,
|
|
|
499
498
|
...props,
|
|
500
499
|
children
|
|
501
500
|
});
|
|
502
|
-
}
|
|
503
|
-
Col.displayName = "Col";
|
|
501
|
+
}
|
|
504
502
|
/** Alias for Col */
|
|
505
503
|
var Column = Col;
|
|
506
504
|
exports.Col = Col;
|
package/dist/ui/row-col.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties, type ElementType, type HTMLAttributes } from 'react';
|
|
1
|
+
import { type CSSProperties, type ElementType, type HTMLAttributes, type Ref } from 'react';
|
|
2
2
|
import * as stylex from '@stylexjs/stylex';
|
|
3
3
|
import { type SpacingValue } from '../theme';
|
|
4
4
|
import { type Breakpoint } from './useBreakpoint';
|
|
@@ -47,6 +47,7 @@ export interface RowProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
47
47
|
* Meta StyleX custom override styles.
|
|
48
48
|
*/
|
|
49
49
|
sx?: stylex.StyleXStyles;
|
|
50
|
+
ref?: Ref<HTMLDivElement>;
|
|
50
51
|
}
|
|
51
52
|
export type ColSpanType = number | 'auto';
|
|
52
53
|
export interface ColResponsiveConfig {
|
|
@@ -121,9 +122,10 @@ export interface ColProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
121
122
|
* Meta StyleX custom override styles.
|
|
122
123
|
*/
|
|
123
124
|
sx?: stylex.StyleXStyles;
|
|
125
|
+
ref?: Ref<HTMLDivElement>;
|
|
124
126
|
}
|
|
125
|
-
export declare
|
|
126
|
-
export declare
|
|
127
|
+
export declare function Row({ gutter, align, justify, wrap, asChild, as, className, style, sx, ref, children, ...props }: RowProps): import("react").JSX.Element;
|
|
128
|
+
export declare function Col({ span, offset, order, pull, push, flex, xs, sm, md, lg, xl, xxl, asChild, as, className, style, sx, ref, children, ...props }: ColProps): import("react").JSX.Element;
|
|
127
129
|
/** Alias for Col */
|
|
128
|
-
export declare const Column:
|
|
130
|
+
export declare const Column: typeof Col;
|
|
129
131
|
//# sourceMappingURL=row-col.d.ts.map
|
package/dist/ui/row-col.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-col.d.ts","sourceRoot":"","sources":["../../src/ui/row-col.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"row-col.d.ts","sourceRoot":"","sources":["../../src/ui/row-col.tsx"],"names":[],"mappings":"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"}
|