@otto-de/b2b-core-components 1.22.0 → 1.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) 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/p-01aea1a4.entry.js +1 -0
  4. package/dist/b2b-core-components/p-0f5b8f0f.entry.js +1 -0
  5. package/dist/b2b-core-components/p-191b7d0b.entry.js +1 -0
  6. package/dist/b2b-core-components/p-1ac1ed23.entry.js +1 -0
  7. package/dist/b2b-core-components/p-1cbf75dd.entry.js +1 -0
  8. package/dist/b2b-core-components/p-247b295d.entry.js +1 -0
  9. package/dist/b2b-core-components/p-25fa6d92.entry.js +1 -0
  10. package/dist/b2b-core-components/p-2610db01.entry.js +1 -0
  11. package/dist/b2b-core-components/p-28674643.entry.js +1 -0
  12. package/dist/b2b-core-components/p-2a80fb82.entry.js +1 -0
  13. package/dist/b2b-core-components/p-30dce961.entry.js +1 -0
  14. package/dist/b2b-core-components/p-333969c9.entry.js +1 -0
  15. package/dist/b2b-core-components/p-339dd3ba.entry.js +1 -0
  16. package/dist/b2b-core-components/p-371efcb7.entry.js +1 -0
  17. package/dist/b2b-core-components/{p-928ab618.entry.js → p-37cdfc83.entry.js} +1 -1
  18. package/dist/b2b-core-components/p-3caed6e8.entry.js +1 -0
  19. package/dist/b2b-core-components/p-438ab795.entry.js +1 -0
  20. package/dist/b2b-core-components/p-44d5a9d3.entry.js +1 -0
  21. package/dist/b2b-core-components/p-47081742.entry.js +1 -0
  22. package/dist/b2b-core-components/{p-ffff2d15.entry.js → p-48d75dc1.entry.js} +1 -1
  23. package/dist/b2b-core-components/p-4cfb4131.entry.js +1 -0
  24. package/dist/b2b-core-components/p-56293400.entry.js +1 -0
  25. package/dist/b2b-core-components/p-572f9f64.entry.js +1 -0
  26. package/dist/b2b-core-components/p-74c0757b.entry.js +1 -0
  27. package/dist/b2b-core-components/p-8967cc6c.entry.js +1 -0
  28. package/dist/b2b-core-components/p-8fa70a00.entry.js +1 -0
  29. package/dist/b2b-core-components/{p-ef01f7b2.entry.js → p-921e7a37.entry.js} +1 -1
  30. package/dist/b2b-core-components/p-925553cd.entry.js +1 -0
  31. package/dist/b2b-core-components/p-928e7db4.entry.js +1 -0
  32. package/dist/b2b-core-components/p-95570f8e.entry.js +1 -0
  33. package/dist/b2b-core-components/p-95d3519f.entry.js +1 -0
  34. package/dist/b2b-core-components/p-96968c24.entry.js +1 -0
  35. package/dist/b2b-core-components/p-96bde9dd.entry.js +1 -0
  36. package/dist/b2b-core-components/p-992dd377.entry.js +1 -0
  37. package/dist/b2b-core-components/p-9a6c243e.entry.js +1 -0
  38. package/dist/b2b-core-components/p-9c055a4e.entry.js +1 -0
  39. package/dist/b2b-core-components/p-9de02b91.entry.js +1 -0
  40. package/dist/b2b-core-components/p-a033a6b5.entry.js +1 -0
  41. package/dist/b2b-core-components/p-a0ab40f0.entry.js +1 -0
  42. package/dist/b2b-core-components/p-ae71a78f.entry.js +1 -0
  43. package/dist/b2b-core-components/p-b6916793.entry.js +1 -0
  44. package/dist/b2b-core-components/p-bf8db809.entry.js +1 -0
  45. package/dist/b2b-core-components/p-c1135326.entry.js +1 -0
  46. package/dist/b2b-core-components/p-c3d76d28.entry.js +1 -0
  47. package/dist/b2b-core-components/{p-212fa6a0.entry.js → p-cab7c805.entry.js} +1 -1
  48. package/dist/b2b-core-components/p-cc0ad9b7.entry.js +1 -0
  49. package/dist/b2b-core-components/p-d56a8c1a.entry.js +1 -0
  50. package/dist/b2b-core-components/p-d895f199.entry.js +1 -0
  51. package/dist/b2b-core-components/p-e4359302.entry.js +1 -0
  52. package/dist/b2b-core-components/p-ec4f82b1.entry.js +1 -0
  53. package/dist/b2b-core-components/p-f6bd827c.entry.js +1 -0
  54. package/dist/b2b-core-components/p-fbd31067.entry.js +1 -0
  55. package/dist/b2b-core-components/p-fdfdc92d.entry.js +1 -0
  56. package/dist/cjs/b2b-alert.cjs.entry.js +4 -4
  57. package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
  58. package/dist/cjs/b2b-background-box.cjs.entry.js +11 -3
  59. package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
  60. package/dist/cjs/b2b-breadcrumb.cjs.entry.js +1 -1
  61. package/dist/cjs/b2b-button_2.cjs.entry.js +5 -5
  62. package/dist/cjs/b2b-card.cjs.entry.js +1 -1
  63. package/dist/cjs/b2b-checkbox-group.cjs.entry.js +1 -1
  64. package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
  65. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
  66. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  67. package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +9 -9
  68. package/dist/cjs/b2b-date-picker.cjs.entry.js +3 -3
  69. package/dist/cjs/b2b-dropdown.cjs.entry.js +1 -1
  70. package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
  71. package/dist/cjs/b2b-flyout-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/b2b-grid-col.cjs.entry.js +7 -18
  73. package/dist/cjs/b2b-grid-row.cjs.entry.js +33 -2
  74. package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
  75. package/dist/cjs/b2b-icon-100.cjs.entry.js +1 -1
  76. package/dist/cjs/b2b-icon-50.cjs.entry.js +1 -1
  77. package/dist/cjs/b2b-icon.cjs.entry.js +1 -1
  78. package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
  79. package/dist/cjs/b2b-input_2.cjs.entry.js +9 -6
  80. package/dist/cjs/b2b-label.cjs.entry.js +1 -1
  81. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  82. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +3 -3
  83. package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
  84. package/dist/cjs/b2b-paragraph.cjs.entry.js +1 -1
  85. package/dist/cjs/b2b-progress-bar.cjs.entry.js +1 -1
  86. package/dist/cjs/b2b-radio-button.cjs.entry.js +1 -1
  87. package/dist/cjs/b2b-radio-group.cjs.entry.js +1 -1
  88. package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
  89. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +1 -1
  90. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
  91. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  92. package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
  93. package/dist/cjs/b2b-snackbar.cjs.entry.js +111 -0
  94. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  95. package/dist/cjs/b2b-tab-panel.cjs.entry.js +2 -2
  96. package/dist/cjs/b2b-tab.cjs.entry.js +3 -3
  97. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +5 -5
  98. package/dist/cjs/b2b-table-row.cjs.entry.js +7 -17
  99. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +3 -3
  100. package/dist/cjs/b2b-table.cjs.entry.js +3 -3
  101. package/dist/cjs/b2b-textarea.cjs.entry.js +3 -3
  102. package/dist/cjs/b2b-toggle-button.cjs.entry.js +4 -4
  103. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +6 -7
  104. package/dist/cjs/b2b-toggle-group.cjs.entry.js +3 -3
  105. package/dist/cjs/b2b-toggle-switch.cjs.entry.js +5 -5
  106. package/dist/cjs/b2b-tooltip.cjs.entry.js +4 -4
  107. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +3 -3
  108. package/dist/cjs/b2b-wizard-step.cjs.entry.js +3 -3
  109. package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
  110. package/dist/cjs/index-668808fd.js +8 -4
  111. package/dist/cjs/loader.cjs.js +1 -1
  112. package/dist/collection/collection-manifest.json +1 -0
  113. package/dist/collection/components/alert/alert.css +6 -4
  114. package/dist/collection/components/alert/alert.e2e.js +2 -2
  115. package/dist/collection/components/alert/alert.js +3 -3
  116. package/dist/collection/components/anchor/anchor.css +6 -4
  117. package/dist/collection/components/background-box/background-box.css +18 -4
  118. package/dist/collection/components/background-box/background-box.e2e.js +26 -0
  119. package/dist/collection/components/background-box/background-box.js +82 -2
  120. package/dist/collection/components/background-box/background-box.spec.js +19 -0
  121. package/dist/collection/components/background-box/background-box.stories.js +16 -2
  122. package/dist/collection/components/breadcrumb/breadcrumb.css +6 -4
  123. package/dist/collection/components/button/button.css +6 -4
  124. package/dist/collection/components/button/button.e2e.js +2 -2
  125. package/dist/collection/components/button/button.js +2 -2
  126. package/dist/collection/components/button/button.stories.js +3 -3
  127. package/dist/collection/components/card/card.css +6 -4
  128. package/dist/collection/components/checkbox/checkbox.css +6 -4
  129. package/dist/collection/components/checkbox-group/checkbox-group.css +6 -4
  130. package/dist/collection/components/chip/chip.css +6 -4
  131. package/dist/collection/components/date-picker/date-picker-days-header.css +6 -4
  132. package/dist/collection/components/date-picker/date-picker-days.css +8 -6
  133. package/dist/collection/components/date-picker/date-picker-header.css +9 -7
  134. package/dist/collection/components/date-picker/date-picker-header.js +4 -4
  135. package/dist/collection/components/date-picker/date-picker-months.css +7 -5
  136. package/dist/collection/components/date-picker/date-picker-years.css +7 -5
  137. package/dist/collection/components/date-picker/date-picker.css +6 -4
  138. package/dist/collection/components/date-picker/date-picker.js +2 -2
  139. package/dist/collection/components/date-picker/date-picker.stories.js +9 -9
  140. package/dist/collection/components/dropdown/dropdown.css +6 -4
  141. package/dist/collection/components/flyout-menu/flyout-menu-option.css +7 -5
  142. package/dist/collection/components/flyout-menu/flyout-menu.css +7 -5
  143. package/dist/collection/components/flyout-menu/flyout-menu.e2e.js +6 -6
  144. package/dist/collection/components/flyout-menu/flyout-menu.stories.js +4 -4
  145. package/dist/collection/components/grid/column.js +7 -18
  146. package/dist/collection/components/grid/grid.stories.js +223 -222
  147. package/dist/collection/components/grid/row.js +33 -2
  148. package/dist/collection/components/headline/headline.css +6 -4
  149. package/dist/collection/components/icon/icon.css +6 -4
  150. package/dist/collection/components/icon-100/icon-100.css +6 -4
  151. package/dist/collection/components/icon-50/icon-50.css +6 -4
  152. package/dist/collection/components/input/input.css +6 -4
  153. package/dist/collection/components/input/input.e2e.js +10 -0
  154. package/dist/collection/components/input/input.js +7 -4
  155. package/dist/collection/components/input/input.stories.js +22 -2
  156. package/dist/collection/components/input-group/input-group.css +6 -4
  157. package/dist/collection/components/input-group/input-group.e2e.js +1 -1
  158. package/dist/collection/components/input-group/input-group.stories.js +1 -1
  159. package/dist/collection/components/input-list/input-list.css +8 -6
  160. package/dist/collection/components/input-list/input-list.e2e.js +6 -6
  161. package/dist/collection/components/input-list/input-list.js +1 -1
  162. package/dist/collection/components/label/label.css +6 -4
  163. package/dist/collection/components/modal/modal.css +7 -5
  164. package/dist/collection/components/modal/modal.e2e.js +2 -2
  165. package/dist/collection/components/modal/modal.js +1 -1
  166. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +6 -4
  167. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +2 -2
  168. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +1 -1
  169. package/dist/collection/components/pagination/pagination.css +6 -4
  170. package/dist/collection/components/paragraph/paragraph.css +6 -4
  171. package/dist/collection/components/progress-bar/progress-bar.css +6 -4
  172. package/dist/collection/components/radio/radio.css +6 -4
  173. package/dist/collection/components/radio-group/radio-group.css +6 -4
  174. package/dist/collection/components/required-separator/required-separator.css +6 -4
  175. package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
  176. package/dist/collection/components/rounded-icon/rounded-icon.stories.js +1 -1
  177. package/dist/collection/components/scrollable-container/scrollable-container.css +6 -4
  178. package/dist/collection/components/search/search.js +1 -1
  179. package/dist/collection/components/search/search.stories.js +1 -1
  180. package/dist/collection/components/separator/separator.css +6 -4
  181. package/dist/collection/components/snackbar/snackbar.css +337 -0
  182. package/dist/collection/components/snackbar/snackbar.e2e.js +63 -0
  183. package/dist/collection/components/snackbar/snackbar.js +273 -0
  184. package/dist/collection/components/snackbar/snackbar.stories.js +89 -0
  185. package/dist/collection/components/spinner/spinner.css +6 -4
  186. package/dist/collection/components/spinner/spinner.js +1 -1
  187. package/dist/collection/components/tab/tab.css +6 -4
  188. package/dist/collection/components/tab/tab.js +2 -2
  189. package/dist/collection/components/tab-group/tab-group.js +1 -1
  190. package/dist/collection/components/tab-group/tab-group.stories.js +1 -1
  191. package/dist/collection/components/tab-panel/tab-panel.css +6 -4
  192. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  193. package/dist/collection/components/table/table-cell/table-cell.css +6 -4
  194. package/dist/collection/components/table/table-cell/table-cell.js +2 -2
  195. package/dist/collection/components/table/table-header/table-header.css +6 -4
  196. package/dist/collection/components/table/table-header/table-header.js +1 -1
  197. package/dist/collection/components/table/table-row/table-row.css +10 -8
  198. package/dist/collection/components/table/table-row/table-row.js +6 -16
  199. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +6 -4
  200. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
  201. package/dist/collection/components/table/table.css +6 -4
  202. package/dist/collection/components/table/table.js +2 -2
  203. package/dist/collection/components/textarea/textarea.css +6 -4
  204. package/dist/collection/components/textarea/textarea.js +2 -2
  205. package/dist/collection/components/toggle-button/toggle-button.css +6 -4
  206. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  207. package/dist/collection/components/toggle-chip/toggle-chip.css +37 -20
  208. package/dist/collection/components/toggle-chip/toggle-chip.js +5 -24
  209. package/dist/collection/components/toggle-chip/toggle-chip.stories.js +51 -0
  210. package/dist/collection/components/toggle-group/toggle-group.css +6 -4
  211. package/dist/collection/components/toggle-group/toggle-group.js +2 -2
  212. package/dist/collection/components/toggle-switch/toggle-switch.css +6 -4
  213. package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
  214. package/dist/collection/components/tooltip/tooltip.css +6 -4
  215. package/dist/collection/components/tooltip/tooltip.js +3 -3
  216. package/dist/collection/components/tooltip/tooltip.stories.js +3 -3
  217. package/dist/collection/components/wizard/wizard-step.js +2 -2
  218. package/dist/collection/components/wizard/wizard.css +6 -4
  219. package/dist/collection/components/wizard/wizard.js +1 -1
  220. package/dist/collection/components/wizard-icon/wizard-icon.css +6 -4
  221. package/dist/collection/components/wizard-icon/wizard-icon.js +2 -2
  222. package/dist/components/b2b-alert.js +7 -7
  223. package/dist/components/b2b-anchor.js +1 -1
  224. package/dist/components/b2b-background-box.js +16 -4
  225. package/dist/components/b2b-breadcrumb-item.js +1 -1
  226. package/dist/components/b2b-breadcrumb.js +1 -1
  227. package/dist/components/b2b-card.js +1 -1
  228. package/dist/components/b2b-checkbox-group.js +1 -1
  229. package/dist/components/b2b-date-picker.js +6 -6
  230. package/dist/components/b2b-dropdown.js +1 -1
  231. package/dist/components/b2b-flyout-menu-option.js +1 -1
  232. package/dist/components/b2b-flyout-menu.js +1 -1
  233. package/dist/components/b2b-grid-col.js +7 -18
  234. package/dist/components/b2b-grid-row.js +33 -2
  235. package/dist/components/b2b-icon-100.js +1 -411
  236. package/dist/components/b2b-icon-50.js +1 -1
  237. package/dist/components/b2b-icon.js +444 -1
  238. package/dist/components/b2b-label.js +1 -1
  239. package/dist/components/b2b-modal.js +5 -5
  240. package/dist/components/b2b-multiselect-dropdown.js +6 -6
  241. package/dist/components/b2b-pagination.js +1 -1
  242. package/dist/components/b2b-paragraph.js +1 -1
  243. package/dist/components/b2b-progress-bar.js +1 -1
  244. package/dist/components/b2b-radio-button.js +1 -1
  245. package/dist/components/b2b-radio-group.js +1 -1
  246. package/dist/components/b2b-required-separator.js +1 -1
  247. package/dist/components/b2b-scrollable-container.js +1 -1
  248. package/dist/components/b2b-search.js +4 -4
  249. package/dist/components/b2b-snackbar.d.ts +11 -0
  250. package/dist/components/b2b-snackbar.js +141 -0
  251. package/dist/components/b2b-tab-group.js +1 -1
  252. package/dist/components/b2b-tab-panel.js +2 -2
  253. package/dist/components/b2b-tab.js +3 -3
  254. package/dist/components/b2b-table-row.js +10 -20
  255. package/dist/components/b2b-table-rowgroup.js +3 -3
  256. package/dist/components/b2b-table.js +3 -3
  257. package/dist/components/b2b-textarea.js +3 -3
  258. package/dist/components/b2b-toggle-button.js +4 -4
  259. package/dist/components/b2b-toggle-chip.js +6 -8
  260. package/dist/components/b2b-toggle-group.js +3 -3
  261. package/dist/components/b2b-toggle-switch.js +5 -5
  262. package/dist/components/b2b-tooltip.js +4 -4
  263. package/dist/components/b2b-wizard-step.js +6 -6
  264. package/dist/components/b2b-wizard.js +2 -2
  265. package/dist/components/button.js +3 -3
  266. package/dist/components/checkbox.js +1 -1
  267. package/dist/components/chip.js +1 -1
  268. package/dist/components/date-picker-days-header.js +1 -1
  269. package/dist/components/date-picker-days.js +1 -1
  270. package/dist/components/date-picker-header.js +8 -8
  271. package/dist/components/date-picker-months.js +1 -1
  272. package/dist/components/date-picker-years.js +1 -1
  273. package/dist/components/headline.js +1 -1
  274. package/dist/components/{icon.js → icon-100.js} +23 -56
  275. package/dist/components/input-group.js +1 -1
  276. package/dist/components/input-list-option.js +1 -1
  277. package/dist/components/input-list.js +5 -5
  278. package/dist/components/input.js +8 -5
  279. package/dist/components/multiselect-option.js +1 -1
  280. package/dist/components/rounded-icon.js +1 -1
  281. package/dist/components/separator.js +1 -1
  282. package/dist/components/spinner.js +2 -2
  283. package/dist/components/table-cell.js +3 -3
  284. package/dist/components/table-header.js +2 -2
  285. package/dist/components/wizard-icon.js +6 -6
  286. package/dist/custom-elements.json +99 -12
  287. package/dist/esm/b2b-alert.entry.js +4 -4
  288. package/dist/esm/b2b-anchor.entry.js +1 -1
  289. package/dist/esm/b2b-background-box.entry.js +11 -3
  290. package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
  291. package/dist/esm/b2b-breadcrumb.entry.js +1 -1
  292. package/dist/esm/b2b-button_2.entry.js +5 -5
  293. package/dist/esm/b2b-card.entry.js +1 -1
  294. package/dist/esm/b2b-checkbox-group.entry.js +1 -1
  295. package/dist/esm/b2b-checkbox.entry.js +1 -1
  296. package/dist/esm/b2b-chip-component_2.entry.js +2 -2
  297. package/dist/esm/b2b-core-components.js +1 -1
  298. package/dist/esm/b2b-date-picker-days_5.entry.js +9 -9
  299. package/dist/esm/b2b-date-picker.entry.js +3 -3
  300. package/dist/esm/b2b-dropdown.entry.js +1 -1
  301. package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
  302. package/dist/esm/b2b-flyout-menu.entry.js +1 -1
  303. package/dist/esm/b2b-grid-col.entry.js +7 -18
  304. package/dist/esm/b2b-grid-row.entry.js +33 -2
  305. package/dist/esm/b2b-headline.entry.js +1 -1
  306. package/dist/esm/b2b-icon-100.entry.js +1 -1
  307. package/dist/esm/b2b-icon-50.entry.js +1 -1
  308. package/dist/esm/b2b-icon.entry.js +1 -1
  309. package/dist/esm/b2b-input-group_2.entry.js +3 -3
  310. package/dist/esm/b2b-input_2.entry.js +9 -6
  311. package/dist/esm/b2b-label.entry.js +1 -1
  312. package/dist/esm/b2b-modal.entry.js +2 -2
  313. package/dist/esm/b2b-multiselect-dropdown.entry.js +3 -3
  314. package/dist/esm/b2b-pagination.entry.js +1 -1
  315. package/dist/esm/b2b-paragraph.entry.js +1 -1
  316. package/dist/esm/b2b-progress-bar.entry.js +1 -1
  317. package/dist/esm/b2b-radio-button.entry.js +1 -1
  318. package/dist/esm/b2b-radio-group.entry.js +1 -1
  319. package/dist/esm/b2b-required-separator.entry.js +1 -1
  320. package/dist/esm/b2b-rounded-icon.entry.js +1 -1
  321. package/dist/esm/b2b-scrollable-container.entry.js +1 -1
  322. package/dist/esm/b2b-search.entry.js +1 -1
  323. package/dist/esm/b2b-separator.entry.js +1 -1
  324. package/dist/esm/b2b-snackbar.entry.js +107 -0
  325. package/dist/esm/b2b-tab-group.entry.js +1 -1
  326. package/dist/esm/b2b-tab-panel.entry.js +2 -2
  327. package/dist/esm/b2b-tab.entry.js +3 -3
  328. package/dist/esm/b2b-table-cell_2.entry.js +5 -5
  329. package/dist/esm/b2b-table-row.entry.js +7 -17
  330. package/dist/esm/b2b-table-rowgroup.entry.js +3 -3
  331. package/dist/esm/b2b-table.entry.js +3 -3
  332. package/dist/esm/b2b-textarea.entry.js +3 -3
  333. package/dist/esm/b2b-toggle-button.entry.js +4 -4
  334. package/dist/esm/b2b-toggle-chip.entry.js +6 -7
  335. package/dist/esm/b2b-toggle-group.entry.js +3 -3
  336. package/dist/esm/b2b-toggle-switch.entry.js +5 -5
  337. package/dist/esm/b2b-tooltip.entry.js +4 -4
  338. package/dist/esm/b2b-wizard-icon.entry.js +3 -3
  339. package/dist/esm/b2b-wizard-step.entry.js +3 -3
  340. package/dist/esm/b2b-wizard.entry.js +2 -2
  341. package/dist/esm/index-ab9eb36d.js +8 -4
  342. package/dist/esm/loader.js +1 -1
  343. package/dist/types/components/background-box/background-box.d.ts +8 -0
  344. package/dist/types/components/background-box/background-box.stories.d.ts +1 -0
  345. package/dist/types/components/grid/grid.stories.d.ts +8 -7
  346. package/dist/types/components/grid/row.d.ts +2 -0
  347. package/dist/types/components/input/input.d.ts +2 -0
  348. package/dist/types/components/input/input.stories.d.ts +1 -0
  349. package/dist/types/components/snackbar/snackbar.d.ts +36 -0
  350. package/dist/types/components/snackbar/snackbar.stories.d.ts +9 -0
  351. package/dist/types/components/table/table-row/table-row.d.ts +0 -2
  352. package/dist/types/components/toggle-chip/toggle-chip.d.ts +0 -2
  353. package/dist/types/components/toggle-chip/toggle-chip.stories.d.ts +8 -0
  354. package/dist/types/components/tooltip/tooltip.stories.d.ts +2 -2
  355. package/dist/types/components.d.ts +125 -8
  356. package/dist/web-types.json +143 -11
  357. package/package.json +2 -2
  358. package/dist/b2b-core-components/p-01c05f0c.entry.js +0 -1
  359. package/dist/b2b-core-components/p-029da6d8.entry.js +0 -1
  360. package/dist/b2b-core-components/p-05ad52a3.entry.js +0 -1
  361. package/dist/b2b-core-components/p-078a9f04.entry.js +0 -1
  362. package/dist/b2b-core-components/p-15988a15.entry.js +0 -1
  363. package/dist/b2b-core-components/p-1930be42.entry.js +0 -1
  364. package/dist/b2b-core-components/p-19b5503c.entry.js +0 -1
  365. package/dist/b2b-core-components/p-1c048a27.entry.js +0 -1
  366. package/dist/b2b-core-components/p-20d53606.entry.js +0 -1
  367. package/dist/b2b-core-components/p-228e1449.entry.js +0 -1
  368. package/dist/b2b-core-components/p-232acfe1.entry.js +0 -1
  369. package/dist/b2b-core-components/p-271d44a7.entry.js +0 -1
  370. package/dist/b2b-core-components/p-296f824d.entry.js +0 -1
  371. package/dist/b2b-core-components/p-2bab8c7f.entry.js +0 -1
  372. package/dist/b2b-core-components/p-2c8f2fa9.entry.js +0 -1
  373. package/dist/b2b-core-components/p-3665d675.entry.js +0 -1
  374. package/dist/b2b-core-components/p-3ef45a4b.entry.js +0 -1
  375. package/dist/b2b-core-components/p-3ffba273.entry.js +0 -1
  376. package/dist/b2b-core-components/p-48e693a5.entry.js +0 -1
  377. package/dist/b2b-core-components/p-5958af69.entry.js +0 -1
  378. package/dist/b2b-core-components/p-5a7e3db7.entry.js +0 -1
  379. package/dist/b2b-core-components/p-6e031b32.entry.js +0 -1
  380. package/dist/b2b-core-components/p-6f3a6904.entry.js +0 -1
  381. package/dist/b2b-core-components/p-7264f359.entry.js +0 -1
  382. package/dist/b2b-core-components/p-744e8fc3.entry.js +0 -1
  383. package/dist/b2b-core-components/p-752d38c8.entry.js +0 -1
  384. package/dist/b2b-core-components/p-7afbfa3b.entry.js +0 -1
  385. package/dist/b2b-core-components/p-7e59c92f.entry.js +0 -1
  386. package/dist/b2b-core-components/p-88c0c97c.entry.js +0 -1
  387. package/dist/b2b-core-components/p-92a809de.entry.js +0 -1
  388. package/dist/b2b-core-components/p-94f80a44.entry.js +0 -1
  389. package/dist/b2b-core-components/p-9f453acb.entry.js +0 -1
  390. package/dist/b2b-core-components/p-a37ad232.entry.js +0 -1
  391. package/dist/b2b-core-components/p-ad0df2f2.entry.js +0 -1
  392. package/dist/b2b-core-components/p-b03d197a.entry.js +0 -1
  393. package/dist/b2b-core-components/p-b045e097.entry.js +0 -1
  394. package/dist/b2b-core-components/p-b368015e.entry.js +0 -1
  395. package/dist/b2b-core-components/p-c03d0533.entry.js +0 -1
  396. package/dist/b2b-core-components/p-c10ee62f.entry.js +0 -1
  397. package/dist/b2b-core-components/p-c365567c.entry.js +0 -1
  398. package/dist/b2b-core-components/p-c97990e8.entry.js +0 -1
  399. package/dist/b2b-core-components/p-cad3574a.entry.js +0 -1
  400. package/dist/b2b-core-components/p-cd520262.entry.js +0 -1
  401. package/dist/b2b-core-components/p-d0035d7d.entry.js +0 -1
  402. package/dist/b2b-core-components/p-d3a04423.entry.js +0 -1
  403. package/dist/b2b-core-components/p-db67d6f7.entry.js +0 -1
  404. package/dist/b2b-core-components/p-f1287a36.entry.js +0 -1
  405. package/dist/b2b-core-components/p-f8f280fc.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -247,10 +249,10 @@
247
249
  background-color: inherit;
248
250
  }
249
251
  :host(.b2b-table-row--highlight:hover) {
250
- background-color: var(--b2b-color-hover);
252
+ background-color: var(--b2b-color-hover-default);
251
253
  }
252
254
  :host(.b2b-table-row--highlight:hover) ::slotted(*) {
253
- --b2b-table-cell-text-expand-bg: var(--b2b-color-hover);
255
+ --b2b-table-cell-text-expand-bg: var(--b2b-color-hover-default);
254
256
  }
255
257
  :host(.b2b-table-row--color-selected:hover) {
256
258
  background-color: var(--b2b-color-table-selected-default);
@@ -259,10 +261,10 @@
259
261
  --b2b-table-cell-text-expand-bg: var(--b2b-color-table-selected-default);
260
262
  }
261
263
  :host(.b2b-table-row--color-group:hover) {
262
- background-color: var(--b2b-color-hover);
264
+ background-color: var(--b2b-color-hover-default);
263
265
  }
264
266
  :host(.b2b-table-row--color-group:hover) ::slotted(*) {
265
- --b2b-table-cell-text-expand-bg: var(--b2b-color-hover);
267
+ --b2b-table-cell-text-expand-bg: var(--b2b-color-hover-default);
266
268
  }
267
269
  .b2b-table-row__control-cell--checkbox {
268
270
  flex: 0 0 var(--b2b-size-40);
@@ -4,7 +4,6 @@ import { isFirstRow } from "../utils";
4
4
  export class TableRowComponent {
5
5
  constructor() {
6
6
  this.parentRowGroup = null;
7
- this.observer = null;
8
7
  this.toggleOpen = () => {
9
8
  this.isOpen = !this.isOpen;
10
9
  this.b2bOpen.emit(this.isOpen);
@@ -55,7 +54,7 @@ export class TableRowComponent {
55
54
  return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
56
55
  'b2b-table-row__accordion-icon': true,
57
56
  'b2b-table-row__accordion-icon--open': this.isOpen,
58
- } }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true }))));
57
+ } }, h("b2b-icon-100", { icon: "b2b_icon-arrow-right", clickable: true }))));
59
58
  }
60
59
  return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
61
60
  }
@@ -99,33 +98,24 @@ export class TableRowComponent {
99
98
  }
100
99
  this.findParentAndObserve();
101
100
  }
102
- disconnectedCallback() {
103
- if (this.observer !== undefined && this.observer !== null) {
104
- this.observer.disconnect();
105
- this.observer = null;
106
- }
107
- }
108
101
  findParentAndObserve() {
102
+ var _a;
109
103
  this.parentRowGroup = this.hostElement.closest('b2b-table-rowgroup');
110
104
  if (this.parentRowGroup !== undefined && this.parentRowGroup !== null) {
111
- this.observer = new MutationObserver(() => {
112
- var _a;
113
- this.isAccordionValue =
114
- ((_a = this.parentRowGroup) === null || _a === void 0 ? void 0 : _a.hasAttribute('accordion')) || false;
115
- });
116
- this.observer.observe(this.parentRowGroup, { attributes: true });
105
+ this.isAccordionValue =
106
+ ((_a = this.parentRowGroup) === null || _a === void 0 ? void 0 : _a.hasAttribute('accordion')) || false;
117
107
  }
118
108
  else {
119
109
  console.warn('Parent b2b-table-rowgroup not found!');
120
110
  }
121
111
  }
122
112
  render() {
123
- return (h(Host, { key: 'c39eb58624347736a167fef2e4aa9fc9ca7c7e48', class: {
113
+ return (h(Host, { key: '46eb2abeb36b2127b2b29d97052cc0ed562267de', class: {
124
114
  'b2b-table-row': true,
125
115
  ['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
126
116
  ['b2b-table-row--highlight']: this.highlight,
127
117
  [`b2b-table-row--color-${this.getRowColor()}`]: true,
128
- }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'e224986cde05a3e6fc60c087953512bca87999ef' })));
118
+ }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'caa67e57aee33113c108fe561722c9a72ba5fa3a' })));
129
119
  }
130
120
  static get is() { return "b2b-table-row"; }
131
121
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -113,11 +113,11 @@ export class TableRowgroupComponent {
113
113
  this.makeHeaderRowNotSelectable();
114
114
  }
115
115
  render() {
116
- return (h(Host, { key: 'faa8967bf314a57aaa29bf32e4a8dd9fb1d31229', class: {
116
+ return (h(Host, { key: 'b6d9983c2e9079720ebc3deebeda438af99697b4', class: {
117
117
  ['b2b-table-rowgroup__' + this.type]: true,
118
118
  'b2b-table-rowgroup--fixed': this.fixed,
119
119
  'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
120
- }, role: "rowgroup" }, h("slot", { key: 'bf00c613d18b138e715d9840141e06399e4f5309' })));
120
+ }, role: "rowgroup" }, h("slot", { key: '646cea0eb0a5845920ebcf6155466c714173d728' })));
121
121
  }
122
122
  static get is() { return "b2b-table-rowgroup"; }
123
123
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -60,9 +60,9 @@ export class TableComponent {
60
60
  }
61
61
  }
62
62
  render() {
63
- return (h(Host, { key: 'd69ea87cde7434a9555464edaf081268ee850bdb', class: {
63
+ return (h(Host, { key: '7963f5d1f9e2ff75a7f5778af3a9384669d15b59', class: {
64
64
  ['b2b-table--' + this.size]: true,
65
- }, role: "table" }, h("slot", { key: '196c2f61af014d04a842543ea66ff806edbb8e5f' })));
65
+ }, role: "table" }, h("slot", { key: '2ce636704650a87c6143dcc780f2d91f1ea129e7' })));
66
66
  }
67
67
  static get is() { return "b2b-table"; }
68
68
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -45,10 +45,10 @@ export class B2BTextareaComponent {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'f58f062339891dfe7d78fcce5b9a90ac9871d826', class: {
48
+ return (h(Host, { key: '26d30adb79084035eb1f1088a019df8f3bb80cff', class: {
49
49
  'b2b-textarea': true,
50
50
  'b2b-textarea--error': this.invalid && !this.disabled,
51
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '22cd5ea8b7b8cd34253c2cc076b0273b1481e10f', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
51
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: 'd18a50e22a0995e14560bb8d2977dbcf8e602629', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
52
52
  (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
53
53
  }
54
54
  static get is() { return "b2b-textarea"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -31,13 +31,13 @@ export class B2bToggleButtonComponent {
31
31
  return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '757afe3ee305d4bba0c4092c98c277661d13213d', onClick: this.onClick }, h("span", { key: 'ad8f66caccea7374aa6bc6faf8a837efca0d5f69', class: {
34
+ return (h(Host, { key: '5ec7f55c330552dc5b3859504c8a4afc2f151146', onClick: this.onClick }, h("span", { key: '5cfbea13b4535886ea2404aa42e6bc830a149b3c', class: {
35
35
  'b2b-toggle-button': true,
36
36
  'b2b-toggle-button--disabled': this.disabled,
37
- } }, h("input", { key: 'e7b4b5267dbf8f5e6c212bfe5b3a7cda870c53ec', tabindex: 0, class: {
37
+ } }, h("input", { key: 'a88084cc44b80abb06e653afca8c7737f67baf4b', tabindex: 0, class: {
38
38
  'b2b-toggle-button__input': true,
39
39
  'b2b-toggle-button__input--disabled': this.disabled,
40
- }, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '5a6ccbcf1cc18884080359453b2abb5cc38acd6f', id: this.name, tabindex: -1, class: {
40
+ }, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'a5654d8a5c5c9845a7f07fc7dbf994e99a560d82', id: this.name, tabindex: -1, class: {
41
41
  'b2b-toggle-button__label': true,
42
42
  'b2b-toggle-button__label--disabled': this.disabled,
43
43
  'b2b-toggle-button__label--checked': this.checked && !this.disabled,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -219,6 +221,9 @@
219
221
  font-size: var(--b2b-size-copy-100);
220
222
  line-height: var(--b2b-size-copy-line-height-100);
221
223
  display: inline-block;
224
+ min-width: var(--b2b-size-90);
225
+ min-height: var(--b2b-size-80);
226
+ max-height: var(--b2b-size-80);
222
227
  }
223
228
  :host .b2b-toggle-chip__input {
224
229
  border: 0;
@@ -235,39 +240,51 @@
235
240
  }
236
241
  :host .b2b-toggle-chip__label {
237
242
  display: inline-block;
238
- padding: var(--b2b-size-15) var(--b2b-size-25) 5px var(--b2b-size-25);
243
+ border: 1px solid var(--b2b-color-grey-200);
244
+ padding: var(--b2b-size-15) var(--b2b-size-30) 5px var(--b2b-size-30);
239
245
  border-radius: var(--b2b-size-50);
240
246
  color: var(--b2b-color-black-100);
247
+ background-color: var(--b2b-color-white-100);
241
248
  }
242
249
  :host .b2b-toggle-chip__label:hover {
243
- background-color: var(--b2b-color-hover);
250
+ background-color: var(--b2b-color-hover-default);
244
251
  color: var(--b2b-color-black-100);
245
252
  cursor: pointer;
246
253
  transition: all 0.3s ease;
247
254
  }
248
- :host .b2b-toggle-chip__label--grey {
249
- background-color: var(--b2b-color-grey-100);
250
- }
251
- :host .b2b-toggle-chip__label--white {
252
- background-color: var(--b2b-color-white-100);
253
- }
254
- :host .b2b-toggle-chip__label--white.b2b-toggle-chip__label--disabled {
255
- background-color: var(--b2b-color-white-100);
256
- }
257
- :host .b2b-toggle-chip__label--white.b2b-toggle-chip__label--disabled:hover {
258
- background-color: var(--b2b-color-white-100);
255
+ :host .b2b-toggle-chip__label:active {
256
+ background-color: #d4e0eb;
257
+ color: var(--b2b-color-black-100);
258
+ transition: all 0.3s ease;
259
259
  }
260
260
  :host .b2b-toggle-chip__label--active {
261
261
  color: var(--b2b-color-white-100);
262
262
  background-color: var(--b2b-color-black-100);
263
+ border: 1px solid var(--b2b-color-black-100);
264
+ }
265
+ :host .b2b-toggle-chip__label--active:hover {
266
+ cursor: pointer;
267
+ background-color: var(--b2b-color-hover-black);
268
+ border: 1px solid var(--b2b-color-hover-black);
269
+ color: var(--b2b-color-grey-100);
263
270
  }
264
271
  :host .b2b-toggle-chip__label--disabled {
265
- background-color: var(--b2b-color-grey-100);
266
- color: var(--b2b-color-grey-300);
272
+ background-color: var(--b2b-color-grey-25);
273
+ color: var(--b2b-color-grey-200);
267
274
  user-select: none;
268
275
  }
269
276
  :host .b2b-toggle-chip__label--disabled:hover {
270
277
  cursor: default;
271
- background-color: var(--b2b-color-grey-100);
278
+ background-color: var(--b2b-color-grey-25);
279
+ color: var(--b2b-color-grey-200);
280
+ }
281
+ :host .b2b-toggle-chip__label--active-disabled {
282
+ background-color: var(--b2b-color-black-100);
283
+ border: 1px solid var(--b2b-color-black-100);
284
+ color: var(--b2b-color-grey-300);
285
+ }
286
+ :host .b2b-toggle-chip__label--active-disabled:hover {
287
+ cursor: default;
288
+ background-color: var(--b2b-color-black-100);
272
289
  color: var(--b2b-color-grey-300);
273
290
  }
@@ -28,20 +28,19 @@ export class B2BToggleChipComponent {
28
28
  this.label = undefined;
29
29
  this.value = undefined;
30
30
  this.name = undefined;
31
- this.variant = 'grey';
32
31
  this.active = false;
33
32
  this.disabled = false;
34
33
  }
35
34
  render() {
36
- return (h(Host, { key: 'e9f095939f1efc375328ffa58edd66f880d3c8c3' }, h("span", { key: 'a708176728cdf47e6308df8fafc9bb70b4bf8472', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
35
+ return (h(Host, { key: '78c0600467fcbdd43c4709fc8637a845fa0aecc5' }, h("span", { key: 'ee2a356bfe8190eea0e846be6a9a98364b154b2f', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
37
36
  'b2b-toggle-chip': true,
38
- } }, h("input", { key: 'cc88a7fb483e9400eae10322e77d71811b7ea269', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
37
+ } }, h("input", { key: '8836fc2cb5439d0567ad554c1e265eabed3aa3df', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
39
38
  'b2b-toggle-chip__input': true,
40
- }, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'f4385d049c26d7d391de6cef4946a086cf6375d0', id: this.name, tabIndex: -1, class: {
39
+ }, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '52a41c7c1427677ec00818be4c2fdb55bb6f69b1', id: this.name, tabIndex: -1, class: {
41
40
  'b2b-toggle-chip__label': true,
42
- [`b2b-toggle-chip__label--${this.variant}`]: true,
43
- 'b2b-toggle-chip__label--active': this.active,
41
+ 'b2b-toggle-chip__label--active': this.active && !this.disabled,
44
42
  'b2b-toggle-chip__label--disabled': this.disabled,
43
+ 'b2b-toggle-chip__label--active-disabled': this.active && this.disabled,
45
44
  } }, this.label))));
46
45
  }
47
46
  static get is() { return "b2b-toggle-chip"; }
@@ -109,24 +108,6 @@ export class B2BToggleChipComponent {
109
108
  "attribute": "name",
110
109
  "reflect": true
111
110
  },
112
- "variant": {
113
- "type": "string",
114
- "mutable": false,
115
- "complexType": {
116
- "original": "'grey' | 'white'",
117
- "resolved": "\"grey\" | \"white\"",
118
- "references": {}
119
- },
120
- "required": false,
121
- "optional": false,
122
- "docs": {
123
- "tags": [],
124
- "text": "The color scheme of the toggle button. Use white for grey backgrounds and grey for white backgrounds. Per default, it is grey"
125
- },
126
- "attribute": "variant",
127
- "reflect": false,
128
- "defaultValue": "'grey'"
129
- },
130
111
  "active": {
131
112
  "type": "boolean",
132
113
  "mutable": true,
@@ -0,0 +1,51 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s)
4
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { html } from "lit-html";
14
+ import { getArgTypes } from "../../docs/config/utils";
15
+ const meta = {
16
+ title: 'Components/Interaction/Toggle Chip',
17
+ component: 'b2b-toggle-chip',
18
+ args: {
19
+ label: 'B2B Design System',
20
+ name: 'Toggle Chip',
21
+ active: false,
22
+ disabled: false,
23
+ },
24
+ argTypes: getArgTypes('b2b-toggle-chip'),
25
+ render: (_a) => {
26
+ var args = __rest(_a, []);
27
+ return html ` <b2b-toggle-chip
28
+ label="${args.label}"
29
+ name="${args.name}"
30
+ active="${args.active}""
31
+ disabled="${args.disabled}">
32
+ </b2b-toggle-chip>`;
33
+ },
34
+ };
35
+ export default meta;
36
+ export const story010Default = {
37
+ name: 'Default Toggle Chip',
38
+ args: Object.assign({}, meta.args),
39
+ };
40
+ export const story020Disabled = {
41
+ name: 'Toggle Chip Disabled',
42
+ args: Object.assign(Object.assign({}, meta.args), { disabled: true }),
43
+ };
44
+ export const story030Active = {
45
+ name: 'Toggle Chip Active',
46
+ args: Object.assign(Object.assign({}, meta.args), { active: true }),
47
+ };
48
+ export const story040ActiveDisabled = {
49
+ name: 'Toggle Chip Active Disabled',
50
+ args: Object.assign(Object.assign({}, meta.args), { active: true, disabled: true }),
51
+ };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -45,10 +45,10 @@ export class B2BToggleGroup {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'fe75399c8e92ccb8a057ae685151b2434e2c260c' }, h("div", { key: '0a7b4ef54a74776c624399f9d851c16ff21eadd2', class: {
48
+ return (h(Host, { key: 'f17d4a01c930847672fe6aa60b50544c3a0fa829' }, h("div", { key: 'd1250e694f9b225886136bd116a4cbd297a1fea5', class: {
49
49
  'b2b-toggle-group': true,
50
50
  'b2b-toggle-group--disabled': this.disabled,
51
- } }, h("fieldset", { key: '936d54912451d8f47449c5f3600bf21d6143bd4d' }, h("slot", { key: 'e6313236733da0801b1c8c618ce9e625f00fa015' })))));
51
+ } }, h("fieldset", { key: '819b848ed5b3b50bfe840dcdb4caf9a7520f58be' }, h("slot", { key: '6918c86adb990d6300b2327510a27a830d4eab52' })))));
52
52
  }
53
53
  static get is() { return "b2b-toggle-group"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
3
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -35,7 +35,8 @@
35
35
  --b2b-color-table-selected-default: #cce9ff;
36
36
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
37
37
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
38
- --b2b-color-hover: #e6f4ff;
38
+ --b2b-color-hover-black: #3b3b3b;
39
+ --b2b-color-hover-default: #e6f4ff;
39
40
  --b2b-color-info-100: #003264;
40
41
  --b2b-color-info-50: #ccd6e0;
41
42
  --b2b-color-success-100: #326400;
@@ -122,7 +123,7 @@
122
123
  }
123
124
  /**
124
125
  * Do not edit directly
125
- * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
+ * Generated on Thu, 20 Feb 2025 15:47:48 GMT
126
127
  */
127
128
  :root [data-theme="dark"] {
128
129
  --b2b-size-200: 5rem; /* 80px */
@@ -153,7 +154,8 @@
153
154
  --b2b-font-weight-normal: 500;
154
155
  --b2b-font-weight-thin: 100;
155
156
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
156
- --b2b-color-hover: #e6f4ff;
157
+ --b2b-color-hover-black: #3b3b3b;
158
+ --b2b-color-hover-default: #e6f4ff;
157
159
  --b2b-color-info-100: #003264;
158
160
  --b2b-color-info-50: #ccd6e0;
159
161
  --b2b-color-success-100: #326400;
@@ -38,17 +38,17 @@ export class B2bToggleSwitchComponent {
38
38
  render() {
39
39
  // workaround for purgecss as safelist doesn't work
40
40
  const isLeft = this.labelPosition === 'left';
41
- return (h(Host, { key: 'ee7f31fda73708f9c0f239b7e812001e061b4df7' }, h("div", { key: 'e0cb8c2a712c6925da760d49228fdf0eec33eed4', class: {
41
+ return (h(Host, { key: '3d95bcb03fb1131b2b2775db6e8d82de9f2c5297' }, h("div", { key: '4e665cdbb2d1364a4bd9e641745d510237a4f4c8', class: {
42
42
  'b2b-toggle': true,
43
43
  'b2b-toggle--disabled': this.disabled,
44
44
  'b2b-toggle--checked': this.state,
45
- } }, h("div", { key: 'fd213e47ef55cceb7e7089b393a06637ca381394', class: {
45
+ } }, h("div", { key: '285501a0a3904058e06477c07ddbc6032c49ac1c', class: {
46
46
  'b2b-toggle__label': true,
47
47
  'b2b-toggle__label--left': isLeft,
48
- } }, h("span", { key: '7fa4a2e0324f8519001df63fb5bf6fbed66f8327', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: '956ca1d77e4a13a32e3da78c87432d92a3012dc2', class: {
48
+ } }, h("span", { key: '6f4699424b4a5e23c9de5577b0026f6ab0eb964f', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: 'ef46344c874f4b5f2cf998dcbf0b496180024cd4', class: {
49
49
  'b2b-toggle__icon': true,
50
50
  'b2b-toggle__icon--show': this.state,
51
- }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: 'a4af80db0755275499e6c93feded619ce273edfa', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
51
+ }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '56833837842c26dfeb46ed3429f4ccf1e48477f7', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
52
52
  'b2b-toggle__text': true,
53
53
  'b2b-toggle__text--left': isLeft,
54
54
  } }, this.label))))));