@baloise/ds-core 16.4.0 → 16.5.0-nightly.20240918

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 (302) hide show
  1. package/components/all.d.ts +6 -0
  2. package/components/all.js +9 -0
  3. package/components/bal-app.js +1 -85
  4. package/components/bal-app2.js +87 -0
  5. package/components/bal-checkbox-group.js +8 -2
  6. package/components/bal-checkbox2.js +10 -3
  7. package/components/bal-content.js +1 -69
  8. package/{dist/esm/bal-content.entry.js → components/bal-content2.js} +31 -12
  9. package/components/bal-doc-app.d.ts +11 -0
  10. package/components/bal-doc-app.js +260 -0
  11. package/components/bal-icon2.js +1 -1
  12. package/components/bal-label2.js +3 -2
  13. package/components/bal-progress-bar.js +23 -10
  14. package/components/bal-radio2.js +1 -1
  15. package/components/bal-segment-item.d.ts +11 -0
  16. package/components/bal-segment-item.js +203 -0
  17. package/components/bal-segment.d.ts +11 -0
  18. package/components/bal-segment.js +337 -0
  19. package/components/bal-stack2.js +1 -1
  20. package/components/breakpoints.subject.js +3 -3
  21. package/components/index.esm.js +25 -1
  22. package/components/index.js +5 -289
  23. package/components/initialize.js +288 -0
  24. package/components/tokens.esm.js +1 -1
  25. package/components/window-resize.decorator.js +46 -0
  26. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  27. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  28. package/dist/baloise-design-system/index.esm.js +1 -1
  29. package/dist/baloise-design-system/{p-e60c936359.system.entry.js → p-0530e008e9.system.entry.js} +1 -1
  30. package/dist/baloise-design-system/{p-19542d9bfc.system.entry.js → p-081c069231.system.entry.js} +1 -1
  31. package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
  32. package/dist/baloise-design-system/{p-83ff83d0.system.js → p-17ec322d.system.js} +1 -1
  33. package/dist/baloise-design-system/{p-0295f5df96.entry.js → p-1ba198c6ac.entry.js} +1 -1
  34. package/dist/baloise-design-system/p-2206099f9a.entry.js +1 -0
  35. package/dist/baloise-design-system/p-265f9d51c9.system.entry.js +1 -0
  36. package/dist/baloise-design-system/{p-51c0348938.entry.js → p-2905abdfb8.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-29ba4f9afe.system.entry.js +1 -0
  38. package/dist/baloise-design-system/p-2da1c167.system.js +1 -0
  39. package/dist/baloise-design-system/{p-f6599f64b7.entry.js → p-2db4ff4c5b.entry.js} +1 -1
  40. package/dist/baloise-design-system/{p-39bc49bc3d.entry.js → p-33028eda8b.entry.js} +1 -1
  41. package/dist/baloise-design-system/p-360068a4.system.js +1 -0
  42. package/dist/baloise-design-system/{p-330b875d9d.system.entry.js → p-3818fa189f.system.entry.js} +1 -1
  43. package/dist/baloise-design-system/p-381fe5557d.entry.js +1 -0
  44. package/dist/baloise-design-system/{p-8754258843.entry.js → p-3e6903fa7c.entry.js} +1 -1
  45. package/dist/baloise-design-system/p-40b5ad07c5.system.entry.js +1 -0
  46. package/dist/baloise-design-system/{p-4afba8511a.system.entry.js → p-47a8ad4d7a.system.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-976ed5bcf1.entry.js → p-488c4a8ce1.entry.js} +1 -1
  48. package/dist/baloise-design-system/p-4c3123b8.system.js +1 -0
  49. package/dist/baloise-design-system/{p-b33c021c08.entry.js → p-4f4190685e.entry.js} +1 -1
  50. package/dist/baloise-design-system/{p-c0f4b35c8c.system.entry.js → p-51700ed1da.system.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-53e98a0f71.entry.js +1 -0
  52. package/dist/baloise-design-system/{p-cef24f8c62.entry.js → p-547aae9610.entry.js} +1 -1
  53. package/dist/baloise-design-system/p-54f81c32.js +1 -1
  54. package/dist/baloise-design-system/p-575c8e447c.system.entry.js +1 -0
  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-d66c8f0da9.system.entry.js → p-5e83c72835.system.entry.js} +1 -1
  57. package/dist/baloise-design-system/p-6330a87196.entry.js +1 -0
  58. package/dist/baloise-design-system/{p-b487614e8b.entry.js → p-65605bc6da.entry.js} +1 -1
  59. package/dist/baloise-design-system/{p-c92eb37957.system.entry.js → p-68933461f6.system.entry.js} +1 -1
  60. package/dist/baloise-design-system/{p-22b041a511.entry.js → p-6c2bf02eb3.entry.js} +1 -1
  61. package/dist/baloise-design-system/p-6d1b6215.js +1 -0
  62. package/dist/baloise-design-system/{p-a7c3119418.system.entry.js → p-6e3a79cce0.system.entry.js} +1 -1
  63. package/dist/baloise-design-system/p-71588db3.system.js +1 -0
  64. package/dist/baloise-design-system/p-7291766c.system.js +1 -0
  65. package/dist/baloise-design-system/{p-b779742f50.entry.js → p-77350b27fc.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-b069b55a8d.entry.js → p-776ca86f56.entry.js} +1 -1
  67. package/dist/baloise-design-system/{p-f7091a61.js → p-7d3e92db.js} +1 -1
  68. package/dist/baloise-design-system/{p-ba14aa7026.system.entry.js → p-8080a1192c.system.entry.js} +1 -1
  69. package/dist/baloise-design-system/{p-167594de04.entry.js → p-8468aabfbe.entry.js} +1 -1
  70. package/dist/baloise-design-system/{p-e18ec1401d.system.entry.js → p-85daeadea3.system.entry.js} +1 -1
  71. package/dist/baloise-design-system/p-874a9fa4.js +1 -0
  72. package/dist/baloise-design-system/p-8ce7ff8b.js +1 -0
  73. package/dist/baloise-design-system/p-8de1a12660.entry.js +1 -0
  74. package/dist/baloise-design-system/{p-8870e1f3e0.system.entry.js → p-8e17b76e7c.system.entry.js} +1 -1
  75. package/dist/baloise-design-system/p-8fb36eeae3.system.entry.js +1 -0
  76. package/dist/baloise-design-system/{p-68eead378f.entry.js → p-904b0decfa.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-86b8ffa1ab.system.entry.js → p-920fca5697.system.entry.js} +1 -1
  78. package/dist/baloise-design-system/{p-b97d9336a7.system.entry.js → p-9bb8778cdc.system.entry.js} +1 -1
  79. package/dist/baloise-design-system/p-a507ff25cb.system.entry.js +1 -0
  80. package/dist/baloise-design-system/{p-ad00d94e7f.entry.js → p-a5ee486a2b.entry.js} +1 -1
  81. package/dist/baloise-design-system/p-a78d1ca569.system.entry.js +1 -0
  82. package/dist/baloise-design-system/{p-3e8b5dec38.system.entry.js → p-a85b2a86d2.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-aee4ebe860.system.entry.js → p-aac2e25c47.system.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-8b6aca042a.system.entry.js → p-affc576b0e.system.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-95c6192efb.system.entry.js → p-b43fdb2f72.system.entry.js} +1 -1
  86. package/dist/baloise-design-system/p-b5958c73fe.entry.js +1 -0
  87. package/dist/baloise-design-system/{p-982fa892e8.system.entry.js → p-b8251b8f68.system.entry.js} +1 -1
  88. package/dist/baloise-design-system/p-b87c29c80b.entry.js +1 -0
  89. package/dist/baloise-design-system/{p-098f268743.entry.js → p-bee13e834e.entry.js} +1 -1
  90. package/dist/baloise-design-system/{p-e066dc532d.entry.js → p-bf289bfd1d.entry.js} +1 -1
  91. package/dist/baloise-design-system/{p-3f1c49d0.js → p-caec1f9e.js} +1 -1
  92. package/dist/baloise-design-system/{p-45e0c0783b.entry.js → p-cafe624e35.entry.js} +1 -1
  93. package/dist/baloise-design-system/{p-6d9afce4c2.entry.js → p-cc754c9809.entry.js} +1 -1
  94. package/dist/baloise-design-system/{p-2f4c6257f4.entry.js → p-cda868a6a5.entry.js} +1 -1
  95. package/dist/baloise-design-system/{p-a52564d27f.system.entry.js → p-d059465399.system.entry.js} +1 -1
  96. package/dist/baloise-design-system/{p-44d845a857.system.entry.js → p-d3fabdb142.system.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-67e6932c19.entry.js → p-d8bab2c89d.entry.js} +1 -1
  98. package/dist/baloise-design-system/{p-544a0af68d.system.entry.js → p-de5b54dda5.system.entry.js} +1 -1
  99. package/dist/baloise-design-system/{p-b0f4388e4c.system.entry.js → p-e137e273b7.system.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-55faac1d.system.js → p-e187b9de.system.js} +1 -1
  101. package/dist/baloise-design-system/{p-e9c3c1c4cc.entry.js → p-e2bc86a219.entry.js} +1 -1
  102. package/dist/baloise-design-system/p-e8ffddeb.js +1 -0
  103. package/dist/baloise-design-system/{p-9e167705ca.entry.js → p-ecab0d67d5.entry.js} +1 -1
  104. package/dist/baloise-design-system/p-ef916aafa5.entry.js +1 -0
  105. package/dist/baloise-design-system/{p-685405e0.system.js → p-f3f5e156.system.js} +1 -1
  106. package/dist/baloise-design-system/{p-94efe2aa.js → p-f5940253.js} +1 -1
  107. package/dist/baloise-design-system/{p-013b4c72.system.js → p-f959646a.system.js} +1 -1
  108. package/dist/baloise-design-system/{p-b397abec9a.system.entry.js → p-fa2914291c.system.entry.js} +1 -1
  109. package/dist/cjs/app-globals-5fd73c0c.js +7 -0
  110. package/dist/cjs/bal-accordion_4.cjs.entry.js +1 -1
  111. package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
  112. package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -3
  113. package/dist/cjs/{bal-label.cjs.entry.js → bal-content_2.cjs.entry.js} +48 -2
  114. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
  115. package/dist/cjs/bal-date.cjs.entry.js +2 -2
  116. package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
  117. package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
  118. package/dist/cjs/bal-dropdown.cjs.entry.js +1 -1
  119. package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
  120. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  121. package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
  122. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  123. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  124. package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
  125. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  126. package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
  127. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  128. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  129. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  130. package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
  131. package/dist/cjs/bal-popup.cjs.entry.js +1 -1
  132. package/dist/cjs/bal-progress-bar.cjs.entry.js +27 -15
  133. package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
  134. package/dist/cjs/bal-segment-item.cjs.entry.js +156 -0
  135. package/dist/cjs/bal-segment.cjs.entry.js +319 -0
  136. package/dist/cjs/bal-select_2.cjs.entry.js +1 -1
  137. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  138. package/dist/cjs/bal-stack.cjs.entry.js +1 -1
  139. package/dist/cjs/bal-steps.cjs.entry.js +4 -4
  140. package/dist/cjs/bal-tab-item_2.cjs.entry.js +4 -4
  141. package/dist/cjs/baloise-design-system.cjs.js +3 -2
  142. package/dist/cjs/{breakpoints.decorator-e278a735.js → breakpoints.decorator-0b9638cc.js} +1 -1
  143. package/dist/cjs/{breakpoints.subject-0802767f.js → breakpoints.subject-6e21c613.js} +4 -4
  144. package/dist/cjs/{date-3e33b208.js → date-20be7524.js} +1 -1
  145. package/dist/cjs/{app-globals-ae3a8623.js → global-2562a984.js} +2 -4
  146. package/dist/cjs/index.cjs.js +4 -4
  147. package/dist/cjs/{index.esm-4587dbf0.js → index.esm-54a3d84e.js} +28 -0
  148. package/dist/cjs/initialize-2a19d091.js +1 -1
  149. package/dist/cjs/loader.cjs.js +3 -2
  150. package/dist/cjs/{tokens.esm-be397f27.js → tokens.esm-cb5e808e.js} +1 -1
  151. package/dist/cjs/window-resize.decorator-094c327d.js +48 -0
  152. package/dist/collection/collection-manifest.json +4 -1
  153. package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
  154. package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
  155. package/dist/collection/components/bal-content/bal-content.css +1 -1
  156. package/dist/collection/components/bal-content/bal-content.js +1 -1
  157. package/dist/collection/components/bal-icon/bal-icon.css +1 -1
  158. package/dist/collection/components/bal-label/bal-label.js +20 -2
  159. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +23 -10
  160. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +1 -0
  161. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +332 -0
  162. package/dist/collection/components/bal-segment/bal-segment.css +1 -0
  163. package/dist/collection/components/bal-segment/bal-segment.interfaces.js +4 -0
  164. package/dist/collection/components/bal-segment/bal-segment.js +537 -0
  165. package/dist/collection/components/bal-segment/bal-segment.types.js +1 -0
  166. package/dist/collection/components/bal-stack/bal-stack.css +1 -1
  167. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  168. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +229 -0
  169. package/dist/collection/utils/constants/version.constant.js +1 -1
  170. package/dist/collection/utils/resize/index.js +4 -1
  171. package/dist/collection/utils/resize/window-resize.decorator.js +20 -0
  172. package/dist/collection/utils/resize/window-resize.interfaces.js +1 -0
  173. package/dist/collection/utils/resize/window-resize.listener.js +3 -3
  174. package/dist/collection/utils/resize/window-resize.subject.js +23 -0
  175. package/dist/esm/app-globals-970bab17.js +5 -0
  176. package/dist/esm/bal-accordion_4.entry.js +1 -1
  177. package/dist/esm/bal-carousel_2.entry.js +3 -3
  178. package/dist/esm/bal-checkbox_2.entry.js +4 -3
  179. package/dist/esm/{bal-label.entry.js → bal-content_2.entry.js} +48 -3
  180. package/dist/esm/bal-date-calendar_2.entry.js +2 -2
  181. package/dist/esm/bal-date.entry.js +2 -2
  182. package/dist/esm/bal-datepicker.entry.js +4 -4
  183. package/dist/esm/bal-doc-app.entry.js +227 -0
  184. package/dist/esm/bal-dropdown.entry.js +1 -1
  185. package/dist/esm/bal-file-upload.entry.js +1 -1
  186. package/dist/esm/bal-footer.entry.js +1 -1
  187. package/dist/esm/bal-hint_3.entry.js +3 -3
  188. package/dist/esm/bal-icon.entry.js +1 -1
  189. package/dist/esm/bal-input-stepper.entry.js +1 -1
  190. package/dist/esm/bal-list_8.entry.js +4 -4
  191. package/dist/esm/bal-logo.entry.js +3 -3
  192. package/dist/esm/bal-nav_8.entry.js +3 -3
  193. package/dist/esm/bal-navbar_5.entry.js +3 -3
  194. package/dist/esm/bal-number-input.entry.js +1 -1
  195. package/dist/esm/bal-pagination.entry.js +3 -3
  196. package/dist/esm/bal-popover_2.entry.js +3 -3
  197. package/dist/esm/bal-popup.entry.js +1 -1
  198. package/dist/esm/bal-progress-bar.entry.js +27 -15
  199. package/dist/esm/bal-radio_2.entry.js +2 -2
  200. package/dist/esm/bal-segment-item.entry.js +152 -0
  201. package/dist/esm/bal-segment.entry.js +315 -0
  202. package/dist/esm/bal-select_2.entry.js +1 -1
  203. package/dist/esm/bal-shape.entry.js +1 -1
  204. package/dist/esm/bal-stack.entry.js +1 -1
  205. package/dist/esm/bal-steps.entry.js +4 -4
  206. package/dist/esm/bal-tab-item_2.entry.js +4 -4
  207. package/dist/esm/baloise-design-system.js +3 -2
  208. package/dist/esm/{breakpoints.decorator-d0f1affe.js → breakpoints.decorator-51c7b274.js} +1 -1
  209. package/dist/esm/{breakpoints.subject-f57eda2c.js → breakpoints.subject-f5de566e.js} +4 -4
  210. package/dist/esm/{date-38a0b208.js → date-aba2d404.js} +1 -1
  211. package/dist/esm/{app-globals-b0dd0fc4.js → global-63f4bcec.js} +2 -4
  212. package/dist/esm/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +25 -1
  213. package/dist/esm/index.js +5 -5
  214. package/dist/esm/initialize-e216cfe4.js +1 -1
  215. package/dist/esm/loader.js +3 -2
  216. package/dist/esm/{tokens.esm-70c16b84.js → tokens.esm-c11c39eb.js} +1 -1
  217. package/dist/esm/window-resize.decorator-7162fc76.js +46 -0
  218. package/dist/esm-es5/app-globals-970bab17.js +1 -0
  219. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  220. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  221. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  222. package/dist/esm-es5/bal-content_2.entry.js +1 -0
  223. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  224. package/dist/esm-es5/bal-date.entry.js +1 -1
  225. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  226. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  227. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  228. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  229. package/dist/esm-es5/bal-footer.entry.js +1 -1
  230. package/dist/esm-es5/bal-hint_3.entry.js +1 -1
  231. package/dist/esm-es5/bal-icon.entry.js +1 -1
  232. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  233. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  234. package/dist/esm-es5/bal-logo.entry.js +1 -1
  235. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  236. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  237. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  238. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  239. package/dist/esm-es5/bal-popover_2.entry.js +1 -1
  240. package/dist/esm-es5/bal-popup.entry.js +1 -1
  241. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  242. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  243. package/dist/esm-es5/bal-segment-item.entry.js +1 -0
  244. package/dist/esm-es5/bal-segment.entry.js +1 -0
  245. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  246. package/dist/esm-es5/bal-shape.entry.js +1 -1
  247. package/dist/esm-es5/bal-stack.entry.js +1 -1
  248. package/dist/esm-es5/bal-steps.entry.js +1 -1
  249. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  250. package/dist/esm-es5/baloise-design-system.js +1 -1
  251. package/dist/esm-es5/{breakpoints.decorator-d0f1affe.js → breakpoints.decorator-51c7b274.js} +1 -1
  252. package/dist/esm-es5/breakpoints.subject-f5de566e.js +1 -0
  253. package/dist/esm-es5/{date-38a0b208.js → date-aba2d404.js} +1 -1
  254. package/dist/esm-es5/global-63f4bcec.js +1 -0
  255. package/dist/esm-es5/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +1 -1
  256. package/dist/esm-es5/index.js +1 -1
  257. package/dist/esm-es5/initialize-e216cfe4.js +1 -1
  258. package/dist/esm-es5/loader.js +1 -1
  259. package/dist/esm-es5/window-resize.decorator-7162fc76.js +1 -0
  260. package/dist/html.html-data.json +80 -0
  261. package/dist/types/components/bal-content/bal-content.interfaces.d.ts +1 -1
  262. package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +1 -1
  263. package/dist/types/components/bal-label/bal-label.d.ts +4 -1
  264. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +3 -1
  265. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +62 -0
  266. package/dist/types/components/bal-segment/bal-segment.d.ts +111 -0
  267. package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +20 -0
  268. package/dist/types/components/bal-segment/bal-segment.types.d.ts +1 -0
  269. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  270. package/dist/types/components.d.ts +201 -0
  271. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +81 -0
  272. package/dist/types/interfaces.d.ts +1 -0
  273. package/dist/types/utils/resize/index.d.ts +4 -1
  274. package/dist/types/utils/resize/window-resize.decorator.d.ts +3 -0
  275. package/dist/types/utils/resize/window-resize.interfaces.d.ts +5 -0
  276. package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
  277. package/dist/types/utils/resize/window-resize.subject.d.ts +9 -0
  278. package/package.json +8 -8
  279. package/dist/baloise-design-system/p-0d69371467.entry.js +0 -1
  280. package/dist/baloise-design-system/p-126c79c9e9.system.entry.js +0 -1
  281. package/dist/baloise-design-system/p-2d8bd11634.entry.js +0 -1
  282. package/dist/baloise-design-system/p-77ccb1f4.system.js +0 -1
  283. package/dist/baloise-design-system/p-88493e9537.system.entry.js +0 -1
  284. package/dist/baloise-design-system/p-886bedebf9.entry.js +0 -1
  285. package/dist/baloise-design-system/p-8a87b9a8.system.js +0 -1
  286. package/dist/baloise-design-system/p-bcca1ed3.system.js +0 -1
  287. package/dist/baloise-design-system/p-c69783ee18.entry.js +0 -1
  288. package/dist/baloise-design-system/p-d585a3ad56.system.entry.js +0 -1
  289. package/dist/baloise-design-system/p-e71a27141c.entry.js +0 -1
  290. package/dist/baloise-design-system/p-e78a6409.js +0 -1
  291. package/dist/baloise-design-system/p-e851f284.js +0 -1
  292. package/dist/baloise-design-system/p-e93d9571f5.system.entry.js +0 -1
  293. package/dist/baloise-design-system/p-ecd39e3bec.entry.js +0 -1
  294. package/dist/baloise-design-system/p-f076d1ed4f.system.entry.js +0 -1
  295. package/dist/cjs/bal-content.cjs.entry.js +0 -56
  296. package/dist/esm-es5/app-globals-b0dd0fc4.js +0 -1
  297. package/dist/esm-es5/bal-content.entry.js +0 -1
  298. package/dist/esm-es5/bal-label.entry.js +0 -1
  299. package/dist/esm-es5/breakpoints.subject-f57eda2c.js +0 -1
  300. /package/dist/baloise-design-system/{p-ec4875a2.js → p-0f41f0ff.js} +0 -0
  301. /package/dist/baloise-design-system/{p-83486137.system.js → p-acbcbc66.system.js} +0 -0
  302. /package/dist/esm-es5/{tokens.esm-70c16b84.js → tokens.esm-c11c39eb.js} +0 -0
@@ -0,0 +1,152 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
+ import { B as BEM } from './bem-8c7d2eb0.js';
3
+ import { i as inheritAttributes } from './attributes-4fa7040f.js';
4
+ import { j as addEventListener, r as removeEventListener, l as raf } from './helpers-c201154e.js';
5
+ import './browser-a8073d92.js';
6
+ import './icons.constant-a7885631.js';
7
+ import './config.utils-6ac6c9bd.js';
8
+
9
+ const balSegmentItemCss = ":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-item{display:block;position:relative;height:auto;text-decoration:none;text-overflow:ellipsis;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.bal-segment-item--disabled{cursor:default !important;pointer-events:none !important}.bal-segment-item__button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-height:2.5rem;min-width:3rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1;padding-top:.375rem;padding-bottom:.375rem;padding-left:20px;padding-right:20px;outline:none;border-color:rgba(0,0,0,0);border-width:var(--bal-border-width-normal);border-style:solid;border-radius:var(--bal-radius-normal);background:rgba(0,0,0,0);font-size:var(--bal-text-size-normal);font-weight:var(--bal-font-weight-bold);color:var(--bal-segment-item-text-color);overflow:hidden;position:relative;contain:content;pointer-events:none;cursor:pointer;z-index:2}.bal-segment-item__button--vertical{padding-left:.75rem;padding-right:.75rem}.bal-segment-item__button span{font-size:var(--bal-text-size-small);font-weight:var(--bal-font-weight-regular)}.bal-segment-item__button{will-change:color,padding;-webkit-transition:color 160ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 160ms cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition:padding 160ms cubic-bezier(0.4, 0, 0.2, 1);transition:padding 160ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{content:\"\";position:absolute;background:var(--bal-segment-item-divider-background);border-radius:var(--bal-radius-normal)}.bal-segment-item:not(.bal-segment-item--vertical):not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{top:2px;bottom:2px;right:-1px;width:2px}.bal-segment-item.bal-segment-item--vertical:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{left:2px;right:2px;bottom:-1px;height:2px}.bal-segment-item--invalid:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{background:var(--bal-segment-item-divider-background-invalid)}.bal-segment-item__indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;border-radius:var(--bal-radius-normal);background:var(--bal-segment-item-indicator-background);top:0;left:0}.bal-segment-item__indicator--vertical{-webkit-transform-origin:top;transform-origin:top}.bal-segment-item__indicator--invalid{background:var(--bal-segment-item-indicator-background-invalid)}.bal-segment-item__indicator--background{min-width:100%;min-height:100%;-webkit-transform:none;transform:none;pointer-events:none}.bal-segment-item__indicator--animated{will-change:transform,opacity,top,bottom,left,right,min-width,min-heigth;-webkit-transition:min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1),min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease;transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1),min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item__indicator--checked{opacity:1}.bal-segment-item:active .bal-segment-item__indicator{min-width:calc(100% - 4px);min-height:calc(100% - 4px);top:2px !important;bottom:2px !important;left:2px !important;right:2px !important}.bal-segment-item__button__icon{position:absolute !important;opacity:0;width:0 !important;-webkit-transform:translateX(0.1rem);transform:translateX(0.1rem);pointer-events:none !important;cursor:inherit;will-change:transform,opacity}.bal-segment-item__button__icon:not(.bal-segment-item__button__icon--vertical){left:10px}.bal-segment-item__button__icon--vertical{right:10px}.bal-segment-item__button__icon--animated{opacity:1;width:.875rem !important;-webkit-transform:translateX(-4px);transform:translateX(-4px);-webkit-transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),transform 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item__button--checked{color:var(--bal-segment-item-text-color-checked);padding-right:40px}.bal-segment-item__button--checked:not(.bal-segment-item__button--vertical){padding-left:26px;padding-right:12px}@media (hover: hover)and (pointer: fine){.bal-segment-item:not(.bal-segment-item--disabled):hover .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-checked-hovered)}}.bal-segment-item:not(.bal-segment-item--disabled):active .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-checked-pressed)}.bal-segment--keyboard .bal-segment-item__button:not(.bal-segment-item__button--disabled):focus-visible,.bal-segment--keyboard .bal-segment-item__button--focused:not(.bal-segment-item__button--disabled){border-color:var(--bal-segment-item-focus-border);border-width:var(--bal-border-width-normal);border-style:solid;-webkit-transition:border 300ms ease-in-out;transition:border 300ms ease-in-out}.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled) .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid)}@media (hover: hover)and (pointer: fine){.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled):hover .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid-hovered)}}.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled):active .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid-pressed)}.bal-segment-item__button--invalid.bal-segment-item__button--checked{color:var(--bal-color-text-white)}.bal-segment-item__button--disabled{background:rgba(0,0,0,0);color:var(--bal-segment-item-text-color-disabled)}.bal-segment-item__button--disabled.bal-segment-item__button--checked{background:var(--bal-segment-item-indicator-background-disabled);color:var(--bal-segment-item-text-color-disabled-checked)}.bal-segment-item__button__slot--hidden{display:none !important}";
10
+ const BalSegmentItemStyle0 = balSegmentItemCss;
11
+
12
+ let ids = 0;
13
+ const SegmentItem = class {
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ this.balBlur = createEvent(this, "balBlur", 7);
17
+ this.segmentEl = null;
18
+ this.inheritedAttributes = {};
19
+ this.id = ids++;
20
+ this.updateVertical = (ev) => {
21
+ this.isVertical = ev.detail;
22
+ };
23
+ this.updateState = () => {
24
+ const { segmentEl } = this;
25
+ if (segmentEl) {
26
+ if (segmentEl.value === '' || segmentEl.value === undefined || segmentEl.value === null) {
27
+ const items = this.items;
28
+ if (items.length > 0) {
29
+ const first = items[0];
30
+ this.isFocusable = first === this.el;
31
+ }
32
+ }
33
+ else {
34
+ this.checked = segmentEl.value === this.value;
35
+ this.isFocusable = segmentEl.value === this.value;
36
+ }
37
+ if (segmentEl.disabled) {
38
+ this.disabled = true;
39
+ }
40
+ }
41
+ };
42
+ this.onSlottedItemsChange = () => {
43
+ /**
44
+ * When the slotted segment buttons change we need to
45
+ * ensure that the new segment buttons are checked if
46
+ * the value matches the segment button value.
47
+ */
48
+ this.checkSlotContent();
49
+ };
50
+ this.hasSlotContent = false;
51
+ this.isFocusable = false;
52
+ this.isVertical = false;
53
+ this.disabled = false;
54
+ this.invalid = false;
55
+ this.focused = false;
56
+ this.checked = false;
57
+ this.label = '';
58
+ this.value = 'bal-si-' + this.id;
59
+ }
60
+ valueChanged() {
61
+ this.updateState();
62
+ }
63
+ connectedCallback() {
64
+ const segmentEl = (this.segmentEl = this.el.closest('bal-segment'));
65
+ if (segmentEl) {
66
+ this.updateState();
67
+ addEventListener(segmentEl, 'balSelect', this.updateState);
68
+ addEventListener(segmentEl, 'balVertical', this.updateVertical);
69
+ }
70
+ }
71
+ disconnectedCallback() {
72
+ const segmentEl = this.segmentEl;
73
+ if (segmentEl) {
74
+ removeEventListener(segmentEl, 'balSelect', this.updateState);
75
+ removeEventListener(segmentEl, 'balVertical', this.updateVertical);
76
+ this.segmentEl = null;
77
+ }
78
+ }
79
+ componentWillLoad() {
80
+ this.inheritedAttributes = Object.assign({}, inheritAttributes(this.el, ['aria-label']));
81
+ }
82
+ componentDidLoad() {
83
+ raf(() => this.checkSlotContent());
84
+ }
85
+ /**
86
+ * @internal
87
+ * Focuses the native <button> element
88
+ * inside of ion-segment-button.
89
+ */
90
+ async setFocus() {
91
+ const { nativeEl } = this;
92
+ if (nativeEl !== undefined) {
93
+ nativeEl.focus();
94
+ }
95
+ }
96
+ get items() {
97
+ return this.allItems.filter(item => !item.disabled);
98
+ }
99
+ get allItems() {
100
+ const { segmentEl } = this;
101
+ if (segmentEl) {
102
+ return Array.from(segmentEl.querySelectorAll('bal-segment-item'));
103
+ }
104
+ return [];
105
+ }
106
+ isFirst() {
107
+ const { segmentEl } = this;
108
+ let items = this.items;
109
+ if (segmentEl && segmentEl.disabled) {
110
+ items = this.allItems;
111
+ }
112
+ if (items.length > 0) {
113
+ const first = items[0];
114
+ return first === this.el;
115
+ }
116
+ return false;
117
+ }
118
+ isLast() {
119
+ const { segmentEl } = this;
120
+ let items = this.items;
121
+ if (segmentEl && segmentEl.disabled) {
122
+ items = this.allItems;
123
+ }
124
+ if (items.length > 0) {
125
+ const last = items[items.length - 1];
126
+ return last === this.el;
127
+ }
128
+ return false;
129
+ }
130
+ checkSlotContent() {
131
+ const slot = this.el.querySelector('[part="slot"]');
132
+ const children = slot ? slot.innerHTML.trim() : '';
133
+ this.hasSlotContent = children.length > 0;
134
+ }
135
+ render() {
136
+ const { checked, focused, segmentEl, label, isFocusable } = this;
137
+ const block = BEM.block('segment-item');
138
+ const buttonBem = block.element('button');
139
+ const indicatorBem = block.element('indicator');
140
+ const invalid = this.invalid || (segmentEl && segmentEl.invalid);
141
+ const disabled = this.disabled || (segmentEl && segmentEl.disabled);
142
+ const vertical = this.isVertical;
143
+ return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('vertical').class(vertical)), block.modifier('disabled').class(disabled)), block.modifier('checked').class(checked)), block.modifier('invalid').class(invalid)), block.modifier('line').class(!this.isFirst() && !checked)), block.modifier('last').class(this.isLast() && !checked)) }, h("button", Object.assign({ role: "radio", "aria-checked": checked ? 'true' : 'false', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, buttonBem.class()), buttonBem.modifier('checked').class(checked)), buttonBem.modifier('invalid').class(invalid)), buttonBem.modifier('disabled').class(disabled)), buttonBem.modifier('focused').class(focused)), buttonBem.modifier('vertical').class(vertical)), "aria-labelledby": `bal-si-${this.id}-label`, type: 'button', tabIndex: isFocusable ? 0 : -1, part: "native", onBlur: ev => this.balBlur.emit(ev), disabled: disabled, ref: el => (this.nativeEl = el) }, this.inheritedAttributes), h("bal-icon", { name: "check", size: "small", class: Object.assign(Object.assign(Object.assign({}, buttonBem.element('icon').class()), buttonBem.element('icon').modifier('animated').class(checked)), buttonBem.element('icon').modifier('vertical').class(vertical)), color: disabled ? 'grey-dark' : invalid ? 'white' : 'primary' }), h("bal-stack", { space: "x-small", layout: 'horizontal' }, h("bal-content", { space: "none" }, h("bal-label", { htmlId: `bal-si-${this.id}-label` }, label), h("span", { part: "slot", class: Object.assign({}, buttonBem.element('slot').modifier('hidden').class(!this.hasSlotContent)) }, ' ', h("slot", { onSlotchange: this.onSlottedItemsChange }))))), h("div", { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, indicatorBem.class()), indicatorBem.modifier('animated').class()), indicatorBem.modifier('background').class()), indicatorBem.modifier('disabled').class(disabled)), indicatorBem.modifier('invalid').class(invalid)), indicatorBem.modifier('checked').class(checked)), indicatorBem.modifier('vertical').class(vertical)) })));
144
+ }
145
+ get el() { return getElement(this); }
146
+ static get watchers() { return {
147
+ "value": ["valueChanged"]
148
+ }; }
149
+ };
150
+ SegmentItem.style = BalSegmentItemStyle0;
151
+
152
+ export { SegmentItem as bal_segment_item };
@@ -0,0 +1,315 @@
1
+ import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
+ import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
+ import { B as BEM } from './bem-8c7d2eb0.js';
4
+ import { L as Logger } from './log-dfd1c19f.js';
5
+ import { e as isSpaceKey, s as isArrowUpKey, z as isArrowLeftKey, q as isArrowDownKey, A as isArrowRightKey, B as isHomeKey, C as isEndKey } from './index.esm-76abd8e3.js';
6
+ import { s as stopEventBubbling } from './form-input-28a08ec5.js';
7
+ import { F as FOCUS_KEYS } from './focus-visible-f0cdd043.js';
8
+ import { l as raf } from './helpers-c201154e.js';
9
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-51c7b274.js';
10
+ import { L as ListenToWindowResize } from './window-resize.decorator-7162fc76.js';
11
+ import './browser-a8073d92.js';
12
+ import './index-82aff103.js';
13
+ import './_commonjsHelpers-1c8beb5f.js';
14
+ import './icons.constant-a7885631.js';
15
+ import './config.utils-6ac6c9bd.js';
16
+ import './breakpoints.subject-f5de566e.js';
17
+ import './device-8c6d2881.js';
18
+ import './listener-04842ae9.js';
19
+ import './tokens.esm-c11c39eb.js';
20
+
21
+ 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}";
22
+ const BalSegmentStyle0 = balSegmentCss;
23
+
24
+ const Segment = class {
25
+ constructor(hostRef) {
26
+ registerInstance(this, hostRef);
27
+ this.balBlur = createEvent(this, "balBlur", 7);
28
+ this.balChange = createEvent(this, "balChange", 7);
29
+ this.balSelect = createEvent(this, "balSelect", 7);
30
+ this.balVertical = createEvent(this, "balVertical", 7);
31
+ this.getSegmentItem = (selector) => {
32
+ var _a, _b;
33
+ const items = this.items.filter(item => !item.disabled);
34
+ const currIndex = items.findIndex(item => item === document.activeElement.closest('bal-segment-item'));
35
+ switch (selector) {
36
+ case 'current':
37
+ return items[currIndex];
38
+ case 'first':
39
+ return items[0];
40
+ case 'last':
41
+ return items[items.length - 1];
42
+ case 'next':
43
+ return (_a = items[currIndex + 1]) !== null && _a !== void 0 ? _a : items[0];
44
+ case 'previous':
45
+ return (_b = items[currIndex - 1]) !== null && _b !== void 0 ? _b : items[items.length - 1];
46
+ default:
47
+ return null;
48
+ }
49
+ };
50
+ /**
51
+ * PRIVATE EVENT HANDLERS
52
+ * ------------------------------------------------------
53
+ */
54
+ this.onPointerDown = () => {
55
+ this.keyboardMode = false;
56
+ };
57
+ this.onSlottedItemsChange = () => {
58
+ /**
59
+ * When the slotted segment buttons change we need to
60
+ * ensure that the new segment buttons are checked if
61
+ * the value matches the segment button value.
62
+ */
63
+ this.valueChanged(this.value);
64
+ this.defineWidth();
65
+ };
66
+ this.onClick = (ev) => {
67
+ if (this.disabled) {
68
+ return;
69
+ }
70
+ const current = ev.target;
71
+ const previous = this.checked;
72
+ // If the current element is a segment then that means
73
+ // the user tried to swipe to a segment button and
74
+ // click a segment button at the same time so we should
75
+ // not update the checked segment button
76
+ if (current.tagName === 'BAL-SEGMENT') {
77
+ return;
78
+ }
79
+ if (current && current.setFocus) {
80
+ current.setFocus();
81
+ }
82
+ if (previous) {
83
+ this.checkButton(previous, current);
84
+ }
85
+ else {
86
+ this.setCheckedClasses();
87
+ this.checkButton(current, current);
88
+ }
89
+ if (current !== previous) {
90
+ this.emitValueChange();
91
+ }
92
+ };
93
+ this.focusedValue = undefined;
94
+ this.keyboardMode = true;
95
+ this.isVertical = false;
96
+ this.isMobile = false;
97
+ this.maxWidth = 0;
98
+ this.invalid = false;
99
+ this.disabled = false;
100
+ this.vertical = false;
101
+ this.scrollable = false;
102
+ this.expanded = false;
103
+ this.value = undefined;
104
+ }
105
+ createLogger(log) {
106
+ this.log = log;
107
+ }
108
+ valueChanged(value) {
109
+ /**
110
+ * `balSelect` is emitted every time the value changes (internal or external changes).
111
+ * Used by `bal-segment-item` to determine if the button should be checked.
112
+ */
113
+ this.balSelect.emit(value);
114
+ }
115
+ /**
116
+ * LIFECYCLE
117
+ * ------------------------------------------------------
118
+ */
119
+ connectedCallback() {
120
+ this.el.addEventListener('touchstart', this.onPointerDown);
121
+ this.el.addEventListener('mousedown', this.onPointerDown);
122
+ }
123
+ disconnectedCallback() {
124
+ this.el.removeEventListener('touchstart', this.onPointerDown);
125
+ this.el.removeEventListener('mousedown', this.onPointerDown);
126
+ }
127
+ async componentDidLoad() {
128
+ this.setCheckedClasses();
129
+ this.defineWidth();
130
+ }
131
+ /**
132
+ * LISTENERS
133
+ * ------------------------------------------------------
134
+ */
135
+ breakpointListener(breakpoints) {
136
+ this.isMobile = breakpoints.mobile;
137
+ }
138
+ windowResizeListener() {
139
+ if (this.vertical === false && this.maxWidth > 0) {
140
+ const parent = this.el.parentElement.getBoundingClientRect();
141
+ if (parent.width < this.maxWidth) {
142
+ //
143
+ // element in horizontal is to big
144
+ this.emitVerticalChange(true);
145
+ }
146
+ else {
147
+ //
148
+ // element has enough space in parent element
149
+ this.emitVerticalChange(false);
150
+ }
151
+ }
152
+ else {
153
+ this.emitVerticalChange(true);
154
+ }
155
+ }
156
+ listenOnBalBlur(ev) {
157
+ stopEventBubbling(ev);
158
+ this.balBlur.emit(ev.detail);
159
+ }
160
+ listenOnKeyDown(ev) {
161
+ this.keyboardMode = FOCUS_KEYS.includes(ev.key);
162
+ let current;
163
+ if (isSpaceKey(ev)) {
164
+ stopEventBubbling(ev);
165
+ current = this.getSegmentItem('current');
166
+ }
167
+ else if (isArrowUpKey(ev) || isArrowLeftKey(ev)) {
168
+ stopEventBubbling(ev);
169
+ current = this.getSegmentItem('previous');
170
+ }
171
+ else if (isArrowDownKey(ev) || isArrowRightKey(ev)) {
172
+ stopEventBubbling(ev);
173
+ current = this.getSegmentItem('next');
174
+ }
175
+ else if (isHomeKey(ev)) {
176
+ stopEventBubbling(ev);
177
+ current = this.getSegmentItem('first');
178
+ }
179
+ else if (isEndKey(ev)) {
180
+ stopEventBubbling(ev);
181
+ current = this.getSegmentItem('last');
182
+ }
183
+ if (!current) {
184
+ return;
185
+ }
186
+ const previous = this.checked;
187
+ if (current !== previous) {
188
+ this.checkButton(previous, current);
189
+ this.emitValueChange();
190
+ }
191
+ if (current) {
192
+ current.setFocus();
193
+ }
194
+ }
195
+ /**
196
+ * GETTERS
197
+ * ------------------------------------------------------
198
+ */
199
+ get items() {
200
+ return Array.from(this.el.querySelectorAll('bal-segment-item'));
201
+ }
202
+ get checked() {
203
+ return this.items.find(item => item.value === this.value);
204
+ }
205
+ /**
206
+ * PRIVATE METHODS
207
+ * ------------------------------------------------------
208
+ */
209
+ emitValueChange() {
210
+ this.balChange.emit(this.value);
211
+ }
212
+ emitVerticalChange(isVertical) {
213
+ if (this.isVertical !== isVertical) {
214
+ this.isVertical = isVertical;
215
+ this.balVertical.emit(this.isVertical);
216
+ }
217
+ }
218
+ defineWidth() {
219
+ raf(() => {
220
+ if (this.isVertical === false) {
221
+ const childRect = this.el.getBoundingClientRect();
222
+ this.maxWidth = childRect.width;
223
+ }
224
+ this.windowResizeListener();
225
+ });
226
+ }
227
+ getIndicator(item) {
228
+ const root = item.shadowRoot || item;
229
+ return root.querySelector('.bal-segment-item__indicator');
230
+ }
231
+ checkButton(previous, current) {
232
+ const previousIndicator = this.getIndicator(previous);
233
+ const currentIndicator = this.getIndicator(current);
234
+ if (previousIndicator === null || currentIndicator === null) {
235
+ return;
236
+ }
237
+ const previousClientRect = previousIndicator.getBoundingClientRect();
238
+ const currentClientRect = currentIndicator.getBoundingClientRect();
239
+ const widthDelta = previousClientRect.width / currentClientRect.width;
240
+ const xPosition = previousClientRect.left - currentClientRect.left;
241
+ // Scale the indicator width to match the previous indicator width
242
+ // and translate it on top of the previous indicator
243
+ let transform = `translate3d(${xPosition}px, 0, 0) scaleX(${widthDelta})`;
244
+ if (this.isVertical) {
245
+ const heightDelta = previousClientRect.height / currentClientRect.height;
246
+ const yPosition = previousClientRect.top - currentClientRect.top;
247
+ // Scale the indicator width to match the previous indicator width
248
+ // and translate it on top of the previous indicator
249
+ transform = `translate3d(0, ${yPosition}px, 0) scaleY(${heightDelta})`;
250
+ }
251
+ writeTask(() => {
252
+ // Remove the transition before positioning on top of the previous indicator
253
+ currentIndicator.classList.remove('bal-segment-item__indicator--animated');
254
+ currentIndicator.style.setProperty('transform', transform);
255
+ // Force a repaint to ensure the transform happens
256
+ currentIndicator.getBoundingClientRect();
257
+ // Add the transition to move the indicator into place
258
+ currentIndicator.classList.add('bal-segment-item__indicator--animated');
259
+ // Remove the transform to slide the indicator back to the button clicked
260
+ currentIndicator.style.setProperty('transform', '');
261
+ });
262
+ this.value = current.value;
263
+ this.setCheckedClasses();
264
+ }
265
+ setCheckedClasses() {
266
+ const items = this.items;
267
+ const index = items.findIndex(item => item.value === this.value);
268
+ const next = index + 1;
269
+ const previous = index - 1;
270
+ for (const item of items) {
271
+ item.classList.remove('bal-segment-item--after-checked');
272
+ item.classList.remove('bal-segment-item--before-checked');
273
+ }
274
+ if (next < items.length) {
275
+ items[next].classList.add('bal-segment-item--after-checked');
276
+ }
277
+ if (previous < items.length && previous >= 0) {
278
+ items[previous].classList.add('bal-segment-item--before-checked');
279
+ }
280
+ }
281
+ /**
282
+ * RENDER
283
+ * ------------------------------------------------------
284
+ */
285
+ render() {
286
+ const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile } = this;
287
+ const block = BEM.block('segment');
288
+ 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 })));
289
+ }
290
+ get el() { return getElement(this); }
291
+ static get watchers() { return {
292
+ "value": ["valueChanged"]
293
+ }; }
294
+ };
295
+ __decorate([
296
+ Logger('bal-segment'),
297
+ __metadata("design:type", Function),
298
+ __metadata("design:paramtypes", [Function]),
299
+ __metadata("design:returntype", void 0)
300
+ ], Segment.prototype, "createLogger", null);
301
+ __decorate([
302
+ ListenToBreakpoints(),
303
+ __metadata("design:type", Function),
304
+ __metadata("design:paramtypes", [Object]),
305
+ __metadata("design:returntype", void 0)
306
+ ], Segment.prototype, "breakpointListener", null);
307
+ __decorate([
308
+ ListenToWindowResize(),
309
+ __metadata("design:type", Function),
310
+ __metadata("design:paramtypes", []),
311
+ __metadata("design:returntype", void 0)
312
+ ], Segment.prototype, "windowResizeListener", null);
313
+ Segment.style = BalSegmentStyle0;
314
+
315
+ export { Segment as bal_segment };
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { l as lodash_isnil } from './index-82aff103.js';
4
4
  import { k as rIC, d as waitAfterIdleCallback, e as deepReady, i as isDescendant, h as debounce } from './helpers-c201154e.js';
5
- import { e as isSpaceKey, o as areArraysEqual, q as isArrowDownKey, s as isArrowUpKey, h as isEnterKey, u as isEscapeKey, y as isBackspaceKey } from './index.esm-83b1f9c4.js';
5
+ import { e as isSpaceKey, o as areArraysEqual, q as isArrowDownKey, s as isArrowUpKey, h as isEnterKey, u as isEscapeKey, y as isBackspaceKey } from './index.esm-76abd8e3.js';
6
6
  import { r as removeValue, p as preventDefault, l as length, g as getValues, i as includes, s as startsWith, a as addValue, f as findLabelByValue, b as findOptionByLabel, v as validateAfterBlur } from './utils-9fbab1d3.js';
7
7
  import { s as stopEventBubbling } from './form-input-28a08ec5.js';
8
8
  import { B as BEM } from './bem-8c7d2eb0.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { B as BEM } from './bem-8c7d2eb0.js';
3
- import { f as balColorGrey4, g as balColorYellow3, h as balColorYellow5, i as balColorPurple3, j as balColorPurple6, k as balColorRed3, l as balColorRed5, m as balColorGreen3, n as balColorGreen6 } from './tokens.esm-70c16b84.js';
3
+ import { f as balColorGrey4, g as balColorYellow3, h as balColorYellow5, i as balColorPurple3, j as balColorPurple6, k as balColorRed3, l as balColorRed5, m as balColorGreen3, n as balColorGreen6 } from './tokens.esm-c11c39eb.js';
4
4
 
5
5
  const balShapeCss = ".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";
6
6
  const BalShapeStyle0 = balShapeCss;
@@ -4,7 +4,7 @@ import { B as BEM } from './bem-8c7d2eb0.js';
4
4
  import { L as Logger } from './log-dfd1c19f.js';
5
5
  import './browser-a8073d92.js';
6
6
 
7
- 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}";
7
+ 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}";
8
8
  const BalStackStyle0 = balStackCss;
9
9
 
10
10
  const Stack = class {
@@ -3,12 +3,12 @@ import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { m as debounceEvent } from './helpers-c201154e.js';
4
4
  import { B as BEM } from './bem-8c7d2eb0.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
- import { o as areArraysEqual } from './index.esm-83b1f9c4.js';
6
+ import { o as areArraysEqual } from './index.esm-76abd8e3.js';
7
7
  import { s as stopEventBubbling } from './form-input-28a08ec5.js';
8
8
  import { n as newBalStepOption } from './bal-step.util-3905ad56.js';
9
- import { b as balBreakpoints } from './breakpoints.subject-f57eda2c.js';
9
+ import { b as balBreakpoints } from './breakpoints.subject-f5de566e.js';
10
10
  import { L as ListenToMutation } from './mutation.decorator-c7b24839.js';
11
- import { L as ListenToBreakpoints } from './breakpoints.decorator-d0f1affe.js';
11
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-51c7b274.js';
12
12
  import './browser-a8073d92.js';
13
13
  import './icons.constant-a7885631.js';
14
14
  import './config.utils-6ac6c9bd.js';
@@ -16,7 +16,7 @@ import './index-82aff103.js';
16
16
  import './_commonjsHelpers-1c8beb5f.js';
17
17
  import './device-8c6d2881.js';
18
18
  import './listener-04842ae9.js';
19
- import './tokens.esm-70c16b84.js';
19
+ import './tokens.esm-c11c39eb.js';
20
20
 
21
21
  const StepIcon = ({ item, isMobile }) => {
22
22
  const bemEl = BEM.block('steps').element('nav').element('item').element('icon');