@baloise/ds-core 16.3.0 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/README.md +1 -1
  2. package/components/bal-accordion-summary.js +12 -2
  3. package/components/bal-accordion-trigger.js +15 -2
  4. package/components/bal-carousel-item2.js +13 -3
  5. package/components/bal-carousel2.js +50 -20
  6. package/components/bal-checkbox-group.js +1 -1
  7. package/components/bal-checkbox2.js +13 -2
  8. package/components/bal-close2.js +1 -6
  9. package/components/bal-date.js +1 -1
  10. package/components/bal-datepicker.js +1 -1
  11. package/components/bal-dropdown.js +3 -3
  12. package/components/bal-file-upload.js +1 -1
  13. package/components/bal-list-item-accordion-head2.js +7 -1
  14. package/components/bal-nav-menu-bar2.js +1 -1
  15. package/components/bal-nav-menu-flyout2.js +3 -6
  16. package/components/bal-nav.js +11 -8
  17. package/components/bal-option-list.js +27 -2
  18. package/components/bal-pagination2.js +3 -3
  19. package/components/bal-progress-bar.js +4 -2
  20. package/components/bal-radio2.js +1 -1
  21. package/components/bal-select2.js +1 -1
  22. package/components/bal-steps.js +8 -6
  23. package/components/bal-tab-item.js +10 -2
  24. package/components/bal-tabs2.js +149 -31
  25. package/components/index.esm.js +1 -1
  26. package/components/index.js +1 -1
  27. package/components/option.js +4 -1
  28. package/components/tokens.esm.js +1 -1
  29. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  30. package/dist/baloise-design-system/index.esm.js +1 -1
  31. package/dist/baloise-design-system/p-0295f5df96.entry.js +1 -0
  32. package/dist/baloise-design-system/p-098f268743.entry.js +1 -0
  33. package/dist/baloise-design-system/{p-ae28b86fe5.entry.js → p-0ab43941ba.entry.js} +1 -1
  34. package/dist/baloise-design-system/p-0d69371467.entry.js +1 -0
  35. package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
  36. package/dist/baloise-design-system/{p-60f45a7b48.entry.js → p-167594de04.entry.js} +1 -1
  37. package/dist/baloise-design-system/{p-692536f9ff.system.entry.js → p-19542d9bfc.system.entry.js} +1 -1
  38. package/dist/baloise-design-system/p-2f4c6257f4.entry.js +1 -0
  39. package/dist/baloise-design-system/{p-47b18581c7.system.entry.js → p-3e8b5dec38.system.entry.js} +1 -1
  40. package/dist/baloise-design-system/{p-1de6b20b1c.system.entry.js → p-44d845a857.system.entry.js} +1 -1
  41. package/dist/baloise-design-system/p-544a0af68d.system.entry.js +1 -0
  42. package/dist/baloise-design-system/p-54f81c32.js +1 -1
  43. package/dist/baloise-design-system/p-67e6932c19.entry.js +1 -0
  44. package/dist/baloise-design-system/{p-d319b257.system.js → p-685405e0.system.js} +1 -1
  45. package/dist/baloise-design-system/{p-d0d06aa690.entry.js → p-68eead378f.entry.js} +1 -1
  46. package/dist/baloise-design-system/p-6d9afce4c2.entry.js +1 -0
  47. package/dist/baloise-design-system/{p-7047afd8.system.js → p-77ccb1f4.system.js} +1 -1
  48. package/dist/baloise-design-system/{p-b7035c24.system.js → p-83ff83d0.system.js} +1 -1
  49. package/dist/baloise-design-system/p-86b8ffa1ab.system.entry.js +1 -0
  50. package/dist/baloise-design-system/p-8754258843.entry.js +1 -0
  51. package/dist/baloise-design-system/p-88493e9537.system.entry.js +1 -0
  52. package/dist/baloise-design-system/{p-6cf5e22bb4.entry.js → p-886bedebf9.entry.js} +1 -1
  53. package/dist/baloise-design-system/{p-1be257c9cd.system.entry.js → p-8b6aca042a.system.entry.js} +1 -1
  54. package/dist/baloise-design-system/p-95c6192efb.system.entry.js +1 -0
  55. package/dist/baloise-design-system/{p-12bcc7da.js → p-9b4da619.js} +1 -1
  56. package/dist/baloise-design-system/p-a7c3119418.system.entry.js +1 -0
  57. package/dist/baloise-design-system/p-aee4ebe860.system.entry.js +1 -0
  58. package/dist/baloise-design-system/{p-f9db454e37.entry.js → p-b069b55a8d.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-b0f4388e4c.system.entry.js +1 -0
  60. package/dist/baloise-design-system/p-b33c021c08.entry.js +1 -0
  61. package/dist/baloise-design-system/p-b397abec9a.system.entry.js +1 -0
  62. package/dist/baloise-design-system/p-b487614e8b.entry.js +1 -0
  63. package/dist/baloise-design-system/p-b51665840d.entry.js +1 -0
  64. package/dist/baloise-design-system/{p-80b45dd4d6.system.entry.js → p-bcb892a723.system.entry.js} +1 -1
  65. package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -1
  66. package/dist/baloise-design-system/{p-6ceac3e144.system.entry.js → p-c0f4b35c8c.system.entry.js} +1 -1
  67. package/dist/baloise-design-system/p-c2de2596d1.system.entry.js +1 -0
  68. package/dist/baloise-design-system/p-c69783ee18.entry.js +1 -0
  69. package/dist/baloise-design-system/{p-cf0c50d42a.system.entry.js → p-c92eb37957.system.entry.js} +1 -1
  70. package/dist/baloise-design-system/{p-c572e259f4.system.entry.js → p-d66c8f0da9.system.entry.js} +1 -1
  71. package/dist/baloise-design-system/{p-3bad0907.system.js → p-de36076c.system.js} +1 -1
  72. package/dist/baloise-design-system/{p-7292c6e1a1.entry.js → p-e066dc532d.entry.js} +1 -1
  73. package/dist/baloise-design-system/{p-301e753d6f.system.entry.js → p-e18ec1401d.system.entry.js} +1 -1
  74. package/dist/baloise-design-system/{p-0ab7aa0e.js → p-e851f284.js} +1 -1
  75. package/dist/baloise-design-system/{p-f02ea04390.entry.js → p-e9c3c1c4cc.entry.js} +1 -1
  76. package/dist/baloise-design-system/p-f7091a61.js +1 -0
  77. package/dist/cjs/bal-accordion_4.cjs.entry.js +29 -4
  78. package/dist/cjs/bal-carousel_2.cjs.entry.js +60 -24
  79. package/dist/cjs/bal-checkbox_2.cjs.entry.js +11 -1
  80. package/dist/cjs/bal-close.cjs.entry.js +1 -6
  81. package/dist/cjs/bal-datepicker.cjs.entry.js +3 -3
  82. package/dist/cjs/bal-dropdown.cjs.entry.js +3 -3
  83. package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
  84. package/dist/cjs/bal-list_8.cjs.entry.js +12 -4
  85. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  86. package/dist/cjs/bal-nav_8.cjs.entry.js +17 -18
  87. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  88. package/dist/cjs/bal-option_2.cjs.entry.js +26 -2
  89. package/dist/cjs/bal-pagination.cjs.entry.js +6 -6
  90. package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
  91. package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -5
  92. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  93. package/dist/cjs/bal-steps.cjs.entry.js +9 -8
  94. package/dist/cjs/bal-tab-item_2.cjs.entry.js +157 -33
  95. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  96. package/dist/cjs/{breakpoints.decorator-47fd06b2.js → breakpoints.decorator-e278a735.js} +1 -1
  97. package/dist/cjs/{breakpoints.subject-06716a68.js → breakpoints.subject-0802767f.js} +1 -1
  98. package/dist/cjs/index.cjs.js +3 -3
  99. package/dist/cjs/initialize-2a19d091.js +1 -1
  100. package/dist/cjs/loader.cjs.js +1 -1
  101. package/dist/cjs/{option-c33cf2b8.js → option-4034ca7d.js} +4 -1
  102. package/dist/cjs/{tokens.esm-dc93a5d7.js → tokens.esm-be397f27.js} +1 -1
  103. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.css +1 -1
  104. package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +11 -1
  105. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.css +1 -1
  106. package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +14 -1
  107. package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +45 -2
  108. package/dist/collection/components/bal-carousel/bal-carousel.js +76 -13
  109. package/dist/collection/components/bal-carousel/controls/dot-control.js +2 -2
  110. package/dist/collection/components/bal-carousel/controls/large-control.js +2 -2
  111. package/dist/collection/components/bal-carousel/controls/small-control.js +2 -2
  112. package/dist/collection/components/bal-carousel/controls/tab-control.js +2 -2
  113. package/dist/collection/components/bal-checkbox/bal-checkbox.js +13 -2
  114. package/dist/collection/components/bal-close/bal-close.js +1 -6
  115. package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +7 -1
  116. package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.css +1 -1
  117. package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +24 -6
  118. package/dist/collection/components/bal-nav/bal-nav.css +1 -1
  119. package/dist/collection/components/bal-nav/bal-nav.js +5 -2
  120. package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
  121. package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +3 -3
  122. package/dist/collection/components/bal-option-list/bal-option-list.js +43 -2
  123. package/dist/collection/components/bal-pagination/bal-pagination.js +3 -3
  124. package/dist/collection/components/bal-progress-bar/bal-progress-bar.css +1 -1
  125. package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +26 -2
  126. package/dist/collection/components/bal-steps/bal-steps.css +1 -1
  127. package/dist/collection/components/bal-steps/bal-steps.js +26 -2
  128. package/dist/collection/components/bal-steps/components/step-button.js +2 -2
  129. package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +47 -2
  130. package/dist/collection/components/bal-tabs/bal-tabs.js +124 -21
  131. package/dist/collection/components/bal-tabs/components/tab-button.js +18 -6
  132. package/dist/collection/components/bal-tabs/components/tab-nav.js +3 -3
  133. package/dist/collection/utils/constants/version.constant.js +1 -1
  134. package/dist/collection/utils/date/date.spec.js +0 -1
  135. package/dist/collection/utils/dropdown/option.js +4 -1
  136. package/dist/collection/utils/dropdown/popup.js +2 -2
  137. package/dist/collection/utils/string.js +10 -0
  138. package/dist/collection/utils/string.spec.js +24 -0
  139. package/dist/esm/bal-accordion_4.entry.js +29 -4
  140. package/dist/esm/bal-carousel_2.entry.js +61 -25
  141. package/dist/esm/bal-checkbox_2.entry.js +11 -1
  142. package/dist/esm/bal-close.entry.js +1 -6
  143. package/dist/esm/bal-datepicker.entry.js +3 -3
  144. package/dist/esm/bal-dropdown.entry.js +3 -3
  145. package/dist/esm/bal-hint_3.entry.js +3 -3
  146. package/dist/esm/bal-list_8.entry.js +12 -4
  147. package/dist/esm/bal-logo.entry.js +3 -3
  148. package/dist/esm/bal-nav_8.entry.js +17 -18
  149. package/dist/esm/bal-navbar_5.entry.js +3 -3
  150. package/dist/esm/bal-option_2.entry.js +26 -2
  151. package/dist/esm/bal-pagination.entry.js +6 -6
  152. package/dist/esm/bal-popover_2.entry.js +3 -3
  153. package/dist/esm/bal-progress-bar.entry.js +6 -5
  154. package/dist/esm/bal-shape.entry.js +1 -1
  155. package/dist/esm/bal-steps.entry.js +9 -8
  156. package/dist/esm/bal-tab-item_2.entry.js +158 -34
  157. package/dist/esm/baloise-design-system.js +1 -1
  158. package/dist/esm/{breakpoints.decorator-f979fe5c.js → breakpoints.decorator-d0f1affe.js} +1 -1
  159. package/dist/esm/{breakpoints.subject-9ea7074e.js → breakpoints.subject-f57eda2c.js} +1 -1
  160. package/dist/esm/index.js +4 -4
  161. package/dist/esm/initialize-e216cfe4.js +1 -1
  162. package/dist/esm/loader.js +1 -1
  163. package/dist/esm/{option-37cb0282.js → option-01553dab.js} +4 -1
  164. package/dist/esm/{tokens.esm-7d2734e1.js → tokens.esm-70c16b84.js} +1 -1
  165. package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
  166. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  167. package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
  168. package/dist/esm-es5/bal-close.entry.js +1 -1
  169. package/dist/esm-es5/bal-datepicker.entry.js +1 -1
  170. package/dist/esm-es5/bal-dropdown.entry.js +1 -1
  171. package/dist/esm-es5/bal-hint_3.entry.js +1 -1
  172. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  173. package/dist/esm-es5/bal-logo.entry.js +1 -1
  174. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  175. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  176. package/dist/esm-es5/bal-option_2.entry.js +1 -1
  177. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  178. package/dist/esm-es5/bal-popover_2.entry.js +1 -1
  179. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  180. package/dist/esm-es5/bal-shape.entry.js +1 -1
  181. package/dist/esm-es5/bal-steps.entry.js +1 -1
  182. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  183. package/dist/esm-es5/baloise-design-system.js +1 -1
  184. package/dist/esm-es5/{breakpoints.decorator-f979fe5c.js → breakpoints.decorator-d0f1affe.js} +1 -1
  185. package/dist/esm-es5/{breakpoints.subject-9ea7074e.js → breakpoints.subject-f57eda2c.js} +1 -1
  186. package/dist/esm-es5/index.js +1 -1
  187. package/dist/esm-es5/initialize-e216cfe4.js +1 -1
  188. package/dist/esm-es5/loader.js +1 -1
  189. package/dist/esm-es5/option-01553dab.js +1 -0
  190. package/dist/html.html-data.json +81 -3
  191. package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +1 -0
  192. package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +1 -0
  193. package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +6 -0
  194. package/dist/types/components/bal-carousel/bal-carousel.d.ts +11 -2
  195. package/dist/types/components/bal-carousel/controls/dot-control.d.ts +1 -0
  196. package/dist/types/components/bal-carousel/controls/large-control.d.ts +1 -0
  197. package/dist/types/components/bal-carousel/controls/small-control.d.ts +1 -0
  198. package/dist/types/components/bal-carousel/controls/tab-control.d.ts +1 -0
  199. package/dist/types/components/bal-checkbox/bal-checkbox.d.ts +5 -0
  200. package/dist/types/components/bal-close/bal-close.d.ts +0 -2
  201. package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +1 -0
  202. package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +4 -1
  203. package/dist/types/components/bal-nav/models/bal-nav-link-item.d.ts +1 -0
  204. package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +1 -0
  205. package/dist/types/components/bal-nav/models/bal-nav-meta-link-item.d.ts +3 -1
  206. package/dist/types/components/bal-option-list/bal-option-list.d.ts +5 -0
  207. package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +5 -1
  208. package/dist/types/components/bal-progress-bar/bal-progress-bar.interfaces.d.ts +1 -0
  209. package/dist/types/components/bal-steps/bal-steps.d.ts +4 -0
  210. package/dist/types/components/bal-steps/bal-steps.interfaces.d.ts +3 -1
  211. package/dist/types/components/bal-steps/components/step-button.d.ts +1 -0
  212. package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +10 -0
  213. package/dist/types/components/bal-tabs/bal-tab.type.d.ts +5 -3
  214. package/dist/types/components/bal-tabs/bal-tabs.d.ts +15 -3
  215. package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +3 -0
  216. package/dist/types/components/bal-tabs/components/tab-button.d.ts +1 -0
  217. package/dist/types/components/bal-tabs/components/tab-nav.d.ts +1 -0
  218. package/dist/types/components.d.ts +71 -10
  219. package/dist/types/utils/dropdown/option.d.ts +1 -1
  220. package/dist/types/utils/dropdown/popup.d.ts +1 -1
  221. package/dist/types/utils/string.d.ts +1 -0
  222. package/package.json +8 -8
  223. package/dist/baloise-design-system/p-1502fa2526.entry.js +0 -1
  224. package/dist/baloise-design-system/p-1e100fd83b.entry.js +0 -1
  225. package/dist/baloise-design-system/p-254b130be5.system.entry.js +0 -1
  226. package/dist/baloise-design-system/p-2d82b78410.entry.js +0 -1
  227. package/dist/baloise-design-system/p-2e2ed7a07f.entry.js +0 -1
  228. package/dist/baloise-design-system/p-2ebc8f9d0c.system.entry.js +0 -1
  229. package/dist/baloise-design-system/p-30fc270ec1.entry.js +0 -1
  230. package/dist/baloise-design-system/p-35aa7ecb24.entry.js +0 -1
  231. package/dist/baloise-design-system/p-4f3776ea4e.system.entry.js +0 -1
  232. package/dist/baloise-design-system/p-55f280cf33.system.entry.js +0 -1
  233. package/dist/baloise-design-system/p-63dfa27862.system.entry.js +0 -1
  234. package/dist/baloise-design-system/p-7d498fc5.js +0 -1
  235. package/dist/baloise-design-system/p-87d9c24d45.system.entry.js +0 -1
  236. package/dist/baloise-design-system/p-96c55b4f58.entry.js +0 -1
  237. package/dist/baloise-design-system/p-b22fa7966b.entry.js +0 -1
  238. package/dist/baloise-design-system/p-c304d5fa9c.entry.js +0 -1
  239. package/dist/baloise-design-system/p-cee7a0dd73.system.entry.js +0 -1
  240. package/dist/baloise-design-system/p-cf47f1f53c.entry.js +0 -1
  241. package/dist/baloise-design-system/p-dbc2d22240.system.entry.js +0 -1
  242. package/dist/baloise-design-system/p-e7a4d97c51.entry.js +0 -1
  243. package/dist/baloise-design-system/p-f0ee1b670b.system.entry.js +0 -1
  244. package/dist/esm-es5/option-37cb0282.js +0 -1
  245. /package/dist/baloise-design-system/{p-fc80aa3e.system.js → p-83486137.system.js} +0 -0
  246. /package/dist/baloise-design-system/{p-6b5343bd.js → p-ec4875a2.js} +0 -0
  247. /package/dist/esm-es5/{tokens.esm-7d2734e1.js → tokens.esm-70c16b84.js} +0 -0
@@ -894,6 +894,18 @@
894
894
  "name": "full-height",
895
895
  "description": "If `true` the carousel uses the full height"
896
896
  },
897
+ {
898
+ "name": "html-role",
899
+ "description": "Defines the role of the carousel.",
900
+ "values": [
901
+ {
902
+ "name": "list"
903
+ },
904
+ {
905
+ "name": "tablist"
906
+ }
907
+ ]
908
+ },
897
909
  {
898
910
  "name": "interface",
899
911
  "description": "Defines special looks.",
@@ -993,6 +1005,18 @@
993
1005
  "name": "href",
994
1006
  "description": "Specifies the URL of the page the link goes to"
995
1007
  },
1008
+ {
1009
+ "name": "html-role",
1010
+ "description": "Defines the role of the carousel.",
1011
+ "values": [
1012
+ {
1013
+ "name": "listitem"
1014
+ },
1015
+ {
1016
+ "name": "tab"
1017
+ }
1018
+ ]
1019
+ },
996
1020
  {
997
1021
  "name": "label",
998
1022
  "description": "Label of the slide which will be used for pagination tabs"
@@ -4351,7 +4375,12 @@
4351
4375
  "kind": "markdown",
4352
4376
  "value": ""
4353
4377
  },
4354
- "attributes": [],
4378
+ "attributes": [
4379
+ {
4380
+ "name": "nav-id",
4381
+ "description": "This is used to connect the flyout to the aria controls"
4382
+ }
4383
+ ],
4355
4384
  "references": [
4356
4385
  {
4357
4386
  "name": "Source code",
@@ -5187,7 +5216,7 @@
5187
5216
  "attributes": [
5188
5217
  {
5189
5218
  "name": "background",
5190
- "description": "The shape color",
5219
+ "description": "The background color",
5191
5220
  "values": [
5192
5221
  {
5193
5222
  "name": "grey"
@@ -5197,6 +5226,27 @@
5197
5226
  }
5198
5227
  ]
5199
5228
  },
5229
+ {
5230
+ "name": "color",
5231
+ "description": "The progress bar color",
5232
+ "values": [
5233
+ {
5234
+ "name": "green"
5235
+ },
5236
+ {
5237
+ "name": "primary"
5238
+ },
5239
+ {
5240
+ "name": "purple"
5241
+ },
5242
+ {
5243
+ "name": "red"
5244
+ },
5245
+ {
5246
+ "name": "yellow"
5247
+ }
5248
+ ]
5249
+ },
5200
5250
  {
5201
5251
  "name": "value",
5202
5252
  "description": "The value of the bar in percentage. So min is 0 and 100 would be the max value."
@@ -6447,6 +6497,30 @@
6447
6497
  "name": "clickable",
6448
6498
  "description": "If `true` the tabs or steps can be clicked."
6449
6499
  },
6500
+ {
6501
+ "name": "color",
6502
+ "description": "Defines the color of the steps so it can be placed on colored backgrounds",
6503
+ "values": [
6504
+ {
6505
+ "name": "green"
6506
+ },
6507
+ {
6508
+ "name": "light-blue"
6509
+ },
6510
+ {
6511
+ "name": "primary"
6512
+ },
6513
+ {
6514
+ "name": "purple"
6515
+ },
6516
+ {
6517
+ "name": "red"
6518
+ },
6519
+ {
6520
+ "name": "yellow"
6521
+ }
6522
+ ]
6523
+ },
6450
6524
  {
6451
6525
  "name": "debounce",
6452
6526
  "description": "Set the amount of time, in milliseconds, to wait to trigger the `balChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`."
@@ -6498,6 +6572,10 @@
6498
6572
  "name": "label",
6499
6573
  "description": "Label for the tab."
6500
6574
  },
6575
+ {
6576
+ "name": "no-panel",
6577
+ "description": "If `true` the tab does not have a panel"
6578
+ },
6501
6579
  {
6502
6580
  "name": "prevent",
6503
6581
  "description": "Tell's if the linking is done by a router."
@@ -6568,7 +6646,7 @@
6568
6646
  },
6569
6647
  {
6570
6648
  "name": "clickable",
6571
- "description": "If `true` the tabs or steps can be clicked."
6649
+ "description": "If `true` the tabs or tabs can be clicked."
6572
6650
  },
6573
6651
  {
6574
6652
  "name": "context",
@@ -44,6 +44,7 @@ export declare class AccordionSummary implements ComponentInterface, Loggable {
44
44
  * ------------------------------------------------------
45
45
  */
46
46
  private onClick;
47
+ private onKeyDown;
47
48
  /**
48
49
  * RENDER
49
50
  * ------------------------------------------------------
@@ -58,6 +58,7 @@ export declare class AccordionTrigger implements ComponentInterface, Loggable {
58
58
  * ------------------------------------------------------
59
59
  */
60
60
  private get parentAccordionElement();
61
+ private get parentAccordionSummaryElement();
61
62
  /**
62
63
  * PRIVATE METHODS
63
64
  * ------------------------------------------------------
@@ -2,6 +2,7 @@ import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtim
2
2
  import { BalCarouselItemData } from '../bal-carousel.type';
3
3
  export declare class CarouselItem implements ComponentInterface {
4
4
  private imageInheritAttributes;
5
+ private buttonEl;
5
6
  el: HTMLElement;
6
7
  /**
7
8
  * Src path to the image
@@ -11,6 +12,10 @@ export declare class CarouselItem implements ComponentInterface {
11
12
  * Label of the slide which will be used for pagination tabs
12
13
  */
13
14
  label: string;
15
+ /**
16
+ * Defines the role of the carousel.
17
+ */
18
+ htmlRole: 'tab' | 'listitem' | '';
14
19
  /**
15
20
  * The type of button.
16
21
  */
@@ -62,6 +67,7 @@ export declare class CarouselItem implements ComponentInterface {
62
67
  balBlur: EventEmitter<BalEvents.BalCarouselItemBlurDetail>;
63
68
  componentWillLoad(): void;
64
69
  getData(): Promise<BalCarouselItemData>;
70
+ setFocus(): Promise<void>;
65
71
  private onClick;
66
72
  private onFocus;
67
73
  private onBlur;
@@ -1,4 +1,5 @@
1
1
  import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
+ import { BalSlide } from './bal-carousel.type';
2
3
  import { BalBreakpointObserver, BalBreakpoints } from '../../utils/breakpoints';
3
4
  import { BalSwipeInfo, BalSwipeObserver } from '../../utils/swipe';
4
5
  import { BalMutationObserver } from '../../utils/mutation';
@@ -12,6 +13,7 @@ export declare class Carousel implements ComponentInterface, BalBreakpointObserv
12
13
  private previousTransformValue;
13
14
  private currentRaf;
14
15
  private carouselId;
16
+ private carouselContainerId;
15
17
  isLastSlideVisible: boolean;
16
18
  isMobile: boolean;
17
19
  language: BalLanguage;
@@ -37,6 +39,10 @@ export declare class Carousel implements ComponentInterface, BalBreakpointObserv
37
39
  * Defines the layout of the navigation controls.
38
40
  */
39
41
  controls: 'small' | 'large' | 'dots' | 'tabs' | 'none';
42
+ /**
43
+ * Defines the role of the carousel.
44
+ */
45
+ htmlRole: 'tablist' | 'list' | '';
40
46
  /**
41
47
  * If `true` items move under the controls, instead of having a gap
42
48
  */
@@ -88,6 +94,7 @@ export declare class Carousel implements ComponentInterface, BalBreakpointObserv
88
94
  swipeListener({ left, right }: BalSwipeInfo): void;
89
95
  breakpointListener(breakpoints: BalBreakpoints): void;
90
96
  resizeListener(): void;
97
+ listenToKeyDown(ev: KeyboardEvent): void;
91
98
  /**
92
99
  * @internal define config for the component
93
100
  */
@@ -96,8 +103,8 @@ export declare class Carousel implements ComponentInterface, BalBreakpointObserv
96
103
  * PUBLIC METHODS
97
104
  * ------------------------------------------------------
98
105
  */
99
- previous(steps?: number): Promise<void>;
100
- next(steps?: number): Promise<void>;
106
+ previous(steps?: number): Promise<BalSlide | undefined>;
107
+ next(steps?: number): Promise<BalSlide | undefined>;
101
108
  /**
102
109
  * PRIVATE METHODS
103
110
  * ------------------------------------------------------
@@ -105,6 +112,8 @@ export declare class Carousel implements ComponentInterface, BalBreakpointObserv
105
112
  private animate;
106
113
  private buildSlide;
107
114
  private itemsChanged;
115
+ private focusNextItem;
116
+ private focusPreviousItem;
108
117
  /**
109
118
  * GETTERS
110
119
  * ------------------------------------------------------
@@ -5,6 +5,7 @@ export interface DotControlItem {
5
5
  export interface DotControlProps {
6
6
  value: number;
7
7
  items: DotControlItem[];
8
+ containerId: string;
8
9
  onControlChange: (item: DotControlItem) => void;
9
10
  }
10
11
  export declare const DotControl: FunctionalComponent<DotControlProps>;
@@ -6,6 +6,7 @@ export interface LargeControlProps {
6
6
  areControlsHidden: boolean;
7
7
  leftControlTitle: string;
8
8
  rightControlTitle: string;
9
+ containerId: string;
9
10
  onPreviousClick: () => void;
10
11
  onNextClick: () => void;
11
12
  }
@@ -5,6 +5,7 @@ export interface SmallControlProps {
5
5
  inverted: boolean;
6
6
  leftControlTitle: string;
7
7
  rightControlTitle: string;
8
+ containerId: string;
8
9
  onPreviousClick: () => void;
9
10
  onNextClick: () => void;
10
11
  }
@@ -6,6 +6,7 @@ export interface TabControlItem {
6
6
  export interface TabControlProps {
7
7
  value: number;
8
8
  items: TabControlItem[];
9
+ containerId: string;
9
10
  onControlChange: (item: TabControlItem) => void;
10
11
  }
11
12
  export declare const TabControl: FunctionalComponent<TabControlProps>;
@@ -13,6 +13,11 @@ export declare class Checkbox implements ComponentInterface, FormInput<any>, Log
13
13
  focused: boolean;
14
14
  buttonTabindex?: number;
15
15
  ariaForm: BalAriaForm;
16
+ /**
17
+ * Track focus state
18
+ * If `true` checkbox needs to remain focused
19
+ */
20
+ wasFocused: boolean;
16
21
  log: LogInstance;
17
22
  createLogger(log: LogInstance): void;
18
23
  /**
@@ -2,7 +2,6 @@ import { ComponentInterface } from '../../stencil-public-runtime';
2
2
  import { BalConfigObserver, BalConfigState } from '../../interfaces';
3
3
  import { BalLanguage, BalRegion } from '../../utils/config';
4
4
  export declare class Close implements ComponentInterface, BalConfigObserver {
5
- private inheritedAttributes;
6
5
  el: HTMLElement;
7
6
  language: BalLanguage;
8
7
  region: BalRegion;
@@ -14,7 +13,6 @@ export declare class Close implements ComponentInterface, BalConfigObserver {
14
13
  * If `true` it supports dark backgrounds.
15
14
  */
16
15
  inverted: boolean;
17
- componentWillRender(): void;
18
16
  /**
19
17
  * @internal define config for the component
20
18
  */
@@ -26,6 +26,7 @@ export declare class ListItemAccordionHead implements ComponentInterface, Loggab
26
26
  * ------------------------------------------------------
27
27
  */
28
28
  private onClick;
29
+ private onKeyDown;
29
30
  /**
30
31
  * RENDER
31
32
  * ------------------------------------------------------
@@ -2,7 +2,6 @@ import { ComponentInterface } from '../../../stencil-public-runtime';
2
2
  import { LogInstance, Loggable } from '../../../utils/log';
3
3
  import { BalResizeObserver } from '../../../utils/resize';
4
4
  export declare class NavMenuFlyout implements ComponentInterface, Loggable, BalResizeObserver {
5
- private navMenuFlyoutId;
6
5
  private bodyScrollHandler;
7
6
  el: HTMLElement;
8
7
  isHidden: boolean;
@@ -12,6 +11,10 @@ export declare class NavMenuFlyout implements ComponentInterface, Loggable, BalR
12
11
  * PUBLIC PROPERTY API
13
12
  * ------------------------------------------------------
14
13
  */
14
+ /**
15
+ * This is used to connect the flyout to the aria controls
16
+ * */
17
+ navId: string;
15
18
  /**
16
19
  * LIFECYCLE
17
20
  * ------------------------------------------------------
@@ -22,5 +22,6 @@ export declare class NavLinkItem implements BalProps.BalNavLinkItem {
22
22
  }>): any;
23
23
  render(_context?: {
24
24
  onClick: () => void;
25
+ flyoutId: string;
25
26
  }): any;
26
27
  }
@@ -15,5 +15,6 @@ export declare class NavMenuLinkItem extends NavLinkItem implements BalProps.Bal
15
15
  }>): any;
16
16
  render(context?: {
17
17
  onClick: () => void;
18
+ flyoutId: string;
18
19
  }): any;
19
20
  }
@@ -11,5 +11,7 @@ export declare class NavMetaLinkItem extends NavLinkItem implements BalProps.Bal
11
11
  activeMetaLinkValue: string;
12
12
  activeMenuLinkValue: string;
13
13
  }>): any;
14
- render(): any;
14
+ render(context?: {
15
+ flyoutId: string;
16
+ }): any;
15
17
  }
@@ -59,6 +59,10 @@ export declare class OptionList implements ComponentInterface, Loggable {
59
59
  * PUBLIC METHODS
60
60
  * ------------------------------------------------------
61
61
  */
62
+ /**
63
+ * Focus the selected visible option in the list, if no option is selected it selects the first one
64
+ */
65
+ focusSelected(): Promise<number>;
62
66
  /**
63
67
  * Focus the first visible option in the list
64
68
  * @returns focusIndex
@@ -154,6 +158,7 @@ export declare class OptionList implements ComponentInterface, Loggable {
154
158
  private scrollTo;
155
159
  private updateFocus;
156
160
  private getOptionIndex;
161
+ private getSelectedOptionIndex;
157
162
  private getFirstOptionIndex;
158
163
  private getNextOptionIndex;
159
164
  private getPreviousOptionIndex;
@@ -15,9 +15,13 @@ export declare class ProgressBar implements ComponentInterface, BalConfigObserve
15
15
  */
16
16
  value: number;
17
17
  /**
18
- * The shape color
18
+ * The background color
19
19
  */
20
20
  background: BalProps.BalProgressBarBackground;
21
+ /**
22
+ * The progress bar color
23
+ */
24
+ color: BalProps.BalProgressBarColor;
21
25
  /**
22
26
  * LIFECYCLE
23
27
  * ------------------------------------------------------
@@ -1,4 +1,5 @@
1
1
  /// <reference types="@baloise/ds-core" />
2
2
  declare namespace BalProps {
3
3
  type BalProgressBarBackground = 'white' | 'grey';
4
+ type BalProgressBarColor = 'primary' | 'purple' | 'yellow' | 'red' | 'green';
4
5
  }
@@ -23,6 +23,10 @@ export declare class Steps implements Loggable, BalMutationObserver, BalBreakpoi
23
23
  * If `true` the tabs or steps can be clicked.
24
24
  */
25
25
  clickable: boolean;
26
+ /**
27
+ * Defines the color of the steps so it can be placed on colored backgrounds
28
+ */
29
+ color: BalProps.BalStepsColor;
26
30
  /**
27
31
  * Set the amount of time, in milliseconds, to wait to trigger the `balChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
28
32
  */
@@ -1,5 +1,7 @@
1
1
  /// <reference types="@baloise/ds-core" />
2
- declare namespace BalProps { }
2
+ declare namespace BalProps {
3
+ type BalStepsColor = 'primary' | 'light-blue' | 'purple' | 'yellow' | 'red' | 'green';
4
+ }
3
5
  declare namespace BalEvents {
4
6
  interface BalStepsCustomEvent<T> extends CustomEvent<T> {
5
7
  detail: T;
@@ -4,6 +4,7 @@ export interface StepButtonProps {
4
4
  item: BalStepOption;
5
5
  isMobile: boolean;
6
6
  clickable: boolean;
7
+ color: BalProps.BalStepsColor;
7
8
  onSelectTab: (ev: MouseEvent, item: BalStepOption) => void;
8
9
  }
9
10
  export declare const StepButton: FunctionalComponent<StepButtonProps>;
@@ -47,6 +47,14 @@ export declare class TabItem {
47
47
  * Tab icon not available for the steps.
48
48
  */
49
49
  icon?: string;
50
+ /**
51
+ * If `true` the tab does not have a panel
52
+ */
53
+ noPanel: boolean;
54
+ /**
55
+ * A11y attributes for the native tab element.
56
+ */
57
+ aria?: BalProps.BalTabItemAria;
50
58
  /**
51
59
  * Emitted when the link element has clicked
52
60
  */
@@ -75,6 +83,8 @@ export declare class TabItem {
75
83
  prevent: boolean;
76
84
  navigate: EventEmitter<MouseEvent>;
77
85
  trackingData: Attributes;
86
+ noPanel: boolean;
87
+ aria: BalProps.BalTabItemAria;
78
88
  };
79
89
  render(): any;
80
90
  }
@@ -15,9 +15,11 @@ export interface BalTabOption {
15
15
  passed?: boolean;
16
16
  index?: number;
17
17
  context?: BalProps.BalTabsContext;
18
- navigate?: EventEmitter<MouseEvent>;
18
+ navigate?: EventEmitter<Event>;
19
19
  trackingData?: Attributes;
20
20
  hidden?: boolean;
21
+ noPanel?: boolean;
22
+ aria?: BalProps.BalTabItemAria;
21
23
  }
22
24
  export interface TabLineProps {
23
25
  context?: BalProps.BalTabsContext;
@@ -41,7 +43,7 @@ export interface TabProps {
41
43
  iconPosition: BalProps.BalTabsIconPosition;
42
44
  tabs: BalTabOption[];
43
45
  context: BalProps.BalTabsContext;
44
- onSelectTab: (ev: MouseEvent, tab: BalTabOption) => void;
46
+ onSelectTab: (ev: Event, tab: BalTabOption) => void;
45
47
  lineWidth?: number;
46
48
  lineOffsetLeft?: number;
47
49
  lineHeight?: number;
@@ -63,5 +65,5 @@ export interface TabItemProps {
63
65
  context: BalProps.BalTabsContext;
64
66
  iconPosition: BalProps.BalTabsIconPosition;
65
67
  trackingData?: Attributes;
66
- onSelectTab: (ev: MouseEvent) => void;
68
+ onSelectTab: (ev: Event) => void;
67
69
  }
@@ -45,7 +45,7 @@ export declare class Tabs implements ComponentInterface, Loggable, BalConfigObse
45
45
  */
46
46
  overflow: boolean;
47
47
  /**
48
- * Steps can be passed as a property or through HTML markup.
48
+ * Tabs can be passed as a property or through HTML markup.
49
49
  */
50
50
  options: BalTabOption[];
51
51
  protected optionChanged(): Promise<void>;
@@ -66,7 +66,7 @@ export declare class Tabs implements ComponentInterface, Loggable, BalConfigObse
66
66
  */
67
67
  spaceless: boolean;
68
68
  /**
69
- * If `true` the tabs or steps can be clicked.
69
+ * If `true` the tabs or tabs can be clicked.
70
70
  */
71
71
  clickable: boolean;
72
72
  /**
@@ -128,6 +128,7 @@ export declare class Tabs implements ComponentInterface, Loggable, BalConfigObse
128
128
  resizeListener(): void;
129
129
  listenToWillAnimate(ev: UIEvent): void;
130
130
  listenToDidAnimate(ev: UIEvent): void;
131
+ listenToKeyDown(ev: KeyboardEvent): void;
131
132
  isUsedInNavbar(ev: UIEvent): void;
132
133
  /**
133
134
  * PUBLIC METHODS
@@ -159,12 +160,14 @@ export declare class Tabs implements ComponentInterface, Loggable, BalConfigObse
159
160
  * PRIVATE METHODS
160
161
  * ------------------------------------------------------
161
162
  */
163
+ private get isTabList();
162
164
  private get items();
163
165
  private getOptions;
164
166
  private updateStore;
165
167
  private setActiveItem;
166
168
  private setActiveContent;
167
- private isActive;
169
+ private isTabActive;
170
+ private isTabVisible;
168
171
  private parseVertical;
169
172
  private isVertical;
170
173
  private getTargetElement;
@@ -178,6 +181,15 @@ export declare class Tabs implements ComponentInterface, Loggable, BalConfigObse
178
181
  private expandAccordion;
179
182
  private collapseAccordion;
180
183
  private shouldAnimate;
184
+ /**
185
+ * PRIVATE Tab Navigation with Arrow Keys
186
+ * ------------------------------------------------------
187
+ */
188
+ private findNextTab;
189
+ private findPreviousTab;
190
+ private tabListSelectNext;
191
+ private tabListSelectPrevious;
192
+ focus(tab: BalTabOption): Promise<void>;
181
193
  /**
182
194
  * EVENT BINDING
183
195
  * ------------------------------------------------------
@@ -5,6 +5,9 @@ declare namespace BalProps {
5
5
  type BalTabsVertical = boolean | 'mobile' | 'tablet';
6
6
  type BalTabsFloat = 'left' | 'right';
7
7
  type BalTabsColSize = 'one-quarter' | 'one-third' | 'half' | 'two-thirds' | 'three-quarters' | 'full';
8
+ type BalTabItemAria = {
9
+ controls?: string;
10
+ };
8
11
  }
9
12
  declare namespace BalEvents {
10
13
  interface BalTabsCustomEvent<T> extends CustomEvent<T> {
@@ -9,6 +9,7 @@ export interface TabButtonProps {
9
9
  isVertical: boolean;
10
10
  accordion: boolean;
11
11
  isAccordionOpen: boolean;
12
+ isLinkList: boolean;
12
13
  inverted: boolean;
13
14
  expanded: boolean;
14
15
  spaceless: boolean;
@@ -17,6 +17,7 @@ export interface TabNavProps {
17
17
  animated: boolean;
18
18
  spaceless: boolean;
19
19
  expanded: boolean;
20
+ isLinkList: boolean;
20
21
  verticalColSize: BalProps.BalTabsColSize;
21
22
  iconPosition: BalProps.BalTabsIconPosition;
22
23
  context?: BalProps.BalTabsContext;