@powerhousedao/design-system 2.5.0-dev.4 → 2.5.0-dev.40

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 (1246) hide show
  1. package/dist/src/assets/home-bg.avif +0 -0
  2. package/dist/src/connect/components/account-popover/account-popover-login.d.ts +1 -1
  3. package/dist/src/connect/components/account-popover/account-popover-login.d.ts.map +1 -1
  4. package/dist/src/connect/components/account-popover/account-popover-login.js +7 -3
  5. package/dist/src/connect/components/account-popover/account-popover-login.js.map +1 -1
  6. package/dist/src/connect/components/account-popover/account-popover-user.d.ts +1 -1
  7. package/dist/src/connect/components/account-popover/account-popover-user.d.ts.map +1 -1
  8. package/dist/src/connect/components/account-popover/account-popover-user.js +4 -1
  9. package/dist/src/connect/components/account-popover/account-popover-user.js.map +1 -1
  10. package/dist/src/connect/components/account-popover/account-popover.d.ts.map +1 -1
  11. package/dist/src/connect/components/account-popover/account-popover.js +2 -2
  12. package/dist/src/connect/components/account-popover/account-popover.js.map +1 -1
  13. package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
  14. package/dist/src/connect/components/cookie-banner/cookie-banner.js +1 -1
  15. package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
  16. package/dist/src/connect/components/home-screen/home-background-image.d.ts +2 -0
  17. package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -0
  18. package/dist/src/connect/components/home-screen/home-background-image.js +7 -0
  19. package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -0
  20. package/dist/src/connect/components/home-screen/home-screen.d.ts.map +1 -1
  21. package/dist/src/connect/components/home-screen/home-screen.js +2 -2
  22. package/dist/src/connect/components/home-screen/home-screen.js.map +1 -1
  23. package/dist/src/connect/components/home-screen/index.d.ts +2 -1
  24. package/dist/src/connect/components/home-screen/index.d.ts.map +1 -1
  25. package/dist/src/connect/components/home-screen/index.js +2 -1
  26. package/dist/src/connect/components/home-screen/index.js.map +1 -1
  27. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +1 -1
  28. package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
  29. package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts +1 -1
  30. package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts.map +1 -1
  31. package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js +1 -1
  32. package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js.map +1 -1
  33. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
  34. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +1 -2
  35. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
  36. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +1 -1
  37. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +1 -1
  38. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +1 -1
  39. package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +1 -1
  40. package/dist/src/connect/components/search-bar/search-bar.js +1 -1
  41. package/dist/src/connect/components/search-bar/search-bar.js.map +1 -1
  42. package/dist/src/connect/components/sidebar/sidebar-footer.d.ts +3 -3
  43. package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
  44. package/dist/src/connect/components/sidebar/sidebar-footer.js +1 -1
  45. package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
  46. package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
  47. package/dist/src/connect/components/sidebar/sidebar-header.js +1 -1
  48. package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
  49. package/dist/src/connect/components/sidebar/sidebar-login.d.ts +1 -1
  50. package/dist/src/connect/components/sidebar/sidebar-login.d.ts.map +1 -1
  51. package/dist/src/connect/components/sidebar/sidebar-login.js +2 -1
  52. package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
  53. package/dist/src/connect/components/sidebar/sidebar-user.d.ts +1 -1
  54. package/dist/src/connect/components/sidebar/sidebar-user.d.ts.map +1 -1
  55. package/dist/src/connect/components/sidebar/sidebar.d.ts +2 -2
  56. package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
  57. package/dist/src/connect/components/tooltip/tooltip.d.ts.map +1 -1
  58. package/dist/src/connect/components/tooltip/tooltip.js +2 -2
  59. package/dist/src/connect/components/tooltip/tooltip.js.map +1 -1
  60. package/dist/src/powerhouse/components/icon/icon.d.ts +1 -1
  61. package/dist/src/powerhouse/components/icon/icon.d.ts.map +1 -1
  62. package/dist/src/powerhouse/components/icon/icon.js +2 -2
  63. package/dist/src/powerhouse/components/icon/icon.js.map +1 -1
  64. package/dist/src/powerhouse/utils/index.d.ts +2 -0
  65. package/dist/src/powerhouse/utils/index.d.ts.map +1 -1
  66. package/dist/src/powerhouse/utils/index.js +5 -0
  67. package/dist/src/powerhouse/utils/index.js.map +1 -1
  68. package/dist/src/ui/components/amount-input/types.d.ts +52 -0
  69. package/dist/src/ui/components/amount-input/types.d.ts.map +1 -0
  70. package/dist/src/ui/components/amount-input/types.js.map +1 -0
  71. package/dist/src/ui/components/button/button.d.ts.map +1 -0
  72. package/dist/src/ui/components/button/button.js +23 -0
  73. package/dist/src/ui/components/button/button.js.map +1 -0
  74. package/dist/src/ui/components/button/index.d.ts.map +1 -0
  75. package/dist/src/ui/components/button/index.js.map +1 -0
  76. package/dist/src/ui/components/character-counter/character-counter.d.ts.map +1 -0
  77. package/dist/src/ui/components/character-counter/character-counter.js.map +1 -0
  78. package/dist/src/ui/components/character-counter/index.d.ts.map +1 -0
  79. package/dist/src/ui/components/character-counter/index.js.map +1 -0
  80. package/dist/src/ui/components/checkbox/checkbox-base.d.ts.map +1 -0
  81. package/dist/src/ui/components/checkbox/checkbox-base.js +29 -0
  82. package/dist/src/ui/components/checkbox/checkbox-base.js.map +1 -0
  83. package/dist/src/ui/components/checkbox/checkbox.d.ts +10 -0
  84. package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -0
  85. package/dist/src/ui/components/checkbox/checkbox.js +22 -0
  86. package/dist/src/ui/components/checkbox/checkbox.js.map +1 -0
  87. package/dist/src/ui/components/checkbox/index.d.ts.map +1 -0
  88. package/dist/src/ui/components/checkbox/index.js.map +1 -0
  89. package/dist/src/ui/components/command/command.d.ts +80 -0
  90. package/dist/src/ui/components/command/command.d.ts.map +1 -0
  91. package/dist/src/ui/components/command/command.js +20 -0
  92. package/dist/src/ui/components/command/command.js.map +1 -0
  93. package/dist/src/ui/components/command/index.d.ts.map +1 -0
  94. package/dist/src/ui/components/command/index.js.map +1 -0
  95. package/dist/src/ui/components/date-picker/index.d.ts +2 -0
  96. package/dist/src/ui/components/date-picker/index.d.ts.map +1 -0
  97. package/dist/src/ui/components/date-picker/index.js +2 -0
  98. package/dist/src/ui/components/date-picker/index.js.map +1 -0
  99. package/dist/src/ui/components/date-picker/types.d.ts.map +1 -0
  100. package/dist/src/ui/components/date-picker/types.js.map +1 -0
  101. package/dist/src/ui/components/date-picker/utils.d.ts +7 -0
  102. package/dist/src/ui/components/date-picker/utils.d.ts.map +1 -0
  103. package/dist/src/ui/components/date-picker/utils.js +29 -0
  104. package/dist/src/ui/components/date-picker/utils.js.map +1 -0
  105. package/dist/src/ui/components/date-time-picker/index.d.ts +2 -0
  106. package/dist/src/ui/components/date-time-picker/index.d.ts.map +1 -0
  107. package/dist/src/ui/components/date-time-picker/index.js +2 -0
  108. package/dist/src/ui/components/date-time-picker/index.js.map +1 -0
  109. package/dist/src/ui/components/date-time-picker/utils.d.ts +31 -0
  110. package/dist/src/ui/components/date-time-picker/utils.d.ts.map +1 -0
  111. package/dist/src/ui/components/date-time-picker/utils.js +99 -0
  112. package/dist/src/ui/components/date-time-picker/utils.js.map +1 -0
  113. package/dist/src/ui/components/enum-field/enum-field.d.ts +12 -0
  114. package/dist/src/ui/components/enum-field/enum-field.d.ts.map +1 -0
  115. package/dist/src/ui/components/enum-field/enum-field.js +18 -0
  116. package/dist/src/ui/components/enum-field/enum-field.js.map +1 -0
  117. package/dist/src/ui/components/enum-field/index.d.ts.map +1 -0
  118. package/dist/src/ui/components/enum-field/index.js.map +1 -0
  119. package/dist/src/ui/components/enum-field/types.d.ts.map +1 -0
  120. package/dist/src/ui/components/enum-field/types.js.map +1 -0
  121. package/dist/src/ui/components/form/form.d.ts.map +1 -0
  122. package/dist/src/ui/components/form/form.js +138 -0
  123. package/dist/src/ui/components/form/form.js.map +1 -0
  124. package/dist/src/ui/components/form/index.d.ts.map +1 -0
  125. package/dist/src/ui/components/form/index.js.map +1 -0
  126. package/dist/src/ui/components/form/utils.d.ts.map +1 -0
  127. package/dist/src/ui/components/form/utils.js.map +1 -0
  128. package/dist/src/ui/components/form-description/form-description.d.ts.map +1 -0
  129. package/dist/src/ui/components/form-description/form-description.js +8 -0
  130. package/dist/src/ui/components/form-description/form-description.js.map +1 -0
  131. package/dist/src/ui/components/form-description/index.d.ts.map +1 -0
  132. package/dist/src/ui/components/form-description/index.js.map +1 -0
  133. package/dist/src/ui/components/form-group/form-group.d.ts.map +1 -0
  134. package/dist/src/ui/components/form-group/form-group.js.map +1 -0
  135. package/dist/src/ui/components/form-group/index.d.ts.map +1 -0
  136. package/dist/src/ui/components/form-group/index.js.map +1 -0
  137. package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -0
  138. package/dist/src/ui/components/form-label/form-label.js +19 -0
  139. package/dist/src/ui/components/form-label/form-label.js.map +1 -0
  140. package/dist/src/ui/components/form-label/index.d.ts.map +1 -0
  141. package/dist/src/ui/components/form-label/index.js.map +1 -0
  142. package/dist/src/ui/components/form-message/form-message.d.ts.map +1 -0
  143. package/dist/src/ui/components/form-message/form-message.js +15 -0
  144. package/dist/src/ui/components/form-message/form-message.js.map +1 -0
  145. package/dist/src/ui/components/form-message/form-server-error-message.d.ts.map +1 -0
  146. package/dist/src/ui/components/form-message/form-server-error-message.js.map +1 -0
  147. package/dist/src/ui/components/form-message/index.d.ts.map +1 -0
  148. package/dist/src/ui/components/form-message/index.js.map +1 -0
  149. package/dist/src/ui/components/form-message/message-list.d.ts.map +1 -0
  150. package/dist/src/ui/components/form-message/message-list.js +22 -0
  151. package/dist/src/ui/components/form-message/message-list.js.map +1 -0
  152. package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.d.ts.map +1 -0
  153. package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.js.map +1 -0
  154. package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -0
  155. package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js +71 -0
  156. package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -0
  157. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -0
  158. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js +47 -0
  159. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -0
  160. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.d.ts.map +1 -0
  161. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js +31 -0
  162. package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -0
  163. package/dist/src/ui/components/id-autocomplete/id-autocomplete.d.ts.map +1 -0
  164. package/dist/src/ui/components/id-autocomplete/id-autocomplete.js +88 -0
  165. package/dist/src/ui/components/id-autocomplete/id-autocomplete.js.map +1 -0
  166. package/dist/src/ui/components/id-autocomplete/index.d.ts.map +1 -0
  167. package/dist/src/ui/components/id-autocomplete/index.js.map +1 -0
  168. package/dist/src/ui/components/id-autocomplete/types.d.ts.map +1 -0
  169. package/dist/src/ui/components/id-autocomplete/types.js.map +1 -0
  170. package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.d.ts.map +1 -0
  171. package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.js.map +1 -0
  172. package/dist/src/ui/components/index.d.ts +13 -14
  173. package/dist/src/ui/components/index.d.ts.map +1 -1
  174. package/dist/src/ui/components/index.js +13 -20
  175. package/dist/src/ui/components/index.js.map +1 -1
  176. package/dist/src/ui/components/input/index.d.ts.map +1 -0
  177. package/dist/src/ui/components/input/index.js.map +1 -0
  178. package/dist/src/ui/components/input/input.d.ts.map +1 -0
  179. package/dist/src/ui/components/input/input.js +22 -0
  180. package/dist/src/ui/components/input/input.js.map +1 -0
  181. package/dist/src/ui/components/input/splitted-input-diff.d.ts +8 -0
  182. package/dist/src/ui/components/input/splitted-input-diff.d.ts.map +1 -0
  183. package/dist/src/ui/components/input/splitted-input-diff.js +35 -0
  184. package/dist/src/ui/components/input/splitted-input-diff.js.map +1 -0
  185. package/dist/src/ui/components/input/subcomponent/input-diff.d.ts.map +1 -0
  186. package/dist/src/ui/components/input/subcomponent/input-diff.js +8 -0
  187. package/dist/src/ui/components/input/subcomponent/input-diff.js.map +1 -0
  188. package/dist/src/ui/components/input/subcomponent/text-diff.d.ts +9 -0
  189. package/dist/src/ui/components/input/subcomponent/text-diff.d.ts.map +1 -0
  190. package/dist/src/ui/components/input/subcomponent/text-diff.js +27 -0
  191. package/dist/src/ui/components/input/subcomponent/text-diff.js.map +1 -0
  192. package/dist/src/ui/components/popover/index.d.ts.map +1 -0
  193. package/dist/src/ui/components/popover/index.js.map +1 -0
  194. package/dist/src/ui/components/popover/popover.d.ts.map +1 -0
  195. package/dist/src/ui/components/popover/popover.js +17 -0
  196. package/dist/src/ui/components/popover/popover.js.map +1 -0
  197. package/dist/src/ui/components/radio-group-field/index.d.ts.map +1 -0
  198. package/dist/src/ui/components/radio-group-field/index.js.map +1 -0
  199. package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts +12 -0
  200. package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts.map +1 -0
  201. package/dist/src/ui/components/radio-group-field/radio-group-field.js +20 -0
  202. package/dist/src/ui/components/radio-group-field/radio-group-field.js.map +1 -0
  203. package/dist/src/ui/components/radio-group-field/radio-group.d.ts.map +1 -0
  204. package/dist/src/ui/components/radio-group-field/radio-group.js.map +1 -0
  205. package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -0
  206. package/dist/src/ui/components/radio-group-field/radio.js +24 -0
  207. package/dist/src/ui/components/radio-group-field/radio.js.map +1 -0
  208. package/dist/src/ui/components/select-field/content.d.ts +17 -0
  209. package/dist/src/ui/components/select-field/content.d.ts.map +1 -0
  210. package/dist/src/ui/components/select-field/content.js +34 -0
  211. package/dist/src/ui/components/select-field/content.js.map +1 -0
  212. package/dist/src/ui/components/select-field/index.d.ts.map +1 -0
  213. package/dist/src/ui/components/select-field/index.js.map +1 -0
  214. package/dist/src/ui/components/select-field/select-field.d.ts +18 -0
  215. package/dist/src/ui/components/select-field/select-field.d.ts.map +1 -0
  216. package/dist/src/ui/components/select-field/select-field.js +66 -0
  217. package/dist/src/ui/components/select-field/select-field.js.map +1 -0
  218. package/dist/src/ui/components/select-field/selected-content.d.ts +13 -0
  219. package/dist/src/ui/components/select-field/selected-content.d.ts.map +1 -0
  220. package/dist/src/ui/components/select-field/selected-content.js +26 -0
  221. package/dist/src/ui/components/select-field/selected-content.js.map +1 -0
  222. package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts +15 -0
  223. package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -0
  224. package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js +24 -0
  225. package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -0
  226. package/dist/src/ui/components/select-field/use-select-field.d.ts +19 -0
  227. package/dist/src/ui/components/select-field/use-select-field.d.ts.map +1 -0
  228. package/dist/src/ui/components/select-field/use-select-field.js.map +1 -0
  229. package/dist/src/ui/components/text-field/index.d.ts.map +1 -0
  230. package/dist/src/ui/components/text-field/index.js.map +1 -0
  231. package/dist/src/ui/components/text-field/text-field.d.ts +5 -0
  232. package/dist/src/ui/components/text-field/text-field.d.ts.map +1 -0
  233. package/dist/src/ui/components/text-field/text-field.js +5 -0
  234. package/dist/src/ui/components/text-field/text-field.js.map +1 -0
  235. package/dist/src/ui/components/text-input/index.d.ts.map +1 -0
  236. package/dist/src/ui/components/text-input/index.js.map +1 -0
  237. package/dist/src/ui/components/text-input/text-input-diff.d.ts +9 -0
  238. package/dist/src/ui/components/text-input/text-input-diff.d.ts.map +1 -0
  239. package/dist/src/ui/components/text-input/text-input-diff.js +9 -0
  240. package/dist/src/ui/components/text-input/text-input-diff.js.map +1 -0
  241. package/dist/src/ui/components/text-input/text-input.d.ts +10 -0
  242. package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -0
  243. package/dist/src/ui/components/text-input/text-input.js +38 -0
  244. package/dist/src/ui/components/text-input/text-input.js.map +1 -0
  245. package/dist/src/ui/components/text-input/types.d.ts.map +1 -0
  246. package/dist/src/ui/components/text-input/types.js.map +1 -0
  247. package/dist/src/ui/components/tooltip/tooltip.d.ts +1 -1
  248. package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
  249. package/dist/src/ui/components/tooltip/tooltip.js +2 -2
  250. package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
  251. package/dist/src/ui/components/value-transformer/index.d.ts.map +1 -0
  252. package/dist/src/ui/components/value-transformer/index.js.map +1 -0
  253. package/dist/src/ui/components/value-transformer/value-transformer.d.ts.map +1 -0
  254. package/dist/src/ui/components/value-transformer/value-transformer.js +142 -0
  255. package/dist/src/ui/components/value-transformer/value-transformer.js.map +1 -0
  256. package/dist/src/ui/components/with-field-validation/index.d.ts.map +1 -0
  257. package/dist/src/ui/components/with-field-validation/index.js.map +1 -0
  258. package/dist/src/ui/components/with-field-validation/with-field-validation.d.ts.map +1 -0
  259. package/dist/src/ui/components/with-field-validation/with-field-validation.js.map +1 -0
  260. package/dist/src/ui/index.d.ts +1 -0
  261. package/dist/src/ui/index.d.ts.map +1 -1
  262. package/dist/src/ui/index.js +1 -0
  263. package/dist/src/ui/index.js.map +1 -1
  264. package/dist/src/ui/lib/cn.d.ts +3 -0
  265. package/dist/src/ui/lib/cn.d.ts.map +1 -0
  266. package/dist/src/ui/lib/cn.js +6 -0
  267. package/dist/src/ui/lib/cn.js.map +1 -0
  268. package/dist/src/ui/lib/decorators.d.ts.map +1 -0
  269. package/dist/src/ui/lib/decorators.js +96 -0
  270. package/dist/src/ui/lib/decorators.js.map +1 -0
  271. package/dist/src/ui/lib/deep-equal.d.ts.map +1 -0
  272. package/dist/src/ui/lib/deep-equal.js.map +1 -0
  273. package/dist/src/ui/lib/index.d.ts +9 -0
  274. package/dist/src/ui/lib/index.d.ts.map +1 -0
  275. package/dist/src/ui/lib/index.js +9 -0
  276. package/dist/src/ui/lib/index.js.map +1 -0
  277. package/dist/src/ui/lib/is-empty.d.ts.map +1 -0
  278. package/dist/src/ui/lib/is-empty.js.map +1 -0
  279. package/dist/src/ui/lib/shared-value-transformers.d.ts +3 -0
  280. package/dist/src/ui/lib/shared-value-transformers.d.ts.map +1 -0
  281. package/dist/src/ui/lib/shared-value-transformers.js.map +1 -0
  282. package/dist/src/ui/lib/storybook-arg-types.d.ts.map +1 -0
  283. package/dist/src/ui/lib/storybook-arg-types.js.map +1 -0
  284. package/dist/src/ui/lib/testing.d.ts.map +1 -0
  285. package/dist/src/ui/lib/testing.js.map +1 -0
  286. package/dist/src/ui/lib/value-cast.d.ts.map +1 -0
  287. package/dist/src/ui/lib/value-cast.js +57 -0
  288. package/dist/src/ui/lib/value-cast.js.map +1 -0
  289. package/dist/src/ui/types.d.ts.map +1 -0
  290. package/dist/src/ui/types.js.map +1 -0
  291. package/dist/style.css +6 -992
  292. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  293. package/package.json +4 -9
  294. package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +0 -5
  295. package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +0 -1
  296. package/dist/src/scalars/EthereumAddress/EthereumAddress.js +0 -14
  297. package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +0 -1
  298. package/dist/src/scalars/EthereumAddress/index.d.ts +0 -2
  299. package/dist/src/scalars/EthereumAddress/index.d.ts.map +0 -1
  300. package/dist/src/scalars/EthereumAddress/index.js +0 -2
  301. package/dist/src/scalars/EthereumAddress/index.js.map +0 -1
  302. package/dist/src/scalars/components/aid-field/aid-field.d.ts +0 -4
  303. package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +0 -1
  304. package/dist/src/scalars/components/aid-field/aid-field.js +0 -49
  305. package/dist/src/scalars/components/aid-field/aid-field.js.map +0 -1
  306. package/dist/src/scalars/components/aid-field/index.d.ts +0 -3
  307. package/dist/src/scalars/components/aid-field/index.d.ts.map +0 -1
  308. package/dist/src/scalars/components/aid-field/index.js +0 -2
  309. package/dist/src/scalars/components/aid-field/index.js.map +0 -1
  310. package/dist/src/scalars/components/aid-field/types.d.ts +0 -5
  311. package/dist/src/scalars/components/aid-field/types.d.ts.map +0 -1
  312. package/dist/src/scalars/components/aid-field/types.js.map +0 -1
  313. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +0 -3
  314. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +0 -1
  315. package/dist/src/scalars/components/amount-field/amount-currency-validations.js +0 -13
  316. package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +0 -1
  317. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +0 -4
  318. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +0 -1
  319. package/dist/src/scalars/components/amount-field/amount-field-validations.js +0 -77
  320. package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +0 -1
  321. package/dist/src/scalars/components/amount-field/amount-field.d.ts +0 -6
  322. package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +0 -1
  323. package/dist/src/scalars/components/amount-field/amount-field.js +0 -13
  324. package/dist/src/scalars/components/amount-field/amount-field.js.map +0 -1
  325. package/dist/src/scalars/components/amount-field/index.d.ts +0 -2
  326. package/dist/src/scalars/components/amount-field/index.d.ts.map +0 -1
  327. package/dist/src/scalars/components/amount-field/index.js +0 -2
  328. package/dist/src/scalars/components/amount-field/index.js.map +0 -1
  329. package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +0 -10
  330. package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +0 -1
  331. package/dist/src/scalars/components/boolean-field/boolean-field.js +0 -12
  332. package/dist/src/scalars/components/boolean-field/boolean-field.js.map +0 -1
  333. package/dist/src/scalars/components/boolean-field/index.d.ts +0 -2
  334. package/dist/src/scalars/components/boolean-field/index.d.ts.map +0 -1
  335. package/dist/src/scalars/components/boolean-field/index.js +0 -2
  336. package/dist/src/scalars/components/boolean-field/index.js.map +0 -1
  337. package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +0 -8
  338. package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +0 -1
  339. package/dist/src/scalars/components/country-code-field/country-code-field.js +0 -58
  340. package/dist/src/scalars/components/country-code-field/country-code-field.js.map +0 -1
  341. package/dist/src/scalars/components/country-code-field/index.d.ts +0 -2
  342. package/dist/src/scalars/components/country-code-field/index.d.ts.map +0 -1
  343. package/dist/src/scalars/components/country-code-field/index.js +0 -2
  344. package/dist/src/scalars/components/country-code-field/index.js.map +0 -1
  345. package/dist/src/scalars/components/country-code-field/types.d.ts +0 -11
  346. package/dist/src/scalars/components/country-code-field/types.d.ts.map +0 -1
  347. package/dist/src/scalars/components/country-code-field/types.js.map +0 -1
  348. package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +0 -21
  349. package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +0 -1
  350. package/dist/src/scalars/components/currency-code-field/currency-code-field.js +0 -72
  351. package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +0 -1
  352. package/dist/src/scalars/components/currency-code-field/defaults.d.ts +0 -4
  353. package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +0 -1
  354. package/dist/src/scalars/components/currency-code-field/defaults.js +0 -43
  355. package/dist/src/scalars/components/currency-code-field/defaults.js.map +0 -1
  356. package/dist/src/scalars/components/currency-code-field/index.d.ts +0 -5
  357. package/dist/src/scalars/components/currency-code-field/index.d.ts.map +0 -1
  358. package/dist/src/scalars/components/currency-code-field/index.js +0 -4
  359. package/dist/src/scalars/components/currency-code-field/index.js.map +0 -1
  360. package/dist/src/scalars/components/currency-code-field/types.d.ts +0 -13
  361. package/dist/src/scalars/components/currency-code-field/types.d.ts.map +0 -1
  362. package/dist/src/scalars/components/currency-code-field/types.js.map +0 -1
  363. package/dist/src/scalars/components/currency-code-field/utils.d.ts +0 -38
  364. package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +0 -1
  365. package/dist/src/scalars/components/currency-code-field/utils.js +0 -40
  366. package/dist/src/scalars/components/currency-code-field/utils.js.map +0 -1
  367. package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +0 -7
  368. package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +0 -1
  369. package/dist/src/scalars/components/date-picker-field/date-picker-field.js +0 -11
  370. package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +0 -1
  371. package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +0 -3
  372. package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +0 -1
  373. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +0 -73
  374. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +0 -1
  375. package/dist/src/scalars/components/date-picker-field/index.d.ts +0 -2
  376. package/dist/src/scalars/components/date-picker-field/index.d.ts.map +0 -1
  377. package/dist/src/scalars/components/date-picker-field/index.js +0 -2
  378. package/dist/src/scalars/components/date-picker-field/index.js.map +0 -1
  379. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +0 -3
  380. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +0 -1
  381. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +0 -78
  382. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +0 -1
  383. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +0 -7
  384. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +0 -1
  385. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +0 -11
  386. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +0 -1
  387. package/dist/src/scalars/components/date-time-picker-field/index.d.ts +0 -2
  388. package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +0 -1
  389. package/dist/src/scalars/components/date-time-picker-field/index.js +0 -2
  390. package/dist/src/scalars/components/date-time-picker-field/index.js.map +0 -1
  391. package/dist/src/scalars/components/enum-field/enum-field.d.ts +0 -12
  392. package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +0 -1
  393. package/dist/src/scalars/components/enum-field/enum-field.js +0 -18
  394. package/dist/src/scalars/components/enum-field/enum-field.js.map +0 -1
  395. package/dist/src/scalars/components/enum-field/index.d.ts.map +0 -1
  396. package/dist/src/scalars/components/enum-field/index.js.map +0 -1
  397. package/dist/src/scalars/components/enum-field/types.d.ts.map +0 -1
  398. package/dist/src/scalars/components/enum-field/types.js.map +0 -1
  399. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts +0 -3
  400. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +0 -1
  401. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +0 -27
  402. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +0 -1
  403. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts +0 -3
  404. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +0 -1
  405. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +0 -31
  406. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +0 -1
  407. package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts +0 -3
  408. package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +0 -1
  409. package/dist/src/scalars/components/examples/reset-button/reset-button.js +0 -12
  410. package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +0 -1
  411. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts +0 -3
  412. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +0 -1
  413. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +0 -16
  414. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +0 -1
  415. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts +0 -4
  416. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +0 -1
  417. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +0 -75
  418. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +0 -1
  419. package/dist/src/scalars/components/form/form.d.ts.map +0 -1
  420. package/dist/src/scalars/components/form/form.js +0 -138
  421. package/dist/src/scalars/components/form/form.js.map +0 -1
  422. package/dist/src/scalars/components/form/index.d.ts.map +0 -1
  423. package/dist/src/scalars/components/form/index.js.map +0 -1
  424. package/dist/src/scalars/components/form/utils.d.ts.map +0 -1
  425. package/dist/src/scalars/components/form/utils.js.map +0 -1
  426. package/dist/src/scalars/components/fragments/button/button.d.ts.map +0 -1
  427. package/dist/src/scalars/components/fragments/button/button.js +0 -23
  428. package/dist/src/scalars/components/fragments/button/button.js.map +0 -1
  429. package/dist/src/scalars/components/fragments/button/index.d.ts.map +0 -1
  430. package/dist/src/scalars/components/fragments/button/index.js.map +0 -1
  431. package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +0 -1
  432. package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +0 -1
  433. package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +0 -1
  434. package/dist/src/scalars/components/fragments/character-counter/index.js.map +0 -1
  435. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +0 -4
  436. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +0 -1
  437. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +0 -6
  438. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +0 -1
  439. package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +0 -2
  440. package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +0 -1
  441. package/dist/src/scalars/components/fragments/checkbox-field/index.js +0 -2
  442. package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +0 -1
  443. package/dist/src/scalars/components/fragments/command/command.d.ts +0 -80
  444. package/dist/src/scalars/components/fragments/command/command.d.ts.map +0 -1
  445. package/dist/src/scalars/components/fragments/command/command.js +0 -21
  446. package/dist/src/scalars/components/fragments/command/command.js.map +0 -1
  447. package/dist/src/scalars/components/fragments/command/index.d.ts.map +0 -1
  448. package/dist/src/scalars/components/fragments/command/index.js.map +0 -1
  449. package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +0 -1
  450. package/dist/src/scalars/components/fragments/form-description/form-description.js +0 -8
  451. package/dist/src/scalars/components/fragments/form-description/form-description.js.map +0 -1
  452. package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +0 -1
  453. package/dist/src/scalars/components/fragments/form-description/index.js.map +0 -1
  454. package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +0 -1
  455. package/dist/src/scalars/components/fragments/form-group/form-group.js.map +0 -1
  456. package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +0 -1
  457. package/dist/src/scalars/components/fragments/form-group/index.js.map +0 -1
  458. package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +0 -1
  459. package/dist/src/scalars/components/fragments/form-label/form-label.js +0 -20
  460. package/dist/src/scalars/components/fragments/form-label/form-label.js.map +0 -1
  461. package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +0 -1
  462. package/dist/src/scalars/components/fragments/form-label/index.js.map +0 -1
  463. package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +0 -1
  464. package/dist/src/scalars/components/fragments/form-message/form-message.js +0 -15
  465. package/dist/src/scalars/components/fragments/form-message/form-message.js.map +0 -1
  466. package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +0 -1
  467. package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +0 -1
  468. package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +0 -1
  469. package/dist/src/scalars/components/fragments/form-message/index.js.map +0 -1
  470. package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +0 -1
  471. package/dist/src/scalars/components/fragments/form-message/message-list.js +0 -22
  472. package/dist/src/scalars/components/fragments/form-message/message-list.js.map +0 -1
  473. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +0 -1
  474. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +0 -1
  475. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +0 -1
  476. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +0 -71
  477. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +0 -1
  478. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +0 -1
  479. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +0 -47
  480. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +0 -1
  481. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +0 -1
  482. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +0 -31
  483. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +0 -1
  484. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +0 -1
  485. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +0 -88
  486. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +0 -1
  487. package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +0 -1
  488. package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +0 -1
  489. package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +0 -1
  490. package/dist/src/scalars/components/fragments/id-autocomplete/types.js.map +0 -1
  491. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +0 -1
  492. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +0 -1
  493. package/dist/src/scalars/components/fragments/index.d.ts +0 -8
  494. package/dist/src/scalars/components/fragments/index.d.ts.map +0 -1
  495. package/dist/src/scalars/components/fragments/index.js +0 -8
  496. package/dist/src/scalars/components/fragments/index.js.map +0 -1
  497. package/dist/src/scalars/components/fragments/popover/index.d.ts.map +0 -1
  498. package/dist/src/scalars/components/fragments/popover/index.js.map +0 -1
  499. package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +0 -1
  500. package/dist/src/scalars/components/fragments/popover/popover.js +0 -17
  501. package/dist/src/scalars/components/fragments/popover/popover.js.map +0 -1
  502. package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +0 -1
  503. package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +0 -1
  504. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +0 -12
  505. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +0 -1
  506. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +0 -18
  507. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +0 -1
  508. package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts.map +0 -1
  509. package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js.map +0 -1
  510. package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts.map +0 -1
  511. package/dist/src/scalars/components/fragments/radio-group-field/radio.js +0 -24
  512. package/dist/src/scalars/components/fragments/radio-group-field/radio.js.map +0 -1
  513. package/dist/src/scalars/components/fragments/select-field/content.d.ts +0 -17
  514. package/dist/src/scalars/components/fragments/select-field/content.d.ts.map +0 -1
  515. package/dist/src/scalars/components/fragments/select-field/content.js +0 -34
  516. package/dist/src/scalars/components/fragments/select-field/content.js.map +0 -1
  517. package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +0 -1
  518. package/dist/src/scalars/components/fragments/select-field/index.js.map +0 -1
  519. package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +0 -19
  520. package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +0 -1
  521. package/dist/src/scalars/components/fragments/select-field/select-field.js +0 -62
  522. package/dist/src/scalars/components/fragments/select-field/select-field.js.map +0 -1
  523. package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts +0 -13
  524. package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts.map +0 -1
  525. package/dist/src/scalars/components/fragments/select-field/selected-content.js +0 -26
  526. package/dist/src/scalars/components/fragments/select-field/selected-content.js.map +0 -1
  527. package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts +0 -15
  528. package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts.map +0 -1
  529. package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js +0 -24
  530. package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js.map +0 -1
  531. package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts +0 -19
  532. package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts.map +0 -1
  533. package/dist/src/scalars/components/fragments/select-field/use-select-field.js.map +0 -1
  534. package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +0 -8
  535. package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +0 -1
  536. package/dist/src/scalars/components/fragments/tabs/tabs.js +0 -14
  537. package/dist/src/scalars/components/fragments/tabs/tabs.js.map +0 -1
  538. package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +0 -1
  539. package/dist/src/scalars/components/fragments/text-field/index.js.map +0 -1
  540. package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +0 -5
  541. package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +0 -1
  542. package/dist/src/scalars/components/fragments/text-field/text-field.js +0 -5
  543. package/dist/src/scalars/components/fragments/text-field/text-field.js.map +0 -1
  544. package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +0 -2
  545. package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +0 -1
  546. package/dist/src/scalars/components/fragments/textarea-field/index.js +0 -2
  547. package/dist/src/scalars/components/fragments/textarea-field/index.js.map +0 -1
  548. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +0 -6
  549. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +0 -1
  550. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +0 -6
  551. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +0 -1
  552. package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +0 -2
  553. package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +0 -1
  554. package/dist/src/scalars/components/fragments/toggle-field/index.js +0 -2
  555. package/dist/src/scalars/components/fragments/toggle-field/index.js.map +0 -1
  556. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +0 -6
  557. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +0 -1
  558. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +0 -6
  559. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +0 -1
  560. package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +0 -1
  561. package/dist/src/scalars/components/fragments/value-transformer/index.js.map +0 -1
  562. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +0 -1
  563. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +0 -142
  564. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +0 -1
  565. package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +0 -1
  566. package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +0 -1
  567. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +0 -1
  568. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +0 -1
  569. package/dist/src/scalars/components/id-field/id-field.d.ts +0 -9
  570. package/dist/src/scalars/components/id-field/id-field.d.ts.map +0 -1
  571. package/dist/src/scalars/components/id-field/id-field.js +0 -23
  572. package/dist/src/scalars/components/id-field/id-field.js.map +0 -1
  573. package/dist/src/scalars/components/id-field/index.d.ts +0 -2
  574. package/dist/src/scalars/components/id-field/index.d.ts.map +0 -1
  575. package/dist/src/scalars/components/id-field/index.js +0 -2
  576. package/dist/src/scalars/components/id-field/index.js.map +0 -1
  577. package/dist/src/scalars/components/index.d.ts +0 -122
  578. package/dist/src/scalars/components/index.d.ts.map +0 -1
  579. package/dist/src/scalars/components/index.js +0 -94
  580. package/dist/src/scalars/components/index.js.map +0 -1
  581. package/dist/src/scalars/components/number-field/index.d.ts +0 -2
  582. package/dist/src/scalars/components/number-field/index.d.ts.map +0 -1
  583. package/dist/src/scalars/components/number-field/index.js +0 -2
  584. package/dist/src/scalars/components/number-field/index.js.map +0 -1
  585. package/dist/src/scalars/components/number-field/number-field-validations.d.ts +0 -7
  586. package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +0 -1
  587. package/dist/src/scalars/components/number-field/number-field-validations.js +0 -117
  588. package/dist/src/scalars/components/number-field/number-field-validations.js.map +0 -1
  589. package/dist/src/scalars/components/number-field/number-field.d.ts +0 -12
  590. package/dist/src/scalars/components/number-field/number-field.d.ts.map +0 -1
  591. package/dist/src/scalars/components/number-field/number-field.js +0 -50
  592. package/dist/src/scalars/components/number-field/number-field.js.map +0 -1
  593. package/dist/src/scalars/components/number-field/types.d.ts +0 -20
  594. package/dist/src/scalars/components/number-field/types.d.ts.map +0 -1
  595. package/dist/src/scalars/components/number-field/types.js.map +0 -1
  596. package/dist/src/scalars/components/number-field/use-number-field.d.ts +0 -29
  597. package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +0 -1
  598. package/dist/src/scalars/components/number-field/use-number-field.js +0 -140
  599. package/dist/src/scalars/components/number-field/use-number-field.js.map +0 -1
  600. package/dist/src/scalars/components/number-field/utils.d.ts +0 -10
  601. package/dist/src/scalars/components/number-field/utils.d.ts.map +0 -1
  602. package/dist/src/scalars/components/number-field/utils.js +0 -38
  603. package/dist/src/scalars/components/number-field/utils.js.map +0 -1
  604. package/dist/src/scalars/components/oid-field/index.d.ts +0 -3
  605. package/dist/src/scalars/components/oid-field/index.d.ts.map +0 -1
  606. package/dist/src/scalars/components/oid-field/index.js +0 -2
  607. package/dist/src/scalars/components/oid-field/index.js.map +0 -1
  608. package/dist/src/scalars/components/oid-field/oid-field.d.ts +0 -4
  609. package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +0 -1
  610. package/dist/src/scalars/components/oid-field/oid-field.js +0 -20
  611. package/dist/src/scalars/components/oid-field/oid-field.js.map +0 -1
  612. package/dist/src/scalars/components/oid-field/types.d.ts +0 -5
  613. package/dist/src/scalars/components/oid-field/types.d.ts.map +0 -1
  614. package/dist/src/scalars/components/oid-field/types.js +0 -2
  615. package/dist/src/scalars/components/oid-field/types.js.map +0 -1
  616. package/dist/src/scalars/components/phid-field/index.d.ts +0 -3
  617. package/dist/src/scalars/components/phid-field/index.d.ts.map +0 -1
  618. package/dist/src/scalars/components/phid-field/index.js +0 -2
  619. package/dist/src/scalars/components/phid-field/index.js.map +0 -1
  620. package/dist/src/scalars/components/phid-field/phid-field.d.ts +0 -4
  621. package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +0 -1
  622. package/dist/src/scalars/components/phid-field/phid-field.js +0 -51
  623. package/dist/src/scalars/components/phid-field/phid-field.js.map +0 -1
  624. package/dist/src/scalars/components/phid-field/types.d.ts +0 -5
  625. package/dist/src/scalars/components/phid-field/types.d.ts.map +0 -1
  626. package/dist/src/scalars/components/phid-field/types.js +0 -2
  627. package/dist/src/scalars/components/phid-field/types.js.map +0 -1
  628. package/dist/src/scalars/components/string-field/index.d.ts +0 -2
  629. package/dist/src/scalars/components/string-field/index.d.ts.map +0 -1
  630. package/dist/src/scalars/components/string-field/index.js +0 -2
  631. package/dist/src/scalars/components/string-field/index.js.map +0 -1
  632. package/dist/src/scalars/components/string-field/string-field.d.ts +0 -7
  633. package/dist/src/scalars/components/string-field/string-field.d.ts.map +0 -1
  634. package/dist/src/scalars/components/string-field/string-field.js +0 -13
  635. package/dist/src/scalars/components/string-field/string-field.js.map +0 -1
  636. package/dist/src/scalars/components/time-picker-field/index.d.ts +0 -2
  637. package/dist/src/scalars/components/time-picker-field/index.d.ts.map +0 -1
  638. package/dist/src/scalars/components/time-picker-field/index.js +0 -2
  639. package/dist/src/scalars/components/time-picker-field/index.js.map +0 -1
  640. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +0 -3
  641. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +0 -1
  642. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +0 -48
  643. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +0 -1
  644. package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +0 -7
  645. package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +0 -1
  646. package/dist/src/scalars/components/time-picker-field/time-picker-field.js +0 -11
  647. package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +0 -1
  648. package/dist/src/scalars/components/types.d.ts.map +0 -1
  649. package/dist/src/scalars/components/types.js +0 -2
  650. package/dist/src/scalars/components/types.js.map +0 -1
  651. package/dist/src/scalars/components/url-field/index.d.ts +0 -3
  652. package/dist/src/scalars/components/url-field/index.d.ts.map +0 -1
  653. package/dist/src/scalars/components/url-field/index.js +0 -3
  654. package/dist/src/scalars/components/url-field/index.js.map +0 -1
  655. package/dist/src/scalars/components/url-field/url-favicon.d.ts +0 -8
  656. package/dist/src/scalars/components/url-field/url-favicon.d.ts.map +0 -1
  657. package/dist/src/scalars/components/url-field/url-favicon.js +0 -36
  658. package/dist/src/scalars/components/url-field/url-favicon.js.map +0 -1
  659. package/dist/src/scalars/components/url-field/url-field.d.ts +0 -9
  660. package/dist/src/scalars/components/url-field/url-field.d.ts.map +0 -1
  661. package/dist/src/scalars/components/url-field/url-field.js +0 -48
  662. package/dist/src/scalars/components/url-field/url-field.js.map +0 -1
  663. package/dist/src/scalars/components/url-field/url-input.d.ts +0 -11
  664. package/dist/src/scalars/components/url-field/url-input.d.ts.map +0 -1
  665. package/dist/src/scalars/components/url-field/url-input.js +0 -34
  666. package/dist/src/scalars/components/url-field/url-input.js.map +0 -1
  667. package/dist/src/scalars/components/url-field/useURLWarnings.d.ts +0 -5
  668. package/dist/src/scalars/components/url-field/useURLWarnings.d.ts.map +0 -1
  669. package/dist/src/scalars/components/url-field/useURLWarnings.js +0 -77
  670. package/dist/src/scalars/components/url-field/useURLWarnings.js.map +0 -1
  671. package/dist/src/scalars/hooks/useEllipsis.d.ts +0 -7
  672. package/dist/src/scalars/hooks/useEllipsis.d.ts.map +0 -1
  673. package/dist/src/scalars/hooks/useEllipsis.js +0 -21
  674. package/dist/src/scalars/hooks/useEllipsis.js.map +0 -1
  675. package/dist/src/scalars/index.d.ts +0 -4
  676. package/dist/src/scalars/index.d.ts.map +0 -1
  677. package/dist/src/scalars/index.js +0 -5
  678. package/dist/src/scalars/index.js.map +0 -1
  679. package/dist/src/scalars/lib/decorators.d.ts.map +0 -1
  680. package/dist/src/scalars/lib/decorators.js +0 -96
  681. package/dist/src/scalars/lib/decorators.js.map +0 -1
  682. package/dist/src/scalars/lib/deep-equal.d.ts.map +0 -1
  683. package/dist/src/scalars/lib/deep-equal.js.map +0 -1
  684. package/dist/src/scalars/lib/index.d.ts +0 -7
  685. package/dist/src/scalars/lib/index.d.ts.map +0 -1
  686. package/dist/src/scalars/lib/index.js +0 -7
  687. package/dist/src/scalars/lib/index.js.map +0 -1
  688. package/dist/src/scalars/lib/is-empty.d.ts.map +0 -1
  689. package/dist/src/scalars/lib/is-empty.js.map +0 -1
  690. package/dist/src/scalars/lib/share-number-validations.d.ts +0 -5
  691. package/dist/src/scalars/lib/share-number-validations.d.ts.map +0 -1
  692. package/dist/src/scalars/lib/share-number-validations.js +0 -32
  693. package/dist/src/scalars/lib/share-number-validations.js.map +0 -1
  694. package/dist/src/scalars/lib/shared-value-transformers.d.ts +0 -3
  695. package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +0 -1
  696. package/dist/src/scalars/lib/shared-value-transformers.js.map +0 -1
  697. package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +0 -1
  698. package/dist/src/scalars/lib/storybook-arg-types.js.map +0 -1
  699. package/dist/src/scalars/lib/testing.d.ts.map +0 -1
  700. package/dist/src/scalars/lib/testing.js.map +0 -1
  701. package/dist/src/scalars/lib/utils.d.ts +0 -3
  702. package/dist/src/scalars/lib/utils.d.ts.map +0 -1
  703. package/dist/src/scalars/lib/utils.js +0 -6
  704. package/dist/src/scalars/lib/utils.js.map +0 -1
  705. package/dist/src/scalars/lib/value-cast.d.ts.map +0 -1
  706. package/dist/src/scalars/lib/value-cast.js +0 -57
  707. package/dist/src/scalars/lib/value-cast.js.map +0 -1
  708. package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +0 -5
  709. package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +0 -1
  710. package/dist/src/ui/components/data-entry/aid-input/aid-input.js +0 -25
  711. package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +0 -1
  712. package/dist/src/ui/components/data-entry/aid-input/index.d.ts +0 -3
  713. package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +0 -1
  714. package/dist/src/ui/components/data-entry/aid-input/index.js +0 -2
  715. package/dist/src/ui/components/data-entry/aid-input/index.js.map +0 -1
  716. package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +0 -7
  717. package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +0 -1
  718. package/dist/src/ui/components/data-entry/aid-input/mocks.js +0 -319
  719. package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +0 -1
  720. package/dist/src/ui/components/data-entry/aid-input/types.d.ts +0 -25
  721. package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +0 -1
  722. package/dist/src/ui/components/data-entry/aid-input/types.js +0 -2
  723. package/dist/src/ui/components/data-entry/aid-input/types.js.map +0 -1
  724. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +0 -24
  725. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +0 -1
  726. package/dist/src/ui/components/data-entry/amount-input/amount-input.js +0 -34
  727. package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +0 -1
  728. package/dist/src/ui/components/data-entry/amount-input/index.d.ts +0 -2
  729. package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +0 -1
  730. package/dist/src/ui/components/data-entry/amount-input/index.js +0 -2
  731. package/dist/src/ui/components/data-entry/amount-input/index.js.map +0 -1
  732. package/dist/src/ui/components/data-entry/amount-input/types.d.ts +0 -43
  733. package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +0 -1
  734. package/dist/src/ui/components/data-entry/amount-input/types.js +0 -2
  735. package/dist/src/ui/components/data-entry/amount-input/types.js.map +0 -1
  736. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +0 -34
  737. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +0 -1
  738. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +0 -311
  739. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +0 -1
  740. package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +0 -17
  741. package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +0 -1
  742. package/dist/src/ui/components/data-entry/amount-input/utils.js +0 -92
  743. package/dist/src/ui/components/data-entry/amount-input/utils.js.map +0 -1
  744. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +0 -1
  745. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +0 -29
  746. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +0 -1
  747. package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +0 -10
  748. package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +0 -1
  749. package/dist/src/ui/components/data-entry/checkbox/checkbox.js +0 -22
  750. package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +0 -1
  751. package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +0 -1
  752. package/dist/src/ui/components/data-entry/checkbox/index.js.map +0 -1
  753. package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +0 -25
  754. package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +0 -1
  755. package/dist/src/ui/components/data-entry/date-picker/date-picker.js +0 -47
  756. package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +0 -1
  757. package/dist/src/ui/components/data-entry/date-picker/index.d.ts +0 -3
  758. package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +0 -1
  759. package/dist/src/ui/components/data-entry/date-picker/index.js +0 -2
  760. package/dist/src/ui/components/data-entry/date-picker/index.js.map +0 -1
  761. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +0 -49
  762. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +0 -1
  763. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +0 -112
  764. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +0 -1
  765. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +0 -8
  766. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +0 -1
  767. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +0 -8
  768. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +0 -1
  769. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +0 -22
  770. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +0 -1
  771. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +0 -81
  772. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +0 -1
  773. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +0 -9
  774. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +0 -1
  775. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +0 -15
  776. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +0 -1
  777. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +0 -8
  778. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +0 -1
  779. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +0 -8
  780. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +0 -1
  781. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts +0 -2
  782. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +0 -1
  783. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +0 -15
  784. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +0 -1
  785. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +0 -16
  786. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +0 -1
  787. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +0 -13
  788. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +0 -1
  789. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +0 -18
  790. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +0 -1
  791. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +0 -8
  792. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +0 -1
  793. package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +0 -1
  794. package/dist/src/ui/components/data-entry/date-picker/types.js +0 -2
  795. package/dist/src/ui/components/data-entry/date-picker/types.js.map +0 -1
  796. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +0 -38
  797. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +0 -1
  798. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +0 -130
  799. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +0 -1
  800. package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +0 -50
  801. package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +0 -1
  802. package/dist/src/ui/components/data-entry/date-picker/utils.js +0 -104
  803. package/dist/src/ui/components/data-entry/date-picker/utils.js.map +0 -1
  804. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +0 -25
  805. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +0 -1
  806. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +0 -16
  807. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +0 -1
  808. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +0 -33
  809. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +0 -1
  810. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +0 -37
  811. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +0 -1
  812. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +0 -30
  813. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +0 -1
  814. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +0 -50
  815. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +0 -1
  816. package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +0 -2
  817. package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +0 -1
  818. package/dist/src/ui/components/data-entry/date-time-picker/index.js +0 -2
  819. package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +0 -1
  820. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +0 -72
  821. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +0 -1
  822. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +0 -291
  823. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +0 -1
  824. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +0 -70
  825. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +0 -1
  826. package/dist/src/ui/components/data-entry/date-time-picker/utils.js +0 -217
  827. package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +0 -1
  828. package/dist/src/ui/components/data-entry/input/index.d.ts.map +0 -1
  829. package/dist/src/ui/components/data-entry/input/index.js.map +0 -1
  830. package/dist/src/ui/components/data-entry/input/input.d.ts.map +0 -1
  831. package/dist/src/ui/components/data-entry/input/input.js +0 -22
  832. package/dist/src/ui/components/data-entry/input/input.js.map +0 -1
  833. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +0 -8
  834. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +0 -1
  835. package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +0 -35
  836. package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +0 -1
  837. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +0 -1
  838. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +0 -8
  839. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +0 -1
  840. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +0 -9
  841. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +0 -1
  842. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +0 -27
  843. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +0 -1
  844. package/dist/src/ui/components/data-entry/oid-input/index.d.ts +0 -3
  845. package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +0 -1
  846. package/dist/src/ui/components/data-entry/oid-input/index.js +0 -2
  847. package/dist/src/ui/components/data-entry/oid-input/index.js.map +0 -1
  848. package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +0 -7
  849. package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +0 -1
  850. package/dist/src/ui/components/data-entry/oid-input/mocks.js +0 -119
  851. package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +0 -1
  852. package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +0 -5
  853. package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +0 -1
  854. package/dist/src/ui/components/data-entry/oid-input/oid-input.js +0 -21
  855. package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +0 -1
  856. package/dist/src/ui/components/data-entry/oid-input/types.d.ts +0 -16
  857. package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +0 -1
  858. package/dist/src/ui/components/data-entry/oid-input/types.js +0 -2
  859. package/dist/src/ui/components/data-entry/oid-input/types.js.map +0 -1
  860. package/dist/src/ui/components/data-entry/phid-input/index.d.ts +0 -3
  861. package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +0 -1
  862. package/dist/src/ui/components/data-entry/phid-input/index.js +0 -2
  863. package/dist/src/ui/components/data-entry/phid-input/index.js.map +0 -1
  864. package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +0 -7
  865. package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +0 -1
  866. package/dist/src/ui/components/data-entry/phid-input/mocks.js +0 -224
  867. package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +0 -1
  868. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +0 -13
  869. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +0 -1
  870. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +0 -52
  871. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +0 -1
  872. package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +0 -5
  873. package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +0 -1
  874. package/dist/src/ui/components/data-entry/phid-input/phid-input.js +0 -28
  875. package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +0 -1
  876. package/dist/src/ui/components/data-entry/phid-input/types.d.ts +0 -30
  877. package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +0 -1
  878. package/dist/src/ui/components/data-entry/phid-input/types.js +0 -2
  879. package/dist/src/ui/components/data-entry/phid-input/types.js.map +0 -1
  880. package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +0 -1
  881. package/dist/src/ui/components/data-entry/text-input/index.js.map +0 -1
  882. package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +0 -9
  883. package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +0 -1
  884. package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +0 -8
  885. package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +0 -1
  886. package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +0 -10
  887. package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +0 -1
  888. package/dist/src/ui/components/data-entry/text-input/text-input.js +0 -37
  889. package/dist/src/ui/components/data-entry/text-input/text-input.js.map +0 -1
  890. package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +0 -1
  891. package/dist/src/ui/components/data-entry/text-input/types.js +0 -2
  892. package/dist/src/ui/components/data-entry/text-input/types.js.map +0 -1
  893. package/dist/src/ui/components/data-entry/textarea/index.d.ts +0 -2
  894. package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +0 -1
  895. package/dist/src/ui/components/data-entry/textarea/index.js +0 -2
  896. package/dist/src/ui/components/data-entry/textarea/index.js.map +0 -1
  897. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +0 -13
  898. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +0 -1
  899. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +0 -9
  900. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +0 -1
  901. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +0 -12
  902. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +0 -1
  903. package/dist/src/ui/components/data-entry/textarea/textarea.js +0 -103
  904. package/dist/src/ui/components/data-entry/textarea/textarea.js.map +0 -1
  905. package/dist/src/ui/components/data-entry/time-picker/index.d.ts +0 -3
  906. package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +0 -1
  907. package/dist/src/ui/components/data-entry/time-picker/index.js +0 -2
  908. package/dist/src/ui/components/data-entry/time-picker/index.js.map +0 -1
  909. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +0 -8
  910. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +0 -1
  911. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +0 -8
  912. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +0 -1
  913. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +0 -25
  914. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +0 -1
  915. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +0 -12
  916. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +0 -1
  917. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts +0 -5
  918. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +0 -1
  919. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js +0 -5
  920. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +0 -1
  921. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +0 -5
  922. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +0 -1
  923. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +0 -28
  924. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +0 -1
  925. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +0 -13
  926. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +0 -1
  927. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +0 -106
  928. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +0 -1
  929. package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +0 -23
  930. package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +0 -1
  931. package/dist/src/ui/components/data-entry/time-picker/time-picker.js +0 -27
  932. package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +0 -1
  933. package/dist/src/ui/components/data-entry/time-picker/type.d.ts +0 -9
  934. package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +0 -1
  935. package/dist/src/ui/components/data-entry/time-picker/type.js +0 -2
  936. package/dist/src/ui/components/data-entry/time-picker/type.js.map +0 -1
  937. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +0 -42
  938. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +0 -1
  939. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +0 -144
  940. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +0 -1
  941. package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +0 -207
  942. package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +0 -1
  943. package/dist/src/ui/components/data-entry/time-picker/utils.js +0 -475
  944. package/dist/src/ui/components/data-entry/time-picker/utils.js.map +0 -1
  945. package/dist/src/ui/components/data-entry/toggle/index.d.ts +0 -2
  946. package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +0 -1
  947. package/dist/src/ui/components/data-entry/toggle/index.js +0 -2
  948. package/dist/src/ui/components/data-entry/toggle/index.js.map +0 -1
  949. package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +0 -11
  950. package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +0 -1
  951. package/dist/src/ui/components/data-entry/toggle/toggle-base.js +0 -10
  952. package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +0 -1
  953. package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +0 -11
  954. package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +0 -1
  955. package/dist/src/ui/components/data-entry/toggle/toggle.js +0 -17
  956. package/dist/src/ui/components/data-entry/toggle/toggle.js.map +0 -1
  957. package/dist/src/ui/components/dropdown/dropdown-example.d.ts +0 -3
  958. package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +0 -1
  959. package/dist/src/ui/components/dropdown/dropdown-example.js +0 -13
  960. package/dist/src/ui/components/dropdown/dropdown-example.js.map +0 -1
  961. package/dist/src/ui/components/dropdown/index.d.ts +0 -8
  962. package/dist/src/ui/components/dropdown/index.d.ts.map +0 -1
  963. package/dist/src/ui/components/dropdown/index.js +0 -8
  964. package/dist/src/ui/components/dropdown/index.js.map +0 -1
  965. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +0 -4
  966. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +0 -1
  967. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +0 -17
  968. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +0 -1
  969. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +0 -6
  970. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +0 -1
  971. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +0 -13
  972. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +0 -1
  973. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +0 -6
  974. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +0 -1
  975. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +0 -7
  976. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +0 -1
  977. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts +0 -5
  978. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +0 -1
  979. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +0 -7
  980. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +0 -1
  981. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +0 -3
  982. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +0 -1
  983. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +0 -6
  984. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +0 -1
  985. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts +0 -3
  986. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +0 -1
  987. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +0 -48
  988. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +0 -1
  989. package/dist/src/ui/components/object-set-table/index.d.ts +0 -2
  990. package/dist/src/ui/components/object-set-table/index.d.ts.map +0 -1
  991. package/dist/src/ui/components/object-set-table/index.js +0 -5
  992. package/dist/src/ui/components/object-set-table/index.js.map +0 -1
  993. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +0 -49
  994. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +0 -1
  995. package/dist/src/ui/components/object-set-table/logic/selection-manager.js +0 -97
  996. package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +0 -1
  997. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +0 -52
  998. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +0 -1
  999. package/dist/src/ui/components/object-set-table/logic/table-api.js +0 -105
  1000. package/dist/src/ui/components/object-set-table/logic/table-api.js.map +0 -1
  1001. package/dist/src/ui/components/object-set-table/mock-data.d.ts +0 -16
  1002. package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +0 -1
  1003. package/dist/src/ui/components/object-set-table/mock-data.js +0 -101
  1004. package/dist/src/ui/components/object-set-table/mock-data.js.map +0 -1
  1005. package/dist/src/ui/components/object-set-table/object-set-table.d.ts +0 -12
  1006. package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +0 -1
  1007. package/dist/src/ui/components/object-set-table/object-set-table.js +0 -53
  1008. package/dist/src/ui/components/object-set-table/object-set-table.js.map +0 -1
  1009. package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +0 -8
  1010. package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +0 -1
  1011. package/dist/src/ui/components/object-set-table/subcomponents/body.js +0 -114
  1012. package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +0 -1
  1013. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts +0 -3
  1014. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +0 -1
  1015. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +0 -7
  1016. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +0 -1
  1017. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts +0 -7
  1018. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +0 -1
  1019. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +0 -8
  1020. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +0 -1
  1021. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +0 -3
  1022. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +0 -1
  1023. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +0 -7
  1024. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +0 -1
  1025. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts +0 -8
  1026. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +0 -1
  1027. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +0 -15
  1028. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +0 -1
  1029. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +0 -4
  1030. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +0 -1
  1031. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +0 -14
  1032. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +0 -1
  1033. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +0 -3
  1034. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +0 -1
  1035. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +0 -6
  1036. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +0 -1
  1037. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +0 -3
  1038. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +0 -1
  1039. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +0 -6
  1040. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +0 -1
  1041. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts +0 -3
  1042. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +0 -1
  1043. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +0 -11
  1044. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +0 -1
  1045. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +0 -4
  1046. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +0 -1
  1047. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +0 -6
  1048. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +0 -1
  1049. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts +0 -3
  1050. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +0 -1
  1051. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +0 -7
  1052. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +0 -1
  1053. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts +0 -7
  1054. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +0 -1
  1055. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +0 -13
  1056. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +0 -1
  1057. package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +0 -8
  1058. package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +0 -1
  1059. package/dist/src/ui/components/object-set-table/subcomponents/header.js +0 -19
  1060. package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +0 -1
  1061. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts +0 -6
  1062. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +0 -1
  1063. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +0 -18
  1064. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +0 -1
  1065. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts +0 -5
  1066. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +0 -1
  1067. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +0 -16
  1068. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +0 -1
  1069. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +0 -24
  1070. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +0 -1
  1071. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +0 -41
  1072. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +0 -1
  1073. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +0 -49
  1074. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +0 -1
  1075. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +0 -109
  1076. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +0 -1
  1077. package/dist/src/ui/components/object-set-table/types.d.ts +0 -242
  1078. package/dist/src/ui/components/object-set-table/types.d.ts.map +0 -1
  1079. package/dist/src/ui/components/object-set-table/types.js +0 -2
  1080. package/dist/src/ui/components/object-set-table/types.js.map +0 -1
  1081. package/dist/src/ui/components/object-set-table/utils.d.ts +0 -90
  1082. package/dist/src/ui/components/object-set-table/utils.d.ts.map +0 -1
  1083. package/dist/src/ui/components/object-set-table/utils.js +0 -172
  1084. package/dist/src/ui/components/object-set-table/utils.js.map +0 -1
  1085. package/dist/src/ui/components/sidebar/index.d.ts +0 -4
  1086. package/dist/src/ui/components/sidebar/index.d.ts.map +0 -1
  1087. package/dist/src/ui/components/sidebar/index.js +0 -3
  1088. package/dist/src/ui/components/sidebar/index.js.map +0 -1
  1089. package/dist/src/ui/components/sidebar/mocked_tree.json +0 -5230
  1090. package/dist/src/ui/components/sidebar/sidebar.d.ts +0 -81
  1091. package/dist/src/ui/components/sidebar/sidebar.d.ts.map +0 -1
  1092. package/dist/src/ui/components/sidebar/sidebar.js +0 -62
  1093. package/dist/src/ui/components/sidebar/sidebar.js.map +0 -1
  1094. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +0 -7
  1095. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +0 -1
  1096. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +0 -17
  1097. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +0 -1
  1098. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +0 -8
  1099. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +0 -1
  1100. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +0 -17
  1101. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +0 -1
  1102. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +0 -19
  1103. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +0 -1
  1104. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +0 -82
  1105. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +0 -1
  1106. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +0 -2
  1107. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +0 -1
  1108. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +0 -13
  1109. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +0 -1
  1110. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +0 -2
  1111. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +0 -1
  1112. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +0 -2
  1113. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +0 -1
  1114. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +0 -37
  1115. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +0 -1
  1116. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +0 -292
  1117. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +0 -1
  1118. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +0 -93
  1119. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +0 -1
  1120. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +0 -135
  1121. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +0 -1
  1122. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +0 -4
  1123. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +0 -1
  1124. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +0 -4
  1125. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +0 -1
  1126. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +0 -8
  1127. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +0 -1
  1128. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +0 -6
  1129. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +0 -1
  1130. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +0 -8
  1131. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +0 -1
  1132. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +0 -8
  1133. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +0 -1
  1134. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +0 -6
  1135. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +0 -1
  1136. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +0 -36
  1137. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +0 -1
  1138. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +0 -8
  1139. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +0 -1
  1140. package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +0 -32
  1141. package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +0 -1
  1142. package/dist/src/ui/components/sidebar/types.d.ts +0 -23
  1143. package/dist/src/ui/components/sidebar/types.d.ts.map +0 -1
  1144. package/dist/src/ui/components/sidebar/types.js +0 -10
  1145. package/dist/src/ui/components/sidebar/types.js.map +0 -1
  1146. package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +0 -33
  1147. package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +0 -1
  1148. package/dist/src/ui/components/sidebar/use-sidebar-resize.js +0 -97
  1149. package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +0 -1
  1150. package/dist/src/ui/components/sidebar/utils.d.ts +0 -52
  1151. package/dist/src/ui/components/sidebar/utils.d.ts.map +0 -1
  1152. package/dist/src/ui/components/sidebar/utils.js +0 -238
  1153. package/dist/src/ui/components/sidebar/utils.js.map +0 -1
  1154. /package/dist/src/{scalars/components/aid-field → ui/components/amount-input}/types.js +0 -0
  1155. /package/dist/src/{scalars/components/fragments → ui/components}/button/button.d.ts +0 -0
  1156. /package/dist/src/{scalars/components/fragments → ui/components}/button/index.d.ts +0 -0
  1157. /package/dist/src/{scalars/components/fragments → ui/components}/button/index.js +0 -0
  1158. /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.d.ts +0 -0
  1159. /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.js +0 -0
  1160. /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.d.ts +0 -0
  1161. /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.js +0 -0
  1162. /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/checkbox-base.d.ts +0 -0
  1163. /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.d.ts +0 -0
  1164. /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.js +0 -0
  1165. /package/dist/src/{scalars/components/fragments → ui/components}/command/index.d.ts +0 -0
  1166. /package/dist/src/{scalars/components/fragments → ui/components}/command/index.js +0 -0
  1167. /package/dist/src/ui/components/{data-entry/date-picker → date-picker}/types.d.ts +0 -0
  1168. /package/dist/src/{scalars/components/country-code-field → ui/components/date-picker}/types.js +0 -0
  1169. /package/dist/src/{scalars → ui}/components/enum-field/index.d.ts +0 -0
  1170. /package/dist/src/{scalars → ui}/components/enum-field/index.js +0 -0
  1171. /package/dist/src/{scalars → ui}/components/enum-field/types.d.ts +0 -0
  1172. /package/dist/src/{scalars/components/currency-code-field → ui/components/enum-field}/types.js +0 -0
  1173. /package/dist/src/{scalars → ui}/components/form/form.d.ts +0 -0
  1174. /package/dist/src/{scalars → ui}/components/form/index.d.ts +0 -0
  1175. /package/dist/src/{scalars → ui}/components/form/index.js +0 -0
  1176. /package/dist/src/{scalars → ui}/components/form/utils.d.ts +0 -0
  1177. /package/dist/src/{scalars → ui}/components/form/utils.js +0 -0
  1178. /package/dist/src/{scalars/components/fragments → ui/components}/form-description/form-description.d.ts +0 -0
  1179. /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.d.ts +0 -0
  1180. /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.js +0 -0
  1181. /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.d.ts +0 -0
  1182. /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.js +0 -0
  1183. /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.d.ts +0 -0
  1184. /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.js +0 -0
  1185. /package/dist/src/{scalars/components/fragments → ui/components}/form-label/form-label.d.ts +0 -0
  1186. /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.d.ts +0 -0
  1187. /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.js +0 -0
  1188. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-message.d.ts +0 -0
  1189. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.d.ts +0 -0
  1190. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.js +0 -0
  1191. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.d.ts +0 -0
  1192. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.js +0 -0
  1193. /package/dist/src/{scalars/components/fragments → ui/components}/form-message/message-list.d.ts +0 -0
  1194. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.d.ts +0 -0
  1195. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.js +0 -0
  1196. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-input-container.d.ts +0 -0
  1197. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list-option.d.ts +0 -0
  1198. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list.d.ts +0 -0
  1199. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete.d.ts +0 -0
  1200. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.d.ts +0 -0
  1201. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.js +0 -0
  1202. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/types.d.ts +0 -0
  1203. /package/dist/src/{scalars/components/enum-field → ui/components/id-autocomplete}/types.js +0 -0
  1204. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.d.ts +0 -0
  1205. /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.js +0 -0
  1206. /package/dist/src/ui/components/{data-entry/input → input}/index.d.ts +0 -0
  1207. /package/dist/src/ui/components/{data-entry/input → input}/index.js +0 -0
  1208. /package/dist/src/ui/components/{data-entry/input → input}/input.d.ts +0 -0
  1209. /package/dist/src/ui/components/{data-entry/input → input}/subcomponent/input-diff.d.ts +0 -0
  1210. /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.d.ts +0 -0
  1211. /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.js +0 -0
  1212. /package/dist/src/{scalars/components/fragments → ui/components}/popover/popover.d.ts +0 -0
  1213. /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.d.ts +0 -0
  1214. /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.js +0 -0
  1215. /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.d.ts +0 -0
  1216. /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.js +0 -0
  1217. /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio.d.ts +0 -0
  1218. /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.d.ts +0 -0
  1219. /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.js +0 -0
  1220. /package/dist/src/{scalars/components/fragments → ui/components}/select-field/use-select-field.js +0 -0
  1221. /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.d.ts +0 -0
  1222. /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.js +0 -0
  1223. /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.d.ts +0 -0
  1224. /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.js +0 -0
  1225. /package/dist/src/ui/components/{data-entry/text-input → text-input}/types.d.ts +0 -0
  1226. /package/dist/src/{scalars/components/fragments/id-autocomplete → ui/components/text-input}/types.js +0 -0
  1227. /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.d.ts +0 -0
  1228. /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.js +0 -0
  1229. /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/value-transformer.d.ts +0 -0
  1230. /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.d.ts +0 -0
  1231. /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.js +0 -0
  1232. /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.d.ts +0 -0
  1233. /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.js +0 -0
  1234. /package/dist/src/{scalars → ui}/lib/decorators.d.ts +0 -0
  1235. /package/dist/src/{scalars → ui}/lib/deep-equal.d.ts +0 -0
  1236. /package/dist/src/{scalars → ui}/lib/deep-equal.js +0 -0
  1237. /package/dist/src/{scalars → ui}/lib/is-empty.d.ts +0 -0
  1238. /package/dist/src/{scalars → ui}/lib/is-empty.js +0 -0
  1239. /package/dist/src/{scalars → ui}/lib/shared-value-transformers.js +0 -0
  1240. /package/dist/src/{scalars → ui}/lib/storybook-arg-types.d.ts +0 -0
  1241. /package/dist/src/{scalars → ui}/lib/storybook-arg-types.js +0 -0
  1242. /package/dist/src/{scalars → ui}/lib/testing.d.ts +0 -0
  1243. /package/dist/src/{scalars → ui}/lib/testing.js +0 -0
  1244. /package/dist/src/{scalars → ui}/lib/value-cast.d.ts +0 -0
  1245. /package/dist/src/{scalars/components → ui}/types.d.ts +0 -0
  1246. /package/dist/src/{scalars/components/number-field → ui}/types.js +0 -0
@@ -0,0 +1,99 @@
1
+ import { format, isValid, parse } from "date-fns";
2
+ export const ALLOWED_FORMATS = [
3
+ "yyyy-MM-dd",
4
+ "dd/MM/yyyy",
5
+ "MM/dd/yyyy",
6
+ "dd-MMM-yyyy",
7
+ "MMM-dd-yyyy",
8
+ ];
9
+ export const dateFormatRegexes = {
10
+ "yyyy-MM-dd": /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/,
11
+ "dd/MM/yyyy": /^(0[1-9]|[12]\d|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/,
12
+ "MM/dd/yyyy": /^(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])\/\d{4}$/,
13
+ "dd-MMM-yyyy": /^(0[1-9]|[12]\d|3[01])-(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-\d{4}$/,
14
+ "MMM-dd-yyyy": /^(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(0[1-9]|[12]\d|3[01])-\d{4}$/,
15
+ };
16
+ /**
17
+ * Gets the current UTC offset for a specific time zone
18
+ * @param timeZone - The IANA time zone name (e.g. "America/New_York", "Europe/London").
19
+ * If not provided or invalid, falls back to local system timezone.
20
+ * @returns The offset in ISO 8601 format (±HH:mm) based on current DST rules.
21
+ * @example
22
+ * getOffset("America/New_York") // Returns "-04:00" (EDT) or "-05:00" (EST)
23
+ * getOffset("Asia/Kolkata") // Returns "+05:30" (IST - no DST)
24
+ * getOffset("Invalid/Zone") // Returns local system offset (e.g. "-03:00")
25
+ * getOffset() // Returns local system offset
26
+ */
27
+ /**
28
+ * Parse an input string to a valid date format
29
+ * @param inputString - The input string to parse
30
+ * @param dateFormat - The date format to use
31
+ * @returns The parsed date string
32
+ * @example
33
+ * parseInputString("2024-01-01 12:00:00", "yyyy-MM-dd HH:mm:ss") // "2024-01-01 12:00:00"
34
+ */
35
+ export const parseInputString = (inputString, dateFormat = ALLOWED_FORMATS[0]) => {
36
+ const newInputString = normalizeMonthFormat(inputString);
37
+ if (!dateFormat || !inputString)
38
+ return inputString;
39
+ // First check the specified format
40
+ const specifiedFormatRegex = dateFormatRegexes[dateFormat];
41
+ if (specifiedFormatRegex.test(newInputString)) {
42
+ const parsedDate = parse(newInputString, dateFormat, new Date());
43
+ if (isValid(parsedDate)) {
44
+ return format(parsedDate, dateFormat);
45
+ }
46
+ }
47
+ for (const [formatStr, regex] of Object.entries(dateFormatRegexes)) {
48
+ if (regex.test(newInputString)) {
49
+ const parsedDate = parse(newInputString, formatStr, new Date());
50
+ if (isValid(parsedDate)) {
51
+ const newValue = format(parsedDate, dateFormat || formatStr);
52
+ return newValue;
53
+ }
54
+ }
55
+ }
56
+ return inputString;
57
+ };
58
+ export const getDateFormat = (displayFormat) => {
59
+ switch (displayFormat) {
60
+ case "YYYY-MM-DD":
61
+ return "yyyy-MM-dd";
62
+ case "DD/MM/YYYY":
63
+ return "dd/MM/yyyy";
64
+ case "MM/DD/YYYY":
65
+ return "MM/dd/yyyy";
66
+ case "DD-MMM-YYYY":
67
+ return "dd-MMM-yyyy";
68
+ case "MMM-DD-YYYY":
69
+ return "MMM-dd-yyyy";
70
+ default:
71
+ return undefined;
72
+ }
73
+ };
74
+ export const normalizeMonthFormat = (dateString) => {
75
+ const months = [
76
+ "JAN",
77
+ "FEB",
78
+ "MAR",
79
+ "APR",
80
+ "MAY",
81
+ "JUN",
82
+ "JUL",
83
+ "AUG",
84
+ "SEP",
85
+ "OCT",
86
+ "NOV",
87
+ "DEC",
88
+ ];
89
+ return dateString.replace(/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)/i, (month) => {
90
+ const upperMonth = month.toUpperCase();
91
+ const monthIndex = months.indexOf(upperMonth);
92
+ if (monthIndex !== -1) {
93
+ return (months[monthIndex].charAt(0) +
94
+ months[monthIndex].slice(1).toLowerCase());
95
+ }
96
+ return month;
97
+ });
98
+ };
99
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/ui/components/date-time-picker/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,YAAY,EAAE,+CAA+C;IAC7D,YAAY,EAAE,iDAAiD;IAC/D,YAAY,EAAE,iDAAiD;IAC/D,aAAa,EACX,mFAAmF;IACrF,aAAa,EACX,mFAAmF;CACtF,CAAC;AAEF;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,WAAmB,EACnB,UAAU,GAAG,eAAe,CAAC,CAAC,CAAC,EACvB,EAAE;IACV,MAAM,cAAc,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAEzD,IAAI,CAAC,UAAU,IAAI,CAAC,WAAW;QAAE,OAAO,WAAW,CAAC;IAEpD,mCAAmC;IACnC,MAAM,oBAAoB,GACxB,iBAAiB,CAAC,UAA4C,CAAC,CAAC;IAClE,IAAI,oBAAoB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;QAC9C,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,EAAE,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;QACjE,IAAI,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACxB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AAU,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC;YACtB,OAAO,CACL,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;gBAC5B,MAAM,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAC1C,CAAC;QACJ,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CACF,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { type RadioGroupFieldProps } from "../radio-group-field/radio-group-field.js";
3
+ import { type SelectFieldProps } from "../select-field/select-field.js";
4
+ export type EnumFieldProps = ({
5
+ variant?: "auto";
6
+ } & (RadioGroupFieldProps | SelectFieldProps)) | ({
7
+ variant: "RadioGroup";
8
+ } & RadioGroupFieldProps) | ({
9
+ variant: "Select";
10
+ } & SelectFieldProps);
11
+ export declare const EnumField: React.ForwardRefExoticComponent<EnumFieldProps & React.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
12
+ //# sourceMappingURL=enum-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum-field.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/enum-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,cAAc,GACtB,CAAC;IACC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,CAAC,oBAAoB,GAAG,gBAAgB,CAAC,CAAC,GAC9C,CAAC;IACC,OAAO,EAAE,YAAY,CAAC;CACvB,GAAG,oBAAoB,CAAC,GACzB,CAAC;IACC,OAAO,EAAE,QAAQ,CAAC;CACnB,GAAG,gBAAgB,CAAC,CAAC;AAE1B,eAAO,MAAM,SAAS,2GA2BpB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { RadioGroupField, } from "../radio-group-field/radio-group-field.js";
4
+ import { SelectField, } from "../select-field/select-field.js";
5
+ export const EnumField = React.forwardRef(({ variant = "auto", options = [], ...props }, ref) => {
6
+ const radio = (_jsx(RadioGroupField, { options: options, ...props, ref: ref }));
7
+ const select = (_jsx(SelectField, { options: options, ...props, ref: ref }));
8
+ switch (variant) {
9
+ case "RadioGroup":
10
+ return radio;
11
+ case "Select":
12
+ return select;
13
+ case "auto":
14
+ return options.length < 6 ? radio : select;
15
+ }
16
+ });
17
+ EnumField.displayName = "EnumField";
18
+ //# sourceMappingURL=enum-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum-field.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/enum-field.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,GAEhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,WAAW,GAEZ,MAAM,iCAAiC,CAAC;AAazC,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAGvC,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACtD,MAAM,KAAK,GAAG,CACZ,KAAC,eAAe,IACd,OAAO,EAAE,OAAO,KACX,KAA8B,EACnC,GAAG,EAAE,GAAyC,GAC9C,CACH,CAAC;IACF,MAAM,MAAM,GAAG,CACb,KAAC,WAAW,IACV,OAAO,EAAE,OAAO,KACX,KAA0B,EAC/B,GAAG,EAAE,GAA4C,GACjD,CACH,CAAC;IAEF,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,YAAY;YACf,OAAO,KAAK,CAAC;QACf,KAAK,QAAQ;YACX,OAAO,MAAM,CAAC;QAChB,KAAK,MAAM;YACT,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IAC/C,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,EAAE,CAAC;IACJ,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,MAAM,WAAW,GACnB,CAAC,eAAe,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC,GACF,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,WAAW,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1C,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form/form.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAUzB,KAAK,WAAW,GAAG,aAAa,GAAG;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,UAAU,SAAS;IACjB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAExE;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEpC;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,sBAAsB,CAAC,EAAE,CACvB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,MAAM,EAAE,KACjB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,IAAI,qGAuJhB,CAAC"}
@@ -0,0 +1,138 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef, useCallback, useEffect, useId, useImperativeHandle, } from "react";
3
+ import { FormProvider, useForm, } from "react-hook-form";
4
+ import { castValue, deepEqual, isEmpty, } from "../../lib/index.js";
5
+ import { FormServerErrorMessage } from "../form-message/form-server-error-message.js";
6
+ import { defaultOnError } from "./utils.js";
7
+ /**
8
+ * A form component that integrates with react-hook-form for form state management and validation.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * // Basic usage
13
+ * <Form onSubmit={handleSubmit}>
14
+ * <StringField name="email" label="Email" />
15
+ * <Button type="submit">Submit</Button>
16
+ * </Form>
17
+ *
18
+ * // With form methods access
19
+ * <Form onSubmit={handleSubmit}>
20
+ * {({ formState: { isSubmitting } }) => (
21
+ * <>
22
+ * <StringField name="email" label="Email" />
23
+ * <Button type="submit" disabled={isSubmitting}>
24
+ * {isSubmitting ? 'Submitting...' : 'Submit'}
25
+ * </Button>
26
+ * </>
27
+ * )}
28
+ * </Form>
29
+ *
30
+ * // With default values
31
+ * <Form
32
+ * onSubmit={handleSubmit}
33
+ * defaultValues={{
34
+ * email: 'user@example.com'
35
+ * }}
36
+ * >
37
+ * <StringField name="email" label="Email" />
38
+ * </Form>
39
+ * ```
40
+ */
41
+ export const Form = forwardRef(({ children, onSubmit, resetOnSuccessfulSubmit = false, submitChangesOnly = false, defaultValues, renderSubmitErrorsManually = false, submissionErrorMatcher = defaultOnError, className, extraFormProps, }, ref) => {
42
+ const formId = useId();
43
+ const methods = useForm({
44
+ defaultValues,
45
+ criteriaMode: "all", // display all errors at once
46
+ ...extraFormProps,
47
+ });
48
+ useImperativeHandle(ref, () => methods, [methods]);
49
+ useEffect(() => {
50
+ if (resetOnSuccessfulSubmit && methods.formState.isSubmitSuccessful) {
51
+ methods.reset({ ...(defaultValues ?? {}) });
52
+ }
53
+ }, [
54
+ resetOnSuccessfulSubmit,
55
+ methods,
56
+ methods.formState.isSubmitSuccessful,
57
+ defaultValues,
58
+ ]);
59
+ const wrappedOnSubmit = useCallback(async (rawData) => {
60
+ try {
61
+ let data = rawData;
62
+ // we should make sure that empty fields are submitted as `null`
63
+ // react-hook-form doesn't submit fields with `undefined` values
64
+ // so we need to add them to the data as `null`
65
+ Object.keys(methods.control._fields).forEach((fieldName) => {
66
+ if (!Object.keys(data).includes(fieldName)) {
67
+ data[fieldName] = null;
68
+ }
69
+ });
70
+ if (submitChangesOnly && !!defaultValues) {
71
+ // remove fields that didn't change it's value
72
+ data = Object.fromEntries(Object.entries(rawData).filter(([fieldName, value]) => !deepEqual(value, defaultValues[fieldName])));
73
+ }
74
+ // at this point all the fields that need to be submitted are in the data
75
+ // we just need to make sure that "empty" values are submitted as `null`
76
+ data = Object.fromEntries(Object.entries(data).map(([fieldName, value]) => [
77
+ fieldName,
78
+ isEmpty(value) ? null : value,
79
+ ]));
80
+ // cast data if needed to prevent submitting wrong data type
81
+ const form = document.getElementById(formId);
82
+ Object.keys(data).map((key) => {
83
+ try {
84
+ const value = data[key];
85
+ if (value !== null) {
86
+ const field = form?.querySelector(`[name="${key}"]`);
87
+ const dataCast = field?.getAttribute("data-cast");
88
+ if (dataCast) {
89
+ data[key] = castValue(value, dataCast);
90
+ }
91
+ }
92
+ }
93
+ catch (error) {
94
+ // print out the error but continue the execution
95
+ console.error(error);
96
+ }
97
+ });
98
+ // we need to return the promise from the onSubmit callback if there is one
99
+ // so react-hook-form can wait for it to resolve and update the form state correctly
100
+ return await onSubmit(data);
101
+ }
102
+ catch (error) {
103
+ const errors = submissionErrorMatcher(error, Object.keys(methods.control._fields));
104
+ Object.entries(errors).forEach(([key, value]) => {
105
+ methods.setError(key, {
106
+ type: "serverError",
107
+ message: value,
108
+ types: {
109
+ serverError: value,
110
+ },
111
+ });
112
+ });
113
+ }
114
+ }, [
115
+ methods,
116
+ submitChangesOnly,
117
+ defaultValues,
118
+ formId,
119
+ onSubmit,
120
+ submissionErrorMatcher,
121
+ ]);
122
+ const triggerSubmit = useCallback(() => {
123
+ // trigger form submit event
124
+ const form = document.getElementById(formId);
125
+ if (form) {
126
+ form.dispatchEvent(new Event("submit", { bubbles: true }));
127
+ }
128
+ }, [formId]);
129
+ return (_jsxs(FormProvider, { ...methods, children: [!renderSubmitErrorsManually &&
130
+ methods.formState.errors.root?.serverError.message && (_jsx("div", { className: "mb-2", children: _jsx(FormServerErrorMessage, {}) })), _jsx("form", { id: formId, onSubmit: methods.handleSubmit(wrappedOnSubmit), className: className, noValidate: true, children: typeof children === "function"
131
+ ? children({
132
+ ...methods,
133
+ triggerSubmit,
134
+ formId,
135
+ })
136
+ : children })] }));
137
+ });
138
+ //# sourceMappingURL=form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../../src/ui/components/form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ACrC,4BAA4B;QAC5B,MAAM,IAAI,GAAG,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAC7D,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,CACL,MAAC,YAAY,OAAK,OAAO,aACtB,CAAC,0BAA0B;gBAC1B,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,IAAI,CACpD,cAAK,SAAS,EAAC,MAAM,YACnB,KAAC,sBAAsB,KAAG,GACtB,CACP,EAEH,eACE,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,EAC/C,SAAS,EAAE,SAAS,EACpB,UAAU,kBAET,OAAO,QAAQ,KAAK,UAAU;oBAC7B,CAAC,CAAC,QAAQ,CAAC;wBACP,GAAG,OAAO;wBACV,aAAa;wBACb,MAAM;qBACP,CAAC;oBACJ,CAAC,CAAC,QAAQ,GACP,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form/utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAqB,SAAQ,KAAK;IACjD,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAA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,CAAC,CAAC,CAAW,CAAC,EAAE,CAAC;gBAChE,aAAa,GAAG,IAAI,CAAC,CAAC,CAAW,CAAC;YACpC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO;QACL,CAAC,aAAa,CAAC,EAAE,OAAO;KACzB,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-description.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/form-description.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,iBAAiB;IACnE,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiBnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/index.js";
3
+ const FormDescription = ({ children, as, className, }) => {
4
+ const Component = as ?? "p";
5
+ return (_jsx(Component, { className: cn("font-sans text-sm font-normal leading-5 text-gray-600 dark:text-gray-500", className), children: children }));
6
+ };
7
+ export { FormDescription };
8
+ //# sourceMappingURL=form-description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-description.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/form-description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAOxC,MAAM,eAAe,GAAmC,CAAC,EACvD,QAAQ,EACR,EAAE,EACF,SAAS,GACV,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,EAAE,IAAI,GAAG,CAAC;IAE5B,OAAO,CACL,KAAC,SAAS,IACR,SAAS,EAAE,EAAE,CACX,0EAA0E,EAC1E,SAAS,CACV,YAEA,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-group.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/form-group.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAEvD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-group.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/form-group.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,SAAS,GAAsC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3E,OAAO,cAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,GAAO,CAAC;AAC/D,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/form-label.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,iBAAiB,EAC7B,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmE9C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Icon, cn } from "#powerhouse";
3
+ import { Tooltip, TooltipProvider } from "../tooltip/index.js";
4
+ export const FormLabel = ({ children, required, disabled, description, hasError, inline, className, ...htmlLabelProps }) => {
5
+ const classes = cn("inline-flex items-center text-sm font-medium", inline ? "leading-[22px]" : "leading-4", `text-gray-900 ${inline ? "dark:text-gray-400" : "dark:text-gray-50"}`, hasError && "group-hover:!text-red-900 dark:group-hover:!text-red-900", hasError && inline && "text-red-800 dark:text-red-800", hasError && !inline && "text-red-900 dark:text-red-900", disabled &&
6
+ `cursor-not-allowed text-gray-700 ${inline ? "dark:text-gray-600" : "dark:text-gray-300"}`, inline
7
+ ? !disabled && "group-hover:text-gray-900 dark:group-hover:text-slate-50"
8
+ : "mb-[3px]", className);
9
+ if (!children) {
10
+ // no label provided
11
+ return null;
12
+ }
13
+ const extraProps = {
14
+ ...htmlLabelProps,
15
+ };
16
+ return (_jsxs("label", { className: classes, ...extraProps, children: [children, required && (_jsx("span", { className: cn("ml-1 text-gray-800 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-slate-50", hasError &&
17
+ `${inline ? "!text-red-800" : "!text-red-900"} group-hover:!text-red-900`), children: "*" })), description && (_jsx(TooltipProvider, { children: _jsx(Tooltip, { content: description, children: _jsx(Icon, { name: "CircleInfo", size: 16, className: cn("ml-1 cursor-pointer text-gray-600 hover:text-gray-500 dark:text-gray-500 dark:hover:text-gray-500", disabled && "text-gray-500") }) }) }))] }));
18
+ };
19
+ //# sourceMappingURL=form-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-label.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/form-label.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAa/D,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,EAClD,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,MAAM,EACN,SAAS,EACT,GAAG,cAAc,EAClB,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,EAAE,CAChB,8CAA8C,EAC9C,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW,EACvC,iBAAiB,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,mBAAmB,EAAE,EACtE,QAAQ,IAAI,0DAA0D,EACtE,QAAQ,IAAI,MAAM,IAAI,gCAAgC,EACtD,QAAQ,IAAI,CAAC,MAAM,IAAI,gCAAgC,EACvD,QAAQ;QACN,oCACE,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,oBAClC,EAAE,EACJ,MAAM;QACJ,CAAC,CAAC,CAAC,QAAQ,IAAI,0DAA0D;QACzE,CAAC,CAAC,UAAU,EACd,SAAS,CACV,CAAC;IAEF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,oBAAoB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,UAAU,GAAG;QACjB,GAAG,cAAc;KAClB,CAAC;IAEF,OAAO,CACL,iBAAO,SAAS,EAAE,OAAO,KAAM,UAAU,aACtC,QAAQ,EACR,QAAQ,IAAI,CACX,eACE,SAAS,EAAE,EAAE,CACX,gGAAgG,EAChG,QAAQ;oBACN,GAAG,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,4BAA4B,CAC5E,kBAGI,CACR,EAEA,WAAW,IAAI,CACd,KAAC,eAAe,cACd,KAAC,OAAO,IAAC,OAAO,EAAE,WAAW,YAC3B,KAAC,IAAI,IACH,IAAI,EAAC,YAAY,EACjB,IAAI,EAAE,EAAE,EACR,SAAS,EAAE,EAAE,CACX,mGAAmG,EACnG,QAAQ,IAAI,eAAe,CAC5B,GACD,GACM,GACM,CACnB,IACK,CACT,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-message.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-message.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAE3D,KAAK,mBAAmB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI;IAC1E,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IACtD,mBAAmB,CAAC,CAAC,CAAC,GACpB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,mBAAmB,CAAC,CAAC;AAEvE,QAAA,MAAM,cAAc,MAAM,CAAC;AAE3B,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,OAAO,cAAc,EAC5E,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,KACvB,KAAK,CAAC,YAAY,GAAG,IA2BzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/index.js";
3
+ const defaultElement = "p";
4
+ export const FormMessage = ({ children, type = "info", as, className, ...props }) => {
5
+ const Component = as || defaultElement;
6
+ const typeClasses = {
7
+ error: "text-red-900 dark:text-red-900",
8
+ info: "text-blue-900 dark:text-blue-900",
9
+ warning: "text-yellow-900 dark:text-yellow-900",
10
+ };
11
+ const classes = cn("mb-0 inline-flex items-center text-xs font-medium", typeClasses[type], className);
12
+ // TODO: add icon
13
+ return (_jsx(Component, { "data-type": type, className: classes, ...props, children: children }));
14
+ };
15
+ //# sourceMappingURL=form-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-message.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-message.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAcxC,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAES,CAAC,EAChC,QAAQ,EACR,IAAI,GAAG,MAAM,EACb,EAAE,EACF,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,EAAE,IAAI,cAAc,CAAC;IAEvC,MAAM,WAAW,GAAoC;QACnD,KAAK,EAAE,gCAAgC;QACvC,IAAI,EAAE,kCAAkC;QACxC,OAAO,EAAE,sCAAsC;KAChD,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAChB,mDAAmD,EACnD,WAAW,CAAC,IAAI,CAAC,EACjB,SAAS,CACV,CAAC;IAEF,iBAAiB;IACjB,OAAO,CACL,KAAC,SAAS,iBAAY,IAAI,EAAE,SAAS,EAAE,OAAO,KAAM,KAAK,YACtD,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-server-error-message.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-server-error-message.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,sDAalC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-server-error-message.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-server-error-message.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,EAAE,CAAC;IAEvC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;QAChD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,eAAe,IACd,QAAQ,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EACrD,IAAI,EAAC,OAAO,GACZ,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-list.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/message-list.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEtE,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4C1D,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/index.js";
3
+ import { FormMessage } from "./form-message.js";
4
+ export const FormMessageList = ({ messages, type = "info", className, ...props }) => {
5
+ if (messages.length === 0) {
6
+ return null;
7
+ }
8
+ if (messages.length === 1) {
9
+ return (_jsx(FormMessage, { type: type, ...props, children: messages[0] }));
10
+ }
11
+ const typeClasses = {
12
+ error: "before:bg-red-900 dark:before:bg-red-900",
13
+ info: "before:bg-blue-900 dark:before:bg-blue-900",
14
+ warning: "before:bg-orange-900 dark:before:bg-orange-900",
15
+ };
16
+ return (_jsx("ul", { className: cn("flex flex-col gap-1", className), ...props, children: messages.map((message) => (_jsx(FormMessage, { as: "li", type: type, className: cn(
17
+ // Layout
18
+ "relative pl-4",
19
+ // Visual styles
20
+ "before:absolute before:left-0 before:top-[0.4em] before:size-2 before:rounded-full", typeClasses[type]), children: message }, message))) }));
21
+ };
22
+ //# sourceMappingURL=message-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-list.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/message-list.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAwB,MAAM,mBAAmB,CAAC;AAQtE,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAC9D,QAAQ,EACR,IAAI,GAAG,MAAM,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,CACL,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,KAAM,KAAK,YAC/B,QAAQ,CAAC,CAAC,CAAC,GACA,CACf,CAAC;IACJ,CAAC;IAED,MAAM,WAAW,GAAoC;QACnD,KAAK,EAAE,0CAA0C;QACjD,IAAI,EAAE,4CAA4C;QAClD,OAAO,EAAE,gDAAgD;KAC1D,CAAC;IAEF,OAAO,CACL,aAAI,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,KAAM,KAAK,YAC3D,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzB,KAAC,WAAW,IAEV,EAAE,EAAC,IAAI,EACP,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,EAAE;YACX,SAAS;YACT,eAAe;YACf,gBAAgB;YAChB,oFAAoF,EACpF,WAAW,CAAC,IAAI,CAAC,CAClB,YAEA,OAAO,IAXH,OAAO,CAYA,CACf,CAAC,GACC,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-context.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-context.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,kDAA6C,CAAC;AAEhF,eAAO,MAAM,wBAAwB,+BAA0C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-context.js","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAA0B,EAAE,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-input-container.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,UAAU,iCACR,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1D,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAClE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/D;AAED,QAAA,MAAM,4BAA4B,4GAyKjC,CAAC;AAEF,OAAO,EAAE,4BAA4B,EAAE,KAAK,iCAAiC,EAAE,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable react/jsx-no-bind */
3
+ import { Icon } from "#powerhouse";
4
+ import { Command as CommandPrimitive } from "cmdk";
5
+ import React, { useMemo, useState } from "react";
6
+ import { useMediaQuery } from "usehooks-ts";
7
+ import { cn } from "../../lib/index.js";
8
+ import { sharedValueTransformers } from "../../lib/shared-value-transformers.js";
9
+ import { Input } from "../input/index.js";
10
+ import { Tooltip, TooltipProvider } from "../tooltip/tooltip.js";
11
+ import ValueTransformer from "../value-transformer/value-transformer.js";
12
+ const IdAutocompleteInputContainer = React.forwardRef(({ id, name, value, className, isLoading, haveFetchError, disabled, onChange, onBlur, onClick, selectedOption, optionsLength, handleOpenChange, onKeyDown, onMouseDown, placeholder, hasError, label, required, isPopoverOpen, maxLength, handlePaste, onPaste, ...props }, ref) => {
13
+ const [hasCopied, setHasCopied] = useState(false);
14
+ const hasHover = useMediaQuery("(hover: hover) and (pointer: fine)");
15
+ const transformers = useMemo(() => [
16
+ sharedValueTransformers.trimOnBlur(),
17
+ sharedValueTransformers.trimOnEnter(),
18
+ ], []);
19
+ return (_jsxs("div", { className: cn("group relative"), children: [_jsx(ValueTransformer, { transformers: transformers, children: _jsx(CommandPrimitive.Input, { asChild: true, children: _jsx(Input, { id: id, name: name, value: value, className: cn("pr-9", className), disabled: disabled, onChange: onChange, onBlur: onBlur, onClick: (e) => {
20
+ const input = e.target;
21
+ if (!(isLoading || haveFetchError) &&
22
+ !selectedOption &&
23
+ input.value !== "") {
24
+ handleOpenChange?.(true);
25
+ }
26
+ onClick?.(e);
27
+ }, onKeyDown: (e) => {
28
+ onKeyDown?.(e);
29
+ const isOptionsRelatedKey = [
30
+ "ArrowUp",
31
+ "ArrowDown",
32
+ "Enter",
33
+ ].includes(e.key);
34
+ if (e.key === "Enter" && isPopoverOpen && optionsLength === 0) {
35
+ handleOpenChange?.(false);
36
+ e.preventDefault();
37
+ return;
38
+ }
39
+ if (!(isOptionsRelatedKey && isPopoverOpen && optionsLength > 0)) {
40
+ e.stopPropagation();
41
+ }
42
+ }, onMouseDown: (e) => {
43
+ const input = e.target;
44
+ if (!input.contains(document.activeElement)) {
45
+ // wait for the next tick to ensure the focus occurs first
46
+ requestAnimationFrame(() => {
47
+ input.select();
48
+ });
49
+ }
50
+ onMouseDown?.(e);
51
+ }, onPaste: (e) => {
52
+ handlePaste?.(e);
53
+ onPaste?.(e);
54
+ }, placeholder: placeholder, "aria-invalid": hasError, "aria-label": !label ? "Id Autocomplete" : undefined, "aria-required": required, "aria-expanded": isPopoverOpen, maxLength: maxLength, ...props, ref: ref }) }) }), _jsxs("div", { className: cn("absolute right-3 top-1/2 flex size-4 -translate-y-1/2 items-center", !isLoading &&
55
+ !haveFetchError &&
56
+ !selectedOption &&
57
+ "pointer-events-none"), children: [isLoading && (_jsx(Icon, { name: "Reload", size: 16, className: cn("animate-spin text-gray-500 dark:text-gray-600") })), haveFetchError && (_jsx(TooltipProvider, { children: _jsx(Tooltip, { content: "Network error!", children: _jsx(Icon, { name: "Error", size: 16, className: cn("text-red-900") }) }) })), selectedOption && !isLoading && !haveFetchError && (_jsx(TooltipProvider, { children: _jsx(Tooltip, { content: "Copied!", open: hasCopied, triggerAsChild: true, children: _jsx("button", { type: "button", onClick: () => {
58
+ navigator.clipboard
59
+ .writeText(selectedOption.value)
60
+ .then(() => {
61
+ setHasCopied(true);
62
+ setTimeout(() => setHasCopied(false), 2000);
63
+ })
64
+ .catch((error) => {
65
+ console.error("Failed to copy value: ", error);
66
+ });
67
+ }, className: cn("focus-visible:outline-none [&_svg]:pointer-events-none", hasHover &&
68
+ "opacity-0 transition-opacity duration-500 group-hover:opacity-100"), children: _jsx(Icon, { name: "Copy", size: 16, className: cn("text-gray-500 dark:text-gray-600") }) }) }) }))] })] }));
69
+ });
70
+ export { IdAutocompleteInputContainer };
71
+ //# sourceMappingURL=id-autocomplete-input-container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-input-container.js","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,gBAEN,MAAM,2CAA2C,CAAC;AAuBnD,MAAM,4BAA4B,GAAG,KAAK,CAAC,UAAU,CAInD,CACE,EACE,EAAE,EACF,IAAI,EACJ,KAAK,EACL,SAAS,EACT,SAAS,EACT,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,WA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AA4B,EAA0C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-autocomplete-list-option.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-list-option.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAuE5E,KAAK,6BAA6B,GAAG;IACnC,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC;CACjD,GAAG,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAElD,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAgJrE,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,KAAK,6BAA6B,EAAE,CAAC"}