@baloise/ds-core 16.5.0 → 16.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/components/bal-field.js +3 -0
  2. package/components/bal-input-date2.js +2 -3
  3. package/components/bal-input.js +1 -1
  4. package/components/bal-number-input.js +1 -1
  5. package/components/bal-segment-item.js +64 -47
  6. package/components/bal-segment.js +61 -17
  7. package/components/bal-textarea.js +1 -1
  8. package/components/bal-time-input.js +1 -1
  9. package/components/form-input.js +14 -1
  10. package/components/index.js +1 -1
  11. package/components/tokens.esm.js +1 -1
  12. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  13. package/dist/baloise-design-system/index.esm.js +1 -1
  14. package/dist/baloise-design-system/{p-dd30661db2.system.entry.js → p-00014af866.system.entry.js} +1 -1
  15. package/dist/baloise-design-system/{p-b0c22ff9d1.entry.js → p-08b0e345a2.entry.js} +1 -1
  16. package/dist/baloise-design-system/{p-3eb68d7e.js → p-0db6b19e.js} +1 -1
  17. package/dist/baloise-design-system/{p-9bb8778cdc.system.entry.js → p-10c13a369c.system.entry.js} +1 -1
  18. package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
  19. package/dist/baloise-design-system/{p-09ea5913.js → p-15a85377.js} +1 -1
  20. package/dist/baloise-design-system/p-15c5fe4d6d.system.entry.js +1 -0
  21. package/dist/baloise-design-system/{p-cda868a6a5.entry.js → p-16b50b08e4.entry.js} +1 -1
  22. package/dist/baloise-design-system/{p-5fae3f5478.entry.js → p-27bc71c322.entry.js} +1 -1
  23. package/dist/baloise-design-system/{p-0530e008e9.system.entry.js → p-2aa4f352d9.system.entry.js} +1 -1
  24. package/dist/baloise-design-system/{p-8080a1192c.system.entry.js → p-2e498736fc.system.entry.js} +1 -1
  25. package/dist/baloise-design-system/{p-6e3a79cce0.system.entry.js → p-2e8508812d.system.entry.js} +1 -1
  26. package/dist/baloise-design-system/{p-f798011b48.system.entry.js → p-2ea7550d1b.system.entry.js} +1 -1
  27. package/dist/baloise-design-system/{p-380aabd5bc.entry.js → p-3180888825.entry.js} +1 -1
  28. package/dist/baloise-design-system/{p-305cffd8aa.entry.js → p-342b27632b.entry.js} +1 -1
  29. package/dist/baloise-design-system/{p-39bf8adcde.entry.js → p-34671b9410.entry.js} +1 -1
  30. package/dist/baloise-design-system/{p-e187b9de.system.js → p-368bd6ac.system.js} +1 -1
  31. package/dist/baloise-design-system/p-449ffc7a7e.entry.js +1 -0
  32. package/dist/baloise-design-system/{p-0ab43941ba.entry.js → p-462b20f382.entry.js} +1 -1
  33. package/dist/baloise-design-system/{p-f5940253.js → p-4ae121b6.js} +1 -1
  34. package/dist/baloise-design-system/p-4f083c5352.entry.js +1 -0
  35. package/dist/baloise-design-system/{p-df40272425.system.entry.js → p-52a4a89073.system.entry.js} +1 -1
  36. package/dist/baloise-design-system/p-54f81c32.js +1 -1
  37. package/dist/baloise-design-system/{p-4809d5c4.system.js → p-590da25b.system.js} +1 -1
  38. package/dist/baloise-design-system/{p-e137e273b7.system.entry.js → p-5b5d1c626d.system.entry.js} +1 -1
  39. package/dist/baloise-design-system/{p-71588db3.system.js → p-5c0b0099.system.js} +1 -1
  40. package/dist/baloise-design-system/{p-3befc6f9.system.js → p-5de0bd8a.system.js} +1 -1
  41. package/dist/baloise-design-system/{p-0fb6cbda.system.js → p-60a6af04.system.js} +1 -1
  42. package/dist/baloise-design-system/{p-d3fabdb142.system.entry.js → p-60e74d3515.system.entry.js} +1 -1
  43. package/dist/baloise-design-system/p-6139ff78d7.system.entry.js +1 -0
  44. package/dist/baloise-design-system/{p-47a8ad4d7a.system.entry.js → p-619afa0ba5.system.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-4192ad4350.entry.js → p-63c685b62d.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-77350b27fc.entry.js → p-648814edf8.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-2905abdfb8.entry.js → p-663cc3242c.entry.js} +1 -1
  48. package/dist/baloise-design-system/{p-2db4ff4c5b.entry.js → p-6f18ca5500.entry.js} +1 -1
  49. package/dist/baloise-design-system/{p-12bb6ea3e7.system.entry.js → p-760797ae02.system.entry.js} +1 -1
  50. package/dist/baloise-design-system/{p-190b5cd469.entry.js → p-784c10d48f.entry.js} +1 -1
  51. package/dist/baloise-design-system/p-7957c3c0.system.js +1 -0
  52. package/dist/baloise-design-system/{p-8e17b76e7c.system.entry.js → p-7d2709b193.system.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-7c586fb89f.entry.js → p-80e59744a7.entry.js} +1 -1
  54. package/dist/baloise-design-system/{p-a7e5ee75e2.entry.js → p-82333c3ce3.entry.js} +1 -1
  55. package/dist/baloise-design-system/{p-bcb892a723.system.entry.js → p-82afff07ac.system.entry.js} +1 -1
  56. package/dist/baloise-design-system/{p-488c4a8ce1.entry.js → p-83c70a6b53.entry.js} +1 -1
  57. package/dist/baloise-design-system/{p-f62d0ccdd1.system.entry.js → p-8613444e15.system.entry.js} +1 -1
  58. package/dist/baloise-design-system/{p-9658f4a66f.entry.js → p-898f7862e4.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-8f89168b60.system.entry.js +1 -0
  60. package/dist/baloise-design-system/{p-88eb14fd.system.js → p-910b2f3d.system.js} +1 -1
  61. package/dist/baloise-design-system/{p-3818fa189f.system.entry.js → p-959fc8c170.system.entry.js} +1 -1
  62. package/dist/baloise-design-system/{p-ecab0d67d5.entry.js → p-9f5eda0e22.entry.js} +1 -1
  63. package/dist/baloise-design-system/{p-9f54cac588.system.entry.js → p-a7de2305e0.system.entry.js} +1 -1
  64. package/dist/baloise-design-system/{p-c0153f8edf.system.entry.js → p-ac6d5570d8.system.entry.js} +1 -1
  65. package/dist/baloise-design-system/{p-4fe64c3ec6.system.entry.js → p-aed4d3ac0f.system.entry.js} +1 -1
  66. package/dist/baloise-design-system/{p-372474e989.system.entry.js → p-b4941441f4.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/{p-bee13e834e.entry.js → p-b4c5b5e53f.entry.js} +1 -1
  68. package/dist/baloise-design-system/p-b60576a064.entry.js +1 -0
  69. package/dist/baloise-design-system/{p-853fe65e14.system.entry.js → p-b7ceb9e59e.system.entry.js} +1 -1
  70. package/dist/baloise-design-system/{p-caec1f9e.js → p-b7cef472.js} +1 -1
  71. package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -1
  72. package/dist/baloise-design-system/{p-8f77c423ad.entry.js → p-be366c8428.entry.js} +1 -1
  73. package/dist/baloise-design-system/{p-cafe624e35.entry.js → p-c00e0f64c8.entry.js} +1 -1
  74. package/dist/baloise-design-system/{p-6c2bf02eb3.entry.js → p-c442bb2db2.entry.js} +1 -1
  75. package/dist/baloise-design-system/{p-a5ee486a2b.entry.js → p-c4e11d3813.entry.js} +1 -1
  76. package/dist/baloise-design-system/{p-420d88737c.entry.js → p-c539ee8edf.entry.js} +1 -1
  77. package/dist/baloise-design-system/{p-407ffd9c55.entry.js → p-c716d30de1.entry.js} +1 -1
  78. package/dist/baloise-design-system/{p-7c7e593e07.entry.js → p-c7338c255f.entry.js} +1 -1
  79. package/dist/baloise-design-system/p-cfa901cb.js +1 -0
  80. package/dist/baloise-design-system/{p-0639833837.system.entry.js → p-d800ecde35.system.entry.js} +1 -1
  81. package/dist/baloise-design-system/{p-fb0af77320.system.entry.js → p-d8a71bc5b4.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-d7d6937d59.system.entry.js → p-d94b2cb869.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-3801afd625.entry.js → p-d9f2d48be1.entry.js} +1 -1
  84. package/dist/baloise-design-system/p-dd162dc12e.system.entry.js +1 -0
  85. package/dist/baloise-design-system/{p-ad9a7657.js → p-de08fd27.js} +1 -1
  86. package/dist/baloise-design-system/{p-d1b16f9cc2.entry.js → p-dec8453a4d.entry.js} +1 -1
  87. package/dist/baloise-design-system/{p-e1ccb7023c.system.entry.js → p-e227dcfaa1.system.entry.js} +1 -1
  88. package/dist/baloise-design-system/{p-f03e63bd1e.system.entry.js → p-e2316d2aea.system.entry.js} +1 -1
  89. package/dist/baloise-design-system/p-e45eb6121d.system.entry.js +1 -0
  90. package/dist/baloise-design-system/{p-ef916aafa5.entry.js → p-e6162b978e.entry.js} +1 -1
  91. package/dist/baloise-design-system/{p-d059465399.system.entry.js → p-e7bcca66c5.system.entry.js} +1 -1
  92. package/dist/baloise-design-system/p-e829652c7a.entry.js +1 -0
  93. package/dist/baloise-design-system/p-e833841822.entry.js +1 -0
  94. package/dist/baloise-design-system/{p-2cd1f1dedb.entry.js → p-e8cab53413.entry.js} +1 -1
  95. package/dist/baloise-design-system/p-ec044ce124.system.entry.js +1 -0
  96. package/dist/baloise-design-system/{p-23b7426d09.system.entry.js → p-efe5a8806d.system.entry.js} +1 -1
  97. package/dist/baloise-design-system/{p-1659bb968c.system.entry.js → p-f00b5e9fa4.system.entry.js} +1 -1
  98. package/dist/baloise-design-system/p-f22c8e0c59.entry.js +1 -0
  99. package/dist/baloise-design-system/{p-445d2e1c70.system.entry.js → p-f3bb565972.system.entry.js} +1 -1
  100. package/dist/baloise-design-system/{p-b8251b8f68.system.entry.js → p-fad86a959d.system.entry.js} +1 -1
  101. package/dist/baloise-design-system/{p-f819d47031.entry.js → p-fcfee1c692.entry.js} +1 -1
  102. package/dist/cjs/bal-accordion_4.cjs.entry.js +1 -1
  103. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  104. package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
  105. package/dist/cjs/bal-checkbox_2.cjs.entry.js +1 -1
  106. package/dist/cjs/bal-content.cjs.entry.js +56 -0
  107. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +1 -1
  108. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -3
  109. package/dist/cjs/bal-date.cjs.entry.js +1 -1
  110. package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
  111. package/dist/cjs/bal-dropdown.cjs.entry.js +1 -1
  112. package/dist/cjs/bal-field_5.cjs.entry.js +3 -0
  113. package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
  114. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  115. package/dist/cjs/{bal-popover_2.cjs.entry.js → bal-hint_5.cjs.entry.js} +172 -3
  116. package/dist/cjs/bal-input-slider.cjs.entry.js +1 -1
  117. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  118. package/dist/cjs/bal-input.cjs.entry.js +1 -1
  119. package/dist/cjs/{bal-content_2.cjs.entry.js → bal-label.cjs.entry.js} +0 -46
  120. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  121. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  122. package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
  123. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  124. package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
  125. package/dist/cjs/bal-option_2.cjs.entry.js +1 -1
  126. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  127. package/dist/cjs/bal-popup.cjs.entry.js +1 -1
  128. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  129. package/dist/cjs/bal-radio-button.cjs.entry.js +1 -1
  130. package/dist/cjs/bal-radio_2.cjs.entry.js +1 -1
  131. package/dist/cjs/bal-segment_2.cjs.entry.js +516 -0
  132. package/dist/cjs/bal-select_2.cjs.entry.js +1 -1
  133. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  134. package/dist/cjs/bal-steps.cjs.entry.js +4 -4
  135. package/dist/cjs/bal-tab-item_2.cjs.entry.js +4 -4
  136. package/dist/cjs/bal-textarea.cjs.entry.js +1 -1
  137. package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
  138. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  139. package/dist/cjs/{breakpoints.decorator-a4a5bd7a.js → breakpoints.decorator-f4da1834.js} +1 -1
  140. package/dist/cjs/{breakpoints.subject-fbf85930.js → breakpoints.subject-6fc372a8.js} +1 -1
  141. package/dist/cjs/{form-input-134c5116.js → form-input-b61eb894.js} +14 -0
  142. package/dist/cjs/index.cjs.js +2 -2
  143. package/dist/cjs/initialize-2a19d091.js +1 -1
  144. package/dist/cjs/loader.cjs.js +1 -1
  145. package/dist/cjs/{tokens.esm-aa4bb7f7.js → tokens.esm-cd3fab6c.js} +1 -1
  146. package/dist/cjs/{window-resize.decorator-c7a521b0.js → window-resize.decorator-67e1f4de.js} +1 -1
  147. package/dist/collection/collection-manifest.json +15 -13
  148. package/dist/collection/components/bal-field/bal-field.js +3 -0
  149. package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +92 -69
  150. package/dist/collection/components/bal-segment/bal-segment.js +115 -19
  151. package/dist/collection/utils/constants/version.constant.js +1 -1
  152. package/dist/collection/utils/form-input.js +13 -0
  153. package/dist/collection/utils/form-input.spec.js +30 -0
  154. package/dist/collection/utils/mask/context/mask-context.js +2 -2
  155. package/dist/esm/bal-accordion_4.entry.js +2 -2
  156. package/dist/esm/bal-carousel_2.entry.js +4 -4
  157. package/dist/esm/bal-checkbox-button.entry.js +1 -1
  158. package/dist/esm/bal-checkbox_2.entry.js +2 -2
  159. package/dist/esm/bal-content.entry.js +52 -0
  160. package/dist/esm/bal-date-calendar-cell.entry.js +1 -1
  161. package/dist/esm/bal-date-calendar_2.entry.js +4 -5
  162. package/dist/esm/bal-date.entry.js +3 -3
  163. package/dist/esm/bal-datepicker.entry.js +5 -5
  164. package/dist/esm/bal-dropdown.entry.js +2 -2
  165. package/dist/esm/bal-field_5.entry.js +3 -0
  166. package/dist/esm/bal-file-upload.entry.js +2 -2
  167. package/dist/esm/bal-footer.entry.js +2 -2
  168. package/dist/esm/{bal-popover_2.entry.js → bal-hint_5.entry.js} +171 -5
  169. package/dist/esm/bal-input-slider.entry.js +1 -1
  170. package/dist/esm/bal-input-stepper.entry.js +2 -2
  171. package/dist/esm/bal-input.entry.js +1 -1
  172. package/dist/esm/{bal-content_2.entry.js → bal-label.entry.js} +1 -46
  173. package/dist/esm/bal-list_8.entry.js +4 -4
  174. package/dist/esm/bal-logo.entry.js +3 -3
  175. package/dist/esm/bal-nav_8.entry.js +3 -3
  176. package/dist/esm/bal-navbar_5.entry.js +3 -3
  177. package/dist/esm/bal-number-input.entry.js +2 -2
  178. package/dist/esm/bal-option_2.entry.js +1 -1
  179. package/dist/esm/bal-pagination.entry.js +3 -3
  180. package/dist/esm/bal-popup.entry.js +2 -2
  181. package/dist/esm/bal-progress-bar.entry.js +5 -5
  182. package/dist/esm/bal-radio-button.entry.js +1 -1
  183. package/dist/esm/bal-radio_2.entry.js +2 -2
  184. package/dist/esm/bal-segment_2.entry.js +511 -0
  185. package/dist/esm/bal-select_2.entry.js +2 -2
  186. package/dist/esm/bal-shape.entry.js +1 -1
  187. package/dist/esm/bal-steps.entry.js +5 -5
  188. package/dist/esm/bal-tab-item_2.entry.js +5 -5
  189. package/dist/esm/bal-textarea.entry.js +1 -1
  190. package/dist/esm/bal-time-input.entry.js +1 -1
  191. package/dist/esm/baloise-design-system.js +1 -1
  192. package/dist/esm/{breakpoints.decorator-f2ac9963.js → breakpoints.decorator-8a50482f.js} +1 -1
  193. package/dist/esm/{breakpoints.subject-3605e395.js → breakpoints.subject-e3538fe7.js} +1 -1
  194. package/dist/esm/{date-aba2d404.js → date-6e8f5617.js} +1 -1
  195. package/dist/esm/{form-input-28a08ec5.js → form-input-a8fdaaef.js} +14 -1
  196. package/dist/esm/{index.esm-76abd8e3.js → index.esm-cc299511.js} +1 -1
  197. package/dist/esm/index.js +5 -5
  198. package/dist/esm/initialize-e216cfe4.js +1 -1
  199. package/dist/esm/loader.js +1 -1
  200. package/dist/esm/{tokens.esm-337782ae.js → tokens.esm-7cf87670.js} +1 -1
  201. package/dist/esm/{window-resize.decorator-d5198831.js → window-resize.decorator-9c08027e.js} +1 -1
  202. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  203. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  204. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  205. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  206. package/dist/esm-es5/bal-content.entry.js +1 -0
  207. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  208. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  209. package/dist/esm-es5/bal-date.entry.js +1 -1
  210. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  211. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  212. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  213. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  214. package/dist/esm-es5/bal-footer.entry.js +1 -1
  215. package/dist/esm-es5/bal-hint_5.entry.js +1 -0
  216. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  217. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  218. package/dist/esm-es5/bal-input.entry.js +1 -1
  219. package/dist/esm-es5/bal-label.entry.js +1 -0
  220. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  221. package/dist/esm-es5/bal-logo.entry.js +1 -1
  222. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  223. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  224. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  225. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  226. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  227. package/dist/esm-es5/bal-popup.entry.js +1 -1
  228. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  229. package/dist/esm-es5/bal-radio-button.entry.js +1 -1
  230. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  231. package/dist/esm-es5/bal-segment_2.entry.js +1 -0
  232. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  233. package/dist/esm-es5/bal-shape.entry.js +1 -1
  234. package/dist/esm-es5/bal-steps.entry.js +1 -1
  235. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  236. package/dist/esm-es5/bal-textarea.entry.js +1 -1
  237. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  238. package/dist/esm-es5/baloise-design-system.js +1 -1
  239. package/dist/esm-es5/{breakpoints.decorator-f2ac9963.js → breakpoints.decorator-8a50482f.js} +1 -1
  240. package/dist/esm-es5/{breakpoints.subject-3605e395.js → breakpoints.subject-e3538fe7.js} +1 -1
  241. package/dist/esm-es5/{date-aba2d404.js → date-6e8f5617.js} +1 -1
  242. package/dist/esm-es5/{form-input-28a08ec5.js → form-input-a8fdaaef.js} +1 -1
  243. package/dist/esm-es5/{index.esm-76abd8e3.js → index.esm-cc299511.js} +1 -1
  244. package/dist/esm-es5/index.js +1 -1
  245. package/dist/esm-es5/initialize-e216cfe4.js +1 -1
  246. package/dist/esm-es5/loader.js +1 -1
  247. package/dist/esm-es5/{window-resize.decorator-d5198831.js → window-resize.decorator-9c08027e.js} +1 -1
  248. package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +17 -13
  249. package/dist/types/components/bal-segment/bal-segment.d.ts +22 -3
  250. package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +2 -0
  251. package/dist/types/components.d.ts +7 -19
  252. package/dist/types/utils/form-input.d.ts +3 -0
  253. package/package.json +7 -7
  254. package/dist/baloise-design-system/p-265f9d51c9.system.entry.js +0 -1
  255. package/dist/baloise-design-system/p-370575b8cb.system.entry.js +0 -1
  256. package/dist/baloise-design-system/p-3c25811c44.entry.js +0 -1
  257. package/dist/baloise-design-system/p-487816db33.system.entry.js +0 -1
  258. package/dist/baloise-design-system/p-53e98a0f71.entry.js +0 -1
  259. package/dist/baloise-design-system/p-547aae9610.entry.js +0 -1
  260. package/dist/baloise-design-system/p-5db0544e97.system.entry.js +0 -1
  261. package/dist/baloise-design-system/p-8de1a12660.entry.js +0 -1
  262. package/dist/baloise-design-system/p-a507ff25cb.system.entry.js +0 -1
  263. package/dist/baloise-design-system/p-b8f085f7b5.system.entry.js +0 -1
  264. package/dist/baloise-design-system/p-c1c17f8edc.system.entry.js +0 -1
  265. package/dist/baloise-design-system/p-ced37553e2.entry.js +0 -1
  266. package/dist/baloise-design-system/p-d2ee9b0a.system.js +0 -1
  267. package/dist/baloise-design-system/p-d9d229a026.entry.js +0 -1
  268. package/dist/baloise-design-system/p-e0384bfc0c.entry.js +0 -1
  269. package/dist/baloise-design-system/p-e75ccb92.js +0 -1
  270. package/dist/cjs/bal-hint_3.cjs.entry.js +0 -186
  271. package/dist/cjs/bal-segment-item.cjs.entry.js +0 -156
  272. package/dist/cjs/bal-segment.cjs.entry.js +0 -319
  273. package/dist/esm/bal-hint_3.entry.js +0 -180
  274. package/dist/esm/bal-segment-item.entry.js +0 -152
  275. package/dist/esm/bal-segment.entry.js +0 -315
  276. package/dist/esm-es5/bal-content_2.entry.js +0 -1
  277. package/dist/esm-es5/bal-hint_3.entry.js +0 -1
  278. package/dist/esm-es5/bal-popover_2.entry.js +0 -1
  279. package/dist/esm-es5/bal-segment-item.entry.js +0 -1
  280. package/dist/esm-es5/bal-segment.entry.js +0 -1
  281. /package/dist/baloise-design-system/{p-e1994e2c.js → p-46bed129.js} +0 -0
  282. /package/dist/baloise-design-system/{p-36074466.system.js → p-9ffefe27.system.js} +0 -0
  283. /package/dist/esm-es5/{tokens.esm-337782ae.js → tokens.esm-7cf87670.js} +0 -0
@@ -4,8 +4,8 @@ import { l as raf, t as transitionEndAsync, m as debounceEvent, w as waitForComp
4
4
  import { B as BEM } from './bem-8c7d2eb0.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
6
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
7
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
8
- import { h as isEnterKey, e as isSpaceKey } from './index.esm-76abd8e3.js';
7
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
8
+ import { h as isEnterKey, e as isSpaceKey } from './index.esm-cc299511.js';
9
9
  import './browser-a8073d92.js';
10
10
  import './icons.constant-a7885631.js';
11
11
  import './config.utils-6ac6c9bd.js';
@@ -2,13 +2,13 @@ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { l as raf, b as waitAfterFramePaint } from './helpers-c201154e.js';
4
4
  import { B as BEM } from './bem-8c7d2eb0.js';
5
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
6
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
5
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
6
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
7
7
  import { g as getComputedWidth } from './style-ca1bd202.js';
8
8
  import { L as ListenToMutation } from './mutation.decorator-c7b24839.js';
9
9
  import { L as ListenToSwipe } from './swipe.decorator-9d904794.js';
10
10
  import { L as ListenToResize } from './resize.decorator-f70563b5.js';
11
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
11
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
12
12
  import { d as defaultConfig } from './config.default-7efdc82d.js';
13
13
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
14
14
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
@@ -18,7 +18,7 @@ import './config.utils-6ac6c9bd.js';
18
18
  import './listener-04842ae9.js';
19
19
  import './swipe.subject-f1d64e8d.js';
20
20
  import './device-8c6d2881.js';
21
- import './tokens.esm-337782ae.js';
21
+ import './tokens.esm-7cf87670.js';
22
22
  import './log-dfd1c19f.js';
23
23
 
24
24
  const TabControl = ({ value, items, containerId, onControlChange }) => {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { B as BEM } from './bem-8c7d2eb0.js';
4
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
4
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
6
  import { F as FOCUS_KEYS } from './focus-visible-f0cdd043.js';
7
7
  import { i as isDescendant } from './helpers-c201154e.js';
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { s as stopEventBubbling, c as inputSetFocus, d as inputSetBlur } from './form-input-28a08ec5.js';
3
+ import { s as stopEventBubbling, c as inputSetFocus, d as inputSetBlur } from './form-input-a8fdaaef.js';
4
4
  import { i as isDescendant, p as hasTagName } from './helpers-c201154e.js';
5
5
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
6
6
  import { B as BEM } from './bem-8c7d2eb0.js';
7
- import { e as isSpaceKey, o as areArraysEqual } from './index.esm-76abd8e3.js';
7
+ import { e as isSpaceKey, o as areArraysEqual } from './index.esm-cc299511.js';
8
8
  import { L as Logger } from './log-dfd1c19f.js';
9
9
  import { F as FOCUS_KEYS } from './focus-visible-f0cdd043.js';
10
10
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
@@ -0,0 +1,52 @@
1
+ import { r as registerInstance, h, H as Host } 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 './browser-a8073d92.js';
6
+
7
+ const balContentCss = ".bal-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:left;gap:.25rem}.bal-content--align-center{-ms-flex-align:center;align-items:center;text-align:center}.bal-content--align-end{-ms-flex-align:end;align-items:flex-end;text-align:right}.bal-content--layout-horizontal{-ms-flex-direction:row;flex-direction:row}.bal-content--layout-vertical{-ms-flex-direction:column;flex-direction:column}.bal-content--space-none{gap:0rem}.bal-content--space-xxx-small{gap:.125rem}.bal-content--space-xx-small{gap:.25rem}.bal-content--space-x-small{gap:.5rem}.bal-content--space-small{gap:.75rem}.bal-content--space-normal{gap:1rem}.bal-content>.bal-text{margin:0}";
8
+ const BalContentStyle0 = balContentCss;
9
+
10
+ const Content = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.layout = 'vertical';
14
+ this.align = 'start';
15
+ this.space = 'xx-small';
16
+ this.direction = '';
17
+ this.alignment = '';
18
+ }
19
+ createLogger(log) {
20
+ this.log = log;
21
+ }
22
+ /**
23
+ * RENDER
24
+ * ------------------------------------------------------
25
+ */
26
+ render() {
27
+ const block = BEM.block('content');
28
+ const direction = !!this.direction;
29
+ const layout = !!this.layout;
30
+ const alignment = !!this.alignment;
31
+ const align = !!this.align;
32
+ const space = !!this.space;
33
+ let layoutValue = this.layout;
34
+ if (direction) {
35
+ layoutValue = this.direction === 'row' ? 'horizontal' : 'vertical';
36
+ }
37
+ let alignValue = this.align.split(' ').join('-');
38
+ if (alignment) {
39
+ alignValue = this.alignment.split(' ').join('-');
40
+ }
41
+ return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`layout-${layoutValue}`).class(layout || direction)), block.modifier(`align-${alignValue}`).class(align || alignment)), block.modifier(`space-${this.space}`).class(space)) }, h("slot", null)));
42
+ }
43
+ };
44
+ __decorate([
45
+ Logger('bal-content'),
46
+ __metadata("design:type", Function),
47
+ __metadata("design:paramtypes", [Function]),
48
+ __metadata("design:returntype", void 0)
49
+ ], Content.prototype, "createLogger", null);
50
+ Content.style = BalContentStyle0;
51
+
52
+ export { Content as bal_content };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b6003bc7.js';
2
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
2
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
3
3
  import { B as BEM } from './bem-8c7d2eb0.js';
4
4
  import './helpers-c201154e.js';
5
5
  import './browser-a8073d92.js';
@@ -1,8 +1,8 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { D as lodash_padstart, d as dateSeparator } from './index.esm-76abd8e3.js';
3
+ import { D as lodash_padstart, d as dateSeparator } from './index.esm-cc299511.js';
4
4
  import { l as lodash_isnil } from './index-82aff103.js';
5
- import { B as BalDate, i as i18nBalDate } from './date-aba2d404.js';
5
+ import { B as BalDate, i as i18nBalDate } from './date-6e8f5617.js';
6
6
  import { L as Logger } from './log-dfd1c19f.js';
7
7
  import { b as waitAfterFramePaint, n as hasParent } from './helpers-c201154e.js';
8
8
  import { B as BEM } from './bem-8c7d2eb0.js';
@@ -10,7 +10,7 @@ import { d as defaultConfig } from './config.default-7efdc82d.js';
10
10
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
11
11
  import { L as ListenToSwipe } from './swipe.decorator-9d904794.js';
12
12
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
13
- import { c as inputSetFocus, d as inputSetBlur } from './form-input-28a08ec5.js';
13
+ import { m as hasValueChanged, c as inputSetFocus, d as inputSetBlur } from './form-input-a8fdaaef.js';
14
14
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
15
15
  import { N as NUMBER_KEYS } from './keys.constant-0eb059e0.js';
16
16
  import { I as INVALID_VALUE } from './mask-util-71edc2b8.js';
@@ -591,8 +591,7 @@ class MaskContext {
591
591
  this._options.component.balInput.emit(this.value);
592
592
  }
593
593
  if ((eventType === 'change' || eventType === 'blur') && parsedValue !== undefined) {
594
- const valueChanged = this._options.component.value !== parsedValue;
595
- if (valueChanged) {
594
+ if (hasValueChanged(this._options.component.value, parsedValue)) {
596
595
  this._options.component.value = parsedValue;
597
596
  this._options.component.balChange.emit(parsedValue);
598
597
  }
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { e as isSpaceKey } from './index.esm-76abd8e3.js';
3
+ import { e as isSpaceKey } from './index.esm-cc299511.js';
4
4
  import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './floating-ui.dom.esm-f1cf1077.js';
5
- import { B as BalDate, i as i18nBalDate } from './date-aba2d404.js';
5
+ import { B as BalDate, i as i18nBalDate } from './date-6e8f5617.js';
6
6
  import { B as BEM } from './bem-8c7d2eb0.js';
7
7
  import { L as Logger } from './log-dfd1c19f.js';
8
8
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
9
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
9
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
10
10
  import { m as debounceEvent } from './helpers-c201154e.js';
11
11
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
12
12
  import { d as defaultConfig } from './config.default-7efdc82d.js';
@@ -2,26 +2,26 @@ 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 { k as rIC, m as debounceEvent } from './helpers-c201154e.js';
4
4
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
5
- import { r as requiredArgs, t as toDate, b as toInteger, g as getDefaultOptions, p as parse, f as formatDateString, i as isValidIsoString, c as format, e as isSpaceKey, h as isEnterKey, d as dateSeparator, j as getYear, n as now, k as getMonth, m as getDate } from './index.esm-76abd8e3.js';
5
+ import { r as requiredArgs, t as toDate, b as toInteger, g as getDefaultOptions, p as parse, f as formatDateString, i as isValidIsoString, c as format, e as isSpaceKey, h as isEnterKey, d as dateSeparator, j as getYear, n as now, k as getMonth, m as getDate } from './index.esm-cc299511.js';
6
6
  import { l as lodash_isnil } from './index-82aff103.js';
7
7
  import { N as NUMBER_KEYS, A as ACTION_KEYS, i as isCtrlOrCommandKey } from './keys.constant-0eb059e0.js';
8
8
  import { i as i18nBalDatepicker } from './bal-datepicker.i18n-63a3cb67.js';
9
- import { s as stopEventBubbling, g as getInputTarget, i as inputHandleFocus, a as inputHandleHostClick, b as inputListenOnClick, c as inputSetFocus, d as inputSetBlur } from './form-input-28a08ec5.js';
9
+ import { s as stopEventBubbling, g as getInputTarget, i as inputHandleFocus, a as inputHandleHostClick, b as inputListenOnClick, c as inputSetFocus, d as inputSetBlur } from './form-input-a8fdaaef.js';
10
10
  import { p as preventDefault } from './utils-9fbab1d3.js';
11
11
  import { B as BEM } from './bem-8c7d2eb0.js';
12
12
  import { L as Logger } from './log-dfd1c19f.js';
13
13
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
14
14
  import { d as defaultConfig, a as defaultLocale } from './config.default-7efdc82d.js';
15
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
15
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
16
16
  import { g as useBalConfig } from './config.utils-6ac6c9bd.js';
17
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
17
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
18
18
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
19
19
  import './browser-a8073d92.js';
20
20
  import './icons.constant-a7885631.js';
21
21
  import './_commonjsHelpers-1c8beb5f.js';
22
22
  import './device-8c6d2881.js';
23
23
  import './listener-04842ae9.js';
24
- import './tokens.esm-337782ae.js';
24
+ import './tokens.esm-7cf87670.js';
25
25
 
26
26
  /**
27
27
  * @name addDays
@@ -1,9 +1,9 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { o as areArraysEqual, q as isArrowDownKey, s as isArrowUpKey, h as isEnterKey, u as isEscapeKey, e as isSpaceKey } from './index.esm-76abd8e3.js';
3
+ import { o as areArraysEqual, q as isArrowDownKey, s as isArrowUpKey, h as isEnterKey, u as isEscapeKey, e as isSpaceKey } from './index.esm-cc299511.js';
4
4
  import { B as BEM } from './bem-8c7d2eb0.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
6
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
7
7
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
8
8
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
9
9
  import { k as rIC, b as waitAfterFramePaint, d as waitAfterIdleCallback } from './helpers-c201154e.js';
@@ -33,6 +33,7 @@ const Field = class {
33
33
  'bal-input-slider',
34
34
  'bal-file-upload',
35
35
  'bal-dropdown',
36
+ 'bal-segment',
36
37
  ];
37
38
  this.formElements = [...this.formControlElement, 'bal-field-label', 'bal-field-message'];
38
39
  this.isDirectChild = (el) => {
@@ -122,6 +123,8 @@ const Field = class {
122
123
  'bal-field-control bal-dropdown',
123
124
  'bal-field-control bal-checkbox',
124
125
  'bal-field-control bal-radio',
126
+ 'bal-field-control bal-segment-item',
127
+ 'bal-field-control bal-segment',
125
128
  'bal-field-control bal-checkbox-group',
126
129
  'bal-field-control bal-radio-group',
127
130
  'bal-field-control bal-number-input',
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { o as areArraysEqual } from './index.esm-76abd8e3.js';
4
- import { s as stopEventBubbling, a as inputHandleHostClick, i as inputHandleFocus, e as inputHandleBlur, c as inputSetFocus, d as inputSetBlur } from './form-input-28a08ec5.js';
3
+ import { o as areArraysEqual } from './index.esm-cc299511.js';
4
+ import { s as stopEventBubbling, a as inputHandleHostClick, i as inputHandleFocus, e as inputHandleBlur, c as inputSetFocus, d as inputSetBlur } from './form-input-a8fdaaef.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
6
  import { B as BEM } from './bem-8c7d2eb0.js';
7
7
  import { F as FileUploadRejectionReason } from './bal-file-upload.type-2a70f4ec.js';
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
- import { l as loadFooterLinks, a as loadSocialMediaLinks, L as Language } from './index.esm-76abd8e3.js';
3
+ import { l as loadFooterLinks, a as loadSocialMediaLinks, L as Language } from './index.esm-cc299511.js';
4
4
  import { B as BEM } from './bem-8c7d2eb0.js';
5
5
  import { L as Logger } from './log-dfd1c19f.js';
6
6
  import { k as rIC } from './helpers-c201154e.js';
7
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
7
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
8
8
  import { e as updateBalLanguage } from './config.utils-6ac6c9bd.js';
9
9
  import { d as defaultConfig } from './config.default-7efdc82d.js';
10
10
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
@@ -1,16 +1,182 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { B as BEM } from './bem-8c7d2eb0.js';
4
+ import { p as preventDefault } from './utils-9fbab1d3.js';
5
+ import { B as BalScrollHandler } from './scroll-f4b20848.js';
6
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
7
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
8
+ import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
4
9
  import { b as balBrowser } from './browser-a8073d92.js';
5
10
  import { L as Logger } from './log-dfd1c19f.js';
6
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
7
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
11
+ import './index-82aff103.js';
8
12
  import './helpers-c201154e.js';
9
13
  import './icons.constant-a7885631.js';
10
14
  import './config.utils-6ac6c9bd.js';
11
15
  import './device-8c6d2881.js';
12
16
  import './listener-04842ae9.js';
13
- import './tokens.esm-337782ae.js';
17
+ import './tokens.esm-7cf87670.js';
18
+
19
+ const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
20
+ const BalHintStyle0 = balHintCss;
21
+
22
+ const Hint = class {
23
+ constructor(hostRef) {
24
+ registerInstance(this, hostRef);
25
+ this.bodyScrollHandler = new BalScrollHandler();
26
+ this.onPopoverChange = (ev) => {
27
+ this.isActive = ev.detail;
28
+ preventDefault(ev);
29
+ };
30
+ this.isActive = false;
31
+ this.innerCloseLabel = 'Close';
32
+ this.isMobile = balBreakpoints.isMobile;
33
+ this.closeLabel = undefined;
34
+ this.small = false;
35
+ }
36
+ connectedCallback() {
37
+ this.bodyScrollHandler.connect();
38
+ }
39
+ componentDidRender() {
40
+ this.updateContent();
41
+ }
42
+ disconnectedCallback() {
43
+ this.bodyScrollHandler.disconnect();
44
+ }
45
+ breakpointListener(breakpoints) {
46
+ const isCurrentMobile = breakpoints.mobile;
47
+ if (isCurrentMobile !== this.isMobile) {
48
+ this.isActive = false;
49
+ }
50
+ this.isMobile = isCurrentMobile;
51
+ }
52
+ /**
53
+ * @internal define config for the component
54
+ */
55
+ async configChanged(state) {
56
+ if (!this.closeLabel) {
57
+ switch (state.language) {
58
+ case 'de':
59
+ this.innerCloseLabel = 'Schliessen';
60
+ break;
61
+ case 'fr':
62
+ this.innerCloseLabel = 'Fermer';
63
+ break;
64
+ case 'it':
65
+ this.innerCloseLabel = 'Chiudere';
66
+ break;
67
+ case 'nl':
68
+ this.innerCloseLabel = 'Sluiten';
69
+ break;
70
+ default:
71
+ this.innerCloseLabel = 'Close';
72
+ break;
73
+ }
74
+ }
75
+ }
76
+ /**
77
+ * Toggles the hint box.
78
+ */
79
+ async toggle() {
80
+ if (this.isActive) {
81
+ this.dismiss();
82
+ }
83
+ else {
84
+ this.present();
85
+ }
86
+ }
87
+ /**
88
+ * Opens the hint box.
89
+ */
90
+ async present() {
91
+ if (this.popoverElement) {
92
+ this.popoverElement.present();
93
+ }
94
+ if (this.isMobile) {
95
+ this.bodyScrollHandler.disable();
96
+ }
97
+ this.isActive = true;
98
+ }
99
+ /**
100
+ * Closes the hint box.
101
+ */
102
+ async dismiss() {
103
+ if (this.popoverElement) {
104
+ this.popoverElement.dismiss();
105
+ }
106
+ if (this.isMobile) {
107
+ this.bodyScrollHandler.enable();
108
+ }
109
+ this.isActive = false;
110
+ }
111
+ updateContent() {
112
+ if (this.hintContentEl && this.slotWrapperEl) {
113
+ this.hintContentEl.innerHTML = this.slotWrapperEl.innerHTML;
114
+ }
115
+ }
116
+ render() {
117
+ const block = BEM.block('hint');
118
+ const elIcon = block.element('icon');
119
+ const elContent = block.element('content');
120
+ const elButtons = elContent.element('buttons');
121
+ const padding = this.isMobile ? 0 : 8;
122
+ const offsetY = this.isMobile ? 0 : 16;
123
+ const TriggerIcon = () => {
124
+ return (h("bal-icon", { class: Object.assign({}, elIcon.class()), "data-testid": "bal-hint-trigger", "bal-popover-trigger": true, "aria-haspopup": "true", role: "button", name: "info-circle", onClick: () => this.toggle() }));
125
+ };
126
+ const HintContent = () => {
127
+ return (h("div", { class: Object.assign({}, elContent.class()), "data-testid": "bal-hint-content" }, h("div", { ref: el => (this.hintContentEl = el) }), h("bal-button-group", { class: Object.assign(Object.assign({}, elButtons.class()), elButtons.modifier('is-hidden-desktop').class(this.small)) }, h("bal-button", { "data-testid": "bal-hint-close", color: "info", onClick: () => this.dismiss() }, this.closeLabel ? this.closeLabel : this.innerCloseLabel))));
128
+ };
129
+ const MobileOverlay = () => {
130
+ const elOverlay = block.element('overlay');
131
+ return (h("div", { class: Object.assign({}, elOverlay.class()) }, h(TriggerIcon, null), h("div", { class: Object.assign(Object.assign({}, elOverlay.element('content').class()), elOverlay.element('content').modifier('active').class(this.isActive)) }, h(HintContent, null))));
132
+ };
133
+ const Popover = () => {
134
+ return (h("div", { class: Object.assign({}, block.element('popover').class()) }, h("bal-popover", { hint: true, position: "right", offsetX: 0, offsetY: offsetY, padding: padding, ref: el => (this.popoverElement = el), onBalChange: this.onPopoverChange }, h(TriggerIcon, null), h("bal-popover-content", { color: "grey" }, h(HintContent, null)))));
135
+ };
136
+ const HintElement = this.isMobile ? MobileOverlay : Popover;
137
+ return (h(Host, { class: Object.assign({}, block.class()) }, h(HintElement, null), h("div", { ref: el => (this.slotWrapperEl = el), style: { display: 'none' } }, h("slot", null))));
138
+ }
139
+ get element() { return getElement(this); }
140
+ };
141
+ __decorate([
142
+ ListenToBreakpoints(),
143
+ __metadata("design:type", Function),
144
+ __metadata("design:paramtypes", [Object]),
145
+ __metadata("design:returntype", void 0)
146
+ ], Hint.prototype, "breakpointListener", null);
147
+ __decorate([
148
+ ListenToConfig(),
149
+ __metadata("design:type", Function),
150
+ __metadata("design:paramtypes", [Object]),
151
+ __metadata("design:returntype", Promise)
152
+ ], Hint.prototype, "configChanged", null);
153
+ Hint.style = BalHintStyle0;
154
+
155
+ const HintText = class {
156
+ constructor(hostRef) {
157
+ registerInstance(this, hostRef);
158
+ }
159
+ render() {
160
+ const block = BEM.block('hint');
161
+ const elContent = block.element('content');
162
+ const elText = elContent.element('text');
163
+ const elTextField = elText.element('field');
164
+ return (h(Host, { class: Object.assign({}, elText.class()) }, h("p", { class: Object.assign({}, elTextField.class()) }, h("slot", null))));
165
+ }
166
+ };
167
+
168
+ const HintTitle = class {
169
+ constructor(hostRef) {
170
+ registerInstance(this, hostRef);
171
+ }
172
+ render() {
173
+ const block = BEM.block('hint');
174
+ const elContent = block.element('content');
175
+ const elTitle = elContent.element('title');
176
+ const elHeading = elTitle.element('heading');
177
+ return (h(Host, { class: Object.assign({}, elTitle.class()) }, h("h3", { class: Object.assign({}, elHeading.class()) }, h("span", null, h("slot", null)))));
178
+ }
179
+ };
14
180
 
15
181
  var top = 'top';
16
182
  var bottom = 'bottom';
@@ -2136,4 +2302,4 @@ __decorate([
2136
2302
  __metadata("design:returntype", void 0)
2137
2303
  ], PopoverContent.prototype, "breakpointListener", null);
2138
2304
 
2139
- export { Popover as bal_popover, PopoverContent as bal_popover_content };
2305
+ export { Hint as bal_hint, HintText as bal_hint_text, HintTitle as bal_hint_title, Popover as bal_popover, PopoverContent as bal_popover_content };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { l as lodash_isnil } from './index-82aff103.js';
3
3
  import { m as debounceEvent } from './helpers-c201154e.js';
4
- import { s as stopEventBubbling } from './form-input-28a08ec5.js';
4
+ import { s as stopEventBubbling } from './form-input-a8fdaaef.js';
5
5
  import { B as BEM } from './bem-8c7d2eb0.js';
6
6
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
7
7
  import './browser-a8073d92.js';
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
2
2
  import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { c as commonjsGlobal } from './_commonjsHelpers-1c8beb5f.js';
4
- import { v as formatLocaleNumber } from './index.esm-76abd8e3.js';
4
+ import { v as formatLocaleNumber } from './index.esm-cc299511.js';
5
5
  import { k as rIC, m as debounceEvent } from './helpers-c201154e.js';
6
6
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
7
- import { s as stopEventBubbling, b as inputListenOnClick } from './form-input-28a08ec5.js';
7
+ import { s as stopEventBubbling, b as inputListenOnClick } from './form-input-a8fdaaef.js';
8
8
  import { B as BEM } from './bem-8c7d2eb0.js';
9
9
  import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
10
10
  import { i as i18nBalInputStepper } from './bal-input-stepper.i18n-aaa4a009.js';
@@ -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 { m as debounceEvent } from './helpers-c201154e.js';
4
4
  import { i as inheritAttributes } from './attributes-4fa7040f.js';
5
- import { g as getInputTarget, i as inputHandleFocus, e as inputHandleBlur, f as inputHandleChange, s as stopEventBubbling, h as inputHandleClick, a as inputHandleHostClick, b as inputListenOnClick, j as inputHandleReset, c as inputSetFocus, d as inputSetBlur } from './form-input-28a08ec5.js';
5
+ import { g as getInputTarget, i as inputHandleFocus, e as inputHandleBlur, f as inputHandleChange, s as stopEventBubbling, h as inputHandleClick, a as inputHandleHostClick, b as inputListenOnClick, j as inputHandleReset, c as inputSetFocus, d as inputSetBlur } from './form-input-a8fdaaef.js';
6
6
  import { l as lodash_isnil } from './index-82aff103.js';
7
7
  import { i as isCtrlOrCommandKey, A as ACTION_KEYS, N as NUMBER_KEYS } from './keys.constant-0eb059e0.js';
8
8
  import { B as BEM } from './bem-8c7d2eb0.js';
@@ -10,51 +10,6 @@ import './browser-a8073d92.js';
10
10
  import './icons.constant-a7885631.js';
11
11
  import './config.utils-6ac6c9bd.js';
12
12
 
13
- const balContentCss = ".bal-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:left;gap:.25rem}.bal-content--align-center{-ms-flex-align:center;align-items:center;text-align:center}.bal-content--align-end{-ms-flex-align:end;align-items:flex-end;text-align:right}.bal-content--layout-horizontal{-ms-flex-direction:row;flex-direction:row}.bal-content--layout-vertical{-ms-flex-direction:column;flex-direction:column}.bal-content--space-none{gap:0rem}.bal-content--space-xxx-small{gap:.125rem}.bal-content--space-xx-small{gap:.25rem}.bal-content--space-x-small{gap:.5rem}.bal-content--space-small{gap:.75rem}.bal-content--space-normal{gap:1rem}.bal-content>.bal-text{margin:0}";
14
- const BalContentStyle0 = balContentCss;
15
-
16
- const Content = class {
17
- constructor(hostRef) {
18
- registerInstance(this, hostRef);
19
- this.layout = 'vertical';
20
- this.align = 'start';
21
- this.space = 'xx-small';
22
- this.direction = '';
23
- this.alignment = '';
24
- }
25
- createLogger(log) {
26
- this.log = log;
27
- }
28
- /**
29
- * RENDER
30
- * ------------------------------------------------------
31
- */
32
- render() {
33
- const block = BEM.block('content');
34
- const direction = !!this.direction;
35
- const layout = !!this.layout;
36
- const alignment = !!this.alignment;
37
- const align = !!this.align;
38
- const space = !!this.space;
39
- let layoutValue = this.layout;
40
- if (direction) {
41
- layoutValue = this.direction === 'row' ? 'horizontal' : 'vertical';
42
- }
43
- let alignValue = this.align.split(' ').join('-');
44
- if (alignment) {
45
- alignValue = this.alignment.split(' ').join('-');
46
- }
47
- return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`layout-${layoutValue}`).class(layout || direction)), block.modifier(`align-${alignValue}`).class(align || alignment)), block.modifier(`space-${this.space}`).class(space)) }, h("slot", null)));
48
- }
49
- };
50
- __decorate([
51
- Logger('bal-content'),
52
- __metadata("design:type", Function),
53
- __metadata("design:paramtypes", [Function]),
54
- __metadata("design:returntype", void 0)
55
- ], Content.prototype, "createLogger", null);
56
- Content.style = BalContentStyle0;
57
-
58
13
  const balLabelCss = ".bal-label{display:inline;-webkit-box-sizing:content-box;box-sizing:content-box;position:static;word-break:break-word}.bal-label__native{display:inline;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:pre;min-width:0;font-family:var(--bal-form-field-label-font-family);font-weight:var(--bal-form-field-label-font-weight);font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal)}.bal-label__native--multiline{white-space:normal}.bal-label__native--no-wrap{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.bal-label__native--small{font-family:var(--bal-font-family-text);font-size:var(--bal-text-size-small);line-height:var(--bal-line-height-small)}@media screen and (min-width: 769px),print{.bal-label__native--small{font-size:var(--bal-text-size-small-tablet);line-height:var(--bal-line-height-tablet-small)}}@media screen and (min-width: 1024px){.bal-label__native--small{font-size:var(--bal-text-size-small-desktop);line-height:var(--bal-line-height-desktop-small)}}.bal-label__native--large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-large);line-height:var(--bal-line-height-large)}@media screen and (min-width: 769px),print{.bal-label__native--large{font-size:var(--bal-text-size-large-tablet);line-height:var(--bal-line-height-tablet-large)}}@media screen and (min-width: 1024px){.bal-label__native--large{font-size:var(--bal-text-size-large-desktop);line-height:var(--bal-line-height-desktop-large)}}.bal-label__native--x-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-label__native--x-large{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-label__native--x-large{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}.bal-label__native--xx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xx-large);line-height:var(--bal-line-height-xx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-tablet);line-height:var(--bal-line-height-tablet-xx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-desktop);line-height:var(--bal-line-height-desktop-xx-large)}}.bal-label__native--xxx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xxx-large);line-height:var(--bal-line-height-xxx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-tablet);line-height:var(--bal-line-height-tablet-xxx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-desktop);line-height:var(--bal-line-height-desktop-xxx-large)}}.bal-label__native--success{color:var(--bal-form-field-label-success-color)}.bal-label__native--danger{color:var(--bal-form-field-label-danger-color)}.bal-label__native--disabled{color:var(--bal-form-field-label-disabled-color) !important}.bal-label__native--regular{font-weight:var(--bal-font-weight-regular)}.bal-label__native--hovered{color:var(--bal-form-field-label-color-hover)}.bal-label__native--pressed{color:var(--bal-form-field-label-color-active)}.bal-label__native--danger.bal-label__native--hovered{color:var(--bal-form-field-label-danger-color-hover)}.bal-label__native--danger.bal-label__native--pressed{color:var(--bal-form-field-label-danger-color-active)}";
59
14
  const BalLabelStyle0 = balLabelCss;
60
15
 
@@ -139,4 +94,4 @@ __decorate([
139
94
  let labelIds = 0;
140
95
  Label.style = BalLabelStyle0;
141
96
 
142
- export { Content as bal_content, Label as bal_label };
97
+ export { Label as bal_label };
@@ -4,16 +4,16 @@ import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
4
4
  import { L as Logger } from './log-dfd1c19f.js';
5
5
  import { l as raf, t as transitionEndAsync, h as debounce } from './helpers-c201154e.js';
6
6
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
7
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
7
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
8
8
  import { L as ListenToResize } from './resize.decorator-f70563b5.js';
9
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
10
- import { e as isSpaceKey, h as isEnterKey } from './index.esm-76abd8e3.js';
9
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
10
+ import { e as isSpaceKey, h as isEnterKey } from './index.esm-cc299511.js';
11
11
  import './browser-a8073d92.js';
12
12
  import './icons.constant-a7885631.js';
13
13
  import './config.utils-6ac6c9bd.js';
14
14
  import './device-8c6d2881.js';
15
15
  import './listener-04842ae9.js';
16
- import './tokens.esm-337782ae.js';
16
+ import './tokens.esm-7cf87670.js';
17
17
  import './index-82aff103.js';
18
18
  import './_commonjsHelpers-1c8beb5f.js';
19
19
 
@@ -3,15 +3,15 @@ import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
3
3
  import { B as BEM } from './bem-8c7d2eb0.js';
4
4
  import { L as Logger } from './log-dfd1c19f.js';
5
5
  import { k as rIC } from './helpers-c201154e.js';
6
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
7
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
6
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
7
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
8
8
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
9
9
  import './browser-a8073d92.js';
10
10
  import './icons.constant-a7885631.js';
11
11
  import './config.utils-6ac6c9bd.js';
12
12
  import './device-8c6d2881.js';
13
13
  import './listener-04842ae9.js';
14
- import './tokens.esm-337782ae.js';
14
+ import './tokens.esm-7cf87670.js';
15
15
 
16
16
  const balLogoCss = ".bal-logo{position:static;display:block;height:22px}.bal-logo svg{-webkit-transform:unset !important;transform:unset !important}.bal-logo svg svg,.bal-logo svg g,.bal-logo svg path,.bal-logo svg circle{fill:#000d6e}.bal-logo>div{height:22px}@media screen and (min-width: 1024px){.bal-logo--animated{margin-left:-7px}}.bal-logo--white svg svg,.bal-logo--white svg g,.bal-logo--white svg path,.bal-logo--white svg circle{fill:#fff}@media screen and (min-width: 1024px){.bal-logo{height:32px}.bal-logo>div{height:32px}}.bal-logo--size-small{height:22px}.bal-logo--size-small>div{height:22px}";
17
17
  const BalLogoStyle0 = balLogoCss;
@@ -5,17 +5,17 @@ import { L as Logger } from './log-dfd1c19f.js';
5
5
  import { b as balBrowser } from './browser-a8073d92.js';
6
6
  import { B as BalScrollHandler } from './scroll-f4b20848.js';
7
7
  import { w as waitForComponent, d as waitAfterIdleCallback } from './helpers-c201154e.js';
8
- import { b as balBreakpoints } from './breakpoints.subject-3605e395.js';
8
+ import { b as balBreakpoints } from './breakpoints.subject-e3538fe7.js';
9
9
  import { d as defaultConfig } from './config.default-7efdc82d.js';
10
10
  import { L as ListenToMutation } from './mutation.decorator-c7b24839.js';
11
- import { L as ListenToBreakpoints } from './breakpoints.decorator-f2ac9963.js';
11
+ import { L as ListenToBreakpoints } from './breakpoints.decorator-8a50482f.js';
12
12
  import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
13
13
  import { L as ListenToResize } from './resize.decorator-f70563b5.js';
14
14
  import './icons.constant-a7885631.js';
15
15
  import './config.utils-6ac6c9bd.js';
16
16
  import './device-8c6d2881.js';
17
17
  import './listener-04842ae9.js';
18
- import './tokens.esm-337782ae.js';
18
+ import './tokens.esm-7cf87670.js';
19
19
 
20
20
  class NavLinkItem {
21
21
  constructor(item, observer) {