@cryptlex/web-components 3.0.0 → 3.1.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 (514) hide show
  1. package/dist/components/data-table/column-picker.es.js +31 -21
  2. package/dist/components/data-table/column-picker.es.js.map +1 -1
  3. package/dist/components/data-table/data-table.es.js +88 -44
  4. package/dist/components/data-table/data-table.es.js.map +1 -1
  5. package/dist/components/data-table/page-size.es.js +4 -1
  6. package/dist/components/data-table/page-size.es.js.map +1 -1
  7. package/dist/components/data-table/paginator.es.js.map +1 -1
  8. package/dist/components/data-table/table-actions.es.js +6 -3
  9. package/dist/components/data-table/table-actions.es.js.map +1 -1
  10. package/dist/components/data-table/table-commons.es.js.map +1 -1
  11. package/dist/components/data-table/table-content.es.js +76 -37
  12. package/dist/components/data-table/table-content.es.js.map +1 -1
  13. package/dist/components/data-table/table-utils/constants.es.js.map +1 -1
  14. package/dist/components/data-table/table-utils/createTableFetchFn.es.js +6 -4
  15. package/dist/components/data-table/table-utils/createTableFetchFn.es.js.map +1 -1
  16. package/dist/components/data-table/table-utils/date.es.js.map +1 -1
  17. package/dist/components/data-table/table-utils/string.es.js +2 -2
  18. package/dist/components/data-table/table-utils/string.es.js.map +1 -1
  19. package/dist/components/data-table/table-utils/types.es.js.map +1 -1
  20. package/dist/components/inputs/calendar.es.js +57 -57
  21. package/dist/components/inputs/calendar.es.js.map +1 -1
  22. package/dist/components/inputs/checkbox.es.js +30 -23
  23. package/dist/components/inputs/checkbox.es.js.map +1 -1
  24. package/dist/components/inputs/country-select.es.js +21 -18
  25. package/dist/components/inputs/country-select.es.js.map +1 -1
  26. package/dist/components/inputs/form-field.es.js +45 -8
  27. package/dist/components/inputs/form-field.es.js.map +1 -1
  28. package/dist/components/inputs/input-otp.es.js +46 -35
  29. package/dist/components/inputs/input-otp.es.js.map +1 -1
  30. package/dist/components/inputs/input.es.js +43 -25
  31. package/dist/components/inputs/input.es.js.map +1 -1
  32. package/dist/components/inputs/license-type-select.es.js +25 -21
  33. package/dist/components/inputs/license-type-select.es.js.map +1 -1
  34. package/dist/components/inputs/multi-select.es.js +62 -49
  35. package/dist/components/inputs/multi-select.es.js.map +1 -1
  36. package/dist/components/inputs/password-input.es.js +19 -14
  37. package/dist/components/inputs/password-input.es.js.map +1 -1
  38. package/dist/components/inputs/radio-group.es.js +33 -28
  39. package/dist/components/inputs/radio-group.es.js.map +1 -1
  40. package/dist/components/inputs/search-input.es.js +9 -6
  41. package/dist/components/inputs/search-input.es.js.map +1 -1
  42. package/dist/components/inputs/select.es.js +43 -23
  43. package/dist/components/inputs/select.es.js.map +1 -1
  44. package/dist/components/inputs/textarea.es.js +18 -26
  45. package/dist/components/inputs/textarea.es.js.map +1 -1
  46. package/dist/components/key-value-card/key-value-card.es.js +5 -1
  47. package/dist/components/key-value-card/key-value-card.es.js.map +1 -1
  48. package/dist/components/ui/accordion.es.js +49 -44
  49. package/dist/components/ui/accordion.es.js.map +1 -1
  50. package/dist/components/ui/avatar.es.js +16 -38
  51. package/dist/components/ui/avatar.es.js.map +1 -1
  52. package/dist/components/ui/badge.es.js +10 -1
  53. package/dist/components/ui/badge.es.js.map +1 -1
  54. package/dist/components/ui/breadcrumb.es.js +97 -82
  55. package/dist/components/ui/breadcrumb.es.js.map +1 -1
  56. package/dist/components/ui/button.es.js +32 -28
  57. package/dist/components/ui/button.es.js.map +1 -1
  58. package/dist/components/ui/card.es.js +49 -64
  59. package/dist/components/ui/card.es.js.map +1 -1
  60. package/dist/components/ui/collapsible.es.js +1 -1
  61. package/dist/components/ui/collapsible.es.js.map +1 -1
  62. package/dist/components/ui/copy-button.es.js +9 -1
  63. package/dist/components/ui/copy-button.es.js.map +1 -1
  64. package/dist/components/ui/dialog.es.js +93 -93
  65. package/dist/components/ui/dialog.es.js.map +1 -1
  66. package/dist/components/ui/drawer.es.js +97 -56
  67. package/dist/components/ui/drawer.es.js.map +1 -1
  68. package/dist/components/ui/dropdown-menu.es.js +128 -109
  69. package/dist/components/ui/dropdown-menu.es.js.map +1 -1
  70. package/dist/components/ui/label.es.js +19 -14
  71. package/dist/components/ui/label.es.js.map +1 -1
  72. package/dist/components/ui/loader.es.js.map +1 -1
  73. package/dist/components/ui/pagination.es.js +109 -98
  74. package/dist/components/ui/pagination.es.js.map +1 -1
  75. package/dist/components/ui/popover.es.js +27 -22
  76. package/dist/components/ui/popover.es.js.map +1 -1
  77. package/dist/components/ui/separator.es.js +24 -20
  78. package/dist/components/ui/separator.es.js.map +1 -1
  79. package/dist/components/ui/sheet.es.js +104 -67
  80. package/dist/components/ui/sheet.es.js.map +1 -1
  81. package/dist/components/ui/sidebar.es.js +433 -436
  82. package/dist/components/ui/sidebar.es.js.map +1 -1
  83. package/dist/components/ui/skeleton.es.js +2 -11
  84. package/dist/components/ui/skeleton.es.js.map +1 -1
  85. package/dist/components/ui/sonner.es.js +18 -16
  86. package/dist/components/ui/sonner.es.js.map +1 -1
  87. package/dist/components/ui/static-data-table.es.js +6 -9
  88. package/dist/components/ui/static-data-table.es.js.map +1 -1
  89. package/dist/components/ui/table-page-layout.es.js.map +1 -1
  90. package/dist/components/ui/table.es.js +75 -82
  91. package/dist/components/ui/table.es.js.map +1 -1
  92. package/dist/components/ui/tabs.es.js +53 -44
  93. package/dist/components/ui/tabs.es.js.map +1 -1
  94. package/dist/components/ui/tooltip.es.js +25 -21
  95. package/dist/components/ui/tooltip.es.js.map +1 -1
  96. package/dist/hooks/use-mobile.es.js +3 -1
  97. package/dist/hooks/use-mobile.es.js.map +1 -1
  98. package/dist/index.es.d.ts +174 -385
  99. package/dist/index.es.js +193 -216
  100. package/dist/index.es.js.map +1 -1
  101. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/date/index.es.js +67 -0
  102. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/date/index.es.js.map +1 -0
  103. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/date/mini.es.js +65 -0
  104. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/date/mini.es.js.map +1 -0
  105. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/tzOffset/index.es.js +24 -0
  106. package/dist/node_modules/.pnpm/@date-fns_tz@1.2.0/node_modules/@date-fns/tz/tzOffset/index.es.js.map +1 -0
  107. package/dist/node_modules/.pnpm/{@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1 → @floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0}/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js.map +1 -1
  108. package/dist/node_modules/.pnpm/{@radix-ui_react-accordion@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-accordion@1.2.11_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-accordion/dist/index.es.js +11 -11
  109. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.11_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-accordion/dist/index.es.js.map +1 -0
  110. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-arrow@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-arrow/dist/index.es.js +1 -1
  111. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
  112. package/dist/node_modules/.pnpm/{@radix-ui_react-collapsible@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-collapsible@1.1.11_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-collapsible/dist/index.es.js +7 -7
  113. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-collapsible/dist/index.es.js.map +1 -0
  114. package/dist/node_modules/.pnpm/{@radix-ui_react-collection@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-collection@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-collection/dist/index.es.js +3 -3
  115. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-collection/dist/index.es.js.map +1 -0
  116. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  117. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  118. package/dist/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-dialog@1.1.14_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-dialog/dist/index.es.js +12 -12
  119. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -0
  120. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-direction/dist/index.es.js.map +1 -0
  121. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +4 -4
  122. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  123. package/dist/node_modules/.pnpm/{@radix-ui_react-dropdown-menu@2.1.14_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-dropdown-menu@2.1.15_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-dropdown-menu/dist/index.es.js +11 -11
  124. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.15_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-dropdown-menu/dist/index.es.js.map +1 -0
  125. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.2_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +1 -0
  126. package/dist/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
  127. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
  128. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-id@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-id/dist/index.es.js +1 -1
  129. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -0
  130. package/dist/node_modules/.pnpm/{@radix-ui_react-label@2.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-label@2.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-label/dist/index.es.js +1 -1
  131. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-label/dist/index.es.js.map +1 -0
  132. package/dist/node_modules/.pnpm/{@radix-ui_react-menu@2.1.14_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-menu@2.1.15_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-menu/dist/index.es.js +16 -16
  133. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.15_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-menu/dist/index.es.js.map +1 -0
  134. package/dist/node_modules/.pnpm/{@radix-ui_react-popover@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-popover@1.1.14_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-popover/dist/index.es.js +13 -13
  135. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-popover/dist/index.es.js.map +1 -0
  136. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-popper@1.2.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-popper/dist/index.es.js +8 -8
  137. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
  138. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-portal@1.1.9_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-portal/dist/index.es.js +2 -2
  139. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  140. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.4_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-presence@1.1.4_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-presence/dist/index.es.js +2 -2
  141. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.4_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -0
  142. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.2_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-primitive@2.1.3_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  143. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  144. package/dist/node_modules/.pnpm/{@radix-ui_react-radio-group@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-radio-group@1.3.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-radio-group/dist/index.es.js +9 -9
  145. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-radio-group/dist/index.es.js.map +1 -0
  146. package/dist/node_modules/.pnpm/{@radix-ui_react-roving-focus@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-roving-focus@1.1.10_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-roving-focus/dist/index.es.js +8 -8
  147. package/dist/node_modules/.pnpm/{@radix-ui_react-roving-focus@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-roving-focus@1.1.10_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-roving-focus/dist/index.es.js.map +1 -1
  148. package/dist/node_modules/.pnpm/{@radix-ui_react-separator@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-separator@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-separator/dist/index.es.js +1 -1
  149. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-separator/dist/index.es.js.map +1 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.es.js +60 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  152. package/dist/node_modules/.pnpm/{@radix-ui_react-tabs@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-tabs@1.1.12_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-tabs/dist/index.es.js +7 -7
  153. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-tabs/dist/index.es.js.map +1 -0
  154. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-tooltip@1.2.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-tooltip/dist/index.es.js +11 -11
  155. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  157. package/dist/node_modules/.pnpm/{@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-controllable-state@1.2.2_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +1 -1
  158. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  159. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +1 -1
  160. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +1 -0
  161. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -0
  162. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-previous/dist/index.es.js.map +1 -0
  163. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-size@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-size/dist/index.es.js +1 -1
  164. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.1.0_react@19.1.0/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -0
  165. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1 → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +1 -1
  166. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.1.0_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -0
  167. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.es.js.map +1 -0
  168. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.es.js.map +1 -0
  169. package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildMatchFn.es.js +2 -2
  170. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.es.js.map +1 -0
  171. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.es.js.map +1 -0
  172. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.es.js.map +1 -0
  173. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.es.js.map +1 -0
  174. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.es.js.map +1 -0
  175. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.es.js.map +1 -0
  176. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.es.js.map +1 -0
  177. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.es.js.map +1 -0
  178. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/DayPicker.es.js +209 -0
  179. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/DayPicker.es.js.map +1 -0
  180. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/UI.es.js +23 -0
  181. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/UI.es.js.map +1 -0
  182. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarDay.es.js +20 -0
  183. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarDay.es.js.map +1 -0
  184. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.es.js +9 -0
  185. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.es.js.map +1 -0
  186. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.es.js +9 -0
  187. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.es.js.map +1 -0
  188. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/DateLib.es.js +166 -0
  189. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/classes/DateLib.es.js.map +1 -0
  190. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Button.es.js +8 -0
  191. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Button.es.js.map +1 -0
  192. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/CaptionLabel.es.js +8 -0
  193. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/CaptionLabel.es.js.map +1 -0
  194. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Chevron.es.js +16 -0
  195. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Chevron.es.js.map +1 -0
  196. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Day.es.js +9 -0
  197. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Day.es.js.map +1 -0
  198. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/DayButton.es.js +12 -0
  199. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/DayButton.es.js.map +1 -0
  200. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Dropdown.es.js +20 -0
  201. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Dropdown.es.js.map +1 -0
  202. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/DropdownNav.es.js +8 -0
  203. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/DropdownNav.es.js.map +1 -0
  204. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Footer.es.js +8 -0
  205. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Footer.es.js.map +1 -0
  206. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Month.es.js +9 -0
  207. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Month.es.js.map +1 -0
  208. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthCaption.es.js +9 -0
  209. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthCaption.es.js.map +1 -0
  210. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthGrid.es.js +8 -0
  211. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthGrid.es.js.map +1 -0
  212. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Months.es.js +8 -0
  213. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Months.es.js.map +1 -0
  214. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.es.js +10 -0
  215. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.es.js.map +1 -0
  216. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Nav.es.js +28 -0
  217. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Nav.es.js.map +1 -0
  218. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/NextMonthButton.es.js +10 -0
  219. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/NextMonthButton.es.js.map +1 -0
  220. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Option.es.js +8 -0
  221. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Option.es.js.map +1 -0
  222. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.es.js +10 -0
  223. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.es.js.map +1 -0
  224. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Root.es.js +9 -0
  225. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Root.es.js.map +1 -0
  226. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Select.es.js +8 -0
  227. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Select.es.js.map +1 -0
  228. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Week.es.js +9 -0
  229. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Week.es.js.map +1 -0
  230. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/WeekNumber.es.js +9 -0
  231. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/WeekNumber.es.js.map +1 -0
  232. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.es.js +8 -0
  233. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.es.js.map +1 -0
  234. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weekday.es.js +8 -0
  235. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weekday.es.js.map +1 -0
  236. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weekdays.es.js +12 -0
  237. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weekdays.es.js.map +1 -0
  238. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weeks.es.js +8 -0
  239. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/Weeks.es.js.map +1 -0
  240. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/YearsDropdown.es.js +10 -0
  241. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/YearsDropdown.es.js.map +1 -0
  242. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/custom-components.es.js +55 -0
  243. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/components/custom-components.es.js.map +1 -0
  244. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatCaption.es.js +10 -0
  245. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatCaption.es.js.map +1 -0
  246. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatDay.es.js +8 -0
  247. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatDay.es.js.map +1 -0
  248. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.es.js +8 -0
  249. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.es.js.map +1 -0
  250. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.es.js +8 -0
  251. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.es.js.map +1 -0
  252. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.es.js +7 -0
  253. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.es.js.map +1 -0
  254. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.es.js +8 -0
  255. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.es.js.map +1 -0
  256. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.es.js +10 -0
  257. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.es.js.map +1 -0
  258. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters/index.es.js +19 -0
  259. package/dist/{_virtual → node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/formatters}/index.es.js.map +1 -1
  260. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.es.js +20 -0
  261. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.es.js.map +1 -0
  262. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.es.js +43 -0
  263. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.es.js.map +1 -0
  264. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.es.js +10 -0
  265. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.es.js.map +1 -0
  266. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.es.js +8 -0
  267. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.es.js.map +1 -0
  268. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.es.js +8 -0
  269. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.es.js.map +1 -0
  270. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getComponents.es.js +11 -0
  271. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getComponents.es.js.map +1 -0
  272. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.es.js +17 -0
  273. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.es.js.map +1 -0
  274. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDates.es.js +22 -0
  275. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDates.es.js.map +1 -0
  276. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDays.es.js +11 -0
  277. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDays.es.js.map +1 -0
  278. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.es.js +17 -0
  279. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.es.js.map +1 -0
  280. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.es.js +14 -0
  281. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.es.js.map +1 -0
  282. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.es.js +16 -0
  283. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.es.js.map +1 -0
  284. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getFormatters.es.js +11 -0
  285. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getFormatters.es.js.map +1 -0
  286. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.es.js +14 -0
  287. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.es.js.map +1 -0
  288. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.es.js +14 -0
  289. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.es.js.map +1 -0
  290. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getMonths.es.js +25 -0
  291. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getMonths.es.js.map +1 -0
  292. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.es.js +14 -0
  293. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.es.js.map +1 -0
  294. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.es.js +13 -0
  295. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.es.js.map +1 -0
  296. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.es.js +13 -0
  297. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.es.js.map +1 -0
  298. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.es.js +13 -0
  299. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.es.js.map +1 -0
  300. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.es.js +14 -0
  301. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.es.js.map +1 -0
  302. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.es.js +12 -0
  303. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.es.js.map +1 -0
  304. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getWeeks.es.js +8 -0
  305. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getWeeks.es.js.map +1 -0
  306. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.es.js +20 -0
  307. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.es.js.map +1 -0
  308. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.es.js +8 -0
  309. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.es.js.map +1 -0
  310. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.es.js +9 -0
  311. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.es.js.map +1 -0
  312. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/index.es.js +27 -0
  313. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/index.es.js.map +1 -0
  314. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelDayButton.es.js +11 -0
  315. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelDayButton.es.js.map +1 -0
  316. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelGrid.es.js +10 -0
  317. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelGrid.es.js.map +1 -0
  318. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelGridcell.es.js +9 -0
  319. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelGridcell.es.js.map +1 -0
  320. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.es.js +7 -0
  321. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.es.js.map +1 -0
  322. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelNav.es.js +7 -0
  323. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelNav.es.js.map +1 -0
  324. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelNext.es.js +7 -0
  325. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelNext.es.js.map +1 -0
  326. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelPrevious.es.js +7 -0
  327. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelPrevious.es.js.map +1 -0
  328. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.es.js +7 -0
  329. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.es.js.map +1 -0
  330. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.es.js +7 -0
  331. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.es.js.map +1 -0
  332. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekday.es.js +8 -0
  333. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelWeekday.es.js.map +1 -0
  334. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.es.js +7 -0
  335. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.es.js.map +1 -0
  336. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useMulti.es.js +22 -0
  337. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useMulti.es.js.map +1 -0
  338. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useRange.es.js +19 -0
  339. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useRange.es.js.map +1 -0
  340. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useSingle.es.js +16 -0
  341. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/selection/useSingle.es.js.map +1 -0
  342. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useAnimation.es.js +57 -0
  343. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useAnimation.es.js.map +1 -0
  344. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useCalendar.es.js +45 -0
  345. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useCalendar.es.js.map +1 -0
  346. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useDayPicker.es.js +13 -0
  347. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useDayPicker.es.js.map +1 -0
  348. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useFocus.es.js +24 -0
  349. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useFocus.es.js.map +1 -0
  350. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useSelection.es.js +20 -0
  351. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/useSelection.es.js.map +1 -0
  352. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/addToRange.es.js +33 -0
  353. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/addToRange.es.js.map +1 -0
  354. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.es.js +27 -0
  355. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.es.js.map +1 -0
  356. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.es.js +16 -0
  357. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.es.js.map +1 -0
  358. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.es.js +29 -0
  359. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.es.js.map +1 -0
  360. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.es.js +10 -0
  361. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.es.js.map +1 -0
  362. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.es.js +9 -0
  363. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.es.js.map +1 -0
  364. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/typeguards.es.js +27 -0
  365. package/dist/node_modules/.pnpm/react-day-picker@9.7.0_react@19.1.0/node_modules/react-day-picker/dist/esm/utils/typeguards.es.js.map +1 -0
  366. package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js +1 -1
  367. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +1 -0
  368. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +1 -0
  369. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +1 -0
  370. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +1 -0
  371. package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +2 -2
  372. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -0
  373. package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/UI.es.js +2 -2
  374. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +1 -0
  375. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +1 -0
  376. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +1 -0
  377. package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/medium.es.js +1 -1
  378. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +1 -0
  379. package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js +1 -1
  380. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +1 -0
  381. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0/node_modules/react-style-singleton/dist/es2015/component.es.js.map +1 -0
  382. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +1 -0
  383. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +1 -0
  384. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +1 -0
  385. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +1 -0
  386. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +1 -0
  387. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.1.0_react@19.1.0/node_modules/use-sidecar/dist/es2015/exports.es.js.map +1 -0
  388. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.1.0_react@19.1.0/node_modules/use-sidecar/dist/es2015/medium.es.js.map +1 -0
  389. package/dist/utils/form-context.es.js.map +1 -1
  390. package/dist/utils/form-hook.es.js.map +1 -1
  391. package/dist/utils/index.es.js.map +1 -1
  392. package/lib/base.css +47 -47
  393. package/lib/index.css +5 -5
  394. package/lib/theme.css +5 -6
  395. package/lib/tokens.css +156 -156
  396. package/lib/utilities.css +21 -21
  397. package/package.json +24 -34
  398. package/dist/_virtual/index.es.js +0 -5
  399. package/dist/_virtual/use-sync-external-store-shim.development.es.js +0 -5
  400. package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +0 -1
  401. package/dist/_virtual/use-sync-external-store-shim.production.es.js +0 -5
  402. package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +0 -1
  403. package/dist/components/sidebar/app-layout.es.js +0 -40
  404. package/dist/components/sidebar/app-layout.es.js.map +0 -1
  405. package/dist/components/sidebar/sidebar.es.js +0 -9
  406. package/dist/components/sidebar/sidebar.es.js.map +0 -1
  407. package/dist/components/ui/chart.es.js +0 -174
  408. package/dist/components/ui/chart.es.js.map +0 -1
  409. package/dist/components/ui/navigation-menu.es.js +0 -121
  410. package/dist/components/ui/navigation-menu.es.js.map +0 -1
  411. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-accordion/dist/index.es.js.map +0 -1
  412. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
  413. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-avatar/dist/index.es.js +0 -78
  414. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-avatar/dist/index.es.js.map +0 -1
  415. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-collapsible/dist/index.es.js.map +0 -1
  416. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-collection/dist/index.es.js.map +0 -1
  417. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  418. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  419. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +0 -1
  420. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.es.js.map +0 -1
  421. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.14_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-dropdown-menu/dist/index.es.js.map +0 -1
  422. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +0 -1
  423. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +0 -1
  424. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  425. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-label/dist/index.es.js.map +0 -1
  426. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.14_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-menu/dist/index.es.js.map +0 -1
  427. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.12_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-navigation-menu/dist/index.es.js +0 -610
  428. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.12_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-navigation-menu/dist/index.es.js.map +0 -1
  429. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-popover/dist/index.es.js.map +0 -1
  430. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
  431. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  432. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.4_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
  433. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.2_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  434. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-radio-group/dist/index.es.js.map +0 -1
  435. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-separator/dist/index.es.js.map +0 -1
  436. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -61
  437. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  438. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-tabs/dist/index.es.js.map +0 -1
  439. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +0 -1
  440. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  441. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  442. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
  443. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.es.js +0 -16
  444. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.es.js.map +0 -1
  445. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  446. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.es.js.map +0 -1
  447. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@18.3.21_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +0 -1
  448. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.3.7_@types_react@18.3.21_react-dom@18.3.1_react@18.3.1/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +0 -1
  449. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.es.js.map +0 -1
  450. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.es.js.map +0 -1
  451. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchFn.es.js.map +0 -1
  452. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.es.js.map +0 -1
  453. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.es.js.map +0 -1
  454. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatLong.es.js.map +0 -1
  455. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.es.js.map +0 -1
  456. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/localize.es.js.map +0 -1
  457. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/match.es.js.map +0 -1
  458. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.es.js.map +0 -1
  459. package/dist/node_modules/.pnpm/react-day-picker@8.10.1_date-fns@3.6.0_react@18.3.1/node_modules/react-day-picker/dist/index.esm.es.js +0 -1012
  460. package/dist/node_modules/.pnpm/react-day-picker@8.10.1_date-fns@3.6.0_react@18.3.1/node_modules/react-day-picker/dist/index.esm.es.js.map +0 -1
  461. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.es.js.map +0 -1
  462. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js.map +0 -1
  463. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js.map +0 -1
  464. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.es.js.map +0 -1
  465. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +0 -1
  466. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.es.js.map +0 -1
  467. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js.map +0 -1
  468. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js.map +0 -1
  469. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.es.js.map +0 -1
  470. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.es.js.map +0 -1
  471. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.es.js.map +0 -1
  472. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.es.js.map +0 -1
  473. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.es.js.map +0 -1
  474. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.es.js.map +0 -1
  475. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js.map +0 -1
  476. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.es.js.map +0 -1
  477. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.21_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.es.js.map +0 -1
  478. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.21_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.es.js.map +0 -1
  479. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +0 -68
  480. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +0 -1
  481. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +0 -56
  482. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +0 -1
  483. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.es.js +0 -9
  484. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.es.js.map +0 -1
  485. /package/dist/node_modules/.pnpm/{@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1 → @floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0}/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js +0 -0
  486. /package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-compose-refs@1.1.2_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -0
  487. /package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-context@1.1.2_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  488. /package/dist/node_modules/.pnpm/{@radix-ui_react-direction@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-direction@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-direction/dist/index.es.js +0 -0
  489. /package/dist/node_modules/.pnpm/{@radix-ui_react-focus-guards@1.1.2_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-focus-guards@1.1.2_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-focus-guards/dist/index.es.js +0 -0
  490. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -0
  491. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-layout-effect@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -0
  492. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-previous@1.1.1_@types_react@18.3.21_react@18.3.1 → @radix-ui_react-use-previous@1.1.1_@types_react@19.1.0_react@19.1.0}/node_modules/@radix-ui/react-use-previous/dist/index.es.js +0 -0
  493. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildFormatLongFn.es.js +0 -0
  494. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildLocalizeFn.es.js +0 -0
  495. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/_lib/buildMatchPatternFn.es.js +0 -0
  496. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatDistance.es.js +0 -0
  497. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatLong.es.js +0 -0
  498. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/formatRelative.es.js +0 -0
  499. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/localize.es.js +0 -0
  500. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US/_lib/match.es.js +0 -0
  501. /package/dist/node_modules/.pnpm/{date-fns@3.6.0 → date-fns@4.1.0}/node_modules/date-fns/locale/en-US.es.js +0 -0
  502. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll-bar/dist/es2015/constants.es.js +0 -0
  503. /package/dist/node_modules/.pnpm/{react-remove-scroll-bar@2.3.8_@types_react@18.3.21_react@18.3.1 → react-remove-scroll-bar@2.3.8_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll-bar/dist/es2015/utils.es.js +0 -0
  504. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/Combination.es.js +0 -0
  505. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.es.js +0 -0
  506. /package/dist/node_modules/.pnpm/{react-remove-scroll@2.7.0_@types_react@18.3.21_react@18.3.1 → react-remove-scroll@2.7.0_@types_react@19.1.0_react@19.1.0}/node_modules/react-remove-scroll/dist/es2015/handleScroll.es.js +0 -0
  507. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1 → react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0}/node_modules/react-style-singleton/dist/es2015/component.es.js +0 -0
  508. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1 → react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0}/node_modules/react-style-singleton/dist/es2015/hook.es.js +0 -0
  509. /package/dist/node_modules/.pnpm/{react-style-singleton@2.2.3_@types_react@18.3.21_react@18.3.1 → react-style-singleton@2.2.3_@types_react@19.1.0_react@19.1.0}/node_modules/react-style-singleton/dist/es2015/singleton.es.js +0 -0
  510. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1 → use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0}/node_modules/use-callback-ref/dist/es2015/assignRef.es.js +0 -0
  511. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1 → use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0}/node_modules/use-callback-ref/dist/es2015/useMergeRef.es.js +0 -0
  512. /package/dist/node_modules/.pnpm/{use-callback-ref@1.3.3_@types_react@18.3.21_react@18.3.1 → use-callback-ref@1.3.3_@types_react@19.1.0_react@19.1.0}/node_modules/use-callback-ref/dist/es2015/useRef.es.js +0 -0
  513. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.21_react@18.3.1 → use-sidecar@1.1.3_@types_react@19.1.0_react@19.1.0}/node_modules/use-sidecar/dist/es2015/exports.es.js +0 -0
  514. /package/dist/node_modules/.pnpm/{use-sidecar@1.1.3_@types_react@18.3.21_react@18.3.1 → use-sidecar@1.1.3_@types_react@19.1.0_react@19.1.0}/node_modules/use-sidecar/dist/es2015/medium.es.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.es.js","sources":["../../../lib/components/inputs/checkbox.tsx"],"sourcesContent":["import { cn } from \"@/utils\"\nimport { useFieldContext } from \"@/utils/form-context\"\nimport * as React from \"react\"\n\nexport interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'value'> { }\n\nexport const Checkbox = React.forwardRef<\n HTMLInputElement,\n CheckboxProps\n>(({ className, checked, ...props }, ref) => (\n <>\n <input\n checked={checked}\n type=\"checkbox\"\n ref={ref}\n className={cn(\n \"appearance-none size-input border border-input bg-card checked:bg-accent rounded-none focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n {...props}\n />\n </>\n))\nCheckbox.displayName = \"Checkbox\"\n\nexport interface TfCheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof Checkbox>, 'onChange' | 'onBlur' | 'checked'> { }\nexport const TfCheckbox = ({ ...props }: TfCheckboxProps) => {\n const field = useFieldContext<boolean>();\n\n return (<Checkbox checked={field.state.value} onChange={() => field.handleChange(!field.state.value)} onBlur={field.handleBlur} {...props} />);\n}"],"names":["Checkbox","React","className","checked","props","ref","jsx","Fragment","cn","TfCheckbox","field","useFieldContext"],"mappings":";;;;AAMa,MAAAA,IAAWC,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,EAAA,GAASC,MAEjC,gBAAAC,EAAAC,GAAA,EAAA,UAAA,gBAAAD;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,SAAAH;AAAA,IACA,MAAK;AAAA,IACL,KAAAE;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN;AAAA,IACF;AAAA,IACC,GAAGE;AAAA,EAAA;AACN,GACF,CACD;AACDJ,EAAS,cAAc;AAGhB,MAAMS,IAAa,CAAC,EAAE,GAAGL,QAA6B;AAC3D,QAAMM,IAAQC,EAAyB;AAEvC,2BAASX,GAAS,EAAA,SAASU,EAAM,MAAM,OAAO,UAAU,MAAMA,EAAM,aAAa,CAACA,EAAM,MAAM,KAAK,GAAG,QAAQA,EAAM,YAAa,GAAGN,GAAO;AAC7I;"}
1
+ {"version":3,"file":"checkbox.es.js","sources":["../../../lib/components/inputs/checkbox.tsx"],"sourcesContent":["import { cn } from \"@/utils\";\nimport { useFieldContext } from \"@/utils/form-context\";\nimport type * as React from \"react\";\n\nexport interface CheckboxProps\n\textends Omit<React.ComponentProps<\"input\">, \"type\" | \"value\"> { }\n\nexport function Checkbox({ className, checked, ...props }: CheckboxProps) {\n\treturn (\n\t\t<>\n\t\t\t<input\n\t\t\t\tchecked={checked}\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"appearance-none size-input border border-input bg-card checked:bg-accent rounded-none focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\",\n\t\t\t\t\tclassName,\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</>\n\t);\n}\n\nexport interface TfCheckboxProps\n\textends Omit<\n\t\tReact.ComponentProps<typeof Checkbox>,\n\t\t\"onChange\" | \"onBlur\" | \"checked\"\n\t> { }\nexport function TfCheckbox({ ...props }: TfCheckboxProps) {\n\tconst field = useFieldContext<boolean>();\n\n\treturn (\n\t\t<Checkbox\n\t\t\tchecked={field.state.value}\n\t\t\tonChange={() => field.handleChange(!field.state.value)}\n\t\t\tonBlur={field.handleBlur}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n"],"names":["Checkbox","className","checked","props","jsx","Fragment","cn","TfCheckbox","field","useFieldContext"],"mappings":";;;AAOO,SAASA,EAAS,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,KAAwB;AACzE,SAEE,gBAAAC,EAAAC,GAAA,EAAA,UAAA,gBAAAD;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAAAF;AAAA,MACA,MAAK;AAAA,MACL,WAAWI;AAAA,QACV;AAAA,QACAL;AAAA,MACD;AAAA,MACC,GAAGE;AAAA,IAAA;AAAA,EAAA,GAEN;AAEF;AAOO,SAASI,EAAW,EAAE,GAAGJ,KAA0B;AACzD,QAAMK,IAAQC,EAAyB;AAGtC,SAAA,gBAAAL;AAAA,IAACJ;AAAA,IAAA;AAAA,MACA,SAASQ,EAAM,MAAM;AAAA,MACrB,UAAU,MAAMA,EAAM,aAAa,CAACA,EAAM,MAAM,KAAK;AAAA,MACrD,QAAQA,EAAM;AAAA,MACb,GAAGL;AAAA,IAAA;AAAA,EACL;AAEF;"}
@@ -2,7 +2,9 @@ import { jsx as i, jsxs as o, Fragment as t } from "react/jsx-runtime";
2
2
  import { TfMultiSelect as l, MultiSelect as s } from "./multi-select.es.js";
3
3
  function u(a) {
4
4
  function n(r) {
5
- return String.fromCodePoint(127397 + r.toUpperCase().charCodeAt(0));
5
+ return String.fromCodePoint(
6
+ 127397 + r.toUpperCase().charCodeAt(0)
7
+ );
6
8
  }
7
9
  return n(a[0]) + n(a[1]);
8
10
  }
@@ -256,23 +258,24 @@ const d = {
256
258
  YE: "Yemen",
257
259
  ZM: "Zambia",
258
260
  ZW: "Zimbabwe"
259
- }, e = Object.entries(d).map((a) => ({ label: /* @__PURE__ */ o(t, { children: [
260
- u(a[0]),
261
- " ",
262
- a[1]
263
- ] }), value: a[0] })), c = ({ ...a }) => /* @__PURE__ */ i(
264
- s,
265
- {
266
- ...a,
267
- options: e
268
- }
269
- ), C = ({ ...a }) => /* @__PURE__ */ i(
270
- l,
271
- {
272
- ...a,
273
- options: e
274
- }
275
- );
261
+ }, e = Object.entries(d).map((a) => ({
262
+ label: /* @__PURE__ */ o(t, { children: [
263
+ u(a[0]),
264
+ " ",
265
+ a[1]
266
+ ] }),
267
+ value: a[0]
268
+ }));
269
+ function c({
270
+ ...a
271
+ }) {
272
+ return /* @__PURE__ */ i(s, { ...a, options: e });
273
+ }
274
+ function C({
275
+ ...a
276
+ }) {
277
+ return /* @__PURE__ */ i(l, { ...a, options: e });
278
+ }
276
279
  export {
277
280
  c as CountrySelect,
278
281
  C as TfCountrySelect
@@ -1 +1 @@
1
- {"version":3,"file":"country-select.es.js","sources":["../../../lib/components/inputs/country-select.tsx"],"sourcesContent":["import { MultiSelect, TfMultiSelect, type MultiSelectProps, type TfMultiSelectProps } from \"@/components/inputs/multi-select\";\n\n/**\n * Creates Unicode flag from a two-letter ISO country code.\n * https://stackoverflow.com/questions/24050671/how-to-put-japan-flag-character-in-a-string\n * @param {string} country — A two-letter ISO country code (case-insensitive).\n * @return {string}\n */\nfunction getCountryFlag(country: string) {\n function getRegionalIndicatorSymbol(letter: string) {\n return String.fromCodePoint(0x1F1E6 - 65 + letter.toUpperCase().charCodeAt(0))\n }\n\n return getRegionalIndicatorSymbol(country[0]) + getRegionalIndicatorSymbol(country[1])\n}\n\nconst ALL_COUNTRIES: { [key: string]: string } = {\n AF: 'Afghanistan',\n AX: 'Åland Islands',\n AL: 'Albania',\n DZ: 'Algeria',\n AS: 'American Samoa',\n AD: 'Andorra',\n AO: 'Angola',\n AI: 'Anguilla',\n AQ: 'Antarctica',\n AG: 'Antigua and Barbuda',\n AR: 'Argentina',\n AM: 'Armenia',\n AW: 'Aruba',\n AU: 'Australia',\n AT: 'Austria',\n AZ: 'Azerbaijan',\n BS: 'Bahamas',\n BH: 'Bahrain',\n BD: 'Bangladesh',\n BB: 'Barbados',\n BY: 'Belarus',\n BE: 'Belgium',\n BZ: 'Belize',\n BJ: 'Benin',\n BM: 'Bermuda',\n BT: 'Bhutan',\n BO: 'Bolivia (Plurinational State of)',\n BQ: 'Bonaire, Sint Eustatius and Saba',\n BA: 'Bosnia and Herzegovina',\n BW: 'Botswana',\n BV: 'Bouvet Island',\n BR: 'Brazil',\n IO: 'British Indian Ocean Territory',\n BN: 'Brunei Darussalam',\n BG: 'Bulgaria',\n BF: 'Burkina Faso',\n BI: 'Burundi',\n CV: 'Caboe Verde',\n KH: 'Cambodia',\n CM: 'Cameroon',\n CA: 'Canada',\n KY: 'Cayman Islands',\n CF: 'Central African Republic',\n TD: 'Chad',\n CL: 'Chile',\n CN: 'China',\n CX: 'Christmas Island',\n CC: 'Cocos (Keeling) Islands',\n CO: 'Colombia',\n KM: 'Comoros',\n CG: 'Congo',\n CD: 'Congo, Democratic Republic of the',\n CK: 'Cook Islands',\n CR: 'Costa Rica',\n CI: \"Côte d'voire\",\n HR: 'Croatia',\n CU: 'Cuba',\n CW: 'Curaçao',\n CY: 'Cyprus',\n CZ: 'Czechia',\n DK: 'Denmark',\n DJ: 'Djibouti',\n DM: 'Dominica',\n DO: 'Dominican Republic',\n EC: 'Ecuador',\n EG: 'Egypt',\n SV: 'El Salvador',\n GQ: 'Equatorial Guinea',\n ER: 'Eritrea',\n EE: 'Estonia',\n SZ: 'Eswatini',\n ET: 'Ethiopia',\n FK: 'Falkland Islands (Malvinas)',\n FO: 'Faroe Islands',\n FJ: 'Fiji',\n FI: 'Finland',\n FR: 'France',\n GF: 'French Guiana',\n PF: 'French Polynesia',\n TF: 'French Southern Territories',\n GA: 'Gabon',\n GM: 'Gambia',\n GE: 'Georgia',\n DE: 'Germany',\n GH: 'Ghana',\n GI: 'Gibraltar',\n GR: 'Greece',\n GL: 'Greenland',\n GD: 'Grenada',\n GP: 'Guadeloupe',\n GU: 'Guam',\n GT: 'Guatemala',\n GG: 'Guernsey',\n GN: 'Guinea',\n GW: 'Guinea-Bissau',\n GY: 'Guyana',\n HT: 'Haiti',\n HM: 'Heard Island and Mcdonald Islands',\n VA: 'Holy See',\n HN: 'Honduras',\n HK: 'Hong Kong',\n HU: 'Hungary',\n IS: 'Iceland',\n IN: 'India',\n ID: 'Indonesia',\n IR: 'Iran (Islamic Republic of)',\n IQ: 'Iraq',\n IE: 'Ireland',\n IM: 'Isle of Man',\n IL: 'Israel',\n IT: 'Italy',\n JM: 'Jamaica',\n JP: 'Japan',\n JE: 'Jersey',\n JO: 'Jordan',\n KZ: 'Kazakhstan',\n KE: 'Kenya',\n KI: 'Kiribati',\n KP: \"Korea (Democratic People's Republic of)\",\n KR: 'Korea (Republic of)',\n KW: 'Kuwait',\n KG: 'Kyrgyzstan',\n LA: \"Lao People's Democratic Republic\",\n LV: 'Latvia',\n LB: 'Lebanon',\n LS: 'Lesotho',\n LR: 'Liberia',\n LY: 'Libya',\n LI: 'Liechtenstein',\n LT: 'Lithuania',\n LU: 'Luxembourg',\n MO: 'Macao',\n MG: 'Madagascar',\n MW: 'Malawi',\n MY: 'Malaysia',\n MV: 'Maldives',\n ML: 'Mali',\n MT: 'Malta',\n MH: 'Marshall Islands',\n MQ: 'Martinique',\n MR: 'Mauritania',\n MU: 'Mauritius',\n YT: 'Mayotte',\n MX: 'Mexico',\n FM: 'Micronesia (Federated States of)',\n MD: 'Moldova, Republic of',\n MC: 'Monaco',\n MN: 'Mongolia',\n ME: 'Montenegro',\n MS: 'Montserrat',\n MA: 'Morocco',\n MZ: 'Mozambique',\n MM: 'Myanmar',\n NA: 'Namibia',\n NR: 'Nauru',\n NP: 'Nepal',\n NL: 'Netherlands, Kingdom of the',\n NC: 'New Caledonia',\n NZ: 'New Zealand',\n NI: 'Nicaragua',\n NE: 'Niger',\n NG: 'Nigeria',\n NU: 'Niue',\n NF: 'Norfolk Island',\n MK: 'North Macedonia',\n MP: 'Northern Mariana Islands',\n NO: 'Norway',\n OM: 'Oman',\n PK: 'Pakistan',\n PW: 'Palau',\n PS: 'Palestine, State of',\n PA: 'Panama',\n PG: 'Papua New Guinea',\n PY: 'Paraguay',\n PE: 'Peru',\n PH: 'Philippines',\n PN: 'Pitcairn',\n PL: 'Poland',\n PT: 'Portugal',\n PR: 'Puerto Rico',\n QA: 'Qatar',\n RE: 'Réunion',\n RO: 'Romania',\n RU: 'Russian Federation',\n RW: 'Rwanda',\n BL: 'Saint Barthélemy',\n SH: 'Saint Helena, Ascension Island, Tristan da Cunha',\n KN: 'Saint Kitts and Nevis',\n LC: 'Saint Lucia',\n MF: 'Saint Martin (French part)',\n PM: 'Saint Pierre and Miquelon',\n VC: 'Saint Vincent and the Grenadines',\n WS: 'Samoa',\n SM: 'San Marino',\n ST: 'Sao Tome and Principe',\n SA: 'Saudi Arabia',\n SN: 'Senegal',\n RS: 'Serbia',\n SC: 'Seychelles',\n SL: 'Sierra Leone',\n SG: 'Singapore',\n SX: 'Sint Maarten (Dutch part)',\n SK: 'Slovakia',\n SI: 'Slovenia',\n SB: 'Solomon Islands',\n SO: 'Somalia',\n ZA: 'South Africa',\n GS: 'South Georgia and the South Sandwich Islands',\n SS: 'South Sudan',\n ES: 'Spain',\n LK: 'Sri Lanka',\n SD: 'Sudan',\n SR: 'Suriname',\n SJ: 'Svalbard and Jan Mayen',\n SE: 'Sweden',\n CH: 'Switzerland',\n SY: 'Syrian Arab Republic',\n TW: 'Taiwan, Province of China',\n TJ: 'Tajikistan',\n TZ: 'Tanzania, United Republic of',\n TH: 'Thailand',\n TL: 'Timor-Leste',\n TG: 'Togo',\n TK: 'Tokelau',\n TO: 'Tonga',\n TT: 'Trinidad and Tobago',\n TN: 'Tunisia',\n TR: 'Türkiye',\n TM: 'Turkmenistan',\n TC: 'Turks and Caicos Islands',\n TV: 'Tuvalu',\n UG: 'Uganda',\n UA: 'Ukraine',\n AE: 'United Arab Emirates',\n GB: 'United Kingdom of Great Britain and Northern Ireland',\n UM: 'United States Minor Outlying Islands',\n US: 'United States of America',\n UY: 'Uruguay',\n UZ: 'Uzbekistan',\n VU: 'Vanuatu',\n VE: 'Venezuela (Bolivarian Republic of)',\n VN: 'Viet Nam',\n VG: 'Virgin Islands (British)',\n VI: 'Virgin Islands (U.S)',\n WF: 'Wallis and Futuna',\n EH: 'Western Sahara',\n YE: 'Yemen',\n ZM: 'Zambia',\n ZW: 'Zimbabwe',\n};\n\n/** Options for MultiSelect component */\nconst options = Object.entries(ALL_COUNTRIES).map(v => { return { label: <>{getCountryFlag(v[0])} {v[1]}</>, value: v[0] } });\n\nexport const CountrySelect = ({ ...props }: Omit<MultiSelectProps, 'options'>) => {\n return (\n <MultiSelect\n {...props}\n options={options}\n />\n )\n}\n\nexport const TfCountrySelect = ({ ...props }: Omit<TfMultiSelectProps, 'options'>) => {\n return (\n <TfMultiSelect\n {...props}\n options={options}\n />\n )\n}"],"names":["getCountryFlag","country","getRegionalIndicatorSymbol","letter","ALL_COUNTRIES","options","v","jsxs","Fragment","CountrySelect","props","jsx","MultiSelect","TfCountrySelect","TfMultiSelect"],"mappings":";;AAQA,SAASA,EAAeC,GAAiB;AACrC,WAASC,EAA2BC,GAAgB;AACzC,WAAA,OAAO,cAAc,SAAeA,EAAO,YAAY,EAAE,WAAW,CAAC,CAAC;AAAA,EAAA;AAG1E,SAAAD,EAA2BD,EAAQ,CAAC,CAAC,IAAIC,EAA2BD,EAAQ,CAAC,CAAC;AACzF;AAEA,MAAMG,IAA2C;AAAA,EAC7C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACR,GAGMC,IAAU,OAAO,QAAQD,CAAa,EAAE,IAAI,CAAKE,OAAS,EAAE,OAAU,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,EAAeR,EAAAM,EAAE,CAAC,CAAC;AAAA,EAAE;AAAA,EAAEA,EAAE,CAAC;AAAA,EAAA,CAAE,GAAK,OAAOA,EAAE,CAAC,EAAE,EAAG,GAE/GG,IAAgB,CAAC,EAAE,GAAGC,QAE3B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACI,GAAGF;AAAA,IACJ,SAAAL;AAAA,EAAA;AACJ,GAIKQ,IAAkB,CAAC,EAAE,GAAGH,QAE7B,gBAAAC;AAAA,EAACG;AAAA,EAAA;AAAA,IACI,GAAGJ;AAAA,IACJ,SAAAL;AAAA,EAAA;AACJ;"}
1
+ {"version":3,"file":"country-select.es.js","sources":["../../../lib/components/inputs/country-select.tsx"],"sourcesContent":["import {\n\tMultiSelect,\n\tTfMultiSelect,\n\ttype MultiSelectProps,\n\ttype TfMultiSelectProps,\n} from \"@/components/inputs/multi-select\";\n\n/**\n * Creates Unicode flag from a two-letter ISO country code.\n * https://stackoverflow.com/questions/24050671/how-to-put-japan-flag-character-in-a-string\n * @param {string} country — A two-letter ISO country code (case-insensitive).\n * @return {string}\n */\nfunction getCountryFlag(country: string) {\n\tfunction getRegionalIndicatorSymbol(letter: string) {\n\t\treturn String.fromCodePoint(\n\t\t\t0x1f1e6 - 65 + letter.toUpperCase().charCodeAt(0),\n\t\t);\n\t}\n\n\treturn (\n\t\tgetRegionalIndicatorSymbol(country[0]) +\n\t\tgetRegionalIndicatorSymbol(country[1])\n\t);\n}\n\nconst ALL_COUNTRIES: { [key: string]: string } = {\n\tAF: \"Afghanistan\",\n\tAX: \"Åland Islands\",\n\tAL: \"Albania\",\n\tDZ: \"Algeria\",\n\tAS: \"American Samoa\",\n\tAD: \"Andorra\",\n\tAO: \"Angola\",\n\tAI: \"Anguilla\",\n\tAQ: \"Antarctica\",\n\tAG: \"Antigua and Barbuda\",\n\tAR: \"Argentina\",\n\tAM: \"Armenia\",\n\tAW: \"Aruba\",\n\tAU: \"Australia\",\n\tAT: \"Austria\",\n\tAZ: \"Azerbaijan\",\n\tBS: \"Bahamas\",\n\tBH: \"Bahrain\",\n\tBD: \"Bangladesh\",\n\tBB: \"Barbados\",\n\tBY: \"Belarus\",\n\tBE: \"Belgium\",\n\tBZ: \"Belize\",\n\tBJ: \"Benin\",\n\tBM: \"Bermuda\",\n\tBT: \"Bhutan\",\n\tBO: \"Bolivia (Plurinational State of)\",\n\tBQ: \"Bonaire, Sint Eustatius and Saba\",\n\tBA: \"Bosnia and Herzegovina\",\n\tBW: \"Botswana\",\n\tBV: \"Bouvet Island\",\n\tBR: \"Brazil\",\n\tIO: \"British Indian Ocean Territory\",\n\tBN: \"Brunei Darussalam\",\n\tBG: \"Bulgaria\",\n\tBF: \"Burkina Faso\",\n\tBI: \"Burundi\",\n\tCV: \"Caboe Verde\",\n\tKH: \"Cambodia\",\n\tCM: \"Cameroon\",\n\tCA: \"Canada\",\n\tKY: \"Cayman Islands\",\n\tCF: \"Central African Republic\",\n\tTD: \"Chad\",\n\tCL: \"Chile\",\n\tCN: \"China\",\n\tCX: \"Christmas Island\",\n\tCC: \"Cocos (Keeling) Islands\",\n\tCO: \"Colombia\",\n\tKM: \"Comoros\",\n\tCG: \"Congo\",\n\tCD: \"Congo, Democratic Republic of the\",\n\tCK: \"Cook Islands\",\n\tCR: \"Costa Rica\",\n\tCI: \"Côte d'voire\",\n\tHR: \"Croatia\",\n\tCU: \"Cuba\",\n\tCW: \"Curaçao\",\n\tCY: \"Cyprus\",\n\tCZ: \"Czechia\",\n\tDK: \"Denmark\",\n\tDJ: \"Djibouti\",\n\tDM: \"Dominica\",\n\tDO: \"Dominican Republic\",\n\tEC: \"Ecuador\",\n\tEG: \"Egypt\",\n\tSV: \"El Salvador\",\n\tGQ: \"Equatorial Guinea\",\n\tER: \"Eritrea\",\n\tEE: \"Estonia\",\n\tSZ: \"Eswatini\",\n\tET: \"Ethiopia\",\n\tFK: \"Falkland Islands (Malvinas)\",\n\tFO: \"Faroe Islands\",\n\tFJ: \"Fiji\",\n\tFI: \"Finland\",\n\tFR: \"France\",\n\tGF: \"French Guiana\",\n\tPF: \"French Polynesia\",\n\tTF: \"French Southern Territories\",\n\tGA: \"Gabon\",\n\tGM: \"Gambia\",\n\tGE: \"Georgia\",\n\tDE: \"Germany\",\n\tGH: \"Ghana\",\n\tGI: \"Gibraltar\",\n\tGR: \"Greece\",\n\tGL: \"Greenland\",\n\tGD: \"Grenada\",\n\tGP: \"Guadeloupe\",\n\tGU: \"Guam\",\n\tGT: \"Guatemala\",\n\tGG: \"Guernsey\",\n\tGN: \"Guinea\",\n\tGW: \"Guinea-Bissau\",\n\tGY: \"Guyana\",\n\tHT: \"Haiti\",\n\tHM: \"Heard Island and Mcdonald Islands\",\n\tVA: \"Holy See\",\n\tHN: \"Honduras\",\n\tHK: \"Hong Kong\",\n\tHU: \"Hungary\",\n\tIS: \"Iceland\",\n\tIN: \"India\",\n\tID: \"Indonesia\",\n\tIR: \"Iran (Islamic Republic of)\",\n\tIQ: \"Iraq\",\n\tIE: \"Ireland\",\n\tIM: \"Isle of Man\",\n\tIL: \"Israel\",\n\tIT: \"Italy\",\n\tJM: \"Jamaica\",\n\tJP: \"Japan\",\n\tJE: \"Jersey\",\n\tJO: \"Jordan\",\n\tKZ: \"Kazakhstan\",\n\tKE: \"Kenya\",\n\tKI: \"Kiribati\",\n\tKP: \"Korea (Democratic People's Republic of)\",\n\tKR: \"Korea (Republic of)\",\n\tKW: \"Kuwait\",\n\tKG: \"Kyrgyzstan\",\n\tLA: \"Lao People's Democratic Republic\",\n\tLV: \"Latvia\",\n\tLB: \"Lebanon\",\n\tLS: \"Lesotho\",\n\tLR: \"Liberia\",\n\tLY: \"Libya\",\n\tLI: \"Liechtenstein\",\n\tLT: \"Lithuania\",\n\tLU: \"Luxembourg\",\n\tMO: \"Macao\",\n\tMG: \"Madagascar\",\n\tMW: \"Malawi\",\n\tMY: \"Malaysia\",\n\tMV: \"Maldives\",\n\tML: \"Mali\",\n\tMT: \"Malta\",\n\tMH: \"Marshall Islands\",\n\tMQ: \"Martinique\",\n\tMR: \"Mauritania\",\n\tMU: \"Mauritius\",\n\tYT: \"Mayotte\",\n\tMX: \"Mexico\",\n\tFM: \"Micronesia (Federated States of)\",\n\tMD: \"Moldova, Republic of\",\n\tMC: \"Monaco\",\n\tMN: \"Mongolia\",\n\tME: \"Montenegro\",\n\tMS: \"Montserrat\",\n\tMA: \"Morocco\",\n\tMZ: \"Mozambique\",\n\tMM: \"Myanmar\",\n\tNA: \"Namibia\",\n\tNR: \"Nauru\",\n\tNP: \"Nepal\",\n\tNL: \"Netherlands, Kingdom of the\",\n\tNC: \"New Caledonia\",\n\tNZ: \"New Zealand\",\n\tNI: \"Nicaragua\",\n\tNE: \"Niger\",\n\tNG: \"Nigeria\",\n\tNU: \"Niue\",\n\tNF: \"Norfolk Island\",\n\tMK: \"North Macedonia\",\n\tMP: \"Northern Mariana Islands\",\n\tNO: \"Norway\",\n\tOM: \"Oman\",\n\tPK: \"Pakistan\",\n\tPW: \"Palau\",\n\tPS: \"Palestine, State of\",\n\tPA: \"Panama\",\n\tPG: \"Papua New Guinea\",\n\tPY: \"Paraguay\",\n\tPE: \"Peru\",\n\tPH: \"Philippines\",\n\tPN: \"Pitcairn\",\n\tPL: \"Poland\",\n\tPT: \"Portugal\",\n\tPR: \"Puerto Rico\",\n\tQA: \"Qatar\",\n\tRE: \"Réunion\",\n\tRO: \"Romania\",\n\tRU: \"Russian Federation\",\n\tRW: \"Rwanda\",\n\tBL: \"Saint Barthélemy\",\n\tSH: \"Saint Helena, Ascension Island, Tristan da Cunha\",\n\tKN: \"Saint Kitts and Nevis\",\n\tLC: \"Saint Lucia\",\n\tMF: \"Saint Martin (French part)\",\n\tPM: \"Saint Pierre and Miquelon\",\n\tVC: \"Saint Vincent and the Grenadines\",\n\tWS: \"Samoa\",\n\tSM: \"San Marino\",\n\tST: \"Sao Tome and Principe\",\n\tSA: \"Saudi Arabia\",\n\tSN: \"Senegal\",\n\tRS: \"Serbia\",\n\tSC: \"Seychelles\",\n\tSL: \"Sierra Leone\",\n\tSG: \"Singapore\",\n\tSX: \"Sint Maarten (Dutch part)\",\n\tSK: \"Slovakia\",\n\tSI: \"Slovenia\",\n\tSB: \"Solomon Islands\",\n\tSO: \"Somalia\",\n\tZA: \"South Africa\",\n\tGS: \"South Georgia and the South Sandwich Islands\",\n\tSS: \"South Sudan\",\n\tES: \"Spain\",\n\tLK: \"Sri Lanka\",\n\tSD: \"Sudan\",\n\tSR: \"Suriname\",\n\tSJ: \"Svalbard and Jan Mayen\",\n\tSE: \"Sweden\",\n\tCH: \"Switzerland\",\n\tSY: \"Syrian Arab Republic\",\n\tTW: \"Taiwan, Province of China\",\n\tTJ: \"Tajikistan\",\n\tTZ: \"Tanzania, United Republic of\",\n\tTH: \"Thailand\",\n\tTL: \"Timor-Leste\",\n\tTG: \"Togo\",\n\tTK: \"Tokelau\",\n\tTO: \"Tonga\",\n\tTT: \"Trinidad and Tobago\",\n\tTN: \"Tunisia\",\n\tTR: \"Türkiye\",\n\tTM: \"Turkmenistan\",\n\tTC: \"Turks and Caicos Islands\",\n\tTV: \"Tuvalu\",\n\tUG: \"Uganda\",\n\tUA: \"Ukraine\",\n\tAE: \"United Arab Emirates\",\n\tGB: \"United Kingdom of Great Britain and Northern Ireland\",\n\tUM: \"United States Minor Outlying Islands\",\n\tUS: \"United States of America\",\n\tUY: \"Uruguay\",\n\tUZ: \"Uzbekistan\",\n\tVU: \"Vanuatu\",\n\tVE: \"Venezuela (Bolivarian Republic of)\",\n\tVN: \"Viet Nam\",\n\tVG: \"Virgin Islands (British)\",\n\tVI: \"Virgin Islands (U.S)\",\n\tWF: \"Wallis and Futuna\",\n\tEH: \"Western Sahara\",\n\tYE: \"Yemen\",\n\tZM: \"Zambia\",\n\tZW: \"Zimbabwe\",\n};\n\n/** Options for MultiSelect component */\nconst options = Object.entries(ALL_COUNTRIES).map((v) => {\n\treturn {\n\t\tlabel: (\n\t\t\t<>\n\t\t\t\t{getCountryFlag(v[0])} {v[1]}\n\t\t\t</>\n\t\t),\n\t\tvalue: v[0],\n\t};\n});\n\nexport function CountrySelect({\n\t...props\n}: Omit<MultiSelectProps, \"options\">) {\n\treturn <MultiSelect {...props} options={options} />;\n};\n\nexport function TfCountrySelect({\n\t...props\n}: Omit<TfMultiSelectProps, \"options\">) {\n\treturn <TfMultiSelect {...props} options={options} />;\n};\n"],"names":["getCountryFlag","country","getRegionalIndicatorSymbol","letter","ALL_COUNTRIES","options","v","jsxs","Fragment","CountrySelect","props","jsx","MultiSelect","TfCountrySelect","TfMultiSelect"],"mappings":";;AAaA,SAASA,EAAeC,GAAiB;AACxC,WAASC,EAA2BC,GAAgB;AACnD,WAAO,OAAO;AAAA,MACb,SAAeA,EAAO,YAAY,EAAE,WAAW,CAAC;AAAA,IACjD;AAAA,EAAA;AAIA,SAAAD,EAA2BD,EAAQ,CAAC,CAAC,IACrCC,EAA2BD,EAAQ,CAAC,CAAC;AAEvC;AAEA,MAAMG,IAA2C;AAAA,EAChD,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACL,GAGMC,IAAU,OAAO,QAAQD,CAAa,EAAE,IAAI,CAACE,OAC3C;AAAA,EACN,OAEG,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAeR,EAAAM,EAAE,CAAC,CAAC;AAAA,IAAE;AAAA,IAAEA,EAAE,CAAC;AAAA,EAAA,GAC5B;AAAA,EAED,OAAOA,EAAE,CAAC;AACX,EACA;AAEM,SAASG,EAAc;AAAA,EAC7B,GAAGC;AACJ,GAAsC;AACrC,SAAQ,gBAAAC,EAAAC,GAAA,EAAa,GAAGF,GAAO,SAAAL,EAAkB,CAAA;AAClD;AAEO,SAASQ,EAAgB;AAAA,EAC/B,GAAGH;AACJ,GAAwC;AACvC,SAAQ,gBAAAC,EAAAG,GAAA,EAAe,GAAGJ,GAAO,SAAAL,EAAkB,CAAA;AACpD;"}
@@ -3,21 +3,58 @@ import { cn as u } from "../../utils/index.es.js";
3
3
  import { Info as p, CircleX as N } from "lucide-react";
4
4
  import h from "react";
5
5
  import { Label as x } from "../ui/label.es.js";
6
- function j({ field: a, label: s, caption: t, children: m, className: n }) {
6
+ function j({
7
+ field: a,
8
+ label: s,
9
+ caption: t,
10
+ children: m,
11
+ className: n
12
+ }) {
7
13
  const o = h.useCallback(() => t == null ? void 0 : t(), [t]);
8
14
  return /* @__PURE__ */ l("div", { className: u("", n), children: [
9
15
  /* @__PURE__ */ e(x, { htmlFor: a == null ? void 0 : a.name, children: s }),
10
16
  m,
11
- o() && /* @__PURE__ */ e(c, { icon: p, className: "text-muted", value: o(), fieldName: a == null ? void 0 : a.name }),
12
- a && a.state.meta.errors.length !== 0 && /* @__PURE__ */ e(c, { icon: N, className: "text-destructive", value: a == null ? void 0 : a.state.meta.errors.map((r) => r == null ? void 0 : r.message).join(","), fieldName: a == null ? void 0 : a.name })
17
+ o() && /* @__PURE__ */ e(
18
+ c,
19
+ {
20
+ icon: p,
21
+ className: "text-muted",
22
+ value: o(),
23
+ fieldName: a == null ? void 0 : a.name
24
+ }
25
+ ),
26
+ a && a.state.meta.errors.length !== 0 && /* @__PURE__ */ e(
27
+ c,
28
+ {
29
+ icon: N,
30
+ className: "text-destructive",
31
+ value: a == null ? void 0 : a.state.meta.errors.map((r) => r == null ? void 0 : r.message).join(","),
32
+ fieldName: a == null ? void 0 : a.name
33
+ }
34
+ )
13
35
  ] });
14
36
  }
15
- const c = ({ fieldName: a, className: s, value: t, icon: m }) => {
37
+ const c = ({
38
+ fieldName: a,
39
+ className: s,
40
+ value: t,
41
+ icon: m
42
+ }) => {
16
43
  const n = m;
17
- return /* @__PURE__ */ l("label", { htmlFor: a, className: u(s, "flex flex-row basis-3 gap-1 mt-2 data-[state=open]:animate-in 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out"), children: [
18
- /* @__PURE__ */ e(n, { className: "size-3" }),
19
- /* @__PURE__ */ e("span", { className: "caption w-full leading-none font-normal", children: t })
20
- ] });
44
+ return /* @__PURE__ */ l(
45
+ "label",
46
+ {
47
+ htmlFor: a,
48
+ className: u(
49
+ s,
50
+ "flex flex-row basis-3 gap-1 mt-2 data-[state=open]:animate-in 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out"
51
+ ),
52
+ children: [
53
+ /* @__PURE__ */ e(n, { className: "size-3" }),
54
+ /* @__PURE__ */ e("span", { className: "caption w-full leading-none font-normal", children: t })
55
+ ]
56
+ }
57
+ );
21
58
  };
22
59
  export {
23
60
  j as FormField
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.es.js","sources":["../../../lib/components/inputs/form-field.tsx"],"sourcesContent":["import { Label } from \"@/components/ui\";\nimport { cn } from \"@/utils\";\nimport type { FieldApi } from \"@tanstack/react-form\";\nimport { CircleX, Info, type LucideIcon } from \"lucide-react\";\nimport React from \"react\";\n\ninterface BaseFormFieldProps {\n label: string;\n caption?: () => string | undefined;\n}\n\ninterface FormFieldProps extends BaseFormFieldProps {\n field?: FieldApi<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>\n children: React.ReactNode;\n className?: string\n}\n\n/**\n * Wrapper around form fields. Only to be used within the web-components project.\n */\nexport function FormField({ field, label, caption, children, className }: FormFieldProps) {\n\n const fieldCaption = React.useCallback(() => { return caption?.(); }, [caption]);\n\n return (\n <div className={cn(\"\", className)}>\n <Label htmlFor={field?.name}>{label}</Label>\n {children}\n {/* Field information (if any) */}\n {fieldCaption() && <FieldLabel icon={Info} className=\"text-muted\" value={fieldCaption()} fieldName={field?.name} />}\n {/* Field errors (if any) */}\n {field && field.state.meta.errors.length !== 0 && (<FieldLabel icon={CircleX} className=\"text-destructive\" value={field?.state.meta.errors.map(e => e?.message).join(',')} fieldName={field?.name} />)}\n </div>\n )\n\n}\n\nconst FieldLabel = ({ fieldName, className, value, icon }: { fieldName?: string; className?: string; value?: string, icon: LucideIcon }) => {\n const Icon = icon;\n return (\n <label htmlFor={fieldName} className={cn(className, \"flex flex-row basis-3 gap-1 mt-2 data-[state=open]:animate-in 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out\")}>\n {/* Possibly the only place where icons are size-3 and not size-icon. This will change if we have more \"caption\" sized text with icons. */}\n <Icon className=\"size-3\" />\n <span className=\"caption w-full leading-none font-normal\">{value}</span>\n </label>\n );\n}"],"names":["FormField","field","label","caption","children","className","fieldCaption","React","cn","jsx","Label","FieldLabel","Info","CircleX","e","fieldName","value","icon","Icon","jsxs"],"mappings":";;;;;AAoBO,SAASA,EAAU,EAAE,OAAAC,GAAO,OAAAC,GAAO,SAAAC,GAAS,UAAAC,GAAU,WAAAC,KAA6B;AAEhF,QAAAC,IAAeC,EAAM,YAAY,MAAeJ,KAAA,gBAAAA,KAAgB,CAACA,CAAO,CAAC;AAE/E,2BACK,OAAI,EAAA,WAAWK,EAAG,IAAIH,CAAS,GAC5B,UAAA;AAAA,IAAA,gBAAAI,EAACC,GAAM,EAAA,SAAST,KAAA,gBAAAA,EAAO,MAAO,UAAMC,GAAA;AAAA,IACnCE;AAAA,IAEAE,EAAa,KAAM,gBAAAG,EAAAE,GAAA,EAAW,MAAMC,GAAM,WAAU,cAAa,OAAON,EAAgB,GAAA,WAAWL,KAAA,gBAAAA,EAAO,KAAM,CAAA;AAAA,IAEhHA,KAASA,EAAM,MAAM,KAAK,OAAO,WAAW,KAAM,gBAAAQ,EAACE,GAAW,EAAA,MAAME,GAAS,WAAU,oBAAmB,OAAOZ,KAAA,gBAAAA,EAAO,MAAM,KAAK,OAAO,IAAI,CAAAa,MAAKA,KAAA,gBAAAA,EAAG,SAAS,KAAK,MAAM,WAAWb,KAAA,gBAAAA,EAAO,KAAM,CAAA;AAAA,EAAA,GACvM;AAGR;AAEA,MAAMU,IAAa,CAAC,EAAE,WAAAI,GAAW,WAAAV,GAAW,OAAAW,GAAO,MAAAC,QAAyF;AACxI,QAAMC,IAAOD;AAET,SAAA,gBAAAE,EAAC,WAAM,SAASJ,GAAW,WAAWP,EAAGH,GAAW,oLAAoL,GAEpO,UAAA;AAAA,IAAC,gBAAAI,EAAAS,GAAA,EAAK,WAAU,SAAS,CAAA;AAAA,IACxB,gBAAAT,EAAA,QAAA,EAAK,WAAU,2CAA2C,UAAMO,EAAA,CAAA;AAAA,EAAA,GACrE;AAER;"}
1
+ {"version":3,"file":"form-field.es.js","sources":["../../../lib/components/inputs/form-field.tsx"],"sourcesContent":["import { Label } from \"@/components/ui\";\nimport { cn } from \"@/utils\";\nimport type { FieldApi } from \"@tanstack/react-form\";\nimport { CircleX, Info, type LucideIcon } from \"lucide-react\";\nimport React from \"react\";\n\ninterface BaseFormFieldProps {\n\tlabel: string;\n\tcaption?: () => string | undefined;\n}\n\ninterface FormFieldProps extends BaseFormFieldProps {\n\tfield?: FieldApi<\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany,\n\t\tany\n\t>;\n\tchildren: React.ReactNode;\n\tclassName?: string;\n}\n\n/**\n * Wrapper around form fields. Only to be used within the web-components project.\n */\nexport function FormField({\n\tfield,\n\tlabel,\n\tcaption,\n\tchildren,\n\tclassName,\n}: FormFieldProps) {\n\tconst fieldCaption = React.useCallback(() => {\n\t\treturn caption?.();\n\t}, [caption]);\n\n\treturn (\n\t\t<div className={cn(\"\", className)}>\n\t\t\t<Label htmlFor={field?.name}>{label}</Label>\n\t\t\t{children}\n\t\t\t{/* Field information (if any) */}\n\t\t\t{fieldCaption() && (\n\t\t\t\t<FieldLabel\n\t\t\t\t\ticon={Info}\n\t\t\t\t\tclassName=\"text-muted\"\n\t\t\t\t\tvalue={fieldCaption()}\n\t\t\t\t\tfieldName={field?.name}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t{/* Field errors (if any) */}\n\t\t\t{field && field.state.meta.errors.length !== 0 && (\n\t\t\t\t<FieldLabel\n\t\t\t\t\ticon={CircleX}\n\t\t\t\t\tclassName=\"text-destructive\"\n\t\t\t\t\tvalue={field?.state.meta.errors.map((e) => e?.message).join(\",\")}\n\t\t\t\t\tfieldName={field?.name}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n\nconst FieldLabel = ({\n\tfieldName,\n\tclassName,\n\tvalue,\n\ticon,\n}: {\n\tfieldName?: string;\n\tclassName?: string;\n\tvalue?: string;\n\ticon: LucideIcon;\n}) => {\n\tconst Icon = icon;\n\treturn (\n\t\t<label\n\t\t\thtmlFor={fieldName}\n\t\t\tclassName={cn(\n\t\t\t\tclassName,\n\t\t\t\t\"flex flex-row basis-3 gap-1 mt-2 data-[state=open]:animate-in 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out\",\n\t\t\t)}\n\t\t>\n\t\t\t{/* Possibly the only place where icons are size-3 and not size-icon. This will change if we have more \"caption\" sized text with icons. */}\n\t\t\t<Icon className=\"size-3\" />\n\t\t\t<span className=\"caption w-full leading-none font-normal\">{value}</span>\n\t\t</label>\n\t);\n};\n"],"names":["FormField","field","label","caption","children","className","fieldCaption","React","cn","jsx","Label","FieldLabel","Info","CircleX","e","fieldName","value","icon","Icon","jsxs"],"mappings":";;;;;AAwCO,SAASA,EAAU;AAAA,EACzB,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACD,GAAmB;AACZ,QAAAC,IAAeC,EAAM,YAAY,MAC/BJ,KAAA,gBAAAA,KACL,CAACA,CAAO,CAAC;AAEZ,2BACE,OAAI,EAAA,WAAWK,EAAG,IAAIH,CAAS,GAC/B,UAAA;AAAA,IAAA,gBAAAI,EAACC,GAAM,EAAA,SAAST,KAAA,gBAAAA,EAAO,MAAO,UAAMC,GAAA;AAAA,IACnCE;AAAA,IAEAE,EACA,KAAA,gBAAAG;AAAA,MAACE;AAAA,MAAA;AAAA,QACA,MAAMC;AAAA,QACN,WAAU;AAAA,QACV,OAAON,EAAa;AAAA,QACpB,WAAWL,KAAA,gBAAAA,EAAO;AAAA,MAAA;AAAA,IACnB;AAAA,IAGAA,KAASA,EAAM,MAAM,KAAK,OAAO,WAAW,KAC5C,gBAAAQ;AAAA,MAACE;AAAA,MAAA;AAAA,QACA,MAAME;AAAA,QACN,WAAU;AAAA,QACV,OAAOZ,KAAA,gBAAAA,EAAO,MAAM,KAAK,OAAO,IAAI,CAACa,MAAMA,KAAA,gBAAAA,EAAG,SAAS,KAAK;AAAA,QAC5D,WAAWb,KAAA,gBAAAA,EAAO;AAAA,MAAA;AAAA,IAAA;AAAA,EACnB,GAEF;AAEF;AAEA,MAAMU,IAAa,CAAC;AAAA,EACnB,WAAAI;AAAA,EACA,WAAAV;AAAA,EACA,OAAAW;AAAA,EACA,MAAAC;AACD,MAKM;AACL,QAAMC,IAAOD;AAEZ,SAAA,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,SAASJ;AAAA,MACT,WAAWP;AAAA,QACVH;AAAA,QACA;AAAA,MACD;AAAA,MAGA,UAAA;AAAA,QAAC,gBAAAI,EAAAS,GAAA,EAAK,WAAU,SAAS,CAAA;AAAA,QACxB,gBAAAT,EAAA,QAAA,EAAK,WAAU,2CAA2C,UAAMO,EAAA,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAClE;AAEF;"}
@@ -1,47 +1,58 @@
1
- import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
- import { cn as s } from "../../utils/index.es.js";
3
- import { OTPInput as m, OTPInputContext as u } from "input-otp";
4
- import { Minus as f } from "lucide-react";
5
- import * as o from "react";
6
- const x = o.forwardRef(({ className: e, containerClassName: t, ...a }, n) => /* @__PURE__ */ r(
7
- m,
8
- {
9
- ref: n,
10
- containerClassName: s(
11
- "flex items-center gap-2 has-disabled:opacity-50",
12
- t
13
- ),
14
- className: s("disabled:cursor-not-allowed", e),
15
- ...a
16
- }
17
- ));
18
- x.displayName = "InputOTP";
19
- const O = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r("div", { ref: a, className: s("flex items-center", e), ...t }));
20
- O.displayName = "InputOTPGroup";
21
- const P = o.forwardRef(({ index: e, className: t, ...a }, n) => {
22
- const i = o.useContext(u), { char: p, hasFakeCaret: l, isActive: d } = i.slots[e];
23
- return /* @__PURE__ */ c(
1
+ import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
+ import { cn as n } from "../../utils/index.es.js";
3
+ import { OTPInput as l, OTPInputContext as p } from "input-otp";
4
+ import { Minus as m } from "lucide-react";
5
+ import * as d from "react";
6
+ function v({
7
+ className: e,
8
+ containerClassName: r,
9
+ ...o
10
+ }) {
11
+ return /* @__PURE__ */ t(
12
+ l,
13
+ {
14
+ containerClassName: n(
15
+ "flex items-center gap-2 has-disabled:opacity-50",
16
+ r
17
+ ),
18
+ className: n("disabled:cursor-not-allowed", e),
19
+ ...o
20
+ }
21
+ );
22
+ }
23
+ function O({
24
+ className: e,
25
+ ...r
26
+ }) {
27
+ return /* @__PURE__ */ t("div", { className: n("flex items-center", e), ...r });
28
+ }
29
+ function P({
30
+ index: e,
31
+ className: r,
32
+ ...o
33
+ }) {
34
+ const i = d.use(p), { char: s, hasFakeCaret: a, isActive: c } = i.slots[e];
35
+ return /* @__PURE__ */ u(
24
36
  "div",
25
37
  {
26
- ref: n,
27
- className: s(
38
+ className: n(
28
39
  "relative flex h-input w-9 items-center justify-center border-2 border-input body shadow-xs transition-all",
29
- d ? "z-10 border-2 border-primary" : "",
30
- t
40
+ c ? "z-10 border-2 border-primary" : "",
41
+ r
31
42
  ),
32
- ...a,
43
+ ...o,
33
44
  children: [
34
- p,
35
- l && /* @__PURE__ */ r("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ r("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
45
+ s,
46
+ a && /* @__PURE__ */ t("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ t("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
36
47
  ]
37
48
  }
38
49
  );
39
- });
40
- P.displayName = "InputOTPSlot";
41
- const T = o.forwardRef(({ ...e }, t) => /* @__PURE__ */ r("div", { ref: t, role: "separator", ...e, children: /* @__PURE__ */ r(f, {}) }));
42
- T.displayName = "InputOTPSeparator";
50
+ }
51
+ function T({ ...e }) {
52
+ return /* @__PURE__ */ t("div", { role: "separator", ...e, children: /* @__PURE__ */ t(m, {}) });
53
+ }
43
54
  export {
44
- x as InputOTP,
55
+ v as InputOTP,
45
56
  O as InputOTPGroup,
46
57
  T as InputOTPSeparator,
47
58
  P as InputOTPSlot
@@ -1 +1 @@
1
- {"version":3,"file":"input-otp.es.js","sources":["../../../lib/components/inputs/input-otp.tsx"],"sourcesContent":["import { cn } from \"@/utils\"\nimport { OTPInput, OTPInputContext } from \"input-otp\"\nimport { Minus } from \"lucide-react\"\nimport * as React from \"react\"\n\nexport const InputOTP = React.forwardRef<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n \"flex items-center gap-2 has-disabled:opacity-50\",\n containerClassName\n )}\n className={cn(\"disabled:cursor-not-allowed\", className)}\n {...props}\n />\n))\nInputOTP.displayName = \"InputOTP\"\n\nexport const InputOTPGroup = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex items-center\", className)} {...props} />\n))\nInputOTPGroup.displayName = \"InputOTPGroup\"\n\nexport const InputOTPSlot = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\"> & { index: number }\n>(({ index, className, ...props }, ref) => {\n const inputOTPContext = React.useContext(OTPInputContext)\n const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index]\n\n return (\n <div\n ref={ref}\n className={cn(\n \"relative flex h-input w-9 items-center justify-center border-2 border-input body shadow-xs transition-all\",\n isActive ? \"z-10 border-2 border-primary\" : \"\",\n className,\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\" />\n </div>\n )}\n </div>\n )\n})\nInputOTPSlot.displayName = \"InputOTPSlot\"\n\nexport const InputOTPSeparator = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <Minus />\n </div>\n))\nInputOTPSeparator.displayName = \"InputOTPSeparator\"\n\n\n\n"],"names":["InputOTP","React","className","containerClassName","props","ref","jsx","OTPInput","cn","InputOTPGroup","InputOTPSlot","index","inputOTPContext","OTPInputContext","char","hasFakeCaret","isActive","jsxs","InputOTPSeparator","Minus"],"mappings":";;;;;AAKa,MAAAA,IAAWC,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,oBAAAC,GAAoB,GAAGC,KAASC,MAC9C,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,oBAAoBG;AAAA,MAClB;AAAA,MACAL;AAAA,IACF;AAAA,IACA,WAAWK,EAAG,+BAA+BN,CAAS;AAAA,IACrD,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAS,cAAc;AAEV,MAAAS,IAAgBR,EAAM,WAGjC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAS,GAAAC,wBACzB,OAAI,EAAA,KAAAA,GAAU,WAAWG,EAAG,qBAAqBN,CAAS,GAAI,GAAGE,GAAO,CAC1E;AACDK,EAAc,cAAc;AAEf,MAAAC,IAAeT,EAAM,WAGhC,CAAC,EAAE,OAAAU,GAAO,WAAAT,GAAW,GAAGE,EAAM,GAAGC,MAAQ;AACnC,QAAAO,IAAkBX,EAAM,WAAWY,CAAe,GAClD,EAAE,MAAAC,GAAM,cAAAC,GAAc,UAAAC,EAAa,IAAAJ,EAAgB,MAAMD,CAAK;AAGlE,SAAA,gBAAAM;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAZ;AAAA,MACA,WAAWG;AAAA,QACT;AAAA,QACAQ,IAAW,kCAAkC;AAAA,QAC7Cd;AAAA,MACF;AAAA,MACC,GAAGE;AAAA,MAEH,UAAA;AAAA,QAAAU;AAAA,QACAC,uBACE,OAAI,EAAA,WAAU,yEACb,UAAC,gBAAAT,EAAA,OAAA,EAAI,WAAU,2DAA2D,CAAA,EAC5E,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ;AAEJ,CAAC;AACDI,EAAa,cAAc;AAEpB,MAAMQ,IAAoBjB,EAAM,WAGrC,CAAC,EAAE,GAAGG,KAASC,wBACd,OAAI,EAAA,KAAAA,GAAU,MAAK,aAAa,GAAGD,GAClC,UAAC,gBAAAE,EAAAa,GAAA,CAAM,CAAA,GACT,CACD;AACDD,EAAkB,cAAc;"}
1
+ {"version":3,"file":"input-otp.es.js","sources":["../../../lib/components/inputs/input-otp.tsx"],"sourcesContent":["import { cn } from \"@/utils\";\nimport { OTPInput, OTPInputContext } from \"input-otp\";\nimport { Minus } from \"lucide-react\";\nimport * as React from \"react\";\n\nexport function InputOTP({\n\tclassName,\n\tcontainerClassName,\n\t...props\n}: React.ComponentProps<typeof OTPInput>) {\n\treturn (\n\t\t<OTPInput\n\t\t\tcontainerClassName={cn(\n\t\t\t\t\"flex items-center gap-2 has-disabled:opacity-50\",\n\t\t\t\tcontainerClassName,\n\t\t\t)}\n\t\t\tclassName={cn(\"disabled:cursor-not-allowed\", className)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport function InputOTPGroup({\n\tclassName,\n\t...props\n}: React.ComponentProps<\"div\">) {\n\treturn <div className={cn(\"flex items-center\", className)} {...props} />;\n}\n\nexport function InputOTPSlot({\n\tindex,\n\tclassName,\n\t...props\n}: React.ComponentProps<\"div\"> & { index: number }) {\n\tconst inputOTPContext = React.use(OTPInputContext);\n\tconst { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];\n\n\treturn (\n\t\t<div\n\t\t\tclassName={cn(\n\t\t\t\t\"relative flex h-input w-9 items-center justify-center border-2 border-input body shadow-xs transition-all\",\n\t\t\t\tisActive ? \"z-10 border-2 border-primary\" : \"\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t{char}\n\t\t\t{hasFakeCaret && (\n\t\t\t\t<div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n\t\t\t\t\t<div className=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\" />\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n\nexport function InputOTPSeparator({ ...props }: React.ComponentProps<\"div\">) {\n\treturn (\n\t\t<div role=\"separator\" {...props}>\n\t\t\t<Minus />\n\t\t</div>\n\t);\n}\n"],"names":["InputOTP","className","containerClassName","props","jsx","OTPInput","cn","InputOTPGroup","InputOTPSlot","index","inputOTPContext","React","OTPInputContext","char","hasFakeCaret","isActive","jsxs","InputOTPSeparator","Minus"],"mappings":";;;;;AAKO,SAASA,EAAS;AAAA,EACxB,WAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,GAAGC;AACJ,GAA0C;AAExC,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACA,oBAAoBC;AAAA,QACnB;AAAA,QACAJ;AAAA,MACD;AAAA,MACA,WAAWI,EAAG,+BAA+BL,CAAS;AAAA,MACrD,GAAGE;AAAA,IAAA;AAAA,EACL;AAEF;AAEO,SAASI,EAAc;AAAA,EAC7B,WAAAN;AAAA,EACA,GAAGE;AACJ,GAAgC;AACxB,SAAA,gBAAAC,EAAC,SAAI,WAAWE,EAAG,qBAAqBL,CAAS,GAAI,GAAGE,GAAO;AACvE;AAEO,SAASK,EAAa;AAAA,EAC5B,OAAAC;AAAA,EACA,WAAAR;AAAA,EACA,GAAGE;AACJ,GAAoD;AAC7C,QAAAO,IAAkBC,EAAM,IAAIC,CAAe,GAC3C,EAAE,MAAAC,GAAM,cAAAC,GAAc,UAAAC,EAAa,IAAAL,EAAgB,MAAMD,CAAK;AAGnE,SAAA,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,WAAWV;AAAA,QACV;AAAA,QACAS,IAAW,kCAAkC;AAAA,QAC7Cd;AAAA,MACD;AAAA,MACC,GAAGE;AAAA,MAEH,UAAA;AAAA,QAAAU;AAAA,QACAC,uBACC,OAAI,EAAA,WAAU,yEACd,UAAC,gBAAAV,EAAA,OAAA,EAAI,WAAU,2DAA2D,CAAA,EAC3E,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAEF;AAEF;AAEO,SAASa,EAAkB,EAAE,GAAGd,KAAsC;AAE3E,SAAA,gBAAAC,EAAC,SAAI,MAAK,aAAa,GAAGD,GACzB,UAAA,gBAAAC,EAACc,KAAM,EACR,CAAA;AAEF;"}
@@ -1,34 +1,52 @@
1
- import { jsx as n, jsxs as s } from "react/jsx-runtime";
2
- import { cn as l } from "../../utils/index.es.js";
3
- import { useFieldContext as f } from "../../utils/form-context.es.js";
4
- import o from "react";
5
- import { Button as d } from "../ui/button.es.js";
6
- const m = o.forwardRef(
7
- ({ className: i, type: a, icon: t, buttonProps: e, ...r }, u) => /* @__PURE__ */ s("div", { className: l("relative flex gap-1 items-center", i), children: [
8
- t && /* @__PURE__ */ n(t, { className: "absolute left-2 size-icon text-muted-foreground" }),
9
- /* @__PURE__ */ n(
1
+ import { jsx as i, jsxs as u } from "react/jsx-runtime";
2
+ import { cn as r } from "../../utils/index.es.js";
3
+ import { useFieldContext as o } from "../../utils/form-context.es.js";
4
+ import { Button as m } from "../ui/button.es.js";
5
+ function s({
6
+ className: a,
7
+ type: n,
8
+ icon: e,
9
+ buttonProps: t,
10
+ ...l
11
+ }) {
12
+ return /* @__PURE__ */ u("div", { className: r("relative flex gap-1 items-center", a), children: [
13
+ e && /* @__PURE__ */ i(e, { className: "absolute left-2 size-icon text-muted-foreground" }),
14
+ /* @__PURE__ */ i(
10
15
  "input",
11
16
  {
12
- type: a,
13
- className: l(
17
+ type: n,
18
+ className: r(
14
19
  "h-input input file:border-0 file:bg-transparent grow file:body file:font-medium",
15
- t ? "pl-8" : ""
20
+ e ? "pl-8" : ""
16
21
  ),
17
- ref: u,
18
- ...r
22
+ ...l
19
23
  }
20
24
  ),
21
- e && /* @__PURE__ */ n(d, { ...e, variant: "outline", size: "icon" })
22
- ] })
23
- );
24
- m.displayName = "Input";
25
- const p = o.forwardRef(({ disabled: i, ...a }, t) => {
26
- const e = f();
27
- return /* @__PURE__ */ n(m, { ref: t, disabled: i || e.form.state.isSubmitting, value: e.state.value, id: e.name, name: e.name, onBlur: e.handleBlur, onChange: (r) => e.handleChange(a.type === "number" ? r.target.valueAsNumber : r.target.value), ...a });
28
- });
29
- p.displayName = "TfInput";
25
+ t && /* @__PURE__ */ i(m, { ...t, variant: "outline", size: "icon" })
26
+ ] });
27
+ }
28
+ function g({
29
+ disabled: a,
30
+ ...n
31
+ }) {
32
+ const e = o();
33
+ return /* @__PURE__ */ i(
34
+ s,
35
+ {
36
+ disabled: a || e.form.state.isSubmitting,
37
+ value: e.state.value,
38
+ id: e.name,
39
+ name: e.name,
40
+ onBlur: e.handleBlur,
41
+ onChange: (t) => e.handleChange(
42
+ n.type === "number" ? t.target.valueAsNumber : t.target.value
43
+ ),
44
+ ...n
45
+ }
46
+ );
47
+ }
30
48
  export {
31
- m as Input,
32
- p as TfInput
49
+ s as Input,
50
+ g as TfInput
33
51
  };
34
52
  //# sourceMappingURL=input.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.es.js","sources":["../../../lib/components/inputs/input.tsx"],"sourcesContent":["import { Button, type ButtonProps } from \"@/components/ui\";\nimport { cn } from \"@/utils\";\nimport { useFieldContext } from \"@/utils/form-context\";\nimport type { LucideIcon } from \"lucide-react\";\nimport React from \"react\";\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement> {\n icon?: LucideIcon;\n buttonProps?: ButtonProps\n}\n\nexport const Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, icon: Icon, buttonProps, ...props }, ref) => {\n return (\n <div className={cn(\"relative flex gap-1 items-center\", className)}>\n {Icon && <Icon className=\"absolute left-2 size-icon text-muted-foreground\" />}\n <input\n type={type}\n className={cn(\n \"h-input input file:border-0 file:bg-transparent grow file:body file:font-medium\",\n Icon ? \"pl-8\" : \"\",\n )}\n ref={ref}\n {...props}\n />\n {buttonProps && <Button {...buttonProps} variant={'outline'} size={'icon'} />}\n </div>\n );\n }\n);\nInput.displayName = \"Input\";\n\n\nexport const TfInput = React.forwardRef<React.ElementRef<typeof Input>, Omit<InputProps, 'value' | 'id' | 'name' | 'onBlur' | 'onChange'>>(({ disabled, ...props }, ref) => {\n const field = useFieldContext<string | number>();\n\n return (\n <Input ref={ref} disabled={disabled || field.form.state.isSubmitting} value={field.state.value} id={field.name} name={field.name} onBlur={field.handleBlur} onChange={e => field.handleChange(props.type === 'number' ? e.target.valueAsNumber : e.target.value)} {...props} />\n );\n});\nTfInput.displayName = \"TfInput\";\n"],"names":["Input","React","className","type","Icon","buttonProps","props","ref","cn","jsx","Button","TfInput","disabled","field","useFieldContext","e"],"mappings":";;;;;AAYO,MAAMA,IAAQC,EAAM;AAAA,EACvB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,MAAMC,GAAM,aAAAC,GAAa,GAAGC,EAAM,GAAGC,wBAEhD,OAAI,EAAA,WAAWC,EAAG,oCAAoCN,CAAS,GAC3D,UAAA;AAAA,IAAQE,KAAA,gBAAAK,EAACL,GAAK,EAAA,WAAU,kDAAkD,CAAA;AAAA,IAC3E,gBAAAK;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,MAAAN;AAAA,QACA,WAAWK;AAAA,UACP;AAAA,UACAJ,IAAO,SAAS;AAAA,QACpB;AAAA,QACA,KAAAG;AAAA,QACC,GAAGD;AAAA,MAAA;AAAA,IACR;AAAA,IACCD,uBAAgBK,GAAQ,EAAA,GAAGL,GAAa,SAAS,WAAW,MAAM,OAAQ,CAAA;AAAA,EAAA,GAC/E;AAGZ;AACAL,EAAM,cAAc;AAGP,MAAAW,IAAUV,EAAM,WAA8G,CAAC,EAAE,UAAAW,GAAU,GAAGN,EAAM,GAAGC,MAAQ;AACxK,QAAMM,IAAQC,EAAiC;AAE/C,2BACKd,GAAM,EAAA,KAAAO,GAAU,UAAUK,KAAYC,EAAM,KAAK,MAAM,cAAc,OAAOA,EAAM,MAAM,OAAO,IAAIA,EAAM,MAAM,MAAMA,EAAM,MAAM,QAAQA,EAAM,YAAY,UAAU,CAAKE,MAAAF,EAAM,aAAaP,EAAM,SAAS,WAAWS,EAAE,OAAO,gBAAgBA,EAAE,OAAO,KAAK,GAAI,GAAGT,GAAO;AAErR,CAAC;AACDK,EAAQ,cAAc;"}
1
+ {"version":3,"file":"input.es.js","sources":["../../../lib/components/inputs/input.tsx"],"sourcesContent":["import { Button, type ButtonProps } from \"@/components/ui\";\nimport { cn } from \"@/utils\";\nimport { useFieldContext } from \"@/utils/form-context\";\nimport type { LucideIcon } from \"lucide-react\";\nimport type React from \"react\";\n\nexport type InputProps = React.ComponentProps<\"input\"> & {\n\ticon?: LucideIcon;\n\tbuttonProps?: ButtonProps;\n};\n\nexport function Input({\n\tclassName,\n\ttype,\n\ticon: Icon,\n\tbuttonProps,\n\t...props\n}: InputProps) {\n\treturn (\n\t\t<div className={cn(\"relative flex gap-1 items-center\", className)}>\n\t\t\t{Icon && (\n\t\t\t\t<Icon className=\"absolute left-2 size-icon text-muted-foreground\" />\n\t\t\t)}\n\t\t\t<input\n\t\t\t\ttype={type}\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"h-input input file:border-0 file:bg-transparent grow file:body file:font-medium\",\n\t\t\t\t\tIcon ? \"pl-8\" : \"\",\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t\t{buttonProps && (\n\t\t\t\t<Button {...buttonProps} variant={\"outline\"} size={\"icon\"} />\n\t\t\t)}\n\t\t</div>\n\t);\n};\n\nexport function TfInput({\n\tdisabled,\n\t...props\n}: Omit<InputProps, \"value\" | \"id\" | \"name\" | \"onBlur\" | \"onChange\">) {\n\tconst field = useFieldContext<string | number>();\n\n\treturn (\n\t\t<Input\n\t\t\tdisabled={disabled || field.form.state.isSubmitting}\n\t\t\tvalue={field.state.value}\n\t\t\tid={field.name}\n\t\t\tname={field.name}\n\t\t\tonBlur={field.handleBlur}\n\t\t\tonChange={(e) =>\n\t\t\t\tfield.handleChange(\n\t\t\t\t\tprops.type === \"number\" ? e.target.valueAsNumber : e.target.value,\n\t\t\t\t)\n\t\t\t}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n"],"names":["Input","className","type","Icon","buttonProps","props","cn","jsx","Button","TfInput","disabled","field","useFieldContext","e"],"mappings":";;;;AAWO,SAASA,EAAM;AAAA,EACrB,WAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAMC;AAAA,EACN,aAAAC;AAAA,EACA,GAAGC;AACJ,GAAe;AACd,2BACE,OAAI,EAAA,WAAWC,EAAG,oCAAoCL,CAAS,GAC9D,UAAA;AAAA,IACAE,KAAA,gBAAAI,EAACJ,GAAK,EAAA,WAAU,kDAAkD,CAAA;AAAA,IAEnE,gBAAAI;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,MAAAL;AAAA,QACA,WAAWI;AAAA,UACV;AAAA,UACAH,IAAO,SAAS;AAAA,QACjB;AAAA,QACC,GAAGE;AAAA,MAAA;AAAA,IACL;AAAA,IACCD,uBACCI,GAAQ,EAAA,GAAGJ,GAAa,SAAS,WAAW,MAAM,OAAQ,CAAA;AAAA,EAAA,GAE7D;AAEF;AAEO,SAASK,EAAQ;AAAA,EACvB,UAAAC;AAAA,EACA,GAAGL;AACJ,GAAsE;AACrE,QAAMM,IAAQC,EAAiC;AAG9C,SAAA,gBAAAL;AAAA,IAACP;AAAA,IAAA;AAAA,MACA,UAAUU,KAAYC,EAAM,KAAK,MAAM;AAAA,MACvC,OAAOA,EAAM,MAAM;AAAA,MACnB,IAAIA,EAAM;AAAA,MACV,MAAMA,EAAM;AAAA,MACZ,QAAQA,EAAM;AAAA,MACd,UAAU,CAACE,MACVF,EAAM;AAAA,QACLN,EAAM,SAAS,WAAWQ,EAAE,OAAO,gBAAgBA,EAAE,OAAO;AAAA,MAC7D;AAAA,MAEA,GAAGR;AAAA,IAAA;AAAA,EACL;AAEF;"}
@@ -1,25 +1,29 @@
1
1
  import { jsx as e, Fragment as l } from "react/jsx-runtime";
2
- import { TfSingleSelect as t } from "./select.es.js";
3
- const i = ({ ...o }) => /* @__PURE__ */ e(
4
- t,
5
- {
6
- options: [
7
- {
8
- label: /* @__PURE__ */ e(l, { children: "Node-locked" }),
9
- value: "node-locked"
10
- },
11
- {
12
- label: /* @__PURE__ */ e(l, { children: "Hosted floating" }),
13
- value: "hosted-floating"
14
- },
15
- {
16
- label: /* @__PURE__ */ e(l, { children: "LexFloatServer" }),
17
- value: "on-premise-floating"
18
- }
19
- ],
20
- ...o
21
- }
22
- );
2
+ import { TfSingleSelect as n } from "./select.es.js";
3
+ function i({
4
+ ...o
5
+ }) {
6
+ return /* @__PURE__ */ e(
7
+ n,
8
+ {
9
+ options: [
10
+ {
11
+ label: /* @__PURE__ */ e(l, { children: "Node-locked" }),
12
+ value: "node-locked"
13
+ },
14
+ {
15
+ label: /* @__PURE__ */ e(l, { children: "Hosted floating" }),
16
+ value: "hosted-floating"
17
+ },
18
+ {
19
+ label: /* @__PURE__ */ e(l, { children: "LexFloatServer" }),
20
+ value: "on-premise-floating"
21
+ }
22
+ ],
23
+ ...o
24
+ }
25
+ );
26
+ }
23
27
  export {
24
28
  i as TfLicenseTypeSelect
25
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"license-type-select.es.js","sources":["../../../lib/components/inputs/license-type-select.tsx"],"sourcesContent":["import { TfSingleSelect, type TfSingleSelectProps } from \"@/components/inputs/select\"\n\nexport const TfLicenseTypeSelect = ({ ...props }: Omit<TfSingleSelectProps, 'options'>) => {\n return <TfSingleSelect options={[\n {\n label: <>Node-locked</>,\n value: 'node-locked',\n },\n {\n label: <>Hosted floating</>,\n value: 'hosted-floating',\n },\n {\n label: <>LexFloatServer</>,\n value: 'on-premise-floating',\n }\n ]}\n {...props}\n />\n}"],"names":["TfLicenseTypeSelect","props","jsx","TfSingleSelect"],"mappings":";;AAEO,MAAMA,IAAsB,CAAC,EAAE,GAAGC,QAC9B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IAAe,SAAS;AAAA,MAC5B;AAAA,QACI,8BAAS,UAAW,cAAA,CAAA;AAAA,QACpB,OAAO;AAAA,MACX;AAAA,MACA;AAAA,QACI,8BAAS,UAAe,kBAAA,CAAA;AAAA,QACxB,OAAO;AAAA,MACX;AAAA,MACA;AAAA,QACI,8BAAS,UAAc,iBAAA,CAAA;AAAA,QACvB,OAAO;AAAA,MAAA;AAAA,IAEf;AAAA,IACK,GAAGF;AAAA,EAAA;AACR;"}
1
+ {"version":3,"file":"license-type-select.es.js","sources":["../../../lib/components/inputs/license-type-select.tsx"],"sourcesContent":["import {\n\tTfSingleSelect,\n\ttype TfSingleSelectProps,\n} from \"@/components/inputs/select\";\n\nexport function TfLicenseTypeSelect({\n\t...props\n}: Omit<TfSingleSelectProps, \"options\">) {\n\treturn (\n\t\t<TfSingleSelect\n\t\t\toptions={[\n\t\t\t\t{\n\t\t\t\t\tlabel: <>Node-locked</>,\n\t\t\t\t\tvalue: \"node-locked\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: <>Hosted floating</>,\n\t\t\t\t\tvalue: \"hosted-floating\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: <>LexFloatServer</>,\n\t\t\t\t\tvalue: \"on-premise-floating\",\n\t\t\t\t},\n\t\t\t]}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n"],"names":["TfLicenseTypeSelect","props","jsx","TfSingleSelect"],"mappings":";;AAKO,SAASA,EAAoB;AAAA,EACnC,GAAGC;AACJ,GAAyC;AAEvC,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACA,SAAS;AAAA,QACR;AAAA,UACC,8BAAS,UAAW,cAAA,CAAA;AAAA,UACpB,OAAO;AAAA,QACR;AAAA,QACA;AAAA,UACC,8BAAS,UAAe,kBAAA,CAAA;AAAA,UACxB,OAAO;AAAA,QACR;AAAA,QACA;AAAA,UACC,8BAAS,UAAc,iBAAA,CAAA;AAAA,UACvB,OAAO;AAAA,QAAA;AAAA,MAET;AAAA,MACC,GAAGF;AAAA,IAAA;AAAA,EACL;AAEF;"}