@baloise/ds-core 19.8.3 → 19.8.4

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 (608) hide show
  1. package/components/bal-date-calendar2.js +2 -2
  2. package/components/bal-dropdown.js +63 -19
  3. package/components/bal-field-control.js +2 -2
  4. package/components/bal-field-hint.js +1 -1
  5. package/components/bal-field-label.js +1 -1
  6. package/components/bal-field-message.js +2 -2
  7. package/components/bal-field.js +2 -2
  8. package/components/bal-file-upload.js +4 -4
  9. package/components/bal-footer.js +3 -3
  10. package/components/bal-form-col.js +2 -2
  11. package/components/bal-form-grid.js +1 -1
  12. package/components/bal-form.js +1 -1
  13. package/components/bal-heading2.js +1 -1
  14. package/components/bal-hint-text2.js +1 -1
  15. package/components/bal-hint-title2.js +1 -1
  16. package/components/bal-icon2.js +1 -1
  17. package/components/bal-input-date2.js +2 -2
  18. package/components/bal-input-group2.js +1 -1
  19. package/components/bal-input-slider.js +3 -3
  20. package/components/bal-input-stepper.js +1 -1
  21. package/components/bal-input.js +1 -1
  22. package/components/bal-label2.js +1 -1
  23. package/components/bal-list-item-content2.js +2 -2
  24. package/components/bal-list-item-icon2.js +2 -2
  25. package/components/bal-list-item-subtitle2.js +1 -1
  26. package/components/bal-list-item-title2.js +1 -1
  27. package/components/bal-list2.js +1 -1
  28. package/components/bal-modal-body.js +1 -1
  29. package/components/bal-modal-header.js +1 -1
  30. package/components/bal-modal.js +5 -5
  31. package/components/bal-nav-link-grid-col2.js +1 -1
  32. package/components/bal-nav-link-grid2.js +1 -1
  33. package/components/bal-nav-link-group.js +1 -1
  34. package/components/bal-nav-link2.js +2 -2
  35. package/components/bal-nav-menu-bar2.js +1 -1
  36. package/components/bal-nav-menu-flyout2.js +1 -1
  37. package/components/bal-nav-meta-bar2.js +1 -1
  38. package/components/bal-nav.js +2 -2
  39. package/components/bal-navbar-brand.js +1 -1
  40. package/components/bal-navbar-menu-end.js +1 -1
  41. package/components/bal-navbar-menu-start.js +1 -1
  42. package/components/bal-navbar-menu.js +1 -1
  43. package/components/bal-navbar.js +1 -1
  44. package/components/bal-notices.js +1 -1
  45. package/components/bal-notification.js +1 -1
  46. package/components/bal-number-input.js +1 -1
  47. package/components/bal-option-list.js +1 -502
  48. package/components/bal-option-list2.js +504 -0
  49. package/components/bal-option.js +1 -195
  50. package/components/bal-option2.js +197 -0
  51. package/components/bal-pagination.js +4 -4
  52. package/components/bal-popover-content2.js +1 -1
  53. package/components/bal-popup2.js +1 -1
  54. package/components/bal-progress-bar.js +1 -1
  55. package/components/bal-radio-icon2.js +1 -1
  56. package/components/bal-radio2.js +2 -2
  57. package/components/bal-segment-item.js +1 -1
  58. package/components/bal-segment.js +1 -1
  59. package/components/bal-select-option2.js +1 -1
  60. package/components/bal-select2.js +5 -5
  61. package/components/bal-shape2.js +4 -4
  62. package/components/bal-sheet.js +1 -1
  63. package/components/bal-snackbar.js +1 -1
  64. package/components/bal-spinner2.js +1 -1
  65. package/components/bal-stack2.js +1 -1
  66. package/components/bal-stage-back-link.js +2 -2
  67. package/components/bal-stage-body.js +1 -1
  68. package/components/bal-stage-foot.js +1 -1
  69. package/components/bal-stage-head.js +1 -1
  70. package/components/bal-stage-image.js +1 -1
  71. package/components/bal-stage.js +1 -1
  72. package/components/bal-step-item.js +2 -2
  73. package/components/bal-switch.js +1 -1
  74. package/components/bal-tab-item.js +2 -2
  75. package/components/bal-table.js +1 -1
  76. package/components/bal-tabs2.js +2 -2
  77. package/components/bal-tag-group.js +1 -1
  78. package/components/bal-tag2.js +1 -1
  79. package/components/bal-text.js +2 -2
  80. package/components/bal-textarea.js +1 -1
  81. package/components/bal-time-input.js +1 -1
  82. package/components/bal-toast.js +1 -1
  83. package/components/bal-tooltip.js +1 -1
  84. package/components/index.js +1 -1
  85. package/components/tokens.esm.js +1 -1
  86. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  87. package/dist/baloise-design-system/index.esm.js +1 -1
  88. package/dist/baloise-design-system/{p-e4154bb891.system.entry.js → p-042570e1b4.system.entry.js} +1 -1
  89. package/dist/baloise-design-system/p-07b3561d34.entry.js +1 -0
  90. package/dist/baloise-design-system/p-09341cadc6.system.entry.js +1 -0
  91. package/dist/baloise-design-system/{p-261f0c83c1.entry.js → p-0b05d342f5.entry.js} +1 -1
  92. package/dist/baloise-design-system/{p-743a8ea6e8.system.entry.js → p-0db571d8f2.system.entry.js} +1 -1
  93. package/dist/baloise-design-system/{p-2c066243bc.entry.js → p-1074fb7fbc.entry.js} +1 -1
  94. package/dist/baloise-design-system/p-133b5a4986.entry.js +1 -0
  95. package/dist/baloise-design-system/{p-7e55f97a9b.entry.js → p-1df2fb625c.entry.js} +1 -1
  96. package/dist/baloise-design-system/{p-8da6979637.system.entry.js → p-24185181f1.system.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-4a34919910.system.entry.js → p-255e5491e6.system.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-abfdce3ea8.system.entry.js → p-26085b7dcc.system.entry.js} +1 -1
  99. package/dist/baloise-design-system/p-31abb1f859.entry.js +1 -0
  100. package/dist/baloise-design-system/p-345901e33b.entry.js +1 -0
  101. package/dist/baloise-design-system/p-34d75cbfe8.entry.js +1 -0
  102. package/dist/baloise-design-system/{p-d04073fca3.entry.js → p-3678c7a958.entry.js} +1 -1
  103. package/dist/baloise-design-system/{p-196ff3a00e.entry.js → p-38fa211868.entry.js} +1 -1
  104. package/dist/baloise-design-system/p-3f596ba050.entry.js +1 -0
  105. package/dist/baloise-design-system/{p-b4e66c496c.system.entry.js → p-41dcd76f1f.system.entry.js} +1 -1
  106. package/dist/baloise-design-system/{p-167806fc44.entry.js → p-4256f1331b.entry.js} +1 -1
  107. package/dist/baloise-design-system/{p-06d6d65df7.entry.js → p-427fe8eede.entry.js} +1 -1
  108. package/dist/baloise-design-system/{p-96bf290c11.system.entry.js → p-46986c305d.system.entry.js} +1 -1
  109. package/dist/baloise-design-system/{p-2d8dd4be3a.entry.js → p-49c12d2474.entry.js} +1 -1
  110. package/dist/baloise-design-system/{p-eb726f11fd.system.entry.js → p-4aeaa1a916.system.entry.js} +1 -1
  111. package/dist/baloise-design-system/{p-bf4f338b08.system.entry.js → p-4c23ab651a.system.entry.js} +1 -1
  112. package/dist/baloise-design-system/p-586de1181e.entry.js +1 -0
  113. package/dist/baloise-design-system/{p-022a899d9f.entry.js → p-5965694a0f.entry.js} +1 -1
  114. package/dist/baloise-design-system/{p-6fa6bfd775.entry.js → p-5a66d8f568.entry.js} +1 -1
  115. package/dist/baloise-design-system/{p-b81b635342.system.entry.js → p-5f105bc63d.system.entry.js} +1 -1
  116. package/dist/baloise-design-system/{p-c983f0df44.entry.js → p-627def5e99.entry.js} +1 -1
  117. package/dist/baloise-design-system/{p-f51b5f779a.entry.js → p-6670584628.entry.js} +1 -1
  118. package/dist/baloise-design-system/{p-8cff569252.system.entry.js → p-670a2bf1e7.system.entry.js} +1 -1
  119. package/dist/baloise-design-system/{p-dbb9b3b5e2.system.entry.js → p-68e405562e.system.entry.js} +1 -1
  120. package/dist/baloise-design-system/{p-ef841ce7eb.system.entry.js → p-71d9805e14.system.entry.js} +1 -1
  121. package/dist/baloise-design-system/{p-2360c337dc.entry.js → p-74047cc11f.entry.js} +1 -1
  122. package/dist/baloise-design-system/{p-76fdd28025.system.entry.js → p-744c19c66d.system.entry.js} +1 -1
  123. package/dist/baloise-design-system/{p-967ff349ed.system.entry.js → p-746165a211.system.entry.js} +1 -1
  124. package/dist/baloise-design-system/{p-bd80a9b297.system.entry.js → p-75f3abf19e.system.entry.js} +1 -1
  125. package/dist/baloise-design-system/{p-42801b7e0c.system.entry.js → p-77404bcf6d.system.entry.js} +1 -1
  126. package/dist/baloise-design-system/{p-7027eb9c58.entry.js → p-7cb15b231d.entry.js} +1 -1
  127. package/dist/baloise-design-system/{p-3790f8edcd.entry.js → p-81a7d8f03d.entry.js} +1 -1
  128. package/dist/baloise-design-system/{p-f2232ea09f.entry.js → p-878f4e40a8.entry.js} +1 -1
  129. package/dist/baloise-design-system/{p-c3af6cc44a.system.entry.js → p-87d7996b33.system.entry.js} +1 -1
  130. package/dist/baloise-design-system/{p-a494f5de47.system.entry.js → p-88f9358a95.system.entry.js} +1 -1
  131. package/dist/baloise-design-system/{p-7e6c509606.entry.js → p-8cf1d029e7.entry.js} +1 -1
  132. package/dist/baloise-design-system/{p-c45c863624.entry.js → p-93dc4e9ec8.entry.js} +1 -1
  133. package/dist/baloise-design-system/{p-6d93b1d5cc.entry.js → p-99a9cc7202.entry.js} +1 -1
  134. package/dist/baloise-design-system/{p-a2abd2bae3.system.entry.js → p-9be82de5a5.system.entry.js} +1 -1
  135. package/dist/baloise-design-system/{p-d846f14080.system.entry.js → p-9da9d45bda.system.entry.js} +1 -1
  136. package/dist/baloise-design-system/{p-cbc17a1f06.system.entry.js → p-9fc710438a.system.entry.js} +1 -1
  137. package/dist/baloise-design-system/{p-DL7tjDqO.system.js → p-B3ZVog4n.system.js} +1 -1
  138. package/dist/baloise-design-system/p-BRJ7ljGZ.system.js +1 -0
  139. package/dist/baloise-design-system/{p-Bc9nHL5Q.system.js → p-BVitEMYC.system.js} +1 -1
  140. package/dist/baloise-design-system/p-BtgFoKGn.js +1 -1
  141. package/dist/baloise-design-system/{p-BsL4egMT.js → p-COIM5Kkz.js} +1 -1
  142. package/dist/baloise-design-system/{p-CFUQlsvN.js → p-CgBveYeB.js} +1 -1
  143. package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -1
  144. package/dist/baloise-design-system/{p-D9FHe08C.system.js → p-DAsF8QfB.system.js} +1 -1
  145. package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -1
  146. package/dist/baloise-design-system/{p-DZ_vvO92.js → p-ReLIdwsB.js} +1 -1
  147. package/dist/baloise-design-system/{p-eb9d8029c6.system.entry.js → p-a2a1ed74fe.system.entry.js} +1 -1
  148. package/dist/baloise-design-system/{p-df0264e119.system.entry.js → p-a32d50871a.system.entry.js} +1 -1
  149. package/dist/baloise-design-system/{p-09f86c863d.system.entry.js → p-a3558335f2.system.entry.js} +1 -1
  150. package/dist/baloise-design-system/{p-b0b5fa7a40.entry.js → p-a53c24274c.entry.js} +1 -1
  151. package/dist/baloise-design-system/{p-cf749f385e.entry.js → p-a576422cb2.entry.js} +1 -1
  152. package/dist/baloise-design-system/{p-fdb00a8fdc.entry.js → p-a584c6763e.entry.js} +1 -1
  153. package/dist/baloise-design-system/p-a6135f2559.system.entry.js +1 -0
  154. package/dist/baloise-design-system/{p-93bba463b3.system.entry.js → p-aaf33f152f.system.entry.js} +1 -1
  155. package/dist/baloise-design-system/{p-6da83fc08c.system.entry.js → p-ac1cd5a1e1.system.entry.js} +1 -1
  156. package/dist/baloise-design-system/{p-5e4a2342f3.entry.js → p-b01f9c5651.entry.js} +1 -1
  157. package/dist/baloise-design-system/{p-5439c93408.entry.js → p-b4fa55782e.entry.js} +1 -1
  158. package/dist/baloise-design-system/{p-0ec86b3f93.system.entry.js → p-b4ff1b324f.system.entry.js} +1 -1
  159. package/dist/baloise-design-system/{p-8ebe2676cf.entry.js → p-c29bcf4e69.entry.js} +1 -1
  160. package/dist/baloise-design-system/{p-ae2946a498.system.entry.js → p-cb3abec4bd.system.entry.js} +1 -1
  161. package/dist/baloise-design-system/{p-63a829988a.system.entry.js → p-cd6d0bfa91.system.entry.js} +1 -1
  162. package/dist/baloise-design-system/{p-84de20be7c.entry.js → p-ce3e34fa95.entry.js} +1 -1
  163. package/dist/baloise-design-system/{p-56535b513e.system.entry.js → p-cf77551018.system.entry.js} +1 -1
  164. package/dist/baloise-design-system/{p-01c556671d.system.entry.js → p-d4252ea848.system.entry.js} +1 -1
  165. package/dist/baloise-design-system/{p-84d321b4f8.entry.js → p-d5365ffe38.entry.js} +1 -1
  166. package/dist/baloise-design-system/p-d94f439c3b.system.entry.js +1 -0
  167. package/dist/baloise-design-system/{p-ba0974ae21.system.entry.js → p-db2823d02b.system.entry.js} +1 -1
  168. package/dist/baloise-design-system/{p-15c5f87ce0.system.entry.js → p-dcebb4b8a2.system.entry.js} +1 -1
  169. package/dist/baloise-design-system/p-ddd75e43d6.entry.js +1 -0
  170. package/dist/baloise-design-system/{p-469503b436.entry.js → p-def5a43710.entry.js} +1 -1
  171. package/dist/baloise-design-system/{p-a17017ddc0.system.entry.js → p-e125257826.system.entry.js} +1 -1
  172. package/dist/baloise-design-system/{p-77045369a5.system.entry.js → p-e1b3b1f609.system.entry.js} +1 -1
  173. package/dist/baloise-design-system/{p-cfae4fef4d.entry.js → p-e2e7e3c5c4.entry.js} +1 -1
  174. package/dist/baloise-design-system/{p-0c10bf8c73.system.entry.js → p-e9095ec856.system.entry.js} +1 -1
  175. package/dist/baloise-design-system/p-ed1aad24be.entry.js +1 -0
  176. package/dist/baloise-design-system/{p-440fb2470e.entry.js → p-ee070d06bc.entry.js} +1 -1
  177. package/dist/baloise-design-system/{p-07cd3d2e40.entry.js → p-eeff81381f.entry.js} +1 -1
  178. package/dist/baloise-design-system/{p-e03203e89d.entry.js → p-f217ad88a9.entry.js} +1 -1
  179. package/dist/baloise-design-system/{p-996075a13e.entry.js → p-f2222919fc.entry.js} +1 -1
  180. package/dist/baloise-design-system/{p-6814029ea2.entry.js → p-f55a98dc20.entry.js} +1 -1
  181. package/dist/baloise-design-system/p-f6238b798a.system.entry.js +1 -0
  182. package/dist/baloise-design-system/{p-b9be7f4ef6.system.entry.js → p-f647a73892.system.entry.js} +1 -1
  183. package/dist/baloise-design-system/{p-3717f4438f.system.entry.js → p-f682c289a1.system.entry.js} +1 -1
  184. package/dist/baloise-design-system/{p-0b800b55bc.system.entry.js → p-f6cb5253aa.system.entry.js} +1 -1
  185. package/dist/baloise-design-system/{p-1b2d849d3f.system.entry.js → p-f8b560b22f.system.entry.js} +1 -1
  186. package/dist/baloise-design-system/{p-b603676988.entry.js → p-f91be8b19a.entry.js} +1 -1
  187. package/dist/baloise-design-system/{p-5c583159db.entry.js → p-fb2960c1b6.entry.js} +1 -1
  188. package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
  189. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +4 -4
  190. package/dist/cjs/bal-dropdown_3.cjs.entry.js +23 -21
  191. package/dist/cjs/bal-field_5.cjs.entry.js +11 -11
  192. package/dist/cjs/bal-file-upload.cjs.entry.js +4 -4
  193. package/dist/cjs/bal-footer.cjs.entry.js +3 -3
  194. package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
  195. package/dist/cjs/bal-form.cjs.entry.js +1 -1
  196. package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
  197. package/dist/cjs/bal-hint_5.cjs.entry.js +6 -6
  198. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  199. package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
  200. package/dist/cjs/bal-input-slider.cjs.entry.js +3 -3
  201. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  202. package/dist/cjs/bal-input.cjs.entry.js +1 -1
  203. package/dist/cjs/bal-label.cjs.entry.js +1 -1
  204. package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
  205. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  206. package/dist/cjs/bal-modal_3.cjs.entry.js +7 -7
  207. package/dist/cjs/bal-nav_8.cjs.entry.js +13 -13
  208. package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
  209. package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
  210. package/dist/cjs/bal-notification.cjs.entry.js +1 -1
  211. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  212. package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
  213. package/dist/cjs/bal-popup.cjs.entry.js +1 -1
  214. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  215. package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
  216. package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
  217. package/dist/cjs/bal-segment_2.cjs.entry.js +6 -6
  218. package/dist/cjs/bal-select_2.cjs.entry.js +6 -6
  219. package/dist/cjs/bal-shape.cjs.entry.js +5 -5
  220. package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
  221. package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
  222. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  223. package/dist/cjs/bal-stage_6.cjs.entry.js +7 -7
  224. package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
  225. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  226. package/dist/cjs/bal-switch.cjs.entry.js +1 -1
  227. package/dist/cjs/bal-tab-item_2.cjs.entry.js +7 -7
  228. package/dist/cjs/bal-table.cjs.entry.js +1 -1
  229. package/dist/cjs/bal-tag_2.cjs.entry.js +2 -2
  230. package/dist/cjs/bal-textarea.cjs.entry.js +1 -1
  231. package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
  232. package/dist/cjs/bal-tooltip.cjs.entry.js +1 -1
  233. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  234. package/dist/cjs/{breakpoints.decorator-DyuVBCe8.js → breakpoints.decorator-byAdfhn7.js} +1 -1
  235. package/dist/cjs/{breakpoints.subject-dnWvx514.js → breakpoints.subject-CarqIcOv.js} +1 -1
  236. package/dist/cjs/index.cjs.js +2 -2
  237. package/dist/cjs/initialize-CWGvp-PN.js +1 -1
  238. package/dist/cjs/loader.cjs.js +1 -1
  239. package/dist/cjs/{tokens.esm-CNpvwEnI.js → tokens.esm-wN1fum6F.js} +1 -1
  240. package/dist/cjs/{window-resize.decorator-Ck1Zfh6H.js → window-resize.decorator-DMReD0Er.js} +1 -1
  241. package/dist/collection/components/bal-accordion/test/bal-accordion.visual.play.js +16 -0
  242. package/dist/collection/components/bal-badge/test/bal-badge.visual.play.js +13 -0
  243. package/dist/collection/components/bal-button/test/bal-button.visual.play.js +32 -0
  244. package/dist/collection/components/bal-card/test/bal-card.visual.play.js +13 -0
  245. package/dist/collection/components/bal-carousel/test/bal-carousel.visual.play.js +13 -0
  246. package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.css +1 -1
  247. package/dist/collection/components/bal-checkbox/test/bal-checkbox-icons.visual.play.js +13 -0
  248. package/dist/collection/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.js +13 -0
  249. package/dist/collection/components/bal-checkbox/test/bal-checkbox.visual.play.js +30 -0
  250. package/dist/collection/components/bal-close/test/bal-close.visual.play.js +13 -0
  251. package/dist/collection/components/bal-content/test/bal-content.visual.play.js +13 -0
  252. package/dist/collection/components/bal-data/test/bal-data.visual.play.js +13 -0
  253. package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.js +2 -2
  254. package/dist/collection/components/bal-date/test/bal-date.visual.play.js +24 -0
  255. package/dist/collection/components/bal-divider/test/bal-divider.visual.play.js +13 -0
  256. package/dist/collection/components/bal-dropdown/bal-dropdown.js +7 -3
  257. package/dist/collection/components/bal-dropdown/test/bal-dropdown.visual.play.js +85 -0
  258. package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
  259. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
  260. package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
  261. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
  262. package/dist/collection/components/bal-field/bal-field.js +2 -2
  263. package/dist/collection/components/bal-field/test/bal-field-horizontal.visual.play.js +13 -0
  264. package/dist/collection/components/bal-field/test/bal-field.visual.play.js +26 -0
  265. package/dist/collection/components/bal-file-upload/bal-file-upload.js +4 -4
  266. package/dist/collection/components/bal-file-upload/test/bal-file-upload.visual.play.js +13 -0
  267. package/dist/collection/components/bal-footer/bal-footer.js +3 -3
  268. package/dist/collection/components/bal-footer/test/bal-footer.visual.play.js +42 -0
  269. package/dist/collection/components/bal-form/bal-form.js +1 -1
  270. package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
  271. package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
  272. package/dist/collection/components/bal-form-grid/test/bal-form-grid.visual.play.js +13 -0
  273. package/dist/collection/components/bal-heading/bal-heading.js +1 -1
  274. package/dist/collection/components/bal-heading/test/bal-heading.visual.play.js +24 -0
  275. package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
  276. package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
  277. package/dist/collection/components/bal-hint/test/bal-hint.visual.play.js +15 -0
  278. package/dist/collection/components/bal-icon/bal-icon.js +1 -1
  279. package/dist/collection/components/bal-icon/test/bal-icon.visual.play.js +13 -0
  280. package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +2 -2
  281. package/dist/collection/components/bal-input/bal-input.js +1 -1
  282. package/dist/collection/components/bal-input/test/bal-input.visual.play.js +13 -0
  283. package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
  284. package/dist/collection/components/bal-input-group/test/bal-input-group.visual.play.js +26 -0
  285. package/dist/collection/components/bal-input-slider/bal-input-slider.js +3 -3
  286. package/dist/collection/components/bal-input-slider/test/bal-input-slider.visual.play.js +13 -0
  287. package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +1 -1
  288. package/dist/collection/components/bal-input-stepper/test/bal-input-stepper.visual.play.js +13 -0
  289. package/dist/collection/components/bal-label/bal-label.js +1 -1
  290. package/dist/collection/components/bal-label/test/bal-label.visual.play.js +13 -0
  291. package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
  292. package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
  293. package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
  294. package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
  295. package/dist/collection/components/bal-list/bal-list.js +1 -1
  296. package/dist/collection/components/bal-list/test/bal-list.visual.play.js +13 -0
  297. package/dist/collection/components/bal-logo/test/bal-logo.visual.play.js +13 -0
  298. package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
  299. package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
  300. package/dist/collection/components/bal-modal/bal-modal.js +5 -5
  301. package/dist/collection/components/bal-modal/test/bal-modal.visual.play.js +13 -0
  302. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
  303. package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
  304. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
  305. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
  306. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
  307. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
  308. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
  309. package/dist/collection/components/bal-nav/bal-nav.js +2 -2
  310. package/dist/collection/components/bal-nav/test/bal-nav-colors.visual.play.js +9 -0
  311. package/dist/collection/components/bal-nav/test/bal-nav-long.visual.play.js +9 -0
  312. package/dist/collection/components/bal-nav/test/bal-nav.visual.play.js +9 -0
  313. package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +1 -1
  314. package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
  315. package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
  316. package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
  317. package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
  318. package/dist/collection/components/bal-navbar/test/bal-navbar.visual.play.js +20 -0
  319. package/dist/collection/components/bal-notices/bal-notices.js +1 -1
  320. package/dist/collection/components/bal-notification/bal-notification.js +1 -1
  321. package/dist/collection/components/bal-notification/test/bal-notification.visual.play.js +13 -0
  322. package/dist/collection/components/bal-number-input/bal-number-input.js +1 -1
  323. package/dist/collection/components/bal-number-input/test/bal-number-input.visual.play.js +13 -0
  324. package/dist/collection/components/bal-option/bal-option.js +1 -1
  325. package/dist/collection/components/bal-option/test/bal-option.visual.play.js +13 -0
  326. package/dist/collection/components/bal-option-list/bal-option-list.js +1 -1
  327. package/dist/collection/components/bal-option-list/test/bal-option-list.visual.play.js +13 -0
  328. package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
  329. package/dist/collection/components/bal-pagination/test/bal-pagination.visual.play.js +13 -0
  330. package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
  331. package/dist/collection/components/bal-popover/test/bal-popover.visual.play.js +13 -0
  332. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  333. package/dist/collection/components/bal-popup/test/bal-popup.visual.play.js +13 -0
  334. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
  335. package/dist/collection/components/bal-progress-bar/test/bal-progress-bar.visual.play.js +13 -0
  336. package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +1 -1
  337. package/dist/collection/components/bal-radio/bal-radio.js +2 -2
  338. package/dist/collection/components/bal-radio/test/bal-radio-icons.visual.play.js +13 -0
  339. package/dist/collection/components/bal-radio/test/bal-radio-tiles.visual.play.js +13 -0
  340. package/dist/collection/components/bal-radio/test/bal-radio.visual.play.js +25 -0
  341. package/dist/collection/components/bal-radio/test/car.svg +1 -1
  342. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
  343. package/dist/collection/components/bal-segment/bal-segment.js +1 -1
  344. package/dist/collection/components/bal-segment/test/bal-segment.visual.play.js +13 -0
  345. package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
  346. package/dist/collection/components/bal-select/bal-select.js +5 -5
  347. package/dist/collection/components/bal-select/test/bal-select-multiple.visual.play.js +28 -0
  348. package/dist/collection/components/bal-select/test/bal-select.visual.play.js +28 -0
  349. package/dist/collection/components/bal-shape/bal-shape.js +4 -4
  350. package/dist/collection/components/bal-shape/test/bal-shape.visual.play.js +13 -0
  351. package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
  352. package/dist/collection/components/bal-sheet/test/bal-sheet.visual.play.js +12 -0
  353. package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
  354. package/dist/collection/components/bal-snackbar/test/bal-snackbar.visual.play.js +13 -0
  355. package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
  356. package/dist/collection/components/bal-stack/bal-stack.js +1 -1
  357. package/dist/collection/components/bal-stack/test/bal-stack.visual.play.js +13 -0
  358. package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
  359. package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
  360. package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
  361. package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
  362. package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
  363. package/dist/collection/components/bal-stage/bal-stage.js +1 -1
  364. package/dist/collection/components/bal-stage/test/bal-stage.visual.play.js +11 -0
  365. package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
  366. package/dist/collection/components/bal-steps/test/bal-steps.visual.play.js +13 -0
  367. package/dist/collection/components/bal-table/bal-table.js +1 -1
  368. package/dist/collection/components/bal-table/test/bal-table.visual.play.js +13 -0
  369. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
  370. package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
  371. package/dist/collection/components/bal-tabs/test/bal-tabs.visual.play.js +25 -0
  372. package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
  373. package/dist/collection/components/bal-tag/bal-tag.js +1 -1
  374. package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +2 -2
  375. package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +17 -19
  376. package/dist/collection/components/bal-text/bal-text.js +2 -2
  377. package/dist/collection/components/bal-text/test/bal-text.visual.play.js +13 -0
  378. package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
  379. package/dist/collection/components/bal-textarea/test/bal-textarea.visual.play.js +13 -0
  380. package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
  381. package/dist/collection/components/bal-time-input/test/bal-time-input.visual.play.js +13 -0
  382. package/dist/collection/components/bal-toast/bal-toast.js +1 -1
  383. package/dist/collection/components/bal-toast/test/bal-toast.visual.play.js +13 -0
  384. package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
  385. package/dist/collection/components/bal-tooltip/test/bal-tooltip.visual.play.js +15 -0
  386. package/dist/collection/test/css-border.visual.play.js +23 -0
  387. package/dist/collection/test/css-color.visual.play.js +27 -0
  388. package/dist/collection/test/css-core.visual.play.js +13 -0
  389. package/dist/collection/test/css-display.visual.play.js +19 -0
  390. package/dist/collection/test/css-flex.visual.play.js +21 -0
  391. package/dist/collection/test/css-grid.visual.play.js +23 -0
  392. package/dist/collection/test/css-inheritance.visual.play.js +13 -0
  393. package/dist/collection/test/css-opacity.visual.play.js +13 -0
  394. package/dist/collection/test/css-radius.visual.play.js +13 -0
  395. package/dist/collection/test/css-shadow.visual.play.js +13 -0
  396. package/dist/collection/test/css-spacing.visual.play.js +27 -0
  397. package/dist/collection/test/css-structure.visual.play.js +13 -0
  398. package/dist/collection/test/css-typography.visual.play.js +12 -0
  399. package/dist/collection/test/theme-compact.visual.play.js +13 -0
  400. package/dist/collection/utils/constants/version.constant.js +1 -1
  401. package/dist/collection/utils/dropdown/index.js +1 -2
  402. package/dist/collection/utils/dropdown/value.js +8 -3
  403. package/dist/esm/bal-carousel_2.entry.js +3 -3
  404. package/dist/esm/bal-date-calendar_2.entry.js +4 -4
  405. package/dist/esm/bal-dropdown_3.entry.js +23 -21
  406. package/dist/esm/bal-field_5.entry.js +11 -11
  407. package/dist/esm/bal-file-upload.entry.js +4 -4
  408. package/dist/esm/bal-footer.entry.js +3 -3
  409. package/dist/esm/bal-form-col_2.entry.js +3 -3
  410. package/dist/esm/bal-form.entry.js +1 -1
  411. package/dist/esm/bal-heading_2.entry.js +3 -3
  412. package/dist/esm/bal-hint_5.entry.js +6 -6
  413. package/dist/esm/bal-icon.entry.js +1 -1
  414. package/dist/esm/bal-input-group.entry.js +1 -1
  415. package/dist/esm/bal-input-slider.entry.js +3 -3
  416. package/dist/esm/bal-input-stepper.entry.js +1 -1
  417. package/dist/esm/bal-input.entry.js +1 -1
  418. package/dist/esm/bal-label.entry.js +1 -1
  419. package/dist/esm/bal-list_8.entry.js +10 -10
  420. package/dist/esm/bal-logo.entry.js +3 -3
  421. package/dist/esm/bal-modal_3.entry.js +7 -7
  422. package/dist/esm/bal-nav_8.entry.js +13 -13
  423. package/dist/esm/bal-navbar_5.entry.js +8 -8
  424. package/dist/esm/bal-notices_3.entry.js +3 -3
  425. package/dist/esm/bal-notification.entry.js +1 -1
  426. package/dist/esm/bal-number-input.entry.js +1 -1
  427. package/dist/esm/bal-pagination.entry.js +7 -7
  428. package/dist/esm/bal-popup.entry.js +1 -1
  429. package/dist/esm/bal-progress-bar.entry.js +5 -5
  430. package/dist/esm/bal-radio-icon.entry.js +1 -1
  431. package/dist/esm/bal-radio_2.entry.js +2 -2
  432. package/dist/esm/bal-segment_2.entry.js +6 -6
  433. package/dist/esm/bal-select_2.entry.js +6 -6
  434. package/dist/esm/bal-shape.entry.js +5 -5
  435. package/dist/esm/bal-sheet.entry.js +1 -1
  436. package/dist/esm/bal-spinner.entry.js +1 -1
  437. package/dist/esm/bal-stack.entry.js +1 -1
  438. package/dist/esm/bal-stage_6.entry.js +7 -7
  439. package/dist/esm/bal-step-item.entry.js +2 -2
  440. package/dist/esm/bal-steps.entry.js +3 -3
  441. package/dist/esm/bal-switch.entry.js +1 -1
  442. package/dist/esm/bal-tab-item_2.entry.js +7 -7
  443. package/dist/esm/bal-table.entry.js +1 -1
  444. package/dist/esm/bal-tag_2.entry.js +2 -2
  445. package/dist/esm/bal-textarea.entry.js +1 -1
  446. package/dist/esm/bal-time-input.entry.js +1 -1
  447. package/dist/esm/bal-tooltip.entry.js +1 -1
  448. package/dist/esm/baloise-design-system.js +1 -1
  449. package/dist/esm/{breakpoints.decorator-B1jmHb1D.js → breakpoints.decorator-t_yXJIZL.js} +1 -1
  450. package/dist/esm/{breakpoints.subject-CLkQ75F0.js → breakpoints.subject-BnQp404Z.js} +1 -1
  451. package/dist/esm/index.js +3 -3
  452. package/dist/esm/initialize-pdWsVO-c.js +1 -1
  453. package/dist/esm/loader.js +1 -1
  454. package/dist/esm/{tokens.esm-Crri2rlL.js → tokens.esm-Cf90NR4z.js} +1 -1
  455. package/dist/esm/{window-resize.decorator-Dm6C96Ro.js → window-resize.decorator-DBJlK-45.js} +1 -1
  456. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  457. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  458. package/dist/esm-es5/bal-dropdown_3.entry.js +1 -1
  459. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  460. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  461. package/dist/esm-es5/bal-footer.entry.js +1 -1
  462. package/dist/esm-es5/bal-form-col_2.entry.js +1 -1
  463. package/dist/esm-es5/bal-form.entry.js +1 -1
  464. package/dist/esm-es5/bal-heading_2.entry.js +1 -1
  465. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  466. package/dist/esm-es5/bal-icon.entry.js +1 -1
  467. package/dist/esm-es5/bal-input-group.entry.js +1 -1
  468. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  469. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  470. package/dist/esm-es5/bal-input.entry.js +1 -1
  471. package/dist/esm-es5/bal-label.entry.js +1 -1
  472. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  473. package/dist/esm-es5/bal-logo.entry.js +1 -1
  474. package/dist/esm-es5/bal-modal_3.entry.js +1 -1
  475. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  476. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  477. package/dist/esm-es5/bal-notices_3.entry.js +1 -1
  478. package/dist/esm-es5/bal-notification.entry.js +1 -1
  479. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  480. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  481. package/dist/esm-es5/bal-popup.entry.js +1 -1
  482. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  483. package/dist/esm-es5/bal-radio-icon.entry.js +1 -1
  484. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  485. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  486. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  487. package/dist/esm-es5/bal-shape.entry.js +1 -1
  488. package/dist/esm-es5/bal-sheet.entry.js +1 -1
  489. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  490. package/dist/esm-es5/bal-stack.entry.js +1 -1
  491. package/dist/esm-es5/bal-stage_6.entry.js +1 -1
  492. package/dist/esm-es5/bal-step-item.entry.js +1 -1
  493. package/dist/esm-es5/bal-steps.entry.js +1 -1
  494. package/dist/esm-es5/bal-switch.entry.js +1 -1
  495. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  496. package/dist/esm-es5/bal-table.entry.js +1 -1
  497. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  498. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  499. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  500. package/dist/esm-es5/bal-tooltip.entry.js +1 -1
  501. package/dist/esm-es5/baloise-design-system.js +1 -1
  502. package/dist/esm-es5/{breakpoints.decorator-B1jmHb1D.js → breakpoints.decorator-t_yXJIZL.js} +1 -1
  503. package/dist/esm-es5/{breakpoints.subject-CLkQ75F0.js → breakpoints.subject-BnQp404Z.js} +1 -1
  504. package/dist/esm-es5/index.js +1 -1
  505. package/dist/esm-es5/initialize-pdWsVO-c.js +1 -1
  506. package/dist/esm-es5/loader.js +1 -1
  507. package/dist/esm-es5/{window-resize.decorator-Dm6C96Ro.js → window-resize.decorator-DBJlK-45.js} +1 -1
  508. package/dist/types/components/bal-accordion/test/bal-accordion.visual.play.d.ts +1 -0
  509. package/dist/types/components/bal-badge/test/bal-badge.visual.play.d.ts +1 -0
  510. package/dist/types/components/bal-button/test/bal-button.visual.play.d.ts +1 -0
  511. package/dist/types/components/bal-card/test/bal-card.visual.play.d.ts +1 -0
  512. package/dist/types/components/bal-carousel/test/bal-carousel.visual.play.d.ts +1 -0
  513. package/dist/types/components/bal-checkbox/test/bal-checkbox-icons.visual.play.d.ts +1 -0
  514. package/dist/types/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.d.ts +1 -0
  515. package/dist/types/components/bal-checkbox/test/bal-checkbox.visual.play.d.ts +1 -0
  516. package/dist/types/components/bal-close/test/bal-close.visual.play.d.ts +1 -0
  517. package/dist/types/components/bal-content/test/bal-content.visual.play.d.ts +1 -0
  518. package/dist/types/components/bal-data/test/bal-data.visual.play.d.ts +1 -0
  519. package/dist/types/components/bal-date/test/bal-date.visual.play.d.ts +1 -0
  520. package/dist/types/components/bal-divider/test/bal-divider.visual.play.d.ts +1 -0
  521. package/dist/types/components/bal-dropdown/test/bal-dropdown.visual.play.d.ts +1 -0
  522. package/dist/types/components/bal-field/test/bal-field-horizontal.visual.play.d.ts +1 -0
  523. package/dist/types/components/bal-field/test/bal-field.visual.play.d.ts +1 -0
  524. package/dist/types/components/bal-file-upload/test/bal-file-upload.visual.play.d.ts +1 -0
  525. package/dist/types/components/bal-footer/test/bal-footer.visual.play.d.ts +1 -0
  526. package/dist/types/components/bal-form-grid/test/bal-form-grid.visual.play.d.ts +1 -0
  527. package/dist/types/components/bal-heading/test/bal-heading.visual.play.d.ts +1 -0
  528. package/dist/types/components/bal-hint/test/bal-hint.visual.play.d.ts +1 -0
  529. package/dist/types/components/bal-icon/test/bal-icon.visual.play.d.ts +1 -0
  530. package/dist/types/components/bal-input/test/bal-input.visual.play.d.ts +1 -0
  531. package/dist/types/components/bal-input-group/test/bal-input-group.visual.play.d.ts +1 -0
  532. package/dist/types/components/bal-input-slider/test/bal-input-slider.visual.play.d.ts +1 -0
  533. package/dist/types/components/bal-input-stepper/test/bal-input-stepper.visual.play.d.ts +1 -0
  534. package/dist/types/components/bal-label/test/bal-label.visual.play.d.ts +1 -0
  535. package/dist/types/components/bal-list/test/bal-list.visual.play.d.ts +1 -0
  536. package/dist/types/components/bal-logo/test/bal-logo.visual.play.d.ts +1 -0
  537. package/dist/types/components/bal-modal/test/bal-modal.visual.play.d.ts +1 -0
  538. package/dist/types/components/bal-nav/test/bal-nav-colors.visual.play.d.ts +1 -0
  539. package/dist/types/components/bal-nav/test/bal-nav-long.visual.play.d.ts +1 -0
  540. package/dist/types/components/bal-nav/test/bal-nav.visual.play.d.ts +1 -0
  541. package/dist/types/components/bal-navbar/test/bal-navbar.visual.play.d.ts +1 -0
  542. package/dist/types/components/bal-notification/test/bal-notification.visual.play.d.ts +1 -0
  543. package/dist/types/components/bal-number-input/test/bal-number-input.visual.play.d.ts +1 -0
  544. package/dist/types/components/bal-option/test/bal-option.visual.play.d.ts +1 -0
  545. package/dist/types/components/bal-option-list/test/bal-option-list.visual.play.d.ts +1 -0
  546. package/dist/types/components/bal-pagination/test/bal-pagination.visual.play.d.ts +1 -0
  547. package/dist/types/components/bal-popover/test/bal-popover.visual.play.d.ts +1 -0
  548. package/dist/types/components/bal-popup/test/bal-popup.visual.play.d.ts +1 -0
  549. package/dist/types/components/bal-progress-bar/test/bal-progress-bar.visual.play.d.ts +1 -0
  550. package/dist/types/components/bal-radio/test/bal-radio-icons.visual.play.d.ts +1 -0
  551. package/dist/types/components/bal-radio/test/bal-radio-tiles.visual.play.d.ts +1 -0
  552. package/dist/types/components/bal-radio/test/bal-radio.visual.play.d.ts +1 -0
  553. package/dist/types/components/bal-segment/test/bal-segment.visual.play.d.ts +1 -0
  554. package/dist/types/components/bal-select/test/bal-select-multiple.visual.play.d.ts +1 -0
  555. package/dist/types/components/bal-select/test/bal-select.visual.play.d.ts +1 -0
  556. package/dist/types/components/bal-shape/test/bal-shape.visual.play.d.ts +1 -0
  557. package/dist/types/components/bal-sheet/test/bal-sheet.visual.play.d.ts +1 -0
  558. package/dist/types/components/bal-snackbar/test/bal-snackbar.visual.play.d.ts +1 -0
  559. package/dist/types/components/bal-stack/test/bal-stack.visual.play.d.ts +1 -0
  560. package/dist/types/components/bal-stage/test/bal-stage.visual.play.d.ts +1 -0
  561. package/dist/types/components/bal-steps/test/bal-steps.visual.play.d.ts +1 -0
  562. package/dist/types/components/bal-table/test/bal-table.visual.play.d.ts +1 -0
  563. package/dist/types/components/bal-tabs/test/bal-tabs.visual.play.d.ts +1 -0
  564. package/dist/types/components/bal-text/test/bal-text.visual.play.d.ts +1 -0
  565. package/dist/types/components/bal-textarea/test/bal-textarea.visual.play.d.ts +1 -0
  566. package/dist/types/components/bal-time-input/test/bal-time-input.visual.play.d.ts +1 -0
  567. package/dist/types/components/bal-toast/test/bal-toast.visual.play.d.ts +1 -0
  568. package/dist/types/components/bal-tooltip/test/bal-tooltip.visual.play.d.ts +1 -0
  569. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +5 -4
  570. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/devices.d.ts +1 -0
  571. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
  572. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +1 -0
  573. package/dist/types/test/css-border.visual.play.d.ts +1 -0
  574. package/dist/types/test/css-color.visual.play.d.ts +1 -0
  575. package/dist/types/test/css-core.visual.play.d.ts +1 -0
  576. package/dist/types/test/css-display.visual.play.d.ts +1 -0
  577. package/dist/types/test/css-flex.visual.play.d.ts +1 -0
  578. package/dist/types/test/css-grid.visual.play.d.ts +1 -0
  579. package/dist/types/test/css-inheritance.visual.play.d.ts +1 -0
  580. package/dist/types/test/css-opacity.visual.play.d.ts +1 -0
  581. package/dist/types/test/css-radius.visual.play.d.ts +1 -0
  582. package/dist/types/test/css-shadow.visual.play.d.ts +1 -0
  583. package/dist/types/test/css-spacing.visual.play.d.ts +1 -0
  584. package/dist/types/test/css-structure.visual.play.d.ts +1 -0
  585. package/dist/types/test/css-typography.visual.play.d.ts +1 -0
  586. package/dist/types/test/theme-compact.visual.play.d.ts +1 -0
  587. package/dist/types/utils/dropdown/index.d.ts +1 -2
  588. package/dist/types/utils/dropdown/value.d.ts +2 -5
  589. package/package.json +6 -6
  590. package/dist/baloise-design-system/p-0d487a482f.system.entry.js +0 -1
  591. package/dist/baloise-design-system/p-17fb47d0d4.entry.js +0 -1
  592. package/dist/baloise-design-system/p-1f011724dd.entry.js +0 -1
  593. package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +0 -1
  594. package/dist/baloise-design-system/p-2d57df519d.entry.js +0 -1
  595. package/dist/baloise-design-system/p-393a3d5fb7.entry.js +0 -1
  596. package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +0 -1
  597. package/dist/baloise-design-system/p-63cf9eadee.entry.js +0 -1
  598. package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +0 -1
  599. package/dist/baloise-design-system/p-80cae9282e.system.entry.js +0 -1
  600. package/dist/baloise-design-system/p-8670cb3845.entry.js +0 -1
  601. package/dist/baloise-design-system/p-DI-sUHVD.system.js +0 -1
  602. package/dist/baloise-design-system/p-ccf29475c6.entry.js +0 -1
  603. package/dist/baloise-design-system/p-f348ec6012.entry.js +0 -1
  604. package/dist/collection/utils/dropdown/option-list.js +0 -8
  605. package/dist/types/utils/dropdown/option-list.d.ts +0 -17
  606. /package/dist/baloise-design-system/{p-Crri2rlL.js → p-Cf90NR4z.js} +0 -0
  607. /package/dist/baloise-design-system/{p-CCoeJzzY.system.js → p-LFV9NiI-.system.js} +0 -0
  608. /package/dist/esm-es5/{tokens.esm-Crri2rlL.js → tokens.esm-Cf90NR4z.js} +0 -0
@@ -0,0 +1,32 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-button';
3
+ const VARIANTS = [
4
+ 'primary',
5
+ 'colors',
6
+ 'colors-alternatives',
7
+ 'sizes',
8
+ 'inverted',
9
+ 'expanded',
10
+ 'flat',
11
+ 'icon-right',
12
+ 'outlined',
13
+ 'rounded',
14
+ 'shadow',
15
+ 'variants',
16
+ 'states',
17
+ 'alert',
18
+ 'square',
19
+ 'group',
20
+ 'links',
21
+ 'inverted-links',
22
+ ];
23
+ const image = screenshot(TAG);
24
+ test.beforeEach('Setup', async ({ page }) => {
25
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
26
+ });
27
+ VARIANTS.forEach(variant => {
28
+ test(variant, async ({ page }) => {
29
+ const el = page.getByTestId(variant);
30
+ await expect(el).toHaveScreenshot(image(`${variant}`));
31
+ });
32
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-card';
3
+ const VARIANTS = ['basic', 'colors', 'flat', 'square', 'border', 'space'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-carousel';
3
+ const VARIANTS = ['basic', 'image', 'product', 'card', 'card-with-value', 'responsive'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -1 +1 @@
1
- :root{--bal-checkbox-switch-label-background-before: var(--bal-color-primary-1);--bal-checkbox-switch-label-background-after: var(--bal-color-primary);--bal-checkbox-switch-label-background-hover-after: var(--bal-color-light-blue-5);--bal-checkbox-switch-label-background-active-after: var(--bal-color-primary-6);--bal-checkbox-switch-label-background-pressed-after: var(--bal-color-border-primary-pressed);--bal-checkbox-switch-label-background-checked-before: var(--bal-color-success-4);--bal-checkbox-switch-label-background-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-checked-hover-before: var(--bal-color-success-5);--bal-checkbox-switch-label-background-checked-active-before: var(--bal-color-success-6);--bal-checkbox-switch-label-background-invalid-before: var(--bal-color-danger-1);--bal-checkbox-switch-label-background-invalid-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-hover-after: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-active-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-pressed-after: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-invalid-checked-before: var(--bal-color-danger-4);--bal-checkbox-switch-label-background-invalid-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-invalid-checked-hover-before: var(--bal-color-danger-5);--bal-checkbox-switch-label-background-invalid-checked-active-before: var(--bal-color-danger-6);--bal-checkbox-switch-label-background-invalid-checked-hovered-before: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-checked-pressed-before: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-disabled-hover-active-before: var(--bal-color-grey-3);--bal-checkbox-switch-label-background-disabled-hover-active-after: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-before: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-after: var(--bal-color-white)}.bal-switch{display:inline-flex;position:relative;justify-content:flex-start;align-items:center;cursor:pointer;user-select:none;width:2.5rem;height:1.5rem;padding:.25rem;border-radius:var(--bal-radius-rounded);overflow:hidden;background:var(--bal-checkbox-switch-label-background-before)}@media(hover: hover)and (pointer: fine){.bal-switch--hovered,.bal-switch:hover{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--hovered .bal-switch__toggle,.bal-switch:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-hover-after)}}.bal-switch--pressed,.bal-switch:active{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--pressed .bal-switch__toggle,.bal-switch:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-pressed-after)}.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-checked-before)}.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}@media(hover: hover)and (pointer: fine){.bal-switch--checked.bal-switch--hovered,.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-checked-hover-before)}.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}}.bal-switch--checked.bal-switch--pressed,.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-checked-active-before)}.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch--invalid{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-after)}@media(hover: hover)and (pointer: fine){.bal-switch--invalid.bal-switch--hovered,.bal-switch--invalid:hover{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-hover-after)}}.bal-switch--invalid.bal-switch--pressed,.bal-switch--invalid:active{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-pressed-after)}.bal-switch--invalid.bal-switch--checked.bal-switch,.bal-switch--invalid.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-invalid-checked-before)}.bal-switch--invalid.bal-switch--checked.bal-switch .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered,.bal-switch--invalid.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-invalid-checked-hovered-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed,.bal-switch--invalid.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-invalid-checked-pressed-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--disabled,.bal-switch--disabled:hover,.bal-switch--disabled:active{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-before)}.bal-switch--disabled .bal-switch__toggle,.bal-switch--disabled:hover .bal-switch__toggle,.bal-switch--disabled:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-after)}.bal-switch--disabled.bal-switch--checked,.bal-switch--disabled.bal-switch--checked:hover,.bal-switch--disabled.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-switch--disabled.bal-switch--checked .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:hover .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-after);border-radius:50%;position:absolute;top:.25rem;width:1rem;height:1rem;transition:transform .3s ease-in-out}.bal-switch__toggle--checked{transform:translateX(100%);background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-icon{position:absolute}.bal-icon .bal-switch__icon--checked{opacity:1}.bal-icon .bal-switch__icon{opacity:0;transition:opacity .3s ease-in-out}
1
+ :root{--bal-checkbox-switch-label-background-before: var(--bal-color-primary-1);--bal-checkbox-switch-label-background-after: var(--bal-color-primary);--bal-checkbox-switch-label-background-hover-after: var(--bal-color-light-blue-5);--bal-checkbox-switch-label-background-active-after: var(--bal-color-primary-6);--bal-checkbox-switch-label-background-pressed-after: var(--bal-color-border-primary-pressed);--bal-checkbox-switch-label-background-checked-before: var(--bal-color-success-4);--bal-checkbox-switch-label-background-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-checked-hover-before: var(--bal-color-success-5);--bal-checkbox-switch-label-background-checked-active-before: var(--bal-color-success-6);--bal-checkbox-switch-label-background-invalid-before: var(--bal-color-danger-1);--bal-checkbox-switch-label-background-invalid-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-hover-after: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-active-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-pressed-after: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-invalid-checked-before: var(--bal-color-danger-4);--bal-checkbox-switch-label-background-invalid-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-invalid-checked-hover-before: var(--bal-color-danger-5);--bal-checkbox-switch-label-background-invalid-checked-active-before: var(--bal-color-danger-6);--bal-checkbox-switch-label-background-invalid-checked-hovered-before: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-checked-pressed-before: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-disabled-hover-active-before: var(--bal-color-grey-3);--bal-checkbox-switch-label-background-disabled-hover-active-after: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-before: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-after: var(--bal-color-white)}.bal-switch{display:inline-flex;position:relative;justify-content:flex-start;align-items:center;cursor:pointer;user-select:none;width:2.5rem;height:1.5rem;padding:.25rem;border-radius:var(--bal-radius-rounded);overflow:hidden;background:var(--bal-checkbox-switch-label-background-before)}@media(hover: hover)and (pointer: fine){.bal-switch--hovered,.bal-switch:hover{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--hovered .bal-switch__toggle,.bal-switch:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-hover-after)}}.bal-switch--pressed,.bal-switch:active{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--pressed .bal-switch__toggle,.bal-switch:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-pressed-after)}.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-checked-before)}.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}@media(hover: hover)and (pointer: fine){.bal-switch--checked.bal-switch--hovered,.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-checked-hover-before)}.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}}.bal-switch--checked.bal-switch--pressed,.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-checked-active-before)}.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch--invalid{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-after)}@media(hover: hover)and (pointer: fine){.bal-switch--invalid.bal-switch--hovered,.bal-switch--invalid:hover{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-hover-after)}}.bal-switch--invalid.bal-switch--pressed,.bal-switch--invalid:active{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-pressed-after)}.bal-switch--invalid.bal-switch--checked.bal-switch,.bal-switch--invalid.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-invalid-checked-before)}.bal-switch--invalid.bal-switch--checked.bal-switch .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered,.bal-switch--invalid.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-invalid-checked-hovered-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed,.bal-switch--invalid.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-invalid-checked-pressed-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--disabled,.bal-switch--disabled:hover,.bal-switch--disabled:active{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-before)}.bal-switch--disabled .bal-switch__toggle,.bal-switch--disabled:hover .bal-switch__toggle,.bal-switch--disabled:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-after)}.bal-switch--disabled.bal-switch--checked,.bal-switch--disabled.bal-switch--checked:hover,.bal-switch--disabled.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-switch--disabled.bal-switch--checked .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:hover .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-after);border-radius:50%;position:absolute;top:.25rem;width:1rem;height:1rem;transition:transform .3s ease-in-out}.bal-switch__toggle--checked{transform:translateX(100%);background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch .bal-icon{position:absolute}.bal-switch .bal-icon .bal-switch__icon--checked{opacity:1}.bal-switch .bal-icon .bal-switch__icon{opacity:0;transition:opacity .3s ease-in-out}
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-checkbox';
3
+ const VARIANTS = ['check', 'switch'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}-icons.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-checkbox';
3
+ const VARIANTS = ['basic', 'grid', 'colors'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}-tiles.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,30 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-checkbox';
3
+ const VARIANTS = [
4
+ 'checkbox-basic',
5
+ 'checkbox-invalid',
6
+ 'checkbox-disabled',
7
+ 'checkbox-others',
8
+ 'checkbox-long-label',
9
+ 'switch-basic',
10
+ 'switch-invalid',
11
+ 'switch-disabled',
12
+ 'switch-others',
13
+ 'switch-long-label',
14
+ 'button-basic',
15
+ 'button-invalid',
16
+ 'button-disabled',
17
+ 'button-long-label',
18
+ 'group-vertical',
19
+ 'group-vertical-on-mobile',
20
+ ];
21
+ const image = screenshot(TAG);
22
+ test.beforeEach('Setup', async ({ page }) => {
23
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
24
+ });
25
+ VARIANTS.forEach(variant => {
26
+ test(variant, async ({ page }) => {
27
+ const el = page.getByTestId(variant);
28
+ await expect(el).toHaveScreenshot(image(`${variant}`));
29
+ });
30
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-close';
3
+ const VARIANTS = ['basic', 'sizes', 'inverted'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-content';
3
+ const VARIANTS = ['basic', 'alignment', 'direction', 'space'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-data';
3
+ const VARIANTS = ['basic'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -7,7 +7,7 @@ export const CalendarNav = ({ language, onClickSelectMonthAndYear, monthFullName
7
7
  const nextMonthLabel = i18nBalDate[language].nextMonth;
8
8
  const previousMonthLabel = i18nBalDate[language].previousMonth;
9
9
  const selectMonthLabel = i18nBalDate[language].selectMonth;
10
- return (h("div", { class: Object.assign({}, blockNav.class()) }, h("div", { class: Object.assign({}, blockNav.modifier('start').class()) }, h("button", { title: selectMonthLabel, "aria-label": selectMonthLabel, tabIndex: -1, "data-test": "change-year-month", onClick: onClickSelectMonthAndYear }, h("span", null, monthFullNames[month - 1], " ", year), h("bal-icon", { name: "caret-up", color: "primary", size: "small", turn: isCalendarVisible }))), h("div", { class: Object.assign({}, blockNav.modifier('end').class()), style: {
10
+ return (h("div", { class: Object.assign({}, blockNav.class()) }, h("div", { class: Object.assign({}, blockNav.modifier('start').class()) }, h("button", { title: selectMonthLabel, "aria-label": selectMonthLabel, tabIndex: -1, "data-testid": "change-year-month", onClick: onClickSelectMonthAndYear }, h("span", null, monthFullNames[month - 1], " ", year), h("bal-icon", { name: "caret-up", color: "primary", size: "small", turn: isCalendarVisible }))), h("div", { class: Object.assign({}, blockNav.modifier('end').class()), style: {
11
11
  display: isListVisible ? 'none' : 'flex',
12
- } }, h("button", { title: previousMonthLabel, "aria-label": previousMonthLabel, onClick: onClickPreviousMonth, tabIndex: -1, "data-test": "previous-month" }, h("bal-icon", { name: "caret-left", color: "primary", size: "small" })), h("button", { title: nextMonthLabel, "aria-label": nextMonthLabel, onClick: onClickNextMonth, tabIndex: -1, "data-test": "next-month" }, h("bal-icon", { name: "caret-right", color: "primary", size: "small" })))));
12
+ } }, h("button", { title: previousMonthLabel, "aria-label": previousMonthLabel, onClick: onClickPreviousMonth, tabIndex: -1, "data-testid": "previous-month" }, h("bal-icon", { name: "caret-left", color: "primary", size: "small" })), h("button", { title: nextMonthLabel, "aria-label": nextMonthLabel, onClick: onClickNextMonth, tabIndex: -1, "data-testid": "next-month" }, h("bal-icon", { name: "caret-right", color: "primary", size: "small" })))));
13
13
  };
@@ -0,0 +1,24 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-date';
3
+ const VARIANTS = [
4
+ 'basic',
5
+ 'basic-placeholder',
6
+ 'basic-value',
7
+ 'invalid',
8
+ 'invalid-placeholder',
9
+ 'invalid-invalid',
10
+ 'disabled',
11
+ 'disabled-placeholder',
12
+ 'disabled-disabled',
13
+ 'free-solo',
14
+ ];
15
+ const image = screenshot(TAG);
16
+ test.beforeEach('Setup', async ({ page }) => {
17
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
18
+ });
19
+ VARIANTS.forEach(variant => {
20
+ test(variant, async ({ page }) => {
21
+ const el = page.getByTestId(variant);
22
+ await expect(el).toHaveScreenshot(image(`${variant}`));
23
+ });
24
+ });
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-divider';
3
+ const VARIANTS = ['basic', 'stack', 'colors', 'spaces'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -4,7 +4,7 @@ import { inheritAttributes } from "../../utils/attributes";
4
4
  import { BEM } from "../../utils/bem";
5
5
  import { balBrowser } from "../../utils/browser";
6
6
  import { ListenToConfig, defaultConfig, } from "../../utils/config";
7
- import { DropdownAutoFillUtil, DropdownEventsUtil, DropdownFocusUtil, DropdownFormSubmitUtil, DropdownIcon, DropdownInput, DropdownNativeSelect, DropdownOptionList, DropdownOptionUtil, DropdownPopupUtil, DropdownValue, DropdownValueUtil, } from "../../utils/dropdown";
7
+ import { DropdownAutoFillUtil, DropdownEventsUtil, DropdownFocusUtil, DropdownFormSubmitUtil, DropdownIcon, DropdownInput, DropdownNativeSelect, DropdownOptionUtil, DropdownPopupUtil, DropdownValue, DropdownValueUtil, } from "../../utils/dropdown";
8
8
  import { defaultBalAriaForm } from "../../utils/form";
9
9
  import { stopEventBubbling } from "../../utils/form-input";
10
10
  import { addEventListener, removeEventListener, waitAfterIdleCallback } from "../../utils/helpers";
@@ -350,13 +350,17 @@ export class Dropdown {
350
350
  const hasTheme = this.theme !== '';
351
351
  const theme = `theme-${this.theme}`;
352
352
  const focused = this.theme === 'purple' ? this.hasFocus && this.isKeyboardMode : this.hasFocus;
353
- return (h(Host, { key: 'bbe24bccd7ec89cadd6928abbe42bc80a4838242', class: Object.assign({}, block.class()), tabindex: "-1", id: `${this.inputId}` }, h("div", { key: 'c4affbe59c4d38b281b28edef4510bf7f3432485', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').class()), block.element('root').modifier('focused').class(focused)), block.element('root').modifier('invalid').class(this.invalid)), block.element('root').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').modifier('autofill').class(this.isAutoFilled)), block.element('root').modifier(size).class(hasSize)), block.element('root').modifier(theme).class(hasTheme)), block
353
+ return (h(Host, { key: '3fe05ba6190dabe5fb8c297f4809659f7c24aa74', class: Object.assign({}, block.class()), tabindex: "-1", id: `${this.inputId}` }, h("div", { key: 'e0b038aa5b7ead381d271c5b7b04fd5bbaa3ea3b', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').class()), block.element('root').modifier('focused').class(focused)), block.element('root').modifier('invalid').class(this.invalid)), block.element('root').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').modifier('autofill').class(this.isAutoFilled)), block.element('root').modifier(size).class(hasSize)), block.element('root').modifier(theme).class(hasTheme)), block
354
354
  .element('root')
355
355
  .modifier(theme + '-filled')
356
356
  .class(isFilled && hasTheme)), block
357
357
  .element('root')
358
358
  .modifier(theme + '-expanded')
359
- .class(this.isExpanded && hasTheme)), "data-test": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: 'f99ffede973516ae00abca3596a2a60ed50d0cbe', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').element('content').class()), block.element('root').element('content').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').element('content').modifier('placeholder').class(!this.valueUtil.isFilled())), block.element('root').element('content').modifier(size).class(hasSize)) }, h(DropdownValue, { key: '50dd5893ff6cf84616d662c04d4a247c5ea4b5c2', filled: this.valueUtil.isFilled(), inlineLabel: this.inlineLabel, chips: this.chips, placeholder: this.placeholder, choices: this.choices, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, onRemoveChip: option => this.valueUtil.removeOption(option) })), h(DropdownInput, { key: 'ea346543eb9cea2bb66d6a9c7005bbf53b722aaf', inputId: this.inputId, httpFormSubmit: this.httpFormSubmit, ariaForm: this.ariaForm, rawValue: this.rawValue, autocomplete: this.autocomplete, required: this.required, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, expanded: this.isExpanded, invalid: this.invalid, language: this.language, inputLabel: this.inputLabel, inheritedAttributes: this.inheritedAttributes, refInputEl: el => (this.nativeEl = el), onChange: ev => this.handleAutoFill(ev), onFocus: ev => this.eventsUtil.handleFocus(ev), onBlur: ev => this.eventsUtil.handleBlur(ev), onKeyDown: ev => this.handleKeyDown(ev) }), h(DropdownNativeSelect, { key: 'b97890097df0ee23ba9b87fff0da40fc2ebdf7c6', name: this.name, httpFormSubmit: this.httpFormSubmit, multiple: this.multiple, required: this.required, disabled: this.valueUtil.isDisabled(), rawValue: this.rawValue, refSelectEl: el => (this.selectEl = el) }), h(DropdownIcon, { key: 'ef7da17a95ef45376fd43f8d5208fecf2b2c4e4f', icon: this.icon, size: this.size, theme: this.theme, language: this.language, loading: this.loading, clearable: this.clearable, invalid: this.invalid, expanded: this.isExpanded, filled: isFilled, disabled: this.valueUtil.isDisabled() })), h(DropdownOptionList, { key: '9d7912639575048cecd19745c6d5a463499544ca', inputId: this.inputId, block: this.inputId, filter: this.filter, required: this.required, isExpanded: this.isExpanded, isDisabled: this.valueUtil.isDisabled(), hasPropOptions: this.optionUtil.hasPropOptions(), multiple: this.multiple, contentHeight: this.contentHeight, rawOptions: this.rawOptions, refPanelEl: el => (this.panelEl = el), refListEl: el => (this.listEl = el) }, h("slot", { key: '32b6a77941ec1b9eae24bd761244ecb726194aa5' }))));
359
+ .class(this.isExpanded && hasTheme)), "data-testid": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: 'a3499a9e2abcaa3b363385c475c3dcd91ed1a371', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').element('content').class()), block.element('root').element('content').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').element('content').modifier('placeholder').class(!this.valueUtil.isFilled())), block.element('root').element('content').modifier(size).class(hasSize)) }, h(DropdownValue, { key: '8ffc980c91386038c4ee9b9e6673a25a3609d674', filled: this.valueUtil.isFilled(), inlineLabel: this.inlineLabel, chips: this.chips, placeholder: this.placeholder, choices: this.choices, renderChip: option => {
360
+ return (h("bal-tag", { key: option.value, "data-testid": "bal-dropdown-chip", size: "small", invalid: this.invalid, disabled: this.disabled || this.readonly, closable: !(this.disabled || this.readonly), onBalCloseClick: () => this.valueUtil.removeOption(option) }, option.label));
361
+ } })), h(DropdownInput, { key: '9a97fc39a821d5dcca32eba522ae29e4aa6eedc0', inputId: this.inputId, httpFormSubmit: this.httpFormSubmit, ariaForm: this.ariaForm, rawValue: this.rawValue, autocomplete: this.autocomplete, required: this.required, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, expanded: this.isExpanded, invalid: this.invalid, language: this.language, inputLabel: this.inputLabel, inheritedAttributes: this.inheritedAttributes, refInputEl: el => (this.nativeEl = el), onChange: ev => this.handleAutoFill(ev), onFocus: ev => this.eventsUtil.handleFocus(ev), onBlur: ev => this.eventsUtil.handleBlur(ev), onKeyDown: ev => this.handleKeyDown(ev) }), h(DropdownNativeSelect, { key: '2a33a8ac7f336889197137fc741ed8a4a107fceb', name: this.name, httpFormSubmit: this.httpFormSubmit, multiple: this.multiple, required: this.required, disabled: this.valueUtil.isDisabled(), rawValue: this.rawValue, refSelectEl: el => (this.selectEl = el) }), h(DropdownIcon, { key: 'd0f6958fb47ad7f6d73d4f98482cb2102c344f20', icon: this.icon, size: this.size, theme: this.theme, language: this.language, loading: this.loading, clearable: this.clearable, invalid: this.invalid, expanded: this.isExpanded, filled: isFilled, disabled: this.valueUtil.isDisabled() })), h("div", { key: '29e98d1f54ffb6ee913bd682d6531d45997fc1d0', id: `${this.inputId}-menu`, class: Object.assign(Object.assign({}, block.element('list').class()), block.element('list').modifier('expanded').class(this.isExpanded)), ref: el => (this.panelEl = el) }, h("bal-option-list", { key: '4e6fa69f9d9859208f83dd7bc86c17fc75d5eb60', multiple: this.multiple, disabled: this.valueUtil.isDisabled(), filter: this.filter, required: this.required, contentHeight: this.contentHeight, ref: el => (this.listEl = el) }, h("slot", { key: '1c169dc692632671f62410b2dadcbbc10b0fe36a' }), this.optionUtil.hasPropOptions()
362
+ ? this.rawOptions.map(option => (h("bal-option", { key: option.value, value: option.value, label: option.label, disabled: option.disabled, multiline: option.multiline, invalid: option.invalid, hidden: option.hidden, selected: option.selected, focused: option.focused }, option.label)))
363
+ : ''))));
360
364
  }
361
365
  static get is() { return "bal-dropdown"; }
362
366
  static get originalStyleUrls() {
@@ -0,0 +1,85 @@
1
+ import { expect, screenshot, test, waitForChanges } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-dropdown';
3
+ const image = screenshot(TAG);
4
+ test.beforeEach('Setup', async ({ page }) => {
5
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
6
+ });
7
+ test('basic', async ({ page }) => {
8
+ const el = page.getByTestId('basic');
9
+ await expect(el).toHaveScreenshot(image('basic-before'));
10
+ const inputEl = page.locator('input[placeholder="visual-basic"]');
11
+ await inputEl.click();
12
+ await waitForChanges(page);
13
+ await expect(el).toHaveScreenshot(image('basic-open'));
14
+ const optionEl = el.getByRole('option', { name: '1992' });
15
+ await optionEl.click();
16
+ await waitForChanges(page);
17
+ await expect(el).toHaveScreenshot(image('basic-selected'));
18
+ });
19
+ test('long-content', async ({ page }) => {
20
+ const el = page.getByTestId('long-content');
21
+ await expect(el).toHaveScreenshot(image('long-content-before'));
22
+ const inputEl = page.locator('input[placeholder="visual-long-content"]');
23
+ await inputEl.click();
24
+ await waitForChanges(page);
25
+ await expect(page).toHaveScreenshot(image('long-content-open'));
26
+ });
27
+ test('multiple', async ({ page }) => {
28
+ const el = page.getByTestId('multiple');
29
+ await expect(el).toHaveScreenshot(image('multiple-before'));
30
+ const inputEl = page.locator('input[placeholder="visual-multiple"]');
31
+ await inputEl.click();
32
+ await waitForChanges(page);
33
+ await expect(page).toHaveScreenshot(image('multiple-open'));
34
+ const optionFirstEl = el.getByRole('option', { name: '1991' });
35
+ await optionFirstEl.click();
36
+ await waitForChanges(page);
37
+ const optionSecondEl = el.getByRole('option', { name: '1992' });
38
+ await optionSecondEl.click();
39
+ await waitForChanges(page);
40
+ await expect(el).toHaveScreenshot(image('multiple-selected'));
41
+ });
42
+ test('multiple-chips', async ({ page }) => {
43
+ const el = page.getByTestId('multiple-chips');
44
+ await expect(el).toHaveScreenshot(image('multiple-chips-before'));
45
+ const inputEl = page.locator('input[placeholder="visual-multiple-chips"]');
46
+ await inputEl.click({ force: true });
47
+ await waitForChanges(page);
48
+ await expect(page).toHaveScreenshot(image('multiple-chips-open'));
49
+ });
50
+ test('form-field', async ({ page }) => {
51
+ const el = page.getByTestId('form-field');
52
+ await expect(el).toHaveScreenshot(image('form-field-before'));
53
+ const inputEl = page.locator('input[placeholder="visual-form-field"]');
54
+ await inputEl.click();
55
+ await waitForChanges(page);
56
+ await expect(page).toHaveScreenshot(image('form-field-open'));
57
+ });
58
+ test('small-purple', async ({ page }) => {
59
+ const el = page.getByTestId('small-purple');
60
+ await expect(el).toHaveScreenshot(image('small-purple-before'));
61
+ });
62
+ test('clearable', async ({ page }) => {
63
+ const el = page.getByTestId('clearable');
64
+ await expect(el).toHaveScreenshot(image('clearable-before'));
65
+ const inputEl = page.locator('input[placeholder="visual-clearable"]');
66
+ await inputEl.click();
67
+ await waitForChanges(page);
68
+ await expect(page).toHaveScreenshot(image('clearable-open'));
69
+ const optionEl = el.getByRole('option', { name: '1988' });
70
+ await optionEl.click();
71
+ await waitForChanges(page);
72
+ await expect(el).toHaveScreenshot(image('clearable-selected'));
73
+ });
74
+ test('loading', async ({ page }) => {
75
+ const el = page.getByTestId('loading');
76
+ await expect(el).toHaveScreenshot(image('loading-before'));
77
+ });
78
+ test('invalid', async ({ page }) => {
79
+ const el = page.getByTestId('invalid');
80
+ await expect(el).toHaveScreenshot(image('invalid-before'));
81
+ });
82
+ test('disabled', async ({ page }) => {
83
+ const el = page.getByTestId('disabled');
84
+ await expect(el).toHaveScreenshot(image('disabled-before'));
85
+ });
@@ -33,14 +33,14 @@ export class FieldControl {
33
33
  return '';
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '4aecfd6cf7bc49df8feb26cd3161af9174097fcc', class: {
36
+ return (h(Host, { key: 'f2dbde868506b54d5b5e2fc14b5c29c417d42891', class: {
37
37
  'bal-field-control': true,
38
38
  'control': true,
39
39
  'has-icons-left': !!this.iconLeft,
40
40
  'has-icons-right': !!this.iconRight,
41
41
  'is-loading': this.loading,
42
42
  'bal-field-control--expanded-on-mobile': !!this.expandedOnMobile,
43
- } }, h("slot", { key: 'b1d4c61b4ba0cbd96c11d5540e12dafcc4b2518e' }), this.buildIconLeftTemplate, this.buildIconRightTemplate));
43
+ } }, h("slot", { key: '274cd16bccefc825d85e4b1222da7c523a1aa937' }), this.buildIconLeftTemplate, this.buildIconRightTemplate));
44
44
  }
45
45
  static get is() { return "bal-field-control"; }
46
46
  static get encapsulation() { return "scoped"; }
@@ -28,7 +28,7 @@ export class FieldHint {
28
28
  }
29
29
  render() {
30
30
  const block = BEM.block('field-hint');
31
- return (h(Host, { key: 'a5f895c418c0dfa249da93d3bc39f5563d31b547', class: Object.assign({}, block.class()) }, h("bal-hint", { key: '83d9c59c6fce044b361fbd471bf83780314c62e9', class: Object.assign({}, block.element('hint').class()), "data-testid": "bal-field-hint", closeLabel: this.closeLabel, small: this.small }, this.subject && !(this.hideTitleOnDesktop && this.isDesktop) ? (h("bal-hint-title", null, this.subject)) : (''), h("bal-hint-text", { key: '38b6ef5120c8b5adef31a05ad54f474ed55305f5' }, h("slot", { key: '040d24c305badac88e0bb64d21e513a067f6e177' })))));
31
+ return (h(Host, { key: '90dbf0da0a0c7ec498538721135e2fdefc4ac238', class: Object.assign({}, block.class()) }, h("bal-hint", { key: '1976d07de449aa8b2897a375f61953f0c705e4ae', class: Object.assign({}, block.element('hint').class()), "data-testid": "bal-field-hint", closeLabel: this.closeLabel, small: this.small }, this.subject && !(this.hideTitleOnDesktop && this.isDesktop) ? (h("bal-hint-title", null, this.subject)) : (''), h("bal-hint-text", { key: 'ae2b48186e4f4c1adbfe7b3ed57a798a55a4cad0' }, h("slot", { key: 'e4a33e9e14ab86a15e78321fbd9f7325e0420ec5' })))));
32
32
  }
33
33
  static get is() { return "bal-field-hint"; }
34
34
  static get encapsulation() { return "scoped"; }
@@ -64,7 +64,7 @@ export class FieldLabel {
64
64
  * ------------------------------------------------------
65
65
  */
66
66
  render() {
67
- return (h(Host, { key: '049f3e7c80126a7ffbc005e6c69a1bdc8203979b', class: "bal-field-label" }, h("bal-label", { key: '269ecb6de6a5daf2f4d4504b37f3980d05b1a121', multiline: true, size: this.size, htmlFor: this.htmlFor, required: this.required, valid: this.valid, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, weight: this.weight }, h("slot", { key: 'd832133cb85456ec6b7b1a999b5459044579e783' }))));
67
+ return (h(Host, { key: '6685a5711aba2152b975fe49fe114a9edb400679', class: "bal-field-label" }, h("bal-label", { key: 'f677ab02ba144832c6304dc99c3e2900079e38b7', multiline: true, size: this.size, htmlFor: this.htmlFor, required: this.required, valid: this.valid, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, weight: this.weight }, h("slot", { key: '687bfc73cab2cf7bef4e3e15b6a9090d5ba29d38' }))));
68
68
  }
69
69
  static get is() { return "bal-field-label"; }
70
70
  static get encapsulation() { return "scoped"; }
@@ -35,14 +35,14 @@ export class FieldMessage {
35
35
  this.ariaForm = Object.assign({}, ariaForm);
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'f0425dd945959866c1edbfe0affa56a5c325a014', id: this.ariaForm.messageId, class: {
38
+ return (h(Host, { key: '24a1ad8e6d848841fd1e83428aa14430ed6fe5fc', id: this.ariaForm.messageId, class: {
39
39
  'bal-field-message': true,
40
40
  'help': true,
41
41
  'is-danger': this.invalid,
42
42
  'is-success': this.valid,
43
43
  'is-disabled': this.disabled || this.readonly,
44
44
  [`is-${this.color}`]: !!this.color,
45
- }, style: { minHeight: this.noReservedSpace ? '0' : undefined } }, h("slot", { key: 'c693909e5e98a82db73d2884a4f804cf20e24ab3' })));
45
+ }, style: { minHeight: this.noReservedSpace ? '0' : undefined } }, h("slot", { key: '2cb9fb2480527f5b4ae63611f3a424fcc202bc36' })));
46
46
  }
47
47
  static get is() { return "bal-field-message"; }
48
48
  static get properties() {
@@ -188,12 +188,12 @@ export class Field {
188
188
  components.forEach(c => callback(c));
189
189
  }
190
190
  render() {
191
- return (h(Host, { key: 'ce893d29bd46dbe6b7646c28410a86b9171661b9', id: this.fieldId, class: {
191
+ return (h(Host, { key: 'ef05b294a516d40c5089d051feeb46715f581bc1', id: this.fieldId, class: {
192
192
  'bal-field': true,
193
193
  'field': true,
194
194
  'bal-field--invalid': this.invalid === true,
195
195
  'bal-field--horizontal': this.horizontal === true,
196
- } }, h("slot", { key: '9ed0398262848664e0b6e4491bb7c0af45da341d' }), h("span", { key: '6cddb052cb69b66ccb29f3c9e2f70723557da014', class: "bal-field-hidden" })));
196
+ } }, h("slot", { key: '5710d7fd141b21d699004d7982d5d5bb7238cd94' }), h("span", { key: 'e1b36343cdcb60960bcdac4d938c946f40041334', class: "bal-field-hidden" })));
197
197
  }
198
198
  static get is() { return "bal-field"; }
199
199
  static get originalStyleUrls() {
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-field';
3
+ const VARIANTS = ['horizontal', 'horizontal-long-label', 'horizontal-with-hint', 'horizontal-with-hint-hidden'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}-horizontal.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -0,0 +1,26 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-field';
3
+ const VARIANTS = [
4
+ 'basic',
5
+ 'disabled',
6
+ 'invalid',
7
+ 'readonly',
8
+ 'required',
9
+ 'valid',
10
+ 'label-long',
11
+ 'horizontal',
12
+ 'horizontal-long-label',
13
+ 'horizontal-with-hint-hidden',
14
+ 'horizontal-with-hint',
15
+ 'label-long-with-hint',
16
+ ];
17
+ const image = screenshot(TAG);
18
+ test.beforeEach('Setup', async ({ page }) => {
19
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
20
+ });
21
+ VARIANTS.forEach(variant => {
22
+ test(variant, async ({ page }) => {
23
+ const el = page.getByTestId(variant);
24
+ await expect(el).toHaveScreenshot(image(`${variant}`));
25
+ });
26
+ });
@@ -234,16 +234,16 @@ export class FileUpload {
234
234
  */
235
235
  render() {
236
236
  const id = this.ariaForm.controlId || this.fileUploadId;
237
- return (h(Host, { key: '438044d74c8a20cee269a65e7492a19c800c8f60', onClick: this.onHostClick, "aria-disabled": ariaBooleanToString(this.disabled), class: {
237
+ return (h(Host, { key: '05b754f351fce01410a7b962aac9df747a2199ff', onClick: this.onHostClick, "aria-disabled": ariaBooleanToString(this.disabled), class: {
238
238
  'bal-file-upload': true,
239
- } }, h("div", { key: 'ea6316e2f4765d3385c0fc38d1dd6e9b55d711d0', class: {
239
+ } }, h("div", { key: '9e2f871f72b1c666ed8d911e91cfedaf548c2519', class: {
240
240
  'file': true,
241
241
  'is-disabled': this.disabled || this.readonly || this.loading,
242
242
  'is-danger': this.invalid,
243
- } }, h("label", { key: 'a75f2f2f116c6c9f7672ddbbfe2d4636039d2c64', htmlFor: id, ref: el => (this.labelEl = el), class: {
243
+ } }, h("label", { key: '9976fcf5ba8dd68ff8d01bf0c963a0feee42fd21', htmlFor: id, ref: el => (this.labelEl = el), class: {
244
244
  'file-label': true,
245
245
  'is-disabled': this.disabled || this.loading || this.readonly,
246
- } }, h("input", { key: '2ab53c147961166e12b4cab0fa0e0862557a325f', class: "file-input", type: "file", id: id, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), name: this.name, multiple: this.multiple, disabled: this.disabled || this.loading || this.readonly, readonly: this.readonly, required: this.required, accept: this.accept, onClick: this.onInputClick, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, ref: el => (this.nativeInput = el), "data-testid": "bal-file-upload-input" }), this.loading ? (h("span", { class: "file-cta" }, h("bal-spinner", null))) : (h("span", { class: "file-cta" }, h("span", { class: "file-icon" }, h("bal-icon", { name: "upload", size: "medium", color: this.disabled || this.loading || this.readonly ? 'grey-light' : this.invalid ? 'danger' : 'blue' })), h("span", { class: "file-label", "data-testid": "bal-file-upload-label" }, this.label))))), this.hasFileList && this.files.length > 0 ? (h(FileListComponent, { files: this.files, disabled: this.disabled || this.readonly || this.loading, subTitle: this.subTitle, onRemoveFile: this.onRemoveFile })) : ('')));
246
+ } }, h("input", { key: '7596fa2c3174ac804b3b3b950c6e181a25080d80', class: "file-input", type: "file", id: id, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), name: this.name, multiple: this.multiple, disabled: this.disabled || this.loading || this.readonly, readonly: this.readonly, required: this.required, accept: this.accept, onClick: this.onInputClick, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, ref: el => (this.nativeInput = el), "data-testid": "bal-file-upload-input" }), this.loading ? (h("span", { class: "file-cta" }, h("bal-spinner", null))) : (h("span", { class: "file-cta" }, h("span", { class: "file-icon" }, h("bal-icon", { name: "upload", size: "medium", color: this.disabled || this.loading || this.readonly ? 'grey-light' : this.invalid ? 'danger' : 'blue' })), h("span", { class: "file-label", "data-testid": "bal-file-upload-label" }, this.label))))), this.hasFileList && this.files.length > 0 ? (h(FileListComponent, { files: this.files, disabled: this.disabled || this.readonly || this.loading, subTitle: this.subTitle, onRemoveFile: this.onRemoveFile })) : ('')));
247
247
  }
248
248
  static get is() { return "bal-file-upload"; }
249
249
  static get originalStyleUrls() {
@@ -0,0 +1,13 @@
1
+ import { expect, screenshot, test } from "../../../../../../playwright/src/index";
2
+ const TAG = 'bal-file-upload';
3
+ const VARIANTS = ['basic', 'disabled', 'invalid', 'readonly'];
4
+ const image = screenshot(TAG);
5
+ test.beforeEach('Setup', async ({ page }) => {
6
+ await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
7
+ });
8
+ VARIANTS.forEach(variant => {
9
+ test(variant, async ({ page }) => {
10
+ const el = page.getByTestId(variant);
11
+ await expect(el).toHaveScreenshot(image(`${variant}`));
12
+ });
13
+ });
@@ -120,14 +120,14 @@ export class Footer {
120
120
  const elWrapper = elLanguage.element('wrapper');
121
121
  const elLegalLinks = elLinksContainer.element('legal-links');
122
122
  const elSocialMediaLinks = elLinksContainer.element('social-media-links');
123
- return (h(Host, { key: '04ec38780841ea9902e3f465b8fd4e3561a9092e', class: Object.assign({}, block.class()) }, h("footer", { key: 'dc1fa3c156ad78d3d05d3f5d219c81801bca5044', class: Object.assign({}, elInner.class()) }, h("div", { key: 'e8f1144c09a1b52fb956bc03438671086e801895', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: 'b6d1e0c4deed43eec0e0889cc4011cc5465db527', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: '6102cc926e8542a0a2802b1fa8914b054a9391b4', class: Object.assign({}, elLogo.class()) }, this.logoHref ? (h("img", { src: this.logoHref, alt: "Logo" })) : this.logoSvgContent ? (h("div", { innerHTML: this.logoSvgContent })) : (h("bal-logo", { color: "white" }))), h("div", { key: '5cd3a29dd8d40a4704f85635e32bcca1d0af0546', class: Object.assign({}, elLanguage.class()), style: {
123
+ return (h(Host, { key: 'ca5dacc6c906754b6bb466c448be4f6bb5b38dff', class: Object.assign({}, block.class()) }, h("footer", { key: '8d42cfff788350c5e5ae26f86b613fcd5144085d', class: Object.assign({}, elInner.class()) }, h("div", { key: 'a60281af0dcf73da3901cb605b49d35b3bb3e6ed', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: '857d35746558b5b0a5ec79562b3f2c0e30037141', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: 'c1e5bae12ba5449888156244789fd79dbdc3a388', class: Object.assign({}, elLogo.class()) }, this.logoHref ? (h("img", { src: this.logoHref, alt: "Logo" })) : this.logoSvgContent ? (h("div", { innerHTML: this.logoSvgContent })) : (h("bal-logo", { color: "white" }))), h("div", { key: 'de3b93d01ad75facf4219df8954016095aa143ab', class: Object.assign({}, elLanguage.class()), style: {
124
124
  display: this.hideLanguageSelection || this.allowedLanguages.length <= 1 ? 'none' : 'flex',
125
- } }, h("div", { key: '023ba95e77cc80681af23b8a0ed50b49a94b81fd', class: Object.assign({}, elWrapper.class()) }, h("bal-icon", { key: '3c5ce093f139a07def8c73fdfbcf6060de8893b3', class: Object.assign({}, elWrapper.element('icon').class()), name: "web", color: "white" }), h("select", { key: '7cd8af0cb134b8b8a9733333df37a1c9f909e9fb', class: Object.assign({}, elWrapper.element('select').class()), onChange: event => this.changeLanguage(event.target.value), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("option", { key: language, value: language, selected: language === this.language }, language.toLocaleUpperCase() + ' - ' + i18nBalFooter[language].name))))))), h("div", { key: '017b017c8d5714e5b8568cf10e12a96a468b722e', class: Object.assign({}, elSlot.class()) }, h("slot", { key: 'e09a963ac71e749cecfe38751ae330759e626080' })), h("div", { key: '993161e25ae9c3fccc18fd7f2b032b74b3120106', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: 'eee88e5f349aebf4d16333462f7e18a029bfe82e', class: Object.assign({}, elSocialMediaLinks.class()), style: {
125
+ } }, h("div", { key: '7be8f0588d5da5e436b72214c67542316d325481', class: Object.assign({}, elWrapper.class()) }, h("bal-icon", { key: '935dfaa39b97f40cd946ce8c8a0a0f421b3876b6', class: Object.assign({}, elWrapper.element('icon').class()), name: "web", color: "white" }), h("select", { key: 'd8408623006a257fa422b0789bc1e021461f1b1e', class: Object.assign({}, elWrapper.element('select').class()), onChange: event => this.changeLanguage(event.target.value), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("option", { key: language, value: language, selected: language === this.language }, language.toLocaleUpperCase() + ' - ' + i18nBalFooter[language].name))))))), h("div", { key: '422e8cae4fd1cd625afb3cc81bc7c0cfac99fe65', class: Object.assign({}, elSlot.class()) }, h("slot", { key: 'b7c73e907ffbe0b64eb4608143774bcf7c56ff30' })), h("div", { key: '7bc64923fe79674a26e96f263785abf96dba1af6', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '5e5c86e58b3df89978657217ba145555786becfb', class: Object.assign({}, elSocialMediaLinks.class()), style: {
126
126
  display: !this.showSocialMedia ? 'none' : 'flex',
127
127
  } }, this.socialMediaLinks.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
128
128
  'link': true,
129
129
  'is-inverted': true,
130
- } }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: 'fdd8006cd0d1ec2f6e3fa6ee418705a7d607f9c8', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links &&
130
+ } }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '610e34f952fd08cba92099a213371e45c5f7ebc6', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links &&
131
131
  this.links.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
132
132
  'link': true,
133
133
  'is-light': true,