@otto-de/b2b-core-components 1.17.0 → 1.19.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 (355) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/icons/b2b_icon-light-bulb.svg +2 -2
  3. package/dist/b2b-core-components/icons/b2b_icon-module-operations.svg +3 -1
  4. package/dist/b2b-core-components/icons-100/b2b_icon-light-bulb.svg +2 -2
  5. package/dist/b2b-core-components/icons-100/b2b_icon-module-operations.svg +3 -1
  6. package/dist/b2b-core-components/p-00700a00.entry.js +1 -0
  7. package/dist/b2b-core-components/{p-8c534264.entry.js → p-029da6d8.entry.js} +1 -1
  8. package/dist/b2b-core-components/{p-d1a46a6d.entry.js → p-0af31837.entry.js} +1 -1
  9. package/dist/b2b-core-components/{p-29e0db6c.entry.js → p-0e7e3e44.entry.js} +1 -1
  10. package/dist/b2b-core-components/p-101e08d9.entry.js +1 -0
  11. package/dist/b2b-core-components/{p-53bdbd74.entry.js → p-1135d0ce.entry.js} +1 -1
  12. package/dist/b2b-core-components/{p-7b2948aa.entry.js → p-171722c3.entry.js} +1 -1
  13. package/dist/b2b-core-components/{p-bb0e35c5.entry.js → p-1887174e.entry.js} +1 -1
  14. package/dist/b2b-core-components/{p-a8bb9827.entry.js → p-19b13dcc.entry.js} +1 -1
  15. package/dist/b2b-core-components/{p-ca5a189f.entry.js → p-1c8825d1.entry.js} +1 -1
  16. package/dist/b2b-core-components/p-21cd256f.entry.js +1 -0
  17. package/dist/b2b-core-components/{p-3d80464e.entry.js → p-2c60a909.entry.js} +1 -1
  18. package/dist/b2b-core-components/{p-b8f9b227.entry.js → p-2d3de3a7.entry.js} +1 -1
  19. package/dist/b2b-core-components/{p-921e7a37.entry.js → p-30d6787c.entry.js} +1 -1
  20. package/dist/b2b-core-components/{p-c2fdbeb4.entry.js → p-31df26eb.entry.js} +1 -1
  21. package/dist/b2b-core-components/{p-8b2a93f7.entry.js → p-35dca1b0.entry.js} +1 -1
  22. package/dist/b2b-core-components/{p-0fcdf7c2.entry.js → p-39254a15.entry.js} +1 -1
  23. package/dist/b2b-core-components/{p-7a43a9bd.entry.js → p-39651255.entry.js} +1 -1
  24. package/dist/b2b-core-components/{p-6b8c9eaf.entry.js → p-3ffba273.entry.js} +1 -1
  25. package/dist/b2b-core-components/{p-a2c5e53d.entry.js → p-4e7ad473.entry.js} +1 -1
  26. package/dist/b2b-core-components/{p-09172f4f.entry.js → p-54d15111.entry.js} +1 -1
  27. package/dist/b2b-core-components/{p-3398e7c1.entry.js → p-56573a91.entry.js} +1 -1
  28. package/dist/b2b-core-components/{p-74d4bce8.entry.js → p-6148866a.entry.js} +1 -1
  29. package/dist/b2b-core-components/{p-b2c3c511.entry.js → p-64a2aebd.entry.js} +1 -1
  30. package/dist/b2b-core-components/{p-554dc9a3.entry.js → p-67ad8770.entry.js} +1 -1
  31. package/dist/b2b-core-components/{p-e1cc5c5b.entry.js → p-6847b3bf.entry.js} +1 -1
  32. package/dist/b2b-core-components/p-68a836cb.entry.js +1 -0
  33. package/dist/b2b-core-components/{p-cd7289c8.entry.js → p-6f17d047.entry.js} +1 -1
  34. package/dist/b2b-core-components/{p-6a1be129.entry.js → p-7128c388.entry.js} +1 -1
  35. package/dist/b2b-core-components/{p-11b2508b.entry.js → p-758ff932.entry.js} +1 -1
  36. package/dist/b2b-core-components/{p-46a2adf6.entry.js → p-7a9088d2.entry.js} +1 -1
  37. package/dist/b2b-core-components/p-931c9dc7.entry.js +1 -0
  38. package/dist/b2b-core-components/p-a37ad232.entry.js +1 -0
  39. package/dist/b2b-core-components/{p-bbb4d24e.entry.js → p-a7221803.entry.js} +1 -1
  40. package/dist/b2b-core-components/{p-874c5b8e.entry.js → p-ad99ec44.entry.js} +1 -1
  41. package/dist/b2b-core-components/{p-a84a3f22.entry.js → p-ae0d9209.entry.js} +1 -1
  42. package/dist/b2b-core-components/p-baa99f00.entry.js +1 -0
  43. package/dist/b2b-core-components/{p-6a5cd1a6.entry.js → p-bcb7e042.entry.js} +1 -1
  44. package/dist/b2b-core-components/{p-309c3783.entry.js → p-c33bc1a2.entry.js} +1 -1
  45. package/dist/b2b-core-components/p-d0e930f2.entry.js +1 -0
  46. package/dist/b2b-core-components/{p-78becf06.entry.js → p-d3f86dfe.entry.js} +1 -1
  47. package/dist/b2b-core-components/{p-4f968e70.entry.js → p-d4ab2a73.entry.js} +1 -1
  48. package/dist/b2b-core-components/p-d51551c9.entry.js +1 -0
  49. package/dist/b2b-core-components/p-df71f2a8.entry.js +1 -0
  50. package/dist/b2b-core-components/{p-94ec1d3c.entry.js → p-e350e4ab.entry.js} +1 -1
  51. package/dist/b2b-core-components/{p-45981c03.entry.js → p-e9537c12.entry.js} +1 -1
  52. package/dist/b2b-core-components/{p-4c00a1dd.entry.js → p-f5fa0721.entry.js} +1 -1
  53. package/dist/b2b-core-components/{p-5f0a5aa1.entry.js → p-f8cf06c5.entry.js} +1 -1
  54. package/dist/cjs/b2b-background-box.cjs.entry.js +27 -0
  55. package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
  56. package/dist/cjs/b2b-breadcrumb.cjs.entry.js +1 -1
  57. package/dist/cjs/b2b-button_2.cjs.entry.js +2 -2
  58. package/dist/cjs/b2b-card.cjs.entry.js +2 -2
  59. package/dist/cjs/b2b-checkbox-group.cjs.entry.js +2 -2
  60. package/dist/cjs/b2b-checkbox.cjs.entry.js +2 -2
  61. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +4 -4
  62. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  63. package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +10 -10
  64. package/dist/cjs/b2b-date-picker.cjs.entry.js +28 -13
  65. package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
  66. package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +2 -2
  67. package/dist/cjs/b2b-flyout-menu.cjs.entry.js +23 -9
  68. package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
  69. package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
  70. package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
  71. package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
  72. package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
  73. package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
  74. package/dist/cjs/b2b-label.cjs.entry.js +2 -2
  75. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  76. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +15 -3
  77. package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
  78. package/dist/cjs/b2b-paragraph.cjs.entry.js +10 -3
  79. package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
  80. package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
  81. package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
  82. package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
  83. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
  84. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
  85. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  86. package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
  87. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  88. package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
  89. package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
  90. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
  91. package/dist/cjs/b2b-table-row.cjs.entry.js +2 -2
  92. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
  93. package/dist/cjs/b2b-table.cjs.entry.js +2 -2
  94. package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
  95. package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
  96. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
  97. package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
  98. package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
  99. package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
  100. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
  101. package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
  102. package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
  103. package/dist/cjs/index-668808fd.js +4 -0
  104. package/dist/cjs/loader.cjs.js +1 -1
  105. package/dist/collection/collection-manifest.json +1 -0
  106. package/dist/collection/components/alert/alert.css +2 -2
  107. package/dist/collection/components/anchor/anchor.css +2 -2
  108. package/dist/collection/components/background-box/background-box.css +233 -0
  109. package/dist/collection/components/background-box/background-box.e2e.js +37 -0
  110. package/dist/collection/components/background-box/background-box.js +67 -0
  111. package/dist/collection/components/background-box/background-box.spec.js +45 -0
  112. package/dist/collection/components/background-box/background-box.stories.js +45 -0
  113. package/dist/collection/components/breadcrumb/breadcrumb-item.js +1 -1
  114. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  115. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  116. package/dist/collection/components/button/button.css +2 -2
  117. package/dist/collection/components/button/button.js +1 -1
  118. package/dist/collection/components/card/card.css +2 -2
  119. package/dist/collection/components/card/card.js +2 -2
  120. package/dist/collection/components/checkbox/checkbox.css +2 -2
  121. package/dist/collection/components/checkbox/checkbox.e2e.js +6 -0
  122. package/dist/collection/components/checkbox/checkbox.js +2 -2
  123. package/dist/collection/components/checkbox/checkbox.stories.js +4 -0
  124. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  125. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  126. package/dist/collection/components/chip/chip.css +2 -2
  127. package/dist/collection/components/chip/chip.js +2 -2
  128. package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
  129. package/dist/collection/components/date-picker/date-picker-days-header.js +1 -1
  130. package/dist/collection/components/date-picker/date-picker-days.css +2 -3
  131. package/dist/collection/components/date-picker/date-picker-days.js +1 -1
  132. package/dist/collection/components/date-picker/date-picker-header.css +2 -2
  133. package/dist/collection/components/date-picker/date-picker-header.js +5 -5
  134. package/dist/collection/components/date-picker/date-picker-months.css +2 -2
  135. package/dist/collection/components/date-picker/date-picker-months.js +1 -1
  136. package/dist/collection/components/date-picker/date-picker-years.css +2 -2
  137. package/dist/collection/components/date-picker/date-picker-years.js +1 -1
  138. package/dist/collection/components/date-picker/date-picker.css +3 -3
  139. package/dist/collection/components/date-picker/date-picker.js +27 -12
  140. package/dist/collection/components/dropdown/dropdown.css +2 -2
  141. package/dist/collection/components/dropdown/dropdown.js +2 -2
  142. package/dist/collection/components/flyout-menu/flyout-menu-option.css +8 -3
  143. package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
  144. package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
  145. package/dist/collection/components/flyout-menu/flyout-menu.js +23 -9
  146. package/dist/collection/components/grid/column.js +1 -1
  147. package/dist/collection/components/grid/grid.js +1 -1
  148. package/dist/collection/components/grid/row.js +2 -2
  149. package/dist/collection/components/headline/headline.css +2 -2
  150. package/dist/collection/components/icon/icon.css +2 -2
  151. package/dist/collection/components/icon/icons/b2b_icon-light-bulb.svg +2 -2
  152. package/dist/collection/components/icon/icons/b2b_icon-module-operations.svg +3 -1
  153. package/dist/collection/components/icon-100/icon-100.css +2 -2
  154. package/dist/collection/components/icon-100/icons-100/b2b_icon-light-bulb.svg +2 -2
  155. package/dist/collection/components/icon-100/icons-100/b2b_icon-module-operations.svg +3 -1
  156. package/dist/collection/components/icon-50/icon-50.css +2 -2
  157. package/dist/collection/components/input/input.css +2 -2
  158. package/dist/collection/components/input/input.js +4 -4
  159. package/dist/collection/components/input-group/input-group.css +2 -2
  160. package/dist/collection/components/input-group/input-group.js +1 -1
  161. package/dist/collection/components/input-label/input-label.js +2 -2
  162. package/dist/collection/components/input-list/input-list-option.js +1 -1
  163. package/dist/collection/components/input-list/input-list.css +2 -2
  164. package/dist/collection/components/input-list/input-list.js +2 -2
  165. package/dist/collection/components/label/label.css +2 -2
  166. package/dist/collection/components/label/label.js +2 -2
  167. package/dist/collection/components/modal/modal.css +2 -2
  168. package/dist/collection/components/modal/modal.js +2 -2
  169. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
  170. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +25 -9
  171. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
  172. package/dist/collection/components/pagination/pagination.css +2 -2
  173. package/dist/collection/components/pagination/pagination.js +1 -1
  174. package/dist/collection/components/paragraph/paragraph.css +11 -3
  175. package/dist/collection/components/paragraph/paragraph.js +63 -2
  176. package/dist/collection/components/paragraph/paragraph.stories.js +130 -27
  177. package/dist/collection/components/progress-bar/progress-bar.css +2 -2
  178. package/dist/collection/components/progress-bar/progress-bar.js +3 -3
  179. package/dist/collection/components/radio/radio.css +2 -2
  180. package/dist/collection/components/radio/radio.js +2 -2
  181. package/dist/collection/components/radio-group/radio-group.css +2 -2
  182. package/dist/collection/components/radio-group/radio-group.js +2 -2
  183. package/dist/collection/components/required-separator/required-separator.css +2 -2
  184. package/dist/collection/components/required-separator/required-separator.js +1 -1
  185. package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
  186. package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
  187. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  188. package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
  189. package/dist/collection/components/search/search.js +1 -1
  190. package/dist/collection/components/separator/separator.css +2 -2
  191. package/dist/collection/components/separator/separator.js +1 -1
  192. package/dist/collection/components/spinner/spinner.css +2 -2
  193. package/dist/collection/components/spinner/spinner.js +1 -1
  194. package/dist/collection/components/tab/tab.css +2 -2
  195. package/dist/collection/components/tab/tab.js +2 -2
  196. package/dist/collection/components/tab-group/tab-group.js +1 -1
  197. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  198. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  199. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  200. package/dist/collection/components/table/table-cell/table-cell.js +2 -2
  201. package/dist/collection/components/table/table-header/table-header.css +2 -2
  202. package/dist/collection/components/table/table-header/table-header.js +1 -1
  203. package/dist/collection/components/table/table-row/table-row.css +2 -2
  204. package/dist/collection/components/table/table-row/table-row.js +2 -2
  205. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  206. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
  207. package/dist/collection/components/table/table.css +2 -2
  208. package/dist/collection/components/table/table.js +2 -2
  209. package/dist/collection/components/textarea/textarea.css +2 -2
  210. package/dist/collection/components/textarea/textarea.js +2 -2
  211. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  212. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  213. package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
  214. package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
  215. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  216. package/dist/collection/components/toggle-group/toggle-group.js +2 -2
  217. package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
  218. package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
  219. package/dist/collection/components/tooltip/tooltip.css +2 -2
  220. package/dist/collection/components/tooltip/tooltip.js +3 -3
  221. package/dist/collection/components/wizard/wizard-step.js +2 -2
  222. package/dist/collection/components/wizard/wizard.css +2 -2
  223. package/dist/collection/components/wizard/wizard.js +1 -1
  224. package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
  225. package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
  226. package/dist/components/b2b-background-box.d.ts +11 -0
  227. package/dist/components/b2b-background-box.js +44 -0
  228. package/dist/components/b2b-breadcrumb-item.js +1 -1
  229. package/dist/components/b2b-breadcrumb.js +1 -1
  230. package/dist/components/b2b-card.js +2 -2
  231. package/dist/components/b2b-checkbox-group.js +2 -2
  232. package/dist/components/b2b-date-picker.js +28 -13
  233. package/dist/components/b2b-dropdown.js +2 -2
  234. package/dist/components/b2b-flyout-menu-option.js +2 -2
  235. package/dist/components/b2b-flyout-menu.js +23 -9
  236. package/dist/components/b2b-grid-col.js +1 -1
  237. package/dist/components/b2b-grid-row.js +2 -2
  238. package/dist/components/b2b-grid.js +1 -1
  239. package/dist/components/b2b-label.js +2 -2
  240. package/dist/components/b2b-modal.js +2 -2
  241. package/dist/components/b2b-multiselect-dropdown.js +17 -5
  242. package/dist/components/b2b-pagination.js +1 -1
  243. package/dist/components/b2b-paragraph.js +14 -4
  244. package/dist/components/b2b-progress-bar.js +3 -3
  245. package/dist/components/b2b-radio-button.js +2 -2
  246. package/dist/components/b2b-radio-group.js +2 -2
  247. package/dist/components/b2b-required-separator.js +1 -1
  248. package/dist/components/b2b-scrollable-container.js +1 -1
  249. package/dist/components/b2b-search.js +1 -1
  250. package/dist/components/b2b-tab-group.js +1 -1
  251. package/dist/components/b2b-tab-panel.js +1 -1
  252. package/dist/components/b2b-tab.js +2 -2
  253. package/dist/components/b2b-table-row.js +2 -2
  254. package/dist/components/b2b-table-rowgroup.js +2 -2
  255. package/dist/components/b2b-table.js +2 -2
  256. package/dist/components/b2b-textarea.js +2 -2
  257. package/dist/components/b2b-toggle-button.js +3 -3
  258. package/dist/components/b2b-toggle-chip.js +3 -3
  259. package/dist/components/b2b-toggle-group.js +2 -2
  260. package/dist/components/b2b-toggle-switch.js +4 -4
  261. package/dist/components/b2b-tooltip.js +3 -3
  262. package/dist/components/b2b-wizard-step.js +2 -2
  263. package/dist/components/b2b-wizard.js +1 -1
  264. package/dist/components/button.js +1 -1
  265. package/dist/components/checkbox.js +2 -2
  266. package/dist/components/chip.js +2 -2
  267. package/dist/components/date-picker-days-header.js +1 -1
  268. package/dist/components/date-picker-days.js +2 -2
  269. package/dist/components/date-picker-header.js +5 -5
  270. package/dist/components/date-picker-months.js +1 -1
  271. package/dist/components/date-picker-years.js +1 -1
  272. package/dist/components/input-group.js +1 -1
  273. package/dist/components/input-label.js +2 -2
  274. package/dist/components/input-list-option.js +1 -1
  275. package/dist/components/input-list.js +2 -2
  276. package/dist/components/input.js +4 -4
  277. package/dist/components/multiselect-option.js +2 -2
  278. package/dist/components/rounded-icon.js +4 -4
  279. package/dist/components/separator.js +1 -1
  280. package/dist/components/spinner.js +1 -1
  281. package/dist/components/table-cell.js +2 -2
  282. package/dist/components/table-header.js +1 -1
  283. package/dist/components/wizard-icon.js +1 -1
  284. package/dist/custom-elements.json +56 -0
  285. package/dist/esm/b2b-background-box.entry.js +23 -0
  286. package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
  287. package/dist/esm/b2b-breadcrumb.entry.js +1 -1
  288. package/dist/esm/b2b-button_2.entry.js +2 -2
  289. package/dist/esm/b2b-card.entry.js +2 -2
  290. package/dist/esm/b2b-checkbox-group.entry.js +2 -2
  291. package/dist/esm/b2b-checkbox.entry.js +2 -2
  292. package/dist/esm/b2b-chip-component_2.entry.js +4 -4
  293. package/dist/esm/b2b-core-components.js +1 -1
  294. package/dist/esm/b2b-date-picker-days_5.entry.js +10 -10
  295. package/dist/esm/b2b-date-picker.entry.js +28 -13
  296. package/dist/esm/b2b-dropdown.entry.js +2 -2
  297. package/dist/esm/b2b-flyout-menu-option.entry.js +2 -2
  298. package/dist/esm/b2b-flyout-menu.entry.js +23 -9
  299. package/dist/esm/b2b-grid-col.entry.js +1 -1
  300. package/dist/esm/b2b-grid-row.entry.js +2 -2
  301. package/dist/esm/b2b-grid.entry.js +1 -1
  302. package/dist/esm/b2b-input-group_2.entry.js +3 -3
  303. package/dist/esm/b2b-input-label.entry.js +2 -2
  304. package/dist/esm/b2b-input_2.entry.js +5 -5
  305. package/dist/esm/b2b-label.entry.js +2 -2
  306. package/dist/esm/b2b-modal.entry.js +2 -2
  307. package/dist/esm/b2b-multiselect-dropdown.entry.js +15 -3
  308. package/dist/esm/b2b-pagination.entry.js +1 -1
  309. package/dist/esm/b2b-paragraph.entry.js +10 -3
  310. package/dist/esm/b2b-progress-bar.entry.js +3 -3
  311. package/dist/esm/b2b-radio-button.entry.js +2 -2
  312. package/dist/esm/b2b-radio-group.entry.js +2 -2
  313. package/dist/esm/b2b-required-separator.entry.js +1 -1
  314. package/dist/esm/b2b-rounded-icon.entry.js +4 -4
  315. package/dist/esm/b2b-scrollable-container.entry.js +1 -1
  316. package/dist/esm/b2b-search.entry.js +1 -1
  317. package/dist/esm/b2b-separator.entry.js +1 -1
  318. package/dist/esm/b2b-tab-group.entry.js +1 -1
  319. package/dist/esm/b2b-tab-panel.entry.js +1 -1
  320. package/dist/esm/b2b-tab.entry.js +2 -2
  321. package/dist/esm/b2b-table-cell_2.entry.js +3 -3
  322. package/dist/esm/b2b-table-row.entry.js +2 -2
  323. package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
  324. package/dist/esm/b2b-table.entry.js +2 -2
  325. package/dist/esm/b2b-textarea.entry.js +2 -2
  326. package/dist/esm/b2b-toggle-button.entry.js +3 -3
  327. package/dist/esm/b2b-toggle-chip.entry.js +3 -3
  328. package/dist/esm/b2b-toggle-group.entry.js +2 -2
  329. package/dist/esm/b2b-toggle-switch.entry.js +4 -4
  330. package/dist/esm/b2b-tooltip.entry.js +3 -3
  331. package/dist/esm/b2b-wizard-icon.entry.js +1 -1
  332. package/dist/esm/b2b-wizard-step.entry.js +2 -2
  333. package/dist/esm/b2b-wizard.entry.js +1 -1
  334. package/dist/esm/index-ab9eb36d.js +4 -0
  335. package/dist/esm/loader.js +1 -1
  336. package/dist/types/components/background-box/background-box.d.ts +8 -0
  337. package/dist/types/components/background-box/background-box.stories.d.ts +7 -0
  338. package/dist/types/components/checkbox/checkbox.stories.d.ts +2 -1
  339. package/dist/types/components/date-picker/date-picker.d.ts +1 -0
  340. package/dist/types/components/flyout-menu/flyout-menu.d.ts +1 -1
  341. package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +5 -3
  342. package/dist/types/components/paragraph/paragraph.d.ts +6 -0
  343. package/dist/types/components/paragraph/paragraph.stories.d.ts +13 -8
  344. package/dist/types/components.d.ts +57 -4
  345. package/dist/web-types.json +70 -7
  346. package/package.json +2 -2
  347. package/dist/b2b-core-components/p-14381771.entry.js +0 -1
  348. package/dist/b2b-core-components/p-1cbadece.entry.js +0 -1
  349. package/dist/b2b-core-components/p-28b72b5d.entry.js +0 -1
  350. package/dist/b2b-core-components/p-3a1d652c.entry.js +0 -1
  351. package/dist/b2b-core-components/p-63c69a7a.entry.js +0 -1
  352. package/dist/b2b-core-components/p-7b7d53ca.entry.js +0 -1
  353. package/dist/b2b-core-components/p-95b3ff43.entry.js +0 -1
  354. package/dist/b2b-core-components/p-b1156a34.entry.js +0 -1
  355. package/dist/b2b-core-components/p-def48eec.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -26,10 +26,10 @@ export class CardComponent {
26
26
  return 0;
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: '6a3323a5f58c054a69080f6bec53bf8a29288a83', tabIndex: this.getTabIndex(), "aria-disabled": this.disabled ? 'true' : null, class: {
29
+ return (h(Host, { key: 'f9fd7890d85a2c69fb416cacd1038a3e50ba8ce2', tabIndex: this.getTabIndex(), "aria-disabled": this.disabled ? 'true' : null, class: {
30
30
  'b2b-card': true,
31
31
  'b2b-card--disabled': this.disabled,
32
- } }, this.href != '' && h("a", { href: this.href, target: `_${this.target}` }), this.disabled && h("div", { class: "b2b-card--disabled-overlay" }), h("slot", { key: '72a803fa506ce9f3a2a79e9fe677d4f8facb1d36' })));
32
+ } }, this.href != '' && h("a", { href: this.href, target: `_${this.target}` }), this.disabled && h("div", { class: "b2b-card--disabled-overlay" }), h("slot", { key: '1258394d2cf138a0625c70af043d4590a45262db' })));
33
33
  }
34
34
  static get is() { return "b2b-card"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -27,4 +27,10 @@ describe('b2b-checkbox', () => {
27
27
  await page.waitForChanges();
28
28
  expect(element).toHaveClass('b2b-checkbox--checked');
29
29
  });
30
+ it('use label slot if provided', async () => {
31
+ const page = await newE2EPage();
32
+ await page.setContent('<b2b-checkbox><span slot="label">Custom label</span></b2b-checkbox>');
33
+ const element = await page.find('span');
34
+ expect(element).toEqualText('Custom label');
35
+ });
30
36
  });
@@ -65,14 +65,14 @@ export class CheckboxComponent {
65
65
  }
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: 'c86d4e004efb5915b0599988694e0947e18c30d5', onClick: this.onClick }, h("div", { key: '7f24bbd3dc6c15c614c7c5c6b975b1e478bfd78c', class: {
68
+ return (h(Host, { key: 'f9b0a3ab1446715b218115bb5097d7de57ae71eb', onClick: this.onClick }, h("div", { key: 'da9c2edb1f46996f8e03aedf17a52f4b2c822f0d', class: {
69
69
  'b2b-checkbox': true,
70
70
  'b2b-checkbox--error': this.invalid && !this.disabled,
71
71
  'b2b-checkbox--disabled': this.disabled || this.groupDisabled,
72
72
  'b2b-checkbox--checked': this.checked,
73
73
  'b2b-checkbox--standalone': this.standalone,
74
74
  'b2b-checkbox--indeterminate': this.indeterminate,
75
- } }, h("div", { key: '721592f4c6d92e644809e4dca7ec17f97f306178', class: "b2b-checkbox-items" }, this.renderIcon(), h("input", { key: '4961c34d17d578179cc368f4cad206ad955cade8', class: "b2b-checkbox__input", "aria-labelledby": this.name, type: "checkbox", name: this.name, id: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.groupDisabled, onFocus: this.onFocus, onBlur: this.onBlur }), !this.standalone && (h("b2b-input-label", { id: this.name, required: this.required, disabled: this.disabled }, this.label))), (this.hint !== undefined && !this.invalid) ||
75
+ } }, h("div", { key: '29a99d41fca9d51aea5ac58feb92910f10d58e46', class: "b2b-checkbox-items" }, this.renderIcon(), h("input", { key: 'a05a1ba84a49d775a887e393ade4a5c2ce993273', class: "b2b-checkbox__input", "aria-labelledby": this.name, type: "checkbox", name: this.name, id: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.groupDisabled, onFocus: this.onFocus, onBlur: this.onBlur }), !this.standalone && (h("b2b-input-label", { id: this.name, required: this.required, disabled: this.disabled }, h("slot", { name: "label" }, this.label)))), (this.hint !== undefined && !this.invalid) ||
76
76
  (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
77
77
  }
78
78
  static get is() { return "b2b-checkbox"; }
@@ -41,6 +41,10 @@ story050Disabled.storyName = 'Disabled';
41
41
  export const story060Required = Template.bind({});
42
42
  story060Required.args = Object.assign(Object.assign({}, defaultArgs), { label: 'Required checkbox', required: true });
43
43
  story060Required.storyName = 'Required';
44
+ export const story070LabelSlot = {
45
+ args: Object.assign({}, defaultArgs),
46
+ render: ({}) => html `<b2b-checkbox><span slot="label">Label Slot</span></b2b-input>`,
47
+ };
44
48
  const controls = {};
45
49
  const inputCheckboxArgs = getArgTypes('b2b-checkbox', controls);
46
50
  export default {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -65,11 +65,11 @@ export class CheckboxGroupComponent {
65
65
  }
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: '17f56d642b6ef6a4157a51178c4e1d604755f698' }, h("div", { key: 'caf98c3c46fb753dad491e2b1e98ff212e7c6a93', class: {
68
+ return (h(Host, { key: 'a13345395b22ac918fcb5b4186f5bb3057af8ea4' }, h("div", { key: 'b388a4b209535c47c07b2720392abeb7191b0809', class: {
69
69
  'b2b-checkbox-group': true,
70
70
  'b2b-checkbox-group--error': this.invalid && !this.disabled,
71
71
  [`b2b-checkbox-group--${this.alignment}`]: true,
72
- } }, this.label && (h("b2b-input-label", { required: this.required }, this.label)), h("fieldset", { key: '0b9b7dd931a8059a6ed0e53a49e799076e1d33ea' }, h("div", { key: '4385c56f2f7d570abfa58877b623b82f1006cafa', class: "b2b-checkbox-group__options" }, h("slot", { key: 'a15f2bd94e9167701a85cbf2981a268325bc4c85' }))), (this.hint !== undefined && !this.invalid) ||
72
+ } }, this.label && (h("b2b-input-label", { required: this.required }, this.label)), h("fieldset", { key: '33ed6a29fc0742e786d7f82c93dea89fdf0127b8' }, h("div", { key: 'da3884cbef485588a36ea6dd6c92f0dc0bdff138', class: "b2b-checkbox-group__options" }, h("slot", { key: 'c4f2ef006d5c8f04e45315526d076ca69a49026e' }))), (this.hint !== undefined && !this.invalid) ||
73
73
  (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
74
74
  }
75
75
  static get is() { return "b2b-checkbox-group"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -22,11 +22,11 @@ export class B2bChipComponent {
22
22
  this.value = undefined;
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: 'de9b5fc1b0395478973a4eb81871f9232d5e1173' }, h("div", { key: '58876c036d42e24d27112754d0b23539dda67b0d', class: {
25
+ return (h(Host, { key: 'feff4de384d9ae0d55cf1683915bb15e865211a0' }, h("div", { key: '79b6ec48ae1a4c142ca8363670ecee5ddd0703cb', class: {
26
26
  'b2b-chip': true,
27
27
  [`b2b-chip--${this.type}`]: !this.disabled && this.type !== undefined,
28
28
  'b2b-chip--disabled': this.disabled,
29
- } }, h("span", { key: '998b65004419a8831c7385978794892f24c2be71', class: {
29
+ } }, h("span", { key: 'daa9ee334f78e1b9d3baa363ba7f6e941f3571dc', class: {
30
30
  'b2b-chip__label': true,
31
31
  [`b2b-chip__label--${this.labelStyle}`]: this.labelStyle !== undefined,
32
32
  'b2b-chip__label--close-button': this.hasCloseButton,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -11,7 +11,7 @@ export class B2bDatePickerDaysHeader {
11
11
  };
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'f1f9de137384a3385308ac74cdd1ac175e87921b' }, h("div", { key: '762d844c6897e58efac7214b40ef4c6873fb7e8e', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
14
+ return (h(Host, { key: 'dd19aa810becf64b496f66534c7e81cff239507a' }, h("div", { key: '75a38a70e3152892458ab53116f9ed44487aaba6', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
15
15
  }
16
16
  static get is() { return "b2b-date-picker-days-header"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -253,7 +253,6 @@
253
253
  color: var(--b2b-color-white-100);
254
254
  pointer-events: none;
255
255
  width: 100%;
256
- height: 100%;
257
256
  }
258
257
  .b2b-date-picker-days .b2b-date-picker-day--focussed {
259
258
  background-color: var(--b2b-color-hover);
@@ -163,7 +163,7 @@ export class B2bDatePickerDays {
163
163
  });
164
164
  }
165
165
  render() {
166
- return (h(Host, { key: '573b3a5f203de7be6c381242cbd4fb2935397345' }, h("div", { key: '9bdc462fccf47760afc29628d59de6b68998dc84', class: "b2b-date-picker-days" }, this.renderDatePickerDays())));
166
+ return (h(Host, { key: '932793a700279c0064a3a36c08d75517861f2420' }, h("div", { key: '98179650a1f3a4e4af1a8ddee3073c48cc46beab', class: "b2b-date-picker-days" }, this.renderDatePickerDays())));
167
167
  }
168
168
  static get is() { return "b2b-date-picker-days"; }
169
169
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -6,9 +6,9 @@ export class B2bDatePickerHeader {
6
6
  this.selectedYear = undefined;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '94e86997d702f0f584d01df3d616375d6b0e1e78' }, h("div", { key: '2f480665affbe91d54b3c1b43ab70b736e74f32f', class: "b2b-date-picker-header" }, h("button", { key: 'a5cac5d8d2d79c27f03b33eff51a83602952c50e', class: "b2b-date-picker-nav--left", onClick: this.b2bDatePickerPreviousMonth.emit, onMouseOut: event => {
9
+ return (h(Host, { key: '8daf6532999d810a0d0cc69693f7220f705f5209' }, h("div", { key: 'b6e3e10fe7a0b7726201269a0c5695a6ae52ec32', class: "b2b-date-picker-header" }, h("button", { key: '2a71c4072fa1a41ba5572d4faeedf493603189a2', class: "b2b-date-picker-nav--left", onClick: this.b2bDatePickerPreviousMonth.emit, onMouseOut: event => {
10
10
  event.target.blur();
11
- }, "aria-label": "previous month" }, h("b2b-icon", { key: '49bb5d17c454536e5bd7752eec149be1d4fb000d', icon: "b2b_icon-arrow-left", clickable: true })), h("b2b-headline", { key: 'a8976d272ca701970a2a688c95a1adb0a5477385', size: '100', align: 'center', class: "b2b-date-picker-month", "aria-label": "select month", tabindex: 0, onClick: () => {
11
+ }, "aria-label": "previous month" }, h("b2b-icon", { key: 'e83c26f329aa68705ce39651d133050705f73d93', icon: "b2b_icon-arrow-left", clickable: true })), h("b2b-headline", { key: '5b84578186aa4f676b247ee6e31cad24a6e4f3f3', size: '100', align: 'center', class: "b2b-date-picker-month", "aria-label": "select month", tabindex: 0, onClick: () => {
12
12
  this.b2bDatePickerViewChanged.emit({
13
13
  value: DatePickerView.Months,
14
14
  });
@@ -18,7 +18,7 @@ export class B2bDatePickerHeader {
18
18
  value: DatePickerView.Months,
19
19
  });
20
20
  }
21
- } }, Months[this.selectedMonth]), h("b2b-headline", { key: '25919a00e48f4c31684f6f16300e3265bc3d2ccc', size: '100', align: 'center', class: "b2b-date-picker-year", "aria-label": "select year", tabindex: 0, onClick: () => {
21
+ } }, Months[this.selectedMonth]), h("b2b-headline", { key: 'a16771e52873a8e99ebc86b702a59d49229a20c8', size: '100', align: 'center', class: "b2b-date-picker-year", "aria-label": "select year", tabindex: 0, onClick: () => {
22
22
  this.b2bDatePickerViewChanged.emit({
23
23
  value: DatePickerView.Years,
24
24
  });
@@ -28,9 +28,9 @@ export class B2bDatePickerHeader {
28
28
  value: DatePickerView.Years,
29
29
  });
30
30
  }
31
- } }, this.selectedYear), h("button", { key: '4118ef94bc8f91ce7731efaa973542c90e8125ca', class: "b2b-date-picker-nav--right", onClick: this.b2bDatePickerNextMonth.emit, onMouseOut: event => {
31
+ } }, this.selectedYear), h("button", { key: '189dea7aba624d2dc2d572ab6d502450bd2f8ec5', class: "b2b-date-picker-nav--right", onClick: this.b2bDatePickerNextMonth.emit, onMouseOut: event => {
32
32
  event.target.blur();
33
- }, "aria-label": "next month" }, h("b2b-icon", { key: 'f182b6ef7ab465d12d4821d54d7a346a74df2dce', icon: "b2b_icon-arrow-right", clickable: true })))));
33
+ }, "aria-label": "next month" }, h("b2b-icon", { key: '4c442c9f69dceec1b4d02d64a3d75a6fda18e2d1', icon: "b2b_icon-arrow-right", clickable: true })))));
34
34
  }
35
35
  static get is() { return "b2b-date-picker-header"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -71,7 +71,7 @@ export class B2bDatePickerMonths {
71
71
  this.focusCurrentMonth(months[index]);
72
72
  }
73
73
  render() {
74
- return (h(Host, { key: '7b55c5f9286780dd257cee856bd9cf9354675585' }, h("div", { key: '36efeb799ad77f4e1a56980511ff4caba519a5cb', class: "b2b-date-picker-months" }, this.renderDatePickerMonths())));
74
+ return (h(Host, { key: '18baacddca5d04aa0641fdbdb4c7429c929d5080' }, h("div", { key: '55f0326e38f95bf371bb3a65e3cf235ee786ff59', class: "b2b-date-picker-months" }, this.renderDatePickerMonths())));
75
75
  }
76
76
  static get is() { return "b2b-date-picker-months"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -98,7 +98,7 @@ export class B2bDatePickerYears {
98
98
  }
99
99
  }
100
100
  render() {
101
- return (h(Host, { key: '3b4de9e844d3b54941a49d486a4c6fc4ce70b529' }, h("div", { key: 'c254fa60cefdb33391ca732a064ad1bf1e697f54', class: "b2b-date-picker-years" }, this.renderDatePickerYears())));
101
+ return (h(Host, { key: '04068ca8f7b6604a6f2861f0b8892f03a1e21df3' }, h("div", { key: '8fa5bd3484d9d5766ce12f8e3e354f8beab88c56', class: "b2b-date-picker-years" }, this.renderDatePickerYears())));
102
102
  }
103
103
  static get is() { return "b2b-date-picker-years"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -263,7 +263,7 @@
263
263
  margin-left: 0;
264
264
  padding-left: 0;
265
265
  height: 100%;
266
- width: 15%;
266
+ width: 100%;
267
267
  color: var(--b2b-color-black-100);
268
268
  font-size: var(--b2b-size-35);
269
269
  line-height: var(--b2b-size-copy-line-height-100);
@@ -18,6 +18,9 @@ export class B2bDatePicker {
18
18
  event.target.value = value;
19
19
  if (value.length === 10) {
20
20
  this.parseDateInput(value);
21
+ if (this.invalid) {
22
+ this.showDatePicker = false;
23
+ }
21
24
  }
22
25
  };
23
26
  this.handleKeyDown = (event) => {
@@ -120,6 +123,7 @@ export class B2bDatePicker {
120
123
  this.focused = false;
121
124
  }
122
125
  getPreviousMonth() {
126
+ this.invalid = false;
123
127
  if (this.selectedMonth === 0) {
124
128
  this.setCurrentMonth(11);
125
129
  this.setCurrentYear(this.selectedYear - 1);
@@ -136,7 +140,6 @@ export class B2bDatePicker {
136
140
  }
137
141
  if (!regex.test(dateString)) {
138
142
  this.invalid = true;
139
- this.showDatePicker = false;
140
143
  this.errorMessage = this.FORMATTING_ERROR_MESSAGE;
141
144
  return;
142
145
  }
@@ -161,9 +164,13 @@ export class B2bDatePicker {
161
164
  }
162
165
  isValidDate(day, month, year) {
163
166
  const date = new Date(year, month - 1, day);
164
- const isValidDay = day > 0 && day <= 31;
165
- const isValidMonth = month > 0 && month <= 12;
166
- const isValidYear = year > 0;
167
+ const isValidDay = date.getDate() === day;
168
+ const isValidMonth = date.getMonth() + 1 === month;
169
+ const isValidYear = date.getFullYear() === year && year >= 1900 && year <= 2100;
170
+ if (!isValidDay || !isValidMonth || !isValidYear) {
171
+ this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
172
+ return false;
173
+ }
167
174
  let isValidRange = true;
168
175
  if (this.disablePastDates && date < this.todayWithoutTime) {
169
176
  this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
@@ -177,7 +184,7 @@ export class B2bDatePicker {
177
184
  this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
178
185
  isValidRange = false;
179
186
  }
180
- return isValidDay && isValidMonth && isValidYear && isValidRange;
187
+ return isValidRange;
181
188
  }
182
189
  emitSelectedDate() {
183
190
  this.b2bSelected.emit({
@@ -197,6 +204,7 @@ export class B2bDatePicker {
197
204
  this.invalid = false;
198
205
  }
199
206
  getNextMonth() {
207
+ this.invalid = false;
200
208
  if (this.selectedMonth === 11) {
201
209
  this.setCurrentMonth(0);
202
210
  this.setCurrentYear(this.selectedYear + 1);
@@ -246,6 +254,12 @@ export class B2bDatePicker {
246
254
  closeIcon.focus();
247
255
  }
248
256
  }
257
+ handleFocusOut() {
258
+ if (this.userInputDate === '' || this.invalid) {
259
+ return;
260
+ }
261
+ this.parseDateInput(this.userInputDate);
262
+ }
249
263
  moveFocusToInputComponent() {
250
264
  const inputElement = this.host.shadowRoot.querySelector('input.b2b-date-picker-input');
251
265
  if (inputElement !== undefined && !this.invalid) {
@@ -263,18 +277,19 @@ export class B2bDatePicker {
263
277
  }
264
278
  }
265
279
  render() {
266
- return (h(Host, { key: '7ea0bab1a5248a56baed3368a265de5a23b355c3' }, h("div", { key: 'a8f65ab12856aedc945ab3c319975ac1f75f25a7', class: "b2b-date-picker" }, h("div", { key: '3af0484bf8c3e565efbce1de8426ac414042dc09', class: "b2b-date-picker-label" }, this.label), h("div", { key: '7056fceb98d55563a72ebb8795aecf335a44a4de', class: {
280
+ return (h(Host, { key: 'f55c64c00d67512d0e6c6f0e749fdc9868e44e41' }, h("div", { key: '31854fcd8b10c4349d7e8c3389be733368ca5f1a', class: "b2b-date-picker" }, h("div", { key: '2acd007a232a207870bec6e8ba944381dcdd28eb', class: "b2b-date-picker-label" }, this.label), h("div", { key: '2ae740717e19a9f1fe5a9946dbb6e891ef3103cd', class: {
267
281
  'b2b-date-picker-input-wrapper': true,
268
282
  'b2b-date-picker-input-wrapper--focused': this.focused || this.showDatePicker,
269
283
  'b2b-date-picker-input-wrapper--error': this.invalid,
270
- } }, h("div", { key: '73a4ac3ed6e8a288ac9d6efdb71fc199c2a1ac94', class: "b2b-date-picker-input-focus-wrapper", onClick: () => {
284
+ } }, h("div", { key: '81d58e40fc617d949442bf482bf1141c9968ed83', class: "b2b-date-picker-input-focus-wrapper", onClick: () => {
271
285
  this.moveFocusToInputComponent();
272
- } }, h("input", { key: 'a8f3612481383cdd641dab6643fd9faf38e11130', type: "text", tabindex: 0, class: {
286
+ } }, h("input", { key: '079990f5336387d1fdc473968f9ac0bd791bfdb0', type: "text", tabindex: 0, class: {
273
287
  'b2b-date-picker-input': true,
274
288
  'b2b-date-picker-input--error': this.invalid,
275
289
  }, value: this.userInputDate, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus, onBlur: () => {
276
290
  this.focused = false;
277
- } })), h("div", { key: '733646dc186b67c5095dd2a8e6bfde26b97550f9', class: "b2b-icons" }, this.userInputDate && (h("div", { tabIndex: 0, onClick: () => {
291
+ this.handleFocusOut();
292
+ } })), h("div", { key: '99cf6352447665b711284afb1f27e4d8dfc33b71', class: "b2b-icons" }, this.userInputDate && (h("div", { tabIndex: 0, onClick: () => {
278
293
  this.invalid = false;
279
294
  this.clearDateInput();
280
295
  }, class: "b2b-close-icon", onKeyDown: event => {
@@ -282,7 +297,7 @@ export class B2bDatePicker {
282
297
  this.invalid = false;
283
298
  this.clearDateInput();
284
299
  }
285
- } }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: 'bded26934ac03205ad84b2754480a17d36109ca1', tabindex: 0, onClick: () => {
300
+ } }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: '1c4ca8455db22ea02c4d5000c625ac6da44194c4', tabindex: 0, onClick: () => {
286
301
  if (this.invalid) {
287
302
  this.invalid = false;
288
303
  }
@@ -294,9 +309,9 @@ export class B2bDatePicker {
294
309
  }
295
310
  this.showHideDatePicker();
296
311
  }
297
- }, class: "b2b-event-icon" }, h("b2b-icon", { key: 'aa66b59496916ca647894eed843a11898af331e0', "aria-label": this.showDatePicker
312
+ }, class: "b2b-event-icon" }, h("b2b-icon", { key: 'a0332088a5d68cd8e77f07d6ea2b079f34881e2f', "aria-label": this.showDatePicker
298
313
  ? 'close date picker'
299
- : 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: '07240a12f44e04a0c21301e90055463fd5438e77', class: {
314
+ : 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: '0b1d0a315fe80940f98a0d75df38b03a90175aaa', class: {
300
315
  'b2b-date-picker-body': true,
301
316
  'b2b-date-picker-body--hidden': !this.showDatePicker,
302
317
  } }, this.datePickerView === DatePickerView.Days && (h("div", null, h("b2b-date-picker-header", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear }), h("b2b-date-picker-days-header", null), h("b2b-date-picker-days", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear, selectedDay: this.selectedDay, disableWeekends: this.disableWeekends, disableFutureDates: this.disableFutureDates, disablePastDates: this.disablePastDates }))), this.datePickerView === DatePickerView.Months && (h("b2b-date-picker-months", { selectedMonth: this.selectedMonth })), this.datePickerView === DatePickerView.Years && (h("b2b-date-picker-years", { selectedYear: this.selectedYear }))), this.showDatePicker && (h("div", { class: "b2b-date-picker__backdrop", onClick: this.handleBackdropDismiss })), !this.showDatePicker && (h("span", { class: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -43,11 +43,11 @@ export class DropdownComponent {
43
43
  selectElement.append(...options);
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: '1a95b7db34185e8a97f17789555263e16c10236d', class: {
46
+ return (h(Host, { key: '5ab2b6da866b7dfa16a70986b930c4ab6c498820', class: {
47
47
  'b2b-dropdown': true,
48
48
  'b2b-dropdown--error': this.invalid && !this.disabled,
49
49
  'b2b-dropdown--disabled': this.disabled,
50
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: '06bc6f12dc93b0a39f1c086deba8eb10236888cf', class: "b2b-dropdown__select", "aria-labelledby": this.name, name: this.name, disabled: this.disabled, onChange: this.onSelect, onFocus: this.onFocus, onBlur: this.onBlur }), (this.hint !== undefined && !this.invalid) ||
50
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: 'e086977e610c986f0d6f3539ed31fdee0d7229e7', class: "b2b-dropdown__select", "aria-labelledby": this.name, name: this.name, disabled: this.disabled, onChange: this.onSelect, onFocus: this.onFocus, onBlur: this.onBlur }), (this.hint !== undefined && !this.invalid) ||
51
51
  (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
52
52
  }
53
53
  static get is() { return "b2b-dropdown"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -223,9 +223,14 @@
223
223
  }
224
224
  :host(.b2b-flyout-menu__option:hover),
225
225
  :host(.b2b-flyout-menu__option:focus) {
226
- background-color: var(--b2b-color-table-selected-hover);
226
+ background-color: var(--b2b-color-hover);
227
227
  outline: none;
228
228
  }
229
+ :host(.b2b-flyout-menu__option--disabled):hover,
230
+ :host(.b2b-flyout-menu__option--disabled:focus) {
231
+ background-color: transparent;
232
+ color: var(--b2b-color-grey-200);
233
+ }
229
234
  :host(.b2b-flyout-menu__option--disabled) {
230
235
  pointer-events: none;
231
236
  color: var(--b2b-color-grey-200);
@@ -16,7 +16,7 @@ export class FlyoutMenuOptionComponent {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '28f1e7f603120f7e2c5d9e15685505796d249d84', class: {
19
+ return (h(Host, { key: '549433cce616c4ecaaa63f78a9d28f5c1d90a0d1', class: {
20
20
  'b2b-flyout-menu__option': true,
21
21
  'b2b-flyout-menu__option--disabled': this.disabled,
22
22
  'b2b-flyout-menu__option--separator': this.separator,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Oct 2024 12:35:00 GMT
3
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -122,7 +122,7 @@
122
122
  }
123
123
  /**
124
124
  * Do not edit directly
125
- * Generated on Thu, 24 Oct 2024 12:35:01 GMT
125
+ * Generated on Wed, 04 Dec 2024 06:52:18 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */