@baloise/ds-core 16.0.3 → 16.1.0-nightly.20240419

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 (493) hide show
  1. package/components/all.d.ts +236 -0
  2. package/components/all.js +353 -0
  3. package/components/aria.js +3 -0
  4. package/components/bal-accordion-details.js +4 -4
  5. package/components/bal-app.js +1 -85
  6. package/components/bal-app2.js +87 -0
  7. package/components/bal-card.js +2 -2
  8. package/components/bal-card2.js +3 -3
  9. package/components/bal-carousel2.js +1 -1
  10. package/components/bal-checkbox-button.js +6 -6
  11. package/components/bal-checkbox-group.js +1 -1
  12. package/components/bal-checkbox2.js +3 -2
  13. package/components/bal-close2.js +1 -1
  14. package/components/bal-content.js +4 -4
  15. package/components/bal-date-calendar-cell.js +2 -2
  16. package/components/bal-date-calendar-cell2.js +3 -3
  17. package/components/bal-date-calendar2.js +3 -3
  18. package/components/bal-datepicker.js +3 -3
  19. package/components/bal-divider.js +4 -4
  20. package/components/bal-doc-app.d.ts +11 -0
  21. package/components/bal-doc-app.js +260 -0
  22. package/components/bal-dropdown.d.ts +11 -0
  23. package/components/bal-dropdown.js +710 -0
  24. package/components/bal-field.js +12 -2
  25. package/components/bal-file-upload.js +1 -1
  26. package/components/bal-footer.js +4 -4
  27. package/components/bal-input-slider.js +1 -1
  28. package/components/bal-label.js +2 -2
  29. package/components/bal-label2.js +5 -5
  30. package/components/bal-nav-link-grid-col.js +2 -2
  31. package/components/bal-nav-link-grid-col2.js +4 -4
  32. package/components/bal-nav-link-grid.js +2 -2
  33. package/components/bal-nav-link-grid2.js +4 -4
  34. package/components/bal-nav-link-group.js +4 -4
  35. package/components/bal-nav-link.js +2 -2
  36. package/components/bal-nav-link2.js +4 -4
  37. package/components/bal-nav.js +8 -8
  38. package/components/bal-notices.js +3 -3
  39. package/components/bal-number-input.js +31 -13
  40. package/components/bal-option-list.d.ts +11 -0
  41. package/components/bal-option-list.js +459 -0
  42. package/components/bal-option.d.ts +11 -0
  43. package/components/bal-option.js +171 -0
  44. package/components/bal-popup.js +1 -1
  45. package/components/bal-radio-button.js +5 -5
  46. package/components/bal-radio-group.js +1 -1
  47. package/components/bal-radio2.js +1 -1
  48. package/components/bal-select2.js +4 -4
  49. package/components/bal-spinner2.js +54 -6
  50. package/components/bal-stack.js +2 -2
  51. package/components/bal-stack2.js +4 -4
  52. package/components/bal-steps.js +1 -1
  53. package/components/bal-tabs2.js +2 -2
  54. package/components/bal-tag2.js +1 -1
  55. package/components/config.default.js +1 -0
  56. package/components/date.js +5 -1
  57. package/components/index.esm.js +1 -1
  58. package/components/index.js +6 -282
  59. package/components/initialize.js +288 -0
  60. package/components/option.js +46 -0
  61. package/components/tokens.esm.js +1 -1
  62. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  63. package/dist/baloise-design-system/baloise-design-system.js +1 -1
  64. package/dist/baloise-design-system/index.esm.js +1 -1
  65. package/dist/baloise-design-system/p-0639833837.system.entry.js +1 -0
  66. package/dist/baloise-design-system/{p-88852ce68d.system.entry.js → p-06e9a468fc.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/p-0793c0159f.system.entry.js +1 -0
  68. package/dist/baloise-design-system/{p-cee3cd08.js → p-0cb5658b.js} +1 -1
  69. package/dist/baloise-design-system/{p-e113196061.system.entry.js → p-126c79c9e9.system.entry.js} +1 -1
  70. package/dist/baloise-design-system/{p-bb2ec275bb.system.entry.js → p-12bb6ea3e7.system.entry.js} +1 -1
  71. package/dist/baloise-design-system/p-12bcc7da.js +1 -0
  72. package/dist/baloise-design-system/p-14c79109d8.entry.js +1 -0
  73. package/dist/baloise-design-system/{p-3bbf43bb.system.js → p-1509eaa7.system.js} +1 -1
  74. package/dist/baloise-design-system/{p-946e9e784d.system.entry.js → p-1659bb968c.system.entry.js} +1 -1
  75. package/dist/baloise-design-system/p-187f98a1.system.js +1 -0
  76. package/dist/baloise-design-system/{p-a5568e05fb.system.entry.js → p-18b0683fdc.system.entry.js} +1 -1
  77. package/dist/baloise-design-system/p-18e2e391e0.system.entry.js +1 -0
  78. package/dist/baloise-design-system/p-1de6b20b1c.system.entry.js +1 -0
  79. package/dist/baloise-design-system/{p-681d41fc97.entry.js → p-21af55e28a.entry.js} +1 -1
  80. package/dist/baloise-design-system/{p-1c2dee82c4.system.entry.js → p-222bc9b30e.system.entry.js} +1 -1
  81. package/dist/baloise-design-system/p-22b041a511.entry.js +1 -0
  82. package/dist/baloise-design-system/{p-762f45ff6f.entry.js → p-2abdcb6dcf.entry.js} +1 -1
  83. package/dist/baloise-design-system/p-2d82b78410.entry.js +1 -0
  84. package/dist/baloise-design-system/{p-a0db085f89.entry.js → p-2d8bd11634.entry.js} +1 -1
  85. package/dist/baloise-design-system/p-2db9030ad9.system.entry.js +1 -0
  86. package/dist/baloise-design-system/p-317cee9b56.system.entry.js +1 -0
  87. package/dist/baloise-design-system/p-360068a4.system.js +1 -0
  88. package/dist/baloise-design-system/{p-9a5cb17cb9.entry.js → p-39bc49bc3d.entry.js} +1 -1
  89. package/dist/baloise-design-system/p-3bad0907.system.js +1 -0
  90. package/dist/baloise-design-system/p-3cdc486c.system.js +1 -0
  91. package/dist/baloise-design-system/{p-12786937.js → p-3f1c49d0.js} +1 -1
  92. package/dist/baloise-design-system/p-473125ae77.system.entry.js +1 -0
  93. package/dist/baloise-design-system/p-4c3107abae.system.entry.js +1 -0
  94. package/dist/baloise-design-system/{p-32bc2b926a.entry.js → p-4e0c5650db.entry.js} +1 -1
  95. package/dist/baloise-design-system/{p-62770d5d.system.js → p-51f6ee7a.system.js} +1 -1
  96. package/dist/baloise-design-system/{p-9e4fcb76.js → p-54f81c32.js} +1 -1
  97. package/dist/baloise-design-system/{p-922fd809.system.js → p-55faac1d.system.js} +1 -1
  98. package/dist/baloise-design-system/p-56493de51e.entry.js +1 -0
  99. package/dist/baloise-design-system/p-5b571a9fb1.entry.js +1 -0
  100. package/dist/baloise-design-system/{p-06e959a11a.entry.js → p-6164f99bb8.entry.js} +1 -1
  101. package/dist/baloise-design-system/p-6648acba05.entry.js +1 -0
  102. package/dist/baloise-design-system/{p-8177dec3.system.js → p-67ed04b9.system.js} +1 -1
  103. package/dist/baloise-design-system/p-68e87619.js +1 -0
  104. package/dist/baloise-design-system/{p-33cd610840.system.entry.js → p-6b3e1f72ee.system.entry.js} +1 -1
  105. package/dist/baloise-design-system/p-6cecede8d4.entry.js +1 -0
  106. package/dist/baloise-design-system/p-6d1b6215.js +1 -0
  107. package/dist/baloise-design-system/{p-31d9c875c0.system.entry.js → p-6f29dd6430.system.entry.js} +1 -1
  108. package/dist/baloise-design-system/p-7291766c.system.js +1 -0
  109. package/dist/baloise-design-system/{p-ac825842e4.system.entry.js → p-746f464427.system.entry.js} +1 -1
  110. package/dist/baloise-design-system/p-77f5e777e6.entry.js +1 -0
  111. package/dist/baloise-design-system/p-7c42a363f3.entry.js +1 -0
  112. package/dist/baloise-design-system/p-7cd815d3e8.entry.js +1 -0
  113. package/dist/baloise-design-system/{p-9e7610a20f.system.entry.js → p-7f42c8d65e.system.entry.js} +1 -1
  114. package/dist/baloise-design-system/p-80b45dd4d6.system.entry.js +1 -0
  115. package/dist/baloise-design-system/{p-9cc5ae9e5c.entry.js → p-833c1c2fb9.entry.js} +1 -1
  116. package/dist/baloise-design-system/{p-f62222a85d.entry.js → p-83fb742dde.entry.js} +1 -1
  117. package/dist/baloise-design-system/{p-af5b58ab1c.system.entry.js → p-8870e1f3e0.system.entry.js} +1 -1
  118. package/dist/baloise-design-system/{p-3cb83cf9.system.js → p-8a87b9a8.system.js} +1 -1
  119. package/dist/baloise-design-system/{p-720c90ea90.system.entry.js → p-8d71cd5071.system.entry.js} +1 -1
  120. package/dist/baloise-design-system/p-8f77c423ad.entry.js +1 -0
  121. package/dist/baloise-design-system/{p-1b76afbf.js → p-94efe2aa.js} +1 -1
  122. package/dist/baloise-design-system/{p-0ce86357bd.entry.js → p-9658f4a66f.entry.js} +1 -1
  123. package/dist/baloise-design-system/{p-c3bd665a8b.entry.js → p-9e167705ca.entry.js} +1 -1
  124. package/dist/baloise-design-system/p-9ecce014c2.system.entry.js +1 -0
  125. package/dist/baloise-design-system/{p-33fca72859.entry.js → p-a04617f794.entry.js} +1 -1
  126. package/dist/baloise-design-system/p-a19d1e1d.js +1 -0
  127. package/dist/baloise-design-system/p-a7e5ee75e2.entry.js +1 -0
  128. package/dist/baloise-design-system/p-ae28b86fe5.entry.js +1 -0
  129. package/dist/baloise-design-system/{p-1cdfb98b54.entry.js → p-af3d0413d9.entry.js} +1 -1
  130. package/dist/baloise-design-system/{p-6b80dee13f.system.entry.js → p-b292c6efb8.system.entry.js} +1 -1
  131. package/dist/baloise-design-system/p-b779742f50.entry.js +1 -0
  132. package/dist/baloise-design-system/p-b8f085f7b5.system.entry.js +1 -0
  133. package/dist/baloise-design-system/p-b97d9336a7.system.entry.js +1 -0
  134. package/dist/baloise-design-system/{p-b3a2290c0d.entry.js → p-b9f197815f.entry.js} +1 -1
  135. package/dist/baloise-design-system/{p-cf6ccb4dd1.entry.js → p-ba1d007d58.entry.js} +1 -1
  136. package/dist/baloise-design-system/p-bb6304d0.system.js +1 -0
  137. package/dist/baloise-design-system/p-bcbb5b59f3.system.entry.js +1 -0
  138. package/dist/baloise-design-system/p-bd5de78b2c.entry.js +1 -0
  139. package/dist/baloise-design-system/{p-8444cfcbed.system.entry.js → p-bf0a07bdf3.system.entry.js} +1 -1
  140. package/dist/baloise-design-system/p-c304d5fa9c.entry.js +1 -0
  141. package/dist/baloise-design-system/{p-8998eeb2a7.system.entry.js → p-c65e1d9169.system.entry.js} +1 -1
  142. package/dist/baloise-design-system/p-d9b38501.js +1 -0
  143. package/dist/baloise-design-system/p-d9d229a026.entry.js +1 -0
  144. package/dist/baloise-design-system/{p-13227d037a.system.entry.js → p-dbc2d22240.system.entry.js} +1 -1
  145. package/dist/baloise-design-system/{p-aacb0cee66.system.entry.js → p-dce3764ee5.system.entry.js} +1 -1
  146. package/dist/baloise-design-system/{p-b34e0daa6e.system.entry.js → p-dd8e4e1c0a.system.entry.js} +1 -1
  147. package/dist/baloise-design-system/{p-a9300668b4.system.entry.js → p-e1e0243bf9.system.entry.js} +1 -1
  148. package/dist/baloise-design-system/{p-49a8bfb790.system.entry.js → p-e4de708de1.system.entry.js} +1 -1
  149. package/dist/baloise-design-system/p-e60c936359.system.entry.js +1 -0
  150. package/dist/baloise-design-system/p-e86ca61a84.entry.js +1 -0
  151. package/dist/baloise-design-system/p-e8ffddeb.js +1 -0
  152. package/dist/baloise-design-system/{p-f55c50abfa.system.entry.js → p-f076d1ed4f.system.entry.js} +1 -1
  153. package/dist/baloise-design-system/{p-671a986aff.entry.js → p-f133bb7235.entry.js} +1 -1
  154. package/dist/baloise-design-system/p-f56fb1a197.entry.js +1 -0
  155. package/dist/baloise-design-system/p-f8a98657a1.entry.js +1 -0
  156. package/dist/baloise-design-system/p-f959646a.system.js +1 -0
  157. package/dist/cjs/app-globals-5fd73c0c.js +7 -0
  158. package/dist/cjs/aria-c8955a5c.js +5 -0
  159. package/dist/cjs/bal-accordion_4.cjs.entry.js +4 -4
  160. package/dist/cjs/bal-card_6.cjs.entry.js +3 -3
  161. package/dist/cjs/bal-carousel_2.cjs.entry.js +5 -5
  162. package/dist/cjs/bal-checkbox-button.cjs.entry.js +6 -6
  163. package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -3
  164. package/dist/cjs/bal-close.cjs.entry.js +2 -2
  165. package/dist/cjs/bal-content.cjs.entry.js +4 -4
  166. package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
  167. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +5 -5
  168. package/dist/cjs/bal-date.cjs.entry.js +2 -2
  169. package/dist/cjs/bal-datepicker.cjs.entry.js +7 -7
  170. package/dist/cjs/bal-divider.cjs.entry.js +4 -4
  171. package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
  172. package/dist/cjs/bal-dropdown.cjs.entry.js +660 -0
  173. package/dist/cjs/bal-field_5.cjs.entry.js +12 -2
  174. package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
  175. package/dist/cjs/bal-footer.cjs.entry.js +4 -4
  176. package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
  177. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  178. package/dist/cjs/bal-input-slider.cjs.entry.js +1 -1
  179. package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
  180. package/dist/cjs/bal-label.cjs.entry.js +6 -6
  181. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  182. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  183. package/dist/cjs/bal-nav_8.cjs.entry.js +28 -28
  184. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  185. package/dist/cjs/bal-notices.cjs.entry.js +3 -3
  186. package/dist/cjs/bal-number-input.cjs.entry.js +32 -14
  187. package/dist/cjs/bal-option_2.cjs.entry.js +541 -0
  188. package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
  189. package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
  190. package/dist/cjs/bal-progress-bar.cjs.entry.js +3 -3
  191. package/dist/cjs/bal-radio-button.cjs.entry.js +5 -5
  192. package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
  193. package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
  194. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  195. package/dist/cjs/bal-spinner.cjs.entry.js +49 -4
  196. package/dist/cjs/bal-stack.cjs.entry.js +4 -4
  197. package/dist/cjs/bal-steps.cjs.entry.js +4 -4
  198. package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
  199. package/dist/cjs/bal-tag_2.cjs.entry.js +1 -1
  200. package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
  201. package/dist/cjs/baloise-design-system.cjs.js +5 -4
  202. package/dist/cjs/{breakpoints.decorator-7f888011.js → breakpoints.decorator-ea915727.js} +1 -1
  203. package/dist/cjs/{breakpoints.subject-28c980cd.js → breakpoints.subject-2de06dfa.js} +1 -1
  204. package/dist/cjs/{config.default-32725178.js → config.default-5bdd6e3d.js} +1 -0
  205. package/dist/cjs/{date-df1d61a8.js → date-3e33b208.js} +5 -1
  206. package/dist/cjs/global-2562a984.js +9 -0
  207. package/dist/cjs/index.cjs.js +7 -5
  208. package/dist/cjs/{initialize-e38e7028.js → initialize-2a19d091.js} +9 -2
  209. package/dist/cjs/loader.cjs.js +5 -4
  210. package/dist/cjs/option-c33cf2b8.js +49 -0
  211. package/dist/cjs/{tokens.esm-89d0f18d.js → tokens.esm-191e70ea.js} +1 -1
  212. package/dist/collection/collection-manifest.json +16 -1
  213. package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +2 -2
  214. package/dist/collection/components/bal-card/bal-card.js +1 -1
  215. package/dist/collection/components/bal-carousel/controls/tab-control.js +1 -1
  216. package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.css +1 -1
  217. package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +3 -3
  218. package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +1 -1
  219. package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
  220. package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
  221. package/dist/collection/components/bal-close/bal-close.js +1 -1
  222. package/dist/collection/components/bal-content/bal-content.js +2 -2
  223. package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.js +1 -1
  224. package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.js +1 -1
  225. package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +1 -1
  226. package/dist/collection/components/bal-datepicker/bal-datepicker.js +3 -3
  227. package/dist/collection/components/bal-divider/bal-divider.js +2 -2
  228. package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -0
  229. package/dist/collection/components/bal-dropdown/bal-dropdown.interfaces.js +4 -0
  230. package/dist/collection/components/bal-dropdown/bal-dropdown.js +882 -0
  231. package/dist/collection/components/bal-field/bal-field.js +12 -2
  232. package/dist/collection/components/bal-file-upload/components/file-list.js +1 -1
  233. package/dist/collection/components/bal-footer/bal-footer.js +3 -3
  234. package/dist/collection/components/bal-input-slider/bal-input-slider.js +1 -1
  235. package/dist/collection/components/bal-label/bal-label.js +3 -3
  236. package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
  237. package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +2 -2
  238. package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +2 -2
  239. package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +2 -2
  240. package/dist/collection/components/bal-nav/bal-nav.js +6 -6
  241. package/dist/collection/components/bal-nav/components/section-list.js +2 -2
  242. package/dist/collection/components/bal-nav/components/service-list.js +2 -2
  243. package/dist/collection/components/bal-notices/bal-notices.js +1 -1
  244. package/dist/collection/components/bal-number-input/bal-number-input.js +5 -0
  245. package/dist/collection/components/bal-number-input/bal-number-input.utils.js +27 -14
  246. package/dist/collection/components/bal-number-input/bal-number-input.utils.spec.js +82 -0
  247. package/dist/collection/components/bal-option/bal-option.css +1 -0
  248. package/dist/collection/components/bal-option/bal-option.interfaces.js +4 -0
  249. package/dist/collection/components/bal-option/bal-option.js +360 -0
  250. package/dist/collection/components/bal-option-list/bal-option-list.css +1 -0
  251. package/dist/collection/components/bal-option-list/bal-option-list.interfaces.js +4 -0
  252. package/dist/collection/components/bal-option-list/bal-option-list.js +939 -0
  253. package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +3 -3
  254. package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +1 -1
  255. package/dist/collection/components/bal-select/bal-select.js +4 -4
  256. package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
  257. package/dist/collection/components/bal-spinner/bal-spinner.interfaces.js +4 -0
  258. package/dist/collection/components/bal-spinner/bal-spinner.js +83 -4
  259. package/dist/collection/components/bal-stack/bal-stack.js +2 -2
  260. package/dist/collection/components/bal-steps/bal-steps.js +1 -1
  261. package/dist/collection/components/bal-tabs/components/tab-nav.js +1 -1
  262. package/dist/collection/components/bal-tabs/components/tab-select.js +1 -1
  263. package/dist/collection/components/bal-tag/bal-tag.css +1 -1
  264. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
  265. package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +229 -0
  266. package/dist/collection/index.js +1 -0
  267. package/dist/collection/utils/aria.js +1 -0
  268. package/dist/collection/utils/config/config.default.js +1 -0
  269. package/dist/collection/utils/config/config.js +7 -0
  270. package/dist/collection/utils/constants/version.constant.js +1 -1
  271. package/dist/collection/utils/date/date.js +5 -1
  272. package/dist/collection/utils/date/date.spec.js +11 -5
  273. package/dist/collection/utils/dropdown/auto-fill.js +38 -0
  274. package/dist/collection/utils/dropdown/component.js +1 -0
  275. package/dist/collection/utils/dropdown/dropdown.i18n.js +52 -0
  276. package/dist/collection/utils/dropdown/events.js +43 -0
  277. package/dist/collection/utils/dropdown/filters.js +10 -0
  278. package/dist/collection/utils/dropdown/focus.js +19 -0
  279. package/dist/collection/utils/dropdown/form-submit.js +35 -0
  280. package/dist/collection/utils/dropdown/icon.js +15 -0
  281. package/dist/collection/utils/dropdown/index.js +13 -0
  282. package/dist/collection/utils/dropdown/input.js +12 -0
  283. package/dist/collection/utils/dropdown/option-list.js +8 -0
  284. package/dist/collection/utils/dropdown/option.js +44 -0
  285. package/dist/collection/utils/dropdown/popup.js +45 -0
  286. package/dist/collection/utils/dropdown/value.js +103 -0
  287. package/dist/esm/app-globals-970bab17.js +5 -0
  288. package/dist/esm/aria-d5877698.js +3 -0
  289. package/dist/esm/bal-accordion_4.entry.js +4 -4
  290. package/dist/esm/bal-card_6.entry.js +3 -3
  291. package/dist/esm/bal-carousel_2.entry.js +5 -5
  292. package/dist/esm/bal-checkbox-button.entry.js +6 -6
  293. package/dist/esm/bal-checkbox_2.entry.js +5 -4
  294. package/dist/esm/bal-close.entry.js +2 -2
  295. package/dist/esm/bal-content.entry.js +4 -4
  296. package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
  297. package/dist/esm/bal-date-calendar_2.entry.js +6 -6
  298. package/dist/esm/bal-date.entry.js +3 -3
  299. package/dist/esm/bal-datepicker.entry.js +8 -8
  300. package/dist/esm/bal-divider.entry.js +4 -4
  301. package/dist/esm/bal-doc-app.entry.js +227 -0
  302. package/dist/esm/bal-dropdown.entry.js +656 -0
  303. package/dist/esm/bal-field_5.entry.js +12 -2
  304. package/dist/esm/bal-file-upload.entry.js +2 -2
  305. package/dist/esm/bal-footer.entry.js +5 -5
  306. package/dist/esm/bal-hint_3.entry.js +3 -3
  307. package/dist/esm/bal-icon.entry.js +1 -1
  308. package/dist/esm/bal-input-slider.entry.js +1 -1
  309. package/dist/esm/bal-input-stepper.entry.js +2 -2
  310. package/dist/esm/bal-label.entry.js +6 -6
  311. package/dist/esm/bal-list_8.entry.js +3 -3
  312. package/dist/esm/bal-logo.entry.js +3 -3
  313. package/dist/esm/bal-nav_8.entry.js +24 -24
  314. package/dist/esm/bal-navbar_5.entry.js +3 -3
  315. package/dist/esm/bal-notices.entry.js +3 -3
  316. package/dist/esm/bal-number-input.entry.js +33 -15
  317. package/dist/esm/bal-option_2.entry.js +536 -0
  318. package/dist/esm/bal-pagination.entry.js +4 -4
  319. package/dist/esm/bal-popover_2.entry.js +3 -3
  320. package/dist/esm/bal-popup.entry.js +1 -1
  321. package/dist/esm/bal-progress-bar.entry.js +3 -3
  322. package/dist/esm/bal-radio-button.entry.js +5 -5
  323. package/dist/esm/bal-radio_2.entry.js +3 -3
  324. package/dist/esm/bal-select_2.entry.js +4 -4
  325. package/dist/esm/bal-shape.entry.js +1 -1
  326. package/dist/esm/bal-spinner.entry.js +50 -5
  327. package/dist/esm/bal-stack.entry.js +4 -4
  328. package/dist/esm/bal-steps.entry.js +5 -5
  329. package/dist/esm/bal-tab-item_2.entry.js +6 -6
  330. package/dist/esm/bal-tag_2.entry.js +1 -1
  331. package/dist/esm/bal-time-input.entry.js +1 -1
  332. package/dist/esm/baloise-design-system.js +5 -4
  333. package/dist/esm/{breakpoints.decorator-52979d29.js → breakpoints.decorator-4f0969a0.js} +1 -1
  334. package/dist/esm/{breakpoints.subject-64327a3b.js → breakpoints.subject-5b2ef6bb.js} +1 -1
  335. package/dist/esm/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -0
  336. package/dist/esm/{date-db6afc26.js → date-38a0b208.js} +6 -2
  337. package/dist/esm/global-63f4bcec.js +7 -0
  338. package/dist/esm/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
  339. package/dist/esm/index.js +8 -7
  340. package/dist/esm/{initialize-66615dde.js → initialize-e216cfe4.js} +9 -2
  341. package/dist/esm/loader.js +5 -4
  342. package/dist/esm/option-37cb0282.js +46 -0
  343. package/dist/esm/{tokens.esm-12daa3af.js → tokens.esm-5fc473dd.js} +1 -1
  344. package/dist/esm-es5/app-globals-970bab17.js +1 -0
  345. package/dist/esm-es5/aria-d5877698.js +1 -0
  346. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  347. package/dist/esm-es5/bal-card_6.entry.js +1 -1
  348. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  349. package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
  350. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  351. package/dist/esm-es5/bal-close.entry.js +1 -1
  352. package/dist/esm-es5/bal-content.entry.js +1 -1
  353. package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
  354. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  355. package/dist/esm-es5/bal-date.entry.js +1 -1
  356. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  357. package/dist/esm-es5/bal-divider.entry.js +1 -1
  358. package/dist/esm-es5/bal-doc-app.entry.js +1 -0
  359. package/dist/esm-es5/bal-dropdown.entry.js +1 -0
  360. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  361. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  362. package/dist/esm-es5/bal-footer.entry.js +1 -1
  363. package/dist/esm-es5/bal-hint_3.entry.js +1 -1
  364. package/dist/esm-es5/bal-icon.entry.js +1 -1
  365. package/dist/esm-es5/bal-input-slider.entry.js +1 -1
  366. package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
  367. package/dist/esm-es5/bal-label.entry.js +1 -1
  368. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  369. package/dist/esm-es5/bal-logo.entry.js +1 -1
  370. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  371. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  372. package/dist/esm-es5/bal-notices.entry.js +1 -1
  373. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  374. package/dist/esm-es5/bal-option_2.entry.js +1 -0
  375. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  376. package/dist/esm-es5/bal-popover_2.entry.js +1 -1
  377. package/dist/esm-es5/bal-popup.entry.js +1 -1
  378. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  379. package/dist/esm-es5/bal-radio-button.entry.js +1 -1
  380. package/dist/esm-es5/bal-radio_2.entry.js +1 -1
  381. package/dist/esm-es5/bal-select_2.entry.js +1 -1
  382. package/dist/esm-es5/bal-shape.entry.js +1 -1
  383. package/dist/esm-es5/bal-spinner.entry.js +1 -1
  384. package/dist/esm-es5/bal-stack.entry.js +1 -1
  385. package/dist/esm-es5/bal-steps.entry.js +1 -1
  386. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  387. package/dist/esm-es5/bal-tag_2.entry.js +1 -1
  388. package/dist/esm-es5/bal-time-input.entry.js +1 -1
  389. package/dist/esm-es5/baloise-design-system.js +1 -1
  390. package/dist/esm-es5/breakpoints.decorator-4f0969a0.js +1 -0
  391. package/dist/esm-es5/{breakpoints.subject-64327a3b.js → breakpoints.subject-5b2ef6bb.js} +1 -1
  392. package/dist/esm-es5/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -1
  393. package/dist/esm-es5/{date-db6afc26.js → date-38a0b208.js} +1 -1
  394. package/dist/esm-es5/global-63f4bcec.js +1 -0
  395. package/dist/esm-es5/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
  396. package/dist/esm-es5/index.js +1 -1
  397. package/dist/esm-es5/{initialize-66615dde.js → initialize-e216cfe4.js} +1 -1
  398. package/dist/esm-es5/loader.js +1 -1
  399. package/dist/esm-es5/option-37cb0282.js +1 -0
  400. package/dist/html.html-data.json +357 -0
  401. package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +1 -1
  402. package/dist/types/components/bal-card/bal-card.d.ts +1 -1
  403. package/dist/types/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.d.ts +1 -1
  404. package/dist/types/components/bal-content/bal-content.d.ts +1 -1
  405. package/dist/types/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.d.ts +1 -1
  406. package/dist/types/components/bal-divider/bal-divider.d.ts +1 -1
  407. package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +187 -0
  408. package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +14 -0
  409. package/dist/types/components/bal-field/bal-field.d.ts +1 -0
  410. package/dist/types/components/bal-label/bal-label.d.ts +1 -1
  411. package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.d.ts +1 -1
  412. package/dist/types/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.d.ts +1 -1
  413. package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.d.ts +1 -1
  414. package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.d.ts +1 -1
  415. package/dist/types/components/bal-nav/bal-nav.d.ts +1 -1
  416. package/dist/types/components/bal-notices/bal-notices.d.ts +1 -1
  417. package/dist/types/components/bal-number-input/bal-number-input.d.ts +1 -0
  418. package/dist/types/components/bal-number-input/bal-number-input.utils.d.ts +3 -1
  419. package/dist/types/components/bal-option/bal-option.d.ts +91 -0
  420. package/dist/types/components/bal-option/bal-option.interfaces.d.ts +19 -0
  421. package/dist/types/components/bal-option-list/bal-option-list.d.ts +168 -0
  422. package/dist/types/components/bal-option-list/bal-option-list.interfaces.d.ts +5 -0
  423. package/dist/types/components/bal-radio/bal-radio-button/bal-radio-button.d.ts +1 -1
  424. package/dist/types/components/bal-select/bal-select.d.ts +1 -1
  425. package/dist/types/components/bal-spinner/bal-spinner.d.ts +14 -2
  426. package/dist/types/components/bal-spinner/bal-spinner.interfaces.d.ts +6 -0
  427. package/dist/types/components/bal-stack/bal-stack.d.ts +1 -1
  428. package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
  429. package/dist/types/components.d.ts +488 -3
  430. package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +81 -0
  431. package/dist/types/index.d.ts +1 -0
  432. package/dist/types/interfaces.d.ts +4 -0
  433. package/dist/types/utils/aria.d.ts +1 -0
  434. package/dist/types/utils/config/config.d.ts +2 -0
  435. package/dist/types/utils/config/config.types.d.ts +2 -0
  436. package/dist/types/utils/date/date.d.ts +1 -0
  437. package/dist/types/utils/dropdown/auto-fill.d.ts +8 -0
  438. package/dist/types/utils/dropdown/component.d.ts +34 -0
  439. package/dist/types/utils/dropdown/dropdown.i18n.d.ts +8 -0
  440. package/dist/types/utils/dropdown/events.d.ts +13 -0
  441. package/dist/types/utils/dropdown/filters.d.ts +2 -0
  442. package/dist/types/utils/dropdown/focus.d.ts +13 -0
  443. package/dist/types/utils/dropdown/form-submit.d.ts +22 -0
  444. package/dist/types/utils/dropdown/icon.d.ts +13 -0
  445. package/dist/types/utils/dropdown/index.d.ts +13 -0
  446. package/dist/types/utils/dropdown/input.d.ts +27 -0
  447. package/dist/types/utils/dropdown/option-list.d.ts +17 -0
  448. package/dist/types/utils/dropdown/option.d.ts +25 -0
  449. package/dist/types/utils/dropdown/popup.d.ts +9 -0
  450. package/dist/types/utils/dropdown/value.d.ts +28 -0
  451. package/package.json +8 -7
  452. package/dist/baloise-design-system/p-05b55c958d.system.entry.js +0 -1
  453. package/dist/baloise-design-system/p-0d30cbfab8.entry.js +0 -1
  454. package/dist/baloise-design-system/p-15ca43f2.system.js +0 -1
  455. package/dist/baloise-design-system/p-1e0e5892a3.system.entry.js +0 -1
  456. package/dist/baloise-design-system/p-2c3370fdbe.system.entry.js +0 -1
  457. package/dist/baloise-design-system/p-2d10e25c6b.entry.js +0 -1
  458. package/dist/baloise-design-system/p-2dda46c5f8.entry.js +0 -1
  459. package/dist/baloise-design-system/p-34a9557f.system.js +0 -1
  460. package/dist/baloise-design-system/p-34d1472a.system.js +0 -1
  461. package/dist/baloise-design-system/p-3990d97696.entry.js +0 -1
  462. package/dist/baloise-design-system/p-48a2de5d.js +0 -1
  463. package/dist/baloise-design-system/p-4e218ac923.system.entry.js +0 -1
  464. package/dist/baloise-design-system/p-4f4df156.js +0 -1
  465. package/dist/baloise-design-system/p-5eea406ac6.system.entry.js +0 -1
  466. package/dist/baloise-design-system/p-6496dcd5.js +0 -1
  467. package/dist/baloise-design-system/p-67f25817a6.entry.js +0 -1
  468. package/dist/baloise-design-system/p-6dd26958d2.system.entry.js +0 -1
  469. package/dist/baloise-design-system/p-7e180ac10f.system.entry.js +0 -1
  470. package/dist/baloise-design-system/p-8ea27b553e.system.entry.js +0 -1
  471. package/dist/baloise-design-system/p-90c4c1a5c0.system.entry.js +0 -1
  472. package/dist/baloise-design-system/p-99dcda2fcd.entry.js +0 -1
  473. package/dist/baloise-design-system/p-a9d8b71709.entry.js +0 -1
  474. package/dist/baloise-design-system/p-af8604cef2.entry.js +0 -1
  475. package/dist/baloise-design-system/p-b1c7ddc442.system.entry.js +0 -1
  476. package/dist/baloise-design-system/p-b1e3fc0bc8.entry.js +0 -1
  477. package/dist/baloise-design-system/p-bb291d6067.system.entry.js +0 -1
  478. package/dist/baloise-design-system/p-c0a3d422.system.js +0 -1
  479. package/dist/baloise-design-system/p-c34504aa32.entry.js +0 -1
  480. package/dist/baloise-design-system/p-c6900b09e7.entry.js +0 -1
  481. package/dist/baloise-design-system/p-d4fd428711.entry.js +0 -1
  482. package/dist/baloise-design-system/p-d6fc0dd434.entry.js +0 -1
  483. package/dist/baloise-design-system/p-db3e6b861f.entry.js +0 -1
  484. package/dist/baloise-design-system/p-eba35b2adf.entry.js +0 -1
  485. package/dist/baloise-design-system/p-ec180f9bbf.entry.js +0 -1
  486. package/dist/baloise-design-system/p-f15b12d84f.entry.js +0 -1
  487. package/dist/cjs/app-globals-d6bc7866.js +0 -11
  488. package/dist/esm/app-globals-89691d80.js +0 -9
  489. package/dist/esm-es5/app-globals-89691d80.js +0 -1
  490. package/dist/esm-es5/breakpoints.decorator-52979d29.js +0 -1
  491. /package/dist/baloise-design-system/{p-979368af.js → p-243cb124.js} +0 -0
  492. /package/dist/baloise-design-system/{p-61eda028.system.js → p-716f4ea0.system.js} +0 -0
  493. /package/dist/esm-es5/{tokens.esm-12daa3af.js → tokens.esm-5fc473dd.js} +0 -0
@@ -0,0 +1,21 @@
1
+ import { ComponentInterface } from '../../../stencil-public-runtime';
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class DocApp implements ComponentInterface {
6
+ logComponents: string;
7
+ logLifecycle: boolean;
8
+ logEvents: boolean;
9
+ logRender: boolean;
10
+ logCustom: boolean;
11
+ stickyFooter: boolean;
12
+ region?: string;
13
+ language?: string;
14
+ /**
15
+ * Disables all animation inside the bal-app. Can be used for simplify e2e testing.
16
+ */
17
+ animated: boolean;
18
+ connectedCallback(): void;
19
+ componentDidRender(): void;
20
+ render(): any;
21
+ }
@@ -10,6 +10,7 @@ import { AccordionState, BalAriaForm as BalAriaForm1, BalConfigState as BalConfi
10
10
  import { BalCarouselItemData } from "./components/bal-carousel/bal-carousel.type";
11
11
  import { BalCheckboxOption } from "./components/bal-checkbox/bal-checkbox.type";
12
12
  import { BalAriaForm } from "./utils/form";
13
+ import { BalOption } from "./utils/dropdown";
13
14
  import { OverlayEventDetail } from "./components/bal-modal/bal-modal.type";
14
15
  import { PopoverPresentOptions } from "./components/bal-popover/bal-popover";
15
16
  import { BalRadioOption } from "./components/bal-radio/bal-radio.type";
@@ -20,6 +21,7 @@ export { AccordionState, BalAriaForm as BalAriaForm1, BalConfigState as BalConfi
20
21
  export { BalCarouselItemData } from "./components/bal-carousel/bal-carousel.type";
21
22
  export { BalCheckboxOption } from "./components/bal-checkbox/bal-checkbox.type";
22
23
  export { BalAriaForm } from "./utils/form";
24
+ export { BalOption } from "./utils/dropdown";
23
25
  export { OverlayEventDetail } from "./components/bal-modal/bal-modal.type";
24
26
  export { PopoverPresentOptions } from "./components/bal-popover/bal-popover";
25
27
  export { BalRadioOption } from "./components/bal-radio/bal-radio.type";
@@ -951,6 +953,113 @@ export namespace Components {
951
953
  */
952
954
  "space": BalProps.BalDividerSpace;
953
955
  }
956
+ interface BalDocApp {
957
+ /**
958
+ * Disables all animation inside the bal-app. Can be used for simplify e2e testing.
959
+ */
960
+ "animated": boolean;
961
+ "language"?: string;
962
+ "logComponents": string;
963
+ "logCustom": boolean;
964
+ "logEvents": boolean;
965
+ "logLifecycle": boolean;
966
+ "logRender": boolean;
967
+ "region"?: string;
968
+ "stickyFooter": boolean;
969
+ }
970
+ interface BalDropdown {
971
+ /**
972
+ * Indicates whether the value of the control can be automatically completed by the browser.
973
+ */
974
+ "autocomplete": BalProps.BalInputAutocomplete;
975
+ /**
976
+ * If `true`, the selected options are shown as chips
977
+ */
978
+ "chips": boolean;
979
+ /**
980
+ * Sets the value to `[]`, the input value to ´''´ and the focus index to ´0´.
981
+ */
982
+ "clear": () => Promise<void>;
983
+ /**
984
+ * If `true`, a cross at the end is visible to clear the selection
985
+ */
986
+ "clearable": boolean;
987
+ /**
988
+ * Closes the popup with option list
989
+ */
990
+ "close": () => Promise<void>;
991
+ "configChanged": (state: BalConfigState) => Promise<void>;
992
+ /**
993
+ * Defines the max height of the list element
994
+ */
995
+ "contentHeight": number;
996
+ /**
997
+ * If `true`, the user cannot interact with the option.
998
+ */
999
+ "disabled": boolean;
1000
+ /**
1001
+ * Defines the filter logic of the list
1002
+ */
1003
+ "filter": BalProps.BalOptionListFilter;
1004
+ /**
1005
+ * Returns the value of the component
1006
+ */
1007
+ "getValue": () => Promise<string[]>;
1008
+ /**
1009
+ * If `true` there will be on trigger icon visible
1010
+ */
1011
+ "icon": string;
1012
+ /**
1013
+ * If `true`, the component will be shown as invalid
1014
+ */
1015
+ "invalid": boolean;
1016
+ "inverted": boolean;
1017
+ /**
1018
+ * Defines if the select is in a loading state.
1019
+ */
1020
+ "loading": boolean;
1021
+ /**
1022
+ * If `true`, the user can select multiple options.
1023
+ */
1024
+ "multiple": boolean;
1025
+ /**
1026
+ * The name of the control, which is submitted with the form data.
1027
+ */
1028
+ "name": string;
1029
+ /**
1030
+ * Opens the popup with option list
1031
+ */
1032
+ "open": () => Promise<void>;
1033
+ /**
1034
+ * Steps can be passed as a property or through HTML markup.
1035
+ */
1036
+ "options": BalOption[];
1037
+ /**
1038
+ * Defines the placeholder of the component. Only shown when the value is empty
1039
+ */
1040
+ "placeholder": string;
1041
+ /**
1042
+ * If `true` the element can not mutated, meaning the user can not edit the control.
1043
+ */
1044
+ "readonly": boolean;
1045
+ /**
1046
+ * If `true`, the user must fill in a value before submitting a form.
1047
+ */
1048
+ "required": boolean;
1049
+ /**
1050
+ * Select option by passed value
1051
+ */
1052
+ "select": (newValue: string | string[]) => Promise<void>;
1053
+ "setAriaForm": (ariaForm: BalAriaForm) => Promise<void>;
1054
+ /**
1055
+ * Sets the focus on the input element
1056
+ */
1057
+ "setFocus": () => Promise<void>;
1058
+ /**
1059
+ * The value of the selected options.
1060
+ */
1061
+ "value"?: string | string[];
1062
+ }
954
1063
  interface BalField {
955
1064
  /**
956
1065
  * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
@@ -2066,6 +2175,145 @@ export namespace Components {
2066
2175
  */
2067
2176
  "value"?: number;
2068
2177
  }
2178
+ interface BalOption {
2179
+ /**
2180
+ * If `true`, the user cannot interact with the option.
2181
+ */
2182
+ "disabled": boolean;
2183
+ /**
2184
+ * If `true`, the option is focused.
2185
+ */
2186
+ "focused": boolean;
2187
+ /**
2188
+ * If `true`, the option is hidden.
2189
+ */
2190
+ "hidden": boolean;
2191
+ /**
2192
+ * If `true`, the option is shown in red.
2193
+ */
2194
+ "invalid": boolean;
2195
+ /**
2196
+ * Label will be shown in the input element when it got selected
2197
+ */
2198
+ "label": string;
2199
+ /**
2200
+ * If `true`, the option can present in more than one line.
2201
+ */
2202
+ "multiline": boolean;
2203
+ /**
2204
+ * Selects or deselects the option and informs other components
2205
+ */
2206
+ "select": (selected?: boolean) => Promise<void>;
2207
+ /**
2208
+ * If `true`, the option is selected.
2209
+ */
2210
+ "selected": boolean;
2211
+ /**
2212
+ * The value of the select option. This value will be returned by the parent `<bal-select>` element.
2213
+ */
2214
+ "value": string;
2215
+ }
2216
+ interface BalOptionList {
2217
+ /**
2218
+ * Defines the max height of the list element
2219
+ */
2220
+ "contentHeight"?: number;
2221
+ /**
2222
+ * If `true`, the user cannot interact with the option.
2223
+ */
2224
+ "disabled": boolean;
2225
+ /**
2226
+ * Defines the filter logic of the list
2227
+ */
2228
+ "filter": BalProps.BalOptionListFilter;
2229
+ /**
2230
+ * Filter the options by the given filter property and hides options
2231
+ * @returns focusIndex
2232
+ */
2233
+ "filterByContent": (search: string) => Promise<number>;
2234
+ /**
2235
+ * Focus the option with the label that starts with the search property
2236
+ * @returns focusIndex
2237
+ */
2238
+ "focusByLabel": (search: string, config: Partial<{ select: boolean; }>) => Promise<number>;
2239
+ /**
2240
+ * Focus the first visible option in the list
2241
+ * @returns focusIndex
2242
+ */
2243
+ "focusFirst": () => Promise<number>;
2244
+ /**
2245
+ * Defines the focused option with his index value
2246
+ */
2247
+ "focusIndex": number;
2248
+ /**
2249
+ * Focus the last visible option in the list
2250
+ * @returns focusIndex
2251
+ */
2252
+ "focusLast": () => Promise<number>;
2253
+ /**
2254
+ * Focus the next visible option in the list
2255
+ * @returns focusIndex
2256
+ */
2257
+ "focusNext": () => Promise<number>;
2258
+ /**
2259
+ * Focus the previous visible option in the list
2260
+ * @returns focusIndex
2261
+ */
2262
+ "focusPrevious": () => Promise<number>;
2263
+ /**
2264
+ * Returns a list of options
2265
+ */
2266
+ "getLabels": () => Promise<string[]>;
2267
+ /**
2268
+ * Returns a list of accessible options
2269
+ */
2270
+ "getOptions": () => Promise<BalOption[]>;
2271
+ /**
2272
+ * Returns a list of option labels
2273
+ */
2274
+ "getSelectedOptions": (values?: string[]) => Promise<BalOption[]>;
2275
+ /**
2276
+ * Returns a list of option values
2277
+ */
2278
+ "getSelectedValues": () => Promise<string[]>;
2279
+ /**
2280
+ * Returns a list of options
2281
+ */
2282
+ "getValues": () => Promise<string[]>;
2283
+ /**
2284
+ * Id of the label element to describe this option list
2285
+ */
2286
+ "labelledby"?: string;
2287
+ /**
2288
+ * If `true` the list supports multiple selections
2289
+ */
2290
+ "multiple": boolean;
2291
+ /**
2292
+ * If `true`, the user must fill in a value before submitting a form.
2293
+ */
2294
+ "required": boolean;
2295
+ /**
2296
+ * Resets the focus index to pristine and scrolls to the top of the list
2297
+ */
2298
+ "resetFocus": () => Promise<number>;
2299
+ /**
2300
+ * Shows or hides all options
2301
+ */
2302
+ "resetHidden": (hidden?: boolean) => Promise<void>;
2303
+ /**
2304
+ * Selects or deselects all options
2305
+ */
2306
+ "resetSelected": (selected?: boolean) => Promise<void>;
2307
+ /**
2308
+ * Selects the option with the current focus
2309
+ */
2310
+ "selectByFocus": () => Promise<void>;
2311
+ "setAriaForm": (ariaForm: BalAriaForm) => Promise<void>;
2312
+ /**
2313
+ * Updates options
2314
+ */
2315
+ "updateSelected": (values?: string[]) => Promise<void>;
2316
+ }
2069
2317
  interface BalPagination {
2070
2318
  /**
2071
2319
  * Align the buttons to start, center or end
@@ -2479,7 +2727,7 @@ export namespace Components {
2479
2727
  */
2480
2728
  "freeSolo": boolean;
2481
2729
  /**
2482
- * Sets the focus on the input element
2730
+ * Returns the value of the component
2483
2731
  */
2484
2732
  "getValue": () => Promise<string[]>;
2485
2733
  /**
@@ -2636,7 +2884,7 @@ export namespace Components {
2636
2884
  /**
2637
2885
  * Defines the color of the spinner.
2638
2886
  */
2639
- "color": 'blue' | 'white';
2887
+ "color": BalProps.BalSpinnerColor;
2640
2888
  /**
2641
2889
  * If `true` the component will not add the spinner animation svg
2642
2890
  */
@@ -2649,6 +2897,10 @@ export namespace Components {
2649
2897
  * If `true` the component is smaller
2650
2898
  */
2651
2899
  "small": boolean;
2900
+ /**
2901
+ * Defines the look of the spinner
2902
+ */
2903
+ "variation": BalProps.BalSpinnerVariation;
2652
2904
  }
2653
2905
  interface BalStack {
2654
2906
  /**
@@ -3270,6 +3522,10 @@ export interface BalDatepickerCustomEvent<T> extends CustomEvent<T> {
3270
3522
  detail: T;
3271
3523
  target: HTMLBalDatepickerElement;
3272
3524
  }
3525
+ export interface BalDropdownCustomEvent<T> extends CustomEvent<T> {
3526
+ detail: T;
3527
+ target: HTMLBalDropdownElement;
3528
+ }
3273
3529
  export interface BalFieldCustomEvent<T> extends CustomEvent<T> {
3274
3530
  detail: T;
3275
3531
  target: HTMLBalFieldElement;
@@ -3318,6 +3574,10 @@ export interface BalNumberInputCustomEvent<T> extends CustomEvent<T> {
3318
3574
  detail: T;
3319
3575
  target: HTMLBalNumberInputElement;
3320
3576
  }
3577
+ export interface BalOptionCustomEvent<T> extends CustomEvent<T> {
3578
+ detail: T;
3579
+ target: HTMLBalOptionElement;
3580
+ }
3321
3581
  export interface BalPaginationCustomEvent<T> extends CustomEvent<T> {
3322
3582
  detail: T;
3323
3583
  target: HTMLBalPaginationElement;
@@ -3727,6 +3987,31 @@ declare global {
3727
3987
  prototype: HTMLBalDividerElement;
3728
3988
  new (): HTMLBalDividerElement;
3729
3989
  };
3990
+ interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement {
3991
+ }
3992
+ var HTMLBalDocAppElement: {
3993
+ prototype: HTMLBalDocAppElement;
3994
+ new (): HTMLBalDocAppElement;
3995
+ };
3996
+ interface HTMLBalDropdownElementEventMap {
3997
+ "balChange": BalEvents.BalDropdownChangeDetail;
3998
+ "balFocus": BalEvents.BalDropdownFocusDetail;
3999
+ "balBlur": BalEvents.BalDropdownBlurDetail;
4000
+ }
4001
+ interface HTMLBalDropdownElement extends Components.BalDropdown, HTMLStencilElement {
4002
+ addEventListener<K extends keyof HTMLBalDropdownElementEventMap>(type: K, listener: (this: HTMLBalDropdownElement, ev: BalDropdownCustomEvent<HTMLBalDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4003
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4004
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4005
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4006
+ removeEventListener<K extends keyof HTMLBalDropdownElementEventMap>(type: K, listener: (this: HTMLBalDropdownElement, ev: BalDropdownCustomEvent<HTMLBalDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4007
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4008
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4009
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4010
+ }
4011
+ var HTMLBalDropdownElement: {
4012
+ prototype: HTMLBalDropdownElement;
4013
+ new (): HTMLBalDropdownElement;
4014
+ };
3730
4015
  interface HTMLBalFieldElementEventMap {
3731
4016
  "balFormControlDidLoad": BalEvents.BalFieldAriaLabelledByDetail;
3732
4017
  }
@@ -4188,6 +4473,30 @@ declare global {
4188
4473
  prototype: HTMLBalNumberInputElement;
4189
4474
  new (): HTMLBalNumberInputElement;
4190
4475
  };
4476
+ interface HTMLBalOptionElementEventMap {
4477
+ "balOptionChange": BalEvents.BalOptionChangeDetail;
4478
+ "balOptionFocus": BalEvents.BalOptionFocusDetail;
4479
+ }
4480
+ interface HTMLBalOptionElement extends Components.BalOption, HTMLStencilElement {
4481
+ addEventListener<K extends keyof HTMLBalOptionElementEventMap>(type: K, listener: (this: HTMLBalOptionElement, ev: BalOptionCustomEvent<HTMLBalOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4482
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4483
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4484
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4485
+ removeEventListener<K extends keyof HTMLBalOptionElementEventMap>(type: K, listener: (this: HTMLBalOptionElement, ev: BalOptionCustomEvent<HTMLBalOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4486
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4487
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4488
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4489
+ }
4490
+ var HTMLBalOptionElement: {
4491
+ prototype: HTMLBalOptionElement;
4492
+ new (): HTMLBalOptionElement;
4493
+ };
4494
+ interface HTMLBalOptionListElement extends Components.BalOptionList, HTMLStencilElement {
4495
+ }
4496
+ var HTMLBalOptionListElement: {
4497
+ prototype: HTMLBalOptionListElement;
4498
+ new (): HTMLBalOptionListElement;
4499
+ };
4191
4500
  interface HTMLBalPaginationElementEventMap {
4192
4501
  "balChange": BalEvents.BalPaginationChangeDetail;
4193
4502
  }
@@ -4634,6 +4943,8 @@ declare global {
4634
4943
  "bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
4635
4944
  "bal-datepicker": HTMLBalDatepickerElement;
4636
4945
  "bal-divider": HTMLBalDividerElement;
4946
+ "bal-doc-app": HTMLBalDocAppElement;
4947
+ "bal-dropdown": HTMLBalDropdownElement;
4637
4948
  "bal-field": HTMLBalFieldElement;
4638
4949
  "bal-field-control": HTMLBalFieldControlElement;
4639
4950
  "bal-field-hint": HTMLBalFieldHintElement;
@@ -4683,6 +4994,8 @@ declare global {
4683
4994
  "bal-notices": HTMLBalNoticesElement;
4684
4995
  "bal-notification": HTMLBalNotificationElement;
4685
4996
  "bal-number-input": HTMLBalNumberInputElement;
4997
+ "bal-option": HTMLBalOptionElement;
4998
+ "bal-option-list": HTMLBalOptionListElement;
4686
4999
  "bal-pagination": HTMLBalPaginationElement;
4687
5000
  "bal-popover": HTMLBalPopoverElement;
4688
5001
  "bal-popover-content": HTMLBalPopoverContentElement;
@@ -5674,6 +5987,98 @@ declare namespace LocalJSX {
5674
5987
  */
5675
5988
  "space"?: BalProps.BalDividerSpace;
5676
5989
  }
5990
+ interface BalDocApp {
5991
+ /**
5992
+ * Disables all animation inside the bal-app. Can be used for simplify e2e testing.
5993
+ */
5994
+ "animated"?: boolean;
5995
+ "language"?: string;
5996
+ "logComponents"?: string;
5997
+ "logCustom"?: boolean;
5998
+ "logEvents"?: boolean;
5999
+ "logLifecycle"?: boolean;
6000
+ "logRender"?: boolean;
6001
+ "region"?: string;
6002
+ "stickyFooter"?: boolean;
6003
+ }
6004
+ interface BalDropdown {
6005
+ /**
6006
+ * Indicates whether the value of the control can be automatically completed by the browser.
6007
+ */
6008
+ "autocomplete"?: BalProps.BalInputAutocomplete;
6009
+ /**
6010
+ * If `true`, the selected options are shown as chips
6011
+ */
6012
+ "chips"?: boolean;
6013
+ /**
6014
+ * If `true`, a cross at the end is visible to clear the selection
6015
+ */
6016
+ "clearable"?: boolean;
6017
+ /**
6018
+ * Defines the max height of the list element
6019
+ */
6020
+ "contentHeight"?: number;
6021
+ /**
6022
+ * If `true`, the user cannot interact with the option.
6023
+ */
6024
+ "disabled"?: boolean;
6025
+ /**
6026
+ * Defines the filter logic of the list
6027
+ */
6028
+ "filter"?: BalProps.BalOptionListFilter;
6029
+ /**
6030
+ * If `true` there will be on trigger icon visible
6031
+ */
6032
+ "icon"?: string;
6033
+ /**
6034
+ * If `true`, the component will be shown as invalid
6035
+ */
6036
+ "invalid"?: boolean;
6037
+ /**
6038
+ * Defines if the select is in a loading state.
6039
+ */
6040
+ "loading"?: boolean;
6041
+ /**
6042
+ * If `true`, the user can select multiple options.
6043
+ */
6044
+ "multiple"?: boolean;
6045
+ /**
6046
+ * The name of the control, which is submitted with the form data.
6047
+ */
6048
+ "name"?: string;
6049
+ /**
6050
+ * Emitted when the input loses focus.
6051
+ */
6052
+ "onBalBlur"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownBlurDetail>) => void;
6053
+ /**
6054
+ * Emitted when a option got selected.
6055
+ */
6056
+ "onBalChange"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownChangeDetail>) => void;
6057
+ /**
6058
+ * Emitted when the input has focus.
6059
+ */
6060
+ "onBalFocus"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownFocusDetail>) => void;
6061
+ /**
6062
+ * Steps can be passed as a property or through HTML markup.
6063
+ */
6064
+ "options"?: BalOption[];
6065
+ /**
6066
+ * Defines the placeholder of the component. Only shown when the value is empty
6067
+ */
6068
+ "placeholder"?: string;
6069
+ /**
6070
+ * If `true` the element can not mutated, meaning the user can not edit the control.
6071
+ */
6072
+ "readonly"?: boolean;
6073
+ /**
6074
+ * If `true`, the user must fill in a value before submitting a form.
6075
+ */
6076
+ "required"?: boolean;
6077
+ /**
6078
+ * The value of the selected options.
6079
+ */
6080
+ "value"?: string | string[];
6081
+ }
5677
6082
  interface BalField {
5678
6083
  /**
5679
6084
  * If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
@@ -6834,6 +7239,74 @@ declare namespace LocalJSX {
6834
7239
  */
6835
7240
  "value"?: number;
6836
7241
  }
7242
+ interface BalOption {
7243
+ /**
7244
+ * If `true`, the user cannot interact with the option.
7245
+ */
7246
+ "disabled"?: boolean;
7247
+ /**
7248
+ * If `true`, the option is focused.
7249
+ */
7250
+ "focused"?: boolean;
7251
+ /**
7252
+ * If `true`, the option is hidden.
7253
+ */
7254
+ "hidden"?: boolean;
7255
+ /**
7256
+ * If `true`, the option is shown in red.
7257
+ */
7258
+ "invalid"?: boolean;
7259
+ /**
7260
+ * Label will be shown in the input element when it got selected
7261
+ */
7262
+ "label"?: string;
7263
+ /**
7264
+ * If `true`, the option can present in more than one line.
7265
+ */
7266
+ "multiline"?: boolean;
7267
+ /**
7268
+ * Emitted when the option gets selected or unselected
7269
+ */
7270
+ "onBalOptionChange"?: (event: BalOptionCustomEvent<BalEvents.BalOptionChangeDetail>) => void;
7271
+ /**
7272
+ * If `true`, the option is selected.
7273
+ */
7274
+ "selected"?: boolean;
7275
+ /**
7276
+ * The value of the select option. This value will be returned by the parent `<bal-select>` element.
7277
+ */
7278
+ "value"?: string;
7279
+ }
7280
+ interface BalOptionList {
7281
+ /**
7282
+ * Defines the max height of the list element
7283
+ */
7284
+ "contentHeight"?: number;
7285
+ /**
7286
+ * If `true`, the user cannot interact with the option.
7287
+ */
7288
+ "disabled"?: boolean;
7289
+ /**
7290
+ * Defines the filter logic of the list
7291
+ */
7292
+ "filter"?: BalProps.BalOptionListFilter;
7293
+ /**
7294
+ * Defines the focused option with his index value
7295
+ */
7296
+ "focusIndex"?: number;
7297
+ /**
7298
+ * Id of the label element to describe this option list
7299
+ */
7300
+ "labelledby"?: string;
7301
+ /**
7302
+ * If `true` the list supports multiple selections
7303
+ */
7304
+ "multiple"?: boolean;
7305
+ /**
7306
+ * If `true`, the user must fill in a value before submitting a form.
7307
+ */
7308
+ "required"?: boolean;
7309
+ }
6837
7310
  interface BalPagination {
6838
7311
  /**
6839
7312
  * Align the buttons to start, center or end
@@ -7400,7 +7873,7 @@ declare namespace LocalJSX {
7400
7873
  /**
7401
7874
  * Defines the color of the spinner.
7402
7875
  */
7403
- "color"?: 'blue' | 'white';
7876
+ "color"?: BalProps.BalSpinnerColor;
7404
7877
  /**
7405
7878
  * If `true` the component will not add the spinner animation svg
7406
7879
  */
@@ -7413,6 +7886,10 @@ declare namespace LocalJSX {
7413
7886
  * If `true` the component is smaller
7414
7887
  */
7415
7888
  "small"?: boolean;
7889
+ /**
7890
+ * Defines the look of the spinner
7891
+ */
7892
+ "variation"?: BalProps.BalSpinnerVariation;
7416
7893
  }
7417
7894
  interface BalStack {
7418
7895
  /**
@@ -8020,6 +8497,8 @@ declare namespace LocalJSX {
8020
8497
  "bal-date-calendar-cell": BalDateCalendarCell;
8021
8498
  "bal-datepicker": BalDatepicker;
8022
8499
  "bal-divider": BalDivider;
8500
+ "bal-doc-app": BalDocApp;
8501
+ "bal-dropdown": BalDropdown;
8023
8502
  "bal-field": BalField;
8024
8503
  "bal-field-control": BalFieldControl;
8025
8504
  "bal-field-hint": BalFieldHint;
@@ -8069,6 +8548,8 @@ declare namespace LocalJSX {
8069
8548
  "bal-notices": BalNotices;
8070
8549
  "bal-notification": BalNotification;
8071
8550
  "bal-number-input": BalNumberInput;
8551
+ "bal-option": BalOption;
8552
+ "bal-option-list": BalOptionList;
8072
8553
  "bal-pagination": BalPagination;
8073
8554
  "bal-popover": BalPopover;
8074
8555
  "bal-popover-content": BalPopoverContent;
@@ -8138,6 +8619,8 @@ declare module "@stencil/core" {
8138
8619
  "bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
8139
8620
  "bal-datepicker": LocalJSX.BalDatepicker & JSXBase.HTMLAttributes<HTMLBalDatepickerElement>;
8140
8621
  "bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
8622
+ "bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes<HTMLBalDocAppElement>;
8623
+ "bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
8141
8624
  "bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
8142
8625
  "bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;
8143
8626
  "bal-field-hint": LocalJSX.BalFieldHint & JSXBase.HTMLAttributes<HTMLBalFieldHintElement>;
@@ -8187,6 +8670,8 @@ declare module "@stencil/core" {
8187
8670
  "bal-notices": LocalJSX.BalNotices & JSXBase.HTMLAttributes<HTMLBalNoticesElement>;
8188
8671
  "bal-notification": LocalJSX.BalNotification & JSXBase.HTMLAttributes<HTMLBalNotificationElement>;
8189
8672
  "bal-number-input": LocalJSX.BalNumberInput & JSXBase.HTMLAttributes<HTMLBalNumberInputElement>;
8673
+ "bal-option": LocalJSX.BalOption & JSXBase.HTMLAttributes<HTMLBalOptionElement>;
8674
+ "bal-option-list": LocalJSX.BalOptionList & JSXBase.HTMLAttributes<HTMLBalOptionListElement>;
8190
8675
  "bal-pagination": LocalJSX.BalPagination & JSXBase.HTMLAttributes<HTMLBalPaginationElement>;
8191
8676
  "bal-popover": LocalJSX.BalPopover & JSXBase.HTMLAttributes<HTMLBalPopoverElement>;
8192
8677
  "bal-popover-content": LocalJSX.BalPopoverContent & JSXBase.HTMLAttributes<HTMLBalPopoverContentElement>;