@misael703/ui 1.3.0 → 1.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.
Files changed (44) hide show
  1. package/README.md +6 -6
  2. package/dist/{chunk-3N4IBCLW.mjs → chunk-7D6Y33UY.mjs} +4 -4
  3. package/dist/{chunk-3N4IBCLW.mjs.map → chunk-7D6Y33UY.mjs.map} +1 -1
  4. package/dist/{chunk-GIOMV3J7.js → chunk-FL4ZCWUF.js} +7 -3
  5. package/dist/chunk-FL4ZCWUF.js.map +1 -0
  6. package/dist/{chunk-LXNHGGAK.js → chunk-IALAIASX.js} +4 -4
  7. package/dist/{chunk-LXNHGGAK.js.map → chunk-IALAIASX.js.map} +1 -1
  8. package/dist/{chunk-TBAKKSAN.js → chunk-LK2PFMDU.js} +4 -4
  9. package/dist/{chunk-TBAKKSAN.js.map → chunk-LK2PFMDU.js.map} +1 -1
  10. package/dist/{chunk-FXM7OKDQ.js → chunk-LKBYMAGV.js} +3 -3
  11. package/dist/chunk-LKBYMAGV.js.map +1 -0
  12. package/dist/{chunk-REL2RZTI.js → chunk-S5BIOB34.js} +6 -6
  13. package/dist/{chunk-REL2RZTI.js.map → chunk-S5BIOB34.js.map} +1 -1
  14. package/dist/{chunk-XXUSZD5I.mjs → chunk-U3JH4T3A.mjs} +7 -3
  15. package/dist/chunk-U3JH4T3A.mjs.map +1 -0
  16. package/dist/{chunk-33PU6AH7.mjs → chunk-X6VCY7MD.mjs} +3 -3
  17. package/dist/chunk-X6VCY7MD.mjs.map +1 -0
  18. package/dist/{chunk-C35GKQJO.mjs → chunk-YXSKREHS.mjs} +3 -3
  19. package/dist/{chunk-C35GKQJO.mjs.map → chunk-YXSKREHS.mjs.map} +1 -1
  20. package/dist/{chunk-R76SJURE.mjs → chunk-Z67IZS4P.mjs} +3 -3
  21. package/dist/{chunk-R76SJURE.mjs.map → chunk-Z67IZS4P.mjs.map} +1 -1
  22. package/dist/components/Commerce.js +14 -14
  23. package/dist/components/Commerce.mjs +3 -3
  24. package/dist/components/Editing.js +8 -8
  25. package/dist/components/Editing.mjs +3 -3
  26. package/dist/components/Overlay.js +4 -4
  27. package/dist/components/Overlay.mjs +2 -2
  28. package/dist/components/Toast.js +3 -3
  29. package/dist/components/Toast.mjs +1 -1
  30. package/dist/hooks/index.js +2 -2
  31. package/dist/hooks/index.mjs +1 -1
  32. package/dist/hooks/useDelayedUnmount.d.mts +0 -16
  33. package/dist/hooks/useDelayedUnmount.d.ts +0 -16
  34. package/dist/hooks/useDelayedUnmount.js +2 -2
  35. package/dist/hooks/useDelayedUnmount.mjs +1 -1
  36. package/dist/index.js +25 -25
  37. package/dist/index.mjs +5 -5
  38. package/dist/styles.css +1 -1
  39. package/dist/tokens.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/chunk-33PU6AH7.mjs.map +0 -1
  42. package/dist/chunk-FXM7OKDQ.js.map +0 -1
  43. package/dist/chunk-GIOMV3J7.js.map +0 -1
  44. package/dist/chunk-XXUSZD5I.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkREL2RZTI_js = require('../chunk-REL2RZTI.js');
4
- require('../chunk-GIOMV3J7.js');
3
+ var chunkS5BIOB34_js = require('../chunk-S5BIOB34.js');
4
+ require('../chunk-FL4ZCWUF.js');
5
5
  require('../chunk-TEQ67JKX.js');
6
6
  require('../chunk-RQOTH7I7.js');
7
7
  require('../chunk-PASF6T4H.js');
@@ -10,11 +10,11 @@ require('../chunk-PASF6T4H.js');
10
10
 
11
11
  Object.defineProperty(exports, "Drawer", {
12
12
  enumerable: true,
13
- get: function () { return chunkREL2RZTI_js.Drawer; }
13
+ get: function () { return chunkS5BIOB34_js.Drawer; }
14
14
  });
15
15
  Object.defineProperty(exports, "Modal", {
16
16
  enumerable: true,
17
- get: function () { return chunkREL2RZTI_js.Modal; }
17
+ get: function () { return chunkS5BIOB34_js.Modal; }
18
18
  });
19
19
  //# sourceMappingURL=Overlay.js.map
20
20
  //# sourceMappingURL=Overlay.js.map
@@ -1,5 +1,5 @@
1
- export { Drawer, Modal } from '../chunk-3N4IBCLW.mjs';
2
- import '../chunk-XXUSZD5I.mjs';
1
+ export { Drawer, Modal } from '../chunk-7D6Y33UY.mjs';
2
+ import '../chunk-U3JH4T3A.mjs';
3
3
  import '../chunk-ZRFSTYRL.mjs';
4
4
  import '../chunk-CIBJKJV3.mjs';
5
5
  import '../chunk-IEPCH3JB.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkFXM7OKDQ_js = require('../chunk-FXM7OKDQ.js');
3
+ var chunkLKBYMAGV_js = require('../chunk-LKBYMAGV.js');
4
4
  require('../chunk-TEQ67JKX.js');
5
5
  require('../chunk-RQOTH7I7.js');
6
6
  require('../chunk-PASF6T4H.js');
@@ -9,11 +9,11 @@ require('../chunk-PASF6T4H.js');
9
9
 
10
10
  Object.defineProperty(exports, "ToastProvider", {
11
11
  enumerable: true,
12
- get: function () { return chunkFXM7OKDQ_js.ToastProvider; }
12
+ get: function () { return chunkLKBYMAGV_js.ToastProvider; }
13
13
  });
14
14
  Object.defineProperty(exports, "useToast", {
15
15
  enumerable: true,
16
- get: function () { return chunkFXM7OKDQ_js.useToast; }
16
+ get: function () { return chunkLKBYMAGV_js.useToast; }
17
17
  });
18
18
  //# sourceMappingURL=Toast.js.map
19
19
  //# sourceMappingURL=Toast.js.map
@@ -1,4 +1,4 @@
1
- export { ToastProvider, useToast } from '../chunk-33PU6AH7.mjs';
1
+ export { ToastProvider, useToast } from '../chunk-X6VCY7MD.mjs';
2
2
  import '../chunk-ZRFSTYRL.mjs';
3
3
  import '../chunk-CIBJKJV3.mjs';
4
4
  import '../chunk-IEPCH3JB.mjs';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-427NHGTX.js');
4
- var chunkGIOMV3J7_js = require('../chunk-GIOMV3J7.js');
4
+ var chunkFL4ZCWUF_js = require('../chunk-FL4ZCWUF.js');
5
5
  var chunkXMLBKK7X_js = require('../chunk-XMLBKK7X.js');
6
6
  var chunkDPMUWQHL_js = require('../chunk-DPMUWQHL.js');
7
7
 
@@ -9,7 +9,7 @@ var chunkDPMUWQHL_js = require('../chunk-DPMUWQHL.js');
9
9
 
10
10
  Object.defineProperty(exports, "useDelayedUnmount", {
11
11
  enumerable: true,
12
- get: function () { return chunkGIOMV3J7_js.useDelayedUnmount; }
12
+ get: function () { return chunkFL4ZCWUF_js.useDelayedUnmount; }
13
13
  });
14
14
  Object.defineProperty(exports, "useDismiss", {
15
15
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  import '../chunk-BVQRDAR7.mjs';
2
- export { useDelayedUnmount } from '../chunk-XXUSZD5I.mjs';
2
+ export { useDelayedUnmount } from '../chunk-U3JH4T3A.mjs';
3
3
  export { useDismiss } from '../chunk-6P2TKRTL.mjs';
4
4
  export { usePopoverPosition } from '../chunk-H3PRT76O.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1,19 +1,3 @@
1
- /**
2
- * Delays unmounting of a component so an exit animation can play.
3
- *
4
- * When `open` flips to false, the hook keeps `mounted` true for `durationMs`
5
- * (giving CSS time to play `is-closing` keyframes) and then flips it to
6
- * false. The `closing` flag toggles during that window so the consumer can
7
- * apply a class like `is-closing` for the CSS animation.
8
- *
9
- * Usage:
10
- *
11
- * ```tsx
12
- * const { mounted, closing } = useDelayedUnmount(open, 200);
13
- * if (!mounted) return null;
14
- * return <div className={cx('modal', closing && 'is-closing')} />
15
- * ```
16
- */
17
1
  declare function useDelayedUnmount(open: boolean, durationMs: number): {
18
2
  mounted: boolean;
19
3
  closing: boolean;
@@ -1,19 +1,3 @@
1
- /**
2
- * Delays unmounting of a component so an exit animation can play.
3
- *
4
- * When `open` flips to false, the hook keeps `mounted` true for `durationMs`
5
- * (giving CSS time to play `is-closing` keyframes) and then flips it to
6
- * false. The `closing` flag toggles during that window so the consumer can
7
- * apply a class like `is-closing` for the CSS animation.
8
- *
9
- * Usage:
10
- *
11
- * ```tsx
12
- * const { mounted, closing } = useDelayedUnmount(open, 200);
13
- * if (!mounted) return null;
14
- * return <div className={cx('modal', closing && 'is-closing')} />
15
- * ```
16
- */
17
1
  declare function useDelayedUnmount(open: boolean, durationMs: number): {
18
2
  mounted: boolean;
19
3
  closing: boolean;
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkGIOMV3J7_js = require('../chunk-GIOMV3J7.js');
3
+ var chunkFL4ZCWUF_js = require('../chunk-FL4ZCWUF.js');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "useDelayedUnmount", {
8
8
  enumerable: true,
9
- get: function () { return chunkGIOMV3J7_js.useDelayedUnmount; }
9
+ get: function () { return chunkFL4ZCWUF_js.useDelayedUnmount; }
10
10
  });
11
11
  //# sourceMappingURL=useDelayedUnmount.js.map
12
12
  //# sourceMappingURL=useDelayedUnmount.js.map
@@ -1,3 +1,3 @@
1
- export { useDelayedUnmount } from '../chunk-XXUSZD5I.mjs';
1
+ export { useDelayedUnmount } from '../chunk-U3JH4T3A.mjs';
2
2
  //# sourceMappingURL=useDelayedUnmount.mjs.map
3
3
  //# sourceMappingURL=useDelayedUnmount.mjs.map
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var chunkTZG34EYW_js = require('./chunk-TZG34EYW.js');
6
6
  var chunk5A3MDLEZ_js = require('./chunk-5A3MDLEZ.js');
7
7
  var chunkMUL2FKYF_js = require('./chunk-MUL2FKYF.js');
8
8
  var chunkQHRP73CS_js = require('./chunk-QHRP73CS.js');
9
- var chunkFXM7OKDQ_js = require('./chunk-FXM7OKDQ.js');
9
+ var chunkLKBYMAGV_js = require('./chunk-LKBYMAGV.js');
10
10
  var chunkAZBX7UFI_js = require('./chunk-AZBX7UFI.js');
11
11
  var chunk2JTBLDMK_js = require('./chunk-2JTBLDMK.js');
12
12
  var chunkHBUP7XO2_js = require('./chunk-HBUP7XO2.js');
@@ -16,16 +16,16 @@ var chunkADQM725E_js = require('./chunk-ADQM725E.js');
16
16
  var chunkV7MK42GX_js = require('./chunk-V7MK42GX.js');
17
17
  var chunkVR4OXVKE_js = require('./chunk-VR4OXVKE.js');
18
18
  var chunk3TNBETXR_js = require('./chunk-3TNBETXR.js');
19
- var chunkLXNHGGAK_js = require('./chunk-LXNHGGAK.js');
19
+ var chunkIALAIASX_js = require('./chunk-IALAIASX.js');
20
20
  var chunkUNOPDYA7_js = require('./chunk-UNOPDYA7.js');
21
21
  var chunkZRBVYPKN_js = require('./chunk-ZRBVYPKN.js');
22
22
  var chunkWVN5JJVV_js = require('./chunk-WVN5JJVV.js');
23
23
  var chunk6II4NJQM_js = require('./chunk-6II4NJQM.js');
24
24
  var chunkAWYCGJJX_js = require('./chunk-AWYCGJJX.js');
25
25
  var chunkYRACSKAT_js = require('./chunk-YRACSKAT.js');
26
- var chunkTBAKKSAN_js = require('./chunk-TBAKKSAN.js');
27
- var chunkREL2RZTI_js = require('./chunk-REL2RZTI.js');
28
- require('./chunk-GIOMV3J7.js');
26
+ var chunkLK2PFMDU_js = require('./chunk-LK2PFMDU.js');
27
+ var chunkS5BIOB34_js = require('./chunk-S5BIOB34.js');
28
+ require('./chunk-FL4ZCWUF.js');
29
29
  var chunkYAORRBMU_js = require('./chunk-YAORRBMU.js');
30
30
  var chunkEG2NDZDC_js = require('./chunk-EG2NDZDC.js');
31
31
  var chunkHYUINOPJ_js = require('./chunk-HYUINOPJ.js');
@@ -85,11 +85,11 @@ Object.defineProperty(exports, "ResizablePanel", {
85
85
  });
86
86
  Object.defineProperty(exports, "ToastProvider", {
87
87
  enumerable: true,
88
- get: function () { return chunkFXM7OKDQ_js.ToastProvider; }
88
+ get: function () { return chunkLKBYMAGV_js.ToastProvider; }
89
89
  });
90
90
  Object.defineProperty(exports, "useToast", {
91
91
  enumerable: true,
92
- get: function () { return chunkFXM7OKDQ_js.useToast; }
92
+ get: function () { return chunkLKBYMAGV_js.useToast; }
93
93
  });
94
94
  Object.defineProperty(exports, "Toggle", {
95
95
  enumerable: true,
@@ -249,23 +249,23 @@ Object.defineProperty(exports, "NotificationCenter", {
249
249
  });
250
250
  Object.defineProperty(exports, "ConfirmDialog", {
251
251
  enumerable: true,
252
- get: function () { return chunkLXNHGGAK_js.ConfirmDialog; }
252
+ get: function () { return chunkIALAIASX_js.ConfirmDialog; }
253
253
  });
254
254
  Object.defineProperty(exports, "DescriptionList", {
255
255
  enumerable: true,
256
- get: function () { return chunkLXNHGGAK_js.DescriptionList; }
256
+ get: function () { return chunkIALAIASX_js.DescriptionList; }
257
257
  });
258
258
  Object.defineProperty(exports, "DescriptionListItem", {
259
259
  enumerable: true,
260
- get: function () { return chunkLXNHGGAK_js.DescriptionListItem; }
260
+ get: function () { return chunkIALAIASX_js.DescriptionListItem; }
261
261
  });
262
262
  Object.defineProperty(exports, "DiffViewer", {
263
263
  enumerable: true,
264
- get: function () { return chunkLXNHGGAK_js.DiffViewer; }
264
+ get: function () { return chunkIALAIASX_js.DiffViewer; }
265
265
  });
266
266
  Object.defineProperty(exports, "TransferList", {
267
267
  enumerable: true,
268
- get: function () { return chunkLXNHGGAK_js.TransferList; }
268
+ get: function () { return chunkIALAIASX_js.TransferList; }
269
269
  });
270
270
  Object.defineProperty(exports, "BulkActionBar", {
271
271
  enumerable: true,
@@ -325,55 +325,55 @@ Object.defineProperty(exports, "_internal", {
325
325
  });
326
326
  Object.defineProperty(exports, "AddressForm", {
327
327
  enumerable: true,
328
- get: function () { return chunkTBAKKSAN_js.AddressForm; }
328
+ get: function () { return chunkLK2PFMDU_js.AddressForm; }
329
329
  });
330
330
  Object.defineProperty(exports, "CartDrawer", {
331
331
  enumerable: true,
332
- get: function () { return chunkTBAKKSAN_js.CartDrawer; }
332
+ get: function () { return chunkLK2PFMDU_js.CartDrawer; }
333
333
  });
334
334
  Object.defineProperty(exports, "CompareTable", {
335
335
  enumerable: true,
336
- get: function () { return chunkTBAKKSAN_js.CompareTable; }
336
+ get: function () { return chunkLK2PFMDU_js.CompareTable; }
337
337
  });
338
338
  Object.defineProperty(exports, "FreeShippingProgress", {
339
339
  enumerable: true,
340
- get: function () { return chunkTBAKKSAN_js.FreeShippingProgress; }
340
+ get: function () { return chunkLK2PFMDU_js.FreeShippingProgress; }
341
341
  });
342
342
  Object.defineProperty(exports, "OrderSummary", {
343
343
  enumerable: true,
344
- get: function () { return chunkTBAKKSAN_js.OrderSummary; }
344
+ get: function () { return chunkLK2PFMDU_js.OrderSummary; }
345
345
  });
346
346
  Object.defineProperty(exports, "PriceDisplay", {
347
347
  enumerable: true,
348
- get: function () { return chunkTBAKKSAN_js.PriceDisplay; }
348
+ get: function () { return chunkLK2PFMDU_js.PriceDisplay; }
349
349
  });
350
350
  Object.defineProperty(exports, "PromoCodeInput", {
351
351
  enumerable: true,
352
- get: function () { return chunkTBAKKSAN_js.PromoCodeInput; }
352
+ get: function () { return chunkLK2PFMDU_js.PromoCodeInput; }
353
353
  });
354
354
  Object.defineProperty(exports, "QuantitySelector", {
355
355
  enumerable: true,
356
- get: function () { return chunkTBAKKSAN_js.QuantitySelector; }
356
+ get: function () { return chunkLK2PFMDU_js.QuantitySelector; }
357
357
  });
358
358
  Object.defineProperty(exports, "Rating", {
359
359
  enumerable: true,
360
- get: function () { return chunkTBAKKSAN_js.Rating; }
360
+ get: function () { return chunkLK2PFMDU_js.Rating; }
361
361
  });
362
362
  Object.defineProperty(exports, "VariantSelector", {
363
363
  enumerable: true,
364
- get: function () { return chunkTBAKKSAN_js.VariantSelector; }
364
+ get: function () { return chunkLK2PFMDU_js.VariantSelector; }
365
365
  });
366
366
  Object.defineProperty(exports, "WishlistButton", {
367
367
  enumerable: true,
368
- get: function () { return chunkTBAKKSAN_js.WishlistButton; }
368
+ get: function () { return chunkLK2PFMDU_js.WishlistButton; }
369
369
  });
370
370
  Object.defineProperty(exports, "Drawer", {
371
371
  enumerable: true,
372
- get: function () { return chunkREL2RZTI_js.Drawer; }
372
+ get: function () { return chunkS5BIOB34_js.Drawer; }
373
373
  });
374
374
  Object.defineProperty(exports, "Modal", {
375
375
  enumerable: true,
376
- get: function () { return chunkREL2RZTI_js.Modal; }
376
+ get: function () { return chunkS5BIOB34_js.Modal; }
377
377
  });
378
378
  Object.defineProperty(exports, "ContextMenu", {
379
379
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ export { PermissionMatrix } from './chunk-UB2XEZ7C.mjs';
4
4
  export { Combobox, DatePicker, FileUpload } from './chunk-WUTBLHEB.mjs';
5
5
  export { Popover } from './chunk-6RVCYULF.mjs';
6
6
  export { ResizableGroup, ResizableHandle, ResizablePanel } from './chunk-ML5IYW5D.mjs';
7
- export { ToastProvider, useToast } from './chunk-33PU6AH7.mjs';
7
+ export { ToastProvider, useToast } from './chunk-X6VCY7MD.mjs';
8
8
  export { Toggle, ToggleGroup, ToggleGroupItem } from './chunk-DHCJMYFD.mjs';
9
9
  export { CheckboxGroup, MoneyInput, PhoneInput, Progress, ProgressCircle, RadioGroup, Slider, TagInput, TimePicker } from './chunk-HVUNNL3A.mjs';
10
10
  export { Container, Divider, Grid, HStack, KeyValue, KeyValueRow, ListGroup, ListGroupItem, Stack, Stepper, Tab, TabList, TabPanel, Table, Tabs, Tooltip, VStack } from './chunk-7VG64AY7.mjs';
@@ -14,16 +14,16 @@ export { CategoryNav, Hero, Testimonial } from './chunk-X2DBGT7M.mjs';
14
14
  export { Menubar } from './chunk-N2Y2KWX5.mjs';
15
15
  export { NavigationMenu } from './chunk-IMHLJKYR.mjs';
16
16
  export { NotificationCenter } from './chunk-6PEC4RRO.mjs';
17
- export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, TransferList } from './chunk-R76SJURE.mjs';
17
+ export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, TransferList } from './chunk-Z67IZS4P.mjs';
18
18
  export { BulkActionBar, FilterPanel, FilterSection, SortDropdown } from './chunk-PXCH5Z76.mjs';
19
19
  export { ImageGallery, Lightbox } from './chunk-DW3XAXHR.mjs';
20
20
  export { HoverCard } from './chunk-WLDQP4KD.mjs';
21
21
  export { InputOTP } from './chunk-IVL7P3MF.mjs';
22
22
  export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-2UV37SEN.mjs';
23
23
  export { AttachmentList, CommentThread, _internal } from './chunk-3OVWAAGP.mjs';
24
- export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from './chunk-C35GKQJO.mjs';
25
- export { Drawer, Modal } from './chunk-3N4IBCLW.mjs';
26
- import './chunk-XXUSZD5I.mjs';
24
+ export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from './chunk-YXSKREHS.mjs';
25
+ export { Drawer, Modal } from './chunk-7D6Y33UY.mjs';
26
+ import './chunk-U3JH4T3A.mjs';
27
27
  export { ContextMenu } from './chunk-QI4JT3V3.mjs';
28
28
  export { Accordion, AccordionItem, Breadcrumbs, DataTable, TablePagination, TableToolbar } from './chunk-L3TX6KPP.mjs';
29
29
  export { Checkbox, FormField, Input, InputGroup, InputGroupAddon, Label, Radio, Select, Switch, Textarea } from './chunk-GVYZAOWU.mjs';