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

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
@@ -1,311 +0,0 @@
1
- import { useEffect, useMemo, useState } from "react";
2
- import { isValidNumber } from "../../../../scalars/components/number-field/number-field-validations.js";
3
- import { createAmountValue, displayValueAmount, getDefaultUnits, handleEventOnBlur, handleEventOnChange, isNotSafeValue, isValidBigInt, isValidNumberGreaterThanMaxSafeInteger, } from "./utils.js";
4
- export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, precision, viewPrecision, trailingZeros, units, }) => {
5
- const currentValue = value ?? defaultValue;
6
- const baseValue = useMemo(() => {
7
- if (currentValue === undefined) {
8
- return undefined;
9
- }
10
- // If it's an object (for any type), we extract the amount property
11
- if (typeof currentValue === "object") {
12
- return currentValue.amount;
13
- }
14
- // If it's a primitive value (for AmountPercentage)
15
- return currentValue;
16
- }, [currentValue]);
17
- useEffect(() => {
18
- if (type === "AmountPercentage") {
19
- if (typeof currentValue === "object") {
20
- const newValue = currentValue.amount === ""
21
- ? ""
22
- : currentValue.amount === undefined
23
- ? ""
24
- : currentValue.amount;
25
- const nativeEvent = handleEventOnChange(newValue);
26
- onChange?.(nativeEvent);
27
- return;
28
- }
29
- if (typeof currentValue === "number" ||
30
- typeof currentValue === "string" ||
31
- typeof currentValue === "bigint" ||
32
- typeof currentValue === "undefined") {
33
- const nativeEvent = handleEventOnChange(currentValue);
34
- onChange?.(nativeEvent);
35
- }
36
- }
37
- if ((type === "AmountFiat" ||
38
- type === "AmountCrypto" ||
39
- type === "Amount" ||
40
- type === "AmountCurrency") &&
41
- (typeof currentValue === "number" || typeof currentValue === "string")) {
42
- const newValue = {
43
- amount: currentValue,
44
- unit: "",
45
- };
46
- const nativeEvent = handleEventOnChange(newValue);
47
- onChange?.(nativeEvent);
48
- }
49
- }, [currentValue, onChange, type]);
50
- const valueSelect = useMemo(() => {
51
- if (currentValue === undefined) {
52
- return undefined;
53
- }
54
- // If it's an object, we try to get the unit property
55
- if (typeof currentValue === "object" && "unit" in currentValue) {
56
- return currentValue.unit;
57
- }
58
- return undefined;
59
- }, [currentValue]);
60
- const isBigInt = type === "AmountCrypto" ||
61
- (type === "AmountCurrency" &&
62
- isValidNumberGreaterThanMaxSafeInteger(baseValue?.toString()));
63
- const [inputFocused, setInputFocused] = useState(false);
64
- const rawAmountState = baseValue?.toString() ?? "";
65
- const displayValueAmountState = useMemo(() => {
66
- if (inputFocused) {
67
- return rawAmountState;
68
- }
69
- if (type === "Amount" ||
70
- type === "AmountPercentage" ||
71
- type === "AmountFiat") {
72
- if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
73
- // Return the value without formatting if not valid
74
- return baseValue?.toString() ?? "";
75
- }
76
- }
77
- if (type === "AmountCrypto") {
78
- return baseValue?.toString();
79
- }
80
- if (type === "AmountCurrency") {
81
- if (isValidNumberGreaterThanMaxSafeInteger(rawAmountState)) {
82
- // // Return the value without formatting if not valid
83
- return baseValue?.toString() ?? "";
84
- }
85
- if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
86
- // Return the value without formatting if not valid
87
- return baseValue?.toString() ?? "";
88
- }
89
- }
90
- // Here its safe to format the value
91
- return displayValueAmount(baseValue?.toString() ?? "", precision, viewPrecision, trailingZeros);
92
- }, [
93
- inputFocused,
94
- type,
95
- baseValue,
96
- precision,
97
- viewPrecision,
98
- trailingZeros,
99
- rawAmountState,
100
- ]);
101
- const isPercent = type === "AmountPercentage";
102
- const isAmountWithUnit = type === "Amount" && typeof value === "object" && "unit" in value;
103
- const isAmountWithoutUnit = type === "Amount" && !isAmountWithUnit;
104
- const isShowSelect = (isAmountWithUnit && units && units.length > 0) ||
105
- type === "AmountFiat" ||
106
- type === "AmountCrypto" ||
107
- type === "AmountCurrency";
108
- // Handle the change of the input
109
- const handleOnChangeInput = (e) => {
110
- const inputValue = e.target.value;
111
- if (type === "AmountFiat" && typeof value === "object") {
112
- const newValue = {
113
- ...value,
114
- amount: createAmountValue(inputValue),
115
- };
116
- const nativeEvent = handleEventOnChange(newValue);
117
- onChange?.(nativeEvent);
118
- }
119
- // Handle the change of the currency crypto
120
- if (type === "AmountCrypto" && typeof value === "object") {
121
- const newValueCurrencyCrypto = {
122
- ...value,
123
- amount: createAmountValue(inputValue),
124
- };
125
- const nativeEvent = handleEventOnChange(newValueCurrencyCrypto);
126
- onChange?.(nativeEvent);
127
- }
128
- if (type === "AmountPercentage") {
129
- const amountValue = createAmountValue(inputValue);
130
- const nativeEvent = handleEventOnChange(amountValue);
131
- onChange?.(nativeEvent);
132
- }
133
- // Handle the change of the universal amount
134
- if (type === "AmountCurrency" && typeof value === "object") {
135
- const newValue = {
136
- ...value,
137
- amount: createAmountValue(inputValue),
138
- };
139
- const nativeEvent = handleEventOnChange(newValue);
140
- onChange?.(nativeEvent);
141
- }
142
- if (type === "Amount" && typeof value === "object") {
143
- const newValue = {
144
- ...value,
145
- amount: createAmountValue(inputValue),
146
- };
147
- const nativeEvent = handleEventOnChange(newValue);
148
- onChange?.(nativeEvent);
149
- }
150
- };
151
- // Handle the change of the select
152
- const handleOnChangeSelect = (e) => {
153
- let newValue = {};
154
- if (type === "AmountFiat" && typeof value === "object") {
155
- newValue = {
156
- ...value,
157
- unit: typeof e === "string" ? e : undefined,
158
- };
159
- }
160
- if (type === "AmountCrypto" && typeof value === "object") {
161
- newValue = {
162
- ...value,
163
- unit: typeof e === "string" ? e : undefined,
164
- };
165
- }
166
- if (type === "AmountCurrency" && typeof value === "object") {
167
- newValue = {
168
- ...value,
169
- unit: typeof e === "string" ? e : undefined,
170
- };
171
- }
172
- if (type === "Amount" && typeof value === "object") {
173
- newValue = {
174
- ...value,
175
- unit: typeof e === "string" ? e : undefined,
176
- };
177
- }
178
- const nativeEvent = handleEventOnChange(newValue);
179
- onChange?.(nativeEvent);
180
- };
181
- const handleBlur = (e) => {
182
- setInputFocused(false);
183
- const inputValue = e.target.value;
184
- //Avoid transformation if the value is not a number
185
- if (type === "AmountFiat" && typeof value === "object") {
186
- if (!isValidNumber(inputValue)) {
187
- const newValue = {
188
- ...value,
189
- amount: inputValue,
190
- };
191
- const nativeEvent = handleEventOnBlur(newValue);
192
- onBlur?.(nativeEvent);
193
- return;
194
- }
195
- // Avoid transformation if the value is not a number
196
- if (isNotSafeValue(inputValue)) {
197
- const newValue = {
198
- ...value,
199
- amount: inputValue,
200
- };
201
- const nativeEvent = handleEventOnBlur(newValue);
202
- onBlur?.(nativeEvent);
203
- return;
204
- }
205
- const formatValue = displayValueAmount(inputValue, precision, viewPrecision, trailingZeros);
206
- // Update the state with the formatted value
207
- const newValue = {
208
- ...value,
209
- amount: formatValue,
210
- };
211
- const nativeEvent = handleEventOnBlur(newValue);
212
- onBlur?.(nativeEvent);
213
- }
214
- if (type === "AmountCrypto" && typeof value === "object") {
215
- if (!isValidBigInt(inputValue) || isNotSafeValue(inputValue)) {
216
- const newValue = {
217
- ...value,
218
- amount: inputValue,
219
- };
220
- const nativeEventBlur = handleEventOnBlur(newValue);
221
- onBlur?.(nativeEventBlur);
222
- return;
223
- }
224
- const newValue = {
225
- ...value,
226
- amount: inputValue,
227
- };
228
- const nativeEventBlur = handleEventOnBlur(newValue);
229
- onBlur?.(nativeEventBlur);
230
- }
231
- if (type === "Amount" || type === "AmountPercentage") {
232
- if (!isValidNumber(inputValue)) {
233
- const nativeEventBlur = handleEventOnBlur(inputValue);
234
- onBlur?.(nativeEventBlur);
235
- return;
236
- }
237
- // Avoid transformation if the value is not a number
238
- if (isNotSafeValue(inputValue)) {
239
- const newValue = inputValue;
240
- const nativeEventBlur = handleEventOnBlur(newValue);
241
- onBlur?.(nativeEventBlur);
242
- return;
243
- }
244
- const formatValue = displayValueAmount(inputValue, precision, viewPrecision, trailingZeros);
245
- const nativeEventBlur = handleEventOnBlur(formatValue);
246
- onBlur?.(nativeEventBlur);
247
- return;
248
- }
249
- // Handle the blur event for AmountCurrency
250
- if (type === "AmountCurrency" && typeof value === "object") {
251
- if (isValidBigInt(inputValue) &&
252
- isValidNumberGreaterThanMaxSafeInteger(inputValue)) {
253
- const formatValue = inputValue;
254
- const nativeEventBlur = handleEventOnBlur(formatValue);
255
- onBlur?.(nativeEventBlur);
256
- return;
257
- }
258
- // Avoid transformation if the value is not a number
259
- if (!isValidNumber(inputValue)) {
260
- const newValue = {
261
- ...value,
262
- amount: inputValue,
263
- };
264
- onBlur?.(newValue);
265
- return;
266
- }
267
- const formatValue = viewPrecision !== undefined
268
- ? trailingZeros
269
- ? parseFloat(inputValue).toFixed(viewPrecision)
270
- : parseFloat(parseFloat(inputValue).toFixed(viewPrecision)).toString()
271
- : inputValue;
272
- if (isNotSafeValue(inputValue)) {
273
- const newValue = {
274
- ...value,
275
- amount: inputValue,
276
- };
277
- const nativeEventBlur = handleEventOnBlur(newValue);
278
- onBlur?.(nativeEventBlur);
279
- return;
280
- }
281
- const newValue = {
282
- ...value,
283
- amount: formatValue,
284
- };
285
- onBlur?.(newValue);
286
- }
287
- };
288
- const handleIsInputFocused = () => {
289
- setInputFocused(true);
290
- };
291
- const options = units ?? getDefaultUnits(type);
292
- //Put the placeholder in case that value its not in the options
293
- const validatedValueSelect = valueSelect && units?.some((unit) => unit.ticker === valueSelect)
294
- ? valueSelect
295
- : undefined;
296
- return {
297
- isPercent,
298
- isShowSelect,
299
- options,
300
- valueInput: displayValueAmountState,
301
- valueSelect: validatedValueSelect,
302
- handleOnChangeInput,
303
- handleOnChangeSelect,
304
- handleBlur,
305
- isBigInt,
306
- handleIsInputFocused,
307
- inputFocused,
308
- isAmountWithoutUnit,
309
- };
310
- };
311
- //# sourceMappingURL=use-amount-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"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,CAAC,aAAa,CAAC,CAC9C,CAAC,QAAQ,EAAE;gBAChB,CAAC,CAAC,UAAU,CAAC;YACjB,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC/B,MAAM,QAAQ,GAAG;oBACf,GAAG,KAAK;oBACR,MAAM,EAAE,UAAU;iBACnB,CAAC;gBACF,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;gBACpD,MAAM,EAAE,CAAC,eAAe,CAAC,CAAC;gBAC1B,OAAO;YACT,CAAC;YACD,MAAM,QAAQ,GAAG;gBACf,GAAG,KAAK;gBACR,MAAM,EAAE,WAAW;aACpB,CAAC;YACF,MAAM,EAAE,CAAC,QAAyD,CAAC,CAAC;QACtE,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;QAChC,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,CAAC;IACF,MAAM,OAAO,GAAG,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;IAC/C,+DAA+D;IAC/D,MAAM,oBAAoB,GACxB,WAAW,IAAI,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,WAAW,CAAC;QAC/D,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO;QACL,SAAS;QACT,YAAY;QACZ,OAAO;QACP,UAAU,EAAE,uBAAuB;QACnC,WAAW,EAAE,oBAAoB;QACjC,mBAAmB;QACnB,oBAAoB;QACpB,UAAU;QACV,QAAQ;QACR,oBAAoB;QACpB,YAAY;QACZ,mBAAmB;KACpB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,17 +0,0 @@
1
- import { type Currency } from "#scalars";
2
- import type { AmountInputPropsGeneric, AmountValue } from "./types.js";
3
- export declare const getDefaultUnits: (type: AmountInputPropsGeneric["type"]) => {
4
- ticker: string;
5
- crypto: boolean;
6
- label: string;
7
- symbol: string;
8
- }[];
9
- export declare const isValidBigInt: (value: string | undefined) => boolean;
10
- export declare const isValidNumberGreaterThanMaxSafeInteger: (value: string | undefined) => boolean;
11
- export declare const isNotSafeValue: (value: string) => boolean;
12
- export declare const displayValueAmount: (value?: string, precision?: number, viewPrecision?: number, trailingZeros?: boolean) => string | number | undefined;
13
- export declare const handleEventOnChange: <T>(value: T) => React.ChangeEvent<HTMLInputElement>;
14
- export declare const handleEventOnBlur: <T>(value: T) => React.FocusEvent<HTMLInputElement>;
15
- export declare const createAmountValue: (inputValue: string) => string | undefined;
16
- export declare const isValidUnit: (type: AmountInputPropsGeneric["type"], value: AmountValue, units?: Currency[]) => boolean;
17
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEvE,eAAO,MAAM,eAAe,GAAI,MAAM,uBAAuB,CAAC,MAAM,CAAC;;;;;GAWpE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAOzD,CAAC;AAEF,eAAO,MAAM,sCAAsC,GACjD,OAAO,MAAM,GAAG,SAAS,YAS1B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,YAE3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,MAAM,EACd,YAAY,MAAM,EAClB,gBAAgB,MAAM,EACtB,gBAAgB,OAAO,gCA4BxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,CAAC,KASZ,KAAK,CAAC,WAAW,CAAC,gBAAgB,CACpE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAE,OAAO,CAAC,KASV,KAAK,CAAC,UAAU,CAAC,gBAAgB,CACnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,uBAEnD,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,MAAM,uBAAuB,CAAC,MAAM,CAAC,EACrC,OAAO,WAAW,EAClB,QAAQ,QAAQ,EAAE,YAgBnB,CAAC"}
@@ -1,92 +0,0 @@
1
- import { cryptoCurrencies, currencies, fiatCurrencies, } from "#scalars";
2
- export const getDefaultUnits = (type) => {
3
- switch (type) {
4
- case "AmountFiat":
5
- return fiatCurrencies();
6
- case "AmountCrypto":
7
- return cryptoCurrencies();
8
- case "AmountCurrency":
9
- return currencies();
10
- default:
11
- return [];
12
- }
13
- };
14
- export const isValidBigInt = (value) => {
15
- if (!value) {
16
- return false;
17
- }
18
- // Ensure the value contains only digits (no decimal points)
19
- const bigintRegex = /^\d+$/;
20
- return bigintRegex.test(value);
21
- };
22
- export const isValidNumberGreaterThanMaxSafeInteger = (value) => {
23
- if (!value) {
24
- return false;
25
- }
26
- const isValidBigIntValue = isValidBigInt(value);
27
- return (isValidBigIntValue && Math.abs(Number(value)) > Number.MAX_SAFE_INTEGER);
28
- };
29
- export const isNotSafeValue = (value) => {
30
- return Math.abs(Number(value)) > Number.MAX_SAFE_INTEGER;
31
- };
32
- export const displayValueAmount = (value, precision, viewPrecision, trailingZeros) => {
33
- if (!value) {
34
- return undefined; // Return undefined if no value is provided
35
- }
36
- // If viewPrecision is provided but not precision, format to viewPrecision
37
- if (viewPrecision !== undefined && precision === undefined) {
38
- const formattedValue = parseFloat(value).toFixed(viewPrecision);
39
- return trailingZeros
40
- ? formattedValue
41
- : parseFloat(formattedValue).toString();
42
- }
43
- // If precision is provided but not viewPrecision, truncate to precision
44
- if (precision !== undefined && viewPrecision === undefined) {
45
- const formattedValue = parseFloat(value).toFixed(precision);
46
- // If the number of decimals is greater than or equal to the precision, apply toFixed
47
- return parseFloat(formattedValue).toString();
48
- }
49
- // If both are present, show the value with viewPrecision when focused
50
- if (precision !== undefined && viewPrecision !== undefined) {
51
- const formattedValue = parseFloat(value).toFixed(viewPrecision);
52
- return trailingZeros ? formattedValue : parseFloat(formattedValue);
53
- }
54
- return value;
55
- };
56
- export const handleEventOnChange = (value) => {
57
- const nativeEvent = new Event("change", { bubbles: true, cancelable: true });
58
- Object.defineProperty(nativeEvent, "target", {
59
- value: { value },
60
- writable: false,
61
- });
62
- return nativeEvent;
63
- };
64
- export const handleEventOnBlur = (value) => {
65
- const nativeEvent = new Event("blur", { bubbles: true, cancelable: true });
66
- Object.defineProperty(nativeEvent, "target", {
67
- value: { value },
68
- writable: false,
69
- });
70
- return nativeEvent;
71
- };
72
- export const createAmountValue = (inputValue) => {
73
- return inputValue === "" ? undefined : inputValue;
74
- };
75
- export const isValidUnit = (type, value, units) => {
76
- if (!units)
77
- return true;
78
- if (type === "Amount" && typeof value === "object" && "unit" in value) {
79
- return units.some((u) => u.ticker === value.unit);
80
- }
81
- if (type === "AmountCurrency" && typeof value === "object") {
82
- return units.some((u) => u.ticker === value.unit);
83
- }
84
- if (type === "AmountCrypto" && typeof value === "object") {
85
- return units.some((u) => u.ticker === value.unit);
86
- }
87
- if (type === "AmountFiat" && typeof value === "object") {
88
- return units.some((u) => u.ticker === value.unit);
89
- }
90
- return false;
91
- };
92
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,UAAU,EAEV,cAAc,GACf,MAAM,UAAU,CAAC;AAGlB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAqC,EAAE,EAAE;IACvE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,YAAY;YACf,OAAO,cAAc,EAAE,CAAC;QAC1B,KAAK,cAAc;YACjB,OAAO,gBAAgB,EAAE,CAAC;QAC5B,KA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C,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox-base.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox-base.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,aAAa,GAAG,OAAO,GAAG,eAAe,CAAC;AAQ/C,QAAA,MAAM,YAAY;cAHN,OAAO;2CAwEjB,CAAC;AAIH,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAAE,CAAC"}
@@ -1,29 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from "#scalars";
3
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4
- import * as React from "react";
5
- const CheckboxBase = React.forwardRef(({ className, checked, invalid, ...props }, ref) => (_jsx(CheckboxPrimitive.Root, { ref: ref, className: cn(
6
- // Base styles
7
- "peer size-4 shrink-0 rounded",
8
- // Border & Shadow
9
- "border-input border shadow-sm shadow-black/[.04]",
10
- // Background & Ring
11
- "ring-offset-background transition-shadow",
12
- // Focus styles
13
- "focus-visible:border-ring focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
14
- // Disabled state
15
- "disabled:cursor-not-allowed disabled:border-gray-700 disabled:data-[invalid=false]:data-[state=checked]:bg-gray-700 disabled:data-[invalid=false]:data-[state=indeterminate]:bg-gray-700 dark:disabled:data-[invalid=false]:data-[state=checked]:bg-gray-500 dark:disabled:data-[invalid=false]:data-[state=indeterminate]:bg-gray-500",
16
- // Checked & Indeterminate states
17
- "data-[state]:border-gray-700 dark:data-[state]:border-gray-500", "data-[state=checked]:bg-gray-900 data-[state=indeterminate]:bg-gray-900 dark:data-[state=checked]:bg-gray-400 dark:data-[state=indeterminate]:bg-gray-400", "data-[state=checked]:text-slate-50 data-[state=indeterminate]:text-slate-50 dark:data-[state=checked]:text-gray-900 dark:data-[state=indeterminate]:text-gray-900",
18
- // hover states
19
- !props.disabled && [
20
- "group-hover:border-gray-900 data-[state=checked]:group-hover:bg-gray-900 data-[state=indeterminate]:group-hover:bg-gray-900",
21
- "dark:group-hover:border-slate-50 dark:data-[state=checked]:group-hover:bg-slate-50 dark:data-[state=indeterminate]:group-hover:bg-slate-50",
22
- ],
23
- // Error state
24
- "data-[invalid=true]:data-[state]:!border-red-800 data-[invalid=true]:data-[state=checked]:!bg-red-800 data-[invalid=true]:data-[state=indeterminate]:!bg-red-800", "dark:data-[invalid=true]:data-[state]:!border-red-800 dark:data-[invalid=true]:data-[state=checked]:!bg-red-800 dark:data-[invalid=true]:data-[state=indeterminate]:!bg-red-800",
25
- // error hover states
26
- "data-[invalid=true]:group-hover:!border-red-900 data-[invalid=true]:data-[state=checked]:group-hover:!bg-red-900 data-[invalid=true]:data-[state=indeterminate]:group-hover:!bg-red-900", className), checked: checked, "data-invalid": invalid, ...props, children: _jsx(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: checked === "indeterminate" ? (_jsx("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z" }) })) : checked ? (_jsx("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z" }) })) : null }) })));
27
- CheckboxBase.displayName = "CheckboxBase";
28
- export { CheckboxBase };
29
- //# sourceMappingURL=checkbox-base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox-base.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox-base.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAGnC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACpD,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE;IACX,cAAc;IACd,8BAA8B;IAC9B,kBAAkB;IAClB,kDAAkD;IAClD,oBAAoB;IACpB,0CAA0C;IAC1C,eAAe;IACf,+HAA+H;IAC/H,iBAAiB;IACjB,wUAAwU;IACxU,iCAAiC;IACjC,gEAAgE,EAChE,2JAA2J,EAC3J,mKAAmK;IACnK,eAAe;IACf,CAAC,KAAK,CAAC,QAAQ,IAAI;QACjB,6HAA6H;QAC7H,4IAA4I;KAC7I;IACD,cAAc;IACd,kKAAkK,EAClK,iLAAiL;IACjL,qBAAqB;IACrB,yLAAyL,EACzL,SAAS,CACV,EACD,OAAO,EAAE,OAAO,kBACF,OAAO,KACjB,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAAC,SAAS,EAAC,+CAA+C,YACnF,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,CAC7B,cACE,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,YAElC,eACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,gKAAgK,GAClK,GACE,CACP,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACZ,cACE,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,YAElC,eACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,qXAAqX,GACvX,GACE,CACP,CAAC,CAAC,CAAC,IAAI,GACoB,GACP,CAC1B,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAsB,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import type { InputBaseProps } from "../../../../scalars/components/types.js";
3
- import { type CheckboxValue } from "./checkbox-base.js";
4
- type CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<CheckboxValue> | "onChange">;
5
- export interface CheckboxProps extends CheckboxBaseProps, InputBaseProps<CheckboxValue> {
6
- onChange?: ((checked: CheckboxValue) => void) | ((checked: boolean) => void);
7
- }
8
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
9
- export { Checkbox };
10
- //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAGrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEtE,KAAK,iBAAiB,GAAG,IAAI,CAC3B,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,cAAc,CAAC,aAAa,CAAC,GAAG,UAAU,CACjD,CAAC;AAEF,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,cAAc,CAAC,aAAa,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;CAC9E;AAED,QAAA,MAAM,QAAQ,yFA6Db,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "#scalars";
3
- import React, { useId } from "react";
4
- import { FormLabel } from "../../../../scalars/components/fragments/form-label/index.js";
5
- import { FormMessageList } from "../../../../scalars/components/fragments/form-message/index.js";
6
- import { CheckboxBase } from "./checkbox-base.js";
7
- const Checkbox = React.forwardRef(({ id: idProp, name, label, value, defaultValue, disabled, required, description, errors, warnings, onChange, className, ...props }, ref) => {
8
- const generatedId = useId();
9
- const id = idProp ?? generatedId;
10
- const hasError = !!errors?.length;
11
- const castValue = (value) => {
12
- if (value === "true")
13
- return true;
14
- if (value === "false")
15
- return false;
16
- return value;
17
- };
18
- return (_jsxs("div", { className: cn("flex flex-col gap-2"), children: [_jsxs("div", { className: cn("group flex items-center space-x-2", className), children: [_jsx(CheckboxBase, { id: id, name: name, checked: castValue(value ?? defaultValue), disabled: disabled, onCheckedChange: onChange, required: required, invalid: hasError, "aria-invalid": hasError, ref: ref, ...props }), _jsx(FormLabel, { htmlFor: id, required: required, disabled: disabled, hasError: hasError, description: description, className: cn(!disabled && "group-hover:cursor-pointer"), inline: true, children: label })] }), warnings && _jsx(FormMessageList, { type: "warning", messages: warnings }), errors && _jsx(FormMessageList, { type: "error", messages: errors })] }));
19
- });
20
- Checkbox.displayName = "Checkbox";
21
- export { Checkbox };
22
- //# sourceMappingURL=checkbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,gEAAgE,CAAC;AAEjG,OAAO,EAAE,YAAY,EAAsB,MAAM,oBAAoB,CAAC;AAatE,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CACE,EACE,EAAE,EAAE,MAAM,EACV,IAAI,EACJ,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,WAAW,GAAG,KAAK,EAAE,CAAC;IAC5B,MAAM,EAAE,GAAG,MAAM,IAAI,WAAW,CAAC;IACjC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC;IAElC,MAAM,SAAS,GAAG,CAAC,KAAc,EAAE,EAAE;QACnC,IAAI,KAAK,KAAK,MAAM;YAAE,OAAO,IAAI,CAAC;QAClC,IAAI,KAAK,KAAK,OAAO;YAAE,OAAO,KAAK,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,EAAE,CAAC,qBAAqB,CAAC,aACvC,eAAK,SAAS,EAAE,EAAE,CAAC,mCAAmC,EAAE,SAAS,CAAC,aAChE,KAAC,YAAY,IACX,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,SAAS,CAAC,KAAK,IAAI,YAAY,CAAkB,EAC1D,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,QAAQ,EACzB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,QAAQ,kBACH,QAAQ,EACtB,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,EACF,KAAC,SAAS,IACR,OAAO,EAAE,EAAE,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CAAC,CAAC,QAAQ,IAAI,4BAA4B,CAAC,EACxD,MAAM,kBAEL,KAAK,GACI,IACR,EACL,QAAQ,IAAI,KAAC,eAAe,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAE,QAAQ,GAAI,EAClE,MAAM,IAAI,KAAC,eAAe,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,MAAM,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAsB,MAAM,eAAe,CAAC"}
@@ -1,25 +0,0 @@
1
- import { type InputBaseProps } from "#scalars";
2
- import type { DateFieldValue } from "./types.js";
3
- interface DatePickerProps extends InputBaseProps<DateFieldValue> {
4
- label?: string;
5
- id?: string;
6
- name: string;
7
- disabled?: boolean;
8
- required?: boolean;
9
- value?: DateFieldValue;
10
- defaultValue?: DateFieldValue;
11
- placeholder?: string;
12
- onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
13
- onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
14
- inputProps?: Omit<InputBaseProps<DateFieldValue>, "name" | "onChange" | "value" | "defaultValue" | "onBlur">;
15
- minDate?: string;
16
- maxDate?: string;
17
- disablePastDates?: boolean;
18
- disableFutureDates?: boolean;
19
- dateFormat?: string;
20
- weekStart?: string;
21
- autoClose?: boolean;
22
- }
23
- declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLInputElement>>;
24
- export { DatePicker, type DatePickerProps };
25
- //# sourceMappingURL=date-picker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/date-picker/date-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,UAAU,CAAC;AAIlB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD,UAAU,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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,UAAU,CAAC,EAAE,IAAI,CACf,cAAc,CAAC,cAAc,CAAC,EAC9B,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,CAC1D,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,8GAiKf,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,CAAC"}
@@ -1,47 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn, FormDescription, FormGroup, FormLabel, FormMessageList, } from "#scalars";
3
- import { forwardRef } from "react";
4
- import { BasePickerField } from "../date-time-picker/base-picker.js";
5
- import { Calendar } from "./subcomponents/calendar/calendar.js";
6
- import { useDatePickerField } from "./use-date-picker.js";
7
- const DatePicker = forwardRef(({ label, id, errors, name, disabled, required, value, defaultValue, placeholder, description, warnings, onChange, onBlur, inputProps, disablePastDates, disableFutureDates, dateFormat, weekStart, autoClose = false, minDate, maxDate, ...props }, ref) => {
8
- const { date, inputValue, handleDateSelect, handleInputChange, isOpen, setIsOpen, handleBlur, disabledDates, weekStartDay, handleDayClick, } = useDatePickerField({
9
- value,
10
- defaultValue,
11
- onChange,
12
- onBlur,
13
- disablePastDates,
14
- disableFutureDates,
15
- dateFormat,
16
- weekStart,
17
- autoClose,
18
- minDate,
19
- maxDate,
20
- });
21
- return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: required, disabled: disabled, hasError: !!errors?.length, children: label })), _jsx(BasePickerField, { ref: ref, label: label, id: id, value: inputValue, name: name, errors: errors, disabled: disabled, required: required, iconName: "CalendarTime", placeholder: placeholder, isOpen: isOpen, setIsOpen: setIsOpen, onInputChange: handleInputChange, inputProps: inputProps, handleBlur: handleBlur, "data-cast": `DateString:${dateFormat}`, className: cn(
22
- // custom styles
23
- "px-4 pb-6 pt-3"), children: _jsx(Calendar, { mode: "single", selected: date, weekStartsOn: weekStartDay, onSelect: handleDateSelect, disabled: disabledDates, onDayClick: handleDayClick, className: cn("w-full", "p-0",
24
- // dark
25
- "dark:text-gray-500",
26
- // custom styles
27
- "font-inter", "text-[14px]", "font-semibold", "leading-[22px]"), weekdaysClassName: cn("h-[34px]", "gap-x-[3px]", "dark:text-gray-600"), monthGridClassName: cn("w-full", "px-[5.5px]"), dayClassName: cn("w-[34px] cursor-pointer text-[12px] text-gray-900 hover:rounded-[4px] hover:bg-gray-200",
28
- // dark
29
- "dark:text-gray-50 hover:dark:bg-gray-900", "disabled:text-gray-300"), buttonPreviousClassName: cn("border border-gray-200",
30
- // hover
31
- "hover:border-gray-300 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-900",
32
- // dark
33
- "dark:border-gray-900 dark:text-gray-300"), buttonNextClassName: cn("border border-gray-200",
34
- // hover
35
- "hover:border-gray-300 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-900",
36
- // dark
37
- "dark:border-gray-900 dark:text-gray-300"), todayClassName: cn("rounded-[4px]", "bg-gray-100",
38
- // dark
39
- "dark:bg-gray-900 dark:text-gray-50",
40
- // When selected, apply these styles with !important to ensure priority
41
- "aria-selected:!bg-gray-900 aria-selected:!text-white"), selectedClassName: cn("rounded-[4px]", "bg-gray-900 text-white", "hover:bg-gray-900",
42
- // dark
43
- "dark:bg-gray-50 dark:text-gray-900", "dark:hover:bg-gray-50 dark:hover:text-gray-900"), dayButtonClassName: cn("text-[12px] font-medium"), weekClassName: cn("w-full"), disabledClassName: cn("!cursor-not-allowed !text-gray-300 hover:!bg-transparent [&>button]:hover:!bg-transparent"), ...props }) }), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
44
- });
45
- DatePicker.displayName = "DatePicker";
46
- export { DatePicker };
47
- //# sourceMappingURL=date-picker.js.map