@six-group/ui-library 4.2.1 → 4.2.3

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 (395) hide show
  1. package/dist/cjs/{form-control-73ff961d.js → form-control-de259450.js} +2 -2
  2. package/dist/cjs/{form-control-73ff961d.js.map → form-control-de259450.js.map} +1 -1
  3. package/dist/cjs/{index-b288f7d9.js → index-1f707a55.js} +455 -9
  4. package/dist/cjs/index-1f707a55.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/six-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/six-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  9. package/dist/cjs/six-button.cjs.entry.js +5 -4
  10. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  11. package/dist/cjs/six-card.cjs.entry.js +2 -2
  12. package/dist/cjs/six-checkbox_2.cjs.entry.js +7 -7
  13. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
  14. package/dist/cjs/six-datepicker.cjs.entry.js +13 -11
  15. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  16. package/dist/cjs/six-details.cjs.entry.js +4 -4
  17. package/dist/cjs/six-dialog.cjs.entry.js +3 -3
  18. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  19. package/dist/cjs/six-dropdown_2.cjs.entry.js +1 -1
  20. package/dist/cjs/six-error-page.cjs.entry.js +2 -2
  21. package/dist/cjs/six-error.cjs.entry.js +2 -2
  22. package/dist/cjs/six-file-list-item.cjs.entry.js +1 -1
  23. package/dist/cjs/six-file-list.cjs.entry.js +2 -2
  24. package/dist/cjs/six-file-upload.cjs.entry.js +29 -6
  25. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  26. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  27. package/dist/cjs/six-group-label.cjs.entry.js +3 -3
  28. package/dist/cjs/six-header.cjs.entry.js +22 -15
  29. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-icon-button.cjs.entry.js +4 -4
  31. package/dist/cjs/six-icon.cjs.entry.js +3 -3
  32. package/dist/cjs/six-input.cjs.entry.js +5 -5
  33. package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
  34. package/dist/cjs/six-language-switcher.cjs.entry.js +8 -4
  35. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
  37. package/dist/cjs/six-main-container.cjs.entry.js +2 -2
  38. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  39. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  40. package/dist/cjs/six-picto.cjs.entry.js +2 -2
  41. package/dist/cjs/six-progress-bar.cjs.entry.js +3 -3
  42. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  43. package/dist/cjs/six-radio.cjs.entry.js +3 -3
  44. package/dist/cjs/six-range.cjs.entry.js +4 -4
  45. package/dist/cjs/six-root.cjs.entry.js +2 -2
  46. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  47. package/dist/cjs/six-select.cjs.entry.js +57 -31
  48. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +2 -2
  50. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-sidebar-item.cjs.entry.js +3 -3
  52. package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
  53. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  54. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  55. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  56. package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
  57. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  58. package/dist/cjs/six-tab.cjs.entry.js +3 -3
  59. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  61. package/dist/cjs/six-textarea.cjs.entry.js +4 -4
  62. package/dist/cjs/six-tile.cjs.entry.js +4 -4
  63. package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
  64. package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
  65. package/dist/cjs/ui-library.cjs.js +2 -2
  66. package/dist/collection/assets/TRADEMARKS.md +3 -3
  67. package/dist/collection/components/six-avatar/six-avatar.js +1 -1
  68. package/dist/collection/components/six-badge/six-badge.js +2 -2
  69. package/dist/collection/components/six-button/six-button.css +17 -0
  70. package/dist/collection/components/six-button/six-button.js +5 -4
  71. package/dist/collection/components/six-button/six-button.js.map +1 -1
  72. package/dist/collection/components/six-card/six-card.js +1 -1
  73. package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
  74. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  75. package/dist/collection/components/six-datepicker/six-datepicker.js +12 -10
  76. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  77. package/dist/collection/components/six-details/six-details.js +3 -3
  78. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  79. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  80. package/dist/collection/components/six-error/six-error.js +1 -1
  81. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  82. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  83. package/dist/collection/components/six-file-upload/six-file-upload.css +3 -0
  84. package/dist/collection/components/six-file-upload/six-file-upload.js +66 -5
  85. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  86. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +114 -6
  87. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -1
  88. package/dist/collection/components/six-footer/six-footer.js +1 -1
  89. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  90. package/dist/collection/components/six-header/six-header.css +9 -0
  91. package/dist/collection/components/six-header/six-header.js +38 -13
  92. package/dist/collection/components/six-header/six-header.js.map +1 -1
  93. package/dist/collection/components/six-icon/six-icon.js +2 -2
  94. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  95. package/dist/collection/components/six-input/six-input.js +3 -3
  96. package/dist/collection/components/six-language-switcher/six-language-switcher.css +4 -0
  97. package/dist/collection/components/six-language-switcher/six-language-switcher.js +6 -2
  98. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  99. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +12 -12
  100. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -1
  101. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  102. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  103. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  104. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  105. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  106. package/dist/collection/components/six-picto/six-picto.js +1 -1
  107. package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
  108. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  109. package/dist/collection/components/six-radio/six-radio.js +2 -2
  110. package/dist/collection/components/six-range/six-range.js +2 -2
  111. package/dist/collection/components/six-root/six-root.js +1 -1
  112. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  113. package/dist/collection/components/six-select/six-select.js +22 -29
  114. package/dist/collection/components/six-select/six-select.js.map +1 -1
  115. package/dist/collection/components/six-select/test/util.spec.js +23 -1
  116. package/dist/collection/components/six-select/test/util.spec.js.map +1 -1
  117. package/dist/collection/components/six-select/util.js +24 -0
  118. package/dist/collection/components/six-select/util.js.map +1 -1
  119. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  120. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  121. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +1 -0
  122. package/dist/collection/components/six-switch/six-switch.js +2 -2
  123. package/dist/collection/components/six-tab/six-tab.js +2 -2
  124. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  125. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  126. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  127. package/dist/collection/components/six-tag/six-tag.js +2 -2
  128. package/dist/collection/components/six-textarea/six-textarea.js +2 -2
  129. package/dist/collection/components/six-tile/six-tile.js +3 -3
  130. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  131. package/dist/components/six-avatar.js +1 -1
  132. package/dist/components/six-badge.js +2 -2
  133. package/dist/components/six-button2.js +4 -3
  134. package/dist/components/six-button2.js.map +1 -1
  135. package/dist/components/six-card.js +1 -1
  136. package/dist/components/six-checkbox2.js +3 -3
  137. package/dist/components/six-checkbox2.js.map +1 -1
  138. package/dist/components/six-datepicker.js +12 -10
  139. package/dist/components/six-datepicker.js.map +1 -1
  140. package/dist/components/six-details2.js +3 -3
  141. package/dist/components/six-dialog.js +2 -2
  142. package/dist/components/six-drawer.js +2 -2
  143. package/dist/components/six-error-page.js +1 -1
  144. package/dist/components/six-error2.js +1 -1
  145. package/dist/components/six-file-list.js +1 -1
  146. package/dist/components/six-file-upload.js +40 -8
  147. package/dist/components/six-file-upload.js.map +1 -1
  148. package/dist/components/six-footer.js +1 -1
  149. package/dist/components/six-group-label.js +1 -1
  150. package/dist/components/six-header.js +22 -14
  151. package/dist/components/six-header.js.map +1 -1
  152. package/dist/components/six-icon-button2.js +3 -3
  153. package/dist/components/six-icon2.js +2 -2
  154. package/dist/components/six-input2.js +3 -3
  155. package/dist/components/six-language-switcher.js +7 -3
  156. package/dist/components/six-language-switcher.js.map +1 -1
  157. package/dist/components/six-layout-grid.js +1 -1
  158. package/dist/components/six-main-container.js +1 -1
  159. package/dist/components/six-menu-divider.js +1 -1
  160. package/dist/components/six-menu-item2.js +2 -2
  161. package/dist/components/six-menu-label.js +1 -1
  162. package/dist/components/six-picto2.js +1 -1
  163. package/dist/components/six-progress-bar.js +2 -2
  164. package/dist/components/six-progress-ring.js +1 -1
  165. package/dist/components/six-radio.js +2 -2
  166. package/dist/components/six-range.js +2 -2
  167. package/dist/components/six-root.js +1 -1
  168. package/dist/components/six-search-field.js +1 -1
  169. package/dist/components/six-select.js +55 -29
  170. package/dist/components/six-select.js.map +1 -1
  171. package/dist/components/six-sidebar-item-group.js +1 -1
  172. package/dist/components/six-sidebar-item-group.js.map +1 -1
  173. package/dist/components/six-sidebar-item.js +2 -2
  174. package/dist/components/six-sidebar.js +2 -2
  175. package/dist/components/six-switch.js +2 -2
  176. package/dist/components/six-tab-group.js +2 -2
  177. package/dist/components/six-tab-panel.js +1 -1
  178. package/dist/components/six-tab.js +2 -2
  179. package/dist/components/six-tab.js.map +1 -1
  180. package/dist/components/six-tag.js +2 -2
  181. package/dist/components/six-textarea.js +2 -2
  182. package/dist/components/six-tile.js +3 -3
  183. package/dist/components/six-tooltip2.js +2 -2
  184. package/dist/components.json +108 -10
  185. package/dist/esm/{form-control-40c37714.js → form-control-30c5bd8b.js} +2 -2
  186. package/dist/esm/{form-control-40c37714.js.map → form-control-30c5bd8b.js.map} +1 -1
  187. package/dist/esm/{index-52a755dc.js → index-5390c1d6.js} +455 -9
  188. package/dist/esm/index-5390c1d6.js.map +1 -0
  189. package/dist/esm/loader.js +3 -3
  190. package/dist/esm/six-alert.entry.js +1 -1
  191. package/dist/esm/six-avatar.entry.js +2 -2
  192. package/dist/esm/six-badge.entry.js +3 -3
  193. package/dist/esm/six-button.entry.js +5 -4
  194. package/dist/esm/six-button.entry.js.map +1 -1
  195. package/dist/esm/six-card.entry.js +2 -2
  196. package/dist/esm/six-checkbox_2.entry.js +7 -7
  197. package/dist/esm/six-checkbox_2.entry.js.map +1 -1
  198. package/dist/esm/six-datepicker.entry.js +13 -11
  199. package/dist/esm/six-datepicker.entry.js.map +1 -1
  200. package/dist/esm/six-details.entry.js +4 -4
  201. package/dist/esm/six-dialog.entry.js +3 -3
  202. package/dist/esm/six-drawer.entry.js +3 -3
  203. package/dist/esm/six-dropdown_2.entry.js +1 -1
  204. package/dist/esm/six-error-page.entry.js +2 -2
  205. package/dist/esm/six-error.entry.js +2 -2
  206. package/dist/esm/six-file-list-item.entry.js +1 -1
  207. package/dist/esm/six-file-list.entry.js +2 -2
  208. package/dist/esm/six-file-upload.entry.js +29 -6
  209. package/dist/esm/six-file-upload.entry.js.map +1 -1
  210. package/dist/esm/six-footer.entry.js +2 -2
  211. package/dist/esm/six-group-label.entry.js +3 -3
  212. package/dist/esm/six-header.entry.js +22 -15
  213. package/dist/esm/six-header.entry.js.map +1 -1
  214. package/dist/esm/six-icon-button.entry.js +4 -4
  215. package/dist/esm/six-icon.entry.js +3 -3
  216. package/dist/esm/six-input.entry.js +5 -5
  217. package/dist/esm/six-item-picker.entry.js +1 -1
  218. package/dist/esm/six-language-switcher.entry.js +8 -4
  219. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  220. package/dist/esm/six-layout-grid.entry.js +2 -2
  221. package/dist/esm/six-main-container.entry.js +2 -2
  222. package/dist/esm/six-menu-divider.entry.js +2 -2
  223. package/dist/esm/six-menu-label.entry.js +2 -2
  224. package/dist/esm/six-picto.entry.js +2 -2
  225. package/dist/esm/six-progress-bar.entry.js +3 -3
  226. package/dist/esm/six-progress-ring.entry.js +2 -2
  227. package/dist/esm/six-radio.entry.js +3 -3
  228. package/dist/esm/six-range.entry.js +4 -4
  229. package/dist/esm/six-root.entry.js +2 -2
  230. package/dist/esm/six-search-field.entry.js +2 -2
  231. package/dist/esm/six-select.entry.js +57 -31
  232. package/dist/esm/six-select.entry.js.map +1 -1
  233. package/dist/esm/six-sidebar-item-group.entry.js +2 -2
  234. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  235. package/dist/esm/six-sidebar-item.entry.js +3 -3
  236. package/dist/esm/six-sidebar.entry.js +3 -3
  237. package/dist/esm/six-spinner.entry.js +1 -1
  238. package/dist/esm/six-stage-indicator.entry.js +1 -1
  239. package/dist/esm/six-switch.entry.js +4 -4
  240. package/dist/esm/six-tab-group.entry.js +3 -3
  241. package/dist/esm/six-tab-panel.entry.js +2 -2
  242. package/dist/esm/six-tab.entry.js +3 -3
  243. package/dist/esm/six-tab.entry.js.map +1 -1
  244. package/dist/esm/six-tag.entry.js +3 -3
  245. package/dist/esm/six-textarea.entry.js +4 -4
  246. package/dist/esm/six-tile.entry.js +4 -4
  247. package/dist/esm/six-timepicker.entry.js +1 -1
  248. package/dist/esm/six-tooltip.entry.js +3 -3
  249. package/dist/esm/ui-library.js +3 -3
  250. package/dist/types/components/six-button/six-button.d.ts +1 -1
  251. package/dist/types/components/six-file-upload/six-file-upload.d.ts +8 -0
  252. package/dist/types/components/six-header/six-header.d.ts +3 -1
  253. package/dist/types/components/six-select/six-select.d.ts +0 -1
  254. package/dist/types/components/six-select/util.d.ts +2 -0
  255. package/dist/types/components.d.ts +40 -2
  256. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  257. package/dist/ui-library/p-030fa1fa.entry.js +2 -0
  258. package/dist/ui-library/{p-29b75db4.entry.js → p-03d1b956.entry.js} +2 -2
  259. package/dist/ui-library/{p-45960b56.entry.js → p-047d02ad.entry.js} +2 -2
  260. package/dist/ui-library/p-05eb1bab.js +3 -0
  261. package/dist/ui-library/p-05eb1bab.js.map +1 -0
  262. package/dist/ui-library/{p-50dbe99f.entry.js → p-060069d4.entry.js} +2 -2
  263. package/dist/ui-library/{p-3827f9e0.entry.js → p-06ba653e.entry.js} +2 -2
  264. package/dist/ui-library/{p-3e9324c8.entry.js → p-07c8de65.entry.js} +2 -2
  265. package/dist/ui-library/p-0fb3fb30.entry.js +2 -0
  266. package/dist/ui-library/{p-8dff4dcb.entry.js.map → p-0fb3fb30.entry.js.map} +1 -1
  267. package/dist/ui-library/p-14e5fccc.entry.js +2 -0
  268. package/dist/ui-library/p-14e5fccc.entry.js.map +1 -0
  269. package/dist/ui-library/p-189602e4.entry.js +2 -0
  270. package/dist/ui-library/{p-a2a6aaea.entry.js → p-19560508.entry.js} +2 -2
  271. package/dist/ui-library/p-21074819.entry.js +2 -0
  272. package/dist/ui-library/p-21074819.entry.js.map +1 -0
  273. package/dist/ui-library/{p-8938e9bd.entry.js → p-2386627e.entry.js} +2 -2
  274. package/dist/ui-library/p-2c25cb61.entry.js +2 -0
  275. package/dist/ui-library/p-2c25cb61.entry.js.map +1 -0
  276. package/dist/ui-library/{p-756f4acf.entry.js → p-32e421a3.entry.js} +2 -2
  277. package/dist/ui-library/p-32e421a3.entry.js.map +1 -0
  278. package/dist/ui-library/p-3603dd96.entry.js +2 -0
  279. package/dist/ui-library/{p-52c04973.entry.js → p-39ff5f61.entry.js} +2 -2
  280. package/dist/ui-library/{p-5f810571.entry.js → p-3b5a76ea.entry.js} +2 -2
  281. package/dist/ui-library/{p-724d0458.entry.js → p-419ed003.entry.js} +2 -2
  282. package/dist/ui-library/{p-21002de1.entry.js → p-45003bae.entry.js} +2 -2
  283. package/dist/ui-library/{p-93ab2efc.entry.js → p-4963f03c.entry.js} +2 -2
  284. package/dist/ui-library/{p-03900e17.entry.js → p-4d89932f.entry.js} +2 -2
  285. package/dist/ui-library/{p-aa99a393.js → p-605bdd81.js} +2 -2
  286. package/dist/ui-library/p-63acceb6.entry.js +2 -0
  287. package/dist/ui-library/{p-80476b0f.entry.js.map → p-63acceb6.entry.js.map} +1 -1
  288. package/dist/ui-library/{p-c948cf70.entry.js → p-6888b9ee.entry.js} +2 -2
  289. package/dist/ui-library/{p-8644f970.entry.js → p-6f9153be.entry.js} +2 -2
  290. package/dist/ui-library/{p-e798314b.entry.js → p-7561b336.entry.js} +2 -2
  291. package/dist/ui-library/p-7c18b8ca.entry.js +2 -0
  292. package/dist/ui-library/p-82bd8781.entry.js +2 -0
  293. package/dist/ui-library/p-82bd8781.entry.js.map +1 -0
  294. package/dist/ui-library/p-89db9a8b.entry.js +2 -0
  295. package/dist/ui-library/{p-7a9dcb16.entry.js → p-8f1d3461.entry.js} +2 -2
  296. package/dist/ui-library/p-8fb96142.entry.js +2 -0
  297. package/dist/ui-library/p-8fb96142.entry.js.map +1 -0
  298. package/dist/ui-library/p-96d441e9.entry.js +2 -0
  299. package/dist/ui-library/p-96d441e9.entry.js.map +1 -0
  300. package/dist/ui-library/{p-8f307b55.entry.js → p-9bc1639b.entry.js} +2 -2
  301. package/dist/ui-library/p-9cb83369.entry.js +2 -0
  302. package/dist/ui-library/{p-d717a2f2.entry.js → p-a398e3eb.entry.js} +2 -2
  303. package/dist/ui-library/{p-19a1d34c.entry.js → p-a7e2f511.entry.js} +2 -2
  304. package/dist/ui-library/{p-7fc0bf6b.entry.js → p-a8863197.entry.js} +2 -2
  305. package/dist/ui-library/{p-9426a37b.entry.js → p-a9e009af.entry.js} +2 -2
  306. package/dist/ui-library/{p-01853739.entry.js → p-ac00076d.entry.js} +2 -2
  307. package/dist/ui-library/{p-803915da.entry.js → p-b4bc4915.entry.js} +2 -2
  308. package/dist/ui-library/{p-7562d5f5.entry.js → p-b5acf54d.entry.js} +2 -2
  309. package/dist/ui-library/{p-acc487ec.entry.js → p-b60c20aa.entry.js} +2 -2
  310. package/dist/ui-library/p-c1d68730.entry.js +2 -0
  311. package/dist/ui-library/p-c1d68730.entry.js.map +1 -0
  312. package/dist/ui-library/{p-d55db23a.entry.js → p-c35a7cef.entry.js} +2 -2
  313. package/dist/ui-library/{p-e43e5e45.entry.js → p-c62893e5.entry.js} +2 -2
  314. package/dist/ui-library/{p-f8572492.entry.js → p-c6464bfe.entry.js} +2 -2
  315. package/dist/ui-library/{p-f8572492.entry.js.map → p-c6464bfe.entry.js.map} +1 -1
  316. package/dist/ui-library/{p-49e5d8bb.entry.js → p-cf109cbf.entry.js} +2 -2
  317. package/dist/ui-library/{p-6c96b62e.entry.js → p-d07b549f.entry.js} +2 -2
  318. package/dist/ui-library/{p-7a722a13.entry.js → p-d42f1ea9.entry.js} +2 -2
  319. package/dist/ui-library/p-fe37dadf.entry.js +2 -0
  320. package/dist/ui-library/{p-38a9a590.entry.js → p-fe89a7c4.entry.js} +2 -2
  321. package/dist/ui-library/ui-library.esm.js +1 -1
  322. package/dist/ui-library/ui-library.esm.js.map +1 -1
  323. package/package.json +2 -2
  324. package/dist/cjs/index-b288f7d9.js.map +0 -1
  325. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  326. package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
  327. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  328. package/dist/esm/index-52a755dc.js.map +0 -1
  329. package/dist/ui-library/assets/six-logo.svg +0 -1
  330. package/dist/ui-library/p-0a094514.entry.js +0 -2
  331. package/dist/ui-library/p-0cca70c0.entry.js +0 -2
  332. package/dist/ui-library/p-0cca70c0.entry.js.map +0 -1
  333. package/dist/ui-library/p-19ca3bd1.entry.js +0 -2
  334. package/dist/ui-library/p-19ca3bd1.entry.js.map +0 -1
  335. package/dist/ui-library/p-1f1224ae.entry.js +0 -2
  336. package/dist/ui-library/p-338205f4.entry.js +0 -2
  337. package/dist/ui-library/p-338205f4.entry.js.map +0 -1
  338. package/dist/ui-library/p-3eed2287.entry.js +0 -2
  339. package/dist/ui-library/p-4af73ea9.entry.js +0 -2
  340. package/dist/ui-library/p-4af73ea9.entry.js.map +0 -1
  341. package/dist/ui-library/p-756f4acf.entry.js.map +0 -1
  342. package/dist/ui-library/p-775e6891.entry.js +0 -2
  343. package/dist/ui-library/p-775e6891.entry.js.map +0 -1
  344. package/dist/ui-library/p-80476b0f.entry.js +0 -2
  345. package/dist/ui-library/p-8dff4dcb.entry.js +0 -2
  346. package/dist/ui-library/p-a2b8aca7.entry.js +0 -2
  347. package/dist/ui-library/p-ba7424b3.entry.js +0 -2
  348. package/dist/ui-library/p-be0c0ec9.entry.js +0 -2
  349. package/dist/ui-library/p-be0c0ec9.entry.js.map +0 -1
  350. package/dist/ui-library/p-d7739200.entry.js +0 -2
  351. package/dist/ui-library/p-e3766acb.entry.js +0 -2
  352. package/dist/ui-library/p-f1bb5648.entry.js +0 -2
  353. package/dist/ui-library/p-f1bb5648.entry.js.map +0 -1
  354. package/dist/ui-library/p-f93d8a4e.js +0 -3
  355. package/dist/ui-library/p-f93d8a4e.js.map +0 -1
  356. /package/dist/ui-library/{p-3eed2287.entry.js.map → p-030fa1fa.entry.js.map} +0 -0
  357. /package/dist/ui-library/{p-29b75db4.entry.js.map → p-03d1b956.entry.js.map} +0 -0
  358. /package/dist/ui-library/{p-45960b56.entry.js.map → p-047d02ad.entry.js.map} +0 -0
  359. /package/dist/ui-library/{p-50dbe99f.entry.js.map → p-060069d4.entry.js.map} +0 -0
  360. /package/dist/ui-library/{p-3827f9e0.entry.js.map → p-06ba653e.entry.js.map} +0 -0
  361. /package/dist/ui-library/{p-3e9324c8.entry.js.map → p-07c8de65.entry.js.map} +0 -0
  362. /package/dist/ui-library/{p-d7739200.entry.js.map → p-189602e4.entry.js.map} +0 -0
  363. /package/dist/ui-library/{p-a2a6aaea.entry.js.map → p-19560508.entry.js.map} +0 -0
  364. /package/dist/ui-library/{p-8938e9bd.entry.js.map → p-2386627e.entry.js.map} +0 -0
  365. /package/dist/ui-library/{p-a2b8aca7.entry.js.map → p-3603dd96.entry.js.map} +0 -0
  366. /package/dist/ui-library/{p-52c04973.entry.js.map → p-39ff5f61.entry.js.map} +0 -0
  367. /package/dist/ui-library/{p-5f810571.entry.js.map → p-3b5a76ea.entry.js.map} +0 -0
  368. /package/dist/ui-library/{p-724d0458.entry.js.map → p-419ed003.entry.js.map} +0 -0
  369. /package/dist/ui-library/{p-21002de1.entry.js.map → p-45003bae.entry.js.map} +0 -0
  370. /package/dist/ui-library/{p-93ab2efc.entry.js.map → p-4963f03c.entry.js.map} +0 -0
  371. /package/dist/ui-library/{p-03900e17.entry.js.map → p-4d89932f.entry.js.map} +0 -0
  372. /package/dist/ui-library/{p-aa99a393.js.map → p-605bdd81.js.map} +0 -0
  373. /package/dist/ui-library/{p-c948cf70.entry.js.map → p-6888b9ee.entry.js.map} +0 -0
  374. /package/dist/ui-library/{p-8644f970.entry.js.map → p-6f9153be.entry.js.map} +0 -0
  375. /package/dist/ui-library/{p-e798314b.entry.js.map → p-7561b336.entry.js.map} +0 -0
  376. /package/dist/ui-library/{p-e3766acb.entry.js.map → p-7c18b8ca.entry.js.map} +0 -0
  377. /package/dist/ui-library/{p-ba7424b3.entry.js.map → p-89db9a8b.entry.js.map} +0 -0
  378. /package/dist/ui-library/{p-7a9dcb16.entry.js.map → p-8f1d3461.entry.js.map} +0 -0
  379. /package/dist/ui-library/{p-8f307b55.entry.js.map → p-9bc1639b.entry.js.map} +0 -0
  380. /package/dist/ui-library/{p-0a094514.entry.js.map → p-9cb83369.entry.js.map} +0 -0
  381. /package/dist/ui-library/{p-d717a2f2.entry.js.map → p-a398e3eb.entry.js.map} +0 -0
  382. /package/dist/ui-library/{p-19a1d34c.entry.js.map → p-a7e2f511.entry.js.map} +0 -0
  383. /package/dist/ui-library/{p-7fc0bf6b.entry.js.map → p-a8863197.entry.js.map} +0 -0
  384. /package/dist/ui-library/{p-9426a37b.entry.js.map → p-a9e009af.entry.js.map} +0 -0
  385. /package/dist/ui-library/{p-01853739.entry.js.map → p-ac00076d.entry.js.map} +0 -0
  386. /package/dist/ui-library/{p-803915da.entry.js.map → p-b4bc4915.entry.js.map} +0 -0
  387. /package/dist/ui-library/{p-7562d5f5.entry.js.map → p-b5acf54d.entry.js.map} +0 -0
  388. /package/dist/ui-library/{p-acc487ec.entry.js.map → p-b60c20aa.entry.js.map} +0 -0
  389. /package/dist/ui-library/{p-d55db23a.entry.js.map → p-c35a7cef.entry.js.map} +0 -0
  390. /package/dist/ui-library/{p-e43e5e45.entry.js.map → p-c62893e5.entry.js.map} +0 -0
  391. /package/dist/ui-library/{p-49e5d8bb.entry.js.map → p-cf109cbf.entry.js.map} +0 -0
  392. /package/dist/ui-library/{p-6c96b62e.entry.js.map → p-d07b549f.entry.js.map} +0 -0
  393. /package/dist/ui-library/{p-7a722a13.entry.js.map → p-d42f1ea9.entry.js.map} +0 -0
  394. /package/dist/ui-library/{p-1f1224ae.entry.js.map → p-fe37dadf.entry.js.map} +0 -0
  395. /package/dist/ui-library/{p-38a9a590.entry.js.map → p-fe89a7c4.entry.js.map} +0 -0
@@ -163,7 +163,7 @@ const SixTextarea$1 = /*@__PURE__*/ proxyCustomElement(class SixTextarea extends
163
163
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
164
164
  }
165
165
  render() {
166
- return (h(FormControl, { key: '57cd35c0594401cba7b1973ac2e589c4238ee8a1', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '01e10905f647a5ade903731024279660ecf963f7', part: "base", class: {
166
+ return (h(FormControl, { key: 'e35fce4a2f60bd7710763a15475a2e02d301f9f8', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'f718c972dd419f691d57ee7f658c08523a2a6619', part: "base", class: {
167
167
  textarea: true,
168
168
  // Sizes
169
169
  'textarea--small': this.size === 'small',
@@ -178,7 +178,7 @@ const SixTextarea$1 = /*@__PURE__*/ proxyCustomElement(class SixTextarea extends
178
178
  'textarea--resize-none': this.resize === 'none',
179
179
  'textarea--resize-vertical': this.resize === 'vertical',
180
180
  'textarea--resize-auto': this.resize === 'auto',
181
- } }, h("textarea", { key: '376b3fa4959ee044417f7262877f7b97a8483859', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
181
+ } }, h("textarea", { key: '5ce31d7ee232d579f53061388fc5746e4ef685c4', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
182
182
  }
183
183
  get host() { return this; }
184
184
  static get watchers() { return {
@@ -56,16 +56,16 @@ const SixTile$1 = /*@__PURE__*/ proxyCustomElement(class SixTile extends HTMLEle
56
56
  this.handleSlotChange();
57
57
  }
58
58
  render() {
59
- return (h("six-tooltip", { key: 'cab94c6d0cd1088f15d70709ffae09ab27f4c3ab', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: '124e2e6bec97f3c6c12a7426f22272602b71b782', part: "base", class: {
59
+ return (h("six-tooltip", { key: '5853578cc56dd0d4d217e69d1601db0f92e59cd4', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: '060c7e5e9096cd16ec0b8c96425456a37b76d151', part: "base", class: {
60
60
  tile: true,
61
61
  'tile--visible': this.visible,
62
62
  'tile--small': this.size === 'small',
63
63
  'tile--medium': this.size === 'medium',
64
64
  'tile--large': this.size === 'large',
65
65
  'tile--elevated': this.elevated,
66
- } }, h("div", { key: '49c9f506ca66a50e0ff2bab1da4ea66b6a9c5e8b', part: "header", class: "tile__header" }, h("six-icon-button", { key: '45e2b3878f8cb844e80e0d26285b2a37d8a3356f', class: {
66
+ } }, h("div", { key: '6292c0165ef776c29ca299cd477e4e42691c2fdd', part: "header", class: "tile__header" }, h("six-icon-button", { key: '3b94f649800cb3d5759acef86a889c50d168bfcc', class: {
67
67
  'tile__header--hidden': !this.closeable,
68
- }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: '2d030da9982efd1cd0b33c9fcd85e30764516454', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { name: "icon" })), h("div", { key: 'd0b090d95076b64f29582d7c171fb1570ade78c2', part: "footer", class: {
68
+ }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: '4d49bc9c8bb1f20b5e04f82aa4ac4754f00f511e', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { name: "icon" })), h("div", { key: 'dee1f29b9d143927cb233a371257a3d66b457a32', part: "footer", class: {
69
69
  'tile__footer--small': this.size === 'small',
70
70
  'tile__footer--medium': this.size === 'medium',
71
71
  'tile__footer--large': this.size === 'large',
@@ -152,10 +152,10 @@ const SixTooltip = /*@__PURE__*/ proxyCustomElement(class SixTooltip extends HTM
152
152
  });
153
153
  }
154
154
  render() {
155
- return (h(Host, { key: '41afb0551e5034f5020688a714e691c40fa1f2b1', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, h("slot", { key: '180b881497bb1e2ebab7a64301fce87bf8a3e55c', onSlotchange: this.handleSlotChange }), h("div", { key: '9310cdb7a4a7523489823310b37ba1cb360abc06', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, h("div", { key: '6006bd344ca13ea6d8afd7e5f36c5672ca943029', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
155
+ return (h(Host, { key: 'cc7af29aecbec81fe99af1045c7060f452b35d6a', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, h("slot", { key: 'f09c1c24cdbee4eec20003235d7733001fe7eec0', onSlotchange: this.handleSlotChange }), h("div", { key: 'c890ae453a9214a4088d0ba67e040f2f066a03e4', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, h("div", { key: 'c50a741a9d98262cbdbd43d44b47072a985faddb', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
156
156
  tooltip: true,
157
157
  'tooltip--open': this.open,
158
- }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: 'f9883f48ae9ba2957a033f906f1a797a1d66a9d6', name: "content" }, this.content)))));
158
+ }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '63380a424b7e9e7325989a9611bb7a24e3d00beb', name: "content" }, this.content)))));
159
159
  }
160
160
  get host() { return this; }
161
161
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-03-14T10:00:36",
2
+ "timestamp": "2024-06-24T08:46:33",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.12.6",
@@ -1038,10 +1038,10 @@
1038
1038
  },
1039
1039
  {
1040
1040
  "name": "type",
1041
- "type": "\"action\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
1041
+ "type": "\"action\" | \"action-outline\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
1042
1042
  "complexType": {
1043
- "original": "'secondary' | 'primary' | 'link' | 'success' | 'warning' | 'danger' | 'action'",
1044
- "resolved": "\"action\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
1043
+ "original": "| 'secondary'\n | 'primary'\n | 'link'\n | 'success'\n | 'warning'\n | 'danger'\n | 'action'\n | 'action-outline'",
1044
+ "resolved": "\"action\" | \"action-outline\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
1045
1045
  "references": {}
1046
1046
  },
1047
1047
  "mutable": false,
@@ -1055,6 +1055,10 @@
1055
1055
  "value": "action",
1056
1056
  "type": "string"
1057
1057
  },
1058
+ {
1059
+ "value": "action-outline",
1060
+ "type": "string"
1061
+ },
1058
1062
  {
1059
1063
  "value": "danger",
1060
1064
  "type": "string"
@@ -4704,8 +4708,8 @@
4704
4708
  "filePath": "src/components/six-error/six-error.tsx",
4705
4709
  "encapsulation": "shadow",
4706
4710
  "tag": "six-error",
4707
- "readme": "# six-error\n\n\n",
4708
- "docs": "",
4711
+ "readme": "# six-error\n\n<!-- EXAMPLES -->\n",
4712
+ "docs": "<!-- EXAMPLES -->",
4709
4713
  "docsTags": [
4710
4714
  {
4711
4715
  "name": "since",
@@ -4735,6 +4739,7 @@
4735
4739
  "parts": [],
4736
4740
  "dependents": [
4737
4741
  "six-checkbox",
4742
+ "six-file-upload",
4738
4743
  "six-group-label",
4739
4744
  "six-input",
4740
4745
  "six-range",
@@ -4747,6 +4752,9 @@
4747
4752
  "six-checkbox": [
4748
4753
  "six-error"
4749
4754
  ],
4755
+ "six-file-upload": [
4756
+ "six-error"
4757
+ ],
4750
4758
  "six-group-label": [
4751
4759
  "six-error"
4752
4760
  ],
@@ -5197,6 +5205,10 @@
5197
5205
  {
5198
5206
  "name": "status",
5199
5207
  "text": "experimental"
5208
+ },
5209
+ {
5210
+ "name": "slot",
5211
+ "text": "error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop."
5200
5212
  }
5201
5213
  ],
5202
5214
  "usage": {},
@@ -5269,6 +5281,53 @@
5269
5281
  "optional": false,
5270
5282
  "required": false
5271
5283
  },
5284
+ {
5285
+ "name": "errorText",
5286
+ "type": "string | string[]",
5287
+ "complexType": {
5288
+ "original": "string | string[]",
5289
+ "resolved": "string | string[]",
5290
+ "references": {}
5291
+ },
5292
+ "mutable": false,
5293
+ "attr": "error-text",
5294
+ "reflectToAttr": false,
5295
+ "docs": "The error message shown, if `invalid` is set to true.",
5296
+ "docsTags": [],
5297
+ "default": "''",
5298
+ "values": [
5299
+ {
5300
+ "type": "string"
5301
+ },
5302
+ {
5303
+ "type": "string[]"
5304
+ }
5305
+ ],
5306
+ "optional": false,
5307
+ "required": false
5308
+ },
5309
+ {
5310
+ "name": "invalid",
5311
+ "type": "boolean",
5312
+ "complexType": {
5313
+ "original": "boolean",
5314
+ "resolved": "boolean",
5315
+ "references": {}
5316
+ },
5317
+ "mutable": false,
5318
+ "attr": "invalid",
5319
+ "reflectToAttr": true,
5320
+ "docs": "If this property is set to true and an error message is provided by `errorText`, the error message is displayed.",
5321
+ "docsTags": [],
5322
+ "default": "false",
5323
+ "values": [
5324
+ {
5325
+ "type": "boolean"
5326
+ }
5327
+ ],
5328
+ "optional": false,
5329
+ "required": false
5330
+ },
5272
5331
  {
5273
5332
  "name": "label",
5274
5333
  "type": "string | undefined",
@@ -5428,17 +5487,24 @@
5428
5487
  }
5429
5488
  ],
5430
5489
  "styles": [],
5431
- "slots": [],
5490
+ "slots": [
5491
+ {
5492
+ "name": "error-text",
5493
+ "docs": "Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop."
5494
+ }
5495
+ ],
5432
5496
  "parts": [],
5433
5497
  "dependents": [],
5434
5498
  "dependencies": [
5435
5499
  "six-icon",
5436
- "six-spinner"
5500
+ "six-spinner",
5501
+ "six-error"
5437
5502
  ],
5438
5503
  "dependencyGraph": {
5439
5504
  "six-file-upload": [
5440
5505
  "six-icon",
5441
- "six-spinner"
5506
+ "six-spinner",
5507
+ "six-error"
5442
5508
  ]
5443
5509
  }
5444
5510
  },
@@ -5777,6 +5843,33 @@
5777
5843
  "optional": false,
5778
5844
  "required": false
5779
5845
  },
5846
+ {
5847
+ "name": "logo",
5848
+ "type": "\"bme\" | \"six\"",
5849
+ "complexType": {
5850
+ "original": "'six' | 'bme'",
5851
+ "resolved": "\"bme\" | \"six\"",
5852
+ "references": {}
5853
+ },
5854
+ "mutable": false,
5855
+ "attr": "logo",
5856
+ "reflectToAttr": false,
5857
+ "docs": "The displayed logo. Either six or bme. Defaults to six.",
5858
+ "docsTags": [],
5859
+ "default": "'six'",
5860
+ "values": [
5861
+ {
5862
+ "value": "bme",
5863
+ "type": "string"
5864
+ },
5865
+ {
5866
+ "value": "six",
5867
+ "type": "string"
5868
+ }
5869
+ ],
5870
+ "optional": false,
5871
+ "required": false
5872
+ },
5780
5873
  {
5781
5874
  "name": "openHamburgerMenu",
5782
5875
  "type": "boolean",
@@ -6052,7 +6145,12 @@
6052
6145
  "docs": "Used to define the search field component in the header."
6053
6146
  }
6054
6147
  ],
6055
- "parts": [],
6148
+ "parts": [
6149
+ {
6150
+ "name": "header",
6151
+ "docs": ""
6152
+ }
6153
+ ],
6056
6154
  "dependents": [],
6057
6155
  "dependencies": [
6058
6156
  "six-icon-button",
@@ -1,4 +1,4 @@
1
- import { h } from './index-52a755dc.js';
1
+ import { h } from './index-5390c1d6.js';
2
2
 
3
3
  const FormControl = (props, children) => {
4
4
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -31,4 +31,4 @@ const FormControl = (props, children) => {
31
31
 
32
32
  export { FormControl as F };
33
33
 
34
- //# sourceMappingURL=form-control-40c37714.js.map
34
+ //# sourceMappingURL=form-control-30c5bd8b.js.map
@@ -1 +1 @@
1
- {"file":"form-control-40c37714.js","mappings":";;MAoDM,WAAW,GAAG,CAAC,KAAuB,EAAE,QAAiB;;IAC7D,MAAM,aAAa,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,CACjG,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAC7C,CAAC;IAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,CAAC;IACvG,MAAM,WAAW,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,MAAA,KAAK,CAAC,eAAe,mCAAI,KAAK,CAAC;IACnH,MAAM,YAAY,GAAG,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,KAAK,MAAA,KAAK,CAAC,gBAAgB,mCAAI,KAAK,CAAC,MAAM,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,CAAC,CAAC;IAEtH,QACE,WACE,IAAI,EAAC,cAAc,EACnB,KAAK,EAAE;YACL,cAAc,EAAE,IAAI;YACpB,qBAAqB,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO;YAC7C,sBAAsB,EAAE,KAAK,CAAC,IAAI,KAAK,QAAQ;YAC/C,qBAAqB,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO;YAC7C,yBAAyB,EAAE,QAAQ;YACnC,6BAA6B,EAAE,WAAW;YAC1C,8BAA8B,EAAE,YAAY;YAC5C,wBAAwB,EAAE,MAAA,KAAK,CAAC,QAAQ,mCAAI,KAAK;YACjD,uBAAuB,EAAE,CAAC,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,KAAK,CAAC,KAAK,CAAC,QAAQ;SAC1E;QAED,aACE,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,KAAK,CAAC,OAAO,EACjB,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI;gBAC3B,+BAA+B,EAAE,MAAA,KAAK,CAAC,QAAQ,mCAAI,KAAK;aACzD,EACD,OAAO,EAAE,KAAK,CAAC,OAAO,iBACT,QAAQ,GAAG,OAAO,GAAG,MAAM,EACxC,OAAO,EAAE,KAAK,CAAC,YAAY;YAE3B,YAAM,IAAI,EAAC,OAAO,IAAE,KAAK,CAAC,KAAK,CAAQ,CACjC;QAER,WAAK,KAAK,EAAC,qBAAqB,IAAE,QAAQ,CAAO;QAEjD,WACE,IAAI,EAAC,YAAY,EACjB,EAAE,EAAE,KAAK,CAAC,WAAW,EACrB,KAAK,EAAC,0BAA0B,iBACnB,YAAY,GAAG,OAAO,GAAG,MAAM;YAE5C,YAAM,IAAI,EAAC,YAAY,IACpB,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,MAAA,KAAK,CAAC,cAAc,mCAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,MAC1D,qBAAY,IAAI,CAAa,CAC9B,CAAC,CACG,CACH;QAEN,WACE,IAAI,EAAC,WAAW,EAChB,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,KAAK,EAAC,yBAAyB,iBAClB,WAAW,GAAG,OAAO,GAAG,MAAM;YAE3C,YAAM,IAAI,EAAC,WAAW,IAAE,KAAK,CAAC,QAAQ,CAAQ,CAC1C,CACF,EACN;AACJ;;;;","names":[],"sources":["src/functional-components/form-control/form-control.tsx"],"sourcesContent":["import { h, VNode } from '@stencil/core';\n\nexport interface FormControlProps {\n /** The input id, used to map the input to the label */\n inputId: string;\n\n /** The size of the form control */\n size: 'small' | 'medium' | 'large';\n\n /** The label id, used to map the label to the input */\n labelId?: string;\n\n /** The label text (if the label slot isn't used) */\n label?: string;\n\n /** Whether a label slot has been provided. */\n hasLabelSlot?: boolean;\n\n /** The help text id, used to map the input to the help text */\n helpTextId?: string;\n\n /** The help text (if the help-text slot isn't used) */\n helpText?: string;\n\n /** Whether a help text slot has been provided. */\n hasHelpTextSlot?: boolean;\n\n /** Whether an error text slot has been provided. */\n hasErrorTextSlot?: boolean;\n\n /** The error text id, used to map the input to the help text */\n errorTextId?: string;\n\n /** The error text (if the error-text slot isn't used) */\n errorText?: string | string[];\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n errorTextCount?: number;\n\n /** Set to true to disable the input. */\n disabled?: boolean;\n\n /** Set if the value is required. */\n required?: boolean;\n\n /** Set if the error text is displayed. */\n displayError?: boolean;\n\n /** A function that gets called when the label is clicked. */\n onLabelClick?: (event: MouseEvent) => void;\n}\n\nconst FormControl = (props: FormControlProps, children: VNode[]) => {\n const errorMessages = (Array.isArray(props.errorText) ? props.errorText : [props.errorText]).filter(\n (text) => text != null && text.trim() !== ''\n );\n\n const hasLabel = props.label != null && props.label.trim() !== '' ? true : props.hasLabelSlot ?? false;\n const hasHelpText = props.helpText != null && props.helpText.trim() !== '' ? true : props.hasHelpTextSlot ?? false;\n const hasErrorText = (errorMessages.length > 0 || (props.hasErrorTextSlot ?? false)) && (props.displayError ?? false);\n\n return (\n <div\n part=\"form-control\"\n class={{\n 'form-control': true,\n 'form-control--small': props.size === 'small',\n 'form-control--medium': props.size === 'medium',\n 'form-control--large': props.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-error-text': hasErrorText,\n 'form-control--disabled': props.disabled ?? false,\n 'form-control--invalid': (props.displayError ?? false) && !props.disabled,\n }}\n >\n <label\n part=\"label\"\n id={props.labelId}\n class={{\n 'form-control__label': true,\n 'form-control__label__required': props.required ?? false,\n }}\n htmlFor={props.inputId}\n aria-hidden={hasLabel ? 'false' : 'true'}\n onClick={props.onLabelClick}\n >\n <slot name=\"label\">{props.label}</slot>\n </label>\n\n <div class=\"form-control__input\">{children}</div>\n\n <div\n part=\"error-text\"\n id={props.errorTextId}\n class=\"form-control__error-text\"\n aria-hidden={hasErrorText ? 'false' : 'true'}\n >\n <slot name=\"error-text\">\n {errorMessages.slice(0, props.errorTextCount ?? 1).map((text) => (\n <six-error>{text}</six-error>\n ))}\n </slot>\n </div>\n\n <div\n part=\"help-text\"\n id={props.helpTextId}\n class=\"form-control__help-text\"\n aria-hidden={hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">{props.helpText}</slot>\n </div>\n </div>\n );\n};\n\nexport default FormControl;\n"],"version":3}
1
+ {"file":"form-control-30c5bd8b.js","mappings":";;MAoDM,WAAW,GAAG,CAAC,KAAuB,EAAE,QAAiB;;IAC7D,MAAM,aAAa,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,CACjG,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,CAC7C,CAAC;IAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,IAAI,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,CAAC;IACvG,MAAM,WAAW,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,MAAA,KAAK,CAAC,eAAe,mCAAI,KAAK,CAAC;IACnH,MAAM,YAAY,GAAG,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,KAAK,MAAA,KAAK,CAAC,gBAAgB,mCAAI,KAAK,CAAC,MAAM,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,CAAC,CAAC;IAEtH,QACE,WACE,IAAI,EAAC,cAAc,EACnB,KAAK,EAAE;YACL,cAAc,EAAE,IAAI;YACpB,qBAAqB,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO;YAC7C,sBAAsB,EAAE,KAAK,CAAC,IAAI,KAAK,QAAQ;YAC/C,qBAAqB,EAAE,KAAK,CAAC,IAAI,KAAK,OAAO;YAC7C,yBAAyB,EAAE,QAAQ;YACnC,6BAA6B,EAAE,WAAW;YAC1C,8BAA8B,EAAE,YAAY;YAC5C,wBAAwB,EAAE,MAAA,KAAK,CAAC,QAAQ,mCAAI,KAAK;YACjD,uBAAuB,EAAE,CAAC,MAAA,KAAK,CAAC,YAAY,mCAAI,KAAK,KAAK,CAAC,KAAK,CAAC,QAAQ;SAC1E;QAED,aACE,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,KAAK,CAAC,OAAO,EACjB,KAAK,EAAE;gBACL,qBAAqB,EAAE,IAAI;gBAC3B,+BAA+B,EAAE,MAAA,KAAK,CAAC,QAAQ,mCAAI,KAAK;aACzD,EACD,OAAO,EAAE,KAAK,CAAC,OAAO,iBACT,QAAQ,GAAG,OAAO,GAAG,MAAM,EACxC,OAAO,EAAE,KAAK,CAAC,YAAY;YAE3B,YAAM,IAAI,EAAC,OAAO,IAAE,KAAK,CAAC,KAAK,CAAQ,CACjC;QAER,WAAK,KAAK,EAAC,qBAAqB,IAAE,QAAQ,CAAO;QAEjD,WACE,IAAI,EAAC,YAAY,EACjB,EAAE,EAAE,KAAK,CAAC,WAAW,EACrB,KAAK,EAAC,0BAA0B,iBACnB,YAAY,GAAG,OAAO,GAAG,MAAM;YAE5C,YAAM,IAAI,EAAC,YAAY,IACpB,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,MAAA,KAAK,CAAC,cAAc,mCAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,MAC1D,qBAAY,IAAI,CAAa,CAC9B,CAAC,CACG,CACH;QAEN,WACE,IAAI,EAAC,WAAW,EAChB,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,KAAK,EAAC,yBAAyB,iBAClB,WAAW,GAAG,OAAO,GAAG,MAAM;YAE3C,YAAM,IAAI,EAAC,WAAW,IAAE,KAAK,CAAC,QAAQ,CAAQ,CAC1C,CACF,EACN;AACJ;;;;","names":[],"sources":["src/functional-components/form-control/form-control.tsx"],"sourcesContent":["import { h, VNode } from '@stencil/core';\n\nexport interface FormControlProps {\n /** The input id, used to map the input to the label */\n inputId: string;\n\n /** The size of the form control */\n size: 'small' | 'medium' | 'large';\n\n /** The label id, used to map the label to the input */\n labelId?: string;\n\n /** The label text (if the label slot isn't used) */\n label?: string;\n\n /** Whether a label slot has been provided. */\n hasLabelSlot?: boolean;\n\n /** The help text id, used to map the input to the help text */\n helpTextId?: string;\n\n /** The help text (if the help-text slot isn't used) */\n helpText?: string;\n\n /** Whether a help text slot has been provided. */\n hasHelpTextSlot?: boolean;\n\n /** Whether an error text slot has been provided. */\n hasErrorTextSlot?: boolean;\n\n /** The error text id, used to map the input to the help text */\n errorTextId?: string;\n\n /** The error text (if the error-text slot isn't used) */\n errorText?: string | string[];\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n errorTextCount?: number;\n\n /** Set to true to disable the input. */\n disabled?: boolean;\n\n /** Set if the value is required. */\n required?: boolean;\n\n /** Set if the error text is displayed. */\n displayError?: boolean;\n\n /** A function that gets called when the label is clicked. */\n onLabelClick?: (event: MouseEvent) => void;\n}\n\nconst FormControl = (props: FormControlProps, children: VNode[]) => {\n const errorMessages = (Array.isArray(props.errorText) ? props.errorText : [props.errorText]).filter(\n (text) => text != null && text.trim() !== ''\n );\n\n const hasLabel = props.label != null && props.label.trim() !== '' ? true : props.hasLabelSlot ?? false;\n const hasHelpText = props.helpText != null && props.helpText.trim() !== '' ? true : props.hasHelpTextSlot ?? false;\n const hasErrorText = (errorMessages.length > 0 || (props.hasErrorTextSlot ?? false)) && (props.displayError ?? false);\n\n return (\n <div\n part=\"form-control\"\n class={{\n 'form-control': true,\n 'form-control--small': props.size === 'small',\n 'form-control--medium': props.size === 'medium',\n 'form-control--large': props.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-error-text': hasErrorText,\n 'form-control--disabled': props.disabled ?? false,\n 'form-control--invalid': (props.displayError ?? false) && !props.disabled,\n }}\n >\n <label\n part=\"label\"\n id={props.labelId}\n class={{\n 'form-control__label': true,\n 'form-control__label__required': props.required ?? false,\n }}\n htmlFor={props.inputId}\n aria-hidden={hasLabel ? 'false' : 'true'}\n onClick={props.onLabelClick}\n >\n <slot name=\"label\">{props.label}</slot>\n </label>\n\n <div class=\"form-control__input\">{children}</div>\n\n <div\n part=\"error-text\"\n id={props.errorTextId}\n class=\"form-control__error-text\"\n aria-hidden={hasErrorText ? 'false' : 'true'}\n >\n <slot name=\"error-text\">\n {errorMessages.slice(0, props.errorTextCount ?? 1).map((text) => (\n <six-error>{text}</six-error>\n ))}\n </slot>\n </div>\n\n <div\n part=\"help-text\"\n id={props.helpTextId}\n class=\"form-control__help-text\"\n aria-hidden={hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">{props.helpText}</slot>\n </div>\n </div>\n );\n};\n\nexport default FormControl;\n"],"version":3}