@misael703/ui 1.35.0 → 1.36.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 (145) hide show
  1. package/dist/{chunk-QAGQ6OH4.mjs → chunk-3AW3TK6D.mjs} +4 -4
  2. package/dist/{chunk-QAGQ6OH4.mjs.map → chunk-3AW3TK6D.mjs.map} +1 -1
  3. package/dist/{chunk-BJBNDA2B.mjs → chunk-3JYYZOEJ.mjs} +4 -4
  4. package/dist/{chunk-BJBNDA2B.mjs.map → chunk-3JYYZOEJ.mjs.map} +1 -1
  5. package/dist/{chunk-LGLG5UZP.js → chunk-3PAZJYH6.js} +6 -6
  6. package/dist/{chunk-LGLG5UZP.js.map → chunk-3PAZJYH6.js.map} +1 -1
  7. package/dist/{chunk-TCL7LRRU.js → chunk-565UJQ2M.js} +9 -9
  8. package/dist/{chunk-TCL7LRRU.js.map → chunk-565UJQ2M.js.map} +1 -1
  9. package/dist/{chunk-YNH3ILYV.mjs → chunk-56AR3HZK.mjs} +5 -5
  10. package/dist/{chunk-YNH3ILYV.mjs.map → chunk-56AR3HZK.mjs.map} +1 -1
  11. package/dist/{chunk-J2LKDSLW.mjs → chunk-5THFLAUQ.mjs} +4 -4
  12. package/dist/{chunk-J2LKDSLW.mjs.map → chunk-5THFLAUQ.mjs.map} +1 -1
  13. package/dist/{chunk-P4I7G5PW.mjs → chunk-5X6SKHZW.mjs} +3 -3
  14. package/dist/{chunk-P4I7G5PW.mjs.map → chunk-5X6SKHZW.mjs.map} +1 -1
  15. package/dist/{chunk-NBSJ6AJP.mjs → chunk-63LUAWJS.mjs} +3 -3
  16. package/dist/{chunk-NBSJ6AJP.mjs.map → chunk-63LUAWJS.mjs.map} +1 -1
  17. package/dist/chunk-6CREI5BC.js +52 -0
  18. package/dist/chunk-6CREI5BC.js.map +1 -0
  19. package/dist/{chunk-4XHKOZJD.js → chunk-74XHJITO.js} +10 -10
  20. package/dist/{chunk-4XHKOZJD.js.map → chunk-74XHJITO.js.map} +1 -1
  21. package/dist/{chunk-MWYYFA5X.js → chunk-A423552C.js} +7 -7
  22. package/dist/{chunk-MWYYFA5X.js.map → chunk-A423552C.js.map} +1 -1
  23. package/dist/{chunk-AYMLKLRZ.js → chunk-AJJBJQAH.js} +7 -7
  24. package/dist/{chunk-AYMLKLRZ.js.map → chunk-AJJBJQAH.js.map} +1 -1
  25. package/dist/{chunk-TVIU7DLZ.js → chunk-C7UG47HQ.js} +5 -5
  26. package/dist/{chunk-TVIU7DLZ.js.map → chunk-C7UG47HQ.js.map} +1 -1
  27. package/dist/{chunk-77M3OY2L.mjs → chunk-CJ6K6NYB.mjs} +3 -3
  28. package/dist/{chunk-77M3OY2L.mjs.map → chunk-CJ6K6NYB.mjs.map} +1 -1
  29. package/dist/{chunk-GWYH2U2H.mjs → chunk-CNQ7HZQT.mjs} +4 -4
  30. package/dist/{chunk-GWYH2U2H.mjs.map → chunk-CNQ7HZQT.mjs.map} +1 -1
  31. package/dist/{chunk-I7D47VEK.js → chunk-DPMY5RV6.js} +8 -8
  32. package/dist/{chunk-I7D47VEK.js.map → chunk-DPMY5RV6.js.map} +1 -1
  33. package/dist/{chunk-DCDFM4CI.mjs → chunk-DQO3VZ2X.mjs} +4 -4
  34. package/dist/{chunk-DCDFM4CI.mjs.map → chunk-DQO3VZ2X.mjs.map} +1 -1
  35. package/dist/{chunk-FB6JXUP3.js → chunk-DZC4SOLV.js} +6 -6
  36. package/dist/{chunk-FB6JXUP3.js.map → chunk-DZC4SOLV.js.map} +1 -1
  37. package/dist/{chunk-7BOA6V72.js → chunk-F3PTSBHH.js} +5 -5
  38. package/dist/{chunk-7BOA6V72.js.map → chunk-F3PTSBHH.js.map} +1 -1
  39. package/dist/{chunk-W7MQSEUR.mjs → chunk-FD3Y5IP7.mjs} +5 -5
  40. package/dist/{chunk-W7MQSEUR.mjs.map → chunk-FD3Y5IP7.mjs.map} +1 -1
  41. package/dist/chunk-FL7VCVYU.js +91 -0
  42. package/dist/chunk-FL7VCVYU.js.map +1 -0
  43. package/dist/{chunk-CVU54JYN.mjs → chunk-FZQDUHPA.mjs} +4 -4
  44. package/dist/{chunk-CVU54JYN.mjs.map → chunk-FZQDUHPA.mjs.map} +1 -1
  45. package/dist/{chunk-BERDZAO5.mjs → chunk-HWOG3TZD.mjs} +3 -3
  46. package/dist/{chunk-BERDZAO5.mjs.map → chunk-HWOG3TZD.mjs.map} +1 -1
  47. package/dist/{chunk-ME57NREH.js → chunk-JJ54RD36.js} +13 -13
  48. package/dist/{chunk-ME57NREH.js.map → chunk-JJ54RD36.js.map} +1 -1
  49. package/dist/{chunk-QSLBGCB5.js → chunk-KWXF6OQW.js} +8 -8
  50. package/dist/{chunk-QSLBGCB5.js.map → chunk-KWXF6OQW.js.map} +1 -1
  51. package/dist/{chunk-RSY4ONVR.mjs → chunk-LAMT2PHX.mjs} +3 -3
  52. package/dist/{chunk-RSY4ONVR.mjs.map → chunk-LAMT2PHX.mjs.map} +1 -1
  53. package/dist/{chunk-TMDAR6XW.js → chunk-LCT5H6XH.js} +4 -4
  54. package/dist/{chunk-TMDAR6XW.js.map → chunk-LCT5H6XH.js.map} +1 -1
  55. package/dist/{chunk-MMHTQ6T7.mjs → chunk-OWIPC5NO.mjs} +2 -2
  56. package/dist/chunk-OWIPC5NO.mjs.map +1 -0
  57. package/dist/{chunk-FPUSNOVX.js → chunk-P6ZVZXTC.js} +4 -4
  58. package/dist/{chunk-FPUSNOVX.js.map → chunk-P6ZVZXTC.js.map} +1 -1
  59. package/dist/{chunk-D42GKEUX.js → chunk-PFPD2HFZ.js} +6 -6
  60. package/dist/{chunk-D42GKEUX.js.map → chunk-PFPD2HFZ.js.map} +1 -1
  61. package/dist/{chunk-KCJCIUOK.mjs → chunk-S5OEOR57.mjs} +4 -4
  62. package/dist/{chunk-KCJCIUOK.mjs.map → chunk-S5OEOR57.mjs.map} +1 -1
  63. package/dist/{chunk-QCBC4ME5.mjs → chunk-SXAGF7EG.mjs} +12 -2
  64. package/dist/chunk-SXAGF7EG.mjs.map +1 -0
  65. package/dist/{chunk-YHWZITIY.mjs → chunk-T42OS6SD.mjs} +4 -4
  66. package/dist/{chunk-YHWZITIY.mjs.map → chunk-T42OS6SD.mjs.map} +1 -1
  67. package/dist/{chunk-2XG3JEEO.js → chunk-TBB4SXUU.js} +8 -8
  68. package/dist/{chunk-2XG3JEEO.js.map → chunk-TBB4SXUU.js.map} +1 -1
  69. package/dist/chunk-TR5ZSPVZ.mjs +29 -0
  70. package/dist/chunk-TR5ZSPVZ.mjs.map +1 -0
  71. package/dist/{chunk-HB5VGI2W.js → chunk-UBSBSZPB.js} +12 -2
  72. package/dist/chunk-UBSBSZPB.js.map +1 -0
  73. package/dist/{chunk-MH6AK52N.js → chunk-VBB2XHBB.js} +6 -6
  74. package/dist/{chunk-MH6AK52N.js.map → chunk-VBB2XHBB.js.map} +1 -1
  75. package/dist/{chunk-5RA2CERT.mjs → chunk-VOSVV3LL.mjs} +3 -3
  76. package/dist/{chunk-5RA2CERT.mjs.map → chunk-VOSVV3LL.mjs.map} +1 -1
  77. package/dist/{chunk-VJLOL7FR.js → chunk-W725MLGN.js} +2 -2
  78. package/dist/chunk-W725MLGN.js.map +1 -0
  79. package/dist/{chunk-542LEDCL.js → chunk-WPCQJ7XW.js} +8 -8
  80. package/dist/{chunk-542LEDCL.js.map → chunk-WPCQJ7XW.js.map} +1 -1
  81. package/dist/chunk-XAGXAVWN.mjs +86 -0
  82. package/dist/chunk-XAGXAVWN.mjs.map +1 -0
  83. package/dist/{chunk-RJ7SXFVU.mjs → chunk-ZYVQJSGO.mjs} +4 -4
  84. package/dist/{chunk-RJ7SXFVU.mjs.map → chunk-ZYVQJSGO.mjs.map} +1 -1
  85. package/dist/components/AdvancedPickers.js +7 -7
  86. package/dist/components/AdvancedPickers.mjs +3 -3
  87. package/dist/components/AppShell.js +4 -4
  88. package/dist/components/AppShell.mjs +2 -2
  89. package/dist/components/Comments.js +6 -6
  90. package/dist/components/Comments.mjs +3 -3
  91. package/dist/components/Commerce.js +15 -15
  92. package/dist/components/Commerce.mjs +4 -4
  93. package/dist/components/DataTable.js +10 -10
  94. package/dist/components/DataTable.mjs +4 -4
  95. package/dist/components/Display.js +13 -13
  96. package/dist/components/Display.mjs +2 -2
  97. package/dist/components/Display3.js +8 -8
  98. package/dist/components/Display3.mjs +2 -2
  99. package/dist/components/Editing.js +8 -8
  100. package/dist/components/Editing.mjs +3 -3
  101. package/dist/components/Filters.js +9 -9
  102. package/dist/components/Filters.mjs +3 -3
  103. package/dist/components/Gallery.js +5 -5
  104. package/dist/components/Gallery.mjs +3 -3
  105. package/dist/components/Inputs.js +7 -7
  106. package/dist/components/Inputs.mjs +3 -3
  107. package/dist/components/InputsExtra.js +12 -12
  108. package/dist/components/InputsExtra.mjs +3 -3
  109. package/dist/components/Notifications.js +4 -4
  110. package/dist/components/Notifications.mjs +3 -3
  111. package/dist/components/Overlay.js +4 -4
  112. package/dist/components/Overlay.mjs +2 -2
  113. package/dist/components/Permissions.js +4 -4
  114. package/dist/components/Permissions.mjs +3 -3
  115. package/dist/components/Pickers.js +7 -7
  116. package/dist/components/Pickers.mjs +2 -2
  117. package/dist/components/TimeAgo.d.mts +35 -0
  118. package/dist/components/TimeAgo.d.ts +35 -0
  119. package/dist/components/TimeAgo.js +26 -0
  120. package/dist/components/TimeAgo.js.map +1 -0
  121. package/dist/components/TimeAgo.mjs +13 -0
  122. package/dist/components/TimeAgo.mjs.map +1 -0
  123. package/dist/components/Toast.js +4 -4
  124. package/dist/components/Toast.mjs +2 -2
  125. package/dist/index.d.mts +4 -1
  126. package/dist/index.d.ts +4 -1
  127. package/dist/index.js +143 -117
  128. package/dist/index.mjs +23 -21
  129. package/dist/locale/index.d.mts +3 -158
  130. package/dist/locale/index.d.ts +3 -158
  131. package/dist/locale/index.js +6 -6
  132. package/dist/locale/index.mjs +2 -2
  133. package/dist/messages-yjqs6yPe.d.mts +176 -0
  134. package/dist/messages-yjqs6yPe.d.ts +176 -0
  135. package/dist/utils/smartTime.d.mts +30 -0
  136. package/dist/utils/smartTime.d.ts +30 -0
  137. package/dist/utils/smartTime.js +26 -0
  138. package/dist/utils/smartTime.js.map +1 -0
  139. package/dist/utils/smartTime.mjs +5 -0
  140. package/dist/utils/smartTime.mjs.map +1 -0
  141. package/package.json +1 -1
  142. package/dist/chunk-HB5VGI2W.js.map +0 -1
  143. package/dist/chunk-MMHTQ6T7.mjs.map +0 -1
  144. package/dist/chunk-QCBC4ME5.mjs.map +0 -1
  145. package/dist/chunk-VJLOL7FR.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk7BOA6V72_js = require('../chunk-7BOA6V72.js');
4
+ var chunkF3PTSBHH_js = require('../chunk-F3PTSBHH.js');
5
5
  require('../chunk-2KZ4NI3X.js');
6
6
  require('../chunk-FL4ZCWUF.js');
7
7
  require('../chunk-NPXEZCTA.js');
8
8
  require('../chunk-55P5FA5Q.js');
9
9
  require('../chunk-D2H4VZVL.js');
10
- require('../chunk-HB5VGI2W.js');
10
+ require('../chunk-UBSBSZPB.js');
11
11
  require('../chunk-XMLBKK7X.js');
12
12
  require('../chunk-CRKYET66.js');
13
13
  require('../chunk-C4AKMVDZ.js');
@@ -17,11 +17,11 @@ require('../chunk-PASF6T4H.js');
17
17
 
18
18
  Object.defineProperty(exports, "Drawer", {
19
19
  enumerable: true,
20
- get: function () { return chunk7BOA6V72_js.Drawer; }
20
+ get: function () { return chunkF3PTSBHH_js.Drawer; }
21
21
  });
22
22
  Object.defineProperty(exports, "Modal", {
23
23
  enumerable: true,
24
- get: function () { return chunk7BOA6V72_js.Modal; }
24
+ get: function () { return chunkF3PTSBHH_js.Modal; }
25
25
  });
26
26
  //# sourceMappingURL=Overlay.js.map
27
27
  //# sourceMappingURL=Overlay.js.map
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- export { Drawer, Modal } from '../chunk-5RA2CERT.mjs';
2
+ export { Drawer, Modal } from '../chunk-VOSVV3LL.mjs';
3
3
  import '../chunk-QQE3XOEM.mjs';
4
4
  import '../chunk-U3JH4T3A.mjs';
5
5
  import '../chunk-6W7ZGWNA.mjs';
6
6
  import '../chunk-XOV4D6J3.mjs';
7
7
  import '../chunk-R5DCDEB5.mjs';
8
- import '../chunk-QCBC4ME5.mjs';
8
+ import '../chunk-SXAGF7EG.mjs';
9
9
  import '../chunk-6P2TKRTL.mjs';
10
10
  import '../chunk-5XT2LX3I.mjs';
11
11
  import '../chunk-BJGMROKL.mjs';
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkLGLG5UZP_js = require('../chunk-LGLG5UZP.js');
4
+ var chunk3PAZJYH6_js = require('../chunk-3PAZJYH6.js');
5
5
  require('../chunk-6SSTTJV4.js');
6
- require('../chunk-VJLOL7FR.js');
7
- require('../chunk-HB5VGI2W.js');
6
+ require('../chunk-W725MLGN.js');
7
+ require('../chunk-UBSBSZPB.js');
8
8
  require('../chunk-C4AKMVDZ.js');
9
9
  require('../chunk-PASF6T4H.js');
10
10
 
@@ -12,7 +12,7 @@ require('../chunk-PASF6T4H.js');
12
12
 
13
13
  Object.defineProperty(exports, "PermissionMatrix", {
14
14
  enumerable: true,
15
- get: function () { return chunkLGLG5UZP_js.PermissionMatrix; }
15
+ get: function () { return chunk3PAZJYH6_js.PermissionMatrix; }
16
16
  });
17
17
  //# sourceMappingURL=Permissions.js.map
18
18
  //# sourceMappingURL=Permissions.js.map
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- export { PermissionMatrix } from '../chunk-YHWZITIY.mjs';
2
+ export { PermissionMatrix } from '../chunk-T42OS6SD.mjs';
3
3
  import '../chunk-SUQLII3F.mjs';
4
- import '../chunk-MMHTQ6T7.mjs';
5
- import '../chunk-QCBC4ME5.mjs';
4
+ import '../chunk-OWIPC5NO.mjs';
5
+ import '../chunk-SXAGF7EG.mjs';
6
6
  import '../chunk-BJGMROKL.mjs';
7
7
  import '../chunk-IEPCH3JB.mjs';
8
8
  //# sourceMappingURL=Permissions.mjs.map
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk542LEDCL_js = require('../chunk-542LEDCL.js');
4
+ var chunkWPCQJ7XW_js = require('../chunk-WPCQJ7XW.js');
5
5
  require('../chunk-MVJITG75.js');
6
6
  require('../chunk-WAGWB35Q.js');
7
7
  require('../chunk-3PXYCXDW.js');
8
- require('../chunk-HB5VGI2W.js');
8
+ require('../chunk-UBSBSZPB.js');
9
9
  require('../chunk-XMLBKK7X.js');
10
10
  require('../chunk-CRKYET66.js');
11
11
  require('../chunk-C4AKMVDZ.js');
@@ -15,23 +15,23 @@ require('../chunk-PASF6T4H.js');
15
15
 
16
16
  Object.defineProperty(exports, "Combobox", {
17
17
  enumerable: true,
18
- get: function () { return chunk542LEDCL_js.Combobox; }
18
+ get: function () { return chunkWPCQJ7XW_js.Combobox; }
19
19
  });
20
20
  Object.defineProperty(exports, "DatePicker", {
21
21
  enumerable: true,
22
- get: function () { return chunk542LEDCL_js.DatePicker; }
22
+ get: function () { return chunkWPCQJ7XW_js.DatePicker; }
23
23
  });
24
24
  Object.defineProperty(exports, "FileUpload", {
25
25
  enumerable: true,
26
- get: function () { return chunk542LEDCL_js.FileUpload; }
26
+ get: function () { return chunkWPCQJ7XW_js.FileUpload; }
27
27
  });
28
28
  Object.defineProperty(exports, "MonthPicker", {
29
29
  enumerable: true,
30
- get: function () { return chunk542LEDCL_js.MonthPicker; }
30
+ get: function () { return chunkWPCQJ7XW_js.MonthPicker; }
31
31
  });
32
32
  Object.defineProperty(exports, "YearPicker", {
33
33
  enumerable: true,
34
- get: function () { return chunk542LEDCL_js.YearPicker; }
34
+ get: function () { return chunkWPCQJ7XW_js.YearPicker; }
35
35
  });
36
36
  //# sourceMappingURL=Pickers.js.map
37
37
  //# sourceMappingURL=Pickers.js.map
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-P4I7G5PW.mjs';
2
+ export { Combobox, DatePicker, FileUpload, MonthPicker, YearPicker } from '../chunk-5X6SKHZW.mjs';
3
3
  import '../chunk-4QHE5H36.mjs';
4
4
  import '../chunk-FKBQYQQD.mjs';
5
5
  import '../chunk-5GEWIK4T.mjs';
6
- import '../chunk-QCBC4ME5.mjs';
6
+ import '../chunk-SXAGF7EG.mjs';
7
7
  import '../chunk-6P2TKRTL.mjs';
8
8
  import '../chunk-5XT2LX3I.mjs';
9
9
  import '../chunk-BJGMROKL.mjs';
@@ -0,0 +1,35 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface TimeAgoProps {
4
+ /** ISO 8601 timestamp. */
5
+ iso: string;
6
+ /** Tooltip position. Defaults to `'top'`. */
7
+ side?: 'top' | 'bottom' | 'left' | 'right';
8
+ /**
9
+ * Reference instant for relative formatting. Defaults to `new Date()`
10
+ * at mount. Provide a stable value when you need predictable output
11
+ * across renders (testing, fixed report timestamps).
12
+ */
13
+ now?: Date;
14
+ }
15
+ /**
16
+ * Adaptive datetime label with absolute tooltip and semantic `<time>` markup.
17
+ *
18
+ * SSR-safe: the first render (server + first client paint) emits the
19
+ * **absolute** label so server HTML matches the client's first paint
20
+ * byte-for-byte. A `useEffect` then swaps to the smart relative label —
21
+ * any divergence (clock skew, NTP drift, TZ between server and client)
22
+ * is contained to a post-mount transition, never a hydration mismatch.
23
+ *
24
+ * The tooltip always shows the full absolute datetime, independent of
25
+ * the relative label.
26
+ */
27
+ declare function TimeAgo({ iso, side, now }: TimeAgoProps): react_jsx_runtime.JSX.Element;
28
+ /**
29
+ * Same SSR-safe contract as {@link TimeAgo} but date-only (no time-of-day).
30
+ * Use for date stamps where the hour is irrelevant: delivery dates,
31
+ * day-precision history entries, etc.
32
+ */
33
+ declare function TimeAgoDate({ iso, side, now }: TimeAgoProps): react_jsx_runtime.JSX.Element;
34
+
35
+ export { TimeAgo, TimeAgoDate, type TimeAgoProps };
@@ -0,0 +1,35 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface TimeAgoProps {
4
+ /** ISO 8601 timestamp. */
5
+ iso: string;
6
+ /** Tooltip position. Defaults to `'top'`. */
7
+ side?: 'top' | 'bottom' | 'left' | 'right';
8
+ /**
9
+ * Reference instant for relative formatting. Defaults to `new Date()`
10
+ * at mount. Provide a stable value when you need predictable output
11
+ * across renders (testing, fixed report timestamps).
12
+ */
13
+ now?: Date;
14
+ }
15
+ /**
16
+ * Adaptive datetime label with absolute tooltip and semantic `<time>` markup.
17
+ *
18
+ * SSR-safe: the first render (server + first client paint) emits the
19
+ * **absolute** label so server HTML matches the client's first paint
20
+ * byte-for-byte. A `useEffect` then swaps to the smart relative label —
21
+ * any divergence (clock skew, NTP drift, TZ between server and client)
22
+ * is contained to a post-mount transition, never a hydration mismatch.
23
+ *
24
+ * The tooltip always shows the full absolute datetime, independent of
25
+ * the relative label.
26
+ */
27
+ declare function TimeAgo({ iso, side, now }: TimeAgoProps): react_jsx_runtime.JSX.Element;
28
+ /**
29
+ * Same SSR-safe contract as {@link TimeAgo} but date-only (no time-of-day).
30
+ * Use for date stamps where the hour is irrelevant: delivery dates,
31
+ * day-precision history entries, etc.
32
+ */
33
+ declare function TimeAgoDate({ iso, side, now }: TimeAgoProps): react_jsx_runtime.JSX.Element;
34
+
35
+ export { TimeAgo, TimeAgoDate, type TimeAgoProps };
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var chunk6CREI5BC_js = require('../chunk-6CREI5BC.js');
5
+ require('../chunk-FL7VCVYU.js');
6
+ require('../chunk-4R5BHEDE.js');
7
+ require('../chunk-W725MLGN.js');
8
+ require('../chunk-WAGWB35Q.js');
9
+ require('../chunk-UBSBSZPB.js');
10
+ require('../chunk-CRKYET66.js');
11
+ require('../chunk-EUB4PHPI.js');
12
+ require('../chunk-C4AKMVDZ.js');
13
+ require('../chunk-PASF6T4H.js');
14
+
15
+
16
+
17
+ Object.defineProperty(exports, "TimeAgo", {
18
+ enumerable: true,
19
+ get: function () { return chunk6CREI5BC_js.TimeAgo; }
20
+ });
21
+ Object.defineProperty(exports, "TimeAgoDate", {
22
+ enumerable: true,
23
+ get: function () { return chunk6CREI5BC_js.TimeAgoDate; }
24
+ });
25
+ //# sourceMappingURL=TimeAgo.js.map
26
+ //# sourceMappingURL=TimeAgo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"TimeAgo.js"}
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+ export { TimeAgo, TimeAgoDate } from '../chunk-TR5ZSPVZ.mjs';
3
+ import '../chunk-XAGXAVWN.mjs';
4
+ import '../chunk-ESOUBZQJ.mjs';
5
+ import '../chunk-OWIPC5NO.mjs';
6
+ import '../chunk-FKBQYQQD.mjs';
7
+ import '../chunk-SXAGF7EG.mjs';
8
+ import '../chunk-5XT2LX3I.mjs';
9
+ import '../chunk-IEPKSPBX.mjs';
10
+ import '../chunk-BJGMROKL.mjs';
11
+ import '../chunk-IEPCH3JB.mjs';
12
+ //# sourceMappingURL=TimeAgo.mjs.map
13
+ //# sourceMappingURL=TimeAgo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"TimeAgo.mjs"}
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkTMDAR6XW_js = require('../chunk-TMDAR6XW.js');
5
- require('../chunk-HB5VGI2W.js');
4
+ var chunkLCT5H6XH_js = require('../chunk-LCT5H6XH.js');
5
+ require('../chunk-UBSBSZPB.js');
6
6
  require('../chunk-C4AKMVDZ.js');
7
7
  require('../chunk-PASF6T4H.js');
8
8
 
@@ -10,11 +10,11 @@ require('../chunk-PASF6T4H.js');
10
10
 
11
11
  Object.defineProperty(exports, "ToastProvider", {
12
12
  enumerable: true,
13
- get: function () { return chunkTMDAR6XW_js.ToastProvider; }
13
+ get: function () { return chunkLCT5H6XH_js.ToastProvider; }
14
14
  });
15
15
  Object.defineProperty(exports, "useToast", {
16
16
  enumerable: true,
17
- get: function () { return chunkTMDAR6XW_js.useToast; }
17
+ get: function () { return chunkLCT5H6XH_js.useToast; }
18
18
  });
19
19
  //# sourceMappingURL=Toast.js.map
20
20
  //# sourceMappingURL=Toast.js.map
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { ToastProvider, useToast } from '../chunk-77M3OY2L.mjs';
3
- import '../chunk-QCBC4ME5.mjs';
2
+ export { ToastProvider, useToast } from '../chunk-CJ6K6NYB.mjs';
3
+ import '../chunk-SXAGF7EG.mjs';
4
4
  import '../chunk-BJGMROKL.mjs';
5
5
  import '../chunk-IEPCH3JB.mjs';
6
6
  //# sourceMappingURL=Toast.mjs.map
package/dist/index.d.mts CHANGED
@@ -2,7 +2,8 @@ export { BRAND_DEFAULTS, BrandDefaults, configureBrand, getBrand, resetBrand } f
2
2
  export { cx } from './utils/cx.mjs';
3
3
  export { DateFormat, RelativeDayOptions, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, formatRelativeDay, isSameDay, isToday, isTomorrow, isYesterday, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.mjs';
4
4
  export { Extensible } from './utils/types.mjs';
5
- export { LocaleProvider, LocaleProviderProps, UiKitMessages, esMessages, format, useLocale } from './locale/index.mjs';
5
+ export { U as UiKitMessages, f as format } from './messages-yjqs6yPe.mjs';
6
+ export { LocaleProvider, LocaleProviderProps, esMessages, useLocale } from './locale/index.mjs';
6
7
  export { Button, ButtonGroup, ButtonProps, ButtonSize, ButtonVariant } from './components/Button.mjs';
7
8
  export { Checkbox, CheckboxProps, FormField, FormFieldProps, Input, InputGroup, InputGroupAddon, InputProps, Label, LabelProps, Radio, RadioProps, Select, SelectProps, Switch, SwitchProps, Textarea, TextareaProps } from './components/Form.mjs';
8
9
  export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, CategoryAccent, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.mjs';
@@ -21,6 +22,8 @@ export { AlertCircle, AlertTriangle, AlignCenter, AlignLeft, AlignRight, ArrowDo
21
22
  export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.mjs';
22
23
  export { Calendar, CalendarEvent, CalendarProps, StatusIndicator, StatusIndicatorProps, StatusTone, Timeline, TimelineDensity, TimelineItem, TimelineItemProps, TimelineProps, TimelineState, TimelineVariant, Tree, TreeNodeData, TreeProps, UserCell, UserCellProps } from './components/Display3.mjs';
23
24
  export { NotificationCenter, NotificationCenterProps, NotificationItem, NotificationTone } from './components/Notifications.mjs';
25
+ export { TimeAgo, TimeAgoDate, TimeAgoProps } from './components/TimeAgo.mjs';
26
+ export { formatIsoDate, formatIsoDateTime, smartDate, smartDateTime } from './utils/smartTime.mjs';
24
27
  export { CodeBlock, CodeBlockProps, JsonViewer, JsonViewerProps } from './components/Code.mjs';
25
28
  export { BulkActionBar, BulkActionBarProps, FilterBar, FilterBarProps, FilterField, FilterFieldProps, FilterPanel, FilterPanelProps, FilterSection, FilterSectionProps, SortDropdown, SortDropdownProps, SortOption } from './components/Filters.mjs';
26
29
  export { AttachmentItem, AttachmentList, AttachmentListProps, CommentItem, CommentThread, CommentThreadProps, _internal } from './components/Comments.mjs';
package/dist/index.d.ts CHANGED
@@ -2,7 +2,8 @@ export { BRAND_DEFAULTS, BrandDefaults, configureBrand, getBrand, resetBrand } f
2
2
  export { cx } from './utils/cx.js';
3
3
  export { DateFormat, RelativeDayOptions, ResolvedDateFormat, addMonths, buildMonthGrid, dateFormatPlaceholder, detectFormatFromLocale, formatDate, formatRelativeDay, isSameDay, isToday, isTomorrow, isYesterday, parseDate, resolveDateFormat, startOfMonth } from './utils/dateFormat.js';
4
4
  export { Extensible } from './utils/types.js';
5
- export { LocaleProvider, LocaleProviderProps, UiKitMessages, esMessages, format, useLocale } from './locale/index.js';
5
+ export { U as UiKitMessages, f as format } from './messages-yjqs6yPe.js';
6
+ export { LocaleProvider, LocaleProviderProps, esMessages, useLocale } from './locale/index.js';
6
7
  export { Button, ButtonGroup, ButtonProps, ButtonSize, ButtonVariant } from './components/Button.js';
7
8
  export { Checkbox, CheckboxProps, FormField, FormFieldProps, Input, InputGroup, InputGroupAddon, InputProps, Label, LabelProps, Radio, RadioProps, Select, SelectProps, Switch, SwitchProps, Textarea, TextareaProps } from './components/Form.js';
8
9
  export { Alert, AlertProps, AlertVariant, Badge, BadgeProps, BadgeVariant, Card, CardAccent, CardBody, CardFooter, CardHeader, CardProps, CategoryAccent, Chip, ChipGroup, ChipProps, ProductCard, ProductCardProps, Skeleton, SkeletonProps, Spinner, SpinnerProps } from './components/Display.js';
@@ -21,6 +22,8 @@ export { AlertCircle, AlertTriangle, AlignCenter, AlignLeft, AlignRight, ArrowDo
21
22
  export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.js';
22
23
  export { Calendar, CalendarEvent, CalendarProps, StatusIndicator, StatusIndicatorProps, StatusTone, Timeline, TimelineDensity, TimelineItem, TimelineItemProps, TimelineProps, TimelineState, TimelineVariant, Tree, TreeNodeData, TreeProps, UserCell, UserCellProps } from './components/Display3.js';
23
24
  export { NotificationCenter, NotificationCenterProps, NotificationItem, NotificationTone } from './components/Notifications.js';
25
+ export { TimeAgo, TimeAgoDate, TimeAgoProps } from './components/TimeAgo.js';
26
+ export { formatIsoDate, formatIsoDateTime, smartDate, smartDateTime } from './utils/smartTime.js';
24
27
  export { CodeBlock, CodeBlockProps, JsonViewer, JsonViewerProps } from './components/Code.js';
25
28
  export { BulkActionBar, BulkActionBarProps, FilterBar, FilterBarProps, FilterField, FilterFieldProps, FilterPanel, FilterPanelProps, FilterSection, FilterSectionProps, SortDropdown, SortDropdownProps, SortOption } from './components/Filters.js';
26
29
  export { AttachmentItem, AttachmentList, AttachmentListProps, CommentItem, CommentThread, CommentThreadProps, _internal } from './components/Comments.js';