@six-group/ui-library 0.0.0-insider.513eb55 → 0.0.0-insider.53504c0

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 (385) hide show
  1. package/dist/cjs/index-417a06c8.js +20 -8
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/six-avatar.cjs.entry.js +2 -2
  4. package/dist/cjs/six-badge.cjs.entry.js +2 -2
  5. package/dist/cjs/six-button.cjs.entry.js +3 -3
  6. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  7. package/dist/cjs/six-card.cjs.entry.js +1 -1
  8. package/dist/cjs/{six-checkbox_2.cjs.entry.js → six-checkbox.cjs.entry.js} +3 -67
  9. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
  10. package/dist/cjs/six-details.cjs.entry.js +3 -3
  11. package/dist/cjs/six-dialog.cjs.entry.js +2 -2
  12. package/dist/cjs/six-drawer.cjs.entry.js +2 -2
  13. package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +65 -1
  14. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  15. package/dist/cjs/six-error-page.cjs.entry.js +1 -1
  16. package/dist/cjs/six-error.cjs.entry.js +1 -1
  17. package/dist/cjs/six-file-list.cjs.entry.js +1 -1
  18. package/dist/cjs/six-footer.cjs.entry.js +1 -1
  19. package/dist/cjs/six-group-label.cjs.entry.js +1 -1
  20. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  21. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  22. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  23. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  24. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  25. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  26. package/dist/cjs/six-header.cjs.entry.js +39 -30
  27. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  28. package/dist/cjs/six-icon-button.cjs.entry.js +10 -4
  29. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-icon.cjs.entry.js +2 -2
  31. package/dist/cjs/six-input.cjs.entry.js +3 -3
  32. package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
  33. package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/six-main-container.cjs.entry.js +1 -1
  35. package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
  36. package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
  37. package/dist/cjs/six-picto.cjs.entry.js +1 -1
  38. package/dist/cjs/six-progress-bar.cjs.entry.js +3 -3
  39. package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
  40. package/dist/cjs/six-radio.cjs.entry.js +2 -2
  41. package/dist/cjs/six-range.cjs.entry.js +2 -2
  42. package/dist/cjs/six-root.cjs.entry.js +1 -1
  43. package/dist/cjs/six-search-field.cjs.entry.js +1 -1
  44. package/dist/cjs/six-select.cjs.entry.js +6 -6
  45. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +2 -2
  46. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-sidebar-item.cjs.entry.js +3 -3
  48. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-sidebar.cjs.entry.js +2 -2
  50. package/dist/cjs/six-spinner.cjs.entry.js +38 -5
  51. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  52. package/dist/cjs/six-switch.cjs.entry.js +2 -2
  53. package/dist/cjs/six-tab-group.cjs.entry.js +2 -2
  54. package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
  55. package/dist/cjs/six-tab.cjs.entry.js +2 -2
  56. package/dist/cjs/six-tag.cjs.entry.js +2 -2
  57. package/dist/cjs/six-textarea.cjs.entry.js +2 -2
  58. package/dist/cjs/six-tile.cjs.entry.js +5 -5
  59. package/dist/cjs/six-tooltip.cjs.entry.js +2 -2
  60. package/dist/cjs/ui-library.cjs.js +1 -1
  61. package/dist/collection/collection-manifest.json +4 -0
  62. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  63. package/dist/collection/components/six-badge/six-badge.js +2 -2
  64. package/dist/collection/components/six-button/six-button.css +0 -4
  65. package/dist/collection/components/six-button/six-button.js +2 -2
  66. package/dist/collection/components/six-card/six-card.js +1 -1
  67. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  68. package/dist/collection/components/six-details/six-details.js +3 -3
  69. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  70. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  71. package/dist/collection/components/six-error/six-error.js +1 -1
  72. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  73. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  74. package/dist/collection/components/six-footer/six-footer.js +1 -1
  75. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  76. package/dist/collection/components/six-header/six-header.css +5 -29
  77. package/dist/collection/components/six-header/six-header.js +115 -47
  78. package/dist/collection/components/six-header/six-header.js.map +1 -1
  79. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  80. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  81. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  82. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  83. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  84. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  85. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  86. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  87. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  88. package/dist/collection/components/six-icon/six-icon.js +2 -2
  89. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  90. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  91. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  92. package/dist/collection/components/six-input/six-input.js +3 -3
  93. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  94. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  95. package/dist/collection/components/six-logo/six-logo.css +18 -0
  96. package/dist/collection/components/six-logo/six-logo.js +54 -0
  97. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  98. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  99. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  100. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  101. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  102. package/dist/collection/components/six-picto/six-picto.js +1 -1
  103. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  104. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  105. package/dist/collection/components/six-radio/six-radio.js +2 -2
  106. package/dist/collection/components/six-range/six-range.js +2 -2
  107. package/dist/collection/components/six-root/six-root.js +1 -1
  108. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  109. package/dist/collection/components/six-select/six-select.js +6 -6
  110. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  111. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  112. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  113. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
  114. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  115. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  116. package/dist/collection/components/six-spinner/six-spinner.css +45 -0
  117. package/dist/collection/components/six-spinner/six-spinner.js +59 -10
  118. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  119. package/dist/collection/components/six-switch/six-switch.js +2 -2
  120. package/dist/collection/components/six-tab/six-tab.js +2 -2
  121. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  122. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  123. package/dist/collection/components/six-tag/six-tag.js +2 -2
  124. package/dist/collection/components/six-textarea/six-textarea.js +2 -2
  125. package/dist/collection/components/six-tile/six-tile.js +5 -5
  126. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  127. package/dist/components/index.js +8 -0
  128. package/dist/components/index.js.map +1 -1
  129. package/dist/components/six-avatar.js +2 -2
  130. package/dist/components/six-badge.js +2 -2
  131. package/dist/components/six-button2.js +3 -3
  132. package/dist/components/six-button2.js.map +1 -1
  133. package/dist/components/six-card.js +1 -1
  134. package/dist/components/six-checkbox2.js +2 -2
  135. package/dist/components/six-details2.js +3 -3
  136. package/dist/components/six-dialog.js +2 -2
  137. package/dist/components/six-drawer.js +2 -2
  138. package/dist/components/six-error-page.js +1 -1
  139. package/dist/components/six-error2.js +1 -1
  140. package/dist/components/six-file-list.js +1 -1
  141. package/dist/components/six-footer.js +1 -1
  142. package/dist/components/six-group-label.js +1 -1
  143. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  144. package/dist/components/six-header-dropdown-item.js +103 -0
  145. package/dist/components/six-header-dropdown-item.js.map +1 -0
  146. package/dist/components/six-header-item.d.ts +11 -0
  147. package/dist/components/six-header-item.js +8 -0
  148. package/dist/components/six-header-item.js.map +1 -0
  149. package/dist/components/six-header-item2.js +39 -0
  150. package/dist/components/six-header-item2.js.map +1 -0
  151. package/dist/components/six-header-menu-button.d.ts +11 -0
  152. package/dist/components/six-header-menu-button.js +57 -0
  153. package/dist/components/six-header-menu-button.js.map +1 -0
  154. package/dist/components/six-header.js +64 -42
  155. package/dist/components/six-header.js.map +1 -1
  156. package/dist/components/six-icon-button2.js +14 -5
  157. package/dist/components/six-icon-button2.js.map +1 -1
  158. package/dist/components/six-icon2.js +2 -2
  159. package/dist/components/six-input2.js +3 -3
  160. package/dist/components/six-language-switcher.js +1 -1
  161. package/dist/components/six-layout-grid.js +1 -1
  162. package/dist/components/six-logo.d.ts +11 -0
  163. package/dist/components/six-logo.js +8 -0
  164. package/dist/components/six-logo.js.map +1 -0
  165. package/dist/components/six-logo2.js +42 -0
  166. package/dist/components/six-logo2.js.map +1 -0
  167. package/dist/components/six-main-container.js +1 -1
  168. package/dist/components/six-menu-divider.js +1 -1
  169. package/dist/components/six-menu-item2.js +2 -2
  170. package/dist/components/six-menu-label.js +1 -1
  171. package/dist/components/six-picto2.js +1 -1
  172. package/dist/components/six-progress-bar.js +3 -3
  173. package/dist/components/six-progress-ring.js +1 -1
  174. package/dist/components/six-radio.js +2 -2
  175. package/dist/components/six-range.js +2 -2
  176. package/dist/components/six-root.js +1 -1
  177. package/dist/components/six-search-field.js +1 -1
  178. package/dist/components/six-select.js +6 -6
  179. package/dist/components/six-sidebar-item-group.js +2 -2
  180. package/dist/components/six-sidebar-item-group.js.map +1 -1
  181. package/dist/components/six-sidebar-item.js +3 -3
  182. package/dist/components/six-sidebar-item.js.map +1 -1
  183. package/dist/components/six-sidebar.js +2 -2
  184. package/dist/components/six-spinner2.js +39 -5
  185. package/dist/components/six-spinner2.js.map +1 -1
  186. package/dist/components/six-switch.js +2 -2
  187. package/dist/components/six-tab-group.js +2 -2
  188. package/dist/components/six-tab-panel.js +1 -1
  189. package/dist/components/six-tab.js +2 -2
  190. package/dist/components/six-tag.js +2 -2
  191. package/dist/components/six-textarea.js +2 -2
  192. package/dist/components/six-tile.js +5 -5
  193. package/dist/components/six-tooltip2.js +2 -2
  194. package/dist/components.json +507 -31
  195. package/dist/esm/index-a7bee415.js +20 -8
  196. package/dist/esm/loader.js +1 -1
  197. package/dist/esm/six-avatar.entry.js +2 -2
  198. package/dist/esm/six-badge.entry.js +2 -2
  199. package/dist/esm/six-button.entry.js +3 -3
  200. package/dist/esm/six-button.entry.js.map +1 -1
  201. package/dist/esm/six-card.entry.js +1 -1
  202. package/dist/esm/{six-checkbox_2.entry.js → six-checkbox.entry.js} +5 -68
  203. package/dist/esm/six-checkbox.entry.js.map +1 -0
  204. package/dist/esm/six-details.entry.js +3 -3
  205. package/dist/esm/six-dialog.entry.js +2 -2
  206. package/dist/esm/six-drawer.entry.js +2 -2
  207. package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +65 -2
  208. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  209. package/dist/esm/six-error-page.entry.js +1 -1
  210. package/dist/esm/six-error.entry.js +1 -1
  211. package/dist/esm/six-file-list.entry.js +1 -1
  212. package/dist/esm/six-footer.entry.js +1 -1
  213. package/dist/esm/six-group-label.entry.js +1 -1
  214. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  215. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  216. package/dist/esm/six-header-item_2.entry.js +42 -0
  217. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  218. package/dist/esm/six-header-menu-button.entry.js +19 -0
  219. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  220. package/dist/esm/six-header.entry.js +39 -30
  221. package/dist/esm/six-header.entry.js.map +1 -1
  222. package/dist/esm/six-icon-button.entry.js +10 -4
  223. package/dist/esm/six-icon-button.entry.js.map +1 -1
  224. package/dist/esm/six-icon.entry.js +2 -2
  225. package/dist/esm/six-input.entry.js +3 -3
  226. package/dist/esm/six-language-switcher.entry.js +1 -1
  227. package/dist/esm/six-layout-grid.entry.js +1 -1
  228. package/dist/esm/six-main-container.entry.js +1 -1
  229. package/dist/esm/six-menu-divider.entry.js +1 -1
  230. package/dist/esm/six-menu-label.entry.js +1 -1
  231. package/dist/esm/six-picto.entry.js +1 -1
  232. package/dist/esm/six-progress-bar.entry.js +3 -3
  233. package/dist/esm/six-progress-ring.entry.js +1 -1
  234. package/dist/esm/six-radio.entry.js +2 -2
  235. package/dist/esm/six-range.entry.js +2 -2
  236. package/dist/esm/six-root.entry.js +1 -1
  237. package/dist/esm/six-search-field.entry.js +1 -1
  238. package/dist/esm/six-select.entry.js +6 -6
  239. package/dist/esm/six-sidebar-item-group.entry.js +2 -2
  240. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  241. package/dist/esm/six-sidebar-item.entry.js +3 -3
  242. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  243. package/dist/esm/six-sidebar.entry.js +2 -2
  244. package/dist/esm/six-spinner.entry.js +38 -5
  245. package/dist/esm/six-spinner.entry.js.map +1 -1
  246. package/dist/esm/six-switch.entry.js +2 -2
  247. package/dist/esm/six-tab-group.entry.js +2 -2
  248. package/dist/esm/six-tab-panel.entry.js +1 -1
  249. package/dist/esm/six-tab.entry.js +2 -2
  250. package/dist/esm/six-tag.entry.js +2 -2
  251. package/dist/esm/six-textarea.entry.js +2 -2
  252. package/dist/esm/six-tile.entry.js +5 -5
  253. package/dist/esm/six-tooltip.entry.js +2 -2
  254. package/dist/esm/ui-library.js +1 -1
  255. package/dist/types/components/six-header/six-header.d.ts +79 -18
  256. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  257. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  258. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  259. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  260. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  261. package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
  262. package/dist/types/components.d.ts +205 -5
  263. package/dist/ui-library/{p-1e47e014.entry.js → p-03acec96.entry.js} +2 -2
  264. package/dist/ui-library/{p-9915dfc2.entry.js → p-06d562b7.entry.js} +2 -2
  265. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  266. package/dist/ui-library/{p-b4bd1767.entry.js → p-0a6b6429.entry.js} +2 -2
  267. package/dist/ui-library/p-14d09601.entry.js +2 -0
  268. package/dist/ui-library/{p-8fe4ec36.entry.js → p-171df3ad.entry.js} +2 -2
  269. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  270. package/dist/ui-library/{p-43213f9e.entry.js.map → p-1cc3b56d.entry.js.map} +1 -1
  271. package/dist/ui-library/{p-45761392.entry.js → p-1cd09d9b.entry.js} +2 -2
  272. package/dist/ui-library/{p-f0bc11a5.entry.js → p-1f7a0cb5.entry.js} +2 -2
  273. package/dist/ui-library/p-2355c444.entry.js +2 -0
  274. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  275. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  276. package/dist/ui-library/{p-418413d3.entry.js → p-49019d6c.entry.js} +2 -2
  277. package/dist/ui-library/{p-e8c717d3.entry.js → p-4d72b179.entry.js} +2 -2
  278. package/dist/ui-library/{p-5a513e96.entry.js → p-4de4ee7a.entry.js} +2 -2
  279. package/dist/ui-library/p-4edde816.entry.js +2 -0
  280. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  281. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  282. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  283. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  284. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  285. package/dist/ui-library/{p-c1cd72fb.entry.js → p-5ece7986.entry.js} +2 -2
  286. package/dist/ui-library/p-5f491974.entry.js +2 -0
  287. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  288. package/dist/ui-library/{p-f9b341a3.entry.js → p-5fc9cd7b.entry.js} +2 -2
  289. package/dist/ui-library/{p-2146cf22.entry.js → p-618bf750.entry.js} +2 -2
  290. package/dist/ui-library/{p-84370073.entry.js → p-62a1f514.entry.js} +2 -2
  291. package/dist/ui-library/{p-a929b095.entry.js → p-6513b8ce.entry.js} +2 -2
  292. package/dist/ui-library/{p-f12eec83.entry.js → p-6795e0a9.entry.js} +2 -2
  293. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  294. package/dist/ui-library/p-705e3612.entry.js +2 -0
  295. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  296. package/dist/ui-library/{p-e0ac4cd8.entry.js → p-7eb9ae75.entry.js} +2 -2
  297. package/dist/ui-library/{p-aa319c2c.entry.js → p-870139dc.entry.js} +2 -2
  298. package/dist/ui-library/{p-70a7e87c.entry.js → p-a20a702a.entry.js} +2 -2
  299. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  300. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  301. package/dist/ui-library/{p-160223d5.entry.js → p-afb15ea4.entry.js} +2 -2
  302. package/dist/ui-library/{p-cb510ea1.entry.js → p-bfb398c6.entry.js} +2 -2
  303. package/dist/ui-library/{p-e3ff26dd.entry.js → p-cd65e3b2.entry.js} +2 -2
  304. package/dist/ui-library/p-cd79700c.entry.js +2 -0
  305. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  306. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  307. package/dist/ui-library/{p-22f2ca14.entry.js → p-d46acf21.entry.js} +2 -2
  308. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  309. package/dist/ui-library/{p-6be7f9f4.entry.js → p-db193a32.entry.js} +2 -2
  310. package/dist/ui-library/{p-bbf2ac6b.entry.js → p-e1529ef6.entry.js} +2 -2
  311. package/dist/ui-library/{p-ecfb0aec.entry.js → p-e181944f.entry.js} +2 -2
  312. package/dist/ui-library/{p-798e7eeb.entry.js → p-e6efc08a.entry.js} +2 -2
  313. package/dist/ui-library/p-e9462085.entry.js +2 -0
  314. package/dist/ui-library/p-e9462085.entry.js.map +1 -0
  315. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  316. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  317. package/dist/ui-library/{p-3267becc.entry.js → p-f12b22bc.entry.js} +2 -2
  318. package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
  319. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  320. package/dist/ui-library/{p-e8e16974.entry.js → p-ffce31da.entry.js} +2 -2
  321. package/dist/ui-library/ui-library.css +1 -1
  322. package/dist/ui-library/ui-library.esm.js +1 -1
  323. package/dist/ui-library/ui-library.esm.js.map +1 -1
  324. package/package.json +1 -1
  325. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
  326. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  327. package/dist/esm/six-checkbox_2.entry.js.map +0 -1
  328. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  329. package/dist/ui-library/p-1b67b95f.entry.js +0 -2
  330. package/dist/ui-library/p-3f6cc2c2.entry.js +0 -2
  331. package/dist/ui-library/p-43213f9e.entry.js +0 -2
  332. package/dist/ui-library/p-53867d77.entry.js +0 -2
  333. package/dist/ui-library/p-53867d77.entry.js.map +0 -1
  334. package/dist/ui-library/p-559a15db.entry.js +0 -2
  335. package/dist/ui-library/p-592c7cf9.entry.js +0 -2
  336. package/dist/ui-library/p-592c7cf9.entry.js.map +0 -1
  337. package/dist/ui-library/p-783ec07c.entry.js +0 -2
  338. package/dist/ui-library/p-783ec07c.entry.js.map +0 -1
  339. package/dist/ui-library/p-78a4fabd.entry.js +0 -2
  340. package/dist/ui-library/p-78a4fabd.entry.js.map +0 -1
  341. package/dist/ui-library/p-9370d59e.entry.js +0 -2
  342. package/dist/ui-library/p-9bb03da7.entry.js +0 -2
  343. package/dist/ui-library/p-9bb03da7.entry.js.map +0 -1
  344. package/dist/ui-library/p-a9c733e3.entry.js +0 -2
  345. package/dist/ui-library/p-a9c733e3.entry.js.map +0 -1
  346. package/dist/ui-library/p-aff7bbcb.entry.js +0 -2
  347. package/dist/ui-library/p-aff7bbcb.entry.js.map +0 -1
  348. package/dist/ui-library/p-b3b243a6.entry.js +0 -2
  349. package/dist/ui-library/p-c6f5a872.entry.js +0 -2
  350. package/dist/ui-library/p-cf323369.entry.js +0 -2
  351. package/dist/ui-library/p-cf323369.entry.js.map +0 -1
  352. /package/dist/ui-library/{p-1e47e014.entry.js.map → p-03acec96.entry.js.map} +0 -0
  353. /package/dist/ui-library/{p-9915dfc2.entry.js.map → p-06d562b7.entry.js.map} +0 -0
  354. /package/dist/ui-library/{p-c6f5a872.entry.js.map → p-07b6203f.entry.js.map} +0 -0
  355. /package/dist/ui-library/{p-b4bd1767.entry.js.map → p-0a6b6429.entry.js.map} +0 -0
  356. /package/dist/ui-library/{p-3f6cc2c2.entry.js.map → p-14d09601.entry.js.map} +0 -0
  357. /package/dist/ui-library/{p-8fe4ec36.entry.js.map → p-171df3ad.entry.js.map} +0 -0
  358. /package/dist/ui-library/{p-45761392.entry.js.map → p-1cd09d9b.entry.js.map} +0 -0
  359. /package/dist/ui-library/{p-f0bc11a5.entry.js.map → p-1f7a0cb5.entry.js.map} +0 -0
  360. /package/dist/ui-library/{p-559a15db.entry.js.map → p-2355c444.entry.js.map} +0 -0
  361. /package/dist/ui-library/{p-418413d3.entry.js.map → p-49019d6c.entry.js.map} +0 -0
  362. /package/dist/ui-library/{p-e8c717d3.entry.js.map → p-4d72b179.entry.js.map} +0 -0
  363. /package/dist/ui-library/{p-5a513e96.entry.js.map → p-4de4ee7a.entry.js.map} +0 -0
  364. /package/dist/ui-library/{p-c1cd72fb.entry.js.map → p-5ece7986.entry.js.map} +0 -0
  365. /package/dist/ui-library/{p-f9b341a3.entry.js.map → p-5fc9cd7b.entry.js.map} +0 -0
  366. /package/dist/ui-library/{p-2146cf22.entry.js.map → p-618bf750.entry.js.map} +0 -0
  367. /package/dist/ui-library/{p-84370073.entry.js.map → p-62a1f514.entry.js.map} +0 -0
  368. /package/dist/ui-library/{p-a929b095.entry.js.map → p-6513b8ce.entry.js.map} +0 -0
  369. /package/dist/ui-library/{p-f12eec83.entry.js.map → p-6795e0a9.entry.js.map} +0 -0
  370. /package/dist/ui-library/{p-b3b243a6.entry.js.map → p-6ec126f7.entry.js.map} +0 -0
  371. /package/dist/ui-library/{p-e0ac4cd8.entry.js.map → p-7eb9ae75.entry.js.map} +0 -0
  372. /package/dist/ui-library/{p-aa319c2c.entry.js.map → p-870139dc.entry.js.map} +0 -0
  373. /package/dist/ui-library/{p-70a7e87c.entry.js.map → p-a20a702a.entry.js.map} +0 -0
  374. /package/dist/ui-library/{p-160223d5.entry.js.map → p-afb15ea4.entry.js.map} +0 -0
  375. /package/dist/ui-library/{p-cb510ea1.entry.js.map → p-bfb398c6.entry.js.map} +0 -0
  376. /package/dist/ui-library/{p-e3ff26dd.entry.js.map → p-cd65e3b2.entry.js.map} +0 -0
  377. /package/dist/ui-library/{p-1b67b95f.entry.js.map → p-cd79700c.entry.js.map} +0 -0
  378. /package/dist/ui-library/{p-22f2ca14.entry.js.map → p-d46acf21.entry.js.map} +0 -0
  379. /package/dist/ui-library/{p-9370d59e.entry.js.map → p-d67b8482.entry.js.map} +0 -0
  380. /package/dist/ui-library/{p-6be7f9f4.entry.js.map → p-db193a32.entry.js.map} +0 -0
  381. /package/dist/ui-library/{p-bbf2ac6b.entry.js.map → p-e1529ef6.entry.js.map} +0 -0
  382. /package/dist/ui-library/{p-ecfb0aec.entry.js.map → p-e181944f.entry.js.map} +0 -0
  383. /package/dist/ui-library/{p-798e7eeb.entry.js.map → p-e6efc08a.entry.js.map} +0 -0
  384. /package/dist/ui-library/{p-3267becc.entry.js.map → p-f12b22bc.entry.js.map} +0 -0
  385. /package/dist/ui-library/{p-e8e16974.entry.js.map → p-ffce31da.entry.js.map} +0 -0
@@ -103,12 +103,12 @@ export class SixRadio {
103
103
  return this.getAllRadios().filter((radio) => radio !== this.host);
104
104
  }
105
105
  render() {
106
- return (h("label", { key: '1b6f98dbd3e95d64cb272c0b9c82b88fb9d67a7e', part: "base", class: {
106
+ return (h("label", { key: '1d4d0be85edb89c166b6f22ea72498b9c8d8cea8', part: "base", class: {
107
107
  radio: true,
108
108
  'radio--checked': this.checked,
109
109
  'radio--disabled': this.disabled,
110
110
  'radio--focused': this.hasFocus,
111
- }, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: 'c8740894c30202709d78edfd1ab8ad0efb724d1d', part: "control", class: "radio__control" }, h("span", { key: '2c3f19b963075cf1b6e3f9b10f322b228fd9d9f5', part: "checked-icon", class: "radio__icon" }, h("svg", { key: 'a7ba9f65e0c0afa5d07aaabfe142fc72e68d1b3b', viewBox: "0 0 16 16" }, h("g", { key: '7f929b5e3ba26ed47da766acbc5103ec132ffc5c', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: '7ee2d214b117083ce717b0492fa1ff7b02943201', fill: "currentColor" }, h("circle", { key: 'de9ccc22cb186b1accae8b1c43a894827f4985fc', cx: "8", cy: "8", r: "5" }))))), h("input", { key: '33504cb97e18a1dbf1f9c09c52dd526b2a549eee', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, role: "radio", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: 'c83bf568da9bd0451c2ea98e3ecd4f40d2093574', part: "label", id: this.labelId, class: "radio__label" }, h("slot", { key: 'a68a99a2050d405cdfcc3be435ec6719a389ca02' }))));
111
+ }, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: '76b4c8511865e24af02bb954155c3b73d005b0af', part: "control", class: "radio__control" }, h("span", { key: '8a236d9faf510c005b77ff71917f79928478f558', part: "checked-icon", class: "radio__icon" }, h("svg", { key: 'a09807981249028dab896dd1363455f742ffc3ae', viewBox: "0 0 16 16" }, h("g", { key: '2794897dc88c3c531a560966702eee882a0ad34f', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: 'e698f2e02915293aa3d61191971a009e1075882a', fill: "currentColor" }, h("circle", { key: '0c08e9a157e5fe0155bb2859a70a302549a35129', cx: "8", cy: "8", r: "5" }))))), h("input", { key: 'ca747587d281cb058c73dff36bbbb24f92c513ef', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, role: "radio", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: '9e4de8ac9871f4ed19960842ff4da889f03b697b', part: "label", id: this.labelId, class: "radio__label" }, h("slot", { key: 'cb241e2debf683cc9f799606a48724f824c7dbfe' }))));
112
112
  }
113
113
  static get is() { return "six-radio"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -188,7 +188,7 @@ export class SixRange {
188
188
  }
189
189
  }
190
190
  render() {
191
- return (h(FormControl, { key: '913b66d4eb5aa5b68ae95f1206c9980d8ea667ca', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, size: "medium", errorTextId: this.errorTextId, errorText: this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, errorTextCount: this.errorTextCount, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '04ccd3b0577d7f5b4a3bfb5a043e47093df75bbf', part: "base", class: {
191
+ return (h(FormControl, { key: '247e4d734ffd21fb8600961f821e38088e7746d7', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, size: "medium", errorTextId: this.errorTextId, errorText: this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, errorTextCount: this.errorTextCount, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '253bbcaffc90185969ccc1eb96cafe889b3130f2', part: "base", class: {
192
192
  range: true,
193
193
  // States
194
194
  'range--disabled': this.disabled,
@@ -196,7 +196,7 @@ export class SixRange {
196
196
  'range--tooltip-visible': this.hasTooltip,
197
197
  'range--tooltip-top': this.tooltip === 'top',
198
198
  'range--tooltip-bottom': this.tooltip === 'bottom',
199
- }, onTouchStart: this.handleTouchStart }, h("input", { key: '128f188b76ee5b9f77237017a794c96de858994d', part: "input", ref: (el) => (this.nativeInput = el), type: "range", class: "range__control", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.tooltip !== 'none' && (h("output", { key: '98fb9159f2d805cd0d6e146512ca42210bd69963', part: "tooltip", ref: (el) => (this.output = el), class: "range__tooltip" }, this.tooltipFormatter(this.value))))));
199
+ }, onTouchStart: this.handleTouchStart }, h("input", { key: '83c6c8855ca6df0ee2d95a95fee668b5bbf306db', part: "input", ref: (el) => (this.nativeInput = el), type: "range", class: "range__control", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.tooltip !== 'none' && (h("output", { key: 'fac373f95f6bfebd98e52f92fc74825e853f6812', part: "tooltip", ref: (el) => (this.output = el), class: "range__tooltip" }, this.tooltipFormatter(this.value))))));
200
200
  }
201
201
  static get is() { return "six-range"; }
202
202
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class SixRoot {
16
16
  this.version = '';
17
17
  }
18
18
  render() {
19
- return (h("host", { key: '549ee9fd2e4850365083c9ae5d8d253dffbc466d', class: "six-root" }, h("header", { key: '046e93e958b343eb136876eee02798770f1feefe', part: "header" }, this.stage && h("six-stage-indicator", { key: 'e423d4ceb86b2d2d018490a621c54794877a300f', stage: this.stage }, this.version), h("slot", { key: 'ee66ebecd9d1245483a90762bc4141918d03b014', name: "header" })), h("nav", { key: 'd0cdeb47a188daa81aeeea0f7c9a9a57d51b9d88', class: "six-root__left-sidebar", part: "left-sidebar" }, h("slot", { key: 'c7542081f6914e7c5491e1d301e2a091d3e96ff5', name: "left-sidebar" })), h("main", { key: 'e5e7a34d2892fd2abdaa1a04cc7d625aefde269d', part: "main" }, h("div", { key: '3cac5b7f321ef72d0b112cfbfe62387c3cb25f12', class: { 'six-root__container': true, 'six-root__container--padded': this.padded }, part: "container" }, h("slot", { key: 'fca6a6cf79eaacf46a66c3b7c2edff570237653a', name: "main" })), h("div", { key: '4ebed8d2d26c21e7191f920fb6b2aa72345db598', class: "six-root__footer" }, h("slot", { key: 'b0c246ac208e9e00fe9715067bdcbfd31781bf1c', name: "footer" }))), h("nav", { key: 'fca1cc465b5251f3abd3d36df370244430efdf63', class: "six-root__right-sidebar", part: "right-sidebar" }, h("slot", { key: '3181f6a8cc65a2fc1b59edf0944934b2dfb83396', name: "right-sidebar" }))));
19
+ return (h("host", { key: 'bb7825453e8962c4284fb6fbb4134c4b7767ffbd', class: "six-root" }, h("header", { key: '443e36e1fb8ab628ab2e1bde1eef3f3f0a6c9a3e', part: "header" }, this.stage && h("six-stage-indicator", { key: 'e10e1a45360e64f7319e15b5a615b898e41c5a6f', stage: this.stage }, this.version), h("slot", { key: '83f124f27a434c0eaab23e25c9690e63619d3238', name: "header" })), h("nav", { key: '52f47a0ea56ea73c01acfb974005b25a07f31c1c', class: "six-root__left-sidebar", part: "left-sidebar" }, h("slot", { key: 'dc394fd3eba205aae4bfff5a17f826e64d7aabcb', name: "left-sidebar" })), h("main", { key: '6bc11607edf2b772a2ae8e83aa6116d0996353f2', part: "main" }, h("div", { key: 'dce7d4f1ff72fdad0daf1ded16d6e91c709ea837', class: { 'six-root__container': true, 'six-root__container--padded': this.padded }, part: "container" }, h("slot", { key: '2f738b3b6705db8d0bfe07590df59cc4d243cad0', name: "main" })), h("div", { key: '005c723d6515ffc9a0acdc51460a4f51872ae717', class: "six-root__footer" }, h("slot", { key: '8cc3c97bc3c1a328ed4a99dfa1b17c6d3abb4607', name: "footer" }))), h("nav", { key: '05b12db2b51c4c4b5cb0de37c7f79d7e3220dda6', class: "six-root__right-sidebar", part: "right-sidebar" }, h("slot", { key: '9c7977c0f58dc781acb189a816f5dc0cd61c8304', name: "right-sidebar" }))));
20
20
  }
21
21
  static get is() { return "six-root"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class SixSearchField {
42
42
  this.eventListeners.removeAll();
43
43
  }
44
44
  render() {
45
- return (h("div", { key: '045aed33c2cfa19af88ab23c642ce7574b8cfae5', class: "search-box" }, h("six-input", { key: '5938a5d9613574fae1f1094bdefdf3ce96729750', ref: (el) => (this.inputElement = el), placeholder: this.placeholder, value: this.value, disabled: this.disabled, clearable: this.clearable }, h("six-icon", { key: 'b6751944913567cdf88fab8fab75064c839c1d2c', class: "search-box__icon", slot: "prefix", size: "small", onClick: this.handleInputChange }, "search")), h("slot", { key: '1487fe58f51d60e882fdb0a51a3fa9c3cd44164b' })));
45
+ return (h("div", { key: '108d928d1c28a1a37c0a6f00661e44ff921a7434', class: "search-box" }, h("six-input", { key: 'bd4002eab9d4077b70b0f3e730127a8cadad1d63', ref: (el) => (this.inputElement = el), placeholder: this.placeholder, value: this.value, disabled: this.disabled, clearable: this.clearable }, h("six-icon", { key: '900c6d660cf833c2a3068e608c947694e6b95ff6', class: "search-box__icon", slot: "prefix", size: "small", onClick: this.handleInputChange }, "search")), h("slot", { key: '7f834e95d2cbb6207c4a580099e6f62240cb587f' })));
46
46
  }
47
47
  static get is() { return "six-search-field"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -414,7 +414,7 @@ export class SixSelect {
414
414
  showClear = true;
415
415
  showExpand = false;
416
416
  }
417
- return (h(FormControl, { key: '3ace428a1b1a320508cb2a30998745d3eb915769', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { key: '8f425f828fb2db9ab7cc2edb81b6367a70709cf1', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
417
+ return (h(FormControl, { key: '521e8a99e7fb4ad2fb8ded4763eb8ed1e0eff293', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { key: 'ea5f0ec6216ab61ebcc1ae8add16b042e99297cc', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
418
418
  select: true,
419
419
  'select--open': this.isOpen,
420
420
  'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
@@ -429,20 +429,20 @@ export class SixSelect {
429
429
  'select--large': this.size === 'large',
430
430
  'select--pill': this.pill,
431
431
  'select--invalid': this.invalid,
432
- }, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: 'a26c8aec4099f5d2211f5ff52a51fedca0796af6', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
432
+ }, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: 'd6b14098f6aabd6212f71e3832890de646c6d97e', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
433
433
  select__box: true,
434
434
  'select__box--line': this.line,
435
435
  'select__box--autocomplete': this.autocomplete,
436
- }, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: 'cd8b84274335133824eddcade815aff7ea27a238', class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { key: '07ae0cdd7eb509b5c1882bedd360143c1241d573', exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { key: '1fe72676ba9941b0b0b62af35762a277730d1d04', part: "icon", class: "select__icon" }, h("six-icon", { key: '3c8226f4a4e5bb7319f59b793705d647962afc95', size: "medium" }, "expand_more"))), h("six-input", { key: 'afa6ecd6e8feb4f00a0486d8242a808581b8e05e', ref: (el) => (this.autocompleteInput = el), class: {
436
+ }, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: 'dd77b5234c29235a00f62b5e49b81dc5aba2ffda', class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { key: 'd30be3b2adb8f5eed29a3e7a5a59f4db007d62e9', exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { key: '7c40d29a181ce1f15bc1bacf059a9c8e9807be67', part: "icon", class: "select__icon" }, h("six-icon", { key: '6ac4a8bf6a4be113dcfd6bf2fd690c8b47aaaaeb', size: "medium" }, "expand_more"))), h("six-input", { key: '8f226312196871cd91abcb20da09c5a2811d1657', ref: (el) => (this.autocompleteInput = el), class: {
437
437
  select__input: true,
438
438
  'select__hidden-select': !this.autocomplete,
439
- }, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: '3f411a1ed1b6f59c9541144c3b9407300a03a61a', class: {
439
+ }, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: 'bb683893a8ad678f3cb01e8e42531b17bd20913c', class: {
440
440
  'selection-container': true,
441
441
  'selection-container--border': this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,
442
- } }, this.selectionContainerItems), h("six-menu", { key: 'c9b52607f90d8905693ba30901456f1c40615de7', ref: (el) => (this.menu = el), part: "menu", class: {
442
+ } }, this.selectionContainerItems), h("six-menu", { key: 'c7755a2e2da8134b6b58189c81c8354cac7a8e2e', ref: (el) => (this.menu = el), part: "menu", class: {
443
443
  select__menu: true,
444
444
  'select__menu--hidden': !hasMenuItems,
445
- }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: 'e7f555fc8f71befcf1b72af1a86946c8361efe0a', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { key: 'ccff8c2aec4773d0e9ba327cc411949eb9718197', class: "select-all", slot: "dropdown-footer" }, h("six-button", { key: 'd1ac499820ec60b7d1bf14e70c260a278941b8ee', type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
445
+ }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: '95fe463945090bd7a7cbc11066f4752dfff55034', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { key: '448f7d261edd83841fc82c4c3304ec497aa4c8f8', class: "select-all", slot: "dropdown-footer" }, h("six-button", { key: 'e393c3715514b8e9a0a710c408364e6c96f9a1d3', type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
446
446
  }
447
447
  hasSelection() {
448
448
  return this.multiple ? this.value.length > 0 : this.value !== '';
@@ -172,7 +172,7 @@ export class SixSidebar {
172
172
  this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
173
173
  }
174
174
  render() {
175
- return (h("host", { key: '741b0e635fe8e597e85b219387b9ed1a65c249bb', class: "six-sidebar" }, h("div", { key: 'ce801c660ffb1efd19c484d1d5d67782e91dd505', class: {
175
+ return (h("host", { key: '056450e289f2d1edff97ee37efbab15b85a76527', class: "six-sidebar" }, h("div", { key: 'c36b3f22dbc31e448373a0bb61886bb2acf383ed', class: {
176
176
  sidebar__container: true,
177
177
  'sidebar--visible': this.isVisible,
178
178
  'sidebar--open': this.open,
@@ -181,7 +181,7 @@ export class SixSidebar {
181
181
  }, style: {
182
182
  width: this.width,
183
183
  [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,
184
- }, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: 'c0a61942e1021afa89ab7d43a33bdfd60fb41df7' }))));
184
+ }, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '59362071f0a76df0714699478e8fcea6a34c83b3' }))));
185
185
  }
186
186
  static get is() { return "six-sidebar"; }
187
187
  static get encapsulation() { return "shadow"; }
@@ -24,4 +24,11 @@ a {
24
24
  }
25
25
  .sidebar-item.sidebar-item--selected {
26
26
  font-weight: var(--six-font-weight-bold);
27
+ }
28
+ .sidebar-item:focus {
29
+ outline: none;
30
+ }
31
+ .sidebar-item:focus-visible {
32
+ outline: var(--six-focus-ring);
33
+ outline-offset: var(--six-focus-ring-offset);
27
34
  }
@@ -14,11 +14,11 @@ export class SixSidebarItem {
14
14
  }
15
15
  render() {
16
16
  const Tag = this.href != null ? 'a' : 'div';
17
- return (h(Tag, { key: '5b21624400000b3cfcb706f2007fbfa0a968cdca', class: {
17
+ return (h(Tag, { key: '5618f9f2b4351163ed14c415ba2b4d010a3e987e', class: {
18
18
  'sidebar-item': true,
19
19
  'sidebar-item--selected': this.selected,
20
20
  'sidebar-item--disabled': this.disabled,
21
- }, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: 'c09f85f1ae5bc09c0da42fde4d96fcbd748670ec' })));
21
+ }, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: '4a0d18c33ba2c73f417374e39db25fe7c4a6a960' })));
22
22
  }
23
23
  static get is() { return "six-sidebar-item"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -41,4 +41,11 @@
41
41
  display: block;
42
42
  color: inherit;
43
43
  width: 100%;
44
+ }
45
+ .six-sidebar-details__link:focus {
46
+ outline: none;
47
+ }
48
+ .six-sidebar-details__link:focus-visible {
49
+ outline: var(--six-focus-ring);
50
+ outline-offset: calc(-1 * var(--six-focus-ring-offset));
44
51
  }
@@ -50,7 +50,7 @@ export class SixSidebarItemGroup {
50
50
  'six-sidebar-item-group': true,
51
51
  'six-sidebar-item-group--childless': !this.hasItems,
52
52
  'six-sidebar-item-group--subgroup': this.isSubgroup(),
53
- }, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
53
+ }, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems, tabindex: this.renderAsHref() ? -1 : undefined }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
54
54
  if (this.renderAsHref()) {
55
55
  return (h("a", { class: "six-sidebar-details__link", href: this.href }, element));
56
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC/B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;YACJ,CAAC;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,aAAa,CAAkB,cAAc,IAAI,IAAI,CAAC,CAAC;oBAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC/D,CAAC;gBACH,CAAC,GACK,CACT,CAAC;QACJ,CAAC,CAAC;wBAjEkB,KAAK;oBAGV,EAAE;oBAGF,EAAE;qBAGgB,EAAE;oBAGH,KAAK;;qCAKJ,KAAK;;;IAQtC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEO,UAAU;;QAChB,OAAO,CAAA,MAAA,IAAI,CAAC,IAAI,CAAC,aAAa,0CAAE,OAAO,CAAC,wBAAwB,CAAC,KAAI,IAAI,CAAC;IAC5E,CAAC;IAEO,YAAY;QAClB,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAwBD,MAAM;QACJ,MAAM,OAAO,GAAG,CACd,mBACE,KAAK,EAAE;gBACL,wBAAwB,EAAE,IAAI;gBAC9B,mCAAmC,EAAE,CAAC,IAAI,CAAC,QAAQ;gBACnD,kCAAkC,EAAE,IAAI,CAAC,UAAU,EAAE;aACtD,EACD,MAAM,EAAE,IAAI,EACZ,IAAI,EAAE,IAAI,CAAC,IAAI,kBACD,IAAI,CAAC,WAAW,EAC9B,UAAU,EAAE,IAAI,CAAC,QAAQ;YAEzB,WAAK,IAAI,EAAC,SAAS;gBACjB,WAAK,KAAK,EAAC,6BAA6B;oBACrC,IAAI,CAAC,IAAI,IAAI,gBAAU,KAAK,EAAC,kCAAkC,IAAE,IAAI,CAAC,IAAI,CAAY;oBACtF,IAAI,CAAC,IAAI,CACN,CACF;YACL,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC;YACjC,eAAQ,CACI,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC;YACxB,OAAO,CACL,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,OAAO,CACN,CACL,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested sidebar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar-item-group',\n styleUrl: 'six-sidebar-item-group.scss',\n shadow: true,\n})\nexport class SixSidebarItemGroup {\n @Element() readonly host!: HTMLSixSidebarItemGroupElement;\n\n @State() hasItems = false;\n\n /** Title of item group */\n @Prop() name = '';\n\n /** Icon of the group */\n @Prop() icon = '';\n\n /** A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Indicates whether the sidebar is shown */\n @Prop({ reflect: true }) open = false;\n\n /** Custom summary icon name. */\n @Prop() summaryIcon?: string;\n\n @State() summaryIconHasContent = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n connectedCallback() {\n this.handleSlotChange = this.handleSlotChange.bind(this);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange() {\n this.hasItems = hasSlot(this.host);\n }\n\n private isSubgroup() {\n return this.host.parentElement?.closest('six-sidebar-item-group') != null;\n }\n\n private renderAsHref(): boolean {\n return this.href != null && !this.hasItems;\n }\n\n private provideSlot = (name: string) => {\n if (this.summaryIconHasContent) {\n return (\n <div slot={name}>\n <slot name={name}></slot>\n </div>\n );\n }\n\n return (\n <slot\n name={name}\n onSlotchange={() => {\n const slot = this.host.shadowRoot?.querySelector<HTMLSlotElement>(`slot[name=\"${name}\"]`);\n if (slot != null) {\n this.summaryIconHasContent = slot.assignedNodes().length > 0;\n }\n }}\n ></slot>\n );\n };\n\n render() {\n const element = (\n <six-details\n class={{\n 'six-sidebar-item-group': true,\n 'six-sidebar-item-group--childless': !this.hasItems,\n 'six-sidebar-item-group--subgroup': this.isSubgroup(),\n }}\n inline={true}\n open={this.open}\n summary-icon={this.summaryIcon}\n hasContent={this.hasItems}\n >\n <div slot=\"summary\">\n <div class=\"six-sidebar-details__header\">\n {this.icon && <six-icon class=\"six-sidebar-details__header-icon\">{this.icon}</six-icon>}\n {this.name}\n </div>\n </div>\n {this.provideSlot('summary-icon')}\n <slot />\n </six-details>\n );\n\n if (this.renderAsHref()) {\n return (\n <a class=\"six-sidebar-details__link\" href={this.href}>\n {element}\n </a>\n );\n } else {\n return element;\n }\n }\n}\n"]}
1
+ {"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC/B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;YACJ,CAAC;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,aAAa,CAAkB,cAAc,IAAI,IAAI,CAAC,CAAC;oBAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC/D,CAAC;gBACH,CAAC,GACK,CACT,CAAC;QACJ,CAAC,CAAC;wBAjEkB,KAAK;oBAGV,EAAE;oBAGF,EAAE;qBAGgB,EAAE;oBAGH,KAAK;;qCAKJ,KAAK;;;IAQtC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEO,UAAU;;QAChB,OAAO,CAAA,MAAA,IAAI,CAAC,IAAI,CAAC,aAAa,0CAAE,OAAO,CAAC,wBAAwB,CAAC,KAAI,IAAI,CAAC;IAC5E,CAAC;IAEO,YAAY;QAClB,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAwBD,MAAM;QACJ,MAAM,OAAO,GAAG,CACd,mBACE,KAAK,EAAE;gBACL,wBAAwB,EAAE,IAAI;gBAC9B,mCAAmC,EAAE,CAAC,IAAI,CAAC,QAAQ;gBACnD,kCAAkC,EAAE,IAAI,CAAC,UAAU,EAAE;aACtD,EACD,MAAM,EAAE,IAAI,EACZ,IAAI,EAAE,IAAI,CAAC,IAAI,kBACD,IAAI,CAAC,WAAW,EAC9B,UAAU,EAAE,IAAI,CAAC,QAAQ,EACzB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9C,WAAK,IAAI,EAAC,SAAS;gBACjB,WAAK,KAAK,EAAC,6BAA6B;oBACrC,IAAI,CAAC,IAAI,IAAI,gBAAU,KAAK,EAAC,kCAAkC,IAAE,IAAI,CAAC,IAAI,CAAY;oBACtF,IAAI,CAAC,IAAI,CACN,CACF;YACL,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC;YACjC,eAAQ,CACI,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC;YACxB,OAAO,CACL,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,OAAO,CACN,CACL,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested sidebar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar-item-group',\n styleUrl: 'six-sidebar-item-group.scss',\n shadow: true,\n})\nexport class SixSidebarItemGroup {\n @Element() readonly host!: HTMLSixSidebarItemGroupElement;\n\n @State() hasItems = false;\n\n /** Title of item group */\n @Prop() name = '';\n\n /** Icon of the group */\n @Prop() icon = '';\n\n /** A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Indicates whether the sidebar is shown */\n @Prop({ reflect: true }) open = false;\n\n /** Custom summary icon name. */\n @Prop() summaryIcon?: string;\n\n @State() summaryIconHasContent = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n connectedCallback() {\n this.handleSlotChange = this.handleSlotChange.bind(this);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange() {\n this.hasItems = hasSlot(this.host);\n }\n\n private isSubgroup() {\n return this.host.parentElement?.closest('six-sidebar-item-group') != null;\n }\n\n private renderAsHref(): boolean {\n return this.href != null && !this.hasItems;\n }\n\n private provideSlot = (name: string) => {\n if (this.summaryIconHasContent) {\n return (\n <div slot={name}>\n <slot name={name}></slot>\n </div>\n );\n }\n\n return (\n <slot\n name={name}\n onSlotchange={() => {\n const slot = this.host.shadowRoot?.querySelector<HTMLSlotElement>(`slot[name=\"${name}\"]`);\n if (slot != null) {\n this.summaryIconHasContent = slot.assignedNodes().length > 0;\n }\n }}\n ></slot>\n );\n };\n\n render() {\n const element = (\n <six-details\n class={{\n 'six-sidebar-item-group': true,\n 'six-sidebar-item-group--childless': !this.hasItems,\n 'six-sidebar-item-group--subgroup': this.isSubgroup(),\n }}\n inline={true}\n open={this.open}\n summary-icon={this.summaryIcon}\n hasContent={this.hasItems}\n tabindex={this.renderAsHref() ? -1 : undefined}\n >\n <div slot=\"summary\">\n <div class=\"six-sidebar-details__header\">\n {this.icon && <six-icon class=\"six-sidebar-details__header-icon\">{this.icon}</six-icon>}\n {this.name}\n </div>\n </div>\n {this.provideSlot('summary-icon')}\n <slot />\n </six-details>\n );\n\n if (this.renderAsHref()) {\n return (\n <a class=\"six-sidebar-details__link\" href={this.href}>\n {element}\n </a>\n );\n } else {\n return element;\n }\n }\n}\n"]}
@@ -67,6 +67,51 @@
67
67
  -webkit-animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
68
68
  animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
69
69
  }
70
+ .six-spinner polygon {
71
+ stroke-dasharray: 310;
72
+ stroke-dashoffset: 310;
73
+ animation: big-polygon-draw 2s ease-in-out infinite;
74
+ -webkit-animation: big-polygon-draw 2s ease-in-out infinite;
75
+ }
76
+ .six-spinner polygon:nth-child(2),
77
+ .six-spinner polygon:nth-child(3) {
78
+ stroke-dasharray: 110;
79
+ stroke-dashoffset: 110;
80
+ animation: small-polygon-draw 2s ease-in-out infinite;
81
+ -webkit-animation: small-polygon-draw 2s ease-in-out infinite;
82
+ }
83
+ @keyframes big-polygon-draw {
84
+ 0%, 100% {
85
+ stroke-dashoffset: 310;
86
+ }
87
+ 50% {
88
+ stroke-dashoffset: 140;
89
+ }
90
+ }
91
+ @-webkit-keyframes big-polygon-draw {
92
+ 0%, 100% {
93
+ stroke-dashoffset: 310;
94
+ }
95
+ 50% {
96
+ stroke-dashoffset: 140;
97
+ }
98
+ }
99
+ @keyframes small-polygon-draw {
100
+ 0%, 100% {
101
+ stroke-dashoffset: 110;
102
+ }
103
+ 50% {
104
+ stroke-dashoffset: 50;
105
+ }
106
+ }
107
+ @-webkit-keyframes small-polygon-draw {
108
+ 0%, 100% {
109
+ stroke-dashoffset: 110;
110
+ }
111
+ 50% {
112
+ stroke-dashoffset: 50;
113
+ }
114
+ }
70
115
  @-webkit-keyframes six-spinner {
71
116
  to {
72
117
  stroke-dashoffset: -444;
@@ -6,20 +6,53 @@ import { h } from "@stencil/core";
6
6
  * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
7
7
  *
8
8
  * @part base - The component's base wrapper.
9
- * @part svg - The spinner icon
9
+ * @part svg - The spinner icon.
10
10
  */
11
11
  export class SixSpinner {
12
12
  constructor() {
13
- this.six = false;
13
+ this.logo = undefined;
14
+ this.six = undefined;
14
15
  }
16
+ /**
17
+ * Renders a container with a given SVG content.
18
+ */
19
+ renderWrapper(content) {
20
+ return (h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, h("div", { class: "six-spinner__container" }, content)));
21
+ }
22
+ /**
23
+ * Renders the SIX logo spinner.
24
+ */
15
25
  renderSIXLogo() {
16
- return (h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, h("div", { class: "six-spinner__container" }, h("svg", { viewBox: "0 0 40 40", part: "svg" }, h("path", { fill: "none", stroke: "#de3919", "stroke-width": "5", "stroke-linecap": "round", d: "M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42" })))));
26
+ const sixLogo = (h("svg", { viewBox: "0 0 40 40", part: "svg" }, h("path", { fill: "none", stroke: "#de3919", "stroke-width": "5", "stroke-linecap": "round", d: "M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42" })));
27
+ return this.renderWrapper(sixLogo);
28
+ }
29
+ /**
30
+ * Renders the BME logo spinner.
31
+ */
32
+ renderBMELogo() {
33
+ const bmeLogo = (h("svg", { viewBox: "0 0 45 55", part: "svg" }, h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719" })));
34
+ return this.renderWrapper(bmeLogo);
17
35
  }
18
- renderSimple() {
36
+ /**
37
+ * Renders a simple spinner.
38
+ */
39
+ renderSimpleSpinner() {
19
40
  return h("span", { part: "base", class: "spinner", "aria-busy": "true", "aria-live": "polite" });
20
41
  }
21
42
  render() {
22
- return this.six ? this.renderSIXLogo() : this.renderSimple();
43
+ // Check the deprecated `six` property first
44
+ if (this.six) {
45
+ console.warn('The "six" prop is deprecated. Use "logo=\'six\'" instead.');
46
+ return this.renderSIXLogo();
47
+ }
48
+ switch (this.logo) {
49
+ case 'six':
50
+ return this.renderSIXLogo();
51
+ case 'bme':
52
+ return this.renderBMELogo();
53
+ default:
54
+ return this.renderSimpleSpinner();
55
+ }
23
56
  }
24
57
  static get is() { return "six-spinner"; }
25
58
  static get encapsulation() { return "shadow"; }
@@ -35,23 +68,39 @@ export class SixSpinner {
35
68
  }
36
69
  static get properties() {
37
70
  return {
71
+ "logo": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "'six' | 'bme'",
76
+ "resolved": "\"bme\" | \"six\" | undefined",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": true,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner."
84
+ },
85
+ "attribute": "logo",
86
+ "reflect": false
87
+ },
38
88
  "six": {
39
89
  "type": "boolean",
40
90
  "mutable": false,
41
91
  "complexType": {
42
92
  "original": "boolean",
43
- "resolved": "boolean",
93
+ "resolved": "boolean | undefined",
44
94
  "references": {}
45
95
  },
46
96
  "required": false,
47
- "optional": false,
97
+ "optional": true,
48
98
  "docs": {
49
99
  "tags": [],
50
- "text": "Indicates if the spinner is shown as animated SIX logo or simple spinner."
100
+ "text": "**@deprecated** Use `logo=\"six\"` instead.\n\nIf set to true, the spinner displays the SIX logo."
51
101
  },
52
102
  "attribute": "six",
53
- "reflect": false,
54
- "defaultValue": "false"
103
+ "reflect": false
55
104
  }
56
105
  };
57
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;mBAEP,KAAK;;IAEX,aAAa;QACnB,OAAO,CACL,YAAM,KAAK,EAAC,aAAa,eAAW,MAAM,eAAW,QAAQ;YAC3D,WAAK,KAAK,EAAC,wBAAwB;gBACjC,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;oBACjC,YACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,EACtB,CAAC,EAAC,mHAAmH,GAC/G,CACJ,CACF,CACD,CACR,CAAC;IACJ,CAAC;IAEO,YAAY;QAClB,OAAO,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,eAAW,MAAM,eAAW,QAAQ,GAAG,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;IAC/D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\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 * @part base - The component's base wrapper.\n * @part svg - The spinner icon\n */\n@Component({\n tag: 'six-spinner',\n styleUrl: 'six-spinner.scss',\n shadow: true,\n})\nexport class SixSpinner {\n /** Indicates if the spinner is shown as animated SIX logo or simple spinner. */\n @Prop() six = false;\n\n private renderSIXLogo() {\n return (\n <span class=\"six-spinner\" aria-busy=\"true\" aria-live=\"polite\">\n <div class=\"six-spinner__container\">\n <svg viewBox=\"0 0 40 40\" part=\"svg\">\n <path\n fill=\"none\"\n stroke=\"#de3919\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n d=\"M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42\"\n ></path>\n </svg>\n </div>\n </span>\n );\n }\n\n private renderSimple() {\n return <span part=\"base\" class=\"spinner\" aria-busy=\"true\" aria-live=\"polite\" />;\n }\n\n render() {\n return this.six ? this.renderSIXLogo() : this.renderSimple();\n }\n}\n"]}
1
+ {"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;;;;IAUrB;;OAEG;IACK,aAAa,CAAC,OAAmB;QACvC,OAAO,CACL,YAAM,KAAK,EAAC,aAAa,eAAW,MAAM,eAAW,QAAQ;YAC3D,WAAK,KAAK,EAAC,wBAAwB,IAAE,OAAO,CAAO,CAC9C,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,YACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,EACtB,CAAC,EAAC,mHAAmH,GAC/G,CACJ,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,6GAA6G,GACpH;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,4DAA4D,GACnE;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,yDAAyD,GAChE,CACE,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,mBAAmB;QACzB,OAAO,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,eAAW,MAAM,eAAW,QAAQ,GAAG,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,4CAA4C;QAC5C,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,2DAA2D,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;QAC9B,CAAC;QAED,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B;gBACE,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACtC,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\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 * @part base - The component's base wrapper.\n * @part svg - The spinner icon.\n */\n@Component({\n tag: 'six-spinner',\n styleUrl: 'six-spinner.scss',\n shadow: true,\n})\nexport class SixSpinner {\n /** Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner. */\n @Prop() logo?: 'six' | 'bme';\n /**\n * **@deprecated** Use `logo=\"six\"` instead.\n *\n * If set to true, the spinner displays the SIX logo.\n */\n @Prop() six?: boolean;\n\n /**\n * Renders a container with a given SVG content.\n */\n private renderWrapper(content: SVGElement) {\n return (\n <span class=\"six-spinner\" aria-busy=\"true\" aria-live=\"polite\">\n <div class=\"six-spinner__container\">{content}</div>\n </span>\n );\n }\n\n /**\n * Renders the SIX logo spinner.\n */\n private renderSIXLogo() {\n const sixLogo = (\n <svg viewBox=\"0 0 40 40\" part=\"svg\">\n <path\n fill=\"none\"\n stroke=\"#de3919\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n d=\"M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42\"\n ></path>\n </svg>\n );\n return this.renderWrapper(sixLogo);\n }\n\n /**\n * Renders the BME logo spinner.\n */\n private renderBMELogo() {\n const bmeLogo = (\n <svg viewBox=\"0 0 45 55\" part=\"svg\">\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719\"\n />\n </svg>\n );\n return this.renderWrapper(bmeLogo);\n }\n\n /**\n * Renders a simple spinner.\n */\n private renderSimpleSpinner() {\n return <span part=\"base\" class=\"spinner\" aria-busy=\"true\" aria-live=\"polite\" />;\n }\n\n render() {\n // Check the deprecated `six` property first\n if (this.six) {\n console.warn('The \"six\" prop is deprecated. Use \"logo=\\'six\\'\" instead.');\n return this.renderSIXLogo();\n }\n\n switch (this.logo) {\n case 'six':\n return this.renderSIXLogo();\n case 'bme':\n return this.renderBMELogo();\n default:\n return this.renderSimpleSpinner();\n }\n }\n}\n"]}
@@ -105,12 +105,12 @@ export class SixSwitch {
105
105
  (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.blur();
106
106
  }
107
107
  render() {
108
- return (h(FormControl, { key: '708669831d535933b60bae008e01028cf6487552', inputId: this.switchId, label: this.label, labelId: this.labelId, hasLabelSlot: false, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: '7010a8da8e6519daca95c0a36449fa78c45a5bcf', part: "base", htmlFor: this.switchId, class: {
108
+ return (h(FormControl, { key: 'f8a02f4bc5a931384248896494c1ef398f88453c', inputId: this.switchId, label: this.label, labelId: this.labelId, hasLabelSlot: false, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: 'b85db2bcbf379f0b7a885fa04041661f2abc8aeb', part: "base", htmlFor: this.switchId, class: {
109
109
  switch: true,
110
110
  'switch--checked': this.checked,
111
111
  'switch--disabled': this.disabled,
112
112
  'switch--focused': this.hasFocus,
113
- }, onMouseDown: this.handleMouseDown }, h("span", { key: '07a2c0d37b26de3f0a39294730e9a9a549637387', part: "control", class: "switch__control" }, h("span", { key: 'c8b40dd491dac73d77688925f0ae6b87f0ee9294', part: "thumb", class: "switch__thumb" }), h("input", { key: 'fa58350d10cf12a8ab85f07dc9ba5afe3a6f5607', ref: (el) => (this.inputElement = el), id: this.switchId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown })), h("span", { key: 'bba9135c87024334a0d1f2bca80dd1533e2d13f5', part: "label", id: this.labelId, class: "switch__label" }, h("slot", { key: '23020b67fde777044748360cb6eea34bfc821150' })))));
113
+ }, onMouseDown: this.handleMouseDown }, h("span", { key: '001e868504ac577acca8352ab992c001e56908fa', part: "control", class: "switch__control" }, h("span", { key: '99d6f8448b43533b0ca19988cfd8485f05bed512', part: "thumb", class: "switch__thumb" }), h("input", { key: '5d787df251a93a531fdf8dfaa141cf87006f2be8', ref: (el) => (this.inputElement = el), id: this.switchId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown })), h("span", { key: '480a7fbc5d25546ca734c11c8363a4b98d97f97e', part: "label", id: this.labelId, class: "switch__label" }, h("slot", { key: '322c296e95edd35593b74daf4864561760f1e22d' })))));
114
114
  }
115
115
  static get is() { return "six-switch"; }
116
116
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class SixTab {
41
41
  const placement = (_a = tabGroup === null || tabGroup === void 0 ? void 0 : tabGroup.placement) !== null && _a !== void 0 ? _a : 'top';
42
42
  return (
43
43
  // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
44
- h(Host, { key: '25ce2944271c1097ccbe98f99d8a8f57168c7f82', id: this.host.id || this.componentId }, h("div", { key: '6c06dc5031afe797aacc0ccff02b4035faf2644c', part: "base", ref: (el) => (this.tab = el), class: {
44
+ h(Host, { key: '3fb91abb09772d923fb5b8e53cb2a1c63a182b9e', id: this.host.id || this.componentId }, h("div", { key: '11291e2dde7bf9cd0f5f20ac953704e0516e807d', part: "base", ref: (el) => (this.tab = el), class: {
45
45
  tab: true,
46
46
  // Placements
47
47
  'tab--top': placement === 'top',
@@ -52,7 +52,7 @@ export class SixTab {
52
52
  'tab--active': this.active,
53
53
  'tab--closable': this.closable,
54
54
  'tab--disabled': this.disabled,
55
- }, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", { key: '27450f02563eb44b37afee70c69b155292647f17' }), this.closable && (h("six-icon-button", { key: 'cc7bd1d853ca3fb281160321837bf286754a640a', name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), h("div", { key: '21f68095fae985f7f20fbadb06555c6b310fc127', part: this.active ? 'active-tab-indicator' : '', class: {
55
+ }, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", { key: '59600add16a91eb6876893464d8f447fcdf7450e' }), this.closable && (h("six-icon-button", { key: '8cc03ea004a7181d210ad03355c30a8de6bfc306', name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), h("div", { key: '84460dcb9bb76d4b290a6c00c298e4ecae96b0d7', part: this.active ? 'active-tab-indicator' : '', class: {
56
56
  tab__indicator: true,
57
57
  'tab__indicator--active': this.active,
58
58
  // Placements
@@ -226,7 +226,7 @@ export class SixTabGroup {
226
226
  });
227
227
  }
228
228
  render() {
229
- return (h("div", { key: '60f54ff4d4cd4131cd1b34a7930f26f5881cdb29', part: "base", ref: (el) => (this.tabGroup = el), class: {
229
+ return (h("div", { key: '687953b1f7488c6f74b79d8bfa2dd5f6638d8794', part: "base", ref: (el) => (this.tabGroup = el), class: {
230
230
  'tab-group': true,
231
231
  // Placements
232
232
  'tab-group--top': this.placement === 'top',
@@ -234,7 +234,7 @@ export class SixTabGroup {
234
234
  'tab-group--left': this.placement === 'left',
235
235
  'tab-group--right': this.placement === 'right',
236
236
  'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,
237
- }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '54a95d4a91ba3353eaa0f628353073d206e45c89', class: "tab-group__nav-container" }, this.hasLeftControl && (h("six-icon-button", { key: '6f7d4640cf7c39b33c47d811c32ecc15b94d965d', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { key: '4c16b3f6ea9f11a7cfe213cae93906d5697db55b', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { key: '820aa64c25c995209aa55602a35ab4c73a0fe02c', name: "nav" }))), this.hasRightControl && (h("six-icon-button", { key: '5941d65f3065f283067092dd248a03be48c56fba', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { key: '74eaa776c877ae1f0dea669655f35f09c336fe5b', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", { key: '8c12c1d7312e6013fbc4e68f65beb28f43f1ffec' }))));
237
+ }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '11a19bfa85935fb187e4caaa639df6107fe3c8f5', class: "tab-group__nav-container" }, this.hasLeftControl && (h("six-icon-button", { key: 'cc5e49ec12398a2b8534443b9ce9183b62e30579', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { key: '7fade92e1892fa0316f72c34421d0091c0416bf3', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { key: 'c28271665e228f0bc67912971c7f02e799c850e0', name: "nav" }))), this.hasRightControl && (h("six-icon-button", { key: '244800e9e981050d6e7c397000105fdd7f887c1f', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { key: 'eb3c0da33565d279a75087d677c7f0c532e82468', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", { key: '639246ec2ce40f9ea9412cb37cf87ebc32a373c2' }))));
238
238
  }
239
239
  static get is() { return "six-tab-group"; }
240
240
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class SixTabPanel {
19
19
  render() {
20
20
  return (
21
21
  // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
22
- h(Host, { key: 'fc3d3db3be1c5b3ad6b9f016c457a125bfaa2562', id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, h("div", { key: 'b0b17b2d02f91a540612108a386db0bb92bd069e', part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, h("slot", { key: '29dfde6d87307b7ea582df86faad4504aa94e2f6' }))));
22
+ h(Host, { key: '71a56c2593d07ab74bfca2036c6c48015800cb3a', id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, h("div", { key: 'f9c9c0f9bcb3365d5919e721e2ce85b96310aa50', part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, h("slot", { key: 'a78c62e6fa855d1181069c3c99c8f0bba23fea17' }))));
23
23
  }
24
24
  static get is() { return "six-tab-panel"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class SixTag {
44
44
  this.resizeObserver.disconnect();
45
45
  }
46
46
  render() {
47
- return (h("span", { key: '480e8d5bed91865a31471b7f0e0eb433e9026ff7', part: "base", class: {
47
+ return (h("span", { key: 'cf0f1b63dd4cf2887a1ce4640c9073e24c42e79c', part: "base", class: {
48
48
  tag: true,
49
49
  // Types
50
50
  'tag--primary': this.type === 'primary',
@@ -61,7 +61,7 @@ export class SixTag {
61
61
  // Modifers
62
62
  'tag--pill': this.pill,
63
63
  'tag--clear': this.clearable,
64
- } }, h("six-tooltip", { key: '3af188748afc314713bb9e879a7f40df95acdf52', ref: (el) => (this.tooltipElement = el) }, h("span", { key: 'defb96f6d751d5f7e604205d4c5cf7eed11ca303', ref: (el) => (this.contentElement = el), part: "content", class: "tag__content" }, h("slot", { key: 'c68ec76249d3698b2d943053a773992169af7722', ref: (el) => (this.contentSlotElement = el) }))), this.clearable && (h("six-icon-button", { key: '1649c4712fa0135dc8a77fae5c5dfed6cf046ebd', exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
64
+ } }, h("six-tooltip", { key: '6b8d12fc884f2fd47caea9400e26c283e770dbad', ref: (el) => (this.tooltipElement = el) }, h("span", { key: '62a3b5dfa5550c432342bdd5767a39b5b83a3103', ref: (el) => (this.contentElement = el), part: "content", class: "tag__content" }, h("slot", { key: '00a3ef70ceea21c8e807557576f2c4f252cee995', ref: (el) => (this.contentSlotElement = el) }))), this.clearable && (h("six-icon-button", { key: '5eabbf01c5b9d4d2d594c7d3d600cc57b8bd4cec', exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
65
65
  }
66
66
  static get is() { return "six-tag"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -167,7 +167,7 @@ export class SixTextarea {
167
167
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
168
168
  }
169
169
  render() {
170
- return (h(FormControl, { key: '00028d12eac65d362517b2c6e094329d8c069f43', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'edc65e69870856efdc9b40ffc67918262348879f', part: "base", class: {
170
+ return (h(FormControl, { key: 'b030afca7e885857b87e5274ce3aa1baeb285fdb', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'a30bb02f40f681c42212586c0d761cb5759202ed', part: "base", class: {
171
171
  textarea: true,
172
172
  // Sizes
173
173
  'textarea--small': this.size === 'small',
@@ -182,7 +182,7 @@ export class SixTextarea {
182
182
  'textarea--resize-none': this.resize === 'none',
183
183
  'textarea--resize-vertical': this.resize === 'vertical',
184
184
  'textarea--resize-auto': this.resize === 'auto',
185
- } }, h("textarea", { key: '45ae6befea1819b076625029c4549e00d683fd5c', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
185
+ } }, h("textarea", { key: '29faefaf45d099bc582beefe74160d93a2259873', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
186
186
  }
187
187
  static get is() { return "six-textarea"; }
188
188
  static get encapsulation() { return "shadow"; }
@@ -48,22 +48,22 @@ export class SixTile {
48
48
  this.handleSlotChange();
49
49
  }
50
50
  render() {
51
- return (h("six-tooltip", { key: '79d848913c540512b81fe66755c9da076fb9b226', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: 'f548dacf54c2c72979b1e709e785d432e462d0f3', part: "base", class: {
51
+ return (h("six-tooltip", { key: '1f72a24651f78f933e475c7fc0cbac18d852cc76', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: 'b45a460c355a9a30d7b5ebe93c63f48a49ed2fa1', part: "base", class: {
52
52
  tile: true,
53
53
  'tile--visible': this.visible,
54
54
  'tile--small': this.size === 'small',
55
55
  'tile--medium': this.size === 'medium',
56
56
  'tile--large': this.size === 'large',
57
57
  'tile--elevated': this.elevated,
58
- } }, h("div", { key: 'b568c12be9fa62e9465e52294aa51c03fade0ae2', part: "header", class: "tile__header" }, h("six-icon-button", { key: '5fd04515c4941997d9a6b919bbd1c95a8ed66438', class: {
58
+ } }, h("div", { key: '2667122e6e2e925005bfd910ee60b6063871b5c1', part: "header", class: "tile__header" }, h("six-icon-button", { key: 'f6f0a96a7d681881bebf254860bca29c80c814d9', class: {
59
59
  'tile__header--hidden': !this.closeable,
60
- }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: 'f3ec21cbf34d4af5bec6ba5a198e6de0a05778cb', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { key: '7e73683d85265a75fbe8e3de6a8d6a02b5463430', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { key: '93526f1c218f38e8e1d03ba9dfb5743f8d025f25', name: "icon" })), h("div", { key: 'b27888fa0273cfc31972473a96c5f96ca8d1ab6b', part: "footer", class: {
60
+ }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: '973436e543725ba0916ba42ff3cf24a8f1420ffa', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { key: 'c2d43afacf61d8bdbfa9c082f443c6f7fc2d094d', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { key: '0cd3db9f8db8aa6241fcb84358aedbb6372b5f02', name: "icon" })), h("div", { key: 'a2e6c9642fa659248516153989e74f0ac0d99254', part: "footer", class: {
61
61
  'tile__footer--small': this.size === 'small',
62
62
  'tile__footer--medium': this.size === 'medium',
63
63
  'tile__footer--large': this.size === 'large',
64
- } }, this.label && (h("div", { key: '2104c0ed3f5dafcdba7e68884a3c077889f8d939', class: {
64
+ } }, this.label && (h("div", { key: 'a9838fb0e6a65053320496233e38eec9f837dfd0', class: {
65
65
  '.label__footer': true,
66
- }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { key: '79df8d3d558862bf4e8e7cf361a72b7c583663d9', name: "label" })))));
66
+ }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { key: '9a21ee332f6e5ebefe292138e5204fd27458442d', name: "label" })))));
67
67
  }
68
68
  static get is() { return "six-tile"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -152,10 +152,10 @@ export class SixTooltip {
152
152
  });
153
153
  }
154
154
  render() {
155
- return (h(Host, { key: '0c037af1caf49be12bd9bd41273ad0d00a72dc6c', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, h("slot", { key: 'd991ca7e7d3caddaf7bd274a400593c70d3b7376', onSlotchange: this.handleSlotChange }), h("div", { key: '44976c3096d310cb2e0633c3fb44afbdace674ac', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, h("div", { key: '2bf5dab127dfe9d28dacae6a821304279c925744', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
155
+ return (h(Host, { key: '16e00bb78ae53bf05f9f7844db1066ea1a9712e9', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, h("slot", { key: '217252a61b1cdde92192d752a3115c05e3530445', onSlotchange: this.handleSlotChange }), h("div", { key: 'd80462cc7aafdd60459dad72be176aafa2660e7d', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, h("div", { key: '28b80d3d255e77d46c1b235a0cf98273aa6812c0', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
156
156
  tooltip: true,
157
157
  'tooltip--open': this.open,
158
- }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '347387df00ef711d31bbff96798474edea3f030e', name: "content" }, this.content)))));
158
+ }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '4bff119fb74d2eaa58bef4c598c89263350c8b0a', name: "content" }, this.content)))));
159
159
  }
160
160
  static get is() { return "six-tooltip"; }
161
161
  static get encapsulation() { return "shadow"; }