@powerhousedao/document-engineering 1.38.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. package/README.md +12 -0
  2. package/dist/setupTests.d.ts +2 -0
  3. package/dist/setupTests.d.ts.map +1 -0
  4. package/dist/setupTests.js +2 -0
  5. package/dist/setupTests.js.map +1 -0
  6. package/dist/src/scalars/components/aid-field/aid-field.stories.d.ts +71 -0
  7. package/dist/src/scalars/components/aid-field/aid-field.stories.d.ts.map +1 -0
  8. package/dist/src/scalars/components/aid-field/aid-field.stories.js +495 -0
  9. package/dist/src/scalars/components/aid-field/aid-field.stories.js.map +1 -0
  10. package/dist/src/scalars/components/aid-field/aid-field.test.d.ts +2 -0
  11. package/dist/src/scalars/components/aid-field/aid-field.test.d.ts.map +1 -0
  12. package/dist/src/scalars/components/aid-field/aid-field.test.js +180 -0
  13. package/dist/src/scalars/components/aid-field/aid-field.test.js.map +1 -0
  14. package/dist/src/scalars/components/amount-field/amount-field.stories.d.ts +267 -0
  15. package/dist/src/scalars/components/amount-field/amount-field.stories.d.ts.map +1 -0
  16. package/dist/src/scalars/components/amount-field/amount-field.stories.js +339 -0
  17. package/dist/src/scalars/components/amount-field/amount-field.stories.js.map +1 -0
  18. package/dist/src/scalars/components/amount-field/amount-field.test.d.ts +2 -0
  19. package/dist/src/scalars/components/amount-field/amount-field.test.d.ts.map +1 -0
  20. package/dist/src/scalars/components/amount-field/amount-field.test.js +53 -0
  21. package/dist/src/scalars/components/amount-field/amount-field.test.js.map +1 -0
  22. package/dist/src/scalars/components/boolean-field/boolean-field.stories.d.ts +85 -0
  23. package/dist/src/scalars/components/boolean-field/boolean-field.stories.d.ts.map +1 -0
  24. package/dist/src/scalars/components/boolean-field/boolean-field.stories.js +113 -0
  25. package/dist/src/scalars/components/boolean-field/boolean-field.stories.js.map +1 -0
  26. package/dist/src/scalars/components/boolean-field/boolean-field.test.d.ts +2 -0
  27. package/dist/src/scalars/components/boolean-field/boolean-field.test.d.ts.map +1 -0
  28. package/dist/src/scalars/components/boolean-field/boolean-field.test.js +82 -0
  29. package/dist/src/scalars/components/boolean-field/boolean-field.test.js.map +1 -0
  30. package/dist/src/scalars/components/country-code-field/country-code-field.js +1 -1
  31. package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -1
  32. package/dist/src/scalars/components/country-code-field/country-code-field.stories.d.ts +19 -0
  33. package/dist/src/scalars/components/country-code-field/country-code-field.stories.d.ts.map +1 -0
  34. package/dist/src/scalars/components/country-code-field/country-code-field.stories.js +173 -0
  35. package/dist/src/scalars/components/country-code-field/country-code-field.stories.js.map +1 -0
  36. package/dist/src/scalars/components/country-code-field/country-code-field.test.d.ts +2 -0
  37. package/dist/src/scalars/components/country-code-field/country-code-field.test.d.ts.map +1 -0
  38. package/dist/src/scalars/components/country-code-field/country-code-field.test.js +116 -0
  39. package/dist/src/scalars/components/country-code-field/country-code-field.test.js.map +1 -0
  40. package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.d.ts +12 -0
  41. package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.d.ts.map +1 -0
  42. package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.js +160 -0
  43. package/dist/src/scalars/components/currency-code-field/currency-code-field.stories.js.map +1 -0
  44. package/dist/src/scalars/components/currency-code-field/currency-code-field.test.d.ts +2 -0
  45. package/dist/src/scalars/components/currency-code-field/currency-code-field.test.d.ts.map +1 -0
  46. package/dist/src/scalars/components/currency-code-field/currency-code-field.test.js +47 -0
  47. package/dist/src/scalars/components/currency-code-field/currency-code-field.test.js.map +1 -0
  48. package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.d.ts +26 -0
  49. package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.d.ts.map +1 -0
  50. package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.js +296 -0
  51. package/dist/src/scalars/components/date-picker-field/date-picker-field.stories.js.map +1 -0
  52. package/dist/src/scalars/components/date-picker-field/date-picker-field.test.d.ts +2 -0
  53. package/dist/src/scalars/components/date-picker-field/date-picker-field.test.d.ts.map +1 -0
  54. package/dist/src/scalars/components/date-picker-field/date-picker-field.test.js +119 -0
  55. package/dist/src/scalars/components/date-picker-field/date-picker-field.test.js.map +1 -0
  56. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.d.ts +19 -0
  57. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.d.ts.map +1 -0
  58. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.js +218 -0
  59. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.stories.js.map +1 -0
  60. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.d.ts +2 -0
  61. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.d.ts.map +1 -0
  62. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.js +125 -0
  63. package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.test.js.map +1 -0
  64. package/dist/src/scalars/components/email-field/email-field.stories.d.ts +12 -0
  65. package/dist/src/scalars/components/email-field/email-field.stories.d.ts.map +1 -0
  66. package/dist/src/scalars/components/email-field/email-field.stories.js +108 -0
  67. package/dist/src/scalars/components/email-field/email-field.stories.js.map +1 -0
  68. package/dist/src/scalars/components/email-field/email-field.test.d.ts +2 -0
  69. package/dist/src/scalars/components/email-field/email-field.test.d.ts.map +1 -0
  70. package/dist/src/scalars/components/email-field/email-field.test.js +162 -0
  71. package/dist/src/scalars/components/email-field/email-field.test.js.map +1 -0
  72. package/dist/src/scalars/components/enum-field/enum-field.stories.d.ts +46 -0
  73. package/dist/src/scalars/components/enum-field/enum-field.stories.d.ts.map +1 -0
  74. package/dist/src/scalars/components/enum-field/enum-field.stories.js +360 -0
  75. package/dist/src/scalars/components/enum-field/enum-field.stories.js.map +1 -0
  76. package/dist/src/scalars/components/enum-field/enum-field.test.d.ts +2 -0
  77. package/dist/src/scalars/components/enum-field/enum-field.test.d.ts.map +1 -0
  78. package/dist/src/scalars/components/enum-field/enum-field.test.js +89 -0
  79. package/dist/src/scalars/components/enum-field/enum-field.test.js.map +1 -0
  80. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.d.ts +21 -0
  81. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.d.ts.map +1 -0
  82. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.js +76 -0
  83. package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.stories.js.map +1 -0
  84. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.d.ts +21 -0
  85. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.d.ts.map +1 -0
  86. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.js +141 -0
  87. package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.stories.js.map +1 -0
  88. package/dist/src/scalars/components/examples/reset-button/reset-button.stories.d.ts +21 -0
  89. package/dist/src/scalars/components/examples/reset-button/reset-button.stories.d.ts.map +1 -0
  90. package/dist/src/scalars/components/examples/reset-button/reset-button.stories.js +48 -0
  91. package/dist/src/scalars/components/examples/reset-button/reset-button.stories.js.map +1 -0
  92. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.d.ts +21 -0
  93. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.d.ts.map +1 -0
  94. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.js +47 -0
  95. package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.stories.js.map +1 -0
  96. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.d.ts +21 -0
  97. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.d.ts.map +1 -0
  98. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.js +19 -0
  99. package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.stories.js.map +1 -0
  100. package/dist/src/scalars/components/file-field/file-field.stories.d.ts +15 -0
  101. package/dist/src/scalars/components/file-field/file-field.stories.d.ts.map +1 -0
  102. package/dist/src/scalars/components/file-field/file-field.stories.js +199 -0
  103. package/dist/src/scalars/components/file-field/file-field.stories.js.map +1 -0
  104. package/dist/src/scalars/components/file-field/index.js +1 -0
  105. package/dist/src/scalars/components/file-field/index.js.map +1 -1
  106. package/dist/src/scalars/components/form/form.test.d.ts +2 -0
  107. package/dist/src/scalars/components/form/form.test.d.ts.map +1 -0
  108. package/dist/src/scalars/components/form/form.test.js +129 -0
  109. package/dist/src/scalars/components/form/form.test.js.map +1 -0
  110. package/dist/src/scalars/components/fragments/button/button.test.d.ts +2 -0
  111. package/dist/src/scalars/components/fragments/button/button.test.d.ts.map +1 -0
  112. package/dist/src/scalars/components/fragments/button/button.test.js +11 -0
  113. package/dist/src/scalars/components/fragments/button/button.test.js.map +1 -0
  114. package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.d.ts +30 -0
  115. package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.d.ts.map +1 -0
  116. package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.js +48 -0
  117. package/dist/src/scalars/components/fragments/character-counter/character-counter.stories.js.map +1 -0
  118. package/dist/src/scalars/components/fragments/character-counter/character-counter.test.d.ts +2 -0
  119. package/dist/src/scalars/components/fragments/character-counter/character-counter.test.d.ts.map +1 -0
  120. package/dist/src/scalars/components/fragments/character-counter/character-counter.test.js +36 -0
  121. package/dist/src/scalars/components/fragments/character-counter/character-counter.test.js.map +1 -0
  122. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.d.ts +2 -0
  123. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.d.ts.map +1 -0
  124. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.js +53 -0
  125. package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.test.js.map +1 -0
  126. package/dist/src/scalars/components/fragments/command/command.d.ts +3 -3
  127. package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -1
  128. package/dist/src/scalars/components/fragments/command/command.test.d.ts +2 -0
  129. package/dist/src/scalars/components/fragments/command/command.test.d.ts.map +1 -0
  130. package/dist/src/scalars/components/fragments/command/command.test.js +11 -0
  131. package/dist/src/scalars/components/fragments/command/command.test.js.map +1 -0
  132. package/dist/src/scalars/components/fragments/form-description/form-description.stories.d.ts +18 -0
  133. package/dist/src/scalars/components/fragments/form-description/form-description.stories.d.ts.map +1 -0
  134. package/dist/src/scalars/components/fragments/form-description/form-description.stories.js +25 -0
  135. package/dist/src/scalars/components/fragments/form-description/form-description.stories.js.map +1 -0
  136. package/dist/src/scalars/components/fragments/form-description/form-description.test.d.ts +2 -0
  137. package/dist/src/scalars/components/fragments/form-description/form-description.test.d.ts.map +1 -0
  138. package/dist/src/scalars/components/fragments/form-description/form-description.test.js +29 -0
  139. package/dist/src/scalars/components/fragments/form-description/form-description.test.js.map +1 -0
  140. package/dist/src/scalars/components/fragments/form-group/form-group.test.d.ts +2 -0
  141. package/dist/src/scalars/components/fragments/form-group/form-group.test.d.ts.map +1 -0
  142. package/dist/src/scalars/components/fragments/form-group/form-group.test.js +16 -0
  143. package/dist/src/scalars/components/fragments/form-group/form-group.test.js.map +1 -0
  144. package/dist/src/scalars/components/fragments/form-label/form-label.stories.d.ts +11 -0
  145. package/dist/src/scalars/components/fragments/form-label/form-label.stories.d.ts.map +1 -0
  146. package/dist/src/scalars/components/fragments/form-label/form-label.stories.js +74 -0
  147. package/dist/src/scalars/components/fragments/form-label/form-label.stories.js.map +1 -0
  148. package/dist/src/scalars/components/fragments/form-label/form-label.test.d.ts +2 -0
  149. package/dist/src/scalars/components/fragments/form-label/form-label.test.d.ts.map +1 -0
  150. package/dist/src/scalars/components/fragments/form-label/form-label.test.js +53 -0
  151. package/dist/src/scalars/components/fragments/form-label/form-label.test.js.map +1 -0
  152. package/dist/src/scalars/components/fragments/form-message/form-message.stories.d.ts +9 -0
  153. package/dist/src/scalars/components/fragments/form-message/form-message.stories.d.ts.map +1 -0
  154. package/dist/src/scalars/components/fragments/form-message/form-message.stories.js +43 -0
  155. package/dist/src/scalars/components/fragments/form-message/form-message.stories.js.map +1 -0
  156. package/dist/src/scalars/components/fragments/form-message/form-message.test.d.ts +2 -0
  157. package/dist/src/scalars/components/fragments/form-message/form-message.test.d.ts.map +1 -0
  158. package/dist/src/scalars/components/fragments/form-message/form-message.test.js +49 -0
  159. package/dist/src/scalars/components/fragments/form-message/form-message.test.js.map +1 -0
  160. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +1 -1
  161. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
  162. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +1 -1
  163. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -1
  164. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +1 -2
  165. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -1
  166. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +13 -13
  167. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -1
  168. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.d.ts +2 -0
  169. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.d.ts.map +1 -0
  170. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.js +136 -0
  171. package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.test.js.map +1 -0
  172. package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +1 -1
  173. package/dist/src/scalars/components/fragments/popover/popover.test.d.ts +2 -0
  174. package/dist/src/scalars/components/fragments/popover/popover.test.d.ts.map +1 -0
  175. package/dist/src/scalars/components/fragments/popover/popover.test.js +11 -0
  176. package/dist/src/scalars/components/fragments/popover/popover.test.js.map +1 -0
  177. package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.d.ts +2 -0
  178. package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.d.ts.map +1 -0
  179. package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.js +18 -0
  180. package/dist/src/scalars/components/fragments/progress-bar/progress-bar.test.js.map +1 -0
  181. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.d.ts +2 -0
  182. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.d.ts.map +1 -0
  183. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.js +133 -0
  184. package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.test.js.map +1 -0
  185. package/dist/src/scalars/components/fragments/select-field/select-field.test.d.ts +2 -0
  186. package/dist/src/scalars/components/fragments/select-field/select-field.test.d.ts.map +1 -0
  187. package/dist/src/scalars/components/fragments/select-field/select-field.test.js +160 -0
  188. package/dist/src/scalars/components/fragments/select-field/select-field.test.js.map +1 -0
  189. package/dist/src/scalars/components/fragments/tabs/tabs.test.d.ts +2 -0
  190. package/dist/src/scalars/components/fragments/tabs/tabs.test.d.ts.map +1 -0
  191. package/dist/src/scalars/components/fragments/tabs/tabs.test.js +47 -0
  192. package/dist/src/scalars/components/fragments/tabs/tabs.test.js.map +1 -0
  193. package/dist/src/scalars/components/fragments/text-field/text-field.test.d.ts +2 -0
  194. package/dist/src/scalars/components/fragments/text-field/text-field.test.d.ts.map +1 -0
  195. package/dist/src/scalars/components/fragments/text-field/text-field.test.js +106 -0
  196. package/dist/src/scalars/components/fragments/text-field/text-field.test.js.map +1 -0
  197. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.d.ts +2 -0
  198. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.d.ts.map +1 -0
  199. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.js +100 -0
  200. package/dist/src/scalars/components/fragments/textarea-field/textarea-field.test.js.map +1 -0
  201. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.d.ts +2 -0
  202. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.d.ts.map +1 -0
  203. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.js +56 -0
  204. package/dist/src/scalars/components/fragments/toggle-field/toggle-field.test.js.map +1 -0
  205. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +1 -1
  206. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -1
  207. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +2 -1
  208. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -1
  209. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.d.ts +2 -0
  210. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.d.ts.map +1 -0
  211. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.js +102 -0
  212. package/dist/src/scalars/components/fragments/value-transformer/value-transformer.test.js.map +1 -0
  213. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.d.ts +2 -0
  214. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.d.ts.map +1 -0
  215. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.js +141 -0
  216. package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.test.js.map +1 -0
  217. package/dist/src/scalars/components/id-field/id-field.stories.d.ts +58 -0
  218. package/dist/src/scalars/components/id-field/id-field.stories.d.ts.map +1 -0
  219. package/dist/src/scalars/components/id-field/id-field.stories.js +73 -0
  220. package/dist/src/scalars/components/id-field/id-field.stories.js.map +1 -0
  221. package/dist/src/scalars/components/id-field/id-field.test.d.ts +2 -0
  222. package/dist/src/scalars/components/id-field/id-field.test.d.ts.map +1 -0
  223. package/dist/src/scalars/components/id-field/id-field.test.js +80 -0
  224. package/dist/src/scalars/components/id-field/id-field.test.js.map +1 -0
  225. package/dist/src/scalars/components/number-field/number-field.d.ts +2 -1
  226. package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -1
  227. package/dist/src/scalars/components/number-field/number-field.js.map +1 -1
  228. package/dist/src/scalars/components/number-field/number-field.stories.d.ts +156 -0
  229. package/dist/src/scalars/components/number-field/number-field.stories.d.ts.map +1 -0
  230. package/dist/src/scalars/components/number-field/number-field.stories.js +228 -0
  231. package/dist/src/scalars/components/number-field/number-field.stories.js.map +1 -0
  232. package/dist/src/scalars/components/number-field/number-field.test.d.ts +2 -0
  233. package/dist/src/scalars/components/number-field/number-field.test.d.ts.map +1 -0
  234. package/dist/src/scalars/components/number-field/number-field.test.js +336 -0
  235. package/dist/src/scalars/components/number-field/number-field.test.js.map +1 -0
  236. package/dist/src/scalars/components/oid-field/oid-field.stories.d.ts +69 -0
  237. package/dist/src/scalars/components/oid-field/oid-field.stories.d.ts.map +1 -0
  238. package/dist/src/scalars/components/oid-field/oid-field.stories.js +447 -0
  239. package/dist/src/scalars/components/oid-field/oid-field.stories.js.map +1 -0
  240. package/dist/src/scalars/components/oid-field/oid-field.test.d.ts +2 -0
  241. package/dist/src/scalars/components/oid-field/oid-field.test.d.ts.map +1 -0
  242. package/dist/src/scalars/components/oid-field/oid-field.test.js +161 -0
  243. package/dist/src/scalars/components/oid-field/oid-field.test.js.map +1 -0
  244. package/dist/src/scalars/components/password-field/password-field.stories.d.ts +23 -0
  245. package/dist/src/scalars/components/password-field/password-field.stories.d.ts.map +1 -0
  246. package/dist/src/scalars/components/password-field/password-field.stories.js +234 -0
  247. package/dist/src/scalars/components/password-field/password-field.stories.js.map +1 -0
  248. package/dist/src/scalars/components/password-field/password-field.test.d.ts +2 -0
  249. package/dist/src/scalars/components/password-field/password-field.test.d.ts.map +1 -0
  250. package/dist/src/scalars/components/password-field/password-field.test.js +112 -0
  251. package/dist/src/scalars/components/password-field/password-field.test.js.map +1 -0
  252. package/dist/src/scalars/components/phid-field/phid-field.stories.d.ts +69 -0
  253. package/dist/src/scalars/components/phid-field/phid-field.stories.d.ts.map +1 -0
  254. package/dist/src/scalars/components/phid-field/phid-field.stories.js +476 -0
  255. package/dist/src/scalars/components/phid-field/phid-field.stories.js.map +1 -0
  256. package/dist/src/scalars/components/phid-field/phid-field.test.d.ts +2 -0
  257. package/dist/src/scalars/components/phid-field/phid-field.test.d.ts.map +1 -0
  258. package/dist/src/scalars/components/phid-field/phid-field.test.js +164 -0
  259. package/dist/src/scalars/components/phid-field/phid-field.test.js.map +1 -0
  260. package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.d.ts +19 -0
  261. package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.d.ts.map +1 -0
  262. package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.js +116 -0
  263. package/dist/src/scalars/components/phone-number-field/phone-number-field.stories.js.map +1 -0
  264. package/dist/src/scalars/components/phone-number-field/phone-number-field.test.d.ts +2 -0
  265. package/dist/src/scalars/components/phone-number-field/phone-number-field.test.d.ts.map +1 -0
  266. package/dist/src/scalars/components/phone-number-field/phone-number-field.test.js +225 -0
  267. package/dist/src/scalars/components/phone-number-field/phone-number-field.test.js.map +1 -0
  268. package/dist/src/scalars/components/string-field/string-field.stories.d.ts +18 -0
  269. package/dist/src/scalars/components/string-field/string-field.stories.d.ts.map +1 -0
  270. package/dist/src/scalars/components/string-field/string-field.stories.js +143 -0
  271. package/dist/src/scalars/components/string-field/string-field.stories.js.map +1 -0
  272. package/dist/src/scalars/components/string-field/string-field.test.d.ts +2 -0
  273. package/dist/src/scalars/components/string-field/string-field.test.d.ts.map +1 -0
  274. package/dist/src/scalars/components/string-field/string-field.test.js +60 -0
  275. package/dist/src/scalars/components/string-field/string-field.test.js.map +1 -0
  276. package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.d.ts +25 -0
  277. package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.d.ts.map +1 -0
  278. package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.js +150 -0
  279. package/dist/src/scalars/components/time-picker-field/time-picker-field.stories.js.map +1 -0
  280. package/dist/src/scalars/components/time-picker-field/time-picker-field.test.d.ts +2 -0
  281. package/dist/src/scalars/components/time-picker-field/time-picker-field.test.d.ts.map +1 -0
  282. package/dist/src/scalars/components/time-picker-field/time-picker-field.test.js +123 -0
  283. package/dist/src/scalars/components/time-picker-field/time-picker-field.test.js.map +1 -0
  284. package/dist/src/scalars/components/url-field/url-field.stories.d.ts +17 -0
  285. package/dist/src/scalars/components/url-field/url-field.stories.d.ts.map +1 -0
  286. package/dist/src/scalars/components/url-field/url-field.stories.js +146 -0
  287. package/dist/src/scalars/components/url-field/url-field.stories.js.map +1 -0
  288. package/dist/src/scalars/components/url-field/url-field.test.d.ts +2 -0
  289. package/dist/src/scalars/components/url-field/url-field.test.d.ts.map +1 -0
  290. package/dist/src/scalars/components/url-field/url-field.test.js +131 -0
  291. package/dist/src/scalars/components/url-field/url-field.test.js.map +1 -0
  292. package/dist/src/scalars/graphql/test/Amount.test.d.ts +2 -0
  293. package/dist/src/scalars/graphql/test/Amount.test.d.ts.map +1 -0
  294. package/dist/src/scalars/graphql/test/Amount.test.js +135 -0
  295. package/dist/src/scalars/graphql/test/Amount.test.js.map +1 -0
  296. package/dist/src/scalars/graphql/test/AmountCrypto.test.d.ts +2 -0
  297. package/dist/src/scalars/graphql/test/AmountCrypto.test.d.ts.map +1 -0
  298. package/dist/src/scalars/graphql/test/AmountCrypto.test.js +138 -0
  299. package/dist/src/scalars/graphql/test/AmountCrypto.test.js.map +1 -0
  300. package/dist/src/scalars/graphql/test/AmountCurrency.test.d.ts +2 -0
  301. package/dist/src/scalars/graphql/test/AmountCurrency.test.d.ts.map +1 -0
  302. package/dist/src/scalars/graphql/test/AmountCurrency.test.js +141 -0
  303. package/dist/src/scalars/graphql/test/AmountCurrency.test.js.map +1 -0
  304. package/dist/src/scalars/graphql/test/AmountFiat.test.d.ts +2 -0
  305. package/dist/src/scalars/graphql/test/AmountFiat.test.d.ts.map +1 -0
  306. package/dist/src/scalars/graphql/test/AmountFiat.test.js +129 -0
  307. package/dist/src/scalars/graphql/test/AmountFiat.test.js.map +1 -0
  308. package/dist/src/scalars/graphql/test/AmountMoney.test.d.ts +2 -0
  309. package/dist/src/scalars/graphql/test/AmountMoney.test.d.ts.map +1 -0
  310. package/dist/src/scalars/graphql/test/AmountMoney.test.js +50 -0
  311. package/dist/src/scalars/graphql/test/AmountMoney.test.js.map +1 -0
  312. package/dist/src/scalars/graphql/test/AmountPercentage.test.d.ts +2 -0
  313. package/dist/src/scalars/graphql/test/AmountPercentage.test.d.ts.map +1 -0
  314. package/dist/src/scalars/graphql/test/AmountPercentage.test.js +50 -0
  315. package/dist/src/scalars/graphql/test/AmountPercentage.test.js.map +1 -0
  316. package/dist/src/scalars/graphql/test/AmountTokens.test.d.ts +2 -0
  317. package/dist/src/scalars/graphql/test/AmountTokens.test.d.ts.map +1 -0
  318. package/dist/src/scalars/graphql/test/AmountTokens.test.js +50 -0
  319. package/dist/src/scalars/graphql/test/AmountTokens.test.js.map +1 -0
  320. package/dist/src/scalars/graphql/test/Currency.test.d.ts +2 -0
  321. package/dist/src/scalars/graphql/test/Currency.test.d.ts.map +1 -0
  322. package/dist/src/scalars/graphql/test/Currency.test.js +35 -0
  323. package/dist/src/scalars/graphql/test/Currency.test.js.map +1 -0
  324. package/dist/src/scalars/graphql/test/Date.test.d.ts +2 -0
  325. package/dist/src/scalars/graphql/test/Date.test.d.ts.map +1 -0
  326. package/dist/src/scalars/graphql/test/Date.test.js +50 -0
  327. package/dist/src/scalars/graphql/test/Date.test.js.map +1 -0
  328. package/dist/src/scalars/graphql/test/DateTime.test.d.ts +2 -0
  329. package/dist/src/scalars/graphql/test/DateTime.test.d.ts.map +1 -0
  330. package/dist/src/scalars/graphql/test/DateTime.test.js +50 -0
  331. package/dist/src/scalars/graphql/test/DateTime.test.js.map +1 -0
  332. package/dist/src/scalars/graphql/test/EmailAddress.test.d.ts +2 -0
  333. package/dist/src/scalars/graphql/test/EmailAddress.test.d.ts.map +1 -0
  334. package/dist/src/scalars/graphql/test/EmailAddress.test.js +50 -0
  335. package/dist/src/scalars/graphql/test/EmailAddress.test.js.map +1 -0
  336. package/dist/src/scalars/graphql/test/EthereumAddress.test.d.ts +2 -0
  337. package/dist/src/scalars/graphql/test/EthereumAddress.test.d.ts.map +1 -0
  338. package/dist/src/scalars/graphql/test/EthereumAddress.test.js +50 -0
  339. package/dist/src/scalars/graphql/test/EthereumAddress.test.js.map +1 -0
  340. package/dist/src/scalars/graphql/test/OID.test.d.ts +2 -0
  341. package/dist/src/scalars/graphql/test/OID.test.d.ts.map +1 -0
  342. package/dist/src/scalars/graphql/test/OID.test.js +35 -0
  343. package/dist/src/scalars/graphql/test/OID.test.js.map +1 -0
  344. package/dist/src/scalars/graphql/test/OLabel.test.d.ts +2 -0
  345. package/dist/src/scalars/graphql/test/OLabel.test.d.ts.map +1 -0
  346. package/dist/src/scalars/graphql/test/OLabel.test.js +35 -0
  347. package/dist/src/scalars/graphql/test/OLabel.test.js.map +1 -0
  348. package/dist/src/scalars/graphql/test/PHID.test.d.ts +2 -0
  349. package/dist/src/scalars/graphql/test/PHID.test.d.ts.map +1 -0
  350. package/dist/src/scalars/graphql/test/PHID.test.js +35 -0
  351. package/dist/src/scalars/graphql/test/PHID.test.js.map +1 -0
  352. package/dist/src/scalars/graphql/test/URL.test.d.ts +2 -0
  353. package/dist/src/scalars/graphql/test/URL.test.d.ts.map +1 -0
  354. package/dist/src/scalars/graphql/test/URL.test.js +50 -0
  355. package/dist/src/scalars/graphql/test/URL.test.js.map +1 -0
  356. package/dist/src/scalars/hooks/useEllipsis.d.ts +1 -1
  357. package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -1
  358. package/dist/src/scalars/hooks/useEllipsis.js.map +1 -1
  359. package/dist/src/scalars/lib/deep-equal.test.d.ts +2 -0
  360. package/dist/src/scalars/lib/deep-equal.test.d.ts.map +1 -0
  361. package/dist/src/scalars/lib/deep-equal.test.js +70 -0
  362. package/dist/src/scalars/lib/deep-equal.test.js.map +1 -0
  363. package/dist/src/scalars/lib/is-empty.test.d.ts +2 -0
  364. package/dist/src/scalars/lib/is-empty.test.d.ts.map +1 -0
  365. package/dist/src/scalars/lib/is-empty.test.js +87 -0
  366. package/dist/src/scalars/lib/is-empty.test.js.map +1 -0
  367. package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts +1 -1
  368. package/dist/src/table/components/default-cell-editors/amount-editor.js.map +1 -1
  369. package/dist/src/table/components/default-cell-renderers/country-render.js +1 -1
  370. package/dist/src/table/components/default-cell-renderers/country-render.js.map +1 -1
  371. package/dist/src/table/components/default-fns/default-cell-on-save.d.ts +11 -0
  372. package/dist/src/table/components/default-fns/default-cell-on-save.d.ts.map +1 -0
  373. package/dist/src/table/components/default-fns/default-cell-on-save.js +18 -0
  374. package/dist/src/table/components/default-fns/default-cell-on-save.js.map +1 -0
  375. package/dist/src/table/components/rows/row-actions.d.ts +1 -1
  376. package/dist/src/table/components/rows/row-actions.d.ts.map +1 -1
  377. package/dist/src/table/components/table-focus-trap.js.map +1 -1
  378. package/dist/src/table/components/table-provider/table-provider.d.ts +1 -1
  379. package/dist/src/table/components/table-provider/table-provider.d.ts.map +1 -1
  380. package/dist/src/table/components/table-provider/table-provider.js +1 -1
  381. package/dist/src/table/components/table-provider/table-provider.js.map +1 -1
  382. package/dist/src/table/components/table-provider/table-reducer.d.ts +1 -1
  383. package/dist/src/table/components/table-provider/table-reducer.d.ts.map +1 -1
  384. package/dist/src/table/examples/api-usage/api-usage.stories.d.ts +16 -0
  385. package/dist/src/table/examples/api-usage/api-usage.stories.d.ts.map +1 -0
  386. package/dist/src/table/examples/api-usage/api-usage.stories.js +15 -0
  387. package/dist/src/table/examples/api-usage/api-usage.stories.js.map +1 -0
  388. package/dist/src/table/examples/column-visibility/column-visibility.stories.d.ts +23 -0
  389. package/dist/src/table/examples/column-visibility/column-visibility.stories.d.ts.map +1 -0
  390. package/dist/src/table/examples/column-visibility/column-visibility.stories.js +127 -0
  391. package/dist/src/table/examples/column-visibility/column-visibility.stories.js.map +1 -0
  392. package/dist/src/table/examples/computed-columns/computed-columns.stories.d.ts +23 -0
  393. package/dist/src/table/examples/computed-columns/computed-columns.stories.d.ts.map +1 -0
  394. package/dist/src/table/examples/computed-columns/computed-columns.stories.js +89 -0
  395. package/dist/src/table/examples/computed-columns/computed-columns.stories.js.map +1 -0
  396. package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.d.ts +23 -0
  397. package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.d.ts.map +1 -0
  398. package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.js +332 -0
  399. package/dist/src/table/examples/custom-cell-editors/custom-cell-editors.stories.js.map +1 -0
  400. package/dist/src/table/examples/custom-rendering/custom-rendering.stories.d.ts +23 -0
  401. package/dist/src/table/examples/custom-rendering/custom-rendering.stories.d.ts.map +1 -0
  402. package/dist/src/table/examples/custom-rendering/custom-rendering.stories.js +112 -0
  403. package/dist/src/table/examples/custom-rendering/custom-rendering.stories.js.map +1 -0
  404. package/dist/src/table/examples/events/events.stories.d.ts +16 -0
  405. package/dist/src/table/examples/events/events.stories.d.ts.map +1 -0
  406. package/dist/src/table/examples/events/events.stories.js +15 -0
  407. package/dist/src/table/examples/events/events.stories.js.map +1 -0
  408. package/dist/src/table/examples/row-reordering/row-reordering.stories.d.ts +37 -0
  409. package/dist/src/table/examples/row-reordering/row-reordering.stories.d.ts.map +1 -0
  410. package/dist/src/table/examples/row-reordering/row-reordering.stories.js +143 -0
  411. package/dist/src/table/examples/row-reordering/row-reordering.stories.js.map +1 -0
  412. package/dist/src/table/examples/table-editing/table-editing.stories.d.ts +43 -0
  413. package/dist/src/table/examples/table-editing/table-editing.stories.d.ts.map +1 -0
  414. package/dist/src/table/examples/table-editing/table-editing.stories.js +163 -0
  415. package/dist/src/table/examples/table-editing/table-editing.stories.js.map +1 -0
  416. package/dist/src/table/logic/table-api.d.ts +1 -1
  417. package/dist/src/table/logic/table-api.d.ts.map +1 -1
  418. package/dist/src/table/logic/table-api.js.map +1 -1
  419. package/dist/src/table/table/object-set-table.d.ts.map +1 -1
  420. package/dist/src/table/table/object-set-table.js +2 -11
  421. package/dist/src/table/table/object-set-table.js.map +1 -1
  422. package/dist/src/table/table/object-set-table.stories.d.ts +97 -0
  423. package/dist/src/table/table/object-set-table.stories.d.ts.map +1 -0
  424. package/dist/src/table/table/object-set-table.stories.js +300 -0
  425. package/dist/src/table/table/object-set-table.stories.js.map +1 -0
  426. package/dist/src/table/table/utils.d.ts +1 -1
  427. package/dist/src/table/table/utils.d.ts.map +1 -1
  428. package/dist/src/table/table/utils.js.map +1 -1
  429. package/dist/src/table/tests/basic-rendering.test.d.ts +2 -0
  430. package/dist/src/table/tests/basic-rendering.test.d.ts.map +1 -0
  431. package/dist/src/table/tests/basic-rendering.test.js +332 -0
  432. package/dist/src/table/tests/basic-rendering.test.js.map +1 -0
  433. package/dist/src/table/tests/cell-selection.test.d.ts +2 -0
  434. package/dist/src/table/tests/cell-selection.test.d.ts.map +1 -0
  435. package/dist/src/table/tests/cell-selection.test.js +346 -0
  436. package/dist/src/table/tests/cell-selection.test.js.map +1 -0
  437. package/dist/src/table/tests/helpers/test-utils.d.ts +28 -0
  438. package/dist/src/table/tests/helpers/test-utils.d.ts.map +1 -0
  439. package/dist/src/table/tests/helpers/test-utils.js +85 -0
  440. package/dist/src/table/tests/helpers/test-utils.js.map +1 -0
  441. package/dist/src/table/tests/page-objects/base-table.page.d.ts +83 -0
  442. package/dist/src/table/tests/page-objects/base-table.page.d.ts.map +1 -0
  443. package/dist/src/table/tests/page-objects/base-table.page.js +146 -0
  444. package/dist/src/table/tests/page-objects/base-table.page.js.map +1 -0
  445. package/dist/src/table/tests/page-objects/table-cell.page.d.ts +58 -0
  446. package/dist/src/table/tests/page-objects/table-cell.page.d.ts.map +1 -0
  447. package/dist/src/table/tests/page-objects/table-cell.page.js +163 -0
  448. package/dist/src/table/tests/page-objects/table-cell.page.js.map +1 -0
  449. package/dist/src/table/tests/page-objects/table-header.page.d.ts +66 -0
  450. package/dist/src/table/tests/page-objects/table-header.page.d.ts.map +1 -0
  451. package/dist/src/table/tests/page-objects/table-header.page.js +156 -0
  452. package/dist/src/table/tests/page-objects/table-header.page.js.map +1 -0
  453. package/dist/src/table/tests/page-objects/table-row.page.d.ts +98 -0
  454. package/dist/src/table/tests/page-objects/table-row.page.d.ts.map +1 -0
  455. package/dist/src/table/tests/page-objects/table-row.page.js +240 -0
  456. package/dist/src/table/tests/page-objects/table-row.page.js.map +1 -0
  457. package/dist/src/table/tests/page-objects/table.page.d.ts +36 -0
  458. package/dist/src/table/tests/page-objects/table.page.d.ts.map +1 -0
  459. package/dist/src/table/tests/page-objects/table.page.js +46 -0
  460. package/dist/src/table/tests/page-objects/table.page.js.map +1 -0
  461. package/dist/src/table/tests/row-actions.test.d.ts +2 -0
  462. package/dist/src/table/tests/row-actions.test.d.ts.map +1 -0
  463. package/dist/src/table/tests/row-actions.test.js +601 -0
  464. package/dist/src/table/tests/row-actions.test.js.map +1 -0
  465. package/dist/src/table/tests/row-selection.test.d.ts +2 -0
  466. package/dist/src/table/tests/row-selection.test.d.ts.map +1 -0
  467. package/dist/src/table/tests/row-selection.test.js +272 -0
  468. package/dist/src/table/tests/row-selection.test.js.map +1 -0
  469. package/dist/src/table/tests/sorting.test.d.ts +2 -0
  470. package/dist/src/table/tests/sorting.test.d.ts.map +1 -0
  471. package/dist/src/table/tests/sorting.test.js +793 -0
  472. package/dist/src/table/tests/sorting.test.js.map +1 -0
  473. package/dist/src/ui/components/button/button.stories.d.ts +32 -0
  474. package/dist/src/ui/components/button/button.stories.d.ts.map +1 -0
  475. package/dist/src/ui/components/button/button.stories.js +121 -0
  476. package/dist/src/ui/components/button/button.stories.js.map +1 -0
  477. package/dist/src/ui/components/button/button.test.d.ts +2 -0
  478. package/dist/src/ui/components/button/button.test.d.ts.map +1 -0
  479. package/dist/src/ui/components/button/button.test.js +71 -0
  480. package/dist/src/ui/components/button/button.test.js.map +1 -0
  481. package/dist/src/ui/components/confirm/alert-dialog.test.d.ts +2 -0
  482. package/dist/src/ui/components/confirm/alert-dialog.test.d.ts.map +1 -0
  483. package/dist/src/ui/components/confirm/alert-dialog.test.js +20 -0
  484. package/dist/src/ui/components/confirm/alert-dialog.test.js.map +1 -0
  485. package/dist/src/ui/components/confirm/confirm.stories.d.ts +37 -0
  486. package/dist/src/ui/components/confirm/confirm.stories.d.ts.map +1 -0
  487. package/dist/src/ui/components/confirm/confirm.stories.js +75 -0
  488. package/dist/src/ui/components/confirm/confirm.stories.js.map +1 -0
  489. package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.d.ts +74 -0
  490. package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.d.ts.map +1 -0
  491. package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.js +505 -0
  492. package/dist/src/ui/components/data-entry/aid-input/aid-input.stories.js.map +1 -0
  493. package/dist/src/ui/components/data-entry/aid-input/aid-input.test.d.ts +2 -0
  494. package/dist/src/ui/components/data-entry/aid-input/aid-input.test.d.ts.map +1 -0
  495. package/dist/src/ui/components/data-entry/aid-input/aid-input.test.js +191 -0
  496. package/dist/src/ui/components/data-entry/aid-input/aid-input.test.js.map +1 -0
  497. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +1 -1
  498. package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -1
  499. package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.d.ts +269 -0
  500. package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.d.ts.map +1 -0
  501. package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.js +363 -0
  502. package/dist/src/ui/components/data-entry/amount-input/amount-input.stories.js.map +1 -0
  503. package/dist/src/ui/components/data-entry/amount-input/amount-input.test.d.ts +2 -0
  504. package/dist/src/ui/components/data-entry/amount-input/amount-input.test.d.ts.map +1 -0
  505. package/dist/src/ui/components/data-entry/amount-input/amount-input.test.js +98 -0
  506. package/dist/src/ui/components/data-entry/amount-input/amount-input.test.js.map +1 -0
  507. package/dist/src/ui/components/data-entry/amount-input/utils.test.d.ts +2 -0
  508. package/dist/src/ui/components/data-entry/amount-input/utils.test.d.ts.map +1 -0
  509. package/dist/src/ui/components/data-entry/amount-input/utils.test.js +64 -0
  510. package/dist/src/ui/components/data-entry/amount-input/utils.test.js.map +1 -0
  511. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.d.ts +2 -0
  512. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.d.ts.map +1 -0
  513. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.js +57 -0
  514. package/dist/src/ui/components/data-entry/checkbox/checkbox-base.test.js.map +1 -0
  515. package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.d.ts +73 -0
  516. package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.d.ts.map +1 -0
  517. package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.js +139 -0
  518. package/dist/src/ui/components/data-entry/checkbox/checkbox.stories.js.map +1 -0
  519. package/dist/src/ui/components/data-entry/checkbox/index.js +1 -0
  520. package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -1
  521. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js +1 -1
  522. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js.map +1 -1
  523. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.d.ts +33 -0
  524. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.d.ts.map +1 -0
  525. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.js +194 -0
  526. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.stories.js.map +1 -0
  527. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.d.ts +2 -0
  528. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.d.ts.map +1 -0
  529. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.js +173 -0
  530. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.test.js.map +1 -0
  531. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.d.ts +28 -0
  532. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.d.ts.map +1 -0
  533. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.js +185 -0
  534. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.stories.js.map +1 -0
  535. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.d.ts +2 -0
  536. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.d.ts.map +1 -0
  537. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.js +161 -0
  538. package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.test.js.map +1 -0
  539. package/dist/src/ui/components/data-entry/date-picker/date-picker.js +1 -1
  540. package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +1 -1
  541. package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.d.ts +104 -0
  542. package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.d.ts.map +1 -0
  543. package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.js +360 -0
  544. package/dist/src/ui/components/data-entry/date-picker/date-picker.stories.js.map +1 -0
  545. package/dist/src/ui/components/data-entry/date-picker/date-picker.test.d.ts +2 -0
  546. package/dist/src/ui/components/data-entry/date-picker/date-picker.test.d.ts.map +1 -0
  547. package/dist/src/ui/components/data-entry/date-picker/date-picker.test.js +225 -0
  548. package/dist/src/ui/components/data-entry/date-picker/date-picker.test.js.map +1 -0
  549. package/dist/src/ui/components/data-entry/date-picker/index.js +1 -0
  550. package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -1
  551. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +1 -1
  552. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -1
  553. package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -1
  554. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +1 -1
  555. package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -1
  556. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.d.ts +152 -0
  557. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.d.ts.map +1 -0
  558. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.js +376 -0
  559. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.stories.js.map +1 -0
  560. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.d.ts +2 -0
  561. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.d.ts.map +1 -0
  562. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.js +241 -0
  563. package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.test.js.map +1 -0
  564. package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -1
  565. package/dist/src/ui/components/data-entry/date-time-picker/utils.test.d.ts +2 -0
  566. package/dist/src/ui/components/data-entry/date-time-picker/utils.test.d.ts.map +1 -0
  567. package/dist/src/ui/components/data-entry/date-time-picker/utils.test.js +38 -0
  568. package/dist/src/ui/components/data-entry/date-time-picker/utils.test.js.map +1 -0
  569. package/dist/src/ui/components/data-entry/email-input/email-input.stories.d.ts +17 -0
  570. package/dist/src/ui/components/data-entry/email-input/email-input.stories.d.ts.map +1 -0
  571. package/dist/src/ui/components/data-entry/email-input/email-input.stories.js +80 -0
  572. package/dist/src/ui/components/data-entry/email-input/email-input.stories.js.map +1 -0
  573. package/dist/src/ui/components/data-entry/email-input/index.js +1 -0
  574. package/dist/src/ui/components/data-entry/email-input/index.js.map +1 -1
  575. package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.d.ts +31 -0
  576. package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.d.ts.map +1 -0
  577. package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.js +193 -0
  578. package/dist/src/ui/components/data-entry/file-input/examples/file-upload-item-example.stories.js.map +1 -0
  579. package/dist/src/ui/components/data-entry/file-input/file-input.stories.d.ts +16 -0
  580. package/dist/src/ui/components/data-entry/file-input/file-input.stories.d.ts.map +1 -0
  581. package/dist/src/ui/components/data-entry/file-input/file-input.stories.js +199 -0
  582. package/dist/src/ui/components/data-entry/file-input/file-input.stories.js.map +1 -0
  583. package/dist/src/ui/components/data-entry/file-input/file-input.test.d.ts +2 -0
  584. package/dist/src/ui/components/data-entry/file-input/file-input.test.d.ts.map +1 -0
  585. package/dist/src/ui/components/data-entry/file-input/file-input.test.js +114 -0
  586. package/dist/src/ui/components/data-entry/file-input/file-input.test.js.map +1 -0
  587. package/dist/src/ui/components/data-entry/file-input/index.js +1 -0
  588. package/dist/src/ui/components/data-entry/file-input/index.js.map +1 -1
  589. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts +1 -0
  590. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts.map +1 -1
  591. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.js.map +1 -1
  592. package/dist/src/ui/components/data-entry/input/input.stories.d.ts +41 -0
  593. package/dist/src/ui/components/data-entry/input/input.stories.d.ts.map +1 -0
  594. package/dist/src/ui/components/data-entry/input/input.stories.js +70 -0
  595. package/dist/src/ui/components/data-entry/input/input.stories.js.map +1 -0
  596. package/dist/src/ui/components/data-entry/input/input.test.d.ts +2 -0
  597. package/dist/src/ui/components/data-entry/input/input.test.d.ts.map +1 -0
  598. package/dist/src/ui/components/data-entry/input/input.test.js +46 -0
  599. package/dist/src/ui/components/data-entry/input/input.test.js.map +1 -0
  600. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +1 -0
  601. package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -1
  602. package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -1
  603. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +1 -0
  604. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -1
  605. package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -1
  606. package/dist/src/ui/components/data-entry/number-input/number-input.stories.d.ts +173 -0
  607. package/dist/src/ui/components/data-entry/number-input/number-input.stories.d.ts.map +1 -0
  608. package/dist/src/ui/components/data-entry/number-input/number-input.stories.js +249 -0
  609. package/dist/src/ui/components/data-entry/number-input/number-input.stories.js.map +1 -0
  610. package/dist/src/ui/components/data-entry/number-input/number-input.test.d.ts +2 -0
  611. package/dist/src/ui/components/data-entry/number-input/number-input.test.d.ts.map +1 -0
  612. package/dist/src/ui/components/data-entry/number-input/number-input.test.js +234 -0
  613. package/dist/src/ui/components/data-entry/number-input/number-input.test.js.map +1 -0
  614. package/dist/src/ui/components/data-entry/number-input/use-number-input.d.ts +1 -1
  615. package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.d.ts +72 -0
  616. package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.d.ts.map +1 -0
  617. package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.js +457 -0
  618. package/dist/src/ui/components/data-entry/oid-input/oid-input.stories.js.map +1 -0
  619. package/dist/src/ui/components/data-entry/oid-input/oid-input.test.d.ts +2 -0
  620. package/dist/src/ui/components/data-entry/oid-input/oid-input.test.d.ts.map +1 -0
  621. package/dist/src/ui/components/data-entry/oid-input/oid-input.test.js +176 -0
  622. package/dist/src/ui/components/data-entry/oid-input/oid-input.test.js.map +1 -0
  623. package/dist/src/ui/components/data-entry/password-input/password-input.stories.d.ts +21 -0
  624. package/dist/src/ui/components/data-entry/password-input/password-input.stories.d.ts.map +1 -0
  625. package/dist/src/ui/components/data-entry/password-input/password-input.stories.js +101 -0
  626. package/dist/src/ui/components/data-entry/password-input/password-input.stories.js.map +1 -0
  627. package/dist/src/ui/components/data-entry/password-input/password-input.test.d.ts +2 -0
  628. package/dist/src/ui/components/data-entry/password-input/password-input.test.d.ts.map +1 -0
  629. package/dist/src/ui/components/data-entry/password-input/password-input.test.js +92 -0
  630. package/dist/src/ui/components/data-entry/password-input/password-input.test.js.map +1 -0
  631. package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.d.ts +72 -0
  632. package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.d.ts.map +1 -0
  633. package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.js +486 -0
  634. package/dist/src/ui/components/data-entry/phid-input/phid-input.stories.js.map +1 -0
  635. package/dist/src/ui/components/data-entry/phid-input/phid-input.test.d.ts +2 -0
  636. package/dist/src/ui/components/data-entry/phid-input/phid-input.test.d.ts.map +1 -0
  637. package/dist/src/ui/components/data-entry/phid-input/phid-input.test.js +179 -0
  638. package/dist/src/ui/components/data-entry/phid-input/phid-input.test.js.map +1 -0
  639. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.d.ts +21 -0
  640. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.d.ts.map +1 -0
  641. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.js +122 -0
  642. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.stories.js.map +1 -0
  643. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.d.ts +2 -0
  644. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.d.ts.map +1 -0
  645. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.js +190 -0
  646. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.test.js.map +1 -0
  647. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts +1 -1
  648. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js +1 -1
  649. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js.map +1 -1
  650. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.d.ts +2 -0
  651. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.d.ts.map +1 -0
  652. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.js +76 -0
  653. package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.test.js.map +1 -0
  654. package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.d.ts +86 -0
  655. package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.d.ts.map +1 -0
  656. package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.js +250 -0
  657. package/dist/src/ui/components/data-entry/radio-group/radio-group.stories.js.map +1 -0
  658. package/dist/src/ui/components/data-entry/radio-group/radio-group.test.d.ts +2 -0
  659. package/dist/src/ui/components/data-entry/radio-group/radio-group.test.d.ts.map +1 -0
  660. package/dist/src/ui/components/data-entry/radio-group/radio-group.test.js +136 -0
  661. package/dist/src/ui/components/data-entry/radio-group/radio-group.test.js.map +1 -0
  662. package/dist/src/ui/components/data-entry/radio-group/radio.test.d.ts +2 -0
  663. package/dist/src/ui/components/data-entry/radio-group/radio.test.d.ts.map +1 -0
  664. package/dist/src/ui/components/data-entry/radio-group/radio.test.js +63 -0
  665. package/dist/src/ui/components/data-entry/radio-group/radio.test.js.map +1 -0
  666. package/dist/src/ui/components/data-entry/select/content.d.ts +1 -1
  667. package/dist/src/ui/components/data-entry/select/content.d.ts.map +1 -1
  668. package/dist/src/ui/components/data-entry/select/select-diff.d.ts +1 -0
  669. package/dist/src/ui/components/data-entry/select/select-diff.d.ts.map +1 -1
  670. package/dist/src/ui/components/data-entry/select/select-diff.js.map +1 -1
  671. package/dist/src/ui/components/data-entry/select/select.stories.d.ts +75 -0
  672. package/dist/src/ui/components/data-entry/select/select.stories.d.ts.map +1 -0
  673. package/dist/src/ui/components/data-entry/select/select.stories.js +439 -0
  674. package/dist/src/ui/components/data-entry/select/select.stories.js.map +1 -0
  675. package/dist/src/ui/components/data-entry/select/select.test.d.ts +2 -0
  676. package/dist/src/ui/components/data-entry/select/select.test.d.ts.map +1 -0
  677. package/dist/src/ui/components/data-entry/select/select.test.js +218 -0
  678. package/dist/src/ui/components/data-entry/select/select.test.js.map +1 -0
  679. package/dist/src/ui/components/data-entry/select/use-select.d.ts +1 -1
  680. package/dist/src/ui/components/data-entry/select/use-select.js.map +1 -1
  681. package/dist/src/ui/components/data-entry/text-input/index.js +1 -0
  682. package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -1
  683. package/dist/src/ui/components/data-entry/text-input/text-input.js +1 -1
  684. package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
  685. package/dist/src/ui/components/data-entry/text-input/text-input.stories.d.ts +171 -0
  686. package/dist/src/ui/components/data-entry/text-input/text-input.stories.d.ts.map +1 -0
  687. package/dist/src/ui/components/data-entry/text-input/text-input.stories.js +133 -0
  688. package/dist/src/ui/components/data-entry/text-input/text-input.stories.js.map +1 -0
  689. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +2 -3
  690. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
  691. package/dist/src/ui/components/data-entry/textarea/textarea.js +10 -10
  692. package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
  693. package/dist/src/ui/components/data-entry/textarea/textarea.stories.d.ts +177 -0
  694. package/dist/src/ui/components/data-entry/textarea/textarea.stories.d.ts.map +1 -0
  695. package/dist/src/ui/components/data-entry/textarea/textarea.stories.js +167 -0
  696. package/dist/src/ui/components/data-entry/textarea/textarea.stories.js.map +1 -0
  697. package/dist/src/ui/components/data-entry/time-picker/index.js +1 -0
  698. package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -1
  699. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +2 -2
  700. package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -1
  701. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +2 -2
  702. package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -1
  703. package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.d.ts +66 -0
  704. package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.d.ts.map +1 -0
  705. package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.js +228 -0
  706. package/dist/src/ui/components/data-entry/time-picker/time-picker.stories.js.map +1 -0
  707. package/dist/src/ui/components/data-entry/time-picker/time-picker.test.d.ts +2 -0
  708. package/dist/src/ui/components/data-entry/time-picker/time-picker.test.d.ts.map +1 -0
  709. package/dist/src/ui/components/data-entry/time-picker/time-picker.test.js +235 -0
  710. package/dist/src/ui/components/data-entry/time-picker/time-picker.test.js.map +1 -0
  711. package/dist/src/ui/components/data-entry/time-picker/utils.test.d.ts +2 -0
  712. package/dist/src/ui/components/data-entry/time-picker/utils.test.d.ts.map +1 -0
  713. package/dist/src/ui/components/data-entry/time-picker/utils.test.js +149 -0
  714. package/dist/src/ui/components/data-entry/time-picker/utils.test.js.map +1 -0
  715. package/dist/src/ui/components/data-entry/toggle/toggle-base.test.d.ts +2 -0
  716. package/dist/src/ui/components/data-entry/toggle/toggle-base.test.d.ts.map +1 -0
  717. package/dist/src/ui/components/data-entry/toggle/toggle-base.test.js +98 -0
  718. package/dist/src/ui/components/data-entry/toggle/toggle-base.test.js.map +1 -0
  719. package/dist/src/ui/components/data-entry/toggle/toggle.stories.d.ts +68 -0
  720. package/dist/src/ui/components/data-entry/toggle/toggle.stories.d.ts.map +1 -0
  721. package/dist/src/ui/components/data-entry/toggle/toggle.stories.js +131 -0
  722. package/dist/src/ui/components/data-entry/toggle/toggle.stories.js.map +1 -0
  723. package/dist/src/ui/components/data-entry/url-input/url-input.stories.d.ts +34 -0
  724. package/dist/src/ui/components/data-entry/url-input/url-input.stories.d.ts.map +1 -0
  725. package/dist/src/ui/components/data-entry/url-input/url-input.stories.js +156 -0
  726. package/dist/src/ui/components/data-entry/url-input/url-input.stories.js.map +1 -0
  727. package/dist/src/ui/components/data-entry/url-input/url-input.test.d.ts +2 -0
  728. package/dist/src/ui/components/data-entry/url-input/url-input.test.d.ts.map +1 -0
  729. package/dist/src/ui/components/data-entry/url-input/url-input.test.js +72 -0
  730. package/dist/src/ui/components/data-entry/url-input/url-input.test.js.map +1 -0
  731. package/dist/src/ui/components/dropdown/dropdown.stories.d.ts +169 -0
  732. package/dist/src/ui/components/dropdown/dropdown.stories.d.ts.map +1 -0
  733. package/dist/src/ui/components/dropdown/dropdown.stories.js +194 -0
  734. package/dist/src/ui/components/dropdown/dropdown.stories.js.map +1 -0
  735. package/dist/src/ui/components/icon/icon.stories.d.ts +16 -0
  736. package/dist/src/ui/components/icon/icon.stories.d.ts.map +1 -0
  737. package/dist/src/ui/components/icon/icon.stories.js +37 -0
  738. package/dist/src/ui/components/icon/icon.stories.js.map +1 -0
  739. package/dist/src/ui/components/icon/index.js +1 -0
  740. package/dist/src/ui/components/icon/index.js.map +1 -1
  741. package/dist/src/ui/components/sidebar/sidebar.stories.d.ts +147 -0
  742. package/dist/src/ui/components/sidebar/sidebar.stories.d.ts.map +1 -0
  743. package/dist/src/ui/components/sidebar/sidebar.stories.js +420 -0
  744. package/dist/src/ui/components/sidebar/sidebar.stories.js.map +1 -0
  745. package/dist/src/ui/components/sidebar/sidebar.test.d.ts +2 -0
  746. package/dist/src/ui/components/sidebar/sidebar.test.d.ts.map +1 -0
  747. package/dist/src/ui/components/sidebar/sidebar.test.js +357 -0
  748. package/dist/src/ui/components/sidebar/sidebar.test.js.map +1 -0
  749. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
  750. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +3 -1
  751. package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
  752. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +1 -1
  753. package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -1
  754. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +1 -1
  755. package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
  756. package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +1 -1
  757. package/dist/src/ui/components/tooltip/tooltip.stories.d.ts +11 -0
  758. package/dist/src/ui/components/tooltip/tooltip.stories.d.ts.map +1 -0
  759. package/dist/src/ui/components/tooltip/tooltip.stories.js +87 -0
  760. package/dist/src/ui/components/tooltip/tooltip.stories.js.map +1 -0
  761. package/dist/src/ui/components/tooltip/tooltip.test.d.ts +2 -0
  762. package/dist/src/ui/components/tooltip/tooltip.test.d.ts.map +1 -0
  763. package/dist/src/ui/components/tooltip/tooltip.test.js +60 -0
  764. package/dist/src/ui/components/tooltip/tooltip.test.js.map +1 -0
  765. package/dist/style.css +19 -18
  766. package/dist/tsconfig.tsbuildinfo +1 -0
  767. package/dist/vitest.config.d.ts +3 -0
  768. package/dist/vitest.config.d.ts.map +1 -0
  769. package/dist/vitest.config.js +16 -0
  770. package/dist/vitest.config.js.map +1 -0
  771. package/package.json +90 -88
  772. package/dist/scripts/create-icon-components.d.ts +0 -2
  773. package/dist/scripts/create-icon-components.d.ts.map +0 -1
  774. package/dist/scripts/create-icon-components.js +0 -91
  775. package/dist/scripts/create-icon-components.js.map +0 -1
  776. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -0,0 +1,218 @@
1
+ import { FORMAT_MAPPING } from '../../../ui/components/data-entry/date-time-picker/utils.js';
2
+ import { withForm } from '../../index.js';
3
+ import { getDefaultArgTypes, getValidationArgTypes, StorybookControlCategory } from '../../lib/storybook-arg-types.js';
4
+ import { DateTimePickerField } from './date-time-picker-field.js';
5
+ /**
6
+ * A `DateTimePickerField` component designed for form usage with built-in validation.
7
+ * It renders both a `DatePicker` and `TimePicker` functionality in a single component.
8
+ *
9
+ * For styling examples:
10
+ * See our Storybook docs → 🎨
11
+ * [Date Time Picker Examples](?path=/docs/data-entry-date-time-picker--readme)
12
+ */
13
+ const meta = {
14
+ title: 'Scalars/Date Time Picker Field',
15
+ component: DateTimePickerField,
16
+ decorators: [withForm],
17
+ tags: ['autodocs'],
18
+ argTypes: {
19
+ ...getDefaultArgTypes({
20
+ enabledArgTypes: {
21
+ value: true,
22
+ },
23
+ }),
24
+ ...getValidationArgTypes({}),
25
+ minDate: {
26
+ control: 'date',
27
+ description: 'Minimum selectable date in the date picker',
28
+ table: {
29
+ type: { summary: 'date' },
30
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
31
+ },
32
+ },
33
+ maxDate: {
34
+ control: 'date',
35
+ description: 'Maximum selectable date in the date picker',
36
+ table: {
37
+ type: { summary: 'date' },
38
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
39
+ },
40
+ },
41
+ disablePastDates: {
42
+ control: 'boolean',
43
+ description: 'Disable past dates in the date picker',
44
+ table: {
45
+ type: { summary: 'boolean' },
46
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
47
+ },
48
+ },
49
+ disableFutureDates: {
50
+ control: 'boolean',
51
+ description: 'Disable future dates in the date picker',
52
+ table: {
53
+ type: { summary: 'boolean' },
54
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
55
+ },
56
+ },
57
+ dateFormat: {
58
+ control: {
59
+ type: 'select',
60
+ },
61
+ description: 'The format of the date in the date picker',
62
+ options: Object.keys(FORMAT_MAPPING),
63
+ table: {
64
+ defaultValue: { summary: 'YYYY-MM-DD' },
65
+ type: {
66
+ summary: 'string',
67
+ },
68
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
69
+ },
70
+ },
71
+ weekStart: {
72
+ control: 'select',
73
+ description: 'The first day of the week in the date picker',
74
+ options: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
75
+ table: {
76
+ defaultValue: { summary: 'Monday' },
77
+ type: {
78
+ summary: 'string',
79
+ },
80
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
81
+ },
82
+ },
83
+ autoClose: {
84
+ control: 'boolean',
85
+ description: 'Close the date picker when a date is selected',
86
+ table: {
87
+ type: { summary: 'boolean' },
88
+ defaultValue: { summary: 'false' },
89
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
90
+ },
91
+ },
92
+ // Time picker props
93
+ timeFormat: {
94
+ control: {
95
+ type: 'select',
96
+ },
97
+ description: 'The format of the time in the time picker',
98
+ table: {
99
+ defaultValue: { summary: 'hh:mm A' },
100
+ type: {
101
+ summary: 'string',
102
+ },
103
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
104
+ },
105
+ options: ['hh:mm A', 'HH:mm'],
106
+ defaultValue: { summary: 'hh:mm A' },
107
+ },
108
+ showTimezoneSelect: {
109
+ control: {
110
+ type: 'boolean',
111
+ },
112
+ description: 'Show timezone select',
113
+ table: {
114
+ type: { summary: 'boolean' },
115
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
116
+ },
117
+ },
118
+ timeZone: {
119
+ control: {
120
+ type: 'text',
121
+ },
122
+ description: 'The timezone to display in the time picker',
123
+ table: {
124
+ type: { summary: 'string' },
125
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
126
+ },
127
+ },
128
+ timeIntervals: {
129
+ description: 'The interval between each time option',
130
+ control: {
131
+ type: 'number',
132
+ },
133
+ type: 'number',
134
+ min: 1,
135
+ max: 60,
136
+ table: {
137
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
138
+ },
139
+ defaultValue: { summary: 1 },
140
+ },
141
+ includeContinent: {
142
+ control: 'boolean',
143
+ description: 'Show continent name in the timezone select',
144
+ table: {
145
+ type: { summary: 'boolean' },
146
+ category: StorybookControlCategory.COMPONENT_SPECIFIC,
147
+ },
148
+ },
149
+ placeholder: {
150
+ control: 'text',
151
+ description: 'The placeholder text for the date time picker',
152
+ table: {
153
+ type: { summary: 'string' },
154
+ category: StorybookControlCategory.DEFAULT,
155
+ },
156
+ },
157
+ },
158
+ args: {
159
+ name: 'date-time-picker-field',
160
+ },
161
+ parameters: {
162
+ layout: 'centered',
163
+ form: {
164
+ resetBehavior: 'unmount',
165
+ },
166
+ },
167
+ };
168
+ export default meta;
169
+ export const DateTimePicker = {
170
+ args: {
171
+ label: 'Date Time Picker Field',
172
+ description: 'This is a date time picker field',
173
+ placeholder: '2025/01/27 12:00',
174
+ },
175
+ };
176
+ export const WithCustomizedContent = {
177
+ args: {
178
+ label: 'Date Time Picker Field',
179
+ description: 'This is a date time picker field',
180
+ placeholder: '2025/01/27 12:00',
181
+ className: String.raw `
182
+ [&_.date-time-picker\\_\\_content]:rounded-lg
183
+ [&_.date-time-picker\\_\\_content]:border-cyan-200
184
+ [&_.date-time-picker\\_\\_tabs]:border-cyan-200
185
+ [&_.date-time-picker\\_\\_tabs_svg]:text-green-700
186
+ [&_.date-time-picker\\_\\_tabs_svg[data-state=active]]:text-green-900
187
+ `,
188
+ },
189
+ };
190
+ export const WithDifferencesAddition = {
191
+ args: {
192
+ name: 'date-time-picker',
193
+ label: 'Date Time Picker Field',
194
+ description: 'This is a date time picker field',
195
+ value: '2024-06-12T11:47:34.000-03:00',
196
+ viewMode: 'addition',
197
+ },
198
+ };
199
+ export const WithDifferencesRemoval = {
200
+ args: {
201
+ name: 'date-time-picker',
202
+ label: 'Date Time Picker Field',
203
+ description: 'This is a date time picker field',
204
+ baseValue: '2023-06-15T11:47:34.000-03:00',
205
+ viewMode: 'removal',
206
+ },
207
+ };
208
+ export const WithDifferencesMixed = {
209
+ args: {
210
+ name: 'date-time-picker',
211
+ label: 'Date Time Picker Field',
212
+ description: 'This is a date time picker field',
213
+ value: '2025-06-05T11:47:34.000-03:00',
214
+ baseValue: '2024-06-05T11:47:34.000-03:00',
215
+ viewMode: 'mixed',
216
+ },
217
+ };
218
+ //# sourceMappingURL=date-time-picker-field.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time-picker-field.stories.js","sourceRoot":"","sources":["../../../../../src/scalars/components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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=date-time-picker-field.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time-picker-field.test.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/date-time-picker-field/date-time-picker-field.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,125 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { screen, waitFor } from '@testing-library/react';
3
+ import { userEvent } from '@testing-library/user-event';
4
+ import { DateTimePickerField } from './date-time-picker-field.js';
5
+ import { vi } from 'vitest';
6
+ import { renderWithForm } from '@powerhousedao/document-engineering/scalars/lib/testing.js';
7
+ describe('DateTimePickerField', () => {
8
+ const defaultProps = {
9
+ name: 'datetime',
10
+ label: 'Date and Time',
11
+ placeholder: 'Select date and time',
12
+ };
13
+ it('should match the snapshot', () => {
14
+ const { container } = renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, label: "Test Label", name: "test-date", value: "2025-01-01T12:00:00.000Z", dateFormat: "yyyy-MM-dd" }));
15
+ expect(container).toMatchSnapshot();
16
+ });
17
+ it('should handle disabled state', () => {
18
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, disabled: true }));
19
+ const input = screen.getByPlaceholderText('Select date and time');
20
+ expect(input).toBeDisabled();
21
+ });
22
+ it('should render with basic props', () => {
23
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps }));
24
+ expect(screen.getByPlaceholderText('Select date and time')).toBeInTheDocument();
25
+ expect(screen.getByText('Date and Time')).toBeInTheDocument();
26
+ });
27
+ it('should display error messages from validation', async () => {
28
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, required: true, showErrorOnBlur: true }));
29
+ const input = screen.getByPlaceholderText('Select date and time');
30
+ await userEvent.click(input);
31
+ await userEvent.tab(); // Trigger blur to show validation
32
+ await waitFor(() => {
33
+ expect(screen.getByText(/this field is required/i)).toBeInTheDocument();
34
+ });
35
+ });
36
+ it('should handle description', () => {
37
+ const description = 'Select a date and time for your appointment';
38
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, description: description }));
39
+ expect(screen.getByText(description)).toBeInTheDocument();
40
+ });
41
+ it('should handle required state with validation', async () => {
42
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, required: true, showErrorOnBlur: true }));
43
+ expect(screen.getByText('*')).toBeInTheDocument();
44
+ const input = screen.getByPlaceholderText('Select date and time');
45
+ expect(input).toBeRequired();
46
+ // Trigger validation by focusing and blurring
47
+ await userEvent.click(input);
48
+ await userEvent.tab();
49
+ await waitFor(() => {
50
+ expect(screen.getByText(/this field is required/i)).toBeInTheDocument();
51
+ });
52
+ });
53
+ it('should handle different date formats correctly', async () => {
54
+ const onChange = vi.fn();
55
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, dateFormat: "dd/MM/yyyy", onChange: onChange }));
56
+ const input = screen.getByPlaceholderText('Select date and time');
57
+ await userEvent.type(input, '25/12/2024 14:30');
58
+ expect(input).toHaveValue('25/12/2024 14:30');
59
+ const lastCall = onChange.mock.calls[onChange.mock.calls.length - 1][0];
60
+ expect(lastCall.type).toBe('change');
61
+ });
62
+ it('should handle time format changes correctly', async () => {
63
+ const onChange = vi.fn();
64
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, timeFormat: "HH:mm a", onChange: onChange }));
65
+ const input = screen.getByPlaceholderText('Select date and time');
66
+ await userEvent.type(input, '2024-12-25 02:30 PM');
67
+ expect(input.value.trim()).toBe('2024-12-25 02:30 PM');
68
+ const lastCall = onChange.mock.calls[onChange.mock.calls.length - 1][0];
69
+ expect(lastCall.type).toBe('change');
70
+ });
71
+ it('should handle empty input with validation', async () => {
72
+ const onChange = vi.fn();
73
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, required: true, showErrorOnBlur: true, onChange: onChange }));
74
+ const input = screen.getByPlaceholderText('Select date and time');
75
+ await userEvent.clear(input);
76
+ await userEvent.tab();
77
+ const lastOnChangeCall = onChange.mock.calls[onChange.mock.calls.length - 1][0];
78
+ expect(lastOnChangeCall.type).toBe('change');
79
+ expect(lastOnChangeCall.target.value).toBe('');
80
+ await waitFor(() => {
81
+ expect(screen.getByText(/this field is required/i)).toBeInTheDocument();
82
+ });
83
+ });
84
+ it('should validate date format', async () => {
85
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, showErrorOnBlur: true }));
86
+ const input = screen.getByPlaceholderText('Select date and time');
87
+ expect(input).toBeInTheDocument();
88
+ await userEvent.type(input, 'invalid-date 14:30');
89
+ await userEvent.tab();
90
+ await waitFor(() => {
91
+ expect(screen.getByText(/Invalid date format. Use/i)).toBeInTheDocument();
92
+ });
93
+ });
94
+ it('should validate time format', async () => {
95
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, showErrorOnBlur: true }));
96
+ const input = screen.getByPlaceholderText('Select date and time');
97
+ expect(input).toBeInTheDocument();
98
+ await userEvent.type(input, '2024-12-25 invalid-time');
99
+ await userEvent.tab();
100
+ await waitFor(() => {
101
+ expect(screen.getByText(/invalid format/i)).toBeInTheDocument();
102
+ });
103
+ });
104
+ it('should validate max date', async () => {
105
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, maxDate: "2024-12-31", showErrorOnBlur: true, dateFormat: "yyyy-MM-dd", timeFormat: "HH:mm a" }));
106
+ const input = screen.getByRole('textbox');
107
+ expect(input).toBeInTheDocument();
108
+ await userEvent.type(input, '2025-01-01 14:30');
109
+ await userEvent.tab();
110
+ await waitFor(() => {
111
+ expect(screen.getByText(/Date must be before/i)).toBeInTheDocument();
112
+ });
113
+ });
114
+ it('should validate min date', async () => {
115
+ renderWithForm(_jsx(DateTimePickerField, { ...defaultProps, minDate: "2024-12-10", showErrorOnBlur: true, dateFormat: "yyyy-MM-dd", timeFormat: "HH:mm a" }));
116
+ const input = screen.getByRole('textbox');
117
+ expect(input).toBeInTheDocument();
118
+ await userEvent.type(input, '2024-11-09 14:30');
119
+ await userEvent.tab();
120
+ await waitFor(() => {
121
+ expect(screen.getByText(/Date must be after/i)).toBeInTheDocument();
122
+ });
123
+ });
124
+ });
125
+ //# sourceMappingURL=date-time-picker-field.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-time-picker-field.test.js","sourceRoot":"","sources":["../../../../../src/scalars/components/date-time-picker-field/date-time-picker-field.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAA;AAG3F,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,MAAM,YAAY,GAAG;QACnB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,sBAAsB;KACpC,CAAA;IAED,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACnC,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,CAClC,KAAC,mBAAmB,OACd,YAAY,EAChB,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,WAAW,EAChB,KAAK,EAAC,0BAA0B,EAChC,UAAU,EAAC,YAAY,GACvB,CACH,CAAA;QACD,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,EAAE,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACtC,cAAc,CAAC,KAAC,mBAAmB,OAAK,YAAY,EAAE,QAAQ,SAAG,CAAC,CAAA;QAElE,MAAM,KAAK,GAAG,MAAM,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,CAAA;QACjE,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,CAAA;IAC9B,CAAC,CAAC,CAAA;IAEF,EAAE,C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,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAA;QACrE,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { EmailField } from './email-field.js';
3
+ declare const meta: Meta<typeof EmailField>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof EmailField>;
6
+ export declare const Default: Story;
7
+ export declare const Filled: Story;
8
+ export declare const WithDifferencesAddition: Story;
9
+ export declare const WithDifferencesRemoval: Story;
10
+ export declare const WithDifferencesMixed: Story;
11
+ export declare const WithEmailMatchForm: Story;
12
+ //# sourceMappingURL=email-field.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-field.stories.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/email-field/email-field.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQtD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA8CjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AACD,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAOrC,CAAA;AACD,eAAO,MAAM,sBAAsB,EAAE,KAOpC,CAAA;AACD,eAAO,MAAM,oBAAoB,EAAE,KAOlC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAyBhC,CAAA"}
@@ -0,0 +1,108 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { withForm } from '../../lib/decorators.js';
3
+ import { getDefaultArgTypes, getValidationArgTypes, PrebuiltArgTypes, StorybookControlCategory, } from '../../lib/storybook-arg-types.js';
4
+ import { EmailField } from './email-field.js';
5
+ const meta = {
6
+ title: 'Scalars/Email Field',
7
+ component: EmailField,
8
+ decorators: [withForm],
9
+ parameters: {
10
+ layout: 'centered',
11
+ },
12
+ tags: ['autodocs'],
13
+ argTypes: {
14
+ ...getDefaultArgTypes(),
15
+ ...PrebuiltArgTypes.placeholder,
16
+ ...PrebuiltArgTypes.autoComplete,
17
+ ...getValidationArgTypes({
18
+ enabledArgTypes: {
19
+ validators: false,
20
+ },
21
+ }),
22
+ ...PrebuiltArgTypes.pattern,
23
+ ...PrebuiltArgTypes.minLength,
24
+ ...PrebuiltArgTypes.maxLength,
25
+ ...PrebuiltArgTypes.viewMode,
26
+ ...PrebuiltArgTypes.baseValue,
27
+ allowedDomains: {
28
+ control: 'object',
29
+ description: 'Allowed domains for the email field',
30
+ table: {
31
+ type: { summary: 'string[]' },
32
+ detail: 'Array of allowed domains',
33
+ category: StorybookControlCategory.VALIDATION,
34
+ },
35
+ },
36
+ matchFieldName: {
37
+ control: 'text',
38
+ description: 'Name of another field in the form to validate that this field matches its value. Used for confirmation fields like "Confirm Email" that must match the original field.',
39
+ table: {
40
+ type: { summary: 'string' },
41
+ detail: 'When provided, this field will validate that its value matches the value of the field with the specified name. Common use case: email confirmation fields.',
42
+ category: StorybookControlCategory.VALIDATION,
43
+ },
44
+ },
45
+ },
46
+ args: {
47
+ name: 'email-field',
48
+ },
49
+ };
50
+ export default meta;
51
+ export const Default = {
52
+ args: {
53
+ label: 'Email Input',
54
+ placeholder: 'Enter your email',
55
+ },
56
+ };
57
+ export const Filled = {
58
+ args: {
59
+ label: 'Email Input',
60
+ placeholder: 'Enter your email',
61
+ value: 'john.doe@example.com',
62
+ },
63
+ };
64
+ export const WithDifferencesAddition = {
65
+ args: {
66
+ label: 'Number difference addition',
67
+ value: 'test@gmail.com',
68
+ baseValue: 'other@example.com',
69
+ viewMode: 'addition',
70
+ },
71
+ };
72
+ export const WithDifferencesRemoval = {
73
+ args: {
74
+ label: 'Date difference removal',
75
+ value: 'test@gmail.com',
76
+ baseValue: 'test@example.com',
77
+ viewMode: 'removal',
78
+ },
79
+ };
80
+ export const WithDifferencesMixed = {
81
+ args: {
82
+ label: 'Date difference mixed',
83
+ value: 'other@example.com',
84
+ baseValue: 'test@example.com',
85
+ viewMode: 'mixed',
86
+ },
87
+ };
88
+ export const WithEmailMatchForm = {
89
+ parameters: {
90
+ controls: { disable: true },
91
+ docs: {
92
+ source: {
93
+ code: `
94
+ <Form defaultValues={{ email: '', confirmEmail: '' }}>
95
+ <EmailField label="Email Address" name="email" placeholder="Enter your email" />
96
+ <EmailField label="Confirm Email" name="confirmEmail" placeholder="Confirm your email" matchFieldName="email" />
97
+ <Button type="submit">Submit</Button>
98
+ </Form>
99
+ `,
100
+ },
101
+ description: {
102
+ story: 'Example showing how to use `matchFieldName` prop to create email confirmation fields. The second field validates that it matches the value of the first field.',
103
+ },
104
+ },
105
+ },
106
+ render: () => (_jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(EmailField, { label: "Email Address", name: "email", placeholder: "Enter your email" }), _jsx(EmailField, { label: "Confirm Email", name: "confirmEmail", placeholder: "Confirm your email", matchFieldName: "email" })] })),
107
+ };
108
+ //# sourceMappingURL=email-field.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-field.stories.js","sourceRoot":"","sources":["../../../../../src/scalars/components/email-field/email-field.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE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email-field.test.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/email-field/email-field.test.tsx"],"names":[],"mappings":""}