@scania/tegel 0.0.9 → 0.0.10

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 (528) hide show
  1. package/README.md +3 -0
  2. package/dist/cjs/index-ee36ffa1.js +8 -16
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{popper-9def2535.js → popper-d7adcfc6.js} +6 -12
  5. package/dist/cjs/tds-accordion-item.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-badge.cjs.entry.js +3 -3
  7. package/dist/cjs/tds-banner.cjs.entry.js +10 -10
  8. package/dist/cjs/tds-breadcrumb.cjs.entry.js +2 -4
  9. package/dist/cjs/tds-breadcrumbs.cjs.entry.js +0 -3
  10. package/dist/cjs/tds-button.cjs.entry.js +4 -11
  11. package/dist/cjs/tds-card.cjs.entry.js +19 -23
  12. package/dist/cjs/tds-checkbox.cjs.entry.js +2 -1
  13. package/dist/cjs/tds-chip.cjs.entry.js +14 -3
  14. package/dist/cjs/tds-core-header-item_2.cjs.entry.js +1 -1
  15. package/dist/cjs/{tds-dropdown-option-v2.cjs.entry.js → tds-dropdown-option.cjs.entry.js} +5 -5
  16. package/dist/cjs/{tds-dropdown-v2.cjs.entry.js → tds-dropdown.cjs.entry.js} +19 -19
  17. package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -3
  18. package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -5
  19. package/dist/cjs/tds-footer-group.cjs.entry.js +3 -3
  20. package/dist/cjs/tds-footer-item.cjs.entry.js +1 -1
  21. package/dist/cjs/tds-footer.cjs.entry.js +6 -6
  22. package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
  23. package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +4 -4
  24. package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +1 -1
  25. package/dist/cjs/tds-header-dropdown.cjs.entry.js +4 -3
  26. package/dist/cjs/tds-header-hamburger.cjs.entry.js +1 -1
  27. package/dist/cjs/tds-header-launcher-button.cjs.entry.js +1 -1
  28. package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +3 -2
  29. package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +1 -1
  30. package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +3 -2
  31. package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -1
  32. package/dist/cjs/tds-header-launcher.cjs.entry.js +2 -2
  33. package/dist/cjs/tds-header.cjs.entry.js +1 -1
  34. package/dist/cjs/tds-inline-tab.cjs.entry.js +1 -1
  35. package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -5
  36. package/dist/cjs/tds-link.cjs.entry.js +1 -1
  37. package/dist/cjs/tds-message.cjs.entry.js +4 -4
  38. package/dist/cjs/tds-modal.cjs.entry.js +13 -5
  39. package/dist/cjs/tds-navigation-tab.cjs.entry.js +1 -1
  40. package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -5
  41. package/dist/cjs/tds-popover-canvas.cjs.entry.js +1 -1
  42. package/dist/cjs/tds-popover-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/tds-radio-button.cjs.entry.js +3 -2
  44. package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +1 -1
  45. package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +1 -1
  46. package/dist/cjs/tds-side-menu-item.cjs.entry.js +1 -1
  47. package/dist/cjs/tds-side-menu.cjs.entry.js +2 -2
  48. package/dist/cjs/tds-slider.cjs.entry.js +12 -15
  49. package/dist/cjs/tds-stepper.cjs.entry.js +3 -2
  50. package/dist/cjs/tds-table-body.cjs.entry.js +4 -51
  51. package/dist/cjs/tds-table-footer.cjs.entry.js +47 -39
  52. package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
  53. package/dist/cjs/tds-table.cjs.entry.js +2 -1
  54. package/dist/cjs/tds-text-field.cjs.entry.js +6 -2
  55. package/dist/cjs/tds-toast.cjs.entry.js +11 -26
  56. package/dist/cjs/tds-toggle.cjs.entry.js +2 -1
  57. package/dist/cjs/tds-tooltip.cjs.entry.js +6 -2
  58. package/dist/cjs/tegel.cjs.js +1 -1
  59. package/dist/cjs/{utils-2beb1aa0.js → utils-41de5fb2.js} +32 -12
  60. package/dist/collection/collection-manifest.json +0 -3
  61. package/dist/collection/components/accordion/accordion-item/accordion-item.js +4 -1
  62. package/dist/collection/components/accordion/accordion.stories.js +100 -0
  63. package/dist/collection/components/badge/badge.js +4 -4
  64. package/dist/collection/components/badge/badge.stories.js +106 -0
  65. package/dist/collection/components/banner/banner.css +12 -9
  66. package/dist/collection/components/banner/banner.js +33 -17
  67. package/dist/collection/components/banner/banner.stories.js +107 -0
  68. package/dist/collection/components/block/block.stories.js +49 -0
  69. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +4 -4
  70. package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -21
  71. package/dist/collection/components/breadcrumbs/breadcrumbs.js +0 -3
  72. package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +36 -0
  73. package/dist/collection/components/button/button.css +16 -0
  74. package/dist/collection/components/button/button.js +7 -12
  75. package/dist/collection/components/button/button.stories.js +167 -0
  76. package/dist/collection/components/card/card.css +18 -17
  77. package/dist/collection/components/card/card.js +32 -68
  78. package/dist/collection/components/card/card.stories.js +162 -0
  79. package/dist/collection/components/checkbox/checkbox.js +6 -2
  80. package/dist/collection/components/checkbox/checkbox.stories.js +80 -0
  81. package/dist/collection/components/chip/chip.css +23 -8
  82. package/dist/collection/components/chip/chip.js +19 -3
  83. package/dist/collection/components/chip/chip.stories.js +230 -0
  84. package/dist/collection/components/datetime/datetime.stories.js +195 -0
  85. package/dist/collection/components/divider/divider.stories.js +62 -0
  86. package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +142 -116
  87. package/dist/collection/components/dropdown/dropdown.css +212 -386
  88. package/dist/collection/components/dropdown/dropdown.js +472 -329
  89. package/dist/collection/components/dropdown/dropdown.stories.js +268 -0
  90. package/dist/collection/components/footer/footer-group/footer-group.css +3 -3
  91. package/dist/collection/components/footer/footer-group/footer-group.js +2 -2
  92. package/dist/collection/components/footer/footer-item/footer-item.css +16 -8
  93. package/dist/collection/components/footer/footer.css +8 -12
  94. package/dist/collection/components/footer/footer.js +10 -10
  95. package/dist/collection/components/footer/footer.stories.js +145 -0
  96. package/dist/collection/components/header/header-dropdown/header-dropdown.js +10 -5
  97. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.css +1 -1
  98. package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +13 -9
  99. package/dist/collection/components/header/header-hamburger/header-hamburger.css +0 -1
  100. package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
  101. package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +3 -2
  102. package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +2 -1
  103. package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +3 -2
  104. package/dist/collection/components/header/header.css +1 -1
  105. package/dist/collection/components/header/header.js +5 -0
  106. package/dist/collection/components/header/header.stories.js +80 -0
  107. package/dist/collection/components/icon/icon.stories.js +48 -0
  108. package/dist/collection/components/link/link.css +16 -13
  109. package/dist/collection/components/link/link.js +1 -0
  110. package/dist/collection/components/link/link.stories.js +57 -0
  111. package/dist/collection/components/message/message.css +16 -16
  112. package/dist/collection/components/message/message.js +6 -3
  113. package/dist/collection/components/message/message.stories.js +110 -0
  114. package/dist/collection/components/modal/modal.css +19 -33
  115. package/dist/collection/components/modal/modal.js +36 -6
  116. package/dist/collection/components/modal/modal.stories.js +109 -0
  117. package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
  118. package/dist/collection/components/popover-canvas/popover-canvas.stories.js +92 -0
  119. package/dist/collection/components/popover-menu/popover-menu.js +2 -2
  120. package/dist/collection/components/popover-menu/popover-menu.stories.js +140 -0
  121. package/dist/collection/components/radio-button/radio-button.css +1 -1
  122. package/dist/collection/components/radio-button/radio-button.js +6 -2
  123. package/dist/collection/components/radio-button/radio-button.stories.js +91 -0
  124. package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +3 -0
  125. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.css +1 -1
  126. package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +5 -0
  127. package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +3 -0
  128. package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +3 -0
  129. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.css +1 -1
  130. package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +3 -0
  131. package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +3 -0
  132. package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +5 -0
  133. package/dist/collection/components/side-menu/side-menu.css +6 -5
  134. package/dist/collection/components/side-menu/side-menu.js +11 -3
  135. package/dist/collection/components/side-menu/side-menu.stories.js +215 -0
  136. package/dist/collection/components/slider/slider.js +13 -16
  137. package/dist/collection/components/slider/slider.stories.js +243 -0
  138. package/dist/collection/components/spinner/spinner.stories.js +61 -0
  139. package/dist/collection/components/stepper/step/step.js +3 -0
  140. package/dist/collection/components/stepper/stepper.css +3 -0
  141. package/dist/collection/components/stepper/stepper.js +4 -3
  142. package/dist/collection/components/stepper/stepper.stories.js +95 -0
  143. package/dist/collection/components/table/table/table.js +4 -3
  144. package/dist/collection/components/table/table-body/table-body.js +15 -60
  145. package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +3 -0
  146. package/dist/collection/components/table/table-component-basic.stories.js +184 -0
  147. package/dist/collection/components/table/table-component-batch-actions.stories.js +201 -0
  148. package/dist/collection/components/table/table-component-bodydata.stories.js +101 -0
  149. package/dist/collection/components/table/table-component-custom-width.stories.js +174 -0
  150. package/dist/collection/components/table/table-component-event-listeners.stories.js +193 -0
  151. package/dist/collection/components/table/table-component-expandable-rows.stories.js +160 -0
  152. package/dist/collection/components/table/table-component-filtering.stories.js +210 -0
  153. package/dist/collection/components/table/table-component-multiselect.stories.js +230 -0
  154. package/dist/collection/components/table/table-component-pagination.stories.js +215 -0
  155. package/dist/collection/components/table/table-component-sorting.stories.js +238 -0
  156. package/dist/collection/components/table/table-footer/table-footer.js +65 -54
  157. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -0
  158. package/dist/collection/components/table/table-toolbar/table-toolbar.css +2 -1
  159. package/dist/collection/components/table/table-toolbar/table-toolbar.js +4 -1
  160. package/dist/collection/components/table/table.filtering.spec.js +0 -6
  161. package/dist/collection/components/table/table.spec.js +0 -6
  162. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.css +10 -11
  163. package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +1 -2
  164. package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +5 -5
  165. package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +105 -0
  166. package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.css +13 -2
  167. package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +5 -5
  168. package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +99 -0
  169. package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.css +13 -2
  170. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +5 -5
  171. package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +101 -0
  172. package/dist/collection/components/text-field/text-field.js +10 -2
  173. package/dist/collection/components/text-field/text-field.stories.js +247 -0
  174. package/dist/collection/components/textarea/textarea.stories.js +188 -0
  175. package/dist/collection/components/toast/toast.css +32 -25
  176. package/dist/collection/components/toast/toast.js +17 -33
  177. package/dist/collection/components/toast/toast.stories.js +79 -0
  178. package/dist/collection/components/toggle/toggle.js +6 -2
  179. package/dist/collection/components/toggle/toggle.stories.js +95 -0
  180. package/dist/collection/components/tooltip/tooltip.js +27 -3
  181. package/dist/collection/components/tooltip/tooltip.stories.js +128 -0
  182. package/dist/collection/stories/Installation/installation.stories.js +222 -0
  183. package/dist/collection/stories/announcements/announce-tegel.stories.js +262 -0
  184. package/dist/collection/stories/announcements/prefix-change.stories.js +93 -0
  185. package/dist/collection/stories/foundations/color/color-brand.stories.js +38 -0
  186. package/dist/collection/stories/foundations/color/color-scales.stories.js +71 -0
  187. package/dist/collection/stories/foundations/color/color-semantic.stories.js +40 -0
  188. package/dist/collection/stories/foundations/grid/grid.stories.js +386 -0
  189. package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +100 -0
  190. package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +94 -0
  191. package/dist/collection/stories/foundations/typography/typography-body.stories.js +16 -0
  192. package/dist/collection/stories/foundations/typography/typography-detail.stories.js +17 -0
  193. package/dist/collection/stories/foundations/typography/typography-headline.stories.js +39 -0
  194. package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +12 -0
  195. package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +85 -0
  196. package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +259 -0
  197. package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +246 -0
  198. package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +140 -0
  199. package/dist/collection/stories/tegel.stories.js +293 -0
  200. package/dist/collection/stories/utility/color/background-color.stories.js +96 -0
  201. package/dist/collection/stories/utility/color/text-color.stories.js +94 -0
  202. package/dist/collection/utils/utils.js +30 -11
  203. package/dist/components/checkbox.js +2 -1
  204. package/dist/components/header-dropdown-list.js +1 -1
  205. package/dist/components/header-item.js +1 -1
  206. package/dist/components/popper.js +6 -12
  207. package/dist/components/side-menu-item.js +1 -1
  208. package/dist/components/tds-accordion-item.js +1 -1
  209. package/dist/components/tds-badge.js +4 -4
  210. package/dist/components/tds-banner.js +12 -13
  211. package/dist/components/tds-breadcrumb.js +3 -6
  212. package/dist/components/tds-breadcrumbs.js +0 -3
  213. package/dist/components/tds-button.js +5 -13
  214. package/dist/components/tds-card.js +21 -29
  215. package/dist/components/tds-chip.js +14 -3
  216. package/dist/components/tds-dropdown-option.js +121 -1
  217. package/dist/components/tds-dropdown.js +318 -1
  218. package/dist/components/tds-folder-tab.js +2 -3
  219. package/dist/components/tds-folder-tabs.js +5 -5
  220. package/dist/components/tds-footer-group.js +3 -3
  221. package/dist/components/tds-footer-item.js +1 -1
  222. package/dist/components/tds-footer.js +7 -8
  223. package/dist/components/tds-header-cell.js +1 -1
  224. package/dist/components/tds-header-dropdown-list-user.js +6 -6
  225. package/dist/components/tds-header-dropdown.js +5 -4
  226. package/dist/components/tds-header-launcher-grid-title.js +3 -2
  227. package/dist/components/tds-header-launcher-grid.js +1 -1
  228. package/dist/components/tds-header-launcher-list-title.js +3 -2
  229. package/dist/components/tds-header-launcher-list.js +2 -1
  230. package/dist/components/tds-header-launcher.js +2 -2
  231. package/dist/components/tds-inline-tab.js +1 -1
  232. package/dist/components/tds-inline-tabs.js +5 -5
  233. package/dist/components/tds-link.js +3 -2
  234. package/dist/components/tds-message.js +4 -4
  235. package/dist/components/tds-modal.js +14 -5
  236. package/dist/components/tds-navigation-tab.js +1 -1
  237. package/dist/components/tds-navigation-tabs.js +5 -5
  238. package/dist/components/tds-radio-button.js +3 -2
  239. package/dist/components/tds-side-menu-dropdown.js +1 -1
  240. package/dist/components/tds-side-menu.js +2 -2
  241. package/dist/components/tds-slider.js +12 -15
  242. package/dist/components/tds-stepper.js +3 -2
  243. package/dist/components/tds-table-body.js +5 -53
  244. package/dist/components/tds-table-footer.js +50 -42
  245. package/dist/components/tds-table-toolbar.js +9 -3
  246. package/dist/components/tds-table.js +2 -1
  247. package/dist/components/tds-text-field.js +6 -2
  248. package/dist/components/tds-toast.js +12 -29
  249. package/dist/components/tds-toggle.js +2 -1
  250. package/dist/components/tds-tooltip.js +7 -2
  251. package/dist/components/utils.js +31 -12
  252. package/dist/esm/index-23ee700b.js +8 -16
  253. package/dist/esm/loader.js +1 -1
  254. package/dist/esm/{popper-bfa25c7f.js → popper-15e448b4.js} +6 -12
  255. package/dist/esm/tds-accordion-item.entry.js +1 -1
  256. package/dist/esm/tds-badge.entry.js +3 -3
  257. package/dist/esm/tds-banner.entry.js +10 -10
  258. package/dist/esm/tds-breadcrumb.entry.js +2 -4
  259. package/dist/esm/tds-breadcrumbs.entry.js +0 -3
  260. package/dist/esm/tds-button.entry.js +4 -11
  261. package/dist/esm/tds-card.entry.js +19 -23
  262. package/dist/esm/tds-checkbox.entry.js +2 -1
  263. package/dist/esm/tds-chip.entry.js +15 -4
  264. package/dist/esm/tds-core-header-item_2.entry.js +1 -1
  265. package/dist/esm/{tds-dropdown-option-v2.entry.js → tds-dropdown-option.entry.js} +5 -5
  266. package/dist/esm/{tds-dropdown-v2.entry.js → tds-dropdown.entry.js} +19 -19
  267. package/dist/esm/tds-folder-tab.entry.js +2 -3
  268. package/dist/esm/tds-folder-tabs.entry.js +5 -5
  269. package/dist/esm/tds-footer-group.entry.js +3 -3
  270. package/dist/esm/tds-footer-item.entry.js +1 -1
  271. package/dist/esm/tds-footer.entry.js +6 -6
  272. package/dist/esm/tds-header-cell.entry.js +1 -1
  273. package/dist/esm/tds-header-dropdown-list-user.entry.js +4 -4
  274. package/dist/esm/tds-header-dropdown-list.entry.js +1 -1
  275. package/dist/esm/tds-header-dropdown.entry.js +4 -3
  276. package/dist/esm/tds-header-hamburger.entry.js +1 -1
  277. package/dist/esm/tds-header-launcher-button.entry.js +1 -1
  278. package/dist/esm/tds-header-launcher-grid-title.entry.js +3 -2
  279. package/dist/esm/tds-header-launcher-grid.entry.js +1 -1
  280. package/dist/esm/tds-header-launcher-list-title.entry.js +3 -2
  281. package/dist/esm/tds-header-launcher-list.entry.js +2 -1
  282. package/dist/esm/tds-header-launcher.entry.js +2 -2
  283. package/dist/esm/tds-header.entry.js +1 -1
  284. package/dist/esm/tds-inline-tab.entry.js +1 -1
  285. package/dist/esm/tds-inline-tabs.entry.js +5 -5
  286. package/dist/esm/tds-link.entry.js +1 -1
  287. package/dist/esm/tds-message.entry.js +4 -4
  288. package/dist/esm/tds-modal.entry.js +13 -5
  289. package/dist/esm/tds-navigation-tab.entry.js +1 -1
  290. package/dist/esm/tds-navigation-tabs.entry.js +5 -5
  291. package/dist/esm/tds-popover-canvas.entry.js +1 -1
  292. package/dist/esm/tds-popover-menu.entry.js +1 -1
  293. package/dist/esm/tds-radio-button.entry.js +3 -2
  294. package/dist/esm/tds-side-menu-close-button.entry.js +1 -1
  295. package/dist/esm/tds-side-menu-dropdown.entry.js +1 -1
  296. package/dist/esm/tds-side-menu-item.entry.js +1 -1
  297. package/dist/esm/tds-side-menu.entry.js +2 -2
  298. package/dist/esm/tds-slider.entry.js +12 -15
  299. package/dist/esm/tds-stepper.entry.js +3 -2
  300. package/dist/esm/tds-table-body.entry.js +4 -51
  301. package/dist/esm/tds-table-footer.entry.js +47 -39
  302. package/dist/esm/tds-table-toolbar.entry.js +2 -2
  303. package/dist/esm/tds-table.entry.js +2 -1
  304. package/dist/esm/tds-text-field.entry.js +7 -3
  305. package/dist/esm/tds-toast.entry.js +11 -26
  306. package/dist/esm/tds-toggle.entry.js +2 -1
  307. package/dist/esm/tds-tooltip.entry.js +6 -2
  308. package/dist/esm/tegel.js +1 -1
  309. package/dist/esm/{utils-9ac24735.js → utils-74fb1bed.js} +31 -12
  310. package/dist/tegel/p-000d60e5.entry.js +1 -0
  311. package/dist/tegel/p-04bff255.entry.js +1 -0
  312. package/dist/tegel/p-06093e3e.entry.js +1 -0
  313. package/dist/tegel/p-099025f0.entry.js +1 -0
  314. package/dist/tegel/p-0995ca77.entry.js +1 -0
  315. package/dist/tegel/p-10337d3f.entry.js +1 -0
  316. package/dist/tegel/p-19fb9ad5.entry.js +1 -0
  317. package/dist/tegel/p-1bac7d2e.entry.js +1 -0
  318. package/dist/tegel/p-1c82ccf0.entry.js +1 -0
  319. package/dist/tegel/p-347414ad.entry.js +1 -0
  320. package/dist/tegel/p-34a06d2f.entry.js +1 -0
  321. package/dist/tegel/p-3c9865c3.entry.js +1 -0
  322. package/dist/tegel/{p-c8d4af09.entry.js → p-40142a58.entry.js} +1 -1
  323. package/dist/tegel/p-48136431.entry.js +1 -0
  324. package/dist/tegel/p-49a084db.entry.js +1 -0
  325. package/dist/tegel/p-4c809685.entry.js +1 -0
  326. package/dist/tegel/p-54e56257.entry.js +1 -0
  327. package/dist/tegel/{p-e8fccebc.entry.js → p-56189659.entry.js} +1 -1
  328. package/dist/tegel/p-6bee84a2.entry.js +1 -0
  329. package/dist/tegel/p-6f0072cc.entry.js +1 -0
  330. package/dist/tegel/p-73a8f43e.entry.js +1 -0
  331. package/dist/tegel/p-8ba77ea3.entry.js +1 -0
  332. package/dist/tegel/p-8bd0a233.entry.js +1 -0
  333. package/dist/tegel/{p-e0ee20ee.entry.js → p-8c194dd8.entry.js} +1 -1
  334. package/dist/tegel/p-95e170f3.entry.js +1 -0
  335. package/dist/tegel/p-99837611.entry.js +1 -0
  336. package/dist/tegel/p-9991a816.entry.js +1 -0
  337. package/dist/tegel/{p-bcb2fad3.entry.js → p-9b29bf68.entry.js} +1 -1
  338. package/dist/tegel/{p-39227588.js → p-9dc14c21.js} +1 -1
  339. package/dist/tegel/p-9f1e1cc0.entry.js +1 -0
  340. package/dist/tegel/{p-232f5889.entry.js → p-9fe0d654.entry.js} +1 -1
  341. package/dist/tegel/{p-135575ae.entry.js → p-a08be1c3.entry.js} +1 -1
  342. package/dist/tegel/{p-3aa634ed.entry.js → p-a1ad46d2.entry.js} +1 -1
  343. package/dist/tegel/p-a34bb501.entry.js +1 -0
  344. package/dist/tegel/p-a4e3eb95.entry.js +1 -0
  345. package/dist/tegel/{p-fb3f4a14.entry.js → p-aa443b06.entry.js} +1 -1
  346. package/dist/tegel/p-afe13096.entry.js +1 -0
  347. package/dist/tegel/{p-cd2a74d7.entry.js → p-b0d313cd.entry.js} +1 -1
  348. package/dist/tegel/p-b1067b50.entry.js +1 -0
  349. package/dist/tegel/{p-7b34156b.entry.js → p-b5424456.entry.js} +1 -1
  350. package/dist/tegel/p-c15bbe0b.entry.js +1 -0
  351. package/dist/tegel/p-c411f254.entry.js +1 -0
  352. package/dist/tegel/p-c5588508.entry.js +1 -0
  353. package/dist/tegel/{p-b6a16219.entry.js → p-c5ab3a3b.entry.js} +1 -1
  354. package/dist/tegel/p-d5bd9b2e.entry.js +1 -0
  355. package/dist/tegel/p-df95f0ae.entry.js +1 -0
  356. package/dist/tegel/{p-de799b9a.entry.js → p-e24835ba.entry.js} +1 -1
  357. package/dist/tegel/p-e3f8fc68.entry.js +1 -0
  358. package/dist/tegel/{p-89283891.entry.js → p-e4dc07bb.entry.js} +1 -1
  359. package/dist/tegel/p-f36ec03b.entry.js +1 -0
  360. package/dist/tegel/{p-7331ec7b.entry.js → p-f795bc11.entry.js} +1 -1
  361. package/dist/tegel/{p-7d3a66ae.entry.js → p-f9d04ff2.entry.js} +1 -1
  362. package/dist/tegel/p-fc6da19c.entry.js +1 -0
  363. package/dist/tegel/tegel.css +2 -2
  364. package/dist/tegel/tegel.esm.js +1 -1
  365. package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +3 -0
  366. package/dist/types/components/accordion/accordion.stories.d.ts +77 -0
  367. package/dist/types/components/badge/badge.stories.d.ts +73 -0
  368. package/dist/types/components/banner/banner.d.ts +7 -2
  369. package/dist/types/components/banner/banner.stories.d.ts +82 -0
  370. package/dist/types/components/block/block.stories.d.ts +32 -0
  371. package/dist/types/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +0 -2
  372. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +0 -1
  373. package/dist/types/components/breadcrumbs/breadcrumbs.stories.d.ts +16 -0
  374. package/dist/types/components/button/button.d.ts +3 -1
  375. package/dist/types/components/button/button.stories.d.ts +133 -0
  376. package/dist/types/components/card/card.d.ts +11 -9
  377. package/dist/types/components/card/card.stories.d.ts +128 -0
  378. package/dist/types/components/checkbox/checkbox.d.ts +3 -0
  379. package/dist/types/components/checkbox/checkbox.stories.d.ts +52 -0
  380. package/dist/types/components/chip/chip.d.ts +6 -0
  381. package/dist/types/components/chip/chip.stories.d.ts +99 -0
  382. package/dist/types/components/datetime/datetime.stories.d.ts +125 -0
  383. package/dist/types/components/divider/divider.stories.d.ts +58 -0
  384. package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +28 -17
  385. package/dist/types/components/dropdown/dropdown.d.ts +79 -54
  386. package/dist/types/components/dropdown/dropdown.stories.d.ts +183 -0
  387. package/dist/types/components/footer/footer-group/footer-group.d.ts +1 -1
  388. package/dist/types/components/footer/footer.d.ts +5 -3
  389. package/dist/types/components/footer/footer.stories.d.ts +44 -0
  390. package/dist/types/components/header/header-dropdown/header-dropdown.d.ts +5 -1
  391. package/dist/types/components/header/header-dropdown-list-user/header-dropdown-list-user.d.ts +8 -4
  392. package/dist/types/components/header/header.d.ts +5 -0
  393. package/dist/types/components/header/header.stories.d.ts +31 -0
  394. package/dist/types/components/icon/icon.stories.d.ts +36 -0
  395. package/dist/types/components/link/link.stories.d.ts +44 -0
  396. package/dist/types/components/message/message.d.ts +3 -0
  397. package/dist/types/components/message/message.stories.d.ts +88 -0
  398. package/dist/types/components/modal/modal.d.ts +9 -3
  399. package/dist/types/components/modal/modal.stories.d.ts +70 -0
  400. package/dist/types/components/popover-canvas/popover-canvas.d.ts +1 -1
  401. package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +27 -0
  402. package/dist/types/components/popover-menu/popover-menu.d.ts +1 -1
  403. package/dist/types/components/popover-menu/popover-menu.stories.d.ts +40 -0
  404. package/dist/types/components/radio-button/radio-button.d.ts +3 -0
  405. package/dist/types/components/radio-button/radio-button.stories.d.ts +39 -0
  406. package/dist/types/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.d.ts +3 -0
  407. package/dist/types/components/side-menu/side-menu-dropdown/side-menu-dropdown.d.ts +5 -0
  408. package/dist/types/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.d.ts +3 -0
  409. package/dist/types/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.d.ts +3 -0
  410. package/dist/types/components/side-menu/side-menu-item/side-menu-item.d.ts +3 -0
  411. package/dist/types/components/side-menu/side-menu-user/side-menu-user.d.ts +3 -0
  412. package/dist/types/components/side-menu/side-menu-user-image/side-menu-user-image.d.ts +4 -0
  413. package/dist/types/components/side-menu/side-menu.d.ts +8 -0
  414. package/dist/types/components/side-menu/side-menu.stories.d.ts +53 -0
  415. package/dist/types/components/slider/slider.d.ts +0 -1
  416. package/dist/types/components/slider/slider.stories.d.ts +235 -0
  417. package/dist/types/components/spinner/spinner.stories.d.ts +46 -0
  418. package/dist/types/components/stepper/step/step.d.ts +3 -0
  419. package/dist/types/components/stepper/stepper.stories.d.ts +80 -0
  420. package/dist/types/components/table/table-body/table-body.d.ts +6 -3
  421. package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +3 -0
  422. package/dist/types/components/table/table-component-basic.stories.d.ts +144 -0
  423. package/dist/types/components/table/table-component-batch-actions.stories.d.ts +139 -0
  424. package/dist/types/components/table/table-component-bodydata.stories.d.ts +35 -0
  425. package/dist/types/components/table/table-component-custom-width.stories.d.ts +131 -0
  426. package/dist/types/components/table/table-component-event-listeners.stories.d.ts +131 -0
  427. package/dist/types/components/table/table-component-expandable-rows.stories.d.ts +131 -0
  428. package/dist/types/components/table/table-component-filtering.stories.d.ts +139 -0
  429. package/dist/types/components/table/table-component-multiselect.stories.d.ts +144 -0
  430. package/dist/types/components/table/table-component-pagination.stories.d.ts +131 -0
  431. package/dist/types/components/table/table-component-sorting.stories.d.ts +183 -0
  432. package/dist/types/components/table/table-footer/table-footer.d.ts +7 -7
  433. package/dist/types/components/table/table-toolbar/table-toolbar.d.ts +3 -0
  434. package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +69 -0
  435. package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +61 -0
  436. package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +61 -0
  437. package/dist/types/components/text-field/text-field.d.ts +5 -0
  438. package/dist/types/components/text-field/text-field.stories.d.ts +201 -0
  439. package/dist/types/components/textarea/textarea.stories.d.ts +139 -0
  440. package/dist/types/components/toast/toast.d.ts +5 -4
  441. package/dist/types/components/toast/toast.stories.d.ts +56 -0
  442. package/dist/types/components/toggle/toggle.d.ts +3 -0
  443. package/dist/types/components/toggle/toggle.stories.d.ts +74 -0
  444. package/dist/types/components/tooltip/tooltip.d.ts +3 -1
  445. package/dist/types/components/tooltip/tooltip.stories.d.ts +66 -0
  446. package/dist/types/components.d.ts +105 -393
  447. package/dist/types/stories/Installation/installation.stories.d.ts +7 -0
  448. package/dist/types/stories/announcements/announce-tegel.stories.d.ts +6 -0
  449. package/dist/types/stories/announcements/prefix-change.stories.d.ts +6 -0
  450. package/dist/types/stories/foundations/color/color-brand.stories.d.ts +13 -0
  451. package/dist/types/stories/foundations/color/color-scales.stories.d.ts +30 -0
  452. package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +13 -0
  453. package/dist/types/stories/foundations/grid/grid.stories.d.ts +35 -0
  454. package/dist/types/stories/foundations/spacing/spacing-element.stories.d.ts +8 -0
  455. package/dist/types/stories/foundations/spacing/spacing-layout.stories.d.ts +8 -0
  456. package/dist/types/stories/foundations/typography/typography-body.stories.d.ts +8 -0
  457. package/dist/types/stories/foundations/typography/typography-detail.stories.d.ts +8 -0
  458. package/dist/types/stories/foundations/typography/typography-headline.stories.d.ts +21 -0
  459. package/dist/types/stories/foundations/typography/typography-paragraph.stories.d.ts +8 -0
  460. package/dist/types/stories/patterns/navigation/navigation-basic.stories.d.ts +23 -0
  461. package/dist/types/stories/patterns/navigation/navigation-fewitems.stories.d.ts +23 -0
  462. package/dist/types/stories/patterns/navigation/navigation-manyitems.stories.d.ts +38 -0
  463. package/dist/types/stories/patterns/navigation/navigation-user-menu.stories.d.ts +33 -0
  464. package/dist/types/stories/tegel.stories.d.ts +6 -0
  465. package/dist/types/stories/utility/color/background-color.stories.d.ts +64 -0
  466. package/dist/types/stories/utility/color/text-color.stories.d.ts +64 -0
  467. package/dist/types/utils/utils.d.ts +20 -6
  468. package/package.json +21 -24
  469. package/dist/cjs/tds-dropdown-filter.cjs.entry.js +0 -96
  470. package/dist/cjs/tds-dropdown_2.cjs.entry.js +0 -339
  471. package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +0 -380
  472. package/dist/collection/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.js +0 -216
  473. package/dist/collection/components/dropdown-v2/dropdown-v2.css +0 -286
  474. package/dist/collection/components/dropdown-v2/dropdown-v2.js +0 -726
  475. package/dist/components/dropdown-option.js +0 -104
  476. package/dist/components/dropdown.js +0 -304
  477. package/dist/components/tds-dropdown-filter.d.ts +0 -11
  478. package/dist/components/tds-dropdown-filter.js +0 -150
  479. package/dist/components/tds-dropdown-option-v2.d.ts +0 -11
  480. package/dist/components/tds-dropdown-option-v2.js +0 -126
  481. package/dist/components/tds-dropdown-v2.d.ts +0 -11
  482. package/dist/components/tds-dropdown-v2.js +0 -323
  483. package/dist/esm/tds-dropdown-filter.entry.js +0 -92
  484. package/dist/esm/tds-dropdown_2.entry.js +0 -334
  485. package/dist/tegel/p-07e5df94.entry.js +0 -1
  486. package/dist/tegel/p-0a3e7512.entry.js +0 -1
  487. package/dist/tegel/p-0e55d72f.entry.js +0 -1
  488. package/dist/tegel/p-107d3da8.entry.js +0 -1
  489. package/dist/tegel/p-13b02a4f.entry.js +0 -1
  490. package/dist/tegel/p-19e9addd.entry.js +0 -1
  491. package/dist/tegel/p-1fb5c5d4.entry.js +0 -1
  492. package/dist/tegel/p-2bee16f6.entry.js +0 -1
  493. package/dist/tegel/p-2e2c91c4.entry.js +0 -1
  494. package/dist/tegel/p-330ed982.entry.js +0 -1
  495. package/dist/tegel/p-3604b5d3.entry.js +0 -1
  496. package/dist/tegel/p-375e361b.entry.js +0 -1
  497. package/dist/tegel/p-55dc4711.entry.js +0 -1
  498. package/dist/tegel/p-59f1cb9b.entry.js +0 -1
  499. package/dist/tegel/p-5a6aba01.entry.js +0 -1
  500. package/dist/tegel/p-60733f89.entry.js +0 -1
  501. package/dist/tegel/p-6a530c2f.entry.js +0 -1
  502. package/dist/tegel/p-732256e0.entry.js +0 -1
  503. package/dist/tegel/p-76f941e8.entry.js +0 -1
  504. package/dist/tegel/p-7b0853e6.entry.js +0 -1
  505. package/dist/tegel/p-90686bc7.entry.js +0 -1
  506. package/dist/tegel/p-95da9b7f.entry.js +0 -1
  507. package/dist/tegel/p-99f540db.entry.js +0 -1
  508. package/dist/tegel/p-9bcc42cf.entry.js +0 -1
  509. package/dist/tegel/p-9f57d275.entry.js +0 -1
  510. package/dist/tegel/p-9fe384ad.entry.js +0 -1
  511. package/dist/tegel/p-a5604352.entry.js +0 -1
  512. package/dist/tegel/p-acb62b52.entry.js +0 -1
  513. package/dist/tegel/p-aeffa257.entry.js +0 -1
  514. package/dist/tegel/p-b8d88873.entry.js +0 -1
  515. package/dist/tegel/p-beb8a6bd.entry.js +0 -1
  516. package/dist/tegel/p-c90a247c.entry.js +0 -1
  517. package/dist/tegel/p-ca4527de.entry.js +0 -1
  518. package/dist/tegel/p-cf4cfc54.entry.js +0 -1
  519. package/dist/tegel/p-d3f5cf74.entry.js +0 -1
  520. package/dist/tegel/p-d67d67be.entry.js +0 -1
  521. package/dist/tegel/p-da4c92b9.entry.js +0 -1
  522. package/dist/tegel/p-f6206d3c.entry.js +0 -1
  523. package/dist/tegel/p-fc47d911.entry.js +0 -1
  524. package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +0 -47
  525. package/dist/types/components/dropdown-v2/dropdown-option-v2/dropdown-option-v2.d.ts +0 -35
  526. package/dist/types/components/dropdown-v2/dropdown-v2.d.ts +0 -86
  527. /package/dist/collection/components/{dropdown-v2/dropdown-option-v2/dropdown-option-v2.css → dropdown/dropdown-option/dropdown-option.css} +0 -0
  528. /package/dist/tegel/{p-9d707f6e.js → p-7c0dcd00.js} +0 -0
@@ -0,0 +1,7 @@
1
+ import type { Meta } from '@storybook/html';
2
+ import '../../../.storybook/tegel.syntax.highlighter.css';
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ export declare const Installation: {
6
+ render: () => string;
7
+ };
@@ -0,0 +1,6 @@
1
+ import type { Meta } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const Tegel: {
5
+ render: () => string;
6
+ };
@@ -0,0 +1,6 @@
1
+ import type { Meta } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const PrefixChange: {
5
+ render: () => string;
6
+ };
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ docs: {
6
+ source: {
7
+ state: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Brand: any;
@@ -0,0 +1,30 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ docs: {
6
+ source: {
7
+ state: string;
8
+ };
9
+ };
10
+ };
11
+ argTypes: {
12
+ color: {
13
+ name: string;
14
+ description: string;
15
+ control: {
16
+ type: string;
17
+ };
18
+ options: {
19
+ Grey: string;
20
+ Blue: string;
21
+ Red: string;
22
+ };
23
+ };
24
+ };
25
+ args: {
26
+ color: string;
27
+ };
28
+ };
29
+ export default _default;
30
+ export declare const Scales: any;
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ docs: {
6
+ source: {
7
+ state: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Sematic: any;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ args: {
7
+ fluidContainer: boolean;
8
+ padding: boolean;
9
+ };
10
+ argTypes: {
11
+ fluidContainer: {
12
+ name: string;
13
+ description: string;
14
+ control: {
15
+ type: string;
16
+ };
17
+ };
18
+ padding: {
19
+ name: string;
20
+ description: string;
21
+ control: {
22
+ type: string;
23
+ };
24
+ };
25
+ };
26
+ };
27
+ export default _default;
28
+ export declare const Default: any;
29
+ export declare const Auto: any;
30
+ export declare const Push: any;
31
+ export declare const Offset: any;
32
+ export declare const NoPadding: any;
33
+ export declare const Fluid: any;
34
+ export declare const Nested: any;
35
+ export declare const ShowHide: any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ };
7
+ export default _default;
8
+ export declare const SpacingElement: any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ };
7
+ export default _default;
8
+ export declare const SpacingLayout: any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ };
7
+ export default _default;
8
+ export declare const Body: any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ };
7
+ export default _default;
8
+ export declare const Detail: any;
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ argTypes: {
7
+ type: {
8
+ name: string;
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ options: {
14
+ Functional: string;
15
+ Expressive: string;
16
+ };
17
+ };
18
+ };
19
+ };
20
+ export default _default;
21
+ export declare const Headlines: any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ };
7
+ export default _default;
8
+ export declare const Paragraph: any;
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ notes: {
5
+ Readme: any;
6
+ };
7
+ layout: string;
8
+ docs: {
9
+ source: {
10
+ state: string;
11
+ };
12
+ };
13
+ design: {
14
+ name: string;
15
+ type: string;
16
+ url: string;
17
+ }[];
18
+ };
19
+ argTypes: {};
20
+ args: {};
21
+ };
22
+ export default _default;
23
+ export declare const Basic: any;
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ notes: {
5
+ Readme: any;
6
+ };
7
+ layout: string;
8
+ docs: {
9
+ source: {
10
+ state: string;
11
+ };
12
+ };
13
+ design: {
14
+ name: string;
15
+ type: string;
16
+ url: string;
17
+ }[];
18
+ };
19
+ argTypes: {};
20
+ args: {};
21
+ };
22
+ export default _default;
23
+ export declare const FewNavigationItems: any;
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ notes: {
5
+ Readme: any;
6
+ };
7
+ layout: string;
8
+ docs: {
9
+ source: {
10
+ state: string;
11
+ };
12
+ };
13
+ design: {
14
+ name: string;
15
+ type: string;
16
+ url: string;
17
+ }[];
18
+ };
19
+ argTypes: {
20
+ dummyHtml: {
21
+ name: string;
22
+ description: string;
23
+ control: {
24
+ type: string;
25
+ };
26
+ table: {
27
+ defaultValue: {
28
+ summary: any;
29
+ };
30
+ };
31
+ };
32
+ };
33
+ args: {
34
+ dummyHtml: string;
35
+ };
36
+ };
37
+ export default _default;
38
+ export declare const ManyNavigationItems: any;
@@ -0,0 +1,33 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ notes: {
5
+ Readme: any;
6
+ };
7
+ layout: string;
8
+ docs: {
9
+ source: {
10
+ state: string;
11
+ };
12
+ };
13
+ design: {
14
+ name: string;
15
+ type: string;
16
+ url: string;
17
+ }[];
18
+ };
19
+ argTypes: {
20
+ siteName: {
21
+ name: string;
22
+ description: string;
23
+ control: {
24
+ type: string;
25
+ };
26
+ };
27
+ };
28
+ args: {
29
+ siteName: string;
30
+ };
31
+ };
32
+ export default _default;
33
+ export declare const UserMenu: any;
@@ -0,0 +1,6 @@
1
+ import type { Meta } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const TegelDesignSystem: {
5
+ render: () => string;
6
+ };
@@ -0,0 +1,64 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ argTypes: {
7
+ backgroundColor: {
8
+ name: string;
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ options: {
14
+ Red: string;
15
+ Blue: string;
16
+ Grey: string;
17
+ };
18
+ };
19
+ greyScale: {
20
+ name: string;
21
+ description: string;
22
+ control: {
23
+ type: string;
24
+ };
25
+ options: string[];
26
+ if: {
27
+ arg: string;
28
+ eq: string;
29
+ };
30
+ };
31
+ redScale: {
32
+ name: string;
33
+ description: string;
34
+ control: {
35
+ type: string;
36
+ };
37
+ options: string[];
38
+ if: {
39
+ arg: string;
40
+ eq: string;
41
+ };
42
+ };
43
+ blueScale: {
44
+ name: string;
45
+ description: string;
46
+ control: {
47
+ type: string;
48
+ };
49
+ options: string[];
50
+ if: {
51
+ arg: string;
52
+ eq: string;
53
+ };
54
+ };
55
+ };
56
+ args: {
57
+ backgroundColor: string;
58
+ blueScale: string;
59
+ redScale: string;
60
+ greyScale: string;
61
+ };
62
+ };
63
+ export default _default;
64
+ export declare const BackgroundColor: any;
@@ -0,0 +1,64 @@
1
+ declare const _default: {
2
+ title: string;
3
+ parameters: {
4
+ layout: string;
5
+ };
6
+ argTypes: {
7
+ color: {
8
+ name: string;
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ options: {
14
+ Red: string;
15
+ Blue: string;
16
+ Grey: string;
17
+ };
18
+ };
19
+ greyScale: {
20
+ name: string;
21
+ description: string;
22
+ control: {
23
+ type: string;
24
+ };
25
+ options: string[];
26
+ if: {
27
+ arg: string;
28
+ eq: string;
29
+ };
30
+ };
31
+ redScale: {
32
+ name: string;
33
+ description: string;
34
+ control: {
35
+ type: string;
36
+ };
37
+ options: string[];
38
+ if: {
39
+ arg: string;
40
+ eq: string;
41
+ };
42
+ };
43
+ blueScale: {
44
+ name: string;
45
+ description: string;
46
+ control: {
47
+ type: string;
48
+ };
49
+ options: string[];
50
+ if: {
51
+ arg: string;
52
+ eq: string;
53
+ };
54
+ };
55
+ };
56
+ args: {
57
+ color: string;
58
+ blueScale: string;
59
+ redScale: string;
60
+ greyScale: string;
61
+ };
62
+ };
63
+ export default _default;
64
+ export declare const TextColor: any;
@@ -142,9 +142,23 @@ export declare const isHeadingElement: (el: HTMLElement) => boolean;
142
142
  export declare const updateListChildrenRoles: (targetNode: Node) => void;
143
143
  export declare function isFocusable(element: HTMLElement): boolean;
144
144
  /**
145
- * Disables click on a element by adding an event listener
146
- * and then preventing default and stopping propogation.
147
- * @param {Element} element The element where the click should be
148
- * disabled.
149
- * */
150
- export declare const disableClickOnElement: (element: Element) => void;
145
+ * Checks if the provided element has a slotted element
146
+ * in the slot with the corresponding slotName
147
+ * @param slotName the name of the slot.
148
+ * @param element the element to look for the slot within.
149
+ */
150
+ export declare const hasSlot: (slotName: string, element: HTMLElement) => boolean;
151
+ /**
152
+ * Generates a reasonably unique string ID based on current time (minutes, seconds, milliseconds) and random numbers.
153
+ *
154
+ * This function combines the current time and random numbers to generate
155
+ * a unique string ID. The function assumes that it won't be called frequently
156
+ * enough to generate two identical IDs within a millisecond, or that the random
157
+ * number generator will produce the same value twice in quick succession.
158
+ *
159
+ * Note: The IDs generated by this function are not globally unique and their length may vary.
160
+ * For truly unique and fixed-length IDs, consider using a more robust method such as UUID.
161
+ *
162
+ * @returns {string} A unique string ID.
163
+ */
164
+ export declare function generateUniqueId(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scania/tegel",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Tegel Design System",
5
5
  "keywords": [
6
6
  "tegel",
@@ -46,37 +46,34 @@
46
46
  "storybook": "concurrently --raw 'npm:build-stencil:watch' 'npm:start-storybook'"
47
47
  },
48
48
  "dependencies": {
49
- "@popperjs/core": "^2.11.6",
49
+ "@popperjs/core": "^2.11.8",
50
50
  "@stencil/core": "3.3.0",
51
- "dotenv": "^16.0.3"
51
+ "dotenv": "^16.0.3",
52
+ "prettier": "^2.7.1"
52
53
  },
53
54
  "devDependencies": {
54
- "concurrently": "^8.0.1",
55
- "@storybook/addon-a11y": "^6.5.14",
56
- "@storybook/addon-actions": "^6.5.12",
57
- "@storybook/addon-essentials": "^6.5.12",
58
- "@storybook/addon-links": "^6.5.12",
59
- "@storybook/addon-notes": "^5.3.21",
60
- "@storybook/builder-webpack4": "^6.5.12",
61
- "@storybook/addon-interactions": "^6.5.12",
62
- "@storybook/addons": "^6.5.13",
63
- "@storybook/html": "^6.5.12",
64
- "@storybook/addon-docs": "^6.4.19",
65
- "storybook-addon-designs": "^6.3.1",
66
- "storybook-dark-mode": "^3.0.0",
67
55
  "@babel/core": "^7.19.1",
68
- "@stencil/sass": "^2.0.1",
56
+ "@stencil/sass": "^3.0.4",
57
+ "@storybook/addon-a11y": "^6.5.16",
58
+ "@storybook/addon-actions": "^6.5.16",
59
+ "@storybook/addon-docs": "^6.5.16",
60
+ "@storybook/addon-essentials": "^6.5.16",
61
+ "@storybook/addon-interactions": "^6.5.16",
62
+ "@storybook/addon-links": "^6.5.16",
63
+ "@storybook/addon-notes": "^5.3.21",
64
+ "@storybook/addons": "^6.5.15",
65
+ "@storybook/builder-webpack4": "^6.5.16",
66
+ "@storybook/html": "^6.5.15",
69
67
  "@types/jest": "^27.0.3",
68
+ "highlight.js": "^11.8.0",
70
69
  "addon-screen-reader": "^1.8.6",
71
70
  "babel-loader": "^8.2.5",
71
+ "concurrently": "^8.0.1",
72
72
  "jest": "^27.4.5",
73
73
  "jest-cli": "^27.4.5",
74
- "puppeteer": "^10.0.0",
75
- "prettier": "^2.8.8"
74
+ "puppeteer": "^20.8.0",
75
+ "storybook-addon-designs": "^6.3.1",
76
+ "storybook-dark-mode": "^3.0.0"
76
77
  },
77
- "license": "MIT",
78
- "engines": {
79
- "npm": ">=8.0.0 <9.0.0",
80
- "node": ">=16.10.0 <17.0.0"
81
- }
78
+ "license": "MIT"
82
79
  }
@@ -1,96 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-ee36ffa1.js');
6
-
7
- const dropdownCss = ":root,.tds-mode-light{--tds-link-text-decoration:none;--tds-dropdown-color:var(--tds-grey-958);--tds-dropdown-background:var(--tds-grey-50);--tds-dropdown-background-hover:var(--tds-grey-100);--tds-dropdown-disabled:var(--tds-grey-400);--tds-dropdown-border:var(--tds-grey-100);--tds-dropdown-label-inside:var(--tds-grey-700);--tds-dropdown-label-outside:var(--tds-grey-958);--tds-dropdown-placeholder:var(--tds-grey-700);--tds-dropdown-border-not-focused:var(--tds-grey-600);--tds-dropdown-option-color:var(--tds-grey-900);--tds-dropdown-option-disabled-color:var(--tds-grey-400);--tds-dropdown-background-disabled:var(--tds-dropdown-background)}:root .tds-mode-variant-primary,.tds-mode-light .tds-mode-variant-primary{--tds-dropdown-background:var(--tds-grey-50);--tds-dropdown-background-hover:var(--tds-grey-100)}:root .tds-mode-variant-secondary,.tds-mode-light .tds-mode-variant-secondary{--tds-dropdown-background:var(--tds-white);--tds-dropdown-background-hover:var(--tds-grey-50)}.tds-mode-dark{--tds-link-text-decoration:none;--tds-dropdown-color:var(--tds-grey-400);--tds-dropdown-background:var(--tds-grey-868);--tds-dropdown-background-hover:var(--tds-grey-800);--tds-dropdown-disabled:var(--tds-grey-800);--tds-dropdown-border:var(--tds-grey-800);--tds-dropdown-label-inside:var(--tds-grey-400);--tds-dropdown-label-outside:var(--tds-grey-100);--tds-dropdown-placeholder:var(--tds-grey-400);--tds-dropdown-border-not-focused:var(--tds-grey-600);--tds-dropdown-option-color:var(--tds-grey-50);--tds-dropdown-option-disabled-color:var(--tds-grey-800);--tds-dropdown-background-disabled:var(--tds-dropdown-background)}.tds-mode-dark .tds-mode-variant-primary{--tds-dropdown-background:var(--tds-grey-868);--tds-dropdown-background-hover:var(--tds-grey-800)}.tds-mode-dark .tds-mode-variant-secondary{--tds-dropdown-background:var(--tds-grey-900);--tds-dropdown-background-hover:var(--tds-grey-800)}.tds-dropdown-helper{font:var(--tds-detail-ex-05);letter-spacing:var(--tds-detail-ex-05-ls);color:var(--tds-grey-700);margin-top:var(--tds-spacing-element-4);display:flex}.tds-dropdown-helper .tds-dropdown-error-icon{width:16px;height:16px;padding-right:9px;display:none}.tds-dropdown-label-inside{font:var(--tds-detail-ex-07);letter-spacing:var(--tds-detail-ex-07-ls);color:var(--tds-dropdown-label-inside)}.tds-dropdown-label-outside{font:var(--tds-detail-ex-05);letter-spacing:var(--tds-detail-ex-05-ls);display:block;color:var(--tds-dropdown-label-outside);margin-bottom:var(--tds-spacing-element-8)}:host,::slotted(*){color:var(--tds-grey-958);box-sizing:border-box;box-sizing:border-box}:host *,::slotted(*) *{box-sizing:border-box}:host,::slotted(*){font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-grey-958);box-sizing:border-box}:host .tds-dropdown-label-outside,::slotted(*) .tds-dropdown-label-outside{color:var(--tds-dropdown-label-outside);text-decoration:none}:host{position:relative;z-index:auto}:host::part(dropdown-filter-disabled){cursor:not-allowed;caret-color:transparent;pointer-events:none;color:var(--tds-dropdown-disabled);border:none}:host::part(dropdown-filter-disabled)::placeholder{color:var(--tds-dropdown-disabled)}.tds-dropdown{position:relative;display:flex;flex-flow:column wrap;width:100%;border:0}.tds-dropdown,.tds-dropdown *{box-sizing:border-box}.tds-dropdown .tds-dropdown-toggle{font:var(--tds-detail-ex-02);letter-spacing:var(--tds-detail-ex-02-ls);color:var(--tds-dropdown-color);display:flex;align-items:center;background-color:var(--tds-dropdown-background);cursor:pointer;transition:box-shadow 0.1s ease-in, border-bottom-color 150ms ease;border-radius:4px 4px 0 0;border:none;border-bottom:1px solid var(--tds-dropdown-border-not-focused);box-shadow:none;width:100%;text-align:left;outline:none;padding:20px 16px;display:flex;align-items:center}.tds-dropdown .tds-dropdown-toggle:hover{border-bottom-color:var(--tds-grey-600)}.tds-dropdown .tds-dropdown-toggle:focus::before{content:\" \";position:absolute;z-index:2;bottom:0;left:0;width:100%;border-bottom:2px solid var(--tds-blue-400)}.tds-dropdown .tds-dropdown-toggle:active,.tds-dropdown .tds-dropdown-toggle.active .tds-dropdown .tds-dropdown-toggle.selected{border-bottom-color:var(--tds-dropdown-border-not-focused)}.tds-dropdown .tds-dropdown-toggle.is-filter{transition:border 0.1s ease-in 0.1s;cursor:text}.tds-dropdown .tds-dropdown-toggle-lg{padding:20px 16px}.tds-dropdown .tds-dropdown-toggle-md{padding:16px}.tds-dropdown .tds-dropdown-toggle-sm{padding:12px 16px}.tds-dropdown .tds-dropdown-toggle.tds-dropdown-toggle-label-inside-lg{padding:20px 16px 16px}.tds-dropdown .tds-dropdown-toggle.tds-dropdown-toggle-label-inside-md{padding:16px 16px 12px}.tds-dropdown .tds-dropdown-toggle--selected:not(:focus){border-bottom:1px solid var(--tds-dropdown-border-not-focused)}.tds-dropdown .tds-dropdown-arrow{width:20px;position:absolute;right:16px;color:inherit;transform:rotate(0);transition:transform ease 250ms}.tds-dropdown .tds-dropdown-placeholder{color:var(--tds-grey-700)}.tds-dropdown .tds-dropdown-label{display:grid;width:calc(100% - 25px)}.tds-dropdown .tds-dropdown-label-container{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tds-dropdown.tds-dropdown.tds-dropdown-sm .tds-dropdown-label-container--label-inside{padding-bottom:12px}.tds-dropdown .tds-dropdown-filter{border:0;outline:none;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-dropdown-link);width:100%;background:transparent}.tds-dropdown .tds-dropdown-filter:focus{outline:none}.tds-dropdown .tds-dropdown-filter::placeholder{color:var(--tds-grey-700);opacity:1}.tds-dropdown .tds-dropdown-menu{z-index:100;background-color:var(--tds-dropdown-background);position:absolute;top:100%;left:0;min-width:100%;max-height:360px;border-color:transparent;border-style:solid;border-width:0 1px 1px;box-shadow:0 2px 3px 0 rgba(0, 0, 0, 0.1);border-left-color:var(--tds-dropdown-border);border-right-color:var(--tds-dropdown-border);overflow-x:hidden;overflow-y:auto;transform:scaleY(0);transform-origin:top;transition:transform 250ms ease}.tds-dropdown .tds-dropdown-menu::-webkit-scrollbar{width:4px;background-color:inherit}.tds-dropdown .tds-dropdown-menu::-webkit-scrollbar-thumb{background-color:var(--tds-grey-300)}.tds-dropdown .tds-dropdown-menu ::-webkit-scrollbar-button{height:0;width:0}.tds-dropdown.tds-dropdown-lg .tds-dropdown-toggle{height:56px}.tds-dropdown.tds-dropdown-md .tds-dropdown-toggle{height:48px}.tds-dropdown.tds-dropdown-sm .tds-dropdown-toggle{height:40px}:host(.tds-dropdown--open-upwards) .tds-dropdown .tds-dropdown-menu{top:auto;bottom:100%;box-shadow:0 -1px 3px 0 rgba(0, 0, 0, 0.1);transform-origin:bottom}:host(.tds-dropdown--open-upwards[label-position=outside]) span.tds-dropdown-menu{bottom:calc(100% - 24px)}:host([disabled=true]){cursor:not-allowed}:host([disabled=true]) .tds-dropdown .tds-dropdown-toggle{pointer-events:none;color:var(--tds-dropdown-option-disabled-color);border:none;padding:0 16px}:host([disabled=true]) .tds-dropdown .tds-dropdown-toggle .tds-dropdown-placeholder{color:var(--tds-dropdown-placeholder)}:host([disabled=true]) .tds-dropdown .tds-dropdown-toggle .tds-dropdown-label-inside{color:var(--tds-dropdown-label-inside)}:host([disabled=true]) .tds-dropdown .tds-dropdown-toggle:focus::before{content:none}:host(.tds-dropdown--error) .tds-dropdown .tds-dropdown-toggle{border-color:var(--tds-negative)}:host(.tds-dropdown--error) .tds-dropdown .tds-dropdown-toggle:focus::before{border-color:var(--tds-negative)}:host(.tds-dropdown--error) .tds-dropdown-helper{color:var(--tds-negative)}:host(.tds-dropdown--error) .tds-dropdown-helper .tds-dropdown-error-icon{display:flex}:host ::slotted(tds-dropdown-option){display:flex;padding:var(--tds-spacing-element-16);background-color:var(--tds-dropdown-background);border-top:1px solid transparent;border-bottom:1px solid var(--tds-dropdown-border);opacity:0;visibility:hidden;cursor:pointer;box-sizing:border-box;color:var(--tds-dropdown-option-color)}:host ::slotted(tds-dropdown-option:last-child){border-bottom-color:transparent;border-bottom-left-radius:4px;border-bottom-right-radius:4px}:host ::slotted(tds-dropdown-option:hover),:host ::slotted(tds-dropdown-option:focus){background-color:var(--tds-dropdown-background-hover)}:host ::slotted(tds-dropdown-option:hover:not(:focus):not(tds-dropdown-option.selected)){background-color:var(--tds-dropdown-background-hover)}:host ::slotted(tds-dropdown-option:hover:focus){outline:none}:host ::slotted(tds-dropdown-option:focus){outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host ::slotted(tds-dropdown-option.tds-dropdown--selected),:host ::slotted(tds-dropdown-option.selected),:host ::slotted(tds-dropdown-option.active),:host ::slotted(tds-dropdown-option:active){background-color:var(--tds-dropdown-background-hover);border-top:1px solid var(--tds-dropdown-border);border-bottom:1px solid var(--tds-dropdown-border)}:host ::slotted(tds-dropdown-option.tds-option--no-result){cursor:not-allowed;pointer-events:none}:host ::slotted(tds-dropdown-option.tds-dropdown-option-disabled),:host ::slotted(tds-dropdown-option.selected.tds-dropdown-option-disabled){cursor:not-allowed;color:var(--tds-dropdown-option-disabled-color);background-color:var(--tds-dropdown-background-disabled)}:host(.tds-dropdown--open-upwards) ::slotted(tds-dropdown-option:first-child){border-radius:4px 4px 0 0}:host(.tds-dropdown--open-upwards) ::slotted(tds-dropdown-option:last-child){border-radius:0;border-bottom:1px solid var(--tds-dropdown-border)}.tds-option-label{margin:auto 0;display:flex;align-content:center;text-decoration:none;flex-grow:2}.tds-option-checkmark{color:inherit;opacity:0;transition:opacity 0.1s cubic-bezier(0.075, 0.82, 0.165, 1);margin-left:var(--tds-spacing-element-16)}.tds-option-checkmark path{color:var(--tds-dropdown-option-color)}:host([size=sm]) ::slotted(tds-dropdown-option){padding:var(--tds-spacing-element-12) var(--tds-spacing-element-16)}:host(.tds-dropdown--open) .tds-dropdown .tds-dropdown-toggle{box-shadow:0 -1px 3px -1px rgba(0, 0, 0, 0.1);border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.tds-dropdown--open) .tds-dropdown .tds-dropdown-toggle.is-filter::before{content:\" \";position:absolute;z-index:2;bottom:0;left:0;width:100%;border-bottom:1px solid var(--tds-blue-400)}:host(.tds-dropdown--open) .tds-dropdown .tds-dropdown-arrow{transform:rotate(180deg)}:host(.tds-dropdown--open) .tds-dropdown .tds-dropdown-menu{transform:scaleY(1)}:host(.tds-dropdown--open) ::slotted(tds-dropdown-option){visibility:visible;opacity:1}:host(.selected) .tds-option-checkmark{opacity:1}.tds-dropdown-label-inside{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);color:var(--tds-dropdown-label-inside);position:absolute;transition:transform 250ms ease, color 200ms ease;width:calc(100% - 63px);overflow:hidden;text-overflow:ellipsis;transform:translate(0, -10px);font-size:10px}.tds-dropdown-label-container.tds-dropdown-label-container--label-inside .tds-dropdown-placeholder{display:block;padding-top:4px}.tds-dropdown-lg .tds-dropdown-label-inside{display:block;top:16px}.tds-dropdown-md .tds-dropdown-label-inside{display:block;top:12px}.tds-dropdown.tds-dropdown-sm .tds-dropdown-label-inside{display:none}.tds-dropdown-multiselect-result{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tds-option-checkbox{margin-right:8px}.tds-form-label{display:flex}";
8
-
9
- const TdsDropdownFilter = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.dataOptions = [];
13
- this.filteredContent = [];
14
- this.searchTerm = '';
15
- this.selectedOptionState = undefined;
16
- this.dropdownRef = undefined;
17
- this.modeVariant = null;
18
- this.placeholder = '';
19
- this.label = undefined;
20
- this.defaultOption = undefined;
21
- this.openDirection = 'auto';
22
- this.selectedOption = undefined;
23
- this.disabled = false;
24
- this.size = 'lg';
25
- this.inline = false;
26
- this.labelPosition = 'no-label';
27
- this.state = false;
28
- this.helper = '';
29
- this.data = undefined;
30
- this.selectedLabel = 'no-selected';
31
- this.selectedValue = 'no-selected';
32
- }
33
- componentWillLoad() {
34
- this.parseData(this.data);
35
- if (this.defaultOption) {
36
- this.selectedOptionState = this.defaultOption;
37
- }
38
- }
39
- parseData(newValue) {
40
- if (newValue)
41
- this.dataOptions = JSON.parse(newValue);
42
- this.filteredContent = this.dataOptions;
43
- }
44
- updateOptionsContent(event) {
45
- this.searchTerm = event.detail;
46
- this.findData();
47
- }
48
- selectOptionHandler(event) {
49
- this.selectedOptionState = event.detail.value;
50
- this.selectedLabel = event.detail.label;
51
- this.selectedValue = event.detail.value;
52
- // Reset list when search is done and the user has selected one option
53
- // To match with animation time for an option list to fadeout first
54
- setTimeout(() => {
55
- this.filteredContent = this.dataOptions;
56
- }, 200);
57
- }
58
- findData() {
59
- const searchAsRegEx = new RegExp(this.searchTerm, 'gmi');
60
- this.filteredContent = this.dataOptions.filter((option) => {
61
- if (option.label) {
62
- const listItem = option.label.toLowerCase();
63
- const searchResultList = listItem.match(searchAsRegEx);
64
- if (searchResultList) {
65
- return searchResultList;
66
- }
67
- this.selectedOptionState = null;
68
- this.selectedLabel = 'no-result';
69
- this.selectedValue = 'no-result';
70
- }
71
- });
72
- }
73
- setOptionsContent() {
74
- const newList = this.filteredContent.map((obj) => (index.h("tds-dropdown-option", { tabindex: "0", value: obj.value, class: `${this.selectedOptionState === obj.value ? 'selected' : ''}` }, obj.label)));
75
- if (newList.length > 0) {
76
- return newList;
77
- }
78
- return (index.h("tds-dropdown-option", { tabindex: "-1", value: "no-result", class: "tds-option--no-result" }, "No result"));
79
- }
80
- /** Use this method to reset the Dropdown. Then it will go back to its initial state. */
81
- async resetOption() {
82
- var _a;
83
- await ((_a = this.dropdownRef) === null || _a === void 0 ? void 0 : _a.resetOption());
84
- }
85
- render() {
86
- return (index.h(index.Host, { "selected-value": this.selectedValue, "selected-text": this.selectedLabel, class: `
87
- ${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}
88
- ` }, index.h("tds-dropdown", { ref: (el) => (this.dropdownRef = el), exportparts: "dropdown-filter-disabled", size: this.size, label: this.label, disabled: this.disabled, labelPosition: this.labelPosition, helper: this.helper, state: this.state, placeholder: this.placeholder, defaultOption: this.defaultOption, selectedOption: this.selectedOption, type: "filter", tabindex: this.disabled ? '-1' : null, openDirection: this.openDirection }, this.setOptionsContent())));
89
- }
90
- static get watchers() { return {
91
- "data": ["parseData"]
92
- }; }
93
- };
94
- TdsDropdownFilter.style = dropdownCss;
95
-
96
- exports.tds_dropdown_filter = TdsDropdownFilter;