@powerhousedao/document-engineering 1.7.0 → 1.8.1

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 (1543) hide show
  1. package/dist/scripts/create-icon-components.js +44 -30
  2. package/dist/scripts/create-icon-components.js.map +1 -1
  3. package/dist/src/index.d.ts +2 -2
  4. package/dist/src/index.d.ts.map +1 -1
  5. package/dist/src/index.js +2 -2
  6. package/dist/src/index.js.map +1 -1
  7. package/dist/src/scalars/components/aid-field/aid-field.d.ts +1 -1
  8. package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +1 -1
  9. package/dist/src/scalars/components/aid-field/aid-field.js +13 -13
  10. package/dist/src/scalars/components/aid-field/aid-field.js.map +1 -1
  11. package/dist/src/scalars/components/aid-field/index.d.ts +2 -2
  12. package/dist/src/scalars/components/aid-field/index.d.ts.map +1 -1
  13. package/dist/src/scalars/components/aid-field/index.js +1 -1
  14. package/dist/src/scalars/components/aid-field/index.js.map +1 -1
  15. package/dist/src/scalars/components/aid-field/types.d.ts +2 -2
  16. package/dist/src/scalars/components/aid-field/types.d.ts.map +1 -1
  17. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +1 -1
  18. package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +1 -1
  19. package/dist/src/scalars/components/amount-field/amount-currency-validations.js +3 -3
  20. package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +1 -1
  21. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +3 -3
  22. package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +1 -1
  23. package/dist/src/scalars/components/amount-field/amount-field-validations.js +23 -29
  24. package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +1 -1
  25. package/dist/src/scalars/components/amount-field/amount-field.d.ts +2 -4
  26. package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +1 -1
  27. package/dist/src/scalars/components/amount-field/amount-field.js +5 -5
  28. package/dist/src/scalars/components/amount-field/amount-field.js.map +1 -1
  29. package/dist/src/scalars/components/amount-field/index.d.ts +2 -1
  30. package/dist/src/scalars/components/amount-field/index.d.ts.map +1 -1
  31. package/dist/src/scalars/components/amount-field/index.js +1 -1
  32. package/dist/src/scalars/components/amount-field/index.js.map +1 -1
  33. package/dist/src/scalars/components/amount-field/types.d.ts +5 -0
  34. package/dist/src/scalars/components/amount-field/types.d.ts.map +1 -0
  35. package/dist/src/scalars/components/amount-field/types.js +2 -0
  36. package/dist/src/scalars/components/amount-field/types.js.map +1 -0
  37. package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +4 -4
  38. package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +1 -1
  39. package/dist/src/scalars/components/boolean-field/boolean-field.js +4 -4
  40. package/dist/src/scalars/components/boolean-field/boolean-field.js.map +1 -1
  41. package/dist/src/scalars/components/boolean-field/index.d.ts +1 -1
  42. package/dist/src/scalars/components/boolean-field/index.d.ts.map +1 -1
  43. package/dist/src/scalars/components/boolean-field/index.js +1 -1
  44. package/dist/src/scalars/components/boolean-field/index.js.map +1 -1
  45. package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +3 -3
  46. package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +1 -1
  47. package/dist/src/scalars/components/country-code-field/country-code-field.js +20 -22
  48. package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -1
  49. package/dist/src/scalars/components/country-code-field/index.d.ts +1 -1
  50. package/dist/src/scalars/components/country-code-field/index.d.ts.map +1 -1
  51. package/dist/src/scalars/components/country-code-field/index.js +1 -1
  52. package/dist/src/scalars/components/country-code-field/index.js.map +1 -1
  53. package/dist/src/scalars/components/country-code-field/types.d.ts +1 -1
  54. package/dist/src/scalars/components/country-code-field/types.d.ts.map +1 -1
  55. package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +2 -20
  56. package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +1 -1
  57. package/dist/src/scalars/components/currency-code-field/currency-code-field.js +5 -72
  58. package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +1 -1
  59. package/dist/src/scalars/components/currency-code-field/index.d.ts +2 -4
  60. package/dist/src/scalars/components/currency-code-field/index.d.ts.map +1 -1
  61. package/dist/src/scalars/components/currency-code-field/index.js +1 -3
  62. package/dist/src/scalars/components/currency-code-field/index.js.map +1 -1
  63. package/dist/src/scalars/components/currency-code-field/types.d.ts +4 -12
  64. package/dist/src/scalars/components/currency-code-field/types.d.ts.map +1 -1
  65. package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +2 -5
  66. package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +1 -1
  67. package/dist/src/scalars/components/date-picker-field/date-picker-field.js +4 -4
  68. package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +1 -1
  69. package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +2 -2
  70. package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +1 -1
  71. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +15 -16
  72. package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +1 -1
  73. package/dist/src/scalars/components/date-picker-field/index.d.ts +2 -1
  74. package/dist/src/scalars/components/date-picker-field/index.d.ts.map +1 -1
  75. package/dist/src/scalars/components/date-picker-field/index.js +1 -1
  76. package/dist/src/scalars/components/date-picker-field/index.js.map +1 -1
  77. package/dist/src/scalars/components/date-picker-field/types.d.ts +6 -0
  78. package/dist/src/scalars/components/date-picker-field/types.d.ts.map +1 -0
  79. package/dist/src/scalars/components/date-picker-field/types.js +2 -0
  80. package/dist/src/scalars/components/date-picker-field/types.js.map +1 -0
  81. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +2 -2
  82. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +1 -1
  83. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +16 -17
  84. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +1 -1
  85. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +2 -5
  86. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +1 -1
  87. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +4 -4
  88. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +1 -1
  89. package/dist/src/scalars/components/date-time-picker-field/index.d.ts +2 -1
  90. package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +1 -1
  91. package/dist/src/scalars/components/date-time-picker-field/index.js +1 -1
  92. package/dist/src/scalars/components/date-time-picker-field/index.js.map +1 -1
  93. package/dist/src/scalars/components/date-time-picker-field/types.d.ts +6 -0
  94. package/dist/src/scalars/components/date-time-picker-field/types.d.ts.map +1 -0
  95. package/dist/src/scalars/components/date-time-picker-field/types.js +2 -0
  96. package/dist/src/scalars/components/date-time-picker-field/types.js.map +1 -0
  97. package/dist/src/scalars/components/enum-field/enum-field.d.ts +6 -6
  98. package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +1 -1
  99. package/dist/src/scalars/components/enum-field/enum-field.js +8 -8
  100. package/dist/src/scalars/components/enum-field/enum-field.js.map +1 -1
  101. package/dist/src/scalars/components/enum-field/index.d.ts +1 -1
  102. package/dist/src/scalars/components/enum-field/index.d.ts.map +1 -1
  103. package/dist/src/scalars/components/enum-field/index.js +1 -1
  104. package/dist/src/scalars/components/enum-field/index.js.map +1 -1
  105. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +1 -1
  106. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +15 -13
  107. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +1 -1
  108. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +1 -1
  109. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +17 -15
  110. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +1 -1
  111. package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +1 -1
  112. package/dist/src/scalars/components/examples/reset-button/reset-button.js +5 -4
  113. package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +1 -1
  114. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +1 -1
  115. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +7 -6
  116. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +1 -1
  117. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +1 -1
  118. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +9 -6
  119. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +1 -1
  120. package/dist/src/scalars/components/form/form.d.ts +3 -3
  121. package/dist/src/scalars/components/form/form.d.ts.map +1 -1
  122. package/dist/src/scalars/components/form/form.js +19 -30
  123. package/dist/src/scalars/components/form/form.js.map +1 -1
  124. package/dist/src/scalars/components/form/index.d.ts +1 -1
  125. package/dist/src/scalars/components/form/index.d.ts.map +1 -1
  126. package/dist/src/scalars/components/form/index.js +1 -1
  127. package/dist/src/scalars/components/form/index.js.map +1 -1
  128. package/dist/src/scalars/components/form/utils.d.ts +2 -2
  129. package/dist/src/scalars/components/form/utils.d.ts.map +1 -1
  130. package/dist/src/scalars/components/form/utils.js +4 -6
  131. package/dist/src/scalars/components/form/utils.js.map +1 -1
  132. package/dist/src/scalars/components/fragments/button/button.d.ts +2 -2
  133. package/dist/src/scalars/components/fragments/button/button.d.ts.map +1 -1
  134. package/dist/src/scalars/components/fragments/button/button.js +12 -11
  135. package/dist/src/scalars/components/fragments/button/button.js.map +1 -1
  136. package/dist/src/scalars/components/fragments/button/index.d.ts +1 -1
  137. package/dist/src/scalars/components/fragments/button/index.d.ts.map +1 -1
  138. package/dist/src/scalars/components/fragments/button/index.js +1 -1
  139. package/dist/src/scalars/components/fragments/button/index.js.map +1 -1
  140. package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +1 -1
  141. package/dist/src/scalars/components/fragments/character-counter/character-counter.js +8 -8
  142. package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +1 -1
  143. package/dist/src/scalars/components/fragments/character-counter/index.d.ts +1 -1
  144. package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +1 -1
  145. package/dist/src/scalars/components/fragments/character-counter/index.js +1 -1
  146. package/dist/src/scalars/components/fragments/character-counter/index.js.map +1 -1
  147. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +1 -1
  148. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +1 -1
  149. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +3 -3
  150. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +1 -1
  151. package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +1 -1
  152. package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +1 -1
  153. package/dist/src/scalars/components/fragments/checkbox-field/index.js +1 -1
  154. package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +1 -1
  155. package/dist/src/scalars/components/fragments/command/command.d.ts +2 -2
  156. package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -1
  157. package/dist/src/scalars/components/fragments/command/command.js +10 -10
  158. package/dist/src/scalars/components/fragments/command/command.js.map +1 -1
  159. package/dist/src/scalars/components/fragments/command/index.d.ts +1 -1
  160. package/dist/src/scalars/components/fragments/command/index.d.ts.map +1 -1
  161. package/dist/src/scalars/components/fragments/command/index.js +1 -1
  162. package/dist/src/scalars/components/fragments/command/index.js.map +1 -1
  163. package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +1 -1
  164. package/dist/src/scalars/components/fragments/form-description/form-description.js +4 -4
  165. package/dist/src/scalars/components/fragments/form-description/form-description.js.map +1 -1
  166. package/dist/src/scalars/components/fragments/form-description/index.d.ts +1 -1
  167. package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +1 -1
  168. package/dist/src/scalars/components/fragments/form-description/index.js +1 -1
  169. package/dist/src/scalars/components/fragments/form-description/index.js.map +1 -1
  170. package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +1 -1
  171. package/dist/src/scalars/components/fragments/form-group/form-group.js.map +1 -1
  172. package/dist/src/scalars/components/fragments/form-group/index.d.ts +1 -1
  173. package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +1 -1
  174. package/dist/src/scalars/components/fragments/form-group/index.js +1 -1
  175. package/dist/src/scalars/components/fragments/form-group/index.js.map +1 -1
  176. package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +1 -1
  177. package/dist/src/scalars/components/fragments/form-label/form-label.js +5 -9
  178. package/dist/src/scalars/components/fragments/form-label/form-label.js.map +1 -1
  179. package/dist/src/scalars/components/fragments/form-label/index.d.ts +1 -1
  180. package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +1 -1
  181. package/dist/src/scalars/components/fragments/form-label/index.js +1 -1
  182. package/dist/src/scalars/components/fragments/form-label/index.js.map +1 -1
  183. package/dist/src/scalars/components/fragments/form-message/form-message.d.ts +3 -3
  184. package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +1 -1
  185. package/dist/src/scalars/components/fragments/form-message/form-message.js +7 -7
  186. package/dist/src/scalars/components/fragments/form-message/form-message.js.map +1 -1
  187. package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +1 -1
  188. package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js +3 -3
  189. package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +1 -1
  190. package/dist/src/scalars/components/fragments/form-message/index.d.ts +3 -3
  191. package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +1 -1
  192. package/dist/src/scalars/components/fragments/form-message/index.js +3 -3
  193. package/dist/src/scalars/components/fragments/form-message/index.js.map +1 -1
  194. package/dist/src/scalars/components/fragments/form-message/message-list.d.ts +1 -1
  195. package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +1 -1
  196. package/dist/src/scalars/components/fragments/form-message/message-list.js +9 -9
  197. package/dist/src/scalars/components/fragments/form-message/message-list.js.map +1 -1
  198. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +1 -1
  199. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js +1 -1
  200. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +1 -1
  201. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts +4 -4
  202. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -1
  203. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +22 -33
  204. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
  205. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts +4 -4
  206. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -1
  207. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +11 -33
  208. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
  209. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +2 -3
  210. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -1
  211. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +14 -14
  212. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +1 -1
  213. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +2 -2
  214. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -1
  215. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +28 -38
  216. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -1
  217. package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts +2 -2
  218. package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +1 -1
  219. package/dist/src/scalars/components/fragments/id-autocomplete/index.js +1 -1
  220. package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +1 -1
  221. package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts +5 -5
  222. package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +1 -1
  223. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +7 -7
  224. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +1 -1
  225. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js +13 -15
  226. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +1 -1
  227. package/dist/src/scalars/components/fragments/index.d.ts +5 -5
  228. package/dist/src/scalars/components/fragments/index.d.ts.map +1 -1
  229. package/dist/src/scalars/components/fragments/index.js +5 -5
  230. package/dist/src/scalars/components/fragments/index.js.map +1 -1
  231. package/dist/src/scalars/components/fragments/popover/index.d.ts +1 -1
  232. package/dist/src/scalars/components/fragments/popover/index.d.ts.map +1 -1
  233. package/dist/src/scalars/components/fragments/popover/index.js +1 -1
  234. package/dist/src/scalars/components/fragments/popover/index.js.map +1 -1
  235. package/dist/src/scalars/components/fragments/popover/popover.d.ts +7 -6
  236. package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +1 -1
  237. package/dist/src/scalars/components/fragments/popover/popover.js +16 -14
  238. package/dist/src/scalars/components/fragments/popover/popover.js.map +1 -1
  239. package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts +1 -1
  240. package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +1 -1
  241. package/dist/src/scalars/components/fragments/radio-group-field/index.js +1 -1
  242. package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +1 -1
  243. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +2 -2
  244. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +1 -1
  245. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +3 -3
  246. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +1 -1
  247. package/dist/src/scalars/components/fragments/select-field/index.d.ts +1 -1
  248. package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +1 -1
  249. package/dist/src/scalars/components/fragments/select-field/index.js +1 -1
  250. package/dist/src/scalars/components/fragments/select-field/index.js.map +1 -1
  251. package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +2 -2
  252. package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +1 -1
  253. package/dist/src/scalars/components/fragments/select-field/select-field.js +3 -3
  254. package/dist/src/scalars/components/fragments/select-field/select-field.js.map +1 -1
  255. package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +2 -2
  256. package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +1 -1
  257. package/dist/src/scalars/components/fragments/tabs/tabs.js +7 -7
  258. package/dist/src/scalars/components/fragments/tabs/tabs.js.map +1 -1
  259. package/dist/src/scalars/components/fragments/text-field/index.d.ts +1 -1
  260. package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +1 -1
  261. package/dist/src/scalars/components/fragments/text-field/index.js +1 -1
  262. package/dist/src/scalars/components/fragments/text-field/index.js.map +1 -1
  263. package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +5 -4
  264. package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +1 -1
  265. package/dist/src/scalars/components/fragments/text-field/text-field.js +5 -4
  266. package/dist/src/scalars/components/fragments/text-field/text-field.js.map +1 -1
  267. package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +1 -1
  268. package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +1 -1
  269. package/dist/src/scalars/components/fragments/textarea-field/index.js +1 -1
  270. package/dist/src/scalars/components/fragments/textarea-field/index.js.map +1 -1
  271. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +2 -2
  272. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +1 -1
  273. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +3 -3
  274. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +1 -1
  275. package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +1 -1
  276. package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +1 -1
  277. package/dist/src/scalars/components/fragments/toggle-field/index.js +1 -1
  278. package/dist/src/scalars/components/fragments/toggle-field/index.js.map +1 -1
  279. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +2 -2
  280. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +1 -1
  281. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +3 -3
  282. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +1 -1
  283. package/dist/src/scalars/components/fragments/value-transformer/index.d.ts +2 -2
  284. package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +1 -1
  285. package/dist/src/scalars/components/fragments/value-transformer/index.js +2 -2
  286. package/dist/src/scalars/components/fragments/value-transformer/index.js.map +1 -1
  287. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +4 -4
  288. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -1
  289. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +25 -22
  290. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -1
  291. package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts +1 -1
  292. package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +1 -1
  293. package/dist/src/scalars/components/fragments/with-field-validation/index.js +1 -1
  294. package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +1 -1
  295. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts +2 -2
  296. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +1 -1
  297. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js +20 -35
  298. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +1 -1
  299. package/dist/src/scalars/components/id-field/id-field.d.ts +1 -1
  300. package/dist/src/scalars/components/id-field/id-field.d.ts.map +1 -1
  301. package/dist/src/scalars/components/id-field/id-field.js +8 -8
  302. package/dist/src/scalars/components/id-field/id-field.js.map +1 -1
  303. package/dist/src/scalars/components/id-field/index.d.ts +1 -1
  304. package/dist/src/scalars/components/id-field/index.d.ts.map +1 -1
  305. package/dist/src/scalars/components/id-field/index.js +1 -1
  306. package/dist/src/scalars/components/id-field/index.js.map +1 -1
  307. package/dist/src/scalars/components/index.d.ts +27 -27
  308. package/dist/src/scalars/components/index.d.ts.map +1 -1
  309. package/dist/src/scalars/components/index.js +27 -27
  310. package/dist/src/scalars/components/index.js.map +1 -1
  311. package/dist/src/scalars/components/number-field/index.d.ts +1 -1
  312. package/dist/src/scalars/components/number-field/index.d.ts.map +1 -1
  313. package/dist/src/scalars/components/number-field/index.js +1 -1
  314. package/dist/src/scalars/components/number-field/index.js.map +1 -1
  315. package/dist/src/scalars/components/number-field/number-field-validations.d.ts +2 -2
  316. package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +1 -1
  317. package/dist/src/scalars/components/number-field/number-field-validations.js +40 -46
  318. package/dist/src/scalars/components/number-field/number-field-validations.js.map +1 -1
  319. package/dist/src/scalars/components/number-field/number-field.d.ts +4 -11
  320. package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -1
  321. package/dist/src/scalars/components/number-field/number-field.js +27 -21
  322. package/dist/src/scalars/components/number-field/number-field.js.map +1 -1
  323. package/dist/src/scalars/components/number-field/types.d.ts +13 -5
  324. package/dist/src/scalars/components/number-field/types.d.ts.map +1 -1
  325. package/dist/src/scalars/components/number-field/use-number-field.d.ts +1 -1
  326. package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +1 -1
  327. package/dist/src/scalars/components/number-field/use-number-field.js +24 -33
  328. package/dist/src/scalars/components/number-field/use-number-field.js.map +1 -1
  329. package/dist/src/scalars/components/number-field/utils.d.ts +3 -3
  330. package/dist/src/scalars/components/number-field/utils.d.ts.map +1 -1
  331. package/dist/src/scalars/components/number-field/utils.js +8 -14
  332. package/dist/src/scalars/components/number-field/utils.js.map +1 -1
  333. package/dist/src/scalars/components/oid-field/index.d.ts +2 -2
  334. package/dist/src/scalars/components/oid-field/index.d.ts.map +1 -1
  335. package/dist/src/scalars/components/oid-field/index.js +1 -1
  336. package/dist/src/scalars/components/oid-field/index.js.map +1 -1
  337. package/dist/src/scalars/components/oid-field/oid-field.d.ts +1 -1
  338. package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +1 -1
  339. package/dist/src/scalars/components/oid-field/oid-field.js +6 -6
  340. package/dist/src/scalars/components/oid-field/oid-field.js.map +1 -1
  341. package/dist/src/scalars/components/oid-field/types.d.ts +2 -2
  342. package/dist/src/scalars/components/oid-field/types.d.ts.map +1 -1
  343. package/dist/src/scalars/components/phid-field/index.d.ts +2 -2
  344. package/dist/src/scalars/components/phid-field/index.d.ts.map +1 -1
  345. package/dist/src/scalars/components/phid-field/index.js +1 -1
  346. package/dist/src/scalars/components/phid-field/index.js.map +1 -1
  347. package/dist/src/scalars/components/phid-field/phid-field.d.ts +1 -1
  348. package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +1 -1
  349. package/dist/src/scalars/components/phid-field/phid-field.js +11 -11
  350. package/dist/src/scalars/components/phid-field/phid-field.js.map +1 -1
  351. package/dist/src/scalars/components/phid-field/types.d.ts +2 -2
  352. package/dist/src/scalars/components/phid-field/types.d.ts.map +1 -1
  353. package/dist/src/scalars/components/string-field/index.d.ts +1 -1
  354. package/dist/src/scalars/components/string-field/index.d.ts.map +1 -1
  355. package/dist/src/scalars/components/string-field/index.js +1 -1
  356. package/dist/src/scalars/components/string-field/index.js.map +1 -1
  357. package/dist/src/scalars/components/string-field/string-field.d.ts +6 -5
  358. package/dist/src/scalars/components/string-field/string-field.d.ts.map +1 -1
  359. package/dist/src/scalars/components/string-field/string-field.js +7 -6
  360. package/dist/src/scalars/components/string-field/string-field.js.map +1 -1
  361. package/dist/src/scalars/components/time-picker-field/index.d.ts +2 -1
  362. package/dist/src/scalars/components/time-picker-field/index.d.ts.map +1 -1
  363. package/dist/src/scalars/components/time-picker-field/index.js +1 -1
  364. package/dist/src/scalars/components/time-picker-field/index.js.map +1 -1
  365. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +1 -1
  366. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +1 -1
  367. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +13 -13
  368. package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +1 -1
  369. package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +2 -5
  370. package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +1 -1
  371. package/dist/src/scalars/components/time-picker-field/time-picker-field.js +4 -4
  372. package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +1 -1
  373. package/dist/src/scalars/components/time-picker-field/types.d.ts +6 -0
  374. package/dist/src/scalars/components/time-picker-field/types.d.ts.map +1 -0
  375. package/dist/src/scalars/components/time-picker-field/types.js +2 -0
  376. package/dist/src/scalars/components/time-picker-field/types.js.map +1 -0
  377. package/dist/src/scalars/components/types.d.ts +2 -2
  378. package/dist/src/scalars/components/types.d.ts.map +1 -1
  379. package/dist/src/scalars/components/url-field/index.d.ts +1 -1
  380. package/dist/src/scalars/components/url-field/index.d.ts.map +1 -1
  381. package/dist/src/scalars/components/url-field/index.js +1 -1
  382. package/dist/src/scalars/components/url-field/index.js.map +1 -1
  383. package/dist/src/scalars/components/url-field/url-field.d.ts +2 -2
  384. package/dist/src/scalars/components/url-field/url-field.d.ts.map +1 -1
  385. package/dist/src/scalars/components/url-field/url-field.js +6 -6
  386. package/dist/src/scalars/components/url-field/url-field.js.map +1 -1
  387. package/dist/src/scalars/graphql/Amount.d.ts +6 -6
  388. package/dist/src/scalars/graphql/Amount.d.ts.map +1 -1
  389. package/dist/src/scalars/graphql/Amount.js +13 -13
  390. package/dist/src/scalars/graphql/Amount.js.map +1 -1
  391. package/dist/src/scalars/graphql/AmountCrypto.d.ts +6 -6
  392. package/dist/src/scalars/graphql/AmountCrypto.d.ts.map +1 -1
  393. package/dist/src/scalars/graphql/AmountCrypto.js +13 -13
  394. package/dist/src/scalars/graphql/AmountCrypto.js.map +1 -1
  395. package/dist/src/scalars/graphql/AmountCurrency.d.ts +6 -6
  396. package/dist/src/scalars/graphql/AmountCurrency.d.ts.map +1 -1
  397. package/dist/src/scalars/graphql/AmountCurrency.js +13 -13
  398. package/dist/src/scalars/graphql/AmountCurrency.js.map +1 -1
  399. package/dist/src/scalars/graphql/AmountFiat.d.ts +6 -6
  400. package/dist/src/scalars/graphql/AmountFiat.d.ts.map +1 -1
  401. package/dist/src/scalars/graphql/AmountFiat.js +13 -13
  402. package/dist/src/scalars/graphql/AmountFiat.js.map +1 -1
  403. package/dist/src/scalars/graphql/AmountMoney.d.ts +4 -4
  404. package/dist/src/scalars/graphql/AmountMoney.d.ts.map +1 -1
  405. package/dist/src/scalars/graphql/AmountMoney.js +9 -9
  406. package/dist/src/scalars/graphql/AmountMoney.js.map +1 -1
  407. package/dist/src/scalars/graphql/AmountPercentage.d.ts +4 -4
  408. package/dist/src/scalars/graphql/AmountPercentage.d.ts.map +1 -1
  409. package/dist/src/scalars/graphql/AmountPercentage.js +9 -9
  410. package/dist/src/scalars/graphql/AmountPercentage.js.map +1 -1
  411. package/dist/src/scalars/graphql/AmountTokens.d.ts +4 -4
  412. package/dist/src/scalars/graphql/AmountTokens.d.ts.map +1 -1
  413. package/dist/src/scalars/graphql/AmountTokens.js +9 -9
  414. package/dist/src/scalars/graphql/AmountTokens.js.map +1 -1
  415. package/dist/src/scalars/graphql/Currency.d.ts +4 -4
  416. package/dist/src/scalars/graphql/Currency.d.ts.map +1 -1
  417. package/dist/src/scalars/graphql/Currency.js +8 -8
  418. package/dist/src/scalars/graphql/Currency.js.map +1 -1
  419. package/dist/src/scalars/graphql/Date.d.ts +4 -4
  420. package/dist/src/scalars/graphql/Date.d.ts.map +1 -1
  421. package/dist/src/scalars/graphql/Date.js +9 -9
  422. package/dist/src/scalars/graphql/Date.js.map +1 -1
  423. package/dist/src/scalars/graphql/DateTime.d.ts +4 -4
  424. package/dist/src/scalars/graphql/DateTime.d.ts.map +1 -1
  425. package/dist/src/scalars/graphql/DateTime.js +9 -9
  426. package/dist/src/scalars/graphql/DateTime.js.map +1 -1
  427. package/dist/src/scalars/graphql/EmailAddress.d.ts +4 -4
  428. package/dist/src/scalars/graphql/EmailAddress.d.ts.map +1 -1
  429. package/dist/src/scalars/graphql/EmailAddress.js +8 -8
  430. package/dist/src/scalars/graphql/EmailAddress.js.map +1 -1
  431. package/dist/src/scalars/graphql/EthereumAddress.d.ts +4 -4
  432. package/dist/src/scalars/graphql/EthereumAddress.d.ts.map +1 -1
  433. package/dist/src/scalars/graphql/EthereumAddress.js +8 -8
  434. package/dist/src/scalars/graphql/EthereumAddress.js.map +1 -1
  435. package/dist/src/scalars/graphql/OID.d.ts +4 -4
  436. package/dist/src/scalars/graphql/OID.d.ts.map +1 -1
  437. package/dist/src/scalars/graphql/OID.js +8 -8
  438. package/dist/src/scalars/graphql/OID.js.map +1 -1
  439. package/dist/src/scalars/graphql/OLabel.d.ts +4 -4
  440. package/dist/src/scalars/graphql/OLabel.d.ts.map +1 -1
  441. package/dist/src/scalars/graphql/OLabel.js +8 -8
  442. package/dist/src/scalars/graphql/OLabel.js.map +1 -1
  443. package/dist/src/scalars/graphql/PHID.d.ts +4 -4
  444. package/dist/src/scalars/graphql/PHID.d.ts.map +1 -1
  445. package/dist/src/scalars/graphql/PHID.js +8 -8
  446. package/dist/src/scalars/graphql/PHID.js.map +1 -1
  447. package/dist/src/scalars/graphql/URL.d.ts +4 -4
  448. package/dist/src/scalars/graphql/URL.d.ts.map +1 -1
  449. package/dist/src/scalars/graphql/URL.js +9 -9
  450. package/dist/src/scalars/graphql/URL.js.map +1 -1
  451. package/dist/src/scalars/graphql/index.d.ts +3 -3
  452. package/dist/src/scalars/graphql/index.d.ts.map +1 -1
  453. package/dist/src/scalars/graphql/index.js +2 -2
  454. package/dist/src/scalars/graphql/index.js.map +1 -1
  455. package/dist/src/scalars/graphql/scalars.d.ts +33 -33
  456. package/dist/src/scalars/graphql/scalars.d.ts.map +1 -1
  457. package/dist/src/scalars/graphql/scalars.js +20 -16
  458. package/dist/src/scalars/graphql/scalars.js.map +1 -1
  459. package/dist/src/scalars/graphql/types.d.ts +4 -4
  460. package/dist/src/scalars/graphql/types.d.ts.map +1 -1
  461. package/dist/src/scalars/graphql/utils.d.ts +2 -2
  462. package/dist/src/scalars/graphql/utils.d.ts.map +1 -1
  463. package/dist/src/scalars/graphql/utils.js +2 -2
  464. package/dist/src/scalars/graphql/utils.js.map +1 -1
  465. package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -1
  466. package/dist/src/scalars/hooks/useEllipsis.js +4 -2
  467. package/dist/src/scalars/hooks/useEllipsis.js.map +1 -1
  468. package/dist/src/scalars/index.d.ts +2 -3
  469. package/dist/src/scalars/index.d.ts.map +1 -1
  470. package/dist/src/scalars/index.js +3 -4
  471. package/dist/src/scalars/index.js.map +1 -1
  472. package/dist/src/scalars/lib/decorators.d.ts +2 -2
  473. package/dist/src/scalars/lib/decorators.d.ts.map +1 -1
  474. package/dist/src/scalars/lib/decorators.js +18 -19
  475. package/dist/src/scalars/lib/decorators.js.map +1 -1
  476. package/dist/src/scalars/lib/deep-equal.d.ts.map +1 -1
  477. package/dist/src/scalars/lib/deep-equal.js +3 -8
  478. package/dist/src/scalars/lib/deep-equal.js.map +1 -1
  479. package/dist/src/scalars/lib/index.d.ts +7 -7
  480. package/dist/src/scalars/lib/index.d.ts.map +1 -1
  481. package/dist/src/scalars/lib/index.js +7 -7
  482. package/dist/src/scalars/lib/index.js.map +1 -1
  483. package/dist/src/scalars/lib/is-empty.d.ts.map +1 -1
  484. package/dist/src/scalars/lib/is-empty.js +4 -6
  485. package/dist/src/scalars/lib/is-empty.js.map +1 -1
  486. package/dist/src/scalars/lib/share-number-validations.d.ts.map +1 -1
  487. package/dist/src/scalars/lib/share-number-validations.js +8 -16
  488. package/dist/src/scalars/lib/share-number-validations.js.map +1 -1
  489. package/dist/src/scalars/lib/shared-value-transformers.d.ts +1 -1
  490. package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +1 -1
  491. package/dist/src/scalars/lib/shared-value-transformers.js +4 -4
  492. package/dist/src/scalars/lib/shared-value-transformers.js.map +1 -1
  493. package/dist/src/scalars/lib/storybook-arg-types.d.ts +2 -2
  494. package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +1 -1
  495. package/dist/src/scalars/lib/storybook-arg-types.js +101 -102
  496. package/dist/src/scalars/lib/storybook-arg-types.js.map +1 -1
  497. package/dist/src/scalars/lib/testing.d.ts +1 -1
  498. package/dist/src/scalars/lib/testing.d.ts.map +1 -1
  499. package/dist/src/scalars/lib/testing.js +3 -3
  500. package/dist/src/scalars/lib/testing.js.map +1 -1
  501. package/dist/src/scalars/lib/utils.d.ts +1 -1
  502. package/dist/src/scalars/lib/utils.d.ts.map +1 -1
  503. package/dist/src/scalars/lib/utils.js +2 -2
  504. package/dist/src/scalars/lib/utils.js.map +1 -1
  505. package/dist/src/scalars/lib/value-cast.d.ts +1 -1
  506. package/dist/src/scalars/lib/value-cast.d.ts.map +1 -1
  507. package/dist/src/scalars/lib/value-cast.js +15 -15
  508. package/dist/src/scalars/lib/value-cast.js.map +1 -1
  509. package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +2 -2
  510. package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +1 -1
  511. package/dist/src/ui/components/data-entry/aid-input/aid-input.js +10 -13
  512. package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +1 -1
  513. package/dist/src/ui/components/data-entry/aid-input/index.d.ts +2 -2
  514. package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +1 -1
  515. package/dist/src/ui/components/data-entry/aid-input/index.js +1 -1
  516. package/dist/src/ui/components/data-entry/aid-input/index.js.map +1 -1
  517. package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +1 -1
  518. package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +1 -1
  519. package/dist/src/ui/components/data-entry/aid-input/mocks.js +177 -177
  520. package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +1 -1
  521. package/dist/src/ui/components/data-entry/aid-input/types.d.ts +4 -4
  522. package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +1 -1
  523. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +14 -13
  524. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -1
  525. package/dist/src/ui/components/data-entry/amount-input/amount-input.js +26 -17
  526. package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +1 -1
  527. package/dist/src/ui/components/data-entry/amount-input/index.d.ts +1 -1
  528. package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +1 -1
  529. package/dist/src/ui/components/data-entry/amount-input/index.js +1 -1
  530. package/dist/src/ui/components/data-entry/amount-input/index.js.map +1 -1
  531. package/dist/src/ui/components/data-entry/amount-input/types.d.ts +14 -9
  532. package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +1 -1
  533. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +5 -5
  534. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -1
  535. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +64 -74
  536. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -1
  537. package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +2 -2
  538. package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +1 -1
  539. package/dist/src/ui/components/data-entry/amount-input/utils.js +18 -19
  540. package/dist/src/ui/components/data-entry/amount-input/utils.js.map +1 -1
  541. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts +3 -3
  542. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +1 -1
  543. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +14 -14
  544. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +1 -1
  545. package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +4 -4
  546. package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +1 -1
  547. package/dist/src/ui/components/data-entry/checkbox/checkbox.js +9 -9
  548. package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +1 -1
  549. package/dist/src/ui/components/data-entry/checkbox/index.d.ts +2 -2
  550. package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +1 -1
  551. package/dist/src/ui/components/data-entry/checkbox/index.js +1 -1
  552. package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -1
  553. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.d.ts +5 -0
  554. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.d.ts.map +1 -0
  555. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.js +53 -0
  556. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.js.map +1 -0
  557. package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/defaults.d.ts +1 -1
  558. package/dist/src/ui/components/data-entry/currency-code-picker/defaults.d.ts.map +1 -0
  559. package/dist/src/ui/components/data-entry/currency-code-picker/defaults.js +43 -0
  560. package/dist/src/ui/components/data-entry/currency-code-picker/defaults.js.map +1 -0
  561. package/dist/src/ui/components/data-entry/currency-code-picker/index.d.ts +5 -0
  562. package/dist/src/ui/components/data-entry/currency-code-picker/index.d.ts.map +1 -0
  563. package/dist/src/ui/components/data-entry/currency-code-picker/index.js +4 -0
  564. package/dist/src/ui/components/data-entry/currency-code-picker/index.js.map +1 -0
  565. package/dist/src/ui/components/data-entry/currency-code-picker/types.d.ts +29 -0
  566. package/dist/src/ui/components/data-entry/currency-code-picker/types.d.ts.map +1 -0
  567. package/dist/src/ui/components/data-entry/currency-code-picker/types.js +2 -0
  568. package/dist/src/ui/components/data-entry/currency-code-picker/types.js.map +1 -0
  569. package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/utils.d.ts +1 -1
  570. package/dist/src/ui/components/data-entry/currency-code-picker/utils.d.ts.map +1 -0
  571. package/dist/src/ui/components/data-entry/currency-code-picker/utils.js +39 -0
  572. package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/utils.js.map +1 -1
  573. package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +3 -3
  574. package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +1 -1
  575. package/dist/src/ui/components/data-entry/date-picker/date-picker.js +21 -21
  576. package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +1 -1
  577. package/dist/src/ui/components/data-entry/date-picker/index.d.ts +2 -2
  578. package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +1 -1
  579. package/dist/src/ui/components/data-entry/date-picker/index.js +1 -1
  580. package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -1
  581. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +1 -1
  582. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +1 -1
  583. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +49 -49
  584. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +1 -1
  585. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +4 -4
  586. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +1 -1
  587. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +8 -4
  588. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +1 -1
  589. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +1 -1
  590. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -1
  591. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +15 -35
  592. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -1
  593. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +1 -1
  594. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -1
  595. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +13 -7
  596. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +1 -1
  597. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +1 -1
  598. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +1 -1
  599. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +7 -5
  600. package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +1 -1
  601. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +1 -1
  602. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +12 -12
  603. package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +1 -1
  604. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +2 -2
  605. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +1 -1
  606. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +6 -6
  607. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +1 -1
  608. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +2 -2
  609. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +1 -1
  610. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +3 -3
  611. package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +1 -1
  612. package/dist/src/ui/components/data-entry/date-picker/types.d.ts +1 -1
  613. package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +1 -1
  614. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +2 -2
  615. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +1 -1
  616. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +11 -19
  617. package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +1 -1
  618. package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +1 -1
  619. package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +1 -1
  620. package/dist/src/ui/components/data-entry/date-picker/utils.js +11 -11
  621. package/dist/src/ui/components/data-entry/date-picker/utils.js.map +1 -1
  622. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +6 -5
  623. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +1 -1
  624. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +17 -11
  625. package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +1 -1
  626. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +10 -10
  627. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +1 -1
  628. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +23 -23
  629. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +1 -1
  630. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +8 -8
  631. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +1 -1
  632. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +11 -11
  633. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +1 -1
  634. package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +1 -1
  635. package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +1 -1
  636. package/dist/src/ui/components/data-entry/date-time-picker/index.js +1 -1
  637. package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +1 -1
  638. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +3 -3
  639. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -1
  640. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +41 -43
  641. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +1 -1
  642. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +10 -10
  643. package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +1 -1
  644. package/dist/src/ui/components/data-entry/date-time-picker/utils.js +43 -66
  645. package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +1 -1
  646. package/dist/src/ui/components/data-entry/input/index.d.ts +1 -1
  647. package/dist/src/ui/components/data-entry/input/index.d.ts.map +1 -1
  648. package/dist/src/ui/components/data-entry/input/index.js +1 -1
  649. package/dist/src/ui/components/data-entry/input/index.js.map +1 -1
  650. package/dist/src/ui/components/data-entry/input/input.d.ts +1 -1
  651. package/dist/src/ui/components/data-entry/input/input.d.ts.map +1 -1
  652. package/dist/src/ui/components/data-entry/input/input.js +10 -10
  653. package/dist/src/ui/components/data-entry/input/input.js.map +1 -1
  654. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +2 -2
  655. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -1
  656. package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +18 -19
  657. package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -1
  658. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +1 -1
  659. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +3 -3
  660. package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +1 -1
  661. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +1 -1
  662. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -1
  663. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +12 -16
  664. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -1
  665. package/dist/src/ui/components/data-entry/oid-input/index.d.ts +2 -2
  666. package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +1 -1
  667. package/dist/src/ui/components/data-entry/oid-input/index.js +1 -1
  668. package/dist/src/ui/components/data-entry/oid-input/index.js.map +1 -1
  669. package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +1 -1
  670. package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +1 -1
  671. package/dist/src/ui/components/data-entry/oid-input/mocks.js +61 -61
  672. package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +1 -1
  673. package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +2 -2
  674. package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +1 -1
  675. package/dist/src/ui/components/data-entry/oid-input/oid-input.js +7 -10
  676. package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +1 -1
  677. package/dist/src/ui/components/data-entry/oid-input/types.d.ts +2 -2
  678. package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +1 -1
  679. package/dist/src/ui/components/data-entry/phid-input/index.d.ts +2 -2
  680. package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +1 -1
  681. package/dist/src/ui/components/data-entry/phid-input/index.js +1 -1
  682. package/dist/src/ui/components/data-entry/phid-input/index.js.map +1 -1
  683. package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +1 -1
  684. package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +1 -1
  685. package/dist/src/ui/components/data-entry/phid-input/mocks.js +129 -131
  686. package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +1 -1
  687. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +8 -8
  688. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +1 -1
  689. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +20 -38
  690. package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +1 -1
  691. package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +2 -2
  692. package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +1 -1
  693. package/dist/src/ui/components/data-entry/phid-input/phid-input.js +12 -15
  694. package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +1 -1
  695. package/dist/src/ui/components/data-entry/phid-input/types.d.ts +5 -5
  696. package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +1 -1
  697. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.d.ts +2 -2
  698. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.d.ts.map +1 -1
  699. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.js +3 -3
  700. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.js.map +1 -1
  701. package/dist/src/ui/components/data-entry/radio-group/index.d.ts +2 -2
  702. package/dist/src/ui/components/data-entry/radio-group/index.d.ts.map +1 -1
  703. package/dist/src/ui/components/data-entry/radio-group/index.js +2 -2
  704. package/dist/src/ui/components/data-entry/radio-group/index.js.map +1 -1
  705. package/dist/src/ui/components/data-entry/radio-group/radio-group.d.ts +6 -6
  706. package/dist/src/ui/components/data-entry/radio-group/radio-group.d.ts.map +1 -1
  707. package/dist/src/ui/components/data-entry/radio-group/radio-group.js +9 -9
  708. package/dist/src/ui/components/data-entry/radio-group/radio-group.js.map +1 -1
  709. package/dist/src/ui/components/data-entry/radio-group/radio.d.ts +2 -2
  710. package/dist/src/ui/components/data-entry/radio-group/radio.d.ts.map +1 -1
  711. package/dist/src/ui/components/data-entry/radio-group/radio.js +9 -19
  712. package/dist/src/ui/components/data-entry/radio-group/radio.js.map +1 -1
  713. package/dist/src/ui/components/data-entry/select/command-list-item.d.ts +5 -5
  714. package/dist/src/ui/components/data-entry/select/command-list-item.d.ts.map +1 -1
  715. package/dist/src/ui/components/data-entry/select/command-list-item.js +12 -14
  716. package/dist/src/ui/components/data-entry/select/command-list-item.js.map +1 -1
  717. package/dist/src/ui/components/data-entry/select/content.d.ts +5 -6
  718. package/dist/src/ui/components/data-entry/select/content.d.ts.map +1 -1
  719. package/dist/src/ui/components/data-entry/select/content.js +10 -20
  720. package/dist/src/ui/components/data-entry/select/content.js.map +1 -1
  721. package/dist/src/ui/components/data-entry/select/index.d.ts +2 -2
  722. package/dist/src/ui/components/data-entry/select/index.d.ts.map +1 -1
  723. package/dist/src/ui/components/data-entry/select/index.js +1 -1
  724. package/dist/src/ui/components/data-entry/select/index.js.map +1 -1
  725. package/dist/src/ui/components/data-entry/select/select-diff.d.ts +3 -3
  726. package/dist/src/ui/components/data-entry/select/select-diff.d.ts.map +1 -1
  727. package/dist/src/ui/components/data-entry/select/select-diff.js +3 -3
  728. package/dist/src/ui/components/data-entry/select/select-diff.js.map +1 -1
  729. package/dist/src/ui/components/data-entry/select/select.d.ts +2 -2
  730. package/dist/src/ui/components/data-entry/select/select.d.ts.map +1 -1
  731. package/dist/src/ui/components/data-entry/select/select.js +26 -29
  732. package/dist/src/ui/components/data-entry/select/select.js.map +1 -1
  733. package/dist/src/ui/components/data-entry/select/selected-content.d.ts +3 -3
  734. package/dist/src/ui/components/data-entry/select/selected-content.d.ts.map +1 -1
  735. package/dist/src/ui/components/data-entry/select/selected-content.js +7 -9
  736. package/dist/src/ui/components/data-entry/select/selected-content.js.map +1 -1
  737. package/dist/src/ui/components/data-entry/select/types.d.ts +11 -12
  738. package/dist/src/ui/components/data-entry/select/types.d.ts.map +1 -1
  739. package/dist/src/ui/components/data-entry/select/use-select.d.ts +3 -3
  740. package/dist/src/ui/components/data-entry/select/use-select.d.ts.map +1 -1
  741. package/dist/src/ui/components/data-entry/select/use-select.js +7 -9
  742. package/dist/src/ui/components/data-entry/select/use-select.js.map +1 -1
  743. package/dist/src/ui/components/data-entry/text-input/index.d.ts +2 -2
  744. package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +1 -1
  745. package/dist/src/ui/components/data-entry/text-input/index.js +1 -1
  746. package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -1
  747. package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +1 -1
  748. package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +1 -1
  749. package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +4 -4
  750. package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +1 -1
  751. package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +4 -4
  752. package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +1 -1
  753. package/dist/src/ui/components/data-entry/text-input/text-input.js +18 -20
  754. package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
  755. package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +1 -1
  756. package/dist/src/ui/components/data-entry/textarea/index.d.ts +1 -1
  757. package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +1 -1
  758. package/dist/src/ui/components/data-entry/textarea/index.js +1 -1
  759. package/dist/src/ui/components/data-entry/textarea/index.js.map +1 -1
  760. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +1 -1
  761. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +1 -1
  762. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +7 -7
  763. package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +1 -1
  764. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +5 -5
  765. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
  766. package/dist/src/ui/components/data-entry/textarea/textarea.js +37 -39
  767. package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
  768. package/dist/src/ui/components/data-entry/time-picker/index.d.ts +2 -2
  769. package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +1 -1
  770. package/dist/src/ui/components/data-entry/time-picker/index.js +1 -1
  771. package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -1
  772. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +1 -1
  773. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +1 -1
  774. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +5 -5
  775. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +1 -1
  776. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +5 -5
  777. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +1 -1
  778. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +6 -6
  779. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +1 -1
  780. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +1 -1
  781. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +1 -1
  782. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +2 -2
  783. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +1 -1
  784. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +11 -9
  785. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -1
  786. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +1 -1
  787. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -1
  788. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +13 -19
  789. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +1 -1
  790. package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +7 -7
  791. package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +1 -1
  792. package/dist/src/ui/components/data-entry/time-picker/time-picker.js +13 -13
  793. package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +1 -1
  794. package/dist/src/ui/components/data-entry/time-picker/type.d.ts +1 -1
  795. package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +1 -1
  796. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +6 -7
  797. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +1 -1
  798. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +25 -35
  799. package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +1 -1
  800. package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +1 -1
  801. package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +1 -1
  802. package/dist/src/ui/components/data-entry/time-picker/utils.js +59 -69
  803. package/dist/src/ui/components/data-entry/time-picker/utils.js.map +1 -1
  804. package/dist/src/ui/components/data-entry/toggle/index.d.ts +1 -1
  805. package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +1 -1
  806. package/dist/src/ui/components/data-entry/toggle/index.js +1 -1
  807. package/dist/src/ui/components/data-entry/toggle/index.js.map +1 -1
  808. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts +2 -2
  809. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts.map +1 -1
  810. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js +14 -14
  811. package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js.map +1 -1
  812. package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +2 -2
  813. package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +1 -1
  814. package/dist/src/ui/components/data-entry/toggle/toggle-base.js +6 -7
  815. package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +1 -1
  816. package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +4 -4
  817. package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +1 -1
  818. package/dist/src/ui/components/data-entry/toggle/toggle.js +10 -10
  819. package/dist/src/ui/components/data-entry/toggle/toggle.js.map +1 -1
  820. package/dist/src/ui/components/data-entry/url-input/index.d.ts +2 -1
  821. package/dist/src/ui/components/data-entry/url-input/index.d.ts.map +1 -1
  822. package/dist/src/ui/components/data-entry/url-input/index.js +1 -1
  823. package/dist/src/ui/components/data-entry/url-input/index.js.map +1 -1
  824. package/dist/src/ui/components/data-entry/url-input/types.d.ts +12 -0
  825. package/dist/src/ui/components/data-entry/url-input/types.d.ts.map +1 -0
  826. package/dist/src/ui/components/data-entry/url-input/types.js +2 -0
  827. package/dist/src/ui/components/data-entry/url-input/types.js.map +1 -0
  828. package/dist/src/ui/components/data-entry/url-input/url-favicon.d.ts +1 -1
  829. package/dist/src/ui/components/data-entry/url-input/url-favicon.d.ts.map +1 -1
  830. package/dist/src/ui/components/data-entry/url-input/url-favicon.js +6 -6
  831. package/dist/src/ui/components/data-entry/url-input/url-favicon.js.map +1 -1
  832. package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts +4 -4
  833. package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts.map +1 -1
  834. package/dist/src/ui/components/data-entry/url-input/url-input-diff.js +4 -4
  835. package/dist/src/ui/components/data-entry/url-input/url-input-diff.js.map +1 -1
  836. package/dist/src/ui/components/data-entry/url-input/url-input.d.ts +3 -13
  837. package/dist/src/ui/components/data-entry/url-input/url-input.d.ts.map +1 -1
  838. package/dist/src/ui/components/data-entry/url-input/url-input.js +19 -19
  839. package/dist/src/ui/components/data-entry/url-input/url-input.js.map +1 -1
  840. package/dist/src/ui/components/data-entry/url-input/useURLWarnings.d.ts.map +1 -1
  841. package/dist/src/ui/components/data-entry/url-input/useURLWarnings.js +18 -29
  842. package/dist/src/ui/components/data-entry/url-input/useURLWarnings.js.map +1 -1
  843. package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +1 -1
  844. package/dist/src/ui/components/dropdown/dropdown-example.js +16 -8
  845. package/dist/src/ui/components/dropdown/dropdown-example.js.map +1 -1
  846. package/dist/src/ui/components/dropdown/index.d.ts +6 -6
  847. package/dist/src/ui/components/dropdown/index.d.ts.map +1 -1
  848. package/dist/src/ui/components/dropdown/index.js +6 -6
  849. package/dist/src/ui/components/dropdown/index.js.map +1 -1
  850. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +2 -2
  851. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +1 -1
  852. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +13 -13
  853. package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +1 -1
  854. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +2 -2
  855. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +1 -1
  856. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +8 -8
  857. package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +1 -1
  858. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +2 -2
  859. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +1 -1
  860. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +5 -5
  861. package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +1 -1
  862. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +1 -1
  863. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +3 -3
  864. package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +1 -1
  865. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +1 -1
  866. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +1 -1
  867. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +4 -4
  868. package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +1 -1
  869. package/dist/src/ui/components/icon/icon.d.ts +14 -5
  870. package/dist/src/ui/components/icon/icon.d.ts.map +1 -1
  871. package/dist/src/ui/components/icon/icon.js +19 -5
  872. package/dist/src/ui/components/icon/icon.js.map +1 -1
  873. package/dist/src/ui/components/icon/index.d.ts +3 -3
  874. package/dist/src/ui/components/icon/index.d.ts.map +1 -1
  875. package/dist/src/ui/components/icon/index.js +2 -2
  876. package/dist/src/ui/components/icon/index.js.map +1 -1
  877. package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts +6 -2
  878. package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts.map +1 -1
  879. package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js +4 -2
  880. package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js.map +1 -1
  881. package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts +6 -2
  882. package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts.map +1 -1
  883. package/dist/src/ui/components/icon-components/ArrowFilledRight.js +4 -2
  884. package/dist/src/ui/components/icon-components/ArrowFilledRight.js.map +1 -1
  885. package/dist/src/ui/components/icon-components/ArrowLeft.d.ts +6 -2
  886. package/dist/src/ui/components/icon-components/ArrowLeft.d.ts.map +1 -1
  887. package/dist/src/ui/components/icon-components/ArrowLeft.js +4 -2
  888. package/dist/src/ui/components/icon-components/ArrowLeft.js.map +1 -1
  889. package/dist/src/ui/components/icon-components/ArrowUp.d.ts +6 -2
  890. package/dist/src/ui/components/icon-components/ArrowUp.d.ts.map +1 -1
  891. package/dist/src/ui/components/icon-components/ArrowUp.js +4 -2
  892. package/dist/src/ui/components/icon-components/ArrowUp.js.map +1 -1
  893. package/dist/src/ui/components/icon-components/BarChart.d.ts +6 -2
  894. package/dist/src/ui/components/icon-components/BarChart.d.ts.map +1 -1
  895. package/dist/src/ui/components/icon-components/BarChart.js +4 -2
  896. package/dist/src/ui/components/icon-components/BarChart.js.map +1 -1
  897. package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts +6 -2
  898. package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts.map +1 -1
  899. package/dist/src/ui/components/icon-components/BaseArrowLeft.js +4 -2
  900. package/dist/src/ui/components/icon-components/BaseArrowLeft.js.map +1 -1
  901. package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts +6 -2
  902. package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts.map +1 -1
  903. package/dist/src/ui/components/icon-components/BaseArrowRight.js +4 -2
  904. package/dist/src/ui/components/icon-components/BaseArrowRight.js.map +1 -1
  905. package/dist/src/ui/components/icon-components/Braces.d.ts +6 -2
  906. package/dist/src/ui/components/icon-components/Braces.d.ts.map +1 -1
  907. package/dist/src/ui/components/icon-components/Braces.js +4 -2
  908. package/dist/src/ui/components/icon-components/Braces.js.map +1 -1
  909. package/dist/src/ui/components/icon-components/Branch.d.ts +6 -2
  910. package/dist/src/ui/components/icon-components/Branch.d.ts.map +1 -1
  911. package/dist/src/ui/components/icon-components/Branch.js +4 -2
  912. package/dist/src/ui/components/icon-components/Branch.js.map +1 -1
  913. package/dist/src/ui/components/icon-components/BrickGlobe.d.ts +6 -2
  914. package/dist/src/ui/components/icon-components/BrickGlobe.d.ts.map +1 -1
  915. package/dist/src/ui/components/icon-components/BrickGlobe.js +4 -2
  916. package/dist/src/ui/components/icon-components/BrickGlobe.js.map +1 -1
  917. package/dist/src/ui/components/icon-components/Briefcase.d.ts +6 -2
  918. package/dist/src/ui/components/icon-components/Briefcase.d.ts.map +1 -1
  919. package/dist/src/ui/components/icon-components/Briefcase.js +4 -2
  920. package/dist/src/ui/components/icon-components/Briefcase.js.map +1 -1
  921. package/dist/src/ui/components/icon-components/Calendar.d.ts +6 -2
  922. package/dist/src/ui/components/icon-components/Calendar.d.ts.map +1 -1
  923. package/dist/src/ui/components/icon-components/Calendar.js +4 -2
  924. package/dist/src/ui/components/icon-components/Calendar.js.map +1 -1
  925. package/dist/src/ui/components/icon-components/CalendarTime.d.ts +6 -2
  926. package/dist/src/ui/components/icon-components/CalendarTime.d.ts.map +1 -1
  927. package/dist/src/ui/components/icon-components/CalendarTime.js +4 -2
  928. package/dist/src/ui/components/icon-components/CalendarTime.js.map +1 -1
  929. package/dist/src/ui/components/icon-components/Caret.d.ts +6 -2
  930. package/dist/src/ui/components/icon-components/Caret.d.ts.map +1 -1
  931. package/dist/src/ui/components/icon-components/Caret.js +4 -2
  932. package/dist/src/ui/components/icon-components/Caret.js.map +1 -1
  933. package/dist/src/ui/components/icon-components/CaretDown.d.ts +6 -2
  934. package/dist/src/ui/components/icon-components/CaretDown.d.ts.map +1 -1
  935. package/dist/src/ui/components/icon-components/CaretDown.js +4 -2
  936. package/dist/src/ui/components/icon-components/CaretDown.js.map +1 -1
  937. package/dist/src/ui/components/icon-components/CaretLeft.d.ts +6 -2
  938. package/dist/src/ui/components/icon-components/CaretLeft.d.ts.map +1 -1
  939. package/dist/src/ui/components/icon-components/CaretLeft.js +4 -2
  940. package/dist/src/ui/components/icon-components/CaretLeft.js.map +1 -1
  941. package/dist/src/ui/components/icon-components/CaretRight.d.ts +6 -2
  942. package/dist/src/ui/components/icon-components/CaretRight.d.ts.map +1 -1
  943. package/dist/src/ui/components/icon-components/CaretRight.js +4 -2
  944. package/dist/src/ui/components/icon-components/CaretRight.js.map +1 -1
  945. package/dist/src/ui/components/icon-components/CaretSort.d.ts +6 -2
  946. package/dist/src/ui/components/icon-components/CaretSort.d.ts.map +1 -1
  947. package/dist/src/ui/components/icon-components/CaretSort.js +4 -2
  948. package/dist/src/ui/components/icon-components/CaretSort.js.map +1 -1
  949. package/dist/src/ui/components/icon-components/Check.d.ts +6 -2
  950. package/dist/src/ui/components/icon-components/Check.d.ts.map +1 -1
  951. package/dist/src/ui/components/icon-components/Check.js +4 -2
  952. package/dist/src/ui/components/icon-components/Check.js.map +1 -1
  953. package/dist/src/ui/components/icon-components/CheckCircle.d.ts +6 -2
  954. package/dist/src/ui/components/icon-components/CheckCircle.d.ts.map +1 -1
  955. package/dist/src/ui/components/icon-components/CheckCircle.js +4 -2
  956. package/dist/src/ui/components/icon-components/CheckCircle.js.map +1 -1
  957. package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts +6 -2
  958. package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts.map +1 -1
  959. package/dist/src/ui/components/icon-components/CheckCircleFill.js +4 -2
  960. package/dist/src/ui/components/icon-components/CheckCircleFill.js.map +1 -1
  961. package/dist/src/ui/components/icon-components/Checkmark.d.ts +6 -2
  962. package/dist/src/ui/components/icon-components/Checkmark.d.ts.map +1 -1
  963. package/dist/src/ui/components/icon-components/Checkmark.js +4 -2
  964. package/dist/src/ui/components/icon-components/Checkmark.js.map +1 -1
  965. package/dist/src/ui/components/icon-components/ChevronDown.d.ts +6 -2
  966. package/dist/src/ui/components/icon-components/ChevronDown.d.ts.map +1 -1
  967. package/dist/src/ui/components/icon-components/ChevronDown.js +4 -2
  968. package/dist/src/ui/components/icon-components/ChevronDown.js.map +1 -1
  969. package/dist/src/ui/components/icon-components/Circle.d.ts +6 -2
  970. package/dist/src/ui/components/icon-components/Circle.d.ts.map +1 -1
  971. package/dist/src/ui/components/icon-components/Circle.js +4 -2
  972. package/dist/src/ui/components/icon-components/Circle.js.map +1 -1
  973. package/dist/src/ui/components/icon-components/CircleInfo.d.ts +6 -2
  974. package/dist/src/ui/components/icon-components/CircleInfo.d.ts.map +1 -1
  975. package/dist/src/ui/components/icon-components/CircleInfo.js +4 -2
  976. package/dist/src/ui/components/icon-components/CircleInfo.js.map +1 -1
  977. package/dist/src/ui/components/icon-components/Clock.d.ts +6 -2
  978. package/dist/src/ui/components/icon-components/Clock.d.ts.map +1 -1
  979. package/dist/src/ui/components/icon-components/Clock.js +4 -2
  980. package/dist/src/ui/components/icon-components/Clock.js.map +1 -1
  981. package/dist/src/ui/components/icon-components/ClockFill.d.ts +6 -2
  982. package/dist/src/ui/components/icon-components/ClockFill.d.ts.map +1 -1
  983. package/dist/src/ui/components/icon-components/ClockFill.js +4 -2
  984. package/dist/src/ui/components/icon-components/ClockFill.js.map +1 -1
  985. package/dist/src/ui/components/icon-components/ClockHistory.d.ts +6 -2
  986. package/dist/src/ui/components/icon-components/ClockHistory.d.ts.map +1 -1
  987. package/dist/src/ui/components/icon-components/ClockHistory.js +4 -2
  988. package/dist/src/ui/components/icon-components/ClockHistory.js.map +1 -1
  989. package/dist/src/ui/components/icon-components/CloudSlash.d.ts +6 -2
  990. package/dist/src/ui/components/icon-components/CloudSlash.d.ts.map +1 -1
  991. package/dist/src/ui/components/icon-components/CloudSlash.js +4 -2
  992. package/dist/src/ui/components/icon-components/CloudSlash.js.map +1 -1
  993. package/dist/src/ui/components/icon-components/Collapse.d.ts +6 -2
  994. package/dist/src/ui/components/icon-components/Collapse.d.ts.map +1 -1
  995. package/dist/src/ui/components/icon-components/Collapse.js +4 -2
  996. package/dist/src/ui/components/icon-components/Collapse.js.map +1 -1
  997. package/dist/src/ui/components/icon-components/Compass.d.ts +6 -2
  998. package/dist/src/ui/components/icon-components/Compass.d.ts.map +1 -1
  999. package/dist/src/ui/components/icon-components/Compass.js +4 -2
  1000. package/dist/src/ui/components/icon-components/Compass.js.map +1 -1
  1001. package/dist/src/ui/components/icon-components/Connect.d.ts +6 -2
  1002. package/dist/src/ui/components/icon-components/Connect.d.ts.map +1 -1
  1003. package/dist/src/ui/components/icon-components/Connect.js +4 -2
  1004. package/dist/src/ui/components/icon-components/Connect.js.map +1 -1
  1005. package/dist/src/ui/components/icon-components/ConnectSmall.d.ts +6 -2
  1006. package/dist/src/ui/components/icon-components/ConnectSmall.d.ts.map +1 -1
  1007. package/dist/src/ui/components/icon-components/ConnectSmall.js +4 -2
  1008. package/dist/src/ui/components/icon-components/ConnectSmall.js.map +1 -1
  1009. package/dist/src/ui/components/icon-components/Copy.d.ts +6 -2
  1010. package/dist/src/ui/components/icon-components/Copy.d.ts.map +1 -1
  1011. package/dist/src/ui/components/icon-components/Copy.js +4 -2
  1012. package/dist/src/ui/components/icon-components/Copy.js.map +1 -1
  1013. package/dist/src/ui/components/icon-components/Created.d.ts +6 -2
  1014. package/dist/src/ui/components/icon-components/Created.d.ts.map +1 -1
  1015. package/dist/src/ui/components/icon-components/Created.js +4 -2
  1016. package/dist/src/ui/components/icon-components/Created.js.map +1 -1
  1017. package/dist/src/ui/components/icon-components/CrossCircle.d.ts +6 -2
  1018. package/dist/src/ui/components/icon-components/CrossCircle.d.ts.map +1 -1
  1019. package/dist/src/ui/components/icon-components/CrossCircle.js +4 -2
  1020. package/dist/src/ui/components/icon-components/CrossCircle.js.map +1 -1
  1021. package/dist/src/ui/components/icon-components/Danger.d.ts +6 -2
  1022. package/dist/src/ui/components/icon-components/Danger.d.ts.map +1 -1
  1023. package/dist/src/ui/components/icon-components/Danger.js +4 -2
  1024. package/dist/src/ui/components/icon-components/Danger.js.map +1 -1
  1025. package/dist/src/ui/components/icon-components/DescendenceModified.d.ts +6 -2
  1026. package/dist/src/ui/components/icon-components/DescendenceModified.d.ts.map +1 -1
  1027. package/dist/src/ui/components/icon-components/DescendenceModified.js +4 -2
  1028. package/dist/src/ui/components/icon-components/DescendenceModified.js.map +1 -1
  1029. package/dist/src/ui/components/icon-components/Disconnect.d.ts +6 -2
  1030. package/dist/src/ui/components/icon-components/Disconnect.d.ts.map +1 -1
  1031. package/dist/src/ui/components/icon-components/Disconnect.js +4 -2
  1032. package/dist/src/ui/components/icon-components/Disconnect.js.map +1 -1
  1033. package/dist/src/ui/components/icon-components/Discord.d.ts +6 -2
  1034. package/dist/src/ui/components/icon-components/Discord.d.ts.map +1 -1
  1035. package/dist/src/ui/components/icon-components/Discord.js +4 -2
  1036. package/dist/src/ui/components/icon-components/Discord.js.map +1 -1
  1037. package/dist/src/ui/components/icon-components/DownloadFile.d.ts +6 -2
  1038. package/dist/src/ui/components/icon-components/DownloadFile.d.ts.map +1 -1
  1039. package/dist/src/ui/components/icon-components/DownloadFile.js +4 -2
  1040. package/dist/src/ui/components/icon-components/DownloadFile.js.map +1 -1
  1041. package/dist/src/ui/components/icon-components/Drive.d.ts +6 -2
  1042. package/dist/src/ui/components/icon-components/Drive.d.ts.map +1 -1
  1043. package/dist/src/ui/components/icon-components/Drive.js +4 -2
  1044. package/dist/src/ui/components/icon-components/Drive.js.map +1 -1
  1045. package/dist/src/ui/components/icon-components/Duplicated.d.ts +6 -2
  1046. package/dist/src/ui/components/icon-components/Duplicated.d.ts.map +1 -1
  1047. package/dist/src/ui/components/icon-components/Duplicated.js +4 -2
  1048. package/dist/src/ui/components/icon-components/Duplicated.js.map +1 -1
  1049. package/dist/src/ui/components/icon-components/Edit.d.ts +6 -2
  1050. package/dist/src/ui/components/icon-components/Edit.d.ts.map +1 -1
  1051. package/dist/src/ui/components/icon-components/Edit.js +4 -2
  1052. package/dist/src/ui/components/icon-components/Edit.js.map +1 -1
  1053. package/dist/src/ui/components/icon-components/Ellipsis.d.ts +6 -2
  1054. package/dist/src/ui/components/icon-components/Ellipsis.d.ts.map +1 -1
  1055. package/dist/src/ui/components/icon-components/Ellipsis.js +4 -2
  1056. package/dist/src/ui/components/icon-components/Ellipsis.js.map +1 -1
  1057. package/dist/src/ui/components/icon-components/Error.d.ts +6 -2
  1058. package/dist/src/ui/components/icon-components/Error.d.ts.map +1 -1
  1059. package/dist/src/ui/components/icon-components/Error.js +4 -2
  1060. package/dist/src/ui/components/icon-components/Error.js.map +1 -1
  1061. package/dist/src/ui/components/icon-components/Ethscan.d.ts +6 -2
  1062. package/dist/src/ui/components/icon-components/Ethscan.d.ts.map +1 -1
  1063. package/dist/src/ui/components/icon-components/Ethscan.js +4 -2
  1064. package/dist/src/ui/components/icon-components/Ethscan.js.map +1 -1
  1065. package/dist/src/ui/components/icon-components/Exclamation.d.ts +6 -2
  1066. package/dist/src/ui/components/icon-components/Exclamation.d.ts.map +1 -1
  1067. package/dist/src/ui/components/icon-components/Exclamation.js +4 -2
  1068. package/dist/src/ui/components/icon-components/Exclamation.js.map +1 -1
  1069. package/dist/src/ui/components/icon-components/ExportCsv.d.ts +6 -2
  1070. package/dist/src/ui/components/icon-components/ExportCsv.d.ts.map +1 -1
  1071. package/dist/src/ui/components/icon-components/ExportCsv.js +4 -2
  1072. package/dist/src/ui/components/icon-components/ExportCsv.js.map +1 -1
  1073. package/dist/src/ui/components/icon-components/ExportJson.d.ts +6 -2
  1074. package/dist/src/ui/components/icon-components/ExportJson.d.ts.map +1 -1
  1075. package/dist/src/ui/components/icon-components/ExportJson.js +4 -2
  1076. package/dist/src/ui/components/icon-components/ExportJson.js.map +1 -1
  1077. package/dist/src/ui/components/icon-components/ExportPdf.d.ts +6 -2
  1078. package/dist/src/ui/components/icon-components/ExportPdf.d.ts.map +1 -1
  1079. package/dist/src/ui/components/icon-components/ExportPdf.js +4 -2
  1080. package/dist/src/ui/components/icon-components/ExportPdf.js.map +1 -1
  1081. package/dist/src/ui/components/icon-components/ExportUbl.d.ts +6 -2
  1082. package/dist/src/ui/components/icon-components/ExportUbl.d.ts.map +1 -1
  1083. package/dist/src/ui/components/icon-components/ExportUbl.js +4 -2
  1084. package/dist/src/ui/components/icon-components/ExportUbl.js.map +1 -1
  1085. package/dist/src/ui/components/icon-components/ExportZip.d.ts +6 -2
  1086. package/dist/src/ui/components/icon-components/ExportZip.d.ts.map +1 -1
  1087. package/dist/src/ui/components/icon-components/ExportZip.js +4 -2
  1088. package/dist/src/ui/components/icon-components/ExportZip.js.map +1 -1
  1089. package/dist/src/ui/components/icon-components/File.d.ts +6 -2
  1090. package/dist/src/ui/components/icon-components/File.d.ts.map +1 -1
  1091. package/dist/src/ui/components/icon-components/File.js +4 -2
  1092. package/dist/src/ui/components/icon-components/File.js.map +1 -1
  1093. package/dist/src/ui/components/icon-components/FilesEarmark.d.ts +6 -2
  1094. package/dist/src/ui/components/icon-components/FilesEarmark.d.ts.map +1 -1
  1095. package/dist/src/ui/components/icon-components/FilesEarmark.js +4 -2
  1096. package/dist/src/ui/components/icon-components/FilesEarmark.js.map +1 -1
  1097. package/dist/src/ui/components/icon-components/FolderClose.d.ts +6 -2
  1098. package/dist/src/ui/components/icon-components/FolderClose.d.ts.map +1 -1
  1099. package/dist/src/ui/components/icon-components/FolderClose.js +4 -2
  1100. package/dist/src/ui/components/icon-components/FolderClose.js.map +1 -1
  1101. package/dist/src/ui/components/icon-components/FolderOpen.d.ts +6 -2
  1102. package/dist/src/ui/components/icon-components/FolderOpen.d.ts.map +1 -1
  1103. package/dist/src/ui/components/icon-components/FolderOpen.js +4 -2
  1104. package/dist/src/ui/components/icon-components/FolderOpen.js.map +1 -1
  1105. package/dist/src/ui/components/icon-components/FolderPlus.d.ts +6 -2
  1106. package/dist/src/ui/components/icon-components/FolderPlus.d.ts.map +1 -1
  1107. package/dist/src/ui/components/icon-components/FolderPlus.js +4 -2
  1108. package/dist/src/ui/components/icon-components/FolderPlus.js.map +1 -1
  1109. package/dist/src/ui/components/icon-components/Forum.d.ts +6 -2
  1110. package/dist/src/ui/components/icon-components/Forum.d.ts.map +1 -1
  1111. package/dist/src/ui/components/icon-components/Forum.js +4 -2
  1112. package/dist/src/ui/components/icon-components/Forum.js.map +1 -1
  1113. package/dist/src/ui/components/icon-components/Gear.d.ts +6 -2
  1114. package/dist/src/ui/components/icon-components/Gear.d.ts.map +1 -1
  1115. package/dist/src/ui/components/icon-components/Gear.js +4 -2
  1116. package/dist/src/ui/components/icon-components/Gear.js.map +1 -1
  1117. package/dist/src/ui/components/icon-components/Github.d.ts +6 -2
  1118. package/dist/src/ui/components/icon-components/Github.d.ts.map +1 -1
  1119. package/dist/src/ui/components/icon-components/Github.js +4 -2
  1120. package/dist/src/ui/components/icon-components/Github.js.map +1 -1
  1121. package/dist/src/ui/components/icon-components/Globe.d.ts +6 -2
  1122. package/dist/src/ui/components/icon-components/Globe.d.ts.map +1 -1
  1123. package/dist/src/ui/components/icon-components/Globe.js +4 -2
  1124. package/dist/src/ui/components/icon-components/Globe.js.map +1 -1
  1125. package/dist/src/ui/components/icon-components/GlobeWww.d.ts +6 -2
  1126. package/dist/src/ui/components/icon-components/GlobeWww.d.ts.map +1 -1
  1127. package/dist/src/ui/components/icon-components/GlobeWww.js +4 -2
  1128. package/dist/src/ui/components/icon-components/GlobeWww.js.map +1 -1
  1129. package/dist/src/ui/components/icon-components/Hdd.d.ts +6 -2
  1130. package/dist/src/ui/components/icon-components/Hdd.d.ts.map +1 -1
  1131. package/dist/src/ui/components/icon-components/Hdd.js +4 -2
  1132. package/dist/src/ui/components/icon-components/Hdd.js.map +1 -1
  1133. package/dist/src/ui/components/icon-components/History.d.ts +6 -2
  1134. package/dist/src/ui/components/icon-components/History.d.ts.map +1 -1
  1135. package/dist/src/ui/components/icon-components/History.js +4 -2
  1136. package/dist/src/ui/components/icon-components/History.js.map +1 -1
  1137. package/dist/src/ui/components/icon-components/InfoSquare.d.ts +6 -2
  1138. package/dist/src/ui/components/icon-components/InfoSquare.d.ts.map +1 -1
  1139. package/dist/src/ui/components/icon-components/InfoSquare.js +4 -2
  1140. package/dist/src/ui/components/icon-components/InfoSquare.js.map +1 -1
  1141. package/dist/src/ui/components/icon-components/Link.d.ts +6 -2
  1142. package/dist/src/ui/components/icon-components/Link.d.ts.map +1 -1
  1143. package/dist/src/ui/components/icon-components/Link.js +4 -2
  1144. package/dist/src/ui/components/icon-components/Link.js.map +1 -1
  1145. package/dist/src/ui/components/icon-components/Linkedin.d.ts +6 -2
  1146. package/dist/src/ui/components/icon-components/Linkedin.d.ts.map +1 -1
  1147. package/dist/src/ui/components/icon-components/Linkedin.js +4 -2
  1148. package/dist/src/ui/components/icon-components/Linkedin.js.map +1 -1
  1149. package/dist/src/ui/components/icon-components/Lock.d.ts +6 -2
  1150. package/dist/src/ui/components/icon-components/Lock.d.ts.map +1 -1
  1151. package/dist/src/ui/components/icon-components/Lock.js +4 -2
  1152. package/dist/src/ui/components/icon-components/Lock.js.map +1 -1
  1153. package/dist/src/ui/components/icon-components/M.d.ts +6 -2
  1154. package/dist/src/ui/components/icon-components/M.d.ts.map +1 -1
  1155. package/dist/src/ui/components/icon-components/M.js +4 -2
  1156. package/dist/src/ui/components/icon-components/M.js.map +1 -1
  1157. package/dist/src/ui/components/icon-components/Modified.d.ts +6 -2
  1158. package/dist/src/ui/components/icon-components/Modified.d.ts.map +1 -1
  1159. package/dist/src/ui/components/icon-components/Modified.js +4 -2
  1160. package/dist/src/ui/components/icon-components/Modified.js.map +1 -1
  1161. package/dist/src/ui/components/icon-components/Moved.d.ts +6 -2
  1162. package/dist/src/ui/components/icon-components/Moved.d.ts.map +1 -1
  1163. package/dist/src/ui/components/icon-components/Moved.js +4 -2
  1164. package/dist/src/ui/components/icon-components/Moved.js.map +1 -1
  1165. package/dist/src/ui/components/icon-components/Npm.d.ts +6 -2
  1166. package/dist/src/ui/components/icon-components/Npm.d.ts.map +1 -1
  1167. package/dist/src/ui/components/icon-components/Npm.js +4 -2
  1168. package/dist/src/ui/components/icon-components/Npm.js.map +1 -1
  1169. package/dist/src/ui/components/icon-components/PackageManager.d.ts +6 -2
  1170. package/dist/src/ui/components/icon-components/PackageManager.d.ts.map +1 -1
  1171. package/dist/src/ui/components/icon-components/PackageManager.js +4 -2
  1172. package/dist/src/ui/components/icon-components/PackageManager.js.map +1 -1
  1173. package/dist/src/ui/components/icon-components/Pencil.d.ts +6 -2
  1174. package/dist/src/ui/components/icon-components/Pencil.d.ts.map +1 -1
  1175. package/dist/src/ui/components/icon-components/Pencil.js +4 -2
  1176. package/dist/src/ui/components/icon-components/Pencil.js.map +1 -1
  1177. package/dist/src/ui/components/icon-components/People.d.ts +6 -2
  1178. package/dist/src/ui/components/icon-components/People.d.ts.map +1 -1
  1179. package/dist/src/ui/components/icon-components/People.js +4 -2
  1180. package/dist/src/ui/components/icon-components/People.js.map +1 -1
  1181. package/dist/src/ui/components/icon-components/PeopleFill.d.ts +6 -2
  1182. package/dist/src/ui/components/icon-components/PeopleFill.d.ts.map +1 -1
  1183. package/dist/src/ui/components/icon-components/PeopleFill.js +4 -2
  1184. package/dist/src/ui/components/icon-components/PeopleFill.js.map +1 -1
  1185. package/dist/src/ui/components/icon-components/Person.d.ts +6 -2
  1186. package/dist/src/ui/components/icon-components/Person.d.ts.map +1 -1
  1187. package/dist/src/ui/components/icon-components/Person.js +4 -2
  1188. package/dist/src/ui/components/icon-components/Person.js.map +1 -1
  1189. package/dist/src/ui/components/icon-components/Pin.d.ts +6 -2
  1190. package/dist/src/ui/components/icon-components/Pin.d.ts.map +1 -1
  1191. package/dist/src/ui/components/icon-components/Pin.js +4 -2
  1192. package/dist/src/ui/components/icon-components/Pin.js.map +1 -1
  1193. package/dist/src/ui/components/icon-components/PinFilled.d.ts +6 -2
  1194. package/dist/src/ui/components/icon-components/PinFilled.d.ts.map +1 -1
  1195. package/dist/src/ui/components/icon-components/PinFilled.js +4 -2
  1196. package/dist/src/ui/components/icon-components/PinFilled.js.map +1 -1
  1197. package/dist/src/ui/components/icon-components/Plus.d.ts +6 -2
  1198. package/dist/src/ui/components/icon-components/Plus.d.ts.map +1 -1
  1199. package/dist/src/ui/components/icon-components/Plus.js +4 -2
  1200. package/dist/src/ui/components/icon-components/Plus.js.map +1 -1
  1201. package/dist/src/ui/components/icon-components/PlusCircle.d.ts +6 -2
  1202. package/dist/src/ui/components/icon-components/PlusCircle.d.ts.map +1 -1
  1203. package/dist/src/ui/components/icon-components/PlusCircle.js +4 -2
  1204. package/dist/src/ui/components/icon-components/PlusCircle.js.map +1 -1
  1205. package/dist/src/ui/components/icon-components/PlusSquare.d.ts +6 -2
  1206. package/dist/src/ui/components/icon-components/PlusSquare.d.ts.map +1 -1
  1207. package/dist/src/ui/components/icon-components/PlusSquare.js +4 -2
  1208. package/dist/src/ui/components/icon-components/PlusSquare.js.map +1 -1
  1209. package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts +6 -2
  1210. package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts.map +1 -1
  1211. package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js +4 -2
  1212. package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js.map +1 -1
  1213. package/dist/src/ui/components/icon-components/Project.d.ts +6 -2
  1214. package/dist/src/ui/components/icon-components/Project.d.ts.map +1 -1
  1215. package/dist/src/ui/components/icon-components/Project.js +4 -2
  1216. package/dist/src/ui/components/icon-components/Project.js.map +1 -1
  1217. package/dist/src/ui/components/icon-components/QuestionSquare.d.ts +6 -2
  1218. package/dist/src/ui/components/icon-components/QuestionSquare.d.ts.map +1 -1
  1219. package/dist/src/ui/components/icon-components/QuestionSquare.js +4 -2
  1220. package/dist/src/ui/components/icon-components/QuestionSquare.js.map +1 -1
  1221. package/dist/src/ui/components/icon-components/RedoArrow.d.ts +6 -2
  1222. package/dist/src/ui/components/icon-components/RedoArrow.d.ts.map +1 -1
  1223. package/dist/src/ui/components/icon-components/RedoArrow.js +4 -2
  1224. package/dist/src/ui/components/icon-components/RedoArrow.js.map +1 -1
  1225. package/dist/src/ui/components/icon-components/Reload.d.ts +6 -2
  1226. package/dist/src/ui/components/icon-components/Reload.d.ts.map +1 -1
  1227. package/dist/src/ui/components/icon-components/Reload.js +4 -2
  1228. package/dist/src/ui/components/icon-components/Reload.js.map +1 -1
  1229. package/dist/src/ui/components/icon-components/Removed.d.ts +6 -2
  1230. package/dist/src/ui/components/icon-components/Removed.d.ts.map +1 -1
  1231. package/dist/src/ui/components/icon-components/Removed.js +4 -2
  1232. package/dist/src/ui/components/icon-components/Removed.js.map +1 -1
  1233. package/dist/src/ui/components/icon-components/Renown.d.ts +6 -2
  1234. package/dist/src/ui/components/icon-components/Renown.d.ts.map +1 -1
  1235. package/dist/src/ui/components/icon-components/Renown.js +4 -2
  1236. package/dist/src/ui/components/icon-components/Renown.js.map +1 -1
  1237. package/dist/src/ui/components/icon-components/RenownHover.d.ts +6 -2
  1238. package/dist/src/ui/components/icon-components/RenownHover.d.ts.map +1 -1
  1239. package/dist/src/ui/components/icon-components/RenownHover.js +4 -2
  1240. package/dist/src/ui/components/icon-components/RenownHover.js.map +1 -1
  1241. package/dist/src/ui/components/icon-components/RenownLight.d.ts +6 -2
  1242. package/dist/src/ui/components/icon-components/RenownLight.d.ts.map +1 -1
  1243. package/dist/src/ui/components/icon-components/RenownLight.js +4 -2
  1244. package/dist/src/ui/components/icon-components/RenownLight.js.map +1 -1
  1245. package/dist/src/ui/components/icon-components/Ring.d.ts +6 -2
  1246. package/dist/src/ui/components/icon-components/Ring.d.ts.map +1 -1
  1247. package/dist/src/ui/components/icon-components/Ring.js +4 -2
  1248. package/dist/src/ui/components/icon-components/Ring.js.map +1 -1
  1249. package/dist/src/ui/components/icon-components/Save.d.ts +6 -2
  1250. package/dist/src/ui/components/icon-components/Save.d.ts.map +1 -1
  1251. package/dist/src/ui/components/icon-components/Save.js +4 -2
  1252. package/dist/src/ui/components/icon-components/Save.js.map +1 -1
  1253. package/dist/src/ui/components/icon-components/Search.d.ts +6 -2
  1254. package/dist/src/ui/components/icon-components/Search.d.ts.map +1 -1
  1255. package/dist/src/ui/components/icon-components/Search.js +4 -2
  1256. package/dist/src/ui/components/icon-components/Search.js.map +1 -1
  1257. package/dist/src/ui/components/icon-components/Server.d.ts +6 -2
  1258. package/dist/src/ui/components/icon-components/Server.d.ts.map +1 -1
  1259. package/dist/src/ui/components/icon-components/Server.js +4 -2
  1260. package/dist/src/ui/components/icon-components/Server.js.map +1 -1
  1261. package/dist/src/ui/components/icon-components/Settings.d.ts +6 -2
  1262. package/dist/src/ui/components/icon-components/Settings.d.ts.map +1 -1
  1263. package/dist/src/ui/components/icon-components/Settings.js +4 -2
  1264. package/dist/src/ui/components/icon-components/Settings.js.map +1 -1
  1265. package/dist/src/ui/components/icon-components/Synced.d.ts +6 -2
  1266. package/dist/src/ui/components/icon-components/Synced.d.ts.map +1 -1
  1267. package/dist/src/ui/components/icon-components/Synced.js +4 -2
  1268. package/dist/src/ui/components/icon-components/Synced.js.map +1 -1
  1269. package/dist/src/ui/components/icon-components/Syncing.d.ts +6 -2
  1270. package/dist/src/ui/components/icon-components/Syncing.d.ts.map +1 -1
  1271. package/dist/src/ui/components/icon-components/Syncing.js +4 -2
  1272. package/dist/src/ui/components/icon-components/Syncing.js.map +1 -1
  1273. package/dist/src/ui/components/icon-components/Tabler.d.ts +6 -2
  1274. package/dist/src/ui/components/icon-components/Tabler.d.ts.map +1 -1
  1275. package/dist/src/ui/components/icon-components/Tabler.js +4 -2
  1276. package/dist/src/ui/components/icon-components/Tabler.js.map +1 -1
  1277. package/dist/src/ui/components/icon-components/Timeline.d.ts +6 -2
  1278. package/dist/src/ui/components/icon-components/Timeline.d.ts.map +1 -1
  1279. package/dist/src/ui/components/icon-components/Timeline.js +4 -2
  1280. package/dist/src/ui/components/icon-components/Timeline.js.map +1 -1
  1281. package/dist/src/ui/components/icon-components/TimelineCaret.d.ts +6 -2
  1282. package/dist/src/ui/components/icon-components/TimelineCaret.d.ts.map +1 -1
  1283. package/dist/src/ui/components/icon-components/TimelineCaret.js +4 -2
  1284. package/dist/src/ui/components/icon-components/TimelineCaret.js.map +1 -1
  1285. package/dist/src/ui/components/icon-components/Trash.d.ts +6 -2
  1286. package/dist/src/ui/components/icon-components/Trash.d.ts.map +1 -1
  1287. package/dist/src/ui/components/icon-components/Trash.js +4 -2
  1288. package/dist/src/ui/components/icon-components/Trash.js.map +1 -1
  1289. package/dist/src/ui/components/icon-components/TrashFill.d.ts +6 -2
  1290. package/dist/src/ui/components/icon-components/TrashFill.d.ts.map +1 -1
  1291. package/dist/src/ui/components/icon-components/TrashFill.js +4 -2
  1292. package/dist/src/ui/components/icon-components/TrashFill.js.map +1 -1
  1293. package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts +6 -2
  1294. package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts.map +1 -1
  1295. package/dist/src/ui/components/icon-components/TreeViewSlash.js +4 -2
  1296. package/dist/src/ui/components/icon-components/TreeViewSlash.js.map +1 -1
  1297. package/dist/src/ui/components/icon-components/TriangleDown.d.ts +6 -2
  1298. package/dist/src/ui/components/icon-components/TriangleDown.d.ts.map +1 -1
  1299. package/dist/src/ui/components/icon-components/TriangleDown.js +4 -2
  1300. package/dist/src/ui/components/icon-components/TriangleDown.js.map +1 -1
  1301. package/dist/src/ui/components/icon-components/Tube.d.ts +6 -2
  1302. package/dist/src/ui/components/icon-components/Tube.d.ts.map +1 -1
  1303. package/dist/src/ui/components/icon-components/Tube.js +4 -2
  1304. package/dist/src/ui/components/icon-components/Tube.js.map +1 -1
  1305. package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts +6 -2
  1306. package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts.map +1 -1
  1307. package/dist/src/ui/components/icon-components/VariantArrowLeft.js +4 -2
  1308. package/dist/src/ui/components/icon-components/VariantArrowLeft.js.map +1 -1
  1309. package/dist/src/ui/components/icon-components/VerticalDots.d.ts +6 -2
  1310. package/dist/src/ui/components/icon-components/VerticalDots.d.ts.map +1 -1
  1311. package/dist/src/ui/components/icon-components/VerticalDots.js +4 -2
  1312. package/dist/src/ui/components/icon-components/VerticalDots.js.map +1 -1
  1313. package/dist/src/ui/components/icon-components/WarningFill.d.ts +6 -2
  1314. package/dist/src/ui/components/icon-components/WarningFill.d.ts.map +1 -1
  1315. package/dist/src/ui/components/icon-components/WarningFill.js +4 -2
  1316. package/dist/src/ui/components/icon-components/WarningFill.js.map +1 -1
  1317. package/dist/src/ui/components/icon-components/XTwitter.d.ts +6 -2
  1318. package/dist/src/ui/components/icon-components/XTwitter.d.ts.map +1 -1
  1319. package/dist/src/ui/components/icon-components/XTwitter.js +4 -2
  1320. package/dist/src/ui/components/icon-components/XTwitter.js.map +1 -1
  1321. package/dist/src/ui/components/icon-components/Xmark.d.ts +6 -2
  1322. package/dist/src/ui/components/icon-components/Xmark.d.ts.map +1 -1
  1323. package/dist/src/ui/components/icon-components/Xmark.js +4 -2
  1324. package/dist/src/ui/components/icon-components/Xmark.js.map +1 -1
  1325. package/dist/src/ui/components/icon-components/XmarkLight.d.ts +6 -2
  1326. package/dist/src/ui/components/icon-components/XmarkLight.d.ts.map +1 -1
  1327. package/dist/src/ui/components/icon-components/XmarkLight.js +4 -2
  1328. package/dist/src/ui/components/icon-components/XmarkLight.js.map +1 -1
  1329. package/dist/src/ui/components/icon-components/Youtube.d.ts +6 -2
  1330. package/dist/src/ui/components/icon-components/Youtube.d.ts.map +1 -1
  1331. package/dist/src/ui/components/icon-components/Youtube.js +4 -2
  1332. package/dist/src/ui/components/icon-components/Youtube.js.map +1 -1
  1333. package/dist/src/ui/components/icon-components/index.d.ts +2 -3
  1334. package/dist/src/ui/components/icon-components/index.d.ts.map +1 -1
  1335. package/dist/src/ui/components/icon-components/index.js +245 -245
  1336. package/dist/src/ui/components/icon-components/index.js.map +1 -1
  1337. package/dist/src/ui/components/icon-components/types.d.ts +3 -0
  1338. package/dist/src/ui/components/icon-components/types.d.ts.map +1 -0
  1339. package/dist/src/ui/components/icon-components/types.js +2 -0
  1340. package/dist/src/ui/components/icon-components/types.js.map +1 -0
  1341. package/dist/src/ui/components/index.d.ts +18 -18
  1342. package/dist/src/ui/components/index.d.ts.map +1 -1
  1343. package/dist/src/ui/components/index.js +18 -18
  1344. package/dist/src/ui/components/index.js.map +1 -1
  1345. package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.d.ts +3 -0
  1346. package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.d.ts.map +1 -0
  1347. package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.js +59 -0
  1348. package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.js.map +1 -0
  1349. package/dist/src/ui/components/object-set-table/examples/api-usage/button.d.ts +12 -0
  1350. package/dist/src/ui/components/object-set-table/examples/api-usage/button.d.ts.map +1 -0
  1351. package/dist/src/ui/components/object-set-table/examples/api-usage/button.js +13 -0
  1352. package/dist/src/ui/components/object-set-table/examples/api-usage/button.js.map +1 -0
  1353. package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.d.ts.map +1 -1
  1354. package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js +21 -22
  1355. package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js.map +1 -1
  1356. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts.map +1 -1
  1357. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js +15 -15
  1358. package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js.map +1 -1
  1359. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -1
  1360. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +11 -13
  1361. package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +1 -1
  1362. package/dist/src/ui/components/object-set-table/index.d.ts +2 -2
  1363. package/dist/src/ui/components/object-set-table/index.d.ts.map +1 -1
  1364. package/dist/src/ui/components/object-set-table/index.js +2 -2
  1365. package/dist/src/ui/components/object-set-table/index.js.map +1 -1
  1366. package/dist/src/ui/components/object-set-table/logic/public-table-api.d.ts +9 -0
  1367. package/dist/src/ui/components/object-set-table/logic/public-table-api.d.ts.map +1 -0
  1368. package/dist/src/ui/components/object-set-table/logic/public-table-api.js +43 -0
  1369. package/dist/src/ui/components/object-set-table/logic/public-table-api.js.map +1 -0
  1370. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +25 -7
  1371. package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +1 -1
  1372. package/dist/src/ui/components/object-set-table/logic/selection-manager.js +48 -13
  1373. package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +1 -1
  1374. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +13 -7
  1375. package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +1 -1
  1376. package/dist/src/ui/components/object-set-table/logic/table-api.js +15 -10
  1377. package/dist/src/ui/components/object-set-table/logic/table-api.js.map +1 -1
  1378. package/dist/src/ui/components/object-set-table/logic/types.d.ts +31 -0
  1379. package/dist/src/ui/components/object-set-table/logic/types.d.ts.map +1 -0
  1380. package/dist/src/ui/components/object-set-table/logic/types.js +2 -0
  1381. package/dist/src/ui/components/object-set-table/logic/types.js.map +1 -0
  1382. package/dist/src/ui/components/object-set-table/mock-data.d.ts +1 -1
  1383. package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +1 -1
  1384. package/dist/src/ui/components/object-set-table/mock-data.js +63 -63
  1385. package/dist/src/ui/components/object-set-table/mock-data.js.map +1 -1
  1386. package/dist/src/ui/components/object-set-table/object-set-table.d.ts +1 -1
  1387. package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +1 -1
  1388. package/dist/src/ui/components/object-set-table/object-set-table.js +10 -14
  1389. package/dist/src/ui/components/object-set-table/object-set-table.js.map +1 -1
  1390. package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +3 -3
  1391. package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +1 -1
  1392. package/dist/src/ui/components/object-set-table/subcomponents/body.js +15 -20
  1393. package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +1 -1
  1394. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +1 -1
  1395. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +2 -2
  1396. package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +1 -1
  1397. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +1 -1
  1398. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +3 -3
  1399. package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +1 -1
  1400. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +1 -1
  1401. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +1 -1
  1402. package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +1 -1
  1403. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +1 -1
  1404. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +5 -5
  1405. package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +1 -1
  1406. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.d.ts.map +1 -1
  1407. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js +2 -2
  1408. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js.map +1 -1
  1409. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +1 -1
  1410. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +1 -1
  1411. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +8 -6
  1412. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +1 -1
  1413. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +1 -1
  1414. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +1 -1
  1415. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +1 -1
  1416. package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +1 -1
  1417. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +1 -1
  1418. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +2 -3
  1419. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +1 -1
  1420. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +1 -1
  1421. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +1 -1
  1422. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +1 -1
  1423. package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +1 -1
  1424. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +1 -1
  1425. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +2 -2
  1426. package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +1 -1
  1427. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +1 -1
  1428. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +4 -4
  1429. package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +1 -1
  1430. package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +3 -3
  1431. package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +1 -1
  1432. package/dist/src/ui/components/object-set-table/subcomponents/header.js +8 -8
  1433. package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +1 -1
  1434. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +1 -1
  1435. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +3 -9
  1436. package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +1 -1
  1437. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +1 -1
  1438. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +7 -5
  1439. package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +1 -1
  1440. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +7 -6
  1441. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +1 -1
  1442. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +16 -7
  1443. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +1 -1
  1444. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +16 -11
  1445. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +1 -1
  1446. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +27 -32
  1447. package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +1 -1
  1448. package/dist/src/ui/components/object-set-table/types.d.ts +11 -9
  1449. package/dist/src/ui/components/object-set-table/types.d.ts.map +1 -1
  1450. package/dist/src/ui/components/object-set-table/utils.d.ts +2 -2
  1451. package/dist/src/ui/components/object-set-table/utils.d.ts.map +1 -1
  1452. package/dist/src/ui/components/object-set-table/utils.js +20 -20
  1453. package/dist/src/ui/components/object-set-table/utils.js.map +1 -1
  1454. package/dist/src/ui/components/sidebar/index.d.ts +3 -3
  1455. package/dist/src/ui/components/sidebar/index.d.ts.map +1 -1
  1456. package/dist/src/ui/components/sidebar/index.js +2 -2
  1457. package/dist/src/ui/components/sidebar/index.js.map +1 -1
  1458. package/dist/src/ui/components/sidebar/sidebar.d.ts +1 -1
  1459. package/dist/src/ui/components/sidebar/sidebar.d.ts.map +1 -1
  1460. package/dist/src/ui/components/sidebar/sidebar.js +16 -16
  1461. package/dist/src/ui/components/sidebar/sidebar.js.map +1 -1
  1462. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +1 -1
  1463. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -1
  1464. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +9 -9
  1465. package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -1
  1466. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -1
  1467. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +10 -7
  1468. package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -1
  1469. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +1 -1
  1470. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
  1471. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +22 -36
  1472. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
  1473. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -1
  1474. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +3 -3
  1475. package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -1
  1476. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +1 -1
  1477. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +1 -1
  1478. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +1 -1
  1479. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +1 -1
  1480. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +6 -6
  1481. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -1
  1482. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +21 -16
  1483. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -1
  1484. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +1 -1
  1485. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -1
  1486. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +1 -1
  1487. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -1
  1488. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +3 -3
  1489. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +1 -1
  1490. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +3 -3
  1491. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +1 -1
  1492. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +1 -1
  1493. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -1
  1494. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +4 -4
  1495. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -1
  1496. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -1
  1497. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +2 -2
  1498. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -1
  1499. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -1
  1500. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +17 -17
  1501. package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -1
  1502. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +2 -2
  1503. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
  1504. package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +9 -9
  1505. package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +1 -1
  1506. package/dist/src/ui/components/sidebar/types.d.ts +3 -3
  1507. package/dist/src/ui/components/sidebar/types.d.ts.map +1 -1
  1508. package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +1 -1
  1509. package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -1
  1510. package/dist/src/ui/components/sidebar/use-sidebar-resize.js +14 -14
  1511. package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +1 -1
  1512. package/dist/src/ui/components/sidebar/utils.d.ts +4 -4
  1513. package/dist/src/ui/components/sidebar/utils.d.ts.map +1 -1
  1514. package/dist/src/ui/components/sidebar/utils.js +5 -7
  1515. package/dist/src/ui/components/sidebar/utils.js.map +1 -1
  1516. package/dist/src/ui/components/tooltip/index.d.ts +1 -1
  1517. package/dist/src/ui/components/tooltip/index.d.ts.map +1 -1
  1518. package/dist/src/ui/components/tooltip/index.js +1 -1
  1519. package/dist/src/ui/components/tooltip/index.js.map +1 -1
  1520. package/dist/src/ui/components/tooltip/tooltip.d.ts +3 -3
  1521. package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
  1522. package/dist/src/ui/components/tooltip/tooltip.js +11 -10
  1523. package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
  1524. package/dist/src/ui/index.d.ts +1 -1
  1525. package/dist/src/ui/index.d.ts.map +1 -1
  1526. package/dist/src/ui/index.js +1 -1
  1527. package/dist/src/ui/index.js.map +1 -1
  1528. package/dist/style.css +13 -6
  1529. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  1530. package/package.json +13 -2
  1531. package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +0 -5
  1532. package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +0 -1
  1533. package/dist/src/scalars/EthereumAddress/EthereumAddress.js +0 -14
  1534. package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +0 -1
  1535. package/dist/src/scalars/EthereumAddress/index.d.ts +0 -2
  1536. package/dist/src/scalars/EthereumAddress/index.d.ts.map +0 -1
  1537. package/dist/src/scalars/EthereumAddress/index.js +0 -2
  1538. package/dist/src/scalars/EthereumAddress/index.js.map +0 -1
  1539. package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +0 -1
  1540. package/dist/src/scalars/components/currency-code-field/defaults.js +0 -43
  1541. package/dist/src/scalars/components/currency-code-field/defaults.js.map +0 -1
  1542. package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +0 -1
  1543. package/dist/src/scalars/components/currency-code-field/utils.js +0 -40
@@ -9,105 +9,99 @@ export const isValidNumber = (value) => {
9
9
  return /^-?\d+(\.\d+)?$/.test(value);
10
10
  };
11
11
  export const validateNumericType = ({ numericType }) => (value) => {
12
- if (value === "") {
12
+ if (value === '') {
13
13
  return true;
14
14
  }
15
15
  if (!isValidNumber(value)) {
16
- return "Value is not a valid number";
16
+ return 'Value is not a valid number';
17
17
  }
18
18
  const isPositive = Number(value) > 0;
19
19
  const isNegative = Number(value) < 0;
20
20
  const isInt = isInteger(value);
21
21
  const numberValue = Number(value);
22
- if (Math.abs(numberValue) > Number.MAX_SAFE_INTEGER &&
23
- numericType !== "BigInt") {
22
+ if (Math.abs(numberValue) > Number.MAX_SAFE_INTEGER && numericType !== 'BigInt') {
24
23
  const isFloatType = numericType &&
25
- [
26
- "Float",
27
- "PositiveFloat",
28
- "NegativeFloat",
29
- "NonNegativeFloat",
30
- "NonPositiveFloat",
31
- ].includes(numericType);
32
- return isFloatType
33
- ? "Value is too large for float"
34
- : "Value is too large for int";
24
+ ['Float', 'PositiveFloat', 'NegativeFloat', 'NonNegativeFloat', 'NonPositiveFloat'].includes(numericType);
25
+ return isFloatType ? 'Value is too large for float' : 'Value is too large for int';
35
26
  }
36
27
  switch (numericType) {
37
- case "PositiveInt": {
28
+ case 'PositiveInt': {
38
29
  if (!isInt)
39
- return "Value must be a positive integer";
30
+ return 'Value must be a positive integer';
40
31
  if (isPositive)
41
32
  return true;
42
- return "Value must be a positive integer";
33
+ return 'Value must be a positive integer';
43
34
  }
44
- case "NegativeInt": {
35
+ case 'NegativeInt': {
45
36
  if (!isInt)
46
- return "Value must be a negative integer";
37
+ return 'Value must be a negative integer';
47
38
  if (Number(value) >= 0)
48
- return "Value must be a negative integer";
39
+ return 'Value must be a negative integer';
49
40
  if (isNegative)
50
41
  return true;
51
- return "Value must be a negative integer";
42
+ return 'Value must be a negative integer';
52
43
  }
53
- case "NonNegativeInt": {
44
+ case 'NonNegativeInt': {
54
45
  if (!isInt)
55
- return "Value must be a non-negative integer";
46
+ return 'Value must be a non-negative integer';
56
47
  if (Number(value) >= 0)
57
48
  return true;
58
- return "Value must be a non-negative integer";
49
+ return 'Value must be a non-negative integer';
59
50
  }
60
- case "NonPositiveInt": {
51
+ case 'NonPositiveInt': {
61
52
  if (!isInt)
62
- return "Value must be a non-positive integer";
53
+ return 'Value must be a non-positive integer';
63
54
  if (Number(value) <= 0)
64
55
  return true;
65
- return "Value must be a non-positive integer";
56
+ return 'Value must be a non-positive integer';
66
57
  }
67
- case "PositiveFloat": {
58
+ case 'PositiveFloat': {
68
59
  if (!isFloat(value))
69
- return "Value must be a positive float";
60
+ return 'Value must be a positive float';
70
61
  if (parseFloat(value) > 0)
71
62
  return true;
72
- return "Value must be a positive float";
63
+ return 'Value must be a positive float';
73
64
  }
74
- case "NegativeFloat": {
65
+ case 'NegativeFloat': {
75
66
  if (!isFloat(value))
76
- return "Value must be a negative float";
67
+ return 'Value must be a negative float';
77
68
  if (parseFloat(value) >= 0)
78
- return "Value must be a negative float";
69
+ return 'Value must be a negative float';
79
70
  if (isNegative)
80
71
  return true;
81
- return "Value must be a negative float";
72
+ return 'Value must be a negative float';
82
73
  }
83
- case "NonNegativeFloat": {
74
+ case 'NonNegativeFloat': {
84
75
  if (!isFloat(value))
85
- return "Value must be a non-negative float ";
76
+ return 'Value must be a non-negative float ';
86
77
  if (parseFloat(value) >= 0)
87
78
  return true;
88
- return "Value must be a non-negative float";
79
+ return 'Value must be a non-negative float';
89
80
  }
90
- case "NonPositiveFloat": {
81
+ case 'NonPositiveFloat': {
91
82
  if (!isFloat(value))
92
- return "Value must be a non-positive float";
83
+ return 'Value must be a non-positive float';
93
84
  if (parseFloat(value) <= 0)
94
85
  return true;
95
- return "Value must be a non-positive float";
86
+ return 'Value must be a non-positive float';
96
87
  }
97
- case "Int": {
88
+ case 'Int': {
98
89
  if (!isInt)
99
- return "Value must be an integer";
90
+ return 'Value must be an integer';
100
91
  return true;
101
92
  }
102
- case "Float": {
93
+ case 'Float': {
103
94
  if (!isFloat(value))
104
- return "Value must be a float";
95
+ return 'Value must be a float';
105
96
  return true;
106
97
  }
107
- case "BigInt": {
98
+ case 'BigInt': {
108
99
  if (isInt)
109
100
  return true;
110
- return "This is not a valid BigInt";
101
+ return 'This is not a valid BigInt';
102
+ }
103
+ case undefined: {
104
+ return true;
111
105
  }
112
106
  default: {
113
107
  return true;
@@ -1 +1 @@
1
- {"version":3,"file":"number-field-validations.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field-validations.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAc,EAAW,EAAE,CACnD,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAElC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAc,EAAW,EAAE;IACjD,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAExD,yDAAyD;AACzD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAc,EAAW,EAAE;IACvD,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAe,CAAC,CAAC;AACjD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAC9B,CAAC,EAAE,WAAW,EAAoB,EAAE,EAAE,CACtC,CAAC,KAAc,EAAE,EAAE;IACjB,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,6BAA6B,CAAC;IACvC,CAAC;IAED,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,KAAK,GAA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,CAAC;QAED,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,IAAI,KAAK;gBAAE,OAAO,IAAI,CAAC;YACvB,OAAO,4BAA4B,CAAC;QACtC,CAAC;QAED,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"number-field-validations.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field-validations.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAc,EAAW,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;AAErF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAc,EAAW,EAAE;IACjD,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IAC5B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAA;AAEvD,yDAAyD;AACzD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAc,EAAW,EAAE;IACvD,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAe,CAAC,CAAA;AAChD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,mBAAmB,GAC9B,CAAC,EAAE,WAAW,EAAoB,EAAE,EAAE,CACtC,CAAC,KAAc,EAAE,EAAE;IACjB,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,6BAA6B,CAAA;IACtC,CAAC;IAED,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACpC,MAAM,UAAU,GAAG,MAAM,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C;gBAAE,OAAO,uBAAuB,CAAA;YACnD,OAAO,IAAI,CAAA;QACb,CAAC;QAED,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,IAAI,KAAK;gBAAE,OAAO,IAAI,CAAA;YACtB,OAAO,4BAA4B,CAAA;QACrC,CAAC;QACD,KAAK,SAAS,CAAC,CAAC,CAAC;YACf,OAAO,IAAI,CAAA;QACb,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;AACH,CAAC,CAAA"}
@@ -1,12 +1,5 @@
1
- import type { InputNumberProps } from "./types.js";
2
- export interface NumberFieldProps extends InputNumberProps {
3
- name: string;
4
- value?: number | bigint;
5
- defaultValue?: number | bigint;
6
- className?: string;
7
- pattern?: RegExp;
8
- onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
9
- }
10
- export declare const NumberFieldRaw: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<HTMLInputElement>>;
11
- export declare const NumberField: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<unknown>>;
1
+ import type { NumberFieldProps } from './types.js';
2
+ declare const NumberFieldRaw: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<HTMLInputElement>>;
3
+ declare const NumberField: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<unknown>>;
4
+ export { NumberField, NumberFieldRaw };
12
5
  //# sourceMappingURL=number-field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC3D;AACD,eAAO,MAAM,cAAc,+GAoJ1B,CAAC;AAEF,eAAO,MAAM,WAAW,sGAOvB,CAAC"}
1
+ {"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAIlD,QAAA,MAAM,cAAc,+GAqJnB,CAAA;AAID,QAAA,MAAM,WAAW,sGAIf,CAAA;AAIF,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
@@ -1,17 +1,17 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Icon } from "../../../ui/components/icon/index.js";
3
- import { cn } from "../../../scalars/lib/index.js";
4
- import { forwardRef, useId } from "react";
5
- import { Input } from "../../../ui/components/index.js";
6
- import { FormDescription } from "../fragments/form-description/index.js";
7
- import { FormGroup } from "../fragments/form-group/index.js";
8
- import { FormLabel } from "../fragments/form-label/index.js";
9
- import { FormMessageList } from "../fragments/form-message/index.js";
10
- import { withFieldValidation } from "../fragments/with-field-validation/index.js";
11
- import { validateNumericType } from "./number-field-validations.js";
12
- import { useNumberField } from "./use-number-field.js";
13
- import { regex } from "./utils.js";
14
- export const NumberFieldRaw = forwardRef(({ label, name, description, value, defaultValue, onChange, onBlur, errors, warnings, className, id: propId, minValue, maxValue, step = 1, pattern, trailingZeros = false, numericType = "Float", precision = 0, onFocus, ...props }, ref) => {
2
+ import { Icon } from '../../../ui/components/icon/index.js';
3
+ import { cn } from '../../../scalars/lib/index.js';
4
+ import { forwardRef, useId } from 'react';
5
+ import { Input } from '../../../ui/components/data-entry/input/index.js';
6
+ import { FormDescription } from '../fragments/form-description/index.js';
7
+ import { FormGroup } from '../fragments/form-group/index.js';
8
+ import { FormLabel } from '../fragments/form-label/index.js';
9
+ import { FormMessageList } from '../fragments/form-message/index.js';
10
+ import { withFieldValidation } from '../fragments/with-field-validation/index.js';
11
+ import { validateNumericType } from './number-field-validations.js';
12
+ import { useNumberField } from './use-number-field.js';
13
+ import { regex } from './utils.js';
14
+ const NumberFieldRaw = forwardRef(({ label, name, description, value, defaultValue, onChange, onBlur, errors, warnings, className, id: propId, minValue, maxValue, step = 1, pattern, trailingZeros = false, numericType = 'Float', precision = 0, onFocus, ...props }, ref) => {
15
15
  const generatedId = useId();
16
16
  const id = propId ?? generatedId;
17
17
  const { canIncrement, canDecrement, showSteps, preventInvalidCharsAndHandleArrows, stepValueHandler, blockInvalidPaste, preventLetterInput, isBigInt, handleBlur, handleFocus, buttonRef, } = useNumberField({
@@ -26,25 +26,31 @@ export const NumberFieldRaw = forwardRef(({ label, name, description, value, def
26
26
  precision,
27
27
  onFocus,
28
28
  });
29
- return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, className: "mb-[3px]", children: label })), _jsxs("div", { className: "relative flex items-center", children: [_jsx(Input, { id: id, onFocus: handleFocus, name: name, className: cn("pr-8", className), pattern: isBigInt ? regex.toString() : pattern?.toString(), type: "text", inputMode: "numeric", role: "spinbutton", min: minValue, max: maxValue, "aria-valuemin": minValue, "aria-valuemax": maxValue, "aria-invalid": !!errors?.length, onKeyDown: (e) => {
29
+ return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, className: "mb-[3px]", children: label })), _jsxs("div", { className: "relative flex items-center", children: [_jsx(Input, { id: id, onFocus: handleFocus, name: name, className: cn('pr-8', className), pattern: isBigInt ? regex.toString() : pattern?.toString(), type: "text", inputMode: "numeric", role: "spinbutton", min: minValue, max: maxValue, "aria-valuemin": minValue, "aria-valuemax": maxValue, "aria-invalid": !!errors?.length, onKeyDown: (e) => {
30
30
  preventLetterInput(e);
31
31
  preventInvalidCharsAndHandleArrows(e);
32
- }, value: value === undefined ? "" : value.toString(), onBlur: handleBlur, defaultValue: defaultValue?.toString(), onChange: onChange, onPaste: blockInvalidPaste, ref: ref, "data-cast": isBigInt ? "BigInt" : "Number", ...props }), showSteps && (_jsxs("div", { className: "absolute inset-y-2 right-3 flex flex-col justify-center", children: [_jsx("button", { "aria-label": "Increment", disabled: canIncrement, onMouseDown: (e) => e.preventDefault(), type: "button", onClick: (e) => {
33
- stepValueHandler(e, "increment");
32
+ }, value: value === undefined ? '' : value.toString(), onBlur: handleBlur, defaultValue: defaultValue?.toString(), onChange: onChange, onPaste: blockInvalidPaste, ref: ref, "data-cast": isBigInt ? 'BigInt' : 'Number', ...props }), showSteps && (_jsxs("div", { className: "absolute inset-y-2 right-3 flex flex-col justify-center", children: [_jsx("button", { "aria-label": "Increment", disabled: canIncrement, onMouseDown: (e) => {
33
+ e.preventDefault();
34
+ }, type: "button", onClick: (e) => {
35
+ stepValueHandler(e, 'increment');
34
36
  if (buttonRef.current) {
35
37
  buttonRef.current.focus();
36
38
  }
37
- }, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn("rotate-180 text-gray-700 dark:text-gray-300", canIncrement && "cursor-not-allowed") }) }), _jsx("button", { "aria-label": "Decrement", onMouseDown: (e) => e.preventDefault(), disabled: canDecrement, type: "button", onClick: (e) => {
38
- stepValueHandler(e, "decrement");
39
+ }, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn('rotate-180 text-gray-700 dark:text-gray-300', canIncrement && 'cursor-not-allowed') }) }), _jsx("button", { "aria-label": "Decrement", onMouseDown: (e) => {
40
+ e.preventDefault();
41
+ }, disabled: canDecrement, type: "button", onClick: (e) => {
42
+ stepValueHandler(e, 'decrement');
39
43
  if (buttonRef.current) {
40
44
  buttonRef.current.focus();
41
45
  }
42
- }, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn("items-center justify-center text-gray-700 dark:text-gray-300", canDecrement && "cursor-not-allowed") }) })] }))] }), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
46
+ }, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn('items-center justify-center text-gray-700 dark:text-gray-300', canDecrement && 'cursor-not-allowed') }) })] }))] }), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
43
47
  });
44
- export const NumberField = withFieldValidation(NumberFieldRaw, {
48
+ NumberFieldRaw.displayName = 'NumberFieldRaw';
49
+ const NumberField = withFieldValidation(NumberFieldRaw, {
45
50
  validations: {
46
51
  _numericType: validateNumericType,
47
52
  },
48
53
  });
49
- NumberField.displayName = "NumberField";
54
+ NumberField.displayName = 'NumberField';
55
+ export { NumberField, NumberFieldRaw };
50
56
  //# sourceMappingURL=number-field.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE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,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;oCAC5B,CAAC;gCACH,CAAC,YAED,KAAC,IAAI,IACH,IAAI,EAAE,EAAE,EACR,IAAI,EAAC,aAAa,EAClB,SAAS,EAAE,EAAE,CACX,6CAA6C,EAC7C,YAAY,IAAI,oBAAoB,CACrC,GACD,GACK,EACT,+BACa,WAAW,EACtB,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,EAAE,EACtC,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oCACb,gBAAgB,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;oCACjC,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;wCACtB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;oCAC5B,CAAC;gCACH,CAAC,YAED,KAAC,IAAI,IACH,IAAI,EAAE,EAAE,EACR,IAAI,EAAC,aAAa,EAClB,SAAS,EAAE,EAAE,CACX,8DAA8D,EAC9D,YAAY,IAAI,oBAAoB,CACrC,GACD,GACK,IACL,CACP,IACG,EACL,WAAW,IAAI,KAAC,eAAe,cAAE,WAAW,GAAmB,EAC/D,QAAQ,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,SAAS,GAAG,EAClE,MAAM,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,IACnD,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAC5C,cAAc,EACd;IACE,WAAW,EAAE;QACX,YAAY,EAAE,mBAAmB;KAClC;CACF,CACF,CAAC;AACF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"number-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"m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AAE,WAAW,GAAmB,EAC/D,QAAQ,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,SAAS,GAAG,EAClE,MAAM,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,IACnD,CACb,CAAA;AACH,CAAC,CACF,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAA;AAE7C,MAAM,WAAW,GAAG,mBAAmB,CAAmB,cAAc,EAAE;IACxE,WAAW,EAAE;QACX,YAAY,EAAE,mBAAmB;KAClC;CACF,CAAC,CAAA;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
@@ -1,14 +1,14 @@
1
- import type { FieldErrorHandling, InputBaseProps } from "../types.js";
2
- type NumberProps = {
1
+ import type { FieldErrorHandling, InputBaseProps } from '../types.js';
2
+ interface NumberProps {
3
3
  numericType?: NumericType | undefined;
4
4
  minValue?: number;
5
5
  maxValue?: number;
6
6
  step?: number;
7
7
  precision?: number;
8
8
  trailingZeros?: boolean;
9
- };
10
- export type NumericType = "PositiveInt" | "NegativeInt" | "NonNegativeInt" | "NonPositiveInt" | "NegativeFloat" | "PositiveFloat" | "NonNegativeFloat" | "NonPositiveFloat" | "BigInt" | "Int" | "Float";
11
- export interface InputNumberProps extends Omit<InputBaseProps<string | number> & FieldErrorHandling & NumberProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "min" | "max" | "minLength" | "maxLength">, "value" | "defaultValue" | "name" | "pattern"> {
9
+ }
10
+ export type NumericType = 'PositiveInt' | 'NegativeInt' | 'NonNegativeInt' | 'NonPositiveInt' | 'NegativeFloat' | 'PositiveFloat' | 'NonNegativeFloat' | 'NonPositiveFloat' | 'BigInt' | 'Int' | 'Float';
11
+ export interface InputNumberProps extends Omit<InputBaseProps<string | number> & FieldErrorHandling & NumberProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'min' | 'max' | 'minLength' | 'maxLength'>, 'value' | 'defaultValue' | 'name' | 'pattern'> {
12
12
  name: string;
13
13
  min?: number;
14
14
  max?: number;
@@ -16,5 +16,13 @@ export interface InputNumberProps extends Omit<InputBaseProps<string | number> &
16
16
  precision?: number;
17
17
  trailingZeros?: boolean;
18
18
  }
19
+ export interface NumberFieldProps extends InputNumberProps {
20
+ name: string;
21
+ value?: number | bigint;
22
+ defaultValue?: number | bigint;
23
+ className?: string;
24
+ pattern?: RegExp;
25
+ onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
26
+ }
19
27
  export {};
20
28
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEtE,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,KAAK,GACL,OAAO,CAAC;AAEZ,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,GAC7B,kBAAkB,GAClB,WAAW,GACX,IAAI,CACF,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,KAAK,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAC1C,EACH,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,SAAS,CAC9C;IACD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAErE,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,KAAK,GACL,OAAO,CAAA;AAEX,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,GAC7B,kBAAkB,GAClB,WAAW,GACX,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAAC,EAC9F,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,SAAS,CAC9C;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;CAC1D"}
@@ -1,4 +1,4 @@
1
- import { type NumericType } from "./types.js";
1
+ import type { NumericType } from './types.js';
2
2
  interface UseNumberFieldProps {
3
3
  value?: number | bigint;
4
4
  maxValue?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/use-number-field.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,cAAc,GAAI,wGAW5B,mBAAmB;;;;4CAsBf,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;0BAsCrC,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAC3B,WAAW,GAAG,WAAW;2BAnBR,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;gCAQjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;;oBA8CjD,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;qBAqDjC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;;;CAoB3D,CAAC"}
1
+ {"version":3,"file":"use-number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/use-number-field.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAG7C,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IACxD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;CAC1D;AAED,eAAO,MAAM,cAAc,GAAI,wGAW5B,mBAAmB;;;;4CAe2B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;0BAiCvD,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,WAAW,GAAG,WAAW;2BAjBxE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;gCAQjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;;oBAyCjD,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;qBAmDjC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;;;CAoB3D,CAAA"}
@@ -1,37 +1,31 @@
1
- import { useRef, useState } from "react";
2
- import { isNotSafeValue } from "../../../ui/components/data-entry/amount-input/utils.js";
3
- import { getDisplayValue } from "./utils.js";
1
+ import { useRef, useState } from 'react';
2
+ import { isNotSafeValue } from '../../../ui/components/data-entry/amount-input/utils.js';
3
+ import { getDisplayValue } from './utils.js';
4
4
  export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange, numericType, onBlur, trailingZeros = false, precision = 0, onFocus, }) => {
5
5
  const [isFocus, setIsFocus] = useState(false);
6
6
  const buttonRef = useRef(null);
7
- const canIncrement = maxValue !== undefined &&
8
- (typeof value === "bigint"
9
- ? value >= BigInt(maxValue)
10
- : Number(value) >= maxValue);
11
- const canDecrement = minValue !== undefined &&
12
- (typeof value === "bigint"
13
- ? value <= BigInt(minValue)
14
- : Number(value) <= minValue);
7
+ const canIncrement = maxValue !== undefined && (typeof value === 'bigint' ? value >= BigInt(maxValue) : Number(value) >= maxValue);
8
+ const canDecrement = minValue !== undefined && (typeof value === 'bigint' ? value <= BigInt(minValue) : Number(value) <= minValue);
15
9
  const showSteps = isFocus;
16
10
  // Boolean to no convert float values to BigInt
17
- const isBigInt = numericType && numericType === "BigInt";
11
+ const isBigInt = numericType && numericType === 'BigInt';
18
12
  // Prevent to write invalid characters and handle the arrow keys
19
13
  const preventInvalidCharsAndHandleArrows = (e) => {
20
- if (["e", "E", "+"].includes(e.key)) {
14
+ if (['e', 'E', '+'].includes(e.key)) {
21
15
  e.preventDefault();
22
16
  return;
23
17
  }
24
18
  // Handle the arrow keys
25
- if (e.key === "ArrowUp" || e.key === "ArrowDown") {
19
+ if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
26
20
  e.preventDefault();
27
- const operation = e.key === "ArrowUp" ? "increment" : "decrement";
21
+ const operation = e.key === 'ArrowUp' ? 'increment' : 'decrement';
28
22
  // Call the handleChangeSteps function
29
23
  stepValueHandler(e, operation);
30
24
  }
31
25
  };
32
26
  // Prevent pasting invalid characters
33
27
  const blockInvalidPaste = (e) => {
34
- const pastedData = e.clipboardData.getData("Text");
28
+ const pastedData = e.clipboardData.getData('Text');
35
29
  if (/[eE]/.test(pastedData)) {
36
30
  e.preventDefault();
37
31
  }
@@ -50,13 +44,12 @@ export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange,
50
44
  let newValue;
51
45
  if (isBigInt) {
52
46
  const currentValue = BigInt(value ?? 0);
53
- const adjustment = BigInt(step || 1) *
54
- (operation === "increment" ? BigInt(1) : BigInt(-1));
47
+ const adjustment = BigInt(step || 1) * (operation === 'increment' ? BigInt(1) : BigInt(-1));
55
48
  newValue = currentValue + adjustment;
56
49
  }
57
50
  else {
58
51
  const currentValue = Number(value ?? 0);
59
- const adjustment = (step || 1) * (operation === "increment" ? 1 : -1);
52
+ const adjustment = (step || 1) * (operation === 'increment' ? 1 : -1);
60
53
  newValue = currentValue + adjustment;
61
54
  }
62
55
  if (!isBigInt) {
@@ -65,11 +58,11 @@ export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange,
65
58
  if (minValue !== undefined && Number(newValue) < minValue)
66
59
  return;
67
60
  }
68
- const nativeEvent = new Event("change", {
61
+ const nativeEvent = new Event('change', {
69
62
  bubbles: true,
70
63
  cancelable: true,
71
64
  });
72
- Object.defineProperty(nativeEvent, "target", {
65
+ Object.defineProperty(nativeEvent, 'target', {
73
66
  value: { value: newValue },
74
67
  writable: false,
75
68
  });
@@ -79,17 +72,17 @@ export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange,
79
72
  setIsFocus(false);
80
73
  const inputValue = e.target.value;
81
74
  // If the value is not a number, not an empty string, or is empty, show the error message or keep it empty
82
- if (inputValue === "" || isNaN(Number(inputValue))) {
75
+ if (inputValue === '' || isNaN(Number(inputValue))) {
83
76
  onBlur?.(e);
84
77
  return;
85
78
  }
86
79
  const integerTypes = [
87
- "PositiveInt",
88
- "NegativeInt",
89
- "NonNegativeInt",
90
- "NonPositiveInt",
91
- "BigInt",
92
- "Int",
80
+ 'PositiveInt',
81
+ 'NegativeInt',
82
+ 'NonNegativeInt',
83
+ 'NonPositiveInt',
84
+ 'BigInt',
85
+ 'Int',
93
86
  ];
94
87
  // Get the formatted value for keeping the trailing zeros
95
88
  const formattedValue = getDisplayValue(inputValue, {
@@ -103,14 +96,12 @@ export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange,
103
96
  onBlur?.(e);
104
97
  return;
105
98
  }
106
- const finalValue = !numericType || integerTypes.includes(numericType)
107
- ? parseFloat(inputValue).toString()
108
- : formattedValue;
109
- const nativeEvent = new Event("change", {
99
+ const finalValue = !numericType || integerTypes.includes(numericType) ? parseFloat(inputValue).toString() : formattedValue;
100
+ const nativeEvent = new Event('change', {
110
101
  bubbles: true,
111
102
  cancelable: true,
112
103
  });
113
- Object.defineProperty(nativeEvent, "target", {
104
+ Object.defineProperty(nativeEvent, 'target', {
114
105
  value: { value: finalValue },
115
106
  writable: false,
116
107
  });
@@ -1 +1 @@
1
- {"version":3,"file":"use-number-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/use-number-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAe7C,MAAM,CAAC,MAAM,c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qC,EAAE,EAAE;QAC5D,CAAC,CAAC,cAAc,EAAE,CAAA;QAClB,UAAU,CAAC,IAAI,CAAC,CAAA;QAChB,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;IACd,CAAC,CAAA;IAED,OAAO;QACL,YAAY;QACZ,YAAY;QACZ,SAAS;QACT,kCAAkC;QAClC,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;QAClB,QAAQ;QACR,UAAU;QACV,WAAW;QACX,OAAO;QACP,SAAS;KACV,CAAA;AACH,CAAC,CAAA"}
@@ -1,10 +1,10 @@
1
- import { type NumericType } from "./types.js";
1
+ import type { NumericType } from './types.js';
2
2
  export declare const regex: RegExp;
3
- type TransformProps = {
3
+ interface TransformProps {
4
4
  numericType?: NumericType;
5
5
  trailingZeros?: boolean;
6
6
  precision?: number;
7
- };
7
+ }
8
8
  export declare function getDisplayValue(value?: string, transformProps?: TransformProps): string;
9
9
  export {};
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,KAAK,QAAkB,CAAC;AAmBrC,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,eAAe,CAC7B,KAAK,CAAC,EAAE,MAAM,EACd,cAAc,CAAC,EAAE,cAAc,UAiChC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,eAAO,MAAM,KAAK,QAAkB,CAAA;AASpC,UAAU,cAAc;IACtB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,UA4B9E"}
@@ -1,31 +1,25 @@
1
- import { MAX_SAFE_INTEGER } from "./number-field-validations.js";
1
+ import { MAX_SAFE_INTEGER } from './number-field-validations.js';
2
2
  export const regex = /^-?\d*\.?\d*$/;
3
- const floatTypes = [
4
- "NegativeFloat",
5
- "PositiveFloat",
6
- "NonNegativeFloat",
7
- "NonPositiveFloat",
8
- "Float",
9
- ];
3
+ const floatTypes = ['NegativeFloat', 'PositiveFloat', 'NonNegativeFloat', 'NonPositiveFloat', 'Float'];
10
4
  const formatValue = (value, precision, trailingZeros) => {
11
5
  const formattedValue = parseFloat(value).toFixed(precision);
12
6
  return trailingZeros ? formattedValue : parseFloat(formattedValue).toString();
13
7
  };
14
8
  export function getDisplayValue(value, transformProps) {
15
9
  if (!value)
16
- return "";
17
- const { numericType, precision, trailingZeros = false, } = transformProps || {};
10
+ return '';
11
+ const { numericType, precision, trailingZeros = false } = transformProps || {};
18
12
  const isFloat = numericType && floatTypes.includes(numericType);
19
13
  const numberValue = Number(value);
20
- if (numericType === "BigInt") {
21
- //Not need to convert a BigInt the convertion is done in the onSubmit
14
+ if (numericType === 'BigInt') {
15
+ // Not need to convert a BigInt the convertion is done in the onSubmit
22
16
  return value;
23
17
  }
24
- //kee the value as its if a flaot and no precision is set
18
+ // Keep the value as its if a flaot and no precision is set
25
19
  if (isFloat && precision === 0) {
26
20
  return numberValue.toString();
27
21
  }
28
- //keep the value as its if the value is greater than the max safe integer
22
+ // keep the value as its if the value is greater than the max safe integer
29
23
  // to avoid convert to cientific notation
30
24
  if (Math.abs(numberValue) > MAX_SAFE_INTEGER) {
31
25
  return value.toString();
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","s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AE,CAAC;QAC/B,OAAO,WAAW,CAAC,QAAQ,EAAE,CAAA;IAC/B,CAAC;IAED,0EAA0E;IAC1E,yCAAyC;IACzC,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,gBAAgB,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAA;IACzB,CAAC;IAED,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAA;IACrD,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -1,3 +1,3 @@
1
- export { OIDField } from "./oid-field.js";
2
- export type { OIDFieldProps } from "./types.js";
1
+ export { OIDField } from './oid-field.js';
2
+ export type { OIDFieldProps } from './types.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA"}
@@ -1,2 +1,2 @@
1
- export { OIDField } from "./oid-field.js";
1
+ export { OIDField } from './oid-field.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}