@baloise/ds-core 16.3.0-nightly.20240913 → 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.
- package/components/all.d.ts +0 -2
- package/components/all.js +0 -3
- package/components/bal-app.js +85 -1
- package/components/bal-close2.js +1 -6
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +3 -6
- package/components/bal-nav.js +11 -8
- package/components/bal-progress-bar.js +4 -2
- package/components/bal-steps.js +6 -4
- package/components/bal-tab-item.js +10 -2
- package/components/bal-tabs2.js +8 -4
- package/components/index.js +289 -5
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-f959646a.system.js → p-013b4c72.system.js} +1 -1
- package/dist/baloise-design-system/p-0295f5df96.entry.js +1 -0
- package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
- package/dist/baloise-design-system/{p-ebf2bc4dbb.entry.js → p-167594de04.entry.js} +1 -1
- package/dist/baloise-design-system/{p-42e3008de2.system.entry.js → p-19542d9bfc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4e2b8b735c.system.entry.js → p-3e8b5dec38.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-544a0af68d.system.entry.js +1 -0
- package/dist/baloise-design-system/p-54f81c32.js +1 -1
- package/dist/baloise-design-system/{p-fc8c618c3a.entry.js → p-67e6932c19.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e61fbaeb.system.js → p-685405e0.system.js} +1 -1
- package/dist/baloise-design-system/{p-91f131b3f4.entry.js → p-68eead378f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e2fe783c9a.entry.js → p-6d9afce4c2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-efd447d2.system.js → p-77ccb1f4.system.js} +1 -1
- package/dist/baloise-design-system/{p-5982f1d0.system.js → p-83ff83d0.system.js} +1 -1
- package/dist/baloise-design-system/p-86b8ffa1ab.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8754258843.entry.js +1 -0
- package/dist/baloise-design-system/p-88493e9537.system.entry.js +1 -0
- package/dist/baloise-design-system/p-886bedebf9.entry.js +1 -0
- package/dist/baloise-design-system/{p-a0c09f05c6.system.entry.js → p-8b6aca042a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-053a9606e0.system.entry.js → p-95c6192efb.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-aee4ebe860.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e8cd2b1560.entry.js → p-b069b55a8d.entry.js} +1 -1
- package/dist/baloise-design-system/p-b33c021c08.entry.js +1 -0
- package/dist/baloise-design-system/{p-b2dde21d44.system.entry.js → p-b397abec9a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7440272c60.entry.js → p-b487614e8b.entry.js} +1 -1
- package/dist/baloise-design-system/p-b51665840d.entry.js +1 -0
- package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -0
- package/dist/baloise-design-system/{p-9342478374.system.entry.js → p-c0f4b35c8c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c2de2596d1.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c69783ee18.entry.js +1 -0
- package/dist/baloise-design-system/{p-cfca7f8d28.system.entry.js → p-c92eb37957.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-204fbf626e.system.entry.js → p-d66c8f0da9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-70e61ed8bc.entry.js → p-e066dc532d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8df0b8db48.system.entry.js → p-e18ec1401d.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e78a6409.js +1 -0
- package/dist/baloise-design-system/{p-bc5c7ec1.js → p-e851f284.js} +1 -1
- package/dist/baloise-design-system/{p-66a89b34aa.entry.js → p-e9c3c1c4cc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ce0ce9bc.js → p-f7091a61.js} +1 -1
- package/dist/cjs/{global-2562a984.js → app-globals-ae3a8623.js} +4 -2
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-close.cjs.entry.js +1 -6
- package/dist/cjs/bal-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +17 -18
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -5
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +8 -7
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +19 -9
- package/dist/cjs/baloise-design-system.cjs.js +2 -3
- package/dist/cjs/{breakpoints.decorator-4547a635.js → breakpoints.decorator-e278a735.js} +1 -1
- package/dist/cjs/{breakpoints.subject-33afb813.js → breakpoints.subject-0802767f.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-2a19d091.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/{tokens.esm-2471b47c.js → tokens.esm-be397f27.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/bal-close/bal-close.js +1 -6
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +24 -6
- package/dist/collection/components/bal-nav/bal-nav.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +5 -2
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +3 -3
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.css +1 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +26 -2
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-steps/bal-steps.js +25 -1
- package/dist/collection/components/bal-steps/components/step-button.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +47 -2
- package/dist/collection/components/bal-tabs/components/tab-button.js +7 -3
- package/dist/collection/components/bal-tabs/components/tab-nav.js +1 -1
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/{global-63f4bcec.js → app-globals-b0dd0fc4.js} +4 -2
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-close.entry.js +1 -6
- package/dist/esm/bal-datepicker.entry.js +3 -3
- package/dist/esm/bal-hint_3.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +17 -18
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-popover_2.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +6 -5
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +8 -7
- package/dist/esm/bal-tab-item_2.entry.js +19 -9
- package/dist/esm/baloise-design-system.js +2 -3
- package/dist/esm/{breakpoints.decorator-8a18f64a.js → breakpoints.decorator-d0f1affe.js} +1 -1
- package/dist/esm/{breakpoints.subject-af922752.js → breakpoints.subject-f57eda2c.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-e216cfe4.js +1 -1
- package/dist/esm/loader.js +2 -3
- package/dist/esm/{tokens.esm-c0eb428a.js → tokens.esm-70c16b84.js} +1 -1
- package/dist/esm-es5/app-globals-b0dd0fc4.js +1 -0
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-datepicker.entry.js +1 -1
- package/dist/esm-es5/bal-hint_3.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popover_2.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-d0f1affe.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-af922752.js → breakpoints.subject-f57eda2c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-e216cfe4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/html.html-data.json +56 -2
- package/dist/types/components/bal-close/bal-close.d.ts +0 -2
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +4 -1
- package/dist/types/components/bal-nav/models/bal-nav-link-item.d.ts +1 -0
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +1 -0
- package/dist/types/components/bal-nav/models/bal-nav-meta-link-item.d.ts +3 -1
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +5 -1
- package/dist/types/components/bal-progress-bar/bal-progress-bar.interfaces.d.ts +1 -0
- package/dist/types/components/bal-steps/bal-steps.d.ts +4 -0
- package/dist/types/components/bal-steps/bal-steps.interfaces.d.ts +3 -1
- package/dist/types/components/bal-steps/components/step-button.d.ts +1 -0
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +10 -0
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +2 -0
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +3 -0
- package/dist/types/components/bal-tabs/components/tab-button.d.ts +1 -0
- package/dist/types/components.d.ts +42 -39
- package/package.json +7 -7
- package/components/bal-app2.js +0 -87
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -260
- package/components/initialize.js +0 -288
- package/dist/baloise-design-system/p-1e191ad3a0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29fdd54f5d.entry.js +0 -1
- package/dist/baloise-design-system/p-2d86bf642a.entry.js +0 -1
- package/dist/baloise-design-system/p-2e1c6fb925.system.entry.js +0 -1
- package/dist/baloise-design-system/p-360068a4.system.js +0 -1
- package/dist/baloise-design-system/p-381fe5557d.entry.js +0 -1
- package/dist/baloise-design-system/p-40b5ad07c5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6d1b6215.js +0 -1
- package/dist/baloise-design-system/p-7291766c.system.js +0 -1
- package/dist/baloise-design-system/p-9674684457.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9939e633b2.entry.js +0 -1
- package/dist/baloise-design-system/p-9956b12ef3.entry.js +0 -1
- package/dist/baloise-design-system/p-b5881b2549.entry.js +0 -1
- package/dist/baloise-design-system/p-b6f891561d.entry.js +0 -1
- package/dist/baloise-design-system/p-d28f916127.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d72f6c1368.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e8ffddeb.js +0 -1
- package/dist/cjs/app-globals-5fd73c0c.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -229
- package/dist/esm/app-globals-970bab17.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -227
- package/dist/esm-es5/app-globals-970bab17.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-8a18f64a.js +0 -1
- package/dist/esm-es5/global-63f4bcec.js +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -81
- /package/dist/baloise-design-system/{p-54513579.system.js → p-83486137.system.js} +0 -0
- /package/dist/baloise-design-system/{p-9381e501.js → p-ec4875a2.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-c0eb428a.js → tokens.esm-70c16b84.js} +0 -0
package/dist/html.html-data.json
CHANGED
|
@@ -4375,7 +4375,12 @@
|
|
|
4375
4375
|
"kind": "markdown",
|
|
4376
4376
|
"value": ""
|
|
4377
4377
|
},
|
|
4378
|
-
"attributes": [
|
|
4378
|
+
"attributes": [
|
|
4379
|
+
{
|
|
4380
|
+
"name": "nav-id",
|
|
4381
|
+
"description": "This is used to connect the flyout to the aria controls"
|
|
4382
|
+
}
|
|
4383
|
+
],
|
|
4379
4384
|
"references": [
|
|
4380
4385
|
{
|
|
4381
4386
|
"name": "Source code",
|
|
@@ -5211,7 +5216,7 @@
|
|
|
5211
5216
|
"attributes": [
|
|
5212
5217
|
{
|
|
5213
5218
|
"name": "background",
|
|
5214
|
-
"description": "The
|
|
5219
|
+
"description": "The background color",
|
|
5215
5220
|
"values": [
|
|
5216
5221
|
{
|
|
5217
5222
|
"name": "grey"
|
|
@@ -5221,6 +5226,27 @@
|
|
|
5221
5226
|
}
|
|
5222
5227
|
]
|
|
5223
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
|
+
},
|
|
5224
5250
|
{
|
|
5225
5251
|
"name": "value",
|
|
5226
5252
|
"description": "The value of the bar in percentage. So min is 0 and 100 would be the max value."
|
|
@@ -6471,6 +6497,30 @@
|
|
|
6471
6497
|
"name": "clickable",
|
|
6472
6498
|
"description": "If `true` the tabs or steps can be clicked."
|
|
6473
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
|
+
},
|
|
6474
6524
|
{
|
|
6475
6525
|
"name": "debounce",
|
|
6476
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`."
|
|
@@ -6522,6 +6572,10 @@
|
|
|
6522
6572
|
"name": "label",
|
|
6523
6573
|
"description": "Label for the tab."
|
|
6524
6574
|
},
|
|
6575
|
+
{
|
|
6576
|
+
"name": "no-panel",
|
|
6577
|
+
"description": "If `true` the tab does not have a panel"
|
|
6578
|
+
},
|
|
6525
6579
|
{
|
|
6526
6580
|
"name": "prevent",
|
|
6527
6581
|
"description": "Tell's if the linking is done by a router."
|
|
@@ -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
|
*/
|
|
@@ -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
|
* ------------------------------------------------------
|
|
@@ -15,9 +15,13 @@ export declare class ProgressBar implements ComponentInterface, BalConfigObserve
|
|
|
15
15
|
*/
|
|
16
16
|
value: number;
|
|
17
17
|
/**
|
|
18
|
-
* The
|
|
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
|
* ------------------------------------------------------
|
|
@@ -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
|
}
|
|
@@ -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> {
|
|
@@ -966,20 +966,6 @@ export namespace Components {
|
|
|
966
966
|
*/
|
|
967
967
|
"space": BalProps.BalDividerSpace;
|
|
968
968
|
}
|
|
969
|
-
interface BalDocApp {
|
|
970
|
-
/**
|
|
971
|
-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
972
|
-
*/
|
|
973
|
-
"animated": boolean;
|
|
974
|
-
"language"?: string;
|
|
975
|
-
"logComponents": string;
|
|
976
|
-
"logCustom": boolean;
|
|
977
|
-
"logEvents": boolean;
|
|
978
|
-
"logLifecycle": boolean;
|
|
979
|
-
"logRender": boolean;
|
|
980
|
-
"region"?: string;
|
|
981
|
-
"stickyFooter": boolean;
|
|
982
|
-
}
|
|
983
969
|
interface BalDropdown {
|
|
984
970
|
/**
|
|
985
971
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -2037,6 +2023,10 @@ export namespace Components {
|
|
|
2037
2023
|
"position": BalProps.BalNavMenuBarPosition;
|
|
2038
2024
|
}
|
|
2039
2025
|
interface BalNavMenuFlyout {
|
|
2026
|
+
/**
|
|
2027
|
+
* This is used to connect the flyout to the aria controls
|
|
2028
|
+
*/
|
|
2029
|
+
"navId": string;
|
|
2040
2030
|
}
|
|
2041
2031
|
interface BalNavMetaBar {
|
|
2042
2032
|
/**
|
|
@@ -2547,9 +2537,13 @@ export namespace Components {
|
|
|
2547
2537
|
}
|
|
2548
2538
|
interface BalProgressBar {
|
|
2549
2539
|
/**
|
|
2550
|
-
* The
|
|
2540
|
+
* The background color
|
|
2551
2541
|
*/
|
|
2552
2542
|
"background": BalProps.BalProgressBarBackground;
|
|
2543
|
+
/**
|
|
2544
|
+
* The progress bar color
|
|
2545
|
+
*/
|
|
2546
|
+
"color": BalProps.BalProgressBarColor;
|
|
2553
2547
|
"configChanged": (state: BalConfigState) => Promise<void>;
|
|
2554
2548
|
/**
|
|
2555
2549
|
* The value of the bar in percentage. So min is 0 and 100 would be the max value.
|
|
@@ -3074,6 +3068,10 @@ export namespace Components {
|
|
|
3074
3068
|
* If `true` the tabs or steps can be clicked.
|
|
3075
3069
|
*/
|
|
3076
3070
|
"clickable": boolean;
|
|
3071
|
+
/**
|
|
3072
|
+
* Defines the color of the steps so it can be placed on colored backgrounds
|
|
3073
|
+
*/
|
|
3074
|
+
"color": BalProps.BalStepsColor;
|
|
3077
3075
|
/**
|
|
3078
3076
|
* 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`.
|
|
3079
3077
|
*/
|
|
@@ -3100,6 +3098,10 @@ export namespace Components {
|
|
|
3100
3098
|
* Tells if this route is active and overrides the bal-tabs value property.
|
|
3101
3099
|
*/
|
|
3102
3100
|
"active": boolean;
|
|
3101
|
+
/**
|
|
3102
|
+
* A11y attributes for the native tab element.
|
|
3103
|
+
*/
|
|
3104
|
+
"aria"?: BalProps.BalTabItemAria;
|
|
3103
3105
|
/**
|
|
3104
3106
|
* If `true` a small red bubble is added to the tab.
|
|
3105
3107
|
*/
|
|
@@ -3128,6 +3130,10 @@ export namespace Components {
|
|
|
3128
3130
|
* Label for the tab.
|
|
3129
3131
|
*/
|
|
3130
3132
|
"label": string;
|
|
3133
|
+
/**
|
|
3134
|
+
* If `true` the tab does not have a panel
|
|
3135
|
+
*/
|
|
3136
|
+
"noPanel": boolean;
|
|
3131
3137
|
/**
|
|
3132
3138
|
* Tell's if the linking is done by a router.
|
|
3133
3139
|
*/
|
|
@@ -4008,12 +4014,6 @@ declare global {
|
|
|
4008
4014
|
prototype: HTMLBalDividerElement;
|
|
4009
4015
|
new (): HTMLBalDividerElement;
|
|
4010
4016
|
};
|
|
4011
|
-
interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement {
|
|
4012
|
-
}
|
|
4013
|
-
var HTMLBalDocAppElement: {
|
|
4014
|
-
prototype: HTMLBalDocAppElement;
|
|
4015
|
-
new (): HTMLBalDocAppElement;
|
|
4016
|
-
};
|
|
4017
4017
|
interface HTMLBalDropdownElementEventMap {
|
|
4018
4018
|
"balChange": BalEvents.BalDropdownChangeDetail;
|
|
4019
4019
|
"balFocus": BalEvents.BalDropdownFocusDetail;
|
|
@@ -4964,7 +4964,6 @@ declare global {
|
|
|
4964
4964
|
"bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
|
|
4965
4965
|
"bal-datepicker": HTMLBalDatepickerElement;
|
|
4966
4966
|
"bal-divider": HTMLBalDividerElement;
|
|
4967
|
-
"bal-doc-app": HTMLBalDocAppElement;
|
|
4968
4967
|
"bal-dropdown": HTMLBalDropdownElement;
|
|
4969
4968
|
"bal-field": HTMLBalFieldElement;
|
|
4970
4969
|
"bal-field-control": HTMLBalFieldControlElement;
|
|
@@ -6020,20 +6019,6 @@ declare namespace LocalJSX {
|
|
|
6020
6019
|
*/
|
|
6021
6020
|
"space"?: BalProps.BalDividerSpace;
|
|
6022
6021
|
}
|
|
6023
|
-
interface BalDocApp {
|
|
6024
|
-
/**
|
|
6025
|
-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
6026
|
-
*/
|
|
6027
|
-
"animated"?: boolean;
|
|
6028
|
-
"language"?: string;
|
|
6029
|
-
"logComponents"?: string;
|
|
6030
|
-
"logCustom"?: boolean;
|
|
6031
|
-
"logEvents"?: boolean;
|
|
6032
|
-
"logLifecycle"?: boolean;
|
|
6033
|
-
"logRender"?: boolean;
|
|
6034
|
-
"region"?: string;
|
|
6035
|
-
"stickyFooter"?: boolean;
|
|
6036
|
-
}
|
|
6037
6022
|
interface BalDropdown {
|
|
6038
6023
|
/**
|
|
6039
6024
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -7109,6 +7094,10 @@ declare namespace LocalJSX {
|
|
|
7109
7094
|
"position"?: BalProps.BalNavMenuBarPosition;
|
|
7110
7095
|
}
|
|
7111
7096
|
interface BalNavMenuFlyout {
|
|
7097
|
+
/**
|
|
7098
|
+
* This is used to connect the flyout to the aria controls
|
|
7099
|
+
*/
|
|
7100
|
+
"navId"?: string;
|
|
7112
7101
|
}
|
|
7113
7102
|
interface BalNavMetaBar {
|
|
7114
7103
|
/**
|
|
@@ -7546,9 +7535,13 @@ declare namespace LocalJSX {
|
|
|
7546
7535
|
}
|
|
7547
7536
|
interface BalProgressBar {
|
|
7548
7537
|
/**
|
|
7549
|
-
* The
|
|
7538
|
+
* The background color
|
|
7550
7539
|
*/
|
|
7551
7540
|
"background"?: BalProps.BalProgressBarBackground;
|
|
7541
|
+
/**
|
|
7542
|
+
* The progress bar color
|
|
7543
|
+
*/
|
|
7544
|
+
"color"?: BalProps.BalProgressBarColor;
|
|
7552
7545
|
/**
|
|
7553
7546
|
* The value of the bar in percentage. So min is 0 and 100 would be the max value.
|
|
7554
7547
|
*/
|
|
@@ -8073,6 +8066,10 @@ declare namespace LocalJSX {
|
|
|
8073
8066
|
* If `true` the tabs or steps can be clicked.
|
|
8074
8067
|
*/
|
|
8075
8068
|
"clickable"?: boolean;
|
|
8069
|
+
/**
|
|
8070
|
+
* Defines the color of the steps so it can be placed on colored backgrounds
|
|
8071
|
+
*/
|
|
8072
|
+
"color"?: BalProps.BalStepsColor;
|
|
8076
8073
|
/**
|
|
8077
8074
|
* 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`.
|
|
8078
8075
|
*/
|
|
@@ -8095,6 +8092,10 @@ declare namespace LocalJSX {
|
|
|
8095
8092
|
* Tells if this route is active and overrides the bal-tabs value property.
|
|
8096
8093
|
*/
|
|
8097
8094
|
"active"?: boolean;
|
|
8095
|
+
/**
|
|
8096
|
+
* A11y attributes for the native tab element.
|
|
8097
|
+
*/
|
|
8098
|
+
"aria"?: BalProps.BalTabItemAria;
|
|
8098
8099
|
/**
|
|
8099
8100
|
* If `true` a small red bubble is added to the tab.
|
|
8100
8101
|
*/
|
|
@@ -8119,6 +8120,10 @@ declare namespace LocalJSX {
|
|
|
8119
8120
|
* Label for the tab.
|
|
8120
8121
|
*/
|
|
8121
8122
|
"label"?: string;
|
|
8123
|
+
/**
|
|
8124
|
+
* If `true` the tab does not have a panel
|
|
8125
|
+
*/
|
|
8126
|
+
"noPanel"?: boolean;
|
|
8122
8127
|
/**
|
|
8123
8128
|
* Emitted when the link element has clicked
|
|
8124
8129
|
*/
|
|
@@ -8534,7 +8539,6 @@ declare namespace LocalJSX {
|
|
|
8534
8539
|
"bal-date-calendar-cell": BalDateCalendarCell;
|
|
8535
8540
|
"bal-datepicker": BalDatepicker;
|
|
8536
8541
|
"bal-divider": BalDivider;
|
|
8537
|
-
"bal-doc-app": BalDocApp;
|
|
8538
8542
|
"bal-dropdown": BalDropdown;
|
|
8539
8543
|
"bal-field": BalField;
|
|
8540
8544
|
"bal-field-control": BalFieldControl;
|
|
@@ -8656,7 +8660,6 @@ declare module "@stencil/core" {
|
|
|
8656
8660
|
"bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
|
|
8657
8661
|
"bal-datepicker": LocalJSX.BalDatepicker & JSXBase.HTMLAttributes<HTMLBalDatepickerElement>;
|
|
8658
8662
|
"bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
|
|
8659
|
-
"bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes<HTMLBalDocAppElement>;
|
|
8660
8663
|
"bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
|
|
8661
8664
|
"bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
|
|
8662
8665
|
"bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baloise/ds-core",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0",
|
|
4
4
|
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"test:ui": "vitest --ui"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@baloise/ds-styles": "16.
|
|
32
|
-
"@baloise/ds-icons": "16.
|
|
31
|
+
"@baloise/ds-styles": "16.4.0",
|
|
32
|
+
"@baloise/ds-icons": "16.4.0",
|
|
33
33
|
"@baloise/web-app-utils": "3.11.2",
|
|
34
34
|
"@floating-ui/dom": "~1.6.3",
|
|
35
35
|
"@popperjs/core": "~2.11.4",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@baloise/output-target-react": "0.0.0",
|
|
55
55
|
"@baloise/output-target-vue": "0.0.0",
|
|
56
56
|
"@baloise/output-target-web": "0.0.0",
|
|
57
|
-
"@baloise/ds-css": "16.
|
|
58
|
-
"@baloise/ds-maps": "16.
|
|
59
|
-
"@baloise/ds-brand-icons": "16.
|
|
60
|
-
"@baloise/ds-favicons": "16.
|
|
57
|
+
"@baloise/ds-css": "16.4.0",
|
|
58
|
+
"@baloise/ds-maps": "16.4.0",
|
|
59
|
+
"@baloise/ds-brand-icons": "16.4.0",
|
|
60
|
+
"@baloise/ds-favicons": "16.4.0"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false
|
|
63
63
|
}
|
package/components/bal-app2.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { b as balBrowser } from './browser.js';
|
|
4
|
-
import { b as balDevice } from './device.js';
|
|
5
|
-
import { h as debounce, k as rIC } from './helpers.js';
|
|
6
|
-
import { L as Logger } from './log.js';
|
|
7
|
-
import { s as startFocusVisible } from './focus-visible.js';
|
|
8
|
-
import { b as updateBalAnimated } from './config.utils.js';
|
|
9
|
-
|
|
10
|
-
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative;display:block}";
|
|
11
|
-
const BalAppStyle0 = balAppCss;
|
|
12
|
-
|
|
13
|
-
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super();
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
18
|
-
this.notifyResize = async () => {
|
|
19
|
-
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
20
|
-
const doc = document.documentElement;
|
|
21
|
-
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
this.animated = true;
|
|
25
|
-
this.ready = false;
|
|
26
|
-
}
|
|
27
|
-
createLogger(log) {
|
|
28
|
-
this.log = log;
|
|
29
|
-
}
|
|
30
|
-
connectedCallback() {
|
|
31
|
-
updateBalAnimated(this.animated);
|
|
32
|
-
if (balBrowser.hasWindow) {
|
|
33
|
-
window.addEventListener('resize', this.debouncedNotify);
|
|
34
|
-
this.debouncedNotify();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
componentDidLoad() {
|
|
38
|
-
rIC(async () => {
|
|
39
|
-
this.ready = true;
|
|
40
|
-
startFocusVisible();
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
disconnectedCallback() {
|
|
44
|
-
if (balBrowser.hasWindow) {
|
|
45
|
-
window.removeEventListener('resize', this.debouncedNotify);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
async setFocus(elements) {
|
|
49
|
-
if (this.focusVisible) {
|
|
50
|
-
this.focusVisible.setFocus(elements);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
return (h(Host, { class: {
|
|
55
|
-
'bal-app': true,
|
|
56
|
-
'bal-app--safari': balBrowser.isSafari,
|
|
57
|
-
'bal-app--touch': balDevice.hasTouchScreen,
|
|
58
|
-
} }, h("slot", null)));
|
|
59
|
-
}
|
|
60
|
-
get el() { return this; }
|
|
61
|
-
static get style() { return BalAppStyle0; }
|
|
62
|
-
}, [4, "bal-app", {
|
|
63
|
-
"animated": [516],
|
|
64
|
-
"ready": [1540],
|
|
65
|
-
"setFocus": [64]
|
|
66
|
-
}]);
|
|
67
|
-
__decorate([
|
|
68
|
-
Logger('bal-app'),
|
|
69
|
-
__metadata("design:type", Function),
|
|
70
|
-
__metadata("design:paramtypes", [Function]),
|
|
71
|
-
__metadata("design:returntype", void 0)
|
|
72
|
-
], App.prototype, "createLogger", null);
|
|
73
|
-
function defineCustomElement() {
|
|
74
|
-
if (typeof customElements === "undefined") {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const components = ["bal-app"];
|
|
78
|
-
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "bal-app":
|
|
80
|
-
if (!customElements.get(tagName)) {
|
|
81
|
-
customElements.define(tagName, App);
|
|
82
|
-
}
|
|
83
|
-
break;
|
|
84
|
-
} });
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export { App as A, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface BalDocApp extends Components.BalDocApp, HTMLElement {}
|
|
4
|
-
export const BalDocApp: {
|
|
5
|
-
prototype: BalDocApp;
|
|
6
|
-
new (): BalDocApp;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|