@baloise/ds-core 19.9.4-nightly.20260513 → 19.9.5

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 (214) hide show
  1. package/components/all.d.ts +0 -2
  2. package/components/all.js +0 -3
  3. package/components/animation.decorator.js +1 -1
  4. package/components/bal-accordion.js +1 -1
  5. package/components/bal-app.js +102 -1
  6. package/components/bal-button2.js +1 -1
  7. package/components/bal-carousel-item.js +1 -1
  8. package/components/bal-checkbox-group.js +21 -3
  9. package/components/bal-checkbox2.js +21 -4
  10. package/components/bal-date-calendar2.js +1 -1
  11. package/components/bal-date.js +1 -1
  12. package/components/bal-dropdown.js +1 -1
  13. package/components/bal-field.js +1 -1
  14. package/components/bal-footer.js +1 -1
  15. package/components/bal-form.js +1 -1
  16. package/components/bal-input-stepper.js +1 -1
  17. package/components/bal-list-item-accordion-body2.js +1 -1
  18. package/components/bal-list-item2.js +1 -1
  19. package/components/bal-logo2.js +1 -1
  20. package/components/bal-modal.js +1 -1
  21. package/components/bal-nav.js +65 -53
  22. package/components/bal-navbar-brand.js +1 -1
  23. package/components/bal-option-list2.js +1 -1
  24. package/components/bal-popup2.js +1 -1
  25. package/components/bal-radio-group.js +1 -1
  26. package/components/bal-segment-item.js +1 -1
  27. package/components/bal-select2.js +23 -11
  28. package/components/bal-spinner2.js +1 -1
  29. package/components/bal-stage-image.js +1 -1
  30. package/components/bal-switch.js +1 -74
  31. package/{dist/esm/bal-switch.entry.js → components/bal-switch2.js} +36 -8
  32. package/components/bal-tabs2.js +29 -17
  33. package/components/breakpoints.subject.js +1 -1
  34. package/components/element-states.decorator.js +1 -1
  35. package/components/floating-ui.js +1 -1
  36. package/components/focus.decorator.js +1 -1
  37. package/components/form-input.js +1 -1
  38. package/components/helpers.js +1 -1
  39. package/components/index.js +449 -5
  40. package/components/mutation.decorator.js +1 -1
  41. package/components/overlays.js +1 -1
  42. package/components/resize.decorator.js +1 -1
  43. package/components/swipe.subject.js +1 -1
  44. package/components/swiper.util.js +1 -1
  45. package/components/tokens.esm.js +1 -1
  46. package/components/visibility.decorator.js +1 -1
  47. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  48. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  49. package/dist/baloise-design-system/index.esm.js +1 -1
  50. package/dist/baloise-design-system/{p-09d63730a7.entry.js → p-1bb5b8696e.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-1d7406989c.system.entry.js +1 -0
  52. package/dist/baloise-design-system/{p-0b1aeaaed8.entry.js → p-3850595dd0.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-81c4b117a6.system.entry.js → p-43dd693355.system.entry.js} +1 -1
  54. package/dist/baloise-design-system/{p-8f510eed45.entry.js → p-477359bbf9.entry.js} +1 -1
  55. package/dist/baloise-design-system/{p-873a0bf9d9.system.entry.js → p-59129fb1d1.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/{p-CIBedZ4h.js → p-5GEK9UQy.js} +1 -1
  57. package/dist/baloise-design-system/{p-8bc92b4b2e.system.entry.js → p-607125007c.system.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-38888ff243.system.entry.js → p-64d45da025.system.entry.js} +1 -1
  59. package/dist/baloise-design-system/{p-89a45b7719.system.entry.js → p-68baccfba9.system.entry.js} +1 -1
  60. package/dist/baloise-design-system/{p-8da007a406.entry.js → p-68f77714ab.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-9459a04689.system.entry.js → p-6c3d087d59.system.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-627def5e99.entry.js → p-74fe27789f.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-41e1ac82bb.entry.js → p-8268d61dd6.entry.js} +1 -1
  64. package/dist/baloise-design-system/{p-b273a2f73a.entry.js → p-8e3412d465.entry.js} +1 -1
  65. package/dist/baloise-design-system/p-BFRjY4w3.js +1 -1
  66. package/dist/baloise-design-system/p-BRAmUyPx.system.js +1 -1
  67. package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +1 -0
  68. package/dist/baloise-design-system/p-CKN3W8qn.js +1 -0
  69. package/dist/baloise-design-system/{p-x0vPGP6t.system.js → p-CPHPFMUC.system.js} +1 -1
  70. package/dist/baloise-design-system/{p-3VlTyI5Z.system.js → p-CsPrCX4f.system.js} +1 -1
  71. package/dist/baloise-design-system/{p-CWajPM1f.system.js → p-DLLNm5Gs.system.js} +1 -1
  72. package/dist/baloise-design-system/{p-BQ-ZBPGz.js → p-DvLv1IDC.js} +1 -1
  73. package/dist/baloise-design-system/{p-DOmwcY8I.system.js → p-DxnFuP0T.system.js} +1 -1
  74. package/dist/baloise-design-system/{p-BeOuHPcP.js → p-Oz8SBVmc.js} +1 -1
  75. package/dist/baloise-design-system/p-aDM_iThE.system.js +1 -0
  76. package/dist/baloise-design-system/{p-bd8e1fd900.entry.js → p-af05694fd5.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-2bd8d02b81.entry.js → p-b670d9cae9.entry.js} +1 -1
  78. package/dist/baloise-design-system/{p-46986c305d.system.entry.js → p-b6e82651ef.system.entry.js} +1 -1
  79. package/dist/baloise-design-system/{p-4df7edd98f.entry.js → p-bac3d30df3.entry.js} +1 -1
  80. package/dist/baloise-design-system/{p-1922f177ca.system.entry.js → p-bbeeefc31a.system.entry.js} +1 -1
  81. package/dist/baloise-design-system/{p-b75d71bb54.entry.js → p-c31dc8146b.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-439f4eac54.system.entry.js → p-c4a244b558.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-4f5b4d3b9e.entry.js → p-c5ae87f18e.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-15a9d2bdb4.entry.js → p-c8b853074f.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-8058e17e38.system.entry.js → p-d21134a60b.system.entry.js} +1 -1
  86. package/dist/baloise-design-system/{p-c6f0c6f765.system.entry.js → p-d5bd821ab7.system.entry.js} +1 -1
  87. package/dist/baloise-design-system/p-d9349f5eb0.entry.js +1 -0
  88. package/dist/baloise-design-system/{p-7d611a8e60.entry.js → p-e6f03ecdd0.entry.js} +1 -1
  89. package/dist/baloise-design-system/{p-c72c874ad0.system.entry.js → p-eb2f5b22de.system.entry.js} +1 -1
  90. package/dist/baloise-design-system/{p-4b6f33ea10.system.entry.js → p-f2435a528c.system.entry.js} +1 -1
  91. package/dist/baloise-design-system/{p-2cab716afd.system.entry.js → p-fa728470a3.system.entry.js} +1 -1
  92. package/dist/cjs/{global-BOGOCc0T.js → app-globals-D4xKyILL.js} +4 -2
  93. package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
  94. package/dist/cjs/{bal-dropdown_3.cjs.entry.js → bal-check_7.cjs.entry.js} +815 -9
  95. package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
  96. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  97. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  98. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  99. package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
  100. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  101. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  102. package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
  103. package/dist/cjs/{bal-radio_2.cjs.entry.js → bal-radio_3.cjs.entry.js} +50 -0
  104. package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
  105. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  106. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  107. package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
  108. package/dist/cjs/baloise-design-system.cjs.js +2 -3
  109. package/dist/cjs/{breakpoints.decorator-CDD6cOv6.js → breakpoints.decorator-DPrGtqtk.js} +1 -1
  110. package/dist/cjs/{breakpoints.subject-DpuyBCjh.js → breakpoints.subject-C1p-ePFH.js} +1 -1
  111. package/dist/cjs/index.cjs.js +2 -2
  112. package/dist/cjs/initialize-BzrcZo6Y.js +1 -1
  113. package/dist/cjs/loader.cjs.js +2 -3
  114. package/dist/cjs/{tokens.esm-LV2Uuiay.js → tokens.esm-BWWYqtq4.js} +1 -1
  115. package/dist/cjs/{window-resize.decorator-C-w0-60C.js → window-resize.decorator-DRN0wiUR.js} +1 -1
  116. package/dist/collection/collection-manifest.json +15 -17
  117. package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -3
  118. package/dist/collection/utils/constants/version.constant.js +1 -1
  119. package/dist/esm/{global-Llrc69_N.js → app-globals-Blx--ecs.js} +4 -2
  120. package/dist/esm/bal-carousel_2.entry.js +3 -3
  121. package/dist/esm/{bal-dropdown_3.entry.js → bal-check_7.entry.js} +815 -13
  122. package/dist/esm/bal-field_5.entry.js +3 -3
  123. package/dist/esm/bal-hint_5.entry.js +3 -3
  124. package/dist/esm/bal-list_8.entry.js +3 -3
  125. package/dist/esm/bal-logo.entry.js +3 -3
  126. package/dist/esm/bal-nav_8.entry.js +3 -3
  127. package/dist/esm/bal-navbar_5.entry.js +3 -3
  128. package/dist/esm/bal-pagination.entry.js +3 -3
  129. package/dist/esm/bal-progress-bar.entry.js +4 -4
  130. package/dist/esm/{bal-radio_2.entry.js → bal-radio_3.entry.js} +50 -1
  131. package/dist/esm/bal-segment_2.entry.js +4 -4
  132. package/dist/esm/bal-shape.entry.js +1 -1
  133. package/dist/esm/bal-steps.entry.js +3 -3
  134. package/dist/esm/bal-tab-item_2.entry.js +3 -3
  135. package/dist/esm/baloise-design-system.js +2 -3
  136. package/dist/esm/{breakpoints.decorator-DcfCKRvu.js → breakpoints.decorator-DwhK_t2m.js} +1 -1
  137. package/dist/esm/{breakpoints.subject-9qUvMXOC.js → breakpoints.subject-PxavGndB.js} +1 -1
  138. package/dist/esm/index.js +3 -3
  139. package/dist/esm/initialize-W3od-FM9.js +1 -1
  140. package/dist/esm/loader.js +2 -3
  141. package/dist/esm/{tokens.esm-CvA86VZU.js → tokens.esm-Dk6PruGq.js} +1 -1
  142. package/dist/esm/{window-resize.decorator-DNh3w5KW.js → window-resize.decorator-DiNYHJee.js} +1 -1
  143. package/dist/esm-es5/app-globals-Blx--ecs.js +1 -0
  144. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  145. package/dist/esm-es5/bal-check_7.entry.js +1 -0
  146. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  147. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  148. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  149. package/dist/esm-es5/bal-logo.entry.js +1 -1
  150. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  151. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  152. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  153. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  154. package/dist/esm-es5/{bal-radio_2.entry.js → bal-radio_3.entry.js} +1 -1
  155. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  156. package/dist/esm-es5/bal-shape.entry.js +1 -1
  157. package/dist/esm-es5/bal-steps.entry.js +1 -1
  158. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  159. package/dist/esm-es5/baloise-design-system.js +1 -1
  160. package/dist/esm-es5/{breakpoints.decorator-DcfCKRvu.js → breakpoints.decorator-DwhK_t2m.js} +1 -1
  161. package/dist/esm-es5/{breakpoints.subject-9qUvMXOC.js → breakpoints.subject-PxavGndB.js} +1 -1
  162. package/dist/esm-es5/index.js +1 -1
  163. package/dist/esm-es5/initialize-W3od-FM9.js +1 -1
  164. package/dist/esm-es5/loader.js +1 -1
  165. package/dist/esm-es5/{window-resize.decorator-DNh3w5KW.js → window-resize.decorator-DiNYHJee.js} +1 -1
  166. package/dist/types/components.d.ts +0 -75
  167. package/package.json +6 -6
  168. package/components/bal-app2.js +0 -104
  169. package/components/bal-doc-app.d.ts +0 -11
  170. package/components/bal-doc-app.js +0 -264
  171. package/components/initialize.js +0 -450
  172. package/dist/baloise-design-system/p-00d493e589.system.entry.js +0 -1
  173. package/dist/baloise-design-system/p-21ea7b32f1.system.entry.js +0 -1
  174. package/dist/baloise-design-system/p-24185181f1.system.entry.js +0 -1
  175. package/dist/baloise-design-system/p-2dbbdfb785.system.entry.js +0 -1
  176. package/dist/baloise-design-system/p-5965694a0f.entry.js +0 -1
  177. package/dist/baloise-design-system/p-75f3abf19e.system.entry.js +0 -1
  178. package/dist/baloise-design-system/p-90d225c57c.system.entry.js +0 -1
  179. package/dist/baloise-design-system/p-9ca0a9bf5c.entry.js +0 -1
  180. package/dist/baloise-design-system/p-BvSkuJ_n.js +0 -1
  181. package/dist/baloise-design-system/p-BzIZLOtt.system.js +0 -1
  182. package/dist/baloise-design-system/p-C_qvcMEM.system.js +0 -1
  183. package/dist/baloise-design-system/p-DrynNwPm.system.js +0 -1
  184. package/dist/baloise-design-system/p-Ectc3YAG.js +0 -1
  185. package/dist/baloise-design-system/p-a97c5309f7.entry.js +0 -1
  186. package/dist/baloise-design-system/p-f217ad88a9.entry.js +0 -1
  187. package/dist/baloise-design-system/p-f7b16f08ab.entry.js +0 -1
  188. package/dist/baloise-design-system/p-fc9a46b295.entry.js +0 -1
  189. package/dist/cjs/app-globals-DcKvQZAC.js +0 -7
  190. package/dist/cjs/bal-check.cjs.entry.js +0 -55
  191. package/dist/cjs/bal-checkbox_2.cjs.entry.js +0 -734
  192. package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
  193. package/dist/cjs/bal-radio-icon.cjs.entry.js +0 -55
  194. package/dist/cjs/bal-switch.cjs.entry.js +0 -50
  195. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
  196. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -248
  197. package/dist/esm/app-globals-CIj5uAPM.js +0 -5
  198. package/dist/esm/bal-check.entry.js +0 -53
  199. package/dist/esm/bal-checkbox_2.entry.js +0 -731
  200. package/dist/esm/bal-doc-app.entry.js +0 -229
  201. package/dist/esm/bal-radio-icon.entry.js +0 -53
  202. package/dist/esm-es5/app-globals-CIj5uAPM.js +0 -1
  203. package/dist/esm-es5/bal-check.entry.js +0 -1
  204. package/dist/esm-es5/bal-checkbox_2.entry.js +0 -1
  205. package/dist/esm-es5/bal-doc-app.entry.js +0 -1
  206. package/dist/esm-es5/bal-dropdown_3.entry.js +0 -1
  207. package/dist/esm-es5/bal-radio-icon.entry.js +0 -1
  208. package/dist/esm-es5/bal-switch.entry.js +0 -1
  209. package/dist/esm-es5/global-Llrc69_N.js +0 -1
  210. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
  211. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
  212. /package/dist/baloise-design-system/{p-CvA86VZU.js → p-Dk6PruGq.js} +0 -0
  213. /package/dist/baloise-design-system/{p-BpG6m494.system.js → p-Nqmo3uHl.system.js} +0 -0
  214. /package/dist/esm-es5/{tokens.esm-CvA86VZU.js → tokens.esm-Dk6PruGq.js} +0 -0
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
27
27
  import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
28
28
  import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
29
29
  import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
30
- import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
31
30
  import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
32
31
  import { BalField, defineCustomElement as defineBalField } from './bal-field'
33
32
  import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
146
145
  export { BalDateCalendar, defineBalDateCalendar }
147
146
  export { BalDateCalendarCell, defineBalDateCalendarCell }
148
147
  export { BalDivider, defineBalDivider }
149
- export { BalDocApp, defineBalDocApp }
150
148
  export { BalDropdown, defineBalDropdown }
151
149
  export { BalField, defineBalField }
152
150
  export { BalFieldControl, defineBalFieldControl }
package/components/all.js CHANGED
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
27
27
  import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
28
28
  import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
29
29
  import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
30
- import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
31
30
  import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
32
31
  import { BalField, defineCustomElement as defineBalField } from './bal-field'
33
32
  import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
146
145
  export { BalDateCalendar, defineBalDateCalendar }
147
146
  export { BalDateCalendarCell, defineBalDateCalendarCell }
148
147
  export { BalDivider, defineBalDivider }
149
- export { BalDocApp, defineBalDocApp }
150
148
  export { BalDropdown, defineBalDropdown }
151
149
  export { BalField, defineBalField }
152
150
  export { BalFieldControl, defineBalFieldControl }
@@ -266,7 +264,6 @@ export const defineAllComponents = () => {
266
264
  defineBalDateCalendar()
267
265
  defineBalDateCalendarCell()
268
266
  defineBalDivider()
269
- defineBalDocApp()
270
267
  defineBalDropdown()
271
268
  defineBalField()
272
269
  defineBalFieldControl()
@@ -1,4 +1,4 @@
1
- import { q as debounce, v as isChildOfEventTarget, o as addEventListener, p as removeEventListener } from './helpers.js';
1
+ import { l as debounce, v as isChildOfEventTarget, p as addEventListener, q as removeEventListener } from './helpers.js';
2
2
  import { L as ListenerAbstract, a as SingleSubject } from './listener.js';
3
3
 
4
4
  class BalAnimationListener extends ListenerAbstract {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { B as BEM } from './bem.js';
4
- import { r as raf, k as debounceEvent, f as waitForComponent, t as transitionEndAsync } from './helpers.js';
4
+ import { r as raf, k as debounceEvent, w as waitForComponent, t as transitionEndAsync } from './helpers.js';
5
5
  import { L as Logger } from './log.js';
6
6
  import { d as defineCustomElement$4 } from './bal-button2.js';
7
7
  import { d as defineCustomElement$3 } from './bal-icon2.js';
@@ -1,4 +1,105 @@
1
- import { A as App, d as defineCustomElement$1 } from './bal-app2.js';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
+ import { b as balBrowser } from './browser.js';
4
+ import { b as balDevice } from './device.js';
5
+ import { s as startFocusVisible } from './focus-visible.js';
6
+ import { l as debounce, m as rIC, n as rOnLoad } from './helpers.js';
7
+ import { L as Logger } from './log.js';
8
+ import { b as updateBalAnimated } from './config.utils.js';
9
+
10
+ const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
11
+
12
+ const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
13
+ constructor(registerHost) {
14
+ super();
15
+ if (registerHost !== false) {
16
+ this.__registerHost();
17
+ }
18
+ this.balAppReady = createEvent(this, "balAppReady", 7);
19
+ this.debouncedNotify = debounce(() => this.notifyResize(), 100);
20
+ /**
21
+ * Disables all animation inside the bal-app. Can be used for simplify e2e testing.
22
+ */
23
+ this.animated = true;
24
+ /**
25
+ * @internal Is `true` when DS components are ready to be shown.
26
+ */
27
+ this.ready = false;
28
+ this.notifyResize = async () => {
29
+ if (balBrowser.hasDocument && balBrowser.hasWindow) {
30
+ const doc = document.documentElement;
31
+ doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
32
+ }
33
+ };
34
+ }
35
+ createLogger(log) {
36
+ this.log = log;
37
+ }
38
+ connectedCallback() {
39
+ if (this.animated === false) {
40
+ updateBalAnimated(this.animated);
41
+ }
42
+ if (balBrowser.hasWindow) {
43
+ window.addEventListener('resize', this.debouncedNotify);
44
+ this.debouncedNotify();
45
+ }
46
+ }
47
+ componentDidLoad() {
48
+ rIC(() => {
49
+ this.ready = true;
50
+ startFocusVisible();
51
+ });
52
+ rOnLoad(() => {
53
+ if (balBrowser.hasDocument && balBrowser.hasWindow) {
54
+ const doc = document.documentElement;
55
+ doc.classList.add('lcp-ready');
56
+ this.balAppReady.emit();
57
+ }
58
+ });
59
+ }
60
+ disconnectedCallback() {
61
+ if (balBrowser.hasWindow) {
62
+ window.removeEventListener('resize', this.debouncedNotify);
63
+ }
64
+ }
65
+ async setFocus(elements) {
66
+ if (this.focusVisible) {
67
+ this.focusVisible.setFocus(elements);
68
+ }
69
+ }
70
+ render() {
71
+ return (h(Host, { key: 'e6229236201fea92c4ccb1812f2f280a06130889', class: {
72
+ 'bal-app': true,
73
+ 'bal-app--safari': balBrowser.isSafari,
74
+ 'bal-app--touch': balDevice.hasTouchScreen,
75
+ } }, h("slot", { key: '7712c7609c709dbe754eaf5700fd43ca3992a39f' })));
76
+ }
77
+ get el() { return this; }
78
+ static get style() { return balAppCss; }
79
+ }, [260, "bal-app", {
80
+ "animated": [516],
81
+ "ready": [1540],
82
+ "setFocus": [64]
83
+ }]);
84
+ __decorate([
85
+ Logger('bal-app'),
86
+ __metadata("design:type", Function),
87
+ __metadata("design:paramtypes", [Function]),
88
+ __metadata("design:returntype", void 0)
89
+ ], App.prototype, "createLogger", null);
90
+ function defineCustomElement$1() {
91
+ if (typeof customElements === "undefined") {
92
+ return;
93
+ }
94
+ const components = ["bal-app"];
95
+ components.forEach(tagName => { switch (tagName) {
96
+ case "bal-app":
97
+ if (!customElements.get(tagName)) {
98
+ customElements.define(tagName, App);
99
+ }
100
+ break;
101
+ } });
102
+ }
2
103
 
3
104
  const BalApp = App;
4
105
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { a as ariaBooleanToString } from './aria.js';
3
3
  import { i as inheritAttributes } from './attributes.js';
4
- import { l as rOnLoad } from './helpers.js';
4
+ import { n as rOnLoad } from './helpers.js';
5
5
  import { d as defineCustomElement$2 } from './bal-icon2.js';
6
6
  import { d as defineCustomElement$1 } from './bal-spinner2.js';
7
7
 
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { s as sanitizeSvg } from './svg.js';
3
3
  import { i as inheritAttributes } from './attributes.js';
4
4
  import { B as BEM } from './bem.js';
5
- import { l as rOnLoad, a as waitAfterFramePaint } from './helpers.js';
5
+ import { n as rOnLoad, b as waitAfterFramePaint } from './helpers.js';
6
6
  import { t as toKebabCase } from './string.js';
7
7
 
8
8
  const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends HTMLElement {
@@ -6,9 +6,12 @@ import { i as inheritAttributes } from './attributes.js';
6
6
  import { B as BEM } from './bem.js';
7
7
  import { d as defaultBalAriaForm } from './form.js';
8
8
  import { s as stopEventBubbling } from './form-input.js';
9
- import { i as isDescendant, m as hasTagName } from './helpers.js';
9
+ import { i as isDescendant, o as hasTagName } from './helpers.js';
10
10
  import { L as Logger } from './log.js';
11
- import { d as defineCustomElement$2 } from './bal-checkbox2.js';
11
+ import { d as defineCustomElement$5 } from './bal-check2.js';
12
+ import { d as defineCustomElement$4 } from './bal-checkbox2.js';
13
+ import { d as defineCustomElement$3 } from './bal-icon2.js';
14
+ import { d as defineCustomElement$2 } from './bal-switch2.js';
12
15
  import { L as ListenToFocus } from './focus.decorator.js';
13
16
  import { L as ListenToMutation } from './mutation.decorator.js';
14
17
 
@@ -392,14 +395,29 @@ function defineCustomElement$1() {
392
395
  if (typeof customElements === "undefined") {
393
396
  return;
394
397
  }
395
- const components = ["bal-checkbox-group", "bal-checkbox"];
398
+ const components = ["bal-checkbox-group", "bal-check", "bal-checkbox", "bal-icon", "bal-switch"];
396
399
  components.forEach(tagName => { switch (tagName) {
397
400
  case "bal-checkbox-group":
398
401
  if (!customElements.get(tagName)) {
399
402
  customElements.define(tagName, CheckboxGroup);
400
403
  }
401
404
  break;
405
+ case "bal-check":
406
+ if (!customElements.get(tagName)) {
407
+ defineCustomElement$5();
408
+ }
409
+ break;
402
410
  case "bal-checkbox":
411
+ if (!customElements.get(tagName)) {
412
+ defineCustomElement$4();
413
+ }
414
+ break;
415
+ case "bal-icon":
416
+ if (!customElements.get(tagName)) {
417
+ defineCustomElement$3();
418
+ }
419
+ break;
420
+ case "bal-switch":
403
421
  if (!customElements.get(tagName)) {
404
422
  defineCustomElement$2();
405
423
  }
@@ -8,6 +8,9 @@ import { d as defaultBalAriaForm } from './form.js';
8
8
  import { s as stopEventBubbling, i as inputSetFocus, a as inputSetBlur } from './form-input.js';
9
9
  import { i as isDescendant } from './helpers.js';
10
10
  import { L as Logger } from './log.js';
11
+ import { d as defineCustomElement$3 } from './bal-check2.js';
12
+ import { d as defineCustomElement$2 } from './bal-icon2.js';
13
+ import { d as defineCustomElement$1 } from './bal-switch2.js';
11
14
  import { L as ListenToElementStates } from './element-states.decorator.js';
12
15
  import { a as isSpaceKey } from './keyboard.helpers.js';
13
16
 
@@ -349,12 +352,11 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class Checkbox extends HTMLEle
349
352
  const id = this.ariaForm.controlId || this.inputId;
350
353
  const labelId = this.ariaForm.labelId || null;
351
354
  const LabelTag = hasFormControl ? 'label' : 'span';
352
- const Icon = this.interface === 'switch' ? 'bal-switch' : 'bal-check';
353
- return (h(Host, { key: 'eaa9cf2ba9de2a203b98515939ff117c89dc16cf', "aria-checked": `${this.checked}`, "aria-disabled": ariaBooleanToString(this.disabled), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-hidden": ariaBooleanToString(this.disabled || this.nonSubmit), "aria-focused": focused ? 'true' : null, "aria-labelledby": labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'bal-focused': focused }, block.class()), block.modifier('checkbox').class()), block.modifier('button').class(this.interface === 'button')), block.modifier('switch').class(this.interface === 'switch')), block.modifier('tile').class(this.interface === 'tile')), block.modifier(`tile-color-${this.color}`).class(this.interface === 'tile' && !!this.color)), block.modifier('focused').class(this.focused)), block.modifier('invalid').class(this.invalid)), block.modifier('checked').class(this.checked)), block.modifier('flat').class(this.flat)), block.modifier('disabled').class(this.disabled || this.readonly)), block.modifier('hovered').class(this.mergedElementState.hovered)), block.modifier('pressed').class(this.mergedElementState.pressed)), block.modifier(`column-${this.colSize}`).class(this.interface === 'tile' && this.colSize > 1)), block
355
+ return (h(Host, { key: 'e6718d0f01496940fbc03686159599af02e63be2', "aria-checked": `${this.checked}`, "aria-disabled": ariaBooleanToString(this.disabled), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-hidden": ariaBooleanToString(this.disabled || this.nonSubmit), "aria-focused": focused ? 'true' : null, "aria-labelledby": labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'bal-focused': focused }, block.class()), block.modifier('checkbox').class()), block.modifier('button').class(this.interface === 'button')), block.modifier('switch').class(this.interface === 'switch')), block.modifier('tile').class(this.interface === 'tile')), block.modifier(`tile-color-${this.color}`).class(this.interface === 'tile' && !!this.color)), block.modifier('focused').class(this.focused)), block.modifier('invalid').class(this.invalid)), block.modifier('checked').class(this.checked)), block.modifier('flat').class(this.flat)), block.modifier('disabled').class(this.disabled || this.readonly)), block.modifier('hovered').class(this.mergedElementState.hovered)), block.modifier('pressed').class(this.mergedElementState.pressed)), block.modifier(`column-${this.colSize}`).class(this.interface === 'tile' && this.colSize > 1)), block
354
356
  .modifier(`column-tablet-${this.colSizeTablet}`)
355
357
  .class(this.interface === 'tile' && this.colSizeTablet > 1)), block
356
358
  .modifier(`column-mobile-${this.colSizeMobile}`)
357
- .class(this.interface === 'tile' && this.colSizeMobile > 1)), onClick: this.onClick }, h(LabelTag, { key: '6fd849f4768bc7155eb5db297713bc82aeab6dfe', class: Object.assign({}, labelEl.class()), "data-testid": "bal-checkbox-label" }, hasFormControl ? (h("input", Object.assign({ id: id, type: "checkbox", "data-testid": "bal-checkbox-input", name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled || this.nonSubmit, readonly: this.readonly, class: Object.assign({}, inputEl.class()), "aria-hidden": ariaBooleanToString(this.nonSubmit), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-describedby": this.ariaForm.messageId, onChange: ev => this.toggleChecked(ev), onFocus: ev => this.onFocus(ev), onBlur: ev => this.onBlur(ev), ref: inputEl => (this.nativeInput = inputEl) }, inputAttributes))) : (''), this.interface !== 'tile' ? (h("div", { class: Object.assign({}, labelIconEl.class()) }, h(Icon, { checked: this.checked, disabled: this.disabled || this.readonly, invalid: this.invalid, inverted: this.interface === 'button' && this.checked, hovered: this.mergedElementState.hovered, pressed: this.mergedElementState.pressed }))) : (''), h("div", { key: 'ca1ec209d9211082db1d0905e599eea5e6803244', class: Object.assign(Object.assign({}, labelTextEl.class()), labelTextEl.modifier('hidden').class(this.labelHidden)) }, h("slot", { key: 'a2a3c8124d7d47bf300b229fe01e62fa198961c0' })))));
359
+ .class(this.interface === 'tile' && this.colSizeMobile > 1)), onClick: this.onClick }, h(LabelTag, { key: '3bd8c2c8217d5e958009aeb3465bd7c8446c6960', class: Object.assign({}, labelEl.class()), "data-testid": "bal-checkbox-label" }, hasFormControl ? (h("input", Object.assign({ id: id, type: "checkbox", "data-testid": "bal-checkbox-input", name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled || this.nonSubmit, readonly: this.readonly, class: Object.assign({}, inputEl.class()), "aria-hidden": ariaBooleanToString(this.nonSubmit), "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-describedby": this.ariaForm.messageId, onChange: ev => this.toggleChecked(ev), onFocus: ev => this.onFocus(ev), onBlur: ev => this.onBlur(ev), ref: inputEl => (this.nativeInput = inputEl) }, inputAttributes))) : (''), this.interface !== 'tile' ? (h("div", { class: Object.assign({}, labelIconEl.class()) }, this.interface === 'switch' ? (h("bal-switch", { checked: this.checked, disabled: this.disabled || this.readonly, invalid: this.invalid, hovered: this.mergedElementState.hovered, pressed: this.mergedElementState.pressed })) : (h("bal-check", { checked: this.checked, disabled: this.disabled || this.readonly, invalid: this.invalid, inverted: this.interface === 'button' && this.checked, hovered: this.mergedElementState.hovered, pressed: this.mergedElementState.pressed })))) : (''), h("div", { key: 'c1d1b270f076b748681da1d4fdb36380e8bfaf45', class: Object.assign(Object.assign({}, labelTextEl.class()), labelTextEl.modifier('hidden').class(this.labelHidden)) }, h("slot", { key: '123d7f262307eda399023cdc4ecbe6c83d352336' })))));
358
360
  }
359
361
  get el() { return this; }
360
362
  static get watchers() { return {
@@ -415,13 +417,28 @@ function defineCustomElement() {
415
417
  if (typeof customElements === "undefined") {
416
418
  return;
417
419
  }
418
- const components = ["bal-checkbox"];
420
+ const components = ["bal-checkbox", "bal-check", "bal-icon", "bal-switch"];
419
421
  components.forEach(tagName => { switch (tagName) {
420
422
  case "bal-checkbox":
421
423
  if (!customElements.get(tagName)) {
422
424
  customElements.define(tagName, Checkbox);
423
425
  }
424
426
  break;
427
+ case "bal-check":
428
+ if (!customElements.get(tagName)) {
429
+ defineCustomElement$3();
430
+ }
431
+ break;
432
+ case "bal-icon":
433
+ if (!customElements.get(tagName)) {
434
+ defineCustomElement$2();
435
+ }
436
+ break;
437
+ case "bal-switch":
438
+ if (!customElements.get(tagName)) {
439
+ defineCustomElement$1();
440
+ }
441
+ break;
425
442
  } });
426
443
  }
427
444
 
@@ -1,7 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { B as BEM } from './bem.js';
4
- import { a as waitAfterFramePaint } from './helpers.js';
4
+ import { b as waitAfterFramePaint } from './helpers.js';
5
5
  import { L as Logger } from './log.js';
6
6
  import { p as padStart } from './index3.js';
7
7
  import { i as isNil } from './index2.js';
@@ -9,7 +9,7 @@ import { b as balFloatingUi } from './floating-ui.js';
9
9
  import { F as FOCUS_KEYS } from './focus-visible.js';
10
10
  import { d as defaultBalAriaForm } from './form.js';
11
11
  import { s as stopEventBubbling } from './form-input.js';
12
- import { n as rIC, k as debounceEvent, o as addEventListener, p as removeEventListener, b as waitAfterIdleCallback } from './helpers.js';
12
+ import { m as rIC, k as debounceEvent, p as addEventListener, q as removeEventListener, e as waitAfterIdleCallback } from './helpers.js';
13
13
  import { L as Logger } from './log.js';
14
14
  import { i as i18nBalDate } from './bal-date.i18n.js';
15
15
  import { d as defineCustomElement$6 } from './bal-date-calendar2.js';
@@ -5,7 +5,7 @@ import { B as BEM } from './bem.js';
5
5
  import { b as balBrowser } from './browser.js';
6
6
  import { d as defaultBalAriaForm } from './form.js';
7
7
  import { s as stopEventBubbling } from './form-input.js';
8
- import { n as rIC, a as waitAfterFramePaint, o as addEventListener, p as removeEventListener, b as waitAfterIdleCallback } from './helpers.js';
8
+ import { m as rIC, b as waitAfterFramePaint, p as addEventListener, q as removeEventListener, e as waitAfterIdleCallback } from './helpers.js';
9
9
  import { L as Logger } from './log.js';
10
10
  import { d as defineCustomElement$8 } from './bal-check2.js';
11
11
  import { d as defineCustomElement$7 } from './bal-close2.js';
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { d as defaultBalAriaForm } from './form.js';
4
- import { d as deepReady, a as waitAfterFramePaint } from './helpers.js';
4
+ import { d as deepReady, b as waitAfterFramePaint } from './helpers.js';
5
5
  import { L as ListenToMutation } from './mutation.decorator.js';
6
6
 
7
7
  const balFieldCss = ":root{--bal-field-label-horizontal-width:33.3333%;--bal-field-label-column-gap:.5rem}.bal-field,.bal-field-label,.bal-field-control,.bal-field-message,.bal-field-hint{display:block;position:relative;font-family:var(--bal-font-family-text)}.bal-field-label{display:inline}.bal-field-label~.bal-field-control{margin-top:.25rem}.bal-field-hint{display:inline-block;margin-left:.25rem;height:1rem;width:1rem}.bal-field-hint__hint{position:absolute;top:2px;left:0}.bal-field-message{line-height:var(--bal-line-height-normal)}.bal-field-hidden{display:none !important;visibility:hidden !important}.bal-field-control{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;gap:.5rem}.bal-field-control .bal-input{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-field-control--expanded-on-mobile{-ms-flex-direction:column;flex-direction:column}.bal-field-control--expanded-on-mobile .bal-button,.bal-field-control--expanded-on-mobile .bal-button .button{width:100%}}.bal-field-message{margin-top:0 !important}.bal-field-control+.bal-field-message{min-height:1.375rem;line-height:1.375rem}.bal-field-control:not(:has(+.bal-field-message)){padding-bottom:1.375rem}.bal-field--horizontal{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:var(--bal-field-label-column-gap);-moz-column-gap:var(--bal-field-label-column-gap);column-gap:var(--bal-field-label-column-gap);-ms-flex-align:center;align-items:center}.bal-field--horizontal .bal-field-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-width:var(--bal-field-label-horizontal-width);max-width:var(--bal-field-label-horizontal-width);-ms-flex-pack:end;justify-content:flex-end;text-align:right;margin-bottom:0}.bal-field--horizontal .bal-field-control{-ms-flex:1;flex:1;padding-bottom:0;-ms-flex-item-align:end;align-self:flex-end}.bal-field--horizontal .bal-field-message{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:0 !important;margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap))}.bal-field--horizontal .bal-field-hint{margin-left:0}.bal-field--horizontal .bal-field-hint .bal-hint{top:0}.bal-field--horizontal .bal-field-hint~.bal-field-message{margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap)*2 + 1.125rem)}.bal-field--horizontal .bal-field-label~.bal-field-control{margin-top:0}";
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { l as loadFooterLinks, a as loadSocialMediaLinks, L as Language } from './index.esm.js';
4
4
  import { B as BEM } from './bem.js';
5
- import { n as rIC } from './helpers.js';
5
+ import { m as rIC } from './helpers.js';
6
6
  import { L as Logger } from './log.js';
7
7
  import { s as sanitizeSvg } from './svg.js';
8
8
  import { d as defineCustomElement$3 } from './bal-icon2.js';
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { s as scrollToFirstInvalidField } from './form.js';
3
- import { b as waitAfterIdleCallback, a as waitAfterFramePaint } from './helpers.js';
3
+ import { e as waitAfterIdleCallback, b as waitAfterFramePaint } from './helpers.js';
4
4
 
5
5
  const balFormCss = ".bal-form{display:block;position:static}";
6
6
 
@@ -5,7 +5,7 @@ import { i as inheritAttributes } from './attributes.js';
5
5
  import { B as BEM } from './bem.js';
6
6
  import { d as defaultBalAriaForm } from './form.js';
7
7
  import { s as stopEventBubbling, j as inputListenOnClick } from './form-input.js';
8
- import { n as rIC, k as debounceEvent } from './helpers.js';
8
+ import { m as rIC, k as debounceEvent } from './helpers.js';
9
9
  import { L as Logger } from './log.js';
10
10
  import { f as formatLocaleNumber } from './number.js';
11
11
  import { i as i18nBalInputStepper } from './bal-input-stepper.i18n.js';
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
- import { r as raf, q as debounce } from './helpers.js';
3
+ import { r as raf, l as debounce } from './helpers.js';
4
4
  import { L as Logger } from './log.js';
5
5
  import { b as balBreakpoints } from './breakpoints.subject.js';
6
6
  import { L as ListenToResize } from './resize.decorator.js';
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { B as BEM } from './bem.js';
4
- import { r as raf, n as rIC, t as transitionEndAsync } from './helpers.js';
4
+ import { r as raf, m as rIC, t as transitionEndAsync } from './helpers.js';
5
5
  import { L as Logger } from './log.js';
6
6
  import { L as ListenToConfig } from './config.decorator.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6.js';
3
3
  import { B as BEM } from './bem.js';
4
- import { l as rOnLoad } from './helpers.js';
4
+ import { n as rOnLoad } from './helpers.js';
5
5
  import { L as Logger } from './log.js';
6
6
  import { b as balBreakpoints } from './breakpoints.subject.js';
7
7
  import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
2
2
  import { b as balBrowser } from './browser.js';
3
- import { c as componentOnReady, d as deepReady, w as wait } from './helpers.js';
3
+ import { c as componentOnReady, d as deepReady, a as wait } from './helpers.js';
4
4
  import { p as prepareOverlay, d as dismiss, e as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays.js';
5
5
  import { B as BalScrollHandler } from './scroll.js';
6
6