@gov-design-system-ce/components 4.6.4 → 4.6.5

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 (549) hide show
  1. package/dist/cjs/gov-flex_3.cjs.entry.js +1 -1
  2. package/dist/cjs/gov-form-file.cjs.entry.js +35 -11
  3. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-form-file.entry.cjs.js.map +1 -1
  5. package/dist/collection/components/gov-form/file/gov-form-file.js +7 -2
  6. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  7. package/dist/collection/utils/file.utils.js +28 -9
  8. package/dist/collection/utils/file.utils.js.map +1 -1
  9. package/dist/components/gov-accordion-item.js +1 -1
  10. package/dist/components/gov-attachments-item.js +1 -1
  11. package/dist/components/gov-blockquote.js +1 -1
  12. package/dist/components/gov-breadcrumbs.js +1 -1
  13. package/dist/components/gov-breadcrumbs.js.map +1 -1
  14. package/dist/components/gov-button.js +1 -1
  15. package/dist/components/gov-card.js +1 -1
  16. package/dist/components/gov-chip.js +1 -1
  17. package/dist/components/gov-collapsible.js +1 -1
  18. package/dist/components/gov-dialog.js +1 -1
  19. package/dist/components/gov-form-autocomplete.js +1 -1
  20. package/dist/components/gov-form-checkbox.js +1 -1
  21. package/dist/components/gov-form-file.js +1 -1
  22. package/dist/components/gov-form-file.js.map +1 -1
  23. package/dist/components/gov-form-input.js +1 -1
  24. package/dist/components/gov-form-multi-select.js +1 -1
  25. package/dist/components/gov-form-range.js +1 -1
  26. package/dist/components/gov-form-select.js +1 -1
  27. package/dist/components/gov-form-switch.js +1 -1
  28. package/dist/components/gov-icon.js +1 -1
  29. package/dist/components/gov-infobar.js +1 -1
  30. package/dist/components/gov-link.js +1 -1
  31. package/dist/components/gov-loading.js +1 -1
  32. package/dist/components/gov-pagination.js +1 -1
  33. package/dist/components/gov-tabs.js +1 -1
  34. package/dist/components/gov-tag.js +1 -1
  35. package/dist/components/gov-theme-switch.js +1 -1
  36. package/dist/components/gov-tile.js +1 -1
  37. package/dist/components/gov-toast.js +1 -1
  38. package/dist/components/gov-tooltip-content.js +1 -1
  39. package/dist/components/gov-wizard-item.js +1 -1
  40. package/dist/components/{p-DEthsMuE.js → p-BIB-JMbL.js} +2 -2
  41. package/dist/components/{p-iTwUkISB.js → p-BVG9PtuQ.js} +2 -2
  42. package/dist/components/{p-yIpIIG5A.js → p-DV0Pdd1S.js} +2 -2
  43. package/dist/components/{p-CXPP9vec.js → p-Dj-FiQ37.js} +2 -2
  44. package/dist/components/{p-pJ_vPAO0.js → p-DlpZtTcv.js} +2 -2
  45. package/dist/components/{p-DN5pb9xA.js → p-Dw1o8KoZ.js} +2 -2
  46. package/dist/components/{p-ibUK7mfI.js → p-NU_8kxGz.js} +2 -2
  47. package/dist/components/{p-C_URF9Su.js → p-o4vVG5sG.js} +2 -2
  48. package/dist/core/core.esm.js +1 -1
  49. package/dist/core/gov-form-file.entry.esm.js.map +1 -1
  50. package/dist/core/{p-bec959c4.entry.js → p-002e72bf.entry.js} +2 -2
  51. package/dist/core/p-441e67f6.entry.js +2 -0
  52. package/dist/core/p-441e67f6.entry.js.map +1 -0
  53. package/dist/dist/components/gov-accordion-item.d.ts +11 -0
  54. package/dist/dist/components/gov-accordion.d.ts +11 -0
  55. package/dist/dist/components/gov-attachments-item.d.ts +11 -0
  56. package/dist/dist/components/gov-attachments.d.ts +11 -0
  57. package/dist/dist/components/gov-backdrop.d.ts +11 -0
  58. package/dist/dist/components/gov-banner.d.ts +11 -0
  59. package/dist/dist/components/gov-blockquote.d.ts +11 -0
  60. package/dist/dist/components/gov-breadcrumbs.d.ts +11 -0
  61. package/dist/dist/components/gov-button.d.ts +11 -0
  62. package/dist/dist/components/gov-card.d.ts +11 -0
  63. package/dist/dist/components/gov-chip.d.ts +11 -0
  64. package/dist/dist/components/gov-collapsible.d.ts +11 -0
  65. package/dist/dist/components/gov-container.d.ts +11 -0
  66. package/dist/dist/components/gov-control-group.d.ts +11 -0
  67. package/dist/dist/components/gov-cookiebar.d.ts +11 -0
  68. package/dist/dist/components/gov-dialog.d.ts +11 -0
  69. package/dist/dist/components/gov-dropdown.d.ts +11 -0
  70. package/dist/dist/components/gov-empty.d.ts +11 -0
  71. package/dist/dist/components/gov-error-code.d.ts +11 -0
  72. package/dist/dist/components/gov-flex.d.ts +11 -0
  73. package/dist/dist/components/gov-form-autocomplete.d.ts +11 -0
  74. package/dist/dist/components/gov-form-checkbox-group.d.ts +11 -0
  75. package/dist/dist/components/gov-form-checkbox.d.ts +11 -0
  76. package/dist/dist/components/gov-form-control.d.ts +11 -0
  77. package/dist/dist/components/gov-form-file.d.ts +11 -0
  78. package/dist/dist/components/gov-form-group.d.ts +11 -0
  79. package/dist/dist/components/gov-form-input.d.ts +11 -0
  80. package/dist/dist/components/gov-form-label.d.ts +11 -0
  81. package/dist/dist/components/gov-form-message.d.ts +11 -0
  82. package/dist/dist/components/gov-form-multi-select.d.ts +11 -0
  83. package/dist/dist/components/gov-form-password-power.d.ts +11 -0
  84. package/dist/dist/components/gov-form-radio-group.d.ts +11 -0
  85. package/dist/dist/components/gov-form-radio.d.ts +11 -0
  86. package/dist/dist/components/gov-form-range.d.ts +11 -0
  87. package/dist/dist/components/gov-form-search.d.ts +11 -0
  88. package/dist/dist/components/gov-form-select.d.ts +11 -0
  89. package/dist/dist/components/gov-form-switch.d.ts +11 -0
  90. package/dist/dist/components/gov-grid-item.d.ts +11 -0
  91. package/dist/dist/components/gov-grid.d.ts +11 -0
  92. package/dist/dist/components/gov-icon.d.ts +11 -0
  93. package/dist/dist/components/gov-infobar.d.ts +11 -0
  94. package/dist/dist/components/gov-layout-column.d.ts +11 -0
  95. package/dist/dist/components/gov-layout.d.ts +11 -0
  96. package/dist/dist/components/gov-lifecycle.d.ts +11 -0
  97. package/dist/dist/components/gov-link.d.ts +11 -0
  98. package/dist/dist/components/gov-loading.d.ts +11 -0
  99. package/dist/dist/components/gov-message.d.ts +11 -0
  100. package/dist/dist/components/gov-pagination.d.ts +11 -0
  101. package/dist/dist/components/gov-skeleton.d.ts +11 -0
  102. package/dist/dist/components/gov-spacer.d.ts +11 -0
  103. package/dist/dist/components/gov-stepper-item.d.ts +11 -0
  104. package/dist/dist/components/gov-stepper.d.ts +11 -0
  105. package/dist/dist/components/gov-tabs-item.d.ts +11 -0
  106. package/dist/dist/components/gov-tabs.d.ts +11 -0
  107. package/dist/dist/components/gov-tag.d.ts +11 -0
  108. package/dist/dist/components/gov-theme-switch.d.ts +11 -0
  109. package/dist/dist/components/gov-tile.d.ts +11 -0
  110. package/dist/dist/components/gov-toast.d.ts +11 -0
  111. package/dist/dist/components/gov-tooltip-content.d.ts +11 -0
  112. package/dist/dist/components/gov-tooltip.d.ts +11 -0
  113. package/dist/dist/components/gov-wizard-item.d.ts +11 -0
  114. package/dist/dist/components/gov-wizard.d.ts +11 -0
  115. package/dist/dist/components/index.d.ts +35 -0
  116. package/dist/dist/dist/components/gov-accordion-item.d.ts +11 -0
  117. package/dist/dist/dist/components/gov-accordion.d.ts +11 -0
  118. package/dist/dist/dist/components/gov-app.d.ts +11 -0
  119. package/dist/dist/dist/components/gov-attachments-item.d.ts +11 -0
  120. package/dist/dist/dist/components/gov-attachments.d.ts +11 -0
  121. package/dist/dist/dist/components/gov-backdrop.d.ts +11 -0
  122. package/dist/dist/dist/components/gov-banner.d.ts +11 -0
  123. package/dist/dist/dist/components/gov-blockquote.d.ts +11 -0
  124. package/dist/dist/dist/components/gov-breadcrumbs.d.ts +11 -0
  125. package/dist/dist/dist/components/gov-button.d.ts +11 -0
  126. package/dist/dist/dist/components/gov-card.d.ts +11 -0
  127. package/dist/dist/dist/components/gov-chip.d.ts +11 -0
  128. package/dist/dist/dist/components/gov-collapsible.d.ts +11 -0
  129. package/dist/dist/dist/components/gov-container.d.ts +11 -0
  130. package/dist/dist/dist/components/gov-control-group.d.ts +11 -0
  131. package/dist/dist/dist/components/gov-cookiebar.d.ts +11 -0
  132. package/dist/dist/dist/components/gov-dialog.d.ts +11 -0
  133. package/dist/dist/dist/components/gov-dropdown.d.ts +11 -0
  134. package/dist/dist/dist/components/gov-empty.d.ts +11 -0
  135. package/dist/dist/dist/components/gov-error-code.d.ts +11 -0
  136. package/dist/dist/dist/components/gov-flex.d.ts +11 -0
  137. package/dist/dist/dist/components/gov-form-autocomplete.d.ts +11 -0
  138. package/dist/dist/dist/components/gov-form-checkbox-group.d.ts +11 -0
  139. package/dist/dist/dist/components/gov-form-checkbox.d.ts +11 -0
  140. package/dist/dist/dist/components/gov-form-control.d.ts +11 -0
  141. package/dist/dist/dist/components/gov-form-file.d.ts +11 -0
  142. package/dist/dist/dist/components/gov-form-group.d.ts +11 -0
  143. package/dist/dist/dist/components/gov-form-input.d.ts +11 -0
  144. package/dist/dist/dist/components/gov-form-label.d.ts +11 -0
  145. package/dist/dist/dist/components/gov-form-message.d.ts +11 -0
  146. package/dist/dist/dist/components/gov-form-multi-select.d.ts +11 -0
  147. package/dist/dist/dist/components/gov-form-password-power.d.ts +11 -0
  148. package/dist/dist/dist/components/gov-form-radio-group.d.ts +11 -0
  149. package/dist/dist/dist/components/gov-form-radio.d.ts +11 -0
  150. package/dist/dist/dist/components/gov-form-range.d.ts +11 -0
  151. package/dist/dist/dist/components/gov-form-search.d.ts +11 -0
  152. package/dist/dist/dist/components/gov-form-select.d.ts +11 -0
  153. package/dist/dist/dist/components/gov-form-switch.d.ts +11 -0
  154. package/dist/dist/dist/components/gov-grid-item.d.ts +11 -0
  155. package/dist/dist/dist/components/gov-grid.d.ts +11 -0
  156. package/dist/dist/dist/components/gov-icon.d.ts +11 -0
  157. package/dist/dist/dist/components/gov-infobar.d.ts +11 -0
  158. package/dist/dist/dist/components/gov-layout-column.d.ts +11 -0
  159. package/dist/dist/dist/components/gov-layout.d.ts +11 -0
  160. package/dist/dist/dist/components/gov-lifecycle.d.ts +11 -0
  161. package/dist/dist/dist/components/gov-link.d.ts +11 -0
  162. package/dist/dist/dist/components/gov-loading.d.ts +11 -0
  163. package/dist/dist/dist/components/gov-message.d.ts +11 -0
  164. package/dist/dist/dist/components/gov-pagination.d.ts +11 -0
  165. package/dist/dist/dist/components/gov-skeleton.d.ts +11 -0
  166. package/dist/dist/dist/components/gov-spacer.d.ts +11 -0
  167. package/dist/dist/dist/components/gov-stepper-item.d.ts +11 -0
  168. package/dist/dist/dist/components/gov-stepper.d.ts +11 -0
  169. package/dist/dist/dist/components/gov-tabs-item.d.ts +11 -0
  170. package/dist/dist/dist/components/gov-tabs.d.ts +11 -0
  171. package/dist/dist/dist/components/gov-tag.d.ts +11 -0
  172. package/dist/dist/dist/components/gov-theme-switch.d.ts +11 -0
  173. package/dist/dist/dist/components/gov-tile.d.ts +11 -0
  174. package/dist/dist/dist/components/gov-toast.d.ts +11 -0
  175. package/dist/dist/dist/components/gov-tooltip-content.d.ts +11 -0
  176. package/dist/dist/dist/components/gov-tooltip.d.ts +11 -0
  177. package/dist/dist/dist/components/gov-wizard-item.d.ts +11 -0
  178. package/dist/dist/dist/components/gov-wizard.d.ts +11 -0
  179. package/dist/dist/dist/components/index.d.ts +35 -0
  180. package/dist/dist/dist/globals.d.ts +2 -0
  181. package/dist/dist/dist/hydrate/index.d.ts +287 -0
  182. package/dist/dist/dist/types/components/gov-accordion/constants.d.ts +19 -0
  183. package/dist/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
  184. package/dist/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
  185. package/dist/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
  186. package/dist/dist/dist/types/components/gov-attachments/constants.d.ts +11 -0
  187. package/dist/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
  188. package/dist/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
  189. package/dist/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
  190. package/dist/dist/dist/types/components/gov-backdrop/constants.d.ts +4 -0
  191. package/dist/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
  192. package/dist/dist/dist/types/components/gov-banner/constants.d.ts +26 -0
  193. package/dist/dist/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
  194. package/dist/dist/dist/types/components/gov-blockquote/constants.d.ts +10 -0
  195. package/dist/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
  196. package/dist/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
  197. package/dist/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
  198. package/dist/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
  199. package/dist/dist/dist/types/components/gov-button/button/constants.d.ts +29 -0
  200. package/dist/dist/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
  201. package/dist/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
  202. package/dist/dist/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
  203. package/dist/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
  204. package/dist/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
  205. package/dist/dist/dist/types/components/gov-card/constants.d.ts +16 -0
  206. package/dist/dist/dist/types/components/gov-card/gov-card.d.ts +57 -0
  207. package/dist/dist/dist/types/components/gov-card/interfaces.d.ts +4 -0
  208. package/dist/dist/dist/types/components/gov-chip/constants.d.ts +21 -0
  209. package/dist/dist/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
  210. package/dist/dist/dist/types/components/gov-collapsible/constants.d.ts +18 -0
  211. package/dist/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
  212. package/dist/dist/dist/types/components/gov-container/constants.d.ts +3 -0
  213. package/dist/dist/dist/types/components/gov-container/gov-container.d.ts +6 -0
  214. package/dist/dist/dist/types/components/gov-control-group/constants.d.ts +7 -0
  215. package/dist/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
  216. package/dist/dist/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
  217. package/dist/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
  218. package/dist/dist/dist/types/components/gov-dialog/constants.d.ts +11 -0
  219. package/dist/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
  220. package/dist/dist/dist/types/components/gov-empty/constants.d.ts +19 -0
  221. package/dist/dist/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
  222. package/dist/dist/dist/types/components/gov-error-code/constants.d.ts +4 -0
  223. package/dist/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
  224. package/dist/dist/dist/types/components/gov-flex/constants.d.ts +7 -0
  225. package/dist/dist/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
  226. package/dist/dist/dist/types/components/gov-form/autocomplete/autocomplete.utils.d.ts +2 -0
  227. package/dist/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
  228. package/dist/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +158 -0
  229. package/dist/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
  230. package/dist/dist/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
  231. package/dist/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
  232. package/dist/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
  233. package/dist/dist/dist/types/components/gov-form/control/constants.d.ts +9 -0
  234. package/dist/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
  235. package/dist/dist/dist/types/components/gov-form/file/constants.d.ts +7 -0
  236. package/dist/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +130 -0
  237. package/dist/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
  238. package/dist/dist/dist/types/components/gov-form/group/constants.d.ts +18 -0
  239. package/dist/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
  240. package/dist/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
  241. package/dist/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
  242. package/dist/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
  243. package/dist/dist/dist/types/components/gov-form/input/constants.d.ts +28 -0
  244. package/dist/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
  245. package/dist/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
  246. package/dist/dist/dist/types/components/gov-form/label/constants.d.ts +8 -0
  247. package/dist/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
  248. package/dist/dist/dist/types/components/gov-form/message/constants.d.ts +11 -0
  249. package/dist/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
  250. package/dist/dist/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
  251. package/dist/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
  252. package/dist/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
  253. package/dist/dist/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  254. package/dist/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  255. package/dist/dist/dist/types/components/gov-form/radio/constants.d.ts +10 -0
  256. package/dist/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
  257. package/dist/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
  258. package/dist/dist/dist/types/components/gov-form/range/constants.d.ts +9 -0
  259. package/dist/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
  260. package/dist/dist/dist/types/components/gov-form/search/constants.d.ts +10 -0
  261. package/dist/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
  262. package/dist/dist/dist/types/components/gov-form/select/constants.d.ts +8 -0
  263. package/dist/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
  264. package/dist/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
  265. package/dist/dist/dist/types/components/gov-form/switch/constants.d.ts +12 -0
  266. package/dist/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
  267. package/dist/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
  268. package/dist/dist/dist/types/components/gov-grid/constants.d.ts +10 -0
  269. package/dist/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
  270. package/dist/dist/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
  271. package/dist/dist/dist/types/components/gov-icon/constants.d.ts +18 -0
  272. package/dist/dist/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
  273. package/dist/dist/dist/types/components/gov-icon/helpers.d.ts +6 -0
  274. package/dist/dist/dist/types/components/gov-icon/list.d.ts +3 -0
  275. package/dist/dist/dist/types/components/gov-infobar/constants.d.ts +16 -0
  276. package/dist/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
  277. package/dist/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
  278. package/dist/dist/dist/types/components/gov-layout/constants.d.ts +20 -0
  279. package/dist/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  280. package/dist/dist/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
  281. package/dist/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
  282. package/dist/dist/dist/types/components/gov-link/constants.d.ts +8 -0
  283. package/dist/dist/dist/types/components/gov-link/gov-link.d.ts +34 -0
  284. package/dist/dist/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
  285. package/dist/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
  286. package/dist/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
  287. package/dist/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
  288. package/dist/dist/dist/types/components/gov-message/constants.d.ts +13 -0
  289. package/dist/dist/dist/types/components/gov-message/gov-message.d.ts +16 -0
  290. package/dist/dist/dist/types/components/gov-pagination/constants.d.ts +22 -0
  291. package/dist/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
  292. package/dist/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
  293. package/dist/dist/dist/types/components/gov-pagination/pagination.d.ts +12 -0
  294. package/dist/dist/dist/types/components/gov-spacer/constants.d.ts +15 -0
  295. package/dist/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
  296. package/dist/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
  297. package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
  298. package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
  299. package/dist/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
  300. package/dist/dist/dist/types/components/gov-tabs/constants.d.ts +28 -0
  301. package/dist/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
  302. package/dist/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
  303. package/dist/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
  304. package/dist/dist/dist/types/components/gov-tag/constants.d.ts +12 -0
  305. package/dist/dist/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
  306. package/dist/dist/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
  307. package/dist/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
  308. package/dist/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
  309. package/dist/dist/dist/types/components/gov-tile/constants.d.ts +13 -0
  310. package/dist/dist/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
  311. package/dist/dist/dist/types/components/gov-toast/constants.d.ts +17 -0
  312. package/dist/dist/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
  313. package/dist/dist/dist/types/components/gov-tooltip/constants.d.ts +20 -0
  314. package/dist/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +32 -0
  315. package/dist/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +61 -0
  316. package/dist/dist/dist/types/components/gov-wizard/constants.d.ts +19 -0
  317. package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  318. package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
  319. package/dist/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
  320. package/dist/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
  321. package/dist/dist/dist/types/core/constants/colors.d.ts +13 -0
  322. package/dist/dist/dist/types/core/constants/sizes.d.ts +13 -0
  323. package/dist/dist/dist/types/core/constants/tags.d.ts +12 -0
  324. package/dist/dist/dist/types/core/constants/tokens.d.ts +1 -0
  325. package/dist/dist/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
  326. package/dist/dist/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
  327. package/dist/dist/dist/types/helpers/Dom/attribute.d.ts +13 -0
  328. package/dist/dist/dist/types/helpers/Dom/document.d.ts +4 -0
  329. package/dist/dist/dist/types/helpers/Dom/form.d.ts +3 -0
  330. package/dist/dist/dist/types/helpers/Dom/form.types.d.ts +11 -0
  331. package/dist/dist/dist/types/helpers/Dom/template.d.ts +10 -0
  332. package/dist/dist/dist/types/helpers/Dom/template.types.d.ts +14 -0
  333. package/dist/dist/dist/types/helpers/Dom/win.d.ts +18 -0
  334. package/dist/dist/dist/types/helpers/Fragment.d.ts +2 -0
  335. package/dist/dist/dist/types/helpers/Log/gov.log.d.ts +8 -0
  336. package/dist/dist/dist/types/helpers/Validate/props.d.ts +1 -0
  337. package/dist/dist/dist/types/helpers/Validate/wcag.d.ts +4 -0
  338. package/dist/dist/dist/types/index.d.ts +0 -0
  339. package/dist/dist/dist/types/interfaces.d.ts +1 -0
  340. package/dist/dist/dist/types/stencil-public-runtime.d.ts +1861 -0
  341. package/dist/dist/dist/types/types/event.types.d.ts +4 -0
  342. package/dist/dist/dist/types/types/interfaces.d.ts +2 -0
  343. package/dist/dist/dist/types/types/typings.d.ts +6 -0
  344. package/dist/dist/dist/types/utils/array.utils.d.ts +2 -0
  345. package/dist/dist/dist/types/utils/bool.utils.d.ts +1 -0
  346. package/dist/dist/dist/types/utils/dom.utils.d.ts +1 -0
  347. package/dist/dist/dist/types/utils/ds.utils.d.ts +1 -0
  348. package/dist/dist/dist/types/utils/file.utils.d.ts +3 -0
  349. package/dist/dist/dist/types/utils/helpers.types.d.ts +49 -0
  350. package/dist/dist/dist/types/utils/icon.utils.d.ts +4 -0
  351. package/dist/dist/dist/types/utils/number.utils.d.ts +1 -0
  352. package/dist/dist/dist/types/utils/object.utils.d.ts +2 -0
  353. package/dist/dist/dist/types/utils/stencil.utils.d.ts +1 -0
  354. package/dist/dist/dist/types/utils/string.utils.d.ts +4 -0
  355. package/dist/dist/dist/types/utils/utils.d.ts +20 -0
  356. package/dist/dist/globals.d.ts +2 -0
  357. package/dist/dist/hydrate/index.d.ts +287 -0
  358. package/dist/dist/types/components/gov-accordion/constants.d.ts +19 -0
  359. package/dist/dist/types/components/gov-accordion/gov-accordion-item.d.ts +43 -0
  360. package/dist/dist/types/components/gov-accordion/gov-accordion.d.ts +26 -0
  361. package/dist/dist/types/components/gov-accordion/gov-accordion.types.d.ts +9 -0
  362. package/dist/dist/types/components/gov-attachments/constants.d.ts +11 -0
  363. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.d.ts +4 -0
  364. package/dist/dist/types/components/gov-attachments/gov-attachments-item.d.ts +24 -0
  365. package/dist/dist/types/components/gov-attachments/gov-attachments.d.ts +19 -0
  366. package/dist/dist/types/components/gov-backdrop/constants.d.ts +4 -0
  367. package/dist/dist/types/components/gov-backdrop/gov-backdrop.d.ts +32 -0
  368. package/dist/dist/types/components/gov-banner/constants.d.ts +26 -0
  369. package/dist/dist/types/components/gov-banner/gov-banner.d.ts +28 -0
  370. package/dist/dist/types/components/gov-blockquote/constants.d.ts +10 -0
  371. package/dist/dist/types/components/gov-blockquote/gov-blockquote.d.ts +15 -0
  372. package/dist/dist/types/components/gov-breadcrumbs/constants.d.ts +3 -0
  373. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.d.ts +4 -0
  374. package/dist/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +42 -0
  375. package/dist/dist/types/components/gov-button/button/constants.d.ts +29 -0
  376. package/dist/dist/types/components/gov-button/button/gov-button.d.ts +133 -0
  377. package/dist/dist/types/components/gov-button/button/gov-button.types.d.ts +4 -0
  378. package/dist/dist/types/components/gov-button/dropdown/constants.d.ts +10 -0
  379. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.d.ts +40 -0
  380. package/dist/dist/types/components/gov-button/dropdown/gov-dropdown.types.d.ts +4 -0
  381. package/dist/dist/types/components/gov-card/constants.d.ts +16 -0
  382. package/dist/dist/types/components/gov-card/gov-card.d.ts +57 -0
  383. package/dist/dist/types/components/gov-card/interfaces.d.ts +4 -0
  384. package/dist/dist/types/components/gov-chip/constants.d.ts +21 -0
  385. package/dist/dist/types/components/gov-chip/gov-chip.d.ts +82 -0
  386. package/dist/dist/types/components/gov-collapsible/constants.d.ts +18 -0
  387. package/dist/dist/types/components/gov-collapsible/gov-collapsible.d.ts +36 -0
  388. package/dist/dist/types/components/gov-container/constants.d.ts +3 -0
  389. package/dist/dist/types/components/gov-container/gov-container.d.ts +6 -0
  390. package/dist/dist/types/components/gov-control-group/constants.d.ts +7 -0
  391. package/dist/dist/types/components/gov-control-group/gov-control-group.d.ts +24 -0
  392. package/dist/dist/types/components/gov-cookiebar/constants.d.ts +7 -0
  393. package/dist/dist/types/components/gov-cookiebar/gov-cookiebar.d.ts +7 -0
  394. package/dist/dist/types/components/gov-dialog/constants.d.ts +11 -0
  395. package/dist/dist/types/components/gov-dialog/gov-dialog.d.ts +70 -0
  396. package/dist/dist/types/components/gov-empty/constants.d.ts +19 -0
  397. package/dist/dist/types/components/gov-empty/gov-empty.d.ts +21 -0
  398. package/dist/dist/types/components/gov-error-code/constants.d.ts +4 -0
  399. package/dist/dist/types/components/gov-error-code/gov-error-code.d.ts +6 -0
  400. package/dist/dist/types/components/gov-flex/constants.d.ts +7 -0
  401. package/dist/dist/types/components/gov-flex/gov-flex.d.ts +39 -0
  402. package/dist/dist/types/components/gov-form/autocomplete/autocomplete.utils.d.ts +2 -0
  403. package/dist/dist/types/components/gov-form/autocomplete/constants.d.ts +11 -0
  404. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +158 -0
  405. package/dist/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.types.d.ts +9 -0
  406. package/dist/dist/types/components/gov-form/checkbox/constants.d.ts +10 -0
  407. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.d.ts +86 -0
  408. package/dist/dist/types/components/gov-form/checkbox/gov-form-checkbox.types.d.ts +5 -0
  409. package/dist/dist/types/components/gov-form/control/constants.d.ts +9 -0
  410. package/dist/dist/types/components/gov-form/control/gov-form-control.d.ts +40 -0
  411. package/dist/dist/types/components/gov-form/file/constants.d.ts +7 -0
  412. package/dist/dist/types/components/gov-form/file/gov-form-file.d.ts +130 -0
  413. package/dist/dist/types/components/gov-form/file/gov-form-file.types.d.ts +11 -0
  414. package/dist/dist/types/components/gov-form/group/constants.d.ts +18 -0
  415. package/dist/dist/types/components/gov-form/group/gov-form-checkbox-group.d.ts +32 -0
  416. package/dist/dist/types/components/gov-form/group/gov-form-group.d.ts +18 -0
  417. package/dist/dist/types/components/gov-form/group/gov-form-group.types.d.ts +7 -0
  418. package/dist/dist/types/components/gov-form/group/gov-form-radio-group.d.ts +32 -0
  419. package/dist/dist/types/components/gov-form/input/constants.d.ts +28 -0
  420. package/dist/dist/types/components/gov-form/input/gov-form-input.d.ts +178 -0
  421. package/dist/dist/types/components/gov-form/input/gov-form-input.types.d.ts +4 -0
  422. package/dist/dist/types/components/gov-form/label/constants.d.ts +8 -0
  423. package/dist/dist/types/components/gov-form/label/gov-form-label.d.ts +26 -0
  424. package/dist/dist/types/components/gov-form/message/constants.d.ts +11 -0
  425. package/dist/dist/types/components/gov-form/message/gov-form-message.d.ts +23 -0
  426. package/dist/dist/types/components/gov-form/multiselect/constants.d.ts +10 -0
  427. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +127 -0
  428. package/dist/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +10 -0
  429. package/dist/dist/types/components/gov-form/password-power/constants.d.ts +5 -0
  430. package/dist/dist/types/components/gov-form/password-power/gov-form-password-power.d.ts +7 -0
  431. package/dist/dist/types/components/gov-form/radio/constants.d.ts +10 -0
  432. package/dist/dist/types/components/gov-form/radio/gov-form-radio.d.ts +83 -0
  433. package/dist/dist/types/components/gov-form/radio/gov-form-radio.types.d.ts +5 -0
  434. package/dist/dist/types/components/gov-form/range/constants.d.ts +9 -0
  435. package/dist/dist/types/components/gov-form/range/gov-form-range.d.ts +116 -0
  436. package/dist/dist/types/components/gov-form/search/constants.d.ts +10 -0
  437. package/dist/dist/types/components/gov-form/search/gov-form-search.d.ts +13 -0
  438. package/dist/dist/types/components/gov-form/select/constants.d.ts +8 -0
  439. package/dist/dist/types/components/gov-form/select/gov-form-select.d.ts +89 -0
  440. package/dist/dist/types/components/gov-form/select/gov-form-select.types.d.ts +9 -0
  441. package/dist/dist/types/components/gov-form/switch/constants.d.ts +12 -0
  442. package/dist/dist/types/components/gov-form/switch/gov-form-switch.d.ts +81 -0
  443. package/dist/dist/types/components/gov-form/switch/gov-form-switch.types.d.ts +5 -0
  444. package/dist/dist/types/components/gov-grid/constants.d.ts +10 -0
  445. package/dist/dist/types/components/gov-grid/gov-grid-item.d.ts +46 -0
  446. package/dist/dist/types/components/gov-grid/gov-grid.d.ts +19 -0
  447. package/dist/dist/types/components/gov-icon/constants.d.ts +18 -0
  448. package/dist/dist/types/components/gov-icon/gov-icon.d.ts +34 -0
  449. package/dist/dist/types/components/gov-icon/helpers.d.ts +6 -0
  450. package/dist/dist/types/components/gov-icon/list.d.ts +3 -0
  451. package/dist/dist/types/components/gov-infobar/constants.d.ts +16 -0
  452. package/dist/dist/types/components/gov-infobar/gov-infobar.d.ts +51 -0
  453. package/dist/dist/types/components/gov-infobar/gov-infobar.types.d.ts +4 -0
  454. package/dist/dist/types/components/gov-layout/constants.d.ts +20 -0
  455. package/dist/dist/types/components/gov-layout/gov-layout-column.d.ts +6 -0
  456. package/dist/dist/types/components/gov-layout/gov-layout.d.ts +20 -0
  457. package/dist/dist/types/components/gov-lifecycle-tester/gov-lifecycle-tester.d.ts +14 -0
  458. package/dist/dist/types/components/gov-link/constants.d.ts +8 -0
  459. package/dist/dist/types/components/gov-link/gov-link.d.ts +34 -0
  460. package/dist/dist/types/components/gov-loading/loading/constants.d.ts +9 -0
  461. package/dist/dist/types/components/gov-loading/loading/gov-loading.d.ts +13 -0
  462. package/dist/dist/types/components/gov-loading/skeleton/constants.d.ts +21 -0
  463. package/dist/dist/types/components/gov-loading/skeleton/gov-skeleton.d.ts +46 -0
  464. package/dist/dist/types/components/gov-message/constants.d.ts +13 -0
  465. package/dist/dist/types/components/gov-message/gov-message.d.ts +16 -0
  466. package/dist/dist/types/components/gov-pagination/constants.d.ts +22 -0
  467. package/dist/dist/types/components/gov-pagination/gov-pagination.d.ts +97 -0
  468. package/dist/dist/types/components/gov-pagination/gov-pagination.types.d.ts +5 -0
  469. package/dist/dist/types/components/gov-pagination/pagination.d.ts +12 -0
  470. package/dist/dist/types/components/gov-spacer/constants.d.ts +15 -0
  471. package/dist/dist/types/components/gov-spacer/gov-spacer.d.ts +18 -0
  472. package/dist/dist/types/components/gov-stepper/stepper/constants.d.ts +21 -0
  473. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.d.ts +4 -0
  474. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper-item.d.ts +31 -0
  475. package/dist/dist/types/components/gov-stepper/stepper/gov-stepper.d.ts +22 -0
  476. package/dist/dist/types/components/gov-tabs/constants.d.ts +28 -0
  477. package/dist/dist/types/components/gov-tabs/gov-tabs-item.d.ts +54 -0
  478. package/dist/dist/types/components/gov-tabs/gov-tabs.d.ts +70 -0
  479. package/dist/dist/types/components/gov-tabs/gov-tabs.types.d.ts +14 -0
  480. package/dist/dist/types/components/gov-tag/constants.d.ts +12 -0
  481. package/dist/dist/types/components/gov-tag/gov-tag.d.ts +35 -0
  482. package/dist/dist/types/components/gov-theme-switch/constants.d.ts +12 -0
  483. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.d.ts +46 -0
  484. package/dist/dist/types/components/gov-theme-switch/gov-theme-switch.types.d.ts +10 -0
  485. package/dist/dist/types/components/gov-tile/constants.d.ts +13 -0
  486. package/dist/dist/types/components/gov-tile/gov-tile.d.ts +34 -0
  487. package/dist/dist/types/components/gov-toast/constants.d.ts +17 -0
  488. package/dist/dist/types/components/gov-toast/gov-toast.d.ts +58 -0
  489. package/dist/dist/types/components/gov-tooltip/constants.d.ts +20 -0
  490. package/dist/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +32 -0
  491. package/dist/dist/types/components/gov-tooltip/gov-tooltip.d.ts +61 -0
  492. package/dist/dist/types/components/gov-wizard/constants.d.ts +19 -0
  493. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.d.ts +4 -0
  494. package/dist/dist/types/components/gov-wizard/gov-wizard-item.d.ts +60 -0
  495. package/dist/dist/types/components/gov-wizard/gov-wizard-item.types.d.ts +4 -0
  496. package/dist/dist/types/components/gov-wizard/gov-wizard.d.ts +35 -0
  497. package/dist/dist/types/core/constants/colors.d.ts +13 -0
  498. package/dist/dist/types/core/constants/sizes.d.ts +13 -0
  499. package/dist/dist/types/core/constants/tags.d.ts +12 -0
  500. package/dist/dist/types/core/constants/tokens.d.ts +1 -0
  501. package/dist/dist/types/helpers/Accessibility/accessibility.d.ts +1 -0
  502. package/dist/dist/types/helpers/Accessibility/attributes.d.ts +1 -0
  503. package/dist/dist/types/helpers/Dom/attribute.d.ts +13 -0
  504. package/dist/dist/types/helpers/Dom/document.d.ts +4 -0
  505. package/dist/dist/types/helpers/Dom/form.d.ts +3 -0
  506. package/dist/dist/types/helpers/Dom/form.types.d.ts +11 -0
  507. package/dist/dist/types/helpers/Dom/template.d.ts +10 -0
  508. package/dist/dist/types/helpers/Dom/template.types.d.ts +14 -0
  509. package/dist/dist/types/helpers/Dom/win.d.ts +18 -0
  510. package/dist/dist/types/helpers/Fragment.d.ts +2 -0
  511. package/dist/dist/types/helpers/Log/gov.log.d.ts +8 -0
  512. package/dist/dist/types/helpers/Validate/props.d.ts +1 -0
  513. package/dist/dist/types/helpers/Validate/wcag.d.ts +4 -0
  514. package/dist/dist/types/index.d.ts +0 -0
  515. package/dist/dist/types/interfaces.d.ts +1 -0
  516. package/dist/dist/types/stencil-public-runtime.d.ts +1861 -0
  517. package/dist/dist/types/types/event.types.d.ts +4 -0
  518. package/dist/dist/types/types/interfaces.d.ts +2 -0
  519. package/dist/dist/types/types/typings.d.ts +6 -0
  520. package/dist/dist/types/utils/array.utils.d.ts +2 -0
  521. package/dist/dist/types/utils/bool.utils.d.ts +1 -0
  522. package/dist/dist/types/utils/dom.utils.d.ts +1 -0
  523. package/dist/dist/types/utils/ds.utils.d.ts +1 -0
  524. package/dist/dist/types/utils/file.utils.d.ts +3 -0
  525. package/dist/dist/types/utils/helpers.types.d.ts +49 -0
  526. package/dist/dist/types/utils/icon.utils.d.ts +4 -0
  527. package/dist/dist/types/utils/number.utils.d.ts +1 -0
  528. package/dist/dist/types/utils/object.utils.d.ts +2 -0
  529. package/dist/dist/types/utils/stencil.utils.d.ts +1 -0
  530. package/dist/dist/types/utils/string.utils.d.ts +4 -0
  531. package/dist/dist/types/utils/utils.d.ts +20 -0
  532. package/dist/esm/gov-flex_3.entry.js +1 -1
  533. package/dist/esm/gov-form-file.entry.js +35 -11
  534. package/dist/esm/gov-form-file.entry.js.map +1 -1
  535. package/dist/hydrate/index.js +36 -12
  536. package/dist/hydrate/index.mjs +36 -12
  537. package/package.json +2 -2
  538. package/dist/core/p-afe254cb.entry.js +0 -2
  539. package/dist/core/p-afe254cb.entry.js.map +0 -1
  540. package/readme.md +0 -9
  541. /package/dist/components/{p-DEthsMuE.js.map → p-BIB-JMbL.js.map} +0 -0
  542. /package/dist/components/{p-iTwUkISB.js.map → p-BVG9PtuQ.js.map} +0 -0
  543. /package/dist/components/{p-yIpIIG5A.js.map → p-DV0Pdd1S.js.map} +0 -0
  544. /package/dist/components/{p-CXPP9vec.js.map → p-Dj-FiQ37.js.map} +0 -0
  545. /package/dist/components/{p-pJ_vPAO0.js.map → p-DlpZtTcv.js.map} +0 -0
  546. /package/dist/components/{p-DN5pb9xA.js.map → p-Dw1o8KoZ.js.map} +0 -0
  547. /package/dist/components/{p-ibUK7mfI.js.map → p-NU_8kxGz.js.map} +0 -0
  548. /package/dist/components/{p-C_URF9Su.js.map → p-o4vVG5sG.js.map} +0 -0
  549. /package/dist/core/{p-bec959c4.entry.js.map → p-002e72bf.entry.js.map} +0 -0
@@ -0,0 +1,28 @@
1
+ import { Sizes } from '../../../core/constants/sizes';
2
+ import { ValueOf } from '../../../types/interfaces';
3
+ export declare const FormInputSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
4
+ export type FormInputSizesType = `${ValueOf<typeof FormInputSizes>}`;
5
+ export declare enum InputTypes {
6
+ COLOR = "color",
7
+ DATE = "date",
8
+ DATETIME_LOCAL = "datetime-local",
9
+ EMAIL = "email",
10
+ MONTH = "month",
11
+ NUMBER = "number",
12
+ PASSWORD = "password",
13
+ SEARCH = "search",
14
+ TEL = "tel",
15
+ TEXT = "text",
16
+ TIME = "time",
17
+ URL = "url",
18
+ WEEK = "week"
19
+ }
20
+ export type InputType = `${ValueOf<typeof InputTypes>}`;
21
+ export declare enum Type {
22
+ RESET = "reset"
23
+ }
24
+ export type TypesType = `${ValueOf<typeof Type>}`;
25
+ export declare const FormInputClass: {
26
+ root: string;
27
+ icons: string;
28
+ };
@@ -0,0 +1,178 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { FormInputSizesType, InputType, Type } from "./constants";
3
+ import { FormInputEvent } from "./gov-form-input.types";
4
+ import { Nullable } from "../../../types/interfaces";
5
+ import { Attributes } from "../../../helpers/Dom/attribute";
6
+ export declare class GovFormInput {
7
+ private f;
8
+ private readonly h;
9
+ private inputRef?;
10
+ private readonly inputId;
11
+ private attributeObserver;
12
+ constructor();
13
+ host: HTMLGovFormInputElement;
14
+ /**
15
+ * Value of input
16
+ */
17
+ value: string;
18
+ /**
19
+ * Custom input identifier.
20
+ */
21
+ readonly identifier: string;
22
+ /**
23
+ * Indicates the entered value of child form element does conform to the format expected by the application.
24
+ */
25
+ readonly success: boolean;
26
+ /**
27
+ * Input’s size.
28
+ */
29
+ readonly size?: FormInputSizesType;
30
+ /**
31
+ * Name of the input.
32
+ */
33
+ readonly name: string;
34
+ /**
35
+ * Generates a texarea for the possibility of multiple lines
36
+ */
37
+ readonly multiline: boolean;
38
+ /**
39
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows
40
+ */
41
+ readonly rows: number;
42
+ /**
43
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols
44
+ */
45
+ readonly cols: number;
46
+ /**
47
+ * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.
48
+ * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
49
+ */
50
+ readonly required: boolean;
51
+ /**
52
+ * Makes the input component disabled.
53
+ */
54
+ readonly disabled: boolean;
55
+ /**
56
+ * Text that appears in the form control when it has no value set
57
+ */
58
+ readonly placeholder: string;
59
+ /**
60
+ * The value is not editable
61
+ */
62
+ readonly readonly: boolean;
63
+ /**
64
+ * Minimum length (number of characters) of value
65
+ */
66
+ readonly minlength: number;
67
+ /**
68
+ * Maximum length (number of characters) of value
69
+ */
70
+ readonly maxlength: number;
71
+ /**
72
+ * Minimum value that is acceptable and valid for the input containing the attribute
73
+ */
74
+ readonly min?: string | number;
75
+ /**
76
+ * Maximum value that is acceptable and valid for the input containing the attribute
77
+ */
78
+ readonly max?: string | number;
79
+ /**
80
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete
81
+ */
82
+ readonly autocomplete: boolean;
83
+ /**
84
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect
85
+ */
86
+ readonly autocorrect: boolean;
87
+ /**
88
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck
89
+ */
90
+ readonly spellcheck: boolean;
91
+ /**
92
+ * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
93
+ */
94
+ readonly inputLang: string;
95
+ /**
96
+ * Defined the visual style of input
97
+ */
98
+ readonly type?: Type;
99
+ /**
100
+ * Same as original parameter
101
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
102
+ */
103
+ readonly inputType: InputType;
104
+ /**
105
+ * Same as original parameter
106
+ * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
107
+ */
108
+ readonly role: Nullable<string>;
109
+ /**
110
+ * Indicates the entered value does not conform to the format expected by the application.
111
+ */
112
+ readonly invalid: boolean;
113
+ /**
114
+ * Accessible text for password display
115
+ */
116
+ readonly accessibleShowPasswordLabel = "Zobrazit heslo";
117
+ /**
118
+ * Accessible text to hide the password
119
+ */
120
+ readonly accessibleHidePasswordLabel = "Skr\u00FDt heslo";
121
+ /**
122
+ * Emitted when the input has focus.
123
+ */
124
+ govFocus: EventEmitter<FormInputEvent>;
125
+ /**
126
+ * Emitted when the input loses focus.
127
+ */
128
+ govBlur: EventEmitter<FormInputEvent>;
129
+ /**
130
+ * Emitted when the input change value.
131
+ */
132
+ govInput: EventEmitter<FormInputEvent>;
133
+ /**
134
+ * Emitted when the input change value.
135
+ */
136
+ govKeyUp: EventEmitter<FormInputEvent>;
137
+ /**
138
+ * Emitted when the input change value.
139
+ */
140
+ govHydrated: EventEmitter<void>;
141
+ /**
142
+ * Emitted when the input change value.
143
+ */
144
+ govKeyDown: EventEmitter<FormInputEvent>;
145
+ focused: boolean;
146
+ showPassword: boolean;
147
+ validateSize(newValue: string): void;
148
+ watchControlAttrs(): void;
149
+ inheritedAttributes: Attributes;
150
+ private passControlAttrs;
151
+ componentDidLoad(): void;
152
+ componentWillLoad(): void;
153
+ componentDidRender(): void;
154
+ onAriaAttributeChange(attributeName: string, newValue: string): void;
155
+ disconnectedCallback(): void;
156
+ render(): any;
157
+ private onFocusHandler;
158
+ private onBlurHandler;
159
+ private onKeyUpHandler;
160
+ private onKeyDownHandler;
161
+ private onInputHandler;
162
+ /**
163
+ * Returns the current state of the component
164
+ */
165
+ setFocus(options?: FocusOptions): Promise<void>;
166
+ /**
167
+ * Sets the ordered value of the element
168
+ */
169
+ setValue(value: string): Promise<void>;
170
+ /**
171
+ * Clears input value
172
+ */
173
+ clearValue(): Promise<void>;
174
+ /**
175
+ * Returns an instance of the native html input element
176
+ */
177
+ getRef(): Promise<HTMLInputElement>;
178
+ }
@@ -0,0 +1,4 @@
1
+ import { GovBaseEvent } from "../../../types/event.types";
2
+ export interface FormInputEvent extends GovBaseEvent {
3
+ value: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ import { Sizes } from "../../../core/constants/sizes";
2
+ import { ValueOf } from "../../../types/interfaces";
3
+ export declare const FormLabelSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
4
+ export type FormLabelSizesTypes = `${ValueOf<typeof FormLabelSizes>}`;
5
+ export declare const FormLabelClass: {
6
+ root: string;
7
+ label: string;
8
+ };
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { FormLabelSizesTypes } from './constants';
3
+ export declare class GovFormLabel {
4
+ /**
5
+ * Identifier for label.
6
+ */
7
+ readonly identifier: string;
8
+ /**
9
+ * Label's size.
10
+ */
11
+ readonly size?: FormLabelSizesTypes;
12
+ /**
13
+ * Set whether the input is required or not.
14
+ */
15
+ readonly required: boolean;
16
+ /**
17
+ * Use label as a legend for better accessibility.
18
+ * Note: Don't forget to set the fieldset attribute of the gov-form-control component
19
+ */
20
+ readonly legend: boolean;
21
+ /**
22
+ * Emitted when the label click.
23
+ */
24
+ govClick: EventEmitter<PointerEvent>;
25
+ render(): any;
26
+ }
@@ -0,0 +1,11 @@
1
+ import { Colors } from '../../../core/constants/colors';
2
+ import { ValueOf } from '../../../types/interfaces';
3
+ import { Sizes } from "../../../core/constants/sizes";
4
+ export declare const FormMessageColors: Pick<typeof Colors, "NEUTRAL" | "SUCCESS" | "ERROR" | "WARNING">;
5
+ export type FormMessageColorType = `${ValueOf<typeof FormMessageColors>}`;
6
+ export declare const FormMessageSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
7
+ export type FormMessageSizesTypes = `${ValueOf<typeof FormMessageSizes>}`;
8
+ export declare const FormMessageClass: {
9
+ root: string;
10
+ content: string;
11
+ };
@@ -0,0 +1,23 @@
1
+ import { FormMessageSizesTypes, FormMessageColorType } from './constants';
2
+ import { GovHost } from '../../../helpers/Dom/template.types';
3
+ export declare class GovFormMessage {
4
+ h: GovHost;
5
+ private readonly messageId;
6
+ constructor();
7
+ host: HTMLGovFormMessageElement;
8
+ /**
9
+ * Style variation of the message.
10
+ */
11
+ readonly color?: FormMessageColorType;
12
+ /**
13
+ * Message's size.
14
+ */
15
+ readonly size?: FormMessageSizesTypes;
16
+ validateColor(newValue: string): void;
17
+ componentWillLoad(): void;
18
+ render(): any;
19
+ /**
20
+ * Returns unique identifier of message
21
+ */
22
+ identifier(): Promise<string>;
23
+ }
@@ -0,0 +1,10 @@
1
+ import { Sizes } from '../../../core/constants/sizes';
2
+ import { ValueOf } from '../../../types/interfaces';
3
+ export declare const FormMultiselectSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
4
+ export type FormMultiselectSizesType = `${ValueOf<typeof FormMultiselectSizes>}`;
5
+ export declare const FormMultiSelectClass: {
6
+ root: string;
7
+ wrap: string;
8
+ list: string;
9
+ item: string;
10
+ };
@@ -0,0 +1,127 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { FormMultiselectSizesType } from './constants';
3
+ import { FormMultiselectEvent, GovFormMultiSelectItem, GovFormMultiSelectSelectedItem } from './gov-form-multi-select.types';
4
+ import { Attributes } from "../../../helpers/Dom/attribute";
5
+ export declare class GovFormMultiSelect {
6
+ private f;
7
+ private readonly h;
8
+ private selectRef?;
9
+ private autocompleteRef?;
10
+ private attributeObserver;
11
+ private readonly selectId;
12
+ private readonly listId;
13
+ constructor();
14
+ host: HTMLGovFormSelectElement;
15
+ /**
16
+ * Value of multi-select
17
+ */
18
+ value: string | GovFormMultiSelectSelectedItem[];
19
+ /**
20
+ * Options of multi-select
21
+ */
22
+ options?: string | GovFormMultiSelectItem[];
23
+ /**
24
+ * Custom select identifier.
25
+ */
26
+ readonly identifier: string;
27
+ /**
28
+ * Custom select placeholder.
29
+ */
30
+ readonly placeholder: string;
31
+ /**
32
+ * Select’s size.
33
+ */
34
+ readonly size?: FormMultiselectSizesType;
35
+ /**
36
+ * Name of the select.
37
+ */
38
+ readonly name: string;
39
+ /**
40
+ * Option to hide the list of selected items
41
+ */
42
+ readonly hideSelectedList: boolean;
43
+ /**
44
+ * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.
45
+ * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
46
+ */
47
+ readonly required: boolean;
48
+ /**
49
+ * Makes the select component disabled.
50
+ * This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.
51
+ */
52
+ readonly disabled: boolean;
53
+ /**
54
+ * Indicates the entered value does not conform to the format expected by the application.
55
+ */
56
+ readonly invalid: boolean;
57
+ /**
58
+ * Indicates the entered value of child form element does conform to the format expected by the application.
59
+ */
60
+ readonly success: boolean;
61
+ /**
62
+ * Custom message for when there is a blank sheet
63
+ */
64
+ readonly messageEmpty: string;
65
+ /**
66
+ * Custom message for when data is loaded
67
+ */
68
+ readonly messageLoading: string;
69
+ /**
70
+ * Emitted when the select has focus.
71
+ */
72
+ govFocus: EventEmitter<FormMultiselectEvent>;
73
+ /**
74
+ * Emitted when the select loses focus.
75
+ */
76
+ govBlur: EventEmitter<FormMultiselectEvent>;
77
+ /**
78
+ * Emitted when the select change value.
79
+ */
80
+ govChange: EventEmitter<FormMultiselectEvent>;
81
+ /**
82
+ * Emitted when an item is selected
83
+ */
84
+ govSelect: EventEmitter<FormMultiselectEvent>;
85
+ /**
86
+ * Emitted when an item is removed
87
+ */
88
+ govRemove: EventEmitter<FormMultiselectEvent>;
89
+ focused: boolean;
90
+ valueState: string;
91
+ selectedOptionsState: GovFormMultiSelectSelectedItem[];
92
+ optionsState: GovFormMultiSelectItem[];
93
+ validateSize(newValue: string): void;
94
+ watchOptions(newValue: string | GovFormMultiSelectItem[]): void;
95
+ watchValue(newValue: string | GovFormMultiSelectItem[]): void;
96
+ inheritedAttributes: Attributes;
97
+ componentDidLoad(): void;
98
+ componentWillLoad(): void;
99
+ disconnectedCallback(): void;
100
+ onAriaAttributeChange(attributeName: string, newValue: string): void;
101
+ private getAvailableOptions;
102
+ private initAutocomplete;
103
+ private selectedValueIndex;
104
+ private getOptionElement;
105
+ private getOption;
106
+ private selectOption;
107
+ private removeOption;
108
+ componentDidRender(): Promise<void>;
109
+ render(): any;
110
+ private onFocusHandler;
111
+ private onBlurHandler;
112
+ private onInputHandler;
113
+ private onSelectHandler;
114
+ private onTagRemove;
115
+ /**
116
+ * Returns the current state of the component
117
+ */
118
+ setFocus(options?: FocusOptions): Promise<void>;
119
+ /**
120
+ * Sets the ordered value of the element
121
+ */
122
+ setValue(value: string): Promise<void>;
123
+ /**
124
+ * Returns an instance of the native html select element
125
+ */
126
+ getRef(): Promise<HTMLSelectElement>;
127
+ }
@@ -0,0 +1,10 @@
1
+ import { GovBaseEvent } from "../../../types/event.types";
2
+ export interface GovFormMultiSelectItem {
3
+ value: string;
4
+ label?: string;
5
+ disabled?: boolean;
6
+ }
7
+ export type GovFormMultiSelectSelectedItem = number | string;
8
+ export interface FormMultiselectEvent extends GovBaseEvent {
9
+ value: GovFormMultiSelectSelectedItem[];
10
+ }
@@ -0,0 +1,5 @@
1
+ export declare const FormPasswordPowerClass: {
2
+ root: string;
3
+ bar: string;
4
+ text: string;
5
+ };
@@ -0,0 +1,7 @@
1
+ export declare class GovFormPasswordPower {
2
+ /**
3
+ * Password power: 0 - none, 1 - weak, 2 - medium, 3 - strong
4
+ */
5
+ readonly power: number;
6
+ render(): any;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { Sizes } from '../../../core/constants/sizes';
2
+ import { ValueOf } from '../../../types/interfaces';
3
+ export declare const FormRadioSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
4
+ export type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`;
5
+ export declare const FormRadioClass: {
6
+ root: string;
7
+ input: string;
8
+ indicator: string;
9
+ label: string;
10
+ };
@@ -0,0 +1,83 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { FormRadioSizesType } from "./constants";
3
+ import { FormRadioEvent } from "./gov-form-radio.types";
4
+ import { Attributes } from "../../../helpers/Dom/attribute";
5
+ export declare class GovFormRadio {
6
+ private readonly h;
7
+ private f;
8
+ private inputRef?;
9
+ private attributeObserver;
10
+ private readonly radioId;
11
+ private hydrated;
12
+ constructor();
13
+ host: HTMLGovFormRadioElement;
14
+ /**
15
+ * Value of radio
16
+ */
17
+ readonly value: string;
18
+ /**
19
+ * When you can't use the form label.
20
+ */
21
+ readonly noLabel: boolean;
22
+ /**
23
+ * Radio button state
24
+ */
25
+ checked: boolean;
26
+ /**
27
+ * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.
28
+ * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
29
+ */
30
+ readonly required: boolean;
31
+ /**
32
+ * Makes the radio component disabled.
33
+ * This prevents users from being able to interact with the radio, and conveys its inactive state to assistive technologies.
34
+ */
35
+ readonly disabled: boolean;
36
+ /**
37
+ * Name of the radio.
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * Radio's size.
42
+ */
43
+ readonly size?: FormRadioSizesType;
44
+ /**
45
+ * Custom radio identifier.
46
+ */
47
+ readonly identifier: string;
48
+ /**
49
+ * Indicates the entered value does not conform to the format expected by the application.
50
+ */
51
+ readonly invalid: boolean;
52
+ /**
53
+ * Emitted when the radio has focus.
54
+ */
55
+ govFocus: EventEmitter<FormRadioEvent>;
56
+ /**
57
+ * Emitted when the radio loses focus.
58
+ */
59
+ govBlur: EventEmitter<FormRadioEvent>;
60
+ /**
61
+ * Emitted when the radio change value.
62
+ */
63
+ govChange: EventEmitter<FormRadioEvent>;
64
+ validateSize(newValue: string): void;
65
+ watchControlAttrs(): void;
66
+ inheritedAttributes: Attributes;
67
+ private passControlAttrs;
68
+ componentWillLoad(): void;
69
+ componentDidLoad(): void;
70
+ componentDidRender(): Promise<void>;
71
+ connectedCallback(): void;
72
+ disconnectedCallback(): void;
73
+ onAriaAttributeChange(attributeName: string, newValue: string): void;
74
+ render(): any;
75
+ private onClickHandler;
76
+ private onFocusHandler;
77
+ private onBlurHandler;
78
+ private onChangeHandler;
79
+ /**
80
+ * Returns the reference of the native element
81
+ */
82
+ getRef(): Promise<HTMLInputElement>;
83
+ }
@@ -0,0 +1,5 @@
1
+ import { GovBaseEvent } from "../../../types/event.types";
2
+ export interface FormRadioEvent extends GovBaseEvent {
3
+ checked: boolean;
4
+ value: string;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { Sizes } from "../../../core/constants/sizes";
2
+ import { ValueOf } from "../../../types/interfaces";
3
+ export declare const FormRangeSizes: Pick<typeof Sizes, "_S" | "_M" | "_L">;
4
+ export type FormRangeSizesType = `${ValueOf<typeof FormRangeSizes>}`;
5
+ export declare const FormRangeClass: {
6
+ root: string;
7
+ fill: string;
8
+ input: string;
9
+ };
@@ -0,0 +1,116 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { FormRangeSizesType } from './constants';
3
+ import { Attributes } from "../../../helpers/Dom/attribute";
4
+ import { FormInputEvent } from "../input/gov-form-input.types";
5
+ export declare class GovFormRange {
6
+ private inputRef?;
7
+ private outputRef?;
8
+ private fillRef?;
9
+ private f;
10
+ private readonly h;
11
+ private readonly inputId;
12
+ private attributeObserver;
13
+ constructor();
14
+ host: HTMLGovFormRangeElement;
15
+ /**
16
+ * Range’s size
17
+ */
18
+ readonly size?: FormRangeSizesType;
19
+ /**
20
+ * Value of range
21
+ */
22
+ value: string;
23
+ /**
24
+ * Custom range identifier
25
+ */
26
+ readonly identifier: string;
27
+ /**
28
+ * Name of the range
29
+ */
30
+ readonly name: string;
31
+ /**
32
+ * Minimum value that is acceptable
33
+ */
34
+ readonly min?: string | number;
35
+ /**
36
+ * Maximum value that is acceptable
37
+ */
38
+ readonly max?: string | number;
39
+ /**
40
+ * Defines size of each step
41
+ */
42
+ readonly step?: string | number;
43
+ /**
44
+ * Show tooltip with current value
45
+ */
46
+ readonly tooltip?: boolean;
47
+ /**
48
+ * Show input with current value
49
+ */
50
+ readonly input?: boolean;
51
+ /**
52
+ * Links a <datalist/> element to a <input type="range">, providing value markers as guidance for the user
53
+ */
54
+ readonly listIdentifier?: string;
55
+ /**
56
+ * Set whether the range is required or not
57
+ */
58
+ readonly required: boolean;
59
+ /**
60
+ * Indicates the entered value of child form element does conform to the format expected by the application
61
+ */
62
+ readonly success: boolean;
63
+ /**
64
+ * Indicates the entered value does not conform to the format expected by the application
65
+ */
66
+ readonly invalid: boolean;
67
+ /**
68
+ * Makes the range component disabled
69
+ */
70
+ readonly disabled: boolean;
71
+ /**
72
+ * Emitted when the input has focus.
73
+ */
74
+ govFocus: EventEmitter<FormInputEvent>;
75
+ /**
76
+ * Emitted when the input loses focus.
77
+ */
78
+ govBlur: EventEmitter<FormInputEvent>;
79
+ /**
80
+ * Emitted when the input change value.
81
+ */
82
+ govInput: EventEmitter<FormInputEvent>;
83
+ validateSize(newValue: string): void;
84
+ watchValue(): void;
85
+ watchControlAttrs(): void;
86
+ inheritedAttributes: Attributes;
87
+ private passControlAttrs;
88
+ private get getThumbWidth();
89
+ private controlOutputPosition;
90
+ componentDidLoad(): void;
91
+ componentWillLoad(): void;
92
+ componentDidRender(): void;
93
+ onAriaAttributeChange(attributeName: string, newValue: string): void;
94
+ disconnectedCallback(): void;
95
+ render(): any;
96
+ onCustomInputHandler(e: InputEvent): boolean;
97
+ private onInputHandler;
98
+ private onFocusHandler;
99
+ private onBlurHandler;
100
+ /**
101
+ * Returns the current state of the component
102
+ */
103
+ setFocus(options?: FocusOptions): Promise<void>;
104
+ /**
105
+ * Sets the ordered value of the element
106
+ */
107
+ setValue(value: string): Promise<void>;
108
+ /**
109
+ * Clears input value
110
+ */
111
+ clearValue(): Promise<void>;
112
+ /**
113
+ * Returns an instance of the native html input element
114
+ */
115
+ getRef(): Promise<HTMLInputElement>;
116
+ }