@otto-de/b2b-core-components 1.20.0 → 1.22.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 (354) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/icons/b2b_icon-chatbot.svg +2 -20
  3. package/dist/b2b-core-components/icons-100/b2b_icon-bullet-list.svg +1 -0
  4. package/dist/b2b-core-components/icons-100/b2b_icon-chatbot.svg +2 -20
  5. package/dist/b2b-core-components/icons-100/b2b_icon-ordered-list.svg +1 -0
  6. package/dist/b2b-core-components/{p-7a9088d2.entry.js → p-01c05f0c.entry.js} +1 -1
  7. package/dist/b2b-core-components/{p-64a2aebd.entry.js → p-05ad52a3.entry.js} +1 -1
  8. package/dist/b2b-core-components/{p-19b13dcc.entry.js → p-078a9f04.entry.js} +1 -1
  9. package/dist/b2b-core-components/{p-4ac8b0ba.entry.js → p-15988a15.entry.js} +1 -1
  10. package/dist/b2b-core-components/{p-171722c3.entry.js → p-1930be42.entry.js} +1 -1
  11. package/dist/b2b-core-components/{p-1887174e.entry.js → p-19b5503c.entry.js} +1 -1
  12. package/dist/b2b-core-components/{p-189f3e25.entry.js → p-1c048a27.entry.js} +1 -1
  13. package/dist/b2b-core-components/{p-ae0d9209.entry.js → p-20d53606.entry.js} +1 -1
  14. package/dist/b2b-core-components/p-212fa6a0.entry.js +1 -0
  15. package/dist/b2b-core-components/{p-4e7ad473.entry.js → p-228e1449.entry.js} +1 -1
  16. package/dist/b2b-core-components/{p-d51551c9.entry.js → p-232acfe1.entry.js} +1 -1
  17. package/dist/b2b-core-components/{p-72e23a4e.entry.js → p-271d44a7.entry.js} +1 -1
  18. package/dist/b2b-core-components/{p-56573a91.entry.js → p-296f824d.entry.js} +1 -1
  19. package/dist/b2b-core-components/p-2bab8c7f.entry.js +1 -0
  20. package/dist/b2b-core-components/{p-00700a00.entry.js → p-2c8f2fa9.entry.js} +1 -1
  21. package/dist/b2b-core-components/{p-31df26eb.entry.js → p-3ef45a4b.entry.js} +1 -1
  22. package/dist/b2b-core-components/{p-bcb7e042.entry.js → p-48e693a5.entry.js} +1 -1
  23. package/dist/b2b-core-components/p-545b6ba2.entry.js +1 -0
  24. package/dist/b2b-core-components/{p-08a26519.entry.js → p-5958af69.entry.js} +1 -1
  25. package/dist/b2b-core-components/{p-f8cf06c5.entry.js → p-5a7e3db7.entry.js} +1 -1
  26. package/dist/b2b-core-components/p-6f3a6904.entry.js +1 -0
  27. package/dist/b2b-core-components/{p-39651255.entry.js → p-7264f359.entry.js} +1 -1
  28. package/dist/b2b-core-components/{p-a7221803.entry.js → p-744e8fc3.entry.js} +1 -1
  29. package/dist/b2b-core-components/{p-c33bc1a2.entry.js → p-752d38c8.entry.js} +1 -1
  30. package/dist/b2b-core-components/{p-ab8d496b.entry.js → p-7afbfa3b.entry.js} +1 -1
  31. package/dist/b2b-core-components/{p-e9537c12.entry.js → p-88c0c97c.entry.js} +1 -1
  32. package/dist/b2b-core-components/p-928ab618.entry.js +1 -0
  33. package/dist/b2b-core-components/p-92a809de.entry.js +1 -0
  34. package/dist/b2b-core-components/p-94f80a44.entry.js +1 -0
  35. package/dist/b2b-core-components/{p-54d15111.entry.js → p-9f453acb.entry.js} +1 -1
  36. package/dist/b2b-core-components/p-a923feb6.js +1 -0
  37. package/dist/b2b-core-components/{p-758ff932.entry.js → p-ad0df2f2.entry.js} +1 -1
  38. package/dist/b2b-core-components/{p-35dca1b0.entry.js → p-b03d197a.entry.js} +1 -1
  39. package/dist/b2b-core-components/{p-6847b3bf.entry.js → p-b045e097.entry.js} +1 -1
  40. package/dist/b2b-core-components/{p-f5fa0721.entry.js → p-b368015e.entry.js} +1 -1
  41. package/dist/b2b-core-components/p-b7afa702.entry.js +1 -0
  42. package/dist/b2b-core-components/{p-1135d0ce.entry.js → p-c10ee62f.entry.js} +1 -1
  43. package/dist/b2b-core-components/{p-ad99ec44.entry.js → p-c365567c.entry.js} +1 -1
  44. package/dist/b2b-core-components/{p-67ad8770.entry.js → p-c97990e8.entry.js} +1 -1
  45. package/dist/b2b-core-components/p-cad3574a.entry.js +1 -0
  46. package/dist/b2b-core-components/{p-0e7e3e44.entry.js → p-cd520262.entry.js} +1 -1
  47. package/dist/b2b-core-components/{p-1c8825d1.entry.js → p-d0035d7d.entry.js} +1 -1
  48. package/dist/b2b-core-components/p-d3a04423.entry.js +1 -0
  49. package/dist/b2b-core-components/{p-30d6787c.entry.js → p-ef01f7b2.entry.js} +1 -1
  50. package/dist/b2b-core-components/p-f1287a36.entry.js +1 -0
  51. package/dist/b2b-core-components/{p-e350e4ab.entry.js → p-f8f280fc.entry.js} +1 -1
  52. package/dist/cjs/b2b-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/b2b-anchor.cjs.entry.js +7 -3
  54. package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
  55. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
  56. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  57. package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +35 -33
  58. package/dist/cjs/b2b-date-picker.cjs.entry.js +73 -27
  59. package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
  60. package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
  61. package/dist/cjs/b2b-flyout-menu.cjs.entry.js +3 -3
  62. package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
  63. package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
  64. package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
  65. package/dist/cjs/b2b-icon-100.cjs.entry.js +2 -0
  66. package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
  67. package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
  68. package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
  69. package/dist/cjs/b2b-label.cjs.entry.js +2 -2
  70. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  71. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +4 -4
  72. package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
  73. package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
  74. package/dist/cjs/b2b-progress-bar.cjs.entry.js +4 -4
  75. package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
  76. package/dist/cjs/b2b-radio-group.cjs.entry.js +5 -2
  77. package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
  78. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
  79. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
  80. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  81. package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
  82. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  83. package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
  84. package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
  85. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
  86. package/dist/cjs/b2b-table-row.cjs.entry.js +29 -8
  87. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
  88. package/dist/cjs/b2b-table.cjs.entry.js +2 -2
  89. package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
  90. package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
  91. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
  92. package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
  93. package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
  94. package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
  95. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
  97. package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
  98. package/dist/cjs/date-picker-util-8596688b.js +109 -0
  99. package/dist/cjs/loader.cjs.js +1 -1
  100. package/dist/collection/components/alert/alert.css +2 -2
  101. package/dist/collection/components/alert/alert.e2e.js +2 -2
  102. package/dist/collection/components/alert/alert.js +2 -2
  103. package/dist/collection/components/anchor/anchor.css +16 -7
  104. package/dist/collection/components/anchor/anchor.js +42 -2
  105. package/dist/collection/components/anchor/anchor.spec.js +8 -8
  106. package/dist/collection/components/anchor/anchor.stories.js +22 -2
  107. package/dist/collection/components/background-box/background-box.css +2 -2
  108. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  109. package/dist/collection/components/button/button.css +2 -2
  110. package/dist/collection/components/card/card.css +2 -2
  111. package/dist/collection/components/checkbox/checkbox.css +2 -2
  112. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  113. package/dist/collection/components/chip/chip.css +2 -2
  114. package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
  115. package/dist/collection/components/date-picker/date-picker-days-header.js +27 -3
  116. package/dist/collection/components/date-picker/date-picker-days.css +2 -2
  117. package/dist/collection/components/date-picker/date-picker-days.js +93 -19
  118. package/dist/collection/components/date-picker/date-picker-header.css +2 -2
  119. package/dist/collection/components/date-picker/date-picker-header.js +26 -6
  120. package/dist/collection/components/date-picker/date-picker-months.css +2 -2
  121. package/dist/collection/components/date-picker/date-picker-months.e2e.js +3 -3
  122. package/dist/collection/components/date-picker/date-picker-months.js +22 -2
  123. package/dist/collection/components/date-picker/date-picker-years.css +2 -2
  124. package/dist/collection/components/date-picker/date-picker.css +2 -4
  125. package/dist/collection/components/date-picker/date-picker.js +216 -23
  126. package/dist/collection/components/date-picker/date-picker.stories.js +103 -7
  127. package/dist/collection/components/date-picker/date-picker.types.js +33 -2
  128. package/dist/collection/components/dropdown/dropdown.css +2 -2
  129. package/dist/collection/components/dropdown/dropdown.js +2 -2
  130. package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
  131. package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
  132. package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
  133. package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
  134. package/dist/collection/components/grid/column.js +1 -1
  135. package/dist/collection/components/grid/grid.js +1 -1
  136. package/dist/collection/components/grid/row.js +2 -2
  137. package/dist/collection/components/headline/headline.css +2 -2
  138. package/dist/collection/components/headline/headline.stories.js +9 -2
  139. package/dist/collection/components/icon/icon.css +2 -2
  140. package/dist/collection/components/icon/icons/b2b_icon-chatbot.svg +2 -20
  141. package/dist/collection/components/icon-100/icon-100.css +2 -2
  142. package/dist/collection/components/icon-100/icon-100.js +1 -1
  143. package/dist/collection/components/icon-100/icons-100/b2b_icon-bullet-list.svg +1 -0
  144. package/dist/collection/components/icon-100/icons-100/b2b_icon-chatbot.svg +2 -20
  145. package/dist/collection/components/icon-100/icons-100/b2b_icon-ordered-list.svg +1 -0
  146. package/dist/collection/components/icon-100/types.js +2 -0
  147. package/dist/collection/components/icon-50/icon-50.css +2 -2
  148. package/dist/collection/components/input/input.css +2 -2
  149. package/dist/collection/components/input/input.js +4 -4
  150. package/dist/collection/components/input-group/input-group.css +2 -2
  151. package/dist/collection/components/input-group/input-group.js +1 -1
  152. package/dist/collection/components/input-label/input-label.js +2 -2
  153. package/dist/collection/components/input-list/input-list-option.js +1 -1
  154. package/dist/collection/components/input-list/input-list.css +2 -2
  155. package/dist/collection/components/input-list/input-list.js +2 -2
  156. package/dist/collection/components/label/label.css +2 -2
  157. package/dist/collection/components/label/label.js +2 -2
  158. package/dist/collection/components/modal/modal.css +2 -2
  159. package/dist/collection/components/modal/modal.js +2 -2
  160. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
  161. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
  162. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
  163. package/dist/collection/components/pagination/pagination.css +2 -2
  164. package/dist/collection/components/pagination/pagination.js +1 -1
  165. package/dist/collection/components/paragraph/paragraph.css +2 -2
  166. package/dist/collection/components/paragraph/paragraph.js +2 -2
  167. package/dist/collection/components/progress-bar/progress-bar.css +5 -2
  168. package/dist/collection/components/progress-bar/progress-bar.js +3 -3
  169. package/dist/collection/components/radio/radio.css +2 -2
  170. package/dist/collection/components/radio/radio.e2e.js +9 -0
  171. package/dist/collection/components/radio/radio.js +2 -2
  172. package/dist/collection/components/radio/radio.stories.js +7 -0
  173. package/dist/collection/components/radio-group/radio-group.css +2 -2
  174. package/dist/collection/components/radio-group/radio-group.e2e.js +12 -0
  175. package/dist/collection/components/radio-group/radio-group.js +5 -2
  176. package/dist/collection/components/radio-group/radio-group.stories.js +15 -0
  177. package/dist/collection/components/required-separator/required-separator.css +2 -2
  178. package/dist/collection/components/required-separator/required-separator.js +1 -1
  179. package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
  180. package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
  181. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  182. package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
  183. package/dist/collection/components/search/search.js +1 -1
  184. package/dist/collection/components/separator/separator.css +2 -2
  185. package/dist/collection/components/separator/separator.js +1 -1
  186. package/dist/collection/components/spinner/spinner.css +2 -2
  187. package/dist/collection/components/spinner/spinner.js +1 -1
  188. package/dist/collection/components/tab/tab.css +2 -2
  189. package/dist/collection/components/tab/tab.js +2 -2
  190. package/dist/collection/components/tab-group/tab-group.js +1 -1
  191. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  192. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  193. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  194. package/dist/collection/components/table/table-cell/table-cell.js +2 -2
  195. package/dist/collection/components/table/table-header/table-header.css +2 -2
  196. package/dist/collection/components/table/table-header/table-header.js +1 -1
  197. package/dist/collection/components/table/table-row/table-row.css +2 -2
  198. package/dist/collection/components/table/table-row/table-row.js +31 -9
  199. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  200. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +3 -3
  201. package/dist/collection/components/table/table.css +2 -2
  202. package/dist/collection/components/table/table.js +2 -2
  203. package/dist/collection/components/textarea/textarea.css +2 -2
  204. package/dist/collection/components/textarea/textarea.js +2 -2
  205. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  206. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  207. package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
  208. package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
  209. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  210. package/dist/collection/components/toggle-group/toggle-group.js +2 -2
  211. package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
  212. package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
  213. package/dist/collection/components/tooltip/tooltip.css +2 -2
  214. package/dist/collection/components/tooltip/tooltip.js +3 -3
  215. package/dist/collection/components/wizard/wizard-step.js +2 -2
  216. package/dist/collection/components/wizard/wizard.css +2 -2
  217. package/dist/collection/components/wizard/wizard.js +1 -1
  218. package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
  219. package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
  220. package/dist/collection/utils/datepicker/date-picker-util.js +48 -0
  221. package/dist/components/b2b-alert.js +1 -1
  222. package/dist/components/b2b-anchor.js +10 -4
  223. package/dist/components/b2b-date-picker.js +82 -24
  224. package/dist/components/b2b-dropdown.js +2 -2
  225. package/dist/components/b2b-flyout-menu-option.js +1 -1
  226. package/dist/components/b2b-flyout-menu.js +3 -3
  227. package/dist/components/b2b-grid-col.js +1 -1
  228. package/dist/components/b2b-grid-row.js +2 -2
  229. package/dist/components/b2b-grid.js +1 -1
  230. package/dist/components/b2b-icon-100.js +2 -0
  231. package/dist/components/b2b-label.js +2 -2
  232. package/dist/components/b2b-modal.js +2 -2
  233. package/dist/components/b2b-multiselect-dropdown.js +4 -4
  234. package/dist/components/b2b-pagination.js +1 -1
  235. package/dist/components/b2b-paragraph.js +2 -2
  236. package/dist/components/b2b-progress-bar.js +4 -4
  237. package/dist/components/b2b-radio-button.js +2 -2
  238. package/dist/components/b2b-radio-group.js +5 -2
  239. package/dist/components/b2b-required-separator.js +1 -1
  240. package/dist/components/b2b-scrollable-container.js +1 -1
  241. package/dist/components/b2b-search.js +1 -1
  242. package/dist/components/b2b-tab-group.js +1 -1
  243. package/dist/components/b2b-tab-panel.js +1 -1
  244. package/dist/components/b2b-tab.js +2 -2
  245. package/dist/components/b2b-table-row.js +30 -8
  246. package/dist/components/b2b-table-rowgroup.js +3 -3
  247. package/dist/components/b2b-table.js +2 -2
  248. package/dist/components/b2b-textarea.js +2 -2
  249. package/dist/components/b2b-toggle-button.js +3 -3
  250. package/dist/components/b2b-toggle-chip.js +3 -3
  251. package/dist/components/b2b-toggle-group.js +2 -2
  252. package/dist/components/b2b-toggle-switch.js +4 -4
  253. package/dist/components/b2b-tooltip.js +3 -3
  254. package/dist/components/b2b-wizard-step.js +2 -2
  255. package/dist/components/b2b-wizard.js +1 -1
  256. package/dist/components/date-picker-days-header.js +8 -4
  257. package/dist/components/date-picker-days.js +69 -20
  258. package/dist/components/date-picker-header.js +10 -7
  259. package/dist/components/date-picker-months.js +6 -3
  260. package/dist/components/date-picker.types.js +34 -3
  261. package/dist/components/input-group.js +1 -1
  262. package/dist/components/input-label.js +2 -2
  263. package/dist/components/input-list-option.js +1 -1
  264. package/dist/components/input-list.js +2 -2
  265. package/dist/components/input.js +4 -4
  266. package/dist/components/multiselect-option.js +2 -2
  267. package/dist/components/rounded-icon.js +4 -4
  268. package/dist/components/separator.js +1 -1
  269. package/dist/components/spinner.js +1 -1
  270. package/dist/components/table-cell.js +2 -2
  271. package/dist/components/table-header.js +1 -1
  272. package/dist/components/wizard-icon.js +1 -1
  273. package/dist/custom-elements.json +100 -1
  274. package/dist/esm/b2b-alert.entry.js +1 -1
  275. package/dist/esm/b2b-anchor.entry.js +7 -3
  276. package/dist/esm/b2b-button_2.entry.js +1 -1
  277. package/dist/esm/b2b-chip-component_2.entry.js +2 -2
  278. package/dist/esm/b2b-core-components.js +1 -1
  279. package/dist/esm/b2b-date-picker-days_5.entry.js +30 -28
  280. package/dist/esm/b2b-date-picker.entry.js +69 -23
  281. package/dist/esm/b2b-dropdown.entry.js +2 -2
  282. package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
  283. package/dist/esm/b2b-flyout-menu.entry.js +3 -3
  284. package/dist/esm/b2b-grid-col.entry.js +1 -1
  285. package/dist/esm/b2b-grid-row.entry.js +2 -2
  286. package/dist/esm/b2b-grid.entry.js +1 -1
  287. package/dist/esm/b2b-icon-100.entry.js +2 -0
  288. package/dist/esm/b2b-input-group_2.entry.js +3 -3
  289. package/dist/esm/b2b-input-label.entry.js +2 -2
  290. package/dist/esm/b2b-input_2.entry.js +5 -5
  291. package/dist/esm/b2b-label.entry.js +2 -2
  292. package/dist/esm/b2b-modal.entry.js +2 -2
  293. package/dist/esm/b2b-multiselect-dropdown.entry.js +4 -4
  294. package/dist/esm/b2b-pagination.entry.js +1 -1
  295. package/dist/esm/b2b-paragraph.entry.js +2 -2
  296. package/dist/esm/b2b-progress-bar.entry.js +4 -4
  297. package/dist/esm/b2b-radio-button.entry.js +2 -2
  298. package/dist/esm/b2b-radio-group.entry.js +5 -2
  299. package/dist/esm/b2b-required-separator.entry.js +1 -1
  300. package/dist/esm/b2b-rounded-icon.entry.js +4 -4
  301. package/dist/esm/b2b-scrollable-container.entry.js +1 -1
  302. package/dist/esm/b2b-search.entry.js +1 -1
  303. package/dist/esm/b2b-separator.entry.js +1 -1
  304. package/dist/esm/b2b-tab-group.entry.js +1 -1
  305. package/dist/esm/b2b-tab-panel.entry.js +1 -1
  306. package/dist/esm/b2b-tab.entry.js +2 -2
  307. package/dist/esm/b2b-table-cell_2.entry.js +3 -3
  308. package/dist/esm/b2b-table-row.entry.js +29 -8
  309. package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
  310. package/dist/esm/b2b-table.entry.js +2 -2
  311. package/dist/esm/b2b-textarea.entry.js +2 -2
  312. package/dist/esm/b2b-toggle-button.entry.js +3 -3
  313. package/dist/esm/b2b-toggle-chip.entry.js +3 -3
  314. package/dist/esm/b2b-toggle-group.entry.js +2 -2
  315. package/dist/esm/b2b-toggle-switch.entry.js +4 -4
  316. package/dist/esm/b2b-tooltip.entry.js +3 -3
  317. package/dist/esm/b2b-wizard-icon.entry.js +1 -1
  318. package/dist/esm/b2b-wizard-step.entry.js +2 -2
  319. package/dist/esm/b2b-wizard.entry.js +1 -1
  320. package/dist/esm/date-picker-util-10878a70.js +103 -0
  321. package/dist/esm/loader.js +1 -1
  322. package/dist/types/components/anchor/anchor.d.ts +4 -0
  323. package/dist/types/components/anchor/anchor.stories.d.ts +3 -1
  324. package/dist/types/components/date-picker/date-picker-days-header.d.ts +2 -0
  325. package/dist/types/components/date-picker/date-picker-days.d.ts +8 -1
  326. package/dist/types/components/date-picker/date-picker-header.d.ts +2 -0
  327. package/dist/types/components/date-picker/date-picker-months.d.ts +2 -0
  328. package/dist/types/components/date-picker/date-picker.d.ts +24 -2
  329. package/dist/types/components/date-picker/date-picker.stories.d.ts +8 -0
  330. package/dist/types/components/date-picker/date-picker.types.d.ts +4 -2
  331. package/dist/types/components/headline/headline.stories.d.ts +1 -0
  332. package/dist/types/components/icon-100/types.d.ts +1 -1
  333. package/dist/types/components/radio/radio.stories.d.ts +2 -1
  334. package/dist/types/components/radio-group/radio-group.d.ts +2 -0
  335. package/dist/types/components/radio-group/radio-group.stories.d.ts +2 -1
  336. package/dist/types/components/table/table-row/table-row.d.ts +6 -2
  337. package/dist/types/components.d.ts +161 -1
  338. package/dist/types/utils/datepicker/date-picker-util.d.ts +14 -0
  339. package/dist/web-types.json +174 -7
  340. package/package.json +3 -2
  341. package/dist/b2b-core-components/p-062b3042.entry.js +0 -1
  342. package/dist/b2b-core-components/p-101e08d9.entry.js +0 -1
  343. package/dist/b2b-core-components/p-376ba9ef.entry.js +0 -1
  344. package/dist/b2b-core-components/p-441657b2.js +0 -1
  345. package/dist/b2b-core-components/p-670a0599.entry.js +0 -1
  346. package/dist/b2b-core-components/p-68a836cb.entry.js +0 -1
  347. package/dist/b2b-core-components/p-6f17d047.entry.js +0 -1
  348. package/dist/b2b-core-components/p-931c9dc7.entry.js +0 -1
  349. package/dist/b2b-core-components/p-baa99f00.entry.js +0 -1
  350. package/dist/b2b-core-components/p-d0e8d48b.entry.js +0 -1
  351. package/dist/b2b-core-components/p-d0e930f2.entry.js +0 -1
  352. package/dist/b2b-core-components/p-d3f86dfe.entry.js +0 -1
  353. package/dist/cjs/date-picker.types-79f4bba0.js +0 -26
  354. package/dist/esm/date-picker.types-e21b2096.js +0 -23
@@ -3,6 +3,8 @@ import { TableColourOptions, TableSizes, } from "../../../utils/types/table.type
3
3
  import { isFirstRow } from "../utils";
4
4
  export class TableRowComponent {
5
5
  constructor() {
6
+ this.parentRowGroup = null;
7
+ this.observer = null;
6
8
  this.toggleOpen = () => {
7
9
  this.isOpen = !this.isOpen;
8
10
  this.b2bOpen.emit(this.isOpen);
@@ -18,7 +20,7 @@ export class TableRowComponent {
18
20
  });
19
21
  };
20
22
  this.getRowColor = () => {
21
- if (this.isAccordion() &&
23
+ if (this.isAccordionValue &&
22
24
  isFirstRow(this.hostElement) &&
23
25
  !this.isHeader()) {
24
26
  return TableColourOptions.GROUP;
@@ -33,9 +35,6 @@ export class TableRowComponent {
33
35
  this.getParentRowGroup = () => {
34
36
  return this.hostElement.closest('b2b-table-rowgroup');
35
37
  };
36
- this.isAccordion = () => {
37
- return this.getParentRowGroup().hasAttribute('accordion');
38
- };
39
38
  this.isHeader = () => {
40
39
  return this.getParentRowGroup().type === 'header';
41
40
  };
@@ -51,7 +50,7 @@ export class TableRowComponent {
51
50
  }
52
51
  };
53
52
  this.getAccordionColumns = () => {
54
- if (this.isAccordion() && !this.isHeader()) {
53
+ if (this.isAccordionValue && !this.isHeader()) {
55
54
  if (isFirstRow(this.hostElement)) {
56
55
  return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
57
56
  'b2b-table-row__accordion-icon': true,
@@ -60,7 +59,7 @@ export class TableRowComponent {
60
59
  }
61
60
  return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
62
61
  }
63
- else if (this.isAccordion() && this.isHeader()) {
62
+ else if (this.isAccordionValue && this.isHeader()) {
64
63
  return (h("b2b-table-header", { class: "b2b-table-row__control-cell--accordion" }));
65
64
  }
66
65
  };
@@ -71,6 +70,7 @@ export class TableRowComponent {
71
70
  this.value = undefined;
72
71
  this.indeterminate = false;
73
72
  this.checked = false;
73
+ this.isAccordionValue = false;
74
74
  this.isOpen = false;
75
75
  }
76
76
  toggleSelected(event) {
@@ -97,14 +97,35 @@ export class TableRowComponent {
97
97
  this.getParentRowGroup().type !== 'header') {
98
98
  console.warn('You need to associate a value with the row as a unique identifier.');
99
99
  }
100
+ this.findParentAndObserve();
101
+ }
102
+ disconnectedCallback() {
103
+ if (this.observer !== undefined && this.observer !== null) {
104
+ this.observer.disconnect();
105
+ this.observer = null;
106
+ }
107
+ }
108
+ findParentAndObserve() {
109
+ this.parentRowGroup = this.hostElement.closest('b2b-table-rowgroup');
110
+ if (this.parentRowGroup !== undefined && this.parentRowGroup !== null) {
111
+ this.observer = new MutationObserver(() => {
112
+ var _a;
113
+ this.isAccordionValue =
114
+ ((_a = this.parentRowGroup) === null || _a === void 0 ? void 0 : _a.hasAttribute('accordion')) || false;
115
+ });
116
+ this.observer.observe(this.parentRowGroup, { attributes: true });
117
+ }
118
+ else {
119
+ console.warn('Parent b2b-table-rowgroup not found!');
120
+ }
100
121
  }
101
122
  render() {
102
- return (h(Host, { key: '158ea38cbc14a9fd14a87beaa20cc6610d348eef', class: {
123
+ return (h(Host, { key: 'c39eb58624347736a167fef2e4aa9fc9ca7c7e48', class: {
103
124
  'b2b-table-row': true,
104
125
  ['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
105
126
  ['b2b-table-row--highlight']: this.highlight,
106
127
  [`b2b-table-row--color-${this.getRowColor()}`]: true,
107
- }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '0f4afc0529929c2d308f76ce91a0353af7532607' })));
128
+ }, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'e224986cde05a3e6fc60c087953512bca87999ef' })));
108
129
  }
109
130
  static get is() { return "b2b-table-row"; }
110
131
  static get encapsulation() { return "shadow"; }
@@ -265,6 +286,7 @@ export class TableRowComponent {
265
286
  }
266
287
  static get states() {
267
288
  return {
289
+ "isAccordionValue": {},
268
290
  "isOpen": {}
269
291
  };
270
292
  }
@@ -292,7 +314,7 @@ export class TableRowComponent {
292
314
  "composed": true,
293
315
  "docs": {
294
316
  "tags": [],
295
- "text": "Emits if the row is selectable and it is selected or unselected. Emits both unique value and the checkbox status."
317
+ "text": "Emits if the row is selectable and if it is selected or unselected. Emits both unique value and the checkbox status."
296
318
  },
297
319
  "complexType": {
298
320
  "original": "CheckboxEventDetail",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -113,11 +113,11 @@ export class TableRowgroupComponent {
113
113
  this.makeHeaderRowNotSelectable();
114
114
  }
115
115
  render() {
116
- return (h(Host, { key: 'b32971c633a27af352651656743e5788f08dbc70', class: {
116
+ return (h(Host, { key: 'faa8967bf314a57aaa29bf32e4a8dd9fb1d31229', class: {
117
117
  ['b2b-table-rowgroup__' + this.type]: true,
118
118
  'b2b-table-rowgroup--fixed': this.fixed,
119
119
  'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
120
- }, role: "rowgroup" }, h("slot", { key: '53e1830d7834f3330a2a74f94d0ebea102fc5d5d' })));
120
+ }, role: "rowgroup" }, h("slot", { key: 'bf00c613d18b138e715d9840141e06399e4f5309' })));
121
121
  }
122
122
  static get is() { return "b2b-table-rowgroup"; }
123
123
  static get encapsulation() { return "shadow"; }
@@ -198,7 +198,7 @@ export class TableRowgroupComponent {
198
198
  "text": "Renders the rowgroup as an accordion. Both header and body must have accordion set to true.\nOne table can contain multiple rowgroups of type body, each of which represents an accordion row with children."
199
199
  },
200
200
  "attribute": "accordion",
201
- "reflect": false,
201
+ "reflect": true,
202
202
  "defaultValue": "false"
203
203
  },
204
204
  "selectable": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -60,9 +60,9 @@ export class TableComponent {
60
60
  }
61
61
  }
62
62
  render() {
63
- return (h(Host, { key: 'f059683c7d7248d2a71f6b87d2a2c824bb4cedd9', class: {
63
+ return (h(Host, { key: 'd69ea87cde7434a9555464edaf081268ee850bdb', class: {
64
64
  ['b2b-table--' + this.size]: true,
65
- }, role: "table" }, h("slot", { key: 'ac05cc8efb3b4aaef44c2f9e05721363b630cd5e' })));
65
+ }, role: "table" }, h("slot", { key: '196c2f61af014d04a842543ea66ff806edbb8e5f' })));
66
66
  }
67
67
  static get is() { return "b2b-table"; }
68
68
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -45,10 +45,10 @@ export class B2BTextareaComponent {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'fa67a181d11d401b8619990c40cd56f788365a05', class: {
48
+ return (h(Host, { key: 'f58f062339891dfe7d78fcce5b9a90ac9871d826', class: {
49
49
  'b2b-textarea': true,
50
50
  'b2b-textarea--error': this.invalid && !this.disabled,
51
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '87fe71ca84f053e80625942b7fe3afcfd4cfa44a', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
51
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '22cd5ea8b7b8cd34253c2cc076b0273b1481e10f', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
52
52
  (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
53
53
  }
54
54
  static get is() { return "b2b-textarea"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -31,13 +31,13 @@ export class B2bToggleButtonComponent {
31
31
  return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '1b4455bc08da5cd59668542b9448991950082a5d', onClick: this.onClick }, h("span", { key: '3dfc32795f51493f156715c762eb07911cd8cefa', class: {
34
+ return (h(Host, { key: '757afe3ee305d4bba0c4092c98c277661d13213d', onClick: this.onClick }, h("span", { key: 'ad8f66caccea7374aa6bc6faf8a837efca0d5f69', class: {
35
35
  'b2b-toggle-button': true,
36
36
  'b2b-toggle-button--disabled': this.disabled,
37
- } }, h("input", { key: '5909a9f50d6a5bd7debb6d94e42c32eb34494d7d', tabindex: 0, class: {
37
+ } }, h("input", { key: 'e7b4b5267dbf8f5e6c212bfe5b3a7cda870c53ec', tabindex: 0, class: {
38
38
  'b2b-toggle-button__input': true,
39
39
  'b2b-toggle-button__input--disabled': this.disabled,
40
- }, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'a3ba75134e2b082fb6daf4a4305e909abd3ce2d3', id: this.name, tabindex: -1, class: {
40
+ }, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '5a6ccbcf1cc18884080359453b2abb5cc38acd6f', id: this.name, tabindex: -1, class: {
41
41
  'b2b-toggle-button__label': true,
42
42
  'b2b-toggle-button__label--disabled': this.disabled,
43
43
  'b2b-toggle-button__label--checked': this.checked && !this.disabled,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -33,11 +33,11 @@ export class B2BToggleChipComponent {
33
33
  this.disabled = false;
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '0edab0e264bffc60e1e9b0479a8923fe046cb655' }, h("span", { key: 'cba90b7b8adb0e6d183b10800da01fd0cee84ddc', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
36
+ return (h(Host, { key: 'e9f095939f1efc375328ffa58edd66f880d3c8c3' }, h("span", { key: 'a708176728cdf47e6308df8fafc9bb70b4bf8472', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
37
37
  'b2b-toggle-chip': true,
38
- } }, h("input", { key: 'a83be039e526e5c81d9c9a06d78ffbe084003656', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
38
+ } }, h("input", { key: 'cc88a7fb483e9400eae10322e77d71811b7ea269', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
39
39
  'b2b-toggle-chip__input': true,
40
- }, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '239667dab17575f444304d1a6ed080969263a529', id: this.name, tabIndex: -1, class: {
40
+ }, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'f4385d049c26d7d391de6cef4946a086cf6375d0', id: this.name, tabIndex: -1, class: {
41
41
  'b2b-toggle-chip__label': true,
42
42
  [`b2b-toggle-chip__label--${this.variant}`]: true,
43
43
  'b2b-toggle-chip__label--active': this.active,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -45,10 +45,10 @@ export class B2BToggleGroup {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '61ccd7ac4efe264edc353ee2c77085b928dca8f0' }, h("div", { key: 'ca4d71b1c622d8ae3220bd3a5d871454e8614d96', class: {
48
+ return (h(Host, { key: 'fe75399c8e92ccb8a057ae685151b2434e2c260c' }, h("div", { key: '0a7b4ef54a74776c624399f9d851c16ff21eadd2', class: {
49
49
  'b2b-toggle-group': true,
50
50
  'b2b-toggle-group--disabled': this.disabled,
51
- } }, h("fieldset", { key: '05e1fd468b4cd2ecff5e813db6389f43d065176f' }, h("slot", { key: '14e60ca50e82c8e4ae7147ac7e585a13b6c50358' })))));
51
+ } }, h("fieldset", { key: '936d54912451d8f47449c5f3600bf21d6143bd4d' }, h("slot", { key: 'e6313236733da0801b1c8c618ce9e625f00fa015' })))));
52
52
  }
53
53
  static get is() { return "b2b-toggle-group"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -38,17 +38,17 @@ export class B2bToggleSwitchComponent {
38
38
  render() {
39
39
  // workaround for purgecss as safelist doesn't work
40
40
  const isLeft = this.labelPosition === 'left';
41
- return (h(Host, { key: 'f40fa08edbf399fa627a81140477f2512a5884b3' }, h("div", { key: 'f806f79cf76f965383d8538a7c393b4e562fdb32', class: {
41
+ return (h(Host, { key: 'ee7f31fda73708f9c0f239b7e812001e061b4df7' }, h("div", { key: 'e0cb8c2a712c6925da760d49228fdf0eec33eed4', class: {
42
42
  'b2b-toggle': true,
43
43
  'b2b-toggle--disabled': this.disabled,
44
44
  'b2b-toggle--checked': this.state,
45
- } }, h("div", { key: '0664c184383f64864b25978d9d980266cf72668d', class: {
45
+ } }, h("div", { key: 'fd213e47ef55cceb7e7089b393a06637ca381394', class: {
46
46
  'b2b-toggle__label': true,
47
47
  'b2b-toggle__label--left': isLeft,
48
- } }, h("span", { key: '98b08ab1b541fed7ee54730380c331aa55206868', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: 'e84003457f75842186d30b582ab3896aea5257b6', class: {
48
+ } }, h("span", { key: '7fa4a2e0324f8519001df63fb5bf6fbed66f8327', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: '956ca1d77e4a13a32e3da78c87432d92a3012dc2', class: {
49
49
  'b2b-toggle__icon': true,
50
50
  'b2b-toggle__icon--show': this.state,
51
- }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '087e56df9cd4e1712024944dd470baf445338077', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
51
+ }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: 'a4af80db0755275499e6c93feded619ce273edfa', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
52
52
  'b2b-toggle__text': true,
53
53
  'b2b-toggle__text--left': isLeft,
54
54
  } }, this.label))))));
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -59,13 +59,13 @@ export class B2BTooltipComponent {
59
59
  }
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: '206be7996ce610ef649791c8fbdb33cb43c0c4e3', onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, h("span", { key: '2db6908f7af38c30676f4ee4e2ec0fb395b496d3', class: {
62
+ return (h(Host, { key: '85bcf6cfa9dc9330a62fe8f426bb5cd94d3d944d', onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, h("span", { key: '4a2a30daf9999b103f852ff30d527c82d890bf52', class: {
63
63
  [`b2b-tooltip--${this.position}`]: true,
64
64
  'b2b-tooltip__trigger': true,
65
- } }, h("slot", { key: '701b2c95321148dc456698c6354e57f57c2aa705' }), h("div", { key: '9a73bbaffe6aeb94df712dcfb07607038827b329', class: {
65
+ } }, h("slot", { key: 'a01eb4473cc7a18ba62fa68efcdf1a41840bb758' }), h("div", { key: '371f2f93de8607c874be40ffcf033d5a31dd3e5a', class: {
66
66
  'b2b-tooltip__content': true,
67
67
  'b2b-tooltip--visible': this.opened,
68
- } }, h("slot", { key: 'a2a30959e9f5757b5bd1df92f19f97a5a87b1960', name: "content" }, this.content)))));
68
+ } }, h("slot", { key: '0cf561f9c961fa5d2a38f28fe27288ce62313fd6', name: "content" }, this.content)))));
69
69
  }
70
70
  static get is() { return "b2b-tooltip"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -7,10 +7,10 @@ export class WizardStepComponent {
7
7
  this.checkIcon = true;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '11892ec96d8a26f9a1665908c4f247a9944ecd27' }, h("div", { key: '1d5e0fadf98c8d54ffb21638df91a4c56bcb33a3', class: "b2b_wizard__step" }, h("b2b-wizard-icon", { key: '02674a17c0ee84de5c14b6422afb25df7dbca947', step: this.step, state: this.state, checkIcon: this.checkIcon }), h("div", { key: 'a059e53252f36ce98fb15298b575689c18004182', class: {
10
+ return (h(Host, { key: '3e75f42f395d080bd662b45da27a39a3d46a0695' }, h("div", { key: '7f97f665b4bf5d893cfaafc31ab5e9c1d3c1686b', class: "b2b_wizard__step" }, h("b2b-wizard-icon", { key: 'c13bff249dcada2231f027f710b169e878eaf622', step: this.step, state: this.state, checkIcon: this.checkIcon }), h("div", { key: '580f9caf705a7e7e00d4d1ba8c3143c0c9927285', class: {
11
11
  'b2b_wizard__step__label': true,
12
12
  'b2b_wizard__step__label--default': this.state === WizardStatus.DEFAULT,
13
- } }, h("slot", { key: '68154418c6b0e5029e4b0aea64ef03f1923b1c74' })))));
13
+ } }, h("slot", { key: '542832da55ea31b393b4a50cad6cc54f02d7223f' })))));
14
14
  }
15
15
  static get is() { return "b2b-wizard-step"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -44,7 +44,7 @@ export class WizardComponent {
44
44
  this.setStepsState();
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: '4395808877c2f78bb53e4ced7cc4c89d875a0b5c' }, h("div", { key: '8fe7bc19cf6e356aaafad10f0461db6d29781fcf', class: "b2b_wizard" }, h("slot", { key: '30e3bd793259494df8355d2417067861d49a70e8' }))));
47
+ return (h(Host, { key: 'b138e231ec78b9550d5d40431f6645a2cff00182' }, h("div", { key: 'b14e8010d0753fa917e68a6269559b28b2b7e8e5', class: "b2b_wizard" }, h("slot", { key: '88eb49e82b1276b35b50d3a438fe71a5ce4476ee' }))));
48
48
  }
49
49
  static get is() { return "b2b-wizard"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 12 Dec 2024 07:14:23 GMT
3
+ * Generated on Thu, 30 Jan 2025 18:09:12 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, 12 Dec 2024 07:14:23 GMT
125
+ * Generated on Thu, 30 Jan 2025 18:09:12 GMT
126
126
  */
127
127
  :root [data-theme="dark"] {
128
128
  --b2b-size-200: 5rem; /* 80px */
@@ -7,7 +7,7 @@ export class WizardIconComponent {
7
7
  this.checkIcon = true;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'f90113ae53a154cabd6c03ba7ca5ec799fd2a924' }, h("div", { key: 'b53d693ec4588902dfd92210723fba697fc96ca8', class: {
10
+ return (h(Host, { key: '2c8a5caa3d2e552a42a05172421befa0217a56c2' }, h("div", { key: 'c99cc645d667a872804406baf566a45ec43f4758', class: {
11
11
  'b2b-wizard-icon': true,
12
12
  } }, this.state === WizardStatus.COMPLETED && (h("b2b-rounded-icon", { color: "var(--b2b-color-success-50)", "content-color": "var(--b2b-color-success-100)" }, this.checkIcon ? (h("b2b-icon", { slot: "icon", icon: "b2b_icon-check" })) : (h("span", { slot: "text" }, this.step)))), this.state === WizardStatus.PENDING && (h("b2b-rounded-icon", { color: "var(--b2b-color-icon-default)", "content-color": "var(--b2b-color-icon-inverted)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DISABLED && (h("b2b-rounded-icon", { color: "var(--b2b-color-grey-100)", "content-color": "var(--b2b-color-grey-400)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DEFAULT && (h("b2b-rounded-icon", { color: "transparent", "border-color": "var(--b2b-color-icon-secondary)", "content-color": "var(--b2b-color-icon-secondary)" }, h("span", { slot: "text" }, this.step))))));
13
13
  }
@@ -0,0 +1,48 @@
1
+ export class DateUtils {
2
+ static isSameDate(date1, date2) {
3
+ return (date1.getFullYear() === date2.getFullYear() &&
4
+ date1.getMonth() === date2.getMonth() &&
5
+ date1.getDate() === date2.getDate());
6
+ }
7
+ static isDisabledDate(givenDate, options) {
8
+ const { disableDates = [], disablePastDates = false, disableFutureDates = false, disableWeekends = false, todayWithoutTime = new Date(), disableEvery = [], disableDatesUntil, disableDatesFrom, } = options;
9
+ const dayNameToIndex = {
10
+ So: 0,
11
+ Su: 0,
12
+ Mo: 1,
13
+ Di: 2,
14
+ Tu: 2,
15
+ Mi: 3,
16
+ We: 3,
17
+ Do: 4,
18
+ Th: 4,
19
+ Fr: 5,
20
+ Sa: 6,
21
+ };
22
+ const isExplicitlyDisabled = disableDates.length > 0 &&
23
+ disableDates.some(disabledDate => this.isSameDate(disabledDate, givenDate));
24
+ const isPastDate = disablePastDates && givenDate < todayWithoutTime;
25
+ const isFutureDate = disableFutureDates && givenDate > todayWithoutTime;
26
+ const isWeekend = disableWeekends && (givenDate.getDay() === 0 || givenDate.getDay() === 6);
27
+ const isDayToDisable = disableEvery.length > 0 &&
28
+ disableEvery.some(day => dayNameToIndex[day] === givenDate.getDay());
29
+ const isBeforeDisableUntil = givenDate <= disableDatesUntil;
30
+ const isAfterDisableFrom = givenDate >= disableDatesFrom;
31
+ return (isExplicitlyDisabled ||
32
+ isPastDate ||
33
+ isFutureDate ||
34
+ isWeekend ||
35
+ isDayToDisable ||
36
+ isBeforeDisableUntil ||
37
+ isAfterDisableFrom);
38
+ }
39
+ static parseStringToDateArray(value) {
40
+ return value
41
+ .split(',')
42
+ .map(date => date.trim())
43
+ .map(dateStr => {
44
+ const [day, month, year] = dateStr.split('.').map(Number);
45
+ return new Date(year, month - 1, day);
46
+ });
47
+ }
48
+ }
@@ -25,7 +25,7 @@ const AlertComponent = /*@__PURE__*/ proxyCustomElement(class AlertComponent ext
25
25
  return this.size === 'small' && this.customIcon;
26
26
  };
27
27
  this.type = 'info';
28
- this.size = 'small';
28
+ this.size = 'large';
29
29
  this.opened = false;
30
30
  this.hasCloseButton = true;
31
31
  this.customIcon = false;
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const anchorCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.woff\") format(\"woff\"), url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.ttf\") format(\"truetype\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.woff\") format(\"woff\"), url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.ttf\") format(\"truetype\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host{z-index:0;width:fit-content;height:fit-content;position:relative}:host .b2b-anchor{font-family:var(--b2b-font-family-default);color:var(--b2b-color-copy-default);text-decoration:underline;transition:all 0.3s ease;z-index:1001;position:relative}:host .b2b-anchor:hover{color:var(--b2b-color-red-100);cursor:pointer}:host .b2b-anchor--100{font-size:var(--b2b-size-copy-100)}:host .b2b-anchor--inherit{font-size:inherit}";
3
+ const anchorCss = ":root,:host{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-table-expand-hover:#e6f4ff;--b2b-color-table-selected-default:#cce9ff;--b2b-color-background-overlay-transparent-40:rgba(34, 34, 34, 0.25);--b2b-color-background-overlay-transparent-80:rgba(34, 34, 34, 0.5);--b2b-color-hover:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-size-headline-line-height-400:var(--b2b-size-60);--b2b-size-headline-line-height-200:var(--b2b-size-60);--b2b-size-headline-line-height-100:var(--b2b-size-60);--b2b-size-headline-400:var(--b2b-size-60);--b2b-size-headline-200:var(--b2b-size-45);--b2b-size-headline-100:var(--b2b-size-40);--b2b-size-copy-line-height-300:var(--b2b-size-90);--b2b-size-copy-line-height-200:var(--b2b-size-60);--b2b-size-copy-line-height-125:var(--b2b-size-60);--b2b-size-copy-line-height-100:var(--b2b-size-53);--b2b-size-copy-line-height-75:var(--b2b-size-45);--b2b-size-copy-line-height-50:var(--b2b-size-40);--b2b-size-copy-300:var(--b2b-size-60);--b2b-size-copy-200:var(--b2b-size-45);--b2b-size-copy-125:var(--b2b-size-40);--b2b-size-copy-100:var(--b2b-size-35);--b2b-size-copy-50:var(--b2b-size-30);--b2b-size-border-no-radius-bottom:var(--b2b-size-7) var(--b2b-size-7) 0 0;--b2b-size-border-no-radius-top:0 0 var(--b2b-size-7) var(--b2b-size-7);--b2b-size-border-no-radius-right:var(--b2b-size-7) 0 0 var(--b2b-size-7);--b2b-size-border-no-radius-left:0 var(--b2b-size-7) var(--b2b-size-7) 0;--b2b-size-border-radius-100:var(--b2b-size-7);--b2b-size-border-width-150:var(--b2b-size-10);--b2b-size-border-width-100:var(--b2b-size-5);--b2b-size-border-width-50:var(--b2b-size-1);--b2b-size-padding-175:var(--b2b-size-80);--b2b-size-padding-150:var(--b2b-size-60);--b2b-size-padding-100:var(--b2b-size-40);--b2b-size-padding-50:var(--b2b-size-20);--b2b-size-space-300:var(--b2b-size-200);--b2b-size-space-250:var(--b2b-size-160);--b2b-size-space-200:var(--b2b-size-100);--b2b-size-space-175:var(--b2b-size-80);--b2b-size-space-150:var(--b2b-size-60);--b2b-size-space-100:var(--b2b-size-40);--b2b-size-space-75:var(--b2b-size-30);--b2b-size-space-50:var(--b2b-size-20);--b2b-size-space-25:var(--b2b-size-10);--b2b-size-icon-400:var(--b2b-size-120);--b2b-size-icon-200:var(--b2b-size-80);--b2b-size-icon-100:var(--b2b-size-60);--b2b-size-icon-50:var(--b2b-size-40);--b2b-color-table-expand-default:var(--b2b-color-grey-25);--b2b-color-icon-inverted:var(--b2b-color-white-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-black-100);--b2b-color-headline-inverted:var(--b2b-color-white-100);--b2b-color-headline-default:var(--b2b-color-black-100);--b2b-color-headline-title:var(--b2b-color-red-100);--b2b-color-copy-overlay:var(--b2b-color-white-100);--b2b-color-copy-inverted:var(--b2b-color-white-100);--b2b-color-copy-secondary:var(--b2b-color-grey-400);--b2b-color-copy-default:var(--b2b-color-black-100);--b2b-color-border-100:var(--b2b-color-grey-200);--b2b-color-background-overlay:var(--b2b-color-black-100);--b2b-color-background-card:var(--b2b-color-white-100);--b2b-color-background-box:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-25);--b2b-color-error-50:var(--b2b-color-red-50)}:root [data-theme=\"dark\"]{--b2b-size-200:5rem;--b2b-size-160:4rem;--b2b-size-150:3.75rem;--b2b-size-140:3.5rem;--b2b-size-120:3rem;--b2b-size-100:2.5rem;--b2b-size-90:2.25rem;--b2b-size-80:2rem;--b2b-size-70:1.75rem;--b2b-size-60:1.5rem;--b2b-size-55:1.375rem;--b2b-size-53:1.3125rem;--b2b-size-50:1.25rem;--b2b-size-45:1.125rem;--b2b-size-40:1rem;--b2b-size-35:0.875rem;--b2b-size-30:0.75rem;--b2b-size-25:0.625rem;--b2b-size-20:0.5rem;--b2b-size-15:0.375rem;--b2b-size-10:0.25rem;--b2b-size-7:0.1875rem;--b2b-size-5:0.125rem;--b2b-size-1:0.0625rem;--b2b-font-weight-bold:700;--b2b-font-weight-normal:500;--b2b-font-weight-thin:100;--b2b-font-family-default:OttoSans, Arial, Helvetica, sans-serif;--b2b-color-hover:#e6f4ff;--b2b-color-info-100:#003264;--b2b-color-info-50:#ccd6e0;--b2b-color-success-100:#326400;--b2b-color-success-50:#d6e0cc;--b2b-color-warning-100:#ffb432;--b2b-color-warning-50:#ffd998;--b2b-color-error-100:#e6344b;--b2b-color-primary:#d4021d;--b2b-color-red-250:#850012;--b2b-color-red-200:#bb0004;--b2b-color-red-150:#e6344b;--b2b-color-red-100:#d4021d;--b2b-color-red-50:#ffdde3;--b2b-color-grey-400:#777777;--b2b-color-grey-300:#9e9e9e;--b2b-color-grey-250:#b1b1b1;--b2b-color-grey-200:#c4c4c4;--b2b-color-grey-150:#d5d5d5;--b2b-color-grey-100:#e6e6e6;--b2b-color-grey-50:#eeeeee;--b2b-color-grey-25:#f6f6f6;--b2b-color-white-100:#ffffff;--b2b-color-black-100:#222222;--b2b-color-black-50:#333333;--b2b-color-icon-inverted:var(--b2b-color-black-100);--b2b-color-icon-secondary:var(--b2b-color-grey-400);--b2b-color-icon-default:var(--b2b-color-white-100);--b2b-color-headline-inverted:var(--b2b-color-black-100);--b2b-color-headline-default:var(--b2b-color-white-100);--b2b-color-headline-title:var(--b2b-color-red-50);--b2b-color-copy-inverted:var(--b2b-color-black-100);--b2b-color-copy-secondary:var(--b2b-color-grey-100);--b2b-color-copy-default:var(--b2b-color-white-100);--b2b-color-border-100:var(--b2b-color-white-100);--b2b-color-background-page:var(--b2b-color-grey-100);--b2b-color-background-card:var(--b2b-color-black-50);--b2b-color-background-box:var(--b2b-color-black-50);--b2b-color-error-50:var(--b2b-color-red-50)}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf\");font-weight:normal;font-style:normal}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.woff\") format(\"woff\"), url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.ttf\") format(\"truetype\");font-weight:bold;font-style:normal}@font-face{font-family:OttoSans;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.woff\") format(\"woff\"), url(\"https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.ttf\") format(\"truetype\");font-weight:100;font-style:normal}@font-face{font-family:ObcIcons;src:url(\"https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff\")}:host{z-index:0;width:fit-content;height:fit-content;position:relative}:host .b2b-anchor{font-family:var(--b2b-font-family-default);color:var(--b2b-color-copy-default);transition:all 0.3s ease;z-index:1001;position:relative}:host .b2b-anchor--100{font-size:var(--b2b-size-copy-100)}:host .b2b-anchor--inherit{font-size:inherit}:host .b2b-anchor-hover--default:hover{color:var(--b2b-color-red-100);cursor:pointer}:host .b2b-anchor-hover--inherit:hover{color:inherit;cursor:pointer}:host .b2b-anchor--underline-text{text-decoration:underline}:host .b2b-anchor:not(.b2b-anchor--underline-text){text-decoration:none}";
4
4
  const B2bAnchorStyle0 = anchorCss;
5
5
 
6
6
  const AnchorComponent = /*@__PURE__*/ proxyCustomElement(class AnchorComponent extends HTMLElement {
@@ -12,19 +12,25 @@ const AnchorComponent = /*@__PURE__*/ proxyCustomElement(class AnchorComponent e
12
12
  this.download = null;
13
13
  this.target = 'self';
14
14
  this.size = 'inherit';
15
+ this.hoverColor = 'default';
16
+ this.underlineText = true;
15
17
  }
16
18
  render() {
17
- return (h(Host, { key: '8957a16aaa8ac0157e279eba36ce4467462bc700' }, h("a", { key: '462c69b00d9c1c1d49f3e7db364080ae313a7da4', href: this.href, download: this.download, target: `_${this.target}`, class: {
19
+ return (h(Host, { key: '60d94771fa6bf9cf9d8e688ecd7eba179a8e28a3' }, h("a", { key: 'f18239735b64a33cf80167e98a8cec01c0b42fb3', href: this.href, download: this.download, target: `_${this.target}`, class: {
18
20
  'b2b-anchor': true,
19
21
  [`b2b-anchor--${this.size}`]: true,
20
- } }, h("slot", { key: '3f17a63ebba35fc753b019a78f48c69040eed88e' }))));
22
+ [`b2b-anchor-hover--${this.hoverColor}`]: true,
23
+ 'b2b-anchor--underline-text': this.underlineText,
24
+ } }, h("slot", { key: '9bc35228a2265b620e8e32adf9ea8040cf259192' }))));
21
25
  }
22
26
  static get style() { return B2bAnchorStyle0; }
23
27
  }, [1, "b2b-anchor", {
24
28
  "href": [1],
25
29
  "download": [1],
26
30
  "target": [1],
27
- "size": [1]
31
+ "size": [1],
32
+ "hoverColor": [1, "hover-color"],
33
+ "underlineText": [4, "underline-text"]
28
34
  }]);
29
35
  function defineCustomElement$1() {
30
36
  if (typeof customElements === "undefined") {