@scania/tegel 1.0.0 → 1.0.1

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 (337) hide show
  1. package/README.md +178 -178
  2. package/components/checkbox.js +75 -0
  3. package/{dist/components → components}/core-header-item.js +1 -0
  4. package/{dist/components → components}/divider.js +1 -0
  5. package/{dist/components → components}/header-dropdown-list-item.js +1 -0
  6. package/{dist/components → components}/header-dropdown-list.js +1 -0
  7. package/{dist/components → components}/header-item.js +1 -0
  8. package/{dist/components → components}/header-launcher-button.js +1 -0
  9. package/{dist/components → components}/icon.js +2 -1
  10. package/{dist/components → components}/popover-canvas.js +1 -0
  11. package/{dist/components → components}/popover-core.js +1 -0
  12. package/{dist/components → components}/side-menu-item.js +1 -0
  13. package/{dist/components → components}/side-menu-user-image.js +1 -0
  14. package/{dist/components → components}/side-menu-user-label.js +1 -0
  15. package/{dist/components → components}/tds-accordion-item.d.ts +1 -1
  16. package/{dist/components → components}/tds-accordion-item.js +6 -5
  17. package/{dist/components → components}/tds-accordion.d.ts +1 -1
  18. package/{dist/components → components}/tds-accordion.js +1 -0
  19. package/{dist/components → components}/tds-badge.d.ts +1 -1
  20. package/{dist/components → components}/tds-badge.js +1 -0
  21. package/{dist/components → components}/tds-banner.d.ts +1 -1
  22. package/{dist/components → components}/tds-banner.js +1 -9
  23. package/{dist/components → components}/tds-block.d.ts +1 -1
  24. package/{dist/components → components}/tds-block.js +1 -0
  25. package/{dist/components → components}/tds-body-cell.d.ts +1 -1
  26. package/{dist/components → components}/tds-body-cell.js +1 -0
  27. package/{dist/components → components}/tds-breadcrumb.d.ts +1 -1
  28. package/{dist/components → components}/tds-breadcrumb.js +1 -0
  29. package/{dist/components → components}/tds-breadcrumbs.d.ts +1 -1
  30. package/{dist/components → components}/tds-breadcrumbs.js +1 -0
  31. package/{dist/components → components}/tds-button.d.ts +1 -1
  32. package/{dist/components → components}/tds-button.js +1 -0
  33. package/{dist/components → components}/tds-card.d.ts +1 -1
  34. package/{dist/components → components}/tds-card.js +1 -0
  35. package/{dist/components → components}/tds-checkbox.d.ts +1 -1
  36. package/{dist/components → components}/tds-chip.d.ts +1 -1
  37. package/{dist/components → components}/tds-chip.js +1 -0
  38. package/{dist/components → components}/tds-core-header-item.d.ts +1 -1
  39. package/{dist/components → components}/tds-datetime.d.ts +1 -1
  40. package/{dist/components → components}/tds-datetime.js +9 -8
  41. package/{dist/components → components}/tds-divider.d.ts +1 -1
  42. package/{dist/components → components}/tds-dropdown-option.d.ts +1 -1
  43. package/{dist/components → components}/tds-dropdown-option.js +6 -5
  44. package/{dist/components → components}/tds-dropdown.d.ts +1 -1
  45. package/{dist/components → components}/tds-dropdown.js +18 -17
  46. package/{dist/components → components}/tds-folder-tab.d.ts +1 -1
  47. package/{dist/components → components}/tds-folder-tab.js +2 -1
  48. package/{dist/components → components}/tds-folder-tabs.d.ts +1 -1
  49. package/{dist/components → components}/tds-folder-tabs.js +1 -0
  50. package/{dist/components → components}/tds-footer-group.d.ts +1 -1
  51. package/{dist/components → components}/tds-footer-group.js +3 -2
  52. package/{dist/components → components}/tds-footer-item.d.ts +1 -1
  53. package/{dist/components → components}/tds-footer-item.js +1 -0
  54. package/{dist/components → components}/tds-footer.d.ts +1 -1
  55. package/{dist/components → components}/tds-footer.js +1 -0
  56. package/{dist/components → components}/tds-header-brand-symbol.d.ts +1 -1
  57. package/{dist/components → components}/tds-header-brand-symbol.js +1 -0
  58. package/{dist/components → components}/tds-header-cell.d.ts +1 -1
  59. package/{dist/components → components}/tds-header-cell.js +1 -0
  60. package/{dist/components → components}/tds-header-dropdown-list-item.d.ts +1 -1
  61. package/{dist/components → components}/tds-header-dropdown-list-user.d.ts +1 -1
  62. package/{dist/components → components}/tds-header-dropdown-list-user.js +1 -0
  63. package/{dist/components → components}/tds-header-dropdown-list.d.ts +1 -1
  64. package/{dist/components → components}/tds-header-dropdown.d.ts +1 -1
  65. package/{dist/components → components}/tds-header-dropdown.js +1 -0
  66. package/{dist/components → components}/tds-header-hamburger.d.ts +1 -1
  67. package/{dist/components → components}/tds-header-hamburger.js +1 -0
  68. package/{dist/components → components}/tds-header-item.d.ts +1 -1
  69. package/{dist/components → components}/tds-header-launcher-button.d.ts +1 -1
  70. package/{dist/components → components}/tds-header-launcher-grid-item.d.ts +1 -1
  71. package/{dist/components → components}/tds-header-launcher-grid-item.js +1 -0
  72. package/{dist/components → components}/tds-header-launcher-grid-title.d.ts +1 -1
  73. package/{dist/components → components}/tds-header-launcher-grid-title.js +1 -0
  74. package/{dist/components → components}/tds-header-launcher-grid.d.ts +1 -1
  75. package/{dist/components → components}/tds-header-launcher-grid.js +1 -0
  76. package/{dist/components → components}/tds-header-launcher-list-item.d.ts +1 -1
  77. package/{dist/components → components}/tds-header-launcher-list-item.js +1 -0
  78. package/{dist/components → components}/tds-header-launcher-list-title.d.ts +1 -1
  79. package/{dist/components → components}/tds-header-launcher-list-title.js +1 -0
  80. package/{dist/components → components}/tds-header-launcher-list.d.ts +1 -1
  81. package/{dist/components → components}/tds-header-launcher-list.js +1 -0
  82. package/{dist/components → components}/tds-header-launcher.d.ts +1 -1
  83. package/{dist/components → components}/tds-header-launcher.js +1 -0
  84. package/{dist/components → components}/tds-header-title.d.ts +1 -1
  85. package/{dist/components → components}/tds-header-title.js +1 -0
  86. package/{dist/components → components}/tds-header.d.ts +1 -1
  87. package/{dist/components → components}/tds-header.js +1 -0
  88. package/{dist/components → components}/tds-icon.d.ts +1 -1
  89. package/{dist/components → components}/tds-inline-tab.d.ts +1 -1
  90. package/{dist/components → components}/tds-inline-tab.js +2 -1
  91. package/{dist/components → components}/tds-inline-tabs.d.ts +1 -1
  92. package/{dist/components → components}/tds-inline-tabs.js +1 -0
  93. package/{dist/components → components}/tds-link.d.ts +1 -1
  94. package/{dist/components → components}/tds-link.js +4 -3
  95. package/{dist/components → components}/tds-message.d.ts +1 -1
  96. package/{dist/components → components}/tds-message.js +4 -3
  97. package/{dist/components → components}/tds-modal.d.ts +1 -1
  98. package/{dist/components → components}/tds-modal.js +1 -0
  99. package/{dist/components → components}/tds-navigation-tab.d.ts +1 -1
  100. package/{dist/components → components}/tds-navigation-tab.js +2 -1
  101. package/{dist/components → components}/tds-navigation-tabs.d.ts +1 -1
  102. package/{dist/components → components}/tds-navigation-tabs.js +1 -0
  103. package/{dist/components → components}/tds-popover-canvas.d.ts +1 -1
  104. package/{dist/components → components}/tds-popover-core.d.ts +1 -1
  105. package/{dist/components → components}/tds-popover-menu-item.d.ts +1 -1
  106. package/{dist/components → components}/tds-popover-menu-item.js +1 -0
  107. package/{dist/components → components}/tds-popover-menu.d.ts +1 -1
  108. package/{dist/components → components}/tds-popover-menu.js +1 -0
  109. package/{dist/components → components}/tds-radio-button.d.ts +1 -1
  110. package/{dist/components → components}/tds-radio-button.js +1 -0
  111. package/{dist/components → components}/tds-side-menu-close-button.d.ts +1 -1
  112. package/{dist/components → components}/tds-side-menu-close-button.js +1 -0
  113. package/{dist/components → components}/tds-side-menu-collapse-button.d.ts +1 -1
  114. package/{dist/components → components}/tds-side-menu-collapse-button.js +1 -0
  115. package/{dist/components → components}/tds-side-menu-dropdown-list-item.d.ts +1 -1
  116. package/{dist/components → components}/tds-side-menu-dropdown-list-item.js +1 -0
  117. package/{dist/components → components}/tds-side-menu-dropdown-list.d.ts +1 -1
  118. package/{dist/components → components}/tds-side-menu-dropdown-list.js +1 -0
  119. package/{dist/components → components}/tds-side-menu-dropdown.d.ts +1 -1
  120. package/{dist/components → components}/tds-side-menu-dropdown.js +1 -0
  121. package/{dist/components → components}/tds-side-menu-item.d.ts +1 -1
  122. package/{dist/components → components}/tds-side-menu-overlay.d.ts +1 -1
  123. package/{dist/components → components}/tds-side-menu-overlay.js +1 -0
  124. package/{dist/components → components}/tds-side-menu-user-image.d.ts +1 -1
  125. package/{dist/components → components}/tds-side-menu-user-label.d.ts +1 -1
  126. package/{dist/components → components}/tds-side-menu-user.d.ts +1 -1
  127. package/{dist/components → components}/tds-side-menu-user.js +1 -0
  128. package/{dist/components → components}/tds-side-menu.d.ts +1 -1
  129. package/{dist/components → components}/tds-side-menu.js +1 -0
  130. package/{dist/components → components}/tds-slider.d.ts +1 -1
  131. package/{dist/components → components}/tds-slider.js +1 -0
  132. package/{dist/components → components}/tds-spinner.d.ts +1 -1
  133. package/{dist/components → components}/tds-spinner.js +1 -0
  134. package/{dist/components → components}/tds-step.d.ts +1 -1
  135. package/{dist/components → components}/tds-step.js +1 -0
  136. package/{dist/components → components}/tds-stepper.d.ts +1 -1
  137. package/{dist/components → components}/tds-stepper.js +1 -0
  138. package/{dist/components → components}/tds-table-body-row-expandable.d.ts +1 -1
  139. package/{dist/components → components}/tds-table-body-row-expandable.js +1 -0
  140. package/{dist/components → components}/tds-table-body-row.d.ts +1 -1
  141. package/{dist/components → components}/tds-table-body-row.js +1 -0
  142. package/{dist/components → components}/tds-table-body.d.ts +1 -1
  143. package/{dist/components → components}/tds-table-body.js +1 -0
  144. package/{dist/components → components}/tds-table-footer.d.ts +1 -1
  145. package/{dist/components → components}/tds-table-footer.js +2 -1
  146. package/{dist/components → components}/tds-table-header.d.ts +1 -1
  147. package/{dist/components → components}/tds-table-header.js +1 -0
  148. package/{dist/components → components}/tds-table-toolbar.d.ts +1 -1
  149. package/{dist/components → components}/tds-table-toolbar.js +1 -0
  150. package/{dist/components → components}/tds-table.d.ts +1 -1
  151. package/{dist/components → components}/tds-table.js +1 -0
  152. package/{dist/components → components}/tds-text-field.d.ts +1 -1
  153. package/{dist/components → components}/tds-text-field.js +12 -11
  154. package/{dist/components → components}/tds-textarea.d.ts +1 -1
  155. package/{dist/components → components}/tds-textarea.js +11 -10
  156. package/{dist/components → components}/tds-toast.d.ts +1 -1
  157. package/{dist/components → components}/tds-toast.js +3 -2
  158. package/{dist/components → components}/tds-toggle.d.ts +1 -1
  159. package/{dist/components → components}/tds-toggle.js +1 -0
  160. package/{dist/components → components}/tds-tooltip.d.ts +1 -1
  161. package/{dist/components → components}/tds-tooltip.js +1 -0
  162. package/dist/cjs/tds-accordion-item.cjs.entry.js +5 -5
  163. package/dist/cjs/tds-banner.cjs.entry.js +0 -9
  164. package/dist/cjs/tds-checkbox.cjs.entry.js +1 -1
  165. package/dist/cjs/tds-datetime.cjs.entry.js +8 -8
  166. package/dist/cjs/tds-dropdown-option.cjs.entry.js +5 -5
  167. package/dist/cjs/tds-dropdown.cjs.entry.js +17 -17
  168. package/dist/cjs/tds-folder-tab.cjs.entry.js +1 -1
  169. package/dist/cjs/tds-footer-group.cjs.entry.js +2 -2
  170. package/dist/cjs/tds-icon.cjs.entry.js +1 -1
  171. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  172. package/dist/cjs/tds-link.cjs.entry.js +3 -3
  173. package/dist/cjs/tds-message.cjs.entry.js +3 -3
  174. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  175. package/dist/cjs/tds-table-footer.cjs.entry.js +1 -1
  176. package/dist/cjs/tds-text-field.cjs.entry.js +11 -11
  177. package/dist/cjs/tds-textarea.cjs.entry.js +10 -10
  178. package/dist/cjs/tds-toast.cjs.entry.js +2 -2
  179. package/dist/collection/components/accordion/accordion-item/accordion-item.js +6 -6
  180. package/dist/collection/components/accordion/accordion.stories.js +21 -21
  181. package/dist/collection/components/badge/badge.stories.js +30 -30
  182. package/dist/collection/components/banner/banner.js +2 -25
  183. package/dist/collection/components/banner/banner.stories.js +16 -19
  184. package/dist/collection/components/block/block.stories.js +9 -9
  185. package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +12 -12
  186. package/dist/collection/components/button/button.stories.js +26 -26
  187. package/dist/collection/components/card/card.js +2 -2
  188. package/dist/collection/components/card/card.stories.js +31 -31
  189. package/dist/collection/components/checkbox/checkbox.css +14 -0
  190. package/dist/collection/components/checkbox/checkbox.js +1 -1
  191. package/dist/collection/components/checkbox/checkbox.stories.js +22 -22
  192. package/dist/collection/components/chip/chip.js +5 -5
  193. package/dist/collection/components/chip/chip.stories.js +93 -93
  194. package/dist/collection/components/datetime/datetime.js +8 -8
  195. package/dist/collection/components/datetime/datetime.stories.js +40 -40
  196. package/dist/collection/components/divider/divider.stories.js +4 -4
  197. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +4 -4
  198. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +5 -5
  199. package/dist/collection/components/dropdown/dropdown.js +18 -18
  200. package/dist/collection/components/dropdown/dropdown.stories.js +57 -57
  201. package/dist/collection/components/footer/footer-group/footer-group.js +2 -2
  202. package/dist/collection/components/footer/footer.stories.js +93 -93
  203. package/dist/collection/components/header/header-dropdown/header-dropdown.js +1 -1
  204. package/dist/collection/components/header/header-item/header-item.js +1 -1
  205. package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
  206. package/dist/collection/components/header/header.stories.js +31 -31
  207. package/dist/collection/components/icon/icon.stories.js +2 -2
  208. package/dist/collection/components/icon/iconsArray.js +115 -115
  209. package/dist/collection/components/link/link.js +3 -3
  210. package/dist/collection/components/link/link.stories.js +9 -9
  211. package/dist/collection/components/message/message.js +3 -3
  212. package/dist/collection/components/message/message.stories.js +18 -18
  213. package/dist/collection/components/modal/modal.js +1 -1
  214. package/dist/collection/components/modal/modal.stories.js +27 -27
  215. package/dist/collection/components/popover-canvas/popover-canvas.js +1 -1
  216. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +33 -33
  217. package/dist/collection/components/popover-core/popover-core.js +1 -1
  218. package/dist/collection/components/popover-menu/popover-menu.js +1 -1
  219. package/dist/collection/components/popover-menu/popover-menu.stories.js +60 -60
  220. package/dist/collection/components/radio-button/radio-button.js +2 -2
  221. package/dist/collection/components/radio-button/radio-button.stories.js +44 -44
  222. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +1 -1
  223. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +1 -1
  224. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +1 -1
  225. package/dist/collection/components/side-menu/side-menu.js +4 -4
  226. package/dist/collection/components/side-menu/side-menu.stories.js +143 -143
  227. package/dist/collection/components/slider/slider.js +1 -1
  228. package/dist/collection/components/slider/slider.stories.js +38 -38
  229. package/dist/collection/components/spinner/spinner.stories.js +5 -5
  230. package/dist/collection/components/stepper/stepper.js +2 -2
  231. package/dist/collection/components/stepper/stepper.stories.js +14 -14
  232. package/dist/collection/components/table/table/table.js +2 -2
  233. package/dist/collection/components/table/table-body-row/table-body-row.js +1 -1
  234. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +1 -1
  235. package/dist/collection/components/table/table-component-basic.stories.js +51 -51
  236. package/dist/collection/components/table/table-component-batch-actions.stories.js +58 -58
  237. package/dist/collection/components/table/table-component-custom-width.stories.js +52 -52
  238. package/dist/collection/components/table/table-component-expandable-rows.stories.js +38 -38
  239. package/dist/collection/components/table/table-component-filtering.stories.js +71 -71
  240. package/dist/collection/components/table/table-component-multiselect.stories.js +73 -73
  241. package/dist/collection/components/table/table-component-pagination.stories.js +72 -72
  242. package/dist/collection/components/table/table-component-sorting.stories.js +74 -74
  243. package/dist/collection/components/table/table-footer/table-footer.css +2 -1
  244. package/dist/collection/components/table/table-footer/table-footer.js +1 -1
  245. package/dist/collection/components/table/table-header/table-header.js +1 -1
  246. package/dist/collection/components/table/table-header-cell/table-header-cell.js +3 -3
  247. package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
  248. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +1 -1
  249. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
  250. package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +34 -34
  251. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +1 -1
  252. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
  253. package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +34 -34
  254. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +1 -1
  255. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +2 -2
  256. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +36 -36
  257. package/dist/collection/components/text-field/text-field.js +12 -12
  258. package/dist/collection/components/text-field/text-field.stories.js +45 -45
  259. package/dist/collection/components/textarea/textarea.js +10 -10
  260. package/dist/collection/components/textarea/textarea.stories.js +40 -40
  261. package/dist/collection/components/toast/toast.js +3 -3
  262. package/dist/collection/components/toast/toast.stories.js +15 -15
  263. package/dist/collection/components/toggle/toggle.js +1 -1
  264. package/dist/collection/components/toggle/toggle.stories.js +17 -17
  265. package/dist/collection/components/tooltip/tooltip.stories.js +33 -33
  266. package/dist/collection/stories/Installation/installation.stories.js +205 -205
  267. package/dist/collection/stories/announcements/announce-tegel.stories.js +248 -248
  268. package/dist/collection/stories/announcements/prefix-change.stories.js +79 -79
  269. package/dist/collection/stories/foundations/color/color-brand.stories.js +24 -24
  270. package/dist/collection/stories/foundations/color/color-scales.stories.js +18 -18
  271. package/dist/collection/stories/foundations/color/color-semantic.stories.js +26 -26
  272. package/dist/collection/stories/foundations/grid/grid.stories.js +334 -334
  273. package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +90 -90
  274. package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +84 -84
  275. package/dist/collection/stories/foundations/typography/typography-body.stories.js +7 -7
  276. package/dist/collection/stories/foundations/typography/typography-detail.stories.js +8 -8
  277. package/dist/collection/stories/foundations/typography/typography-headline.stories.js +17 -17
  278. package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +3 -3
  279. package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +53 -53
  280. package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +227 -227
  281. package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +202 -202
  282. package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +98 -98
  283. package/dist/collection/stories/tegel.stories.js +270 -279
  284. package/dist/collection/stories/utility/color/background-color.stories.js +13 -13
  285. package/dist/collection/stories/utility/color/text-color.stories.js +11 -11
  286. package/dist/esm/polyfills/core-js.js +0 -0
  287. package/dist/esm/polyfills/dom.js +0 -0
  288. package/dist/esm/polyfills/es5-html-element.js +0 -0
  289. package/dist/esm/polyfills/index.js +0 -0
  290. package/dist/esm/polyfills/system.js +0 -0
  291. package/dist/esm/tds-accordion-item.entry.js +5 -5
  292. package/dist/esm/tds-banner.entry.js +0 -9
  293. package/dist/esm/tds-checkbox.entry.js +1 -1
  294. package/dist/esm/tds-datetime.entry.js +8 -8
  295. package/dist/esm/tds-dropdown-option.entry.js +5 -5
  296. package/dist/esm/tds-dropdown.entry.js +17 -17
  297. package/dist/esm/tds-folder-tab.entry.js +1 -1
  298. package/dist/esm/tds-footer-group.entry.js +2 -2
  299. package/dist/esm/tds-icon.entry.js +1 -1
  300. package/dist/esm/tds-inline-tab.entry.js +1 -1
  301. package/dist/esm/tds-link.entry.js +3 -3
  302. package/dist/esm/tds-message.entry.js +3 -3
  303. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  304. package/dist/esm/tds-table-footer.entry.js +1 -1
  305. package/dist/esm/tds-text-field.entry.js +11 -11
  306. package/dist/esm/tds-textarea.entry.js +10 -10
  307. package/dist/esm/tds-toast.entry.js +2 -2
  308. package/dist/tegel/p-2efaac74.entry.js +1 -0
  309. package/dist/tegel/{p-9b560c6d.entry.js → p-67fa6245.entry.js} +1 -1
  310. package/dist/tegel/p-e9ae12d7.entry.js +1 -0
  311. package/dist/tegel/{p-52edb8b7.entry.js → p-e9b8d1d5.entry.js} +1 -1
  312. package/dist/tegel/tegel.css +2 -4
  313. package/dist/tegel/tegel.esm.js +1 -1
  314. package/dist/types/components/banner/banner.d.ts +0 -5
  315. package/dist/types/components/text-field/text-field.d.ts +1 -1
  316. package/dist/types/components.d.ts +58 -64
  317. package/dist/types/global.d.ts +2 -2
  318. package/package.json +81 -80
  319. package/dist/components/checkbox.js +0 -74
  320. package/dist/tegel/p-cf75e7c1.entry.js +0 -1
  321. package/dist/tegel/p-faaa50c2.entry.js +0 -1
  322. /package/{dist/components → components}/index.d.ts +0 -0
  323. /package/{dist/components → components}/index.js +0 -0
  324. /package/{dist/components → components}/tds-checkbox.js +0 -0
  325. /package/{dist/components → components}/tds-core-header-item.js +0 -0
  326. /package/{dist/components → components}/tds-divider.js +0 -0
  327. /package/{dist/components → components}/tds-header-dropdown-list-item.js +0 -0
  328. /package/{dist/components → components}/tds-header-dropdown-list.js +0 -0
  329. /package/{dist/components → components}/tds-header-item.js +0 -0
  330. /package/{dist/components → components}/tds-header-launcher-button.js +0 -0
  331. /package/{dist/components → components}/tds-icon.js +0 -0
  332. /package/{dist/components → components}/tds-popover-canvas.js +0 -0
  333. /package/{dist/components → components}/tds-popover-core.js +0 -0
  334. /package/{dist/components → components}/tds-side-menu-item.js +0 -0
  335. /package/{dist/components → components}/tds-side-menu-user-image.js +0 -0
  336. /package/{dist/components → components}/tds-side-menu-user-label.js +0 -0
  337. /package/{dist/components → components}/utils.js +0 -0
@@ -92,6 +92,7 @@ function defineCustomElement$1() {
92
92
  break;
93
93
  } });
94
94
  }
95
+ defineCustomElement$1();
95
96
 
96
97
  const TdsTableBodyRowExpandable = TdsTableBodyRowExpandable$1;
97
98
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTableBodyRow extends Components.TdsTableBodyRow, HTMLElement {}
4
4
  export const TdsTableBodyRow: {
@@ -88,6 +88,7 @@ function defineCustomElement$1() {
88
88
  break;
89
89
  } });
90
90
  }
91
+ defineCustomElement$1();
91
92
 
92
93
  const TdsTableBodyRow = TdsTableBodyRow$1;
93
94
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTableBody extends Components.TdsTableBody, HTMLElement {}
4
4
  export const TdsTableBody: {
@@ -84,6 +84,7 @@ function defineCustomElement$1() {
84
84
  break;
85
85
  } });
86
86
  }
87
+ defineCustomElement$1();
87
88
 
88
89
  const TdsTableBody = TdsTableBody$1;
89
90
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTableFooter extends Components.TdsTableFooter, HTMLElement {}
4
4
  export const TdsTableFooter: {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './icon.js';
3
3
 
4
- const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:32px;width:32px;border-radius:4px;transition:background-color 250ms ease}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;opacity:0.38}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
4
+ const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:32px;width:32px;border-radius:4px;transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
5
5
 
6
6
  const relevantTableProps = ['compactDesign'];
7
7
  function removeShakeAnimation(e) {
@@ -130,6 +130,7 @@ function defineCustomElement$1() {
130
130
  break;
131
131
  } });
132
132
  }
133
+ defineCustomElement$1();
133
134
 
134
135
  const TdsTableFooter = TdsTableFooter$1;
135
136
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTableHeader extends Components.TdsTableHeader, HTMLElement {}
4
4
  export const TdsTableHeader: {
@@ -123,6 +123,7 @@ function defineCustomElement$1() {
123
123
  break;
124
124
  } });
125
125
  }
126
+ defineCustomElement$1();
126
127
 
127
128
  const TdsTableHeader = TdsTableHeaderRow;
128
129
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTableToolbar extends Components.TdsTableToolbar, HTMLElement {}
4
4
  export const TdsTableToolbar: {
@@ -90,6 +90,7 @@ function defineCustomElement$1() {
90
90
  break;
91
91
  } });
92
92
  }
93
+ defineCustomElement$1();
93
94
 
94
95
  const TdsTableToolbar = TdsTableToolbar$1;
95
96
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTable extends Components.TdsTable, HTMLElement {}
4
4
  export const TdsTable: {
@@ -112,6 +112,7 @@ function defineCustomElement$1() {
112
112
  break;
113
113
  } });
114
114
  }
115
+ defineCustomElement$1();
115
116
 
116
117
  const TdsTable = TdsTable$1;
117
118
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTextField extends Components.TdsTextField, HTMLElement {}
4
4
  export const TdsTextField: {
@@ -52,21 +52,21 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
52
52
  var _a;
53
53
  const usesPrefixSlot = hasSlot('prefix', this.host);
54
54
  const usesSuffixSlot = hasSlot('suffix', this.host);
55
- return (h("div", { class: `
56
- ${this.noMinWidth ? 'form-text-field-nomin' : ''}
55
+ return (h("div", { class: `
56
+ ${this.noMinWidth ? 'form-text-field-nomin' : ''}
57
57
  ${this.focusInput && !this.disabled
58
58
  ? 'form-text-field text-field-focus'
59
- : ' form-text-field'}
60
- ${this.value ? 'text-field-data' : ''}
59
+ : ' form-text-field'}
60
+ ${this.value ? 'text-field-data' : ''}
61
61
  ${this.labelPosition === 'inside' && this.size !== 'sm'
62
62
  ? 'text-field-container-label-inside'
63
- : ''}
64
- ${this.disabled ? 'form-text-field-disabled' : ''}
65
- ${this.readOnly ? 'form-text-field-readonly' : ''}
66
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}
67
- ${this.size === 'md' ? 'form-text-field-md' : ''}
68
- ${this.size === 'sm' ? 'form-text-field-sm' : ''}
69
- ${this.state === 'error' || this.state === 'success' ? `form-text-field-${this.state}` : ''}
63
+ : ''}
64
+ ${this.disabled ? 'form-text-field-disabled' : ''}
65
+ ${this.readOnly ? 'form-text-field-readonly' : ''}
66
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}
67
+ ${this.size === 'md' ? 'form-text-field-md' : ''}
68
+ ${this.size === 'sm' ? 'form-text-field-sm' : ''}
69
+ ${this.state === 'error' || this.state === 'success' ? `form-text-field-${this.state}` : ''}
70
70
  ` }, this.labelPosition === 'outside' && (h("div", { class: "text-field-label-outside" }, h("div", null, this.label))), h("div", { onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { class: `text-field-slot-wrap-prefix text-field-${this.state}` }, h("slot", { name: "prefix" }))), h("div", { class: "text-field-input-container" }, h("input", { ref: (inputEl) => (this.textInput = inputEl), class: `text-field-input text-field-input-${this.size}`, type: this.type, disabled: this.disabled, readonly: this.readOnly, placeholder: this.placeholder, value: this.value, autofocus: this.autofocus, maxlength: this.maxLength, name: this.name, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onFocus: (event) => {
71
71
  if (!this.readOnly) {
72
72
  this.handleFocus(event);
@@ -115,6 +115,7 @@ function defineCustomElement$1() {
115
115
  break;
116
116
  } });
117
117
  }
118
+ defineCustomElement$1();
118
119
 
119
120
  const TdsTextField = TdsTextField$1;
120
121
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTextarea extends Components.TdsTextarea, HTMLElement {}
4
4
  export const TdsTextarea: {
@@ -48,16 +48,16 @@ const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends
48
48
  }
49
49
  render() {
50
50
  var _a;
51
- return (h("div", { class: `
52
- textarea-container
53
- ${this.labelPosition === 'inside' ? 'textarea-label-inside' : ''}
54
- ${this.focusInput ? 'textarea-focus' : ''}
55
- ${this.disabled ? 'textarea-disabled' : ''}
56
- ${this.readOnly ? 'textarea-readonly' : ''}
57
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}
58
- ${this.value ? 'textarea-data' : ''}
59
- ${this.state === 'error' || this.state === 'success' ? `textarea-${this.state}` : ''}
60
- ${this.noMinWidth ? 'no-min-width' : ''}
51
+ return (h("div", { class: `
52
+ textarea-container
53
+ ${this.labelPosition === 'inside' ? 'textarea-label-inside' : ''}
54
+ ${this.focusInput ? 'textarea-focus' : ''}
55
+ ${this.disabled ? 'textarea-disabled' : ''}
56
+ ${this.readOnly ? 'textarea-readonly' : ''}
57
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}
58
+ ${this.value ? 'textarea-data' : ''}
59
+ ${this.state === 'error' || this.state === 'success' ? `textarea-${this.state}` : ''}
60
+ ${this.noMinWidth ? 'no-min-width' : ''}
61
61
  ` }, this.labelPosition !== 'no-label' && h("span", { class: 'textarea-label' }, this.label), h("div", { class: "textarea-wrapper" }, h("textarea", { class: 'textarea-input', ref: (inputEl) => (this.textEl = inputEl), disabled: this.disabled, readonly: this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
62
62
  if (!this.readOnly) {
63
63
  this.handleFocus(event);
@@ -105,6 +105,7 @@ function defineCustomElement$1() {
105
105
  break;
106
106
  } });
107
107
  }
108
+ defineCustomElement$1();
108
109
 
109
110
  const TdsTextarea = TdsTextarea$1;
110
111
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsToast extends Components.TdsToast, HTMLElement {}
4
4
  export const TdsToast: {
@@ -59,8 +59,8 @@ const TdsToast$1 = /*@__PURE__*/ proxyCustomElement(class TdsToast extends HTMLE
59
59
  const usesHeaderSlot = hasSlot('header', this.host);
60
60
  const usesSubheaderSlot = hasSlot('subheader', this.host);
61
61
  const usesActionsSlot = hasSlot('actions', this.host);
62
- return (h(Host, { toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: `${this.hidden ? 'hide' : 'show'}` }, h("div", { class: `
63
- wrapper
62
+ return (h(Host, { toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: `${this.hidden ? 'hide' : 'show'}` }, h("div", { class: `
63
+ wrapper
64
64
  ${this.variant}` }, h("tds-icon", { name: this.getIconName(), size: "20px" }), h("div", { class: `content` }, h("div", { class: "header-subheader" }, this.header && h("div", { class: "header" }, this.header), usesHeaderSlot && h("slot", { name: "header" }), this.subheader && h("div", { class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { name: "subheader" })), usesActionsSlot && (h("div", { class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { name: "actions" })))), h("button", { onClick: () => {
65
65
  this.handleClose();
66
66
  }, class: `close` }, h("tds-icon", { name: "cross", size: "20px" })))));
@@ -95,6 +95,7 @@ function defineCustomElement$1() {
95
95
  break;
96
96
  } });
97
97
  }
98
+ defineCustomElement$1();
98
99
 
99
100
  const TdsToast = TdsToast$1;
100
101
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsToggle extends Components.TdsToggle, HTMLElement {}
4
4
  export const TdsToggle: {
@@ -59,6 +59,7 @@ function defineCustomElement$1() {
59
59
  break;
60
60
  } });
61
61
  }
62
+ defineCustomElement$1();
62
63
 
63
64
  const TdsToggle = TdsToggle$1;
64
65
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import type { Components, JSX } from "../types/components";
1
+ import type { Components, JSX } from "../dist/types/components";
2
2
 
3
3
  interface TdsTooltip extends Components.TdsTooltip, HTMLElement {}
4
4
  export const TdsTooltip: {
@@ -86,6 +86,7 @@ function defineCustomElement$1() {
86
86
  break;
87
87
  } });
88
88
  }
89
+ defineCustomElement$1();
89
90
 
90
91
  const TdsTooltip = TdsTooltip$1;
91
92
  const defineCustomElement = defineCustomElement$1;
@@ -27,11 +27,11 @@ const TdsAccordionItem = class {
27
27
  }
28
28
  }
29
29
  render() {
30
- return (index.h(index.Host, null, index.h("div", { class: `tds-accordion-item
31
- ${this.disabled ? 'disabled' : ''}
32
- ${this.expanded ? 'expanded' : ''}
33
- ` }, index.h("button", { type: "button", "aria-expanded": this.expanded, class: `tds-accordion-header-icon-${this.expandIconPosition}`, onClick: () => this.toggleAccordionItem(), disabled: this.disabled }, index.h("div", { class: "tds-accordion-title" }, this.header, index.h("slot", { name: "header" })), index.h("div", { class: "tds-accordion-icon" }, index.h("tds-icon", { name: "chevron_down", size: "16px" }))), index.h("div", { class: `tds-accordion-panel
34
- ${this.paddingReset ? 'tds-accordion-panel--padding-reset ' : ''}
30
+ return (index.h(index.Host, null, index.h("div", { class: `tds-accordion-item
31
+ ${this.disabled ? 'disabled' : ''}
32
+ ${this.expanded ? 'expanded' : ''}
33
+ ` }, index.h("button", { type: "button", "aria-expanded": this.expanded, class: `tds-accordion-header-icon-${this.expandIconPosition}`, onClick: () => this.toggleAccordionItem(), disabled: this.disabled }, index.h("div", { class: "tds-accordion-title" }, this.header, index.h("slot", { name: "header" })), index.h("div", { class: "tds-accordion-icon" }, index.h("tds-icon", { name: "chevron_down", size: "16px" }))), index.h("div", { class: `tds-accordion-panel
34
+ ${this.paddingReset ? 'tds-accordion-panel--padding-reset ' : ''}
35
35
  ` }, index.h("slot", null)))));
36
36
  }
37
37
  };
@@ -11,7 +11,6 @@ const TdsBanner = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.tdsClose = index.createEvent(this, "tdsClose", 7);
14
- this.tdsShow = index.createEvent(this, "tdsShow", 7);
15
14
  this.handleClose = () => {
16
15
  const tdsCloseEvent = this.tdsClose.emit({
17
16
  bannerId: this.bannerId,
@@ -20,14 +19,6 @@ const TdsBanner = class {
20
19
  this.hidden = true;
21
20
  }
22
21
  };
23
- this.handleShow = () => {
24
- const tdsCloseEvent = this.tdsShow.emit({
25
- bannerId: this.bannerId,
26
- });
27
- if (!tdsCloseEvent.defaultPrevented) {
28
- this.hidden = false;
29
- }
30
- };
31
22
  this.icon = undefined;
32
23
  this.header = undefined;
33
24
  this.subheader = undefined;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-2a60e106.js');
6
6
  const utils = require('./utils-23ce2e45.js');
7
7
 
8
- const checkboxCss = ".tds-checkbox.sc-tds-checkbox{box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-checkbox-text);display:flex;align-items:center;margin-left:-4px}.tds-checkbox.sc-tds-checkbox *.sc-tds-checkbox{box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox{appearance:none;outline:none;margin:0;border:0;border-radius:2px;width:24px;height:24px;position:relative;cursor:pointer;flex-shrink:0;align-self:flex-start}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-checkbox-color);padding-left:var(--tds-spacing-element-4);padding-top:var(--tds-spacing-element-4);padding-bottom:var(--tds-spacing-element-4);cursor:pointer;display:flex;align-items:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{content:\"\";position:absolute;box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before{width:24px;height:24px;left:0;top:0;border-radius:4px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{border:1px solid var(--tds-checkbox-interaction-01);background-color:var(--tds-checkbox-interaction-02);width:16px;height:16px;left:4px;top:4px;border-radius:2px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:focus::before{background-color:var(--tds-checkbox-background-focus);opacity:var(--tds-checkbox-background-opacity-focus);transition:opacity 0.2s ease-in-out}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox{cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox::after{border-color:var(--tds-checkbox-border-color-disabled-after)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled+label.sc-tds-checkbox,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-grey-600);cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox:hover::before{display:none}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked::after{background-image:var(--tds-checkbox-background-img);background-color:var(--tds-checkbox-interaction-01);background-repeat:no-repeat;background-position:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::before{display:block;width:16px;height:16px;left:4px;top:4px;border:1px solid #b0b7c4}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::after{background-image:var(--tds-checkbox-background-img-disabled);background-color:var(--tds-checkbox-interaction-02);color:var(--tds-checkbox-color-disabled-after)}";
8
+ const checkboxCss = ".sc-tds-checkbox-h{align-items:center;position:relative;box-sizing:border-box}.tds-checkbox.sc-tds-checkbox{box-sizing:border-box;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-checkbox-text);display:flex;align-items:center;margin-left:-4px}.tds-checkbox.sc-tds-checkbox *.sc-tds-checkbox{box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox{appearance:none;outline:none;margin:0;border:0;border-radius:2px;width:24px;height:24px;position:relative;cursor:pointer;flex-shrink:0;align-self:flex-start}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-checkbox-color);padding-left:var(--tds-spacing-element-4);padding-top:var(--tds-spacing-element-4);padding-bottom:var(--tds-spacing-element-4);cursor:pointer;display:flex;align-items:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox+label.sc-tds-checkbox::before{content:\"\";position:absolute;width:100%;height:100%;left:0;top:0}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{content:\"\";position:absolute;box-sizing:border-box}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::before{width:24px;height:24px;left:0;top:0;border-radius:4px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox::after{border:1px solid var(--tds-checkbox-interaction-01);background-color:var(--tds-checkbox-interaction-02);width:16px;height:16px;left:4px;top:4px;border-radius:2px}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:focus::before{background-color:var(--tds-checkbox-background-focus);opacity:var(--tds-checkbox-background-opacity-focus);transition:opacity 0.2s ease-in-out}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox{cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox::after{border-color:var(--tds-checkbox-border-color-disabled-after)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled+label.sc-tds-checkbox,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox+label.sc-tds-checkbox{color:var(--tds-grey-600);cursor:not-allowed}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].disabled.sc-tds-checkbox:hover::before{display:none}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked::after{background-image:var(--tds-checkbox-background-img);background-color:var(--tds-checkbox-interaction-01);background-repeat:no-repeat;background-position:center}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:hover::before{background-color:var(--tds-checkbox-background-hover);opacity:var(--tds-checkbox-background-opacity-hover)}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled:hover::before,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::before{display:block;width:16px;height:16px;left:4px;top:4px;border:1px solid #b0b7c4}.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked:disabled::after,.tds-checkbox.sc-tds-checkbox input[type=checkbox].sc-tds-checkbox:checked.disabled::after{background-image:var(--tds-checkbox-background-img-disabled);background-color:var(--tds-checkbox-interaction-02);color:var(--tds-checkbox-color-disabled-after)}";
9
9
 
10
10
  const TdsCheckbox = class {
11
11
  constructor(hostRef) {
@@ -87,16 +87,16 @@ const TdsDatetime = class {
87
87
  if (this.size === 'sm') {
88
88
  className += `${className}-sm`;
89
89
  }
90
- return (index.h("div", { class: `
91
- ${this.noMinWidth ? 'tds-form-datetime-nomin' : ''}
92
- ${this.focusInput ? 'tds-form-datetime tds-datetime-focus' : ' tds-form-datetime'}
93
- ${this.value.length > 0 ? 'tds-datetime-data' : ''}
94
- ${this.disabled ? 'tds-form-datetime-disabled' : ''}
95
- ${this.size === 'md' ? 'tds-form-datetime-md' : ''}
96
- ${this.size === 'sm' ? 'tds-form-datetime-sm' : ''}
90
+ return (index.h("div", { class: `
91
+ ${this.noMinWidth ? 'tds-form-datetime-nomin' : ''}
92
+ ${this.focusInput ? 'tds-form-datetime tds-datetime-focus' : ' tds-form-datetime'}
93
+ ${this.value.length > 0 ? 'tds-datetime-data' : ''}
94
+ ${this.disabled ? 'tds-form-datetime-disabled' : ''}
95
+ ${this.size === 'md' ? 'tds-form-datetime-md' : ''}
96
+ ${this.size === 'sm' ? 'tds-form-datetime-sm' : ''}
97
97
  ${this.state === 'error' || this.state === 'success'
98
98
  ? `tds-form-datetime-${this.state}`
99
- : ''}
99
+ : ''}
100
100
  ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (index.h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), index.h("div", { onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, index.h("div", { class: "tds-datetime-input-container" }, index.h("input", { ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), index.h("div", { class: "datetime-icon icon-datetime-local" }, index.h("tds-icon", { size: "20px", name: "calendar" })), index.h("div", { class: "datetime-icon icon-time" }, index.h("tds-icon", { size: "20px", name: "clock" }))), index.h("div", { class: "tds-datetime-bar" })), index.h("div", { class: "tds-datetime-helper" }, this.helper && (index.h("div", { class: "tds-helper" }, this.state === 'error' && index.h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
101
101
  }
102
102
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-2a60e106.js');
6
6
 
7
- const dropdownOptionCss = ":host{display:block;background-color:var(--tds-dropdown-option-background)}:host .dropdown-option{display:flex;align-items:center;color:var(--tds-dropdown-option-color);border-bottom:1px solid var(--tds-dropdown-option-border);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .dropdown-option.selected{background-color:var(--tds-dropdown-option-background-selected)}:host .dropdown-option.disabled{color:var(--tds-dropdown-option-color-disabled)}:host .dropdown-option.lg{height:47px}:host .dropdown-option.md{height:47px}:host .dropdown-option.sm{height:39px}:host .dropdown-option button{all:unset;width:100%;height:100%}:host .dropdown-option button .single-select{display:flex;align-items:center;justify-content:space-between;padding:0 16px}:host .dropdown-option button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .dropdown-option .multiselect{padding:0 16px;width:100%}:host .dropdown-option .multiselect tds-checkbox,:host .dropdown-option .multiselect .tds-checkbox-webcomponent,:host .dropdown-option .multiselect label{height:100%;width:100%}:host .dropdown-option:hover{background-color:var(--tds-dropdown-option-background-hover);cursor:pointer}:host .dropdown-option:hover.disabled{background-color:var(--tds-dropdown-option-background);cursor:not-allowed}:host([hidden]){display:none}";
7
+ const dropdownOptionCss = ":host{display:block;background-color:var(--tds-dropdown-option-background)}:host .dropdown-option{display:flex;align-items:center;color:var(--tds-dropdown-option-color);border-bottom:1px solid var(--tds-dropdown-option-border);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .dropdown-option.selected{background-color:var(--tds-dropdown-option-background-selected)}:host .dropdown-option.disabled{color:var(--tds-dropdown-option-color-disabled)}:host .dropdown-option.lg{height:47px}:host .dropdown-option.md{height:47px}:host .dropdown-option.sm{height:39px}:host .dropdown-option button{all:unset;width:100%;height:100%}:host .dropdown-option button .single-select{display:flex;align-items:center;justify-content:space-between;padding:0 16px}:host .dropdown-option button:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .dropdown-option .multiselect{width:100%;height:100%}:host .dropdown-option .multiselect tds-checkbox{display:flex;height:100%;width:100%;padding:0 16px}:host .dropdown-option:hover{background-color:var(--tds-dropdown-option-background-hover);cursor:pointer}:host .dropdown-option:hover.disabled{background-color:var(--tds-dropdown-option-background);cursor:not-allowed}:host([hidden]){display:none}";
8
8
 
9
9
  const TdsDropdownOption = class {
10
10
  constructor(hostRef) {
@@ -69,10 +69,10 @@ const TdsDropdownOption = class {
69
69
  this.selected = selected;
70
70
  }
71
71
  render() {
72
- return (index.h(index.Host, { role: "option", "aria-disabled": this.disabled, "aria-selected": this.selected }, index.h("div", { class: `dropdown-option
73
- ${this.size}
74
- ${this.selected ? 'selected' : ''}
75
- ${this.disabled ? 'disabled' : ''}
72
+ return (index.h(index.Host, { role: "option", "aria-disabled": this.disabled, "aria-selected": this.selected }, index.h("div", { class: `dropdown-option
73
+ ${this.size}
74
+ ${this.selected ? 'selected' : ''}
75
+ ${this.disabled ? 'disabled' : ''}
76
76
  ` }, this.multiselect ? (index.h("div", { class: "multiselect", onKeyDown: (event) => {
77
77
  if (event.key === 'Escape') {
78
78
  this.parentElement.close();
@@ -224,11 +224,11 @@ const TdsDropdown = class {
224
224
  render() {
225
225
  var _a, _b, _c, _d;
226
226
  utils.appendHiddenInput(this.host, this.name, (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((item) => item.value).toString(), this.disabled);
227
- return (index.h(index.Host, { role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (index.h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), index.h("div", { class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (index.h("div", { class: `filter ${this.filterFocus ? 'focus' : ''}
228
- ${this.disabled ? 'disabled' : ''}` }, index.h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && this.placeholder && (index.h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (index.h("div", { class: `
229
- label-inside-as-placeholder
230
- ${this.size}
231
- ${((_b = this.selection) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
227
+ return (index.h(index.Host, { role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (index.h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), index.h("div", { class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (index.h("div", { class: `filter ${this.filterFocus ? 'focus' : ''}
228
+ ${this.disabled ? 'disabled' : ''}` }, index.h("div", { class: "value-wrapper" }, this.label && this.labelPosition === 'inside' && this.placeholder && (index.h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (index.h("div", { class: `
229
+ label-inside-as-placeholder
230
+ ${this.size}
231
+ ${((_b = this.selection) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
232
232
  ` }, this.label)), index.h("input", {
233
233
  // eslint-disable-next-line no-return-assign
234
234
  ref: (element) => (this.inputElement = element), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
@@ -251,18 +251,18 @@ const TdsDropdown = class {
251
251
  if (event.key === 'Escape') {
252
252
  this.open = false;
253
253
  }
254
- }, class: `
255
- ${this.selection ? 'value' : 'placeholder'}
256
- ${this.open ? 'open' : 'closed'}
257
- ${this.error ? 'error' : ''}
258
- `, disabled: this.disabled }, index.h("div", { class: `value-wrapper ${this.size}` }, this.label && this.labelPosition === 'inside' && this.placeholder && (index.h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (index.h("div", { class: `
259
- label-inside-as-placeholder
260
- ${this.size}
261
- ${((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
262
- ` }, this.label)), index.h("div", { class: `placeholder ${this.size}` }, ((_d = this.selection) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), index.h("tds-icon", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), index.h("div", { ref: (element) => (this.dropdownList = element), class: `dropdown-list
263
- ${this.size}
264
- ${this.open ? 'open' : 'closed'}
265
- ${this.getOpenDirection()}
254
+ }, class: `
255
+ ${this.selection ? 'value' : 'placeholder'}
256
+ ${this.open ? 'open' : 'closed'}
257
+ ${this.error ? 'error' : ''}
258
+ `, disabled: this.disabled }, index.h("div", { class: `value-wrapper ${this.size}` }, this.label && this.labelPosition === 'inside' && this.placeholder && (index.h("div", { class: `label-inside ${this.size}` }, this.label)), this.label && this.labelPosition === 'inside' && !this.placeholder && (index.h("div", { class: `
259
+ label-inside-as-placeholder
260
+ ${this.size}
261
+ ${((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
262
+ ` }, this.label)), index.h("div", { class: `placeholder ${this.size}` }, ((_d = this.selection) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), index.h("tds-icon", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), index.h("div", { ref: (element) => (this.dropdownList = element), class: `dropdown-list
263
+ ${this.size}
264
+ ${this.open ? 'open' : 'closed'}
265
+ ${this.getOpenDirection()}
266
266
  ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, index.h("slot", null), this.filterResult === 0 && (index.h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (index.h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && index.h("tds-icon", { name: "error", size: "16px" }), this.helper))));
267
267
  }
268
268
  get host() { return index.getElement(this); }
@@ -22,7 +22,7 @@ const TdsFolderTab = class {
22
22
  this.selected = selected;
23
23
  }
24
24
  render() {
25
- return (index.h(index.Host, { role: "listitem" }, index.h("div", { class: `${this.disabled ? 'disabled' : ''}
25
+ return (index.h(index.Host, { role: "listitem" }, index.h("div", { class: `${this.disabled ? 'disabled' : ''}
26
26
  ${this.selected ? 'selected' : ''}`, style: { width: `${this.tabWidth}px` } }, index.h("slot", null))));
27
27
  }
28
28
  };
@@ -26,8 +26,8 @@ const TdsFooterGroup = class {
26
26
  render() {
27
27
  return (index.h(index.Host, null, this.titleText && this.topPartGroup && (index.h("div", { class: "footer-top-title" }, this.titleText)), this.titleText && this.topPartGroup && (index.h("button", { onClick: () => {
28
28
  this.open = !this.open;
29
- }, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, this.titleText, index.h("tds-icon", { name: "chevron_down", size: "20px" }))), index.h("div", { role: "list", class: `${this.slotPosition ? this.slotPosition : ''}
30
- ${this.topPartGroup ? 'top-part-child' : ''}
29
+ }, class: `footer-top-title-button ${this.open ? 'expanded' : 'closed'}` }, this.titleText, index.h("tds-icon", { name: "chevron_down", size: "20px" }))), index.h("div", { role: "list", class: `${this.slotPosition ? this.slotPosition : ''}
30
+ ${this.topPartGroup ? 'top-part-child' : ''}
31
31
  ${this.open ? 'expanded' : 'closed'}` }, index.h("slot", null))));
32
32
  }
33
33
  get host() { return index.getElement(this); }