@six-group/ui-library 4.2.6 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1265) hide show
  1. package/dist/cjs/{form-control-de259450.js → form-control-b39f1df5.js} +2 -2
  2. package/dist/cjs/{form-control-de259450.js.map → form-control-b39f1df5.js.map} +1 -1
  3. package/dist/cjs/index-417a06c8.js +1948 -0
  4. package/dist/cjs/index-417a06c8.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/six-alert.cjs.entry.js +2 -2
  7. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/six-avatar.cjs.entry.js +3 -3
  9. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  10. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  11. package/dist/cjs/six-button.cjs.entry.js +4 -4
  12. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-card.cjs.entry.js +2 -2
  14. package/dist/cjs/{six-checkbox_2.cjs.entry.js → six-checkbox.cjs.entry.js} +5 -69
  15. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
  16. package/dist/cjs/six-datepicker.cjs.entry.js +4 -4
  17. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  18. package/dist/cjs/six-details.cjs.entry.js +4 -4
  19. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  20. package/dist/cjs/six-dialog.cjs.entry.js +3 -3
  21. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  22. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  23. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  24. package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +73 -9
  25. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  26. package/dist/cjs/six-error-page.cjs.entry.js +2 -2
  27. package/dist/cjs/six-error.cjs.entry.js +2 -2
  28. package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
  29. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-file-list.cjs.entry.js +2 -2
  31. package/dist/cjs/six-file-upload.cjs.entry.js +6 -9
  32. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  34. package/dist/cjs/six-group-label.cjs.entry.js +3 -3
  35. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  36. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  37. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  38. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  39. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  40. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-header.cjs.entry.js +40 -31
  42. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-icon-button.cjs.entry.js +11 -5
  44. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-icon.cjs.entry.js +3 -3
  46. package/dist/cjs/six-input.cjs.entry.js +5 -5
  47. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-item-picker.cjs.entry.js +4 -4
  49. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  50. package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
  51. package/dist/cjs/six-main-container.cjs.entry.js +2 -2
  52. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  53. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  54. package/dist/cjs/six-picto.cjs.entry.js +2 -2
  55. package/dist/cjs/six-progress-bar.cjs.entry.js +4 -4
  56. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  58. package/dist/cjs/six-radio.cjs.entry.js +3 -3
  59. package/dist/cjs/six-range.cjs.entry.js +4 -4
  60. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-root.cjs.entry.js +2 -2
  62. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  64. package/dist/cjs/six-select.cjs.entry.js +8 -8
  65. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -3
  67. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-sidebar-item.cjs.entry.js +4 -4
  69. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
  71. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  72. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  73. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  74. package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
  75. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  77. package/dist/cjs/six-tab.cjs.entry.js +3 -3
  78. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  80. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-textarea.cjs.entry.js +4 -4
  82. package/dist/cjs/six-tile.cjs.entry.js +6 -6
  83. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-timepicker.cjs.entry.js +3 -3
  85. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
  87. package/dist/cjs/ui-library.cjs.js +10 -10
  88. package/dist/cjs/ui-library.cjs.js.map +1 -1
  89. package/dist/collection/collection-manifest.json +6 -2
  90. package/dist/collection/components/six-alert/six-alert.js +1 -1
  91. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  92. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  93. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  94. package/dist/collection/components/six-badge/six-badge.js +2 -2
  95. package/dist/collection/components/six-button/six-button.css +0 -4
  96. package/dist/collection/components/six-button/six-button.js +2 -2
  97. package/dist/collection/components/six-button/six-button.js.map +1 -1
  98. package/dist/collection/components/six-card/six-card.js +1 -1
  99. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  100. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  101. package/dist/collection/components/six-datepicker/six-datepicker.js +3 -3
  102. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  103. package/dist/collection/components/six-details/six-details.js +3 -3
  104. package/dist/collection/components/six-details/six-details.js.map +1 -1
  105. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  106. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  107. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  108. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  109. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
  110. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  111. package/dist/collection/components/six-error/six-error.js +1 -1
  112. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  113. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  114. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  115. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  116. package/dist/collection/components/six-file-upload/six-file-upload.js +5 -8
  117. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  118. package/dist/collection/components/six-footer/six-footer.js +1 -1
  119. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  120. package/dist/collection/components/six-header/six-header.css +5 -29
  121. package/dist/collection/components/six-header/six-header.js +115 -47
  122. package/dist/collection/components/six-header/six-header.js.map +1 -1
  123. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  124. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  125. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  126. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  127. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  128. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  129. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  130. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  131. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  132. package/dist/collection/components/six-icon/six-icon.js +2 -2
  133. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  134. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  135. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  136. package/dist/collection/components/six-input/six-input.js +4 -4
  137. package/dist/collection/components/six-input/six-input.js.map +1 -1
  138. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  139. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  140. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  141. package/dist/collection/components/six-logo/six-logo.css +18 -0
  142. package/dist/collection/components/six-logo/six-logo.js +54 -0
  143. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  144. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  145. package/dist/collection/components/six-menu/six-menu.js +2 -2
  146. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  147. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  148. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  149. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  150. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  151. package/dist/collection/components/six-picto/six-picto.js +1 -1
  152. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  153. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  154. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  155. package/dist/collection/components/six-radio/six-radio.js +2 -2
  156. package/dist/collection/components/six-range/six-range.js +2 -2
  157. package/dist/collection/components/six-range/six-range.js.map +1 -1
  158. package/dist/collection/components/six-root/six-root.js +1 -1
  159. package/dist/collection/components/six-root/six-root.js.map +1 -1
  160. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  161. package/dist/collection/components/six-select/six-select.js +6 -6
  162. package/dist/collection/components/six-select/six-select.js.map +1 -1
  163. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  164. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  165. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  166. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
  167. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  168. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  169. package/dist/collection/components/six-switch/six-switch.js +2 -2
  170. package/dist/collection/components/six-tab/six-tab.js +2 -2
  171. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  172. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  173. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  174. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  175. package/dist/collection/components/six-tag/six-tag.js +2 -2
  176. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  177. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  178. package/dist/collection/components/six-tile/six-tile.js +5 -5
  179. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  180. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  181. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  182. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  183. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  184. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  185. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  186. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  187. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  188. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  189. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  190. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  191. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  192. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  193. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  194. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  195. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  196. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  197. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  198. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  199. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  200. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  201. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  202. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  203. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  204. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  205. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  206. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  207. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  208. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  209. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  210. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  211. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  212. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  213. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  214. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  215. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  216. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  217. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  218. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  219. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  220. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  221. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  222. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  223. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  224. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  225. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  226. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  227. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  228. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  229. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  230. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  231. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  232. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  233. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  234. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  235. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  236. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  237. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  238. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  239. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  240. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  241. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  242. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  243. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  244. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  245. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  246. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  247. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  248. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  249. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  250. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  251. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  252. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  253. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  254. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  255. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  256. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  257. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  258. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  259. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  260. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  261. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  262. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  263. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  264. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  265. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  266. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  267. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  268. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  269. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  270. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  271. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  272. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  273. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  274. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  275. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  276. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  277. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  278. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  279. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  280. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  281. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  282. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  283. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  284. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  285. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  286. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  287. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  288. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  289. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  290. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  291. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  292. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  293. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  294. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  295. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  296. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  297. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  298. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  299. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  300. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  301. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  302. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  303. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  304. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  305. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  306. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  307. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  308. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  309. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  310. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  311. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  312. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  313. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  314. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  315. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  316. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  317. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  318. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  319. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  320. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  321. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  322. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  323. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  324. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  325. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  326. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  327. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  328. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  329. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  330. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  331. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  332. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  333. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  334. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  335. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  336. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  337. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  338. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  339. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  340. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  341. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  342. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  343. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  344. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  345. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  346. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  347. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  348. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  349. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  350. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  351. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  352. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  353. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  354. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  355. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  356. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  357. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  358. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  359. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  360. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  361. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  362. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  363. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  364. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  365. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  366. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  367. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  368. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  369. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  370. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  371. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  372. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  373. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  374. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  375. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  376. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  377. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  378. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  379. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  380. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  381. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  382. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  383. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  384. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  385. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  386. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  387. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  388. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  389. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  390. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  391. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  392. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  393. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  394. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  395. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  396. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  397. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  398. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  399. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  400. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  401. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  402. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  403. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  404. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  405. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  406. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  407. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  408. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  409. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  410. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  411. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  412. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  413. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  414. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  415. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  416. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  417. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  418. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  419. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  420. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  421. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  422. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  423. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  424. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  425. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  426. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  427. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  428. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  429. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  430. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  431. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  432. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  433. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  434. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  435. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  436. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  437. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  438. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  439. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  440. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  441. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  442. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  443. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  444. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  445. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  446. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  447. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  448. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  449. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  450. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  451. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  452. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  453. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  454. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  455. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  456. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  457. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  458. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  459. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  460. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  461. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  462. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  463. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  464. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  465. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  466. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  467. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  468. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  469. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  470. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  471. package/dist/components/index.js +8 -0
  472. package/dist/components/index.js.map +1 -1
  473. package/dist/components/six-alert.js +1 -1
  474. package/dist/components/six-alert.js.map +1 -1
  475. package/dist/components/six-avatar.js +2 -2
  476. package/dist/components/six-avatar.js.map +1 -1
  477. package/dist/components/six-badge.js +2 -2
  478. package/dist/components/six-button2.js +3 -3
  479. package/dist/components/six-button2.js.map +1 -1
  480. package/dist/components/six-card.js +1 -1
  481. package/dist/components/six-checkbox2.js +2 -2
  482. package/dist/components/six-checkbox2.js.map +1 -1
  483. package/dist/components/six-datepicker.js +3 -3
  484. package/dist/components/six-datepicker.js.map +1 -1
  485. package/dist/components/six-details2.js +3 -3
  486. package/dist/components/six-details2.js.map +1 -1
  487. package/dist/components/six-dialog.js +2 -2
  488. package/dist/components/six-dialog.js.map +1 -1
  489. package/dist/components/six-drawer.js +2 -2
  490. package/dist/components/six-drawer.js.map +1 -1
  491. package/dist/components/six-dropdown2.js +5 -5
  492. package/dist/components/six-dropdown2.js.map +1 -1
  493. package/dist/components/six-error-page.js +1 -1
  494. package/dist/components/six-error2.js +1 -1
  495. package/dist/components/six-file-list-item.js +2 -2
  496. package/dist/components/six-file-list-item.js.map +1 -1
  497. package/dist/components/six-file-list.js +1 -1
  498. package/dist/components/six-file-upload.js +5 -8
  499. package/dist/components/six-file-upload.js.map +1 -1
  500. package/dist/components/six-footer.js +1 -1
  501. package/dist/components/six-group-label.js +1 -1
  502. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  503. package/dist/components/six-header-dropdown-item.js +103 -0
  504. package/dist/components/six-header-dropdown-item.js.map +1 -0
  505. package/dist/components/six-header-item.d.ts +11 -0
  506. package/dist/components/six-header-item.js +8 -0
  507. package/dist/components/six-header-item.js.map +1 -0
  508. package/dist/components/six-header-item2.js +39 -0
  509. package/dist/components/six-header-item2.js.map +1 -0
  510. package/dist/components/six-header-menu-button.d.ts +11 -0
  511. package/dist/components/six-header-menu-button.js +57 -0
  512. package/dist/components/six-header-menu-button.js.map +1 -0
  513. package/dist/components/six-header.js +64 -42
  514. package/dist/components/six-header.js.map +1 -1
  515. package/dist/components/six-icon-button2.js +14 -5
  516. package/dist/components/six-icon-button2.js.map +1 -1
  517. package/dist/components/six-icon2.js +2 -2
  518. package/dist/components/six-input2.js +3 -3
  519. package/dist/components/six-input2.js.map +1 -1
  520. package/dist/components/six-item-picker2.js +3 -3
  521. package/dist/components/six-language-switcher.js +1 -1
  522. package/dist/components/six-layout-grid.js +1 -1
  523. package/dist/components/six-logo.d.ts +11 -0
  524. package/dist/components/six-logo.js +8 -0
  525. package/dist/components/six-logo.js.map +1 -0
  526. package/dist/components/six-logo2.js +42 -0
  527. package/dist/components/six-logo2.js.map +1 -0
  528. package/dist/components/six-main-container.js +1 -1
  529. package/dist/components/six-menu-divider.js +1 -1
  530. package/dist/components/six-menu-item2.js +2 -2
  531. package/dist/components/six-menu-item2.js.map +1 -1
  532. package/dist/components/six-menu-label.js +1 -1
  533. package/dist/components/six-menu2.js +2 -2
  534. package/dist/components/six-menu2.js.map +1 -1
  535. package/dist/components/six-picto2.js +1 -1
  536. package/dist/components/six-progress-bar.js +3 -3
  537. package/dist/components/six-progress-bar.js.map +1 -1
  538. package/dist/components/six-progress-ring.js +1 -1
  539. package/dist/components/six-radio.js +2 -2
  540. package/dist/components/six-range.js +2 -2
  541. package/dist/components/six-range.js.map +1 -1
  542. package/dist/components/six-root.js +1 -1
  543. package/dist/components/six-root.js.map +1 -1
  544. package/dist/components/six-search-field.js +1 -1
  545. package/dist/components/six-select.js +6 -6
  546. package/dist/components/six-select.js.map +1 -1
  547. package/dist/components/six-sidebar-item-group.js +2 -2
  548. package/dist/components/six-sidebar-item-group.js.map +1 -1
  549. package/dist/components/six-sidebar-item.js +3 -3
  550. package/dist/components/six-sidebar-item.js.map +1 -1
  551. package/dist/components/six-sidebar.js +2 -2
  552. package/dist/components/six-switch.js +2 -2
  553. package/dist/components/six-tab-group.js +2 -2
  554. package/dist/components/six-tab-group.js.map +1 -1
  555. package/dist/components/six-tab-panel.js +1 -1
  556. package/dist/components/six-tab.js +2 -2
  557. package/dist/components/six-tab.js.map +1 -1
  558. package/dist/components/six-tag.js +2 -2
  559. package/dist/components/six-tag.js.map +1 -1
  560. package/dist/components/six-textarea.js +2 -2
  561. package/dist/components/six-tile.js +5 -5
  562. package/dist/components/six-tile.js.map +1 -1
  563. package/dist/components/six-timepicker2.js +2 -2
  564. package/dist/components/six-timepicker2.js.map +1 -1
  565. package/dist/components/six-tooltip2.js +2 -2
  566. package/dist/components.d.ts +34 -0
  567. package/dist/components.json +477 -32
  568. package/dist/esm/{form-control-30c5bd8b.js → form-control-ad1710bf.js} +2 -2
  569. package/dist/esm/{form-control-30c5bd8b.js.map → form-control-ad1710bf.js.map} +1 -1
  570. package/dist/esm/index-a7bee415.js +1919 -0
  571. package/dist/esm/index-a7bee415.js.map +1 -0
  572. package/dist/esm/loader.js +3 -3
  573. package/dist/esm/six-alert.entry.js +2 -2
  574. package/dist/esm/six-alert.entry.js.map +1 -1
  575. package/dist/esm/six-avatar.entry.js +3 -3
  576. package/dist/esm/six-avatar.entry.js.map +1 -1
  577. package/dist/esm/six-badge.entry.js +3 -3
  578. package/dist/esm/six-button.entry.js +4 -4
  579. package/dist/esm/six-button.entry.js.map +1 -1
  580. package/dist/esm/six-card.entry.js +2 -2
  581. package/dist/esm/{six-checkbox_2.entry.js → six-checkbox.entry.js} +7 -70
  582. package/dist/esm/six-checkbox.entry.js.map +1 -0
  583. package/dist/esm/six-datepicker.entry.js +4 -4
  584. package/dist/esm/six-datepicker.entry.js.map +1 -1
  585. package/dist/esm/six-details.entry.js +4 -4
  586. package/dist/esm/six-details.entry.js.map +1 -1
  587. package/dist/esm/six-dialog.entry.js +3 -3
  588. package/dist/esm/six-dialog.entry.js.map +1 -1
  589. package/dist/esm/six-drawer.entry.js +3 -3
  590. package/dist/esm/six-drawer.entry.js.map +1 -1
  591. package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +73 -10
  592. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  593. package/dist/esm/six-error-page.entry.js +2 -2
  594. package/dist/esm/six-error.entry.js +2 -2
  595. package/dist/esm/six-file-list-item.entry.js +3 -3
  596. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  597. package/dist/esm/six-file-list.entry.js +2 -2
  598. package/dist/esm/six-file-upload.entry.js +6 -9
  599. package/dist/esm/six-file-upload.entry.js.map +1 -1
  600. package/dist/esm/six-footer.entry.js +2 -2
  601. package/dist/esm/six-group-label.entry.js +3 -3
  602. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  603. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  604. package/dist/esm/six-header-item_2.entry.js +42 -0
  605. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  606. package/dist/esm/six-header-menu-button.entry.js +19 -0
  607. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  608. package/dist/esm/six-header.entry.js +40 -31
  609. package/dist/esm/six-header.entry.js.map +1 -1
  610. package/dist/esm/six-icon-button.entry.js +11 -5
  611. package/dist/esm/six-icon-button.entry.js.map +1 -1
  612. package/dist/esm/six-icon.entry.js +3 -3
  613. package/dist/esm/six-input.entry.js +5 -5
  614. package/dist/esm/six-input.entry.js.map +1 -1
  615. package/dist/esm/six-item-picker.entry.js +4 -4
  616. package/dist/esm/six-language-switcher.entry.js +2 -2
  617. package/dist/esm/six-layout-grid.entry.js +2 -2
  618. package/dist/esm/six-main-container.entry.js +2 -2
  619. package/dist/esm/six-menu-divider.entry.js +2 -2
  620. package/dist/esm/six-menu-label.entry.js +2 -2
  621. package/dist/esm/six-picto.entry.js +2 -2
  622. package/dist/esm/six-progress-bar.entry.js +4 -4
  623. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  624. package/dist/esm/six-progress-ring.entry.js +2 -2
  625. package/dist/esm/six-radio.entry.js +3 -3
  626. package/dist/esm/six-range.entry.js +4 -4
  627. package/dist/esm/six-range.entry.js.map +1 -1
  628. package/dist/esm/six-root.entry.js +2 -2
  629. package/dist/esm/six-root.entry.js.map +1 -1
  630. package/dist/esm/six-search-field.entry.js +2 -2
  631. package/dist/esm/six-select.entry.js +8 -8
  632. package/dist/esm/six-select.entry.js.map +1 -1
  633. package/dist/esm/six-sidebar-item-group.entry.js +3 -3
  634. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  635. package/dist/esm/six-sidebar-item.entry.js +4 -4
  636. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  637. package/dist/esm/six-sidebar.entry.js +3 -3
  638. package/dist/esm/six-spinner.entry.js +1 -1
  639. package/dist/esm/six-stage-indicator.entry.js +1 -1
  640. package/dist/esm/six-switch.entry.js +4 -4
  641. package/dist/esm/six-tab-group.entry.js +3 -3
  642. package/dist/esm/six-tab-group.entry.js.map +1 -1
  643. package/dist/esm/six-tab-panel.entry.js +2 -2
  644. package/dist/esm/six-tab.entry.js +3 -3
  645. package/dist/esm/six-tab.entry.js.map +1 -1
  646. package/dist/esm/six-tag.entry.js +3 -3
  647. package/dist/esm/six-tag.entry.js.map +1 -1
  648. package/dist/esm/six-textarea.entry.js +4 -4
  649. package/dist/esm/six-tile.entry.js +6 -6
  650. package/dist/esm/six-tile.entry.js.map +1 -1
  651. package/dist/esm/six-timepicker.entry.js +3 -3
  652. package/dist/esm/six-timepicker.entry.js.map +1 -1
  653. package/dist/esm/six-tooltip.entry.js +3 -3
  654. package/dist/esm/ui-library.js +11 -11
  655. package/dist/esm/ui-library.js.map +1 -1
  656. package/dist/types/components/six-file-upload/six-file-upload.d.ts +1 -1
  657. package/dist/types/components/six-header/six-header.d.ts +79 -18
  658. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  659. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  660. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  661. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  662. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  663. package/dist/types/components.d.ts +197 -5
  664. package/dist/types/stencil-public-runtime.d.ts +3 -10
  665. package/dist/types/utils/type-check.d.ts +1 -1
  666. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  667. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  668. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  669. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  670. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  671. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  672. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  673. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  674. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  675. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  676. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  677. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  678. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  679. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  680. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  681. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  682. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  683. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  684. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  685. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  686. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  687. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  688. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  689. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  690. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  691. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  692. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  693. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  694. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  695. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  696. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  697. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  698. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  699. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  700. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  701. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  702. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  703. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  704. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  705. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  706. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  707. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  708. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  709. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  710. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  711. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  712. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  713. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  714. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  715. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  716. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  717. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  718. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  719. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  720. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  721. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  722. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  723. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  724. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  725. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  726. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  727. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  728. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  729. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  730. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  731. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  732. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  733. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  734. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  735. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  736. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  737. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  738. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  739. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  740. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  741. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  742. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  743. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  744. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  745. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  746. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  747. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  748. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  749. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  750. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  751. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  752. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  753. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  754. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  755. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  756. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  757. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  758. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  759. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  760. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  761. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  762. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  763. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  764. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  765. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  766. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  767. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  768. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  769. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  770. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  771. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  772. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  773. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  774. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  775. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  776. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  777. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  778. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  779. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  780. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  781. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  782. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  783. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  784. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  785. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  786. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  787. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  788. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  789. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  790. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  791. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  792. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  793. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  794. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  795. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  796. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  797. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  798. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  799. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  800. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  801. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  802. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  803. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  804. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  805. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  806. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  807. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  808. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  809. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  810. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  811. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  812. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  813. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  814. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  815. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  816. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  817. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  818. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  819. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  820. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  821. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  822. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  823. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  824. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  825. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  826. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  827. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  828. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  829. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  830. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  831. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  832. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  833. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  834. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  835. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  836. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  837. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  838. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  839. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  840. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  841. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  842. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  843. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  844. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  845. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  846. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  847. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  848. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  849. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  850. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  851. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  852. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  853. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  854. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  855. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  856. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  857. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  858. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  859. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  860. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  861. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  862. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  863. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  864. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  865. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  866. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  867. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  868. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  869. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  870. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  871. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  872. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  873. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  874. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  875. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  876. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  877. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  878. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  879. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  880. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  881. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  882. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  883. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  884. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  885. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  886. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  887. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  888. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  889. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  890. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  891. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  892. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  893. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  894. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  895. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  896. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  897. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  898. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  899. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  900. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  901. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  902. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  903. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  904. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  905. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  906. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  907. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  908. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  909. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  910. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  911. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  912. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  913. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  914. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  915. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  916. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  917. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  918. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  919. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  920. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  921. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  922. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  923. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  924. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  925. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  926. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  927. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  928. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  929. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  930. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  931. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  932. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  933. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  934. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  935. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  936. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  937. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  938. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  939. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  940. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  941. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  942. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  943. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  944. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  945. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  946. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  947. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  948. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  949. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  950. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  951. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  952. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  953. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  954. package/dist/ui-library/index.esm.js.map +1 -1
  955. package/dist/ui-library/{p-d42f1ea9.entry.js → p-03acec96.entry.js} +2 -2
  956. package/dist/ui-library/{p-d42f1ea9.entry.js.map → p-03acec96.entry.js.map} +1 -1
  957. package/dist/ui-library/p-06ba4450.js.map +1 -1
  958. package/dist/ui-library/{p-b7c68f74.entry.js → p-06d562b7.entry.js} +2 -2
  959. package/dist/ui-library/{p-b7c68f74.entry.js.map → p-06d562b7.entry.js.map} +1 -1
  960. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  961. package/dist/ui-library/{p-7c18b8ca.entry.js.map → p-07b6203f.entry.js.map} +1 -1
  962. package/dist/ui-library/{p-2386627e.entry.js → p-0a6b6429.entry.js} +2 -2
  963. package/dist/ui-library/{p-2386627e.entry.js.map → p-0a6b6429.entry.js.map} +1 -1
  964. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  965. package/dist/ui-library/p-14d09601.entry.js +2 -0
  966. package/dist/ui-library/{p-11344bb8.entry.js.map → p-14d09601.entry.js.map} +1 -1
  967. package/dist/ui-library/{p-45b0748e.entry.js → p-171df3ad.entry.js} +2 -2
  968. package/dist/ui-library/{p-45b0748e.entry.js.map → p-171df3ad.entry.js.map} +1 -1
  969. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  970. package/dist/ui-library/{p-36d5f98a.entry.js.map → p-1cc3b56d.entry.js.map} +1 -1
  971. package/dist/ui-library/{p-7bdd1116.entry.js → p-1cd09d9b.entry.js} +2 -2
  972. package/dist/ui-library/{p-7bdd1116.entry.js.map → p-1cd09d9b.entry.js.map} +1 -1
  973. package/dist/ui-library/{p-416b0439.entry.js → p-1f7a0cb5.entry.js} +2 -2
  974. package/dist/ui-library/{p-416b0439.entry.js.map → p-1f7a0cb5.entry.js.map} +1 -1
  975. package/dist/ui-library/p-2355c444.entry.js +2 -0
  976. package/dist/ui-library/{p-347e568f.entry.js.map → p-2355c444.entry.js.map} +1 -1
  977. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  978. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  979. package/dist/ui-library/{p-c62893e5.entry.js → p-2ad904a7.entry.js} +2 -2
  980. package/dist/ui-library/{p-c62893e5.entry.js.map → p-2ad904a7.entry.js.map} +1 -1
  981. package/dist/ui-library/{p-b5acf54d.entry.js → p-30000e86.entry.js} +2 -2
  982. package/dist/ui-library/{p-b5acf54d.entry.js.map → p-30000e86.entry.js.map} +1 -1
  983. package/dist/ui-library/{p-4d89932f.entry.js → p-42cd3588.entry.js} +2 -2
  984. package/dist/ui-library/{p-4d89932f.entry.js.map → p-42cd3588.entry.js.map} +1 -1
  985. package/dist/ui-library/p-48118ce8.js +3 -0
  986. package/dist/ui-library/p-48118ce8.js.map +1 -0
  987. package/dist/ui-library/{p-b335ed9c.entry.js → p-49019d6c.entry.js} +2 -2
  988. package/dist/ui-library/{p-b335ed9c.entry.js.map → p-49019d6c.entry.js.map} +1 -1
  989. package/dist/ui-library/{p-c6464bfe.entry.js → p-4d72b179.entry.js} +2 -2
  990. package/dist/ui-library/{p-c6464bfe.entry.js.map → p-4d72b179.entry.js.map} +1 -1
  991. package/dist/ui-library/{p-d9586999.entry.js → p-4de4ee7a.entry.js} +2 -2
  992. package/dist/ui-library/{p-d9586999.entry.js.map → p-4de4ee7a.entry.js.map} +1 -1
  993. package/dist/ui-library/p-4edde816.entry.js +2 -0
  994. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  995. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  996. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  997. package/dist/ui-library/{p-3b5a76ea.entry.js → p-53867d77.entry.js} +2 -2
  998. package/dist/ui-library/{p-3b5a76ea.entry.js.map → p-53867d77.entry.js.map} +1 -1
  999. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  1000. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  1001. package/dist/ui-library/{p-a398e3eb.entry.js → p-5ece7986.entry.js} +2 -2
  1002. package/dist/ui-library/{p-a398e3eb.entry.js.map → p-5ece7986.entry.js.map} +1 -1
  1003. package/dist/ui-library/p-5f491974.entry.js +2 -0
  1004. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  1005. package/dist/ui-library/{p-b60c20aa.entry.js → p-5fc9cd7b.entry.js} +2 -2
  1006. package/dist/ui-library/{p-b60c20aa.entry.js.map → p-5fc9cd7b.entry.js.map} +1 -1
  1007. package/dist/ui-library/{p-4bc7bbdb.entry.js → p-618bf750.entry.js} +2 -2
  1008. package/dist/ui-library/{p-4bc7bbdb.entry.js.map → p-618bf750.entry.js.map} +1 -1
  1009. package/dist/ui-library/{p-63acceb6.entry.js → p-62a1f514.entry.js} +2 -2
  1010. package/dist/ui-library/{p-63acceb6.entry.js.map → p-62a1f514.entry.js.map} +1 -1
  1011. package/dist/ui-library/p-651293e7.js.map +1 -1
  1012. package/dist/ui-library/p-6513b8ce.entry.js +2 -0
  1013. package/dist/ui-library/{p-189602e4.entry.js.map → p-6513b8ce.entry.js.map} +1 -1
  1014. package/dist/ui-library/{p-47c84904.entry.js → p-6795e0a9.entry.js} +2 -2
  1015. package/dist/ui-library/{p-47c84904.entry.js.map → p-6795e0a9.entry.js.map} +1 -1
  1016. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  1017. package/dist/ui-library/{p-9cb83369.entry.js.map → p-6ec126f7.entry.js.map} +1 -1
  1018. package/dist/ui-library/p-705e3612.entry.js +2 -0
  1019. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  1020. package/dist/ui-library/{p-06ba653e.entry.js → p-70fac778.entry.js} +2 -2
  1021. package/dist/ui-library/{p-06ba653e.entry.js.map → p-70fac778.entry.js.map} +1 -1
  1022. package/dist/ui-library/{p-037afc74.entry.js → p-7afdff5c.entry.js} +2 -2
  1023. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1024. package/dist/ui-library/{p-4963f03c.entry.js → p-7eb9ae75.entry.js} +2 -2
  1025. package/dist/ui-library/{p-4963f03c.entry.js.map → p-7eb9ae75.entry.js.map} +1 -1
  1026. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1027. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1028. package/dist/ui-library/p-842b492e.js.map +1 -1
  1029. package/dist/ui-library/p-862d474e.js.map +1 -1
  1030. package/dist/ui-library/{p-6f9153be.entry.js → p-870139dc.entry.js} +2 -2
  1031. package/dist/ui-library/{p-6f9153be.entry.js.map → p-870139dc.entry.js.map} +1 -1
  1032. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1033. package/dist/ui-library/{p-605bdd81.js → p-a04460e3.js} +2 -2
  1034. package/dist/ui-library/{p-605bdd81.js.map → p-a04460e3.js.map} +1 -1
  1035. package/dist/ui-library/p-a1502802.js.map +1 -1
  1036. package/dist/ui-library/{p-07c8de65.entry.js → p-a20a702a.entry.js} +2 -2
  1037. package/dist/ui-library/{p-07c8de65.entry.js.map → p-a20a702a.entry.js.map} +1 -1
  1038. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  1039. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  1040. package/dist/ui-library/{p-0c129b61.entry.js → p-afb15ea4.entry.js} +2 -2
  1041. package/dist/ui-library/{p-0c129b61.entry.js.map → p-afb15ea4.entry.js.map} +1 -1
  1042. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1043. package/dist/ui-library/{p-32e421a3.entry.js.map → p-b361d5da.entry.js.map} +1 -1
  1044. package/dist/ui-library/{p-99f6fe01.entry.js → p-bfb398c6.entry.js} +2 -2
  1045. package/dist/ui-library/{p-99f6fe01.entry.js.map → p-bfb398c6.entry.js.map} +1 -1
  1046. package/dist/ui-library/{p-d88b9c16.entry.js → p-cd65e3b2.entry.js} +2 -2
  1047. package/dist/ui-library/{p-d88b9c16.entry.js.map → p-cd65e3b2.entry.js.map} +1 -1
  1048. package/dist/ui-library/{p-a9e009af.entry.js → p-cd79700c.entry.js} +2 -2
  1049. package/dist/ui-library/{p-a9e009af.entry.js.map → p-cd79700c.entry.js.map} +1 -1
  1050. package/dist/ui-library/{p-419ed003.entry.js → p-cdc9224d.entry.js} +2 -2
  1051. package/dist/ui-library/{p-419ed003.entry.js.map → p-cdc9224d.entry.js.map} +1 -1
  1052. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  1053. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  1054. package/dist/ui-library/{p-8f1d3461.entry.js → p-d46acf21.entry.js} +2 -2
  1055. package/dist/ui-library/{p-8f1d3461.entry.js.map → p-d46acf21.entry.js.map} +1 -1
  1056. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  1057. package/dist/ui-library/{p-030fa1fa.entry.js.map → p-d67b8482.entry.js.map} +1 -1
  1058. package/dist/ui-library/{p-1adc26f2.entry.js → p-db193a32.entry.js} +2 -2
  1059. package/dist/ui-library/{p-1adc26f2.entry.js.map → p-db193a32.entry.js.map} +1 -1
  1060. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1061. package/dist/ui-library/p-e1255160.js.map +1 -1
  1062. package/dist/ui-library/{p-fe89a7c4.entry.js → p-e1529ef6.entry.js} +2 -2
  1063. package/dist/ui-library/{p-fe89a7c4.entry.js.map → p-e1529ef6.entry.js.map} +1 -1
  1064. package/dist/ui-library/{p-e9b8ad98.entry.js → p-e181944f.entry.js} +2 -2
  1065. package/dist/ui-library/{p-e9b8ad98.entry.js.map → p-e181944f.entry.js.map} +1 -1
  1066. package/dist/ui-library/{p-d1a2f84b.entry.js → p-e6efc08a.entry.js} +2 -2
  1067. package/dist/ui-library/{p-d1a2f84b.entry.js.map → p-e6efc08a.entry.js.map} +1 -1
  1068. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  1069. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  1070. package/dist/ui-library/{p-63ee5e7e.entry.js → p-f12b22bc.entry.js} +2 -2
  1071. package/dist/ui-library/{p-63ee5e7e.entry.js.map → p-f12b22bc.entry.js.map} +1 -1
  1072. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1073. package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
  1074. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  1075. package/dist/ui-library/{p-cf109cbf.entry.js → p-ffce31da.entry.js} +2 -2
  1076. package/dist/ui-library/{p-cf109cbf.entry.js.map → p-ffce31da.entry.js.map} +1 -1
  1077. package/dist/ui-library/ui-library.css +1 -1
  1078. package/dist/ui-library/ui-library.esm.js +1 -1
  1079. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1080. package/loader/cdn.js +1 -3
  1081. package/loader/index.cjs.js +1 -3
  1082. package/loader/index.d.ts +3 -0
  1083. package/loader/index.es2017.js +1 -3
  1084. package/loader/index.js +1 -3
  1085. package/package.json +6 -18
  1086. package/dist/cjs/index-1f707a55.js +0 -2718
  1087. package/dist/cjs/index-1f707a55.js.map +0 -1
  1088. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
  1089. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  1090. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1091. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1092. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1093. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1094. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1095. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1096. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1097. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1098. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1099. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1100. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1101. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1102. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1103. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1104. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1105. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1106. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1107. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1108. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1109. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1110. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1111. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1112. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1113. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1114. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1115. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1116. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1117. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1118. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -266
  1119. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1120. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1121. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1122. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1123. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1124. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1125. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1126. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1127. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1128. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1129. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1130. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1131. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1132. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1133. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1134. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1135. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1136. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1137. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1138. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1139. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1140. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1141. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1142. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1143. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1144. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1145. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1146. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1147. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1148. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1149. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1150. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1151. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1152. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1153. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1154. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1155. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1156. package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
  1157. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1158. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1159. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1160. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1161. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1162. package/dist/collection/components/six-select/test/util.spec.js +0 -103
  1163. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1164. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1165. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1166. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1167. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1168. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1169. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1170. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1171. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1172. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1173. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1174. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1175. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1176. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1177. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1178. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1179. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1180. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1181. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1182. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1183. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1184. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1185. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1186. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1187. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1188. package/dist/collection/files/file-list.json +0 -308
  1189. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1190. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1191. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1192. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1193. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1194. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1195. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1196. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1197. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1198. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1199. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1200. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1201. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1202. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1203. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1204. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1205. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1206. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1207. package/dist/collection/utils/date-util.spec.js +0 -995
  1208. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1209. package/dist/collection/utils/scroll.spec.js +0 -122
  1210. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1211. package/dist/collection/utils/time.util.spec.js +0 -368
  1212. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1213. package/dist/esm/index-5390c1d6.js +0 -2689
  1214. package/dist/esm/index-5390c1d6.js.map +0 -1
  1215. package/dist/esm/polyfills/core-js.js +0 -11
  1216. package/dist/esm/polyfills/dom.js +0 -79
  1217. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1218. package/dist/esm/polyfills/index.js +0 -34
  1219. package/dist/esm/polyfills/system.js +0 -6
  1220. package/dist/esm/six-checkbox_2.entry.js.map +0 -1
  1221. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  1222. package/dist/ui-library/files/file-list.json +0 -308
  1223. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1224. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1225. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1226. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1227. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1228. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1229. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1230. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1231. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1232. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1233. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1234. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1235. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1236. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1237. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1238. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1239. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1240. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1241. package/dist/ui-library/p-030fa1fa.entry.js +0 -2
  1242. package/dist/ui-library/p-037afc74.entry.js.map +0 -1
  1243. package/dist/ui-library/p-047d02ad.entry.js +0 -2
  1244. package/dist/ui-library/p-047d02ad.entry.js.map +0 -1
  1245. package/dist/ui-library/p-05eb1bab.js +0 -3
  1246. package/dist/ui-library/p-05eb1bab.js.map +0 -1
  1247. package/dist/ui-library/p-11344bb8.entry.js +0 -2
  1248. package/dist/ui-library/p-14e5fccc.entry.js +0 -2
  1249. package/dist/ui-library/p-14e5fccc.entry.js.map +0 -1
  1250. package/dist/ui-library/p-189602e4.entry.js +0 -2
  1251. package/dist/ui-library/p-32e421a3.entry.js +0 -2
  1252. package/dist/ui-library/p-347e568f.entry.js +0 -2
  1253. package/dist/ui-library/p-36d5f98a.entry.js +0 -2
  1254. package/dist/ui-library/p-37433242.entry.js +0 -2
  1255. package/dist/ui-library/p-37433242.entry.js.map +0 -1
  1256. package/dist/ui-library/p-6b40c40c.entry.js +0 -2
  1257. package/dist/ui-library/p-6b40c40c.entry.js.map +0 -1
  1258. package/dist/ui-library/p-7c18b8ca.entry.js +0 -2
  1259. package/dist/ui-library/p-96d441e9.entry.js +0 -2
  1260. package/dist/ui-library/p-96d441e9.entry.js.map +0 -1
  1261. package/dist/ui-library/p-9cb83369.entry.js +0 -2
  1262. package/dist/ui-library/p-e14d78e9.entry.js +0 -2
  1263. package/dist/ui-library/p-e14d78e9.entry.js.map +0 -1
  1264. package/dist/ui-library/p-ebbe9bdc.entry.js +0 -2
  1265. package/dist/ui-library/p-ebbe9bdc.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"six-input.js","sourceRoot":"","sources":["../../../src/components/six-input/six-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,GAAwE;IACtF,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,QAAQ;CAChB,CAAC;AASF,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,MAAM,OAAO,QAAQ;;QACX,YAAO,GAAG,SAAS,EAAE,EAAE,EAAE,CAAC;QAC1B,YAAO,GAAG,eAAe,EAAE,EAAE,CAAC;QAC9B,eAAU,GAAG,mBAAmB,EAAE,EAAE,CAAC;QACrC,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAEvC,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QA8MtC,iBAAY,GAAG,CAAC,KAAY,EAAE,EAAE;YACtC,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;gBAC7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CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\n\nexport type SelectionRangeDirection = 'forward' | 'backward' | 'none';\nexport type SelectionRange = {\n selectionStart: number | undefined;\n selectionEnd: number | undefined;\n selectionDirection: SelectionRangeDirection | undefined;\n};\n\nlet id = 0;\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 label - The input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: SelectionRangeDirection = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Returns the start and end positions of the text selection */\n @Method()\n async getSelectionRange(): Promise<SelectionRange> {\n return {\n selectionStart: this.nativeInput?.selectionStart ?? undefined,\n selectionEnd: this.nativeInput?.selectionEnd ?? undefined,\n selectionDirection: this.nativeInput?.selectionDirection ?? undefined,\n };\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.emit();\n }\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 handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && !this.disabled && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-input.js","sourceRoot":"","sources":["../../../src/components/six-input/six-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,GAAwE;IACtF,KAAK,EAAE,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\n\nexport type SelectionRangeDirection = 'forward' | 'backward' | 'none';\nexport type SelectionRange = {\n selectionStart: number | undefined;\n selectionEnd: number | undefined;\n selectionDirection: SelectionRangeDirection | undefined;\n};\n\nlet id = 0;\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 label - The input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: SelectionRangeDirection = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Returns the start and end positions of the text selection */\n @Method()\n async getSelectionRange(): Promise<SelectionRange> {\n return {\n selectionStart: this.nativeInput?.selectionStart ?? undefined,\n selectionEnd: this.nativeInput?.selectionEnd ?? undefined,\n selectionDirection: this.nativeInput?.selectionDirection ?? undefined,\n };\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.emit();\n }\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 handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && !this.disabled && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
@@ -411,13 +411,13 @@ export class SixItemPicker {
411
411
  this.sixChange.emit(this.value);
412
412
  }
413
413
  render() {
414
- return (h("div", { key: '773e773a55e33b7486a7d2928ad605c6efadf119', part: "container", class: "item_picker__container", onKeyDown: (event) => this.handleKeyPress(event), tabindex: "0" }, h("div", { key: '3cb5fd7c07ea6b0b8778be5b316ba0d788b900be', ref: (el) => (this.upButton = el), part: "up", class: {
414
+ return (h("div", { key: '9696809f37fa9db9f3b3212ea6c21cccb648ccab', part: "container", class: "item_picker__container", onKeyDown: (event) => this.handleKeyPress(event), tabindex: "0" }, h("div", { key: '5864af2b6f193d090e3411c8cd54842f58fe6609', ref: (el) => (this.upButton = el), part: "up", class: {
415
415
  item_picker__btn: true,
416
416
  'item_picker__btn--disabled': this.isNextDisabled(),
417
- }, onMouseDown: () => this.onMouseDownNext(), onMouseUp: () => this.onMouseUpNext(), tabindex: "-1" }, h("six-icon", { key: '606bfc7a65c8b5312a952bc9bb85324c95111d17', size: "large" }, "expand_less")), h("div", { key: '181dec86bb4b8d9762595b38f719af4c8a91ea42', part: "content", class: "item_picker__content" }, this.getFormattedValue()), h("div", { key: '195fefb352bbb5d202b3357e429959f4c887d357', ref: (el) => (this.downButton = el), part: "down", class: {
417
+ }, onMouseDown: () => this.onMouseDownNext(), onMouseUp: () => this.onMouseUpNext(), tabindex: "-1" }, h("six-icon", { key: '37ac08eea928d8eaa2b3113879bd48a422261bb2', size: "large" }, "expand_less")), h("div", { key: '54948f29b05477d73228d00825c0b10b2f62d8bb', part: "content", class: "item_picker__content" }, this.getFormattedValue()), h("div", { key: '911a69c54e9151dd508d962867642e38eb8f0652', ref: (el) => (this.downButton = el), part: "down", class: {
418
418
  item_picker__btn: true,
419
419
  'item_picker__btn--disabled': this.isPrevDisabled(),
420
- }, onMouseDown: () => this.onMouseDownPrev(), onMouseUp: () => this.onMouseUpPrev(), tabindex: "-1" }, h("six-icon", { key: '525c90105edea5208737b49c8b2831498c326197', size: "large" }, "expand_more"))));
420
+ }, onMouseDown: () => this.onMouseDownPrev(), onMouseUp: () => this.onMouseUpPrev(), tabindex: "-1" }, h("six-icon", { key: '86785c1389e748d3a3c54dd09d5b8fc892882ee8', size: "large" }, "expand_more"))));
421
421
  }
422
422
  static get is() { return "six-item-picker"; }
423
423
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class SixLanguageSwitcher {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h("div", { key: '5ba97f481c478180a10697b498756392192f69f0', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
47
+ return (h("div", { key: '7cccb95163be8e657098166413343a2c45de876f', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
48
48
  const language = typeof lang === 'string' ? lang : lang.key;
49
49
  return (h("div", { onClick: this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value), onKeyDown: (e) => {
50
50
  if (e.key === 'Enter' || e.key === ' ') {
@@ -19,7 +19,7 @@ export class SixLayoutGrid {
19
19
  this.handleColumnsChange();
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '84c4fee011655f296908661ae1b10452a5682594' }, h("slot", { key: '389a12ed87de92e7c835df2a77c0f6316406284e' })));
22
+ return (h(Host, { key: '9d64b40f5853f79014a899a1f90bc91582f59ea4' }, h("slot", { key: '7a122ed9eec7ae326f96afa65a0f65e3d5beb6a7' })));
23
23
  }
24
24
  static get is() { return "six-layout-grid"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @prop --height: The height of the logo.
3
+ */
4
+ :host {
5
+ --height: unset;
6
+ }
7
+
8
+ svg {
9
+ display: block;
10
+ }
11
+
12
+ svg.six {
13
+ height: var(--height, 20px);
14
+ }
15
+
16
+ svg.bme {
17
+ height: var(--height, 40px);
18
+ }
@@ -0,0 +1,54 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * @since 4.2.7
4
+ * @status beta
5
+ */
6
+ export class SixLogo {
7
+ constructor() {
8
+ this.brand = 'six';
9
+ }
10
+ render() {
11
+ return this.brand === 'six' ? sixLogo() : bmeLogo();
12
+ }
13
+ static get is() { return "six-logo"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() {
16
+ return {
17
+ "$": ["six-logo.scss"]
18
+ };
19
+ }
20
+ static get styleUrls() {
21
+ return {
22
+ "$": ["six-logo.css"]
23
+ };
24
+ }
25
+ static get properties() {
26
+ return {
27
+ "brand": {
28
+ "type": "string",
29
+ "mutable": false,
30
+ "complexType": {
31
+ "original": "'six' | 'bme'",
32
+ "resolved": "\"bme\" | \"six\"",
33
+ "references": {}
34
+ },
35
+ "required": false,
36
+ "optional": false,
37
+ "docs": {
38
+ "tags": [],
39
+ "text": "The brand of the logo. Either six or bme. Defaults to six."
40
+ },
41
+ "attribute": "brand",
42
+ "reflect": true,
43
+ "defaultValue": "'six'"
44
+ }
45
+ };
46
+ }
47
+ }
48
+ function sixLogo() {
49
+ return (h("svg", { class: "six", viewBox: "0 0 90 26", xmlns: "http://www.w3.org/2000/svg" }, h("title", null, "SIX"), h("g", { fill: "#DE3919", "fill-rule": "nonzero" }, h("path", { d: "m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525" }), h("path", { d: "m42.16.324h5.21v24.806h-5.21z" }), h("path", { d: "m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545" }))));
50
+ }
51
+ function bmeLogo() {
52
+ return (h("svg", { class: "bme", viewBox: "0 0 249.38 122.47" }, h("title", null, "BME Exchange"), h("defs", null, h("style", null, ".cls-1 ", '{', "fill: #002c5f;", '}', ".cls-1, .cls-2 ", '{', "stroke-width: 0px;", '}', ".cls-2 ", '{', "fill: #959595;", '}')), h("polygon", { class: "cls-2", points: "183.07 88.18 205.3 52.02 178.8 52.02 178.8 36.16 205.3 36.16 183.07 0 202.45 0 228.71 44.09 201.32 88.18 183.07 88.18" }), h("g", null, h("path", { class: "cls-1", d: "M124.21,104.18c2.64,0,3.97,1.46,3.97,4.38v8.37h-1.96l-.44-1.71h-.07c-.41.66-.88,1.15-1.4,1.47-.52.31-1.17.47-1.97.47-1.05,0-1.83-.37-2.36-1.11-.53-.74-.8-1.65-.8-2.75,0-1.29.39-2.27,1.18-2.94s1.93-1.03,3.44-1.1l1.71-.07v-.6c0-.8-.14-1.38-.42-1.75-.28-.37-.7-.55-1.27-.55-.43,0-.88.08-1.35.23-.47.15-.96.36-1.46.62l-.81-1.94c1.17-.69,2.51-1.04,4.01-1.04ZM125.5,110.99l-1.11.05c-.89.05-1.53.26-1.91.63-.38.38-.58.9-.58,1.58,0,1.22.48,1.82,1.45,1.82.61,0,1.13-.26,1.53-.77.41-.51.61-1.23.61-2.16v-1.15Z" }), h("path", { class: "cls-1", d: "M143.33,112.3c0,.97-.2,1.82-.61,2.55-.41.73-.99,1.3-1.74,1.71-.75.41-1.65.61-2.7.61-.74,0-1.44-.07-2.1-.21-.66-.14-1.28-.35-1.87-.64v-2.77c.61.35,1.27.63,1.96.83.69.2,1.35.3,1.98.3.75,0,1.32-.2,1.71-.61.38-.41.58-.92.58-1.53,0-.65-.2-1.17-.6-1.58-.4-.41-1.09-.86-2.08-1.37-.65-.35-1.23-.73-1.74-1.13-.52-.4-.92-.89-1.22-1.48s-.45-1.32-.45-2.21c-.02-1.37.42-2.47,1.29-3.3.88-.83,2.04-1.24,3.51-1.22.72,0,1.41.09,2.08.27.66.18,1.29.42,1.89.73l-.83,2.4c-1.11-.6-2.15-.9-3.11-.9-.66,0-1.17.18-1.52.53-.35.35-.53.81-.53,1.38,0,.45.08.82.24,1.13.16.31.44.6.83.88.39.28.93.58,1.6.92,1.14.58,2,1.23,2.57,1.95s.86,1.64.86,2.78Z" }), h("path", { class: "cls-1", d: "M150.52,116.94h-6.09v-1.55l1.66-.6v-12.18l-1.66-.6v-1.55h6.09v1.55l-1.66.6v12.18l1.66.6v1.55Z" }), h("path", { class: "cls-1", d: "M162.33,116.94h-3.02l-2.72-6.16-2.81,6.16h-2.91l4.15-8.49-3.81-7.98h2.93l2.47,5.72,2.47-5.72h2.93l-3.81,8.05,4.13,8.42Z" }), h("path", { class: "cls-1", d: "M172.04,117.17c-1.58,0-2.79-.52-3.62-1.57-.83-1.05-1.25-2.67-1.25-4.87,0-2.04.42-3.65,1.27-4.81s2.08-1.74,3.71-1.74c.63,0,1.2.07,1.71.2.51.13.96.32,1.36.57l-.76,2.12c-.37-.18-.74-.33-1.11-.44-.37-.11-.72-.16-1.06-.16-1.6,0-2.4,1.42-2.4,4.27s.8,4.15,2.4,4.15c.49,0,.96-.07,1.4-.22.44-.15.87-.35,1.3-.61v2.28c-.83.55-1.81.83-2.95.83Z" }), h("path", { class: "cls-1", d: "M186.25,110.64c0,1.28-.18,2.4-.54,3.38-.36.98-.91,1.75-1.65,2.31-.74.56-1.68.84-2.81.84-1.06,0-1.96-.28-2.7-.83s-1.3-1.32-1.68-2.31c-.38-.98-.58-2.11-.58-3.39,0-1.98.42-3.56,1.25-4.72.83-1.16,2.08-1.74,3.76-1.74,1.51,0,2.71.55,3.61,1.66s1.35,2.71,1.35,4.8ZM179.03,110.66c0,1.4.18,2.46.53,3.18.35.72.92,1.08,1.71,1.08s1.38-.36,1.73-1.08c.35-.72.53-1.79.53-3.21s-.18-2.45-.53-3.15c-.35-.7-.93-1.05-1.73-1.05s-1.35.35-1.71,1.05c-.35.7-.53,1.76-.53,3.17Z" }), h("path", { class: "cls-1", d: "M200.16,104.18c1.15,0,2.02.37,2.59,1.1.58.73.87,1.86.87,3.4v8.26h-2.68v-7.61c0-1.89-.53-2.84-1.59-2.84-.75,0-1.29.33-1.6.99-.32.66-.47,1.63-.47,2.91v6.55h-2.68v-7.63c0-.97-.13-1.68-.39-2.13-.26-.45-.66-.68-1.2-.68-.81,0-1.36.37-1.65,1.12s-.43,1.8-.43,3.17v6.16h-2.68v-12.52h2.1l.32,1.64h.16c.28-.62.68-1.08,1.22-1.4.54-.32,1.15-.47,1.84-.47.78,0,1.42.17,1.91.52.49.34.85.8,1.06,1.37h.18c.64-1.26,1.68-1.89,3.09-1.89Z" }), h("path", { class: "cls-1", d: "M211.78,104.18c1.28,0,2.27.55,2.99,1.66s1.07,2.72,1.07,4.84-.36,3.66-1.07,4.79c-.71,1.13-1.69,1.7-2.92,1.7-.69,0-1.29-.16-1.8-.48s-.92-.77-1.24-1.34h-.12c.03.38.06.74.08,1.06.02.32.03.61.03.88v5.19h-2.68v-18.06h2.17l.37,1.66h.14c.69-1.26,1.68-1.89,2.98-1.89ZM211.02,106.42c-.78,0-1.35.32-1.7.95-.35.63-.52,1.61-.52,2.95v.51c0,1.37.17,2.39.51,3.06.34.67.91,1,1.73,1,1.38,0,2.08-1.4,2.08-4.2,0-1.4-.17-2.46-.51-3.18-.34-.72-.87-1.08-1.59-1.08Z" }), h("path", { class: "cls-1", d: "M222.16,104.18c2.64,0,3.97,1.46,3.97,4.38v8.37h-1.96l-.44-1.71h-.07c-.41.66-.88,1.15-1.4,1.47-.52.31-1.17.47-1.97.47-1.05,0-1.83-.37-2.37-1.11-.53-.74-.8-1.65-.8-2.75,0-1.29.39-2.27,1.18-2.94.78-.67,1.93-1.03,3.44-1.1l1.71-.07v-.6c0-.8-.14-1.38-.41-1.75-.28-.37-.7-.55-1.27-.55-.43,0-.88.08-1.35.23-.47.15-.96.36-1.47.62l-.81-1.94c1.17-.69,2.51-1.04,4.01-1.04ZM223.45,110.99l-1.11.05c-.89.05-1.53.26-1.91.63-.38.38-.58.9-.58,1.58,0,1.22.48,1.82,1.45,1.82.61,0,1.13-.26,1.53-.77.41-.51.61-1.23.61-2.16v-1.15Z" }), h("path", { class: "cls-1", d: "M234.32,104.18c1.14,0,2.02.37,2.65,1.1s.95,1.85.95,3.36v8.3h-2.68v-7.66c0-.92-.13-1.62-.38-2.09s-.68-.7-1.28-.7c-.85,0-1.43.34-1.76,1.01-.33.68-.5,1.76-.5,3.25v6.18h-2.68v-12.52h2.1l.32,1.64h.16c.31-.62.73-1.08,1.27-1.4s1.15-.47,1.82-.47Z" }), h("path", { class: "cls-1", d: "M238.98,104.41h2.84l1.84,6.64c.11.43.21.86.3,1.3s.16.87.21,1.28h.09c.05-.37.12-.77.22-1.2.1-.43.21-.89.33-1.38l1.78-6.64h2.79l-4.2,14.05c-.43,1.38-.97,2.4-1.63,3.04-.65.65-1.5.97-2.55.97-.28,0-.53-.02-.77-.05-.24-.03-.46-.08-.68-.14v-2.28c.17.05.34.08.52.11s.35.05.52.05c.54,0,.95-.18,1.23-.53.28-.35.56-.94.82-1.75l.28-1.04-3.94-12.43Z" })), h("polygon", { class: "cls-1", points: "249.37 88.18 231.12 88.18 218.67 67.95 227.9 53.08 249.37 88.18" }), h("polygon", { class: "cls-1", points: "218.53 18.92 229.99 0 249.37 0 227.9 34.66 218.53 18.92" }), h("polygon", { class: "cls-1", points: "112.98 72.41 155.28 72.41 155.28 62.51 123.42 62.51 123.42 49.18 146.37 49.18 146.37 39.27 123.42 39.27 123.42 25.79 155.28 25.79 155.28 15.89 112.98 15.89 112.98 39.27 123.42 39.27 123.42 49.18 112.98 49.18 112.98 72.41" }), h("path", { class: "cls-1", d: "M10.44,48.38h20.6c4.68,0,8.1,3.06,8.1,7.11s-3.42,7.02-8.1,7.02H10.44v-14.13ZM10.44,25.79h18.54c4.59,0,7.02,2.96,7.02,6.29s-2.43,6.39-7.02,6.39H10.44v-12.68ZM0,72.41h32.21c9.9,0,17.37-6.3,17.37-16.38,0-7.2-4.23-11.89-10.08-13.77,4.23-1.89,6.93-6.03,6.93-11.25,0-10.08-7.65-15.12-16.29-15.12H0v22.59h10.44v9.9H0v24.03Z" }), h("polygon", { class: "cls-1", points: "56.47 72.37 66.91 72.37 66.91 37.45 81.58 52.31 96.25 37.45 96.25 72.37 106.69 72.37 106.69 14.68 81.58 39.72 56.47 14.68 56.47 72.37" }), h("path", { class: "cls-1", d: "M1.69,82.58c.19,0,.46,0,.62,0,.51,0,.96.18.96.79,0,.49-.37.7-.48.76-.23.1-.73.1-1.1.1v-1.64ZM1.69,85.33c.71-.01,1.12-.01,1.39.15.27.17.37.46.37.76,0,.42-.23.68-.57.8-.28.09-.79.09-1.19.08v-1.81ZM1.76,88.18c.87.02,1.95.04,2.65-.44.62-.44.78-1.06.78-1.59,0-.6-.25-1.15-.78-1.42-.18-.08-.38-.12-.58-.17.32-.13.69-.29.93-.79.11-.22.15-.44.15-.65,0-.3-.08-.71-.38-1.05-.39-.42-1-.53-1.92-.53-.32,0-.89,0-1.21.02l-1.3.02-.06.05c.04.9.05,1.24.05,2.53s0,2.65-.03,3.99l.07.03h1.63Z" }), h("path", { class: "cls-1", d: "M10.17,83.04c.19.21.27.49.33.75.08.36.09.7.1.93.04,1.4-.26,2.42-1.35,2.42-1.29,0-1.38-1.52-1.38-2.36,0-1.12.27-1.7.71-1.98.25-.15.5-.19.68-.19.35,0,.69.16.91.43M11.65,82.44c-.16-.2-.34-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.17.1-1.67.39-1.14.65-1.35,1.73-1.42,2.13-.06.32-.09.64-.09.96,0,.64.07,1.83.96,2.65.71.66,1.68.76,2.16.76.72,0,1.45-.18,2-.63.93-.77,1.12-2.04,1.12-2.83,0-1.47-.47-2.14-.7-2.43" }), h("path", { class: "cls-1", d: "M17.76,86.9c-1.02.06-1.83.07-2.12.07h-.18c-.02-2.5,0-3.13.07-5.37l-.06-.05c-.8.03-1.01.03-1.66.03l-.05.05c.04.75.04.98.04,2.09,0,1.47,0,2.95,0,4.43l.04.05c1.84-.03,2.17-.03,3.86-.03l.05-.05.07-1.18-.04-.04Z" }), h("path", { class: "cls-1", d: "M21.15,84.16c-.79-.33-1.19-.5-1.19-.92,0-.28.27-.66.88-.66.71,0,1.13.29,1.48.53l.08-.03.07-1.23-.04-.07c-.4-.17-.83-.35-1.74-.35-1.75,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.65.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.09.03-.07,1.32.06.07c.1.04.21.08.31.11.22.08.77.24,1.47.24.28,0,.99-.04,1.56-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.21-1.11-.7-1.49-.25-.18-.5-.3-.72-.4l-.24-.09Z" }), h("path", { class: "cls-1", d: "M25.56,85.29l.47-1.58.32-1.1.29,1.22.35,1.46h-1.43ZM27.54,81.55c-.9.02-1.09.02-2.09.02l-.07.06c-.49,1.59-.79,2.54-2.17,6.48l.04.07h1.46l.06-.06.46-1.7h2.02l.4,1.73.06.06c.68-.03.87-.03,1.63-.03l.04-.07c-1.13-4.01-1.26-4.44-1.8-6.51l-.06-.05Z" }), h("path", { class: "cls-1", d: "M32.94,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.26-.66.89-.66.71,0,1.13.29,1.47.53l.08-.03.07-1.23-.04-.07c-.41-.17-.83-.35-1.74-.35-1.75,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.09.03-.07,1.32.06.07c.1.04.2.08.31.11.21.08.76.24,1.47.24.27,0,.99-.04,1.55-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.21-1.11-.7-1.49-.26-.18-.49-.3-.72-.4l-.24-.09Z" }), h("path", { class: "cls-1", d: "M41.67,88.12c-.05-1.22-.06-1.55-.06-2.75l2.06-3.77-.03-.06c-.7.02-.89.02-1.47.02l-.05.06c-.54,1.17-.8,1.67-1.19,2.43-.1-.21-.58-1.11-.67-1.29-.17-.34-.3-.62-.57-1.22l-.07-.04c-.8.04-1,.06-1.78.06l-.03.08c.28.48,1.52,2.6,1.76,3.03.13.25.26.48.4.73v.29c0,.93-.01,1.34-.07,2.44l.05.06c.78-.03.99-.03,1.65-.03l.06-.06Z" }), h("path", { class: "cls-1", d: "M54.31,81.55c-.98.02-1.14.02-2.17.02l-.06.06-.43,1.52-.37,1.35-.44,1.63-.41-1.68-.26-1.06-.47-1.8-.04-.05c-1,.02-1.17.02-2.22.02l-.06.06c-.1,2.8-.13,3.52-.34,6.52l.04.06c.6-.03.78-.03,1.32-.03l.05-.06.03-1.79.06-1.81.04-1.77.41,1.66.36,1.33.63,2.42.06.06c.58-.03.74-.03,1.4-.03l.05-.06.54-1.99.38-1.37.52-1.96v1.68l.03,1.42v2.25l.04.06c.65-.03.9-.03,1.62-.03l.05-.06c-.06-1.07-.13-2.14-.16-3.22-.03-.59-.05-1.18-.08-1.77-.04-.87-.05-.98-.05-1.54l-.05-.05Z" }), h("path", { class: "cls-1", d: "M60.62,86.92c-1.11.06-1.37.07-2.57.07v-1.64s2.17,0,2.17,0l.07-.05.06-1.06-.05-.06-2.26.04v-1.49c1.06,0,1.27,0,2.4.03l.04-.06.07-1.09-.04-.04h-4.11l-.06.06c.06.91.08,1.25.08,3.76,0,1.18-.02,1.77-.05,2.74l.05.04h4.12l.08-.06.06-1.14-.05-.07Z" }), h("path", { class: "cls-1", d: "M63.49,82.69c.13,0,.27,0,.39,0,.37,0,1.09,0,1.09.82,0,.26-.07.61-.41.82-.26.16-.59.18-1.07.19v-1.83ZM63.93,85.61c.63,1.07.77,1.35,1.37,2.57l.08.05c.29-.01.57-.03.86-.05.29,0,.59-.01.88-.01l.06-.11c-.36-.46-.46-.6-1.13-1.68-.3-.48-.45-.73-.69-1.14.43-.19,1.28-.58,1.28-1.77,0-.41-.11-1.26-.88-1.67-.49-.25-.99-.26-2.09-.25h-.66s-1.14.01-1.14.01l-.05.06c.05.94.08,1.92.08,4.46,0,.88,0,1.29-.03,2.07l.05.06c.68-.04.83-.04,1.6-.04l.06-.05c-.08-1.08-.08-1.38-.09-2.49l.46-.02Z" }), h("path", { class: "cls-1", d: "M72.95,86.51c-.22.17-.69.52-1.47.52-1.06,0-1.82-.8-1.82-2.12,0-.8.28-2.21,1.8-2.21.71,0,1.09.27,1.33.45l.08-.02.08-1.29-.04-.05c-.34-.13-.91-.34-1.73-.34-2.42,0-3.26,1.86-3.26,3.51,0,1.79,1.1,3.37,3.38,3.37.78,0,1.3-.2,1.6-.32l.05-.06.06-1.4-.06-.04Z" }), h("path", { class: "cls-1", d: "M75.77,85.29l.47-1.58.33-1.1.28,1.22.34,1.46h-1.42ZM77.75,81.55c-.9.02-1.08.02-2.08.02l-.07.06c-.5,1.59-.8,2.54-2.18,6.48l.04.07h1.46l.06-.06.46-1.7h2.02l.4,1.73.07.06c.69-.03.87-.03,1.63-.03l.05-.07c-1.13-4.01-1.26-4.44-1.8-6.51l-.07-.05Z" }), h("path", { class: "cls-1", d: "M82.34,86.98c-.02-.92-.03-1.79-.03-2.69,0-.5,0-1.01,0-1.51.19-.02.38-.03.57-.03.57,0,1.69,0,1.69,2,0,1.17-.44,1.69-.67,1.88-.42.34-1.07.34-1.58.34M81.83,88.18c.24.02.49.02.74.02,1.05,0,2.74-.04,3.43-1.71.25-.61.31-1.37.31-1.78,0-.89-.2-1.56-.43-1.98-.63-1.16-1.84-1.2-2.91-1.2-.43,0-.86.02-1.29.04h-1s-.05.06-.05.06c.04.9.08,1.69.08,4.28,0,.92,0,1.47-.03,2.24l.06.03h1.1Z" }), h("path", { class: "cls-1", d: "M91.57,83.04c.19.21.27.49.33.75.07.36.09.7.1.93.04,1.4-.27,2.42-1.35,2.42-1.3,0-1.38-1.52-1.38-2.36,0-1.12.27-1.7.71-1.98.25-.15.51-.19.68-.19.35,0,.68.16.91.43M93.04,82.44c-.16-.2-.34-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.18.1-1.67.39-1.15.65-1.35,1.73-1.43,2.13-.05.32-.08.64-.08.96,0,.64.08,1.83.95,2.65.72.66,1.69.76,2.16.76.72,0,1.46-.18,2.01-.63.93-.77,1.11-2.04,1.11-2.83,0-1.47-.47-2.14-.7-2.43" }), h("path", { class: "cls-1", d: "M97.83,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.89-.66.71,0,1.13.29,1.48.53l.08-.03.07-1.23-.04-.07c-.4-.17-.83-.35-1.73-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.86,0-1.33-.37-1.6-.59l-.09.03-.06,1.32.06.07c.1.04.2.08.3.11.22.08.76.24,1.47.24.28,0,1-.04,1.56-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.25-.18-.5-.3-.73-.4l-.24-.09Z" }), h("path", { class: "cls-1", d: "M107.67,86.92c-1.1.06-1.36.07-2.56.07l-.03-1.64h2.19l.07-.05.05-1.06-.04-.06-2.27.04v-1.49c1.06,0,1.28,0,2.41.03l.05-.06.06-1.09-.05-.04h-4.11l-.06.06c.06.91.08,1.25.08,3.76,0,1.18-.02,1.77-.05,2.74l.05.04h4.12l.07-.06.07-1.14-.06-.07Z" }), h("path", { class: "cls-1", d: "M111.38,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.89-.66.71,0,1.13.29,1.47.53l.08-.03.08-1.23-.05-.07c-.4-.17-.82-.35-1.73-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.4,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77s-1.32-.37-1.6-.59l-.09.03-.07,1.32.05.07c.11.04.2.08.31.11.21.08.77.24,1.47.24.28,0,.99-.04,1.55-.3.79-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.26-.18-.5-.3-.72-.4l-.24-.09Z" }), h("path", { class: "cls-1", d: "M115.85,82.69c.21-.01.41-.01.61-.01.82.02,1.05.44,1.05.99,0,.12,0,.67-.5.95-.26.14-.6.15-1.16.15v-2.07ZM115.43,81.55l-1.19.03-.06.05c.04,1.22.07,2.03.07,3.1,0,1.14-.03,2.28-.06,3.42l.06.05c.69-.03.84-.03,1.59-.03l.05-.05c-.04-1.01-.04-1.25-.04-2.21,1.05,0,2.17,0,2.84-.81.26-.32.49-.85.49-1.51,0-.4-.09-1.3-.87-1.73-.56-.33-1.36-.33-2.06-.33h-.83Z" }), h("path", { class: "cls-1", d: "M121.28,85.29l.46-1.58.33-1.1.28,1.22.35,1.46h-1.42ZM123.25,81.55c-.9.02-1.08.02-2.08.02l-.07.06c-.49,1.59-.79,2.54-2.16,6.48l.03.07h1.46l.07-.06.46-1.7h2.02l.41,1.73.05.06c.69-.03.87-.03,1.64-.03l.04-.07c-1.13-4.01-1.26-4.44-1.79-6.51l-.07-.05Z" }), h("path", { class: "cls-1", d: "M130.5,79.65c-.2.18-.48.42-.81.42-.21,0-.41-.07-.61-.14l-.37-.12c-.17-.06-.31-.09-.5-.09-.43,0-.62.16-.83.31l-.04.06v1s.04.02.04.02c.21-.14.47-.31.8-.31.21,0,.42.07.64.14l.28.1c.19.07.33.13.54.13.4,0,.66-.2.87-.37l.04-.07v-1.05l-.07-.03ZM131.76,81.55c-.59.02-.75.03-1.33.02l-.04.06.06,1.27.04,1.29.04,1.53-.02.02c-.25-.46-.3-.54-.77-1.25l-.85-1.24c-.71-1.06-.85-1.27-1.08-1.65l-.06-.04c-.75.03-.86.03-1.54.02l-.05.06c.05,1.45.08,2.53.08,3.78,0,.92-.02,1.83-.03,2.74l.04.06c.63-.03.83-.03,1.37-.03l.04-.06-.1-2.05-.03-1.14-.05-1.24.02-.02c.42.73.57.98,1.21,1.91l.93,1.37.84,1.22.07.04c.57-.03.74-.03,1.24-.03l.04-.04c0-1.36-.02-2.28-.02-3.4,0-1.04.01-2.08.02-3.14l-.05-.05Z" }), h("path", { class: "cls-1", d: "M137.07,83.04c.19.21.27.49.33.75.08.36.09.7.11.93.04,1.4-.27,2.42-1.35,2.42-1.3,0-1.39-1.52-1.39-2.36,0-1.12.27-1.7.71-1.98.25-.15.51-.19.68-.19.35,0,.69.16.91.43M138.55,82.44c-.16-.2-.35-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.17.1-1.67.39-1.14.65-1.35,1.73-1.43,2.13-.06.32-.08.64-.08.96,0,.64.07,1.83.95,2.65.71.66,1.69.76,2.16.76.72,0,1.45-.18,2-.63.93-.77,1.11-2.04,1.11-2.83,0-1.47-.46-2.14-.7-2.43" }), h("path", { class: "cls-1", d: "M144.65,86.9c-1.02.06-1.84.07-2.12.07h-.19c-.02-2.5,0-3.13.07-5.37l-.06-.05c-.8.03-1.02.03-1.66.03l-.05.05c.04.75.05.98.05,2.09,0,1.47,0,2.95,0,4.43l.04.05c1.84-.03,2.17-.03,3.86-.03l.05-.05.07-1.18-.04-.04Z" }), h("path", { class: "cls-1", d: "M150.03,86.92c-1.1.06-1.37.07-2.57.07v-1.64s2.17,0,2.17,0l.07-.05.05-1.06-.04-.06-2.26.04v-1.49c1.05,0,1.27,0,2.4.03l.05-.06.06-1.09-.04-.04h-4.11l-.05.06c.05.91.07,1.25.07,3.76,0,1.18-.01,1.77-.04,2.74l.04.04h4.13l.08-.06.06-1.14-.05-.07Z" }), h("path", { class: "cls-1", d: "M153.74,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.88-.66.71,0,1.14.29,1.49.53l.08-.03.08-1.23-.04-.07c-.41-.17-.83-.35-1.74-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.4,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.1.03-.07,1.32.06.07c.1.04.2.08.31.11.21.08.77.24,1.47.24.28,0,.99-.04,1.55-.3.79-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.25-.18-.5-.3-.72-.4l-.24-.09Z" })));
53
+ }
54
+ //# sourceMappingURL=six-logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-logo.js","sourceRoot":"","sources":["../../../src/components/six-logo/six-logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AAOH,MAAM,OAAO,OAAO;;qBAE8B,KAAK;;IAErD,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACtD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAED,SAAS,OAAO;IACd,OAAO,CACL,WAAK,KAAK,EAAC,KAAK,EAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;QACrE,uBAAkB;QAClB,SAAG,IAAI,EAAC,SAAS,eAAW,SAAS;YACnC,YAAM,CAAC,EAAC,gNAAgN,GAAG;YAC3N,YAAM,CAAC,EAAC,+BAA+B,GAAG;YAC1C,YAAM,CAAC,EAAC,2bAA2b,GAAG,CACpc,CACA,CACP,CAAC;AACJ,CAAC;AAED,SAAS,OAAO;IACd,OAAO,CACL,WAAK,KAAK,EAAC,KAAK,EAAC,OAAO,EAAC,mBAAmB;QAC1C,gCAA2B;QAC3B;YACE;;gBACU,GAAG;;gBAEV,GAAG;;gBACY,GAAG;;gBAElB,GAAG;;gBACI,GAAG;;gBAEV,GAAG,CACE,CAC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C,4ZAA4Z,GAC9Z,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 4.2.7\n * @status beta\n */\n\n@Component({\n tag: 'six-logo',\n styleUrl: 'six-logo.scss',\n shadow: true,\n})\nexport class SixLogo {\n /** The brand of the logo. Either six or bme. Defaults to six. */\n @Prop({ reflect: true }) brand: 'six' | 'bme' = 'six';\n\n render() {\n return this.brand === 'six' ? sixLogo() : bmeLogo();\n }\n}\n\nfunction sixLogo() {\n return (\n <svg class=\"six\" viewBox=\"0 0 90 26\" xmlns=\"http://www.w3.org/2000/svg\">\n <title>SIX</title>\n <g fill=\"#DE3919\" fill-rule=\"nonzero\">\n <path d=\"m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525\" />\n <path d=\"m42.16.324h5.21v24.806h-5.21z\" />\n <path d=\"m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545\" />\n </g>\n </svg>\n );\n}\n\nfunction bmeLogo() {\n return (\n <svg class=\"bme\" viewBox=\"0 0 249.38 122.47\">\n <title>BME Exchange</title>\n <defs>\n <style>\n .cls-1 {'{'}\n fill: #002c5f;\n {'}'}\n .cls-1, .cls-2 {'{'}\n stroke-width: 0px;\n {'}'}\n .cls-2 {'{'}\n fill: #959595;\n {'}'}\n </style>\n </defs>\n <polygon\n class=\"cls-2\"\n points=\"183.07 88.18 205.3 52.02 178.8 52.02 178.8 36.16 205.3 36.16 183.07 0 202.45 0 228.71 44.09 201.32 88.18 183.07 88.18\"\n />\n <g>\n <path\n class=\"cls-1\"\n d=\"M124.21,104.18c2.64,0,3.97,1.46,3.97,4.38v8.37h-1.96l-.44-1.71h-.07c-.41.66-.88,1.15-1.4,1.47-.52.31-1.17.47-1.97.47-1.05,0-1.83-.37-2.36-1.11-.53-.74-.8-1.65-.8-2.75,0-1.29.39-2.27,1.18-2.94s1.93-1.03,3.44-1.1l1.71-.07v-.6c0-.8-.14-1.38-.42-1.75-.28-.37-.7-.55-1.27-.55-.43,0-.88.08-1.35.23-.47.15-.96.36-1.46.62l-.81-1.94c1.17-.69,2.51-1.04,4.01-1.04ZM125.5,110.99l-1.11.05c-.89.05-1.53.26-1.91.63-.38.38-.58.9-.58,1.58,0,1.22.48,1.82,1.45,1.82.61,0,1.13-.26,1.53-.77.41-.51.61-1.23.61-2.16v-1.15Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M143.33,112.3c0,.97-.2,1.82-.61,2.55-.41.73-.99,1.3-1.74,1.71-.75.41-1.65.61-2.7.61-.74,0-1.44-.07-2.1-.21-.66-.14-1.28-.35-1.87-.64v-2.77c.61.35,1.27.63,1.96.83.69.2,1.35.3,1.98.3.75,0,1.32-.2,1.71-.61.38-.41.58-.92.58-1.53,0-.65-.2-1.17-.6-1.58-.4-.41-1.09-.86-2.08-1.37-.65-.35-1.23-.73-1.74-1.13-.52-.4-.92-.89-1.22-1.48s-.45-1.32-.45-2.21c-.02-1.37.42-2.47,1.29-3.3.88-.83,2.04-1.24,3.51-1.22.72,0,1.41.09,2.08.27.66.18,1.29.42,1.89.73l-.83,2.4c-1.11-.6-2.15-.9-3.11-.9-.66,0-1.17.18-1.52.53-.35.35-.53.81-.53,1.38,0,.45.08.82.24,1.13.16.31.44.6.83.88.39.28.93.58,1.6.92,1.14.58,2,1.23,2.57,1.95s.86,1.64.86,2.78Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M150.52,116.94h-6.09v-1.55l1.66-.6v-12.18l-1.66-.6v-1.55h6.09v1.55l-1.66.6v12.18l1.66.6v1.55Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M162.33,116.94h-3.02l-2.72-6.16-2.81,6.16h-2.91l4.15-8.49-3.81-7.98h2.93l2.47,5.72,2.47-5.72h2.93l-3.81,8.05,4.13,8.42Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M172.04,117.17c-1.58,0-2.79-.52-3.62-1.57-.83-1.05-1.25-2.67-1.25-4.87,0-2.04.42-3.65,1.27-4.81s2.08-1.74,3.71-1.74c.63,0,1.2.07,1.71.2.51.13.96.32,1.36.57l-.76,2.12c-.37-.18-.74-.33-1.11-.44-.37-.11-.72-.16-1.06-.16-1.6,0-2.4,1.42-2.4,4.27s.8,4.15,2.4,4.15c.49,0,.96-.07,1.4-.22.44-.15.87-.35,1.3-.61v2.28c-.83.55-1.81.83-2.95.83Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M186.25,110.64c0,1.28-.18,2.4-.54,3.38-.36.98-.91,1.75-1.65,2.31-.74.56-1.68.84-2.81.84-1.06,0-1.96-.28-2.7-.83s-1.3-1.32-1.68-2.31c-.38-.98-.58-2.11-.58-3.39,0-1.98.42-3.56,1.25-4.72.83-1.16,2.08-1.74,3.76-1.74,1.51,0,2.71.55,3.61,1.66s1.35,2.71,1.35,4.8ZM179.03,110.66c0,1.4.18,2.46.53,3.18.35.72.92,1.08,1.71,1.08s1.38-.36,1.73-1.08c.35-.72.53-1.79.53-3.21s-.18-2.45-.53-3.15c-.35-.7-.93-1.05-1.73-1.05s-1.35.35-1.71,1.05c-.35.7-.53,1.76-.53,3.17Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M200.16,104.18c1.15,0,2.02.37,2.59,1.1.58.73.87,1.86.87,3.4v8.26h-2.68v-7.61c0-1.89-.53-2.84-1.59-2.84-.75,0-1.29.33-1.6.99-.32.66-.47,1.63-.47,2.91v6.55h-2.68v-7.63c0-.97-.13-1.68-.39-2.13-.26-.45-.66-.68-1.2-.68-.81,0-1.36.37-1.65,1.12s-.43,1.8-.43,3.17v6.16h-2.68v-12.52h2.1l.32,1.64h.16c.28-.62.68-1.08,1.22-1.4.54-.32,1.15-.47,1.84-.47.78,0,1.42.17,1.91.52.49.34.85.8,1.06,1.37h.18c.64-1.26,1.68-1.89,3.09-1.89Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M211.78,104.18c1.28,0,2.27.55,2.99,1.66s1.07,2.72,1.07,4.84-.36,3.66-1.07,4.79c-.71,1.13-1.69,1.7-2.92,1.7-.69,0-1.29-.16-1.8-.48s-.92-.77-1.24-1.34h-.12c.03.38.06.74.08,1.06.02.32.03.61.03.88v5.19h-2.68v-18.06h2.17l.37,1.66h.14c.69-1.26,1.68-1.89,2.98-1.89ZM211.02,106.42c-.78,0-1.35.32-1.7.95-.35.63-.52,1.61-.52,2.95v.51c0,1.37.17,2.39.51,3.06.34.67.91,1,1.73,1,1.38,0,2.08-1.4,2.08-4.2,0-1.4-.17-2.46-.51-3.18-.34-.72-.87-1.08-1.59-1.08Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M222.16,104.18c2.64,0,3.97,1.46,3.97,4.38v8.37h-1.96l-.44-1.71h-.07c-.41.66-.88,1.15-1.4,1.47-.52.31-1.17.47-1.97.47-1.05,0-1.83-.37-2.37-1.11-.53-.74-.8-1.65-.8-2.75,0-1.29.39-2.27,1.18-2.94.78-.67,1.93-1.03,3.44-1.1l1.71-.07v-.6c0-.8-.14-1.38-.41-1.75-.28-.37-.7-.55-1.27-.55-.43,0-.88.08-1.35.23-.47.15-.96.36-1.47.62l-.81-1.94c1.17-.69,2.51-1.04,4.01-1.04ZM223.45,110.99l-1.11.05c-.89.05-1.53.26-1.91.63-.38.38-.58.9-.58,1.58,0,1.22.48,1.82,1.45,1.82.61,0,1.13-.26,1.53-.77.41-.51.61-1.23.61-2.16v-1.15Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M234.32,104.18c1.14,0,2.02.37,2.65,1.1s.95,1.85.95,3.36v8.3h-2.68v-7.66c0-.92-.13-1.62-.38-2.09s-.68-.7-1.28-.7c-.85,0-1.43.34-1.76,1.01-.33.68-.5,1.76-.5,3.25v6.18h-2.68v-12.52h2.1l.32,1.64h.16c.31-.62.73-1.08,1.27-1.4s1.15-.47,1.82-.47Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M238.98,104.41h2.84l1.84,6.64c.11.43.21.86.3,1.3s.16.87.21,1.28h.09c.05-.37.12-.77.22-1.2.1-.43.21-.89.33-1.38l1.78-6.64h2.79l-4.2,14.05c-.43,1.38-.97,2.4-1.63,3.04-.65.65-1.5.97-2.55.97-.28,0-.53-.02-.77-.05-.24-.03-.46-.08-.68-.14v-2.28c.17.05.34.08.52.11s.35.05.52.05c.54,0,.95-.18,1.23-.53.28-.35.56-.94.82-1.75l.28-1.04-3.94-12.43Z\"\n />\n </g>\n <polygon class=\"cls-1\" points=\"249.37 88.18 231.12 88.18 218.67 67.95 227.9 53.08 249.37 88.18\" />\n <polygon class=\"cls-1\" points=\"218.53 18.92 229.99 0 249.37 0 227.9 34.66 218.53 18.92\" />\n <polygon\n class=\"cls-1\"\n points=\"112.98 72.41 155.28 72.41 155.28 62.51 123.42 62.51 123.42 49.18 146.37 49.18 146.37 39.27 123.42 39.27 123.42 25.79 155.28 25.79 155.28 15.89 112.98 15.89 112.98 39.27 123.42 39.27 123.42 49.18 112.98 49.18 112.98 72.41\"\n />\n <path\n class=\"cls-1\"\n d=\"M10.44,48.38h20.6c4.68,0,8.1,3.06,8.1,7.11s-3.42,7.02-8.1,7.02H10.44v-14.13ZM10.44,25.79h18.54c4.59,0,7.02,2.96,7.02,6.29s-2.43,6.39-7.02,6.39H10.44v-12.68ZM0,72.41h32.21c9.9,0,17.37-6.3,17.37-16.38,0-7.2-4.23-11.89-10.08-13.77,4.23-1.89,6.93-6.03,6.93-11.25,0-10.08-7.65-15.12-16.29-15.12H0v22.59h10.44v9.9H0v24.03Z\"\n />\n <polygon\n class=\"cls-1\"\n points=\"56.47 72.37 66.91 72.37 66.91 37.45 81.58 52.31 96.25 37.45 96.25 72.37 106.69 72.37 106.69 14.68 81.58 39.72 56.47 14.68 56.47 72.37\"\n />\n <path\n class=\"cls-1\"\n d=\"M1.69,82.58c.19,0,.46,0,.62,0,.51,0,.96.18.96.79,0,.49-.37.7-.48.76-.23.1-.73.1-1.1.1v-1.64ZM1.69,85.33c.71-.01,1.12-.01,1.39.15.27.17.37.46.37.76,0,.42-.23.68-.57.8-.28.09-.79.09-1.19.08v-1.81ZM1.76,88.18c.87.02,1.95.04,2.65-.44.62-.44.78-1.06.78-1.59,0-.6-.25-1.15-.78-1.42-.18-.08-.38-.12-.58-.17.32-.13.69-.29.93-.79.11-.22.15-.44.15-.65,0-.3-.08-.71-.38-1.05-.39-.42-1-.53-1.92-.53-.32,0-.89,0-1.21.02l-1.3.02-.06.05c.04.9.05,1.24.05,2.53s0,2.65-.03,3.99l.07.03h1.63Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M10.17,83.04c.19.21.27.49.33.75.08.36.09.7.1.93.04,1.4-.26,2.42-1.35,2.42-1.29,0-1.38-1.52-1.38-2.36,0-1.12.27-1.7.71-1.98.25-.15.5-.19.68-.19.35,0,.69.16.91.43M11.65,82.44c-.16-.2-.34-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.17.1-1.67.39-1.14.65-1.35,1.73-1.42,2.13-.06.32-.09.64-.09.96,0,.64.07,1.83.96,2.65.71.66,1.68.76,2.16.76.72,0,1.45-.18,2-.63.93-.77,1.12-2.04,1.12-2.83,0-1.47-.47-2.14-.7-2.43\"\n />\n <path\n class=\"cls-1\"\n d=\"M17.76,86.9c-1.02.06-1.83.07-2.12.07h-.18c-.02-2.5,0-3.13.07-5.37l-.06-.05c-.8.03-1.01.03-1.66.03l-.05.05c.04.75.04.98.04,2.09,0,1.47,0,2.95,0,4.43l.04.05c1.84-.03,2.17-.03,3.86-.03l.05-.05.07-1.18-.04-.04Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M21.15,84.16c-.79-.33-1.19-.5-1.19-.92,0-.28.27-.66.88-.66.71,0,1.13.29,1.48.53l.08-.03.07-1.23-.04-.07c-.4-.17-.83-.35-1.74-.35-1.75,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.65.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.09.03-.07,1.32.06.07c.1.04.21.08.31.11.22.08.77.24,1.47.24.28,0,.99-.04,1.56-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.21-1.11-.7-1.49-.25-.18-.5-.3-.72-.4l-.24-.09Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M25.56,85.29l.47-1.58.32-1.1.29,1.22.35,1.46h-1.43ZM27.54,81.55c-.9.02-1.09.02-2.09.02l-.07.06c-.49,1.59-.79,2.54-2.17,6.48l.04.07h1.46l.06-.06.46-1.7h2.02l.4,1.73.06.06c.68-.03.87-.03,1.63-.03l.04-.07c-1.13-4.01-1.26-4.44-1.8-6.51l-.06-.05Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M32.94,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.26-.66.89-.66.71,0,1.13.29,1.47.53l.08-.03.07-1.23-.04-.07c-.41-.17-.83-.35-1.74-.35-1.75,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.09.03-.07,1.32.06.07c.1.04.2.08.31.11.21.08.76.24,1.47.24.27,0,.99-.04,1.55-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.21-1.11-.7-1.49-.26-.18-.49-.3-.72-.4l-.24-.09Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M41.67,88.12c-.05-1.22-.06-1.55-.06-2.75l2.06-3.77-.03-.06c-.7.02-.89.02-1.47.02l-.05.06c-.54,1.17-.8,1.67-1.19,2.43-.1-.21-.58-1.11-.67-1.29-.17-.34-.3-.62-.57-1.22l-.07-.04c-.8.04-1,.06-1.78.06l-.03.08c.28.48,1.52,2.6,1.76,3.03.13.25.26.48.4.73v.29c0,.93-.01,1.34-.07,2.44l.05.06c.78-.03.99-.03,1.65-.03l.06-.06Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M54.31,81.55c-.98.02-1.14.02-2.17.02l-.06.06-.43,1.52-.37,1.35-.44,1.63-.41-1.68-.26-1.06-.47-1.8-.04-.05c-1,.02-1.17.02-2.22.02l-.06.06c-.1,2.8-.13,3.52-.34,6.52l.04.06c.6-.03.78-.03,1.32-.03l.05-.06.03-1.79.06-1.81.04-1.77.41,1.66.36,1.33.63,2.42.06.06c.58-.03.74-.03,1.4-.03l.05-.06.54-1.99.38-1.37.52-1.96v1.68l.03,1.42v2.25l.04.06c.65-.03.9-.03,1.62-.03l.05-.06c-.06-1.07-.13-2.14-.16-3.22-.03-.59-.05-1.18-.08-1.77-.04-.87-.05-.98-.05-1.54l-.05-.05Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M60.62,86.92c-1.11.06-1.37.07-2.57.07v-1.64s2.17,0,2.17,0l.07-.05.06-1.06-.05-.06-2.26.04v-1.49c1.06,0,1.27,0,2.4.03l.04-.06.07-1.09-.04-.04h-4.11l-.06.06c.06.91.08,1.25.08,3.76,0,1.18-.02,1.77-.05,2.74l.05.04h4.12l.08-.06.06-1.14-.05-.07Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M63.49,82.69c.13,0,.27,0,.39,0,.37,0,1.09,0,1.09.82,0,.26-.07.61-.41.82-.26.16-.59.18-1.07.19v-1.83ZM63.93,85.61c.63,1.07.77,1.35,1.37,2.57l.08.05c.29-.01.57-.03.86-.05.29,0,.59-.01.88-.01l.06-.11c-.36-.46-.46-.6-1.13-1.68-.3-.48-.45-.73-.69-1.14.43-.19,1.28-.58,1.28-1.77,0-.41-.11-1.26-.88-1.67-.49-.25-.99-.26-2.09-.25h-.66s-1.14.01-1.14.01l-.05.06c.05.94.08,1.92.08,4.46,0,.88,0,1.29-.03,2.07l.05.06c.68-.04.83-.04,1.6-.04l.06-.05c-.08-1.08-.08-1.38-.09-2.49l.46-.02Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M72.95,86.51c-.22.17-.69.52-1.47.52-1.06,0-1.82-.8-1.82-2.12,0-.8.28-2.21,1.8-2.21.71,0,1.09.27,1.33.45l.08-.02.08-1.29-.04-.05c-.34-.13-.91-.34-1.73-.34-2.42,0-3.26,1.86-3.26,3.51,0,1.79,1.1,3.37,3.38,3.37.78,0,1.3-.2,1.6-.32l.05-.06.06-1.4-.06-.04Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M75.77,85.29l.47-1.58.33-1.1.28,1.22.34,1.46h-1.42ZM77.75,81.55c-.9.02-1.08.02-2.08.02l-.07.06c-.5,1.59-.8,2.54-2.18,6.48l.04.07h1.46l.06-.06.46-1.7h2.02l.4,1.73.07.06c.69-.03.87-.03,1.63-.03l.05-.07c-1.13-4.01-1.26-4.44-1.8-6.51l-.07-.05Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M82.34,86.98c-.02-.92-.03-1.79-.03-2.69,0-.5,0-1.01,0-1.51.19-.02.38-.03.57-.03.57,0,1.69,0,1.69,2,0,1.17-.44,1.69-.67,1.88-.42.34-1.07.34-1.58.34M81.83,88.18c.24.02.49.02.74.02,1.05,0,2.74-.04,3.43-1.71.25-.61.31-1.37.31-1.78,0-.89-.2-1.56-.43-1.98-.63-1.16-1.84-1.2-2.91-1.2-.43,0-.86.02-1.29.04h-1s-.05.06-.05.06c.04.9.08,1.69.08,4.28,0,.92,0,1.47-.03,2.24l.06.03h1.1Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M91.57,83.04c.19.21.27.49.33.75.07.36.09.7.1.93.04,1.4-.27,2.42-1.35,2.42-1.3,0-1.38-1.52-1.38-2.36,0-1.12.27-1.7.71-1.98.25-.15.51-.19.68-.19.35,0,.68.16.91.43M93.04,82.44c-.16-.2-.34-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.18.1-1.67.39-1.15.65-1.35,1.73-1.43,2.13-.05.32-.08.64-.08.96,0,.64.08,1.83.95,2.65.72.66,1.69.76,2.16.76.72,0,1.46-.18,2.01-.63.93-.77,1.11-2.04,1.11-2.83,0-1.47-.47-2.14-.7-2.43\"\n />\n <path\n class=\"cls-1\"\n d=\"M97.83,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.89-.66.71,0,1.13.29,1.48.53l.08-.03.07-1.23-.04-.07c-.4-.17-.83-.35-1.73-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.41,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.86,0-1.33-.37-1.6-.59l-.09.03-.06,1.32.06.07c.1.04.2.08.3.11.22.08.76.24,1.47.24.28,0,1-.04,1.56-.3.78-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.25-.18-.5-.3-.73-.4l-.24-.09Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M107.67,86.92c-1.1.06-1.36.07-2.56.07l-.03-1.64h2.19l.07-.05.05-1.06-.04-.06-2.27.04v-1.49c1.06,0,1.28,0,2.41.03l.05-.06.06-1.09-.05-.04h-4.11l-.06.06c.06.91.08,1.25.08,3.76,0,1.18-.02,1.77-.05,2.74l.05.04h4.12l.07-.06.07-1.14-.06-.07Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M111.38,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.89-.66.71,0,1.13.29,1.47.53l.08-.03.08-1.23-.05-.07c-.4-.17-.82-.35-1.73-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.4,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77s-1.32-.37-1.6-.59l-.09.03-.07,1.32.05.07c.11.04.2.08.31.11.21.08.77.24,1.47.24.28,0,.99-.04,1.55-.3.79-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.26-.18-.5-.3-.72-.4l-.24-.09Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M115.85,82.69c.21-.01.41-.01.61-.01.82.02,1.05.44,1.05.99,0,.12,0,.67-.5.95-.26.14-.6.15-1.16.15v-2.07ZM115.43,81.55l-1.19.03-.06.05c.04,1.22.07,2.03.07,3.1,0,1.14-.03,2.28-.06,3.42l.06.05c.69-.03.84-.03,1.59-.03l.05-.05c-.04-1.01-.04-1.25-.04-2.21,1.05,0,2.17,0,2.84-.81.26-.32.49-.85.49-1.51,0-.4-.09-1.3-.87-1.73-.56-.33-1.36-.33-2.06-.33h-.83Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M121.28,85.29l.46-1.58.33-1.1.28,1.22.35,1.46h-1.42ZM123.25,81.55c-.9.02-1.08.02-2.08.02l-.07.06c-.49,1.59-.79,2.54-2.16,6.48l.03.07h1.46l.07-.06.46-1.7h2.02l.41,1.73.05.06c.69-.03.87-.03,1.64-.03l.04-.07c-1.13-4.01-1.26-4.44-1.79-6.51l-.07-.05Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M130.5,79.65c-.2.18-.48.42-.81.42-.21,0-.41-.07-.61-.14l-.37-.12c-.17-.06-.31-.09-.5-.09-.43,0-.62.16-.83.31l-.04.06v1s.04.02.04.02c.21-.14.47-.31.8-.31.21,0,.42.07.64.14l.28.1c.19.07.33.13.54.13.4,0,.66-.2.87-.37l.04-.07v-1.05l-.07-.03ZM131.76,81.55c-.59.02-.75.03-1.33.02l-.04.06.06,1.27.04,1.29.04,1.53-.02.02c-.25-.46-.3-.54-.77-1.25l-.85-1.24c-.71-1.06-.85-1.27-1.08-1.65l-.06-.04c-.75.03-.86.03-1.54.02l-.05.06c.05,1.45.08,2.53.08,3.78,0,.92-.02,1.83-.03,2.74l.04.06c.63-.03.83-.03,1.37-.03l.04-.06-.1-2.05-.03-1.14-.05-1.24.02-.02c.42.73.57.98,1.21,1.91l.93,1.37.84,1.22.07.04c.57-.03.74-.03,1.24-.03l.04-.04c0-1.36-.02-2.28-.02-3.4,0-1.04.01-2.08.02-3.14l-.05-.05Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M137.07,83.04c.19.21.27.49.33.75.08.36.09.7.11.93.04,1.4-.27,2.42-1.35,2.42-1.3,0-1.39-1.52-1.39-2.36,0-1.12.27-1.7.71-1.98.25-.15.51-.19.68-.19.35,0,.69.16.91.43M138.55,82.44c-.16-.2-.35-.38-.56-.52-.48-.33-1.13-.47-1.79-.47-.58,0-1.17.1-1.67.39-1.14.65-1.35,1.73-1.43,2.13-.06.32-.08.64-.08.96,0,.64.07,1.83.95,2.65.71.66,1.69.76,2.16.76.72,0,1.45-.18,2-.63.93-.77,1.11-2.04,1.11-2.83,0-1.47-.46-2.14-.7-2.43\"\n />\n <path\n class=\"cls-1\"\n d=\"M144.65,86.9c-1.02.06-1.84.07-2.12.07h-.19c-.02-2.5,0-3.13.07-5.37l-.06-.05c-.8.03-1.02.03-1.66.03l-.05.05c.04.75.05.98.05,2.09,0,1.47,0,2.95,0,4.43l.04.05c1.84-.03,2.17-.03,3.86-.03l.05-.05.07-1.18-.04-.04Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M150.03,86.92c-1.1.06-1.37.07-2.57.07v-1.64s2.17,0,2.17,0l.07-.05.05-1.06-.04-.06-2.26.04v-1.49c1.05,0,1.27,0,2.4.03l.05-.06.06-1.09-.04-.04h-4.11l-.05.06c.05.91.07,1.25.07,3.76,0,1.18-.01,1.77-.04,2.74l.04.04h4.13l.08-.06.06-1.14-.05-.07Z\"\n />\n <path\n class=\"cls-1\"\n d=\"M153.74,84.16c-.79-.33-1.2-.5-1.2-.92,0-.28.27-.66.88-.66.71,0,1.14.29,1.49.53l.08-.03.08-1.23-.04-.07c-.41-.17-.83-.35-1.74-.35-1.76,0-2.37.99-2.37,1.99,0,1.14.88,1.55,1.4,1.79l.31.14c.64.28,1.14.51,1.14,1,0,.35-.31.77-1.12.77-.85,0-1.33-.37-1.6-.59l-.1.03-.07,1.32.06.07c.1.04.2.08.31.11.21.08.77.24,1.47.24.28,0,.99-.04,1.55-.3.79-.38,1.12-1.09,1.12-1.89,0-.53-.2-1.11-.7-1.49-.25-.18-.5-.3-.72-.4l-.24-.09Z\"\n />\n </svg>\n );\n}\n"]}
@@ -14,7 +14,7 @@ export class SixMainContainer {
14
14
  this.padded = true;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '4bf03e808f3abace9917558e8a2bc284b5109fba' }, h("div", { key: '3eb055ccdcb16738f697d4d7417bdd0cedf05a5f', part: "left-margin", class: "left-margin" }), h("div", { key: '66c3c641294c52966bbb35156956e457af76a3af', part: "content", class: { content: true, 'content--padded': this.padded } }, h("slot", { key: '9dcca3e96ab1023109b9e3db5d16ec8a2d117119' })), h("div", { key: '739f4ed3956e096103d59a475f3e0611a0ea4e73', part: "right-margin", class: "right-margin" })));
17
+ return (h(Host, { key: '8120e711578ecb0a3479ad136b5925a617ba40ec' }, h("div", { key: '789008ec7e1d6d866a81f619586ae500d61f4abe', part: "left-margin", class: "left-margin" }), h("div", { key: 'dead6e81df7c7172c67404f43549e29ff3b7ea7a', part: "content", class: { content: true, 'content--padded': this.padded } }, h("slot", { key: '7ab34707d262f5fc7cc6aad9a1b93659bd56e71d' })), h("div", { key: 'b87314fc06229b79a625606f625bac160d593689', part: "right-margin", class: "right-margin" })));
18
18
  }
19
19
  static get is() { return "six-main-container"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -225,10 +225,10 @@ export class SixMenu {
225
225
  .map(({ value, label }) => (h("six-menu-item", { checkType: "check", key: value, value: value }, label)));
226
226
  }
227
227
  render() {
228
- return (h("div", { key: 'fa1ad99f966331ac08e3d0278714613476b84953', ref: (el) => (this.menuWrapper = el), style: this.getMenuWrapperStyle(), part: "wrapper", class: {
228
+ return (h("div", { key: 'a346d393b279517ec252289e173e1d2e1ac82147', ref: (el) => (this.menuWrapper = el), style: this.getMenuWrapperStyle(), part: "wrapper", class: {
229
229
  menu: true,
230
230
  '.no-shadow': this.removeBoxShadow,
231
- } }, h("div", { key: '6a3d5440ad417f969e5862e93e44ff576f043002', ref: (el) => (this.menu = el), part: "base", role: "menu", onClick: this.handleClick, onKeyDown: this.handleKeyDown, tabIndex: 0, style: this.getMenuContainerStyle() }, h("slot", { key: '96895a99228cd5407e6a3f60b73d3192bcf3c13a' }), this.renderItems()), this.virtualScroll && h("div", { style: this.getScrollbarGhostStyle() })));
231
+ } }, h("div", { key: 'eeca9d33ecede486adc958510b2bc7028517a79a', ref: (el) => (this.menu = el), part: "base", role: "menu", onClick: this.handleClick, onKeyDown: this.handleKeyDown, tabIndex: 0, style: this.getMenuContainerStyle() }, h("slot", { key: 'c46d98b34ddaec7d041ee2ad4aa40a048a93cc80' }), this.renderItems()), this.virtualScroll && h("div", { key: '535cf4f968da60291f420da2722fc1692c0c064a', style: this.getScrollbarGhostStyle() })));
232
232
  }
233
233
  static get is() { return "six-menu"; }
234
234
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-menu.js","sourceRoot":"","sources":["../../../src/components/six-menu/six-menu.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,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAYzD,MAAM,iBAAiB,GAAG,CAAC,QAAgC,EAAE,EAAE,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G,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IACtD,KAAK,CACQ,CACjB,CAAC,CAAC;IACP,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,EACjC,IAAI,EAAC,SAAS,EACd,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI;gBACV,YAAY,EAAE,IAAI,CAAC,eAAe;aACnC;YAED,4DACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAC7B,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE;gBAEnC,8DAAQ;gBACP,IAAI,CAAC,WAAW,EAAE,CACf;YACL,IAAI,CAAC,aAAa,IAAI,WAAK,KAAK,EAAE,IAAI,CAAC,sBAAsB,EAAE,GAAI,CAChE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\nimport { StyleDeclaration } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce } from '../../utils/execution-control';\n\nexport interface SixMenuItemData {\n label: string;\n value: string;\n}\n\nexport interface SixMenuItemSelectedPayload {\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nconst isFocusedMenuItem = (menuItem: HTMLSixMenuItemElement) =>\n menuItem?.shadowRoot?.querySelector('.menu-item')?.classList?.contains('menu-item--focused');\n\nconst isSIXMenuItemElement = (el?: Element): el is HTMLSixMenuItemElement =>\n el?.tagName.toLowerCase() === 'six-menu-item';\n\nconst mapToMenuItem = ({ value, label }: SixMenuItemData) => (\n <six-menu-item key={value} value={value}>\n {label}\n </six-menu-item>\n);\n\nconst DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING = 5;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING = 48;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT = 64;\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 menu's content, including menu items, menu dividers, and menu labels.\n *\n * @part base - The component's base wrapper.\n */\n@Component({\n tag: 'six-menu',\n styleUrl: 'six-menu.scss',\n shadow: true,\n})\nexport class SixMenu {\n private readonly eventListeners = new EventListeners();\n\n private menu?: HTMLElement;\n private menuWrapper?: HTMLElement;\n private typeToSelectString = '';\n private typeToSelectTimeout?: number;\n\n @Element() host!: HTMLSixMenuElement;\n\n /** Emitted when a menu item is selected. */\n @Event({ eventName: 'six-menu-item-selected' }) sixMenuItemSelected!: EventEmitter<SixMenuItemSelectedPayload>;\n\n /** Set to true to remove the box-shadow */\n @Prop() removeBoxShadow = false;\n\n /** Set the options to be shown in the dropdown */\n @Prop() items: SixMenuItemData[] | null = null;\n\n /** Defines how many items should be shown. If the number of items is larger than this property a scrollbar will be shown */\n @Prop() itemsShown?: number;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Used for virtual scrolling\n * Define how many items should be rendered in the DOM when using virtual scrolling\n */\n @Prop() itemSize = 10;\n\n /**\n * Used for virtual scrolling\n * Define the debounce for listening on scrolling changes in milliseconds.\n * The lower the number the more sensitive the component reacts to scrolling changes.\n */\n @Prop() scrollingDebounce = 15;\n\n /**\n * Internal: Disables handling of key presses.\n */\n @Prop() disableKeyboardHandling = false;\n\n /**\n * Used to calculate which items should be rendered in the DOM\n */\n @State()\n private scrollingIndex = 0;\n\n // set a default item height, this variable will be updated with the real value after the first render.\n // However, it's necessary to have a default value because we can only fetch the proper height after the first render\n @State()\n private sixMenuItemHeight = this.virtualScroll\n ? DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING\n : DEFAULT_SIX_MENU_ITEM_HEIGHT;\n\n connectedCallback() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n componentWillLoad() {\n if (this.items === null) {\n return;\n }\n }\n\n private handleScrolling = () => {\n if (this.menuWrapper == null) return;\n // for performance improvements we only update the DOM if the scrollRatio change \"enough\"\n this.scrollingIndex = Math.floor(this.menuWrapper.scrollTop / this.sixMenuItemHeight);\n };\n\n componentDidLoad() {\n this.setupForVirtualScrollingAfterRendering();\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n /**\n * Initiates type-to-select logic, which automatically selects an option based on what the user is currently typing.\n * The key passed will be appended to the internal query and the selection will be updated. After a brief period, the\n * internal query is cleared automatically. This method is intended to be used with the keydown event. Useful for\n * enabling type-to-select when the menu doesn't have focus.\n */\n @Method()\n async typeToSelect(key: string) {\n clearTimeout(this.typeToSelectTimeout);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.typeToSelectTimeout = setTimeout(() => (this.typeToSelectString = ''), 750);\n this.typeToSelectString += key.toLowerCase();\n const items = this.getItems();\n for (const item of items) {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n const label = getTextContent(slot).toLowerCase().trim();\n if (label.substring(0, this.typeToSelectString.length) === this.typeToSelectString) {\n item.setFocus();\n break;\n }\n }\n }\n\n private getItemsShown(): number {\n const defaultItemsShown = this.virtualScroll ? DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING : 0;\n if (this.items && this.items.length === 1) {\n return 0;\n }\n return this.itemsShown ?? defaultItemsShown;\n }\n\n private setupForVirtualScrollingAfterRendering() {\n if (!this.virtualScroll || this.menuWrapper == null) return;\n\n this.eventListeners.add(this.menuWrapper, 'scroll', debounce(this.handleScrolling, this.scrollingDebounce));\n\n // set menu height to proper height once the item is rendered.\n const menuItemHeight = this.menu?.querySelector('six-menu-item')?.clientHeight;\n if (menuItemHeight != null && menuItemHeight > 0) {\n this.sixMenuItemHeight = menuItemHeight;\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.menu == null) return [];\n\n if (this.items != null) {\n return this.items.map(mapToMenuItem);\n }\n\n const slot = this.menu.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements({ flatten: true })].filter(\n (el): el is HTMLSixMenuItemElement => isSIXMenuItemElement(el) && !el.disabled\n );\n }\n\n private getActiveItemIndex() {\n const items = this.getItems();\n const selectedItem = this.getActiveItem();\n if (selectedItem != null) {\n const itemIndex = items.indexOf(selectedItem);\n if (itemIndex > -1) {\n return itemIndex;\n }\n }\n const sixMenuItems = this.extractItemsFromDOM();\n return sixMenuItems.findIndex(isFocusedMenuItem);\n }\n\n private getActiveItem(): HTMLSixMenuItemElement | undefined {\n const activeElement = this.getItems().find((i) => i === document.activeElement);\n if (activeElement != null) {\n return activeElement;\n }\n return this.extractItemsFromDOM()?.find(isFocusedMenuItem);\n }\n\n private extractItemsFromDOM() {\n return Array.from(this.host.shadowRoot?.querySelectorAll('six-menu-item') ?? []);\n }\n\n private setActiveItem(item: HTMLSixMenuItemElement) {\n item?.setFocus();\n }\n\n private handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const clickedItem = target.closest('six-menu-item');\n if (clickedItem && !clickedItem.disabled) {\n this.sixMenuItemSelected.emit({ name: clickedItem.value, item: clickedItem });\n }\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (this.disableKeyboardHandling) {\n return;\n }\n\n // Make a selection when pressing enter\n if (event.key === 'Enter') {\n const activeItem = this.getActiveItem();\n event.preventDefault();\n\n if (activeItem != null) {\n this.sixMenuItemSelected.emit({ name: activeItem.value, item: activeItem });\n }\n }\n\n // Prevent scrolling when space is pressed\n if (event.key === ' ') {\n event.preventDefault();\n }\n\n // Move the selection when pressing down or up\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n const items = this.items === null ? this.getItems() : this.extractItemsFromDOM();\n\n let indexOfActiveItem = this.getActiveItemIndex();\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n indexOfActiveItem++;\n } else if (event.key === 'ArrowUp') {\n indexOfActiveItem--;\n } else if (event.key === 'Home') {\n indexOfActiveItem = 0;\n } else if (event.key === 'End') {\n indexOfActiveItem = items.length - 1;\n }\n\n if (indexOfActiveItem < 0) indexOfActiveItem = 0;\n if (indexOfActiveItem > items.length - 1) indexOfActiveItem = items.length - 1;\n\n this.setActiveItem(items[indexOfActiveItem]);\n\n return;\n }\n }\n\n void this.typeToSelect(event.key);\n }\n\n private getMenuWrapperStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.getItemsShown() > 0) {\n // calculate the proper height to show the correct number of items\n styles.height = `${(this.getItemsShown() ?? 0) * this.sixMenuItemHeight}px`;\n } else if (this.items && this.items.length === 1) {\n styles.height = 'auto';\n }\n return {\n ...styles,\n };\n }\n\n private getMenuContainerStyle() {\n const styles: Partial<StyleDeclaration> = {};\n\n if (this.virtualScroll) {\n // calculate height of content are if all items would be rendered so the scrollbar has the proper size\n styles.transform = `translateY(${this.sixMenuItemHeight * this.scrollingIndex}px)`;\n }\n\n return {\n ...styles,\n };\n }\n\n private getScrollbarGhostStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.virtualScroll && this.items !== null && this.items.length > 1) {\n styles.height = `${this.items.length * this.sixMenuItemHeight - this.itemSize * this.sixMenuItemHeight}px`;\n }\n return {\n ...styles,\n };\n }\n\n private renderItems() {\n if (this.items === undefined || this.items === null) {\n return;\n }\n\n if (!this.virtualScroll) {\n return this.items.map(mapToMenuItem);\n }\n\n return this.items\n .slice(this.scrollingIndex, Math.min(this.items.length, this.itemSize + this.scrollingIndex))\n .map(({ value, label }: SixMenuItemData) => (\n <six-menu-item checkType=\"check\" key={value} value={value}>\n {label}\n </six-menu-item>\n ));\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.menuWrapper = el)}\n style={this.getMenuWrapperStyle()}\n part=\"wrapper\"\n class={{\n menu: true,\n '.no-shadow': this.removeBoxShadow,\n }}\n >\n <div\n ref={(el) => (this.menu = el)}\n part=\"base\"\n role=\"menu\"\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n tabIndex={0}\n style={this.getMenuContainerStyle()}\n >\n <slot />\n {this.renderItems()}\n </div>\n {this.virtualScroll && <div style={this.getScrollbarGhostStyle()} />}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-menu.js","sourceRoot":"","sources":["../../../src/components/six-menu/six-menu.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,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAYzD,MAAM,iBAAiB,GAAG,CAAC,QAAgC,EAAE,EAAE,mBAC7D,OAAA,MAAA,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,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,CAAC;IACP,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EACpC,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,EACjC,IAAI,EAAC,SAAS,EACd,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI;gBACV,YAAY,EAAE,IAAI,CAAC,eAAe;aACnC;YAED,4DACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAC7B,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE;gBAEnC,8DAAQ;gBACP,IAAI,CAAC,WAAW,EAAE,CACf;YACL,IAAI,CAAC,aAAa,IAAI,4DAAK,KAAK,EAAE,IAAI,CAAC,sBAAsB,EAAE,GAAI,CAChE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\nimport { StyleDeclaration } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce } from '../../utils/execution-control';\n\nexport interface SixMenuItemData {\n label: string;\n value: string;\n}\n\nexport interface SixMenuItemSelectedPayload {\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nconst isFocusedMenuItem = (menuItem: HTMLSixMenuItemElement) =>\n menuItem?.shadowRoot?.querySelector('.menu-item')?.classList?.contains('menu-item--focused');\n\nconst isSIXMenuItemElement = (el?: Element): el is HTMLSixMenuItemElement =>\n el?.tagName.toLowerCase() === 'six-menu-item';\n\nconst mapToMenuItem = ({ value, label }: SixMenuItemData) => (\n <six-menu-item key={value} value={value}>\n {label}\n </six-menu-item>\n);\n\nconst DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING = 5;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING = 48;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT = 64;\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 menu's content, including menu items, menu dividers, and menu labels.\n *\n * @part base - The component's base wrapper.\n */\n@Component({\n tag: 'six-menu',\n styleUrl: 'six-menu.scss',\n shadow: true,\n})\nexport class SixMenu {\n private readonly eventListeners = new EventListeners();\n\n private menu?: HTMLElement;\n private menuWrapper?: HTMLElement;\n private typeToSelectString = '';\n private typeToSelectTimeout?: number;\n\n @Element() host!: HTMLSixMenuElement;\n\n /** Emitted when a menu item is selected. */\n @Event({ eventName: 'six-menu-item-selected' }) sixMenuItemSelected!: EventEmitter<SixMenuItemSelectedPayload>;\n\n /** Set to true to remove the box-shadow */\n @Prop() removeBoxShadow = false;\n\n /** Set the options to be shown in the dropdown */\n @Prop() items: SixMenuItemData[] | null = null;\n\n /** Defines how many items should be shown. If the number of items is larger than this property a scrollbar will be shown */\n @Prop() itemsShown?: number;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Used for virtual scrolling\n * Define how many items should be rendered in the DOM when using virtual scrolling\n */\n @Prop() itemSize = 10;\n\n /**\n * Used for virtual scrolling\n * Define the debounce for listening on scrolling changes in milliseconds.\n * The lower the number the more sensitive the component reacts to scrolling changes.\n */\n @Prop() scrollingDebounce = 15;\n\n /**\n * Internal: Disables handling of key presses.\n */\n @Prop() disableKeyboardHandling = false;\n\n /**\n * Used to calculate which items should be rendered in the DOM\n */\n @State()\n private scrollingIndex = 0;\n\n // set a default item height, this variable will be updated with the real value after the first render.\n // However, it's necessary to have a default value because we can only fetch the proper height after the first render\n @State()\n private sixMenuItemHeight = this.virtualScroll\n ? DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING\n : DEFAULT_SIX_MENU_ITEM_HEIGHT;\n\n connectedCallback() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n componentWillLoad() {\n if (this.items === null) {\n return;\n }\n }\n\n private handleScrolling = () => {\n if (this.menuWrapper == null) return;\n // for performance improvements we only update the DOM if the scrollRatio change \"enough\"\n this.scrollingIndex = Math.floor(this.menuWrapper.scrollTop / this.sixMenuItemHeight);\n };\n\n componentDidLoad() {\n this.setupForVirtualScrollingAfterRendering();\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n /**\n * Initiates type-to-select logic, which automatically selects an option based on what the user is currently typing.\n * The key passed will be appended to the internal query and the selection will be updated. After a brief period, the\n * internal query is cleared automatically. This method is intended to be used with the keydown event. Useful for\n * enabling type-to-select when the menu doesn't have focus.\n */\n @Method()\n async typeToSelect(key: string) {\n clearTimeout(this.typeToSelectTimeout);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.typeToSelectTimeout = setTimeout(() => (this.typeToSelectString = ''), 750);\n this.typeToSelectString += key.toLowerCase();\n const items = this.getItems();\n for (const item of items) {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n const label = getTextContent(slot).toLowerCase().trim();\n if (label.substring(0, this.typeToSelectString.length) === this.typeToSelectString) {\n item.setFocus();\n break;\n }\n }\n }\n\n private getItemsShown(): number {\n const defaultItemsShown = this.virtualScroll ? DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING : 0;\n if (this.items && this.items.length === 1) {\n return 0;\n }\n return this.itemsShown ?? defaultItemsShown;\n }\n\n private setupForVirtualScrollingAfterRendering() {\n if (!this.virtualScroll || this.menuWrapper == null) return;\n\n this.eventListeners.add(this.menuWrapper, 'scroll', debounce(this.handleScrolling, this.scrollingDebounce));\n\n // set menu height to proper height once the item is rendered.\n const menuItemHeight = this.menu?.querySelector('six-menu-item')?.clientHeight;\n if (menuItemHeight != null && menuItemHeight > 0) {\n this.sixMenuItemHeight = menuItemHeight;\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.menu == null) return [];\n\n if (this.items != null) {\n return this.items.map(mapToMenuItem);\n }\n\n const slot = this.menu.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements({ flatten: true })].filter(\n (el): el is HTMLSixMenuItemElement => isSIXMenuItemElement(el) && !el.disabled\n );\n }\n\n private getActiveItemIndex() {\n const items = this.getItems();\n const selectedItem = this.getActiveItem();\n if (selectedItem != null) {\n const itemIndex = items.indexOf(selectedItem);\n if (itemIndex > -1) {\n return itemIndex;\n }\n }\n const sixMenuItems = this.extractItemsFromDOM();\n return sixMenuItems.findIndex(isFocusedMenuItem);\n }\n\n private getActiveItem(): HTMLSixMenuItemElement | undefined {\n const activeElement = this.getItems().find((i) => i === document.activeElement);\n if (activeElement != null) {\n return activeElement;\n }\n return this.extractItemsFromDOM()?.find(isFocusedMenuItem);\n }\n\n private extractItemsFromDOM() {\n return Array.from(this.host.shadowRoot?.querySelectorAll('six-menu-item') ?? []);\n }\n\n private setActiveItem(item: HTMLSixMenuItemElement) {\n item?.setFocus();\n }\n\n private handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const clickedItem = target.closest('six-menu-item');\n if (clickedItem && !clickedItem.disabled) {\n this.sixMenuItemSelected.emit({ name: clickedItem.value, item: clickedItem });\n }\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (this.disableKeyboardHandling) {\n return;\n }\n\n // Make a selection when pressing enter\n if (event.key === 'Enter') {\n const activeItem = this.getActiveItem();\n event.preventDefault();\n\n if (activeItem != null) {\n this.sixMenuItemSelected.emit({ name: activeItem.value, item: activeItem });\n }\n }\n\n // Prevent scrolling when space is pressed\n if (event.key === ' ') {\n event.preventDefault();\n }\n\n // Move the selection when pressing down or up\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n const items = this.items === null ? this.getItems() : this.extractItemsFromDOM();\n\n let indexOfActiveItem = this.getActiveItemIndex();\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n indexOfActiveItem++;\n } else if (event.key === 'ArrowUp') {\n indexOfActiveItem--;\n } else if (event.key === 'Home') {\n indexOfActiveItem = 0;\n } else if (event.key === 'End') {\n indexOfActiveItem = items.length - 1;\n }\n\n if (indexOfActiveItem < 0) indexOfActiveItem = 0;\n if (indexOfActiveItem > items.length - 1) indexOfActiveItem = items.length - 1;\n\n this.setActiveItem(items[indexOfActiveItem]);\n\n return;\n }\n }\n\n void this.typeToSelect(event.key);\n }\n\n private getMenuWrapperStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.getItemsShown() > 0) {\n // calculate the proper height to show the correct number of items\n styles.height = `${(this.getItemsShown() ?? 0) * this.sixMenuItemHeight}px`;\n } else if (this.items && this.items.length === 1) {\n styles.height = 'auto';\n }\n return {\n ...styles,\n };\n }\n\n private getMenuContainerStyle() {\n const styles: Partial<StyleDeclaration> = {};\n\n if (this.virtualScroll) {\n // calculate height of content are if all items would be rendered so the scrollbar has the proper size\n styles.transform = `translateY(${this.sixMenuItemHeight * this.scrollingIndex}px)`;\n }\n\n return {\n ...styles,\n };\n }\n\n private getScrollbarGhostStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.virtualScroll && this.items !== null && this.items.length > 1) {\n styles.height = `${this.items.length * this.sixMenuItemHeight - this.itemSize * this.sixMenuItemHeight}px`;\n }\n return {\n ...styles,\n };\n }\n\n private renderItems() {\n if (this.items === undefined || this.items === null) {\n return;\n }\n\n if (!this.virtualScroll) {\n return this.items.map(mapToMenuItem);\n }\n\n return this.items\n .slice(this.scrollingIndex, Math.min(this.items.length, this.itemSize + this.scrollingIndex))\n .map(({ value, label }: SixMenuItemData) => (\n <six-menu-item checkType=\"check\" key={value} value={value}>\n {label}\n </six-menu-item>\n ));\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.menuWrapper = el)}\n style={this.getMenuWrapperStyle()}\n part=\"wrapper\"\n class={{\n menu: true,\n '.no-shadow': this.removeBoxShadow,\n }}\n >\n <div\n ref={(el) => (this.menu = el)}\n part=\"base\"\n role=\"menu\"\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n tabIndex={0}\n style={this.getMenuContainerStyle()}\n >\n <slot />\n {this.renderItems()}\n </div>\n {this.virtualScroll && <div style={this.getScrollbarGhostStyle()} />}\n </div>\n );\n }\n}\n"]}
@@ -9,7 +9,7 @@ import { h } from "@stencil/core";
9
9
  */
10
10
  export class SixMenuDivider {
11
11
  render() {
12
- return h("div", { key: '41a61bd4110bfb44f10211c350afcebe5c5971df', part: "base", class: "menu-divider", role: "separator", "aria-hidden": "true" });
12
+ return h("div", { key: '890328b9c0bf63322919d2fb199d9c4086840db5', part: "base", class: "menu-divider", role: "separator", "aria-hidden": "true" });
13
13
  }
14
14
  static get is() { return "six-menu-divider"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -63,13 +63,13 @@ export class SixMenuItem {
63
63
  this.hasFocus = false;
64
64
  }
65
65
  render() {
66
- return (h("div", { key: 'd8c10ca0fc9bd795b87790337f2cc0c792999685', ref: (el) => (this.menuItem = el), part: "base", class: {
66
+ return (h("div", { key: 'cb3d859ff52091f2148bfabdc34e5d2456a656d5', ref: (el) => (this.menuItem = el), part: "base", class: {
67
67
  'menu-item': true,
68
68
  'menu-item--checked': this.checked,
69
69
  'menu-item--disabled': this.disabled,
70
70
  'menu-item--focused': this.hasFocus,
71
71
  'menu-item--active': this.active,
72
- }, role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false', "aria-checked": this.checked ? 'true' : 'false', tabIndex: !this.disabled ? 0 : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.checkType === 'checkbox' && (h("span", { class: "menu-item__checkbox" }, h("six-checkbox", { "onSix-checkbox-change": this.handleCheckboxChange, disabled: this.disabled, checked: this.checked }))), h("span", { key: '470f2fee47a4120c0dead3b7996220af9e5274d1', part: "prefix", class: "menu-item__prefix" }, h("slot", { key: 'fdddb68cb266d02f6a6a2b46ffcdecb1d8eb32db', name: "prefix" })), h("span", { key: '6d9fe694ce0e07f2aac3604b905f9194f4764057', part: "label", class: "menu-item__label" }, h("slot", { key: 'ef2903a04191f78955802da5edefd32583305068', ref: (el) => (this.defaultSlot = el) })), h("span", { key: 'd4f6ee6c2789c33deaf08eb585ec7ca283b59170', part: "suffix", class: "menu-item__suffix" }, h("slot", { key: '39a1d59be3d1f9deda4c55b1575a72c647600783', name: "suffix" })), this.checkType === 'check' && (h("span", { part: "checked-icon", class: "menu-item__check" }, h("six-icon", { size: "small", "aria-hidden": "true" }, "check")))));
72
+ }, role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false', "aria-checked": this.checked ? 'true' : 'false', tabIndex: !this.disabled ? 0 : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.checkType === 'checkbox' && (h("span", { key: '1d54b9860f2fd80c464aa5920683cf8f0d2a9ce8', class: "menu-item__checkbox" }, h("six-checkbox", { key: '58ca9bbdee7355a1f40acf2c550bdb5e66e09c34', "onSix-checkbox-change": this.handleCheckboxChange, disabled: this.disabled, checked: this.checked }))), h("span", { key: '4b7653b1548c9ecf55f299a221eb335c30fe036c', part: "prefix", class: "menu-item__prefix" }, h("slot", { key: '9ada6d5f309b9e045f69de99b4555b2948903e92', name: "prefix" })), h("span", { key: '27b2e4a49f446d60d3e9392157457b09097352bd', part: "label", class: "menu-item__label" }, h("slot", { key: '07088d2469a477c651173a128baf2f2a05a37fcf', ref: (el) => (this.defaultSlot = el) })), h("span", { key: '35361e8878b92886461a826e358726ca53e15685', part: "suffix", class: "menu-item__suffix" }, h("slot", { key: '6ae0543c32bd4f399979f8838180fff2035486bc', name: "suffix" })), this.checkType === 'check' && (h("span", { key: '7de4ac54bc20ada3c774bfd50af99d12a19f2af4', part: "checked-icon", class: "menu-item__check" }, h("six-icon", { key: '9d1cf97d5e0b85e6e02affca5e4a8af8945fec98', size: "small", "aria-hidden": "true" }, "check")))));
73
73
  }
74
74
  static get is() { return "six-menu-item"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-menu-item.js","sourceRoot":"","sources":["../../../src/components/six-menu-item/six-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;;;;;;;GAeG;AAOH,MAAM,OAAO,WAAW;;QAkEd,yBAAoB,GAAG,GAAG,EAAE;YAClC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACnF,CAAC,CAAC;wBA9DkB,KAAK;sBAEP,KAAK;yBAGmB,OAAO;uBAId,KAAK;qBAGP,EAAE;wBAGC,KAAK;;IAEzC,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UA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,IAAI,CAC7B,YAAM,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,kBAAkB;gBAChD,gBAAU,IAAI,EAAC,OAAO,iBAAa,MAAM,YAE9B,CACN,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\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 menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @part base - The component's base wrapper.\n * @part checked-icon - The container that wraps the checked icon.\n * @part prefix - The prefix container.\n * @part label - The menu item label.\n * @part suffix - The suffix container.\n */\n\n@Component({\n tag: 'six-menu-item',\n styleUrl: 'six-menu-item.scss',\n shadow: true,\n})\nexport class SixMenuItem {\n private menuItem?: HTMLElement;\n private defaultSlot?: HTMLSlotElement;\n\n @Element() host!: HTMLSixMenuItemElement;\n\n @State() hasFocus = false;\n\n @State() active = false;\n\n /** Defines if the checked state is displayed as a checkbox or a check-icon */\n @Prop() checkType: 'checkbox' | 'check' = 'check';\n\n /** Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the\n * checked state */\n @Prop({ reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the menu item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n connectedCallback() {\n this.handleBlur = this.handleBlur.bind(this);\n this.handleFocus = this.handleFocus.bind(this);\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n this.handleCheckboxChange = this.handleCheckboxChange.bind(this);\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.menuItem?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.menuItem?.blur();\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n @Method()\n getTextLabel() {\n return Promise.resolve(getTextContent(this.defaultSlot));\n }\n\n private handleBlur() {\n this.hasFocus = false;\n }\n\n private handleFocus() {\n this.hasFocus = true;\n }\n\n private handleMouseEnter() {\n this.active = true;\n }\n\n private handleMouseLeave() {\n this.active = false;\n this.hasFocus = false;\n }\n\n private handleCheckboxChange = () => {\n this.host.dispatchEvent(new Event('click', { bubbles: true, cancelable: true }));\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.menuItem = el)}\n part=\"base\"\n class={{\n 'menu-item': true,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--focused': this.hasFocus,\n 'menu-item--active': this.active,\n }}\n role=\"menuitem\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-checked={this.checked ? 'true' : 'false'}\n tabIndex={!this.disabled ? 0 : undefined}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n {this.checkType === 'checkbox' && (\n <span class=\"menu-item__checkbox\">\n <six-checkbox\n onSix-checkbox-change={this.handleCheckboxChange}\n disabled={this.disabled}\n checked={this.checked}\n ></six-checkbox>\n </span>\n )}\n\n <span part=\"prefix\" class=\"menu-item__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <span part=\"label\" class=\"menu-item__label\">\n <slot ref={(el) => (this.defaultSlot = el as HTMLSlotElement)} />\n </span>\n\n <span part=\"suffix\" class=\"menu-item__suffix\">\n <slot name=\"suffix\" />\n </span>\n\n {this.checkType === 'check' && (\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <six-icon size=\"small\" aria-hidden=\"true\">\n check\n </six-icon>\n </span>\n )}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-menu-item.js","sourceRoot":"","sources":["../../../src/components/six-menu-item/six-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;;;;;;;GAeG;AAOH,MAAM,OAAO,WAAW;;QAkEd,yBAAoB,GAAG,GAAG,EAAE;YAClC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACnF,CAAC,CAAC;wBA9DkB,KAAK;sBAEP,KAAK;yBAGmB,OAAO;uBAId,KAAK;qBAGP,EAAE;wBAGC,KAAK;;IAEzC,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IAED,gCAAgC;IAEhC,KAAK,CAAC,QAAQ,CAAC,OAAsB;;QACnC,MAAA,IAAI,CAAC,QAA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AI,CAAC,WAAW,EACzB,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACnC,YAAY,EAAE,IAAI,CAAC,gBAAgB;YAElC,IAAI,CAAC,SAAS,KAAK,UAAU,IAAI,CAChC,6DAAM,KAAK,EAAC,qBAAqB;gBAC/B,8FACyB,IAAI,CAAC,oBAAoB,EAChD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,GACP,CACX,CACR;YAED,6DAAM,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB;gBAC3C,6DAAM,IAAI,EAAC,QAAQ,GAAG,CACjB;YAEP,6DAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,kBAAkB;gBACzC,6DAAM,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAqB,CAAC,GAAI,CAC5D;YAEP,6DAAM,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB;gBAC3C,6DAAM,IAAI,EAAC,QAAQ,GAAG,CACjB;YAEN,IAAI,CAAC,SAAS,KAAK,OAAO,IAAI,CAC7B,6DAAM,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,kBAAkB;gBAChD,iEAAU,IAAI,EAAC,OAAO,iBAAa,MAAM,YAE9B,CACN,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\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 menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @part base - The component's base wrapper.\n * @part checked-icon - The container that wraps the checked icon.\n * @part prefix - The prefix container.\n * @part label - The menu item label.\n * @part suffix - The suffix container.\n */\n\n@Component({\n tag: 'six-menu-item',\n styleUrl: 'six-menu-item.scss',\n shadow: true,\n})\nexport class SixMenuItem {\n private menuItem?: HTMLElement;\n private defaultSlot?: HTMLSlotElement;\n\n @Element() host!: HTMLSixMenuItemElement;\n\n @State() hasFocus = false;\n\n @State() active = false;\n\n /** Defines if the checked state is displayed as a checkbox or a check-icon */\n @Prop() checkType: 'checkbox' | 'check' = 'check';\n\n /** Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the\n * checked state */\n @Prop({ reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the menu item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n connectedCallback() {\n this.handleBlur = this.handleBlur.bind(this);\n this.handleFocus = this.handleFocus.bind(this);\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n this.handleCheckboxChange = this.handleCheckboxChange.bind(this);\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.menuItem?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.menuItem?.blur();\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n @Method()\n getTextLabel() {\n return Promise.resolve(getTextContent(this.defaultSlot));\n }\n\n private handleBlur() {\n this.hasFocus = false;\n }\n\n private handleFocus() {\n this.hasFocus = true;\n }\n\n private handleMouseEnter() {\n this.active = true;\n }\n\n private handleMouseLeave() {\n this.active = false;\n this.hasFocus = false;\n }\n\n private handleCheckboxChange = () => {\n this.host.dispatchEvent(new Event('click', { bubbles: true, cancelable: true }));\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.menuItem = el)}\n part=\"base\"\n class={{\n 'menu-item': true,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--focused': this.hasFocus,\n 'menu-item--active': this.active,\n }}\n role=\"menuitem\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-checked={this.checked ? 'true' : 'false'}\n tabIndex={!this.disabled ? 0 : undefined}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n {this.checkType === 'checkbox' && (\n <span class=\"menu-item__checkbox\">\n <six-checkbox\n onSix-checkbox-change={this.handleCheckboxChange}\n disabled={this.disabled}\n checked={this.checked}\n ></six-checkbox>\n </span>\n )}\n\n <span part=\"prefix\" class=\"menu-item__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <span part=\"label\" class=\"menu-item__label\">\n <slot ref={(el) => (this.defaultSlot = el as HTMLSlotElement)} />\n </span>\n\n <span part=\"suffix\" class=\"menu-item__suffix\">\n <slot name=\"suffix\" />\n </span>\n\n {this.checkType === 'check' && (\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <six-icon size=\"small\" aria-hidden=\"true\">\n check\n </six-icon>\n </span>\n )}\n </div>\n );\n }\n}\n"]}
@@ -11,7 +11,7 @@ import { h } from "@stencil/core";
11
11
  */
12
12
  export class SixMenuLabel {
13
13
  render() {
14
- return (h("div", { key: '5183d165a877bd2ca0c25d4ff61d55200b66132d', part: "base", class: "menu-label" }, h("slot", { key: '5adecf55a82a78de5eee401aeec442f7e60e0874' })));
14
+ return (h("div", { key: '0c3c49689954ef436d5e4dec07e36f404c1e6002', part: "base", class: "menu-label" }, h("slot", { key: '497f86791932edf59de344292c32c57618f7b65e' })));
15
15
  }
16
16
  static get is() { return "six-menu-label"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class SixPicto {
12
12
  render() {
13
13
  var _a;
14
14
  const iconName = (_a = this.host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim();
15
- return (h(Host, { key: 'adec8f35b8501390c0831495ea9f915f6616aa04' }, h("div", { key: '92bcee923694c027ed93554d4d93924b58803b82', part: "icon", class: {
15
+ return (h(Host, { key: 'e33180544598008e84e88fa8a992abd73e48f95d' }, h("div", { key: 'aeb6916447c5ab9e14c0193809437baf95fbf17a', part: "icon", class: {
16
16
  [`is-size-${this.size}`]: typeof this.size != null || this.size.trim() !== '',
17
17
  [`${iconName}`]: true,
18
18
  } })));
@@ -17,12 +17,12 @@ export class SixProgressBar {
17
17
  this.indeterminate = false;
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '5361da7a78cfcaa6375e078da88209dcd725d832', part: "base", class: {
20
+ return (h("div", { key: '45ac15bb610a1cf554978f14faf62468248456b5', part: "base", class: {
21
21
  'progress-bar': true,
22
22
  'progress-bar--indeterminate': this.indeterminate,
23
- }, role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": this.indeterminate ? null : this.percentage }, h("div", { key: 'a3dea20c3afea5be2c6c02adf9e6f98cdb038cbb', part: "indicator", class: "progress-bar__indicator", style: {
23
+ }, role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": this.indeterminate ? null : this.percentage }, h("div", { key: '5e1669e12a54f369b24159db5533adfe6e4afc23', part: "indicator", class: "progress-bar__indicator", style: {
24
24
  width: `${this.percentage}%`,
25
- } }, !this.indeterminate && (h("span", { part: "label", class: "progress-bar__label" }, h("slot", null))))));
25
+ } }, !this.indeterminate && (h("span", { key: 'ee288552a254819e817c639a4d557a174d827c71', part: "label", class: "progress-bar__label" }, h("slot", { key: '201bc1ed20890d847d578c322fb1e6911df497b1' }))))));
26
26
  }
27
27
  static get is() { return "six-progress-bar"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-progress-bar.js","sourceRoot":"","sources":["../../../src/components/six-progress-bar/six-progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;;;;GAWG;AAOH,MAAM,OAAO,cAAc;;0BAEJ,CAAC;6BAGE,KAAK;;IAE7B,MAAM;QACJ,OAAO,CACL,4DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,IAAI,CAAC,aAAa;aAClD,EACD,IAAI,EAAC,aAAa,mBACJ,GAAG,mBACH,KAAK,mBACJ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU;YAE1D,4DACE,IAAI,EAAC,WAAW,EAChB,KAAK,EAAC,yBAAyB,EAC/B,KAAK,EAAE;oBACL,KAAK,EAAE,GAAG,IAAI,CAAC,UAAU,GAAG;iBAC7B,IAEA,CAAC,IAAI,CAAC,aAAa,IAAI,CACtB,YAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,qBAAqB;gBAC5C,eAAQ,CACH,CACR,CACG,CACF,CACP,CAAC;IACJ,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 * @slot - A label to show inside the indicator.\n *\n * @part base - The component's base wrapper.\n * @part indicator - The progress bar indicator.\n * @part label - The progress bar label.\n */\n\n@Component({\n tag: 'six-progress-bar',\n styleUrl: 'six-progress-bar.scss',\n shadow: true,\n})\nexport class SixProgressBar {\n /** The progress bar's percentage, 0 to 100. */\n @Prop() percentage = 0;\n\n /** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */\n @Prop() indeterminate = false;\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n 'progress-bar': true,\n 'progress-bar--indeterminate': this.indeterminate,\n }}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={this.indeterminate ? null : this.percentage}\n >\n <div\n part=\"indicator\"\n class=\"progress-bar__indicator\"\n style={{\n width: `${this.percentage}%`,\n }}\n >\n {!this.indeterminate && (\n <span part=\"label\" class=\"progress-bar__label\">\n <slot />\n </span>\n )}\n </div>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-progress-bar.js","sourceRoot":"","sources":["../../../src/components/six-progress-bar/six-progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;;;;GAWG;AAOH,MAAM,OAAO,cAAc;;0BAEJ,CAAC;6BAGE,KAAK;;IAE7B,MAAM;QACJ,OAAO,CACL,4DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,cAAc,EAAE,IAAI;gBACpB,6BAA6B,EAAE,IAAI,CAAC,aAAa;aAClD,EACD,IAAI,EAAC,aAAa,mBACJ,GAAG,mBACH,KAAK,mBACJ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU;YAE1D,4DACE,IAAI,EAAC,WAAW,EAChB,KAAK,EAAC,yBAAyB,EAC/B,KAAK,EAAE;oBACL,KAAK,EAAE,GAAG,IAAI,CAAC,UAAU,GAAG;iBAC7B,IAEA,CAAC,IAAI,CAAC,aAAa,IAAI,CACtB,6DAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,qBAAqB;gBAC5C,8DAAQ,CACH,CACR,CACG,CACF,CACP,CAAC;IACJ,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 * @slot - A label to show inside the indicator.\n *\n * @part base - The component's base wrapper.\n * @part indicator - The progress bar indicator.\n * @part label - The progress bar label.\n */\n\n@Component({\n tag: 'six-progress-bar',\n styleUrl: 'six-progress-bar.scss',\n shadow: true,\n})\nexport class SixProgressBar {\n /** The progress bar's percentage, 0 to 100. */\n @Prop() percentage = 0;\n\n /** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */\n @Prop() indeterminate = false;\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n 'progress-bar': true,\n 'progress-bar--indeterminate': this.indeterminate,\n }}\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow={this.indeterminate ? null : this.percentage}\n >\n <div\n part=\"indicator\"\n class=\"progress-bar__indicator\"\n style={{\n width: `${this.percentage}%`,\n }}\n >\n {!this.indeterminate && (\n <span part=\"label\" class=\"progress-bar__label\">\n <slot />\n </span>\n )}\n </div>\n </div>\n );\n }\n}\n"]}