@six-group/ui-library 0.0.0-insider.562dfe9 → 0.0.0-insider.6180ad6

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 (658) hide show
  1. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  2. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  3. package/dist/cjs/{form-control-f9bc25dd.js → form-control-8d64e974.js} +2 -2
  4. package/dist/cjs/{form-control-f9bc25dd.js.map → form-control-8d64e974.js.map} +1 -1
  5. package/dist/cjs/{index-3baddcdc.js → index-d7748d51.js} +53 -490
  6. package/dist/cjs/index-d7748d51.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +54 -101
  8. package/dist/cjs/index.cjs.js.map +1 -1
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/six-alert.cjs.entry.js +39 -7
  11. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/six-avatar.cjs.entry.js +2 -2
  13. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  14. package/dist/cjs/six-badge.cjs.entry.js +2 -2
  15. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  16. package/dist/cjs/six-button.cjs.entry.js +3 -3
  17. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  18. package/dist/cjs/six-card.cjs.entry.js +2 -2
  19. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  20. package/dist/cjs/six-checkbox_2.cjs.entry.js +190 -0
  21. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  22. package/dist/cjs/six-datepicker.cjs.entry.js +29 -3
  23. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  24. package/dist/cjs/six-details.cjs.entry.js +2 -2
  25. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  26. package/dist/cjs/six-dialog.cjs.entry.js +5 -3
  27. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  28. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  29. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-dropdown_2.cjs.entry.js +197 -125
  31. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-error-page.cjs.entry.js +1 -1
  33. package/dist/cjs/six-error.cjs.entry.js +1 -1
  34. package/dist/cjs/six-file-list-item.cjs.entry.js +2 -2
  35. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-file-list.cjs.entry.js +1 -1
  37. package/dist/cjs/six-file-upload.cjs.entry.js +2 -2
  38. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  40. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  41. package/dist/cjs/six-group-label.cjs.entry.js +4 -4
  42. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-header.cjs.entry.js +3 -3
  44. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-icon-button.cjs.entry.js +2 -2
  46. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-icon.cjs.entry.js +2 -2
  48. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-input.cjs.entry.js +6 -4
  50. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-item-picker.cjs.entry.js +2 -2
  52. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
  54. package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
  55. package/dist/cjs/six-main-container.cjs.entry.js +1 -1
  56. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  58. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  60. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-picto.cjs.entry.js +1 -1
  62. package/dist/cjs/six-progress-bar.cjs.entry.js +2 -2
  63. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  65. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-radio.cjs.entry.js +2 -2
  67. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-range.cjs.entry.js +14 -4
  69. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-root.cjs.entry.js +2 -21
  71. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  73. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-select.cjs.entry.js +300 -169
  75. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -3
  77. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
  79. package/dist/cjs/six-sidebar.cjs.entry.js +2 -2
  80. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-spinner.cjs.entry.js +2 -2
  82. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-stage-indicator.cjs.entry.js +22 -0
  84. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  85. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  86. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-tab-group.cjs.entry.js +32 -7
  88. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  90. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-tab.cjs.entry.js +2 -2
  92. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  94. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-textarea.cjs.entry.js +4 -4
  96. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-tile.cjs.entry.js +3 -3
  98. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-timepicker.cjs.entry.js +4 -4
  100. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-tooltip.cjs.entry.js +2 -2
  102. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  103. package/dist/cjs/{slot-9821749e.js → slot-1b1232a1.js} +1 -3
  104. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  105. package/dist/cjs/{types-0a6d66f6.js → types-d3da200b.js} +3 -1
  106. package/dist/cjs/types-d3da200b.js.map +1 -0
  107. package/dist/cjs/ui-library.cjs.js +3 -3
  108. package/dist/cjs/ui-library.cjs.js.map +1 -1
  109. package/dist/collection/collection-manifest.json +4 -5
  110. package/dist/collection/components/six-alert/six-alert.css +5 -1
  111. package/dist/collection/components/six-alert/six-alert.js +56 -11
  112. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  113. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  114. package/dist/collection/components/six-badge/six-badge.css +1 -1
  115. package/dist/collection/components/six-button/six-button.css +2 -1
  116. package/dist/collection/components/six-button/six-button.js +3 -2
  117. package/dist/collection/components/six-button/six-button.js.map +1 -1
  118. package/dist/collection/components/six-card/six-card.css +4 -5
  119. package/dist/collection/components/six-checkbox/six-checkbox.css +1 -1
  120. package/dist/collection/components/six-checkbox/six-checkbox.js +3 -2
  121. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  122. package/dist/collection/components/six-datepicker/six-date-formats.js +1 -0
  123. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  124. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  125. package/dist/collection/components/six-datepicker/six-datepicker.js +8 -6
  126. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  127. package/dist/collection/components/six-details/six-details.css +1 -5
  128. package/dist/collection/components/six-details/six-details.js.map +1 -1
  129. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  130. package/dist/collection/components/six-dialog/six-dialog.js +2 -0
  131. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  132. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  133. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -7
  134. package/dist/collection/components/six-dropdown/six-dropdown.js +215 -123
  135. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  136. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +54 -29
  137. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -1
  138. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  139. package/dist/collection/components/six-file-upload/six-file-upload.css +1 -4
  140. package/dist/collection/components/six-footer/six-footer.css +2 -2
  141. package/dist/collection/components/six-group-label/six-group-label.css +1 -1
  142. package/dist/collection/components/six-header/six-header.css +2 -2
  143. package/dist/collection/components/six-header/six-header.js +3 -2
  144. package/dist/collection/components/six-header/six-header.js.map +1 -1
  145. package/dist/collection/components/six-icon/six-icon.css +3 -7
  146. package/dist/collection/components/six-icon-button/six-icon-button.css +1 -1
  147. package/dist/collection/components/six-input/six-input.css +10 -1
  148. package/dist/collection/components/six-input/six-input.js +44 -16
  149. package/dist/collection/components/six-input/six-input.js.map +1 -1
  150. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  151. package/dist/collection/components/six-item-picker/types.js +2 -0
  152. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  153. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  154. package/dist/collection/components/six-menu/six-menu.css +8 -7
  155. package/dist/collection/components/six-menu/six-menu.js +28 -6
  156. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  157. package/dist/collection/components/six-menu/test/six-menu.spec.js +6 -6
  158. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -1
  159. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  160. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  161. package/dist/collection/components/six-menu-item/six-menu-item.js +36 -7
  162. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  163. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  164. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  165. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  166. package/dist/collection/components/six-radio/six-radio.css +1 -1
  167. package/dist/collection/components/six-radio/six-radio.js +3 -2
  168. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  169. package/dist/collection/components/six-range/six-range.css +2 -2
  170. package/dist/collection/components/six-range/six-range.js +13 -2
  171. package/dist/collection/components/six-range/six-range.js.map +1 -1
  172. package/dist/collection/components/six-root/six-root.js +1 -69
  173. package/dist/collection/components/six-root/six-root.js.map +1 -1
  174. package/dist/collection/components/six-root/test/six-root.spec.js +0 -7
  175. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -1
  176. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  177. package/dist/collection/components/six-select/six-select.css +54 -66
  178. package/dist/collection/components/six-select/six-select.js +343 -168
  179. package/dist/collection/components/six-select/six-select.js.map +1 -1
  180. package/dist/collection/components/six-select/test/six-select.spec.js +31 -15
  181. package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -1
  182. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  183. package/dist/collection/components/six-sidebar/six-sidebar.js +6 -4
  184. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  185. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +1 -1
  186. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  187. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  188. package/dist/collection/components/six-switch/six-switch.css +1 -1
  189. package/dist/collection/components/six-switch/six-switch.js +3 -2
  190. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  191. package/dist/collection/components/six-tab/six-tab.css +1 -1
  192. package/dist/collection/components/six-tab/six-tab.js +3 -2
  193. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  194. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -1
  195. package/dist/collection/components/six-tab-group/six-tab-group.js +35 -8
  196. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  197. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  198. package/dist/collection/components/six-tag/six-tag.css +1 -1
  199. package/dist/collection/components/six-textarea/six-textarea.css +1 -1
  200. package/dist/collection/components/six-textarea/six-textarea.js +24 -16
  201. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  202. package/dist/collection/components/six-tile/six-tile.css +2 -2
  203. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  204. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  205. package/dist/collection/components/six-timepicker/six-timepicker.js +3 -2
  206. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  207. package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
  208. package/dist/collection/index.js +1 -0
  209. package/dist/collection/index.js.map +1 -1
  210. package/dist/collection/utils/alert.js +54 -0
  211. package/dist/collection/utils/alert.js.map +1 -0
  212. package/dist/collection/utils/date-util.js +25 -0
  213. package/dist/collection/utils/date-util.js.map +1 -1
  214. package/dist/collection/utils/error-messages.js +7 -0
  215. package/dist/collection/utils/error-messages.js.map +1 -1
  216. package/dist/collection/utils/slot.js +0 -1
  217. package/dist/collection/utils/slot.js.map +1 -1
  218. package/dist/components/index.js +50 -102
  219. package/dist/components/index.js.map +1 -1
  220. package/dist/components/six-alert.js +38 -6
  221. package/dist/components/six-alert.js.map +1 -1
  222. package/dist/components/six-avatar.js +1 -1
  223. package/dist/components/six-avatar.js.map +1 -1
  224. package/dist/components/six-badge.js +1 -1
  225. package/dist/components/six-badge.js.map +1 -1
  226. package/dist/components/six-button.js +1 -142
  227. package/dist/components/six-button.js.map +1 -1
  228. package/dist/components/six-button2.js +146 -0
  229. package/dist/components/six-button2.js.map +1 -0
  230. package/dist/components/six-card.js +1 -1
  231. package/dist/components/six-card.js.map +1 -1
  232. package/dist/components/six-checkbox.js +1 -161
  233. package/dist/components/six-checkbox.js.map +1 -1
  234. package/dist/components/six-checkbox2.js +165 -0
  235. package/dist/components/six-checkbox2.js.map +1 -0
  236. package/dist/components/six-datepicker.js +27 -1
  237. package/dist/components/six-datepicker.js.map +1 -1
  238. package/dist/components/six-details2.js +1 -1
  239. package/dist/components/six-details2.js.map +1 -1
  240. package/dist/components/six-dialog.js +3 -1
  241. package/dist/components/six-dialog.js.map +1 -1
  242. package/dist/components/six-drawer.js +1 -1
  243. package/dist/components/six-drawer.js.map +1 -1
  244. package/dist/components/six-dropdown2.js +201 -125
  245. package/dist/components/six-dropdown2.js.map +1 -1
  246. package/dist/components/six-file-list-item.js +1 -1
  247. package/dist/components/six-file-list-item.js.map +1 -1
  248. package/dist/components/six-file-upload.js +1 -1
  249. package/dist/components/six-file-upload.js.map +1 -1
  250. package/dist/components/six-footer.js +1 -1
  251. package/dist/components/six-footer.js.map +1 -1
  252. package/dist/components/six-group-label.js +1 -1
  253. package/dist/components/six-group-label.js.map +1 -1
  254. package/dist/components/six-header.js +8 -2
  255. package/dist/components/six-header.js.map +1 -1
  256. package/dist/components/six-icon-button2.js +1 -1
  257. package/dist/components/six-icon-button2.js.map +1 -1
  258. package/dist/components/six-icon2.js +1 -1
  259. package/dist/components/six-icon2.js.map +1 -1
  260. package/dist/components/six-input2.js +4 -1
  261. package/dist/components/six-input2.js.map +1 -1
  262. package/dist/components/six-item-picker2.js +2 -0
  263. package/dist/components/six-item-picker2.js.map +1 -1
  264. package/dist/components/six-main-container.js.map +1 -1
  265. package/dist/components/six-menu-divider.js +1 -1
  266. package/dist/components/six-menu-divider.js.map +1 -1
  267. package/dist/components/six-menu-item2.js +28 -5
  268. package/dist/components/six-menu-item2.js.map +1 -1
  269. package/dist/components/six-menu-label.js +1 -1
  270. package/dist/components/six-menu-label.js.map +1 -1
  271. package/dist/components/six-menu2.js +22 -6
  272. package/dist/components/six-menu2.js.map +1 -1
  273. package/dist/components/six-progress-bar.js +1 -1
  274. package/dist/components/six-progress-bar.js.map +1 -1
  275. package/dist/components/six-progress-ring.js +1 -1
  276. package/dist/components/six-progress-ring.js.map +1 -1
  277. package/dist/components/six-radio.js +1 -1
  278. package/dist/components/six-radio.js.map +1 -1
  279. package/dist/components/six-range.js +11 -1
  280. package/dist/components/six-range.js.map +1 -1
  281. package/dist/components/six-root.js +4 -33
  282. package/dist/components/six-root.js.map +1 -1
  283. package/dist/components/six-search-field.js +1 -1
  284. package/dist/components/six-search-field.js.map +1 -1
  285. package/dist/components/six-select.js +435 -185
  286. package/dist/components/six-select.js.map +1 -1
  287. package/dist/components/six-sidebar-item-group.js +1 -1
  288. package/dist/components/six-sidebar-item-group.js.map +1 -1
  289. package/dist/components/six-sidebar.js +1 -1
  290. package/dist/components/six-sidebar.js.map +1 -1
  291. package/dist/components/six-spinner2.js +1 -1
  292. package/dist/components/six-spinner2.js.map +1 -1
  293. package/dist/components/six-stage-indicator2.js +1 -1
  294. package/dist/components/six-stage-indicator2.js.map +1 -1
  295. package/dist/components/six-switch.js +1 -1
  296. package/dist/components/six-switch.js.map +1 -1
  297. package/dist/components/six-tab-group.js +33 -7
  298. package/dist/components/six-tab-group.js.map +1 -1
  299. package/dist/components/six-tab-panel.js +1 -1
  300. package/dist/components/six-tab-panel.js.map +1 -1
  301. package/dist/components/six-tab.js +1 -1
  302. package/dist/components/six-tab.js.map +1 -1
  303. package/dist/components/six-tag.js +98 -1
  304. package/dist/components/six-tag.js.map +1 -1
  305. package/dist/components/six-textarea.js +1 -1
  306. package/dist/components/six-textarea.js.map +1 -1
  307. package/dist/components/six-tile.js +1 -1
  308. package/dist/components/six-tile.js.map +1 -1
  309. package/dist/components/six-timepicker2.js +1 -1
  310. package/dist/components/six-timepicker2.js.map +1 -1
  311. package/dist/components/six-tooltip2.js +1 -1
  312. package/dist/components/six-tooltip2.js.map +1 -1
  313. package/dist/components/slot.js +1 -2
  314. package/dist/components/slot.js.map +1 -1
  315. package/dist/components.d.ts +1 -21
  316. package/dist/components.json +574 -231
  317. package/dist/esm/error-messages-1eaaad23.js +115 -0
  318. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  319. package/dist/esm/{form-control-6b30894f.js → form-control-d403a9cf.js} +2 -2
  320. package/dist/esm/{form-control-6b30894f.js.map → form-control-d403a9cf.js.map} +1 -1
  321. package/dist/esm/{index-17d8173e.js → index-79d4ef67.js} +53 -490
  322. package/dist/esm/index-79d4ef67.js.map +1 -0
  323. package/dist/esm/index.js +51 -100
  324. package/dist/esm/index.js.map +1 -1
  325. package/dist/esm/loader.js +3 -3
  326. package/dist/esm/six-alert.entry.js +39 -7
  327. package/dist/esm/six-alert.entry.js.map +1 -1
  328. package/dist/esm/six-avatar.entry.js +2 -2
  329. package/dist/esm/six-avatar.entry.js.map +1 -1
  330. package/dist/esm/six-badge.entry.js +2 -2
  331. package/dist/esm/six-badge.entry.js.map +1 -1
  332. package/dist/esm/six-button.entry.js +3 -3
  333. package/dist/esm/six-button.entry.js.map +1 -1
  334. package/dist/esm/six-card.entry.js +2 -2
  335. package/dist/esm/six-card.entry.js.map +1 -1
  336. package/dist/esm/six-checkbox_2.entry.js +185 -0
  337. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  338. package/dist/esm/six-datepicker.entry.js +29 -3
  339. package/dist/esm/six-datepicker.entry.js.map +1 -1
  340. package/dist/esm/six-details.entry.js +2 -2
  341. package/dist/esm/six-details.entry.js.map +1 -1
  342. package/dist/esm/six-dialog.entry.js +5 -3
  343. package/dist/esm/six-dialog.entry.js.map +1 -1
  344. package/dist/esm/six-drawer.entry.js +3 -3
  345. package/dist/esm/six-drawer.entry.js.map +1 -1
  346. package/dist/esm/six-dropdown_2.entry.js +198 -126
  347. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  348. package/dist/esm/six-error-page.entry.js +1 -1
  349. package/dist/esm/six-error.entry.js +1 -1
  350. package/dist/esm/six-file-list-item.entry.js +2 -2
  351. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  352. package/dist/esm/six-file-list.entry.js +1 -1
  353. package/dist/esm/six-file-upload.entry.js +2 -2
  354. package/dist/esm/six-file-upload.entry.js.map +1 -1
  355. package/dist/esm/six-footer.entry.js +2 -2
  356. package/dist/esm/six-footer.entry.js.map +1 -1
  357. package/dist/esm/six-group-label.entry.js +4 -4
  358. package/dist/esm/six-group-label.entry.js.map +1 -1
  359. package/dist/esm/six-header.entry.js +3 -3
  360. package/dist/esm/six-header.entry.js.map +1 -1
  361. package/dist/esm/six-icon-button.entry.js +2 -2
  362. package/dist/esm/six-icon-button.entry.js.map +1 -1
  363. package/dist/esm/six-icon.entry.js +2 -2
  364. package/dist/esm/six-icon.entry.js.map +1 -1
  365. package/dist/esm/six-input.entry.js +6 -4
  366. package/dist/esm/six-input.entry.js.map +1 -1
  367. package/dist/esm/six-item-picker.entry.js +2 -2
  368. package/dist/esm/six-item-picker.entry.js.map +1 -1
  369. package/dist/esm/six-language-switcher.entry.js +1 -1
  370. package/dist/esm/six-layout-grid.entry.js +1 -1
  371. package/dist/esm/six-main-container.entry.js +1 -1
  372. package/dist/esm/six-main-container.entry.js.map +1 -1
  373. package/dist/esm/six-menu-divider.entry.js +2 -2
  374. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  375. package/dist/esm/six-menu-label.entry.js +2 -2
  376. package/dist/esm/six-menu-label.entry.js.map +1 -1
  377. package/dist/esm/six-picto.entry.js +1 -1
  378. package/dist/esm/six-progress-bar.entry.js +2 -2
  379. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  380. package/dist/esm/six-progress-ring.entry.js +2 -2
  381. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  382. package/dist/esm/six-radio.entry.js +2 -2
  383. package/dist/esm/six-radio.entry.js.map +1 -1
  384. package/dist/esm/six-range.entry.js +14 -4
  385. package/dist/esm/six-range.entry.js.map +1 -1
  386. package/dist/esm/six-root.entry.js +2 -21
  387. package/dist/esm/six-root.entry.js.map +1 -1
  388. package/dist/esm/six-search-field.entry.js +2 -2
  389. package/dist/esm/six-search-field.entry.js.map +1 -1
  390. package/dist/esm/six-select.entry.js +300 -169
  391. package/dist/esm/six-select.entry.js.map +1 -1
  392. package/dist/esm/six-sidebar-item-group.entry.js +3 -3
  393. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  394. package/dist/esm/six-sidebar-item.entry.js +1 -1
  395. package/dist/esm/six-sidebar.entry.js +2 -2
  396. package/dist/esm/six-sidebar.entry.js.map +1 -1
  397. package/dist/esm/six-spinner.entry.js +2 -2
  398. package/dist/esm/six-spinner.entry.js.map +1 -1
  399. package/dist/esm/six-stage-indicator.entry.js +18 -0
  400. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  401. package/dist/esm/six-switch.entry.js +4 -4
  402. package/dist/esm/six-switch.entry.js.map +1 -1
  403. package/dist/esm/six-tab-group.entry.js +32 -7
  404. package/dist/esm/six-tab-group.entry.js.map +1 -1
  405. package/dist/esm/six-tab-panel.entry.js +2 -2
  406. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  407. package/dist/esm/six-tab.entry.js +2 -2
  408. package/dist/esm/six-tab.entry.js.map +1 -1
  409. package/dist/esm/six-tag.entry.js +3 -3
  410. package/dist/esm/six-tag.entry.js.map +1 -1
  411. package/dist/esm/six-textarea.entry.js +4 -4
  412. package/dist/esm/six-textarea.entry.js.map +1 -1
  413. package/dist/esm/six-tile.entry.js +3 -3
  414. package/dist/esm/six-tile.entry.js.map +1 -1
  415. package/dist/esm/six-timepicker.entry.js +4 -4
  416. package/dist/esm/six-timepicker.entry.js.map +1 -1
  417. package/dist/esm/six-tooltip.entry.js +2 -2
  418. package/dist/esm/six-tooltip.entry.js.map +1 -1
  419. package/dist/esm/{slot-41bc439a.js → slot-56531341.js} +2 -3
  420. package/dist/esm/slot-56531341.js.map +1 -0
  421. package/dist/esm/{types-07748c42.js → types-a07bb999.js} +3 -1
  422. package/dist/esm/types-a07bb999.js.map +1 -0
  423. package/dist/esm/ui-library.js +4 -4
  424. package/dist/esm/ui-library.js.map +1 -1
  425. package/dist/types/components/six-alert/six-alert.d.ts +13 -6
  426. package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
  427. package/dist/types/components/six-dialog/six-dialog.d.ts +1 -0
  428. package/dist/types/components/six-dropdown/six-dropdown.d.ts +28 -9
  429. package/dist/types/components/six-input/six-input.d.ts +4 -0
  430. package/dist/types/components/six-menu/six-menu.d.ts +4 -0
  431. package/dist/types/components/six-menu-item/six-menu-item.d.ts +7 -1
  432. package/dist/types/components/six-range/six-range.d.ts +2 -0
  433. package/dist/types/components/six-root/six-root.d.ts +0 -13
  434. package/dist/types/components/six-select/six-select.d.ts +27 -12
  435. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  436. package/dist/types/components.d.ts +64 -60
  437. package/dist/types/index.d.ts +1 -0
  438. package/dist/types/types.d.ts +1 -0
  439. package/dist/types/utils/alert.d.ts +10 -0
  440. package/dist/types/utils/date-util.d.ts +9 -1
  441. package/dist/types/utils/error-messages.d.ts +1 -0
  442. package/dist/types/utils/slot.d.ts +0 -1
  443. package/dist/ui-library/index.esm.js +1 -1
  444. package/dist/ui-library/index.esm.js.map +1 -1
  445. package/dist/ui-library/p-0440335d.entry.js +2 -0
  446. package/dist/ui-library/{p-c12a94ce.entry.js.map → p-0440335d.entry.js.map} +1 -1
  447. package/dist/ui-library/p-04cc397c.entry.js +2 -0
  448. package/dist/ui-library/{p-58661675.entry.js.map → p-04cc397c.entry.js.map} +1 -1
  449. package/dist/ui-library/p-0cebf1d2.js +2 -0
  450. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  451. package/dist/ui-library/p-0edd3091.entry.js +2 -0
  452. package/dist/ui-library/{p-a0658b26.entry.js.map → p-0edd3091.entry.js.map} +1 -1
  453. package/dist/ui-library/{p-c86aa5b3.entry.js → p-1f5840b5.entry.js} +2 -2
  454. package/dist/ui-library/p-20f7a8b5.entry.js +2 -0
  455. package/dist/ui-library/p-20f7a8b5.entry.js.map +1 -0
  456. package/dist/ui-library/p-28cc013e.entry.js +2 -0
  457. package/dist/ui-library/p-28cc013e.entry.js.map +1 -0
  458. package/dist/ui-library/p-3424bbc0.entry.js +2 -0
  459. package/dist/ui-library/p-3424bbc0.entry.js.map +1 -0
  460. package/dist/ui-library/p-348c68a8.entry.js +2 -0
  461. package/dist/ui-library/p-348c68a8.entry.js.map +1 -0
  462. package/dist/ui-library/p-3723ca06.entry.js +2 -0
  463. package/dist/ui-library/p-3723ca06.entry.js.map +1 -0
  464. package/dist/ui-library/p-37aeac5e.entry.js +2 -0
  465. package/dist/ui-library/{p-19a61686.entry.js.map → p-37aeac5e.entry.js.map} +1 -1
  466. package/dist/ui-library/p-3d7fb086.entry.js +2 -0
  467. package/dist/ui-library/p-3d7fb086.entry.js.map +1 -0
  468. package/dist/ui-library/{p-74a714c0.entry.js → p-457f7373.entry.js} +2 -2
  469. package/dist/ui-library/{p-74a714c0.entry.js.map → p-457f7373.entry.js.map} +1 -1
  470. package/dist/ui-library/p-4a667f31.entry.js +2 -0
  471. package/dist/ui-library/p-4a667f31.entry.js.map +1 -0
  472. package/dist/ui-library/{p-c1675a45.entry.js → p-546e33d9.entry.js} +2 -2
  473. package/dist/ui-library/{p-1d0c5929.entry.js → p-5db3a705.entry.js} +2 -2
  474. package/dist/ui-library/{p-1d0c5929.entry.js.map → p-5db3a705.entry.js.map} +1 -1
  475. package/dist/ui-library/{p-6907a7dc.js → p-61e66671.js} +2 -2
  476. package/dist/ui-library/p-6296779b.entry.js +2 -0
  477. package/dist/ui-library/{p-bdb79948.entry.js.map → p-6296779b.entry.js.map} +1 -1
  478. package/dist/ui-library/p-64b4755d.entry.js +2 -0
  479. package/dist/ui-library/{p-3187bc23.entry.js.map → p-64b4755d.entry.js.map} +1 -1
  480. package/dist/ui-library/p-6c1b046e.entry.js +2 -0
  481. package/dist/ui-library/p-6c1b046e.entry.js.map +1 -0
  482. package/dist/ui-library/p-7115316e.entry.js +2 -0
  483. package/dist/ui-library/p-7115316e.entry.js.map +1 -0
  484. package/dist/ui-library/p-73dd493f.entry.js +2 -0
  485. package/dist/ui-library/p-73dd493f.entry.js.map +1 -0
  486. package/dist/ui-library/{p-0861899a.js → p-862d474e.js} +1 -1
  487. package/dist/ui-library/p-862d474e.js.map +1 -0
  488. package/dist/ui-library/p-870b988d.entry.js +2 -0
  489. package/dist/ui-library/{p-479d8087.entry.js.map → p-870b988d.entry.js.map} +1 -1
  490. package/dist/ui-library/{p-d310a6dd.entry.js → p-884c5cf9.entry.js} +2 -2
  491. package/dist/ui-library/p-8888a367.entry.js +2 -0
  492. package/dist/ui-library/{p-ee71e3a3.entry.js.map → p-8888a367.entry.js.map} +1 -1
  493. package/dist/ui-library/p-8ced18d8.entry.js +2 -0
  494. package/dist/ui-library/p-8ced18d8.entry.js.map +1 -0
  495. package/dist/ui-library/{p-816f857d.entry.js → p-935c78a7.entry.js} +2 -2
  496. package/dist/ui-library/p-961bd001.entry.js +2 -0
  497. package/dist/ui-library/{p-fcd57e0a.entry.js.map → p-961bd001.entry.js.map} +1 -1
  498. package/dist/ui-library/{p-bee65dd9.entry.js → p-9b08068d.entry.js} +2 -2
  499. package/dist/ui-library/p-9b08068d.entry.js.map +1 -0
  500. package/dist/ui-library/p-9c79341d.entry.js +2 -0
  501. package/dist/ui-library/{p-3d54ecf2.entry.js.map → p-9c79341d.entry.js.map} +1 -1
  502. package/dist/ui-library/{p-cd35b3c6.entry.js → p-a9c159f2.entry.js} +2 -2
  503. package/dist/ui-library/p-ac57ba5c.entry.js +2 -0
  504. package/dist/ui-library/{p-ada23fe3.entry.js.map → p-ac57ba5c.entry.js.map} +1 -1
  505. package/dist/ui-library/p-af15381b.js +3 -0
  506. package/dist/ui-library/p-af15381b.js.map +1 -0
  507. package/dist/ui-library/p-b1a5f3cd.entry.js +2 -0
  508. package/dist/ui-library/p-b1a5f3cd.entry.js.map +1 -0
  509. package/dist/ui-library/p-b385a241.entry.js +2 -0
  510. package/dist/ui-library/{p-b5ac1219.entry.js.map → p-b385a241.entry.js.map} +1 -1
  511. package/dist/ui-library/p-b74c5d6b.entry.js +2 -0
  512. package/dist/ui-library/p-b74c5d6b.entry.js.map +1 -0
  513. package/dist/ui-library/p-bf2fb53f.entry.js +2 -0
  514. package/dist/ui-library/p-bf2fb53f.entry.js.map +1 -0
  515. package/dist/ui-library/p-c2c7370b.entry.js +2 -0
  516. package/dist/ui-library/{p-911eb578.entry.js.map → p-c2c7370b.entry.js.map} +1 -1
  517. package/dist/ui-library/p-caea1eb6.entry.js +2 -0
  518. package/dist/ui-library/{p-ce373da5.entry.js.map → p-caea1eb6.entry.js.map} +1 -1
  519. package/dist/ui-library/{p-d2cf4280.entry.js → p-d3f5b9a8.entry.js} +2 -2
  520. package/dist/ui-library/p-d42b18eb.entry.js +2 -0
  521. package/dist/ui-library/{p-7432d409.entry.js.map → p-d42b18eb.entry.js.map} +1 -1
  522. package/dist/ui-library/p-d95e292e.entry.js +2 -0
  523. package/dist/ui-library/{p-c07b1240.entry.js.map → p-d95e292e.entry.js.map} +1 -1
  524. package/dist/ui-library/p-da7f3dbd.entry.js +2 -0
  525. package/dist/ui-library/p-da7f3dbd.entry.js.map +1 -0
  526. package/dist/ui-library/p-dfb89b6a.entry.js +2 -0
  527. package/dist/ui-library/p-dfb89b6a.entry.js.map +1 -0
  528. package/dist/ui-library/p-e080d5b6.js +2 -0
  529. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  530. package/dist/ui-library/p-e0dcdccb.entry.js +2 -0
  531. package/dist/ui-library/p-e0dcdccb.entry.js.map +1 -0
  532. package/dist/ui-library/p-e6032375.entry.js +2 -0
  533. package/dist/ui-library/p-e6032375.entry.js.map +1 -0
  534. package/dist/ui-library/p-e60d2324.entry.js +2 -0
  535. package/dist/ui-library/p-e60d2324.entry.js.map +1 -0
  536. package/dist/ui-library/p-e8298c6e.entry.js +2 -0
  537. package/dist/ui-library/{p-882fbf6f.entry.js.map → p-e8298c6e.entry.js.map} +1 -1
  538. package/dist/ui-library/p-ed279165.entry.js +2 -0
  539. package/dist/ui-library/p-ed279165.entry.js.map +1 -0
  540. package/dist/ui-library/p-ed61b75c.entry.js +2 -0
  541. package/dist/ui-library/p-ed61b75c.entry.js.map +1 -0
  542. package/dist/ui-library/p-f1ab3384.entry.js +2 -0
  543. package/dist/ui-library/{p-23c02c98.entry.js.map → p-f1ab3384.entry.js.map} +1 -1
  544. package/dist/ui-library/p-f4ef481c.entry.js +2 -0
  545. package/dist/ui-library/p-f4ef481c.entry.js.map +1 -0
  546. package/dist/ui-library/{p-f73a6bdc.entry.js → p-f8cbb8da.entry.js} +2 -2
  547. package/dist/ui-library/ui-library.css +1 -10
  548. package/dist/ui-library/ui-library.esm.js +1 -1
  549. package/dist/ui-library/ui-library.esm.js.map +1 -1
  550. package/package.json +5 -8
  551. package/dist/cjs/index-3baddcdc.js.map +0 -1
  552. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  553. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  554. package/dist/cjs/six-checkbox.cjs.entry.js +0 -127
  555. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  556. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  557. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  558. package/dist/cjs/slot-9821749e.js.map +0 -1
  559. package/dist/cjs/types-0a6d66f6.js.map +0 -1
  560. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  561. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  562. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  563. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  564. package/dist/components/set-attributes.d.ts +0 -11
  565. package/dist/components/set-attributes.js +0 -8
  566. package/dist/components/set-attributes.js.map +0 -1
  567. package/dist/components/set-attributes2.js +0 -73
  568. package/dist/components/set-attributes2.js.map +0 -1
  569. package/dist/components/six-tag2.js +0 -102
  570. package/dist/components/six-tag2.js.map +0 -1
  571. package/dist/esm/index-17d8173e.js.map +0 -1
  572. package/dist/esm/set-attributes_2.entry.js +0 -68
  573. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  574. package/dist/esm/six-checkbox.entry.js +0 -123
  575. package/dist/esm/six-checkbox.entry.js.map +0 -1
  576. package/dist/esm/six-menu-item.entry.js +0 -59
  577. package/dist/esm/six-menu-item.entry.js.map +0 -1
  578. package/dist/esm/slot-41bc439a.js.map +0 -1
  579. package/dist/esm/types-07748c42.js.map +0 -1
  580. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  581. package/dist/ui-library/p-0861899a.js.map +0 -1
  582. package/dist/ui-library/p-0a81b42c.entry.js +0 -2
  583. package/dist/ui-library/p-0a81b42c.entry.js.map +0 -1
  584. package/dist/ui-library/p-0beec94f.js +0 -3
  585. package/dist/ui-library/p-0beec94f.js.map +0 -1
  586. package/dist/ui-library/p-0e7332db.entry.js +0 -2
  587. package/dist/ui-library/p-0e7332db.entry.js.map +0 -1
  588. package/dist/ui-library/p-178f5782.entry.js +0 -2
  589. package/dist/ui-library/p-178f5782.entry.js.map +0 -1
  590. package/dist/ui-library/p-19a61686.entry.js +0 -2
  591. package/dist/ui-library/p-23c02c98.entry.js +0 -2
  592. package/dist/ui-library/p-28221447.entry.js +0 -2
  593. package/dist/ui-library/p-28221447.entry.js.map +0 -1
  594. package/dist/ui-library/p-2eed9d8d.entry.js +0 -2
  595. package/dist/ui-library/p-2eed9d8d.entry.js.map +0 -1
  596. package/dist/ui-library/p-3187bc23.entry.js +0 -2
  597. package/dist/ui-library/p-32e1a5ab.entry.js +0 -2
  598. package/dist/ui-library/p-32e1a5ab.entry.js.map +0 -1
  599. package/dist/ui-library/p-3d54ecf2.entry.js +0 -2
  600. package/dist/ui-library/p-4229f7e8.entry.js +0 -2
  601. package/dist/ui-library/p-4229f7e8.entry.js.map +0 -1
  602. package/dist/ui-library/p-4468dd26.entry.js +0 -2
  603. package/dist/ui-library/p-4468dd26.entry.js.map +0 -1
  604. package/dist/ui-library/p-479d8087.entry.js +0 -2
  605. package/dist/ui-library/p-49aa8d1e.entry.js +0 -2
  606. package/dist/ui-library/p-49aa8d1e.entry.js.map +0 -1
  607. package/dist/ui-library/p-58661675.entry.js +0 -2
  608. package/dist/ui-library/p-5d43ea07.entry.js +0 -2
  609. package/dist/ui-library/p-5d43ea07.entry.js.map +0 -1
  610. package/dist/ui-library/p-6aa2929a.entry.js +0 -2
  611. package/dist/ui-library/p-6aa2929a.entry.js.map +0 -1
  612. package/dist/ui-library/p-7432d409.entry.js +0 -2
  613. package/dist/ui-library/p-76825395.entry.js +0 -2
  614. package/dist/ui-library/p-76825395.entry.js.map +0 -1
  615. package/dist/ui-library/p-882fbf6f.entry.js +0 -2
  616. package/dist/ui-library/p-88fd4973.entry.js +0 -2
  617. package/dist/ui-library/p-88fd4973.entry.js.map +0 -1
  618. package/dist/ui-library/p-8b750c9e.entry.js +0 -2
  619. package/dist/ui-library/p-8b750c9e.entry.js.map +0 -1
  620. package/dist/ui-library/p-911eb578.entry.js +0 -2
  621. package/dist/ui-library/p-93fcda4a.entry.js +0 -2
  622. package/dist/ui-library/p-93fcda4a.entry.js.map +0 -1
  623. package/dist/ui-library/p-981b3228.entry.js +0 -2
  624. package/dist/ui-library/p-981b3228.entry.js.map +0 -1
  625. package/dist/ui-library/p-9b1ff147.entry.js +0 -2
  626. package/dist/ui-library/p-9b1ff147.entry.js.map +0 -1
  627. package/dist/ui-library/p-a0658b26.entry.js +0 -2
  628. package/dist/ui-library/p-a4e4620c.entry.js +0 -2
  629. package/dist/ui-library/p-a4e4620c.entry.js.map +0 -1
  630. package/dist/ui-library/p-ada23fe3.entry.js +0 -2
  631. package/dist/ui-library/p-b5ac1219.entry.js +0 -2
  632. package/dist/ui-library/p-ba247565.entry.js +0 -2
  633. package/dist/ui-library/p-ba247565.entry.js.map +0 -1
  634. package/dist/ui-library/p-bdb79948.entry.js +0 -2
  635. package/dist/ui-library/p-bee65dd9.entry.js.map +0 -1
  636. package/dist/ui-library/p-c07b1240.entry.js +0 -2
  637. package/dist/ui-library/p-c12a94ce.entry.js +0 -2
  638. package/dist/ui-library/p-c2df8c27.entry.js +0 -2
  639. package/dist/ui-library/p-c2df8c27.entry.js.map +0 -1
  640. package/dist/ui-library/p-ce373da5.entry.js +0 -2
  641. package/dist/ui-library/p-dfb6bff6.entry.js +0 -2
  642. package/dist/ui-library/p-dfb6bff6.entry.js.map +0 -1
  643. package/dist/ui-library/p-ee71e3a3.entry.js +0 -2
  644. package/dist/ui-library/p-ef317d69.entry.js +0 -2
  645. package/dist/ui-library/p-ef317d69.entry.js.map +0 -1
  646. package/dist/ui-library/p-f385f1c2.entry.js +0 -2
  647. package/dist/ui-library/p-f385f1c2.entry.js.map +0 -1
  648. package/dist/ui-library/p-faa04bb5.js +0 -2
  649. package/dist/ui-library/p-faa04bb5.js.map +0 -1
  650. package/dist/ui-library/p-fcd57e0a.entry.js +0 -2
  651. /package/dist/ui-library/{p-c86aa5b3.entry.js.map → p-1f5840b5.entry.js.map} +0 -0
  652. /package/dist/ui-library/{p-c1675a45.entry.js.map → p-546e33d9.entry.js.map} +0 -0
  653. /package/dist/ui-library/{p-6907a7dc.js.map → p-61e66671.js.map} +0 -0
  654. /package/dist/ui-library/{p-d310a6dd.entry.js.map → p-884c5cf9.entry.js.map} +0 -0
  655. /package/dist/ui-library/{p-816f857d.entry.js.map → p-935c78a7.entry.js.map} +0 -0
  656. /package/dist/ui-library/{p-cd35b3c6.entry.js.map → p-a9c159f2.entry.js.map} +0 -0
  657. /package/dist/ui-library/{p-d2cf4280.entry.js.map → p-d3f5b9a8.entry.js.map} +0 -0
  658. /package/dist/ui-library/{p-f73a6bdc.entry.js.map → p-f8cbb8da.entry.js.map} +0 -0
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3baddcdc.js');
5
+ const index = require('./index-d7748d51.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ui-library.cjs.js', document.baseURI).href));
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy(JSON.parse("[[\"six-select.cjs\",[[1,\"six-select\",{\"multiple\":[4],\"maxTagsVisible\":[2,\"max-tags-visible\"],\"disabled\":[4],\"name\":[1],\"placeholder\":[1],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterDebounce\":[2,\"filter-debounce\"],\"size\":[1],\"hoist\":[4],\"value\":[1025],\"pill\":[4],\"helpText\":[1,\"help-text\"],\"required\":[4],\"clearable\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"line\":[4],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"autocomplete\":[4],\"inputDebounce\":[2,\"input-debounce\"],\"options\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"isOpen\":[32],\"displayLabel\":[32],\"displayTags\":[32],\"setFocus\":[64]},null,{\"disabled\":[\"handleDisabledChange\"],\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"multiple\":[\"handleMultipleChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-header.cjs\",[[1,\"six-header\",{\"shiftContent\":[4,\"shift-content\"],\"hideHamburgerMenu\":[4,\"hide-hamburger-menu\"],\"openHamburgerMenu\":[4,\"open-hamburger-menu\"],\"openSearch\":[4,\"open-search\"],\"clickableLogo\":[4,\"clickable-logo\"],\"selectedApp\":[32],\"selectedSection\":[32],\"setSearchOpenState\":[64],\"getIsSearchOpen\":[64]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-datepicker.cjs\",[[1,\"six-datepicker\",{\"type\":[1],\"locale\":[1],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"allowedDates\":[16],\"min\":[16],\"max\":[16],\"closeOnSelect\":[4,\"close-on-select\"],\"placement\":[1],\"size\":[1],\"required\":[4],\"defaultDate\":[1,\"default-date\"],\"placeholder\":[1],\"value\":[1040],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"containingElement\":[16],\"dateFormat\":[1,\"date-format\"],\"debounce\":[2],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"pointerDate\":[32],\"selectionMode\":[32],\"isDropDownContentUp\":[32],\"setFocus\":[64],\"select\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"six-root.cjs\",[[1,\"six-root\",{\"breakpoint\":[2],\"padded\":[4],\"stage\":[1],\"version\":[1],\"collapse\":[32]},null,{\"collapse\":[\"handleCollapsed\"]}]]],[\"six-search-field.cjs\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tile.cjs\",[[1,\"six-tile\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"closeable\":[4],\"elevated\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"disabled\":[516],\"size\":[513],\"visible\":[32],\"hasIconSlot\":[32],\"hasLabelSlot\":[32],\"hide\":[64],\"show\":[64]}]]],[\"six-alert.cjs\",[[1,\"six-alert\",{\"open\":[1540],\"closable\":[516],\"type\":[513],\"duration\":[2],\"isVisible\":[32],\"show\":[64],\"hide\":[64],\"toast\":[64]},null,{\"open\":[\"handleOpenChange\"],\"duration\":[\"handleDurationChange\"]}]]],[\"six-dialog.cjs\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer.cjs\",[[1,\"six-drawer\",{\"open\":[1540],\"label\":[1],\"placement\":[1],\"contained\":[4],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-sidebar-item-group.cjs\",[[1,\"six-sidebar-item-group\",{\"name\":[1],\"icon\":[1],\"value\":[513],\"open\":[516],\"summaryIcon\":[1,\"summary-icon\"],\"href\":[513],\"hasItems\":[32],\"summaryIconHasContent\":[32]}]]],[\"six-tab.cjs\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group.cjs\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasScrollControls\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar.cjs\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-button.cjs\",[[1,\"six-button\",{\"type\":[513],\"size\":[513],\"caret\":[4],\"disabled\":[516],\"loading\":[516],\"pill\":[516],\"circle\":[516],\"submit\":[516],\"reset\":[516],\"name\":[1],\"value\":[1],\"href\":[1],\"target\":[1],\"download\":[1],\"hasFocus\":[32],\"hasLabel\":[32],\"hasPrefix\":[32],\"hasSuffix\":[32],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-checkbox.cjs\",[[1,\"six-checkbox\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"checked\":[1540],\"indeterminate\":[1540],\"hasFocus\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"indeterminate\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-error-page.cjs\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item.cjs\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-file-upload.cjs\",[[2,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"isOver\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-group-label.cjs\",[[1,\"six-group-label\",{\"size\":[513],\"label\":[1],\"helpText\":[1,\"help-text\"],\"disabled\":[516],\"required\":[4],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32]},null,{\"helpText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-range.cjs\",[[1,\"six-range\",{\"name\":[1],\"value\":[1026],\"required\":[4],\"helpText\":[1,\"help-text\"],\"disabled\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"min\":[2],\"max\":[2],\"step\":[2],\"tooltip\":[1],\"tooltipFormatter\":[16],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasErrorTextSlot\":[32],\"hasLabelSlot\":[32],\"hasTooltip\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"label\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"helpText\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"],\"min\":[\"handleValueChange\"],\"max\":[\"handleValueChange\"]}]]],[\"six-switch.cjs\",[[1,\"six-switch\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"hasFocus\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-textarea.cjs\",[[1,\"six-textarea\",{\"size\":[513],\"name\":[513],\"value\":[1537],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"rows\":[2],\"resize\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"inputmode\":[1],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"rows\":[\"handleRowsChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-badge.cjs\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card.cjs\",[[1,\"six-card\"]]],[\"six-file-list.cjs\",[[1,\"six-file-list\"]]],[\"six-footer.cjs\",[[1,\"six-footer\"]]],[\"six-language-switcher.cjs\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid.cjs\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-main-container.cjs\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider.cjs\",[[1,\"six-menu-divider\"]]],[\"six-menu-label.cjs\",[[1,\"six-menu-label\"]]],[\"six-progress-bar.cjs\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring.cjs\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio.cjs\",[[1,\"six-radio\",{\"name\":[1],\"value\":[513],\"disabled\":[4],\"checked\":[1540],\"invalid\":[516],\"hasFocus\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"name\":[\"handleNameChange\"]}]]],[\"six-sidebar.cjs\",[[1,\"six-sidebar\",{\"position\":[1],\"open\":[1540],\"width\":[1],\"toggled\":[4],\"isVisible\":[32],\"toggle\":[64],\"show\":[64],\"hide\":[64],\"selectItemByIndex\":[64],\"selectItemByName\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-sidebar-item.cjs\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel.cjs\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-error.cjs\",[[1,\"six-error\"]]],[\"six-icon.cjs\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker.cjs\",[[1,\"six-timepicker\",{\"format\":[1],\"separator\":[1],\"value\":[1025],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"placement\":[1],\"size\":[1],\"required\":[4],\"placeholder\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"label\":[1],\"invalid\":[516],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"timeout\":[2],\"interval\":[2],\"defaultTime\":[1,\"default-time\"],\"debounce\":[2],\"isPopupContentUp\":[32],\"isDropDownContentUp\":[32],\"popupValue\":[32],\"setFocus\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"six-tag.cjs\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-details.cjs\",[[1,\"six-details\",{\"open\":[1540],\"summary\":[1],\"summaryIcon\":[1,\"summary-icon\"],\"summaryIconSize\":[513,\"summary-icon-size\"],\"disabled\":[4],\"inline\":[4],\"selectableEmpty\":[4,\"selectable-empty\"],\"hasContent\":[4,\"has-content\"],\"animateSummaryIcon\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-picto.cjs\",[[1,\"six-picto\",{\"size\":[1]}]]],[\"six-spinner.cjs\",[[1,\"six-spinner\",{\"six\":[4]}]]],[\"set-attributes_2.cjs\",[[1,\"six-stage-indicator\",{\"stage\":[1]}],[4,\"set-attributes\",{\"value\":[16]},null,{\"value\":[\"attrsUpdated\"]}]]],[\"six-item-picker.cjs\",[[1,\"six-item-picker\",{\"value\":[1544],\"type\":[1],\"min\":[1544],\"max\":[1544],\"roundtrip\":[516],\"step\":[514],\"items\":[16],\"padded\":[4],\"paddingLength\":[2,\"padding-length\"],\"paddingChar\":[1,\"padding-char\"],\"paddingDirection\":[1,\"padding-direction\"],\"timeout\":[2],\"interval\":[2],\"debounce\":[2],\"_items\":[32],\"_itemIndexes\":[32]},null,{\"value\":[\"handleValueChange\"],\"debounce\":[\"debounceChanged\"],\"items\":[\"handleSetChange\"]}]]],[\"six-tooltip.cjs\",[[1,\"six-tooltip\",{\"content\":[1],\"placement\":[1],\"disabled\":[4],\"distance\":[2],\"open\":[1540],\"skidding\":[2],\"trigger\":[1],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-menu-item.cjs\",[[1,\"six-menu-item\",{\"checked\":[516],\"value\":[513],\"disabled\":[516],\"hasFocus\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"getTextLabel\":[64]}]]],[\"six-input.cjs\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-dropdown_2.cjs\",[[1,\"six-dropdown\",{\"open\":[1540],\"placement\":[1],\"closeOnSelect\":[4,\"close-on-select\"],\"distance\":[2],\"skidding\":[2],\"hoist\":[4],\"containingElement\":[16],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"autofocusFilter\":[4,\"autofocus-filter\"],\"filterDebounce\":[2,\"filter-debounce\"],\"disableHideOnEnterAndSpace\":[4,\"disable-hide-on-enter-and-space\"],\"options\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"filteredOptions\":[32],\"show\":[64],\"hide\":[64],\"reposition\":[64]},null,{\"open\":[\"handleOpenChange\"],\"distance\":[\"handlePopoverOptionsChange\"],\"hoist\":[\"handlePopoverOptionsChange\"],\"placement\":[\"handlePopoverOptionsChange\"],\"skidding\":[\"handlePopoverOptionsChange\"],\"options\":[\"handleOptionsChange\"]}],[1,\"six-menu\",{\"removeBoxShadow\":[4,\"remove-box-shadow\"],\"items\":[16],\"itemsShown\":[2,\"items-shown\"],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemSize\":[2,\"item-size\"],\"scrollingDebounce\":[2,\"scrolling-debounce\"],\"scrollingIndex\":[32],\"sixMenuItemHeight\":[32],\"typeToSelect\":[64]}]]],[\"six-icon-button.cjs\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513]}]]]]"), options);
20
+ return index.bootstrapLazy(JSON.parse("[[\"six-select.cjs\",[[1,\"six-select\",{\"multiple\":[4],\"selectAllButton\":[4,\"select-all-button\"],\"selectAllText\":[1,\"select-all-text\"],\"maxTagsVisible\":[2,\"max-tags-visible\"],\"disabled\":[4],\"name\":[1],\"placeholder\":[1],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterDebounce\":[2,\"filter-debounce\"],\"size\":[1],\"hoist\":[4],\"value\":[1025],\"pill\":[4],\"helpText\":[1,\"help-text\"],\"required\":[4],\"clearable\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"line\":[4],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"autocomplete\":[4],\"inputDebounce\":[2,\"input-debounce\"],\"options\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"isOpen\":[32],\"displayedValues\":[32],\"selectionContainerItems\":[32],\"setFocus\":[64]},null,{\"disabled\":[\"handleDisabledChange\"],\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"multiple\":[\"handleMultipleChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-header.cjs\",[[1,\"six-header\",{\"shiftContent\":[4,\"shift-content\"],\"hideHamburgerMenu\":[4,\"hide-hamburger-menu\"],\"openHamburgerMenu\":[4,\"open-hamburger-menu\"],\"openSearch\":[4,\"open-search\"],\"clickableLogo\":[4,\"clickable-logo\"],\"selectedApp\":[32],\"selectedSection\":[32],\"setSearchOpenState\":[64],\"getIsSearchOpen\":[64]},null,{\"openSearch\":[\"handleOpenSearchChange\"]}]]],[\"six-datepicker.cjs\",[[1,\"six-datepicker\",{\"type\":[1],\"locale\":[1],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"allowedDates\":[16],\"min\":[16],\"max\":[16],\"closeOnSelect\":[4,\"close-on-select\"],\"placement\":[1],\"size\":[1],\"required\":[4],\"defaultDate\":[1,\"default-date\"],\"placeholder\":[1],\"value\":[1040],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"containingElement\":[16],\"dateFormat\":[1,\"date-format\"],\"debounce\":[2],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"pointerDate\":[32],\"selectionMode\":[32],\"isDropDownContentUp\":[32],\"setFocus\":[64],\"select\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"six-search-field.cjs\",[[1,\"six-search-field\",{\"placeholder\":[1],\"debounce\":[514],\"disabled\":[516],\"value\":[513],\"clearable\":[4]},null,{\"value\":[\"handleValueChange\"]}]]],[\"six-tag.cjs\",[[1,\"six-tag\",{\"type\":[513],\"size\":[513],\"pill\":[516],\"clearable\":[516]}]]],[\"six-tile.cjs\",[[1,\"six-tile\",{\"label\":[1],\"iconName\":[1,\"icon-name\"],\"closeable\":[4],\"elevated\":[4],\"disableTooltip\":[4,\"disable-tooltip\"],\"disabled\":[516],\"size\":[513],\"visible\":[32],\"hasIconSlot\":[32],\"hasLabelSlot\":[32],\"hide\":[64],\"show\":[64]}]]],[\"six-alert.cjs\",[[1,\"six-alert\",{\"open\":[1540],\"closable\":[516],\"type\":[513],\"duration\":[2],\"isVisible\":[32],\"show\":[64],\"hide\":[64],\"toast\":[64]},null,{\"open\":[\"handleOpenChange\"],\"duration\":[\"handleDurationChange\"]}]]],[\"six-dialog.cjs\",[[1,\"six-dialog\",{\"open\":[1540],\"label\":[1],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-drawer.cjs\",[[1,\"six-drawer\",{\"open\":[1540],\"label\":[1],\"placement\":[1],\"contained\":[4],\"noHeader\":[4,\"no-header\"],\"hasFooter\":[32],\"isVisible\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-root.cjs\",[[1,\"six-root\",{\"padded\":[4],\"stage\":[1],\"version\":[1]}]]],[\"six-sidebar-item-group.cjs\",[[1,\"six-sidebar-item-group\",{\"name\":[1],\"icon\":[1],\"value\":[513],\"open\":[516],\"summaryIcon\":[1,\"summary-icon\"],\"href\":[513],\"hasItems\":[32],\"summaryIconHasContent\":[32]}]]],[\"six-tab.cjs\",[[1,\"six-tab\",{\"panel\":[513],\"active\":[516],\"closable\":[4],\"disabled\":[516],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-tab-group.cjs\",[[1,\"six-tab-group\",{\"placement\":[1],\"noScrollControls\":[4,\"no-scroll-controls\"],\"hasLeftControl\":[32],\"hasRightControl\":[32],\"show\":[64]},null,{\"noScrollControls\":[\"handleNoScrollControlsChange\"]}]]],[\"six-avatar.cjs\",[[1,\"six-avatar\",{\"image\":[1],\"alt\":[1],\"initials\":[1],\"shape\":[1],\"hasError\":[32]}]]],[\"six-error-page.cjs\",[[1,\"six-error-page\",{\"errorCode\":[2,\"error-code\"],\"language\":[1],\"customTitle\":[1,\"custom-title\"],\"customDescription\":[16],\"customIcon\":[1,\"custom-icon\"]}]]],[\"six-file-list-item.cjs\",[[1,\"six-file-list-item\",{\"identifier\":[513],\"name\":[513],\"date\":[513],\"size\":[514],\"nodownload\":[516],\"nodelete\":[516]}]]],[\"six-file-upload.cjs\",[[2,\"six-file-upload\",{\"compact\":[4],\"label\":[1],\"disabled\":[4],\"accept\":[1],\"multiple\":[4],\"maxFileSize\":[2,\"max-file-size\"],\"isOver\":[32]},[[1,\"dragenter\",\"dragenterHandler\"],[1,\"dragover\",\"dragoverHandler\"],[1,\"dragleave\",\"dragleaveHandler\"],[1,\"drop\",\"dropHandler\"]]]]],[\"six-group-label.cjs\",[[1,\"six-group-label\",{\"size\":[513],\"label\":[1],\"helpText\":[1,\"help-text\"],\"disabled\":[516],\"required\":[4],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32]},null,{\"helpText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-range.cjs\",[[1,\"six-range\",{\"name\":[1],\"value\":[1026],\"required\":[4],\"helpText\":[1,\"help-text\"],\"disabled\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"min\":[2],\"max\":[2],\"step\":[2],\"tooltip\":[1],\"tooltipFormatter\":[16],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasErrorTextSlot\":[32],\"hasLabelSlot\":[32],\"hasTooltip\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"label\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"helpText\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"],\"min\":[\"handleValueChange\"],\"max\":[\"handleValueChange\"]}]]],[\"six-switch.cjs\",[[1,\"six-switch\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"hasFocus\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-textarea.cjs\",[[1,\"six-textarea\",{\"size\":[513],\"name\":[513],\"value\":[1537],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"rows\":[2],\"resize\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"inputmode\":[1],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorTextSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"rows\":[\"handleRowsChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-badge.cjs\",[[1,\"six-badge\",{\"type\":[1],\"pill\":[4],\"pulse\":[4]}]]],[\"six-card.cjs\",[[1,\"six-card\"]]],[\"six-file-list.cjs\",[[1,\"six-file-list\"]]],[\"six-footer.cjs\",[[1,\"six-footer\"]]],[\"six-language-switcher.cjs\",[[1,\"six-language-switcher\",{\"selected\":[1537],\"languages\":[16]},null,{\"languages\":[\"handleChangesLanguages\"]}]]],[\"six-layout-grid.cjs\",[[1,\"six-layout-grid\",{\"columns\":[1026]},null,{\"columns\":[\"handleColumnsChange\"]}]]],[\"six-main-container.cjs\",[[1,\"six-main-container\",{\"padded\":[4]}]]],[\"six-menu-divider.cjs\",[[1,\"six-menu-divider\"]]],[\"six-menu-label.cjs\",[[1,\"six-menu-label\"]]],[\"six-progress-bar.cjs\",[[1,\"six-progress-bar\",{\"percentage\":[2],\"indeterminate\":[4]}]]],[\"six-progress-ring.cjs\",[[1,\"six-progress-ring\",{\"size\":[2],\"strokeWidth\":[2,\"stroke-width\"],\"percentage\":[2]},null,{\"percentage\":[\"handlePercentageChange\"]}]]],[\"six-radio.cjs\",[[1,\"six-radio\",{\"name\":[1],\"value\":[513],\"disabled\":[4],\"checked\":[1540],\"invalid\":[516],\"hasFocus\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"name\":[\"handleNameChange\"]}]]],[\"six-sidebar.cjs\",[[1,\"six-sidebar\",{\"position\":[1],\"open\":[1540],\"width\":[1],\"toggled\":[4],\"isVisible\":[32],\"toggle\":[64],\"show\":[64],\"hide\":[64],\"selectItemByIndex\":[64],\"selectItemByName\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-sidebar-item.cjs\",[[1,\"six-sidebar-item\",{\"value\":[513],\"selected\":[516],\"disabled\":[516],\"href\":[513]}]]],[\"six-tab-panel.cjs\",[[1,\"six-tab-panel\",{\"name\":[1],\"active\":[516]}]]],[\"six-error.cjs\",[[1,\"six-error\"]]],[\"six-icon.cjs\",[[1,\"six-icon\",{\"size\":[513],\"filled\":[4]}]]],[\"six-timepicker.cjs\",[[1,\"six-timepicker\",{\"format\":[1],\"separator\":[1],\"value\":[1025],\"open\":[1540],\"inline\":[516],\"readonly\":[4],\"disabled\":[4],\"placement\":[1],\"size\":[1],\"required\":[4],\"placeholder\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"label\":[1],\"invalid\":[516],\"name\":[513],\"clearable\":[4],\"iconPosition\":[1,\"icon-position\"],\"hoist\":[4],\"timeout\":[2],\"interval\":[2],\"defaultTime\":[1,\"default-time\"],\"debounce\":[2],\"isPopupContentUp\":[32],\"isDropDownContentUp\":[32],\"popupValue\":[32],\"setFocus\":[64]},[[9,\"resize\",\"resizeHandler\"],[9,\"scroll\",\"scrollHandler\"]],{\"value\":[\"valueChanged\"]}]]],[\"six-button.cjs\",[[1,\"six-button\",{\"type\":[513],\"size\":[513],\"caret\":[4],\"disabled\":[516],\"loading\":[516],\"pill\":[516],\"circle\":[516],\"submit\":[516],\"reset\":[516],\"name\":[1],\"value\":[1],\"href\":[1],\"target\":[1],\"download\":[1],\"hasFocus\":[32],\"hasLabel\":[32],\"hasPrefix\":[32],\"hasSuffix\":[32],\"setFocus\":[64],\"removeFocus\":[64]}]]],[\"six-details.cjs\",[[1,\"six-details\",{\"open\":[1540],\"summary\":[1],\"summaryIcon\":[1,\"summary-icon\"],\"summaryIconSize\":[513,\"summary-icon-size\"],\"disabled\":[4],\"inline\":[4],\"selectableEmpty\":[4,\"selectable-empty\"],\"hasContent\":[4,\"has-content\"],\"animateSummaryIcon\":[32],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-stage-indicator.cjs\",[[1,\"six-stage-indicator\",{\"stage\":[1]}]]],[\"six-picto.cjs\",[[1,\"six-picto\",{\"size\":[1]}]]],[\"six-item-picker.cjs\",[[1,\"six-item-picker\",{\"value\":[1544],\"type\":[1],\"min\":[1544],\"max\":[1544],\"roundtrip\":[516],\"step\":[514],\"items\":[16],\"padded\":[4],\"paddingLength\":[2,\"padding-length\"],\"paddingChar\":[1,\"padding-char\"],\"paddingDirection\":[1,\"padding-direction\"],\"timeout\":[2],\"interval\":[2],\"debounce\":[2],\"_items\":[32],\"_itemIndexes\":[32]},null,{\"value\":[\"handleValueChange\"],\"debounce\":[\"debounceChanged\"],\"items\":[\"handleSetChange\"]}]]],[\"six-spinner.cjs\",[[1,\"six-spinner\",{\"six\":[4]}]]],[\"six-tooltip.cjs\",[[1,\"six-tooltip\",{\"content\":[1],\"placement\":[1],\"disabled\":[4],\"distance\":[2],\"open\":[1540],\"skidding\":[2],\"trigger\":[1],\"show\":[64],\"hide\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"six-input.cjs\",[[1,\"six-input\",{\"type\":[513],\"size\":[513],\"name\":[513],\"value\":[1537],\"pill\":[516],\"helpText\":[1,\"help-text\"],\"placeholder\":[1],\"disabled\":[516],\"readonly\":[516],\"minlength\":[514],\"maxlength\":[514],\"min\":[514],\"max\":[514],\"step\":[514],\"pattern\":[513],\"dropdownSearch\":[4,\"dropdown-search\"],\"required\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"autofocus\":[4],\"spellcheck\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"clearable\":[4],\"togglePassword\":[4,\"toggle-password\"],\"inputmode\":[1],\"line\":[4],\"hasFocus\":[32],\"hasHelpTextSlot\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"isPasswordVisible\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"select\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64]},null,{\"helpText\":[\"handleLabelChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"],\"value\":[\"handleValueChange\"]}]]],[\"six-checkbox_2.cjs\",[[1,\"six-menu-item\",{\"checkType\":[1,\"check-type\"],\"checked\":[516],\"value\":[513],\"disabled\":[516],\"hasFocus\":[32],\"active\":[32],\"setFocus\":[64],\"removeFocus\":[64],\"getTextLabel\":[64]}],[1,\"six-checkbox\",{\"name\":[1],\"value\":[1],\"disabled\":[4],\"required\":[4],\"label\":[1],\"errorText\":[1,\"error-text\"],\"errorTextCount\":[2,\"error-text-count\"],\"invalid\":[516],\"checked\":[1540],\"indeterminate\":[1540],\"hasFocus\":[32],\"hasLabelSlot\":[32],\"hasErrorSlot\":[32],\"setFocus\":[64],\"removeFocus\":[64]},null,{\"checked\":[\"handleCheckedChange\"],\"indeterminate\":[\"handleCheckedChange\"],\"errorText\":[\"handleLabelChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"six-dropdown_2.cjs\",[[1,\"six-dropdown\",{\"open\":[1540],\"placement\":[1],\"closeOnSelect\":[4,\"close-on-select\"],\"distance\":[2],\"skidding\":[2],\"hoist\":[4],\"containingElement\":[16],\"filter\":[4],\"asyncFilter\":[4,\"async-filter\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"autofocusFilter\":[4,\"autofocus-filter\"],\"filterDebounce\":[1026,\"filter-debounce\"],\"disableHideOnEnterAndSpace\":[4,\"disable-hide-on-enter-and-space\"],\"options\":[1040],\"virtualScroll\":[4,\"virtual-scroll\"],\"matchTriggerWidth\":[4,\"match-trigger-width\"],\"renderedOptions\":[32],\"show\":[64],\"hide\":[64],\"reposition\":[64]},null,{\"open\":[\"handleOpenChange\"],\"distance\":[\"handlePopoverOptionsChange\"],\"hoist\":[\"handlePopoverOptionsChange\"],\"placement\":[\"handlePopoverOptionsChange\"],\"skidding\":[\"handlePopoverOptionsChange\"],\"options\":[\"handleOptionsChange\"],\"virtualScroll\":[\"handleOptionsChange\"]}],[1,\"six-menu\",{\"removeBoxShadow\":[4,\"remove-box-shadow\"],\"items\":[16],\"itemsShown\":[2,\"items-shown\"],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemSize\":[2,\"item-size\"],\"scrollingDebounce\":[2,\"scrolling-debounce\"],\"disableKeyboardHandling\":[4,\"disable-keyboard-handling\"],\"scrollingIndex\":[32],\"sixMenuItemHeight\":[32],\"typeToSelect\":[64]}]]],[\"six-icon-button.cjs\",[[1,\"six-icon-button\",{\"name\":[513],\"size\":[513],\"label\":[513],\"disabled\":[516],\"html\":[513]}]]]]"), options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -1 +1 @@
1
- {"file":"ui-library.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,4MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"ui-library.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,4MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "entries": [
3
+ "components/six-alert/six-alert.js",
3
4
  "components/six-item-picker/six-item-picker.js",
4
5
  "components/six-timepicker/six-timepicker.js",
5
6
  "components/six-datepicker/six-datepicker.js",
@@ -10,11 +11,9 @@
10
11
  "components/six-header/six-header.js",
11
12
  "components/six-language-switcher/six-language-switcher.js",
12
13
  "components/six-stage-indicator/six-stage-indicator.js",
13
- "components/six-root/six-root.js",
14
14
  "components/six-search-field/six-search-field.js",
15
15
  "components/six-select/six-select.js",
16
16
  "components/six-tab-group/six-tab-group.js",
17
- "components/six-alert/six-alert.js",
18
17
  "components/six-avatar/six-avatar.js",
19
18
  "components/six-badge/six-badge.js",
20
19
  "components/six-button/six-button.js",
@@ -41,6 +40,7 @@
41
40
  "components/six-progress-ring/six-progress-ring.js",
42
41
  "components/six-radio/six-radio.js",
43
42
  "components/six-range/six-range.js",
43
+ "components/six-root/six-root.js",
44
44
  "components/six-sidebar/six-sidebar.js",
45
45
  "components/six-sidebar-item/six-sidebar-item.js",
46
46
  "components/six-sidebar-item-group/six-sidebar-item-group.js",
@@ -51,12 +51,11 @@
51
51
  "components/six-tag/six-tag.js",
52
52
  "components/six-textarea/six-textarea.js",
53
53
  "components/six-tile/six-tile.js",
54
- "components/six-tooltip/six-tooltip.js",
55
- "wrappers/set-attributes/set-attributes.js"
54
+ "components/six-tooltip/six-tooltip.js"
56
55
  ],
57
56
  "compiler": {
58
57
  "name": "@stencil/core",
59
- "version": "4.8.0",
58
+ "version": "4.9.0",
60
59
  "typescriptVersion": "5.2.2"
61
60
  },
62
61
  "collections": [],
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  /**
@@ -44,6 +44,10 @@
44
44
  visibility: hidden;
45
45
  }
46
46
 
47
+ .alert--shadow {
48
+ box-shadow: var(--six-shadow-medium);
49
+ }
50
+
47
51
  .alert--open {
48
52
  opacity: 1;
49
53
  transform: none;
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { getSlot } from "../../utils/slot";
2
3
  const toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });
3
4
  /**
4
5
  * @since 1.0
@@ -19,8 +20,11 @@ export class SixAlert {
19
20
  this.handleCloseClick = () => {
20
21
  this.hide();
21
22
  };
22
- this.handleMouseMove = () => {
23
- this.restartAutoHide();
23
+ this.handleMouseEnter = () => {
24
+ this.pauseAutoHide();
25
+ };
26
+ this.handleMouseLeave = () => {
27
+ this.resetAutoHide();
24
28
  };
25
29
  this.handleTransitionEnd = (event) => {
26
30
  const target = event.target;
@@ -84,13 +88,33 @@ export class SixAlert {
84
88
  * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
85
89
  * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
86
90
  * calling this method again. The returned promise will resolve after the alert is hidden.
91
+ * @param adjustPosition If true, the top and right position of the toast stack is shifted according to the
92
+ * six-root header's height and the presence of a vertical scrollbar.
87
93
  */
88
- async toast() {
94
+ async toast(adjustPosition = true) {
89
95
  return new Promise((resolve) => {
96
+ var _a;
90
97
  if (!toastStack.parentElement) {
91
98
  document.body.append(toastStack);
92
99
  }
93
100
  toastStack.append(this.host);
101
+ if (adjustPosition) {
102
+ const sixRoot = document.querySelector('six-root');
103
+ const headerSlot = getSlot(sixRoot, 'header');
104
+ const mainSlot = (_a = sixRoot === null || sixRoot === void 0 ? void 0 : sixRoot.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('host main');
105
+ if (mainSlot != null && mainSlot instanceof HTMLElement) {
106
+ const scrollbarWidth = mainSlot.offsetWidth - mainSlot.clientWidth;
107
+ toastStack.style.right = `${scrollbarWidth}px`;
108
+ }
109
+ if (headerSlot != null) {
110
+ const rect = headerSlot === null || headerSlot === void 0 ? void 0 : headerSlot.getBoundingClientRect();
111
+ toastStack.style.top = `${rect.top + rect.height}px`;
112
+ }
113
+ }
114
+ else {
115
+ toastStack.style.top = '0';
116
+ toastStack.style.right = '0';
117
+ }
94
118
  requestAnimationFrame(() => this.show());
95
119
  this.host.addEventListener('six-alert-after-hide', () => {
96
120
  this.host.remove();
@@ -102,13 +126,20 @@ export class SixAlert {
102
126
  }, { once: true });
103
127
  });
104
128
  }
105
- restartAutoHide() {
129
+ pauseAutoHide() {
106
130
  clearTimeout(this.autoHideTimeout);
131
+ }
132
+ resetAutoHide() {
107
133
  if (this.open && this.duration < Infinity) {
108
134
  this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);
109
135
  }
110
136
  }
137
+ restartAutoHide() {
138
+ this.pauseAutoHide();
139
+ this.resetAutoHide();
140
+ }
111
141
  render() {
142
+ const asToast = this.host.closest('.six-toast-stack') != null;
112
143
  return (h("div", { part: "base", class: {
113
144
  alert: true,
114
145
  'alert--open': this.open,
@@ -119,7 +150,8 @@ export class SixAlert {
119
150
  'alert--info': this.type === 'info',
120
151
  'alert--warning': this.type === 'warning',
121
152
  'alert--danger': this.type === 'danger',
122
- }, role: "alert", "aria-live": "assertive", "aria-atomic": "true", "aria-hidden": this.open ? 'false' : 'true', onMouseMove: this.handleMouseMove, onTransitionEnd: this.handleTransitionEnd }, h("span", { part: "icon", class: "alert__icon" }, h("slot", { name: "icon" })), h("span", { part: "message", class: "alert__message" }, h("slot", null)), this.closable && (h("span", { class: "alert__close" }, h("six-icon-button", { name: "clear", exportparts: "base:close-button", onClick: this.handleCloseClick })))));
153
+ 'alert--shadow': asToast,
154
+ }, role: "alert", "aria-live": "assertive", "aria-atomic": "true", "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("span", { part: "icon", class: "alert__icon" }, h("slot", { name: "icon" })), h("span", { part: "message", class: "alert__message" }, h("slot", null)), this.closable && (h("span", { class: "alert__close" }, h("six-icon-button", { name: "clear", exportparts: "base:close-button", onClick: this.handleCloseClick })))));
123
155
  }
124
156
  static get is() { return "six-alert"; }
125
157
  static get encapsulation() { return "shadow"; }
@@ -175,9 +207,15 @@ export class SixAlert {
175
207
  "type": "string",
176
208
  "mutable": false,
177
209
  "complexType": {
178
- "original": "'primary' | 'success' | 'info' | 'warning' | 'danger'",
210
+ "original": "AlertType",
179
211
  "resolved": "\"danger\" | \"info\" | \"primary\" | \"success\" | \"warning\"",
180
- "references": {}
212
+ "references": {
213
+ "AlertType": {
214
+ "location": "local",
215
+ "path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-alert/six-alert.tsx",
216
+ "id": "src/components/six-alert/six-alert.tsx::AlertType"
217
+ }
218
+ }
181
219
  },
182
220
  "required": false,
183
221
  "optional": false,
@@ -201,7 +239,7 @@ export class SixAlert {
201
239
  "optional": false,
202
240
  "docs": {
203
241
  "tags": [],
204
- "text": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\nalert before it closes (e.g. moves the mouse over it), the timer will restart."
242
+ "text": "The length of time, in milliseconds, the alert will show before closing itself.\nIf the user hovers over the toast alert, the timer will pause.\nOn leaving the element with the mouse, the timer resets."
205
243
  },
206
244
  "attribute": "duration",
207
245
  "reflect": false,
@@ -339,8 +377,12 @@ export class SixAlert {
339
377
  },
340
378
  "toast": {
341
379
  "complexType": {
342
- "signature": "() => Promise<void>",
343
- "parameters": [],
380
+ "signature": "(adjustPosition?: boolean) => Promise<void>",
381
+ "parameters": [{
382
+ "name": "adjustPosition",
383
+ "type": "boolean",
384
+ "docs": "If true, the top and right position of the toast stack is shifted according to the\nsix-root header's height and the presence of a vertical scrollbar."
385
+ }],
344
386
  "references": {
345
387
  "Promise": {
346
388
  "location": "global",
@@ -351,7 +393,10 @@ export class SixAlert {
351
393
  },
352
394
  "docs": {
353
395
  "text": "Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.",
354
- "tags": []
396
+ "tags": [{
397
+ "name": "param",
398
+ "text": "adjustPosition If true, the top and right position of the toast stack is shifted according to the\nsix-root header's height and the presence of a vertical scrollbar."
399
+ }]
355
400
  }
356
401
  }
357
402
  };
@@ -1 +1 @@
1
- {"version":3,"file":"six-alert.js","sourceRoot":"","sources":["../../../src/components/six-alert/six-alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAGvG,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAElG;;;;;;;;;;;;;GAaG;AAOH,MAAM,OAAO,QAAQ;;QA2HX,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;QAC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EAAC,gBAAgB;gBACzC,eAAQ,CACH;YAEN,IAAI,CAAC,QAAQ,IAAI,CAChB,YAAM,KAAK,EAAC,cAAc;gBACxB,uBACE,IAAI,EAAC,OAAO,EACZ,WAAW,EAAC,mBAAmB,EAC/B,OAAO,EAAE,IAAI,CAAC,gBAAgB,GACb,CACd,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Method, Prop, State, Watch, h } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\n\nconst toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The alert's content.\n * @slot icon - An icon to show in the alert.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the alert icon.\n * @part message - The alert message.\n * @part close-button - The close button.\n */\n\n@Component({\n tag: 'six-alert',\n styleUrl: 'six-alert.scss',\n shadow: true,\n})\nexport class SixAlert {\n private autoHideTimeout?: number;\n\n @Element() host!: HTMLSixAlertElement;\n\n @State() isVisible = false;\n\n /** Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Set to true to make the alert closable. */\n @Prop({ reflect: true }) closable = false;\n\n /** The type of alert. */\n @Prop({ reflect: true }) type: 'primary' | 'success' | 'info' | 'warning' | 'danger' = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\n * alert before it closes (e.g. moves the mouse over it), the timer will restart.\n */\n @Prop() duration = Infinity;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n @Watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Emitted when the alert opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-alert-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert opens and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the alert closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-alert-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert closes and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n /** Shows the alert. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n /** Hides the alert */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n clearTimeout(this.autoHideTimeout);\n this.isVisible = false;\n this.open = false;\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n */\n @Method()\n async toast() {\n return new Promise<void>((resolve) => {\n if (!toastStack.parentElement) {\n document.body.append(toastStack);\n }\n\n toastStack.append(this.host);\n requestAnimationFrame(() => this.show());\n\n this.host.addEventListener(\n 'six-alert-after-hide',\n () => {\n this.host.remove();\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (toastStack.querySelector('six-alert') === null) {\n toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleMouseMove = () => {\n this.restartAutoHide();\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('alert')) {\n this.isVisible = this.open;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n private restartAutoHide() {\n clearTimeout(this.autoHideTimeout);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n alert: true,\n 'alert--open': this.open,\n 'alert--visible': this.isVisible,\n 'alert--closable': this.closable,\n 'alert--primary': this.type === 'primary',\n 'alert--success': this.type === 'success',\n 'alert--info': this.type === 'info',\n 'alert--warning': this.type === 'warning',\n 'alert--danger': this.type === 'danger',\n }}\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n onMouseMove={this.handleMouseMove}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <span part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\" />\n </span>\n\n <span part=\"message\" class=\"alert__message\">\n <slot />\n </span>\n\n {this.closable && (\n <span class=\"alert__close\">\n <six-icon-button\n name=\"clear\"\n exportparts=\"base:close-button\"\n onClick={this.handleCloseClick}\n ></six-icon-button>\n </span>\n )}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-alert.js","sourceRoot":"","sources":["../../../src/components/six-alert/six-alert.tsx"],"names":[],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IAAI,KAAK,SAAS;gBACzC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACvC,eAAe,EAAE,OAAO;aACzB,EACD,IAAI,EAAC,OAAO,eACF,WAAW,iBACT,MAAM,iBACL,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EACzC,eAAe,EAAE,IAAI,CAAC,mBAAmB,EACzC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACnC,YAAY,EAAE,IAAI,CAAC,gBAAgB;YAEnC,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,aAAa;gBACnC,YAAM,IAAI,EAAC,MAAM,GAAG,CACf;YAEP,YAAM,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,gBAAgB;gBACzC,eAAQ,CACH;YAEN,IAAI,CAAC,QAAQ,IAAI,CAChB,YAAM,KAAK,EAAC,cAAc;gBACxB,uBACE,IAAI,EAAC,OAAO,EACZ,WAAW,EAAC,mBAAmB,EAC/B,OAAO,EAAE,IAAI,CAAC,gBAAgB,GACb,CACd,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getSlot } from '../../utils/slot';\n\nconst toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The alert's content.\n * @slot icon - An icon to show in the alert.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the alert icon.\n * @part message - The alert message.\n * @part close-button - The close button.\n */\n\n@Component({\n tag: 'six-alert',\n styleUrl: 'six-alert.scss',\n shadow: true,\n})\nexport class SixAlert {\n private autoHideTimeout?: number;\n\n @Element() host!: HTMLSixAlertElement;\n\n @State() isVisible = false;\n\n /** Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Set to true to make the alert closable. */\n @Prop({ reflect: true }) closable = false;\n\n /** The type of alert. */\n @Prop({ reflect: true }) type: AlertType = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself.\n * If the user hovers over the toast alert, the timer will pause.\n * On leaving the element with the mouse, the timer resets.\n */\n @Prop() duration = Infinity;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n @Watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Emitted when the alert opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-alert-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert opens and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the alert closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-alert-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert closes and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n /** Shows the alert. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n /** Hides the alert */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n clearTimeout(this.autoHideTimeout);\n this.isVisible = false;\n this.open = false;\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n * @param adjustPosition If true, the top and right position of the toast stack is shifted according to the\n * six-root header's height and the presence of a vertical scrollbar.\n */\n @Method()\n async toast(adjustPosition = true) {\n return new Promise<void>((resolve) => {\n if (!toastStack.parentElement) {\n document.body.append(toastStack);\n }\n toastStack.append(this.host);\n\n if (adjustPosition) {\n const sixRoot = document.querySelector('six-root');\n const headerSlot = getSlot(sixRoot, 'header');\n const mainSlot = sixRoot?.shadowRoot?.querySelector('host main');\n if (mainSlot != null && mainSlot instanceof HTMLElement) {\n const scrollbarWidth = mainSlot.offsetWidth - mainSlot.clientWidth;\n toastStack.style.right = `${scrollbarWidth}px`;\n }\n if (headerSlot != null) {\n const rect = headerSlot?.getBoundingClientRect();\n toastStack.style.top = `${rect.top + rect.height}px`;\n }\n } else {\n toastStack.style.top = '0';\n toastStack.style.right = '0';\n }\n\n requestAnimationFrame(() => this.show());\n\n this.host.addEventListener(\n 'six-alert-after-hide',\n () => {\n this.host.remove();\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (toastStack.querySelector('six-alert') === null) {\n toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n private pauseAutoHide() {\n clearTimeout(this.autoHideTimeout);\n }\n\n private resetAutoHide() {\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n private restartAutoHide() {\n this.pauseAutoHide();\n this.resetAutoHide();\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleMouseEnter = () => {\n this.pauseAutoHide();\n };\n\n private handleMouseLeave = () => {\n this.resetAutoHide();\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('alert')) {\n this.isVisible = this.open;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n const asToast = this.host.closest('.six-toast-stack') != null;\n\n return (\n <div\n part=\"base\"\n class={{\n alert: true,\n 'alert--open': this.open,\n 'alert--visible': this.isVisible,\n 'alert--closable': this.closable,\n 'alert--primary': this.type === 'primary',\n 'alert--success': this.type === 'success',\n 'alert--info': this.type === 'info',\n 'alert--warning': this.type === 'warning',\n 'alert--danger': this.type === 'danger',\n 'alert--shadow': asToast,\n }}\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n <span part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\" />\n </span>\n\n <span part=\"message\" class=\"alert__message\">\n <slot />\n </span>\n\n {this.closable && (\n <span class=\"alert__close\">\n <six-icon-button\n name=\"clear\"\n exportparts=\"base:close-button\"\n onClick={this.handleCloseClick}\n ></six-icon-button>\n </span>\n )}\n </div>\n );\n }\n}\n\nexport type AlertType = 'primary' | 'success' | 'info' | 'warning' | 'danger';\n"]}
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  /**
@@ -33,7 +33,7 @@
33
33
  outline: none;
34
34
  }
35
35
  .avatar:hover {
36
- box-shadow: var(--six-elevation-4dp);
36
+ box-shadow: var(--six-shadow-medium);
37
37
  }
38
38
 
39
39
  .avatar--circle {
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  :host {
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  :host {
@@ -41,6 +41,7 @@
41
41
  }
42
42
  .button ::slotted(six-icon) {
43
43
  pointer-events: none;
44
+ transform: translateY(-1.5px);
44
45
  }
45
46
 
46
47
  .button-wrapper--disabled {
@@ -429,8 +429,9 @@ export class SixButton {
429
429
  "complexType": {
430
430
  "signature": "(options?: FocusOptions) => Promise<void>",
431
431
  "parameters": [{
432
- "tags": [],
433
- "text": ""
432
+ "name": "options",
433
+ "type": "FocusOptions | undefined",
434
+ "docs": ""
434
435
  }],
435
436
  "references": {
436
437
  "Promise": {
@@ -1 +1 @@
1
- {"version":3,"file":"six-button.js","sourceRoot":"","sources":["../../../src/components/six-button/six-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AAOH,MAAM,OAAO,SAAS;;QA2EZ,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,IAAI,CAAC,SAAS,G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;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { submitForm } from '../../utils/form';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The button's label.\n * @slot prefix - Used to prepend an icon or similar element to the button.\n * @slot suffix - Used to append an icon or similar element to the button.\n *\n * @part base - The component's base wrapper.\n * @part prefix - The prefix container.\n * @part label - The button's label.\n * @part suffix - The suffix container.\n * @part caret - The button's caret.\n */\n\n@Component({\n tag: 'six-button',\n styleUrl: 'six-button.scss',\n shadow: true,\n})\nexport class SixButton {\n private nativeButton?: HTMLButtonElement | HTMLAnchorElement;\n\n @Element() host!: HTMLSixButtonElement;\n\n @State() hasFocus = false;\n @State() hasLabel = false;\n @State() hasPrefix = false;\n @State() hasSuffix = false;\n\n /** The button's type. */\n @Prop({ reflect: true }) type: 'secondary' | 'primary' | 'link' | 'success' | 'warning' | 'danger' | 'action' =\n 'primary';\n\n /** The button's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */\n @Prop() caret = false;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to draw the button in a loading state. */\n @Prop({ reflect: true }) loading = false;\n\n /** Set to true to draw a pill-style button with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to draw a circle button. */\n @Prop({ reflect: true }) circle = false;\n\n /** Indicates if activating the button should submit the form. Ignored when `href` is set. */\n @Prop({ reflect: true }) submit = false;\n\n /** Indicates if activating the button should reset the form. */\n @Prop({ reflect: true }) reset = false;\n\n /** An optional name for the button. Ignored when `href` is set. */\n @Prop() name = '';\n\n /** An optional value for the button. Ignored when `href` is set. */\n @Prop() value = '';\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @Prop() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @Prop() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is set. */\n @Prop() download?: string;\n\n /** Emitted when the button loses focus. */\n @Event({ eventName: 'six-button-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the button gains focus. */\n @Event({ eventName: 'six-button-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeButton?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.nativeButton?.blur();\n }\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlot(this.host);\n this.hasPrefix = hasSlot(this.host, 'prefix');\n this.hasSuffix = hasSlot(this.host, 'suffix');\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleClick = (event: MouseEvent) => {\n if (this.disabled || this.loading) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n if (this.submit) {\n event.preventDefault();\n submitForm(this.host);\n }\n };\n\n render() {\n const isLink = this.href != null;\n const isButton = !isLink;\n const Button = isLink ? 'a' : 'button';\n\n return (\n <div onClick={this.handleClick} class={{ 'button-wrapper--disabled': this.disabled }}>\n <Button\n ref={(el) => (this.nativeButton = el)}\n part=\"base\"\n class={{\n button: true,\n\n // Types\n 'button--secondary': this.type === 'secondary',\n 'button--primary': this.type === 'primary',\n 'button--link': this.type === 'link',\n 'button--success': this.type === 'success',\n 'button--warning': this.type === 'warning',\n 'button--danger': this.type === 'danger',\n 'button--action': this.type === 'action',\n\n // Sizes\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n\n // Modifiers\n 'button--caret': this.caret,\n 'button--circle': this.circle,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--loading': this.loading,\n 'button--pill': this.pill,\n 'button--has-label': this.hasLabel,\n 'button--has-prefix': this.hasPrefix,\n 'button--has-suffix': this.hasSuffix,\n }}\n disabled={isButton ? this.disabled : undefined}\n tabindex={this.disabled ? '-1' : undefined}\n type={isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined}\n name={isButton ? this.name : undefined}\n value={isButton ? this.value : undefined}\n href={isLink ? this.href : undefined}\n target={isLink && this.target != null ? this.target : undefined}\n download={isLink && this.download != null ? this.download : undefined}\n rel={isLink && this.target != null ? 'noreferrer noopener' : undefined}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n data-testid=\"button\"\n >\n <span part=\"prefix\" class=\"button__prefix\">\n <slot onSlotchange={this.handleSlotChange} name=\"prefix\" />\n </span>\n <span part=\"label\" class=\"button__label\">\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n <span part=\"suffix\" class=\"button__suffix\">\n <slot onSlotchange={this.handleSlotChange} name=\"suffix\" />\n </span>\n {this.caret && (\n <span part=\"caret\" class=\"button__caret\">\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n )}\n\n {this.loading && <six-spinner />}\n </Button>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-button.js","sourceRoot":"","sources":["../../../src/components/six-button/six-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { submitForm } from '../../utils/form';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The button's label.\n * @slot prefix - Used to prepend an icon or similar element to the button.\n * @slot suffix - Used to append an icon or similar element to the button.\n *\n * @part base - The component's base wrapper.\n * @part prefix - The prefix container.\n * @part label - The button's label.\n * @part suffix - The suffix container.\n * @part caret - The button's caret.\n */\n\n@Component({\n tag: 'six-button',\n styleUrl: 'six-button.scss',\n shadow: true,\n})\nexport class SixButton {\n private nativeButton?: HTMLButtonElement | HTMLAnchorElement;\n\n @Element() host!: HTMLSixButtonElement;\n\n @State() hasFocus = false;\n @State() hasLabel = false;\n @State() hasPrefix = false;\n @State() hasSuffix = false;\n\n /** The button's type. */\n @Prop({ reflect: true }) type: 'secondary' | 'primary' | 'link' | 'success' | 'warning' | 'danger' | 'action' =\n 'primary';\n\n /** The button's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */\n @Prop() caret = false;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to draw the button in a loading state. */\n @Prop({ reflect: true }) loading = false;\n\n /** Set to true to draw a pill-style button with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to draw a circle button. */\n @Prop({ reflect: true }) circle = false;\n\n /** Indicates if activating the button should submit the form. Ignored when `href` is set. */\n @Prop({ reflect: true }) submit = false;\n\n /** Indicates if activating the button should reset the form. */\n @Prop({ reflect: true }) reset = false;\n\n /** An optional name for the button. Ignored when `href` is set. */\n @Prop() name = '';\n\n /** An optional value for the button. Ignored when `href` is set. */\n @Prop() value = '';\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @Prop() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @Prop() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is set. */\n @Prop() download?: string;\n\n /** Emitted when the button loses focus. */\n @Event({ eventName: 'six-button-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the button gains focus. */\n @Event({ eventName: 'six-button-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeButton?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.nativeButton?.blur();\n }\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlot(this.host);\n this.hasPrefix = hasSlot(this.host, 'prefix');\n this.hasSuffix = hasSlot(this.host, 'suffix');\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleClick = (event: MouseEvent) => {\n if (this.disabled || this.loading) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n if (this.submit) {\n event.preventDefault();\n submitForm(this.host);\n }\n };\n\n render() {\n const isLink = this.href != null;\n const isButton = !isLink;\n const Button = isLink ? 'a' : 'button';\n\n return (\n <div onClick={this.handleClick} class={{ 'button-wrapper--disabled': this.disabled }}>\n <Button\n ref={(el) => (this.nativeButton = el)}\n part=\"base\"\n class={{\n button: true,\n\n // Types\n 'button--secondary': this.type === 'secondary',\n 'button--primary': this.type === 'primary',\n 'button--link': this.type === 'link',\n 'button--success': this.type === 'success',\n 'button--warning': this.type === 'warning',\n 'button--danger': this.type === 'danger',\n 'button--action': this.type === 'action',\n\n // Sizes\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n\n // Modifiers\n 'button--caret': this.caret,\n 'button--circle': this.circle,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--loading': this.loading,\n 'button--pill': this.pill,\n 'button--has-label': this.hasLabel,\n 'button--has-prefix': this.hasPrefix,\n 'button--has-suffix': this.hasSuffix,\n }}\n disabled={isButton ? this.disabled : undefined}\n tabindex={this.disabled ? '-1' : undefined}\n type={isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined}\n name={isButton ? this.name : undefined}\n value={isButton ? this.value : undefined}\n href={isLink ? this.href : undefined}\n target={isLink && this.target != null ? this.target : undefined}\n download={isLink && this.download != null ? this.download : undefined}\n rel={isLink && this.target != null ? 'noreferrer noopener' : undefined}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n data-testid=\"button\"\n >\n <span part=\"prefix\" class=\"button__prefix\">\n <slot onSlotchange={this.handleSlotChange} name=\"prefix\" />\n </span>\n <span part=\"label\" class=\"button__label\">\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n <span part=\"suffix\" class=\"button__suffix\">\n <slot onSlotchange={this.handleSlotChange} name=\"suffix\" />\n </span>\n {this.caret && (\n <span part=\"caret\" class=\"button__caret\">\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n )}\n\n {this.loading && <six-spinner />}\n </Button>\n </div>\n );\n }\n}\n"]}
@@ -3,13 +3,12 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  :host {
10
10
  display: inline-block;
11
- box-shadow: var(--six-elevation-8dp);
12
- border-radius: 0;
13
- padding: 1rem;
14
- margin-bottom: 0.6rem;
11
+ box-shadow: var(--six-shadow-medium);
12
+ border: 1px solid var(--six-color-web-rock-100);
13
+ padding: var(--six-spacing-medium);
15
14
  }
@@ -3,7 +3,7 @@
3
3
  box-sizing: border-box;
4
4
  }
5
5
  :host *, :host *:before, :host *:after {
6
- box-sizing: inherit;
6
+ box-sizing: border-box;
7
7
  }
8
8
 
9
9
  .form-control .form-control__label {
@@ -390,8 +390,9 @@ export class SixCheckbox {
390
390
  "complexType": {
391
391
  "signature": "(options?: FocusOptions) => Promise<void>",
392
392
  "parameters": [{
393
- "tags": [],
394
- "text": ""
393
+ "name": "options",
394
+ "type": "FocusOptions | undefined",
395
+ "docs": ""
395
396
  }],
396
397
  "references": {
397
398
  "Promise": {