kitunga-web 0.1.78

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 (402) hide show
  1. package/dist/features/buttons/components/Btns/Button.d.ts +32 -0
  2. package/dist/features/buttons/components/Btns/Button.d.ts.map +1 -0
  3. package/dist/features/buttons/components/Btns/Button.js +50 -0
  4. package/dist/features/buttons/components/Btns/Button.js.map +1 -0
  5. package/dist/features/buttons/components/Btns/Button.module.css +205 -0
  6. package/dist/features/data-display/components/Cards/ChartCard.d.ts +9 -0
  7. package/dist/features/data-display/components/Cards/ChartCard.d.ts.map +1 -0
  8. package/dist/features/data-display/components/Cards/ChartCard.js +7 -0
  9. package/dist/features/data-display/components/Cards/ChartCard.js.map +1 -0
  10. package/dist/features/data-display/components/Cards/ChartCard.module.css +27 -0
  11. package/dist/features/data-display/components/Cards/MetricCard.d.ts +11 -0
  12. package/dist/features/data-display/components/Cards/MetricCard.d.ts.map +1 -0
  13. package/dist/features/data-display/components/Cards/MetricCard.js +10 -0
  14. package/dist/features/data-display/components/Cards/MetricCard.js.map +1 -0
  15. package/dist/features/data-display/components/Cards/MetricCard.module.css +86 -0
  16. package/dist/features/data-display/components/Cards/StatCard.d.ts +15 -0
  17. package/dist/features/data-display/components/Cards/StatCard.d.ts.map +1 -0
  18. package/dist/features/data-display/components/Cards/StatCard.js +23 -0
  19. package/dist/features/data-display/components/Cards/StatCard.js.map +1 -0
  20. package/dist/features/data-display/components/Cards/StatCard.module.css +98 -0
  21. package/dist/features/data-display/components/Table/LineItemsTable.d.ts +4 -0
  22. package/dist/features/data-display/components/Table/LineItemsTable.d.ts.map +1 -0
  23. package/dist/features/data-display/components/Table/LineItemsTable.js +216 -0
  24. package/dist/features/data-display/components/Table/LineItemsTable.js.map +1 -0
  25. package/dist/features/data-display/components/Table/LineItemsTable.module.css +223 -0
  26. package/dist/features/data-display/components/Table/Table.d.ts +4 -0
  27. package/dist/features/data-display/components/Table/Table.d.ts.map +1 -0
  28. package/dist/features/data-display/components/Table/Table.js +181 -0
  29. package/dist/features/data-display/components/Table/Table.js.map +1 -0
  30. package/dist/features/data-display/components/Table/Table.module.css +305 -0
  31. package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts +83 -0
  32. package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts.map +1 -0
  33. package/dist/features/data-display/components/Table/types/LineItemsTable.js +2 -0
  34. package/dist/features/data-display/components/Table/types/LineItemsTable.js.map +1 -0
  35. package/dist/features/data-display/components/Table/types/Table.d.ts +78 -0
  36. package/dist/features/data-display/components/Table/types/Table.d.ts.map +1 -0
  37. package/dist/features/data-display/components/Table/types/Table.js +2 -0
  38. package/dist/features/data-display/components/Table/types/Table.js.map +1 -0
  39. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts +12 -0
  40. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts.map +1 -0
  41. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js +7 -0
  42. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js.map +1 -0
  43. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.module.css +36 -0
  44. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts +18 -0
  45. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts.map +1 -0
  46. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js +52 -0
  47. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js.map +1 -0
  48. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.module.css +90 -0
  49. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts +21 -0
  50. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts.map +1 -0
  51. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js +37 -0
  52. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js.map +1 -0
  53. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts +15 -0
  54. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts.map +1 -0
  55. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js +56 -0
  56. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js.map +1 -0
  57. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.module.css +90 -0
  58. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts +9 -0
  59. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts.map +1 -0
  60. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js +9 -0
  61. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js.map +1 -0
  62. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.module.css +36 -0
  63. package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts +8 -0
  64. package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts.map +1 -0
  65. package/dist/features/feedback/components/FlowNotice/FlowNotice.js +52 -0
  66. package/dist/features/feedback/components/FlowNotice/FlowNotice.js.map +1 -0
  67. package/dist/features/feedback/components/FlowNotice/FlowNotice.module.css +122 -0
  68. package/dist/features/feedback/components/Loading/AppLoading.d.ts +14 -0
  69. package/dist/features/feedback/components/Loading/AppLoading.d.ts.map +1 -0
  70. package/dist/features/feedback/components/Loading/AppLoading.js +17 -0
  71. package/dist/features/feedback/components/Loading/AppLoading.js.map +1 -0
  72. package/dist/features/feedback/components/Loading/AppLoading.module.css +95 -0
  73. package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts +24 -0
  74. package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts.map +1 -0
  75. package/dist/features/feedback/components/SuccesModal/ModalSuccess.js +11 -0
  76. package/dist/features/feedback/components/SuccesModal/ModalSuccess.js.map +1 -0
  77. package/dist/features/feedback/components/SuccesModal/ModalSuccess.module.css +141 -0
  78. package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts +10 -0
  79. package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts.map +1 -0
  80. package/dist/features/feedback/components/Tooltips/InfoTooltip.js +48 -0
  81. package/dist/features/feedback/components/Tooltips/InfoTooltip.js.map +1 -0
  82. package/dist/features/feedback/components/Tooltips/InfoTooltip.module.css +123 -0
  83. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts +11 -0
  84. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts.map +1 -0
  85. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js +8 -0
  86. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js.map +1 -0
  87. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.module.css +58 -0
  88. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts +27 -0
  89. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts.map +1 -0
  90. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js +56 -0
  91. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js.map +1 -0
  92. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.module.css +200 -0
  93. package/dist/features/inputs/components/DatePicker/DatePicker.d.ts +13 -0
  94. package/dist/features/inputs/components/DatePicker/DatePicker.d.ts.map +1 -0
  95. package/dist/features/inputs/components/DatePicker/DatePicker.js +97 -0
  96. package/dist/features/inputs/components/DatePicker/DatePicker.js.map +1 -0
  97. package/dist/features/inputs/components/DatePicker/DatePicker.module.css +186 -0
  98. package/dist/features/inputs/components/Inputs/DateInput.d.ts +27 -0
  99. package/dist/features/inputs/components/Inputs/DateInput.d.ts.map +1 -0
  100. package/dist/features/inputs/components/Inputs/DateInput.js +236 -0
  101. package/dist/features/inputs/components/Inputs/DateInput.js.map +1 -0
  102. package/dist/features/inputs/components/Inputs/DateInput.module.css +301 -0
  103. package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts +24 -0
  104. package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts.map +1 -0
  105. package/dist/features/inputs/components/Inputs/DateRangeInput.js +10 -0
  106. package/dist/features/inputs/components/Inputs/DateRangeInput.js.map +1 -0
  107. package/dist/features/inputs/components/Inputs/DateRangeInput.module.css +24 -0
  108. package/dist/features/inputs/components/Inputs/NumberInput.d.ts +21 -0
  109. package/dist/features/inputs/components/Inputs/NumberInput.d.ts.map +1 -0
  110. package/dist/features/inputs/components/Inputs/NumberInput.js +82 -0
  111. package/dist/features/inputs/components/Inputs/NumberInput.js.map +1 -0
  112. package/dist/features/inputs/components/Inputs/NumberInput.module.css +148 -0
  113. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts +9 -0
  114. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts.map +1 -0
  115. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js +187 -0
  116. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js.map +1 -0
  117. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.module.css +259 -0
  118. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts +3 -0
  119. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts.map +1 -0
  120. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js +20 -0
  121. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js.map +1 -0
  122. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts +3 -0
  123. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts.map +1 -0
  124. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js +9 -0
  125. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js.map +1 -0
  126. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts +5 -0
  127. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts.map +1 -0
  128. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js +48 -0
  129. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js.map +1 -0
  130. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts +3 -0
  131. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts.map +1 -0
  132. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js +9 -0
  133. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js.map +1 -0
  134. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts +3 -0
  135. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts.map +1 -0
  136. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js +17 -0
  137. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js.map +1 -0
  138. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts +10 -0
  139. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts.map +1 -0
  140. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js +2 -0
  141. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js.map +1 -0
  142. package/dist/features/inputs/components/Inputs/SearchInput.d.ts +13 -0
  143. package/dist/features/inputs/components/Inputs/SearchInput.d.ts.map +1 -0
  144. package/dist/features/inputs/components/Inputs/SearchInput.js +12 -0
  145. package/dist/features/inputs/components/Inputs/SearchInput.js.map +1 -0
  146. package/dist/features/inputs/components/Inputs/SearchInput.module.css +107 -0
  147. package/dist/features/inputs/components/Inputs/StepperInput.d.ts +14 -0
  148. package/dist/features/inputs/components/Inputs/StepperInput.d.ts.map +1 -0
  149. package/dist/features/inputs/components/Inputs/StepperInput.js +44 -0
  150. package/dist/features/inputs/components/Inputs/StepperInput.js.map +1 -0
  151. package/dist/features/inputs/components/Inputs/StepperInput.module.css +96 -0
  152. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts +15 -0
  153. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts.map +1 -0
  154. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js +102 -0
  155. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js.map +1 -0
  156. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.module.css +259 -0
  157. package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts +5 -0
  158. package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts.map +1 -0
  159. package/dist/features/inputs/components/Inputs/TaxIdInput/index.js +3 -0
  160. package/dist/features/inputs/components/Inputs/TaxIdInput/index.js.map +1 -0
  161. package/dist/features/inputs/components/Inputs/TextInput.d.ts +4 -0
  162. package/dist/features/inputs/components/Inputs/TextInput.d.ts.map +1 -0
  163. package/dist/features/inputs/components/Inputs/TextInput.js +61 -0
  164. package/dist/features/inputs/components/Inputs/TextInput.js.map +1 -0
  165. package/dist/features/inputs/components/Inputs/TextInput.module.css +174 -0
  166. package/dist/features/inputs/components/Inputs/TextareaInput.d.ts +4 -0
  167. package/dist/features/inputs/components/Inputs/TextareaInput.d.ts.map +1 -0
  168. package/dist/features/inputs/components/Inputs/TextareaInput.js +45 -0
  169. package/dist/features/inputs/components/Inputs/TextareaInput.js.map +1 -0
  170. package/dist/features/inputs/components/Inputs/TextareaInput.module.css +144 -0
  171. package/dist/features/inputs/components/Inputs/types/input.types.d.ts +28 -0
  172. package/dist/features/inputs/components/Inputs/types/input.types.d.ts.map +1 -0
  173. package/dist/features/inputs/components/Inputs/types/input.types.js +2 -0
  174. package/dist/features/inputs/components/Inputs/types/input.types.js.map +1 -0
  175. package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts +25 -0
  176. package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts.map +1 -0
  177. package/dist/features/navigation/components/Menu/SharedMenuItem.js +40 -0
  178. package/dist/features/navigation/components/Menu/SharedMenuItem.js.map +1 -0
  179. package/dist/features/navigation/components/Menu/SharedMenuItem.module.css +219 -0
  180. package/dist/features/navigation/components/PageFooter/PageFooter.d.ts +13 -0
  181. package/dist/features/navigation/components/PageFooter/PageFooter.d.ts.map +1 -0
  182. package/dist/features/navigation/components/PageFooter/PageFooter.js +52 -0
  183. package/dist/features/navigation/components/PageFooter/PageFooter.js.map +1 -0
  184. package/dist/features/navigation/components/PageFooter/PageFooter.module.css +24 -0
  185. package/dist/features/navigation/components/PageHeader/PageHeader.d.ts +14 -0
  186. package/dist/features/navigation/components/PageHeader/PageHeader.d.ts.map +1 -0
  187. package/dist/features/navigation/components/PageHeader/PageHeader.js +22 -0
  188. package/dist/features/navigation/components/PageHeader/PageHeader.js.map +1 -0
  189. package/dist/features/navigation/components/PageHeader/PageHeader.module.css +41 -0
  190. package/dist/features/navigation/components/Sidebar/Sidebar.d.ts +24 -0
  191. package/dist/features/navigation/components/Sidebar/Sidebar.d.ts.map +1 -0
  192. package/dist/features/navigation/components/Sidebar/Sidebar.js +131 -0
  193. package/dist/features/navigation/components/Sidebar/Sidebar.js.map +1 -0
  194. package/dist/features/navigation/components/Sidebar/Sidebar.module.css +139 -0
  195. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts +66 -0
  196. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts.map +1 -0
  197. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js +89 -0
  198. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js.map +1 -0
  199. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.module.css +269 -0
  200. package/dist/features/overlays/components/Popup/Popup.d.ts +8 -0
  201. package/dist/features/overlays/components/Popup/Popup.d.ts.map +1 -0
  202. package/dist/features/overlays/components/Popup/Popup.js +23 -0
  203. package/dist/features/overlays/components/Popup/Popup.js.map +1 -0
  204. package/dist/features/overlays/components/Popup/Popup.module.css +64 -0
  205. package/dist/features/overlays/components/Popup/index.d.ts +3 -0
  206. package/dist/features/overlays/components/Popup/index.d.ts.map +1 -0
  207. package/dist/features/overlays/components/Popup/index.js +2 -0
  208. package/dist/features/overlays/components/Popup/index.js.map +1 -0
  209. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts +36 -0
  210. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts.map +1 -0
  211. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js +38 -0
  212. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js.map +1 -0
  213. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.module.css +339 -0
  214. package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts +18 -0
  215. package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts.map +1 -0
  216. package/dist/features/overlays/components/dropdowns/DropdownMenu.js +34 -0
  217. package/dist/features/overlays/components/dropdowns/DropdownMenu.js.map +1 -0
  218. package/dist/features/overlays/components/dropdowns/DropdownMenu.module.css +23 -0
  219. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts +36 -0
  220. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts.map +1 -0
  221. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js +19 -0
  222. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js.map +1 -0
  223. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.module.css +88 -0
  224. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts +14 -0
  225. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts.map +1 -0
  226. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js +119 -0
  227. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js.map +1 -0
  228. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.module.css +76 -0
  229. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts +3 -0
  230. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts.map +1 -0
  231. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js +486 -0
  232. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js.map +1 -0
  233. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.module.css +55 -0
  234. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts +16 -0
  235. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts.map +1 -0
  236. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js +8 -0
  237. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js.map +1 -0
  238. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.module.css +77 -0
  239. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts +10 -0
  240. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts.map +1 -0
  241. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js +9 -0
  242. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js.map +1 -0
  243. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.module.css +86 -0
  244. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts +13 -0
  245. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts.map +1 -0
  246. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js +9 -0
  247. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js.map +1 -0
  248. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.module.css +8 -0
  249. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts +20 -0
  250. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts.map +1 -0
  251. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js +7 -0
  252. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js.map +1 -0
  253. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.module.css +13 -0
  254. package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts +216 -0
  255. package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts.map +1 -0
  256. package/dist/features/patterns/components/Form/MultiStepForm/types/types.js +2 -0
  257. package/dist/features/patterns/components/Form/MultiStepForm/types/types.js.map +1 -0
  258. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts +6 -0
  259. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts.map +1 -0
  260. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js +22 -0
  261. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js.map +1 -0
  262. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts +10 -0
  263. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts.map +1 -0
  264. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js +31 -0
  265. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js.map +1 -0
  266. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts +19 -0
  267. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts.map +1 -0
  268. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js +104 -0
  269. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js.map +1 -0
  270. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.module.css +55 -0
  271. package/dist/features/selects/components/Selects/CustomSelect.d.ts +27 -0
  272. package/dist/features/selects/components/Selects/CustomSelect.d.ts.map +1 -0
  273. package/dist/features/selects/components/Selects/CustomSelect.js +53 -0
  274. package/dist/features/selects/components/Selects/CustomSelect.js.map +1 -0
  275. package/dist/features/selects/components/Selects/CustomSelect.module.css +307 -0
  276. package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts +12 -0
  277. package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts.map +1 -0
  278. package/dist/features/uploads/components/ImageUpload/ImageUpload.js +178 -0
  279. package/dist/features/uploads/components/ImageUpload/ImageUpload.js.map +1 -0
  280. package/dist/features/uploads/components/ImageUpload/ImageUpload.module.css +254 -0
  281. package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts +12 -0
  282. package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts.map +1 -0
  283. package/dist/features/uploads/components/VideoUpload/VideoUpload.js +183 -0
  284. package/dist/features/uploads/components/VideoUpload/VideoUpload.js.map +1 -0
  285. package/dist/features/uploads/components/VideoUpload/VideoUpload.module.css +277 -0
  286. package/dist/features/uploads/components/VideoUpload/index.d.ts +2 -0
  287. package/dist/features/uploads/components/VideoUpload/index.d.ts.map +1 -0
  288. package/dist/features/uploads/components/VideoUpload/index.js +2 -0
  289. package/dist/features/uploads/components/VideoUpload/index.js.map +1 -0
  290. package/dist/index.d.ts +5 -0
  291. package/dist/index.d.ts.map +1 -0
  292. package/dist/index.js +5 -0
  293. package/dist/index.js.map +1 -0
  294. package/dist/shared/styles/globals.css +80 -0
  295. package/dist/shared/styles/tokens.css +138 -0
  296. package/dist/shared/utils/devDelay.d.ts +8 -0
  297. package/dist/shared/utils/devDelay.d.ts.map +1 -0
  298. package/dist/shared/utils/devDelay.js +11 -0
  299. package/dist/shared/utils/devDelay.js.map +1 -0
  300. package/dist/shared/utils/files.d.ts +9 -0
  301. package/dist/shared/utils/files.d.ts.map +1 -0
  302. package/dist/shared/utils/files.js +26 -0
  303. package/dist/shared/utils/files.js.map +1 -0
  304. package/dist/shared/utils/formatCurrency.d.ts +24 -0
  305. package/dist/shared/utils/formatCurrency.d.ts.map +1 -0
  306. package/dist/shared/utils/formatCurrency.js +96 -0
  307. package/dist/shared/utils/formatCurrency.js.map +1 -0
  308. package/dist/shared/utils/location/countries/ao.d.ts +3 -0
  309. package/dist/shared/utils/location/countries/ao.d.ts.map +1 -0
  310. package/dist/shared/utils/location/countries/ao.js +52 -0
  311. package/dist/shared/utils/location/countries/ao.js.map +1 -0
  312. package/dist/shared/utils/location/countries/ao.json +254 -0
  313. package/dist/shared/utils/location/countries/ao.official-2026.json +254 -0
  314. package/dist/shared/utils/location/countries/br.d.ts +3 -0
  315. package/dist/shared/utils/location/countries/br.d.ts.map +1 -0
  316. package/dist/shared/utils/location/countries/br.js +33 -0
  317. package/dist/shared/utils/location/countries/br.js.map +1 -0
  318. package/dist/shared/utils/location/countries/mz.d.ts +3 -0
  319. package/dist/shared/utils/location/countries/mz.d.ts.map +1 -0
  320. package/dist/shared/utils/location/countries/mz.js +17 -0
  321. package/dist/shared/utils/location/countries/mz.js.map +1 -0
  322. package/dist/shared/utils/location/countries/ng.d.ts +3 -0
  323. package/dist/shared/utils/location/countries/ng.d.ts.map +1 -0
  324. package/dist/shared/utils/location/countries/ng.js +43 -0
  325. package/dist/shared/utils/location/countries/ng.js.map +1 -0
  326. package/dist/shared/utils/location/countries/pt.d.ts +3 -0
  327. package/dist/shared/utils/location/countries/pt.d.ts.map +1 -0
  328. package/dist/shared/utils/location/countries/pt.js +26 -0
  329. package/dist/shared/utils/location/countries/pt.js.map +1 -0
  330. package/dist/shared/utils/location/countries/us.d.ts +3 -0
  331. package/dist/shared/utils/location/countries/us.d.ts.map +1 -0
  332. package/dist/shared/utils/location/countries/us.js +57 -0
  333. package/dist/shared/utils/location/countries/us.js.map +1 -0
  334. package/dist/shared/utils/location/countries/za.d.ts +3 -0
  335. package/dist/shared/utils/location/countries/za.d.ts.map +1 -0
  336. package/dist/shared/utils/location/countries/za.js +15 -0
  337. package/dist/shared/utils/location/countries/za.js.map +1 -0
  338. package/dist/shared/utils/location/index.d.ts +14 -0
  339. package/dist/shared/utils/location/index.d.ts.map +1 -0
  340. package/dist/shared/utils/location/index.js +131 -0
  341. package/dist/shared/utils/location/index.js.map +1 -0
  342. package/dist/shared/utils/location/types.d.ts +24 -0
  343. package/dist/shared/utils/location/types.d.ts.map +1 -0
  344. package/dist/shared/utils/location/types.js +2 -0
  345. package/dist/shared/utils/location/types.js.map +1 -0
  346. package/dist/shared/utils/logger.d.ts +43 -0
  347. package/dist/shared/utils/logger.d.ts.map +1 -0
  348. package/dist/shared/utils/logger.js +139 -0
  349. package/dist/shared/utils/logger.js.map +1 -0
  350. package/dist/shared/utils/maskedDecimal.d.ts +8 -0
  351. package/dist/shared/utils/maskedDecimal.d.ts.map +1 -0
  352. package/dist/shared/utils/maskedDecimal.js +42 -0
  353. package/dist/shared/utils/maskedDecimal.js.map +1 -0
  354. package/dist/shared/utils/slug.d.ts +12 -0
  355. package/dist/shared/utils/slug.d.ts.map +1 -0
  356. package/dist/shared/utils/slug.js +31 -0
  357. package/dist/shared/utils/slug.js.map +1 -0
  358. package/dist/shared/utils/tax-id/countries/ao.d.ts +11 -0
  359. package/dist/shared/utils/tax-id/countries/ao.d.ts.map +1 -0
  360. package/dist/shared/utils/tax-id/countries/ao.js +115 -0
  361. package/dist/shared/utils/tax-id/countries/ao.js.map +1 -0
  362. package/dist/shared/utils/tax-id/countries/br.d.ts +3 -0
  363. package/dist/shared/utils/tax-id/countries/br.d.ts.map +1 -0
  364. package/dist/shared/utils/tax-id/countries/br.js +24 -0
  365. package/dist/shared/utils/tax-id/countries/br.js.map +1 -0
  366. package/dist/shared/utils/tax-id/countries/index.d.ts +8 -0
  367. package/dist/shared/utils/tax-id/countries/index.d.ts.map +1 -0
  368. package/dist/shared/utils/tax-id/countries/index.js +12 -0
  369. package/dist/shared/utils/tax-id/countries/index.js.map +1 -0
  370. package/dist/shared/utils/tax-id/countries/pt.d.ts +3 -0
  371. package/dist/shared/utils/tax-id/countries/pt.d.ts.map +1 -0
  372. package/dist/shared/utils/tax-id/countries/pt.js +24 -0
  373. package/dist/shared/utils/tax-id/countries/pt.js.map +1 -0
  374. package/dist/shared/utils/tax-id/countries/us.d.ts +3 -0
  375. package/dist/shared/utils/tax-id/countries/us.d.ts.map +1 -0
  376. package/dist/shared/utils/tax-id/countries/us.js +24 -0
  377. package/dist/shared/utils/tax-id/countries/us.js.map +1 -0
  378. package/dist/shared/utils/tax-id/index.d.ts +14 -0
  379. package/dist/shared/utils/tax-id/index.d.ts.map +1 -0
  380. package/dist/shared/utils/tax-id/index.js +140 -0
  381. package/dist/shared/utils/tax-id/index.js.map +1 -0
  382. package/dist/shared/utils/tax-id/types.d.ts +21 -0
  383. package/dist/shared/utils/tax-id/types.d.ts.map +1 -0
  384. package/dist/shared/utils/tax-id/types.js +2 -0
  385. package/dist/shared/utils/tax-id/types.js.map +1 -0
  386. package/dist/styles.d.ts +2 -0
  387. package/dist/styles.d.ts.map +1 -0
  388. package/dist/styles.js +2 -0
  389. package/dist/styles.js.map +1 -0
  390. package/dist/tokens.d.ts +2 -0
  391. package/dist/tokens.d.ts.map +1 -0
  392. package/dist/tokens.js +2 -0
  393. package/dist/tokens.js.map +1 -0
  394. package/dist/ui.d.ts +67 -0
  395. package/dist/ui.d.ts.map +1 -0
  396. package/dist/ui.js +39 -0
  397. package/dist/ui.js.map +1 -0
  398. package/dist/utils.d.ts +7 -0
  399. package/dist/utils.d.ts.map +1 -0
  400. package/dist/utils.js +4 -0
  401. package/dist/utils.js.map +1 -0
  402. package/package.json +80 -0
@@ -0,0 +1,186 @@
1
+ .datePicker {
2
+ position: relative;
3
+ width: 100%;
4
+ font-family: inherit;
5
+ }
6
+
7
+ .selectedValue {
8
+ padding: 0 var(--spacing-md);
9
+ width: 100%;
10
+ border: 1px solid var(--border-divider);
11
+ border-radius: var(--radius-sm);
12
+ background: var(--bg-secondary);
13
+ font-size: 0.9rem;
14
+ font-weight: 400;
15
+ cursor: pointer;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+ gap: var(--spacing-sm);
20
+ transition: all var(--transition-fast);
21
+ box-sizing: border-box;
22
+ height: 40px;
23
+ }
24
+
25
+ .selectedValue:hover:not(.disabled) {
26
+ border-color: var(--border-focus);
27
+ background-color: var(--bg-primary);
28
+ }
29
+
30
+ .datePicker.open .selectedValue {
31
+ border-color: var(--border-focus);
32
+ background-color: var(--bg-primary);
33
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
34
+ }
35
+
36
+ .selectedValue.disabled {
37
+ opacity: 0.6;
38
+ cursor: not-allowed;
39
+ background-color: var(--bg-secondary);
40
+ }
41
+
42
+ .calendarIcon {
43
+ color: var(--text-tertiary);
44
+ flex-shrink: 0;
45
+ }
46
+
47
+ .valueText {
48
+ flex: 1;
49
+ font-size: 0.9rem;
50
+ color: var(--text-primary);
51
+ white-space: nowrap;
52
+ overflow: hidden;
53
+ text-overflow: ellipsis;
54
+ text-align: left;
55
+ }
56
+
57
+ .placeholder {
58
+ opacity: 0.8;
59
+ user-select: none;
60
+ pointer-events: none;
61
+ }
62
+
63
+ .arrow {
64
+ transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
65
+ flex-shrink: 0;
66
+ opacity: 0.8;
67
+ }
68
+
69
+ .rotate {
70
+ transform: rotate(180deg);
71
+ }
72
+
73
+ .dropdown {
74
+ position: absolute;
75
+ top: calc(100% + 8px);
76
+ left: 0;
77
+ width: 320px;
78
+ background: var(--bg-primary);
79
+ border: 1px solid var(--border-divider);
80
+ border-radius: var(--radius-sm);
81
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
82
+ z-index: 50;
83
+ animation: fadeIn 0.15s ease-out;
84
+ padding: var(--spacing-md);
85
+ }
86
+
87
+ .calendarHeader {
88
+ display: flex;
89
+ align-items: center;
90
+ justify-content: space-between;
91
+ margin-bottom: var(--spacing-md);
92
+ }
93
+
94
+ .monthNavButton {
95
+ background: none;
96
+ border: none;
97
+ cursor: pointer;
98
+ padding: var(--spacing-xs);
99
+ color: var(--text-primary);
100
+ font-size: 1.2rem;
101
+ transition: color var(--transition-fast);
102
+ border-radius: var(--radius-sm);
103
+ }
104
+
105
+ .monthNavButton:hover {
106
+ color: var(--color-primary);
107
+ background: var(--bg-hover-primary);
108
+ }
109
+
110
+ .monthTitle {
111
+ font-size: 1rem;
112
+ font-weight: 600;
113
+ color: var(--text-primary);
114
+ text-transform: capitalize;
115
+ margin: 0;
116
+ }
117
+
118
+ .calendarWeekdays {
119
+ display: grid;
120
+ grid-template-columns: repeat(7, 1fr);
121
+ gap: 2px;
122
+ margin-bottom: var(--spacing-xs);
123
+ }
124
+
125
+ .weekday {
126
+ text-align: center;
127
+ font-size: 0.75rem;
128
+ font-weight: 600;
129
+ color: var(--text-tertiary);
130
+ padding: var(--spacing-xs) 0;
131
+ }
132
+
133
+ .calendarGrid {
134
+ display: grid;
135
+ grid-template-columns: repeat(7, 1fr);
136
+ gap: 2px;
137
+ }
138
+
139
+ .calendarDay {
140
+ aspect-ratio: 1;
141
+ border: none;
142
+ background: transparent;
143
+ cursor: pointer;
144
+ font-size: 0.875rem;
145
+ color: var(--text-primary);
146
+ border-radius: var(--radius-sm);
147
+ transition: all var(--transition-fast);
148
+ display: flex;
149
+ align-items: center;
150
+ justify-content: center;
151
+ }
152
+
153
+ .calendarDay:hover:not(.disabled):not(.selected) {
154
+ background: var(--bg-hover-primary);
155
+ color: var(--text-primary);
156
+ }
157
+
158
+ .calendarDay.selected {
159
+ background: var(--color-primary);
160
+ color: white;
161
+ font-weight: 600;
162
+ }
163
+
164
+ .calendarDay.disabled {
165
+ opacity: 0.3;
166
+ cursor: not-allowed;
167
+ color: var(--text-tertiary);
168
+ }
169
+
170
+ .selectedValue:focus-visible {
171
+ outline: none;
172
+ border-color: var(--border-color-focus);
173
+ background-color: var(--bg-primary);
174
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
175
+ }
176
+
177
+ @keyframes fadeIn {
178
+ from {
179
+ opacity: 0;
180
+ transform: translateY(-8px);
181
+ }
182
+ to {
183
+ opacity: 1;
184
+ transform: translateY(0);
185
+ }
186
+ }
@@ -0,0 +1,27 @@
1
+ export type DateInputSize = 'sm' | 'md' | 'lg';
2
+ export type DateInputType = 'date';
3
+ export interface DateInputProps {
4
+ value?: string;
5
+ onChange?: (value: string) => void;
6
+ placeholder?: string;
7
+ startWithToday?: boolean;
8
+ showClearButton?: boolean;
9
+ readOnly?: boolean;
10
+ disabled?: boolean;
11
+ className?: string;
12
+ containerClassName?: string;
13
+ min?: string;
14
+ max?: string;
15
+ required?: boolean;
16
+ size?: DateInputSize;
17
+ type?: DateInputType;
18
+ hasError?: boolean;
19
+ leftIcon?: React.ReactNode;
20
+ ariaLabel?: string;
21
+ id?: string;
22
+ name?: string;
23
+ confirmOnClick?: boolean;
24
+ }
25
+ declare const DateInput: import("react").ForwardRefExoticComponent<DateInputProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ export default DateInput;
27
+ //# sourceMappingURL=DateInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../../../src/features/inputs/components/Inputs/DateInput.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AAgEnC,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,SAAS,2GAuUd,CAAC;AAmBF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,236 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from 'react';
3
+ import { ChevronDown, ChevronLeft, ChevronRight, X } from 'lucide-react';
4
+ import Button from '@/features/buttons/components/Btns/Button';
5
+ import styles from './DateInput.module.css';
6
+ const WEEKDAY_LABELS = ['Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb', 'Dom'];
7
+ const MONTH_LABELS = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'];
8
+ function parseIsoDate(value) {
9
+ if (!value)
10
+ return null;
11
+ const [year, month, day] = value.split('-').map(Number);
12
+ if (!year || !month || !day)
13
+ return null;
14
+ const parsed = new Date(year, month - 1, day);
15
+ if (Number.isNaN(parsed.getTime()))
16
+ return null;
17
+ return parsed;
18
+ }
19
+ function toIsoDate(value) {
20
+ const year = value.getFullYear();
21
+ const month = String(value.getMonth() + 1).padStart(2, '0');
22
+ const day = String(value.getDate()).padStart(2, '0');
23
+ return `${year}-${month}-${day}`;
24
+ }
25
+ function formatDisplayDate(value) {
26
+ const parsed = parseIsoDate(value);
27
+ if (!parsed)
28
+ return '';
29
+ const day = String(parsed.getDate()).padStart(2, '0');
30
+ const month = String(parsed.getMonth() + 1).padStart(2, '0');
31
+ const year = parsed.getFullYear();
32
+ return `${day}/${month}/${year}`;
33
+ }
34
+ function isSameDay(left, right) {
35
+ if (!left || !right)
36
+ return false;
37
+ return left.getFullYear() === right.getFullYear()
38
+ && left.getMonth() === right.getMonth()
39
+ && left.getDate() === right.getDate();
40
+ }
41
+ function getMonthGrid(currentMonth) {
42
+ const firstDayOfMonth = new Date(currentMonth.getFullYear(), currentMonth.getMonth(), 1);
43
+ const daysInMonth = new Date(currentMonth.getFullYear(), currentMonth.getMonth() + 1, 0).getDate();
44
+ const mondayBasedOffset = (firstDayOfMonth.getDay() + 6) % 7;
45
+ const days = [];
46
+ for (let index = 0; index < mondayBasedOffset; index += 1) {
47
+ days.push(null);
48
+ }
49
+ for (let day = 1; day <= daysInMonth; day += 1) {
50
+ days.push(new Date(currentMonth.getFullYear(), currentMonth.getMonth(), day));
51
+ }
52
+ while (days.length % 7 !== 0) {
53
+ days.push(null);
54
+ }
55
+ return days;
56
+ }
57
+ const DateInput = forwardRef(({ value = '', onChange, placeholder = 'dd/mm/aaaa', startWithToday = false, showClearButton = true, confirmOnClick = true, readOnly = false, disabled = false, className = '', containerClassName = '', min, max, required = false, size = 'md', type = 'date', hasError = false, leftIcon, ariaLabel, id, name, }, ref) => {
58
+ const triggerRef = useRef(null);
59
+ const rootRef = useRef(null);
60
+ const dropdownRef = useRef(null);
61
+ const hasInitializedWithTodayRef = useRef(false);
62
+ const selectedDate = useMemo(() => parseIsoDate(value), [value]);
63
+ const minDate = useMemo(() => parseIsoDate(min), [min]);
64
+ const maxDate = useMemo(() => parseIsoDate(max), [max]);
65
+ const [isOpen, setIsOpen] = useState(false);
66
+ const [dropdownAlign, setDropdownAlign] = useState('right');
67
+ const [currentMonth, setCurrentMonth] = useState(() => {
68
+ const baseDate = selectedDate !== null && selectedDate !== void 0 ? selectedDate : new Date();
69
+ return new Date(baseDate.getFullYear(), baseDate.getMonth(), 1);
70
+ });
71
+ const [draftDate, setDraftDate] = useState(selectedDate);
72
+ useImperativeHandle(ref, () => triggerRef.current);
73
+ useEffect(() => {
74
+ if (hasInitializedWithTodayRef.current) {
75
+ return;
76
+ }
77
+ if (!startWithToday || value || disabled || readOnly) {
78
+ return;
79
+ }
80
+ hasInitializedWithTodayRef.current = true;
81
+ onChange === null || onChange === void 0 ? void 0 : onChange(toIsoDate(new Date()));
82
+ }, [disabled, onChange, readOnly, startWithToday, value]);
83
+ useEffect(() => {
84
+ const nextSelectedDate = parseIsoDate(value);
85
+ setDraftDate(nextSelectedDate);
86
+ if (nextSelectedDate) {
87
+ setCurrentMonth(new Date(nextSelectedDate.getFullYear(), nextSelectedDate.getMonth(), 1));
88
+ }
89
+ }, [value]);
90
+ useEffect(() => {
91
+ if (value)
92
+ return;
93
+ if (minDate) {
94
+ const minMonth = new Date(minDate.getFullYear(), minDate.getMonth(), 1);
95
+ setCurrentMonth((prev) => prev.getTime() < minMonth.getTime() ? minMonth : prev);
96
+ }
97
+ if (maxDate) {
98
+ const maxMonth = new Date(maxDate.getFullYear(), maxDate.getMonth(), 1);
99
+ setCurrentMonth((prev) => prev.getTime() > maxMonth.getTime() ? maxMonth : prev);
100
+ }
101
+ }, [minDate, maxDate, value]);
102
+ useEffect(() => {
103
+ if (!isOpen)
104
+ return;
105
+ const handleClickOutside = (event) => {
106
+ var _a;
107
+ const target = event.target;
108
+ if ((_a = rootRef.current) === null || _a === void 0 ? void 0 : _a.contains(target)) {
109
+ return;
110
+ }
111
+ setDraftDate(selectedDate);
112
+ setIsOpen(false);
113
+ };
114
+ document.addEventListener('mousedown', handleClickOutside);
115
+ return () => document.removeEventListener('mousedown', handleClickOutside);
116
+ }, [isOpen, selectedDate]);
117
+ useLayoutEffect(() => {
118
+ if (!isOpen)
119
+ return;
120
+ const root = rootRef.current;
121
+ if (!root)
122
+ return;
123
+ const rootRect = root.getBoundingClientRect();
124
+ const container = findScrollContainer(root);
125
+ const containerRect = container ? container.getBoundingClientRect() : null;
126
+ const inputRightEdge = containerRect
127
+ ? rootRect.right - containerRect.left
128
+ : rootRect.right;
129
+ // padrão: right:0 (dropdown estende-se 290px à esquerda da borda direita)
130
+ // só muda para left:0 se não houver 290px à esquerda da borda direita
131
+ if (inputRightEdge >= 290) {
132
+ setDropdownAlign('right');
133
+ }
134
+ else {
135
+ setDropdownAlign('left');
136
+ }
137
+ }, [isOpen]);
138
+ const isDateDisabled = (date) => {
139
+ if (minDate && date < minDate)
140
+ return true;
141
+ if (maxDate && date > maxDate)
142
+ return true;
143
+ return false;
144
+ };
145
+ const canGoPrev = !minDate || currentMonth.getTime() > new Date(minDate.getFullYear(), minDate.getMonth(), 1).getTime();
146
+ const canGoNext = !maxDate || currentMonth.getTime() < new Date(maxDate.getFullYear(), maxDate.getMonth(), 1).getTime();
147
+ const monthGrid = useMemo(() => getMonthGrid(currentMonth), [currentMonth]);
148
+ const displayValue = formatDisplayDate(value);
149
+ const today = new Date();
150
+ const monthTitle = `${MONTH_LABELS[currentMonth.getMonth()]} ${currentMonth.getFullYear()}`;
151
+ const canClear = showClearButton && !!value && !disabled && !readOnly;
152
+ const containerClasses = [
153
+ styles.dateInput,
154
+ styles[size],
155
+ isOpen ? styles.open : '',
156
+ containerClassName,
157
+ ]
158
+ .filter(Boolean)
159
+ .join(' ');
160
+ const triggerClasses = [
161
+ styles.trigger,
162
+ leftIcon ? styles.hasLeftIcon : '',
163
+ canClear ? styles.hasClearButton : '',
164
+ hasError ? styles.inputError : '',
165
+ className,
166
+ ]
167
+ .filter(Boolean)
168
+ .join(' ');
169
+ return (_jsxs("div", { className: containerClasses, ref: rootRef, children: [name && (_jsx("input", { id: id, name: name, type: "hidden", value: value, required: required })), _jsxs("div", { ref: triggerRef, className: triggerClasses, "aria-disabled": disabled, "aria-label": ariaLabel, "aria-expanded": isOpen, role: "button", tabIndex: disabled ? -1 : 0, onClick: () => {
170
+ if (disabled || readOnly || type !== 'date')
171
+ return;
172
+ setDraftDate(selectedDate);
173
+ setIsOpen((previous) => !previous);
174
+ }, onKeyDown: (event) => {
175
+ if (disabled || readOnly || type !== 'date')
176
+ return;
177
+ if (event.key === 'Enter' || event.key === ' ') {
178
+ event.preventDefault();
179
+ setDraftDate(selectedDate);
180
+ setIsOpen((previous) => !previous);
181
+ }
182
+ if (event.key === 'Escape') {
183
+ setDraftDate(selectedDate);
184
+ setIsOpen(false);
185
+ }
186
+ }, children: [leftIcon ? _jsx("span", { className: styles.leftIcon, children: leftIcon }) : null, _jsx("span", { className: `${styles.valueText} ${!displayValue ? styles.placeholder : ''}`.trim(), children: displayValue || placeholder }), _jsxs("span", { className: styles.rightActions, children: [canClear ? (_jsx("button", { type: "button", className: styles.clearButton, onClick: (event) => {
187
+ var _a;
188
+ event.stopPropagation();
189
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
190
+ setDraftDate(null);
191
+ setCurrentMonth(new Date(today.getFullYear(), today.getMonth(), 1));
192
+ (_a = triggerRef.current) === null || _a === void 0 ? void 0 : _a.focus();
193
+ }, "aria-label": "Limpar data", children: _jsx(X, { size: 14 }) })) : null, _jsx("span", { className: styles.arrowButton, "aria-hidden": "true", children: _jsx(ChevronDown, { size: 16, className: `${styles.arrow} ${isOpen ? styles.rotate : ''}`.trim() }) })] })] }), isOpen ? (_jsx("div", { ref: dropdownRef, className: `${styles.dropdown} ${dropdownAlign === 'left' ? styles.dropdownLeft : ''}`.trim(), children: _jsxs("div", { className: styles.dropdownPanel, children: [_jsxs("div", { className: styles.dropdownContent, children: [_jsxs("div", { className: styles.calendarHeader, children: [_jsx("button", { type: "button", className: styles.monthNavButton, onClick: () => setCurrentMonth(new Date(currentMonth.getFullYear(), currentMonth.getMonth() - 1, 1)), disabled: !canGoPrev, "aria-label": "M\u00EAs anterior", children: _jsx(ChevronLeft, { size: 16 }) }), _jsx("p", { className: styles.monthTitle, children: monthTitle }), _jsx("button", { type: "button", className: styles.monthNavButton, onClick: () => setCurrentMonth(new Date(currentMonth.getFullYear(), currentMonth.getMonth() + 1, 1)), disabled: !canGoNext, "aria-label": "Pr\u00F3ximo m\u00EAs", children: _jsx(ChevronRight, { size: 16 }) })] }), _jsx("div", { className: styles.weekdaysRow, children: WEEKDAY_LABELS.map((weekday) => (_jsx("span", { className: styles.weekdayLabel, children: weekday }, weekday))) }), _jsx("div", { className: styles.calendarGrid, children: monthGrid.map((day, index) => {
194
+ if (!day) {
195
+ return _jsx("span", { className: styles.emptyDay }, `empty-${index}`);
196
+ }
197
+ const disabledDay = isDateDisabled(day);
198
+ const selectedDay = isSameDay(day, draftDate);
199
+ const todayDay = isSameDay(day, today);
200
+ return (_jsx("button", { type: "button", className: `${styles.calendarDay} ${selectedDay ? styles.selectedDay : ''} ${todayDay ? styles.todayDay : ''}`.trim(), onClick: () => {
201
+ if (disabledDay)
202
+ return;
203
+ if (!confirmOnClick) {
204
+ onChange === null || onChange === void 0 ? void 0 : onChange(toIsoDate(day));
205
+ setIsOpen(false);
206
+ return;
207
+ }
208
+ setDraftDate(day);
209
+ }, disabled: disabledDay, children: day.getDate() }, toIsoDate(day)));
210
+ }) })] }), confirmOnClick && (_jsx("div", { className: styles.dropdownFooter, children: _jsxs("div", { className: styles.footerActions, children: [_jsx(Button, { type: "button", variant: "secondary", size: "sm", text: "Cancelar", onClick: () => {
211
+ setDraftDate(selectedDate);
212
+ setIsOpen(false);
213
+ } }), _jsx(Button, { type: "button", variant: "primary", size: "sm", text: "Confirmar", onClick: () => {
214
+ if (!draftDate) {
215
+ setIsOpen(false);
216
+ return;
217
+ }
218
+ onChange === null || onChange === void 0 ? void 0 : onChange(toIsoDate(draftDate));
219
+ setIsOpen(false);
220
+ } })] }) }))] }) })) : null] }));
221
+ });
222
+ DateInput.displayName = 'DateInput';
223
+ function findScrollContainer(el) {
224
+ let current = el.parentElement;
225
+ while (current) {
226
+ const style = window.getComputedStyle(current);
227
+ const overflow = `${style.overflow}${style.overflowX}${style.overflowY}`;
228
+ if (/(auto|scroll|hidden|clip)/.test(overflow)) {
229
+ return current;
230
+ }
231
+ current = current.parentElement;
232
+ }
233
+ return null;
234
+ }
235
+ export default DateInput;
236
+ //# sourceMappingURL=DateInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateInput.js","sourceRoot":"","sources":["../../../../../src/features/inputs/components/Inputs/DateInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/G,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,MAAM,MAAM,2CAA2C,CAAC;AAC/D,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAK5C,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;AACzE,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;AAEnJ,SAAS,YAAY,CAAC,KAAc;IAClC,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExB,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACxD,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IAEzC,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;IAC9C,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QAAE,OAAO,IAAI,CAAC;IAEhD,OA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