@scania/tegel 0.0.7 → 0.0.8

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 (636) hide show
  1. package/dist/cjs/{index-681dc796.js → index-fd332a2b.js} +99 -40
  2. package/dist/cjs/loader.cjs.js +3 -3
  3. package/dist/cjs/{popper-11d5f714.js → popper-9def2535.js} +3 -4
  4. package/dist/cjs/sdds-accordion-item.cjs.entry.js +3 -3
  5. package/dist/cjs/sdds-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/{sdds-badges.cjs.entry.js → sdds-badge.cjs.entry.js} +6 -6
  7. package/dist/cjs/sdds-banner.cjs.entry.js +3 -3
  8. package/dist/cjs/sdds-block.cjs.entry.js +1 -1
  9. package/dist/cjs/sdds-body-cell_2.cjs.entry.js +6 -6
  10. package/dist/cjs/sdds-breadcrumb-item.cjs.entry.js +1 -1
  11. package/dist/cjs/sdds-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/sdds-button.cjs.entry.js +21 -10
  13. package/dist/cjs/sdds-card.cjs.entry.js +1 -1
  14. package/dist/cjs/sdds-checkbox.cjs.entry.js +2 -2
  15. package/dist/cjs/sdds-chip.cjs.entry.js +1 -1
  16. package/dist/cjs/sdds-core-header-item_2.cjs.entry.js +3 -3
  17. package/dist/cjs/sdds-datetime.cjs.entry.js +1 -1
  18. package/dist/cjs/sdds-divider.cjs.entry.js +1 -1
  19. package/dist/cjs/sdds-dropdown-filter.cjs.entry.js +2 -2
  20. package/dist/cjs/sdds-dropdown-option-v2.cjs.entry.js +93 -0
  21. package/dist/cjs/sdds-dropdown-v2.cjs.entry.js +279 -0
  22. package/dist/cjs/sdds-dropdown_2.cjs.entry.js +5 -5
  23. package/dist/cjs/sdds-folder-tab.cjs.entry.js +1 -1
  24. package/dist/cjs/sdds-folder-tabs.cjs.entry.js +1 -1
  25. package/dist/cjs/sdds-footer-group.cjs.entry.js +1 -1
  26. package/dist/cjs/sdds-footer-item.cjs.entry.js +1 -1
  27. package/dist/cjs/sdds-footer.cjs.entry.js +1 -1
  28. package/dist/cjs/sdds-header-brand-symbol.cjs.entry.js +3 -3
  29. package/dist/cjs/sdds-header-cell.cjs.entry.js +38 -13
  30. package/dist/cjs/sdds-header-dropdown-list-item.cjs.entry.js +2 -2
  31. package/dist/cjs/sdds-header-dropdown-list-user.cjs.entry.js +1 -1
  32. package/dist/cjs/sdds-header-dropdown-list.cjs.entry.js +2 -2
  33. package/dist/cjs/sdds-header-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/sdds-header-hamburger.cjs.entry.js +3 -3
  35. package/dist/cjs/sdds-header-launcher-button.cjs.entry.js +2 -2
  36. package/dist/cjs/sdds-header-launcher-grid-item.cjs.entry.js +2 -2
  37. package/dist/cjs/sdds-header-launcher-grid-title.cjs.entry.js +1 -1
  38. package/dist/cjs/sdds-header-launcher-grid.cjs.entry.js +2 -2
  39. package/dist/cjs/sdds-header-launcher-list-item.cjs.entry.js +1 -1
  40. package/dist/cjs/sdds-header-launcher-list-title.cjs.entry.js +1 -1
  41. package/dist/cjs/sdds-header-launcher-list.cjs.entry.js +1 -1
  42. package/dist/cjs/sdds-header-launcher.cjs.entry.js +2 -2
  43. package/dist/cjs/sdds-header-title.cjs.entry.js +2 -2
  44. package/dist/cjs/sdds-header.cjs.entry.js +3 -3
  45. package/dist/cjs/sdds-icon.cjs.entry.js +2 -2
  46. package/dist/cjs/sdds-inline-tab.cjs.entry.js +1 -1
  47. package/dist/cjs/sdds-inline-tabs.cjs.entry.js +2 -2
  48. package/dist/cjs/sdds-link.cjs.entry.js +1 -1
  49. package/dist/cjs/sdds-message.cjs.entry.js +1 -1
  50. package/dist/cjs/sdds-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/sdds-navigation-tab.cjs.entry.js +1 -1
  52. package/dist/cjs/sdds-navigation-tabs.cjs.entry.js +1 -1
  53. package/dist/cjs/sdds-popover-canvas.cjs.entry.js +3 -8
  54. package/dist/cjs/sdds-popover-menu.cjs.entry.js +2 -2
  55. package/dist/cjs/sdds-radio-button.cjs.entry.js +3 -3
  56. package/dist/cjs/sdds-side-menu-close-button.cjs.entry.js +2 -2
  57. package/dist/cjs/sdds-side-menu-collapse-button.cjs.entry.js +22 -4
  58. package/dist/cjs/sdds-side-menu-dropdown-list-item.cjs.entry.js +3 -4
  59. package/dist/cjs/sdds-side-menu-dropdown-list.cjs.entry.js +1 -2
  60. package/dist/cjs/sdds-side-menu-dropdown.cjs.entry.js +2 -3
  61. package/dist/cjs/sdds-side-menu-item.cjs.entry.js +4 -6
  62. package/dist/cjs/sdds-side-menu-overlay.cjs.entry.js +1 -1
  63. package/dist/cjs/sdds-side-menu-user-image_2.cjs.entry.js +1 -1
  64. package/dist/cjs/sdds-side-menu-user.cjs.entry.js +1 -1
  65. package/dist/cjs/sdds-side-menu.cjs.entry.js +14 -7
  66. package/dist/cjs/sdds-slider.cjs.entry.js +50 -44
  67. package/dist/cjs/sdds-spinner.cjs.entry.js +1 -1
  68. package/dist/cjs/sdds-stepper-item.cjs.entry.js +1 -1
  69. package/dist/cjs/sdds-stepper.cjs.entry.js +1 -1
  70. package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js +1 -1
  71. package/dist/cjs/sdds-table-body.cjs.entry.js +49 -73
  72. package/dist/cjs/sdds-table-footer.cjs.entry.js +57 -76
  73. package/dist/cjs/sdds-table-header.cjs.entry.js +3 -3
  74. package/dist/cjs/sdds-table-toolbar.cjs.entry.js +13 -3
  75. package/dist/cjs/sdds-table.cjs.entry.js +1 -1
  76. package/dist/cjs/sdds-textarea.cjs.entry.js +1 -1
  77. package/dist/cjs/sdds-textfield.cjs.entry.js +1 -1
  78. package/dist/cjs/sdds-toast.cjs.entry.js +3 -3
  79. package/dist/cjs/sdds-toggle.cjs.entry.js +2 -2
  80. package/dist/cjs/sdds-tooltip.cjs.entry.js +3 -3
  81. package/dist/cjs/tegel.cjs.js +3 -3
  82. package/dist/cjs/utils-2beb1aa0.js +527 -0
  83. package/dist/collection/collection-manifest.json +5 -3
  84. package/dist/collection/components/accordion/accordion-item/accordion-item.js +4 -4
  85. package/dist/collection/components/badge/{badges.css → badge.css} +10 -10
  86. package/dist/collection/components/badge/{badges.js → badge.js} +8 -8
  87. package/dist/collection/components/banner/sdds-banner.js +10 -10
  88. package/dist/collection/components/button/button.css +59 -173
  89. package/dist/collection/components/button/{button-component.js → button.js} +27 -16
  90. package/dist/collection/components/card/sdds-card.js +4 -4
  91. package/dist/collection/components/checkbox/sdds-checkbox.css +4 -0
  92. package/dist/collection/components/checkbox/sdds-checkbox.js +7 -7
  93. package/dist/collection/components/data-table/table/table.js +1 -1
  94. package/dist/collection/components/data-table/table-body/table-body.js +50 -112
  95. package/dist/collection/components/data-table/table-body-cell/table-body-cell.js +3 -3
  96. package/dist/collection/components/data-table/table-body-row/table-body-row.css +0 -126
  97. package/dist/collection/components/data-table/table-body-row/table-body-row.js +1 -1
  98. package/dist/collection/components/data-table/table-footer/table-footer.js +69 -146
  99. package/dist/collection/components/data-table/table-header/table-header.css +0 -126
  100. package/dist/collection/components/data-table/table-header/table-header.js +1 -1
  101. package/dist/collection/components/data-table/table-header-cell/table-header-cell.js +76 -17
  102. package/dist/collection/components/data-table/table-toolbar/table-toolbar.js +33 -6
  103. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
  104. package/dist/collection/components/dropdown/dropdown.css +0 -337
  105. package/dist/collection/components/dropdown/dropdown.js +1 -1
  106. package/dist/collection/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.css +64 -0
  107. package/dist/collection/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.js +216 -0
  108. package/dist/collection/components/dropdown-v2/dropdown-v2.css +286 -0
  109. package/dist/collection/components/dropdown-v2/dropdown-v2.js +726 -0
  110. package/dist/collection/components/header/webcomponent/header-brand-symbol/header-brand-symbol.css +1 -1
  111. package/dist/collection/components/header/webcomponent/header-component.css +7 -0
  112. package/dist/collection/components/header/webcomponent/header-dropdown-list-item/header-dropdown-list-item.css +1 -1
  113. package/dist/collection/components/header/webcomponent/header-hamburger/header-hamburger.css +1 -1
  114. package/dist/collection/components/header/webcomponent/header-item/header-item.css +1 -1
  115. package/dist/collection/components/header/webcomponent/header-launcher-grid-item/header-launcher-grid-item.css +2 -2
  116. package/dist/collection/components/header/webcomponent/header-title/header-title.css +6 -13
  117. package/dist/collection/components/icon/iconsArray.js +5 -1
  118. package/dist/collection/components/popover-canvas/popover-canvas.js +4 -9
  119. package/dist/collection/components/popover-menu/popover-menu.js +2 -2
  120. package/dist/collection/components/radio-button/{radio-button-component.css → radio-button.css} +2 -0
  121. package/dist/collection/components/radio-button/radio-button.js +8 -8
  122. package/dist/collection/components/side-menu/webcomponent/side-menu-collapse-button/side-menu-collapse-button.js +67 -5
  123. package/dist/collection/components/side-menu/webcomponent/side-menu-dropdown/side-menu-dropdown.css +1 -1
  124. package/dist/collection/components/side-menu/webcomponent/side-menu-dropdown/side-menu-dropdown.js +1 -2
  125. package/dist/collection/components/side-menu/webcomponent/side-menu-dropdown-list/side-menu-dropdown-list.js +1 -2
  126. package/dist/collection/components/side-menu/webcomponent/side-menu-dropdown-list-item/side-menu-dropdown-list-item.css +7 -2
  127. package/dist/collection/components/side-menu/webcomponent/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -4
  128. package/dist/collection/components/side-menu/webcomponent/side-menu-item/side-menu-item.css +8 -1
  129. package/dist/collection/components/side-menu/webcomponent/side-menu-item/side-menu-item.js +3 -5
  130. package/dist/collection/components/side-menu/webcomponent/side-menu.js +75 -14
  131. package/dist/collection/components/slider/slider.css +1 -36
  132. package/dist/collection/components/slider/slider.js +48 -42
  133. package/dist/collection/components/spinner/spinner.js +2 -2
  134. package/dist/collection/components/stepper/sdds-stepper.js +1 -1
  135. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +1 -1
  136. package/dist/collection/components/toast/sdds-toast.js +9 -9
  137. package/dist/collection/components/toggle/sdds-toggle.js +9 -9
  138. package/dist/collection/components/tooltip/tooltip.js +6 -6
  139. package/dist/collection/utils/constants.js +1 -0
  140. package/dist/collection/utils/utils.js +70 -5
  141. package/dist/components/core-header-item.js +1 -1
  142. package/dist/components/dropdown-option.js +10 -4
  143. package/dist/components/dropdown.js +3 -3
  144. package/dist/components/header-dropdown-list-item.js +2 -2
  145. package/dist/components/header-dropdown-list.js +2 -2
  146. package/dist/components/header-item.js +3 -3
  147. package/dist/components/header-launcher-button.js +1 -1
  148. package/dist/components/icon.js +2 -2
  149. package/dist/components/popover-canvas.js +2 -7
  150. package/dist/components/popper.js +3 -4
  151. package/dist/components/sdds-accordion-item.js +3 -3
  152. package/dist/components/sdds-accordion.js +1 -1
  153. package/dist/components/{sdds-badges.d.ts → sdds-badge.d.ts} +4 -4
  154. package/dist/components/{sdds-badges.js → sdds-badge.js} +10 -10
  155. package/dist/components/sdds-banner.js +3 -3
  156. package/dist/components/sdds-block.js +1 -1
  157. package/dist/components/sdds-breadcrumb-item.js +1 -1
  158. package/dist/components/sdds-breadcrumb.js +1 -1
  159. package/dist/components/sdds-button.js +23 -11
  160. package/dist/components/sdds-card.js +1 -1
  161. package/dist/components/sdds-checkbox.js +1 -71
  162. package/dist/components/sdds-checkbox2.js +73 -0
  163. package/dist/components/sdds-chip.js +1 -1
  164. package/dist/components/sdds-datetime.js +1 -1
  165. package/dist/components/sdds-divider.js +1 -1
  166. package/dist/components/sdds-dropdown-filter.js +9 -3
  167. package/dist/components/sdds-dropdown-option-v2.d.ts +11 -0
  168. package/dist/components/sdds-dropdown-option-v2.js +126 -0
  169. package/dist/components/sdds-dropdown-v2.d.ts +11 -0
  170. package/dist/components/sdds-dropdown-v2.js +323 -0
  171. package/dist/components/sdds-folder-tab.js +1 -1
  172. package/dist/components/sdds-folder-tabs.js +1 -1
  173. package/dist/components/sdds-footer-group.js +1 -1
  174. package/dist/components/sdds-footer-item.js +1 -1
  175. package/dist/components/sdds-footer.js +1 -1
  176. package/dist/components/sdds-header-brand-symbol.js +2 -2
  177. package/dist/components/sdds-header-cell.js +39 -14
  178. package/dist/components/sdds-header-dropdown-list-user.js +1 -1
  179. package/dist/components/sdds-header-dropdown.js +1 -1
  180. package/dist/components/sdds-header-hamburger.js +2 -2
  181. package/dist/components/sdds-header-launcher-grid-item.js +2 -2
  182. package/dist/components/sdds-header-launcher-grid-title.js +1 -1
  183. package/dist/components/sdds-header-launcher-grid.js +2 -2
  184. package/dist/components/sdds-header-launcher-list-item.js +1 -1
  185. package/dist/components/sdds-header-launcher-list-title.js +1 -1
  186. package/dist/components/sdds-header-launcher-list.js +1 -1
  187. package/dist/components/sdds-header-launcher.js +1 -1
  188. package/dist/components/sdds-header-title.js +2 -2
  189. package/dist/components/sdds-header.js +2 -2
  190. package/dist/components/sdds-inline-tab.js +1 -1
  191. package/dist/components/sdds-inline-tabs.js +2 -2
  192. package/dist/components/sdds-link.js +1 -1
  193. package/dist/components/sdds-message.js +1 -1
  194. package/dist/components/sdds-modal.js +1 -1
  195. package/dist/components/sdds-navigation-tab.js +1 -1
  196. package/dist/components/sdds-navigation-tabs.js +1 -1
  197. package/dist/components/sdds-popover-menu.js +1 -1
  198. package/dist/components/sdds-radio-button.js +3 -3
  199. package/dist/components/sdds-side-menu-close-button.js +1 -1
  200. package/dist/components/sdds-side-menu-collapse-button.js +24 -6
  201. package/dist/components/sdds-side-menu-dropdown-list-item.js +4 -5
  202. package/dist/components/sdds-side-menu-dropdown-list.js +2 -3
  203. package/dist/components/sdds-side-menu-dropdown.js +3 -4
  204. package/dist/components/sdds-side-menu-overlay.js +1 -1
  205. package/dist/components/sdds-side-menu-user.js +1 -1
  206. package/dist/components/sdds-side-menu.js +16 -8
  207. package/dist/components/sdds-slider.js +50 -44
  208. package/dist/components/sdds-spinner.js +1 -1
  209. package/dist/components/sdds-stepper-item.js +1 -1
  210. package/dist/components/sdds-stepper.js +1 -1
  211. package/dist/components/sdds-table-body-row-expandable.js +1 -1
  212. package/dist/components/sdds-table-body.js +58 -78
  213. package/dist/components/sdds-table-footer.js +67 -86
  214. package/dist/components/sdds-table-header.js +10 -4
  215. package/dist/components/sdds-table-toolbar.js +13 -3
  216. package/dist/components/sdds-table.js +1 -1
  217. package/dist/components/sdds-textarea.js +1 -1
  218. package/dist/components/sdds-textfield.js +1 -1
  219. package/dist/components/sdds-toast.js +3 -3
  220. package/dist/components/sdds-toggle.js +2 -2
  221. package/dist/components/sdds-tooltip.js +2 -2
  222. package/dist/components/side-menu-item.js +5 -7
  223. package/dist/components/side-menu-user-image.js +1 -1
  224. package/dist/components/side-menu-user-label.js +1 -1
  225. package/dist/components/table-body-cell.js +4 -4
  226. package/dist/components/table-body-row.js +10 -4
  227. package/dist/components/utils.js +201 -115
  228. package/dist/esm/{index-2d8c4bc9.js → index-54c55e8d.js} +99 -40
  229. package/dist/esm/loader.js +4 -4
  230. package/dist/esm/{popper-f860750c.js → popper-bfa25c7f.js} +3 -4
  231. package/dist/esm/sdds-accordion-item.entry.js +3 -3
  232. package/dist/esm/sdds-accordion.entry.js +1 -1
  233. package/dist/esm/{sdds-badges.entry.js → sdds-badge.entry.js} +6 -6
  234. package/dist/esm/sdds-banner.entry.js +3 -3
  235. package/dist/esm/sdds-block.entry.js +1 -1
  236. package/dist/esm/sdds-body-cell_2.entry.js +6 -6
  237. package/dist/esm/sdds-breadcrumb-item.entry.js +1 -1
  238. package/dist/esm/sdds-breadcrumb.entry.js +1 -1
  239. package/dist/esm/sdds-button.entry.js +21 -10
  240. package/dist/esm/sdds-card.entry.js +1 -1
  241. package/dist/esm/sdds-checkbox.entry.js +2 -2
  242. package/dist/esm/sdds-chip.entry.js +1 -1
  243. package/dist/esm/sdds-core-header-item_2.entry.js +3 -3
  244. package/dist/esm/sdds-datetime.entry.js +1 -1
  245. package/dist/esm/sdds-divider.entry.js +1 -1
  246. package/dist/esm/sdds-dropdown-filter.entry.js +2 -2
  247. package/dist/esm/sdds-dropdown-option-v2.entry.js +89 -0
  248. package/dist/esm/sdds-dropdown-v2.entry.js +275 -0
  249. package/dist/esm/sdds-dropdown_2.entry.js +5 -5
  250. package/dist/esm/sdds-folder-tab.entry.js +1 -1
  251. package/dist/esm/sdds-folder-tabs.entry.js +1 -1
  252. package/dist/esm/sdds-footer-group.entry.js +1 -1
  253. package/dist/esm/sdds-footer-item.entry.js +1 -1
  254. package/dist/esm/sdds-footer.entry.js +1 -1
  255. package/dist/esm/sdds-header-brand-symbol.entry.js +3 -3
  256. package/dist/esm/sdds-header-cell.entry.js +38 -13
  257. package/dist/esm/sdds-header-dropdown-list-item.entry.js +2 -2
  258. package/dist/esm/sdds-header-dropdown-list-user.entry.js +1 -1
  259. package/dist/esm/sdds-header-dropdown-list.entry.js +2 -2
  260. package/dist/esm/sdds-header-dropdown.entry.js +1 -1
  261. package/dist/esm/sdds-header-hamburger.entry.js +3 -3
  262. package/dist/esm/sdds-header-launcher-button.entry.js +2 -2
  263. package/dist/esm/sdds-header-launcher-grid-item.entry.js +2 -2
  264. package/dist/esm/sdds-header-launcher-grid-title.entry.js +1 -1
  265. package/dist/esm/sdds-header-launcher-grid.entry.js +2 -2
  266. package/dist/esm/sdds-header-launcher-list-item.entry.js +1 -1
  267. package/dist/esm/sdds-header-launcher-list-title.entry.js +1 -1
  268. package/dist/esm/sdds-header-launcher-list.entry.js +1 -1
  269. package/dist/esm/sdds-header-launcher.entry.js +2 -2
  270. package/dist/esm/sdds-header-title.entry.js +2 -2
  271. package/dist/esm/sdds-header.entry.js +3 -3
  272. package/dist/esm/sdds-icon.entry.js +2 -2
  273. package/dist/esm/sdds-inline-tab.entry.js +1 -1
  274. package/dist/esm/sdds-inline-tabs.entry.js +2 -2
  275. package/dist/esm/sdds-link.entry.js +1 -1
  276. package/dist/esm/sdds-message.entry.js +1 -1
  277. package/dist/esm/sdds-modal.entry.js +1 -1
  278. package/dist/esm/sdds-navigation-tab.entry.js +1 -1
  279. package/dist/esm/sdds-navigation-tabs.entry.js +1 -1
  280. package/dist/esm/sdds-popover-canvas.entry.js +3 -8
  281. package/dist/esm/sdds-popover-menu.entry.js +2 -2
  282. package/dist/esm/sdds-radio-button.entry.js +3 -3
  283. package/dist/esm/sdds-side-menu-close-button.entry.js +2 -2
  284. package/dist/esm/sdds-side-menu-collapse-button.entry.js +22 -4
  285. package/dist/esm/sdds-side-menu-dropdown-list-item.entry.js +3 -4
  286. package/dist/esm/sdds-side-menu-dropdown-list.entry.js +1 -2
  287. package/dist/esm/sdds-side-menu-dropdown.entry.js +2 -3
  288. package/dist/esm/sdds-side-menu-item.entry.js +4 -6
  289. package/dist/esm/sdds-side-menu-overlay.entry.js +1 -1
  290. package/dist/esm/sdds-side-menu-user-image_2.entry.js +1 -1
  291. package/dist/esm/sdds-side-menu-user.entry.js +1 -1
  292. package/dist/esm/sdds-side-menu.entry.js +14 -7
  293. package/dist/esm/sdds-slider.entry.js +50 -44
  294. package/dist/esm/sdds-spinner.entry.js +1 -1
  295. package/dist/esm/sdds-stepper-item.entry.js +1 -1
  296. package/dist/esm/sdds-stepper.entry.js +1 -1
  297. package/dist/esm/sdds-table-body-row-expandable.entry.js +1 -1
  298. package/dist/esm/sdds-table-body.entry.js +49 -73
  299. package/dist/esm/sdds-table-footer.entry.js +57 -76
  300. package/dist/esm/sdds-table-header.entry.js +3 -3
  301. package/dist/esm/sdds-table-toolbar.entry.js +13 -3
  302. package/dist/esm/sdds-table.entry.js +1 -1
  303. package/dist/esm/sdds-textarea.entry.js +1 -1
  304. package/dist/esm/sdds-textfield.entry.js +1 -1
  305. package/dist/esm/sdds-toast.entry.js +3 -3
  306. package/dist/esm/sdds-toggle.entry.js +2 -2
  307. package/dist/esm/sdds-tooltip.entry.js +3 -3
  308. package/dist/esm/tegel.js +4 -4
  309. package/dist/esm/utils-9ac24735.js +515 -0
  310. package/dist/tegel/{p-9a9768ac.entry.js → p-01b882b8.entry.js} +1 -1
  311. package/dist/tegel/{p-ad1a35f8.entry.js → p-078f0e4e.entry.js} +1 -1
  312. package/dist/tegel/{p-d7282ee9.entry.js → p-0a36d105.entry.js} +1 -1
  313. package/dist/tegel/{p-5e334b0e.entry.js → p-0e108d71.entry.js} +1 -1
  314. package/dist/tegel/p-162c3e80.entry.js +1 -0
  315. package/dist/tegel/{p-18631780.entry.js → p-1997ad44.entry.js} +1 -1
  316. package/dist/tegel/p-1ba58650.entry.js +1 -0
  317. package/dist/tegel/{p-7ed6fed8.entry.js → p-1f6400d6.entry.js} +1 -1
  318. package/dist/tegel/{p-ef6f5e79.entry.js → p-21b94a51.entry.js} +1 -1
  319. package/dist/tegel/p-22e67438.entry.js +1 -0
  320. package/dist/tegel/p-2940e260.entry.js +1 -0
  321. package/dist/tegel/{p-6e9d05fb.entry.js → p-2bbc084f.entry.js} +1 -1
  322. package/dist/tegel/{p-59544ddc.entry.js → p-2cfc549c.entry.js} +1 -1
  323. package/dist/tegel/{p-01a61c2f.entry.js → p-2d83f449.entry.js} +1 -1
  324. package/dist/tegel/{p-a84943c6.entry.js → p-329466bd.entry.js} +1 -1
  325. package/dist/tegel/{p-4cf67939.entry.js → p-35d3a6ba.entry.js} +1 -1
  326. package/dist/tegel/p-39227588.js +43 -0
  327. package/dist/tegel/p-40268afe.entry.js +1 -0
  328. package/dist/tegel/p-4149feff.entry.js +1 -0
  329. package/dist/tegel/p-44ed309b.entry.js +1 -0
  330. package/dist/tegel/p-47ba3b5e.entry.js +1 -0
  331. package/dist/tegel/p-49f5ed18.entry.js +1 -0
  332. package/dist/tegel/{p-ebb67172.entry.js → p-4b2ab48b.entry.js} +1 -1
  333. package/dist/tegel/p-4cf4bbc7.entry.js +1 -0
  334. package/dist/tegel/p-516f1aba.entry.js +1 -0
  335. package/dist/tegel/{p-086a6b43.entry.js → p-59e1675a.entry.js} +1 -1
  336. package/dist/tegel/{p-924f8ec4.entry.js → p-5e06540e.entry.js} +1 -1
  337. package/dist/tegel/p-643db100.entry.js +1 -0
  338. package/dist/tegel/{p-b5eb0559.entry.js → p-6841a86b.entry.js} +1 -1
  339. package/dist/tegel/p-6c6c123a.entry.js +1 -0
  340. package/dist/tegel/{p-9cf5900d.entry.js → p-6d86de0a.entry.js} +1 -1
  341. package/dist/tegel/p-6e10b47c.entry.js +1 -0
  342. package/dist/tegel/p-6fe3e975.entry.js +1 -0
  343. package/dist/tegel/p-71b698ce.entry.js +1 -0
  344. package/dist/tegel/p-7273ea0f.entry.js +1 -0
  345. package/dist/tegel/{p-74a57165.entry.js → p-7410551c.entry.js} +1 -1
  346. package/dist/tegel/{p-1add4de7.entry.js → p-75327027.entry.js} +1 -1
  347. package/dist/tegel/{p-1c4be1ad.entry.js → p-754915d2.entry.js} +1 -1
  348. package/dist/tegel/p-7ae4ab28.entry.js +1 -0
  349. package/dist/tegel/p-7b91ccd4.js +2 -0
  350. package/dist/tegel/p-822461f5.entry.js +1 -0
  351. package/dist/tegel/{p-752d605b.entry.js → p-84f5ce9c.entry.js} +1 -1
  352. package/dist/tegel/p-8689bcdb.entry.js +1 -0
  353. package/dist/tegel/p-8722e356.entry.js +1 -0
  354. package/dist/tegel/p-8768c8e0.entry.js +1 -0
  355. package/dist/tegel/{p-c27d75ae.entry.js → p-8e81b555.entry.js} +1 -1
  356. package/dist/tegel/{p-330d0817.entry.js → p-9022fb54.entry.js} +1 -1
  357. package/dist/tegel/{p-5aab47f2.entry.js → p-90af53db.entry.js} +1 -1
  358. package/dist/tegel/p-92620734.entry.js +1 -0
  359. package/dist/tegel/{p-18c80566.entry.js → p-93cc4c14.entry.js} +1 -1
  360. package/dist/tegel/{p-644963ac.entry.js → p-9411abc6.entry.js} +1 -1
  361. package/dist/tegel/{p-bdf72228.entry.js → p-9834b57e.entry.js} +1 -1
  362. package/dist/tegel/{p-99fcc828.entry.js → p-9a16c425.entry.js} +1 -1
  363. package/dist/tegel/p-9d707f6e.js +1 -0
  364. package/dist/tegel/p-9ed4d0b4.entry.js +1 -0
  365. package/dist/tegel/p-a33d346e.entry.js +1 -0
  366. package/dist/tegel/{p-38df9f57.entry.js → p-a3c071af.entry.js} +1 -1
  367. package/dist/tegel/p-a68cc45b.entry.js +1 -0
  368. package/dist/tegel/{p-d205fc5c.entry.js → p-aaff2dcf.entry.js} +1 -1
  369. package/dist/tegel/{p-e17b2d2f.entry.js → p-af6a029f.entry.js} +1 -1
  370. package/dist/tegel/p-afaf51ef.entry.js +1 -0
  371. package/dist/tegel/p-b70695bf.entry.js +1 -0
  372. package/dist/tegel/{p-39db0f46.entry.js → p-bbf30748.entry.js} +1 -1
  373. package/dist/tegel/{p-20ae7c22.entry.js → p-bd23c78a.entry.js} +1 -1
  374. package/dist/tegel/{p-c34c7ecf.entry.js → p-c8ffa2b5.entry.js} +1 -1
  375. package/dist/tegel/{p-72227a2d.entry.js → p-cad55edb.entry.js} +1 -1
  376. package/dist/tegel/{p-36b74bf6.entry.js → p-d04df776.entry.js} +1 -1
  377. package/dist/tegel/{p-71f100c2.entry.js → p-d46ef534.entry.js} +1 -1
  378. package/dist/tegel/{p-38c66680.entry.js → p-d47ed579.entry.js} +1 -1
  379. package/dist/tegel/{p-a90295b8.entry.js → p-d66c1fee.entry.js} +1 -1
  380. package/dist/tegel/{p-a6d6ad47.entry.js → p-d77d95ab.entry.js} +1 -1
  381. package/dist/tegel/{p-f9ddee19.entry.js → p-d8aaf653.entry.js} +1 -1
  382. package/dist/tegel/{p-6e987b6f.entry.js → p-dc47bff6.entry.js} +1 -1
  383. package/dist/tegel/{p-37bea630.entry.js → p-dc502aff.entry.js} +1 -1
  384. package/dist/tegel/{p-7ba28e5a.entry.js → p-dcb46b19.entry.js} +1 -1
  385. package/dist/tegel/{p-e3276a1a.entry.js → p-e649e628.entry.js} +1 -1
  386. package/dist/tegel/{p-8912ff73.entry.js → p-e66d22f9.entry.js} +1 -1
  387. package/dist/tegel/{p-f524837b.entry.js → p-f6ae0ae1.entry.js} +1 -1
  388. package/dist/tegel/{p-3a20733f.entry.js → p-fa250620.entry.js} +1 -1
  389. package/dist/tegel/{p-8ff4e0a7.entry.js → p-ff845045.entry.js} +1 -1
  390. package/dist/tegel/tegel.css +3 -87
  391. package/dist/tegel/tegel.esm.js +1 -1
  392. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +2 -2
  393. package/dist/types/components/badge/{badges.d.ts → badge.d.ts} +4 -4
  394. package/dist/types/components/banner/sdds-banner.d.ts +9 -10
  395. package/dist/types/components/block/sdds-block.d.ts +1 -2
  396. package/dist/types/components/button/button.d.ts +18 -0
  397. package/dist/types/components/card/sdds-card.d.ts +5 -5
  398. package/dist/types/components/checkbox/sdds-checkbox.d.ts +8 -9
  399. package/dist/types/components/data-table/table-body/table-body.d.ts +5 -5
  400. package/dist/types/components/data-table/table-footer/table-footer.d.ts +16 -27
  401. package/dist/types/components/data-table/table-header-cell/table-header-cell.d.ts +26 -5
  402. package/dist/types/components/data-table/table-toolbar/table-toolbar.d.ts +9 -1
  403. package/dist/types/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.d.ts +35 -0
  404. package/dist/types/components/dropdown-v2/dropdown-v2.d.ts +86 -0
  405. package/dist/types/components/footer/webcomponent/sdds-footer-group/sdds-footer-group.d.ts +1 -2
  406. package/dist/types/components/footer/webcomponent/sdds-footer-item/sdds-footer-item.d.ts +1 -2
  407. package/dist/types/components/footer/webcomponent/sdds-footer.d.ts +1 -2
  408. package/dist/types/components/link/sdds-link.d.ts +1 -2
  409. package/dist/types/components/popover-canvas/popover-canvas.d.ts +3 -3
  410. package/dist/types/components/popover-menu/popover-menu.d.ts +2 -2
  411. package/dist/types/components/radio-button/radio-button.d.ts +7 -11
  412. package/dist/types/components/side-menu/webcomponent/side-menu-collapse-button/side-menu-collapse-button.d.ts +9 -2
  413. package/dist/types/components/side-menu/webcomponent/side-menu-dropdown/side-menu-dropdown.d.ts +2 -2
  414. package/dist/types/components/side-menu/webcomponent/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +2 -2
  415. package/dist/types/components/side-menu/webcomponent/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +2 -2
  416. package/dist/types/components/side-menu/webcomponent/side-menu-item/side-menu-item.d.ts +2 -2
  417. package/dist/types/components/side-menu/webcomponent/side-menu.d.ts +21 -7
  418. package/dist/types/components/slider/slider.d.ts +1 -0
  419. package/dist/types/components/spinner/spinner.d.ts +2 -2
  420. package/dist/types/components/stepper/sdds-stepper.d.ts +2 -2
  421. package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +1 -2
  422. package/dist/types/components/toast/sdds-toast.d.ts +8 -9
  423. package/dist/types/components/toggle/sdds-toggle.d.ts +9 -10
  424. package/dist/types/components/tooltip/tooltip.d.ts +5 -5
  425. package/dist/types/components.d.ts +388 -176
  426. package/dist/types/stencil-public-runtime.d.ts +1 -0
  427. package/dist/types/utils/constants.d.ts +1 -0
  428. package/dist/types/utils/utils.d.ts +33 -1
  429. package/loader/index.d.ts +1 -1
  430. package/package.json +6 -26
  431. package/LICENSE +0 -21
  432. package/dist/cjs/utils-2776882d.js +0 -436
  433. package/dist/collection/components/accordion/accordion.stories.js +0 -99
  434. package/dist/collection/components/badge/badge.stories.js +0 -99
  435. package/dist/collection/components/banner/banner.stories.js +0 -92
  436. package/dist/collection/components/banner/sdds-banner.stories.js +0 -106
  437. package/dist/collection/components/block/block-native.stories.js +0 -48
  438. package/dist/collection/components/block/sdds-block.stories.js +0 -48
  439. package/dist/collection/components/breadcrumb/breadcrumb.stories.js +0 -26
  440. package/dist/collection/components/breadcrumb/sdds-breadcrumb.stories.js +0 -35
  441. package/dist/collection/components/button/button-native.stories.js +0 -194
  442. package/dist/collection/components/button/button-webcomponent.stories.js +0 -192
  443. package/dist/collection/components/card/card.stories.js +0 -164
  444. package/dist/collection/components/card/sdds-card.stories.js +0 -159
  445. package/dist/collection/components/checkbox/checkbox.stories.js +0 -62
  446. package/dist/collection/components/checkbox/sdds-checkbox.stories.js +0 -79
  447. package/dist/collection/components/chip/chip.stories.js +0 -126
  448. package/dist/collection/components/chip/sdds-chip.stories.js +0 -229
  449. package/dist/collection/components/data-table/native-table.stories.js +0 -137
  450. package/dist/collection/components/data-table/table-component-basic.stories.js +0 -183
  451. package/dist/collection/components/data-table/table-component-batch-actions.stories.js +0 -149
  452. package/dist/collection/components/data-table/table-component-bodydata.stories.js +0 -52
  453. package/dist/collection/components/data-table/table-component-custom-width.stories.js +0 -173
  454. package/dist/collection/components/data-table/table-component-event-listeners.stories.js +0 -175
  455. package/dist/collection/components/data-table/table-component-expandable-rows.stories.js +0 -159
  456. package/dist/collection/components/data-table/table-component-filtering.stories.js +0 -156
  457. package/dist/collection/components/data-table/table-component-multiselect.stories.js +0 -180
  458. package/dist/collection/components/data-table/table-component-pagination.stories.js +0 -149
  459. package/dist/collection/components/data-table/table-component-sorting.stories.js +0 -182
  460. package/dist/collection/components/datetime/datetime.stories.js +0 -207
  461. package/dist/collection/components/divider/divider-webcomponent.stories.js +0 -61
  462. package/dist/collection/components/divider/divider.stories.js +0 -130
  463. package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.stories.js +0 -182
  464. package/dist/collection/components/dropdown/dropdown-native.stories.js +0 -103
  465. package/dist/collection/components/dropdown/dropdown-wc-default.stories.js +0 -174
  466. package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js +0 -169
  467. package/dist/collection/components/footer/footer.stories.js +0 -117
  468. package/dist/collection/components/footer/webcomponent/sdds-footer.stories.js +0 -144
  469. package/dist/collection/components/header/header-all.stories.js +0 -219
  470. package/dist/collection/components/header/header-default.stories.js +0 -49
  471. package/dist/collection/components/header/header-inline.stories.js +0 -120
  472. package/dist/collection/components/header/header-search.stories.js +0 -265
  473. package/dist/collection/components/header/header-toolbar.stories.js +0 -206
  474. package/dist/collection/components/header/webcomponent/header-default.stories.js +0 -78
  475. package/dist/collection/components/icon/icon-font.stories.js +0 -57
  476. package/dist/collection/components/icon/icon-web-component.stories.js +0 -51
  477. package/dist/collection/components/link/link.stories.js +0 -51
  478. package/dist/collection/components/link/sdds-link.stories.js +0 -56
  479. package/dist/collection/components/message/message.stories.js +0 -128
  480. package/dist/collection/components/message/sdds-message.stories.js +0 -107
  481. package/dist/collection/components/modal/modal-native.stories.js +0 -137
  482. package/dist/collection/components/modal/modal-webcomponent.stories.js +0 -97
  483. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +0 -91
  484. package/dist/collection/components/popover-menu/popover-menu-icons.stories.js +0 -125
  485. package/dist/collection/components/popover-menu/popover-menu.stories.js +0 -118
  486. package/dist/collection/components/radio-button/radio-button-component.stories.js +0 -90
  487. package/dist/collection/components/radio-button/radio-button.stories.js +0 -71
  488. package/dist/collection/components/side-menu/side-menu.stories.js +0 -182
  489. package/dist/collection/components/side-menu/webcomponent/side-menu-webcomponent.stories.js +0 -195
  490. package/dist/collection/components/slider/slider.stories.js +0 -242
  491. package/dist/collection/components/spinner/spinner.stories.js +0 -65
  492. package/dist/collection/components/stepper/stepper.stories.js +0 -129
  493. package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +0 -104
  494. package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +0 -98
  495. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +0 -100
  496. package/dist/collection/components/textarea/textarea.stories.js +0 -187
  497. package/dist/collection/components/textfield/textfield.stories.js +0 -253
  498. package/dist/collection/components/toast/sdds-toast.stories.js +0 -86
  499. package/dist/collection/components/toast/toast.stories.js +0 -131
  500. package/dist/collection/components/toggle/sdds-toggle.stories.js +0 -94
  501. package/dist/collection/components/toggle/toggle.stories.js +0 -77
  502. package/dist/collection/components/tooltip/tooltip.stories.js +0 -127
  503. package/dist/collection/components/utility/colour/background-color.stories.js +0 -96
  504. package/dist/collection/components/utility/colour/text-color.stories.js +0 -94
  505. package/dist/collection/foundations-stories/colour/colour-brand.stories.js +0 -38
  506. package/dist/collection/foundations-stories/colour/colour-scales.stories.js +0 -71
  507. package/dist/collection/foundations-stories/colour/colour-semantic.stories.js +0 -40
  508. package/dist/collection/foundations-stories/grid/grid.stories.js +0 -386
  509. package/dist/collection/foundations-stories/spacing/spacing-element.stories.js +0 -100
  510. package/dist/collection/foundations-stories/spacing/spacing-layout.stories.js +0 -94
  511. package/dist/collection/foundations-stories/typography/typography-body.stories.js +0 -16
  512. package/dist/collection/foundations-stories/typography/typography-detail.stories.js +0 -17
  513. package/dist/collection/foundations-stories/typography/typography-headline.stories.js +0 -39
  514. package/dist/collection/foundations-stories/typography/typography-paragraph.stories.js +0 -12
  515. package/dist/collection/patterns-stories/navigation/navigation-basic.stories.js +0 -84
  516. package/dist/collection/patterns-stories/navigation/navigation-fewitems.stories.js +0 -253
  517. package/dist/collection/patterns-stories/navigation/navigation-manyitems.stories.js +0 -245
  518. package/dist/collection/patterns-stories/navigation/navigation-user-menu.stories.js +0 -139
  519. package/dist/esm/utils-a3c1c64a.js +0 -429
  520. package/dist/tegel/p-0a99765f.js +0 -2
  521. package/dist/tegel/p-2a60c4e4.entry.js +0 -1
  522. package/dist/tegel/p-30f81f4a.entry.js +0 -1
  523. package/dist/tegel/p-37a64a6b.entry.js +0 -1
  524. package/dist/tegel/p-41d9466b.entry.js +0 -1
  525. package/dist/tegel/p-590d2d4a.entry.js +0 -1
  526. package/dist/tegel/p-5e9e9d8a.js +0 -43
  527. package/dist/tegel/p-62f0c598.entry.js +0 -1
  528. package/dist/tegel/p-65658199.entry.js +0 -1
  529. package/dist/tegel/p-7a071034.entry.js +0 -1
  530. package/dist/tegel/p-873ef73f.entry.js +0 -1
  531. package/dist/tegel/p-8ffa8188.entry.js +0 -1
  532. package/dist/tegel/p-925f3361.entry.js +0 -1
  533. package/dist/tegel/p-963de38f.entry.js +0 -1
  534. package/dist/tegel/p-995b89b1.entry.js +0 -1
  535. package/dist/tegel/p-a2c171c5.entry.js +0 -1
  536. package/dist/tegel/p-a33f54a5.entry.js +0 -1
  537. package/dist/tegel/p-a5c7cd92.entry.js +0 -1
  538. package/dist/tegel/p-a624b2c8.entry.js +0 -1
  539. package/dist/tegel/p-b6691995.entry.js +0 -1
  540. package/dist/tegel/p-c8f26c42.entry.js +0 -1
  541. package/dist/tegel/p-ce2434a6.entry.js +0 -1
  542. package/dist/tegel/p-d4591490.entry.js +0 -1
  543. package/dist/tegel/p-d7d2de0a.entry.js +0 -1
  544. package/dist/tegel/p-de0c9622.entry.js +0 -1
  545. package/dist/tegel/p-e605af4c.entry.js +0 -1
  546. package/dist/tegel/p-ec26fc38.js +0 -1
  547. package/dist/tegel/p-ef9c8c37.entry.js +0 -1
  548. package/dist/tegel/p-fdd6de1d.entry.js +0 -1
  549. package/dist/types/components/accordion/accordion.stories.d.ts +0 -77
  550. package/dist/types/components/badge/badge.stories.d.ts +0 -61
  551. package/dist/types/components/banner/banner.stories.d.ts +0 -68
  552. package/dist/types/components/banner/sdds-banner.stories.d.ts +0 -82
  553. package/dist/types/components/block/block-native.stories.d.ts +0 -31
  554. package/dist/types/components/block/sdds-block.stories.d.ts +0 -32
  555. package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +0 -12
  556. package/dist/types/components/breadcrumb/sdds-breadcrumb.stories.d.ts +0 -16
  557. package/dist/types/components/button/button-component.d.ts +0 -18
  558. package/dist/types/components/button/button-native.stories.d.ts +0 -159
  559. package/dist/types/components/button/button-webcomponent.stories.d.ts +0 -151
  560. package/dist/types/components/card/card.stories.d.ts +0 -137
  561. package/dist/types/components/card/sdds-card.stories.d.ts +0 -128
  562. package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -51
  563. package/dist/types/components/checkbox/sdds-checkbox.stories.d.ts +0 -52
  564. package/dist/types/components/chip/chip.stories.d.ts +0 -101
  565. package/dist/types/components/chip/sdds-chip.stories.d.ts +0 -99
  566. package/dist/types/components/data-table/native-table.stories.d.ts +0 -119
  567. package/dist/types/components/data-table/table-component-basic.stories.d.ts +0 -144
  568. package/dist/types/components/data-table/table-component-batch-actions.stories.d.ts +0 -139
  569. package/dist/types/components/data-table/table-component-bodydata.stories.d.ts +0 -33
  570. package/dist/types/components/data-table/table-component-custom-width.stories.d.ts +0 -131
  571. package/dist/types/components/data-table/table-component-event-listeners.stories.d.ts +0 -131
  572. package/dist/types/components/data-table/table-component-expandable-rows.stories.d.ts +0 -131
  573. package/dist/types/components/data-table/table-component-filtering.stories.d.ts +0 -139
  574. package/dist/types/components/data-table/table-component-multiselect.stories.d.ts +0 -144
  575. package/dist/types/components/data-table/table-component-pagination.stories.d.ts +0 -144
  576. package/dist/types/components/data-table/table-component-sorting.stories.d.ts +0 -183
  577. package/dist/types/components/datetime/datetime.stories.d.ts +0 -128
  578. package/dist/types/components/divider/divider-webcomponent.stories.d.ts +0 -58
  579. package/dist/types/components/divider/divider.stories.d.ts +0 -60
  580. package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.stories.d.ts +0 -137
  581. package/dist/types/components/dropdown/dropdown-native.stories.d.ts +0 -72
  582. package/dist/types/components/dropdown/dropdown-wc-default.stories.d.ts +0 -144
  583. package/dist/types/components/dropdown/dropdown-wc-multiselect.stories.d.ts +0 -144
  584. package/dist/types/components/footer/footer.stories.d.ts +0 -45
  585. package/dist/types/components/footer/webcomponent/sdds-footer.stories.d.ts +0 -44
  586. package/dist/types/components/header/header-all.stories.d.ts +0 -31
  587. package/dist/types/components/header/header-default.stories.d.ts +0 -31
  588. package/dist/types/components/header/header-inline.stories.d.ts +0 -31
  589. package/dist/types/components/header/header-search.stories.d.ts +0 -31
  590. package/dist/types/components/header/header-toolbar.stories.d.ts +0 -31
  591. package/dist/types/components/header/webcomponent/header-default.stories.d.ts +0 -31
  592. package/dist/types/components/icon/icon-font.stories.d.ts +0 -38
  593. package/dist/types/components/icon/icon-web-component.stories.d.ts +0 -38
  594. package/dist/types/components/link/link.stories.d.ts +0 -43
  595. package/dist/types/components/link/sdds-link.stories.d.ts +0 -44
  596. package/dist/types/components/message/message.stories.d.ts +0 -89
  597. package/dist/types/components/message/sdds-message.stories.d.ts +0 -88
  598. package/dist/types/components/modal/modal-native.stories.d.ts +0 -74
  599. package/dist/types/components/modal/modal-webcomponent.stories.d.ts +0 -70
  600. package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +0 -27
  601. package/dist/types/components/popover-menu/popover-menu-icons.stories.d.ts +0 -32
  602. package/dist/types/components/popover-menu/popover-menu.stories.d.ts +0 -32
  603. package/dist/types/components/radio-button/radio-button-component.stories.d.ts +0 -39
  604. package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -38
  605. package/dist/types/components/side-menu/side-menu.stories.d.ts +0 -42
  606. package/dist/types/components/side-menu/webcomponent/side-menu-webcomponent.stories.d.ts +0 -50
  607. package/dist/types/components/slider/slider.stories.d.ts +0 -235
  608. package/dist/types/components/spinner/spinner.stories.d.ts +0 -47
  609. package/dist/types/components/stepper/stepper.stories.d.ts +0 -72
  610. package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +0 -69
  611. package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +0 -61
  612. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +0 -61
  613. package/dist/types/components/textarea/textarea.stories.d.ts +0 -139
  614. package/dist/types/components/textfield/textfield.stories.d.ts +0 -201
  615. package/dist/types/components/toast/sdds-toast.stories.d.ts +0 -56
  616. package/dist/types/components/toast/toast.stories.d.ts +0 -68
  617. package/dist/types/components/toggle/sdds-toggle.stories.d.ts +0 -74
  618. package/dist/types/components/toggle/toggle.stories.d.ts +0 -58
  619. package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -66
  620. package/dist/types/components/utility/colour/background-color.stories.d.ts +0 -58
  621. package/dist/types/components/utility/colour/text-color.stories.d.ts +0 -58
  622. package/dist/types/foundations-stories/colour/colour-brand.stories.d.ts +0 -13
  623. package/dist/types/foundations-stories/colour/colour-scales.stories.d.ts +0 -13
  624. package/dist/types/foundations-stories/colour/colour-semantic.stories.d.ts +0 -13
  625. package/dist/types/foundations-stories/grid/grid.stories.d.ts +0 -35
  626. package/dist/types/foundations-stories/spacing/spacing-element.stories.d.ts +0 -8
  627. package/dist/types/foundations-stories/spacing/spacing-layout.stories.d.ts +0 -8
  628. package/dist/types/foundations-stories/typography/typography-body.stories.d.ts +0 -8
  629. package/dist/types/foundations-stories/typography/typography-detail.stories.d.ts +0 -8
  630. package/dist/types/foundations-stories/typography/typography-headline.stories.d.ts +0 -21
  631. package/dist/types/foundations-stories/typography/typography-paragraph.stories.d.ts +0 -8
  632. package/dist/types/patterns-stories/navigation/navigation-basic.stories.d.ts +0 -23
  633. package/dist/types/patterns-stories/navigation/navigation-fewitems.stories.d.ts +0 -23
  634. package/dist/types/patterns-stories/navigation/navigation-manyitems.stories.d.ts +0 -38
  635. package/dist/types/patterns-stories/navigation/navigation-user-menu.stories.d.ts +0 -33
  636. package/readme.md +0 -240
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as o,g as h}from"./p-0a99765f.js";const l=class{constructor(i){t(this,i),this.sddsChange=s(this,"sddsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let i=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);i+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight)})),this.componentWidth=s,this.buttonsWidth=i,this.scrollWidth=i-s,this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children=this.children.map(((t,s)=>(t.addEventListener("click",(()=>{this.sddsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||t.disabled||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s)})),t)))},this.modeVariant=null,this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.buttonWidth=0,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){return this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,i)=>(i===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}calculateButtonWidth(){this.children=this.children.map((t=>(t.offsetWidth>this.buttonWidth&&(this.buttonWidth=t.offsetWidth),t))),this.children.forEach((t=>{t.setTabWidth(this.buttonWidth)}))}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=!(t>=this.scrollWidth),this.showLeftScroll=!(t<=0)}connectedCallback(){this.children=Array.from(this.host.children),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}componentDidLoad(){void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex,this.sddsChange.emit({selectedTabIndex:this.selectedIndex})):(this.children[this.selectedIndex].setSelected(!0),this.sddsChange.emit({selectedTabIndex:this.selectedIndex})),this.calculateButtonWidth()}componentDidUpdate(){this.calculateButtonWidth()}componentDidRender(){this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1),this.addResizeObserver()}render(){return i(o,{role:"list",class:this.modeVariant?`sdds-mode-variant-${this.modeVariant}`:""},i("div",{class:"wrapper",ref:t=>{this.navWrapperElement=t}},i("button",{class:"scroll-left-button "+(this.showLeftScroll?"show":""),disabled:!this.showLeftScroll,onClick:()=>this.scrollLeft()},i("sdds-icon",{name:"chevron_left",size:"20px"})),i("slot",null),i("button",{class:"scroll-right-button "+(this.showRightScroll?"show":""),disabled:!this.showRightScroll,onClick:()=>this.scrollRight()},i("sdds-icon",{name:"chevron_right",size:"20px"}))))}get host(){return h(this)}};l.style=":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:201;right:0}:host .scroll-left-button{z-index:201;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--sdds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--sdds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--sdds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--sdds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--sdds-folder-tabs-scroll-btn-color)}";export{l as sdds_folder_tabs}
1
+ import{r as t,c as s,h as i,H as o,g as h}from"./p-7b91ccd4.js";const l=class{constructor(i){t(this,i),this.sddsChange=s(this,"sddsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let i=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);i+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight)})),this.componentWidth=s,this.buttonsWidth=i,this.scrollWidth=i-s,this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children=this.children.map(((t,s)=>(t.addEventListener("click",(()=>{this.sddsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||t.disabled||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s)})),t)))},this.modeVariant=null,this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.buttonWidth=0,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){return this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,i)=>(i===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}calculateButtonWidth(){this.children=this.children.map((t=>(t.offsetWidth>this.buttonWidth&&(this.buttonWidth=t.offsetWidth),t))),this.children.forEach((t=>{t.setTabWidth(this.buttonWidth)}))}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=!(t>=this.scrollWidth),this.showLeftScroll=!(t<=0)}connectedCallback(){this.children=Array.from(this.host.children),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}componentDidLoad(){void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex,this.sddsChange.emit({selectedTabIndex:this.selectedIndex})):(this.children[this.selectedIndex].setSelected(!0),this.sddsChange.emit({selectedTabIndex:this.selectedIndex})),this.calculateButtonWidth()}componentDidUpdate(){this.calculateButtonWidth()}componentDidRender(){this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1),this.addResizeObserver()}render(){return i(o,{role:"list",class:this.modeVariant?`sdds-mode-variant-${this.modeVariant}`:""},i("div",{class:"wrapper",ref:t=>{this.navWrapperElement=t}},i("button",{class:"scroll-left-button "+(this.showLeftScroll?"show":""),disabled:!this.showLeftScroll,onClick:()=>this.scrollLeft()},i("sdds-icon",{name:"chevron_left",size:"20px"})),i("slot",null),i("button",{class:"scroll-right-button "+(this.showRightScroll?"show":""),disabled:!this.showRightScroll,onClick:()=>this.scrollRight()},i("sdds-icon",{name:"chevron_right",size:"20px"}))))}get host(){return h(this)}};l.style=":host{box-sizing:border-box;overflow:hidden;outline:0}:host *{box-sizing:border-box}:host .wrapper{display:flex;overflow-x:scroll;scrollbar-width:none;position:relative}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{z-index:201;right:0}:host .scroll-left-button{z-index:201;left:0}:host .scroll-right-button,:host .scroll-left-button{height:50px;color:var(--sdds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--sdds-folder-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--sdds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--sdds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--sdds-folder-tabs-scroll-btn-color)}";export{l as sdds_folder_tabs}
@@ -1 +1 @@
1
- import{r as s,h as e,H as o,g as r}from"./p-0a99765f.js";import{i as t}from"./p-5e9e9d8a.js";const d=class{constructor(e){s(this,e)}render(){const s=Object.assign({"aria-label":"Close"},t(this.host));return e(o,null,e("button",Object.assign({},s),e("sdds-icon",{name:"cross",size:"20px"})))}get host(){return r(this)}};d.style=":host{opacity:0;transition:opacity 0.15s ease}:host button{height:64px;width:100%;text-align:left;padding:0 24px;border:none;background-color:var(--sdds-sidebar-side-menu-background-cover);font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-sidebar-side-menu-single-item-color);display:flex;align-items:center;border-bottom:1px solid var(--sdds-sidebar-side-menu-bottom-menu-border-top)}:host button:hover{cursor:pointer;background-color:var(--sdds-sidebar-item-state-hover)}:host button:focus-visible{cursor:pointer;border:1px solid var(--sdds-sidebar-side-menu-single-subitem-selected-border-color)}";export{d as sdds_side_menu_close_button}
1
+ import{r as s,h as e,H as o,g as r}from"./p-7b91ccd4.js";import{i as t}from"./p-39227588.js";const d=class{constructor(e){s(this,e)}render(){const s=Object.assign({"aria-label":"Close"},t(this.host));return e(o,null,e("button",Object.assign({},s),e("sdds-icon",{name:"cross",size:"20px"})))}get host(){return r(this)}};d.style=":host{opacity:0;transition:opacity 0.15s ease}:host button{height:64px;width:100%;text-align:left;padding:0 24px;border:none;background-color:var(--sdds-sidebar-side-menu-background-cover);font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-sidebar-side-menu-single-item-color);display:flex;align-items:center;border-bottom:1px solid var(--sdds-sidebar-side-menu-bottom-menu-border-top)}:host button:hover{cursor:pointer;background-color:var(--sdds-sidebar-item-state-hover)}:host button:focus-visible{cursor:pointer;border:1px solid var(--sdds-sidebar-side-menu-single-subitem-selected-border-color)}";export{d as sdds_side_menu_close_button}
@@ -1 +1 @@
1
- import{r,h as i,H as d}from"./p-0a99765f.js";const o=class{constructor(i){r(this,i),this.orientation="horizontal"}render(){return i(d,{role:"separator","aria-orientation":"vertical"===this.orientation?"vertical":void 0},i("div",{class:`divider ${this.orientation}`}))}};o.style=".divider{box-sizing:border-box}.divider *{box-sizing:border-box}.divider.horizontal{background-color:var(--sdds-divider-background);width:100%;height:1px}.divider.vertical{background-color:var(--sdds-divider-background);height:100%;width:1px}";export{o as sdds_divider}
1
+ import{r,h as i,H as d}from"./p-7b91ccd4.js";const o=class{constructor(i){r(this,i),this.orientation="horizontal"}render(){return i(d,{role:"separator","aria-orientation":"vertical"===this.orientation?"vertical":void 0},i("div",{class:`divider ${this.orientation}`}))}};o.style=".divider{box-sizing:border-box}.divider *{box-sizing:border-box}.divider.horizontal{background-color:var(--sdds-divider-background);width:100%;height:1px}.divider.vertical{background-color:var(--sdds-divider-background);height:100%;width:1px}";export{o as sdds_divider}
@@ -1 +1 @@
1
- import{r as s,h as i,H as t}from"./p-0a99765f.js";const d=class{constructor(i){s(this,i),this.src=void 0,this.alt=void 0}render(){return i(t,null,i("slot",null),this.src&&i("img",{src:this.src,alt:this.alt}))}};d.style=":host img,:host ::slotted(*){width:34px;height:34px;border-radius:50%}";const e=class{constructor(i){s(this,i),this.heading=void 0,this.subheading=void 0}render(){return i(t,null,this.heading,this.subheading&&i("div",{class:"subheading"},this.subheading))}};e.style=":host{display:block;font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-sidebar-side-menu-single-item-color)}:host .subheading{color:var(--sdds-grey-500)}";export{d as sdds_side_menu_user_image,e as sdds_side_menu_user_label}
1
+ import{r as s,h as i,H as t}from"./p-7b91ccd4.js";const d=class{constructor(i){s(this,i),this.src=void 0,this.alt=void 0}render(){return i(t,null,i("slot",null),this.src&&i("img",{src:this.src,alt:this.alt}))}};d.style=":host img,:host ::slotted(*){width:34px;height:34px;border-radius:50%}";const e=class{constructor(i){s(this,i),this.heading=void 0,this.subheading=void 0}render(){return i(t,null,this.heading,this.subheading&&i("div",{class:"subheading"},this.subheading))}};e.style=":host{display:block;font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-sidebar-side-menu-single-item-color)}:host .subheading{color:var(--sdds-grey-500)}";export{d as sdds_side_menu_user_image,e as sdds_side_menu_user_label}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as o}from"./p-0a99765f.js";import{g as i,a as l}from"./p-5e9e9d8a.js";const n=class{constructor(s){t(this,s),this.slotListeners=new Map,this.type="md",this.headingElement=void 0}componentWillLoad(){const{children:t}=this.host;for(let s=0;s<t.length;s++){const e=t[s];"type"in e&&(e.type=this.type)}let s=this.host;"sdds-header-launcher-list"===this.host.parentElement.tagName.toLowerCase()&&(s=this.host.parentElement);const e=i(s,l);e?this.headingElement=e:console.warn("Heading element for list not found")}componentDidLoad(){this.host.shadowRoot.querySelectorAll("slot").forEach((t=>{const s=t=>{this.processAssignedElements(t.target)};t.addEventListener("slotchange",s),s({target:t}),this.slotListeners.set(t,s)}))}processAssignedElements(t){t.assignedElements().forEach((t=>{"li"!==t.tagName.toLowerCase()&&"slot"!==t.tagName.toLowerCase()&&"listitem"!==t.getAttribute("role")&&t.setAttribute("role","listitem"),"slot"===t.tagName.toLowerCase()&&this.processAssignedElements(t)}))}disconnectedCallback(){this.slotListeners.forEach(((t,s)=>{s.removeEventListener("slotchange",t),this.slotListeners.delete(s)}))}render(){var t;const o={role:"list","aria-labelledby":null===(t=this.headingElement)||void 0===t?void 0:t.id};return s(e,Object.assign({},o),s("slot",null))}get host(){return o(this)}};n.style=":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:none;background-color:var(--sdds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([type=lg]){width:320px}";export{n as sdds_header_dropdown_list}
1
+ import{r as t,h as s,H as o,g as e}from"./p-7b91ccd4.js";import{g as i,e as l}from"./p-39227588.js";const n=class{constructor(s){t(this,s),this.slotListeners=new Map,this.type="md",this.headingElement=void 0}componentWillLoad(){const{children:t}=this.host;for(let s=0;s<t.length;s++){const o=t[s];"type"in o&&(o.type=this.type)}let s=this.host;"sdds-header-launcher-list"===this.host.parentElement.tagName.toLowerCase()&&(s=this.host.parentElement);const o=i(s,l);o?this.headingElement=o:console.warn("Heading element for list not found")}componentDidLoad(){this.host.shadowRoot.querySelectorAll("slot").forEach((t=>{const s=t=>{this.processAssignedElements(t.target)};t.addEventListener("slotchange",s),s({target:t}),this.slotListeners.set(t,s)}))}processAssignedElements(t){t.assignedElements().forEach((t=>{"li"!==t.tagName.toLowerCase()&&"slot"!==t.tagName.toLowerCase()&&"listitem"!==t.getAttribute("role")&&t.setAttribute("role","listitem"),"slot"===t.tagName.toLowerCase()&&this.processAssignedElements(t)}))}disconnectedCallback(){this.slotListeners.forEach(((t,s)=>{s.removeEventListener("slotchange",t),this.slotListeners.delete(s)}))}render(){var t;const e={role:"list","aria-labelledby":null===(t=this.headingElement)||void 0===t?void 0:t.id};return s(o,Object.assign({},e),s("slot",null))}get host(){return e(this)}};n.style=":host{display:block;width:190px;padding:0;margin:0;list-style:none;border-radius:none;background-color:var(--sdds-header-app-launcher-menu-bg)}@media all and (max-width: 384px){:host{width:100vw}}:host([type=lg]){width:320px}";export{n as sdds_header_dropdown_list}
@@ -1 +1 @@
1
- import{r as s,h as t,H as e,g as i}from"./p-0a99765f.js";import{i as o}from"./p-5e9e9d8a.js";const a=class{constructor(t){s(this,t),this.active=!1}render(){this.ariaAttributes=Object.assign(Object.assign({},this.ariaAttributes),o(this.host));const s=Object.assign({},this.ariaAttributes);return t(e,null,t("sdds-header-item",{active:this.active},t("button",Object.assign({},s),t("sdds-icon",{class:"icon",name:"bento",size:"20px"}))))}get host(){return i(this)}};a.style=":host{display:block}:host sdds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";export{a as sdds_header_launcher_button}
1
+ import{r as s,h as t,H as e,g as i}from"./p-7b91ccd4.js";import{i as o}from"./p-39227588.js";const r=class{constructor(t){s(this,t),this.active=!1}render(){this.ariaAttributes=Object.assign(Object.assign({},this.ariaAttributes),o(this.host));const s=Object.assign({},this.ariaAttributes);return t(e,null,t("sdds-header-item",{active:this.active},t("button",Object.assign({},s),t("sdds-icon",{class:"icon",name:"bento",size:"20px"}))))}get host(){return i(this)}};r.style=":host{display:block}:host sdds-header-item{display:block}:host .icon{position:relative;margin-left:-6px;left:3px;transition:all 0.2s ease-in-out}";export{r as sdds_header_launcher_button}
@@ -1 +1 @@
1
- import{r as s,c as t,h as d,H as e,g as a}from"./p-0a99765f.js";const o=["verticalDividers","compactDesign","noMinWidth","modeVariant"],l=class{constructor(d){s(this,d),this.internalSddsRowExpanded=t(this,"internalSddsRowExpanded",6),this.internalSddsPagination=t(this,"internalSddsPagination",6),this.colSpan=null,this.isExpanded=!1,this.tableId="",this.columnsNumber=null,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.modeVariant=null}internalSddsPropChangeListener(s){this.tableId===s.detail.tableId&&s.detail.changed.filter((s=>o.includes(s))).forEach((t=>{if(void 0===this[t])throw new Error(`Table prop is not supported: ${t}`);this[t]=s.detail[t]}))}connectedCallback(){this.tableEl=this.host.closest("sdds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){o.forEach((s=>{this[s]=this.tableEl[s]}))}componentDidLoad(){this.internalSddsPagination.emit(this.tableId)}componentWillRender(){this.columnsNumber=null!==this.colSpan?this.colSpan:this.tableEl.querySelector("sdds-table-header").childElementCount+1}sendValue(){this.internalSddsRowExpanded.emit([this.tableId,this.isExpanded])}onChangeHandler(s){this.isExpanded=!0===s.currentTarget.checked,this.sendValue()}render(){return d(e,{class:{"sdds-table__row":!0,"sdds-table__row-expand--active":this.isExpanded,"sdds-table__compact":this.compactDesign,"sdds-table--divider":this.verticalDividers,"sdds-mode-variant-primary":"primary"===this.modeVariant,"sdds-mode-variant-secondary":"secondary"===this.modeVariant}},d("tr",{class:"sdds-table__row"},d("td",{class:"sdds-table__cell sdds-table__cell--expand"},d("label",{class:"sdds-table__expand-control-container"},d("input",{class:"sdds-table__expand-input",type:"checkbox",onChange:s=>this.onChangeHandler(s),checked:this.isExpanded}),d("span",{class:"sdds-expendable-row-icon"},d("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z",fill:"currentColor"}))))),d("slot",null)),d("tr",{class:"sdds-table__row-expand"},d("td",{class:"sdds-table__cell-expand",colSpan:this.columnsNumber},d("slot",{name:"expand-row"}))))}get host(){return a(this)}};l.style=":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .sdds-table__row,:host .sdds-table__row-extend{display:table-row;border-bottom:1px solid var(--sdds-data-table-divider);background-color:var(--sdds-data-table-body-row-background);transition:background-color 200ms ease;color:var(--sdds-data-table-color)}:host .sdds-table__row:hover,:host .sdds-table__row-extend:hover{background-color:var(--sdds-data-table-body-row-background-hover)}:host .sdds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .sdds-table__expand-control-container .sdds-table__expand-input{all:unset;position:absolute;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .sdds-table__expand-control-container .sdds-table__expand-input:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .sdds-table__expand-control-container .sdds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .sdds-table__row-expand{display:none;transition:background-color 200ms ease}:host .sdds-table__row-expand .sdds-table__cell-expand{padding:16px 16px 16px 66px;color:var(--sdds-data-table-color)}:host(.sdds-table__row-expand--active) .sdds-table__row{background-color:var(--sdds-data-table-body-row-background-selected)}:host(.sdds-table__row-expand--active) .sdds-table__expand-control-container .sdds-expendable-row-icon{transform:rotate(180deg)}:host(.sdds-table__row-expand--active) .sdds-table__row-expand{background-color:var(--sdds-data-table-body-row-background-selected);display:table-row}:host(.sdds-table__compact) .sdds-table__expand-control-container{height:30px}:host(.sdds-table__compact) .sdds-table__row-expand .sdds-table__cell-expand{padding:8px 16px 8px 66px}:host(.sdds-table--divider) .sdds-table__cell--expand{border-right:1px solid var(--sdds-data-table-divider)}";export{l as sdds_table_body_row_expandable}
1
+ import{r as s,c as t,h as d,H as e,g as a}from"./p-7b91ccd4.js";const o=["verticalDividers","compactDesign","noMinWidth","modeVariant"],l=class{constructor(d){s(this,d),this.internalSddsRowExpanded=t(this,"internalSddsRowExpanded",6),this.internalSddsPagination=t(this,"internalSddsPagination",6),this.colSpan=null,this.isExpanded=!1,this.tableId="",this.columnsNumber=null,this.verticalDividers=!1,this.compactDesign=!1,this.noMinWidth=!1,this.modeVariant=null}internalSddsPropChangeListener(s){this.tableId===s.detail.tableId&&s.detail.changed.filter((s=>o.includes(s))).forEach((t=>{if(void 0===this[t])throw new Error(`Table prop is not supported: ${t}`);this[t]=s.detail[t]}))}connectedCallback(){this.tableEl=this.host.closest("sdds-table"),this.tableId=this.tableEl.tableId}componentWillLoad(){o.forEach((s=>{this[s]=this.tableEl[s]}))}componentDidLoad(){this.internalSddsPagination.emit(this.tableId)}componentWillRender(){this.columnsNumber=null!==this.colSpan?this.colSpan:this.tableEl.querySelector("sdds-table-header").childElementCount+1}sendValue(){this.internalSddsRowExpanded.emit([this.tableId,this.isExpanded])}onChangeHandler(s){this.isExpanded=!0===s.currentTarget.checked,this.sendValue()}render(){return d(e,{class:{"sdds-table__row":!0,"sdds-table__row-expand--active":this.isExpanded,"sdds-table__compact":this.compactDesign,"sdds-table--divider":this.verticalDividers,"sdds-mode-variant-primary":"primary"===this.modeVariant,"sdds-mode-variant-secondary":"secondary"===this.modeVariant}},d("tr",{class:"sdds-table__row"},d("td",{class:"sdds-table__cell sdds-table__cell--expand"},d("label",{class:"sdds-table__expand-control-container"},d("input",{class:"sdds-table__expand-input",type:"checkbox",onChange:s=>this.onChangeHandler(s),checked:this.isExpanded}),d("span",{class:"sdds-expendable-row-icon"},d("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z",fill:"currentColor"}))))),d("slot",null)),d("tr",{class:"sdds-table__row-expand"},d("td",{class:"sdds-table__cell-expand",colSpan:this.columnsNumber},d("slot",{name:"expand-row"}))))}get host(){return a(this)}};l.style=":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .sdds-table__row,:host .sdds-table__row-extend{display:table-row;border-bottom:1px solid var(--sdds-data-table-divider);background-color:var(--sdds-data-table-body-row-background);transition:background-color 200ms ease;color:var(--sdds-data-table-color)}:host .sdds-table__row:hover,:host .sdds-table__row-extend:hover{background-color:var(--sdds-data-table-body-row-background-hover)}:host .sdds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .sdds-table__expand-control-container .sdds-table__expand-input{all:unset;position:absolute;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .sdds-table__expand-control-container .sdds-table__expand-input:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .sdds-table__expand-control-container .sdds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .sdds-table__row-expand{display:none;transition:background-color 200ms ease}:host .sdds-table__row-expand .sdds-table__cell-expand{padding:16px 16px 16px 66px;color:var(--sdds-data-table-color)}:host(.sdds-table__row-expand--active) .sdds-table__row{background-color:var(--sdds-data-table-body-row-background-selected)}:host(.sdds-table__row-expand--active) .sdds-table__expand-control-container .sdds-expendable-row-icon{transform:rotate(180deg)}:host(.sdds-table__row-expand--active) .sdds-table__row-expand{background-color:var(--sdds-data-table-body-row-background-selected);display:table-row}:host(.sdds-table__compact) .sdds-table__expand-control-container{height:30px}:host(.sdds-table__compact) .sdds-table__row-expand .sdds-table__cell-expand{padding:8px 16px 8px 66px}:host(.sdds-table--divider) .sdds-table__cell--expand{border-right:1px solid var(--sdds-data-table-divider)}";export{l as sdds_table_body_row_expandable}
@@ -1 +1 @@
1
- import{r as s,h as a,H as e,g as t}from"./p-0a99765f.js";import{i as d}from"./p-5e9e9d8a.js";const r=class{constructor(a){s(this,a),this.linkHref="https://www.scania.com"}render(){const s=Object.assign({},d(this.host));return a(e,null,a("sdds-header-item",null,a("a",Object.assign({},s,{href:this.linkHref}))))}get host(){return t(this)}};r.style=":host sdds-header-item{display:none}:host sdds-header-item a{background-image:var(--sdds-background-image-scania-symbol-svg), var(--sdds-background-image-scania-symbol-png);background-size:30px auto;background-position:center;background-repeat:no-repeat}@media (min-width: 521px){:host sdds-header-item{display:block}}";export{r as sdds_header_brand_symbol}
1
+ import{r as s,h as a,H as e,g as t}from"./p-7b91ccd4.js";import{i as d}from"./p-39227588.js";const r=class{constructor(a){s(this,a),this.linkHref="https://www.scania.com"}render(){const s=Object.assign({},d(this.host));return a(e,null,a("sdds-header-item",null,a("a",Object.assign({},s,{href:this.linkHref}))))}get host(){return t(this)}};r.style=":host sdds-header-item{display:none}:host sdds-header-item a{background-image:var(--sdds-background-image-scania-symbol-svg), var(--sdds-background-image-scania-symbol-png);background-size:30px auto;background-position:center;background-repeat:no-repeat}@media (min-width: 992px){:host sdds-header-item{display:block}}";export{r as sdds_header_brand_symbol}
@@ -1 +1 @@
1
- import{r as t,h as o,H as s,g as e}from"./p-0a99765f.js";const i=class{constructor(o){t(this,o),this.slotPostion=null,this.topPartGroup=!1,this.titleText=void 0,this.open=!1}connectedCallback(){this.topPartGroup="top"===this.host.parentElement.slot,this.topPartGroup||(this.slotPostion="main-right"===this.host.parentElement.slot?"right":"left")}render(){return o(s,null,this.titleText&&this.topPartGroup&&o("div",{class:"footer-top-title"},this.titleText),this.titleText&&this.topPartGroup&&o("button",{onClick:()=>{this.open=!this.open},class:"footer-top-title-button "+(this.open?"expanded":"closed")},this.titleText,o("sdds-icon",{name:"chevron_down",size:"20px"})),o("div",{role:"list",class:`${this.slotPostion?this.slotPostion:""}\n ${this.topPartGroup?"top-part-child":""}\n ${this.open?"expanded":"closed"}`},o("slot",null)))}get host(){return e(this)}};i.style=":host{display:block}:host .footer-top-title{font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);opacity:var(--sdds-footer-top-title-opacity);color:var(--sdds-footer-top-links);padding-bottom:8px}:host button.footer-top-title-button{display:none;border:none;width:100%;font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--sdds-footer-top-divider)}:host button.footer-top-title-button.expanded{border-bottom:none}:host button.footer-top-title-button.expanded sdds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--sdds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host button.footer-top-title-button sdds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:8px}:host [role=list].left,:host [role=list].right{gap:24px}:host [role=list].top-part-child{flex-direction:column}@media all and (max-width: 992px){:host [role=list].left:not(.top-part-child){flex-direction:column}:host [role=list].left:not(.top-part-child).left,:host [role=list].left:not(.top-part-child).right{gap:8px}:host [role=list].top-part-child.closed{display:none}:host [role=list].top-part-child{gap:0}:host .footer-top-title{display:none}:host button.footer-top-title-button{display:flex;align-items:center}}";export{i as sdds_footer_group}
1
+ import{r as t,h as o,H as s,g as e}from"./p-7b91ccd4.js";const i=class{constructor(o){t(this,o),this.slotPostion=null,this.topPartGroup=!1,this.titleText=void 0,this.open=!1}connectedCallback(){this.topPartGroup="top"===this.host.parentElement.slot,this.topPartGroup||(this.slotPostion="main-right"===this.host.parentElement.slot?"right":"left")}render(){return o(s,null,this.titleText&&this.topPartGroup&&o("div",{class:"footer-top-title"},this.titleText),this.titleText&&this.topPartGroup&&o("button",{onClick:()=>{this.open=!this.open},class:"footer-top-title-button "+(this.open?"expanded":"closed")},this.titleText,o("sdds-icon",{name:"chevron_down",size:"20px"})),o("div",{role:"list",class:`${this.slotPostion?this.slotPostion:""}\n ${this.topPartGroup?"top-part-child":""}\n ${this.open?"expanded":"closed"}`},o("slot",null)))}get host(){return e(this)}};i.style=":host{display:block}:host .footer-top-title{font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);opacity:var(--sdds-footer-top-title-opacity);color:var(--sdds-footer-top-links);padding-bottom:8px}:host button.footer-top-title-button{display:none;border:none;width:100%;font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-footer-top-links);background-color:transparent;text-align:left;padding:19px 24px;justify-content:space-between;border-bottom:1px solid var(--sdds-footer-top-divider)}:host button.footer-top-title-button.expanded{border-bottom:none}:host button.footer-top-title-button.expanded sdds-icon{transform:rotateZ(180deg)}:host button.footer-top-title-button:hover{cursor:pointer}:host button.footer-top-title-button:active{background-color:var(--sdds-footer-top-button-active)}:host button.footer-top-title-button:focus-visible{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host button.footer-top-title-button sdds-icon{transition:transform 0.2s ease-in-out}:host [role=list]{list-style:none;padding:0;margin:0;display:flex;gap:8px}:host [role=list].left,:host [role=list].right{gap:24px}:host [role=list].top-part-child{flex-direction:column}@media all and (max-width: 992px){:host [role=list].left:not(.top-part-child){flex-direction:column}:host [role=list].left:not(.top-part-child).left,:host [role=list].left:not(.top-part-child).right{gap:8px}:host [role=list].top-part-child.closed{display:none}:host [role=list].top-part-child{gap:0}:host .footer-top-title{display:none}:host button.footer-top-title-button{display:flex;align-items:center}}";export{i as sdds_footer_group}
@@ -1 +1 @@
1
- import{r as n,h as o,g as s}from"./p-0a99765f.js";const e=class{constructor(o){n(this,o),this.disabled=!1,this.underline=!0}connectedCallback(){this.host.children[0].classList.add("sdds-link-component")}render(){return o("div",{class:`\n ${this.disabled?"disabled":""}\n ${this.underline?"":"no-underline"}\n `},o("slot",null))}get host(){return s(this)}};e.style=".sdds-link-component{all:unset;cursor:pointer;outline:none;color:var(--sdds-link);text-decoration:underline}.sdds-link-component.active,.sdds-link-component:active{color:var(--sdds-link);text-decoration:underline;text-decoration-color:var(--sdds-link)}.sdds-link-component:hover{color:var(--sdds-link-hover);text-decoration:underline;text-decoration-color:var(--sdds-link-hover)}.sdds-link-component:visited{color:var(--sdds-link-visited);text-decoration-color:var(--sdds-link-visited)}.sdds-link-component:focus{color:var(--sdds-link-focus);text-decoration:none;outline:2px solid var(--sdds-link-focus);outline-offset:-2px}.disabled .sdds-link-component{color:var(--sdds-link-disabled);text-decoration-color:var(--sdds-link-disabled);pointer-events:none}.no-underline .sdds-link-component{text-decoration:none}.no-underline:hover .sdds-link-component{text-decoration:none}";export{e as sdds_link}
1
+ import{r as n,h as o,g as s}from"./p-7b91ccd4.js";const e=class{constructor(o){n(this,o),this.disabled=!1,this.underline=!0}connectedCallback(){this.host.children[0].classList.add("sdds-link-component")}render(){return o("div",{class:`\n ${this.disabled?"disabled":""}\n ${this.underline?"":"no-underline"}\n `},o("slot",null))}get host(){return s(this)}};e.style=".sdds-link-component{all:unset;cursor:pointer;outline:none;color:var(--sdds-link);text-decoration:underline}.sdds-link-component.active,.sdds-link-component:active{color:var(--sdds-link);text-decoration:underline;text-decoration-color:var(--sdds-link)}.sdds-link-component:hover{color:var(--sdds-link-hover);text-decoration:underline;text-decoration-color:var(--sdds-link-hover)}.sdds-link-component:visited{color:var(--sdds-link-visited);text-decoration-color:var(--sdds-link-visited)}.sdds-link-component:focus{color:var(--sdds-link-focus);text-decoration:none;outline:2px solid var(--sdds-link-focus);outline-offset:-2px}.disabled .sdds-link-component{color:var(--sdds-link-disabled);text-decoration-color:var(--sdds-link-disabled);pointer-events:none}.no-underline .sdds-link-component{text-decoration:none}.no-underline:hover .sdds-link-component{text-decoration:none}";export{e as sdds_link}
@@ -1 +1 @@
1
- import{r as s,h as r,H as t}from"./p-0a99765f.js";const e=class{constructor(r){s(this,r),this.uuid=crypto.randomUUID()}render(){return r(t,null,r("sdds-header-dropdown-list",{type:"lg"},r("slot",null)))}};export{e as sdds_header_launcher_list}
1
+ import{r as s,h as r,H as t}from"./p-7b91ccd4.js";const d=class{constructor(r){s(this,r),this.uuid=crypto.randomUUID()}render(){return r(t,null,r("sdds-header-dropdown-list",{type:"lg"},r("slot",null)))}};export{d as sdds_header_launcher_list}
@@ -1 +1 @@
1
- import{r as t,c as s,h as o,H as i,g as l}from"./p-0a99765f.js";const r=class{constructor(o){t(this,o),this.sddsChange=s(this,"sddsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let o=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);o+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight),t.classList.add("sdds-navigation-tabs-tab")})),this.componentWidth=s,this.buttonsWidth=o,this.scrollWidth=o-s,this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children=this.children.map(((t,s)=>(t.addEventListener("click",(()=>{this.sddsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||t.disabled||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s,this.sddsChange.emit({selectedTabIndex:this.selectedIndex}))})),t)))},this.componentDidLoad=()=>{void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex,this.sddsChange.emit({selectedTabIndex:this.selectedIndex})):(this.children[this.selectedIndex].setSelected(!0),this.sddsChange.emit({selectedTabIndex:this.selectedIndex}))},this.modeVariant="primary",this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){return this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,o)=>(o===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonsWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonsWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=!(t>=this.scrollWidth),this.showLeftScroll=!(t<=0)}connectedCallback(){this.children=Array.from(this.host.children),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}componentDidRender(){this.addResizeObserver()}render(){return o(i,{role:"list",class:this.modeVariant?`sdds-mode-variant-${this.modeVariant}`:""},o("div",{class:"wrapper",ref:t=>{this.navWrapperElement=t}},o("button",{class:"scroll-left-button "+(this.showLeftScroll?"show":""),onClick:()=>this.scrollLeft(),disabled:!this.showLeftScroll},o("sdds-icon",{name:"chevron_left",size:"20px"})),o("slot",null),o("button",{class:"scroll-right-button "+(this.showRightScroll?"show":""),onClick:()=>this.scrollRight(),disabled:!this.showRightScroll},o("sdds-icon",{name:"chevron_right",size:"20px"}))))}get host(){return l(this)}};r.style=':host{box-sizing:border-box;display:flex;background-color:var(--sdds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:" ";display:block;border-bottom:1px solid var(--sdds-inline-tabs-horizontal-divider-background);opacity:var(--sdds-inline-tabs-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:201}:host .scroll-left-button{left:0;z-index:201}:host .scroll-right-button,:host .scroll-left-button{color:var(--sdds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--sdds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--sdds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--sdds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--sdds-folder-tabs-scroll-btn-color)}';export{r as sdds_navigation_tabs}
1
+ import{r as t,c as s,h as o,H as i,g as l}from"./p-7b91ccd4.js";const r=class{constructor(o){t(this,o),this.sddsChange=s(this,"sddsChange",7),this.navWrapperElement=null,this.componentWidth=0,this.buttonsWidth=0,this.scrollWidth=0,this.addResizeObserver=()=>{new ResizeObserver((t=>{t.forEach((t=>{const s=t.contentRect.width;let o=0;Array.from(this.host.children).forEach((t=>{const s=window.getComputedStyle(t);o+=t.clientWidth+parseFloat(s.marginLeft)+parseFloat(s.marginRight),t.classList.add("sdds-navigation-tabs-tab")})),this.componentWidth=s,this.buttonsWidth=o,this.scrollWidth=o-s,this.buttonsWidth>this.componentWidth?this.evaluateScrollButtons():(this.showLeftScroll=!1,this.showRightScroll=!1)}))})).observe(this.navWrapperElement)},this.addEventListenerToTabs=()=>{this.children=Array.from(this.host.children),this.children=this.children.map(((t,s)=>(t.addEventListener("click",(()=>{this.sddsChange.emit({selectedTabIndex:this.children.indexOf(t)}).defaultPrevented||t.disabled||(this.children.forEach((t=>t.setSelected(!1))),t.setSelected(!0),this.selectedIndex=s,this.sddsChange.emit({selectedTabIndex:this.selectedIndex}))})),t)))},this.componentDidLoad=()=>{void 0===this.selectedIndex?(this.addEventListenerToTabs(),this.children[this.defaultSelectedIndex].setSelected(!0),this.selectedIndex=this.defaultSelectedIndex,this.sddsChange.emit({selectedTabIndex:this.selectedIndex})):(this.children[this.selectedIndex].setSelected(!0),this.sddsChange.emit({selectedTabIndex:this.selectedIndex}))},this.modeVariant="primary",this.defaultSelectedIndex=0,this.selectedIndex=void 0,this.showLeftScroll=!1,this.showRightScroll=!1}async selectTab(t){return this.children[t].disabled||(this.children.forEach((t=>t.setSelected(!1))),this.children=this.children.map(((s,o)=>(o===t&&(s.setSelected(!0),this.selectedIndex=t),s)))),{selectedTabIndex:this.selectedIndex}}scrollRight(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft+this.buttonsWidth,this.evaluateScrollButtons()}scrollLeft(){this.navWrapperElement.scrollLeft=this.navWrapperElement.scrollLeft-this.buttonsWidth,this.evaluateScrollButtons()}evaluateScrollButtons(){const t=this.navWrapperElement.scrollLeft;this.showRightScroll=!(t>=this.scrollWidth),this.showLeftScroll=!(t<=0)}connectedCallback(){this.children=Array.from(this.host.children),this.children[0].classList.add("first"),this.children[this.children.length-1].classList.add("last")}componentDidRender(){this.addResizeObserver()}render(){return o(i,{role:"list",class:this.modeVariant?`sdds-mode-variant-${this.modeVariant}`:""},o("div",{class:"wrapper",ref:t=>{this.navWrapperElement=t}},o("button",{class:"scroll-left-button "+(this.showLeftScroll?"show":""),onClick:()=>this.scrollLeft(),disabled:!this.showLeftScroll},o("sdds-icon",{name:"chevron_left",size:"20px"})),o("slot",null),o("button",{class:"scroll-right-button "+(this.showRightScroll?"show":""),onClick:()=>this.scrollRight(),disabled:!this.showRightScroll},o("sdds-icon",{name:"chevron_right",size:"20px"}))))}get host(){return l(this)}};r.style=':host{box-sizing:border-box;display:flex;background-color:var(--sdds-inline-tabs-background);position:relative}:host *{box-sizing:border-box}:host::after{content:" ";display:block;border-bottom:1px solid var(--sdds-inline-tabs-horizontal-divider-background);opacity:var(--sdds-inline-tabs-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}:host .wrapper{display:flex;flex-wrap:nowrap;white-space:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none}:host .wrapper::-webkit-scrollbar{display:none}:host .scroll-right-button{right:0;z-index:201}:host .scroll-left-button{left:0;z-index:201}:host .scroll-right-button,:host .scroll-left-button{color:var(--sdds-folder-tabs-scroll-btn-color);cursor:pointer;border:0;width:0;background-color:var(--sdds-inline-tabs-scroll-btn-background);display:none;justify-content:center;align-items:center;opacity:0;pointer-events:none;position:sticky}:host .scroll-right-button.show,:host .scroll-left-button.show{min-width:48px;display:block;opacity:1;pointer-events:all}:host .scroll-right-button:hover,:host .scroll-left-button:hover{background-color:var(--sdds-folder-tabs-scroll-btn-background-hover)}:host .scroll-right-button:active,:host .scroll-left-button:active{background-color:var(--sdds-folder-tabs-scroll-btn-background-active)}:host .scroll-right-button:focus,:host .scroll-left-button:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}:host .scroll-right-button svg,:host .scroll-left-button svg{fill:var(--sdds-folder-tabs-scroll-btn-color)}';export{r as sdds_navigation_tabs}