@baloise/ds-core 17.2.0 → 17.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bal-carousel2.js +1 -1
- package/components/bal-close2.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.js +1 -1
- package/components/bal-input-date2.js +2 -2
- package/components/bal-list-item-accordion-body2.js +3 -3
- package/components/bal-pagination2.js +4 -4
- package/components/bal-segment.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-tabs2.js +12 -14
- package/components/index.js +1 -1
- package/components/mutation.decorator.js +11 -13
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-512a273a.js → p-00281d6b.js} +1 -1
- package/dist/baloise-design-system/{p-799a292492.entry.js → p-04979ee232.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cc4dc17721.system.entry.js → p-18fbeec32d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ba38ccde00.entry.js → p-19abec97c4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-749fe3de.system.js → p-1c118a88.system.js} +1 -1
- package/dist/baloise-design-system/{p-aebb3198c4.system.entry.js → p-1cb1fb71d4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c045d5a57c.system.entry.js → p-20d7a74311.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c412a7d9f5.system.entry.js → p-25e640839d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-246e9e2585.system.entry.js → p-27d3f5d35a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-34b1a9a33b.entry.js → p-296b12e3a9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-13e7a8817c.entry.js → p-2ad664ad93.entry.js} +1 -1
- package/dist/baloise-design-system/{p-56f5e6d1.system.js → p-35120ab6.system.js} +1 -1
- package/dist/baloise-design-system/{p-e3a563de25.system.entry.js → p-374ce10b98.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9f83acd71d.entry.js → p-39ad885d73.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fb2a9f7542.system.entry.js → p-3a0a84fbcc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-3d1747bc.system.js +1 -0
- package/dist/baloise-design-system/{p-eee34b1983.entry.js → p-47ae469120.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b5152365.system.js → p-486eb96d.system.js} +1 -1
- package/dist/baloise-design-system/p-51380295.system.js +1 -1
- package/dist/baloise-design-system/{p-8b8019c57c.entry.js → p-58f7826179.entry.js} +1 -1
- package/dist/baloise-design-system/{p-88be14c716.entry.js → p-5bbc6e33c0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d8fb982e61.system.entry.js → p-61b87619ac.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-01cdb12b31.entry.js → p-63793834ec.entry.js} +1 -1
- package/dist/baloise-design-system/p-65b542bd.system.js +1 -1
- package/dist/baloise-design-system/{p-5361e8255f.system.entry.js → p-682a1550e1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-38eaad35.js → p-7684efd8.js} +1 -1
- package/dist/baloise-design-system/{p-fd88b00c71.system.entry.js → p-77a1d547e2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-992c49c23e.system.entry.js → p-7d63b70a40.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-737eb79c75.entry.js → p-7e50273c21.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3c4bbee680.system.entry.js → p-9e2730c56b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d1c71ad702.entry.js → p-a33ee4ca30.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4023b8977a.entry.js → p-a5a8da4e09.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b86876e144.entry.js → p-a6556b9bd0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8e244ba61a.entry.js → p-a76969fe16.entry.js} +1 -1
- package/dist/baloise-design-system/p-aa08fe2376.entry.js +1 -0
- package/dist/baloise-design-system/{p-30679d51bd.system.entry.js → p-ab64213bd1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a7cf23072c.entry.js → p-ac2b4a256d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4c8470249b.system.entry.js → p-b5c538994b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-be6d3bde8f.entry.js → p-c486a8a8ed.entry.js} +1 -1
- package/dist/baloise-design-system/{p-faaf77375f.system.entry.js → p-c6ee7ff820.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c72669019f.system.entry.js → p-cd5cbb0462.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ce674dca.js +1 -0
- package/dist/baloise-design-system/{p-73efab2c3a.system.entry.js → p-d21e99c2da.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a68d21a21e.system.entry.js → p-d8420ad3d5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-de13d5c0.system.js → p-dafb9ede.system.js} +1 -1
- package/dist/baloise-design-system/{p-34c50dfa1e.entry.js → p-dc032a0d49.entry.js} +1 -1
- package/dist/baloise-design-system/p-e3167218.js +1 -1
- package/dist/baloise-design-system/{p-ccee08eae1.system.entry.js → p-e5724f1013.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-749056f366.entry.js → p-fc915218bf.entry.js} +1 -1
- package/dist/baloise-design-system/p-fe30593a.js +1 -0
- package/dist/cjs/bal-carousel_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-close.cjs.entry.js +1 -1
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-date.cjs.entry.js +1 -1
- package/dist/cjs/bal-field_5.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +6 -6
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +4 -4
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-segment_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +16 -18
- package/dist/cjs/{breakpoints.decorator-8bde2bcf.js → breakpoints.decorator-2c97bb36.js} +1 -1
- package/dist/cjs/{breakpoints.subject-15687772.js → breakpoints.subject-f3104eb9.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-6421e1c1.js +1 -1
- package/dist/cjs/{mutation.decorator-d2ce6c1a.js → mutation.decorator-5ac1e198.js} +10 -12
- package/dist/cjs/{tokens.esm-bdae5d02.js → tokens.esm-dbef942e.js} +1 -1
- package/dist/cjs/{window-resize.decorator-e1fbbe1f.js → window-resize.decorator-69ff6e4c.js} +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +3 -3
- package/dist/collection/components/bal-close/bal-close.js +4 -4
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +1 -1
- package/dist/collection/components/bal-date/bal-date.js +3 -3
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +4 -4
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +3 -3
- package/dist/collection/components/bal-pagination/bal-pagination.js +6 -6
- package/dist/collection/components/bal-segment/bal-segment.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +12 -14
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/mutation/mutation.subject.js +11 -13
- package/dist/esm/bal-carousel_2.entry.js +5 -5
- package/dist/esm/bal-checkbox_2.entry.js +1 -1
- package/dist/esm/bal-close.entry.js +1 -1
- package/dist/esm/bal-date-calendar_2.entry.js +3 -3
- package/dist/esm/bal-date.entry.js +1 -1
- package/dist/esm/bal-field_5.entry.js +1 -1
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +6 -6
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +4 -4
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-radio_2.entry.js +1 -1
- package/dist/esm/bal-segment_2.entry.js +5 -5
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +16 -18
- package/dist/esm/{breakpoints.decorator-7623ded8.js → breakpoints.decorator-a8efc52b.js} +1 -1
- package/dist/esm/{breakpoints.subject-ac2d9287.js → breakpoints.subject-0764e6ff.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-b9912138.js +1 -1
- package/dist/esm/{mutation.decorator-985cc0a1.js → mutation.decorator-74831883.js} +11 -13
- package/dist/esm/{tokens.esm-44ff650d.js → tokens.esm-69df759d.js} +1 -1
- package/dist/esm/{window-resize.decorator-ab11c379.js → window-resize.decorator-53d6279e.js} +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.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-radio_2.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-stage_6.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/breakpoints.decorator-a8efc52b.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-ac2d9287.js → breakpoints.subject-0764e6ff.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-b9912138.js +1 -1
- package/dist/esm-es5/mutation.decorator-74831883.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-ab11c379.js → window-resize.decorator-53d6279e.js} +1 -1
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +1 -2
- package/dist/types/components/bal-close/bal-close.d.ts +1 -2
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +1 -1
- package/dist/types/components/bal-date/bal-date.d.ts +1 -2
- package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +1 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +1 -1
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +1 -2
- package/dist/types/components/bal-segment/bal-segment.d.ts +1 -1
- package/dist/types/components.d.ts +7 -7
- package/package.json +7 -7
- package/dist/baloise-design-system/p-12a557557c.entry.js +0 -1
- package/dist/baloise-design-system/p-55d6475b.js +0 -1
- package/dist/baloise-design-system/p-738ca720.system.js +0 -1
- package/dist/baloise-design-system/p-950bd476.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-7623ded8.js +0 -1
- package/dist/esm-es5/mutation.decorator-985cc0a1.js +0 -1
- /package/dist/baloise-design-system/{p-18a74018.js → p-0521dc23.js} +0 -0
- /package/dist/baloise-design-system/{p-69313d59.system.js → p-342d34ac.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-44ff650d.js → tokens.esm-69df759d.js} +0 -0
|
@@ -10,17 +10,17 @@ const browser = require('./browser-1d542d0f.js');
|
|
|
10
10
|
const scroll = require('./scroll-73c1b762.js');
|
|
11
11
|
const helpers = require('./helpers-393c2183.js');
|
|
12
12
|
const listen = require('./listen-b42a4134.js');
|
|
13
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
13
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
14
14
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
15
|
-
const mutation_decorator = require('./mutation.decorator-
|
|
16
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
15
|
+
const mutation_decorator = require('./mutation.decorator-5ac1e198.js');
|
|
16
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
17
17
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
18
18
|
const resize_decorator = require('./resize.decorator-981b6817.js');
|
|
19
19
|
require('./icons.constant-7c82086a.js');
|
|
20
20
|
require('./config.utils-e4cd49d6.js');
|
|
21
21
|
require('./device-9f97a845.js');
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
|
-
require('./tokens.esm-
|
|
23
|
+
require('./tokens.esm-dbef942e.js');
|
|
24
24
|
|
|
25
25
|
class NavLinkItem {
|
|
26
26
|
constructor(item, observer) {
|
|
@@ -8,13 +8,13 @@ const scroll = require('./scroll-73c1b762.js');
|
|
|
8
8
|
const browser = require('./browser-1d542d0f.js');
|
|
9
9
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
10
10
|
const helpers = require('./helpers-393c2183.js');
|
|
11
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
12
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
11
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
12
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
13
13
|
require('./icons.constant-7c82086a.js');
|
|
14
14
|
require('./config.utils-e4cd49d6.js');
|
|
15
15
|
require('./device-9f97a845.js');
|
|
16
16
|
require('./listener-52d2e5fd.js');
|
|
17
|
-
require('./tokens.esm-
|
|
17
|
+
require('./tokens.esm-dbef942e.js');
|
|
18
18
|
|
|
19
19
|
const balNavbarCss = ":root{--bal-navbar-background:var(--bal-color-primary);--bal-navbar-light-background:var(--bal-color-white);--bal-navbar-active-menu-background:var(--bal-color-white);--bal-navbar-height:4rem;--bal-navbar-height-desktop:5rem;--bal-navbar-brand-title-text-color:var(--bal-color-text-white);--bal-navbar-brand-title-font-size:var(--bal-text-size-medium);--bal-navbar-brand-title-light-text-color:var(--bal-color-text-primary);--bal-navbar-brand-text-color:var(--bal-color-text-white);--bal-navbar-brand-logo-link-color:var(--bal-color-text-white)}.bal-navbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:block}.bal-navbar--context-app:not(.bal-navbar--is-light),.bal-navbar--context-simple:not(.bal-navbar--is-light){background:var(--bal-navbar-background)}.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height);max-height:var(--bal-navbar-height)}@media screen and (min-width: 1024px){.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height-desktop);max-height:var(--bal-navbar-height-desktop)}}.bal-navbar__nav{display:-ms-flexbox;display:flex;height:100%;gap:1rem}.bal-navbar__brand{-ms-flex:1;flex:1;gap:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}@media screen and (min-width: 1024px){.bal-navbar__brand{-ms-flex:initial;flex:initial}}.bal-navbar__brand>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.bal-navbar__brand__logo{height:calc(100% - 1rem);-o-object-fit:contain;object-fit:contain}@media screen and (min-width: 1024px){.bal-navbar__brand__logo{height:calc(100% - 2rem)}}.bal-navbar__brand__title{display:none;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-navbar__brand__title>bal-logo{display:none}@media screen and (min-width: 769px),print{.bal-navbar__brand__title{display:inline-block;font-size:var(--bal-navbar-brand-title-font-size);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);color:var(--bal-navbar-brand-title-text-color)}}@media screen and (min-width: 1024px){.bal-navbar__brand__title{font-size:var(--bal-navbar-brand-title-font-size)}}.bal-navbar__brand--context-app,.bal-navbar__brand--context-simple{color:var(--bal-navbar-brand-text-color)}.bal-navbar__brand--context-app>a,.bal-navbar__brand--context-simple>a{color:var(--bal-navbar-brand-logo-link-color)}.bal-navbar__menu{position:static;display:none;z-index:var(--bal-z-index-navigation)}@media screen and (max-width: 1023px){.bal-navbar__menu--active{position:fixed !important;display:block;background:var(--bal-navbar-active-menu-background)}}@media screen and (max-width: 1023px){.bal-navbar__menu--context-app{padding-top:1rem;padding-bottom:1rem;overflow-y:auto;-ms-flex-direction:column-reverse;flex-direction:column-reverse;top:4rem;left:0;bottom:0;right:0}}@media screen and (min-width: 1024px){.bal-navbar__menu{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;gap:1rem;padding-right:0 !important}}.bal-navbar__menu--context-simple{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex:1;flex:1;gap:1rem}.bal-navbar__menu__start{display:block;margin-bottom:1rem}@media screen and (min-width: 1024px){.bal-navbar__menu__start{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:.5rem;margin-bottom:0}}.bal-navbar__menu__start--context-simple{display:none}.bal-navbar__menu__start--context-meta{-ms-flex-pack:start;justify-content:flex-start}.bal-navbar__menu__end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;gap:.5rem}.bal-navbar__menu__end .button-label{word-break:keep-all !important}.bal-navbar__menu__end .bal-button-group{width:100%}@media screen and (max-width: 1023px){.bal-navbar__menu__end .bal-button-group{margin-top:2rem}}.bal-navbar__menu__end--context-simple>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}.bal-navbar__menu__end>.field{-ms-flex:1;flex:1}@media screen and (min-width: 1024px){.bal-navbar__menu__end>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}.bal-navbar--is-light{background-color:var(--bal-navbar-light-background);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal)}.bal-navbar--is-light .bal-navbar__brand__title{color:var(--bal-navbar-brand-title-light-text-color)}.bal-navbar--is-light bal-logo svg svg,.bal-navbar--is-light bal-logo svg g,.bal-navbar--is-light bal-logo svg path,.bal-navbar--is-light bal-logo svg circle{fill:var(--bal-color-primary)}.bal-navbar__brand__burger.bal-button{margin-left:auto}@media screen and (min-width: 1024px){.bal-navbar__brand__burger.bal-button{display:none}}.bal-navbar__brand__burger--hidden.bal-button{display:none !important}";
|
|
20
20
|
const BalNavbarStyle0 = balNavbarCss;
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-96c178a6.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
8
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
9
9
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
11
11
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
12
12
|
require('./helpers-393c2183.js');
|
|
13
13
|
require('./browser-1d542d0f.js');
|
|
@@ -15,7 +15,7 @@ require('./icons.constant-7c82086a.js');
|
|
|
15
15
|
require('./config.utils-e4cd49d6.js');
|
|
16
16
|
require('./device-9f97a845.js');
|
|
17
17
|
require('./listener-52d2e5fd.js');
|
|
18
|
-
require('./tokens.esm-
|
|
18
|
+
require('./tokens.esm-dbef942e.js');
|
|
19
19
|
require('./log-33398c2a.js');
|
|
20
20
|
|
|
21
21
|
function generatePaginationControl(value, totalPages, pageRange) {
|
|
@@ -240,10 +240,10 @@ const Pagination = class {
|
|
|
240
240
|
const leftControlTitle = i18nControlLabel[this.language].left;
|
|
241
241
|
const rightControlTitle = i18nControlLabel[this.language].right;
|
|
242
242
|
const hasBasicNavigationButtons = this.interface === '' || (isSmall && this.totalPages <= 5);
|
|
243
|
-
const SmallWithText = () => (index.h("span", { key: '
|
|
244
|
-
const PaginationTablet = () => (index.h("ul", { key: '
|
|
245
|
-
const PaginationMobile = () => (index.h("ul", { key: '
|
|
246
|
-
return (index.h(index.Host, { key: '
|
|
243
|
+
const SmallWithText = () => (index.h("span", { key: '8d0f477acb2db965fe7ca9a323db754dadb8c2d1', class: Object.assign(Object.assign({}, elList.class()), elList.modifier(`context-${this.interface}`).class()) }, index.h("span", { key: '25bc274a3580f3103acb6aa21bb0f132da31a4cd' }, this._value), ' / ' + this.totalPages));
|
|
244
|
+
const PaginationTablet = () => (index.h("ul", { key: '635a052d90c4d86104752eedf70d28d60a3ea194', class: Object.assign(Object.assign(Object.assign({}, elList.class()), elList.modifier(`context-${this.interface}`).class()), { 'is-disabled': this.disabled }), "data-testid": "bal-pagination-list" }, tabletItems));
|
|
245
|
+
const PaginationMobile = () => (index.h("ul", { key: '36bc734dd92d55f93cae88e34c032fbae5239ae2', class: Object.assign(Object.assign(Object.assign({}, elList.class()), elList.modifier(`context-${this.interface}`).class()), { 'is-disabled': this.disabled }), "data-testid": "bal-pagination-list" }, mobileItems));
|
|
246
|
+
return (index.h(index.Host, { key: '1f6888814e691b8f4b46987055e3d474078bac38', class: Object.assign(Object.assign({}, block.class()), block.modifier('is-sticky').class(this.sticky)) }, index.h("nav", { key: '00eba4def4d24082f102861ef471043c3646a18a', class: Object.assign(Object.assign(Object.assign({}, elNav.class()), elNav.modifier(`context-${this.interface}`).class(this.interface !== '')), elNav.modifier(`align-${this.align}`).class(this.align !== '')), role: "navigation", "aria-label": "pagination" }, index.h("bal-button", { key: '068a1d8b79deecd129b3280ac4eefb4e6c7ef814', square: true, color: buttonColor, size: buttonSize, flat: flat, class: Object.assign(Object.assign({}, elPrevious.class()), elPrevious.modifier(`context-${this.interface}`).class()), disabled: this._value < 2 || this.disabled, onClick: () => this.previous(), "data-testid": "bal-pagination-controls-left", title: leftControlTitle }, index.h("bal-icon", { key: '0ceeb68b1426edc0b1425b6bb1236941534ead5d', name: "nav-go-left", size: "small" })), index.h("bal-button", { key: '3eb18c38c467b0f8bfc2326341e93e236567c060', square: true, color: buttonColor, size: buttonSize, flat: flat, class: Object.assign(Object.assign({}, elNext.class()), elNext.modifier(`context-${this.interface}`).class()), disabled: this._value === this.totalPages || this.disabled, onClick: () => this.next(), "data-testid": "bal-pagination-controls-right", title: rightControlTitle }, index.h("bal-icon", { key: 'fa8feb6b44def140d75218f387fcfdbb984bd99a', name: "nav-go-right", size: "small" })), hasBasicNavigationButtons && this.isMobile ? index.h(PaginationMobile, null) : '', hasBasicNavigationButtons && !this.isMobile ? index.h(PaginationTablet, null) : '', !hasBasicNavigationButtons ? index.h(SmallWithText, null) : '')));
|
|
247
247
|
}
|
|
248
248
|
get el() { return index.getElement(this); }
|
|
249
249
|
static get watchers() { return {
|
|
@@ -6,15 +6,15 @@ const index = require('./index-96c178a6.js');
|
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
8
|
const helpers = require('./helpers-393c2183.js');
|
|
9
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
11
|
-
const windowResize_decorator = require('./window-resize.decorator-
|
|
9
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
11
|
+
const windowResize_decorator = require('./window-resize.decorator-69ff6e4c.js');
|
|
12
12
|
require('./browser-1d542d0f.js');
|
|
13
13
|
require('./icons.constant-7c82086a.js');
|
|
14
14
|
require('./config.utils-e4cd49d6.js');
|
|
15
15
|
require('./device-9f97a845.js');
|
|
16
16
|
require('./listener-52d2e5fd.js');
|
|
17
|
-
require('./tokens.esm-
|
|
17
|
+
require('./tokens.esm-dbef942e.js');
|
|
18
18
|
|
|
19
19
|
const balProgressBarCss = ":root{--bal-progress-bar-background-white:var(--bal-color-white);--bal-progress-bar-background-grey:var(--bal-color-grey-3);--bal-progress-bar-background-purple:var(--bal-color-purple-2);--bal-progress-bar-background-yellow:var(--bal-color-yellow-2);--bal-progress-bar-background-red:var(--bal-color-red-2);--bal-progress-bar-background-green:var(--bal-color-green-2);--bal-progress-bar-line-color-primary:var(--bal-color-primary);--bal-progress-bar-line-color-purple:var(--bal-color-purple-6);--bal-progress-bar-line-color-yellow:var(--bal-color-yellow-6);--bal-progress-bar-line-color-red:var(--bal-color-red-6);--bal-progress-bar-line-color-green:var(--bal-color-green-6);--bal-progress-bar-line-radius:var(--bal-radius-rounded)}.bal-progress-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%;min-width:0;height:.25rem}.bal-progress-bar--background-white-of-primary,.bal-progress-bar--background-white-of-purple,.bal-progress-bar--background-white-of-red,.bal-progress-bar--background-white-of-green,.bal-progress-bar--background-white-of-yellow{background:var(--bal-progress-bar-background-white)}.bal-progress-bar--background-grey-of-primary{background:var(--bal-progress-bar-background-grey)}.bal-progress-bar--background-grey-of-purple{background:var(--bal-progress-bar-background-purple)}.bal-progress-bar--background-grey-of-red{background:var(--bal-progress-bar-background-red)}.bal-progress-bar--background-grey-of-green{background:var(--bal-progress-bar-background-green)}.bal-progress-bar--background-grey-of-yellow{background:var(--bal-progress-bar-background-yellow)}.bal-progress-bar__line{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;height:.25rem;width:0;background:var(--bal-progress-bar-line-color-primary);border-top-right-radius:var(--bal-progress-bar-line-radius);border-bottom-right-radius:var(--bal-progress-bar-line-radius)}.bal-progress-bar__line--animated{will-change:width;-webkit-transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing);transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-progress-bar__line--full{border-top-right-radius:0;border-bottom-right-radius:0}.bal-progress-bar__line--color-purple{background:var(--bal-progress-bar-line-color-purple)}.bal-progress-bar__line--color-yellow{background:var(--bal-progress-bar-line-color-yellow)}.bal-progress-bar__line--color-red{background:var(--bal-progress-bar-line-color-red)}.bal-progress-bar__line--color-green{background:var(--bal-progress-bar-line-color-green)}";
|
|
20
20
|
const BalProgressBarStyle0 = balProgressBarCss;
|
|
@@ -14,7 +14,7 @@ const form = require('./form-2279fb2f.js');
|
|
|
14
14
|
const listen = require('./listen-b42a4134.js');
|
|
15
15
|
const keyboard_helpers = require('./keyboard.helpers-3c105b0c.js');
|
|
16
16
|
const focus_decorator = require('./focus.decorator-ec3a858c.js');
|
|
17
|
-
const mutation_decorator = require('./mutation.decorator-
|
|
17
|
+
const mutation_decorator = require('./mutation.decorator-5ac1e198.js');
|
|
18
18
|
require('./browser-1d542d0f.js');
|
|
19
19
|
require('./icons.constant-7c82086a.js');
|
|
20
20
|
require('./config.utils-e4cd49d6.js');
|
|
@@ -13,16 +13,16 @@ const form = require('./form-2279fb2f.js');
|
|
|
13
13
|
const listen = require('./listen-b42a4134.js');
|
|
14
14
|
const keyboard_helpers = require('./keyboard.helpers-3c105b0c.js');
|
|
15
15
|
const focus_decorator = require('./focus.decorator-ec3a858c.js');
|
|
16
|
-
const windowResize_decorator = require('./window-resize.decorator-
|
|
17
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
16
|
+
const windowResize_decorator = require('./window-resize.decorator-69ff6e4c.js');
|
|
17
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
18
18
|
const attributes = require('./attributes-9f366716.js');
|
|
19
19
|
require('./browser-1d542d0f.js');
|
|
20
20
|
require('./icons.constant-7c82086a.js');
|
|
21
21
|
require('./config.utils-e4cd49d6.js');
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
|
-
require('./breakpoints.subject-
|
|
23
|
+
require('./breakpoints.subject-f3104eb9.js');
|
|
24
24
|
require('./device-9f97a845.js');
|
|
25
|
-
require('./tokens.esm-
|
|
25
|
+
require('./tokens.esm-dbef942e.js');
|
|
26
26
|
|
|
27
27
|
const balSegmentCss = ":root{--bal-segment-background:var(--bal-color-grey-2);--bal-segment-background-invalid:var(--bal-color-danger-1);--bal-segment-item-focus-border:var(--bal-color-border-primary);--bal-segment-item-text-color:var(--bal-color-text-primary);--bal-segment-item-text-color-checked:var(--bal-color-text-primary);--bal-segment-item-text-color-checked-hovered:var(--bal-color-text-primary-hovered);--bal-segment-item-text-color-checked-pressed:var(--bal-color-text-primary-pressed);--bal-segment-item-text-color-invalid:var(--bal-color-text-danger);--bal-segment-item-text-color-invalid-hovered:var(--bal-color-text-danger-hovered);--bal-segment-item-text-color-invalid-pressed:var(--bal-color-text-danger-pressed);--bal-segment-item-text-color-disabled:var(--bal-color-text-grey);--bal-segment-item-text-color-disabled-checked:var(--bal-color-text-grey-dark);--bal-segment-item-divider-background:var(--bal-color-grey);--bal-segment-item-divider-background-invalid:var(--bal-color-danger-2);--bal-segment-item-indicator-background:var(--bal-color-purple-2);--bal-segment-item-indicator-background-invalid:var(--bal-color-danger-4);--bal-segment-item-indicator-background-disabled:var(--bal-color-grey-3)}.bal-segment{display:-ms-flexbox;display:flex;background:var(--bal-segment-background);border-radius:var(--bal-radius-normal);gap:.125rem;gap:.125rem;padding:.25rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-segment--invalid{background:var(--bal-segment-background-invalid)}.bal-segment--vertical{-ms-flex-direction:column;flex-direction:column;width:100%}.bal-segment--vertical .bal-segment-item__button{width:100%;-ms-flex:1;flex:1}.bal-segment--vertical.bal-segment--scrollable{overflow:auto;max-height:240px}.bal-segment--expanded{width:100%;min-width:100%;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.bal-segment--expanded .bal-segment-item,.bal-segment--expanded .bal-segment-item>button{-ms-flex:1;flex:1;width:100%}.bal-segment--expanded .bal-segment-item .bal-content,.bal-segment--expanded .bal-segment-item>button .bal-content{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
|
|
28
28
|
const BalSegmentStyle0 = balSegmentCss;
|
|
@@ -327,7 +327,7 @@ const Segment = class {
|
|
|
327
327
|
render() {
|
|
328
328
|
const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile, disabled } = this;
|
|
329
329
|
const block = bem.BEM.block('segment');
|
|
330
|
-
return (index.h(index.Host, { key: '
|
|
330
|
+
return (index.h(index.Host, { key: 'eadae45bddff8b5367b8db4e38c2eb467097ffb3', role: "radiogroup", id: this.ariaForm.controlId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('invalid').class(invalid)), block.modifier('vertical').class(isVertical)), block.modifier('scrollable').class(scrollable)), block.modifier('keyboard').class(keyboardMode)), block.modifier('disabled').class(disabled)), block.modifier('expanded').class((expanded || isMobile) && !isVertical)), onClick: this.onClick }, index.h("slot", { key: 'b82c45b87b6cbd116d3b176fbd93661944740823', onSlotchange: this.onSlottedItemsChange })));
|
|
331
331
|
}
|
|
332
332
|
get el() { return index.getElement(this); }
|
|
333
333
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-96c178a6.js');
|
|
6
6
|
const bem = require('./bem-81bc6a2d.js');
|
|
7
|
-
const tokens_esm = require('./tokens.esm-
|
|
7
|
+
const tokens_esm = require('./tokens.esm-dbef942e.js');
|
|
8
8
|
|
|
9
9
|
const balShapeCss = ".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";
|
|
10
10
|
const BalShapeStyle0 = balShapeCss;
|
|
@@ -127,7 +127,7 @@ const StageImage = class {
|
|
|
127
127
|
render() {
|
|
128
128
|
const block = bem.BEM.block('stage-image');
|
|
129
129
|
const imageSrc = this.fallback ? this.fallback : this.srcSet.split(',')[0];
|
|
130
|
-
return (index.h(index.Host, { key: '
|
|
130
|
+
return (index.h(index.Host, { key: 'fc6b85b3671ee0ef029f22d3e0468849cf09c3ac', class: Object.assign({}, block.class()) }, this.isLargestContentfulPaintDone ? (index.h("img", Object.assign({ src: imageSrc, srcset: this.srcSet, sizes: "100vw" }, this.imageInheritAttributes))) : ('')));
|
|
131
131
|
}
|
|
132
132
|
get el() { return index.getElement(this); }
|
|
133
133
|
};
|
|
@@ -10,9 +10,9 @@ const log = require('./log-33398c2a.js');
|
|
|
10
10
|
const array = require('./array-ae164ca3.js');
|
|
11
11
|
const formInput = require('./form-input-35653e8f.js');
|
|
12
12
|
const balStep_util = require('./bal-step.util-3c009db9.js');
|
|
13
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
14
|
-
const mutation_decorator = require('./mutation.decorator-
|
|
15
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
13
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
14
|
+
const mutation_decorator = require('./mutation.decorator-5ac1e198.js');
|
|
15
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
16
16
|
require('./browser-1d542d0f.js');
|
|
17
17
|
require('./icons.constant-7c82086a.js');
|
|
18
18
|
require('./config.utils-e4cd49d6.js');
|
|
@@ -21,7 +21,7 @@ require('./index-3b7f8988.js');
|
|
|
21
21
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
22
22
|
require('./device-9f97a845.js');
|
|
23
23
|
require('./listener-52d2e5fd.js');
|
|
24
|
-
require('./tokens.esm-
|
|
24
|
+
require('./tokens.esm-dbef942e.js');
|
|
25
25
|
|
|
26
26
|
const StepIcon = ({ item, isMobile }) => {
|
|
27
27
|
const bemEl = bem.BEM.block('steps').element('nav').element('item').element('icon');
|
|
@@ -14,9 +14,9 @@ const formInput = require('./form-input-35653e8f.js');
|
|
|
14
14
|
const browser = require('./browser-1d542d0f.js');
|
|
15
15
|
const style = require('./style-799e9253.js');
|
|
16
16
|
const listen = require('./listen-b42a4134.js');
|
|
17
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
18
|
-
const mutation_decorator = require('./mutation.decorator-
|
|
19
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
17
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
18
|
+
const mutation_decorator = require('./mutation.decorator-5ac1e198.js');
|
|
19
|
+
const breakpoints_decorator = require('./breakpoints.decorator-2c97bb36.js');
|
|
20
20
|
const resize_decorator = require('./resize.decorator-981b6817.js');
|
|
21
21
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
22
22
|
require('./index-e6a233be.js');
|
|
@@ -26,7 +26,7 @@ require('./icons.constant-7c82086a.js');
|
|
|
26
26
|
require('./config.utils-e4cd49d6.js');
|
|
27
27
|
require('./device-9f97a845.js');
|
|
28
28
|
require('./listener-52d2e5fd.js');
|
|
29
|
-
require('./tokens.esm-
|
|
29
|
+
require('./tokens.esm-dbef942e.js');
|
|
30
30
|
|
|
31
31
|
const TabItem = class {
|
|
32
32
|
constructor(hostRef) {
|
|
@@ -429,17 +429,15 @@ const Tabs = class {
|
|
|
429
429
|
*/
|
|
430
430
|
this.onOptionChange = helpers.debounce(() => this.onOptionChangeInternal(), 100);
|
|
431
431
|
this.onOptionChangeInternal = async () => {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
console.warn('[WARN] - Could not read tab options');
|
|
442
|
-
}
|
|
432
|
+
try {
|
|
433
|
+
const options = await this.getOptions();
|
|
434
|
+
this.updateStore(options);
|
|
435
|
+
this.setActiveItem();
|
|
436
|
+
this.setActiveContent();
|
|
437
|
+
this.animateLine();
|
|
438
|
+
}
|
|
439
|
+
catch (e) {
|
|
440
|
+
console.warn('[WARN] - Could not read tab options');
|
|
443
441
|
}
|
|
444
442
|
};
|
|
445
443
|
this.onSelectTab = async (ev, tab) => {
|
|
@@ -541,8 +539,8 @@ const Tabs = class {
|
|
|
541
539
|
}
|
|
542
540
|
}
|
|
543
541
|
componentDidLoad() {
|
|
542
|
+
this.onOptionChange();
|
|
544
543
|
helpers.rLCP(() => {
|
|
545
|
-
this.onOptionChange();
|
|
546
544
|
this.isLargestContentfulPaintDone = true;
|
|
547
545
|
});
|
|
548
546
|
}
|
|
@@ -768,13 +766,13 @@ const Tabs = class {
|
|
|
768
766
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
769
767
|
const valueExists = this.value !== undefined && !!this.store.find(o => o.value === this.value);
|
|
770
768
|
const isLinkList = !this.isTabList;
|
|
771
|
-
return (index.h(index.Host, { key: '
|
|
769
|
+
return (index.h(index.Host, { key: 'dfe8fd6f11b4d884bf8e7605653b637526412382', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('navbar').class(this.inNavbar)), block.modifier('vertical').class(isVertical)), block.modifier('fullwidth').class(this.expanded || this.fullwidth)), block.modifier('accordion').class(this.accordion)), block.modifier('animated').class(this.animated)), block.modifier('expanding').class(this.accordionState === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.accordionState === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.accordionState === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.accordionState === 1 /* AccordionState.Collapsed */)), "data-value": this.store
|
|
772
770
|
.filter(t => this.isTabActive(t))
|
|
773
771
|
.map(t => t.value)
|
|
774
772
|
.join(','), "data-label": this.store
|
|
775
773
|
.filter(t => this.isTabActive(t))
|
|
776
774
|
.map(t => t.label)
|
|
777
|
-
.join(',') }, isSelect ? (index.h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (index.h(TabNav, { items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, inverted: isInverted, animated: this.animated, context: this.context, border: this.border, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, hasCarousel: hasCarousel, iconPosition: this.iconPosition, verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab, dimInactiveElements: this.dimInactiveElements })), index.h("div", { key: '
|
|
775
|
+
.join(',') }, isSelect ? (index.h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (index.h(TabNav, { items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, inverted: isInverted, animated: this.animated, context: this.context, border: this.border, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, hasCarousel: hasCarousel, iconPosition: this.iconPosition, verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab, dimInactiveElements: this.dimInactiveElements })), index.h("div", { key: '0aac73b494d835402ac6654a6a281593917c355a', part: contentPart, ref: contentEl => (this.contentEl = contentEl), class: Object.assign({}, block.element('tabs').element('content').class()) }, index.h("div", { key: '77c68b5ce4d763f99bacff6e8395f9cd4c03e430', id: this.tabsId, class: Object.assign({}, block.element('tabs').element('content').element('wrapper').class()), ref: contentElWrapper => (this.contentElWrapper = contentElWrapper) }, index.h("slot", { key: '822c8efa61f9e44fc42e6f8ba31b5286967d7181' })))));
|
|
778
776
|
}
|
|
779
777
|
get el() { return index.getElement(this); }
|
|
780
778
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ const helpers = require('./helpers-393c2183.js');
|
|
|
4
4
|
const browser = require('./browser-1d542d0f.js');
|
|
5
5
|
const device = require('./device-9f97a845.js');
|
|
6
6
|
const listener = require('./listener-52d2e5fd.js');
|
|
7
|
-
const tokens_esm = require('./tokens.esm-
|
|
7
|
+
const tokens_esm = require('./tokens.esm-dbef942e.js');
|
|
8
8
|
|
|
9
9
|
class BalWindowResizeHandler {
|
|
10
10
|
constructor(options = {}) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -19,14 +19,14 @@ const browser = require('./browser-1d542d0f.js');
|
|
|
19
19
|
const device = require('./device-9f97a845.js');
|
|
20
20
|
const maskUtil = require('./mask-util-19c28b4a.js');
|
|
21
21
|
const overlays = require('./overlays-e6d14274.js');
|
|
22
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
22
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
23
23
|
const config_utils = require('./config.utils-e4cd49d6.js');
|
|
24
24
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
25
25
|
const listener = require('./listener-52d2e5fd.js');
|
|
26
26
|
const swipe_subject = require('./swipe.subject-48bf62a1.js');
|
|
27
27
|
require('./index-96c178a6.js');
|
|
28
28
|
require('./icons.constant-7c82086a.js');
|
|
29
|
-
require('./tokens.esm-
|
|
29
|
+
require('./tokens.esm-dbef942e.js');
|
|
30
30
|
require('./log-33398c2a.js');
|
|
31
31
|
|
|
32
32
|
const i18nBalFieldLabel = {
|
|
@@ -285,7 +285,7 @@ const setupConfig = (userConfig = {}, win = {}) => {
|
|
|
285
285
|
};
|
|
286
286
|
|
|
287
287
|
// generated by .build/version.js
|
|
288
|
-
const VERSION = '17.2.
|
|
288
|
+
const VERSION = '17.2.1';
|
|
289
289
|
|
|
290
290
|
const initializeBaloiseDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
|
|
291
291
|
if (Object.keys(win).length === 0 && browser.balBrowser.hasWindow) {
|
|
@@ -80,20 +80,18 @@ class BalMutationSubject extends listener.SingleSubject {
|
|
|
80
80
|
this.listener = new BalMutationListener(options);
|
|
81
81
|
}
|
|
82
82
|
attach(observer) {
|
|
83
|
+
var _a, _b, _c;
|
|
83
84
|
super.attach(observer);
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
if (
|
|
87
|
-
|
|
88
|
-
if (closestElement) {
|
|
89
|
-
(_a = this.listener) === null || _a === void 0 ? void 0 : _a.connect(closestElement);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
(_b = this.listener) === null || _b === void 0 ? void 0 : _b.connect(observer.el);
|
|
85
|
+
if (this.options.closest) {
|
|
86
|
+
const closestElement = observer.el.closest(this.options.closest);
|
|
87
|
+
if (closestElement) {
|
|
88
|
+
(_a = this.listener) === null || _a === void 0 ? void 0 : _a.connect(closestElement);
|
|
94
89
|
}
|
|
95
|
-
|
|
96
|
-
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
(_b = this.listener) === null || _b === void 0 ? void 0 : _b.connect(observer.el);
|
|
93
|
+
}
|
|
94
|
+
(_c = this.listener) === null || _c === void 0 ? void 0 : _c.add(() => this.debouncedNotify());
|
|
97
95
|
}
|
|
98
96
|
detach() {
|
|
99
97
|
var _a;
|
package/dist/cjs/{window-resize.decorator-e1fbbe1f.js → window-resize.decorator-69ff6e4c.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
3
|
+
const breakpoints_subject = require('./breakpoints.subject-f3104eb9.js');
|
|
4
4
|
const listener = require('./listener-52d2e5fd.js');
|
|
5
5
|
const browser = require('./browser-1d542d0f.js');
|
|
6
6
|
|
|
@@ -291,7 +291,7 @@ export class Carousel {
|
|
|
291
291
|
const leftControlTitle = i18nControlLabel[this.language].left;
|
|
292
292
|
const rightControlTitle = i18nControlLabel[this.language].right;
|
|
293
293
|
const controlItems = this.getAllControlItems();
|
|
294
|
-
return (h(Host, { key: '
|
|
294
|
+
return (h(Host, { key: '9805dc838ffaf76bf0db144968685dd4c8483816', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(this.interface).class(this.interface !== '')), block.modifier(`full-height`).class(this.fullHeight)), block.modifier('controls-sticky').class(this.controlsSticky)), block.modifier(`controls-${this.controls}`).class()) }, this.isLargestContentfulPaintDone && this.controls === 'tabs' ? (h(TabControl, { value: this.value, items: controlItems, containerId: this.carouselContainerId, onControlChange: item => this.onControlChange(item.value) })) : (''), h("div", { key: 'dced19705178ae9cdca9ab3594793ed9b86d0a9f', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, inner.class()), inner.modifier(`items-per-view-${this.itemsPerView}`).class()), inner.modifier(`is-${this.aspectRatio}`).class()), inner.modifier(`inverted`).class(this.inverted)), inner.modifier(`full-height`).class(this.fullHeight)), inner.modifier(`shadow-left`).class(this.hasShadowLeft())), inner.modifier(`shadow-right`).class(this.hasShadowRight())), ref: el => (this.innerEl = el) }, h("div", { key: '64b95814c1bba169bab81a1384a2d753dfcf964d', role: this.htmlRole, "aria-live": this.htmlRole !== '' ? 'polite' : undefined, id: this.carouselContainerId, class: Object.assign(Object.assign(Object.assign({}, container.class()), container.modifier(`border`).class(this.border)), container.modifier(`is-${this.aspectRatio}`).class()), ref: el => (this.containerEl = el) }, h("slot", { key: '2baee20f00ff09cc771ba6743bff97f62a1a7570' }), this.border ? (h("div", { id: `${this.carouselId}-border`, "aria-hidden": "true", class: Object.assign(Object.assign({}, container.element('border').class()), container.element('border').modifier('inverted').class(this.inverted)), ref: el => (this.borderEl = el) })) : (''))), this.isLargestContentfulPaintDone && this.controls === 'dots' ? (h(DotControl, { value: this.value, items: controlItems, containerId: this.carouselContainerId, onControlChange: item => this.onControlChange(item.value) })) : (''), this.isLargestContentfulPaintDone && this.controls === 'large' ? (h(LargeControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, areControlsHidden: !this.isMobile, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, containerId: this.carouselContainerId, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : (''), this.isLargestContentfulPaintDone && this.controls === 'small' ? (h(SmallControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, containerId: this.carouselContainerId, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : ('')));
|
|
295
295
|
}
|
|
296
296
|
static get is() { return "bal-carousel"; }
|
|
297
297
|
static get originalStyleUrls() {
|
|
@@ -590,8 +590,8 @@ export class Carousel {
|
|
|
590
590
|
},
|
|
591
591
|
"BalConfigState": {
|
|
592
592
|
"location": "import",
|
|
593
|
-
"path": "../../
|
|
594
|
-
"id": "src/
|
|
593
|
+
"path": "../../utils/config",
|
|
594
|
+
"id": "src/utils/config/index.ts::BalConfigState"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"return": "Promise<void>"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
2
|
import { h, Host } from "@stencil/core";
|
|
3
3
|
import { BEM } from "../../utils/bem";
|
|
4
|
-
import { ListenToConfig, defaultConfig } from "../../utils/config";
|
|
4
|
+
import { ListenToConfig, defaultConfig, } from "../../utils/config";
|
|
5
5
|
import { i18nBalClose } from "./bal-close.i18n";
|
|
6
6
|
export class Close {
|
|
7
7
|
constructor() {
|
|
@@ -22,7 +22,7 @@ export class Close {
|
|
|
22
22
|
const buttonEl = blockEl.element('button');
|
|
23
23
|
const iconEl = buttonEl.element('icon');
|
|
24
24
|
const label = i18nBalClose[this.language].close;
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '9ae168e3f5e98e623d888abab7cbc88a6274cde0', class: Object.assign({}, blockEl.class()) }, h("button", { key: '7969304603871177f81ef7a1b1c78e58f1d32c38', type: "button", "aria-label": label, title: label, tabindex: "0", class: Object.assign(Object.assign(Object.assign({}, buttonEl.class()), buttonEl.modifier('inverted').class(this.inverted)), buttonEl.modifier(`size-${this.size}`).class(this.size !== '')), "data-testid": "bal-close" }, h("bal-icon", { key: 'c83093000ff43d5f99676914a52ef4c8977fb61c', name: "close", size: this.size === 'small' ? 'x-small' : this.size === 'medium' ? 'medium' : 'small', inverted: this.inverted, class: Object.assign({}, iconEl.class()) }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "bal-close"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -103,8 +103,8 @@ export class Close {
|
|
|
103
103
|
},
|
|
104
104
|
"BalConfigState": {
|
|
105
105
|
"location": "import",
|
|
106
|
-
"path": "../../
|
|
107
|
-
"id": "src/
|
|
106
|
+
"path": "../../utils/config",
|
|
107
|
+
"id": "src/utils/config/index.ts::BalConfigState"
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"return": "Promise<void>"
|
|
@@ -240,7 +240,7 @@ export class DateCalendar {
|
|
|
240
240
|
const block = BEM.block('date-calendar');
|
|
241
241
|
const blockBody = block.element('body');
|
|
242
242
|
const blockFoot = block.element('foot');
|
|
243
|
-
return (h(Host, { key: '
|
|
243
|
+
return (h(Host, { key: 'e6348fe5b0ddab2253f7c79cb41a16fd93fe9a63', class: Object.assign({}, block.class()) }, h(CalendarNav, { key: 'fc808b662835df468fe53a659cfdb048a2ce2325', language: this.language, monthFullNames: this.monthFullNames, month: this.month, year: this.year, isCalendarVisible: this.isCalendarVisible, isListVisible: this.isMonthListVisible || this.isYearListVisible, onClickSelectMonthAndYear: this.onClickSelectMonthAndYear, onClickPreviousMonth: this.onClickPreviousMonth, onClickNextMonth: this.onClickNextMonth }), h("div", { key: '14a071d6e691964876d2a832a9d2a7b20e2b5139', class: Object.assign({}, blockBody.class()) }, h(CalendarGrid, { key: 'd7d81606a5bcf10637f48ad9d5f095cac4851c60', isVisible: this.isCalendarVisible, grid: this.calendarGrid, weekdays: this.weekdays, firstDayOfWeek: this.firstDayOfWeek, selectedDate: this.selectedDate, ref: el => (this.gridEl = el), onSelectDay: isoDate => this.onSelectDay(isoDate) }), h(CalendarList, { key: '3804356a689232d66ecbac4ad02c152a7e11739f', name: "year", isVisible: this.isYearListVisible, girdHeight: girdHeight, list: this.years, ref: el => (this.yearListEl = el), onSelect: item => this.onClickYear(item.value) }), h(CalendarList, { key: '2721e28b96097dfb3f824c6ef085657c56c89342', name: "month", isVisible: this.isMonthListVisible, girdHeight: girdHeight, list: this.months, onSelect: item => this.onClickMonth(item.value) })), h("div", { key: 'da53c2e514df3bf5d4890a16fdc5738e55366f31', class: Object.assign({}, blockFoot.class()) }, h("slot", { key: '6b75be6d0ad833854a0eade0d014ee26b05bc868' }))));
|
|
244
244
|
}
|
|
245
245
|
static get is() { return "bal-date-calendar"; }
|
|
246
246
|
static get encapsulation() { return "shadow"; }
|
|
@@ -271,7 +271,7 @@ export class Date {
|
|
|
271
271
|
const block = BEM.block('date');
|
|
272
272
|
const blockIcon = block.element('icon');
|
|
273
273
|
const blockPopup = block.element('popup');
|
|
274
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '0cff526d6fd1f6855de72ec6b8515a0cd7132f71', id: this.inputId, class: Object.assign({}, block.class()) }, h("bal-input-group", { key: 'e7309e15124f27a90a977cccb8ee7b03052ce450', invalid: this.invalid, readonly: this.readonly, disabled: this.disabled, ref: el => (this.referenceEl = el) }, h("bal-input-date", Object.assign({ key: '6e344882e69619d3cc26bdb29601f417de5cf4fe', 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: '4de1fda8322aa577c9f178f8183f0584591bb280', 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: 'c29fae49306412def5c835457c17224f93d4144d', value: this.calendarValue, min: this.min, max: this.max, minYearProp: this.minYearProp, maxYearProp: this.maxYearProp, defaultDate: this.defaultDate, allowedDates: this.allowedDates, onBalChange: this.onCalendarChange }))));
|
|
275
275
|
}
|
|
276
276
|
static get is() { return "bal-date"; }
|
|
277
277
|
static get originalStyleUrls() {
|
|
@@ -1015,8 +1015,8 @@ export class Date {
|
|
|
1015
1015
|
},
|
|
1016
1016
|
"BalAriaForm": {
|
|
1017
1017
|
"location": "import",
|
|
1018
|
-
"path": "../../
|
|
1019
|
-
"id": "src/
|
|
1018
|
+
"path": "../../utils/form",
|
|
1019
|
+
"id": "src/utils/form.ts::BalAriaForm"
|
|
1020
1020
|
}
|
|
1021
1021
|
},
|
|
1022
1022
|
"return": "Promise<void>"
|
|
@@ -108,14 +108,14 @@ export class InputDate {
|
|
|
108
108
|
render() {
|
|
109
109
|
const block = BEM.block('input-date');
|
|
110
110
|
const native = block.element('native');
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '14148968dbe8593f608bb83cb80431c1af6c10cb', onClick: (event) => this.maskAdapter.bindHostClick(event), class: Object.assign({}, block.class()) }, h("input", Object.assign({ key: '7a9307a111eb7eaca7d043e6102220f83ed407ef', class: {
|
|
112
112
|
'input': true,
|
|
113
113
|
'is-disabled': this.disabled || this.readonly,
|
|
114
114
|
'is-danger': this.invalid,
|
|
115
115
|
'is-clickable': this.clickable && !(this.disabled || this.readonly),
|
|
116
116
|
'bal-focusable': !this.disabled,
|
|
117
117
|
'has-icon-right': this.hasIconRight,
|
|
118
|
-
}, "data-testid": "bal-date-input", ref: el => (this.nativeInput = el), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, required: this.required, disabled: this.disabled, readonly: this.readonly, autoComplete: this.autocomplete }, this.maskAdapter.attributes, this.inheritedAttributes, { placeholder: this.placeholder, value: this.inputValue, onKeyDown: event => this.maskAdapter.bindKeyDown(event), onClick: event => this.maskAdapter.bindClick(event), onFocus: event => this.maskAdapter.bindFocus(event), onBlur: event => this.maskAdapter.bindBlur(event), onPaste: event => this.maskAdapter.bindPaste(event) })), h("input", { key: '
|
|
118
|
+
}, "data-testid": "bal-date-input", ref: el => (this.nativeInput = el), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, required: this.required, disabled: this.disabled, readonly: this.readonly, autoComplete: this.autocomplete }, this.maskAdapter.attributes, this.inheritedAttributes, { placeholder: this.placeholder, value: this.inputValue, onKeyDown: event => this.maskAdapter.bindKeyDown(event), onClick: event => this.maskAdapter.bindClick(event), onFocus: event => this.maskAdapter.bindFocus(event), onBlur: event => this.maskAdapter.bindBlur(event), onPaste: event => this.maskAdapter.bindPaste(event) })), h("input", { key: '23e89b524f1cd68f76461720e386034d1872689a', type: "date", class: Object.assign({}, native.class()), name: this.name, min: this.min, max: this.max, value: this.value, tabindex: -1, "aria-hidden": "true" })));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "bal-input-date"; }
|
|
121
121
|
static get originalStyleUrls() {
|
|
@@ -516,8 +516,8 @@ export class InputDate {
|
|
|
516
516
|
},
|
|
517
517
|
"BalConfigState": {
|
|
518
518
|
"location": "import",
|
|
519
|
-
"path": "../../../
|
|
520
|
-
"id": "src/
|
|
519
|
+
"path": "../../../utils/config",
|
|
520
|
+
"id": "src/utils/config/index.ts::BalConfigState"
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
"return": "Promise<void>"
|
|
@@ -67,15 +67,15 @@ export class ListItemAccordionBody {
|
|
|
67
67
|
* ------------------------------------------------------
|
|
68
68
|
*/
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '3a4e503ddae6d6c84658b2942a82cc7946ed6e9d', class: {
|
|
71
71
|
'bal-list__item': true,
|
|
72
72
|
'bal-list__item__accordion-body': true,
|
|
73
73
|
'bal-list__item__accordion-body--grouped': this.accordionGroup !== undefined && this.accordionGroup !== '',
|
|
74
|
-
} }, h("div", { key: '
|
|
74
|
+
} }, h("div", { key: 'f17506b393c8ee3ad69914cba638615dc96b1d46', class: {
|
|
75
75
|
'bal-list__item__accordion-body__content': true,
|
|
76
76
|
[`bal-list__item__accordion-body__content--${this.contentAlignment}`]: this.contentAlignment !== undefined,
|
|
77
77
|
[`bal-list__item__accordion-body__content--space-${this.contentSpace}`]: this.contentSpace !== undefined,
|
|
78
|
-
}, ref: contentElWrapper => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: '
|
|
78
|
+
}, ref: contentElWrapper => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: 'ef461ed5b0e17b6dd4b79b7d88ccc4dc84b7694b' }))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "bal-list-item-accordion-body"; }
|
|
81
81
|
static get properties() {
|