@cryptlex/web-components 2.0.2 → 3.0.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 (305) hide show
  1. package/README.md +3 -7
  2. package/dist/_virtual/index.es.js +5 -0
  3. package/dist/_virtual/index.es.js.map +1 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.es.js +5 -0
  5. package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +1 -0
  6. package/dist/_virtual/use-sync-external-store-shim.production.es.js +5 -0
  7. package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +1 -0
  8. package/dist/components/data-table/column-picker.es.js +34 -73
  9. package/dist/components/data-table/column-picker.es.js.map +1 -1
  10. package/dist/components/data-table/data-table.es.js +106 -159
  11. package/dist/components/data-table/data-table.es.js.map +1 -1
  12. package/dist/components/data-table/page-size.es.js +15 -16
  13. package/dist/components/data-table/page-size.es.js.map +1 -1
  14. package/dist/components/data-table/paginator.es.js +37 -30
  15. package/dist/components/data-table/paginator.es.js.map +1 -1
  16. package/dist/components/data-table/table-actions.es.js +26 -61
  17. package/dist/components/data-table/table-actions.es.js.map +1 -1
  18. package/dist/components/data-table/table-commons.es.js +17 -17
  19. package/dist/components/data-table/table-commons.es.js.map +1 -1
  20. package/dist/components/data-table/table-content.es.js +42 -43
  21. package/dist/components/data-table/table-content.es.js.map +1 -1
  22. package/dist/components/data-table/table-utils/createTableFetchFn.es.js +10 -11
  23. package/dist/components/data-table/table-utils/createTableFetchFn.es.js.map +1 -1
  24. package/dist/components/data-table/table-utils/types.es.js.map +1 -1
  25. package/dist/components/{ui → inputs}/calendar.es.js +10 -10
  26. package/dist/components/inputs/calendar.es.js.map +1 -0
  27. package/dist/components/inputs/checkbox.es.js +27 -0
  28. package/dist/components/inputs/checkbox.es.js.map +1 -0
  29. package/dist/components/inputs/country-select.es.js +280 -0
  30. package/dist/components/inputs/country-select.es.js.map +1 -0
  31. package/dist/components/inputs/form-field.es.js +25 -0
  32. package/dist/components/inputs/form-field.es.js.map +1 -0
  33. package/dist/components/inputs/input-otp.es.js +49 -0
  34. package/dist/components/inputs/input-otp.es.js.map +1 -0
  35. package/dist/components/inputs/input.es.js +34 -0
  36. package/dist/components/inputs/input.es.js.map +1 -0
  37. package/dist/components/inputs/license-type-select.es.js +26 -0
  38. package/dist/components/inputs/license-type-select.es.js.map +1 -0
  39. package/dist/components/inputs/multi-select.es.js +57 -0
  40. package/dist/components/inputs/multi-select.es.js.map +1 -0
  41. package/dist/components/inputs/password-input.es.js +19 -0
  42. package/dist/components/inputs/password-input.es.js.map +1 -0
  43. package/dist/components/inputs/radio-group.es.js +32 -0
  44. package/dist/components/inputs/radio-group.es.js.map +1 -0
  45. package/dist/components/{ui → inputs}/search-input.es.js +7 -7
  46. package/dist/components/inputs/search-input.es.js.map +1 -0
  47. package/dist/components/inputs/select.es.js +29 -0
  48. package/dist/components/inputs/select.es.js.map +1 -0
  49. package/dist/components/inputs/textarea.es.js +35 -0
  50. package/dist/components/inputs/textarea.es.js.map +1 -0
  51. package/dist/components/key-value-card/key-value-card.es.js +32 -64
  52. package/dist/components/key-value-card/key-value-card.es.js.map +1 -1
  53. package/dist/components/sidebar/app-layout.es.js +33 -67
  54. package/dist/components/sidebar/app-layout.es.js.map +1 -1
  55. package/dist/components/sidebar/sidebar.es.js +4 -5
  56. package/dist/components/sidebar/sidebar.es.js.map +1 -1
  57. package/dist/components/ui/accordion.es.js +29 -29
  58. package/dist/components/ui/accordion.es.js.map +1 -1
  59. package/dist/components/ui/avatar.es.js +23 -23
  60. package/dist/components/ui/avatar.es.js.map +1 -1
  61. package/dist/components/ui/badge.es.js +4 -4
  62. package/dist/components/ui/badge.es.js.map +1 -1
  63. package/dist/components/ui/breadcrumb.es.js +8 -8
  64. package/dist/components/ui/breadcrumb.es.js.map +1 -1
  65. package/dist/components/ui/button.es.js +30 -28
  66. package/dist/components/ui/button.es.js.map +1 -1
  67. package/dist/components/ui/card.es.js +7 -7
  68. package/dist/components/ui/card.es.js.map +1 -1
  69. package/dist/components/ui/chart.es.js +24 -24
  70. package/dist/components/ui/chart.es.js.map +1 -1
  71. package/dist/components/ui/collapsible.es.js +5 -5
  72. package/dist/components/ui/collapsible.es.js.map +1 -1
  73. package/dist/components/ui/copy-button.es.js +18 -47
  74. package/dist/components/ui/copy-button.es.js.map +1 -1
  75. package/dist/components/ui/dialog.es.js +65 -65
  76. package/dist/components/ui/dialog.es.js.map +1 -1
  77. package/dist/components/ui/drawer.es.js +7 -7
  78. package/dist/components/ui/drawer.es.js.map +1 -1
  79. package/dist/components/ui/dropdown-menu.es.js +67 -92
  80. package/dist/components/ui/dropdown-menu.es.js.map +1 -1
  81. package/dist/components/ui/label.es.js +10 -13
  82. package/dist/components/ui/label.es.js.map +1 -1
  83. package/dist/components/ui/loader.es.js +6 -6
  84. package/dist/components/ui/loader.es.js.map +1 -1
  85. package/dist/components/ui/navigation-menu.es.js +75 -75
  86. package/dist/components/ui/navigation-menu.es.js.map +1 -1
  87. package/dist/components/ui/pagination.es.js +26 -26
  88. package/dist/components/ui/pagination.es.js.map +1 -1
  89. package/dist/components/ui/popover.es.js +15 -14
  90. package/dist/components/ui/popover.es.js.map +1 -1
  91. package/dist/components/ui/separator.es.js +11 -11
  92. package/dist/components/ui/separator.es.js.map +1 -1
  93. package/dist/components/ui/sheet.es.js +50 -50
  94. package/dist/components/ui/sheet.es.js.map +1 -1
  95. package/dist/components/ui/sidebar.es.js +105 -120
  96. package/dist/components/ui/sidebar.es.js.map +1 -1
  97. package/dist/components/ui/skeleton.es.js +3 -3
  98. package/dist/components/ui/skeleton.es.js.map +1 -1
  99. package/dist/components/{static-data-table → ui}/static-data-table.es.js +2 -2
  100. package/dist/components/ui/static-data-table.es.js.map +1 -0
  101. package/dist/components/ui/table.es.js +29 -33
  102. package/dist/components/ui/table.es.js.map +1 -1
  103. package/dist/components/ui/tabs.es.js +31 -31
  104. package/dist/components/ui/tabs.es.js.map +1 -1
  105. package/dist/components/ui/tooltip.es.js +13 -13
  106. package/dist/components/ui/tooltip.es.js.map +1 -1
  107. package/dist/index.es.d.ts +135 -188
  108. package/dist/index.es.js +253 -271
  109. package/dist/index.es.js.map +1 -1
  110. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +530 -0
  111. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -0
  112. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +400 -0
  113. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -0
  114. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js +208 -0
  115. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js.map +1 -0
  116. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +132 -0
  117. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -0
  118. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +130 -0
  119. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -0
  120. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.es.js +10 -0
  121. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  122. 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 +242 -0
  123. 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 +1 -0
  124. 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 +25 -0
  125. 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 +1 -0
  126. 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 +78 -0
  127. 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 +1 -0
  128. 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 +122 -0
  129. 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 +1 -0
  130. 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 +50 -0
  131. 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 +1 -0
  132. 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 +30 -0
  133. 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 +1 -0
  134. 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 +71 -0
  135. 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 +1 -0
  136. 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 +264 -0
  137. 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 +1 -0
  138. 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 +11 -0
  139. 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 +1 -0
  140. 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/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +129 -0
  141. 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/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  142. 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 +229 -0
  143. 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 +1 -0
  144. 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 +19 -0
  145. 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 +1 -0
  146. 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 +139 -0
  147. 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 +1 -0
  148. 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 +14 -0
  149. 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 +1 -0
  150. 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 +22 -0
  151. 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 +1 -0
  152. 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 +654 -0
  153. 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 +1 -0
  154. 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 +610 -0
  155. 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 +1 -0
  156. 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 +246 -0
  157. 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 +1 -0
  158. 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 +222 -0
  159. 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 +1 -0
  160. 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 +18 -0
  161. 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 +1 -0
  162. 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 +73 -0
  163. 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 +1 -0
  164. 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 +37 -0
  165. 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 +1 -0
  166. 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 +241 -0
  167. 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 +1 -0
  168. 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/node_modules/@radix-ui/react-roving-focus/dist/index.es.js +185 -0
  169. 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/node_modules/@radix-ui/react-roving-focus/dist/index.es.js.map +1 -0
  170. 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 +25 -0
  171. 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 +1 -0
  172. 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 +61 -0
  173. 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 +1 -0
  174. 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 +166 -0
  175. 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 +1 -0
  176. 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 +341 -0
  177. 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 +1 -0
  178. 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 +14 -0
  179. 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 +1 -0
  180. 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 +55 -0
  181. 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 +1 -0
  182. 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 +15 -0
  183. 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 +1 -0
  184. 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 +16 -0
  185. 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 +1 -0
  186. 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 +7 -0
  187. 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 +1 -0
  188. 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 +9 -0
  189. 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 +1 -0
  190. 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 +28 -0
  191. 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 +1 -0
  192. 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 +33 -0
  193. 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 +1 -0
  194. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js +53 -0
  195. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.es.js.map +1 -0
  196. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.es.js +10 -0
  197. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.es.js.map +1 -0
  198. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.es.js +19 -0
  199. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.es.js.map +1 -0
  200. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchFn.es.js +32 -0
  201. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchFn.es.js.map +1 -0
  202. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.es.js +16 -0
  203. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.es.js.map +1 -0
  204. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.es.js +71 -0
  205. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.es.js.map +1 -0
  206. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatLong.es.js +34 -0
  207. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatLong.es.js.map +1 -0
  208. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.es.js +12 -0
  209. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.es.js.map +1 -0
  210. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/localize.es.js +156 -0
  211. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/localize.es.js.map +1 -0
  212. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/match.es.js +111 -0
  213. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/match.es.js.map +1 -0
  214. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.es.js +22 -0
  215. package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.es.js.map +1 -0
  216. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js +8 -0
  217. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.es.js.map +1 -0
  218. 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 +1012 -0
  219. 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 +1 -0
  220. 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 +72 -0
  221. 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 +1 -0
  222. 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 +8 -0
  223. 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 +1 -0
  224. 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 +26 -0
  225. 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 +1 -0
  226. 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 +12 -0
  227. 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 +1 -0
  228. 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 +113 -0
  229. 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 +1 -0
  230. 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 +32 -0
  231. 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 +1 -0
  232. 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 +17 -0
  233. 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 +1 -0
  234. 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 +65 -0
  235. 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 +1 -0
  236. 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 +6 -0
  237. 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 +1 -0
  238. 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 +8 -0
  239. 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 +1 -0
  240. 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 +12 -0
  241. 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 +1 -0
  242. 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 +16 -0
  243. 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 +1 -0
  244. 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 +31 -0
  245. 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 +1 -0
  246. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js +28 -0
  247. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.es.js.map +1 -0
  248. 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 +7 -0
  249. 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 +1 -0
  250. 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 +27 -0
  251. 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 +1 -0
  252. 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 +26 -0
  253. 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 +1 -0
  254. 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 +19 -0
  255. 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 +1 -0
  256. 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 +68 -0
  257. 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 +1 -0
  258. 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 +68 -0
  259. 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 +1 -0
  260. 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 +56 -0
  261. 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 +1 -0
  262. 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 +9 -0
  263. 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 +1 -0
  264. package/dist/utils/form-context.es.js +8 -0
  265. package/dist/utils/form-context.es.js.map +1 -0
  266. package/dist/utils/form-hook.es.js +28 -0
  267. package/dist/utils/form-hook.es.js.map +1 -0
  268. package/dist/utils/index.es.js.map +1 -1
  269. package/lib/base.css +0 -4
  270. package/lib/theme.css +5 -1
  271. package/lib/utilities.css +42 -19
  272. package/package.json +35 -39
  273. package/dist/components/data-table/table-filter.es.js +0 -261
  274. package/dist/components/data-table/table-filter.es.js.map +0 -1
  275. package/dist/components/data-table/table-utils/link-display.es.js +0 -21
  276. package/dist/components/data-table/table-utils/link-display.es.js.map +0 -1
  277. package/dist/components/sidebar/breadcrumb.es.js +0 -58
  278. package/dist/components/sidebar/breadcrumb.es.js.map +0 -1
  279. package/dist/components/sidebar/nav-main.es.js +0 -90
  280. package/dist/components/sidebar/nav-main.es.js.map +0 -1
  281. package/dist/components/static-data-table/static-data-table.es.js.map +0 -1
  282. package/dist/components/ui/calendar.es.js.map +0 -1
  283. package/dist/components/ui/checkbox.es.js +0 -22
  284. package/dist/components/ui/checkbox.es.js.map +0 -1
  285. package/dist/components/ui/command.es.js +0 -110
  286. package/dist/components/ui/command.es.js.map +0 -1
  287. package/dist/components/ui/form.es.js +0 -94
  288. package/dist/components/ui/form.es.js.map +0 -1
  289. package/dist/components/ui/input-otp.es.js +0 -49
  290. package/dist/components/ui/input-otp.es.js.map +0 -1
  291. package/dist/components/ui/input.es.js +0 -27
  292. package/dist/components/ui/input.es.js.map +0 -1
  293. package/dist/components/ui/link-button.es.js +0 -22
  294. package/dist/components/ui/link-button.es.js.map +0 -1
  295. package/dist/components/ui/mutli-select.es.js +0 -198
  296. package/dist/components/ui/mutli-select.es.js.map +0 -1
  297. package/dist/components/ui/password-input.es.js +0 -19
  298. package/dist/components/ui/password-input.es.js.map +0 -1
  299. package/dist/components/ui/radio-group.es.js +0 -32
  300. package/dist/components/ui/radio-group.es.js.map +0 -1
  301. package/dist/components/ui/search-input.es.js.map +0 -1
  302. package/dist/components/ui/select.es.js +0 -99
  303. package/dist/components/ui/select.es.js.map +0 -1
  304. package/dist/components/ui/textarea.es.js +0 -19
  305. package/dist/components/ui/textarea.es.js.map +0 -1
@@ -0,0 +1,68 @@
1
+ import { __assign as d } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.es.js";
2
+ function l(r) {
3
+ return r;
4
+ }
5
+ function h(r, t) {
6
+ t === void 0 && (t = l);
7
+ var e = [], o = !1, c = {
8
+ read: function() {
9
+ if (o)
10
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
+ return e.length ? e[e.length - 1] : r;
12
+ },
13
+ useMedium: function(u) {
14
+ var n = t(u, o);
15
+ return e.push(n), function() {
16
+ e = e.filter(function(i) {
17
+ return i !== n;
18
+ });
19
+ };
20
+ },
21
+ assignSyncMedium: function(u) {
22
+ for (o = !0; e.length; ) {
23
+ var n = e;
24
+ e = [], n.forEach(u);
25
+ }
26
+ e = {
27
+ push: function(i) {
28
+ return u(i);
29
+ },
30
+ filter: function() {
31
+ return e;
32
+ }
33
+ };
34
+ },
35
+ assignMedium: function(u) {
36
+ o = !0;
37
+ var n = [];
38
+ if (e.length) {
39
+ var i = e;
40
+ e = [], i.forEach(u), n = e;
41
+ }
42
+ var s = function() {
43
+ var f = n;
44
+ n = [], f.forEach(u);
45
+ }, a = function() {
46
+ return Promise.resolve().then(s);
47
+ };
48
+ a(), e = {
49
+ push: function(f) {
50
+ n.push(f), a();
51
+ },
52
+ filter: function(f) {
53
+ return n = n.filter(f), e;
54
+ }
55
+ };
56
+ }
57
+ };
58
+ return c;
59
+ }
60
+ function v(r) {
61
+ r === void 0 && (r = {});
62
+ var t = h(null);
63
+ return t.options = d({ async: !0, ssr: !1 }, r), t;
64
+ }
65
+ export {
66
+ v as createSidecarMedium
67
+ };
68
+ //# sourceMappingURL=medium.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"medium.es.js","sources":["../../../../../../../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.21_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAE,GACXC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACV;AAAA,IACD,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,SAAO;AAAA,MAC7D;AAAA,IACJ;AAAA,IACD,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAE,GACXO,EAAI,QAAQD,CAAE;AAAA,MAC9B;AACY,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAI;AAAA,QACpC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAS;AAAA,MACzC;AAAA,IACJ;AAAA,IACD,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAE;AACrB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAE,GACXO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MAC/B;AACY,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAE,GACjBD,EAAI,QAAQD,CAAE;AAAA,MACjB,GACGI,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAI;AACxE,MAAAC,EAAO,GACPV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAO;AAAA,QACV;AAAA,QACD,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACV;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACD,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAO,GAAED,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
@@ -0,0 +1,68 @@
1
+ import { __exports as s } from "../../../../../../_virtual/use-sync-external-store-shim.development.es.js";
2
+ import h from "react";
3
+ /**
4
+ * @license React
5
+ * use-sync-external-store-shim.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var l;
13
+ function A() {
14
+ return l ? s : (l = 1, process.env.NODE_ENV !== "production" && function() {
15
+ function d(e, t) {
16
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
17
+ }
18
+ function S(e, t) {
19
+ f || o.startTransition === void 0 || (f = !0, console.error(
20
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
21
+ ));
22
+ var r = t();
23
+ if (!c) {
24
+ var u = t();
25
+ _(r, u) || (console.error(
26
+ "The result of getSnapshot should be cached to avoid an infinite loop"
27
+ ), c = !0);
28
+ }
29
+ u = p({
30
+ inst: { value: r, getSnapshot: t }
31
+ });
32
+ var n = u[0].inst, i = u[1];
33
+ return L(
34
+ function() {
35
+ n.value = r, n.getSnapshot = t, a(n) && i({ inst: n });
36
+ },
37
+ [e, r, t]
38
+ ), E(
39
+ function() {
40
+ return a(n) && i({ inst: n }), e(function() {
41
+ a(n) && i({ inst: n });
42
+ });
43
+ },
44
+ [e]
45
+ ), y(r), r;
46
+ }
47
+ function a(e) {
48
+ var t = e.getSnapshot;
49
+ e = e.value;
50
+ try {
51
+ var r = t();
52
+ return !_(e, r);
53
+ } catch {
54
+ return !0;
55
+ }
56
+ }
57
+ function O(e, t) {
58
+ return t();
59
+ }
60
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
61
+ var o = h, _ = typeof Object.is == "function" ? Object.is : d, p = o.useState, E = o.useEffect, L = o.useLayoutEffect, y = o.useDebugValue, f = !1, c = !1, v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? O : S;
62
+ s.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : v, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
63
+ }(), s);
64
+ }
65
+ export {
66
+ A as __require
67
+ };
68
+ //# sourceMappingURL=use-sync-external-store-shim.development.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sync-external-store-shim.development.es.js","sources":["../../../../../../../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.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["is","x","y","useSyncExternalStore$2","subscribe","getSnapshot","didWarnOld18Alpha","React","value","didWarnUncachedGetSnapshot","cachedValue","objectIs","useState","inst","forceUpdate","useLayoutEffect","checkIfSnapshotChanged","useEffect","useDebugValue","latestGetSnapshot","nextValue","useSyncExternalStore$1","require$$0","shim","useSyncExternalStoreShim_development"],"mappings":";;;;;;;;;;;;;yBAWiB,QAAQ,IAAI,aAA7B,gBACG,WAAY;AACX,aAASA,EAAGC,GAAGC,GAAG;AAChB,aAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA;AAExE,aAASC,EAAuBC,GAAWC,GAAa;AACtD,MAAAC,KACaC,EAAM,oBAAjB,WACED,IAAoB,IACtB,QAAQ;AAAA,QACN;AAAA,MACV;AACM,UAAIE,IAAQH,EAAa;AACzB,UAAI,CAACI,GAA4B;AAC/B,YAAIC,IAAcL,EAAa;AAC/B,QAAAM,EAASH,GAAOE,CAAW,MACxB,QAAQ;AAAA,UACP;AAAA,QACD,GACAD,IAA6B;AAAA;AAElC,MAAAC,IAAcE,EAAS;AAAA,QACrB,MAAM,EAAE,OAAOJ,GAAO,aAAaH,EAAW;AAAA,MACtD,CAAO;AACD,UAAIQ,IAAOH,EAAY,CAAC,EAAE,MACxBI,IAAcJ,EAAY,CAAC;AAC7B,aAAAK;AAAA,QACE,WAAY;AACV,UAAAF,EAAK,QAAQL,GACbK,EAAK,cAAcR,GACnBW,EAAuBH,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE;AAAA,QAC3D;AAAA,QACD,CAACT,GAAWI,GAAOH,CAAW;AAAA,MAC/B,GACDY;AAAA,QACE,WAAY;AACV,iBAAAD,EAAuBH,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE,GACnDT,EAAU,WAAY;AAC3B,YAAAY,EAAuBH,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE;AAAA,UACtE,CAAW;AAAA,QACF;AAAA,QACD,CAACT,CAAS;AAAA,MACX,GACDc,EAAcV,CAAK,GACZA;AAAA;AAET,aAASQ,EAAuBH,GAAM;AACpC,UAAIM,IAAoBN,EAAK;AAC7B,MAAAA,IAAOA,EAAK;AACZ,UAAI;AACF,YAAIO,IAAYD,EAAmB;AACnC,eAAO,CAACR,EAASE,GAAMO,CAAS;AAAA,MACjC,QAAe;AACd,eAAO;AAAA;;AAGX,aAASC,EAAuBjB,GAAWC,GAAa;AACtD,aAAOA,EAAa;AAAA;AAEtB,IAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,OAAO;AACpE,QAAIE,IAAQe,GACVX,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKX,GACzDY,IAAWL,EAAM,UACjBU,IAAYV,EAAM,WAClBQ,IAAkBR,EAAM,iBACxBW,IAAgBX,EAAM,eACtBD,IAAoB,IACpBG,IAA6B,IAC7Bc,IACkB,OAAO,SAAvB,OACgB,OAAO,OAAO,WAA9B,OACgB,OAAO,OAAO,SAAS,gBAAvC,MACIF,IACAlB;AACR,IAAAqB,EAA4B,uBACfjB,EAAM,yBAAjB,SAAwCA,EAAM,uBAAuBgB,GACvD,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,EAAM;;","x_google_ignoreList":[0]}
@@ -0,0 +1,56 @@
1
+ import { __exports as i } from "../../../../../../_virtual/use-sync-external-store-shim.production.es.js";
2
+ import h from "react";
3
+ /**
4
+ * @license React
5
+ * use-sync-external-store-shim.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var f;
13
+ function x() {
14
+ if (f) return i;
15
+ f = 1;
16
+ var u = h;
17
+ function s(e, t) {
18
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
19
+ }
20
+ var S = typeof Object.is == "function" ? Object.is : s, d = u.useState, l = u.useEffect, p = u.useLayoutEffect, E = u.useDebugValue;
21
+ function v(e, t) {
22
+ var r = t(), a = d({ inst: { value: r, getSnapshot: t } }), n = a[0].inst, c = a[1];
23
+ return p(
24
+ function() {
25
+ n.value = r, n.getSnapshot = t, o(n) && c({ inst: n });
26
+ },
27
+ [e, r, t]
28
+ ), l(
29
+ function() {
30
+ return o(n) && c({ inst: n }), e(function() {
31
+ o(n) && c({ inst: n });
32
+ });
33
+ },
34
+ [e]
35
+ ), E(r), r;
36
+ }
37
+ function o(e) {
38
+ var t = e.getSnapshot;
39
+ e = e.value;
40
+ try {
41
+ var r = t();
42
+ return !S(e, r);
43
+ } catch {
44
+ return !0;
45
+ }
46
+ }
47
+ function y(e, t) {
48
+ return t();
49
+ }
50
+ var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : v;
51
+ return i.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : m, i;
52
+ }
53
+ export {
54
+ x as __require
55
+ };
56
+ //# sourceMappingURL=use-sync-external-store-shim.production.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sync-external-store-shim.production.es.js","sources":["../../../../../../../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.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"names":["React","require$$0","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","subscribe","getSnapshot","value","_useState","inst","forceUpdate","checkIfSnapshotChanged","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim","useSyncExternalStoreShim_production"],"mappings":";;;;;;;;;;;;;;;AAWA,MAAIA,IAAQC;AACZ,WAASC,EAAGC,GAAGC,GAAG;AAChB,WAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA;AAExE,MAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAWN,EAAM,UACjBO,IAAYP,EAAM,WAClBQ,IAAkBR,EAAM,iBACxBS,IAAgBT,EAAM;AACxB,WAASU,EAAuBC,GAAWC,GAAa;AACtD,QAAIC,IAAQD,EAAa,GACvBE,IAAYR,EAAS,EAAE,MAAM,EAAE,OAAOO,GAAO,aAAaD,EAAW,GAAI,GACzEG,IAAOD,EAAU,CAAC,EAAE,MACpBE,IAAcF,EAAU,CAAC;AAC3B,WAAAN;AAAA,MACE,WAAY;AACV,QAAAO,EAAK,QAAQF,GACbE,EAAK,cAAcH,GACnBK,EAAuBF,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE;AAAA,MAC3D;AAAA,MACD,CAACJ,GAAWE,GAAOD,CAAW;AAAA,IAC/B,GACDL;AAAA,MACE,WAAY;AACV,eAAAU,EAAuBF,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE,GACnDJ,EAAU,WAAY;AAC3B,UAAAM,EAAuBF,CAAI,KAAKC,EAAY,EAAE,MAAMD,EAAI,CAAE;AAAA,QAClE,CAAO;AAAA,MACF;AAAA,MACD,CAACJ,CAAS;AAAA,IACX,GACDF,EAAcI,CAAK,GACZA;AAAA;AAET,WAASI,EAAuBF,GAAM;AACpC,QAAIG,IAAoBH,EAAK;AAC7B,IAAAA,IAAOA,EAAK;AACZ,QAAI;AACF,UAAII,IAAYD,EAAmB;AACnC,aAAO,CAACb,EAASU,GAAMI,CAAS;AAAA,IACjC,QAAe;AACd,aAAO;AAAA;;AAGX,WAASC,EAAuBT,GAAWC,GAAa;AACtD,WAAOA,EAAa;AAAA;AAEtB,MAAIS,IACc,OAAO,SAAvB,OACgB,OAAO,OAAO,WAA9B,OACgB,OAAO,OAAO,SAAS,gBAAvC,MACID,IACAV;AACsB,SAAAY,EAAA,uBACftB,EAAM,yBAAjB,SAAwCA,EAAM,uBAAuBqB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { __module as r } from "../../../../../../_virtual/index.es.js";
2
+ import { __require as e } from "../cjs/use-sync-external-store-shim.production.es.js";
3
+ import { __require as o } from "../cjs/use-sync-external-store-shim.development.es.js";
4
+ process.env.NODE_ENV === "production" ? r.exports = e() : r.exports = o();
5
+ var m = r.exports;
6
+ export {
7
+ m as s
8
+ };
9
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../../node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["shimModule","require$$0","require$$1"],"mappings":";;;AAEI,QAAQ,IAAI,aAAa,eAC3BA,EAAA,UAAiBC,EAA4D,IAE7ED,EAAA,UAAiBE,EAA6D;;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ import { createFormHookContexts as o } from "@tanstack/react-form";
2
+ const { fieldContext: e, formContext: r, useFieldContext: n } = o();
3
+ export {
4
+ e as fieldContext,
5
+ r as formContext,
6
+ n as useFieldContext
7
+ };
8
+ //# sourceMappingURL=form-context.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-context.es.js","sources":["../../lib/utils/form-context.tsx"],"sourcesContent":["import { createFormHookContexts } from \"@tanstack/react-form\";\n\n/**\n * useFieldContext is used in custom components\n */\nexport const { fieldContext, formContext, useFieldContext } = createFormHookContexts();\n\n\n"],"names":["fieldContext","formContext","useFieldContext","createFormHookContexts"],"mappings":";AAKO,MAAM,EAAE,cAAAA,GAAc,aAAAC,GAAa,iBAAAC,EAAA,IAAoBC,EAAuB;"}
@@ -0,0 +1,28 @@
1
+ import { formContext as o, fieldContext as t } from "./form-context.es.js";
2
+ import { createFormHook as r } from "@tanstack/react-form";
3
+ import { TfTextarea as m } from "../components/inputs/textarea.es.js";
4
+ import { TfMultiSelect as e } from "../components/inputs/multi-select.es.js";
5
+ import { TfCheckbox as f } from "../components/inputs/checkbox.es.js";
6
+ import { TfLicenseTypeSelect as p } from "../components/inputs/license-type-select.es.js";
7
+ import { TfCountrySelect as i } from "../components/inputs/country-select.es.js";
8
+ import { TfInput as n } from "../components/inputs/input.es.js";
9
+ import { Button as T } from "../components/ui/button.es.js";
10
+ const { useAppForm: k } = r({
11
+ fieldComponents: {
12
+ TfInput: n,
13
+ TfCountrySelect: i,
14
+ TfLicenseTypeSelect: p,
15
+ TfCheckbox: f,
16
+ TfMultiSelect: e,
17
+ TfTextarea: m
18
+ },
19
+ formComponents: {
20
+ Button: T
21
+ },
22
+ fieldContext: t,
23
+ formContext: o
24
+ });
25
+ export {
26
+ k as useAppForm
27
+ };
28
+ //# sourceMappingURL=form-hook.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-hook.es.js","sources":["../../lib/utils/form-hook.tsx"],"sourcesContent":["import { TfCheckbox, TfCountrySelect, TfInput, TfLicenseTypeSelect, TfMultiSelect, TfTextarea } from \"@/components/inputs\";\nimport { Button } from \"@/components/ui\";\nimport { fieldContext, formContext } from \"@/utils/form-context\";\nimport { createFormHook } from \"@tanstack/react-form\";\n\n/** Don't put this in the same file as form-context.tsx, this causes circular dependencies. */\n\n/** TODO, lazy loading when fieldComponents are large */\n/**\n * Builder for form logic and user interfaces\n */\nexport const { useAppForm } = createFormHook({\n fieldComponents: {\n TfInput,\n TfCountrySelect,\n TfLicenseTypeSelect,\n TfCheckbox,\n TfMultiSelect,\n TfTextarea\n },\n formComponents: {\n Button,\n },\n fieldContext,\n formContext,\n})"],"names":["useAppForm","createFormHook","TfInput","TfCountrySelect","TfLicenseTypeSelect","TfCheckbox","TfMultiSelect","TfTextarea","Button","fieldContext","formContext"],"mappings":";;;;;;;;;AAWa,MAAA,EAAE,YAAAA,EAAW,IAAIC,EAAe;AAAA,EACzC,iBAAiB;AAAA,IACb,SAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,YAAAC;AAAA,EACJ;AAAA,EACA,gBAAgB;AAAA,IACZ,QAAAC;AAAA,EACJ;AAAA,EACA,cAAAC;AAAA,EACA,aAAAC;AACJ,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\n\nexport function cn(...inputs: ClassValue[]) {\n return clsx(inputs);\n}\n\n/**\n * This is the variable name representing the primary hue.\n * Referenced in tokens.scss -> token.css\n */\nconst PRIMARY_HUE_PROPERTY = '--primary-hue';\n\n/**\n *\n * @returns\n */\nexport function getThemeHue() {\n return document.documentElement.style.getPropertyValue(PRIMARY_HUE_PROPERTY);\n}\n\n/**\n * @param hue the hue value to set in the document style\n */\nexport function setThemeHue(hue: number) {\n document.documentElement.style.setProperty(\n PRIMARY_HUE_PROPERTY,\n // In this case, it must be a number.\n hue as unknown as string,\n );\n}\n\nconst ACCESS_TOKEN = 'AT';\nconst REFRESH_TOKEN = 'RT';\nexport function logout() {\n if (typeof window !== 'undefined' && window.localStorage) {\n try {\n localStorage.removeItem(REFRESH_TOKEN);\n localStorage.removeItem(ACCESS_TOKEN);\n window.location.replace('/auth/login');\n } catch (error) {\n console.error('Logout failed:', error);\n }\n }\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue","ACCESS_TOKEN","REFRESH_TOKEN","logout","error"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAKD,CAAM;AACpB;AAMA,MAAME,IAAuB;AAMtB,SAASC,IAAc;AAC5B,SAAO,SAAS,gBAAgB,MAAM,iBAAiBD,CAAoB;AAC7E;AAKO,SAASE,EAAYC,GAAa;AACvC,WAAS,gBAAgB,MAAM;AAAA,IAC7BH;AAAA;AAAA,IAEAG;AAAA,EACF;AACF;AAEA,MAAMC,IAAe,MACfC,IAAgB;AACf,SAASC,IAAS;AACvB,MAAI,OAAO,SAAW,OAAe,OAAO;AACtC,QAAA;AACF,mBAAa,WAAWD,CAAa,GACrC,aAAa,WAAWD,CAAY,GAC7B,OAAA,SAAS,QAAQ,aAAa;AAAA,aAC9BG,GAAO;AACN,cAAA,MAAM,kBAAkBA,CAAK;AAAA,IAAA;AAG3C;"}
1
+ {"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\n\n/** Classnames */\nexport function cn(...inputs: ClassValue[]) {\n return clsx(inputs);\n}\n\n/**\n * This is the variable name representing the primary hue.\n * Referenced in tokens.scss -> token.css\n */\nconst PRIMARY_HUE_PROPERTY = '--primary-hue';\n\n/**\n *\n * @returns\n */\nexport function getThemeHue() {\n return document.documentElement.style.getPropertyValue(PRIMARY_HUE_PROPERTY);\n}\n\n/**\n * @param hue the hue value to set in the document style\n */\nexport function setThemeHue(hue: number) {\n document.documentElement.style.setProperty(\n PRIMARY_HUE_PROPERTY,\n // In this case, it must be a number.\n hue as unknown as string,\n );\n}\n\nconst ACCESS_TOKEN = 'AT';\nconst REFRESH_TOKEN = 'RT';\nexport function logout() {\n if (typeof window !== 'undefined' && window.localStorage) {\n try {\n localStorage.removeItem(REFRESH_TOKEN);\n localStorage.removeItem(ACCESS_TOKEN);\n window.location.replace('/auth/login');\n } catch (error) {\n console.error('Logout failed:', error);\n }\n }\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue","ACCESS_TOKEN","REFRESH_TOKEN","logout","error"],"mappings":";AAGO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAKD,CAAM;AACpB;AAMA,MAAME,IAAuB;AAMtB,SAASC,IAAc;AAC5B,SAAO,SAAS,gBAAgB,MAAM,iBAAiBD,CAAoB;AAC7E;AAKO,SAASE,EAAYC,GAAa;AACvC,WAAS,gBAAgB,MAAM;AAAA,IAC7BH;AAAA;AAAA,IAEAG;AAAA,EACF;AACF;AAEA,MAAMC,IAAe,MACfC,IAAgB;AACf,SAASC,IAAS;AACvB,MAAI,OAAO,SAAW,OAAe,OAAO;AACtC,QAAA;AACF,mBAAa,WAAWD,CAAa,GACrC,aAAa,WAAWD,CAAY,GAC7B,OAAA,SAAS,QAAQ,aAAa;AAAA,aAC9BG,GAAO;AACN,cAAA,MAAM,kBAAkBA,CAAK;AAAA,IAAA;AAG3C;"}
package/lib/base.css CHANGED
@@ -27,10 +27,6 @@
27
27
  @apply h5;
28
28
  }
29
29
 
30
- h6 {
31
- @apply h6;
32
- }
33
-
34
30
  body {
35
31
  @apply bg-background text-foreground;
36
32
  }
package/lib/theme.css CHANGED
@@ -88,7 +88,7 @@
88
88
  --color-card: var(--color-neutral-1);
89
89
  --color-card-foreground: var(--color-foreground);
90
90
  /* Assuming popovers only show up over cards ??? */
91
- --color-popover: var(--color-background);
91
+ --color-popover: var(--color-neutral-1);
92
92
  --color-popover-foreground: var(--color-foreground);
93
93
 
94
94
  --color-primary: var(--color-primary-7);
@@ -127,6 +127,10 @@
127
127
  --color-sidebar-border: var(--color-border);
128
128
  --color-sidebar-ring: var(--color-ring);
129
129
 
130
+ --spacing-icon: calc(var(--spacing) * 4);
131
+ --spacing-input: calc(var(--spacing) * 8);
132
+ --spacing-table: calc(var(--spacing) * 100);
133
+
130
134
  /* Minimum length for fluid grid containers */
131
135
  --fluid-grid-min: var(--container-3xs);
132
136
 
package/lib/utilities.css CHANGED
@@ -10,45 +10,68 @@
10
10
  @apply text-sm;
11
11
  }
12
12
 
13
- @utility h6 {
14
- @apply text-base font-bold;
15
- }
16
-
17
13
  @utility h5 {
18
- @apply text-lg font-semibold;
14
+ @apply text-base font-semibold;
19
15
  }
20
16
 
21
17
  @utility h4 {
22
- @apply text-xl font-medium;
18
+ @apply text-lg font-medium;
23
19
  }
24
20
 
25
21
  @utility h3 {
26
- @apply text-2xl font-normal;
22
+ @apply text-xl font-normal;
27
23
  }
28
24
 
29
25
  @utility h2 {
30
- @apply text-3xl font-light;
26
+ @apply text-2xl font-light;
31
27
  }
32
28
 
33
29
  @utility h1 {
34
30
  @apply text-4xl font-extralight;
35
31
  }
36
32
 
37
- /* Standard height for inputs ~32px */
38
- @utility h-input {
39
- @apply h-8;
40
- }
41
-
42
- /* Standard size for icons */
43
- @utility size-icon {
44
- @apply size-4;
45
- }
46
-
47
33
  /* Fluid grid with minimum width */
48
34
  @utility grid-fluid {
49
35
  @apply grid grid-cols-[repeat(auto-fill,_minmax(var(--fluid-grid-min),_1fr))] gap-4;
50
36
  }
51
37
 
52
38
  @utility input {
53
- @apply w-full rounded-md border border-input bg-background px-3 py-2 body placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
39
+ @apply border border-input bg-card px-3 py-2 body placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
40
+ }
41
+
42
+ /* A base set of classes for elements that can be clicked */
43
+ @utility btn {
44
+ @apply cursor-pointer ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring leading-none no-underline whitespace-nowrap select-none disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:opacity-50;
45
+ }
46
+ @utility btn-primary {
47
+ @apply bg-primary text-primary-foreground hover:bg-primary/80 focus:bg-primary/80;
48
+ }
49
+ @utility btn-destructive {
50
+ @apply bg-destructive text-destructive-foreground hover:bg-destructive/80 focus:bg-destructive/80;
51
+ }
52
+ @utility btn-outline {
53
+ @apply border border-input text-accent bg-card hover:bg-accent/10 focus:bg-accent/10;
54
+ }
55
+ @utility btn-secondary {
56
+ @apply bg-secondary text-secondary-foreground hover:bg-secondary/80 focus:bg-secondary/80;
57
+ }
58
+ @utility btn-ghost {
59
+ @apply bg-transparent hover:bg-accent/10 focus:bg-accent/10;
60
+ }
61
+
62
+ @utility btn-dropdown {
63
+ @apply w-full btn btn-outline h-input text-sm text-left px-2 truncate;
64
+ }
65
+
66
+ /* Dimensions for a standard input */
67
+ @utility input-dim {
68
+ @apply h-input px-4 py-2 text-sm;
69
+ }
70
+
71
+ @utility dropdown-item {
72
+ @apply w-full relative btn btn-ghost input-dim truncate;
73
+ }
74
+
75
+ @utility form-column {
76
+ @apply flex flex-col gap-6;
54
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptlex/web-components",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "React component library for Cryptlex web applications",
5
5
  "author": "Cryptlex",
6
6
  "type": "module",
@@ -47,25 +47,8 @@
47
47
  "access": "public"
48
48
  },
49
49
  "peerDependencies": {
50
- "@radix-ui/react-accordion": "^1.2.1",
51
- "@radix-ui/react-avatar": "^1.1.1",
52
- "@radix-ui/react-checkbox": "^1.1.2",
53
- "@radix-ui/react-collapsible": "^1.1.1",
54
- "@radix-ui/react-dialog": "^1.1.2",
55
- "@radix-ui/react-dropdown-menu": "^2.1.2",
56
- "@radix-ui/react-icons": "^1.3.0",
57
- "@radix-ui/react-label": "^2.1.0",
58
- "@radix-ui/react-navigation-menu": "^1.2.1",
59
- "@radix-ui/react-popover": "^1.1.2",
60
- "@radix-ui/react-radio-group": "^1.2.1",
61
- "@radix-ui/react-select": "^2.1.2",
62
- "@radix-ui/react-separator": "^1.1.0",
63
- "@radix-ui/react-slot": "^1.1.0",
64
- "@radix-ui/react-tabs": "^1.1.1",
65
- "@radix-ui/react-tooltip": "^1.1.3",
66
50
  "@tailwindcss/vite": "^4.0.6",
67
51
  "@tanstack/react-query": "^5.62.3",
68
- "@tanstack/react-router": "^1.87.1",
69
52
  "@tanstack/react-table": "^8.20.5",
70
53
  "class-variance-authority": "^0.7.0",
71
54
  "clsx": "^2.1.1",
@@ -75,34 +58,45 @@
75
58
  "lodash-es": "^4.17.21",
76
59
  "lucide-react": "^0.453.0",
77
60
  "openapi-fetch": ">=0.13.3",
78
- "react": "^18.3.1",
79
- "react-day-picker": "8.10.1",
80
- "react-dom": "^18.3.1",
81
- "react-hook-form": "^7.53.1",
82
- "recharts": "^2.13.0",
83
- "rollup-preserve-directives": "^1.1.3",
61
+ "react": "18.3.1",
62
+ "react-dom": "18.3.1",
63
+ "recharts": "2.15.3",
84
64
  "sonner": "^1.7.0",
85
65
  "tailwindcss": "^4.0.6",
86
66
  "tailwindcss-animate": "^1.0.7",
87
67
  "use-debounce": "^10.0.4",
88
68
  "vaul": "^1.1.1",
89
- "zod": "^3.24.1",
90
- "@hookform/resolvers": "^4.0.0"
69
+ "zod": "^3.24.1"
91
70
  },
92
71
  "dependencies": {
93
- "@cryptlex/web-api-types": "^1.17.0"
72
+ "@cryptlex/web-api-types": "^1.17.0",
73
+ "@tanstack/react-form": "^1.6.3"
94
74
  },
95
75
  "devDependencies": {
96
76
  "@eslint/js": "^9.11.1",
97
- "@storybook/addon-docs": "^8.4.2",
98
- "@storybook/addon-essentials": "^8.4.2",
99
- "@storybook/addon-interactions": "^8.4.2",
100
- "@storybook/addon-links": "^8.4.2",
101
- "@storybook/addon-onboarding": "^8.4.2",
102
- "@storybook/blocks": "^8.4.2",
103
- "@storybook/react": "^8.4.2",
104
- "@storybook/react-vite": "^8.4.2",
105
- "@storybook/test": "^8.4.2",
77
+ "@radix-ui/react-accordion": "^1.2.1",
78
+ "@radix-ui/react-avatar": "^1.1.1",
79
+ "@radix-ui/react-collapsible": "^1.1.1",
80
+ "@radix-ui/react-dialog": "^1.1.2",
81
+ "@radix-ui/react-dropdown-menu": "^2.1.2",
82
+ "@radix-ui/react-label": "^2.1.0",
83
+ "@radix-ui/react-navigation-menu": "^1.2.1",
84
+ "@radix-ui/react-popover": "^1.1.2",
85
+ "@radix-ui/react-radio-group": "^1.2.1",
86
+ "@radix-ui/react-select": "^2.1.2",
87
+ "@radix-ui/react-separator": "^1.1.0",
88
+ "@radix-ui/react-slot": "^1.1.0",
89
+ "@radix-ui/react-tabs": "^1.1.1",
90
+ "@radix-ui/react-tooltip": "^1.1.3",
91
+ "@storybook/addon-docs": "^8.6.12",
92
+ "@storybook/addon-essentials": "^8.6.12",
93
+ "@storybook/addon-interactions": "^8.6.12",
94
+ "@storybook/addon-links": "^8.6.12",
95
+ "@storybook/addon-onboarding": "^8.6.12",
96
+ "@storybook/blocks": "^8.6.12",
97
+ "@storybook/react": "^8.6.12",
98
+ "@storybook/react-vite": "^8.6.12",
99
+ "@storybook/test": "^8.6.12",
106
100
  "@types/lodash-es": "^4.17.12",
107
101
  "@types/node": "^22.7.8",
108
102
  "@types/react": "^18.3.10",
@@ -111,10 +105,12 @@
111
105
  "eslint": "^9.11.1",
112
106
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
113
107
  "eslint-plugin-react-refresh": "^0.4.12",
114
- "eslint-plugin-storybook": "^0.11.0",
108
+ "eslint-plugin-storybook": "^0.12.0",
115
109
  "globals": "^15.9.0",
110
+ "react-day-picker": "8.10.1",
111
+ "rollup-preserve-directives": "1.1.3",
116
112
  "sass": "^1.80.6",
117
- "storybook": "^8.4.2",
113
+ "storybook": "^8.6.12",
118
114
  "typescript": "^5.5.3",
119
115
  "typescript-eslint": "^8.7.0",
120
116
  "vite": "^5.4.8",
@@ -123,7 +119,7 @@
123
119
  "scripts": {
124
120
  "build": "tsc && vite build",
125
121
  "lint": "eslint .",
126
- "storybook": "storybook dev -p 6006",
122
+ "storybook": "storybook dev -p 6006 --no-open",
127
123
  "build:storybook": "storybook build",
128
124
  "build:tokens": "sass --no-source-map ./lib/tokens.scss ./lib/tokens.css"
129
125
  }