@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
@@ -3,13 +3,21 @@ export class BackgroundBoxComponent {
3
3
  constructor() {
4
4
  this.fixedWidth = false;
5
5
  this.noPadding = false;
6
+ this.borderTop = 'default';
7
+ this.borderRight = 'default';
8
+ this.borderBottom = 'default';
9
+ this.borderLeft = 'default';
6
10
  }
7
11
  render() {
8
- return (h(Host, { key: '1f8a3145f20472c4dff860e0f7d6c8da53c01b68', class: {
12
+ return (h(Host, { key: '74f2133140f10daf4130d42400afe779b51328ba', class: {
9
13
  'b2b-background-box': true,
10
14
  'b2b-background-box--fixed-width': this.fixedWidth,
11
15
  'b2b-background-box--no-padding': this.noPadding,
12
- } }, h("slot", { key: '102e4dcc6ebfc7da635876a17f8c26abfeff6bda' })));
16
+ 'b2b-background-box--hide-border-top': this.borderTop === 'none',
17
+ 'b2b-background-box--hide-border-right': this.borderRight === 'none',
18
+ 'b2b-background-box--hide-border-bottom': this.borderBottom === 'none',
19
+ 'b2b-background-box--hide-border-left': this.borderLeft === 'none',
20
+ } }, h("slot", { key: '0762108f2b1305b4a158ea346ebb1f9ba17cb45b' })));
13
21
  }
14
22
  static get is() { return "b2b-background-box"; }
15
23
  static get encapsulation() { return "shadow"; }
@@ -60,6 +68,78 @@ export class BackgroundBoxComponent {
60
68
  "attribute": "no-padding",
61
69
  "reflect": false,
62
70
  "defaultValue": "false"
71
+ },
72
+ "borderTop": {
73
+ "type": "string",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "'default' | 'none'",
77
+ "resolved": "\"default\" | \"none\"",
78
+ "references": {}
79
+ },
80
+ "required": false,
81
+ "optional": false,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": "Whether the box should have a top border. Per default, the border is enabled"
85
+ },
86
+ "attribute": "border-top",
87
+ "reflect": false,
88
+ "defaultValue": "'default'"
89
+ },
90
+ "borderRight": {
91
+ "type": "string",
92
+ "mutable": false,
93
+ "complexType": {
94
+ "original": "'default' | 'none'",
95
+ "resolved": "\"default\" | \"none\"",
96
+ "references": {}
97
+ },
98
+ "required": false,
99
+ "optional": false,
100
+ "docs": {
101
+ "tags": [],
102
+ "text": "Whether the box should have a right border. Per default, the border is enabled"
103
+ },
104
+ "attribute": "border-right",
105
+ "reflect": false,
106
+ "defaultValue": "'default'"
107
+ },
108
+ "borderBottom": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "'default' | 'none'",
113
+ "resolved": "\"default\" | \"none\"",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "Whether the box should have a bottom border. Per default, the border is enabled"
121
+ },
122
+ "attribute": "border-bottom",
123
+ "reflect": false,
124
+ "defaultValue": "'default'"
125
+ },
126
+ "borderLeft": {
127
+ "type": "string",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "'default' | 'none'",
131
+ "resolved": "\"default\" | \"none\"",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "Whether the box should have a left border. Per default, the border is enabled"
139
+ },
140
+ "attribute": "border-left",
141
+ "reflect": false,
142
+ "defaultValue": "'default'"
63
143
  }
64
144
  };
65
145
  }
@@ -43,3 +43,22 @@ it('should render the background box without padding', async () => {
43
43
  </b2b-background-box>
44
44
  `);
45
45
  });
46
+ it('should render with no borders when specified', async () => {
47
+ const page = await newSpecPage({
48
+ components: [BackgroundBoxComponent],
49
+ template: () => (h("b2b-background-box", { "border-top": "none", "border-right": "none", "border-bottom": "none", "border-left": "none" }, "B2B Background Box")),
50
+ });
51
+ expect(page.root).toEqualHtml(`
52
+ <b2b-background-box
53
+ class="b2b-background-box b2b-background-box--hide-border-top b2b-background-box--hide-border-right b2b-background-box--hide-border-bottom b2b-background-box--hide-border-left"
54
+ border-top="none"
55
+ border-right="none"
56
+ border-bottom="none"
57
+ border-left="none">
58
+ <mock:shadow-root>
59
+ <slot></slot>
60
+ </mock:shadow-root>
61
+ B2B Background Box
62
+ </b2b-background-box>
63
+ `);
64
+ });
@@ -15,13 +15,24 @@ import { getArgTypes } from "../../docs/config/utils";
15
15
  const meta = {
16
16
  title: 'Components/Utilities/Background Box',
17
17
  component: 'b2b-background-box',
18
- args: { fixedWidth: false, noPadding: false },
18
+ args: {
19
+ fixedWidth: false,
20
+ noPadding: false,
21
+ borderTop: 'default',
22
+ borderRight: 'default',
23
+ borderBottom: 'default',
24
+ borderLeft: 'default',
25
+ },
19
26
  argTypes: getArgTypes('b2b-background-box'),
20
27
  render: (_a) => {
21
28
  var args = __rest(_a, []);
22
29
  return html ` <b2b-background-box
23
30
  fixed-width="${args.fixedWidth}"
24
- no-padding="${args.noPadding}">
31
+ no-padding="${args.noPadding}"
32
+ border-top="${args.borderTop}"
33
+ border-right="${args.borderRight}"
34
+ border-bottom="${args.borderBottom}"
35
+ border-left="${args.borderLeft}">
25
36
  <b2b-paragraph>
26
37
  The BackgroundBox component adjusts its width and padding based on two
27
38
  properties: fixedWidth and noPadding. When fixedWidth is true, the box has
@@ -37,6 +48,9 @@ export default meta;
37
48
  export const Default = {
38
49
  args: Object.assign({}, meta.args),
39
50
  };
51
+ export const BorderControl = {
52
+ args: Object.assign(Object.assign({}, meta.args), { borderTop: 'none' }),
53
+ };
40
54
  export const FixedWidth = {
41
55
  args: Object.assign(Object.assign({}, meta.args), { fixedWidth: true }),
42
56
  };
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 21 Jan 2025 10:05:32 GMT
4
+ * Generated on Tue, 18 Feb 2025 12:27:58 GMT
5
5
  */
6
6
  :root, :host {
7
7
  --b2b-size-200: 5rem; /* 80px */
@@ -36,7 +36,8 @@
36
36
  --b2b-color-table-selected-default: #cce9ff;
37
37
  --b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
38
38
  --b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
39
- --b2b-color-hover: #e6f4ff;
39
+ --b2b-color-hover-black: #3b3b3b;
40
+ --b2b-color-hover-default: #e6f4ff;
40
41
  --b2b-color-info-100: #003264;
41
42
  --b2b-color-info-50: #ccd6e0;
42
43
  --b2b-color-success-100: #326400;
@@ -123,7 +124,7 @@
123
124
  }
124
125
  /**
125
126
  * Do not edit directly
126
- * Generated on Tue, 21 Jan 2025 10:05:32 GMT
127
+ * Generated on Tue, 18 Feb 2025 12:27:58 GMT
127
128
  */
128
129
  :root [data-theme="dark"] {
129
130
  --b2b-size-200: 5rem; /* 80px */
@@ -154,7 +155,8 @@
154
155
  --b2b-font-weight-normal: 500;
155
156
  --b2b-font-weight-thin: 100;
156
157
  --b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
157
- --b2b-color-hover: #e6f4ff;
158
+ --b2b-color-hover-black: #3b3b3b;
159
+ --b2b-color-hover-default: #e6f4ff;
158
160
  --b2b-color-info-100: #003264;
159
161
  --b2b-color-info-50: #ccd6e0;
160
162
  --b2b-color-success-100: #326400;
@@ -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;
@@ -49,7 +49,7 @@ describe('B2B-Button', () => {
49
49
  it('should reduce padding on the button if there is only an icon', async () => {
50
50
  page = await newE2EPage();
51
51
  await page.setContent(`<b2b-button variant="primary" size="100">
52
- <b2b-icon slot="end" icon="b2b_icon-check" size="100"></b2b-icon>
52
+ <b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
53
53
  </b2b-button>`);
54
54
  const button = await page.find('b2b-button');
55
55
  expect(button).toHaveClass('b2b-button--icon-only');
@@ -58,7 +58,7 @@ describe('B2B-Button', () => {
58
58
  page = await newE2EPage();
59
59
  await page.setContent(`<b2b-button variant="primary" size="100">
60
60
  <span>Hello World</span>
61
- <b2b-icon slot="end" icon="b2b_icon-check" size="100"></b2b-icon>
61
+ <b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
62
62
  </b2b-button>`);
63
63
  const button = await page.find('b2b-button');
64
64
  expect(button).not.toHaveClass('b2b-button--icon-only');
@@ -9,7 +9,7 @@ export class ButtonComponent {
9
9
  if (children.length === 1) {
10
10
  // even no chars or child nodes will return white space, so we need to trim
11
11
  if (this.hostElement.textContent.trim().length === 0) {
12
- if (children[0].tagName.toLowerCase() === 'b2b-icon') {
12
+ if (children[0].tagName.toLowerCase() === 'b2b-icon-100') {
13
13
  return true;
14
14
  }
15
15
  else if (children[0].tagName.toLowerCase() === 'i') {
@@ -59,7 +59,7 @@ export class ButtonComponent {
59
59
  return (h("div", { class: "b2b-button__spinner" }, h("b2b-spinner", { color: spinnerColor, size: "50" })));
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: '8ec121e0aaf8632f3d097490859f7c1b973f9584', class: {
62
+ return (h(Host, { key: '4050874af416fc23c0d67dc335aacb005f0d2279', class: {
63
63
  [`b2b-button--loading`]: this.canLoad(),
64
64
  [`b2b-button--${this.size}`]: true,
65
65
  [`b2b-button--active`]: this.active,
@@ -59,7 +59,7 @@ export const IconStart = {
59
59
  disabled="${args.disabled}"
60
60
  loading="${args.loading}"
61
61
  type="${args.type}">
62
- <b2b-icon slot="start" icon="b2b_icon-check" size="100"></b2b-icon>
62
+ <b2b-icon-100 slot="start" icon="b2b_icon-check"></b2b-icon-100>
63
63
  ${args.label}
64
64
  </b2b-button>`;
65
65
  },
@@ -75,7 +75,7 @@ export const IconEnd = {
75
75
  loading="${args.loading}"
76
76
  type="${args.type}">
77
77
  ${args.label}
78
- <b2b-icon slot="end" icon="b2b_icon-check" size="100"></b2b-icon>
78
+ <b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
79
79
  </b2b-button>`;
80
80
  },
81
81
  };
@@ -104,7 +104,7 @@ export const IconOnly = {
104
104
  disabled="${args.disabled}"
105
105
  loading="${args.loading}"
106
106
  type="${args.type}">
107
- <b2b-icon slot="end" icon="b2b_icon-search" size="100"></b2b-icon>
107
+ <b2b-icon-100 slot="end" icon="b2b_icon-search"></b2b-icon-100>
108
108
  </b2b-button>`;
109
109
  },
110
110
  };
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -1,17 +1,19 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { Weekdays } from "./date-picker.types";
2
+ import { WeekdaysEnglish, WeekdaysGerman } from "./date-picker.types";
3
3
  export class B2bDatePickerDaysHeader {
4
4
  constructor() {
5
5
  this.displayWeekDays = () => {
6
6
  let renderWeekDays = [];
7
- Weekdays.forEach(day => {
7
+ const weekdays = this.language === 'en' ? WeekdaysEnglish : WeekdaysGerman;
8
+ weekdays.forEach(day => {
8
9
  renderWeekDays.push(h("div", { class: "b2b-date-picker-day" }, day));
9
10
  });
10
11
  return renderWeekDays;
11
12
  };
13
+ this.language = 'de';
12
14
  }
13
15
  render() {
14
- return (h(Host, { key: 'dd19aa810becf64b496f66534c7e81cff239507a' }, h("div", { key: '75a38a70e3152892458ab53116f9ed44487aaba6', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
16
+ return (h(Host, { key: '8bd0553cd895ce7e94375947d7bed153d20bf55d' }, h("div", { key: '285b470407c87af25be5c9e34e35d38ba44e9b37', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
15
17
  }
16
18
  static get is() { return "b2b-date-picker-days-header"; }
17
19
  static get encapsulation() { return "shadow"; }
@@ -25,5 +27,27 @@ export class B2bDatePickerDaysHeader {
25
27
  "$": ["date-picker-days-header.css"]
26
28
  };
27
29
  }
30
+ static get properties() {
31
+ return {
32
+ "language": {
33
+ "type": "string",
34
+ "mutable": false,
35
+ "complexType": {
36
+ "original": "'de' | 'en'",
37
+ "resolved": "\"de\" | \"en\"",
38
+ "references": {}
39
+ },
40
+ "required": false,
41
+ "optional": false,
42
+ "docs": {
43
+ "tags": [],
44
+ "text": "Internal the language for month and the weekdays will be decided based on the given input. By default, this will be de which is german"
45
+ },
46
+ "attribute": "language",
47
+ "reflect": false,
48
+ "defaultValue": "'de'"
49
+ }
50
+ };
51
+ }
28
52
  static get elementRef() { return "host"; }
29
53
  }
@@ -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;
@@ -235,7 +237,7 @@
235
237
  cursor: pointer;
236
238
  }
237
239
  .b2b-date-picker-days .b2b-date-picker-day:hover, .b2b-date-picker-days .b2b-date-picker-day:focus {
238
- background-color: var(--b2b-color-hover);
240
+ background-color: var(--b2b-color-hover-default);
239
241
  }
240
242
  .b2b-date-picker-days .b2b-date-picker-day--disabled {
241
243
  border-radius: 5px;
@@ -255,5 +257,5 @@
255
257
  width: 100%;
256
258
  }
257
259
  .b2b-date-picker-days .b2b-date-picker-day--focussed {
258
- background-color: var(--b2b-color-hover);
260
+ background-color: var(--b2b-color-hover-default);
259
261
  }