@otto-de/b2b-core-components 1.27.0 → 1.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/{p-487a51a9.entry.js → p-08c8a952.entry.js} +1 -1
  3. package/dist/b2b-core-components/{p-b550622b.entry.js → p-14a72105.entry.js} +1 -1
  4. package/dist/b2b-core-components/{p-739297b7.entry.js → p-22dd07cc.entry.js} +1 -1
  5. package/dist/b2b-core-components/{p-5969da16.entry.js → p-2647450d.entry.js} +1 -1
  6. package/dist/b2b-core-components/{p-c4e22b08.entry.js → p-348f152b.entry.js} +1 -1
  7. package/dist/b2b-core-components/{p-b68cb8bd.entry.js → p-3568c300.entry.js} +1 -1
  8. package/dist/b2b-core-components/p-383d0a10.entry.js +1 -0
  9. package/dist/b2b-core-components/{p-51cf8998.entry.js → p-3cc11116.entry.js} +1 -1
  10. package/dist/b2b-core-components/p-400fa973.entry.js +1 -0
  11. package/dist/b2b-core-components/{p-ad19a73e.entry.js → p-5450ce1c.entry.js} +1 -1
  12. package/dist/b2b-core-components/{p-d9632863.entry.js → p-561b8fd3.entry.js} +1 -1
  13. package/dist/b2b-core-components/p-5e6aa5f2.entry.js +1 -0
  14. package/dist/b2b-core-components/{p-33b09ea0.entry.js → p-659c5d92.entry.js} +1 -1
  15. package/dist/b2b-core-components/{p-561f2676.entry.js → p-6cf5561b.entry.js} +1 -1
  16. package/dist/b2b-core-components/{p-00cc0f43.entry.js → p-6ff0ffdf.entry.js} +1 -1
  17. package/dist/b2b-core-components/{p-8ee0ece8.entry.js → p-77eabb15.entry.js} +1 -1
  18. package/dist/b2b-core-components/{p-17599645.entry.js → p-7e5a8e61.entry.js} +1 -1
  19. package/dist/b2b-core-components/{p-eb50ea0e.entry.js → p-80c5af85.entry.js} +1 -1
  20. package/dist/b2b-core-components/{p-c6a303c2.entry.js → p-8d73c38a.entry.js} +1 -1
  21. package/dist/b2b-core-components/{p-a6d5456a.entry.js → p-9356a466.entry.js} +1 -1
  22. package/dist/b2b-core-components/{p-44445e5d.entry.js → p-93bf8bbe.entry.js} +1 -1
  23. package/dist/b2b-core-components/{p-6b1a08fd.entry.js → p-9487b0bf.entry.js} +1 -1
  24. package/dist/b2b-core-components/p-97fa0bb3.entry.js +1 -0
  25. package/dist/b2b-core-components/{p-ee371752.entry.js → p-a155219a.entry.js} +1 -1
  26. package/dist/b2b-core-components/p-a9ba47d6.entry.js +1 -0
  27. package/dist/b2b-core-components/{p-aa43914c.entry.js → p-aa8b6283.entry.js} +1 -1
  28. package/dist/b2b-core-components/{p-739575f8.entry.js → p-bbbbd519.entry.js} +1 -1
  29. package/dist/b2b-core-components/{p-7b843179.entry.js → p-bf0a5d26.entry.js} +1 -1
  30. package/dist/b2b-core-components/{p-abf90077.entry.js → p-c2a7f367.entry.js} +1 -1
  31. package/dist/b2b-core-components/{p-41d54ae8.entry.js → p-c6cc2dea.entry.js} +1 -1
  32. package/dist/b2b-core-components/{p-c2cd0b94.entry.js → p-c8a68b79.entry.js} +1 -1
  33. package/dist/b2b-core-components/{p-bbcc4de6.entry.js → p-d1c8105b.entry.js} +1 -1
  34. package/dist/b2b-core-components/{p-aac2ed9c.entry.js → p-d93b45d6.entry.js} +1 -1
  35. package/dist/b2b-core-components/{p-d754db45.entry.js → p-dad8f664.entry.js} +1 -1
  36. package/dist/b2b-core-components/p-db205434.entry.js +1 -0
  37. package/dist/b2b-core-components/p-dd96c384.entry.js +1 -0
  38. package/dist/b2b-core-components/{p-d8d67dd8.entry.js → p-f51f72d4.entry.js} +1 -1
  39. package/dist/b2b-core-components/p-f5786cad.entry.js +1 -0
  40. package/dist/b2b-core-components/{p-eaa1c6b6.entry.js → p-f67e3fbe.entry.js} +1 -1
  41. package/dist/b2b-core-components/{p-c1d43d73.entry.js → p-f982a075.entry.js} +1 -1
  42. package/dist/b2b-core-components/{p-cbea64bc.entry.js → p-fbb917b5.entry.js} +1 -1
  43. package/dist/b2b-core-components/{p-398a82f6.entry.js → p-fdc01d9c.entry.js} +1 -1
  44. package/dist/b2b-core-components/{p-47f31e7c.entry.js → p-fe75bd7e.entry.js} +1 -1
  45. package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
  46. package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
  47. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  48. package/dist/cjs/b2b-date-picker.cjs.entry.js +35 -11
  49. package/dist/cjs/b2b-dropdown.cjs.entry.js +115 -32
  50. package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
  51. package/dist/cjs/b2b-flyout-menu.cjs.entry.js +3 -3
  52. package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
  53. package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
  54. package/dist/cjs/b2b-grid.cjs.entry.js +2 -2
  55. package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
  56. package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
  57. package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
  58. package/dist/cjs/b2b-label.cjs.entry.js +2 -2
  59. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +65 -22
  61. package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
  62. package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
  63. package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
  64. package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
  65. package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
  66. package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
  67. package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
  68. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
  69. package/dist/cjs/b2b-search.cjs.entry.js +1 -1
  70. package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
  71. package/dist/cjs/b2b-shimmer.cjs.entry.js +1 -1
  72. package/dist/cjs/b2b-snackbar.cjs.entry.js +19 -13
  73. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  74. package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
  75. package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
  76. package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
  77. package/dist/cjs/b2b-table-row.cjs.entry.js +2 -2
  78. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
  79. package/dist/cjs/b2b-table.cjs.entry.js +2 -2
  80. package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
  81. package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
  82. package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
  83. package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
  84. package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
  85. package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
  86. package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
  87. package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
  88. package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/collection/components/alert/alert.css +2 -2
  91. package/dist/collection/components/anchor/anchor.css +2 -2
  92. package/dist/collection/components/background-box/background-box.css +2 -2
  93. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  94. package/dist/collection/components/button/button.css +2 -2
  95. package/dist/collection/components/card/card.css +2 -2
  96. package/dist/collection/components/checkbox/checkbox.css +2 -2
  97. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  98. package/dist/collection/components/chip/chip.css +2 -2
  99. package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
  100. package/dist/collection/components/date-picker/date-picker-days.css +2 -2
  101. package/dist/collection/components/date-picker/date-picker-header.css +2 -2
  102. package/dist/collection/components/date-picker/date-picker-months.css +2 -2
  103. package/dist/collection/components/date-picker/date-picker-years.css +2 -2
  104. package/dist/collection/components/date-picker/date-picker.css +2 -2
  105. package/dist/collection/components/date-picker/date-picker.js +40 -11
  106. package/dist/collection/components/dropdown/dropdown.css +61 -5
  107. package/dist/collection/components/dropdown/dropdown.e2e.js +8 -0
  108. package/dist/collection/components/dropdown/dropdown.js +147 -31
  109. package/dist/collection/components/dropdown/dropdown.stories.js +6 -0
  110. package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
  111. package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
  112. package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
  113. package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
  114. package/dist/collection/components/grid/column.js +2 -2
  115. package/dist/collection/components/grid/grid.css +0 -6
  116. package/dist/collection/components/grid/grid.js +1 -1
  117. package/dist/collection/components/grid/row.js +2 -2
  118. package/dist/collection/components/headline/headline.css +2 -2
  119. package/dist/collection/components/icon/icon.css +2 -2
  120. package/dist/collection/components/icon-100/icon-100.css +2 -2
  121. package/dist/collection/components/icon-50/icon-50.css +2 -2
  122. package/dist/collection/components/input/input.css +2 -2
  123. package/dist/collection/components/input/input.js +4 -4
  124. package/dist/collection/components/input-group/input-group.css +2 -2
  125. package/dist/collection/components/input-group/input-group.js +1 -1
  126. package/dist/collection/components/input-label/input-label.js +2 -2
  127. package/dist/collection/components/input-list/input-list-option.js +1 -1
  128. package/dist/collection/components/input-list/input-list.css +2 -2
  129. package/dist/collection/components/input-list/input-list.js +2 -2
  130. package/dist/collection/components/label/label.css +2 -2
  131. package/dist/collection/components/label/label.js +2 -2
  132. package/dist/collection/components/modal/modal.css +2 -2
  133. package/dist/collection/components/modal/modal.js +2 -2
  134. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +73 -14
  135. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.e2e.js +60 -87
  136. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +155 -21
  137. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +32 -2
  138. package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
  139. package/dist/collection/components/pagination/pagination.css +2 -2
  140. package/dist/collection/components/pagination/pagination.js +1 -1
  141. package/dist/collection/components/paragraph/paragraph.css +2 -2
  142. package/dist/collection/components/paragraph/paragraph.js +2 -2
  143. package/dist/collection/components/progress-bar/progress-bar.css +2 -2
  144. package/dist/collection/components/progress-bar/progress-bar.js +3 -3
  145. package/dist/collection/components/radio/radio.css +2 -2
  146. package/dist/collection/components/radio/radio.js +2 -2
  147. package/dist/collection/components/radio-group/radio-group.css +2 -2
  148. package/dist/collection/components/radio-group/radio-group.js +2 -2
  149. package/dist/collection/components/required-separator/required-separator.css +2 -2
  150. package/dist/collection/components/required-separator/required-separator.js +1 -1
  151. package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
  152. package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
  153. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  154. package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
  155. package/dist/collection/components/search/search.js +1 -1
  156. package/dist/collection/components/separator/separator.css +2 -2
  157. package/dist/collection/components/separator/separator.js +1 -1
  158. package/dist/collection/components/shimmer/shimmer.css +2 -2
  159. package/dist/collection/components/shimmer/shimmer.js +1 -1
  160. package/dist/collection/components/snackbar/snackbar.css +2 -2
  161. package/dist/collection/components/snackbar/snackbar.e2e.js +0 -2
  162. package/dist/collection/components/snackbar/snackbar.js +20 -14
  163. package/dist/collection/components/snackbar/snackbar.stories.js +4 -3
  164. package/dist/collection/components/spinner/spinner.css +2 -2
  165. package/dist/collection/components/spinner/spinner.js +1 -1
  166. package/dist/collection/components/tab/tab.css +2 -2
  167. package/dist/collection/components/tab/tab.js +2 -2
  168. package/dist/collection/components/tab-group/tab-group.js +1 -1
  169. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  170. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  171. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  172. package/dist/collection/components/table/table-cell/table-cell.js +2 -2
  173. package/dist/collection/components/table/table-header/table-header.css +2 -2
  174. package/dist/collection/components/table/table-header/table-header.js +1 -1
  175. package/dist/collection/components/table/table-row/table-row.css +2 -2
  176. package/dist/collection/components/table/table-row/table-row.js +2 -2
  177. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  178. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
  179. package/dist/collection/components/table/table.css +2 -2
  180. package/dist/collection/components/table/table.js +2 -2
  181. package/dist/collection/components/textarea/textarea.css +2 -2
  182. package/dist/collection/components/textarea/textarea.js +2 -2
  183. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  184. package/dist/collection/components/toggle-button/toggle-button.js +3 -3
  185. package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
  186. package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
  187. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  188. package/dist/collection/components/toggle-group/toggle-group.js +2 -2
  189. package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
  190. package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
  191. package/dist/collection/components/tooltip/tooltip.css +2 -2
  192. package/dist/collection/components/tooltip/tooltip.js +3 -3
  193. package/dist/collection/components/wizard/wizard-step.js +2 -2
  194. package/dist/collection/components/wizard/wizard.css +2 -2
  195. package/dist/collection/components/wizard/wizard.js +1 -1
  196. package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
  197. package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
  198. package/dist/components/b2b-date-picker.js +39 -12
  199. package/dist/components/b2b-dropdown.js +124 -33
  200. package/dist/components/b2b-flyout-menu-option.js +1 -1
  201. package/dist/components/b2b-flyout-menu.js +3 -3
  202. package/dist/components/b2b-grid-col.js +1 -1
  203. package/dist/components/b2b-grid-row.js +2 -2
  204. package/dist/components/b2b-grid.js +2 -2
  205. package/dist/components/b2b-label.js +2 -2
  206. package/dist/components/b2b-modal.js +2 -2
  207. package/dist/components/b2b-multiselect-dropdown.js +72 -22
  208. package/dist/components/b2b-pagination.js +1 -1
  209. package/dist/components/b2b-paragraph.js +2 -2
  210. package/dist/components/b2b-progress-bar.js +3 -3
  211. package/dist/components/b2b-radio-button.js +2 -2
  212. package/dist/components/b2b-radio-group.js +2 -2
  213. package/dist/components/b2b-required-separator.js +1 -1
  214. package/dist/components/b2b-scrollable-container.js +1 -1
  215. package/dist/components/b2b-search.js +1 -1
  216. package/dist/components/b2b-shimmer.js +1 -1
  217. package/dist/components/b2b-snackbar.js +20 -14
  218. package/dist/components/b2b-tab-group.js +1 -1
  219. package/dist/components/b2b-tab-panel.js +1 -1
  220. package/dist/components/b2b-tab.js +2 -2
  221. package/dist/components/b2b-table-row.js +2 -2
  222. package/dist/components/b2b-table-rowgroup.js +2 -2
  223. package/dist/components/b2b-table.js +2 -2
  224. package/dist/components/b2b-textarea.js +2 -2
  225. package/dist/components/b2b-toggle-button.js +3 -3
  226. package/dist/components/b2b-toggle-chip.js +3 -3
  227. package/dist/components/b2b-toggle-group.js +2 -2
  228. package/dist/components/b2b-toggle-switch.js +4 -4
  229. package/dist/components/b2b-tooltip.js +3 -3
  230. package/dist/components/b2b-wizard-step.js +2 -2
  231. package/dist/components/b2b-wizard.js +1 -1
  232. package/dist/components/input-group.js +1 -1
  233. package/dist/components/input-label.js +2 -2
  234. package/dist/components/input-list-option.js +1 -1
  235. package/dist/components/input-list.js +2 -2
  236. package/dist/components/input.js +4 -4
  237. package/dist/components/multiselect-option.js +2 -2
  238. package/dist/components/rounded-icon.js +4 -4
  239. package/dist/components/separator.js +1 -1
  240. package/dist/components/spinner.js +1 -1
  241. package/dist/components/table-cell.js +2 -2
  242. package/dist/components/table-header.js +1 -1
  243. package/dist/components/wizard-icon.js +1 -1
  244. package/dist/custom-elements.json +21 -1
  245. package/dist/esm/b2b-button_2.entry.js +1 -1
  246. package/dist/esm/b2b-chip-component_2.entry.js +2 -2
  247. package/dist/esm/b2b-core-components.js +1 -1
  248. package/dist/esm/b2b-date-picker.entry.js +35 -11
  249. package/dist/esm/b2b-dropdown.entry.js +115 -32
  250. package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
  251. package/dist/esm/b2b-flyout-menu.entry.js +3 -3
  252. package/dist/esm/b2b-grid-col.entry.js +1 -1
  253. package/dist/esm/b2b-grid-row.entry.js +2 -2
  254. package/dist/esm/b2b-grid.entry.js +2 -2
  255. package/dist/esm/b2b-input-group_2.entry.js +3 -3
  256. package/dist/esm/b2b-input-label.entry.js +2 -2
  257. package/dist/esm/b2b-input_2.entry.js +5 -5
  258. package/dist/esm/b2b-label.entry.js +2 -2
  259. package/dist/esm/b2b-modal.entry.js +2 -2
  260. package/dist/esm/b2b-multiselect-dropdown.entry.js +65 -22
  261. package/dist/esm/b2b-pagination.entry.js +1 -1
  262. package/dist/esm/b2b-paragraph.entry.js +2 -2
  263. package/dist/esm/b2b-progress-bar.entry.js +3 -3
  264. package/dist/esm/b2b-radio-button.entry.js +2 -2
  265. package/dist/esm/b2b-radio-group.entry.js +2 -2
  266. package/dist/esm/b2b-required-separator.entry.js +1 -1
  267. package/dist/esm/b2b-rounded-icon.entry.js +4 -4
  268. package/dist/esm/b2b-scrollable-container.entry.js +1 -1
  269. package/dist/esm/b2b-search.entry.js +1 -1
  270. package/dist/esm/b2b-separator.entry.js +1 -1
  271. package/dist/esm/b2b-shimmer.entry.js +1 -1
  272. package/dist/esm/b2b-snackbar.entry.js +19 -13
  273. package/dist/esm/b2b-tab-group.entry.js +1 -1
  274. package/dist/esm/b2b-tab-panel.entry.js +1 -1
  275. package/dist/esm/b2b-tab.entry.js +2 -2
  276. package/dist/esm/b2b-table-cell_2.entry.js +3 -3
  277. package/dist/esm/b2b-table-row.entry.js +2 -2
  278. package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
  279. package/dist/esm/b2b-table.entry.js +2 -2
  280. package/dist/esm/b2b-textarea.entry.js +2 -2
  281. package/dist/esm/b2b-toggle-button.entry.js +3 -3
  282. package/dist/esm/b2b-toggle-chip.entry.js +3 -3
  283. package/dist/esm/b2b-toggle-group.entry.js +2 -2
  284. package/dist/esm/b2b-toggle-switch.entry.js +4 -4
  285. package/dist/esm/b2b-tooltip.entry.js +3 -3
  286. package/dist/esm/b2b-wizard-icon.entry.js +1 -1
  287. package/dist/esm/b2b-wizard-step.entry.js +2 -2
  288. package/dist/esm/b2b-wizard.entry.js +1 -1
  289. package/dist/esm/loader.js +1 -1
  290. package/dist/types/components/date-picker/date-picker.d.ts +2 -0
  291. package/dist/types/components/dropdown/dropdown.d.ts +24 -5
  292. package/dist/types/components/grid/column.d.ts +1 -1
  293. package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +15 -3
  294. package/dist/types/components/multiselect-dropdown/multiselect-dropdown.stories.d.ts +5 -0
  295. package/dist/types/components/snackbar/snackbar.d.ts +2 -0
  296. package/dist/types/components.d.ts +46 -2
  297. package/dist/web-types.json +50 -2
  298. package/package.json +3 -3
  299. package/dist/b2b-core-components/p-2e0dbdb6.entry.js +0 -1
  300. package/dist/b2b-core-components/p-37cdfc83.entry.js +0 -1
  301. package/dist/b2b-core-components/p-5b91c61d.entry.js +0 -1
  302. package/dist/b2b-core-components/p-b7afa702.entry.js +0 -1
  303. package/dist/b2b-core-components/p-d2c93cb5.entry.js +0 -1
  304. package/dist/b2b-core-components/p-dcf7aad4.entry.js +0 -1
  305. package/dist/b2b-core-components/p-e565db52.entry.js +0 -1
  306. package/dist/b2b-core-components/p-f6e8c4e9.entry.js +0 -1
@@ -119,7 +119,15 @@ export class B2bDatePicker {
119
119
  return value;
120
120
  }
121
121
  if (typeof value === 'string') {
122
- return JSON.parse(value);
122
+ try {
123
+ return JSON.parse(value);
124
+ }
125
+ catch (_a) {
126
+ return value
127
+ .split(',')
128
+ .map(v => v.trim())
129
+ .filter(Boolean);
130
+ }
123
131
  }
124
132
  return [];
125
133
  }
@@ -128,23 +136,24 @@ export class B2bDatePicker {
128
136
  return new Date(year, month - 1, day);
129
137
  }
130
138
  componentWillLoad() {
131
- if (this.disableDates !== '' || this.disableDates.length > 0) {
132
- const dateString = this.normalizeArrayInput(this.disableDates);
133
- this.datesToBeDisabled = dateString.map(date => {
139
+ const disableDatesArray = this.normalizeArrayInput(this.disableDates);
140
+ if (disableDatesArray.length > 0) {
141
+ this.datesToBeDisabled = disableDatesArray.map(date => {
134
142
  const [day, month, year] = date.split('.').map(Number);
135
143
  return new Date(year, month - 1, day);
136
144
  });
137
145
  }
138
- if (this.disableDays !== '' || this.disableDays.length > 0) {
139
- this.normalizedDisableEvery = this.normalizeArrayInput(this.disableDays);
146
+ const disableDaysArray = this.normalizeArrayInput(this.disableDays);
147
+ if (disableDaysArray.length > 0) {
148
+ this.normalizedDisableEvery = disableDaysArray;
140
149
  }
141
- if (this.disableDatesUntil !== '' && this.disableDatesUntil !== undefined) {
150
+ if (this.disableDatesUntil && this.disableDatesUntil !== '') {
142
151
  this.normalizedDisableDatesUntil = this.normalizeDisableDatesUntilAndFrom(this.disableDatesUntil);
143
152
  }
144
- if (this.disableDatesFrom !== '' && this.disableDatesFrom !== undefined) {
153
+ if (this.disableDatesFrom && this.disableDatesFrom !== '') {
145
154
  this.normalizedDisableDatesFrom = this.normalizeDisableDatesUntilAndFrom(this.disableDatesFrom);
146
155
  }
147
- if (this.preSelectedDate !== undefined) {
156
+ if (this.preSelectedDate) {
148
157
  const [day, month, year] = this.preSelectedDate.split('.').map(Number);
149
158
  this.selectedDay = day;
150
159
  this.selectedMonth = month - 1;
@@ -153,9 +162,10 @@ export class B2bDatePicker {
153
162
  this.showDatePicker = false;
154
163
  }
155
164
  else {
165
+ const today = new Date();
156
166
  this.selectedDay = undefined;
157
- this.selectedMonth = new Date().getMonth();
158
- this.selectedYear = new Date().getFullYear();
167
+ this.selectedMonth = today.getMonth();
168
+ this.selectedYear = today.getFullYear();
159
169
  this.userInputDate = '';
160
170
  }
161
171
  }
@@ -178,6 +188,16 @@ export class B2bDatePicker {
178
188
  this.setCurrentMonth(this.selectedMonth - 1);
179
189
  }
180
190
  }
191
+ handleDisableDatesChanged(newVal) {
192
+ const parsed = this.normalizeArrayInput(newVal);
193
+ this.datesToBeDisabled = parsed.map(date => {
194
+ const [day, month, year] = date.split('.').map(Number);
195
+ return new Date(year, month - 1, day);
196
+ });
197
+ }
198
+ handleDisableDaysChanged(newVal) {
199
+ this.normalizedDisableEvery = this.normalizeArrayInput(newVal);
200
+ }
181
201
  parseDateInput(dateString) {
182
202
  const regex = /^(0[1-9]|[12][0-9]|3[01])\.(0[1-9]|1[0-2])\.\d{4}$/;
183
203
  if (dateString == '' || dateString === undefined) {
@@ -692,6 +712,15 @@ export class B2bDatePicker {
692
712
  }];
693
713
  }
694
714
  static get elementRef() { return "host"; }
715
+ static get watchers() {
716
+ return [{
717
+ "propName": "disableDates",
718
+ "methodName": "handleDisableDatesChanged"
719
+ }, {
720
+ "propName": "disableDays",
721
+ "methodName": "handleDisableDaysChanged"
722
+ }];
723
+ }
695
724
  static get listeners() {
696
725
  return [{
697
726
  "name": "b2b-date-picker-escape",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -223,12 +223,20 @@
223
223
  --b2b-border-radius: var(--b2b-size-border-radius-100);
224
224
  --b2b-border-right: 1px solid var(--b2b-color-grey-200);
225
225
  display: block;
226
+ position: relative;
226
227
  width: 100%;
227
228
  min-width: fit-content;
228
229
  font-family: var(--b2b-font-family-default);
229
230
  font-size: var(--b2b-size-copy-100);
230
231
  max-width: 600px;
231
232
  }
233
+ :host(.b2b-dropdown) .b2b-dropdown__wrapper {
234
+ display: flex;
235
+ position: relative;
236
+ width: 100%;
237
+ box-sizing: border-box;
238
+ flex: 1;
239
+ }
232
240
  :host(.b2b-dropdown) .b2b-dropdown__select {
233
241
  font-family: var(--b2b-font-family-default);
234
242
  font-size: var(--b2b-size-copy-100);
@@ -248,14 +256,62 @@
248
256
  height: var(--b2b-size-90);
249
257
  line-height: var(--b2b-size-copy-line-height-100);
250
258
  box-sizing: border-box;
251
- position: relative;
259
+ text-align: left;
260
+ overflow-x: auto;
261
+ overflow-y: hidden;
252
262
  }
253
- :host(.b2b-dropdown) .b2b-dropdown__select:focus-visible {
263
+ :host(.b2b-dropdown) .b2b-dropdown__select--focused {
254
264
  outline: 2px solid Highlight;
255
265
  outline: 2px solid -webkit-focus-ring-color;
256
266
  border-radius: var(--b2b-border-radius);
257
267
  outline-offset: -1px;
258
- z-index: 9999;
268
+ z-index: 300;
269
+ }
270
+ :host(.b2b-dropdown) .b2b-dropdown__select--open {
271
+ outline: 2px solid Highlight;
272
+ outline: 2px solid -webkit-focus-ring-color;
273
+ border-radius: var(--b2b-border-radius);
274
+ outline-offset: -1px;
275
+ z-index: 1001;
276
+ }
277
+ :host(.b2b-dropdown) .b2b-dropdown__options {
278
+ display: block;
279
+ background-color: var(--b2b-color-white-100);
280
+ max-height: 288px;
281
+ overflow-y: auto;
282
+ margin: 0;
283
+ border-right: var(--b2b-size-1) solid var(--b2b-color-black-100);
284
+ border-left: var(--b2b-size-1) solid var(--b2b-color-black-100);
285
+ border-bottom: var(--b2b-size-1) solid var(--b2b-color-black-100);
286
+ margin-top: 0;
287
+ border-top: none;
288
+ text-align: left;
289
+ top: 100%;
290
+ position: absolute;
291
+ left: 0;
292
+ right: 0;
293
+ width: 100%;
294
+ z-index: 1000;
295
+ box-sizing: border-box;
296
+ white-space: pre-wrap;
297
+ }
298
+ :host(.b2b-dropdown) .b2b-dropdown__option {
299
+ padding: 10px;
300
+ cursor: pointer;
301
+ font-size: var(--b2b-size-copy-100);
302
+ margin-top: 0;
303
+ border-top: none;
304
+ display: block;
305
+ width: 100%;
306
+ box-sizing: border-box;
307
+ }
308
+ :host(.b2b-dropdown) .b2b-dropdown__option:hover {
309
+ background-color: var(--b2b-color-hover-default);
310
+ }
311
+ :host(.b2b-dropdown) .b2b-dropdown__option--disabled {
312
+ color: var(--b2b-color-grey-250);
313
+ background-color: var(--b2b-color-white-100);
314
+ pointer-events: none;
259
315
  }
260
316
  :host(.b2b-dropdown) b2b-input-label {
261
317
  display: block;
@@ -45,4 +45,12 @@ describe('B2B-Dropdown', () => {
45
45
  await page.waitForChanges();
46
46
  expect(element).toHaveClass('b2b-dropdown--error');
47
47
  });
48
+ it('should clear the selection and reset to placeholder', async () => {
49
+ const dropdown = await page.find('b2b-dropdown');
50
+ await dropdown.callMethod('clearSelection');
51
+ await page.waitForChanges();
52
+ const selectedTextElementAfter = await dropdown.shadowRoot.querySelector('.b2b-dropdown__select');
53
+ expect(selectedTextElementAfter).not.toBeNull();
54
+ expect(selectedTextElementAfter.textContent).toBe('Select an option...');
55
+ });
48
56
  });
@@ -1,26 +1,60 @@
1
1
  import { h, Host, } from "@stencil/core";
2
2
  export class DropdownComponent {
3
3
  constructor() {
4
- this.onSelect = (ev) => {
5
- const option = ev.target;
6
- this.b2bChange.emit(option.value);
4
+ this.truncatedText = '';
5
+ this.onClickOutside = (ev) => {
6
+ if (!this.hostElement.contains(ev.target))
7
+ this.isOpen = false;
8
+ };
9
+ this.toggleDropdown = () => {
10
+ if (!this.disabled)
11
+ this.isOpen = !this.isOpen;
7
12
  };
8
13
  this.onFocus = (ev) => {
14
+ this.focused = true;
9
15
  this.b2bFocus.emit(ev);
10
16
  };
11
17
  this.onBlur = (ev) => {
18
+ this.focused = false;
12
19
  this.b2bBlur.emit(ev);
13
20
  };
14
- this.getSelectElement = () => {
15
- return this.hostElement.shadowRoot.querySelector('select');
21
+ this.onSelect = (event) => {
22
+ var _a;
23
+ const target = event.target;
24
+ const value = target.getAttribute('data-value');
25
+ const label = (_a = target.textContent) === null || _a === void 0 ? void 0 : _a.trim();
26
+ if (value) {
27
+ this.selectedValue = value;
28
+ this.selectedText = label || '';
29
+ this.b2bChange.emit(value);
30
+ this.options = this.options.map(opt => (Object.assign(Object.assign({}, opt), { selected: opt.value === value })));
31
+ this.isOpen = false;
32
+ this.updateTruncatedText();
33
+ }
16
34
  };
17
- // TODO: find a way to test it maybe when migrating to new testing framework
18
- this.handleFormData = (event) => {
19
- if (this.name != undefined) {
20
- const selectElement = this.getSelectElement();
21
- const value = selectElement.value || '';
22
- event.formData.append(this.name, value);
35
+ this.updateTruncatedText = () => {
36
+ if (!this.selectEl)
37
+ return;
38
+ const rawText = this.selectedText || this.placeholder;
39
+ const style = window.getComputedStyle(this.selectEl);
40
+ const canvas = document.createElement('canvas');
41
+ const ctx = canvas.getContext('2d');
42
+ if (!ctx)
43
+ return;
44
+ ctx.font = `${style.fontWeight} ${style.fontSize} ${style.fontFamily}`;
45
+ const availableWidth = this.selectEl.clientWidth - parseFloat(style.paddingRight || '0') - 24;
46
+ if (ctx.measureText(rawText).width <= availableWidth) {
47
+ this.truncatedText = rawText;
48
+ return;
23
49
  }
50
+ let truncated = '';
51
+ for (let i = 0; i < rawText.length; i++) {
52
+ const test = rawText.slice(0, i + 1) + '…';
53
+ if (ctx.measureText(test).width > availableWidth)
54
+ break;
55
+ truncated = rawText.slice(0, i + 1);
56
+ }
57
+ this.truncatedText = truncated + '…';
24
58
  };
25
59
  this.label = undefined;
26
60
  this.required = false;
@@ -31,33 +65,79 @@ export class DropdownComponent {
31
65
  this.invalid = false;
32
66
  this.hint = undefined;
33
67
  this.error = undefined;
68
+ this.isOpen = false;
69
+ this.focused = false;
70
+ this.selectedValue = '';
71
+ this.selectedText = '';
72
+ this.options = [];
34
73
  }
35
- connectedCallback() {
36
- const form = this.hostElement.closest('form');
37
- if (form != null) {
38
- form.addEventListener('formdata', this.handleFormData);
39
- }
74
+ /** Method to programmatically clear selection of the dropdown. */
75
+ async clearSelection() {
76
+ this.selectedValue = this.placeholderValue || '';
77
+ this.selectedText = this.placeholder || 'Select an option...';
78
+ this.options = this.options.map(opt => (Object.assign(Object.assign({}, opt), { selected: false })));
79
+ this.isOpen = false;
80
+ this.updateTruncatedText();
81
+ }
82
+ componentWillLoad() {
83
+ this.selectedValue = this.placeholderValue || '';
84
+ this.selectedText = '';
40
85
  }
41
- // we need to attach the options to the correct element here
42
86
  componentDidLoad() {
43
- let options = this.hostElement.querySelectorAll('option');
44
- const selectElement = this.getSelectElement();
45
- selectElement.innerHTML = '';
46
- const placeholderOption = document.createElement('option');
47
- placeholderOption.value = this.placeholderValue;
48
- placeholderOption.textContent = this.placeholder;
49
- placeholderOption.disabled = true;
50
- placeholderOption.selected = true;
51
- selectElement.append(placeholderOption);
52
- selectElement.append(...options);
87
+ this.initializeOptions();
88
+ this.updateTruncatedText();
89
+ document.addEventListener('click', this.onClickOutside);
90
+ window.addEventListener('resize', this.updateTruncatedText);
91
+ }
92
+ disconnectedCallback() {
93
+ document.removeEventListener('click', this.onClickOutside);
94
+ window.removeEventListener('resize', this.updateTruncatedText);
95
+ }
96
+ watchDropdownState() {
97
+ if (this.isOpen)
98
+ this.closeOtherDropdowns();
99
+ }
100
+ initializeOptions() {
101
+ const nativeOptions = Array.from(this.hostElement.querySelectorAll('option'));
102
+ this.options = nativeOptions.map(opt => {
103
+ var _a;
104
+ return ({
105
+ value: opt.value,
106
+ label: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
107
+ selected: opt.hasAttribute('selected'),
108
+ disabled: opt.hasAttribute('disabled'),
109
+ });
110
+ });
111
+ const selected = this.options.find(o => o.selected);
112
+ if (selected) {
113
+ this.selectedValue = selected.value;
114
+ this.selectedText = selected.label;
115
+ }
116
+ }
117
+ closeOtherDropdowns() {
118
+ const others = document.querySelectorAll('b2b-dropdown');
119
+ others.forEach(el => {
120
+ if (el !== this.hostElement)
121
+ el.isOpen = false;
122
+ });
53
123
  }
54
124
  render() {
55
- return (h(Host, { key: '30f4c1df7c95889b14aaa246d89842314cca4c88', class: {
125
+ const hasError = this.invalid && !this.disabled;
126
+ const showHint = this.hint && (!this.invalid || this.disabled);
127
+ const showError = this.error && hasError;
128
+ return (h(Host, { key: '09be0fe07181c102f688599b581973d03c6347ae', class: {
56
129
  'b2b-dropdown': true,
57
- 'b2b-dropdown--error': this.invalid && !this.disabled,
130
+ 'b2b-dropdown--error': hasError,
58
131
  'b2b-dropdown--disabled': this.disabled,
59
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: '03465e345631d5cfe44a2edb0e3c29b9b1adb4e7', 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) ||
60
- (this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
132
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: 'f4756d9f9550c1adc4aa618e9e7c673bfd89037a', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '5fed7fbb2599116576887c05d85b884367e2bf0e', class: {
133
+ 'b2b-dropdown__select': true,
134
+ 'b2b-dropdown__select--open': this.isOpen,
135
+ 'b2b-dropdown__select--focused': this.focused,
136
+ }, ref: el => (this.selectEl = el), onClick: this.toggleDropdown, role: "combobox", "aria-expanded": `${this.isOpen}`, "aria-labelledby": this.name }, this.selectedText ? this.truncatedText : this.placeholder), this.isOpen && (h("div", { class: "b2b-dropdown__options", role: "listbox" }, this.options.map(option => (h("div", { key: option.value, class: {
137
+ 'b2b-dropdown__option': true,
138
+ 'b2b-dropdown__option--selected': option.selected,
139
+ 'b2b-dropdown__option--disabled': option.disabled,
140
+ }, "data-value": option.value, onClick: !option.disabled ? this.onSelect : undefined, role: "option", "aria-selected": option.selected ? 'true' : 'false', "aria-disabled": option.disabled ? 'true' : 'false' }, option.label)))))), showHint && h("span", null, this.hint), showError && h("span", null, this.error)));
61
141
  }
62
142
  static get is() { return "b2b-dropdown"; }
63
143
  static get encapsulation() { return "shadow"; }
@@ -233,6 +313,15 @@ export class DropdownComponent {
233
313
  }
234
314
  };
235
315
  }
316
+ static get states() {
317
+ return {
318
+ "isOpen": {},
319
+ "focused": {},
320
+ "selectedValue": {},
321
+ "selectedText": {},
322
+ "options": {}
323
+ };
324
+ }
236
325
  static get events() {
237
326
  return [{
238
327
  "method": "b2bChange",
@@ -291,5 +380,32 @@ export class DropdownComponent {
291
380
  }
292
381
  }];
293
382
  }
383
+ static get methods() {
384
+ return {
385
+ "clearSelection": {
386
+ "complexType": {
387
+ "signature": "() => Promise<void>",
388
+ "parameters": [],
389
+ "references": {
390
+ "Promise": {
391
+ "location": "global",
392
+ "id": "global::Promise"
393
+ }
394
+ },
395
+ "return": "Promise<void>"
396
+ },
397
+ "docs": {
398
+ "text": "Method to programmatically clear selection of the dropdown.",
399
+ "tags": []
400
+ }
401
+ }
402
+ };
403
+ }
294
404
  static get elementRef() { return "hostElement"; }
405
+ static get watchers() {
406
+ return [{
407
+ "propName": "isOpen",
408
+ "methodName": "watchDropdownState"
409
+ }];
410
+ }
295
411
  }
@@ -14,6 +14,12 @@ const Template = ({ label, required, name, disabled, invalid, hint, error, }) =>
14
14
  <option value="orange">Orange</option>
15
15
  <option value="banana">Banana</option>
16
16
  <option value="pineapple">Pineapple</option>
17
+ <option value="grapes">Grapes</option>
18
+ <option value="watermelon">Watermelon</option>
19
+ <option value="papaya">Papaya</option>
20
+ <option value="blueberry">Blueberry</option>
21
+ <option value="kiwi">Kiwi</option>
22
+ <option value="pomegranate">Pomegranate</option>
17
23
  <option value="apple" disabled>Apple</option>
18
24
  </b2b-dropdown>`;
19
25
  };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -16,7 +16,7 @@ export class FlyoutMenuOptionComponent {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '3dc359231f65e0d900c87a90fb16917dec1cef05', class: {
19
+ return (h(Host, { key: '091032b33e9695886e133e065d4b5c72480373e8', 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, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -144,12 +144,12 @@ export class FlyoutMenuComponent {
144
144
  options[index].focus();
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: '44ec3f9b4e574a3327717361bd6c09c5f1958d41' }, h("div", { key: '9ea8f1494bfede3a0853a0e74a5d5854e0bdf082', class: {
147
+ return (h(Host, { key: '2c09480c749bcee0f8fd7807deb41b4862c1221e' }, h("div", { key: 'a087ad4e5ff06f7fdc586b415f2cc1196daae515', class: {
148
148
  'b2b-flyout-menu': true,
149
- } }, h("div", { key: 'c48765324a3ca6ef0b885d23405269e9351c14c6', class: "b2b-flyout-menu__trigger" }, h("slot", { key: '756bdb0f2adbf262397bc5207cb5e6add87e4ef2', name: "trigger" })), h("div", { key: 'ef57778748783ffb269f5023b67eabd681cfb37d', onFocusout: this.blurMenu, class: {
149
+ } }, h("div", { key: 'e36aff2c778c2277e5d5d90c13d7f7d92ef7e04c', class: "b2b-flyout-menu__trigger" }, h("slot", { key: '1581b6010ef02e5745b726d0f73fd3cc8caf67fe', name: "trigger" })), h("div", { key: '3d2f97df8aad17d0963601f62c4c18b488393d6d', onFocusout: this.blurMenu, class: {
150
150
  'b2b-flyout-menu__options__container': true,
151
151
  'b2b-flyout-menu__options__container--on': this.opened,
152
- } }, h("div", { key: '9ae1550fb14f6bbe584935169796375f58916891', class: "b2b-flyout-menu__arrow" }), h("slot", { key: '10ff787b762245d5457cdb4f70f8affa9f0375e8', name: "option" })))));
152
+ } }, h("div", { key: 'db72e397e2dde6129468e657aaf49fdf5a470426', class: "b2b-flyout-menu__arrow" }), h("slot", { key: 'ac802410833c596abdf5056f8a6e09bc12f885a6', name: "option" })))));
153
153
  }
154
154
  static get is() { return "b2b-flyout-menu"; }
155
155
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class B2bGridColumnComponent {
13
13
  this.textAlign = 'left';
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: 'd0700384ac12f6b13705e2578ae72a4f8389a4cb', style: Object.assign(Object.assign({}, this.calculateGrowDimension(this.span)), { ['text-align']: `${this.textAlign}`, ['min-width']: '1px' }) }, h("slot", { key: '2e02491bdb05218d40a8f01af1c574c63f795298' })));
16
+ return (h(Host, { key: '935d5d42d247393cdcf7d247212182bb040998da', style: Object.assign(Object.assign({}, this.calculateGrowDimension(this.span)), { ['text-align']: `${this.textAlign}` }) }, h("slot", { key: 'd3d0ce4a59f9d17b2b5dc9bdae249135c31b771c' })));
17
17
  }
18
18
  static get is() { return "b2b-grid-col"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -48,7 +48,7 @@ export class B2bGridColumnComponent {
48
48
  "optional": false,
49
49
  "docs": {
50
50
  "tags": [],
51
- "text": "The alignment of text placed inside of a column. Note that this will apply to all children."
51
+ "text": "The alignment of text placed inside a column. Note that this will apply to all children."
52
52
  },
53
53
  "attribute": "text-align",
54
54
  "reflect": false,
@@ -2,10 +2,4 @@
2
2
  width: 100%;
3
3
  margin: 0 auto;
4
4
  box-sizing: border-box;
5
- }
6
-
7
- :host(.b2b-grid-col) {
8
- display: flex;
9
- flex-direction: column;
10
- min-width: 0;
11
5
  }
@@ -4,7 +4,7 @@ export class B2bGridComponent {
4
4
  this.margin = 24;
5
5
  }
6
6
  render() {
7
- return (h(Host, { key: 'd969835eaef0a092de761496f817e3aeb9fe9da3', style: { ['padding']: `${this.margin}px` }, class: "b2b-grid" }, h("slot", { key: '457acba45d11bb8ed33008c1158f89d33f5222f6' })));
7
+ return (h(Host, { key: 'a07f27f3ed6961913c048630d3860ba7a9668cc8', style: { ['padding']: `${this.margin}px` }, class: "b2b-grid" }, h("slot", { key: '6390574c52c986c73c84912586d073383ee035d8' })));
8
8
  }
9
9
  static get is() { return "b2b-grid"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -66,7 +66,7 @@ export class B2bGridRowComponent {
66
66
  });
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: '3ae300a50257bbb2e482b5161b0b1b8d5f087d01', style: {
69
+ return (h(Host, { key: '9c863ba4e90c06366599c6244f2307c842448d6a', style: {
70
70
  ['justify-content']: `${this.justify}`,
71
71
  ['gap']: `${this.columnGap}px`,
72
72
  ['margin']: `${this.rowGap}px 0`,
@@ -74,7 +74,7 @@ export class B2bGridRowComponent {
74
74
  ['display']: 'flex',
75
75
  ['flex-wrap']: 'wrap',
76
76
  ['box-sizing']: 'border-box',
77
- } }, h("slot", { key: '0828e8497a5e6f76ffeb272f51675b6f5013fdba' })));
77
+ } }, h("slot", { key: 'c71d99c0c3f9073620237493528a4216033ce02e' })));
78
78
  }
79
79
  static get is() { return "b2b-grid-row"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
3
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 03 Apr 2025 08:28:50 GMT
127
+ * Generated on Wed, 14 May 2025 12:50:46 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */