@otto-de/b2b-core-components 1.9.0-beta.2 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/dist/b2b-core-components/b2b-core-components.css +1 -1
  2. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  3. package/dist/b2b-core-components/icons/b2b_icon-ellipsis.svg +2 -2
  4. package/dist/b2b-core-components/icons/b2b_icon-trend-left.svg +12 -0
  5. package/dist/b2b-core-components/icons/b2b_icon-trend-right.svg +12 -0
  6. package/dist/b2b-core-components/p-13fa3a4b.entry.js +1 -0
  7. package/dist/b2b-core-components/p-14877996.entry.js +1 -0
  8. package/dist/b2b-core-components/p-14ddd82d.entry.js +1 -0
  9. package/dist/b2b-core-components/p-1c910821.entry.js +1 -0
  10. package/dist/b2b-core-components/p-234c9f55.entry.js +1 -0
  11. package/dist/b2b-core-components/p-248aecd5.entry.js +1 -0
  12. package/dist/b2b-core-components/p-2ba2b197.entry.js +1 -0
  13. package/dist/b2b-core-components/p-2da63e79.entry.js +1 -0
  14. package/dist/b2b-core-components/{p-a4c859d6.entry.js → p-2f9dfb71.entry.js} +1 -1
  15. package/dist/b2b-core-components/p-32baa768.entry.js +1 -0
  16. package/dist/b2b-core-components/p-3770da05.entry.js +1 -0
  17. package/dist/b2b-core-components/{p-d92add70.entry.js → p-3819c303.entry.js} +1 -1
  18. package/dist/b2b-core-components/p-4442a592.entry.js +1 -0
  19. package/dist/b2b-core-components/p-4667ced4.entry.js +1 -0
  20. package/dist/b2b-core-components/p-4835ee48.entry.js +1 -0
  21. package/dist/b2b-core-components/{p-6463d394.entry.js → p-5cce2644.entry.js} +1 -1
  22. package/dist/b2b-core-components/p-5e0def0d.entry.js +1 -0
  23. package/dist/b2b-core-components/p-6855efb8.entry.js +1 -0
  24. package/dist/b2b-core-components/p-699c3c91.js +1 -0
  25. package/dist/b2b-core-components/{p-75cff1be.entry.js → p-6a6d2b46.entry.js} +1 -1
  26. package/dist/b2b-core-components/p-6e7aff80.entry.js +1 -0
  27. package/dist/b2b-core-components/{p-024220fb.entry.js → p-6f18a232.entry.js} +1 -1
  28. package/dist/b2b-core-components/p-6f991dbb.entry.js +1 -0
  29. package/dist/b2b-core-components/p-753858f9.entry.js +1 -0
  30. package/dist/b2b-core-components/p-7a1a5afc.entry.js +1 -0
  31. package/dist/b2b-core-components/p-7cc4b76a.entry.js +1 -0
  32. package/dist/b2b-core-components/p-7d0a8bb5.entry.js +1 -0
  33. package/dist/b2b-core-components/p-808eb548.entry.js +1 -0
  34. package/dist/b2b-core-components/{p-5c18c291.js → p-844e306b.js} +2 -2
  35. package/dist/b2b-core-components/{p-af7e9d0b.entry.js → p-8e3fb1f8.entry.js} +1 -1
  36. package/dist/b2b-core-components/p-98d0d2ff.js +1 -0
  37. package/dist/b2b-core-components/p-a1313d78.entry.js +1 -0
  38. package/dist/b2b-core-components/p-acd597e0.entry.js +1 -0
  39. package/dist/b2b-core-components/p-b27d0a36.entry.js +1 -0
  40. package/dist/b2b-core-components/p-b315985b.entry.js +1 -0
  41. package/dist/b2b-core-components/p-b36f0e3b.entry.js +1 -0
  42. package/dist/b2b-core-components/p-b74ef511.entry.js +1 -0
  43. package/dist/b2b-core-components/p-b82636f4.entry.js +1 -0
  44. package/dist/b2b-core-components/p-bf601862.entry.js +1 -0
  45. package/dist/b2b-core-components/{p-a635b768.entry.js → p-bf7a6f93.entry.js} +1 -1
  46. package/dist/b2b-core-components/p-c812257d.entry.js +1 -0
  47. package/dist/b2b-core-components/p-d5f6f1ec.entry.js +1 -0
  48. package/dist/b2b-core-components/p-dd0771f1.entry.js +1 -0
  49. package/dist/b2b-core-components/p-dfce95eb.entry.js +1 -0
  50. package/dist/b2b-core-components/{p-2b0b7edf.entry.js → p-dff862c4.entry.js} +1 -1
  51. package/dist/b2b-core-components/p-e10d8020.entry.js +1 -0
  52. package/dist/b2b-core-components/p-e3b360a8.entry.js +1 -0
  53. package/dist/b2b-core-components/p-f2da9141.entry.js +1 -0
  54. package/dist/b2b-core-components/p-fcd25ead.entry.js +1 -0
  55. package/dist/cjs/b2b-alert.cjs.entry.js +2 -2
  56. package/dist/cjs/b2b-anchor.cjs.entry.js +4 -4
  57. package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +2 -2
  58. package/dist/cjs/b2b-breadcrumb.cjs.entry.js +2 -2
  59. package/dist/cjs/b2b-button_2.cjs.entry.js +5 -3
  60. package/dist/cjs/b2b-card.cjs.entry.js +2 -2
  61. package/dist/cjs/b2b-checkbox-group.cjs.entry.js +2 -2
  62. package/dist/cjs/b2b-checkbox.cjs.entry.js +93 -0
  63. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +73 -0
  64. package/dist/cjs/b2b-core-components.cjs.js +2 -2
  65. package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
  66. package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
  67. package/dist/cjs/b2b-grid-row.cjs.entry.js +1 -1
  68. package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
  69. package/dist/cjs/b2b-headline.cjs.entry.js +2 -2
  70. package/dist/cjs/b2b-icon.cjs.entry.js +4 -2
  71. package/dist/cjs/b2b-input-group_2.cjs.entry.js +4 -4
  72. package/dist/cjs/b2b-input-label.cjs.entry.js +1 -1
  73. package/dist/cjs/b2b-input_2.cjs.entry.js +3 -3
  74. package/dist/cjs/b2b-label.cjs.entry.js +2 -2
  75. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  76. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +166 -0
  77. package/dist/cjs/b2b-pagination.cjs.entry.js +2 -2
  78. package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
  79. package/dist/cjs/b2b-progress-bar.cjs.entry.js +42 -0
  80. package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
  81. package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
  82. package/dist/cjs/b2b-required-separator.cjs.entry.js +2 -2
  83. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +2 -2
  84. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +2 -2
  85. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  86. package/dist/cjs/b2b-separator.cjs.entry.js +2 -2
  87. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  88. package/dist/cjs/b2b-tab-panel.cjs.entry.js +2 -2
  89. package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
  90. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +157 -0
  91. package/dist/cjs/b2b-table-row.cjs.entry.js +23 -24
  92. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +44 -41
  93. package/dist/cjs/b2b-table.cjs.entry.js +32 -11
  94. package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
  95. package/dist/cjs/b2b-toggle-button.cjs.entry.js +2 -2
  96. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +59 -0
  97. package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
  98. package/dist/cjs/b2b-tooltip.cjs.entry.js +2 -2
  99. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +2 -2
  100. package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
  101. package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
  102. package/dist/cjs/{index-ceb9958a.js → index-8ed011c3.js} +25 -6
  103. package/dist/cjs/loader.cjs.js +2 -2
  104. package/dist/cjs/{table.types-679aefd5.js → table.types-d3ab0872.js} +1 -0
  105. package/dist/cjs/utils-3b16cd5d.js +40 -0
  106. package/dist/collection/collection-manifest.json +4 -0
  107. package/dist/collection/components/alert/alert.css +6 -4
  108. package/dist/collection/components/anchor/anchor.css +18 -8
  109. package/dist/collection/components/anchor/anchor.js +3 -3
  110. package/dist/collection/components/breadcrumb/breadcrumb.css +6 -4
  111. package/dist/collection/components/button/button.css +32 -4
  112. package/dist/collection/components/button/button.js +20 -0
  113. package/dist/collection/components/button/button.stories.js +18 -0
  114. package/dist/collection/components/card/card.css +6 -4
  115. package/dist/collection/components/checkbox/checkbox.css +6 -4
  116. package/dist/collection/components/checkbox-group/checkbox-group.css +6 -4
  117. package/dist/collection/components/chip/chip.css +10 -6
  118. package/dist/collection/components/chip/chip.js +8 -1
  119. package/dist/collection/components/chip/chip.stories.js +0 -1
  120. package/dist/collection/components/dropdown/dropdown.css +6 -4
  121. package/dist/collection/components/headline/headline.css +6 -4
  122. package/dist/collection/components/icon/icon.css +6 -4
  123. package/dist/collection/components/icon/icon.js +1 -1
  124. package/dist/collection/components/icon/icons/b2b_icon-ellipsis.svg +2 -2
  125. package/dist/collection/components/icon/icons/b2b_icon-trend-left.svg +12 -0
  126. package/dist/collection/components/icon/icons/b2b_icon-trend-right.svg +12 -0
  127. package/dist/collection/components/icon/types.js +2 -0
  128. package/dist/collection/components/input/input.css +6 -4
  129. package/dist/collection/components/input-group/input-group.css +6 -4
  130. package/dist/collection/components/input-list/input-list.css +6 -4
  131. package/dist/collection/components/input-list/input-list.e2e.js +15 -1
  132. package/dist/collection/components/input-list/input-list.js +1 -1
  133. package/dist/collection/components/input-list/input-list.stories.js +31 -3
  134. package/dist/collection/components/label/label.css +6 -4
  135. package/dist/collection/components/modal/modal.css +6 -4
  136. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +293 -0
  137. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.e2e.js +101 -0
  138. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +304 -0
  139. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +46 -0
  140. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +10 -0
  141. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +115 -0
  142. package/dist/collection/components/pagination/pagination.css +6 -4
  143. package/dist/collection/components/paragraph/paragraph.css +6 -4
  144. package/dist/collection/components/progress-bar/progress-bar.css +266 -0
  145. package/dist/collection/components/progress-bar/progress-bar.e2e.js +43 -0
  146. package/dist/collection/components/progress-bar/progress-bar.js +117 -0
  147. package/dist/collection/components/progress-bar/progress-bar.stories.js +54 -0
  148. package/dist/collection/components/radio/radio.css +6 -4
  149. package/dist/collection/components/radio-group/radio-group.css +6 -4
  150. package/dist/collection/components/required-separator/required-separator.css +6 -4
  151. package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
  152. package/dist/collection/components/scrollable-container/scrollable-container.css +6 -4
  153. package/dist/collection/components/separator/separator.css +6 -4
  154. package/dist/collection/components/spinner/spinner.css +6 -4
  155. package/dist/collection/components/tab/tab.css +6 -4
  156. package/dist/collection/components/tab-panel/tab-panel.css +6 -4
  157. package/dist/collection/components/table/stories.data.js +0 -1
  158. package/dist/collection/components/table/table-cell/table-cell.css +14 -7
  159. package/dist/collection/components/table/table-cell/table-cell.js +52 -4
  160. package/dist/collection/components/table/table-header/table-header.css +12 -18
  161. package/dist/collection/components/table/table-header/table-header.js +94 -15
  162. package/dist/collection/components/table/table-row/table-row.css +17 -9
  163. package/dist/collection/components/table/table-row/table-row.js +47 -22
  164. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +15 -4
  165. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +75 -11
  166. package/dist/collection/components/table/table.css +12 -7
  167. package/dist/collection/components/table/table.e2e.js +31 -5
  168. package/dist/collection/components/table/table.js +31 -10
  169. package/dist/collection/components/table/table.stories.js +52 -17
  170. package/dist/collection/components/table/utils.js +14 -0
  171. package/dist/collection/components/textarea/textarea.css +6 -4
  172. package/dist/collection/components/toggle-button/toggle-button.css +6 -4
  173. package/dist/collection/components/toggle-chip/toggle-chip.css +273 -0
  174. package/dist/collection/components/toggle-chip/toggle-chip.e2e.js +47 -0
  175. package/dist/collection/components/toggle-chip/toggle-chip.js +192 -0
  176. package/dist/collection/components/toggle-group/toggle-group.css +6 -4
  177. package/dist/collection/components/tooltip/tooltip.css +6 -4
  178. package/dist/collection/components/wizard/wizard.css +6 -4
  179. package/dist/collection/components/wizard-icon/wizard-icon.css +6 -4
  180. package/dist/collection/utils/types/table.types.js +1 -0
  181. package/dist/components/b2b-alert.js +1 -1
  182. package/dist/components/b2b-anchor.js +4 -4
  183. package/dist/components/b2b-breadcrumb-item.js +1 -1
  184. package/dist/components/b2b-breadcrumb.js +1 -1
  185. package/dist/components/b2b-card.js +1 -1
  186. package/dist/components/b2b-checkbox-group.js +1 -1
  187. package/dist/components/b2b-chip-component.js +1 -54
  188. package/dist/components/b2b-dropdown.js +1 -1
  189. package/dist/components/b2b-label.js +1 -1
  190. package/dist/components/b2b-modal.js +1 -1
  191. package/dist/components/b2b-multiselect-dropdown.d.ts +11 -0
  192. package/dist/components/b2b-multiselect-dropdown.js +225 -0
  193. package/dist/components/b2b-multiselect-option.d.ts +11 -0
  194. package/dist/components/b2b-multiselect-option.js +6 -0
  195. package/dist/components/b2b-pagination.js +1 -1
  196. package/dist/components/b2b-paragraph.js +1 -1
  197. package/dist/components/b2b-progress-bar.d.ts +11 -0
  198. package/dist/components/b2b-progress-bar.js +61 -0
  199. package/dist/components/b2b-radio-button.js +1 -1
  200. package/dist/components/b2b-radio-group.js +1 -1
  201. package/dist/components/b2b-required-separator.js +1 -1
  202. package/dist/components/b2b-scrollable-container.js +1 -1
  203. package/dist/components/b2b-tab-panel.js +1 -1
  204. package/dist/components/b2b-tab.js +1 -1
  205. package/dist/components/b2b-table-row.js +23 -23
  206. package/dist/components/b2b-table-rowgroup.js +34 -31
  207. package/dist/components/b2b-table.js +30 -10
  208. package/dist/components/b2b-textarea.js +1 -1
  209. package/dist/components/b2b-toggle-button.js +1 -1
  210. package/dist/components/b2b-toggle-chip.d.ts +11 -0
  211. package/dist/components/b2b-toggle-chip.js +80 -0
  212. package/dist/components/b2b-toggle-group.js +1 -1
  213. package/dist/components/b2b-tooltip.js +1 -1
  214. package/dist/components/b2b-wizard-step.js +1 -1
  215. package/dist/components/b2b-wizard.js +1 -1
  216. package/dist/components/button.js +4 -1
  217. package/dist/components/checkbox.js +1 -1
  218. package/dist/components/chip.js +63 -0
  219. package/dist/components/headline.js +1 -1
  220. package/dist/components/icon.js +3 -1
  221. package/dist/components/input-group.js +1 -1
  222. package/dist/components/input-list-option.js +1 -1
  223. package/dist/components/input-list.js +2 -2
  224. package/dist/components/input.js +1 -1
  225. package/dist/components/multiselect-option.js +58 -0
  226. package/dist/components/rounded-icon.js +1 -1
  227. package/dist/components/separator.js +1 -1
  228. package/dist/components/spinner.js +1 -1
  229. package/dist/components/table-cell.js +12 -3
  230. package/dist/components/table-header.js +31 -14
  231. package/dist/components/utils.js +70 -0
  232. package/dist/components/wizard-icon.js +1 -1
  233. package/dist/custom-elements.json +181 -14
  234. package/dist/esm/b2b-alert.entry.js +2 -2
  235. package/dist/esm/b2b-anchor.entry.js +4 -4
  236. package/dist/esm/b2b-breadcrumb-item.entry.js +2 -2
  237. package/dist/esm/b2b-breadcrumb.entry.js +2 -2
  238. package/dist/esm/b2b-button_2.entry.js +5 -3
  239. package/dist/esm/b2b-card.entry.js +2 -2
  240. package/dist/esm/b2b-checkbox-group.entry.js +2 -2
  241. package/dist/esm/b2b-checkbox.entry.js +89 -0
  242. package/dist/esm/b2b-chip-component_2.entry.js +68 -0
  243. package/dist/esm/b2b-core-components.js +3 -3
  244. package/dist/esm/b2b-dropdown.entry.js +2 -2
  245. package/dist/esm/b2b-grid-col.entry.js +1 -1
  246. package/dist/esm/b2b-grid-row.entry.js +1 -1
  247. package/dist/esm/b2b-grid.entry.js +1 -1
  248. package/dist/esm/b2b-headline.entry.js +2 -2
  249. package/dist/esm/b2b-icon.entry.js +4 -2
  250. package/dist/esm/b2b-input-group_2.entry.js +4 -4
  251. package/dist/esm/b2b-input-label.entry.js +1 -1
  252. package/dist/esm/b2b-input_2.entry.js +3 -3
  253. package/dist/esm/b2b-label.entry.js +2 -2
  254. package/dist/esm/b2b-modal.entry.js +2 -2
  255. package/dist/esm/b2b-multiselect-dropdown.entry.js +162 -0
  256. package/dist/esm/b2b-pagination.entry.js +2 -2
  257. package/dist/esm/b2b-paragraph.entry.js +2 -2
  258. package/dist/esm/b2b-progress-bar.entry.js +38 -0
  259. package/dist/esm/b2b-radio-button.entry.js +2 -2
  260. package/dist/esm/b2b-radio-group.entry.js +2 -2
  261. package/dist/esm/b2b-required-separator.entry.js +2 -2
  262. package/dist/esm/b2b-rounded-icon.entry.js +2 -2
  263. package/dist/esm/b2b-scrollable-container.entry.js +2 -2
  264. package/dist/esm/b2b-search.entry.js +1 -1
  265. package/dist/esm/b2b-separator.entry.js +2 -2
  266. package/dist/esm/b2b-tab-group.entry.js +1 -1
  267. package/dist/esm/b2b-tab-panel.entry.js +2 -2
  268. package/dist/esm/b2b-tab.entry.js +2 -2
  269. package/dist/esm/b2b-table-cell_2.entry.js +152 -0
  270. package/dist/esm/b2b-table-row.entry.js +23 -24
  271. package/dist/esm/b2b-table-rowgroup.entry.js +33 -30
  272. package/dist/esm/b2b-table.entry.js +32 -11
  273. package/dist/esm/b2b-textarea.entry.js +2 -2
  274. package/dist/esm/b2b-toggle-button.entry.js +2 -2
  275. package/dist/esm/b2b-toggle-chip.entry.js +55 -0
  276. package/dist/esm/b2b-toggle-group.entry.js +2 -2
  277. package/dist/esm/b2b-tooltip.entry.js +2 -2
  278. package/dist/esm/b2b-wizard-icon.entry.js +2 -2
  279. package/dist/esm/b2b-wizard-step.entry.js +2 -2
  280. package/dist/esm/b2b-wizard.entry.js +2 -2
  281. package/dist/esm/{index-f0a4762b.js → index-1916a410.js} +25 -6
  282. package/dist/esm/loader.js +3 -3
  283. package/dist/{components/table.types.js → esm/table.types-aedae1a4.js} +1 -0
  284. package/dist/esm/utils-5221c150.js +34 -0
  285. package/dist/types/components/button/button.d.ts +2 -0
  286. package/dist/types/components/button/button.stories.d.ts +1 -0
  287. package/dist/types/components/chip/chip.d.ts +1 -0
  288. package/dist/types/components/icon/types.d.ts +1 -1
  289. package/dist/types/components/input-list/input-list.stories.d.ts +2 -1
  290. package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +43 -0
  291. package/dist/types/components/multiselect-dropdown/multiselect-dropdown.stories.d.ts +5 -0
  292. package/dist/types/components/multiselect-dropdown/multiselect-option/multiselect-option.d.ts +14 -0
  293. package/dist/types/components/progress-bar/progress-bar.d.ts +13 -0
  294. package/dist/types/components/progress-bar/progress-bar.stories.d.ts +9 -0
  295. package/dist/types/components/table/table-cell/table-cell.d.ts +6 -2
  296. package/dist/types/components/table/table-header/table-header.d.ts +14 -3
  297. package/dist/types/components/table/table-row/table-row.d.ts +5 -2
  298. package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +5 -2
  299. package/dist/types/components/table/table.d.ts +6 -0
  300. package/dist/types/components/table/table.stories.d.ts +2 -1
  301. package/dist/types/components/table/utils.d.ts +2 -0
  302. package/dist/types/components/toggle-chip/toggle-chip.d.ts +21 -0
  303. package/dist/types/components.d.ts +306 -15
  304. package/dist/types/utils/interfaces/form.interface.d.ts +5 -0
  305. package/dist/types/utils/interfaces/interaction.interface.d.ts +4 -0
  306. package/dist/types/utils/types/table.types.d.ts +1 -0
  307. package/dist/web-types.json +307 -14
  308. package/package.json +2 -2
  309. package/dist/b2b-core-components/p-0034d167.entry.js +0 -1
  310. package/dist/b2b-core-components/p-0354d337.entry.js +0 -1
  311. package/dist/b2b-core-components/p-068eb8ba.entry.js +0 -1
  312. package/dist/b2b-core-components/p-0f60ff5a.entry.js +0 -1
  313. package/dist/b2b-core-components/p-220d5f79.entry.js +0 -1
  314. package/dist/b2b-core-components/p-299d5c71.entry.js +0 -1
  315. package/dist/b2b-core-components/p-2ad195d3.entry.js +0 -1
  316. package/dist/b2b-core-components/p-340f01f8.entry.js +0 -1
  317. package/dist/b2b-core-components/p-381bd00a.entry.js +0 -1
  318. package/dist/b2b-core-components/p-39f965f2.entry.js +0 -1
  319. package/dist/b2b-core-components/p-46f1d12d.entry.js +0 -1
  320. package/dist/b2b-core-components/p-50633227.entry.js +0 -1
  321. package/dist/b2b-core-components/p-57a842ba.entry.js +0 -1
  322. package/dist/b2b-core-components/p-66048f63.entry.js +0 -1
  323. package/dist/b2b-core-components/p-6814fed4.entry.js +0 -1
  324. package/dist/b2b-core-components/p-71bcb908.entry.js +0 -1
  325. package/dist/b2b-core-components/p-7a1e9ef2.entry.js +0 -1
  326. package/dist/b2b-core-components/p-7d05e787.entry.js +0 -1
  327. package/dist/b2b-core-components/p-89dc58cc.entry.js +0 -1
  328. package/dist/b2b-core-components/p-8fb5f715.entry.js +0 -1
  329. package/dist/b2b-core-components/p-a4ba259c.entry.js +0 -1
  330. package/dist/b2b-core-components/p-a7d829d8.entry.js +0 -1
  331. package/dist/b2b-core-components/p-a8043eb7.entry.js +0 -1
  332. package/dist/b2b-core-components/p-a896e061.entry.js +0 -1
  333. package/dist/b2b-core-components/p-b1064afb.js +0 -1
  334. package/dist/b2b-core-components/p-c59bffbe.entry.js +0 -1
  335. package/dist/b2b-core-components/p-c93fc43f.entry.js +0 -1
  336. package/dist/b2b-core-components/p-cfd92648.entry.js +0 -1
  337. package/dist/b2b-core-components/p-da2823f1.entry.js +0 -1
  338. package/dist/b2b-core-components/p-e8d1236b.entry.js +0 -1
  339. package/dist/b2b-core-components/p-e9f3a7af.entry.js +0 -1
  340. package/dist/b2b-core-components/p-edbe9fc0.entry.js +0 -1
  341. package/dist/b2b-core-components/p-f1625da0.entry.js +0 -1
  342. package/dist/b2b-core-components/p-f6f7c598.entry.js +0 -1
  343. package/dist/b2b-core-components/p-ff36af9f.entry.js +0 -1
  344. package/dist/cjs/b2b-checkbox_3.cjs.entry.js +0 -222
  345. package/dist/cjs/b2b-chip-component.cjs.entry.js +0 -40
  346. package/dist/esm/b2b-checkbox_3.entry.js +0 -216
  347. package/dist/esm/b2b-chip-component.entry.js +0 -36
  348. package/dist/esm/table.types-c4d9046e.js +0 -36
@@ -1,2 +1,2 @@
1
- export declare const iconTypes: readonly ["b2b_icon-360-degree", "b2b_icon-advice", "b2b_icon-allergen-sulfur-dioxide-sulfite", "b2b_icon-almond", "b2b_icon-archive", "b2b_icon-armchair", "b2b_icon-arrow-down", "b2b_icon-arrow-graph", "b2b_icon-arrow-left", "b2b_icon-arrow-right", "b2b_icon-arrow-up", "b2b_icon-assembly", "b2b_icon-assortment", "b2b_icon-attachment", "b2b_icon-augmented-reality", "b2b_icon-autonomous-team", "b2b_icon-bank-details", "b2b_icon-bar-graph-ascending", "b2b_icon-bar-graph-axis", "b2b_icon-barley", "b2b_icon-basket-sale", "b2b_icon-basket", "b2b_icon-basketball", "b2b_icon-bikini", "b2b_icon-blogs", "b2b_icon-brandshop", "b2b_icon-brazil-nut", "b2b_icon-browser-click", "b2b_icon-browser-content", "b2b_icon-browser-psm", "b2b_icon-burger", "b2b_icon-bus", "b2b_icon-callback", "b2b_icon-camera", "b2b_icon-cashback", "b2b_icon-cashew-nut", "b2b_icon-catalogue", "b2b_icon-categories", "b2b_icon-celery", "b2b_icon-certificate", "b2b_icon-chair", "b2b_icon-chat", "b2b_icon-check-bold", "b2b_icon-check", "b2b_icon-chicken", "b2b_icon-city", "b2b_icon-clear", "b2b_icon-close-bold", "b2b_icon-close", "b2b_icon-code-management", "b2b_icon-contact-mail", "b2b_icon-copy", "b2b_icon-cow", "b2b_icon-crab", "b2b_icon-critique", "b2b_icon-curtain", "b2b_icon-cut-out", "b2b_icon-dashboard", "b2b_icon-deer", "b2b_icon-delete", "b2b_icon-delivery-24h", "b2b_icon-delivery-desired-date-selection", "b2b_icon-delivery-desired-date", "b2b_icon-delivery-express", "b2b_icon-delivery-flat", "b2b_icon-delivery-on-hangers", "b2b_icon-delivery-preferred-place", "b2b_icon-desktop-phone-ads-click", "b2b_icon-desktop-phone-ads", "b2b_icon-desktop-phone", "b2b_icon-desktop", "b2b_icon-devices-monitor-laptop-tablet", "b2b_icon-dish-feature-lactose-free", "b2b_icon-dislike", "b2b_icon-disposal", "b2b_icon-document-sign", "b2b_icon-downloads", "b2b_icon-dress", "b2b_icon-dungarees", "b2b_icon-duration", "b2b_icon-e-invoice", "b2b_icon-edit-pad", "b2b_icon-edit", "b2b_icon-egg", "b2b_icon-ellipsis", "b2b_icon-email-verification-confirmed-safe", "b2b_icon-email-verification-confirmed", "b2b_icon-email-verification-sent-safe", "b2b_icon-email-verification-sent", "b2b_icon-empty-hint", "b2b_icon-end-to-end", "b2b_icon-error-article-image", "b2b_icon-error-hint", "b2b_icon-error", "b2b_icon-euro", "b2b_icon-event", "b2b_icon-events", "b2b_icon-expand", "b2b_icon-faq", "b2b_icon-feedback", "b2b_icon-filter", "b2b_icon-fish", "b2b_icon-fitness", "b2b_icon-flag-chequered", "b2b_icon-flexible-work", "b2b_icon-flip", "b2b_icon-food-processor", "b2b_icon-fullscreen", "b2b_icon-gallery-view", "b2b_icon-gamepad", "b2b_icon-garlic", "b2b_icon-gender-intersex", "b2b_icon-globe", "b2b_icon-gluten", "b2b_icon-glutenfree", "b2b_icon-handshake", "b2b_icon-hashtag", "b2b_icon-hazelnut", "b2b_icon-hide", "b2b_icon-high-heels", "b2b_icon-home", "b2b_icon-info-small", "b2b_icon-info", "b2b_icon-inplace-zoom-reverse", "b2b_icon-inplace-zoom", "b2b_icon-insurance", "b2b_icon-kamut", "b2b_icon-laptop-os", "b2b_icon-laptop", "b2b_icon-leaving-page", "b2b_icon-light-bulb", "b2b_icon-like-fingers", "b2b_icon-like-product", "b2b_icon-like", "b2b_icon-line-graph", "b2b_icon-list-view", "b2b_icon-location", "b2b_icon-lupine", "b2b_icon-macadamia", "b2b_icon-material-samples", "b2b_icon-measurement", "b2b_icon-megaphone", "b2b_icon-menu", "b2b_icon-mic", "b2b_icon-milk", "b2b_icon-minus", "b2b_icon-module-operations", "b2b_icon-money-coins", "b2b_icon-money-document", "b2b_icon-money-plus", "b2b_icon-money-stack", "b2b_icon-money", "b2b_icon-move", "b2b_icon-mustard", "b2b_icon-nav", "b2b_icon-new", "b2b_icon-newsletter-sign-up", "b2b_icon-notification", "b2b_icon-nuts", "b2b_icon-oat", "b2b_icon-order-cancelled", "b2b_icon-order-delivered", "b2b_icon-order-form", "b2b_icon-order-management", "b2b_icon-order-misdirected", "b2b_icon-order-on-road", "b2b_icon-order-packed", "b2b_icon-order-payment", "b2b_icon-order-received", "b2b_icon-order-return", "b2b_icon-order-shipped", "b2b_icon-order-state-unknown", "b2b_icon-order-stored", "b2b_icon-order", "b2b_icon-otto-app", "b2b_icon-otto-campus", "b2b_icon-otto-company", "b2b_icon-otto-laptop", "b2b_icon-otto-logo", "b2b_icon-otto-up-points", "b2b_icon-otto-up", "b2b_icon-paper-plane", "b2b_icon-pause", "b2b_icon-payment-credit-card", "b2b_icon-payment-invoice", "b2b_icon-payment-pause", "b2b_icon-payment-plan-protection", "b2b_icon-payment-plan", "b2b_icon-pdf", "b2b_icon-peanut", "b2b_icon-pecan-nut", "b2b_icon-pending", "b2b_icon-person-access", "b2b_icon-person-callcenter", "b2b_icon-person-check", "b2b_icon-person-colleagues", "b2b_icon-person-community", "b2b_icon-person-development", "b2b_icon-person-female", "b2b_icon-person-info", "b2b_icon-person-male", "b2b_icon-person-rating", "b2b_icon-person-support", "b2b_icon-person-switch", "b2b_icon-person-workshop", "b2b_icon-person", "b2b_icon-phone-permission", "b2b_icon-phone", "b2b_icon-pig", "b2b_icon-pin", "b2b_icon-pinch-gesture", "b2b_icon-pinch", "b2b_icon-pistachio", "b2b_icon-plant", "b2b_icon-play-1", "b2b_icon-play", "b2b_icon-plus", "b2b_icon-price-alert", "b2b_icon-price-tag", "b2b_icon-print", "b2b_icon-puzzle", "b2b_icon-qr-code", "b2b_icon-question-hint", "b2b_icon-question", "b2b_icon-rating-empty", "b2b_icon-rating-filled", "b2b_icon-rating-half", "b2b_icon-rating-order", "b2b_icon-rating-payment", "b2b_icon-remote-work", "b2b_icon-repair", "b2b_icon-reply", "b2b_icon-retirement-provision", "b2b_icon-rocket", "b2b_icon-rye", "b2b_icon-sabbatical", "b2b_icon-sale", "b2b_icon-save", "b2b_icon-sea", "b2b_icon-search-enter", "b2b_icon-search", "b2b_icon-seo", "b2b_icon-service-info", "b2b_icon-sesame", "b2b_icon-settings", "b2b_icon-share-ios", "b2b_icon-share", "b2b_icon-sheep", "b2b_icon-shell", "b2b_icon-shirt", "b2b_icon-shopping-cart-euro", "b2b_icon-shopping-cart", "b2b_icon-show", "b2b_icon-smiley-angry", "b2b_icon-smiley-happy", "b2b_icon-smiley-negative", "b2b_icon-smiley-neutral", "b2b_icon-smiley-positive", "b2b_icon-sms-info", "b2b_icon-sneaker", "b2b_icon-sort-ascending", "b2b_icon-sort-descending", "b2b_icon-sort", "b2b_icon-soy", "b2b_icon-spelt", "b2b_icon-stationary", "b2b_icon-studies", "b2b_icon-success", "b2b_icon-sustainable-delivery", "b2b_icon-sustainable-energy-efficient", "b2b_icon-sustainable-production", "b2b_icon-sustainable-recycling", "b2b_icon-sustainable-resource", "b2b_icon-swipe-gesture", "b2b_icon-sync-device", "b2b_icon-t-shirt", "b2b_icon-tablet", "b2b_icon-tableware", "b2b_icon-target-group", "b2b_icon-teddy", "b2b_icon-test-result", "b2b_icon-town", "b2b_icon-trash", "b2b_icon-trend-down", "b2b_icon-trend-up", "b2b_icon-trousers", "b2b_icon-trusted", "b2b_icon-unpin", "b2b_icon-upload", "b2b_icon-user-management", "b2b_icon-vacation", "b2b_icon-variant-content", "b2b_icon-vegan", "b2b_icon-vegetarian", "b2b_icon-viewtoggle-tiles", "b2b_icon-village", "b2b_icon-volume-off", "b2b_icon-volume-on", "b2b_icon-voucher", "b2b_icon-walnut", "b2b_icon-warning-hint", "b2b_icon-warning", "b2b_icon-warranty", "b2b_icon-washing-machine", "b2b_icon-whatsapp", "b2b_icon-wheat", "b2b_icon-wifi", "b2b_icon-wishlist-active", "b2b_icon-wishlist", "b2b_icon-work-life", "b2b_icon-workshop", "b2b_icon-zoom-in", "b2b_icon-zoom-out", "b2b_logo-carrier-dhl", "b2b_logo-carrier-gls", "b2b_logo-carrier-hermes", "b2b_logo-carrier-ups"];
1
+ export declare const iconTypes: readonly ["b2b_icon-360-degree", "b2b_icon-advice", "b2b_icon-allergen-sulfur-dioxide-sulfite", "b2b_icon-almond", "b2b_icon-archive", "b2b_icon-armchair", "b2b_icon-arrow-down", "b2b_icon-arrow-graph", "b2b_icon-arrow-left", "b2b_icon-arrow-right", "b2b_icon-arrow-up", "b2b_icon-assembly", "b2b_icon-assortment", "b2b_icon-attachment", "b2b_icon-augmented-reality", "b2b_icon-autonomous-team", "b2b_icon-bank-details", "b2b_icon-bar-graph-ascending", "b2b_icon-bar-graph-axis", "b2b_icon-barley", "b2b_icon-basket-sale", "b2b_icon-basket", "b2b_icon-basketball", "b2b_icon-bikini", "b2b_icon-blogs", "b2b_icon-brandshop", "b2b_icon-brazil-nut", "b2b_icon-browser-click", "b2b_icon-browser-content", "b2b_icon-browser-psm", "b2b_icon-burger", "b2b_icon-bus", "b2b_icon-callback", "b2b_icon-camera", "b2b_icon-cashback", "b2b_icon-cashew-nut", "b2b_icon-catalogue", "b2b_icon-categories", "b2b_icon-celery", "b2b_icon-certificate", "b2b_icon-chair", "b2b_icon-chat", "b2b_icon-check-bold", "b2b_icon-check", "b2b_icon-chicken", "b2b_icon-city", "b2b_icon-clear", "b2b_icon-close-bold", "b2b_icon-close", "b2b_icon-code-management", "b2b_icon-contact-mail", "b2b_icon-copy", "b2b_icon-cow", "b2b_icon-crab", "b2b_icon-critique", "b2b_icon-curtain", "b2b_icon-cut-out", "b2b_icon-dashboard", "b2b_icon-deer", "b2b_icon-delete", "b2b_icon-delivery-24h", "b2b_icon-delivery-desired-date-selection", "b2b_icon-delivery-desired-date", "b2b_icon-delivery-express", "b2b_icon-delivery-flat", "b2b_icon-delivery-on-hangers", "b2b_icon-delivery-preferred-place", "b2b_icon-desktop-phone-ads-click", "b2b_icon-desktop-phone-ads", "b2b_icon-desktop-phone", "b2b_icon-desktop", "b2b_icon-devices-monitor-laptop-tablet", "b2b_icon-dish-feature-lactose-free", "b2b_icon-dislike", "b2b_icon-disposal", "b2b_icon-document-sign", "b2b_icon-downloads", "b2b_icon-dress", "b2b_icon-dungarees", "b2b_icon-duration", "b2b_icon-e-invoice", "b2b_icon-edit-pad", "b2b_icon-edit", "b2b_icon-egg", "b2b_icon-ellipsis", "b2b_icon-email-verification-confirmed-safe", "b2b_icon-email-verification-confirmed", "b2b_icon-email-verification-sent-safe", "b2b_icon-email-verification-sent", "b2b_icon-empty-hint", "b2b_icon-end-to-end", "b2b_icon-error-article-image", "b2b_icon-error-hint", "b2b_icon-error", "b2b_icon-euro", "b2b_icon-event", "b2b_icon-events", "b2b_icon-expand", "b2b_icon-faq", "b2b_icon-feedback", "b2b_icon-filter", "b2b_icon-fish", "b2b_icon-fitness", "b2b_icon-flag-chequered", "b2b_icon-flexible-work", "b2b_icon-flip", "b2b_icon-food-processor", "b2b_icon-fullscreen", "b2b_icon-gallery-view", "b2b_icon-gamepad", "b2b_icon-garlic", "b2b_icon-gender-intersex", "b2b_icon-globe", "b2b_icon-gluten", "b2b_icon-glutenfree", "b2b_icon-handshake", "b2b_icon-hashtag", "b2b_icon-hazelnut", "b2b_icon-hide", "b2b_icon-high-heels", "b2b_icon-home", "b2b_icon-info-small", "b2b_icon-info", "b2b_icon-inplace-zoom-reverse", "b2b_icon-inplace-zoom", "b2b_icon-insurance", "b2b_icon-kamut", "b2b_icon-laptop-os", "b2b_icon-laptop", "b2b_icon-leaving-page", "b2b_icon-light-bulb", "b2b_icon-like-fingers", "b2b_icon-like-product", "b2b_icon-like", "b2b_icon-line-graph", "b2b_icon-list-view", "b2b_icon-location", "b2b_icon-lupine", "b2b_icon-macadamia", "b2b_icon-material-samples", "b2b_icon-measurement", "b2b_icon-megaphone", "b2b_icon-menu", "b2b_icon-mic", "b2b_icon-milk", "b2b_icon-minus", "b2b_icon-module-operations", "b2b_icon-money-coins", "b2b_icon-money-document", "b2b_icon-money-plus", "b2b_icon-money-stack", "b2b_icon-money", "b2b_icon-move", "b2b_icon-mustard", "b2b_icon-nav", "b2b_icon-new", "b2b_icon-newsletter-sign-up", "b2b_icon-notification", "b2b_icon-nuts", "b2b_icon-oat", "b2b_icon-order-cancelled", "b2b_icon-order-delivered", "b2b_icon-order-form", "b2b_icon-order-management", "b2b_icon-order-misdirected", "b2b_icon-order-on-road", "b2b_icon-order-packed", "b2b_icon-order-payment", "b2b_icon-order-received", "b2b_icon-order-return", "b2b_icon-order-shipped", "b2b_icon-order-state-unknown", "b2b_icon-order-stored", "b2b_icon-order", "b2b_icon-otto-app", "b2b_icon-otto-campus", "b2b_icon-otto-company", "b2b_icon-otto-laptop", "b2b_icon-otto-logo", "b2b_icon-otto-up-points", "b2b_icon-otto-up", "b2b_icon-paper-plane", "b2b_icon-pause", "b2b_icon-payment-credit-card", "b2b_icon-payment-invoice", "b2b_icon-payment-pause", "b2b_icon-payment-plan-protection", "b2b_icon-payment-plan", "b2b_icon-pdf", "b2b_icon-peanut", "b2b_icon-pecan-nut", "b2b_icon-pending", "b2b_icon-person-access", "b2b_icon-person-callcenter", "b2b_icon-person-check", "b2b_icon-person-colleagues", "b2b_icon-person-community", "b2b_icon-person-development", "b2b_icon-person-female", "b2b_icon-person-info", "b2b_icon-person-male", "b2b_icon-person-rating", "b2b_icon-person-support", "b2b_icon-person-switch", "b2b_icon-person-workshop", "b2b_icon-person", "b2b_icon-phone-permission", "b2b_icon-phone", "b2b_icon-pig", "b2b_icon-pin", "b2b_icon-pinch-gesture", "b2b_icon-pinch", "b2b_icon-pistachio", "b2b_icon-plant", "b2b_icon-play-1", "b2b_icon-play", "b2b_icon-plus", "b2b_icon-price-alert", "b2b_icon-price-tag", "b2b_icon-print", "b2b_icon-puzzle", "b2b_icon-qr-code", "b2b_icon-question-hint", "b2b_icon-question", "b2b_icon-rating-empty", "b2b_icon-rating-filled", "b2b_icon-rating-half", "b2b_icon-rating-order", "b2b_icon-rating-payment", "b2b_icon-remote-work", "b2b_icon-repair", "b2b_icon-reply", "b2b_icon-retirement-provision", "b2b_icon-rocket", "b2b_icon-rye", "b2b_icon-sabbatical", "b2b_icon-sale", "b2b_icon-save", "b2b_icon-sea", "b2b_icon-search-enter", "b2b_icon-search", "b2b_icon-seo", "b2b_icon-service-info", "b2b_icon-sesame", "b2b_icon-settings", "b2b_icon-share-ios", "b2b_icon-share", "b2b_icon-sheep", "b2b_icon-shell", "b2b_icon-shirt", "b2b_icon-shopping-cart-euro", "b2b_icon-shopping-cart", "b2b_icon-show", "b2b_icon-smiley-angry", "b2b_icon-smiley-happy", "b2b_icon-smiley-negative", "b2b_icon-smiley-neutral", "b2b_icon-smiley-positive", "b2b_icon-sms-info", "b2b_icon-sneaker", "b2b_icon-sort-ascending", "b2b_icon-sort-descending", "b2b_icon-sort", "b2b_icon-soy", "b2b_icon-spelt", "b2b_icon-stationary", "b2b_icon-studies", "b2b_icon-success", "b2b_icon-sustainable-delivery", "b2b_icon-sustainable-energy-efficient", "b2b_icon-sustainable-production", "b2b_icon-sustainable-recycling", "b2b_icon-sustainable-resource", "b2b_icon-swipe-gesture", "b2b_icon-sync-device", "b2b_icon-t-shirt", "b2b_icon-tablet", "b2b_icon-tableware", "b2b_icon-target-group", "b2b_icon-teddy", "b2b_icon-test-result", "b2b_icon-town", "b2b_icon-trash", "b2b_icon-trend-down", "b2b_icon-trend-left", "b2b_icon-trend-right", "b2b_icon-trend-up", "b2b_icon-trousers", "b2b_icon-trusted", "b2b_icon-unpin", "b2b_icon-upload", "b2b_icon-user-management", "b2b_icon-vacation", "b2b_icon-variant-content", "b2b_icon-vegan", "b2b_icon-vegetarian", "b2b_icon-viewtoggle-tiles", "b2b_icon-village", "b2b_icon-volume-off", "b2b_icon-volume-on", "b2b_icon-voucher", "b2b_icon-walnut", "b2b_icon-warning-hint", "b2b_icon-warning", "b2b_icon-warranty", "b2b_icon-washing-machine", "b2b_icon-whatsapp", "b2b_icon-wheat", "b2b_icon-wifi", "b2b_icon-wishlist-active", "b2b_icon-wishlist", "b2b_icon-work-life", "b2b_icon-workshop", "b2b_icon-zoom-in", "b2b_icon-zoom-out", "b2b_logo-carrier-dhl", "b2b_logo-carrier-gls", "b2b_logo-carrier-hermes", "b2b_logo-carrier-ups"];
2
2
  export type IconName = typeof iconTypes[number];
@@ -4,5 +4,6 @@ export default meta;
4
4
  type Story = StoryObj;
5
5
  export declare const InputList: Story;
6
6
  export declare const Focused: Story;
7
- export declare const Disabled: Story;
8
7
  export declare const CustomList: Story;
8
+ export declare const DisabledWithoutSelectedOption: Story;
9
+ export declare const disabledWithSelectedOption: Story;
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class B2bMultiSelectDropdown {
3
+ hostElement: HTMLB2bMultiselectDropdownElement;
4
+ /** The input label. */
5
+ label: string;
6
+ /** The placeholder shown in the input field. */
7
+ placeholder: string;
8
+ /** The list of options passed into the search dropdown. Can be static or dynamic, i.e. updated when the b2b-search or b2b-input emitters fire. */
9
+ optionsList: string[];
10
+ /** The placeholder shown in the search bar. */
11
+ searchPlaceholder: string;
12
+ /** The string displayed as the select all label. */
13
+ selectAllLabel: string;
14
+ /** The maximum amount of chips visible. Adjust this depending on available size of the dropdown. */
15
+ maxOptionsVisible: number;
16
+ /** Emits when there is a change to the currently selected values. */
17
+ b2bChange: EventEmitter<string[]>;
18
+ selectedValues: any[];
19
+ currentList: string[];
20
+ value: string;
21
+ isElementFocused: boolean;
22
+ hasOptionList: boolean;
23
+ /** Needed to trigger a re-render for async data */
24
+ watchPropHandler(newList: string[]): void;
25
+ handleSelectedValuesChange(): void;
26
+ componentDidUpdate(): void;
27
+ private handleInput;
28
+ private getOptions;
29
+ private renderChips;
30
+ private handleOverflowOptionsClick;
31
+ private handleSelectedChange;
32
+ private handleChipClose;
33
+ private updateOption;
34
+ private updateAllOptions;
35
+ private setElementOnFocus;
36
+ private setElementOnBlur;
37
+ private resetFocus;
38
+ private handleMouseDown;
39
+ private handleKeyDown;
40
+ private handleSelectAll;
41
+ private updateSelectAll;
42
+ render(): any;
43
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+ type Story = StoryObj;
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ export declare const Default: Story;
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { MultiSelectOptionEventDetail } from '../../../utils/interfaces/form.interface';
3
+ export declare class B2bMultiSelectOption {
4
+ /** The label of the option. */
5
+ option: string;
6
+ /** Emits the option as a string whenever an option is selected. */
7
+ b2bOptionSelected: EventEmitter<MultiSelectOptionEventDetail>;
8
+ /** Whether the option is currently selected. */
9
+ selected: boolean;
10
+ /** @internal Whether the checkbox is in indeterminate state. */
11
+ indeterminate?: boolean;
12
+ private handleCheckboxChange;
13
+ render(): any;
14
+ }
@@ -0,0 +1,13 @@
1
+ export declare class ProgressBarComponent {
2
+ hostElement: HTMLB2bProgressBarElement;
3
+ /** The percentage of progress from 0 to 100. */
4
+ progress: number;
5
+ /** The label of the progress bar. */
6
+ label?: string;
7
+ /** Whether the label should be displayed below or on the side of the progress bar. */
8
+ labelType?: 'below' | 'side';
9
+ /** Whether the label should be displayed on the right or left of the progress bar. */
10
+ labelPosition?: 'left' | 'right';
11
+ private getProgress;
12
+ render(): any;
13
+ }
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const story010Default: Story;
6
+ export declare const story020LabelOnBottomLeft: Story;
7
+ export declare const story030LabelOnBottomRight: Story;
8
+ export declare const story040LabelOnLeftSide: Story;
9
+ export declare const story050LabelOnRightSide: Story;
@@ -5,7 +5,7 @@ export declare class TableCellComponent {
5
5
  * It will only truncate when table size is equal
6
6
  * **/
7
7
  textWrap: boolean;
8
- /** The size of the cell. Follows table size.
8
+ /** @internal The size of the cell. Follows table size.
9
9
  * When size is equal and textWrap is false, the text will truncate with Ellipsis.
10
10
  * Other sizes won't affect cell current implementation.
11
11
  **/
@@ -16,10 +16,14 @@ export declare class TableCellComponent {
16
16
  divider: boolean;
17
17
  /** Background color of the cell. This color selection does not have hover states, as it is handled from the row**/
18
18
  color: TableColourOptions;
19
+ /** How many columns the cell should span. Accepts numbers greater than one. */
20
+ colspan?: number;
21
+ /** @internal number of total columns in a colspan table */
22
+ totalCols?: number;
19
23
  useTextEllipsis: boolean;
20
24
  private expandTextHoverWaitTime;
21
25
  private expandTextHoverTimeoutId;
22
- componentWillRender(): void;
26
+ componentWillLoad(): void;
23
27
  private addExpandStyles;
24
28
  private removeExpandStyles;
25
29
  render(): any;
@@ -1,25 +1,36 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { ContentAlignment, TableSortDirections, SortIconAlignment } from '../../../utils/types/table.types';
2
+ import { TableSizes, TableSortDirections, SortIconAlignment, ContentAlignment } from '../../../utils/types/table.types';
3
3
  export declare class TableHeaderComponent {
4
4
  hostElement: HTMLB2bTableHeaderElement;
5
5
  /** adds a border to the right of the header. **/
6
6
  divider: boolean;
7
- /** sets the header position to sticky. Use it when table is inside a scrollable container. **/
7
+ /** The size of the cell. Follows table size.
8
+ * When size is equal and textWrap is false, the text will truncate with Ellipsis.
9
+ * Other sizes won't affect cell current implementation.
10
+ **/
11
+ size: TableSizes;
12
+ /** @deprecated Use fixed on the rowgroup instead. Sets the header position to sticky. Use it when table is inside a scrollable container. **/
8
13
  fixed: boolean;
9
14
  /** The direction in which the column data is sorted. Per default, it is unsorted and no button is visible. If your data comes presorted, you need to adjust this. */
10
15
  sortDirection: TableSortDirections;
11
16
  /** Optional string to uniquely represent the header, this id will be emitted by the table b2b-sort-change event. If not provided, the event will emit the header textContent. */
12
17
  sortId?: string;
18
+ /** The width of the column. Increase it to change the size of the column relative to other columns. */
19
+ colspan?: number;
13
20
  /** Alignment of the content of the cell, by default is to the left. **/
14
21
  contentAlign: ContentAlignment;
22
+ /** @internal number of total columns per row */
23
+ totalCols?: number;
15
24
  /** Emits whenever the sort direction changes. */
16
25
  b2bChange: EventEmitter<TableSortDirections>;
17
26
  active: boolean;
18
27
  iconAlign: SortIconAlignment;
19
- componentWillRender(): void;
28
+ private setIconPlacement;
20
29
  private changeSortDirection;
21
30
  private unSortSiblings;
22
31
  private setActive;
23
32
  private setInactive;
33
+ componentWillLoad(): void;
34
+ componentWillRender(): void;
24
35
  render(): any;
25
36
  }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { TableAccordionRowTypes, TableColourOptions } from '../../../utils/types/table.types';
2
+ import { TableAccordionRowTypes, TableColourOptions, TableSizes } from '../../../utils/types/table.types';
3
3
  import { B2bCheckboxCustomEvent, CheckboxEventDetail } from '../../../components';
4
4
  export declare class TableRowComponent {
5
5
  hostElement: HTMLB2bTableRowElement;
@@ -11,6 +11,8 @@ export declare class TableRowComponent {
11
11
  accordionType: TableAccordionRowTypes;
12
12
  /** @internal Whether the parent rowgroup is selectable. */
13
13
  selectable: boolean;
14
+ /** @internal Whether colspans are possible in the table. */
15
+ size?: TableSizes;
14
16
  /** The unique identifier for a selectable row. It is emitted when the row is selected. */
15
17
  value?: string;
16
18
  /** If a selectable row is a parent for an accordion, it becomes indeterminate when some of it's children are checked, but not all. */
@@ -27,8 +29,9 @@ export declare class TableRowComponent {
27
29
  toggleAccordion(isOpen: boolean): Promise<void>;
28
30
  componentWillLoad(): void;
29
31
  private toggleOpen;
32
+ private setTotalCols;
30
33
  private getRowColor;
31
- private getRowWidth;
34
+ /** Only needs to be added if we control the state of the selection. */
32
35
  private shouldAddCheckbox;
33
36
  private getParentRowGroup;
34
37
  private getCheckbox;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { TableRowgroupTypes } from '../../../utils/types/table.types';
2
+ import { TableRowgroupTypes, TableSizes } from '../../../utils/types/table.types';
3
3
  import { TableAccordionSelectedEventDetail } from '../../../utils/interfaces/content.interface';
4
4
  export declare class TableRowgroupComponent {
5
5
  host: HTMLB2bTableRowgroupElement;
@@ -7,12 +7,16 @@ export declare class TableRowgroupComponent {
7
7
  * Header rows are by default not highlightable on mouse over.
8
8
  **/
9
9
  type: TableRowgroupTypes;
10
+ /** @internal the table size. */
11
+ size: TableSizes;
10
12
  /** Renders the rowgroup as an accordion. Both header and body must have accordion set to true.
11
13
  * One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
12
14
  */
13
15
  accordion: boolean;
14
16
  /** If the rows in the rowgroup can be selected via checkmark. Per default, it is false. */
15
17
  selectable: boolean;
18
+ /** Sets the header rowgroup position to sticky. Use this in a scrollable container. */
19
+ fixed: boolean;
16
20
  /** Only use when accordion property is true.
17
21
  * Will render the accordion opened if set to true. By default, is false.
18
22
  */
@@ -20,7 +24,6 @@ export declare class TableRowgroupComponent {
20
24
  /** Emits when the rowgroup as a whole is selected. */
21
25
  b2bSelect: EventEmitter<TableAccordionSelectedEventDetail>;
22
26
  selectedValues: any[];
23
- indeterminate: boolean;
24
27
  handleOpenChange(event: any): void;
25
28
  handleSelectedChange(event: any): void;
26
29
  private toggleSelectAll;
@@ -6,13 +6,19 @@ export declare class TableComponent {
6
6
  /** The size of the table. Both will expand to 100% of parent size.
7
7
  * Expand cells will use as much space as content needs and text will wrap.
8
8
  * Equal will keep all column sizes proportional to the number of columns.
9
+ * Colspan behaves same as equal, but allows you to set a colspan attribute on individual columns or cells
10
+ * to make them span more than one column.
9
11
  **/
10
12
  size: TableSizes;
11
13
  /** Emits whenever the sort direction of any column in the table changes. */
12
14
  b2bSortChange: EventEmitter<ColumnSortChangeEventDetail>;
13
15
  onColumnSelected(event: any): void;
16
+ private isScrollable;
17
+ private getAllCellsByRow;
14
18
  private setCellSize;
15
19
  private setFixedHeaders;
20
+ private setRowGroupSize;
21
+ componentWillLoad(): void;
16
22
  componentDidRender(): void;
17
23
  componentDidLoad(): void;
18
24
  render(): any;
@@ -15,4 +15,5 @@ export declare const ScrollableTable: Story;
15
15
  export declare const SortableTable: Story;
16
16
  export declare const SortableTableRightAlign: Story;
17
17
  export declare const AccordionTable: Story;
18
- export declare const Selectable: Story;
18
+ export declare const SelectableTable: Story;
19
+ export declare const ColspanTable: Story;
@@ -1,4 +1,6 @@
1
1
  export declare function updateCheckboxState(rows: HTMLB2bTableRowElement[], header: HTMLB2bTableRowElement): void;
2
+ /** Sets appropriate column width for colspan table */
3
+ export declare function setFlexBase(host: HTMLB2bTableCellElement | HTMLB2bTableHeaderElement, colspan: number, totalCols: number, selectable: boolean, accordion: boolean): void;
2
4
  export declare function getAllRows(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement[];
3
5
  export declare function getRemainingRows(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement[];
4
6
  export declare function getFirstRow(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement;
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { ToggleChipEventDetail } from '../../utils/interfaces/interaction.interface';
3
+ export declare class B2BToggleChipComponent {
4
+ /** The chip's label. This is required. */
5
+ label: string;
6
+ /** The value associated with the toggle chip. This is emitted when the chip is interacted with. */
7
+ value: any;
8
+ /** The name of the toggle chip. Use it to group toggle buttons together and assign the label to the input element for better accessibility. This is required. */
9
+ name: string;
10
+ /** The color scheme of the toggle button. Use white for grey backgrounds and grey for white backgrounds. Per default, it is grey*/
11
+ variant: 'grey' | 'white';
12
+ /** Whether or not the chip is currently active. Per default, it is false. */
13
+ active: boolean;
14
+ /** Whether or not the chip is currently disabled. Per default it is false. */
15
+ disabled: boolean;
16
+ /** Emits the value whenever the toggle chip is selected. */
17
+ b2bSelected: EventEmitter<ToggleChipEventDetail>;
18
+ private onClick;
19
+ private onKeyDown;
20
+ render(): any;
21
+ }