@baloise/ds-core 17.0.0 → 17.1.0-nightly.20241209
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 +2 -0
- package/components/all.js +3 -0
- package/components/bal-accordion-details.js +1 -1
- package/components/bal-accordion-trigger.js +3 -1
- package/components/bal-accordion.js +6 -3
- package/components/bal-app.js +1 -91
- package/components/bal-app2.js +93 -0
- package/components/bal-date.js +3 -1
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown2.js +46 -9
- package/components/bal-footer.js +10 -5
- package/components/bal-list2.js +1 -1
- package/components/bal-segment.js +15 -2
- package/components/bal-tab-item.js +8 -2
- package/components/bal-tabs2.js +18 -12
- package/components/bal-textarea.js +3 -1
- package/components/index.js +5 -289
- package/components/initialize.js +288 -0
- package/components/option.js +1 -0
- 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-0534c3aeb8.entry.js +1 -0
- package/dist/baloise-design-system/{p-faf5c89145.system.entry.js → p-0b59bd26ea.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0fd1b4ed34.entry.js +1 -0
- package/dist/baloise-design-system/{p-61c48963c7.system.entry.js → p-17958402c7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-1f3afaa3b9.entry.js +1 -0
- package/dist/baloise-design-system/{p-b4ecd87960.system.entry.js → p-212a2dc969.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-278aed95.system.js +1 -0
- package/dist/baloise-design-system/p-2b19b8a79c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-30e72ccc82.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-c8caa835.js → p-328d3102.js} +1 -1
- package/dist/baloise-design-system/p-34c50dfa1e.entry.js +1 -0
- package/dist/baloise-design-system/p-353ce7cb84.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3a1bd58a24.entry.js +1 -0
- package/dist/baloise-design-system/{p-c7efc6d470.entry.js → p-3af34beecd.entry.js} +1 -1
- package/dist/baloise-design-system/p-411fb4661c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e1b2f86b.system.js → p-456c0b19.system.js} +1 -1
- package/dist/baloise-design-system/{p-1e688639.system.js → p-4922c00d.system.js} +1 -1
- package/dist/baloise-design-system/{p-3c504ddf38.system.entry.js → p-4c51765862.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fa363ba3f9.system.entry.js → p-4e5e87370c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-365fc134.system.js → p-4f48841b.system.js} +1 -1
- package/dist/baloise-design-system/p-50b2a9c6.js +1 -1
- package/dist/baloise-design-system/{p-3114a84410.entry.js → p-5436dfba0c.entry.js} +1 -1
- package/dist/baloise-design-system/p-562c360455.entry.js +1 -0
- package/dist/baloise-design-system/{p-cfe42ac458.system.entry.js → p-59ef8c2416.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c61080a6.js → p-5bdbc48c.js} +1 -1
- package/dist/baloise-design-system/{p-9b4da619.js → p-5ed239cc.js} +1 -1
- package/dist/baloise-design-system/{p-4bbe4ba6ba.entry.js → p-62c36f9930.entry.js} +1 -1
- package/dist/baloise-design-system/{p-85ed9bd051.entry.js → p-695e36b882.entry.js} +1 -1
- package/dist/baloise-design-system/{p-10151a65a4.entry.js → p-6f03bc0156.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6116192a.js → p-73821518.js} +1 -1
- package/dist/baloise-design-system/p-885bb3f27c.entry.js +1 -0
- package/dist/baloise-design-system/p-89d02381.js +1 -0
- package/dist/baloise-design-system/{p-3149162e9e.entry.js → p-9763307951.entry.js} +1 -1
- package/dist/baloise-design-system/p-9e103abfe5.entry.js +1 -0
- package/dist/baloise-design-system/{p-e8f93d80ca.system.entry.js → p-9e8f8be35f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0ede0fa9b2.entry.js → p-9f263e138f.entry.js} +1 -1
- package/dist/baloise-design-system/p-a188a2e8.js +1 -0
- package/dist/baloise-design-system/{p-bf1b5db620.system.entry.js → p-a4b4b9c642.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0215ccdca9.system.entry.js → p-ae4e303d87.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-af747e55e6.entry.js +1 -0
- package/dist/baloise-design-system/p-b71b047e.system.js +1 -0
- package/dist/baloise-design-system/{p-d9bb74c913.system.entry.js → p-bc9ad297d2.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c472c7cf16.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-73bd9055.system.js → p-c6cc8eba.system.js} +1 -1
- package/dist/baloise-design-system/{p-8d370d87cb.entry.js → p-c87ea21d0e.entry.js} +1 -1
- package/dist/baloise-design-system/p-cb52f196.system.js +1 -0
- package/dist/baloise-design-system/p-cc4dc17721.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ce3173af38.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-14eef425da.system.entry.js → p-cfa943b03c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d2f9ed2b.system.js +1 -1
- package/dist/baloise-design-system/{p-ec286609dd.entry.js → p-f8f71b66e3.entry.js} +1 -1
- package/dist/baloise-design-system/{p-10985d5e.system.js → p-fc35302a.system.js} +1 -1
- package/dist/cjs/app-globals-f2f29e34.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +9 -5
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-date.cjs.entry.js +2 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +43 -10
- package/dist/cjs/bal-footer.cjs.entry.js +9 -5
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- 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-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +18 -5
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +26 -17
- package/dist/cjs/bal-textarea.cjs.entry.js +2 -1
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-967c2fd2.js → breakpoints.decorator-2840c865.js} +1 -1
- package/dist/cjs/{breakpoints.subject-679bdc55.js → breakpoints.subject-d9037967.js} +1 -1
- package/dist/cjs/{app-globals-f5a609c1.js → global-127a79ec.js} +2 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/initialize-e7570bc6.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{option-4034ca7d.js → option-85af0921.js} +1 -0
- package/dist/cjs/{tokens.esm-e4edac35.js → tokens.esm-09a546bd.js} +1 -1
- package/dist/cjs/{window-resize.decorator-bb2ea6d8.js → window-resize.decorator-c78ea0d9.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.css +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +20 -1
- package/dist/collection/components/bal-accordion/bal-accordion.css +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion.js +5 -2
- package/dist/collection/components/bal-date/bal-date.js +25 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +88 -1
- package/dist/collection/components/bal-footer/bal-footer.js +31 -5
- package/dist/collection/components/bal-list/bal-list.css +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +15 -2
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +42 -2
- package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +21 -2
- package/dist/collection/components/bal-tabs/components/tab-button.js +2 -2
- package/dist/collection/components/bal-tabs/components/tab-icon.js +1 -1
- package/dist/collection/components/bal-tabs/components/tab-label.js +1 -1
- package/dist/collection/components/bal-tabs/components/tab-nav.js +6 -3
- package/dist/collection/components/bal-textarea/bal-textarea.js +25 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +229 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/dropdown/events.js +9 -1
- package/dist/collection/utils/dropdown/icon.js +6 -3
- package/dist/collection/utils/dropdown/option.js +1 -0
- package/dist/collection/utils/dropdown/value.js +2 -2
- package/dist/esm/app-globals-73dcb8fd.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +9 -5
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-date.entry.js +2 -1
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +43 -10
- package/dist/esm/bal-footer.entry.js +9 -5
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +4 -4
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +19 -6
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +26 -17
- package/dist/esm/bal-textarea.entry.js +2 -1
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-9981606e.js → breakpoints.decorator-720a065d.js} +1 -1
- package/dist/esm/{breakpoints.subject-ae98d0fa.js → breakpoints.subject-c3a33f84.js} +1 -1
- package/dist/esm/{app-globals-4d0448ee.js → global-66c4c2d7.js} +2 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-f93872c4.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{option-01553dab.js → option-367a5341.js} +1 -0
- package/dist/esm/{tokens.esm-ed9fb455.js → tokens.esm-06404bd4.js} +1 -1
- package/dist/esm/{window-resize.decorator-a88002f7.js → window-resize.decorator-a33cbb6b.js} +1 -1
- package/dist/esm-es5/app-globals-73dcb8fd.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.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-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.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/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-720a065d.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-ae98d0fa.js → breakpoints.subject-c3a33f84.js} +1 -1
- package/dist/esm-es5/global-66c4c2d7.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-f93872c4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{option-01553dab.js → option-367a5341.js} +1 -1
- package/dist/esm-es5/{window-resize.decorator-a88002f7.js → window-resize.decorator-a33cbb6b.js} +1 -1
- package/dist/html.html-data.json +374 -0
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +4 -0
- package/dist/types/components/bal-date/bal-date.d.ts +4 -0
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +13 -0
- package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +4 -1
- package/dist/types/components/bal-footer/bal-footer.d.ts +4 -0
- package/dist/types/components/bal-segment/bal-segment.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.d.ts +4 -0
- package/dist/types/components/bal-tabs/components/tab-button.d.ts +2 -0
- package/dist/types/components/bal-tabs/components/tab-nav.d.ts +1 -0
- package/dist/types/components/bal-textarea/bal-textarea.d.ts +4 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +119 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/dropdown/component.d.ts +1 -0
- package/dist/types/utils/dropdown/events.d.ts +2 -0
- package/dist/types/utils/dropdown/icon.d.ts +2 -0
- package/dist/types/utils/dropdown/value.d.ts +1 -0
- package/package.json +7 -7
- package/dist/baloise-design-system/p-2f6c32ca97.entry.js +0 -1
- package/dist/baloise-design-system/p-4e4fe533.js +0 -1
- package/dist/baloise-design-system/p-5353ba1263.entry.js +0 -1
- package/dist/baloise-design-system/p-69f82b9b22.entry.js +0 -1
- package/dist/baloise-design-system/p-6cadcbe4bb.entry.js +0 -1
- package/dist/baloise-design-system/p-7752fa10ea.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7f9fe862b6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-93e2638280.system.entry.js +0 -1
- package/dist/baloise-design-system/p-98f7403c7f.entry.js +0 -1
- package/dist/baloise-design-system/p-a7d15ec66b.entry.js +0 -1
- package/dist/baloise-design-system/p-af5e974f4c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b57c473d.system.js +0 -1
- package/dist/baloise-design-system/p-d0d162c677.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dbc0b7c370.entry.js +0 -1
- package/dist/baloise-design-system/p-de36076c.system.js +0 -1
- package/dist/baloise-design-system/p-f3ef269852.entry.js +0 -1
- package/dist/baloise-design-system/p-fd118a1752.system.entry.js +0 -1
- package/dist/esm-es5/app-globals-4d0448ee.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-9981606e.js +0 -1
- /package/dist/baloise-design-system/{p-923b2e35.system.js → p-64f64d32.system.js} +0 -0
- /package/dist/baloise-design-system/{p-fc542e26.js → p-946f2e6f.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-ed9fb455.js → tokens.esm-06404bd4.js} +0 -0
package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js
CHANGED
|
@@ -22,6 +22,7 @@ export class AccordionTrigger {
|
|
|
22
22
|
};
|
|
23
23
|
this.parentAccordionId = undefined;
|
|
24
24
|
this.button = false;
|
|
25
|
+
this.expanded = true;
|
|
25
26
|
this.openLabel = '';
|
|
26
27
|
this.openIcon = 'caret-down';
|
|
27
28
|
this.closeLabel = '';
|
|
@@ -81,7 +82,7 @@ export class AccordionTrigger {
|
|
|
81
82
|
tabindex: 0,
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '891c25716cc93bd97ca9b25fcb512bb1915e8f5d', id: id, class: Object.assign({}, block.class()) }, this.button ? (h("bal-button", { id: `${id}-button`, "aria-controls": `${this.parentAccordionId}-details-content`, part: buttonPart, "data-testid": "bal-accordion-trigger", expanded: this.expanded, icon: icon, iconTurn: turn, color: this.color, size: this.size, onClick: this.onClick }, label)) : (h("button", Object.assign({ class: Object.assign(Object.assign({}, block.element('button').class()), { 'bal-focused': parentSummaryEl && !parentSummaryEl.trigger }), id: `${id}-button`, "aria-controls": `${this.parentAccordionId}-details-content`, "aria-label": "accordion trigger", part: buttonPart, "data-testid": "bal-accordion-trigger", onClick: this.onClick }, triggerAttributes), h("bal-icon", { turn: turn, name: icon })))));
|
|
85
86
|
}
|
|
86
87
|
static get is() { return "bal-accordion-trigger"; }
|
|
87
88
|
static get originalStyleUrls() {
|
|
@@ -114,6 +115,24 @@ export class AccordionTrigger {
|
|
|
114
115
|
"reflect": false,
|
|
115
116
|
"defaultValue": "false"
|
|
116
117
|
},
|
|
118
|
+
"expanded": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"mutable": false,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "boolean",
|
|
123
|
+
"resolved": "boolean",
|
|
124
|
+
"references": {}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": "If `true` the button is aligned over the whole width"
|
|
131
|
+
},
|
|
132
|
+
"attribute": "expanded",
|
|
133
|
+
"reflect": false,
|
|
134
|
+
"defaultValue": "true"
|
|
135
|
+
},
|
|
117
136
|
"openLabel": {
|
|
118
137
|
"type": "string",
|
|
119
138
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.bal-accordion{display:block;position:relative;width:100%}.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium-desktop)}}.bal-accordion--card-v2{padding-left:var(--bal-space-medium);padding-right:var(--bal-space-medium);padding-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion--card-v2{padding-left:var(--bal-space-medium-tablet);padding-right:var(--bal-space-medium-tablet);padding-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion--card-v2{padding-left:var(--bal-space-medium-desktop);padding-right:var(--bal-space-medium-desktop);padding-bottom:var(--bal-space-medium-desktop)}}.bal-accordion__wrapper{display:flex;flex-direction:column-reverse}.bal-accordion__trigger--card{margin-left:var(--bal-space-medium);margin-right:var(--bal-space-medium);margin-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion__trigger--card{margin-left:var(--bal-space-medium-tablet);margin-right:var(--bal-space-medium-tablet);margin-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion__trigger--card{margin-left:var(--bal-space-medium-desktop);margin-right:var(--bal-space-medium-desktop);margin-bottom:var(--bal-space-medium-desktop)}}.bal-accordion__content--card{margin-left:var(--bal-space-medium);margin-right:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion__content--card{margin-left:var(--bal-space-medium-tablet);margin-right:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion__content--card{margin-left:var(--bal-space-medium-desktop);margin-right:var(--bal-space-medium-desktop)}}.bal-accordion--animated{transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-accordion--animated .bal-accordion__content{transition:max-height var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-accordion__content{
|
|
1
|
+
.bal-accordion{display:block;position:relative;width:100%}.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion--card-v1,.bal-accordion--card-v2{margin-top:var(--bal-space-medium-desktop)}}.bal-accordion--card-v2{padding-left:var(--bal-space-medium);padding-right:var(--bal-space-medium);padding-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion--card-v2{padding-left:var(--bal-space-medium-tablet);padding-right:var(--bal-space-medium-tablet);padding-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion--card-v2{padding-left:var(--bal-space-medium-desktop);padding-right:var(--bal-space-medium-desktop);padding-bottom:var(--bal-space-medium-desktop)}}.bal-accordion__wrapper{display:flex;flex-direction:column-reverse}.bal-accordion__trigger--card{margin-left:var(--bal-space-medium);margin-right:var(--bal-space-medium);margin-bottom:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion__trigger--card{margin-left:var(--bal-space-medium-tablet);margin-right:var(--bal-space-medium-tablet);margin-bottom:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion__trigger--card{margin-left:var(--bal-space-medium-desktop);margin-right:var(--bal-space-medium-desktop);margin-bottom:var(--bal-space-medium-desktop)}}.bal-accordion__content--card{margin-left:var(--bal-space-medium);margin-right:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-accordion__content--card{margin-left:var(--bal-space-medium-tablet);margin-right:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-accordion__content--card{margin-left:var(--bal-space-medium-desktop);margin-right:var(--bal-space-medium-desktop)}}.bal-accordion--animated{transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-accordion--animated .bal-accordion__content{transition:max-height var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-accordion__content{will-change:max-height}.bal-accordion__content--overflow-hidden{overflow:hidden}.bal-accordion--collapsing .bal-accordion__content{max-height:0 !important}.bal-accordion--collapsed .bal-accordion__content{display:none}.bal-accordion--expanding .bal-accordion__content{max-height:0}@media(prefers-reduced-motion: reduce){.bal-accordion,.bal-accordion__content{transition:none !important}}
|
|
@@ -67,11 +67,11 @@ export class Accordion {
|
|
|
67
67
|
if (this.shouldAnimate()) {
|
|
68
68
|
raf(() => {
|
|
69
69
|
this.setState(8 /* AccordionState.Expanding */);
|
|
70
|
+
this.balWillAnimate.emit(this.active);
|
|
70
71
|
this.currentRaf = raf(async () => {
|
|
71
72
|
const contentHeight = detailsWrapperElement.offsetHeight;
|
|
72
73
|
const waitForTransition = transitionEndAsync(detailsElement, 300);
|
|
73
74
|
detailsElement.style.setProperty('max-height', `${contentHeight}px`);
|
|
74
|
-
this.balWillAnimate.emit(this.active);
|
|
75
75
|
await waitForTransition;
|
|
76
76
|
this.setState(4 /* AccordionState.Expanded */);
|
|
77
77
|
detailsElement.style.removeProperty('max-height');
|
|
@@ -263,7 +263,10 @@ export class Accordion {
|
|
|
263
263
|
const expanded = this.state === 4 /* AccordionState.Expanded */ || this.state === 8 /* AccordionState.Expanding */;
|
|
264
264
|
const buttonPart = expanded ? 'button expanded' : 'button';
|
|
265
265
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
266
|
-
return (h(Host, { id: this.componentId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('card-v1').class(this.card)), block.modifier('active').class(this.active)), block.modifier('expanding').class(this.state === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.state === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.state === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.state === 1 /* AccordionState.Collapsed */)), block.modifier('animated').class(this.animated)) }, h("div", { class: Object.assign({}, block.element('wrapper').class()) }, h("div", { class: Object.assign(Object.assign({}, block.element('trigger').class()), block.element('trigger').modifier('card').class(this.card)), "data-testid": "bal-accordion-summary" }, h("bal-button", { id: `${this.componentId}-button`, "aria-controls": `${this.componentId}-content`, part: buttonPart, "data-testid": "bal-accordion-trigger", expanded: true, color: 'info', icon: icon, onClick: this.onTriggerClickV1 }, label)), h("div", { id: `${this.componentId}-content`, "aria-labelledby": `${this.componentId}-button`, role: "region", part: contentPart, class: Object.assign(Object.assign({}, block.element('content').class()), block.element('content').modifier('card').class(this.card)),
|
|
266
|
+
return (h(Host, { id: this.componentId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('card-v1').class(this.card)), block.modifier('active').class(this.active)), block.modifier('expanding').class(this.state === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.state === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.state === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.state === 1 /* AccordionState.Collapsed */)), block.modifier('animated').class(this.animated)) }, h("div", { class: Object.assign({}, block.element('wrapper').class()) }, h("div", { class: Object.assign(Object.assign({}, block.element('trigger').class()), block.element('trigger').modifier('card').class(this.card)), "data-testid": "bal-accordion-summary" }, h("bal-button", { id: `${this.componentId}-button`, "aria-controls": `${this.componentId}-content`, part: buttonPart, "data-testid": "bal-accordion-trigger", expanded: true, color: 'info', icon: icon, onClick: this.onTriggerClickV1 }, label)), h("div", { id: `${this.componentId}-content`, "aria-labelledby": `${this.componentId}-button`, role: "region", part: contentPart, class: Object.assign(Object.assign(Object.assign({}, block.element('content').class()), block.element('content').modifier('card').class(this.card)), block
|
|
267
|
+
.element('content')
|
|
268
|
+
.modifier('overflow-hidden')
|
|
269
|
+
.class(this.state !== 4 /* AccordionState.Expanded */)), ref: contentEl => (this.contentEl = contentEl) }, h("div", { id: `${this.componentId}-content-wrapper`, "data-testid": "bal-accordion-details", class: Object.assign({}, block.element('content').element('wrapper').class()), ref: contentElWrapper => (this.contentElWrapper = contentElWrapper) }, h("slot", null))))));
|
|
267
270
|
}
|
|
268
271
|
static get is() { return "bal-accordion"; }
|
|
269
272
|
static get originalStyleUrls() {
|
|
@@ -87,6 +87,7 @@ export class Date {
|
|
|
87
87
|
this.placeholder = undefined;
|
|
88
88
|
this.triggerIcon = false;
|
|
89
89
|
this.closeOnSelect = true;
|
|
90
|
+
this.autocomplete = 'off';
|
|
90
91
|
this.value = undefined;
|
|
91
92
|
this.min = undefined;
|
|
92
93
|
this.max = undefined;
|
|
@@ -270,7 +271,7 @@ export class Date {
|
|
|
270
271
|
const block = BEM.block('date');
|
|
271
272
|
const blockIcon = block.element('icon');
|
|
272
273
|
const blockPopup = block.element('popup');
|
|
273
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '71ecc523323aea5b610663af71761730cafdf72d', id: this.inputId, class: Object.assign({}, block.class()) }, h("bal-input-group", { key: 'fac9940b61f22766e728f2025491f1d743b65a04', invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, ref: el => (this.referenceEl = el) }, h("bal-input-date", Object.assign({ key: '9ff8ef04e188c3492419029967aedbb47f6cd80d', name: this.name, required: this.required, placeholder: this.placeholder, value: this.value, min: this.min, max: this.max, invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, allowInvalidValue: this.allowInvalidValue, autocomplete: this.autocomplete, onClick: this.onInputClick, onBalInput: this.onInputInput, onBalChange: this.onInputChange, onBalFocus: this.onInputFocus, onBalBlur: this.onInputBlur, onBalKeyPress: this.onKeyPress, ref: el => (this.inputEl = el) }, this.inheritedAttributes)), !this.freeSolo ? (h("bal-icon", { name: "date", role: "button", tabindex: -1, class: Object.assign(Object.assign({}, blockIcon.class()), blockIcon.modifier('clickable').class(!this.disabled && !this.readonly)), "is-right": true, color: this.disabled || this.readonly ? 'grey' : this.invalid ? 'danger' : 'primary', onClick: this.onIconClick, "aria-label": i18nBalDate[this.language].toggleDatepicker, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? 'true' : 'false' })) : ('')), h("div", { key: 'a693f4ce01308178268a00e31ef08a052d1972b2', role: "dialog", class: Object.assign(Object.assign({}, blockPopup.class()), blockPopup.modifier('visible').class(this.isExpanded)), ref: el => (this.floatingEl = el), "aria-hidden": `${this.isExpanded !== true}`, "aria-presented": `${this.isExpanded === true}` }, h("bal-date-calendar", { key: '8ac00879f736c54cb7662cd9811c44cdc80859ff', value: this.calendarValue, min: this.min, max: this.max, minYearProp: this.minYearProp, maxYearProp: this.maxYearProp, defaultDate: this.defaultDate, allowedDates: this.allowedDates, onBalChange: this.onCalendarChange }))));
|
|
274
275
|
}
|
|
275
276
|
static get is() { return "bal-date"; }
|
|
276
277
|
static get originalStyleUrls() {
|
|
@@ -446,6 +447,29 @@ export class Date {
|
|
|
446
447
|
"reflect": false,
|
|
447
448
|
"defaultValue": "true"
|
|
448
449
|
},
|
|
450
|
+
"autocomplete": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"mutable": false,
|
|
453
|
+
"complexType": {
|
|
454
|
+
"original": "BalProps.BalInputAutocomplete",
|
|
455
|
+
"resolved": "\"on\" | \"off\" | \"tel\" | \"url\" | \"email\" | \"name\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"photo\"",
|
|
456
|
+
"references": {
|
|
457
|
+
"BalProps": {
|
|
458
|
+
"location": "global",
|
|
459
|
+
"id": "global::BalProps"
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"required": false,
|
|
464
|
+
"optional": false,
|
|
465
|
+
"docs": {
|
|
466
|
+
"tags": [],
|
|
467
|
+
"text": "Indicates whether the value of the control can be automatically completed by the browser."
|
|
468
|
+
},
|
|
469
|
+
"attribute": "autocomplete",
|
|
470
|
+
"reflect": false,
|
|
471
|
+
"defaultValue": "'off'"
|
|
472
|
+
},
|
|
449
473
|
"value": {
|
|
450
474
|
"type": "string",
|
|
451
475
|
"mutable": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--bal-dropdown-control-background: var(--bal-color-white);--bal-dropdown-control-background-hover: var(--bal-form-field-control-background-hover);--bal-dropdown-control-background-invalid: var(--bal-form-field-control-danger-background);--bal-dropdown-control-background-disabled: var(--bal-form-field-control-disabled-background);--bal-dropdown-control-input-background: var(--bal-color-grey-1);--bal-dropdown-control-native-input-background: transparent;--bal-dropdown-control-native-input-background-hover: transparent;--bal-dropdown-control-input-inverted-footer-background: transparent;--bal-dropdown-control-input-inverted-footer-background-hover: transparent;--bal-dropdown-control-input-multiple-background: transparent;--bal-dropdown-control-input-multiple-background-read-only-selection: transparent;--bal-dropdown-control-input-option-background: transparent;--bal-dropdown-control-input-option-background-selected: var(--bal-color-primary-1);--bal-dropdown-control-input-option-background-focused: var(--bal-color-grey-2);--bal-dropdown-control-input-option-background-hover: var(--bal-color-grey-2);--bal-dropdown-control-border-radius: var(--bal-form-field-control-radius);--bal-dropdown-popover-border-color: var(--bal-color-grey-2);--bal-dropdown-control-border-color: var(--bal-form-field-control-border-color);--bal-dropdown-control-border-color-focused: var(--bal-color-primary);--bal-dropdown-control-border-color-hover: var(--bal-form-field-control-border-color-hover);--bal-dropdown-control-border-color-invalid: var(--bal-form-field-control-danger-border-color);--bal-dropdown-control-border-color-disabled: var(--bal-form-field-control-disabled-border-color);--bal-dropdown-control-border-color-focus-within: var(--bal-color-primary);--bal-dropdown-option-border-top-color: var(--bal-color-grey-2);--bal-dropdown-popover-empty-text-color: var(--bal-form-field-control-color);--bal-dropdown-control-text-color: var(--bal-form-field-control-color);--bal-dropdown-control-text-color-focused: var(--bal-color-primary);--bal-dropdown-input-text-color-disabled: var(--bal-form-field-label-disabled-color);--bal-dropdown-control-inverted-footer-native-input-text-color: var(--bal-color-text-white);--bal-dropdown-option-content-label-text-color: var(--bal-form-field-control-color)}.bal-dropdown{display:block;position:relative;flex:1;width:100%}.bal-dropdown__root{border-width:.125rem;border-style:solid;border-color:var(--bal-dropdown-control-border-color);border-radius:var(--bal-dropdown-control-border-radius);background:var(--bal-dropdown-control-background);font-size:var(--bal-weight-regular);font-family:var(--bal-font-family-text);color:var(--bal-dropdown-control-text-color);outline:none;box-shadow:var(--bal-shadow-none);padding-right:1rem;height:auto;min-height:3rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;width:100%;text-align:left;gap:.5rem;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));justify-content:center;align-items:center}.bal-dropdown__root--autofill{background:#faffbd !important;background:light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important}.bal-dropdown__root>span{flex:1;hyphens:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bal-dropdown__root--focused{border-color:var(--bal-dropdown-control-border-color-focused)}.bal-dropdown__root--invalid{border-color:var(--bal-dropdown-control-border-color-invalid);background:var(--bal-dropdown-control-background-invalid)}.bal-dropdown__root--disabled{border-color:var(--bal-dropdown-control-border-color-disabled);background:var(--bal-dropdown-control-background-disabled)}.bal-dropdown__root__content--placeholder{color:var(--bal-form-field-control-placeholder-color)}.bal-dropdown__root__content--disabled{color:var(--bal-dropdown-input-text-color-disabled)}.bal-dropdown__root__content__chips{--bal-tag-size-small-font-size: var(--bal-text-size-normal);display:flex;flex-wrap:wrap;gap:var(--bal-space-xx-small);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}.bal-dropdown__root__content__chips>bal-tag{z-index:1}.bal-dropdown__root__input{appearance:none;border:none;background:rgba(0,0,0,0);position:absolute;right:var(--bal-border-width-normal);left:var(--bal-border-width-normal);top:var(--bal-border-width-normal);bottom:var(--bal-border-width-normal);opacity:0;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));cursor:pointer}.bal-dropdown__root__input:disabled{cursor:default}.bal-dropdown__root__input:autofill{opacity:1}.bal-dropdown__root__input:-internal-autofill-selected{opacity:0}.bal-dropdown__root__select{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-dropdown__root--autofill .bal-dropdown__root__input{opacity:0}.bal-dropdown__list{display:block;visibility:hidden;opacity:0;min-width:100%;width:100%;position:absolute;top:0;left:0;will-change:left,top,opacity;background:var(--bal-color-white);border-radius:var(--bal-radius-normal);box-shadow:var(--bal-shadow-normal);z-index:var(--bal-z-index-popup)}.bal-dropdown__list--expanded{visibility:visible;opacity:1}.bal-dropdown__native{bottom:0;left:0;position:absolute;opacity:0;pointer-events:none;width:100%}.bal-dropdown__clear{background:rgba(0,0,0,0);border:none;padding:0;margin:0;display:flex;justify-content:center;align-items:center;cursor:pointer}.bal-dropdown__rear{z-index:1}
|
|
1
|
+
:root{--bal-dropdown-control-background: var(--bal-color-white);--bal-dropdown-control-background-hover: var(--bal-form-field-control-background-hover);--bal-dropdown-control-background-invalid: var(--bal-form-field-control-danger-background);--bal-dropdown-control-background-disabled: var(--bal-form-field-control-disabled-background);--bal-dropdown-control-input-background: var(--bal-color-grey-1);--bal-dropdown-control-native-input-background: transparent;--bal-dropdown-control-native-input-background-hover: transparent;--bal-dropdown-control-input-inverted-footer-background: transparent;--bal-dropdown-control-input-inverted-footer-background-hover: transparent;--bal-dropdown-control-input-multiple-background: transparent;--bal-dropdown-control-input-multiple-background-read-only-selection: transparent;--bal-dropdown-control-input-option-background: transparent;--bal-dropdown-control-input-option-background-selected: var(--bal-color-primary-1);--bal-dropdown-control-input-option-background-focused: var(--bal-color-grey-2);--bal-dropdown-control-input-option-background-hover: var(--bal-color-grey-2);--bal-dropdown-control-border-radius: var(--bal-form-field-control-radius);--bal-dropdown-popover-border-color: var(--bal-color-grey-2);--bal-dropdown-control-border-color: var(--bal-form-field-control-border-color);--bal-dropdown-control-border-color-focused: var(--bal-color-primary);--bal-dropdown-control-border-color-hover: var(--bal-form-field-control-border-color-hover);--bal-dropdown-control-border-color-invalid: var(--bal-form-field-control-danger-border-color);--bal-dropdown-control-border-color-disabled: var(--bal-form-field-control-disabled-border-color);--bal-dropdown-control-border-color-focus-within: var(--bal-color-primary);--bal-dropdown-option-border-top-color: var(--bal-color-grey-2);--bal-dropdown-popover-empty-text-color: var(--bal-form-field-control-color);--bal-dropdown-control-text-color: var(--bal-form-field-control-color);--bal-dropdown-control-text-color-focused: var(--bal-color-primary);--bal-dropdown-input-text-color-disabled: var(--bal-form-field-label-disabled-color);--bal-dropdown-control-inverted-footer-native-input-text-color: var(--bal-color-text-white);--bal-dropdown-option-content-label-text-color: var(--bal-form-field-control-color)}.bal-dropdown{display:block;position:relative;flex:1;width:100%}.bal-dropdown__root{border-width:.125rem;border-style:solid;border-color:var(--bal-dropdown-control-border-color);border-radius:var(--bal-dropdown-control-border-radius);background:var(--bal-dropdown-control-background);font-weight:var(--bal-font-weight-regular);font-size:var(--bal-text-size-normal);font-family:var(--bal-font-family-text);color:var(--bal-dropdown-control-text-color);outline:none;box-shadow:var(--bal-shadow-none);padding-right:1rem;height:auto;min-height:3rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;width:100%;text-align:left;gap:.5rem;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));justify-content:center;align-items:center}.bal-dropdown__root--autofill{background:#faffbd !important;background:light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important}.bal-dropdown__root>span{flex:1;hyphens:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bal-dropdown__root--focused{border-color:var(--bal-dropdown-control-border-color-focused)}.bal-dropdown__root--invalid{border-color:var(--bal-dropdown-control-border-color-invalid);background:var(--bal-dropdown-control-background-invalid)}.bal-dropdown__root--disabled{border-color:var(--bal-dropdown-control-border-color-disabled);background:var(--bal-dropdown-control-background-disabled)}.bal-dropdown__root__content--placeholder{color:var(--bal-form-field-control-placeholder-color)}.bal-dropdown__root__content--disabled{color:var(--bal-dropdown-input-text-color-disabled)}@media(hover: hover)and (pointer: fine){.bal-dropdown__root:not(.bal-dropdown__root--disabled):not(.bal-dropdown__root--invalid):not(.bal-dropdown__root--theme-purple):not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-dropdown-control-background-hover)}}.bal-dropdown__root__content__chips{--bal-tag-size-small-font-size: var(--bal-text-size-normal);display:flex;flex-wrap:wrap;gap:var(--bal-space-xx-small);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}.bal-dropdown__root__content__chips>bal-tag{z-index:1}.bal-dropdown__root__input{appearance:none;border:none;background:rgba(0,0,0,0);position:absolute;right:var(--bal-border-width-normal);left:var(--bal-border-width-normal);top:var(--bal-border-width-normal);bottom:var(--bal-border-width-normal);opacity:0;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));cursor:pointer}.bal-dropdown__root__input:disabled{cursor:default}.bal-dropdown__root__input:autofill{opacity:1}.bal-dropdown__root__input:-internal-autofill-selected{opacity:0}.bal-dropdown__root__select{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-dropdown__root--autofill .bal-dropdown__root__input{opacity:0}.bal-dropdown__list{display:block;visibility:hidden;opacity:0;min-width:100%;width:100%;position:absolute;top:0;left:0;will-change:left,top,opacity;background:var(--bal-color-white);border-radius:var(--bal-radius-normal);box-shadow:var(--bal-shadow-normal);z-index:var(--bal-z-index-popup)}.bal-dropdown__list--expanded{visibility:visible;opacity:1}.bal-dropdown__native{bottom:0;left:0;position:absolute;opacity:0;pointer-events:none;width:100%}.bal-dropdown__clear{background:rgba(0,0,0,0);border:none;padding:0;margin:0;display:flex;justify-content:center;align-items:center;cursor:pointer}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:"";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}.bal-dropdown__rear{z-index:1}.bal-dropdown__root--size-small{min-height:2rem}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-background-grey-light)}@media(hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-1)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-purple-2)}@media(hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-expanded,.bal-dropdown__root--theme-purple-expanded:hover,.bal-dropdown__root--theme-purple-expanded:active{border:none;background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-expanded .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--focused.bal-dropdown__root--theme-purple:before{content:"";border-width:var(--bal-border-width-normal);border-style:solid;border-color:var(--bal-focus-shadow);position:absolute;background:rgba(0,0,0,0);border-radius:var(--bal-radius-normal);top:-0.25rem;bottom:-0.25rem;left:-0.25rem;right:-0.25rem}.bal-dropdown__root__content--size-small{font-size:var(--bal-text-size-small);font-weight:var(--bal-font-weight-bold)}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:"";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}
|
|
@@ -126,6 +126,7 @@ export class Dropdown {
|
|
|
126
126
|
this.hasFocus = false;
|
|
127
127
|
this.isExpanded = false;
|
|
128
128
|
this.isAutoFilled = false;
|
|
129
|
+
this.isKeyboardMode = false;
|
|
129
130
|
this.inputLabel = '';
|
|
130
131
|
this.ariaForm = defaultBalAriaForm;
|
|
131
132
|
this.language = defaultConfig.language;
|
|
@@ -135,7 +136,10 @@ export class Dropdown {
|
|
|
135
136
|
this.autocomplete = 'off';
|
|
136
137
|
this.name = this.inputId;
|
|
137
138
|
this.placeholder = '';
|
|
139
|
+
this.inlineLabel = '';
|
|
138
140
|
this.icon = 'caret-down';
|
|
141
|
+
this.size = '';
|
|
142
|
+
this.theme = '';
|
|
139
143
|
this.disabled = false;
|
|
140
144
|
this.readonly = false;
|
|
141
145
|
this.multiple = false;
|
|
@@ -171,6 +175,9 @@ export class Dropdown {
|
|
|
171
175
|
}
|
|
172
176
|
addEventListener(this.el, 'balOptionChange', this.listenToOptionChange);
|
|
173
177
|
if (balBrowser.hasDocument) {
|
|
178
|
+
addEventListener(document, 'keydown', this.eventsUtil.handleKeydown);
|
|
179
|
+
addEventListener(document, 'touchstart', this.eventsUtil.handlePointerDown);
|
|
180
|
+
addEventListener(document, 'mousedown', this.eventsUtil.handlePointerDown);
|
|
174
181
|
addEventListener(document, 'click', this.listenOnClickOutside);
|
|
175
182
|
addEventListener(document, 'reset', this.resetHandler, {
|
|
176
183
|
capture: true,
|
|
@@ -181,6 +188,9 @@ export class Dropdown {
|
|
|
181
188
|
disconnectedCallback() {
|
|
182
189
|
removeEventListener(this.el, 'balOptionChange', this.listenToOptionChange);
|
|
183
190
|
if (balBrowser.hasDocument) {
|
|
191
|
+
removeEventListener(document, 'keydown', this.eventsUtil.handleKeydown);
|
|
192
|
+
removeEventListener(document, 'touchstart', this.eventsUtil.handlePointerDown);
|
|
193
|
+
removeEventListener(document, 'mousedown', this.eventsUtil.handlePointerDown);
|
|
184
194
|
removeEventListener(document, 'click', this.listenOnClickOutside);
|
|
185
195
|
removeEventListener(document, 'reset', this.resetHandler, {
|
|
186
196
|
capture: true,
|
|
@@ -269,7 +279,19 @@ export class Dropdown {
|
|
|
269
279
|
*/
|
|
270
280
|
render() {
|
|
271
281
|
const block = BEM.block('dropdown');
|
|
272
|
-
|
|
282
|
+
const isFilled = this.valueUtil.isFilled();
|
|
283
|
+
const hasSize = this.size !== '';
|
|
284
|
+
const size = `size-${this.size}`;
|
|
285
|
+
const hasTheme = this.theme !== '';
|
|
286
|
+
const theme = `theme-${this.theme}`;
|
|
287
|
+
const focused = this.theme === 'purple' ? this.hasFocus && this.isKeyboardMode : this.hasFocus;
|
|
288
|
+
return (h(Host, { key: '76447733642f7e5cfafaee1d23b7db1d458fea13', class: Object.assign({}, block.class()), tabindex: "-1", id: `${this.inputId}` }, h("div", { key: 'f15d237a0aa27c7bc6d578b107547c2ba7b36ad3', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').class()), block.element('root').modifier('focused').class(focused)), block.element('root').modifier('invalid').class(this.invalid)), block.element('root').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').modifier('autofill').class(this.isAutoFilled)), block.element('root').modifier(size).class(hasSize)), block.element('root').modifier(theme).class(hasTheme)), block
|
|
289
|
+
.element('root')
|
|
290
|
+
.modifier(theme + '-filled')
|
|
291
|
+
.class(isFilled && hasTheme)), block
|
|
292
|
+
.element('root')
|
|
293
|
+
.modifier(theme + '-expanded')
|
|
294
|
+
.class(this.isExpanded && hasTheme)), "data-test": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: '8cd1f403f473212d52bb1d992e506e0db483ad11', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').element('content').class()), block.element('root').element('content').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').element('content').modifier('placeholder').class(!this.valueUtil.isFilled())), block.element('root').element('content').modifier(size).class(hasSize)) }, h(DropdownValue, { key: '5e58e0734c37d2827515449e5fe61f3fe489ad01', filled: this.valueUtil.isFilled(), inlineLabel: this.inlineLabel, chips: this.chips, placeholder: this.placeholder, choices: this.choices, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, onRemoveChip: option => this.valueUtil.removeOption(option) })), h(DropdownInput, { key: 'f289ba14f7120bfad09dfdfc2f034bdacaf52d74', name: this.name, inputId: this.inputId, httpFormSubmit: this.httpFormSubmit, ariaForm: this.ariaForm, rawValue: this.rawValue, autocomplete: this.autocomplete, required: this.required, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, expanded: this.isExpanded, invalid: this.invalid, language: this.language, inputLabel: this.inputLabel, inheritedAttributes: this.inheritedAttributes, refInputEl: el => (this.nativeEl = el), onChange: ev => this.handleAutoFill(ev), onFocus: ev => this.eventsUtil.handleFocus(ev), onBlur: ev => this.eventsUtil.handleBlur(ev), onKeyDown: ev => this.handleKeyDown(ev) }), h(DropdownNativeSelect, { key: 'c32cb85f707db22ed5774d0a6bbd904bc63ea69c', name: this.name, httpFormSubmit: this.httpFormSubmit, multiple: this.multiple, required: this.required, disabled: this.valueUtil.isDisabled(), rawValue: this.rawValue, refSelectEl: el => (this.selectEl = el) }), h(DropdownIcon, { key: 'b263377bf16e268d3f555242e15325ba36d2b91f', icon: this.icon, size: this.size, theme: this.theme, language: this.language, loading: this.loading, clearable: this.clearable, invalid: this.invalid, expanded: this.isExpanded, filled: isFilled, disabled: this.valueUtil.isDisabled() })), h(DropdownOptionList, { key: 'cdfb11f2ef449f82ddf32f944cea8faea9027372', inputId: this.inputId, block: this.inputId, filter: this.filter, required: this.required, isExpanded: this.isExpanded, isDisabled: this.valueUtil.isDisabled(), hasPropOptions: this.optionUtil.hasPropOptions(), multiple: this.multiple, contentHeight: this.contentHeight, rawOptions: this.rawOptions, refPanelEl: el => (this.panelEl = el), refListEl: el => (this.listEl = el) }, h("slot", { key: '0a281eed8eea22ec5a345d8a1db295ad85b874ed' }))));
|
|
273
295
|
}
|
|
274
296
|
static get is() { return "bal-dropdown"; }
|
|
275
297
|
static get originalStyleUrls() {
|
|
@@ -343,6 +365,24 @@ export class Dropdown {
|
|
|
343
365
|
"reflect": false,
|
|
344
366
|
"defaultValue": "''"
|
|
345
367
|
},
|
|
368
|
+
"inlineLabel": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"mutable": false,
|
|
371
|
+
"complexType": {
|
|
372
|
+
"original": "string",
|
|
373
|
+
"resolved": "string",
|
|
374
|
+
"references": {}
|
|
375
|
+
},
|
|
376
|
+
"required": false,
|
|
377
|
+
"optional": false,
|
|
378
|
+
"docs": {
|
|
379
|
+
"tags": [],
|
|
380
|
+
"text": "Defines a inline label to be shown before the value"
|
|
381
|
+
},
|
|
382
|
+
"attribute": "inline-label",
|
|
383
|
+
"reflect": false,
|
|
384
|
+
"defaultValue": "''"
|
|
385
|
+
},
|
|
346
386
|
"icon": {
|
|
347
387
|
"type": "string",
|
|
348
388
|
"mutable": false,
|
|
@@ -361,6 +401,52 @@ export class Dropdown {
|
|
|
361
401
|
"reflect": false,
|
|
362
402
|
"defaultValue": "'caret-down'"
|
|
363
403
|
},
|
|
404
|
+
"size": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"mutable": false,
|
|
407
|
+
"complexType": {
|
|
408
|
+
"original": "BalProps.BalDropdownSize",
|
|
409
|
+
"resolved": "\"\" | \"small\"",
|
|
410
|
+
"references": {
|
|
411
|
+
"BalProps": {
|
|
412
|
+
"location": "global",
|
|
413
|
+
"id": "global::BalProps"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"required": false,
|
|
418
|
+
"optional": false,
|
|
419
|
+
"docs": {
|
|
420
|
+
"tags": [],
|
|
421
|
+
"text": "Defines the size of the control."
|
|
422
|
+
},
|
|
423
|
+
"attribute": "size",
|
|
424
|
+
"reflect": false,
|
|
425
|
+
"defaultValue": "''"
|
|
426
|
+
},
|
|
427
|
+
"theme": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"mutable": false,
|
|
430
|
+
"complexType": {
|
|
431
|
+
"original": "BalProps.BalDropdownTheme",
|
|
432
|
+
"resolved": "\"\" | \"purple\"",
|
|
433
|
+
"references": {
|
|
434
|
+
"BalProps": {
|
|
435
|
+
"location": "global",
|
|
436
|
+
"id": "global::BalProps"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"required": false,
|
|
441
|
+
"optional": false,
|
|
442
|
+
"docs": {
|
|
443
|
+
"tags": [],
|
|
444
|
+
"text": "Defines the color style of the control"
|
|
445
|
+
},
|
|
446
|
+
"attribute": "theme",
|
|
447
|
+
"reflect": false,
|
|
448
|
+
"defaultValue": "''"
|
|
449
|
+
},
|
|
364
450
|
"disabled": {
|
|
365
451
|
"type": "boolean",
|
|
366
452
|
"mutable": false,
|
|
@@ -617,6 +703,7 @@ export class Dropdown {
|
|
|
617
703
|
"hasFocus": {},
|
|
618
704
|
"isExpanded": {},
|
|
619
705
|
"isAutoFilled": {},
|
|
706
|
+
"isKeyboardMode": {},
|
|
620
707
|
"inputLabel": {},
|
|
621
708
|
"ariaForm": {},
|
|
622
709
|
"language": {},
|
|
@@ -14,6 +14,7 @@ export class Footer {
|
|
|
14
14
|
this.region = defaultConfig.region;
|
|
15
15
|
this.allowedLanguages = defaultConfig.allowedLanguages;
|
|
16
16
|
this.hideLinks = false;
|
|
17
|
+
this.overrideLinks = undefined;
|
|
17
18
|
this.showSocialMedia = false;
|
|
18
19
|
this.hideLanguageSelection = false;
|
|
19
20
|
}
|
|
@@ -52,7 +53,10 @@ export class Footer {
|
|
|
52
53
|
updateBalLanguage(language);
|
|
53
54
|
}
|
|
54
55
|
updateFooterLinks() {
|
|
55
|
-
if (
|
|
56
|
+
if (this.overrideLinks) {
|
|
57
|
+
this.links = this.overrideLinks;
|
|
58
|
+
}
|
|
59
|
+
else if (!this.hideLinks && (this.region === 'CH' || this.region === 'DE')) {
|
|
56
60
|
// The following footer links only apply to swiss and german applications
|
|
57
61
|
const region = this.region;
|
|
58
62
|
rIC(() => {
|
|
@@ -87,18 +91,18 @@ export class Footer {
|
|
|
87
91
|
const elIcon = elLanguage.element('icon');
|
|
88
92
|
const elLegalLinks = elLinksContainer.element('legal-links');
|
|
89
93
|
const elSocialMediaLinks = elLinksContainer.element('social-media-links');
|
|
90
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'ae55946ea2a65fc9e92bd7e5c3be4fc3f3fa75d6', class: Object.assign({}, block.class()) }, h("footer", { key: '13ab5d638fb4f9009cb2e93d77a9ac70bc08622e', class: Object.assign({}, elInner.class()) }, h("div", { key: '9554e06e86b94ce2fd49e9c129207f04f8e95bbb', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: 'd1aac84f5621a9fbae86b9fdb9f8a0ad55988efc', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: 'b809f53a3e85e806930d14cbffde39fb58ed6ea3', class: Object.assign({}, elLogo.class()) }, h("bal-logo", { key: 'e85736ba7525e7545e2bd58a72e9b35971696647', color: "white" })), h("div", { key: '176ea2f04f5458307d0b823b122ef79764f138d8', class: Object.assign({}, elLanguage.class()), style: {
|
|
91
95
|
display: this.hideLanguageSelection || this.allowedLanguages.length <= 1 ? 'none' : 'flex',
|
|
92
|
-
} }, h("div", { key: '
|
|
96
|
+
} }, h("div", { key: '2df7d00cb622575dfa5484bceb44a99b90c2a736', class: Object.assign({}, elWrapper.class()) }, h("bal-input-group", { key: '5cc4baee54d1d8f44f2c836788f7739fa16e468d' }, h("bal-icon", { key: 'ebbfd79b91aa01b97707e763b7fbf869eb61b925', class: 'bal-dropdown__rear', name: "web", color: "white", onClick: el => {
|
|
93
97
|
var _a;
|
|
94
98
|
stopEventBubbling(el);
|
|
95
99
|
(_a = this.selectEl) === null || _a === void 0 ? void 0 : _a.open();
|
|
96
|
-
} }), h("bal-dropdown", { key: '
|
|
100
|
+
} }), h("bal-dropdown", { key: '23540be5a9fddcc7c1e5368dfa4858ab1da720f5', ref: el => (this.selectEl = el), value: this.language, onBalChange: event => this.changeLanguage(event.detail), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("bal-option", { key: language, label: language.toLocaleUpperCase(), value: language }, language.toLocaleUpperCase())))))))), h("div", { key: '2580651725f59eb95ff734f9499f80635580ecd9', class: Object.assign({}, elSlot.class()) }, h("slot", { key: 'f6fef80d09d9d7213c975957b917019ce3299d73' })), h("div", { key: 'eefbce7897b7935f18b61e53d4dc19ded1806bc7', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '0eee61cb3cbdaaf2af5c135ef472b9579e77b1a9', class: Object.assign({}, elSocialMediaLinks.class()), style: {
|
|
97
101
|
display: !this.showSocialMedia ? 'none' : 'flex',
|
|
98
102
|
} }, this.socialMediaLinks.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
99
103
|
'link': true,
|
|
100
104
|
'is-inverted': true,
|
|
101
|
-
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '
|
|
105
|
+
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '5ba9f15559377a56212e51fa6166d09225ba4a40', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
102
106
|
'link': true,
|
|
103
107
|
'is-light': true,
|
|
104
108
|
} }, link.label)))))))));
|
|
@@ -134,6 +138,28 @@ export class Footer {
|
|
|
134
138
|
"reflect": false,
|
|
135
139
|
"defaultValue": "false"
|
|
136
140
|
},
|
|
141
|
+
"overrideLinks": {
|
|
142
|
+
"type": "unknown",
|
|
143
|
+
"mutable": false,
|
|
144
|
+
"complexType": {
|
|
145
|
+
"original": "FooterLink[] | undefined",
|
|
146
|
+
"resolved": "FooterLink[]",
|
|
147
|
+
"references": {
|
|
148
|
+
"FooterLink": {
|
|
149
|
+
"location": "import",
|
|
150
|
+
"path": "@baloise/web-app-utils",
|
|
151
|
+
"id": "../../node_modules/@baloise/web-app-utils/dist/types/index.d.ts::FooterLink"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"required": false,
|
|
156
|
+
"optional": false,
|
|
157
|
+
"docs": {
|
|
158
|
+
"tags": [],
|
|
159
|
+
"text": "If provided, the footer links will be overridden."
|
|
160
|
+
},
|
|
161
|
+
"defaultValue": "undefined"
|
|
162
|
+
},
|
|
137
163
|
"showSocialMedia": {
|
|
138
164
|
"type": "boolean",
|
|
139
165
|
"mutable": false,
|