@baloise/ds-core 16.4.0 → 16.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/components/all.d.ts +4 -0
  2. package/components/all.js +6 -0
  3. package/components/bal-checkbox-group.js +8 -2
  4. package/components/bal-checkbox2.js +10 -3
  5. package/components/bal-content.js +1 -69
  6. package/{dist/esm/bal-content.entry.js → components/bal-content2.js} +31 -12
  7. package/components/bal-icon2.js +1 -1
  8. package/components/bal-label2.js +3 -2
  9. package/components/bal-progress-bar.js +23 -10
  10. package/components/bal-radio2.js +1 -1
  11. package/components/bal-segment-item.d.ts +11 -0
  12. package/components/bal-segment-item.js +203 -0
  13. package/components/bal-segment.d.ts +11 -0
  14. package/components/bal-segment.js +337 -0
  15. package/components/bal-stack2.js +1 -1
  16. package/components/breakpoints.subject.js +3 -3
  17. package/components/index.esm.js +25 -1
  18. package/components/index.js +1 -1
  19. package/components/tokens.esm.js +1 -1
  20. package/components/window-resize.decorator.js +46 -0
  21. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  22. package/dist/baloise-design-system/index.esm.js +1 -1
  23. package/dist/baloise-design-system/{p-e60c936359.system.entry.js → p-0530e008e9.system.entry.js} +1 -1
  24. package/dist/baloise-design-system/p-09ea5913.js +1 -0
  25. package/dist/baloise-design-system/p-0fb6cbda.system.js +1 -0
  26. package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
  27. package/dist/baloise-design-system/{p-b487614e8b.entry.js → p-190b5cd469.entry.js} +1 -1
  28. package/dist/baloise-design-system/{p-e18ec1401d.system.entry.js → p-23b7426d09.system.entry.js} +1 -1
  29. package/dist/baloise-design-system/p-265f9d51c9.system.entry.js +1 -0
  30. package/dist/baloise-design-system/{p-51c0348938.entry.js → p-2905abdfb8.entry.js} +1 -1
  31. package/dist/baloise-design-system/p-29ba4f9afe.system.entry.js +1 -0
  32. package/dist/baloise-design-system/{p-b069b55a8d.entry.js → p-2cd1f1dedb.entry.js} +1 -1
  33. package/dist/baloise-design-system/{p-f6599f64b7.entry.js → p-2db4ff4c5b.entry.js} +1 -1
  34. package/dist/baloise-design-system/{p-0295f5df96.entry.js → p-305cffd8aa.entry.js} +1 -1
  35. package/dist/baloise-design-system/{p-39bc49bc3d.entry.js → p-33028eda8b.entry.js} +1 -1
  36. package/dist/baloise-design-system/{p-c0f4b35c8c.system.entry.js → p-370575b8cb.system.entry.js} +1 -1
  37. package/dist/baloise-design-system/{p-95c6192efb.system.entry.js → p-372474e989.system.entry.js} +1 -1
  38. package/dist/baloise-design-system/{p-6d9afce4c2.entry.js → p-3801afd625.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-380aabd5bc.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-330b875d9d.system.entry.js → p-3818fa189f.system.entry.js} +1 -1
  41. package/dist/baloise-design-system/{p-68eead378f.entry.js → p-39bf8adcde.entry.js} +1 -1
  42. package/dist/baloise-design-system/p-3befc6f9.system.js +1 -0
  43. package/dist/baloise-design-system/{p-167594de04.entry.js → p-3c25811c44.entry.js} +1 -1
  44. package/dist/baloise-design-system/p-3eb68d7e.js +1 -0
  45. package/dist/baloise-design-system/{p-8754258843.entry.js → p-407ffd9c55.entry.js} +1 -1
  46. package/dist/baloise-design-system/p-445d2e1c70.system.entry.js +1 -0
  47. package/dist/baloise-design-system/{p-4afba8511a.system.entry.js → p-47a8ad4d7a.system.entry.js} +1 -1
  48. package/dist/baloise-design-system/{p-83ff83d0.system.js → p-4809d5c4.system.js} +1 -1
  49. package/dist/baloise-design-system/{p-19542d9bfc.system.entry.js → p-487816db33.system.entry.js} +1 -1
  50. package/dist/baloise-design-system/{p-976ed5bcf1.entry.js → p-488c4a8ce1.entry.js} +1 -1
  51. package/dist/baloise-design-system/{p-aee4ebe860.system.entry.js → p-4fe64c3ec6.system.entry.js} +1 -1
  52. package/dist/baloise-design-system/p-53e98a0f71.entry.js +1 -0
  53. package/dist/baloise-design-system/{p-cef24f8c62.entry.js → p-547aae9610.entry.js} +1 -1
  54. package/dist/baloise-design-system/p-54f81c32.js +1 -1
  55. package/dist/baloise-design-system/{p-6f4a362824.system.entry.js → p-5db0544e97.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/{p-67e6932c19.entry.js → p-5fae3f5478.entry.js} +1 -1
  57. package/dist/baloise-design-system/{p-22b041a511.entry.js → p-6c2bf02eb3.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-a7c3119418.system.entry.js → p-6e3a79cce0.system.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-71588db3.system.js +1 -0
  60. package/dist/baloise-design-system/{p-b779742f50.entry.js → p-77350b27fc.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-b33c021c08.entry.js → p-7c586fb89f.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-ba14aa7026.system.entry.js → p-8080a1192c.system.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-685405e0.system.js → p-88eb14fd.system.js} +1 -1
  64. package/dist/baloise-design-system/p-8de1a12660.entry.js +1 -0
  65. package/dist/baloise-design-system/{p-8870e1f3e0.system.entry.js → p-8e17b76e7c.system.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-b97d9336a7.system.entry.js → p-9bb8778cdc.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/{p-8b6aca042a.system.entry.js → p-9f54cac588.system.entry.js} +1 -1
  68. package/dist/baloise-design-system/p-a507ff25cb.system.entry.js +1 -0
  69. package/dist/baloise-design-system/{p-ad00d94e7f.entry.js → p-a5ee486a2b.entry.js} +1 -1
  70. package/dist/baloise-design-system/p-a78d1ca569.system.entry.js +1 -0
  71. package/dist/baloise-design-system/p-b0c22ff9d1.entry.js +1 -0
  72. package/dist/baloise-design-system/{p-982fa892e8.system.entry.js → p-b8251b8f68.system.entry.js} +1 -1
  73. package/dist/baloise-design-system/p-b87c29c80b.entry.js +1 -0
  74. package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -1
  75. package/dist/baloise-design-system/{p-098f268743.entry.js → p-bee13e834e.entry.js} +1 -1
  76. package/dist/baloise-design-system/p-c1c17f8edc.system.entry.js +1 -0
  77. package/dist/baloise-design-system/{p-3f1c49d0.js → p-caec1f9e.js} +1 -1
  78. package/dist/baloise-design-system/{p-45e0c0783b.entry.js → p-cafe624e35.entry.js} +1 -1
  79. package/dist/baloise-design-system/{p-2f4c6257f4.entry.js → p-cda868a6a5.entry.js} +1 -1
  80. package/dist/baloise-design-system/p-ced37553e2.entry.js +1 -0
  81. package/dist/baloise-design-system/{p-a52564d27f.system.entry.js → p-d059465399.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-44d845a857.system.entry.js → p-d3fabdb142.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-b397abec9a.system.entry.js → p-d7d6937d59.system.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-c92eb37957.system.entry.js → p-df40272425.system.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-e9c3c1c4cc.entry.js → p-e0384bfc0c.entry.js} +1 -1
  86. package/dist/baloise-design-system/{p-b0f4388e4c.system.entry.js → p-e137e273b7.system.entry.js} +1 -1
  87. package/dist/baloise-design-system/{p-55faac1d.system.js → p-e187b9de.system.js} +1 -1
  88. package/dist/baloise-design-system/{p-86b8ffa1ab.system.entry.js → p-e1ccb7023c.system.entry.js} +1 -1
  89. package/dist/baloise-design-system/p-e75ccb92.js +1 -0
  90. package/dist/baloise-design-system/{p-9e167705ca.entry.js → p-ecab0d67d5.entry.js} +1 -1
  91. package/dist/baloise-design-system/p-ef916aafa5.entry.js +1 -0
  92. package/dist/baloise-design-system/{p-544a0af68d.system.entry.js → p-f03e63bd1e.system.entry.js} +1 -1
  93. package/dist/baloise-design-system/{p-94efe2aa.js → p-f5940253.js} +1 -1
  94. package/dist/baloise-design-system/{p-3e8b5dec38.system.entry.js → p-f62d0ccdd1.system.entry.js} +1 -1
  95. package/dist/baloise-design-system/{p-e066dc532d.entry.js → p-f819d47031.entry.js} +1 -1
  96. package/dist/baloise-design-system/{p-d66c8f0da9.system.entry.js → p-fb0af77320.system.entry.js} +1 -1
  97. package/dist/cjs/bal-accordion_4.cjs.entry.js +1 -1
  98. package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
  99. package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -3
  100. package/dist/cjs/{bal-label.cjs.entry.js → bal-content_2.cjs.entry.js} +48 -2
  101. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
  102. package/dist/cjs/bal-date.cjs.entry.js +2 -2
  103. package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
  104. package/dist/cjs/bal-dropdown.cjs.entry.js +1 -1
  105. package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
  106. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  107. package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
  108. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  109. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  110. package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
  111. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  112. package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
  113. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  114. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  115. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  116. package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
  117. package/dist/cjs/bal-popup.cjs.entry.js +1 -1
  118. package/dist/cjs/bal-progress-bar.cjs.entry.js +27 -15
  119. package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
  120. package/dist/cjs/bal-segment-item.cjs.entry.js +156 -0
  121. package/dist/cjs/bal-segment.cjs.entry.js +319 -0
  122. package/dist/cjs/bal-select_2.cjs.entry.js +1 -1
  123. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  124. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  125. package/dist/cjs/bal-steps.cjs.entry.js +4 -4
  126. package/dist/cjs/bal-tab-item_2.cjs.entry.js +4 -4
  127. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  128. package/dist/cjs/{breakpoints.decorator-e278a735.js → breakpoints.decorator-a4a5bd7a.js} +1 -1
  129. package/dist/cjs/{breakpoints.subject-0802767f.js → breakpoints.subject-fbf85930.js} +4 -4
  130. package/dist/cjs/{date-3e33b208.js → date-20be7524.js} +1 -1
  131. package/dist/cjs/index.cjs.js +4 -4
  132. package/dist/cjs/{index.esm-4587dbf0.js → index.esm-54a3d84e.js} +28 -0
  133. package/dist/cjs/initialize-2a19d091.js +1 -1
  134. package/dist/cjs/loader.cjs.js +1 -1
  135. package/dist/cjs/{tokens.esm-be397f27.js → tokens.esm-aa4bb7f7.js} +1 -1
  136. package/dist/cjs/window-resize.decorator-c7a521b0.js +48 -0
  137. package/dist/collection/collection-manifest.json +2 -0
  138. package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
  139. package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
  140. package/dist/collection/components/bal-content/bal-content.css +1 -1
  141. package/dist/collection/components/bal-content/bal-content.js +1 -1
  142. package/dist/collection/components/bal-icon/bal-icon.css +1 -1
  143. package/dist/collection/components/bal-label/bal-label.js +20 -2
  144. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +23 -10
  145. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +1 -0
  146. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +332 -0
  147. package/dist/collection/components/bal-segment/bal-segment.css +1 -0
  148. package/dist/collection/components/bal-segment/bal-segment.interfaces.js +4 -0
  149. package/dist/collection/components/bal-segment/bal-segment.js +537 -0
  150. package/dist/collection/components/bal-segment/bal-segment.types.js +1 -0
  151. package/dist/collection/components/bal-stack/bal-stack.css +1 -1
  152. package/dist/collection/utils/constants/version.constant.js +1 -1
  153. package/dist/collection/utils/resize/index.js +4 -1
  154. package/dist/collection/utils/resize/window-resize.decorator.js +20 -0
  155. package/dist/collection/utils/resize/window-resize.interfaces.js +1 -0
  156. package/dist/collection/utils/resize/window-resize.listener.js +3 -3
  157. package/dist/collection/utils/resize/window-resize.subject.js +23 -0
  158. package/dist/esm/bal-accordion_4.entry.js +1 -1
  159. package/dist/esm/bal-carousel_2.entry.js +3 -3
  160. package/dist/esm/bal-checkbox_2.entry.js +4 -3
  161. package/dist/esm/{bal-label.entry.js → bal-content_2.entry.js} +48 -3
  162. package/dist/esm/bal-date-calendar_2.entry.js +2 -2
  163. package/dist/esm/bal-date.entry.js +2 -2
  164. package/dist/esm/bal-datepicker.entry.js +4 -4
  165. package/dist/esm/bal-dropdown.entry.js +1 -1
  166. package/dist/esm/bal-file-upload.entry.js +1 -1
  167. package/dist/esm/bal-footer.entry.js +1 -1
  168. package/dist/esm/bal-hint_3.entry.js +3 -3
  169. package/dist/esm/bal-icon.entry.js +1 -1
  170. package/dist/esm/bal-input-stepper.entry.js +1 -1
  171. package/dist/esm/bal-list_8.entry.js +4 -4
  172. package/dist/esm/bal-logo.entry.js +3 -3
  173. package/dist/esm/bal-nav_8.entry.js +3 -3
  174. package/dist/esm/bal-navbar_5.entry.js +3 -3
  175. package/dist/esm/bal-number-input.entry.js +1 -1
  176. package/dist/esm/bal-pagination.entry.js +3 -3
  177. package/dist/esm/bal-popover_2.entry.js +3 -3
  178. package/dist/esm/bal-popup.entry.js +1 -1
  179. package/dist/esm/bal-progress-bar.entry.js +27 -15
  180. package/dist/esm/bal-radio_2.entry.js +2 -2
  181. package/dist/esm/bal-segment-item.entry.js +152 -0
  182. package/dist/esm/bal-segment.entry.js +315 -0
  183. package/dist/esm/bal-select_2.entry.js +1 -1
  184. package/dist/esm/bal-shape.entry.js +1 -1
  185. package/dist/esm/bal-stack.entry.js +1 -1
  186. package/dist/esm/bal-steps.entry.js +4 -4
  187. package/dist/esm/bal-tab-item_2.entry.js +4 -4
  188. package/dist/esm/baloise-design-system.js +1 -1
  189. package/dist/esm/{breakpoints.decorator-d0f1affe.js → breakpoints.decorator-f2ac9963.js} +1 -1
  190. package/dist/esm/{breakpoints.subject-f57eda2c.js → breakpoints.subject-3605e395.js} +4 -4
  191. package/dist/esm/{date-38a0b208.js → date-aba2d404.js} +1 -1
  192. package/dist/esm/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +25 -1
  193. package/dist/esm/index.js +5 -5
  194. package/dist/esm/initialize-e216cfe4.js +1 -1
  195. package/dist/esm/loader.js +1 -1
  196. package/dist/esm/{tokens.esm-70c16b84.js → tokens.esm-337782ae.js} +1 -1
  197. package/dist/esm/window-resize.decorator-d5198831.js +46 -0
  198. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  199. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  200. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  201. package/dist/esm-es5/bal-content_2.entry.js +1 -0
  202. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  203. package/dist/esm-es5/bal-date.entry.js +1 -1
  204. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  205. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  206. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  207. package/dist/esm-es5/bal-footer.entry.js +1 -1
  208. package/dist/esm-es5/bal-hint_3.entry.js +1 -1
  209. package/dist/esm-es5/bal-icon.entry.js +1 -1
  210. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  211. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  212. package/dist/esm-es5/bal-logo.entry.js +1 -1
  213. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  214. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  215. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  216. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  217. package/dist/esm-es5/bal-popover_2.entry.js +1 -1
  218. package/dist/esm-es5/bal-popup.entry.js +1 -1
  219. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  220. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  221. package/dist/esm-es5/bal-segment-item.entry.js +1 -0
  222. package/dist/esm-es5/bal-segment.entry.js +1 -0
  223. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  224. package/dist/esm-es5/bal-shape.entry.js +1 -1
  225. package/dist/esm-es5/bal-stack.entry.js +1 -1
  226. package/dist/esm-es5/bal-steps.entry.js +1 -1
  227. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  228. package/dist/esm-es5/baloise-design-system.js +1 -1
  229. package/dist/esm-es5/{breakpoints.decorator-d0f1affe.js → breakpoints.decorator-f2ac9963.js} +1 -1
  230. package/dist/esm-es5/breakpoints.subject-3605e395.js +1 -0
  231. package/dist/esm-es5/{date-38a0b208.js → date-aba2d404.js} +1 -1
  232. package/dist/esm-es5/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +1 -1
  233. package/dist/esm-es5/index.js +1 -1
  234. package/dist/esm-es5/initialize-e216cfe4.js +1 -1
  235. package/dist/esm-es5/loader.js +1 -1
  236. package/dist/esm-es5/window-resize.decorator-d5198831.js +1 -0
  237. package/dist/html.html-data.json +80 -0
  238. package/dist/types/components/bal-content/bal-content.interfaces.d.ts +1 -1
  239. package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +1 -1
  240. package/dist/types/components/bal-label/bal-label.d.ts +4 -1
  241. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +3 -1
  242. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +62 -0
  243. package/dist/types/components/bal-segment/bal-segment.d.ts +111 -0
  244. package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +20 -0
  245. package/dist/types/components/bal-segment/bal-segment.types.d.ts +1 -0
  246. package/dist/types/components.d.ts +164 -0
  247. package/dist/types/interfaces.d.ts +1 -0
  248. package/dist/types/utils/resize/index.d.ts +4 -1
  249. package/dist/types/utils/resize/window-resize.decorator.d.ts +3 -0
  250. package/dist/types/utils/resize/window-resize.interfaces.d.ts +5 -0
  251. package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
  252. package/dist/types/utils/resize/window-resize.subject.d.ts +9 -0
  253. package/package.json +8 -8
  254. package/dist/baloise-design-system/p-0d69371467.entry.js +0 -1
  255. package/dist/baloise-design-system/p-126c79c9e9.system.entry.js +0 -1
  256. package/dist/baloise-design-system/p-2d8bd11634.entry.js +0 -1
  257. package/dist/baloise-design-system/p-77ccb1f4.system.js +0 -1
  258. package/dist/baloise-design-system/p-88493e9537.system.entry.js +0 -1
  259. package/dist/baloise-design-system/p-886bedebf9.entry.js +0 -1
  260. package/dist/baloise-design-system/p-8a87b9a8.system.js +0 -1
  261. package/dist/baloise-design-system/p-c69783ee18.entry.js +0 -1
  262. package/dist/baloise-design-system/p-d585a3ad56.system.entry.js +0 -1
  263. package/dist/baloise-design-system/p-e71a27141c.entry.js +0 -1
  264. package/dist/baloise-design-system/p-e851f284.js +0 -1
  265. package/dist/baloise-design-system/p-e93d9571f5.system.entry.js +0 -1
  266. package/dist/baloise-design-system/p-ecd39e3bec.entry.js +0 -1
  267. package/dist/baloise-design-system/p-f076d1ed4f.system.entry.js +0 -1
  268. package/dist/baloise-design-system/p-f7091a61.js +0 -1
  269. package/dist/cjs/bal-content.cjs.entry.js +0 -56
  270. package/dist/esm-es5/bal-content.entry.js +0 -1
  271. package/dist/esm-es5/bal-label.entry.js +0 -1
  272. package/dist/esm-es5/breakpoints.subject-f57eda2c.js +0 -1
  273. /package/dist/baloise-design-system/{p-83486137.system.js → p-36074466.system.js} +0 -0
  274. /package/dist/baloise-design-system/{p-ec4875a2.js → p-e1994e2c.js} +0 -0
  275. /package/dist/esm-es5/{tokens.esm-70c16b84.js → tokens.esm-337782ae.js} +0 -0
@@ -0,0 +1,337 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
2
+ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
+ import { B as BEM } from './bem.js';
4
+ import { L as Logger } from './log.js';
5
+ import { a as isSpaceKey, q as isArrowUpKey, A as isArrowLeftKey, o as isArrowDownKey, B as isArrowRightKey, C as isHomeKey, D as isEndKey } from './index.esm.js';
6
+ import { s as stopEventBubbling } from './form-input.js';
7
+ import { F as FOCUS_KEYS } from './focus-visible.js';
8
+ import { l as raf } from './helpers.js';
9
+ import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
10
+ import { L as ListenToWindowResize } from './window-resize.decorator.js';
11
+
12
+ const balSegmentCss = ":root{--bal-segment-background:var(--bal-color-grey-2);--bal-segment-background-invalid:var(--bal-color-danger-1);--bal-segment-item-focus-border:var(--bal-color-border-primary);--bal-segment-item-text-color:var(--bal-color-text-primary);--bal-segment-item-text-color-checked:var(--bal-color-text-primary);--bal-segment-item-text-color-checked-hovered:var(--bal-color-text-primary-hovered);--bal-segment-item-text-color-checked-pressed:var(--bal-color-text-primary-pressed);--bal-segment-item-text-color-invalid:var(--bal-color-text-danger);--bal-segment-item-text-color-invalid-hovered:var(--bal-color-text-danger-hovered);--bal-segment-item-text-color-invalid-pressed:var(--bal-color-text-danger-pressed);--bal-segment-item-text-color-disabled:var(--bal-color-text-grey);--bal-segment-item-text-color-disabled-checked:var(--bal-color-text-grey-dark);--bal-segment-item-divider-background:var(--bal-color-grey);--bal-segment-item-divider-background-invalid:var(--bal-color-danger-2);--bal-segment-item-indicator-background:var(--bal-color-purple-2);--bal-segment-item-indicator-background-invalid:var(--bal-color-danger-4);--bal-segment-item-indicator-background-disabled:var(--bal-color-grey-3)}.bal-segment{display:-ms-flexbox;display:flex;background:var(--bal-segment-background);border-radius:var(--bal-radius-normal);gap:.125rem;gap:.125rem;padding:.25rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-segment--invalid{background:var(--bal-segment-background-invalid)}.bal-segment--vertical{-ms-flex-direction:column;flex-direction:column;width:100%}.bal-segment--vertical .bal-segment-item__button{width:100%;-ms-flex:1;flex:1}.bal-segment--vertical.bal-segment--scrollable{overflow:auto;max-height:240px}.bal-segment--expanded{width:100%;min-width:100%;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.bal-segment--expanded .bal-segment-item,.bal-segment--expanded .bal-segment-item>button{-ms-flex:1;flex:1;width:100%}.bal-segment--expanded .bal-segment-item .bal-content,.bal-segment--expanded .bal-segment-item>button .bal-content{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
13
+ const BalSegmentStyle0 = balSegmentCss;
14
+
15
+ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends HTMLElement {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.balBlur = createEvent(this, "balBlur", 7);
20
+ this.balChange = createEvent(this, "balChange", 7);
21
+ this.balSelect = createEvent(this, "balSelect", 7);
22
+ this.balVertical = createEvent(this, "balVertical", 7);
23
+ this.getSegmentItem = (selector) => {
24
+ var _a, _b;
25
+ const items = this.items.filter(item => !item.disabled);
26
+ const currIndex = items.findIndex(item => item === document.activeElement.closest('bal-segment-item'));
27
+ switch (selector) {
28
+ case 'current':
29
+ return items[currIndex];
30
+ case 'first':
31
+ return items[0];
32
+ case 'last':
33
+ return items[items.length - 1];
34
+ case 'next':
35
+ return (_a = items[currIndex + 1]) !== null && _a !== void 0 ? _a : items[0];
36
+ case 'previous':
37
+ return (_b = items[currIndex - 1]) !== null && _b !== void 0 ? _b : items[items.length - 1];
38
+ default:
39
+ return null;
40
+ }
41
+ };
42
+ /**
43
+ * PRIVATE EVENT HANDLERS
44
+ * ------------------------------------------------------
45
+ */
46
+ this.onPointerDown = () => {
47
+ this.keyboardMode = false;
48
+ };
49
+ this.onSlottedItemsChange = () => {
50
+ /**
51
+ * When the slotted segment buttons change we need to
52
+ * ensure that the new segment buttons are checked if
53
+ * the value matches the segment button value.
54
+ */
55
+ this.valueChanged(this.value);
56
+ this.defineWidth();
57
+ };
58
+ this.onClick = (ev) => {
59
+ if (this.disabled) {
60
+ return;
61
+ }
62
+ const current = ev.target;
63
+ const previous = this.checked;
64
+ // If the current element is a segment then that means
65
+ // the user tried to swipe to a segment button and
66
+ // click a segment button at the same time so we should
67
+ // not update the checked segment button
68
+ if (current.tagName === 'BAL-SEGMENT') {
69
+ return;
70
+ }
71
+ if (current && current.setFocus) {
72
+ current.setFocus();
73
+ }
74
+ if (previous) {
75
+ this.checkButton(previous, current);
76
+ }
77
+ else {
78
+ this.setCheckedClasses();
79
+ this.checkButton(current, current);
80
+ }
81
+ if (current !== previous) {
82
+ this.emitValueChange();
83
+ }
84
+ };
85
+ this.focusedValue = undefined;
86
+ this.keyboardMode = true;
87
+ this.isVertical = false;
88
+ this.isMobile = false;
89
+ this.maxWidth = 0;
90
+ this.invalid = false;
91
+ this.disabled = false;
92
+ this.vertical = false;
93
+ this.scrollable = false;
94
+ this.expanded = false;
95
+ this.value = undefined;
96
+ }
97
+ createLogger(log) {
98
+ this.log = log;
99
+ }
100
+ valueChanged(value) {
101
+ /**
102
+ * `balSelect` is emitted every time the value changes (internal or external changes).
103
+ * Used by `bal-segment-item` to determine if the button should be checked.
104
+ */
105
+ this.balSelect.emit(value);
106
+ }
107
+ /**
108
+ * LIFECYCLE
109
+ * ------------------------------------------------------
110
+ */
111
+ connectedCallback() {
112
+ this.el.addEventListener('touchstart', this.onPointerDown);
113
+ this.el.addEventListener('mousedown', this.onPointerDown);
114
+ }
115
+ disconnectedCallback() {
116
+ this.el.removeEventListener('touchstart', this.onPointerDown);
117
+ this.el.removeEventListener('mousedown', this.onPointerDown);
118
+ }
119
+ async componentDidLoad() {
120
+ this.setCheckedClasses();
121
+ this.defineWidth();
122
+ }
123
+ /**
124
+ * LISTENERS
125
+ * ------------------------------------------------------
126
+ */
127
+ breakpointListener(breakpoints) {
128
+ this.isMobile = breakpoints.mobile;
129
+ }
130
+ windowResizeListener() {
131
+ if (this.vertical === false && this.maxWidth > 0) {
132
+ const parent = this.el.parentElement.getBoundingClientRect();
133
+ if (parent.width < this.maxWidth) {
134
+ //
135
+ // element in horizontal is to big
136
+ this.emitVerticalChange(true);
137
+ }
138
+ else {
139
+ //
140
+ // element has enough space in parent element
141
+ this.emitVerticalChange(false);
142
+ }
143
+ }
144
+ else {
145
+ this.emitVerticalChange(true);
146
+ }
147
+ }
148
+ listenOnBalBlur(ev) {
149
+ stopEventBubbling(ev);
150
+ this.balBlur.emit(ev.detail);
151
+ }
152
+ listenOnKeyDown(ev) {
153
+ this.keyboardMode = FOCUS_KEYS.includes(ev.key);
154
+ let current;
155
+ if (isSpaceKey(ev)) {
156
+ stopEventBubbling(ev);
157
+ current = this.getSegmentItem('current');
158
+ }
159
+ else if (isArrowUpKey(ev) || isArrowLeftKey(ev)) {
160
+ stopEventBubbling(ev);
161
+ current = this.getSegmentItem('previous');
162
+ }
163
+ else if (isArrowDownKey(ev) || isArrowRightKey(ev)) {
164
+ stopEventBubbling(ev);
165
+ current = this.getSegmentItem('next');
166
+ }
167
+ else if (isHomeKey(ev)) {
168
+ stopEventBubbling(ev);
169
+ current = this.getSegmentItem('first');
170
+ }
171
+ else if (isEndKey(ev)) {
172
+ stopEventBubbling(ev);
173
+ current = this.getSegmentItem('last');
174
+ }
175
+ if (!current) {
176
+ return;
177
+ }
178
+ const previous = this.checked;
179
+ if (current !== previous) {
180
+ this.checkButton(previous, current);
181
+ this.emitValueChange();
182
+ }
183
+ if (current) {
184
+ current.setFocus();
185
+ }
186
+ }
187
+ /**
188
+ * GETTERS
189
+ * ------------------------------------------------------
190
+ */
191
+ get items() {
192
+ return Array.from(this.el.querySelectorAll('bal-segment-item'));
193
+ }
194
+ get checked() {
195
+ return this.items.find(item => item.value === this.value);
196
+ }
197
+ /**
198
+ * PRIVATE METHODS
199
+ * ------------------------------------------------------
200
+ */
201
+ emitValueChange() {
202
+ this.balChange.emit(this.value);
203
+ }
204
+ emitVerticalChange(isVertical) {
205
+ if (this.isVertical !== isVertical) {
206
+ this.isVertical = isVertical;
207
+ this.balVertical.emit(this.isVertical);
208
+ }
209
+ }
210
+ defineWidth() {
211
+ raf(() => {
212
+ if (this.isVertical === false) {
213
+ const childRect = this.el.getBoundingClientRect();
214
+ this.maxWidth = childRect.width;
215
+ }
216
+ this.windowResizeListener();
217
+ });
218
+ }
219
+ getIndicator(item) {
220
+ const root = item.shadowRoot || item;
221
+ return root.querySelector('.bal-segment-item__indicator');
222
+ }
223
+ checkButton(previous, current) {
224
+ const previousIndicator = this.getIndicator(previous);
225
+ const currentIndicator = this.getIndicator(current);
226
+ if (previousIndicator === null || currentIndicator === null) {
227
+ return;
228
+ }
229
+ const previousClientRect = previousIndicator.getBoundingClientRect();
230
+ const currentClientRect = currentIndicator.getBoundingClientRect();
231
+ const widthDelta = previousClientRect.width / currentClientRect.width;
232
+ const xPosition = previousClientRect.left - currentClientRect.left;
233
+ // Scale the indicator width to match the previous indicator width
234
+ // and translate it on top of the previous indicator
235
+ let transform = `translate3d(${xPosition}px, 0, 0) scaleX(${widthDelta})`;
236
+ if (this.isVertical) {
237
+ const heightDelta = previousClientRect.height / currentClientRect.height;
238
+ const yPosition = previousClientRect.top - currentClientRect.top;
239
+ // Scale the indicator width to match the previous indicator width
240
+ // and translate it on top of the previous indicator
241
+ transform = `translate3d(0, ${yPosition}px, 0) scaleY(${heightDelta})`;
242
+ }
243
+ writeTask(() => {
244
+ // Remove the transition before positioning on top of the previous indicator
245
+ currentIndicator.classList.remove('bal-segment-item__indicator--animated');
246
+ currentIndicator.style.setProperty('transform', transform);
247
+ // Force a repaint to ensure the transform happens
248
+ currentIndicator.getBoundingClientRect();
249
+ // Add the transition to move the indicator into place
250
+ currentIndicator.classList.add('bal-segment-item__indicator--animated');
251
+ // Remove the transform to slide the indicator back to the button clicked
252
+ currentIndicator.style.setProperty('transform', '');
253
+ });
254
+ this.value = current.value;
255
+ this.setCheckedClasses();
256
+ }
257
+ setCheckedClasses() {
258
+ const items = this.items;
259
+ const index = items.findIndex(item => item.value === this.value);
260
+ const next = index + 1;
261
+ const previous = index - 1;
262
+ for (const item of items) {
263
+ item.classList.remove('bal-segment-item--after-checked');
264
+ item.classList.remove('bal-segment-item--before-checked');
265
+ }
266
+ if (next < items.length) {
267
+ items[next].classList.add('bal-segment-item--after-checked');
268
+ }
269
+ if (previous < items.length && previous >= 0) {
270
+ items[previous].classList.add('bal-segment-item--before-checked');
271
+ }
272
+ }
273
+ /**
274
+ * RENDER
275
+ * ------------------------------------------------------
276
+ */
277
+ render() {
278
+ const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile } = this;
279
+ const block = BEM.block('segment');
280
+ return (h(Host, { role: "radiogroup", class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('invalid').class(invalid)), block.modifier('vertical').class(isVertical)), block.modifier('scrollable').class(scrollable)), block.modifier('keyboard').class(keyboardMode)), block.modifier('expanded').class((expanded || isMobile) && !isVertical)), onClick: this.onClick }, h("slot", { onSlotchange: this.onSlottedItemsChange })));
281
+ }
282
+ get el() { return this; }
283
+ static get watchers() { return {
284
+ "value": ["valueChanged"]
285
+ }; }
286
+ static get style() { return BalSegmentStyle0; }
287
+ }, [4, "bal-segment", {
288
+ "invalid": [4],
289
+ "disabled": [4],
290
+ "vertical": [4],
291
+ "scrollable": [4],
292
+ "expanded": [4],
293
+ "value": [1032],
294
+ "focusedValue": [32],
295
+ "keyboardMode": [32],
296
+ "isVertical": [32],
297
+ "isMobile": [32],
298
+ "maxWidth": [32]
299
+ }, [[0, "balBlur", "listenOnBalBlur"], [0, "keydown", "listenOnKeyDown"]], {
300
+ "value": ["valueChanged"]
301
+ }]);
302
+ __decorate([
303
+ Logger('bal-segment'),
304
+ __metadata("design:type", Function),
305
+ __metadata("design:paramtypes", [Function]),
306
+ __metadata("design:returntype", void 0)
307
+ ], Segment.prototype, "createLogger", null);
308
+ __decorate([
309
+ ListenToBreakpoints(),
310
+ __metadata("design:type", Function),
311
+ __metadata("design:paramtypes", [Object]),
312
+ __metadata("design:returntype", void 0)
313
+ ], Segment.prototype, "breakpointListener", null);
314
+ __decorate([
315
+ ListenToWindowResize(),
316
+ __metadata("design:type", Function),
317
+ __metadata("design:paramtypes", []),
318
+ __metadata("design:returntype", void 0)
319
+ ], Segment.prototype, "windowResizeListener", null);
320
+ function defineCustomElement$1() {
321
+ if (typeof customElements === "undefined") {
322
+ return;
323
+ }
324
+ const components = ["bal-segment"];
325
+ components.forEach(tagName => { switch (tagName) {
326
+ case "bal-segment":
327
+ if (!customElements.get(tagName)) {
328
+ customElements.define(tagName, Segment);
329
+ }
330
+ break;
331
+ } });
332
+ }
333
+
334
+ const BalSegment = Segment;
335
+ const defineCustomElement = defineCustomElement$1;
336
+
337
+ export { BalSegment, defineCustomElement };
@@ -3,7 +3,7 @@ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { B as BEM } from './bem.js';
4
4
  import { L as Logger } from './log.js';
5
5
 
6
- const balStackCss = ".bal-stack{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;height:100%;width:100%;gap:1rem;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.bal-stack--use-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.bal-stack--fit-content{-ms-flex:unset;flex:unset;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-stack--layout-horizontal{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.bal-stack--layout-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.bal-stack--layout-horizontal-reverse{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.bal-stack--layout-vertical-reverse{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.bal-stack--align-top-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-top-center{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.bal-stack--align-top-end{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--align-start{-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bal-stack--align-end{-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--align-bottom-start{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-bottom-center{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.bal-stack--align-bottom-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-top-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-top-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-top-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-bottom-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-bottom-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-bottom-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--px-none{padding-left:0;padding-right:0}.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small);padding-right:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small-tablet);padding-right:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small-desktop);padding-right:var(--bal-space-xx-small-desktop)}}.bal-stack--px-x-small{padding-left:var(--bal-space-x-small);padding-right:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--px-x-small{padding-left:var(--bal-space-x-small-tablet);padding-right:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-x-small{padding-left:var(--bal-space-x-small-desktop);padding-right:var(--bal-space-x-small-desktop)}}.bal-stack--px-small{padding-left:var(--bal-space-small);padding-right:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--px-small{padding-left:var(--bal-space-small-tablet);padding-right:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-small{padding-left:var(--bal-space-small-desktop);padding-right:var(--bal-space-small-desktop)}}.bal-stack--px-normal{padding-left:var(--bal-space-normal);padding-right:var(--bal-space-normal)}@media screen and (min-width: 769px),print{.bal-stack--px-normal{padding-left:var(--bal-space-normal-tablet);padding-right:var(--bal-space-normal-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-normal{padding-left:var(--bal-space-normal-desktop);padding-right:var(--bal-space-normal-desktop)}}.bal-stack--px-medium{padding-left:var(--bal-space-medium);padding-right:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--px-medium{padding-left:var(--bal-space-medium-tablet);padding-right:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-medium{padding-left:var(--bal-space-medium-desktop);padding-right:var(--bal-space-medium-desktop)}}.bal-stack--px-large{padding-left:var(--bal-space-large);padding-right:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--px-large{padding-left:var(--bal-space-large-tablet);padding-right:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-large{padding-left:var(--bal-space-large-desktop);padding-right:var(--bal-space-large-desktop)}}.bal-stack--px-x-large{padding-left:var(--bal-space-x-large);padding-right:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--px-x-large{padding-left:var(--bal-space-x-large-tablet);padding-right:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-x-large{padding-left:var(--bal-space-x-large-desktop);padding-right:var(--bal-space-x-large-desktop)}}.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large);padding-right:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large-tablet);padding-right:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large-desktop);padding-right:var(--bal-space-xx-large-desktop)}}.bal-stack--py-none{padding-top:0;padding-bottom:0}.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small);padding-bottom:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small-tablet);padding-bottom:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small-desktop);padding-bottom:var(--bal-space-xx-small-desktop)}}.bal-stack--py-x-small{padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--py-x-small{padding-top:var(--bal-space-x-small-tablet);padding-bottom:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-x-small{padding-top:var(--bal-space-x-small-desktop);padding-bottom:var(--bal-space-x-small-desktop)}}.bal-stack--py-small{padding-top:var(--bal-space-small);padding-bottom:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--py-small{padding-top:var(--bal-space-small-tablet);padding-bottom:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-small{padding-top:var(--bal-space-small-desktop);padding-bottom:var(--bal-space-small-desktop)}}.bal-stack--py-normal{padding-top:var(--bal-space-normal);padding-bottom:var(--bal-space-normal)}@media screen and (min-width: 769px),print{.bal-stack--py-normal{padding-top:var(--bal-space-normal-tablet);padding-bottom:var(--bal-space-normal-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-normal{padding-top:var(--bal-space-normal-desktop);padding-bottom:var(--bal-space-normal-desktop)}}.bal-stack--py-medium{padding-top:var(--bal-space-medium);padding-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--py-medium{padding-top:var(--bal-space-medium-tablet);padding-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-medium{padding-top:var(--bal-space-medium-desktop);padding-bottom:var(--bal-space-medium-desktop)}}.bal-stack--py-large{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--py-large{padding-top:var(--bal-space-large-tablet);padding-bottom:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-large{padding-top:var(--bal-space-large-desktop);padding-bottom:var(--bal-space-large-desktop)}}.bal-stack--py-x-large{padding-top:var(--bal-space-x-large);padding-bottom:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--py-x-large{padding-top:var(--bal-space-x-large-tablet);padding-bottom:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-x-large{padding-top:var(--bal-space-x-large-desktop);padding-bottom:var(--bal-space-x-large-desktop)}}.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large);padding-bottom:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large-tablet);padding-bottom:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large-desktop);padding-bottom:var(--bal-space-xx-large-desktop)}}.bal-stack--space-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-none{gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-none{gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-none{gap:0}}.bal-stack--space-xx-small{gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-xx-small{gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-xx-small{gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-x-small{gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-x-small{gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-x-small{gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-small{gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-small{gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-small{gap:var(--bal-space-small-desktop)}}.bal-stack--space-medium{gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-medium{gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-medium{gap:var(--bal-space-medium-desktop)}}.bal-stack--space-large{gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-large{gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-large{gap:var(--bal-space-large-desktop)}}.bal-stack--space-x-large{gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-x-large{gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-x-large{gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-xx-large{gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-xx-large{gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-xx-large{gap:var(--bal-space-xx-large-desktop)}}.bal-stack--space-row-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-row-none{row-gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-row-none{row-gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-row-none{row-gap:0}}.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-row-small{row-gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-small{row-gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-small{row-gap:var(--bal-space-small-desktop)}}.bal-stack--space-row-medium{row-gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-row-medium{row-gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-medium{row-gap:var(--bal-space-medium-desktop)}}.bal-stack--space-row-large{row-gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-large{row-gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-large{row-gap:var(--bal-space-large-desktop)}}.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large-desktop)}}.bal-stack--space-column-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small);-moz-column-gap:var(--bal-space-xx-small);column-gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small-tablet);-moz-column-gap:var(--bal-space-xx-small-tablet);column-gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small-desktop);-moz-column-gap:var(--bal-space-xx-small-desktop);column-gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small);-moz-column-gap:var(--bal-space-x-small);column-gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small-tablet);-moz-column-gap:var(--bal-space-x-small-tablet);column-gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small-desktop);-moz-column-gap:var(--bal-space-x-small-desktop);column-gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small);-moz-column-gap:var(--bal-space-small);column-gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small-tablet);-moz-column-gap:var(--bal-space-small-tablet);column-gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small-desktop);-moz-column-gap:var(--bal-space-small-desktop);column-gap:var(--bal-space-small-desktop)}}.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium);-moz-column-gap:var(--bal-space-medium);column-gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium-tablet);-moz-column-gap:var(--bal-space-medium-tablet);column-gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium-desktop);-moz-column-gap:var(--bal-space-medium-desktop);column-gap:var(--bal-space-medium-desktop)}}.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large);-moz-column-gap:var(--bal-space-large);column-gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large-tablet);-moz-column-gap:var(--bal-space-large-tablet);column-gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large-desktop);-moz-column-gap:var(--bal-space-large-desktop);column-gap:var(--bal-space-large-desktop)}}.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large);-moz-column-gap:var(--bal-space-x-large);column-gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large-tablet);-moz-column-gap:var(--bal-space-x-large-tablet);column-gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large-desktop);-moz-column-gap:var(--bal-space-x-large-desktop);column-gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large);-moz-column-gap:var(--bal-space-xx-large);column-gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large-tablet);-moz-column-gap:var(--bal-space-xx-large-tablet);column-gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large-desktop);-moz-column-gap:var(--bal-space-xx-large-desktop);column-gap:var(--bal-space-xx-large-desktop)}}.bal-stack>bal-radio{margin-top:-0.25rem}.bal-stack>.bal-text,.bal-stack>.bal-heading,.bal-stack>.bal-heading:not(:last-child),.bal-stack>.title,.bal-stack>.subtitle,.bal-stack>.is-link,.bal-stack>p{margin:0}";
6
+ const balStackCss = ".bal-stack{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;height:100%;width:100%;gap:1rem;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.bal-stack--use-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.bal-stack--fit-content{-ms-flex:unset;flex:unset;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-stack--layout-horizontal{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.bal-stack--layout-vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.bal-stack--layout-horizontal-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center}.bal-stack--layout-vertical-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse;-ms-flex-align:start;align-items:flex-start}.bal-stack--align-top-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-top-center{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.bal-stack--align-top-end{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--align-start{-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bal-stack--align-end{-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--align-bottom-start{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--align-bottom-center{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.bal-stack--align-bottom-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-top-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-top-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-top-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.bal-stack--layout-vertical.bal-stack--align-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.bal-stack--layout-vertical.bal-stack--align-bottom-start{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-bottom-center{-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--layout-vertical.bal-stack--align-bottom-end{-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.bal-stack--px-none{padding-left:0;padding-right:0}.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small);padding-right:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small-tablet);padding-right:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-xx-small{padding-left:var(--bal-space-xx-small-desktop);padding-right:var(--bal-space-xx-small-desktop)}}.bal-stack--px-x-small{padding-left:var(--bal-space-x-small);padding-right:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--px-x-small{padding-left:var(--bal-space-x-small-tablet);padding-right:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-x-small{padding-left:var(--bal-space-x-small-desktop);padding-right:var(--bal-space-x-small-desktop)}}.bal-stack--px-small{padding-left:var(--bal-space-small);padding-right:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--px-small{padding-left:var(--bal-space-small-tablet);padding-right:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-small{padding-left:var(--bal-space-small-desktop);padding-right:var(--bal-space-small-desktop)}}.bal-stack--px-normal{padding-left:var(--bal-space-normal);padding-right:var(--bal-space-normal)}@media screen and (min-width: 769px),print{.bal-stack--px-normal{padding-left:var(--bal-space-normal-tablet);padding-right:var(--bal-space-normal-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-normal{padding-left:var(--bal-space-normal-desktop);padding-right:var(--bal-space-normal-desktop)}}.bal-stack--px-medium{padding-left:var(--bal-space-medium);padding-right:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--px-medium{padding-left:var(--bal-space-medium-tablet);padding-right:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-medium{padding-left:var(--bal-space-medium-desktop);padding-right:var(--bal-space-medium-desktop)}}.bal-stack--px-large{padding-left:var(--bal-space-large);padding-right:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--px-large{padding-left:var(--bal-space-large-tablet);padding-right:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-large{padding-left:var(--bal-space-large-desktop);padding-right:var(--bal-space-large-desktop)}}.bal-stack--px-x-large{padding-left:var(--bal-space-x-large);padding-right:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--px-x-large{padding-left:var(--bal-space-x-large-tablet);padding-right:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-x-large{padding-left:var(--bal-space-x-large-desktop);padding-right:var(--bal-space-x-large-desktop)}}.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large);padding-right:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large-tablet);padding-right:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--px-xx-large{padding-left:var(--bal-space-xx-large-desktop);padding-right:var(--bal-space-xx-large-desktop)}}.bal-stack--py-none{padding-top:0;padding-bottom:0}.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small);padding-bottom:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small-tablet);padding-bottom:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-xx-small{padding-top:var(--bal-space-xx-small-desktop);padding-bottom:var(--bal-space-xx-small-desktop)}}.bal-stack--py-x-small{padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--py-x-small{padding-top:var(--bal-space-x-small-tablet);padding-bottom:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-x-small{padding-top:var(--bal-space-x-small-desktop);padding-bottom:var(--bal-space-x-small-desktop)}}.bal-stack--py-small{padding-top:var(--bal-space-small);padding-bottom:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--py-small{padding-top:var(--bal-space-small-tablet);padding-bottom:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-small{padding-top:var(--bal-space-small-desktop);padding-bottom:var(--bal-space-small-desktop)}}.bal-stack--py-normal{padding-top:var(--bal-space-normal);padding-bottom:var(--bal-space-normal)}@media screen and (min-width: 769px),print{.bal-stack--py-normal{padding-top:var(--bal-space-normal-tablet);padding-bottom:var(--bal-space-normal-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-normal{padding-top:var(--bal-space-normal-desktop);padding-bottom:var(--bal-space-normal-desktop)}}.bal-stack--py-medium{padding-top:var(--bal-space-medium);padding-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--py-medium{padding-top:var(--bal-space-medium-tablet);padding-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-medium{padding-top:var(--bal-space-medium-desktop);padding-bottom:var(--bal-space-medium-desktop)}}.bal-stack--py-large{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--py-large{padding-top:var(--bal-space-large-tablet);padding-bottom:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-large{padding-top:var(--bal-space-large-desktop);padding-bottom:var(--bal-space-large-desktop)}}.bal-stack--py-x-large{padding-top:var(--bal-space-x-large);padding-bottom:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--py-x-large{padding-top:var(--bal-space-x-large-tablet);padding-bottom:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-x-large{padding-top:var(--bal-space-x-large-desktop);padding-bottom:var(--bal-space-x-large-desktop)}}.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large);padding-bottom:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large-tablet);padding-bottom:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--py-xx-large{padding-top:var(--bal-space-xx-large-desktop);padding-bottom:var(--bal-space-xx-large-desktop)}}.bal-stack--space-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-none{gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-none{gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-none{gap:0}}.bal-stack--space-xx-small{gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-xx-small{gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-xx-small{gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-x-small{gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-x-small{gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-x-small{gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-small{gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-small{gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-small{gap:var(--bal-space-small-desktop)}}.bal-stack--space-medium{gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-medium{gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-medium{gap:var(--bal-space-medium-desktop)}}.bal-stack--space-large{gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-large{gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-large{gap:var(--bal-space-large-desktop)}}.bal-stack--space-x-large{gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-x-large{gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-x-large{gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-xx-large{gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-xx-large{gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-xx-large{gap:var(--bal-space-xx-large-desktop)}}.bal-stack--space-row-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-row-none{row-gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-row-none{row-gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-row-none{row-gap:0}}.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-xx-small{row-gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-x-small{row-gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-row-small{row-gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-row-small{row-gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-small{row-gap:var(--bal-space-small-desktop)}}.bal-stack--space-row-medium{row-gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-row-medium{row-gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-medium{row-gap:var(--bal-space-medium-desktop)}}.bal-stack--space-row-large{row-gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-large{row-gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-large{row-gap:var(--bal-space-large-desktop)}}.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-x-large{row-gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-row-xx-large{row-gap:var(--bal-space-xx-large-desktop)}}.bal-stack--space-column-auto{-ms-flex-pack:justify;justify-content:space-between}.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}@media screen and (min-width: 769px),print{.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}@media screen and (min-width: 1024px){.bal-stack--space-column-none{-webkit-column-gap:0;-moz-column-gap:0;column-gap:0}}.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small);-moz-column-gap:var(--bal-space-xx-small);column-gap:var(--bal-space-xx-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small-tablet);-moz-column-gap:var(--bal-space-xx-small-tablet);column-gap:var(--bal-space-xx-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-xx-small{-webkit-column-gap:var(--bal-space-xx-small-desktop);-moz-column-gap:var(--bal-space-xx-small-desktop);column-gap:var(--bal-space-xx-small-desktop)}}.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small);-moz-column-gap:var(--bal-space-x-small);column-gap:var(--bal-space-x-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small-tablet);-moz-column-gap:var(--bal-space-x-small-tablet);column-gap:var(--bal-space-x-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-x-small{-webkit-column-gap:var(--bal-space-x-small-desktop);-moz-column-gap:var(--bal-space-x-small-desktop);column-gap:var(--bal-space-x-small-desktop)}}.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small);-moz-column-gap:var(--bal-space-small);column-gap:var(--bal-space-small)}@media screen and (min-width: 769px),print{.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small-tablet);-moz-column-gap:var(--bal-space-small-tablet);column-gap:var(--bal-space-small-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-small{-webkit-column-gap:var(--bal-space-small-desktop);-moz-column-gap:var(--bal-space-small-desktop);column-gap:var(--bal-space-small-desktop)}}.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium);-moz-column-gap:var(--bal-space-medium);column-gap:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium-tablet);-moz-column-gap:var(--bal-space-medium-tablet);column-gap:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-medium{-webkit-column-gap:var(--bal-space-medium-desktop);-moz-column-gap:var(--bal-space-medium-desktop);column-gap:var(--bal-space-medium-desktop)}}.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large);-moz-column-gap:var(--bal-space-large);column-gap:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large-tablet);-moz-column-gap:var(--bal-space-large-tablet);column-gap:var(--bal-space-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-large{-webkit-column-gap:var(--bal-space-large-desktop);-moz-column-gap:var(--bal-space-large-desktop);column-gap:var(--bal-space-large-desktop)}}.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large);-moz-column-gap:var(--bal-space-x-large);column-gap:var(--bal-space-x-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large-tablet);-moz-column-gap:var(--bal-space-x-large-tablet);column-gap:var(--bal-space-x-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-x-large{-webkit-column-gap:var(--bal-space-x-large-desktop);-moz-column-gap:var(--bal-space-x-large-desktop);column-gap:var(--bal-space-x-large-desktop)}}.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large);-moz-column-gap:var(--bal-space-xx-large);column-gap:var(--bal-space-xx-large)}@media screen and (min-width: 769px),print{.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large-tablet);-moz-column-gap:var(--bal-space-xx-large-tablet);column-gap:var(--bal-space-xx-large-tablet)}}@media screen and (min-width: 1024px){.bal-stack--space-column-xx-large{-webkit-column-gap:var(--bal-space-xx-large-desktop);-moz-column-gap:var(--bal-space-xx-large-desktop);column-gap:var(--bal-space-xx-large-desktop)}}.bal-stack>bal-radio{margin-top:-0.25rem}.bal-stack>.bal-text,.bal-stack>.bal-heading,.bal-stack>.bal-heading:not(:last-child),.bal-stack>.title,.bal-stack>.subtitle,.bal-stack>.is-link,.bal-stack>p{margin:0}";
7
7
  const BalStackStyle0 = balStackCss;
8
8
 
9
9
  const Stack = /*@__PURE__*/ proxyCustomElement(class Stack extends HTMLElement {
@@ -57,15 +57,15 @@ class BalWindowResizeListener extends ListenerAbstract {
57
57
  constructor() {
58
58
  super(...arguments);
59
59
  this.resizeHandler = new BalWindowResizeHandler({ onlyListenToWidthChanges: true });
60
- this.debouncedNotify = debounce(() => this.notify(), 10);
60
+ this.debouncedNotify = debounce(() => this.notify(), 100);
61
61
  this.notify = async () => {
62
62
  if (await this.resizeHandler.hasResized()) {
63
63
  super.notify(undefined);
64
64
  }
65
65
  };
66
66
  }
67
- connect() {
68
- super.connect();
67
+ connect(el) {
68
+ super.connect(el);
69
69
  if (this.el) {
70
70
  addEventListener(this.el, 'resize', this.debouncedNotify, { passive: true });
71
71
  }
@@ -7266,6 +7266,30 @@ function isArrowDownKey(event) {
7266
7266
  function isArrowUpKey(event) {
7267
7267
  return event.key === 'ArrowUp' || event.key === 'Up';
7268
7268
  }
7269
+ /**
7270
+ * Returns `true` if the keyboard event was triggered by the `ArrowLeft` key
7271
+ */
7272
+ function isArrowLeftKey(event) {
7273
+ return event.key === 'ArrowLeft' || event.key === 'Left';
7274
+ }
7275
+ /**
7276
+ * Returns `true` if the keyboard event was triggered by the `ArrowRight` key
7277
+ */
7278
+ function isArrowRightKey(event) {
7279
+ return event.key === 'ArrowRight' || event.key === 'Right';
7280
+ }
7281
+ /**
7282
+ * Returns `true` if the keyboard event was triggered by the `Home` key
7283
+ */
7284
+ function isHomeKey(event) {
7285
+ return event.key === 'Home';
7286
+ }
7287
+ /**
7288
+ * Returns `true` if the keyboard event was triggered by the `End` key
7289
+ */
7290
+ function isEndKey(event) {
7291
+ return event.key === 'End';
7292
+ }
7269
7293
  /**
7270
7294
  * Returns the decimal separator of the given locale
7271
7295
  *
@@ -7370,4 +7394,4 @@ const loadSocialMediaLinks = (lang, region = 'CH') => {
7370
7394
  .then(res => res);
7371
7395
  };
7372
7396
 
7373
- export { Language as L, isSpaceKey as a, areArraysEqual as b, toInteger$1 as c, dateSeparator as d, isValidIsoString as e, formatDateString as f, getDefaultOptions as g, format as h, isEnterKey as i, getYear as j, getMonth as k, lodash_padstart as l, getDate as m, now as n, isArrowDownKey as o, parse as p, isArrowUpKey as q, requiredArgs as r, isEscapeKey as s, toDate as t, loadFooterLinks as u, loadSocialMediaLinks as v, isBackspaceKey as w, formatLocaleNumber as x, getDecimalSeparator as y, getThousandSeparator as z };
7397
+ export { isArrowLeftKey as A, isArrowRightKey as B, isHomeKey as C, isEndKey as D, Language as L, isSpaceKey as a, areArraysEqual as b, toInteger$1 as c, dateSeparator as d, isValidIsoString as e, formatDateString as f, getDefaultOptions as g, format as h, isEnterKey as i, getYear as j, getMonth as k, lodash_padstart as l, getDate as m, now as n, isArrowDownKey as o, parse as p, isArrowUpKey as q, requiredArgs as r, isEscapeKey as s, toDate as t, loadFooterLinks as u, loadSocialMediaLinks as v, isBackspaceKey as w, formatLocaleNumber as x, getDecimalSeparator as y, getThousandSeparator as z };
@@ -328,7 +328,7 @@ class BalSnackbarController extends BalNoticeController {
328
328
  const balSnackbarController = new BalSnackbarController();
329
329
 
330
330
  // generated by .build/version.js
331
- const VERSION = '16.4.0';
331
+ const VERSION = '16.5.0';
332
332
 
333
333
  const initializeBaloiseDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
334
334
  if (Object.keys(win).length === 0 && balBrowser.hasWindow) {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 13 Sep 2024 08:01:28 GMT
3
+ * Generated on Tue, 17 Sep 2024 12:02:09 GMT
4
4
  */
5
5
  const balColorGreen3 = "#94e3d4";
6
6
  const balColorGreen6 = "#1b5951";
@@ -0,0 +1,46 @@
1
+ import { B as BalWindowResizeListener } from './breakpoints.subject.js';
2
+ import { a as SingleSubject } from './listener.js';
3
+ import { b as balBrowser } from './browser.js';
4
+
5
+ class BalWindowResizeSubject extends SingleSubject {
6
+ constructor() {
7
+ super((observer, _data) => {
8
+ observer.windowResizeListener();
9
+ });
10
+ this.listener = new BalWindowResizeListener();
11
+ }
12
+ attach(observer) {
13
+ super.attach(observer);
14
+ if (balBrowser.hasWindow) {
15
+ this.listener.connect(window);
16
+ this.listener.add(() => super.notify());
17
+ }
18
+ }
19
+ detach() {
20
+ super.detach();
21
+ this.listener.disconnect();
22
+ }
23
+ }
24
+ new BalWindowResizeSubject();
25
+
26
+ function ListenToWindowResize() {
27
+ return function (target, _propertyKey, _descriptor) {
28
+ const { connectedCallback, disconnectedCallback } = target;
29
+ target.connectedCallback = function () {
30
+ if (!this._balWindowResizeSubject) {
31
+ this._balWindowResizeSubject = new BalWindowResizeSubject();
32
+ this._balWindowResizeSubject.attach(this);
33
+ }
34
+ return connectedCallback && connectedCallback.call(this);
35
+ };
36
+ target.disconnectedCallback = function () {
37
+ if (this._balWindowResizeSubject) {
38
+ this._balWindowResizeSubject.detach();
39
+ this._balWindowResizeSubject = undefined;
40
+ }
41
+ return disconnectedCallback && disconnectedCallback.call(this);
42
+ };
43
+ };
44
+ }
45
+
46
+ export { ListenToWindowResize as L };