@otto-de/b2b-core-components 1.21.0 → 1.23.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 (465) 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-chatbot.svg +2 -20
  4. package/dist/b2b-core-components/icons-100/b2b_icon-bullet-list.svg +1 -0
  5. package/dist/b2b-core-components/icons-100/b2b_icon-ordered-list.svg +1 -0
  6. package/dist/b2b-core-components/p-01aea1a4.entry.js +1 -0
  7. package/dist/b2b-core-components/p-02ceefdf.entry.js +1 -0
  8. package/dist/b2b-core-components/p-191b7d0b.entry.js +1 -0
  9. package/dist/b2b-core-components/p-1ac1ed23.entry.js +1 -0
  10. package/dist/b2b-core-components/p-1cbf75dd.entry.js +1 -0
  11. package/dist/b2b-core-components/p-247b295d.entry.js +1 -0
  12. package/dist/b2b-core-components/p-25fa6d92.entry.js +1 -0
  13. package/dist/b2b-core-components/p-28674643.entry.js +1 -0
  14. package/dist/b2b-core-components/p-2a80fb82.entry.js +1 -0
  15. package/dist/b2b-core-components/p-30dce961.entry.js +1 -0
  16. package/dist/b2b-core-components/p-333969c9.entry.js +1 -0
  17. package/dist/b2b-core-components/p-339dd3ba.entry.js +1 -0
  18. package/dist/b2b-core-components/p-371efcb7.entry.js +1 -0
  19. package/dist/b2b-core-components/p-37cdfc83.entry.js +1 -0
  20. package/dist/b2b-core-components/p-3caed6e8.entry.js +1 -0
  21. package/dist/b2b-core-components/p-438ab795.entry.js +1 -0
  22. package/dist/b2b-core-components/p-44d5a9d3.entry.js +1 -0
  23. package/dist/b2b-core-components/p-47081742.entry.js +1 -0
  24. package/dist/b2b-core-components/{p-ffff2d15.entry.js → p-48d75dc1.entry.js} +1 -1
  25. package/dist/b2b-core-components/p-4cfb4131.entry.js +1 -0
  26. package/dist/b2b-core-components/p-545b6ba2.entry.js +1 -0
  27. package/dist/b2b-core-components/p-56293400.entry.js +1 -0
  28. package/dist/b2b-core-components/p-572f9f64.entry.js +1 -0
  29. package/dist/b2b-core-components/{p-a7221803.entry.js → p-744e8fc3.entry.js} +1 -1
  30. package/dist/b2b-core-components/p-74c0757b.entry.js +1 -0
  31. package/dist/b2b-core-components/p-8967cc6c.entry.js +1 -0
  32. package/dist/b2b-core-components/p-8fa70a00.entry.js +1 -0
  33. package/dist/b2b-core-components/{p-a155219a.entry.js → p-921e7a37.entry.js} +1 -1
  34. package/dist/b2b-core-components/p-925553cd.entry.js +1 -0
  35. package/dist/b2b-core-components/p-928e7db4.entry.js +1 -0
  36. package/dist/b2b-core-components/p-95570f8e.entry.js +1 -0
  37. package/dist/b2b-core-components/p-95d3519f.entry.js +1 -0
  38. package/dist/b2b-core-components/p-96968c24.entry.js +1 -0
  39. package/dist/b2b-core-components/p-96bde9dd.entry.js +1 -0
  40. package/dist/b2b-core-components/p-992dd377.entry.js +1 -0
  41. package/dist/b2b-core-components/p-9a6c243e.entry.js +1 -0
  42. package/dist/b2b-core-components/p-9c055a4e.entry.js +1 -0
  43. package/dist/b2b-core-components/p-9de02b91.entry.js +1 -0
  44. package/dist/b2b-core-components/p-a033a6b5.entry.js +1 -0
  45. package/dist/b2b-core-components/p-a0ab40f0.entry.js +1 -0
  46. package/dist/b2b-core-components/p-a923feb6.js +1 -0
  47. package/dist/b2b-core-components/p-ae71a78f.entry.js +1 -0
  48. package/dist/b2b-core-components/p-b6916793.entry.js +1 -0
  49. package/dist/b2b-core-components/p-b7afa702.entry.js +1 -0
  50. package/dist/b2b-core-components/p-bf8db809.entry.js +1 -0
  51. package/dist/b2b-core-components/p-c1135326.entry.js +1 -0
  52. package/dist/b2b-core-components/p-c3d76d28.entry.js +1 -0
  53. package/dist/b2b-core-components/p-cab7c805.entry.js +1 -0
  54. package/dist/b2b-core-components/p-cc0ad9b7.entry.js +1 -0
  55. package/dist/b2b-core-components/p-d56a8c1a.entry.js +1 -0
  56. package/dist/b2b-core-components/p-d895f199.entry.js +1 -0
  57. package/dist/b2b-core-components/p-e4359302.entry.js +1 -0
  58. package/dist/b2b-core-components/p-ec4f82b1.entry.js +1 -0
  59. package/dist/b2b-core-components/p-f6bd827c.entry.js +1 -0
  60. package/dist/b2b-core-components/p-fbd31067.entry.js +1 -0
  61. package/dist/b2b-core-components/p-fdfdc92d.entry.js +1 -0
  62. package/dist/cjs/b2b-alert.cjs.entry.js +4 -4
  63. package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
  64. package/dist/cjs/b2b-background-box.cjs.entry.js +11 -3
  65. package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
  66. package/dist/cjs/b2b-breadcrumb.cjs.entry.js +1 -1
  67. package/dist/cjs/b2b-button_2.cjs.entry.js +5 -5
  68. package/dist/cjs/b2b-card.cjs.entry.js +1 -1
  69. package/dist/cjs/b2b-checkbox-group.cjs.entry.js +1 -1
  70. package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
  71. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +4 -4
  72. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  73. package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +40 -38
  74. package/dist/cjs/b2b-date-picker.cjs.entry.js +73 -27
  75. package/dist/cjs/b2b-dropdown.cjs.entry.js +3 -3
  76. package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +2 -2
  77. package/dist/cjs/b2b-flyout-menu.cjs.entry.js +4 -4
  78. package/dist/cjs/b2b-grid-col.cjs.entry.js +5 -17
  79. package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
  80. package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
  81. package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
  82. package/dist/cjs/b2b-icon-100.cjs.entry.js +3 -1
  83. package/dist/cjs/b2b-icon-50.cjs.entry.js +1 -1
  84. package/dist/cjs/b2b-icon.cjs.entry.js +1 -1
  85. package/dist/cjs/b2b-input-group_2.cjs.entry.js +5 -5
  86. package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
  87. package/dist/cjs/b2b-input_2.cjs.entry.js +10 -7
  88. package/dist/cjs/b2b-label.cjs.entry.js +3 -3
  89. package/dist/cjs/b2b-modal.cjs.entry.js +3 -3
  90. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +5 -5
  91. package/dist/cjs/b2b-pagination.cjs.entry.js +2 -2
  92. package/dist/cjs/b2b-paragraph.cjs.entry.js +3 -3
  93. package/dist/cjs/b2b-progress-bar.cjs.entry.js +4 -4
  94. package/dist/cjs/b2b-radio-button.cjs.entry.js +3 -3
  95. package/dist/cjs/b2b-radio-group.cjs.entry.js +3 -3
  96. package/dist/cjs/b2b-required-separator.cjs.entry.js +2 -2
  97. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +5 -5
  98. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +2 -2
  99. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  100. package/dist/cjs/b2b-separator.cjs.entry.js +2 -2
  101. package/dist/cjs/b2b-snackbar.cjs.entry.js +111 -0
  102. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  103. package/dist/cjs/b2b-tab-panel.cjs.entry.js +2 -2
  104. package/dist/cjs/b2b-tab.cjs.entry.js +3 -3
  105. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +5 -5
  106. package/dist/cjs/b2b-table-row.cjs.entry.js +21 -10
  107. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +3 -3
  108. package/dist/cjs/b2b-table.cjs.entry.js +3 -3
  109. package/dist/cjs/b2b-textarea.cjs.entry.js +3 -3
  110. package/dist/cjs/b2b-toggle-button.cjs.entry.js +4 -4
  111. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +6 -7
  112. package/dist/cjs/b2b-toggle-group.cjs.entry.js +3 -3
  113. package/dist/cjs/b2b-toggle-switch.cjs.entry.js +5 -5
  114. package/dist/cjs/b2b-tooltip.cjs.entry.js +4 -4
  115. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +3 -3
  116. package/dist/cjs/b2b-wizard-step.cjs.entry.js +3 -3
  117. package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
  118. package/dist/cjs/date-picker-util-8596688b.js +109 -0
  119. package/dist/cjs/index-668808fd.js +8 -4
  120. package/dist/cjs/loader.cjs.js +1 -1
  121. package/dist/collection/collection-manifest.json +1 -0
  122. package/dist/collection/components/alert/alert.css +6 -4
  123. package/dist/collection/components/alert/alert.e2e.js +2 -2
  124. package/dist/collection/components/alert/alert.js +3 -3
  125. package/dist/collection/components/anchor/anchor.css +6 -4
  126. package/dist/collection/components/background-box/background-box.css +18 -4
  127. package/dist/collection/components/background-box/background-box.e2e.js +26 -0
  128. package/dist/collection/components/background-box/background-box.js +82 -2
  129. package/dist/collection/components/background-box/background-box.spec.js +19 -0
  130. package/dist/collection/components/background-box/background-box.stories.js +16 -2
  131. package/dist/collection/components/breadcrumb/breadcrumb.css +6 -4
  132. package/dist/collection/components/button/button.css +6 -4
  133. package/dist/collection/components/button/button.e2e.js +2 -2
  134. package/dist/collection/components/button/button.js +2 -2
  135. package/dist/collection/components/button/button.stories.js +3 -3
  136. package/dist/collection/components/card/card.css +6 -4
  137. package/dist/collection/components/checkbox/checkbox.css +6 -4
  138. package/dist/collection/components/checkbox-group/checkbox-group.css +6 -4
  139. package/dist/collection/components/chip/chip.css +6 -4
  140. package/dist/collection/components/date-picker/date-picker-days-header.css +6 -4
  141. package/dist/collection/components/date-picker/date-picker-days-header.js +27 -3
  142. package/dist/collection/components/date-picker/date-picker-days.css +8 -6
  143. package/dist/collection/components/date-picker/date-picker-days.js +93 -19
  144. package/dist/collection/components/date-picker/date-picker-header.css +9 -7
  145. package/dist/collection/components/date-picker/date-picker-header.js +26 -6
  146. package/dist/collection/components/date-picker/date-picker-months.css +7 -5
  147. package/dist/collection/components/date-picker/date-picker-months.e2e.js +3 -3
  148. package/dist/collection/components/date-picker/date-picker-months.js +22 -2
  149. package/dist/collection/components/date-picker/date-picker-years.css +7 -5
  150. package/dist/collection/components/date-picker/date-picker.css +6 -6
  151. package/dist/collection/components/date-picker/date-picker.js +216 -23
  152. package/dist/collection/components/date-picker/date-picker.stories.js +105 -9
  153. package/dist/collection/components/date-picker/date-picker.types.js +33 -2
  154. package/dist/collection/components/dropdown/dropdown.css +6 -4
  155. package/dist/collection/components/dropdown/dropdown.js +2 -2
  156. package/dist/collection/components/flyout-menu/flyout-menu-option.css +7 -5
  157. package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
  158. package/dist/collection/components/flyout-menu/flyout-menu.css +7 -5
  159. package/dist/collection/components/flyout-menu/flyout-menu.e2e.js +6 -6
  160. package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
  161. package/dist/collection/components/flyout-menu/flyout-menu.stories.js +4 -4
  162. package/dist/collection/components/grid/column.js +5 -17
  163. package/dist/collection/components/grid/grid.js +1 -1
  164. package/dist/collection/components/grid/grid.stories.js +223 -222
  165. package/dist/collection/components/grid/row.js +2 -2
  166. package/dist/collection/components/headline/headline.css +6 -4
  167. package/dist/collection/components/icon/icon.css +6 -4
  168. package/dist/collection/components/icon/icons/b2b_icon-chatbot.svg +2 -20
  169. package/dist/collection/components/icon-100/icon-100.css +6 -4
  170. package/dist/collection/components/icon-100/icon-100.js +1 -1
  171. package/dist/collection/components/icon-100/icons-100/b2b_icon-bullet-list.svg +1 -0
  172. package/dist/collection/components/icon-100/icons-100/b2b_icon-ordered-list.svg +1 -0
  173. package/dist/collection/components/icon-100/types.js +2 -0
  174. package/dist/collection/components/icon-50/icon-50.css +6 -4
  175. package/dist/collection/components/input/input.css +6 -4
  176. package/dist/collection/components/input/input.e2e.js +10 -0
  177. package/dist/collection/components/input/input.js +7 -4
  178. package/dist/collection/components/input/input.stories.js +22 -2
  179. package/dist/collection/components/input-group/input-group.css +6 -4
  180. package/dist/collection/components/input-group/input-group.e2e.js +1 -1
  181. package/dist/collection/components/input-group/input-group.js +1 -1
  182. package/dist/collection/components/input-group/input-group.stories.js +1 -1
  183. package/dist/collection/components/input-label/input-label.js +2 -2
  184. package/dist/collection/components/input-list/input-list-option.js +1 -1
  185. package/dist/collection/components/input-list/input-list.css +8 -6
  186. package/dist/collection/components/input-list/input-list.e2e.js +6 -6
  187. package/dist/collection/components/input-list/input-list.js +2 -2
  188. package/dist/collection/components/label/label.css +6 -4
  189. package/dist/collection/components/label/label.js +2 -2
  190. package/dist/collection/components/modal/modal.css +7 -5
  191. package/dist/collection/components/modal/modal.e2e.js +2 -2
  192. package/dist/collection/components/modal/modal.js +2 -2
  193. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +6 -4
  194. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
  195. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +1 -1
  196. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
  197. package/dist/collection/components/pagination/pagination.css +6 -4
  198. package/dist/collection/components/pagination/pagination.js +1 -1
  199. package/dist/collection/components/paragraph/paragraph.css +6 -4
  200. package/dist/collection/components/paragraph/paragraph.js +2 -2
  201. package/dist/collection/components/progress-bar/progress-bar.css +6 -4
  202. package/dist/collection/components/progress-bar/progress-bar.js +3 -3
  203. package/dist/collection/components/radio/radio.css +6 -4
  204. package/dist/collection/components/radio/radio.e2e.js +3 -2
  205. package/dist/collection/components/radio/radio.js +2 -2
  206. package/dist/collection/components/radio-group/radio-group.css +6 -4
  207. package/dist/collection/components/radio-group/radio-group.e2e.js +4 -3
  208. package/dist/collection/components/radio-group/radio-group.js +2 -2
  209. package/dist/collection/components/required-separator/required-separator.css +6 -4
  210. package/dist/collection/components/required-separator/required-separator.js +1 -1
  211. package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
  212. package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
  213. package/dist/collection/components/rounded-icon/rounded-icon.stories.js +1 -1
  214. package/dist/collection/components/scrollable-container/scrollable-container.css +6 -4
  215. package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
  216. package/dist/collection/components/search/search.js +1 -1
  217. package/dist/collection/components/search/search.stories.js +1 -1
  218. package/dist/collection/components/separator/separator.css +6 -4
  219. package/dist/collection/components/separator/separator.js +1 -1
  220. package/dist/collection/components/snackbar/snackbar.css +337 -0
  221. package/dist/collection/components/snackbar/snackbar.e2e.js +63 -0
  222. package/dist/collection/components/snackbar/snackbar.js +273 -0
  223. package/dist/collection/components/snackbar/snackbar.stories.js +89 -0
  224. package/dist/collection/components/spinner/spinner.css +6 -4
  225. package/dist/collection/components/spinner/spinner.js +1 -1
  226. package/dist/collection/components/tab/tab.css +6 -4
  227. package/dist/collection/components/tab/tab.js +2 -2
  228. package/dist/collection/components/tab-group/tab-group.js +1 -1
  229. package/dist/collection/components/tab-group/tab-group.stories.js +1 -1
  230. package/dist/collection/components/tab-panel/tab-panel.css +6 -4
  231. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  232. package/dist/collection/components/table/table-cell/table-cell.css +6 -4
  233. package/dist/collection/components/table/table-cell/table-cell.js +2 -2
  234. package/dist/collection/components/table/table-header/table-header.css +6 -4
  235. package/dist/collection/components/table/table-header/table-header.js +1 -1
  236. package/dist/collection/components/table/table-row/table-row.css +10 -8
  237. package/dist/collection/components/table/table-row/table-row.js +22 -10
  238. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +6 -4
  239. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +3 -3
  240. package/dist/collection/components/table/table.css +6 -4
  241. package/dist/collection/components/table/table.js +2 -2
  242. package/dist/collection/components/textarea/textarea.css +6 -4
  243. package/dist/collection/components/textarea/textarea.js +2 -2
  244. package/dist/collection/components/toggle-button/toggle-button.css +6 -4
  245. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  246. package/dist/collection/components/toggle-chip/toggle-chip.css +37 -20
  247. package/dist/collection/components/toggle-chip/toggle-chip.js +5 -24
  248. package/dist/collection/components/toggle-chip/toggle-chip.stories.js +51 -0
  249. package/dist/collection/components/toggle-group/toggle-group.css +6 -4
  250. package/dist/collection/components/toggle-group/toggle-group.js +2 -2
  251. package/dist/collection/components/toggle-switch/toggle-switch.css +6 -4
  252. package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
  253. package/dist/collection/components/tooltip/tooltip.css +6 -4
  254. package/dist/collection/components/tooltip/tooltip.js +3 -3
  255. package/dist/collection/components/tooltip/tooltip.stories.js +3 -3
  256. package/dist/collection/components/wizard/wizard-step.js +2 -2
  257. package/dist/collection/components/wizard/wizard.css +6 -4
  258. package/dist/collection/components/wizard/wizard.js +1 -1
  259. package/dist/collection/components/wizard-icon/wizard-icon.css +6 -4
  260. package/dist/collection/components/wizard-icon/wizard-icon.js +2 -2
  261. package/dist/collection/utils/datepicker/date-picker-util.js +48 -0
  262. package/dist/components/b2b-alert.js +7 -7
  263. package/dist/components/b2b-anchor.js +1 -1
  264. package/dist/components/b2b-background-box.js +16 -4
  265. package/dist/components/b2b-breadcrumb-item.js +1 -1
  266. package/dist/components/b2b-breadcrumb.js +1 -1
  267. package/dist/components/b2b-card.js +1 -1
  268. package/dist/components/b2b-checkbox-group.js +1 -1
  269. package/dist/components/b2b-date-picker.js +85 -27
  270. package/dist/components/b2b-dropdown.js +3 -3
  271. package/dist/components/b2b-flyout-menu-option.js +2 -2
  272. package/dist/components/b2b-flyout-menu.js +4 -4
  273. package/dist/components/b2b-grid-col.js +5 -17
  274. package/dist/components/b2b-grid-row.js +2 -2
  275. package/dist/components/b2b-grid.js +1 -1
  276. package/dist/components/b2b-icon-100.js +1 -409
  277. package/dist/components/b2b-icon-50.js +1 -1
  278. package/dist/components/b2b-icon.js +444 -1
  279. package/dist/components/b2b-label.js +3 -3
  280. package/dist/components/b2b-modal.js +6 -6
  281. package/dist/components/b2b-multiselect-dropdown.js +8 -8
  282. package/dist/components/b2b-pagination.js +2 -2
  283. package/dist/components/b2b-paragraph.js +3 -3
  284. package/dist/components/b2b-progress-bar.js +4 -4
  285. package/dist/components/b2b-radio-button.js +3 -3
  286. package/dist/components/b2b-radio-group.js +3 -3
  287. package/dist/components/b2b-required-separator.js +2 -2
  288. package/dist/components/b2b-scrollable-container.js +2 -2
  289. package/dist/components/b2b-search.js +4 -4
  290. package/dist/components/b2b-snackbar.d.ts +11 -0
  291. package/dist/components/b2b-snackbar.js +141 -0
  292. package/dist/components/b2b-tab-group.js +1 -1
  293. package/dist/components/b2b-tab-panel.js +2 -2
  294. package/dist/components/b2b-tab.js +3 -3
  295. package/dist/components/b2b-table-row.js +25 -13
  296. package/dist/components/b2b-table-rowgroup.js +4 -4
  297. package/dist/components/b2b-table.js +3 -3
  298. package/dist/components/b2b-textarea.js +3 -3
  299. package/dist/components/b2b-toggle-button.js +4 -4
  300. package/dist/components/b2b-toggle-chip.js +6 -8
  301. package/dist/components/b2b-toggle-group.js +3 -3
  302. package/dist/components/b2b-toggle-switch.js +5 -5
  303. package/dist/components/b2b-tooltip.js +4 -4
  304. package/dist/components/b2b-wizard-step.js +6 -6
  305. package/dist/components/b2b-wizard.js +2 -2
  306. package/dist/components/button.js +3 -3
  307. package/dist/components/checkbox.js +1 -1
  308. package/dist/components/chip.js +1 -1
  309. package/dist/components/date-picker-days-header.js +9 -5
  310. package/dist/components/date-picker-days.js +70 -21
  311. package/dist/components/date-picker-header.js +14 -11
  312. package/dist/components/date-picker-months.js +7 -4
  313. package/dist/components/date-picker-years.js +1 -1
  314. package/dist/components/date-picker.types.js +34 -3
  315. package/dist/components/headline.js +1 -1
  316. package/dist/components/{icon.js → icon-100.js} +23 -56
  317. package/dist/components/input-group.js +2 -2
  318. package/dist/components/input-label.js +2 -2
  319. package/dist/components/input-list-option.js +2 -2
  320. package/dist/components/input-list.js +6 -6
  321. package/dist/components/input.js +8 -5
  322. package/dist/components/multiselect-option.js +3 -3
  323. package/dist/components/rounded-icon.js +5 -5
  324. package/dist/components/separator.js +2 -2
  325. package/dist/components/spinner.js +2 -2
  326. package/dist/components/table-cell.js +3 -3
  327. package/dist/components/table-header.js +2 -2
  328. package/dist/components/wizard-icon.js +6 -6
  329. package/dist/custom-elements.json +183 -13
  330. package/dist/esm/b2b-alert.entry.js +4 -4
  331. package/dist/esm/b2b-anchor.entry.js +1 -1
  332. package/dist/esm/b2b-background-box.entry.js +11 -3
  333. package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
  334. package/dist/esm/b2b-breadcrumb.entry.js +1 -1
  335. package/dist/esm/b2b-button_2.entry.js +5 -5
  336. package/dist/esm/b2b-card.entry.js +1 -1
  337. package/dist/esm/b2b-checkbox-group.entry.js +1 -1
  338. package/dist/esm/b2b-checkbox.entry.js +1 -1
  339. package/dist/esm/b2b-chip-component_2.entry.js +4 -4
  340. package/dist/esm/b2b-core-components.js +1 -1
  341. package/dist/esm/b2b-date-picker-days_5.entry.js +35 -33
  342. package/dist/esm/b2b-date-picker.entry.js +69 -23
  343. package/dist/esm/b2b-dropdown.entry.js +3 -3
  344. package/dist/esm/b2b-flyout-menu-option.entry.js +2 -2
  345. package/dist/esm/b2b-flyout-menu.entry.js +4 -4
  346. package/dist/esm/b2b-grid-col.entry.js +5 -17
  347. package/dist/esm/b2b-grid-row.entry.js +2 -2
  348. package/dist/esm/b2b-grid.entry.js +1 -1
  349. package/dist/esm/b2b-headline.entry.js +1 -1
  350. package/dist/esm/b2b-icon-100.entry.js +3 -1
  351. package/dist/esm/b2b-icon-50.entry.js +1 -1
  352. package/dist/esm/b2b-icon.entry.js +1 -1
  353. package/dist/esm/b2b-input-group_2.entry.js +5 -5
  354. package/dist/esm/b2b-input-label.entry.js +2 -2
  355. package/dist/esm/b2b-input_2.entry.js +10 -7
  356. package/dist/esm/b2b-label.entry.js +3 -3
  357. package/dist/esm/b2b-modal.entry.js +3 -3
  358. package/dist/esm/b2b-multiselect-dropdown.entry.js +5 -5
  359. package/dist/esm/b2b-pagination.entry.js +2 -2
  360. package/dist/esm/b2b-paragraph.entry.js +3 -3
  361. package/dist/esm/b2b-progress-bar.entry.js +4 -4
  362. package/dist/esm/b2b-radio-button.entry.js +3 -3
  363. package/dist/esm/b2b-radio-group.entry.js +3 -3
  364. package/dist/esm/b2b-required-separator.entry.js +2 -2
  365. package/dist/esm/b2b-rounded-icon.entry.js +5 -5
  366. package/dist/esm/b2b-scrollable-container.entry.js +2 -2
  367. package/dist/esm/b2b-search.entry.js +1 -1
  368. package/dist/esm/b2b-separator.entry.js +2 -2
  369. package/dist/esm/b2b-snackbar.entry.js +107 -0
  370. package/dist/esm/b2b-tab-group.entry.js +1 -1
  371. package/dist/esm/b2b-tab-panel.entry.js +2 -2
  372. package/dist/esm/b2b-tab.entry.js +3 -3
  373. package/dist/esm/b2b-table-cell_2.entry.js +5 -5
  374. package/dist/esm/b2b-table-row.entry.js +21 -10
  375. package/dist/esm/b2b-table-rowgroup.entry.js +3 -3
  376. package/dist/esm/b2b-table.entry.js +3 -3
  377. package/dist/esm/b2b-textarea.entry.js +3 -3
  378. package/dist/esm/b2b-toggle-button.entry.js +4 -4
  379. package/dist/esm/b2b-toggle-chip.entry.js +6 -7
  380. package/dist/esm/b2b-toggle-group.entry.js +3 -3
  381. package/dist/esm/b2b-toggle-switch.entry.js +5 -5
  382. package/dist/esm/b2b-tooltip.entry.js +4 -4
  383. package/dist/esm/b2b-wizard-icon.entry.js +3 -3
  384. package/dist/esm/b2b-wizard-step.entry.js +3 -3
  385. package/dist/esm/b2b-wizard.entry.js +2 -2
  386. package/dist/esm/date-picker-util-10878a70.js +103 -0
  387. package/dist/esm/index-ab9eb36d.js +8 -4
  388. package/dist/esm/loader.js +1 -1
  389. package/dist/types/components/background-box/background-box.d.ts +8 -0
  390. package/dist/types/components/background-box/background-box.stories.d.ts +1 -0
  391. package/dist/types/components/date-picker/date-picker-days-header.d.ts +2 -0
  392. package/dist/types/components/date-picker/date-picker-days.d.ts +8 -1
  393. package/dist/types/components/date-picker/date-picker-header.d.ts +2 -0
  394. package/dist/types/components/date-picker/date-picker-months.d.ts +2 -0
  395. package/dist/types/components/date-picker/date-picker.d.ts +24 -2
  396. package/dist/types/components/date-picker/date-picker.stories.d.ts +8 -0
  397. package/dist/types/components/date-picker/date-picker.types.d.ts +4 -2
  398. package/dist/types/components/grid/grid.stories.d.ts +8 -7
  399. package/dist/types/components/icon-100/types.d.ts +1 -1
  400. package/dist/types/components/input/input.d.ts +2 -0
  401. package/dist/types/components/input/input.stories.d.ts +1 -0
  402. package/dist/types/components/snackbar/snackbar.d.ts +36 -0
  403. package/dist/types/components/snackbar/snackbar.stories.d.ts +9 -0
  404. package/dist/types/components/table/table-row/table-row.d.ts +4 -2
  405. package/dist/types/components/toggle-chip/toggle-chip.d.ts +0 -2
  406. package/dist/types/components/toggle-chip/toggle-chip.stories.d.ts +8 -0
  407. package/dist/types/components/tooltip/tooltip.stories.d.ts +2 -2
  408. package/dist/types/components.d.ts +270 -9
  409. package/dist/types/utils/datepicker/date-picker-util.d.ts +14 -0
  410. package/dist/web-types.json +295 -16
  411. package/package.json +3 -2
  412. package/dist/b2b-core-components/p-00700a00.entry.js +0 -1
  413. package/dist/b2b-core-components/p-029da6d8.entry.js +0 -1
  414. package/dist/b2b-core-components/p-0dc06432.entry.js +0 -1
  415. package/dist/b2b-core-components/p-0f2249e0.entry.js +0 -1
  416. package/dist/b2b-core-components/p-101e08d9.entry.js +0 -1
  417. package/dist/b2b-core-components/p-11e5143c.entry.js +0 -1
  418. package/dist/b2b-core-components/p-1525a056.entry.js +0 -1
  419. package/dist/b2b-core-components/p-15a24ba4.entry.js +0 -1
  420. package/dist/b2b-core-components/p-164d8803.entry.js +0 -1
  421. package/dist/b2b-core-components/p-19b13dcc.entry.js +0 -1
  422. package/dist/b2b-core-components/p-1b7201e1.entry.js +0 -1
  423. package/dist/b2b-core-components/p-1c048a27.entry.js +0 -1
  424. package/dist/b2b-core-components/p-1c8825d1.entry.js +0 -1
  425. package/dist/b2b-core-components/p-1e8416a3.entry.js +0 -1
  426. package/dist/b2b-core-components/p-2b214797.entry.js +0 -1
  427. package/dist/b2b-core-components/p-2bab8c7f.entry.js +0 -1
  428. package/dist/b2b-core-components/p-2de83995.entry.js +0 -1
  429. package/dist/b2b-core-components/p-33ba40ee.entry.js +0 -1
  430. package/dist/b2b-core-components/p-3665d675.entry.js +0 -1
  431. package/dist/b2b-core-components/p-376ba9ef.entry.js +0 -1
  432. package/dist/b2b-core-components/p-3ffba273.entry.js +0 -1
  433. package/dist/b2b-core-components/p-441657b2.js +0 -1
  434. package/dist/b2b-core-components/p-56573a91.entry.js +0 -1
  435. package/dist/b2b-core-components/p-57d487e2.entry.js +0 -1
  436. package/dist/b2b-core-components/p-67ad8770.entry.js +0 -1
  437. package/dist/b2b-core-components/p-68a836cb.entry.js +0 -1
  438. package/dist/b2b-core-components/p-6e031b32.entry.js +0 -1
  439. package/dist/b2b-core-components/p-72e23a4e.entry.js +0 -1
  440. package/dist/b2b-core-components/p-799b194b.entry.js +0 -1
  441. package/dist/b2b-core-components/p-7a9088d2.entry.js +0 -1
  442. package/dist/b2b-core-components/p-7b711ed3.entry.js +0 -1
  443. package/dist/b2b-core-components/p-7e59c92f.entry.js +0 -1
  444. package/dist/b2b-core-components/p-869095a0.entry.js +0 -1
  445. package/dist/b2b-core-components/p-8fc792f9.entry.js +0 -1
  446. package/dist/b2b-core-components/p-931c9dc7.entry.js +0 -1
  447. package/dist/b2b-core-components/p-947f2e2c.entry.js +0 -1
  448. package/dist/b2b-core-components/p-9a0a4a74.entry.js +0 -1
  449. package/dist/b2b-core-components/p-9fc53916.entry.js +0 -1
  450. package/dist/b2b-core-components/p-a0c1c775.entry.js +0 -1
  451. package/dist/b2b-core-components/p-a37ad232.entry.js +0 -1
  452. package/dist/b2b-core-components/p-acc7ae99.entry.js +0 -1
  453. package/dist/b2b-core-components/p-ad99ec44.entry.js +0 -1
  454. package/dist/b2b-core-components/p-c03d0533.entry.js +0 -1
  455. package/dist/b2b-core-components/p-d0e8d48b.entry.js +0 -1
  456. package/dist/b2b-core-components/p-d0e930f2.entry.js +0 -1
  457. package/dist/b2b-core-components/p-d42c90d1.entry.js +0 -1
  458. package/dist/b2b-core-components/p-d51551c9.entry.js +0 -1
  459. package/dist/b2b-core-components/p-db67d6f7.entry.js +0 -1
  460. package/dist/b2b-core-components/p-e1d7f335.entry.js +0 -1
  461. package/dist/b2b-core-components/p-f5fa0721.entry.js +0 -1
  462. package/dist/b2b-core-components/p-f6fa3212.entry.js +0 -1
  463. package/dist/b2b-core-components/p-f8cf06c5.entry.js +0 -1
  464. package/dist/cjs/date-picker.types-79f4bba0.js +0 -26
  465. package/dist/esm/date-picker.types-e21b2096.js +0 -23
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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);
@@ -3,6 +3,7 @@ import { TableColourOptions, TableSizes, } from "../../../utils/types/table.type
3
3
  import { isFirstRow } from "../utils";
4
4
  export class TableRowComponent {
5
5
  constructor() {
6
+ this.parentRowGroup = null;
6
7
  this.toggleOpen = () => {
7
8
  this.isOpen = !this.isOpen;
8
9
  this.b2bOpen.emit(this.isOpen);
@@ -18,7 +19,7 @@ export class TableRowComponent {
18
19
  });
19
20
  };
20
21
  this.getRowColor = () => {
21
- if (this.isAccordion() &&
22
+ if (this.isAccordionValue &&
22
23
  isFirstRow(this.hostElement) &&
23
24
  !this.isHeader()) {
24
25
  return TableColourOptions.GROUP;
@@ -33,9 +34,6 @@ export class TableRowComponent {
33
34
  this.getParentRowGroup = () => {
34
35
  return this.hostElement.closest('b2b-table-rowgroup');
35
36
  };
36
- this.isAccordion = () => {
37
- return this.getParentRowGroup().hasAttribute('accordion');
38
- };
39
37
  this.isHeader = () => {
40
38
  return this.getParentRowGroup().type === 'header';
41
39
  };
@@ -51,16 +49,16 @@ export class TableRowComponent {
51
49
  }
52
50
  };
53
51
  this.getAccordionColumns = () => {
54
- if (this.isAccordion() && !this.isHeader()) {
52
+ if (this.isAccordionValue && !this.isHeader()) {
55
53
  if (isFirstRow(this.hostElement)) {
56
54
  return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
57
55
  'b2b-table-row__accordion-icon': true,
58
56
  'b2b-table-row__accordion-icon--open': this.isOpen,
59
- } }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true }))));
57
+ } }, h("b2b-icon-100", { icon: "b2b_icon-arrow-right", clickable: true }))));
60
58
  }
61
59
  return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
62
60
  }
63
- else if (this.isAccordion() && this.isHeader()) {
61
+ else if (this.isAccordionValue && this.isHeader()) {
64
62
  return (h("b2b-table-header", { class: "b2b-table-row__control-cell--accordion" }));
65
63
  }
66
64
  };
@@ -71,6 +69,7 @@ export class TableRowComponent {
71
69
  this.value = undefined;
72
70
  this.indeterminate = false;
73
71
  this.checked = false;
72
+ this.isAccordionValue = false;
74
73
  this.isOpen = false;
75
74
  }
76
75
  toggleSelected(event) {
@@ -97,14 +96,26 @@ export class TableRowComponent {
97
96
  this.getParentRowGroup().type !== 'header') {
98
97
  console.warn('You need to associate a value with the row as a unique identifier.');
99
98
  }
99
+ this.findParentAndObserve();
100
+ }
101
+ findParentAndObserve() {
102
+ var _a;
103
+ this.parentRowGroup = this.hostElement.closest('b2b-table-rowgroup');
104
+ if (this.parentRowGroup !== undefined && this.parentRowGroup !== null) {
105
+ this.isAccordionValue =
106
+ ((_a = this.parentRowGroup) === null || _a === void 0 ? void 0 : _a.hasAttribute('accordion')) || false;
107
+ }
108
+ else {
109
+ console.warn('Parent b2b-table-rowgroup not found!');
110
+ }
100
111
  }
101
112
  render() {
102
- return (h(Host, { key: 'f92b4349e74b6f9f4ff5da3661a268c0554cacf1', class: {
113
+ return (h(Host, { key: '46eb2abeb36b2127b2b29d97052cc0ed562267de', class: {
103
114
  'b2b-table-row': true,
104
115
  ['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
105
116
  ['b2b-table-row--highlight']: this.highlight,
106
117
  [`b2b-table-row--color-${this.getRowColor()}`]: true,
107
- }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '08f7b690c3b0a7ae8e8083254b9a975989306e57' })));
118
+ }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'caa67e57aee33113c108fe561722c9a72ba5fa3a' })));
108
119
  }
109
120
  static get is() { return "b2b-table-row"; }
110
121
  static get encapsulation() { return "shadow"; }
@@ -265,6 +276,7 @@ export class TableRowComponent {
265
276
  }
266
277
  static get states() {
267
278
  return {
279
+ "isAccordionValue": {},
268
280
  "isOpen": {}
269
281
  };
270
282
  }
@@ -292,7 +304,7 @@ export class TableRowComponent {
292
304
  "composed": true,
293
305
  "docs": {
294
306
  "tags": [],
295
- "text": "Emits if the row is selectable and it is selected or unselected. Emits both unique value and the checkbox status."
307
+ "text": "Emits if the row is selectable and if it is selected or unselected. Emits both unique value and the checkbox status."
296
308
  },
297
309
  "complexType": {
298
310
  "original": "CheckboxEventDetail",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: '4dd4d9fe40cbb15bbbdd8aeff90d31372da60cdd', 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: 'd4492ca4f42bde66052ed61c9d3bfebc74e790e7' })));
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"; }
@@ -198,7 +198,7 @@ export class TableRowgroupComponent {
198
198
  "text": "Renders the rowgroup as an accordion. Both header and body must have accordion set to true.\nOne table can contain multiple rowgroups of type body, each of which represents an accordion row with children."
199
199
  },
200
200
  "attribute": "accordion",
201
- "reflect": false,
201
+ "reflect": true,
202
202
  "defaultValue": "false"
203
203
  },
204
204
  "selectable": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: '70f900f2160167e3f808c9c432cfa3bb134624c0', class: {
63
+ return (h(Host, { key: '7963f5d1f9e2ff75a7f5778af3a9384669d15b59', class: {
64
64
  ['b2b-table--' + this.size]: true,
65
- }, role: "table" }, h("slot", { key: 'c0b35190bb004dd3332e3b2bb856e30a1adee829' })));
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 Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: 'adf829a538a8234008981a3f1a56d5f370b859ec', 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: 'c64d67fb1eb2a7552643815f10b139d34a7a46bd', 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 Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: '72a27c904d091619da19fb5dab2da588326688df', onClick: this.onClick }, h("span", { key: '165c0254153fa4a3bff6d76f58f844830344f8c2', 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: '0d6ee278d5db9f360e7ab466daeaebced17063e6', 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: 'f073f01258465886c9fe70e99692ffee84db38bc', 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 Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: '521c77d6f300a1e0a3f978a6645c37f7ca3a7aeb' }, h("span", { key: '73ee23bfcf46564a32afac2892479830c25b81b8', 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: '1b0fa2b361fc41d011e7d71d56dc48c614cc478a', "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: '6de8f234f543595ab2995854c1f995ce1c724f8b', 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 Tue, 21 Jan 2025 10:05:32 GMT
3
+ * Generated on Tue, 18 Feb 2025 12:27:58 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 Tue, 21 Jan 2025 10:05:32 GMT
126
+ * Generated on Tue, 18 Feb 2025 12:27:58 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: 'e81f98de29ab06594da8b9e19e68f4ec9f3c878f' }, h("div", { key: 'a590585c94ab40ea54abd08031ab9b1482bc4a78', 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: 'f8a20fb30c7b5fd958171f91a2219a2efbd7a5ca' }, h("slot", { key: '3e0bc10d09053d008a9d771721c57463ce437e27' })))));
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"; }