ivt 0.4.6 → 0.4.8

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 (188) hide show
  1. package/dist/accordion/index.mjs +15 -15
  2. package/dist/alert/index.mjs +2 -2
  3. package/dist/alert-dialog/index.mjs +17 -17
  4. package/dist/aspect-ratio/index.mjs +1 -1
  5. package/dist/avatar/index.mjs +7 -7
  6. package/dist/badge/index.mjs +3 -3
  7. package/dist/base/index.d.ts +9 -35
  8. package/dist/base/index.mjs +64 -65
  9. package/dist/base/index.mjs.map +1 -1
  10. package/dist/breadcrumb/index.mjs +5 -5
  11. package/dist/button/index.mjs +3 -3
  12. package/dist/calendar/index.mjs +8 -8
  13. package/dist/card/index.mjs +2 -2
  14. package/dist/carousel/index.mjs +4 -4
  15. package/dist/chart/index.mjs +65 -5
  16. package/dist/chart/index.mjs.map +1 -1
  17. package/dist/checkbox/index.mjs +13 -13
  18. package/dist/chunks/{Container-sBmoUJ1A.mjs → Container-Bk3WDmXq.mjs} +2 -2
  19. package/dist/chunks/{Container-sBmoUJ1A.mjs.map → Container-Bk3WDmXq.mjs.map} +1 -1
  20. package/dist/chunks/{_commonjsHelpers-DMx7h_rP.mjs → _commonjsHelpers-7oHtoXzW.mjs} +1 -1
  21. package/dist/chunks/_commonjsHelpers-7oHtoXzW.mjs.map +1 -0
  22. package/dist/chunks/{accordion-BEzCfjyX.mjs → accordion-O8UQxSxk.mjs} +11 -11
  23. package/dist/chunks/{accordion-BEzCfjyX.mjs.map → accordion-O8UQxSxk.mjs.map} +1 -1
  24. package/dist/chunks/{badge-poifvE-U.mjs → badge-DK4Kv-Pv.mjs} +2 -2
  25. package/dist/chunks/{badge-poifvE-U.mjs.map → badge-DK4Kv-Pv.mjs.map} +1 -1
  26. package/dist/chunks/{bundle-mjs-8KEENQOJ.mjs → bundle-mjs-DH6vf6gy.mjs} +1 -1
  27. package/dist/chunks/{bundle-mjs-8KEENQOJ.mjs.map → bundle-mjs-DH6vf6gy.mjs.map} +1 -1
  28. package/dist/chunks/{button-TULRIYFO.mjs → button-By6p3Bsx.mjs} +2 -2
  29. package/dist/chunks/{button-TULRIYFO.mjs.map → button-By6p3Bsx.mjs.map} +1 -1
  30. package/dist/chunks/{calendar-nJ5T1YgK.mjs → calendar-BMDZ5epm.mjs} +205 -40
  31. package/dist/chunks/calendar-BMDZ5epm.mjs.map +1 -0
  32. package/dist/chunks/{check-DcPt24aD.mjs → check-I-Hz86Bu.mjs} +2 -2
  33. package/dist/chunks/{check-DcPt24aD.mjs.map → check-I-Hz86Bu.mjs.map} +1 -1
  34. package/dist/chunks/{chevron-down-BNw46No-.mjs → chevron-down-BChdO0uD.mjs} +2 -2
  35. package/dist/chunks/{chevron-down-BNw46No-.mjs.map → chevron-down-BChdO0uD.mjs.map} +1 -1
  36. package/dist/chunks/{chevron-left-B-ZN622G.mjs → chevron-left-DTNQBpUD.mjs} +2 -2
  37. package/dist/chunks/{chevron-left-B-ZN622G.mjs.map → chevron-left-DTNQBpUD.mjs.map} +1 -1
  38. package/dist/chunks/{chevron-right-Ddz8dCda.mjs → chevron-right-Cc8XUA4m.mjs} +2 -2
  39. package/dist/chunks/{chevron-right-Ddz8dCda.mjs.map → chevron-right-Cc8XUA4m.mjs.map} +1 -1
  40. package/dist/chunks/{chevrons-up-down-ChXPuZd6.mjs → chevrons-up-down-D7M3-587.mjs} +2 -2
  41. package/dist/chunks/{chevrons-up-down-ChXPuZd6.mjs.map → chevrons-up-down-D7M3-587.mjs.map} +1 -1
  42. package/dist/chunks/{command-D6QS1LFL.mjs → command-0Ir07spf.mjs} +8 -8
  43. package/dist/chunks/{command-D6QS1LFL.mjs.map → command-0Ir07spf.mjs.map} +1 -1
  44. package/dist/chunks/{createLucideIcon-DOOu6ntc.mjs → createLucideIcon-C_iAsC8V.mjs} +1 -1
  45. package/dist/chunks/{createLucideIcon-DOOu6ntc.mjs.map → createLucideIcon-C_iAsC8V.mjs.map} +1 -1
  46. package/dist/chunks/{dialog-BefJPh8X.mjs → dialog-DgjQIzg0.mjs} +4 -4
  47. package/dist/chunks/{dialog-BefJPh8X.mjs.map → dialog-DgjQIzg0.mjs.map} +1 -1
  48. package/dist/chunks/{ellipsis-Cwr1X9R2.mjs → ellipsis-DZCE7oYT.mjs} +2 -2
  49. package/dist/chunks/{ellipsis-Cwr1X9R2.mjs.map → ellipsis-DZCE7oYT.mjs.map} +1 -1
  50. package/dist/chunks/{hover-card-CcNjcMZa.mjs → hover-card-kziSplk3.mjs} +11 -11
  51. package/dist/chunks/{hover-card-CcNjcMZa.mjs.map → hover-card-kziSplk3.mjs.map} +1 -1
  52. package/dist/chunks/{index-e34k5BX3.mjs → index-B9cFm0ac.mjs} +1 -1
  53. package/dist/chunks/{index-e34k5BX3.mjs.map → index-B9cFm0ac.mjs.map} +1 -1
  54. package/dist/chunks/{index-DvLErdHO.mjs → index-BF-RSDzg.mjs} +1 -1
  55. package/dist/chunks/{index-DvLErdHO.mjs.map → index-BF-RSDzg.mjs.map} +1 -1
  56. package/dist/chunks/{index-EfpXtubk.mjs → index-BQaJNtas.mjs} +5 -5
  57. package/dist/chunks/{index-EfpXtubk.mjs.map → index-BQaJNtas.mjs.map} +1 -1
  58. package/dist/chunks/{index-BCsiqIRL.mjs → index-BYwOnxY9.mjs} +1 -1
  59. package/dist/chunks/{index-BCsiqIRL.mjs.map → index-BYwOnxY9.mjs.map} +1 -1
  60. package/dist/chunks/{index-DDe3wbsL.mjs → index-B_sik0X8.mjs} +1 -1
  61. package/dist/chunks/{index-DDe3wbsL.mjs.map → index-B_sik0X8.mjs.map} +1 -1
  62. package/dist/chunks/{index-Bb31UsVK.mjs → index-Bfm-YFEU.mjs} +1 -1
  63. package/dist/chunks/{index-Bb31UsVK.mjs.map → index-Bfm-YFEU.mjs.map} +1 -1
  64. package/dist/chunks/{index-CSiM72Dy.mjs → index-Bhg2_PY7.mjs} +1 -1
  65. package/dist/chunks/{index-CSiM72Dy.mjs.map → index-Bhg2_PY7.mjs.map} +1 -1
  66. package/dist/chunks/{index-CQc8iXpK.mjs → index-Bq7RTW2y.mjs} +11 -11
  67. package/dist/chunks/{index-CQc8iXpK.mjs.map → index-Bq7RTW2y.mjs.map} +1 -1
  68. package/dist/chunks/{index-CK9CWim6.mjs → index-C8MYZd8G.mjs} +2 -2
  69. package/dist/chunks/{index-CK9CWim6.mjs.map → index-C8MYZd8G.mjs.map} +1 -1
  70. package/dist/chunks/{index-CjtaP9C4.mjs → index-CIezYkdT.mjs} +1 -1
  71. package/dist/chunks/{index-CjtaP9C4.mjs.map → index-CIezYkdT.mjs.map} +1 -1
  72. package/dist/chunks/{index-BwVg1Kb5.mjs → index-CZ5Lcw2b.mjs} +1 -1
  73. package/dist/chunks/{index-BwVg1Kb5.mjs.map → index-CZ5Lcw2b.mjs.map} +1 -1
  74. package/dist/chunks/{index-CWMDV9qs.mjs → index-Ch7F9sXl.mjs} +2 -2
  75. package/dist/chunks/{index-CWMDV9qs.mjs.map → index-Ch7F9sXl.mjs.map} +1 -1
  76. package/dist/chunks/{index-BnNdF3Y6.mjs → index-D6oieYoA.mjs} +9 -9
  77. package/dist/chunks/{index-BnNdF3Y6.mjs.map → index-D6oieYoA.mjs.map} +1 -1
  78. package/dist/chunks/{index-D1qT_gBX.mjs → index-DmfDMAo5.mjs} +1 -1
  79. package/dist/chunks/{index-D1qT_gBX.mjs.map → index-DmfDMAo5.mjs.map} +1 -1
  80. package/dist/chunks/{index-P1gmXtXB.mjs → index-DvGV9EWr.mjs} +3 -3
  81. package/dist/chunks/{index-P1gmXtXB.mjs.map → index-DvGV9EWr.mjs.map} +1 -1
  82. package/dist/chunks/{index-DejfSFbY.mjs → index-DwkdRROB.mjs} +7 -7
  83. package/dist/chunks/{index-DejfSFbY.mjs.map → index-DwkdRROB.mjs.map} +1 -1
  84. package/dist/chunks/{index-DSL6rasA.mjs → index-Dx_b8MUs.mjs} +9 -9
  85. package/dist/chunks/{index-DSL6rasA.mjs.map → index-Dx_b8MUs.mjs.map} +1 -1
  86. package/dist/chunks/{index-D7B2_9g4.mjs → index-QmLTwiGV.mjs} +2 -2
  87. package/dist/chunks/{index-D7B2_9g4.mjs.map → index-QmLTwiGV.mjs.map} +1 -1
  88. package/dist/chunks/{index-DoRi3lh9.mjs → index-THb_GTJh.mjs} +2 -2
  89. package/dist/chunks/{index-DoRi3lh9.mjs.map → index-THb_GTJh.mjs.map} +1 -1
  90. package/dist/chunks/{index-JyHiZGQv.mjs → index-fWNPF8HK.mjs} +15 -15
  91. package/dist/chunks/{index-JyHiZGQv.mjs.map → index-fWNPF8HK.mjs.map} +1 -1
  92. package/dist/chunks/{index-1tph_k2t.mjs → index-kx2sJ01P.mjs} +1 -1
  93. package/dist/chunks/{index-1tph_k2t.mjs.map → index-kx2sJ01P.mjs.map} +1 -1
  94. package/dist/chunks/{index-0fdTSdHQ.mjs → index-qjWZItTF.mjs} +5 -5
  95. package/dist/chunks/{index-0fdTSdHQ.mjs.map → index-qjWZItTF.mjs.map} +1 -1
  96. package/dist/chunks/{index-Cl4mLFZO.mjs → index-vM3wkbBM.mjs} +3 -3
  97. package/dist/chunks/{index-Cl4mLFZO.mjs.map → index-vM3wkbBM.mjs.map} +1 -1
  98. package/dist/chunks/{input-CDsq1Xde.mjs → input-Ck6shWlC.mjs} +2 -2
  99. package/dist/chunks/{input-CDsq1Xde.mjs.map → input-Ck6shWlC.mjs.map} +1 -1
  100. package/dist/chunks/{label-BzGy6SRg.mjs → label-VIPrkCET.mjs} +3 -3
  101. package/dist/chunks/{label-BzGy6SRg.mjs.map → label-VIPrkCET.mjs.map} +1 -1
  102. package/dist/chunks/{pagination-CfFGN_ib.mjs → pagination-Dm7nWzum.mjs} +6 -6
  103. package/dist/chunks/{pagination-CfFGN_ib.mjs.map → pagination-Dm7nWzum.mjs.map} +1 -1
  104. package/dist/chunks/{popover-BlSoIp_B.mjs → popover-C9351eP_.mjs} +13 -13
  105. package/dist/chunks/{popover-BlSoIp_B.mjs.map → popover-C9351eP_.mjs.map} +1 -1
  106. package/dist/chunks/{progress-CIapbA26.mjs → progress-mirm5NVY.mjs} +4 -4
  107. package/dist/chunks/{progress-CIapbA26.mjs.map → progress-mirm5NVY.mjs.map} +1 -1
  108. package/dist/chunks/pt-BR-BaLtJ-uU.mjs +3275 -0
  109. package/dist/chunks/pt-BR-BaLtJ-uU.mjs.map +1 -0
  110. package/dist/chunks/{scroll-area-BE1y6Igy.mjs → scroll-area-NkdCgHkI.mjs} +11 -11
  111. package/dist/chunks/{scroll-area-BE1y6Igy.mjs.map → scroll-area-NkdCgHkI.mjs.map} +1 -1
  112. package/dist/chunks/{select-BBb0ke76.mjs → select-CGW1Mv2b.mjs} +5 -5
  113. package/dist/chunks/{select-BBb0ke76.mjs.map → select-CGW1Mv2b.mjs.map} +1 -1
  114. package/dist/chunks/{separator-B1yL1lh8.mjs → separator-DOKWXYm4.mjs} +3 -3
  115. package/dist/chunks/{separator-B1yL1lh8.mjs.map → separator-DOKWXYm4.mjs.map} +1 -1
  116. package/dist/chunks/{sheet-FhW-R397.mjs → sheet-BeOnCTry.mjs} +4 -4
  117. package/dist/chunks/{sheet-FhW-R397.mjs.map → sheet-BeOnCTry.mjs.map} +1 -1
  118. package/dist/chunks/{skeleton-Cy2Kyc1R.mjs → skeleton-A7SmFyPS.mjs} +2 -2
  119. package/dist/chunks/{skeleton-Cy2Kyc1R.mjs.map → skeleton-A7SmFyPS.mjs.map} +1 -1
  120. package/dist/chunks/{sortable-qR5yOJD2.mjs → sortable-BZWn10dE.mjs} +3 -3
  121. package/dist/chunks/{sortable-qR5yOJD2.mjs.map → sortable-BZWn10dE.mjs.map} +1 -1
  122. package/dist/chunks/{table-QPbxZz58.mjs → table-0T2vOBFN.mjs} +2 -2
  123. package/dist/chunks/{table-QPbxZz58.mjs.map → table-0T2vOBFN.mjs.map} +1 -1
  124. package/dist/chunks/{toggle-CoBW3Uqo.mjs → toggle-DXexQScO.mjs} +5 -5
  125. package/dist/chunks/{toggle-CoBW3Uqo.mjs.map → toggle-DXexQScO.mjs.map} +1 -1
  126. package/dist/chunks/{tooltip-DNfLTD30.mjs → tooltip-Dj5aSMd4.mjs} +13 -13
  127. package/dist/chunks/{tooltip-DNfLTD30.mjs.map → tooltip-Dj5aSMd4.mjs.map} +1 -1
  128. package/dist/chunks/{trash-2-D3X2krCW.mjs → trash-2-DKEuKNiO.mjs} +2 -2
  129. package/dist/chunks/{trash-2-D3X2krCW.mjs.map → trash-2-DKEuKNiO.mjs.map} +1 -1
  130. package/dist/chunks/{tslib.es6-UJQ1U8uE.mjs → tslib.es6-BAF7iAx8.mjs} +1 -1
  131. package/dist/chunks/{tslib.es6-UJQ1U8uE.mjs.map → tslib.es6-BAF7iAx8.mjs.map} +1 -1
  132. package/dist/chunks/{utils-AmLv58nm.mjs → utils-ieFmv4d0.mjs} +2 -2
  133. package/dist/chunks/{utils-AmLv58nm.mjs.map → utils-ieFmv4d0.mjs.map} +1 -1
  134. package/dist/chunks/{x-CENvqJg-.mjs → x-UYJwiGZL.mjs} +2 -2
  135. package/dist/chunks/{x-CENvqJg-.mjs.map → x-UYJwiGZL.mjs.map} +1 -1
  136. package/dist/collapsible/index.mjs +9 -9
  137. package/dist/combobox/index.mjs +26 -26
  138. package/dist/command/index.mjs +20 -20
  139. package/dist/context-menu/index.mjs +23 -23
  140. package/dist/data-table/index.mjs +35 -35
  141. package/dist/date-picker/index.d.ts +7 -20
  142. package/dist/date-picker/index.mjs +38 -38
  143. package/dist/date-picker/index.mjs.map +1 -1
  144. package/dist/dialog/index.mjs +19 -19
  145. package/dist/drawer/index.mjs +16 -16
  146. package/dist/dropdown-menu/index.mjs +23 -23
  147. package/dist/dropzone/index.mjs +18 -18
  148. package/dist/form/index.mjs +11 -5
  149. package/dist/form/index.mjs.map +1 -1
  150. package/dist/hover-card/index.mjs +15 -15
  151. package/dist/icon/index.mjs +1 -1
  152. package/dist/index.css +1 -1
  153. package/dist/input/index.mjs +3 -3
  154. package/dist/input-otp/index.mjs +3 -3
  155. package/dist/ivt.css +1 -1
  156. package/dist/label/index.mjs +4 -4
  157. package/dist/layout/index.mjs +5 -5
  158. package/dist/menubar/index.mjs +23 -23
  159. package/dist/multi-select/index.mjs +30 -30
  160. package/dist/navigation-menu/index.mjs +17 -17
  161. package/dist/pagination/index.mjs +8 -8
  162. package/dist/popover/index.mjs +18 -18
  163. package/dist/progress/index.mjs +5 -5
  164. package/dist/radio-group/index.mjs +17 -17
  165. package/dist/resizable/index.mjs +3 -3
  166. package/dist/scroll-area/index.mjs +12 -12
  167. package/dist/select/index.mjs +6 -6
  168. package/dist/separator/index.mjs +4 -4
  169. package/dist/shared/index.mjs +5 -5
  170. package/dist/sheet/index.mjs +19 -19
  171. package/dist/sidebar/index.mjs +27 -27
  172. package/dist/skeleton/index.mjs +3 -3
  173. package/dist/skeleton-component/index.mjs +4 -4
  174. package/dist/slider/index.mjs +12 -12
  175. package/dist/sortable/index.mjs +4 -4
  176. package/dist/switch/index.mjs +10 -10
  177. package/dist/table/index.mjs +3 -3
  178. package/dist/tabs/index.mjs +13 -13
  179. package/dist/textarea/index.mjs +2 -2
  180. package/dist/toast/index.mjs +15 -15
  181. package/dist/toggle/index.mjs +7 -7
  182. package/dist/toggle-group/index.mjs +13 -13
  183. package/dist/tooltip/index.mjs +17 -17
  184. package/package.json +1 -1
  185. package/dist/chunks/_commonjsHelpers-DMx7h_rP.mjs.map +0 -1
  186. package/dist/chunks/calendar-nJ5T1YgK.mjs.map +0 -1
  187. package/dist/chunks/pt-BR-BCfQl1oP.mjs +0 -608
  188. package/dist/chunks/pt-BR-BCfQl1oP.mjs.map +0 -1
@@ -1,21 +1,21 @@
1
- export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-BEzCfjyX.mjs';
2
- import '../chunks/utils-AmLv58nm.mjs';
3
- import '../chunks/bundle-mjs-8KEENQOJ.mjs';
1
+ export { A as Accordion, c as AccordionContent, a as AccordionItem, b as AccordionTrigger } from '../chunks/accordion-O8UQxSxk.mjs';
2
+ import '../chunks/utils-ieFmv4d0.mjs';
3
+ import '../chunks/bundle-mjs-DH6vf6gy.mjs';
4
4
  import 'react';
5
- import '../chunks/index-DvLErdHO.mjs';
5
+ import '../chunks/index-BF-RSDzg.mjs';
6
6
  import 'react/jsx-runtime';
7
7
  import '@radix-ui/react-collection';
8
- import '../chunks/index-CSiM72Dy.mjs';
9
- import '../chunks/index-D1qT_gBX.mjs';
10
- import '../chunks/index-DoRi3lh9.mjs';
11
- import '../chunks/index-BwVg1Kb5.mjs';
12
- import '../chunks/index-DDe3wbsL.mjs';
8
+ import '../chunks/index-Bhg2_PY7.mjs';
9
+ import '../chunks/index-DmfDMAo5.mjs';
10
+ import '../chunks/index-THb_GTJh.mjs';
11
+ import '../chunks/index-CZ5Lcw2b.mjs';
12
+ import '../chunks/index-B_sik0X8.mjs';
13
13
  import 'react-dom';
14
14
  import '@radix-ui/react-slot';
15
- import '../chunks/index-BnNdF3Y6.mjs';
16
- import '../chunks/index-P1gmXtXB.mjs';
17
- import '../chunks/index-CWMDV9qs.mjs';
18
- import '../chunks/index-CjtaP9C4.mjs';
19
- import '../chunks/chevron-down-BNw46No-.mjs';
20
- import '../chunks/createLucideIcon-DOOu6ntc.mjs';
15
+ import '../chunks/index-D6oieYoA.mjs';
16
+ import '../chunks/index-DvGV9EWr.mjs';
17
+ import '../chunks/index-Ch7F9sXl.mjs';
18
+ import '../chunks/index-CIezYkdT.mjs';
19
+ import '../chunks/chevron-down-BChdO0uD.mjs';
20
+ import '../chunks/createLucideIcon-C_iAsC8V.mjs';
21
21
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
- import { c as cn } from '../chunks/utils-AmLv58nm.mjs';
1
+ import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
2
2
  import { cva } from 'class-variance-authority';
3
3
  import React__default from 'react';
4
- import '../chunks/bundle-mjs-8KEENQOJ.mjs';
4
+ import '../chunks/bundle-mjs-DH6vf6gy.mjs';
5
5
 
6
6
  const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
7
7
  variants: {
@@ -1,24 +1,24 @@
1
1
  import * as React from 'react';
2
- import { c as createContextScope } from '../chunks/index-DvLErdHO.mjs';
3
- import { u as useComposedRefs } from '../chunks/index-CSiM72Dy.mjs';
4
- import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-CQc8iXpK.mjs';
5
- import { c as composeEventHandlers } from '../chunks/index-D1qT_gBX.mjs';
2
+ import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
3
+ import { u as useComposedRefs } from '../chunks/index-Bhg2_PY7.mjs';
4
+ import { c as createDialogScope, R as Root, P as Portal, O as Overlay, b as Trigger, W as WarningProvider, a as Content, T as Title, D as Description, C as Close } from '../chunks/index-Bq7RTW2y.mjs';
5
+ import { c as composeEventHandlers } from '../chunks/index-DmfDMAo5.mjs';
6
6
  import { createSlottable } from '@radix-ui/react-slot';
7
7
  import { jsx, jsxs } from 'react/jsx-runtime';
8
- import { c as cn } from '../chunks/utils-AmLv58nm.mjs';
9
- import { b as buttonVariants } from '../chunks/button-TULRIYFO.mjs';
10
- import '../chunks/index-CWMDV9qs.mjs';
11
- import '../chunks/index-BwVg1Kb5.mjs';
12
- import '../chunks/index-DoRi3lh9.mjs';
13
- import '../chunks/index-0fdTSdHQ.mjs';
14
- import '../chunks/index-DDe3wbsL.mjs';
8
+ import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
9
+ import { b as buttonVariants } from '../chunks/button-By6p3Bsx.mjs';
10
+ import '../chunks/index-Ch7F9sXl.mjs';
11
+ import '../chunks/index-CZ5Lcw2b.mjs';
12
+ import '../chunks/index-THb_GTJh.mjs';
13
+ import '../chunks/index-qjWZItTF.mjs';
14
+ import '../chunks/index-B_sik0X8.mjs';
15
15
  import 'react-dom';
16
- import '../chunks/index-e34k5BX3.mjs';
17
- import '../chunks/index-EfpXtubk.mjs';
18
- import '../chunks/tslib.es6-UJQ1U8uE.mjs';
19
- import '../chunks/index-Cl4mLFZO.mjs';
20
- import '../chunks/index-P1gmXtXB.mjs';
21
- import '../chunks/bundle-mjs-8KEENQOJ.mjs';
16
+ import '../chunks/index-B9cFm0ac.mjs';
17
+ import '../chunks/index-BQaJNtas.mjs';
18
+ import '../chunks/tslib.es6-BAF7iAx8.mjs';
19
+ import '../chunks/index-vM3wkbBM.mjs';
20
+ import '../chunks/index-DvGV9EWr.mjs';
21
+ import '../chunks/bundle-mjs-DH6vf6gy.mjs';
22
22
  import 'class-variance-authority';
23
23
 
24
24
  var ROOT_NAME = "AlertDialog";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { P as Primitive } from '../chunks/index-DDe3wbsL.mjs';
2
+ import { P as Primitive } from '../chunks/index-B_sik0X8.mjs';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import 'react-dom';
5
5
  import '@radix-ui/react-slot';
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import { c as createContextScope } from '../chunks/index-DvLErdHO.mjs';
3
- import { u as useCallbackRef } from '../chunks/index-e34k5BX3.mjs';
4
- import { u as useLayoutEffect2 } from '../chunks/index-BwVg1Kb5.mjs';
5
- import { P as Primitive } from '../chunks/index-DDe3wbsL.mjs';
6
- import { r as requireShim } from '../chunks/index-BCsiqIRL.mjs';
2
+ import { c as createContextScope } from '../chunks/index-BF-RSDzg.mjs';
3
+ import { u as useCallbackRef } from '../chunks/index-B9cFm0ac.mjs';
4
+ import { u as useLayoutEffect2 } from '../chunks/index-CZ5Lcw2b.mjs';
5
+ import { P as Primitive } from '../chunks/index-B_sik0X8.mjs';
6
+ import { r as requireShim } from '../chunks/index-BYwOnxY9.mjs';
7
7
  import { jsx } from 'react/jsx-runtime';
8
- import { c as cn } from '../chunks/utils-AmLv58nm.mjs';
8
+ import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
9
9
  import 'react-dom';
10
10
  import '@radix-ui/react-slot';
11
- import '../chunks/bundle-mjs-8KEENQOJ.mjs';
11
+ import '../chunks/bundle-mjs-DH6vf6gy.mjs';
12
12
 
13
13
  var shimExports = requireShim();
14
14
 
@@ -1,6 +1,6 @@
1
- export { B as Badge, b as badgeVariants } from '../chunks/badge-poifvE-U.mjs';
2
- import '../chunks/utils-AmLv58nm.mjs';
3
- import '../chunks/bundle-mjs-8KEENQOJ.mjs';
1
+ export { B as Badge, b as badgeVariants } from '../chunks/badge-DK4Kv-Pv.mjs';
2
+ import '../chunks/utils-ieFmv4d0.mjs';
3
+ import '../chunks/bundle-mjs-DH6vf6gy.mjs';
4
4
  import '@radix-ui/react-slot';
5
5
  import 'class-variance-authority';
6
6
  import 'react';
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
3
  import { ButtonProps } from '../button/index.js';
4
+ import { Calendar } from '../calendar/index.js';
4
5
  import { Popover } from '../popover/index.js';
5
6
  import { BadgeProps } from '../badge/index.js';
6
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -25,44 +26,21 @@ interface HeaderProps {
25
26
  }
26
27
  declare const Header: React__default.FC<HeaderProps>;
27
28
 
28
- type CaptionLayout = "label" | "dropdown";
29
29
  declare function normalizeDate(date: Date): string;
30
- type CalendarPopoverProps = {
31
- /** Data selecionada (controlada externamente, opcional) */
32
- date: Date | undefined;
33
- /** Callback chamado quando uma data é selecionada */
34
- setDate: (newDate: Date | undefined) => void;
35
- /** Texto exibido quando nenhuma data está selecionada */
30
+ interface CalendarPopoverProps extends Omit<React__default.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
31
+ date: Date | string | undefined;
32
+ setDate: (date: Date | undefined) => void;
36
33
  placeholder?: string;
37
- /** ID opcional para o botão */
38
34
  id?: string;
39
- /** Props adicionais para o botão */
40
35
  buttonProps?: ButtonProps;
41
- /** Classes extras aplicadas ao botão */
42
- buttonClassName?: string;
43
- /** Props adicionais para o popover */
44
36
  popoverProps?: React__default.ComponentProps<typeof Popover>;
45
- /** Classes extras aplicadas ao conteúdo do popover */
46
37
  popoverContentClassName?: string;
47
- /** Número de meses exibidos no calendário (default: 1) */
48
- numberOfMonths?: number;
49
- /** Ano inicial permitido */
50
- fromYear?: number;
51
- /** Ano final permitido */
52
- toYear?: number;
53
- /** Classes extras para o contêiner */
54
38
  className?: string;
55
- /** Desabilita o botão */
56
39
  disabled?: boolean;
57
- /** Define se está carregando */
58
40
  isLoading?: boolean;
59
- /** Define se está carregando dentro de calendar */
60
41
  isLoadingTable?: boolean;
61
- /** Deixa desabilitado datas específicas customizadas */
62
42
  disabledDates?: Set<string>;
63
- /** Deixa desabilitado datas específicas customizadas */
64
- captionLayout?: CaptionLayout;
65
- };
43
+ }
66
44
  declare const CalendarPopover: React__default.FC<CalendarPopoverProps>;
67
45
 
68
46
  interface HoverBadgeProps {
@@ -75,23 +53,18 @@ interface HoverBadgeProps {
75
53
  }
76
54
  declare const HoverBadge: React__default.FC<HoverBadgeProps>;
77
55
 
78
- type CalendarRangeProps = {
56
+ interface CalendarRangeProps extends Omit<React.ComponentProps<typeof Calendar>, "mode" | "selected" | "onSelect"> {
79
57
  value: DateRange | undefined;
80
58
  onChange: (range: DateRange | undefined) => void;
81
59
  placeholder?: string;
82
60
  id?: string;
83
61
  buttonProps?: ButtonProps;
84
- buttonClassName?: string;
85
62
  popoverProps?: React.ComponentProps<typeof Popover>;
86
63
  popoverContentClassName?: string;
87
- numberOfMonths?: number;
88
- fromYear?: number;
89
- toYear?: number;
90
- toDate?: Date;
91
64
  className?: string;
92
65
  disabled?: boolean;
93
- };
94
- declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, buttonClassName, popoverProps, popoverContentClassName, numberOfMonths, fromYear, toYear, toDate, className, disabled, }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
66
+ }
67
+ declare function CalendarRange({ value, onChange, placeholder, id, buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }: CalendarRangeProps): react_jsx_runtime.JSX.Element;
95
68
 
96
69
  interface AutoCompleteProps<T> {
97
70
  value: T | null;
@@ -122,3 +95,4 @@ interface DeleteConfirmationModalProps {
122
95
  declare function DeleteConfirmationModal({ onConfirm, title, description, confirmText, cancelText, disabled, children, }: DeleteConfirmationModalProps): react_jsx_runtime.JSX.Element;
123
96
 
124
97
  export { AutoComplete, CalendarPopover, CalendarRange, DeleteConfirmationModal, Header, HoverBadge, TextWrap, normalizeDate };
98
+ export type { CalendarPopoverProps, CalendarRangeProps };
@@ -1,47 +1,47 @@
1
- import { c as cn } from '../chunks/utils-AmLv58nm.mjs';
1
+ import { c as cn } from '../chunks/utils-ieFmv4d0.mjs';
2
2
  import * as React from 'react';
3
3
  import React__default, { useRef, useEffect, useMemo } from 'react';
4
- import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-BEzCfjyX.mjs';
5
- import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-BlSoIp_B.mjs';
6
- import { c as createLucideIcon } from '../chunks/createLucideIcon-DOOu6ntc.mjs';
7
- import { C as CalendarDays, p as ptBR } from '../chunks/pt-BR-BCfQl1oP.mjs';
8
- import { t as toDate, f as format, C as Calendar } from '../chunks/calendar-nJ5T1YgK.mjs';
9
- import { B as Button } from '../chunks/button-TULRIYFO.mjs';
10
- import { t as twMerge } from '../chunks/bundle-mjs-8KEENQOJ.mjs';
11
- import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-CcNjcMZa.mjs';
12
- import { B as Badge } from '../chunks/badge-poifvE-U.mjs';
13
- import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-ChXPuZd6.mjs';
14
- import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-D6QS1LFL.mjs';
15
- import { C as Check } from '../chunks/check-DcPt24aD.mjs';
16
- import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-BefJPh8X.mjs';
17
- import { T as Trash2 } from '../chunks/trash-2-D3X2krCW.mjs';
18
- import '../chunks/index-DvLErdHO.mjs';
4
+ import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-O8UQxSxk.mjs';
5
+ import { t as tryParseDate, C as CalendarDays, p as ptBR } from '../chunks/pt-BR-BaLtJ-uU.mjs';
6
+ import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-C9351eP_.mjs';
7
+ import { c as createLucideIcon } from '../chunks/createLucideIcon-C_iAsC8V.mjs';
8
+ import { t as toDate, f as format, C as Calendar } from '../chunks/calendar-BMDZ5epm.mjs';
9
+ import { B as Button } from '../chunks/button-By6p3Bsx.mjs';
10
+ import { t as twMerge } from '../chunks/bundle-mjs-DH6vf6gy.mjs';
11
+ import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-kziSplk3.mjs';
12
+ import { B as Badge } from '../chunks/badge-DK4Kv-Pv.mjs';
13
+ import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-D7M3-587.mjs';
14
+ import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-0Ir07spf.mjs';
15
+ import { C as Check } from '../chunks/check-I-Hz86Bu.mjs';
16
+ import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-DgjQIzg0.mjs';
17
+ import { T as Trash2 } from '../chunks/trash-2-DKEuKNiO.mjs';
18
+ import '../chunks/index-BF-RSDzg.mjs';
19
19
  import 'react/jsx-runtime';
20
20
  import '@radix-ui/react-collection';
21
- import '../chunks/index-CSiM72Dy.mjs';
22
- import '../chunks/index-D1qT_gBX.mjs';
23
- import '../chunks/index-DoRi3lh9.mjs';
24
- import '../chunks/index-BwVg1Kb5.mjs';
25
- import '../chunks/index-DDe3wbsL.mjs';
21
+ import '../chunks/index-Bhg2_PY7.mjs';
22
+ import '../chunks/index-DmfDMAo5.mjs';
23
+ import '../chunks/index-THb_GTJh.mjs';
24
+ import '../chunks/index-CZ5Lcw2b.mjs';
25
+ import '../chunks/index-B_sik0X8.mjs';
26
26
  import 'react-dom';
27
27
  import '@radix-ui/react-slot';
28
- import '../chunks/index-BnNdF3Y6.mjs';
29
- import '../chunks/index-P1gmXtXB.mjs';
30
- import '../chunks/index-CWMDV9qs.mjs';
31
- import '../chunks/index-CjtaP9C4.mjs';
32
- import '../chunks/chevron-down-BNw46No-.mjs';
33
- import '../chunks/index-0fdTSdHQ.mjs';
34
- import '../chunks/index-e34k5BX3.mjs';
35
- import '../chunks/index-EfpXtubk.mjs';
36
- import '../chunks/tslib.es6-UJQ1U8uE.mjs';
37
- import '../chunks/index-DejfSFbY.mjs';
38
- import '../chunks/index-CK9CWim6.mjs';
39
- import '../chunks/index-Cl4mLFZO.mjs';
40
- import '../chunks/chevron-left-B-ZN622G.mjs';
41
- import '../chunks/chevron-right-Ddz8dCda.mjs';
28
+ import '../chunks/index-D6oieYoA.mjs';
29
+ import '../chunks/index-DvGV9EWr.mjs';
30
+ import '../chunks/index-Ch7F9sXl.mjs';
31
+ import '../chunks/index-CIezYkdT.mjs';
32
+ import '../chunks/chevron-down-BChdO0uD.mjs';
33
+ import '../chunks/index-qjWZItTF.mjs';
34
+ import '../chunks/index-B9cFm0ac.mjs';
35
+ import '../chunks/index-BQaJNtas.mjs';
36
+ import '../chunks/tslib.es6-BAF7iAx8.mjs';
37
+ import '../chunks/index-DwkdRROB.mjs';
38
+ import '../chunks/index-C8MYZd8G.mjs';
39
+ import '../chunks/index-vM3wkbBM.mjs';
40
+ import '../chunks/chevron-left-DTNQBpUD.mjs';
41
+ import '../chunks/chevron-right-Cc8XUA4m.mjs';
42
42
  import 'class-variance-authority';
43
- import '../chunks/index-CQc8iXpK.mjs';
44
- import '../chunks/x-CENvqJg-.mjs';
43
+ import '../chunks/index-Bq7RTW2y.mjs';
44
+ import '../chunks/x-UYJwiGZL.mjs';
45
45
 
46
46
  const __iconNode = [
47
47
  [
@@ -78,7 +78,7 @@ const Header = ({ title, description, className, classNameDescription, children,
78
78
  }, title), /*#__PURE__*/ React__default.createElement(AccordionContent, {
79
79
  className: "text-content-medium text-base"
80
80
  }, /*#__PURE__*/ React__default.createElement("p", {
81
- className: classNameDescription
81
+ className: cn("text-content-medium text-base", classNameDescription)
82
82
  }, description), children))));
83
83
  };
84
84
 
@@ -109,36 +109,34 @@ const Header = ({ title, description, className, classNameDescription, children,
109
109
  function normalizeDate(date) {
110
110
  return format(date, "yyyy-MM-dd");
111
111
  }
112
- const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps, buttonClassName, popoverProps, popoverContentClassName, numberOfMonths = 1, fromYear = 2010, toYear = 2040, className, disabled = false, isLoading, captionLayout = "dropdown", disabledDates, isLoadingTable })=>{
113
- return /*#__PURE__*/ React__default.createElement("div", {
114
- className: cn("grid gap-2", className)
115
- }, /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
112
+ const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps, popoverProps, popoverContentClassName, className, disabled, isLoading, disabledDates, isLoadingTable, ...props })=>{
113
+ const validDate = tryParseDate(date);
114
+ return /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
116
115
  asChild: true
117
116
  }, /*#__PURE__*/ React__default.createElement(Button, {
118
117
  id: id,
119
118
  variant: "outline",
120
- className: cn("hover:text-foreground w-fit justify-start text-left font-normal", !date && "text-muted-foreground hover:text-muted-foreground", buttonProps?.className, buttonClassName),
119
+ className: cn("hover:text-foreground justify-start text-left font-normal", !validDate && "text-muted-foreground hover:text-muted-foreground", className),
121
120
  disabled: disabled,
122
121
  ...buttonProps
123
122
  }, isLoading ? /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(LoaderCircle, {
124
123
  className: "size-4 animate-spin"
125
124
  }), /*#__PURE__*/ React__default.createElement("span", null, "carregando...")) : /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(CalendarDays, {
126
125
  className: "size-4"
127
- }), date ? format(date, "P", {
126
+ }), validDate ? format(validDate, "P", {
128
127
  locale: ptBR
129
128
  }) : /*#__PURE__*/ React__default.createElement("span", null, placeholder)))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
130
129
  className: cn("w-auto p-0", popoverContentClassName),
131
130
  align: "start"
132
131
  }, /*#__PURE__*/ React__default.createElement(Calendar, {
133
132
  autoFocus: true,
134
- mode: "single",
135
- captionLayout: captionLayout,
136
- selected: date,
133
+ captionLayout: "dropdown",
134
+ selected: validDate,
137
135
  onSelect: setDate,
138
- numberOfMonths: numberOfMonths,
139
- fromYear: fromYear,
140
- toYear: toYear,
141
136
  locale: ptBR,
137
+ numberOfMonths: 1,
138
+ fromYear: 2010,
139
+ toYear: 2040,
142
140
  disabled: (currentDate)=>{
143
141
  if (isLoading || isLoadingTable) return true;
144
142
  const normalizedCurrentDate = normalizeDate(currentDate);
@@ -146,8 +144,10 @@ const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id
146
144
  const isWeekendDay = isWeekend(currentDate);
147
145
  const isFutureDate = currentDate > new Date();
148
146
  return isHoliday || isWeekendDay || isFutureDate;
149
- }
150
- }))));
147
+ },
148
+ ...props,
149
+ mode: "single"
150
+ })));
151
151
  };
152
152
 
153
153
  const HoverBadge = ({ title, description, variant, className, showTitleInDescription = true, subtle = false })=>{
@@ -163,15 +163,13 @@ const HoverBadge = ({ title, description, variant, className, showTitleInDescrip
163
163
  }, description)));
164
164
  };
165
165
 
166
- function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps, buttonClassName, popoverProps, popoverContentClassName, numberOfMonths = 2, fromYear = 2010, toYear = 2040, toDate = new Date(2040, 11, 31), className, disabled = false }) {
167
- return /*#__PURE__*/ React.createElement("div", {
168
- className: cn("grid gap-2", className)
169
- }, /*#__PURE__*/ React.createElement(Popover, popoverProps, /*#__PURE__*/ React.createElement(PopoverTrigger, {
166
+ function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps, popoverProps, popoverContentClassName, className, disabled, ...props }) {
167
+ return /*#__PURE__*/ React.createElement(Popover, popoverProps, /*#__PURE__*/ React.createElement(PopoverTrigger, {
170
168
  asChild: true
171
169
  }, /*#__PURE__*/ React.createElement(Button, {
172
170
  id: id,
173
171
  variant: "outline",
174
- className: cn("hover:foreground w-fit justify-start text-left font-normal", !value && "text-muted-foreground hover:text-muted-foreground", buttonProps?.className, buttonClassName),
172
+ className: cn("hover:foreground justify-start text-left font-normal", !value && "text-muted-foreground hover:text-muted-foreground", className),
175
173
  disabled: disabled,
176
174
  ...buttonProps
177
175
  }, /*#__PURE__*/ React.createElement(CalendarDays, {
@@ -185,17 +183,18 @@ function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id
185
183
  align: "start"
186
184
  }, /*#__PURE__*/ React.createElement(Calendar, {
187
185
  autoFocus: true,
188
- mode: "range",
189
186
  captionLayout: "dropdown",
190
- defaultMonth: value?.from,
191
187
  selected: value,
192
188
  onSelect: onChange,
193
- numberOfMonths: numberOfMonths,
194
- fromYear: fromYear,
195
- toYear: toYear,
196
- toDate: toDate,
197
- locale: ptBR
198
- }))));
189
+ locale: ptBR,
190
+ numberOfMonths: 2,
191
+ fromYear: 2010,
192
+ toYear: 2040,
193
+ defaultMonth: value?.from,
194
+ toDate: new Date(2040, 11, 31),
195
+ ...props,
196
+ mode: "range"
197
+ })));
199
198
  }
200
199
 
201
200
  function c(e, u, c, i) {