@baloise/ds-core 20.0.0-next.4 → 20.0.0-next.7
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/LICENSE +9 -0
- package/components/all.d.ts +58 -0
- package/components/all.js +87 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-alert-container.js +1 -1
- package/components/ds-app.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-header.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel-item.d.ts +11 -0
- package/components/ds-carousel-item.js +4 -0
- package/components/ds-carousel.d.ts +11 -0
- package/components/ds-carousel.js +4 -0
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-data-item.d.ts +11 -0
- package/components/ds-data-item.js +4 -0
- package/components/ds-data-label.d.ts +11 -0
- package/components/ds-data-label.js +4 -0
- package/components/ds-data-value.d.ts +11 -0
- package/components/ds-data-value.js +4 -0
- package/components/ds-data.d.ts +11 -0
- package/components/ds-data.js +4 -0
- package/components/ds-date.d.ts +11 -0
- package/components/ds-date.js +4 -0
- package/components/ds-divider.js +1 -1
- package/components/ds-drawer.d.ts +11 -0
- package/components/ds-drawer.js +4 -0
- package/components/ds-file-upload.d.ts +11 -0
- package/components/ds-file-upload.js +4 -0
- package/components/ds-footer.d.ts +11 -0
- package/components/ds-footer.js +4 -0
- package/components/ds-heading.js +1 -1
- package/components/ds-hint-text.d.ts +11 -0
- package/components/ds-hint-text.js +4 -0
- package/components/ds-hint-title.d.ts +11 -0
- package/components/ds-hint-title.js +4 -0
- package/components/ds-hint.d.ts +11 -0
- package/components/ds-hint.js +4 -0
- package/components/ds-icon.js +1 -1
- package/components/ds-input-slider.d.ts +11 -0
- package/components/ds-input-slider.js +4 -0
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.d.ts +11 -0
- package/components/ds-modal-body.js +4 -0
- package/components/ds-modal-header.d.ts +11 -0
- package/components/ds-modal-header.js +4 -0
- package/components/ds-modal.d.ts +11 -0
- package/components/ds-modal.js +4 -0
- package/components/ds-navbar.d.ts +11 -0
- package/components/ds-navbar.js +4 -0
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-popup.d.ts +11 -0
- package/components/ds-popup.js +4 -0
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.d.ts +11 -0
- package/components/ds-select-optgroup.js +4 -0
- package/components/ds-select-option.d.ts +11 -0
- package/components/ds-select-option.js +4 -0
- package/components/ds-select.d.ts +11 -0
- package/components/ds-select.js +4 -0
- package/components/ds-shape.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.d.ts +11 -0
- package/components/ds-step-panel.js +4 -0
- package/components/ds-step.d.ts +11 -0
- package/components/ds-step.js +4 -0
- package/components/ds-steps.d.ts +11 -0
- package/components/ds-steps.js +4 -0
- package/components/ds-tab-panel.d.ts +11 -0
- package/components/ds-tab-panel.js +4 -0
- package/components/ds-tab.d.ts +11 -0
- package/components/ds-tab.js +4 -0
- package/components/ds-tabs.d.ts +11 -0
- package/components/ds-tabs.js +4 -0
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.d.ts +11 -0
- package/components/ds-tooltip.js +4 -0
- package/components/index.js +1 -1
- package/components/p--EKmxaBS.js +4 -0
- package/components/p-3Mi9vpmB.js +4 -0
- package/components/p-ABj0eATe.js +4 -0
- package/components/p-B-en4B17.js +4 -0
- package/components/p-BgzU1loG.js +4 -0
- package/components/p-BhbWmCTu.js +4 -0
- package/components/p-BqY0KzJC.js +4 -0
- package/components/p-BrIcCcce.js +4 -0
- package/components/p-BrJFPhMA.js +4 -0
- package/components/{p-Urcs7-vS.js → p-BwfAXfmz.js} +1 -1
- package/components/p-BwwAKEvn.js +4 -0
- package/components/p-ByX1_7SF.js +4 -0
- package/components/p-C1jqbZdf.js +4 -0
- package/{dist/design-system/p-15bc012833.entry.js → components/p-CA7G72wZ.js} +1 -1
- package/components/p-CQHwI4iD.js +4 -0
- package/components/p-CWDuQL1i.js +4 -0
- package/components/p-CvaNxQtw.js +4 -0
- package/components/p-D5zw5ezD.js +4 -0
- package/components/p-D9ILiUgm.js +4 -0
- package/{dist/design-system/p-BATOumsf.js → components/p-D9YYP2SG.js} +1 -1
- package/components/p-DAYd9ty0.js +4 -0
- package/components/p-DIK6Zkg6.js +4 -0
- package/{dist/design-system/p-BkESlUMc.js → components/p-DQBzmbR6.js} +1 -1
- package/components/p-DSeYzuO7.js +4 -0
- package/components/{p-z1jJgtep.js → p-DU7t9H9h.js} +1 -1
- package/components/p-DY0y8uLL.js +4 -0
- package/components/p-DYTOWDAA.js +4 -0
- package/components/p-DYlqkAWn.js +4 -0
- package/components/p-DbM7ALm9.js +14 -0
- package/{dist/design-system/p-D2tr7015.js → components/p-DbY6Pfeh.js} +1 -1
- package/components/{p-DZqqelPH.js → p-DcSNuA8W.js} +1 -1
- package/components/p-DenZRIeA.js +4 -0
- package/{dist/design-system/p-BwrOVItb.js → components/p-Dr4MUfss.js} +1 -1
- package/components/p-Du7QOHtz.js +5 -0
- package/components/{p-E8U6M5ii.js → p-FBQaJyH0.js} +1 -1
- package/components/{p-Dr4dquer.js → p-J0mxIuTt.js} +1 -1
- package/{dist/design-system/p-DJxr2Dcd.js → components/p-UCeQ1JCs.js} +1 -1
- package/components/p-Uy_dVz21.js +4 -0
- package/components/p-VsWv65bD.js +4 -0
- package/components/p-WO0X5Vmy.js +4 -0
- package/components/p-gz0Nxl39.js +4 -0
- package/components/{p-Bt20CEww.js → p-n3_2KEz0.js} +1 -1
- package/components/p-qaSW94OG.js +4 -0
- package/components/p-u5aa74vh.js +4 -0
- package/dist/cjs/{_getTag-B468r9bu.js → _getTag-DxZgmSPS.js} +1 -1
- package/dist/cjs/array-CYn4ALBt.js +1986 -0
- package/dist/cjs/{breakpoints.decorator-qaoHOU6Q.js → breakpoints.decorator-DY5iYsA5.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DhAN_ZAn.js → breakpoints.subject-CzhLlIwN.js} +3 -3
- package/dist/cjs/{button.interfaces-BueDWsuH.js → button.interfaces-CqlUGR-N.js} +1 -1
- package/dist/cjs/carousel.interfaces-BFQpUNrw.js +12 -0
- package/dist/cjs/{config.decorator-Qmrq4ZYj.js → config.decorator-C64wi-MA.js} +1 -1
- package/dist/cjs/{config.utils-Cv4cx_Xa.js → config.utils-BhWbrVRz.js} +1 -1
- package/dist/cjs/create-validator-decorator-Ctd288ve.js +212 -0
- package/dist/cjs/design-system.cjs.js +3 -3
- package/dist/cjs/{device-CptgCtVc.js → device-CIliLOe9.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +30 -34
- package/dist/cjs/ds-alert-container.cjs.entry.js +12 -15
- package/dist/cjs/ds-app.cjs.entry.js +16 -6
- package/dist/cjs/ds-badge.cjs.entry.js +33 -26
- package/dist/cjs/ds-button-group.cjs.entry.js +14 -17
- package/dist/cjs/ds-button_2.cjs.entry.js +58 -73
- package/dist/cjs/ds-card-actions.cjs.entry.js +6 -8
- package/dist/cjs/ds-card-content.cjs.entry.js +3 -3
- package/dist/cjs/ds-card-header.cjs.entry.js +8 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +13 -13
- package/dist/cjs/ds-card-title.cjs.entry.js +11 -7
- package/dist/cjs/ds-card.cjs.entry.js +32 -43
- package/dist/cjs/ds-carousel-item.cjs.entry.js +128 -0
- package/dist/cjs/ds-carousel.cjs.entry.js +473 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +60 -2013
- package/dist/cjs/ds-checkbox.cjs.entry.js +33 -20
- package/dist/cjs/ds-content_2.cjs.entry.js +330 -0
- package/dist/cjs/ds-data-item.cjs.entry.js +146 -0
- package/dist/cjs/ds-data-label.cjs.entry.js +41 -0
- package/dist/cjs/ds-data-value.cjs.entry.js +31 -0
- package/dist/cjs/ds-data.cjs.entry.js +43 -0
- package/dist/cjs/ds-date.cjs.entry.js +5334 -0
- package/dist/cjs/{ds-logo.cjs.entry.js → ds-divider_2.cjs.entry.js} +130 -25
- package/dist/cjs/ds-drawer_2.cjs.entry.js +602 -0
- package/dist/cjs/ds-file-upload.cjs.entry.js +516 -0
- package/dist/cjs/ds-footer.cjs.entry.js +159 -0
- package/dist/cjs/ds-heading.cjs.entry.js +22 -20
- package/dist/cjs/ds-hint-text.cjs.entry.js +28 -0
- package/dist/cjs/ds-hint-title.cjs.entry.js +31 -0
- package/dist/cjs/ds-hint.cjs.entry.js +243 -0
- package/dist/cjs/ds-icon_2.cjs.entry.js +82 -73
- package/dist/cjs/ds-input-slider.cjs.entry.js +2885 -0
- package/dist/cjs/ds-input.cjs.entry.js +45 -43
- package/dist/cjs/ds-item.cjs.entry.js +29 -34
- package/dist/cjs/ds-label.cjs.entry.js +23 -31
- package/dist/cjs/ds-list.cjs.entry.js +6 -12
- package/dist/cjs/ds-modal-body.cjs.entry.js +34 -0
- package/dist/cjs/ds-modal-header.cjs.entry.js +31 -0
- package/dist/cjs/ds-modal.cjs.entry.js +201 -0
- package/dist/cjs/ds-navbar.cjs.entry.js +359 -0
- package/dist/cjs/ds-notification.cjs.entry.js +20 -28
- package/dist/cjs/ds-number-input.cjs.entry.js +107 -119
- package/dist/cjs/ds-pagination.cjs.entry.js +41 -37
- package/dist/cjs/ds-progress-bar.cjs.entry.js +25 -29
- package/dist/cjs/ds-radio-group.cjs.entry.js +48 -30
- package/dist/cjs/ds-radio.cjs.entry.js +36 -34
- package/dist/cjs/ds-segment-item.cjs.entry.js +9 -9
- package/dist/cjs/ds-segment.cjs.entry.js +29 -117
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +49 -0
- package/dist/cjs/ds-select-option.cjs.entry.js +57 -0
- package/dist/cjs/ds-select.cjs.entry.js +2772 -0
- package/dist/cjs/ds-shape.cjs.entry.js +10 -16
- package/dist/cjs/ds-snackbar.cjs.entry.js +41 -58
- package/dist/cjs/ds-step-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-step.cjs.entry.js +170 -0
- package/dist/cjs/ds-steps.cjs.entry.js +227 -0
- package/dist/cjs/ds-tab-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-tab.cjs.entry.js +120 -0
- package/dist/cjs/ds-tabs.cjs.entry.js +364 -0
- package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
- package/dist/cjs/ds-tag.cjs.entry.js +19 -26
- package/dist/cjs/ds-text.cjs.entry.js +29 -33
- package/dist/cjs/ds-textarea.cjs.entry.js +32 -31
- package/dist/cjs/ds-toast.cjs.entry.js +41 -55
- package/dist/cjs/ds-toggle.cjs.entry.js +22 -21
- package/dist/cjs/ds-tooltip.cjs.entry.js +182 -0
- package/dist/cjs/{field.util-RjuvTLNZ.js → field.util-g9nhtuZH.js} +1 -1
- package/dist/cjs/floating-ui.dom-Cu3dZdFD.js +1628 -0
- package/dist/cjs/focus-BUszBnbl.js +1958 -0
- package/dist/cjs/footer.i18n-CpGxizgm.js +162 -0
- package/dist/cjs/{form-control-Bno2tBGf.js → form-control-B4Qf8fg-.js} +2 -2
- package/dist/cjs/has-value-rj502MLA.js +12 -0
- package/dist/cjs/{index-CdD-TT_n.js → index-CqInh7Vc.js} +502 -175
- package/dist/cjs/index.cjs.js +26 -8283
- package/dist/cjs/isArray-DvQst6zQ.js +42 -0
- package/dist/cjs/isNaN-DOSPWDkt.js +106 -0
- package/dist/cjs/{isObjectLike-h-ta_ikf.js → isObjectLike-BNz6hnAu.js} +0 -37
- package/dist/cjs/keyboard-C7y0jXYb.js +23 -0
- package/dist/cjs/{listener-DgVWqfa1.js → listener-1PZJDuOW.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/luxon-q23LOWrr.js +8137 -0
- package/dist/cjs/one-of-BotLfpAZ.js +30 -0
- package/dist/cjs/popup.interfaces-B-mwd9rh.js +23 -0
- package/dist/cjs/required-BAhZ8oRM.js +38 -0
- package/dist/cjs/resize.decorator-Sqefy8ta.js +98 -0
- package/dist/cjs/scroll--5tnvpG1.js +89 -0
- package/dist/cjs/svg-D9RbiR8R.js +2443 -0
- package/dist/cjs/{tslib.es6-BTi-SLnA.js → tslib.es6-BIB10hMZ.js} +1 -1
- package/dist/cjs/type-Br_NbeTX.js +33 -0
- package/dist/collection/collection-manifest.json +31 -2
- package/dist/collection/components/accordion/accordion.host.css +1 -1
- package/dist/collection/components/accordion/accordion.js +22 -29
- package/dist/collection/components/alert/alert-container.js +8 -14
- package/dist/collection/components/alert/alert.controller.js +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.js +30 -53
- package/dist/collection/components/alert/toast/toast.host.css +1 -1
- package/dist/collection/components/alert/toast/toast.js +32 -53
- package/dist/collection/components/app/app.js +11 -3
- package/dist/collection/components/badge/badge.host.css +1 -1
- package/dist/collection/components/badge/badge.interfaces.js +1 -1
- package/dist/collection/components/badge/badge.js +28 -25
- package/dist/collection/components/button/button-group/button-group.js +8 -14
- package/dist/collection/components/button/button.host.css +1 -1
- package/dist/collection/components/button/button.interfaces.js +1 -1
- package/dist/collection/components/button/button.js +44 -54
- package/dist/collection/components/card/card-actions/card-actions.js +3 -6
- package/dist/collection/components/card/card-content/card-content.host.css +1 -1
- package/dist/collection/components/card/card-header/card-header.js +4 -3
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card/card-title/card-title.js +6 -5
- package/dist/collection/components/card/card.host.css +1 -1
- package/dist/collection/components/card/card.js +30 -42
- package/dist/collection/components/carousel/carousel/carousel.host.css +1 -0
- package/dist/collection/components/carousel/carousel/carousel.i18n.js +65 -0
- package/dist/collection/components/carousel/carousel/carousel.js +631 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.host.css +1 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.js +313 -0
- package/dist/collection/components/carousel/carousel.interfaces.js +6 -0
- package/dist/collection/components/carousel/test/carousel.a11y.play.js +34 -0
- package/dist/collection/components/carousel/test/carousel.component.play.js +57 -0
- package/dist/collection/components/carousel/test/carousel.visual.play.js +24 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +63 -27
- package/dist/collection/components/checkbox/checkbox.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +47 -18
- package/dist/collection/components/checkbox/test/checkbox.visual.play.js +3 -0
- package/dist/collection/components/close/close.js +10 -21
- package/dist/collection/components/content/content.js +38 -52
- package/dist/collection/components/data/data-item.host.css +1 -0
- package/dist/collection/components/data/data-item.i18n.js +35 -0
- package/dist/collection/components/data/data-item.js +244 -0
- package/dist/collection/components/data/data-label.host.css +1 -0
- package/dist/collection/components/data/data-label.js +72 -0
- package/dist/collection/components/data/data-value.host.css +1 -0
- package/dist/collection/components/data/data-value.js +38 -0
- package/dist/collection/components/data/data.host.css +1 -0
- package/dist/collection/components/data/data.js +75 -0
- package/dist/collection/components/data/test/data.a11y.play.js +31 -0
- package/dist/collection/components/data/test/data.component.play.js +104 -0
- package/dist/collection/components/data/test/data.visual.play.js +25 -0
- package/dist/collection/components/date/date.host.css +1 -0
- package/dist/collection/components/date/date.i18n.js +105 -0
- package/dist/collection/components/date/date.interfaces.js +4 -0
- package/dist/collection/components/date/date.js +1241 -0
- package/dist/collection/components/date/date.mask.js +189 -0
- package/dist/collection/components/date/date.picker.js +536 -0
- package/dist/collection/components/date/test/date.a11y.play.js +27 -0
- package/dist/collection/components/date/test/date.component.play.js +69 -0
- package/dist/collection/components/date/test/date.visual.play.js +43 -0
- package/dist/collection/components/divider/divider.host.css +1 -1
- package/dist/collection/components/divider/divider.js +11 -24
- package/dist/collection/components/drawer/drawer.host.css +1 -0
- package/dist/collection/{utils/property-checkers/constants.js → components/drawer/drawer.interfaces.js} +1 -1
- package/dist/collection/components/drawer/drawer.js +492 -0
- package/dist/collection/components/drawer/test/drawer.a11y.play.js +39 -0
- package/dist/collection/components/drawer/test/drawer.component.play.js +131 -0
- package/dist/collection/components/drawer/test/drawer.visual.play.js +31 -0
- package/dist/collection/components/file-upload/file-upload.host.css +1 -0
- package/dist/collection/components/file-upload/file-upload.i18n.js +55 -0
- package/dist/collection/components/file-upload/file-upload.interfaces.js +10 -0
- package/dist/collection/components/file-upload/file-upload.js +1030 -0
- package/dist/collection/components/file-upload/test/file-upload.a11y.play.js +52 -0
- package/dist/collection/components/file-upload/test/file-upload.component.play.js +124 -0
- package/dist/collection/components/file-upload/test/file-upload.visual.play.js +18 -0
- package/dist/collection/components/file-upload/utils/file-list.util.js +13 -0
- package/dist/collection/components/file-upload/utils/file-size.util.js +10 -0
- package/dist/collection/components/file-upload/utils/file-validation.util.js +48 -0
- package/dist/collection/components/footer/footer.host.css +1 -0
- package/dist/collection/components/footer/footer.i18n.js +155 -0
- package/dist/collection/components/footer/footer.interfaces.js +4 -0
- package/dist/collection/components/footer/footer.js +350 -0
- package/dist/collection/components/footer/test/footer.a11y.play.js +17 -0
- package/dist/collection/components/footer/test/footer.component.play.js +74 -0
- package/dist/collection/components/footer/test/footer.visual.play.js +16 -0
- package/dist/collection/components/form/test/form.visual.play.js +13 -1
- package/dist/collection/components/heading/heading.host.css +1 -1
- package/dist/collection/components/heading/heading.js +16 -17
- package/dist/collection/components/hint/hint-text/hint-text.js +28 -0
- package/dist/collection/components/hint/hint-title/hint-title.js +31 -0
- package/dist/collection/components/hint/hint.host.css +1 -0
- package/dist/collection/components/hint/hint.i18n.js +35 -0
- package/dist/collection/components/hint/hint.interfaces.js +1 -0
- package/dist/collection/components/hint/hint.js +410 -0
- package/dist/collection/components/hint/test/hint.a11y.play.js +41 -0
- package/dist/collection/components/hint/test/hint.component.play.js +110 -0
- package/dist/collection/components/hint/test/hint.visual.play.js +39 -0
- package/dist/collection/components/icon/icon.host.css +1 -1
- package/dist/collection/components/icon/icon.interfaces.js +1 -0
- package/dist/collection/components/icon/icon.js +73 -42
- package/dist/collection/components/icon/test/icon.component.play.js +23 -1
- package/dist/collection/components/input/clear-button.i18n.js +35 -0
- package/dist/collection/components/input/clear-button.util.js +11 -0
- package/dist/collection/components/input/input.host.css +1 -1
- package/dist/collection/components/input/input.js +36 -37
- package/dist/collection/components/input/test/input.component.play.js +1 -1
- package/dist/collection/components/input/trigger-button.i18n.js +45 -0
- package/dist/collection/components/input-slider/input-slider.host.css +1 -0
- package/dist/collection/components/input-slider/input-slider.interfaces.js +4 -0
- package/dist/collection/components/input-slider/input-slider.js +961 -0
- package/dist/collection/components/input-slider/input-slider.picker.js +124 -0
- package/dist/collection/components/input-slider/input-slider.utils.js +32 -0
- package/dist/collection/components/input-slider/test/input-slider.a11y.play.js +36 -0
- package/dist/collection/components/input-slider/test/input-slider.component.play.js +87 -0
- package/dist/collection/components/input-slider/test/input-slider.visual.play.js +27 -0
- package/dist/collection/components/label/label.host.css +1 -1
- package/dist/collection/components/label/label.js +16 -28
- package/dist/collection/components/list/item/item.host.css +1 -1
- package/dist/collection/components/list/item/item.interfaces.js +1 -1
- package/dist/collection/components/list/item/item.js +27 -34
- package/dist/collection/components/list/list.js +3 -10
- package/dist/collection/components/list/test/list.visual.play.js +30 -0
- package/dist/collection/components/logo/logo.js +11 -18
- package/dist/collection/components/modal/modal-body/modal-body.host.css +1 -0
- package/dist/collection/components/modal/modal-body/modal-body.js +41 -0
- package/dist/collection/components/modal/modal-header/modal-header.js +32 -0
- package/dist/collection/components/modal/modal.controller.js +31 -0
- package/dist/collection/components/modal/modal.host.css +1 -0
- package/dist/collection/components/modal/modal.interfaces.js +1 -0
- package/dist/collection/components/modal/modal.js +461 -0
- package/dist/collection/components/modal/test/modal.a11y.play.js +59 -0
- package/dist/collection/components/modal/test/modal.component.play.js +196 -0
- package/dist/collection/components/modal/test/modal.visual.play.js +36 -0
- package/dist/collection/components/navbar/navbar.host.css +1 -0
- package/dist/collection/components/navbar/navbar.i18n.js +65 -0
- package/dist/collection/components/navbar/navbar.interfaces.js +6 -0
- package/dist/collection/components/navbar/navbar.js +544 -0
- package/dist/collection/components/navbar/test/navbar.a11y.play.js +26 -0
- package/dist/collection/components/navbar/test/navbar.component.play.js +76 -0
- package/dist/collection/components/navbar/test/navbar.visual.play.js +14 -0
- package/dist/collection/components/notification/notification.host.css +1 -1
- package/dist/collection/components/notification/notification.js +14 -26
- package/dist/collection/components/number-input/number-input.host.css +1 -1
- package/dist/collection/components/number-input/number-input.js +23 -24
- package/dist/collection/components/pagination/pagination.host.css +1 -1
- package/dist/collection/components/pagination/pagination.js +29 -28
- package/dist/collection/components/popup/popup.host.css +1 -0
- package/dist/collection/components/popup/popup.interfaces.js +18 -0
- package/dist/collection/components/popup/popup.js +869 -0
- package/dist/collection/components/popup/test/popup.a11y.play.js +50 -0
- package/dist/collection/components/popup/test/popup.component.play.js +168 -0
- package/dist/collection/components/popup/test/popup.visual.play.js +33 -0
- package/dist/collection/components/progress-bar/progress-bar.host.css +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +13 -20
- package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -1
- package/dist/collection/components/radio/radio-group/radio-group.js +60 -24
- package/dist/collection/components/radio/radio.host.css +1 -1
- package/dist/collection/components/radio/radio.js +48 -20
- package/dist/collection/components/radio/test/radio.visual.play.js +3 -0
- package/dist/collection/components/segment/segment/segment.host.css +1 -1
- package/dist/collection/components/segment/segment/segment.js +19 -20
- package/dist/collection/components/segment/segment-item.js +6 -7
- package/dist/collection/components/select/select-optgroup.host.css +1 -0
- package/dist/collection/components/select/select-optgroup.js +82 -0
- package/dist/collection/components/select/select-option.host.css +1 -0
- package/dist/collection/components/select/select-option.js +112 -0
- package/dist/collection/components/select/select.host.css +1 -0
- package/dist/collection/components/select/select.i18n.js +45 -0
- package/dist/collection/components/select/select.interfaces.js +4 -0
- package/dist/collection/components/select/select.js +1024 -0
- package/dist/collection/components/select/select.picker.js +276 -0
- package/dist/collection/components/select/test/select.a11y.play.js +81 -0
- package/dist/collection/components/select/test/select.component.play.js +184 -0
- package/dist/collection/components/select/test/select.visual.play.js +70 -0
- package/dist/collection/components/shape/shape.js +7 -14
- package/dist/collection/components/spinner/spinner.js +18 -26
- package/dist/collection/components/stack/stack.host.css +1 -1
- package/dist/collection/components/stack/stack.js +41 -153
- package/dist/collection/components/steps/step/step.host.css +1 -0
- package/dist/collection/components/steps/step/step.js +431 -0
- package/dist/collection/components/steps/step-panel/step-panel.host.css +1 -0
- package/dist/collection/components/steps/step-panel/step-panel.js +104 -0
- package/dist/collection/components/steps/steps/steps.host.css +1 -0
- package/dist/collection/components/steps/steps/steps.js +356 -0
- package/dist/collection/components/steps/steps.interfaces.js +4 -0
- package/dist/collection/components/steps/test/steps.a11y.play.js +73 -0
- package/dist/collection/components/steps/test/steps.component.play.js +182 -0
- package/dist/collection/components/steps/test/steps.visual.play.js +18 -0
- package/dist/collection/components/tabs/tab/tab.host.css +1 -0
- package/dist/collection/components/tabs/tab/tab.js +278 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.host.css +1 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.js +104 -0
- package/dist/collection/components/tabs/tabs/tabs.host.css +1 -0
- package/dist/collection/components/tabs/tabs/tabs.i18n.js +45 -0
- package/dist/collection/components/tabs/tabs/tabs.js +552 -0
- package/dist/collection/components/tabs/tabs.interfaces.js +12 -0
- package/dist/collection/components/tabs/test/tabs.a11y.play.js +60 -0
- package/dist/collection/components/tabs/test/tabs.component.play.js +129 -0
- package/dist/collection/components/tabs/test/tabs.visual.play.js +31 -0
- package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
- package/dist/collection/components/tag/tag.js +15 -26
- package/dist/collection/components/text/text.host.css +1 -1
- package/dist/collection/components/text/text.js +23 -30
- package/dist/collection/components/textarea/textarea.host.css +1 -1
- package/dist/collection/components/textarea/textarea.js +24 -25
- package/dist/collection/components/time-input/test/time-input.visual.play.js +18 -0
- package/dist/collection/components/toggle/toggle.js +19 -20
- package/dist/collection/components/tooltip/test/tooltip.a11y.play.js +32 -0
- package/dist/collection/components/tooltip/test/tooltip.component.play.js +51 -0
- package/dist/collection/components/tooltip/test/tooltip.visual.play.js +16 -0
- package/dist/collection/components/tooltip/tooltip.host.css +1 -0
- package/dist/collection/components/tooltip/tooltip.interfaces.js +4 -0
- package/dist/collection/components/tooltip/tooltip.js +407 -0
- package/dist/collection/foundation/colors.visual.play.js +18 -0
- package/dist/collection/global/config/config.const.js +11 -0
- package/dist/collection/global/config/config.default.js +92 -42
- package/dist/collection/global/config/config.js +1 -1
- package/dist/collection/global/config/config.meta.js +27 -0
- package/dist/collection/global/config/index.js +1 -0
- package/dist/collection/global/config/initialize.js +2 -1
- package/dist/collection/global/constants/tags.constant.js +30 -1
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/collection/global/index.js +0 -1
- package/dist/collection/global/initialize.js +2 -0
- package/dist/collection/index.js +5 -20
- package/dist/collection/utils/attributes.js +0 -15
- package/dist/collection/utils/focus.js +72 -0
- package/dist/collection/utils/form-control.js +1 -1
- package/dist/collection/utils/has-value.js +7 -0
- package/dist/collection/utils/helpers.js +14 -74
- package/dist/collection/utils/index.js +7 -5
- package/dist/collection/utils/{property-checkers/is-value-empty.js → is-value-empty.js} +1 -1
- package/dist/collection/utils/number.js +6 -25
- package/dist/collection/utils/property-decorators/array-of.js +25 -0
- package/dist/collection/utils/property-decorators/bound.js +79 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +212 -0
- package/dist/collection/utils/property-decorators/date.js +24 -0
- package/dist/collection/utils/property-decorators/index.js +12 -0
- package/dist/collection/utils/property-decorators/iso-date.js +24 -0
- package/dist/collection/utils/property-decorators/one-of.js +25 -0
- package/dist/collection/utils/property-decorators/pattern.js +25 -0
- package/dist/collection/utils/property-decorators/required.js +44 -0
- package/dist/collection/utils/property-decorators/type.js +28 -0
- package/dist/collection/utils/property-decorators/url.js +32 -0
- package/dist/collection/utils/property-types.js +1 -0
- package/dist/collection/utils/svg.js +19 -0
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-00e6b1b780.entry.js +4 -0
- package/dist/design-system/p-0bf3d4d939.entry.js +4 -0
- package/dist/design-system/p-0ea6cdd218.entry.js +4 -0
- package/dist/design-system/p-0f2a87fa39.entry.js +4 -0
- package/dist/design-system/p-138be1f0cc.entry.js +4 -0
- package/dist/design-system/p-16b03e0b02.entry.js +4 -0
- package/dist/design-system/p-1750b3c4f1.entry.js +4 -0
- package/dist/design-system/p-1A9jKraP.js +4 -0
- package/dist/design-system/p-1b1e3ad99c.entry.js +4 -0
- package/dist/design-system/p-24c85e99f5.entry.js +4 -0
- package/dist/design-system/p-2b038255c5.entry.js +4 -0
- package/dist/design-system/p-2bb98dfa2f.entry.js +4 -0
- package/dist/design-system/p-2eb6067210.entry.js +4 -0
- package/dist/design-system/p-32e156bc72.entry.js +4 -0
- package/dist/design-system/p-3824068ae7.entry.js +4 -0
- package/dist/design-system/p-3aa3841834.entry.js +4 -0
- package/dist/design-system/p-3d2539929c.entry.js +4 -0
- package/dist/design-system/p-3d675c6507.entry.js +4 -0
- package/dist/design-system/p-3e3a6799d6.entry.js +4 -0
- package/dist/design-system/p-3e43fa2bc6.entry.js +4 -0
- package/dist/design-system/p-4284d6d646.entry.js +4 -0
- package/dist/design-system/{p-1d312498a6.entry.js → p-44981aaf8d.entry.js} +1 -1
- package/dist/design-system/p-4b2a59576c.entry.js +4 -0
- package/dist/design-system/p-4bfc094a03.entry.js +4 -0
- package/dist/design-system/p-53d9a40010.entry.js +4 -0
- package/dist/design-system/p-564ee4d78f.entry.js +4 -0
- package/dist/design-system/p-599a693db3.entry.js +4 -0
- package/dist/design-system/p-5a6c6959fa.entry.js +4 -0
- package/dist/design-system/p-5d4a5d0b61.entry.js +4 -0
- package/dist/design-system/p-5ded2b6438.entry.js +4 -0
- package/dist/design-system/p-5f1a8be21c.entry.js +4 -0
- package/dist/design-system/p-5f28436626.entry.js +4 -0
- package/dist/design-system/p-6c60833550.entry.js +4 -0
- package/dist/design-system/p-7246bfb9a0.entry.js +4 -0
- package/dist/design-system/p-77e7a6a068.entry.js +4 -0
- package/dist/design-system/p-78112e7b35.entry.js +4 -0
- package/dist/design-system/p-7ebdd14afc.entry.js +4 -0
- package/dist/design-system/p-7f42c18249.entry.js +4 -0
- package/dist/design-system/p-85bf3794f9.entry.js +4 -0
- package/dist/design-system/p-8a9d617f75.entry.js +4 -0
- package/dist/design-system/p-908e7b073a.entry.js +4 -0
- package/dist/design-system/p-9f9364d7df.entry.js +4 -0
- package/dist/design-system/p-B-en4B17.js +4 -0
- package/dist/design-system/p-B-v2Wm-V.js +5 -0
- package/dist/design-system/p-B8KVoKrH.js +5 -0
- package/dist/design-system/p-B8PCdo6e.js +4 -0
- package/dist/design-system/p-BAY6Z8bT.js +4 -0
- package/dist/design-system/{p-C7EnKCpl.js → p-BMM6Nxeh.js} +1 -1
- package/{components/p-Diz11uvt.js → dist/design-system/p-BPGfTrrM.js} +1 -1
- package/dist/design-system/p-BqY0KzJC.js +4 -0
- package/dist/design-system/p-BrJFPhMA.js +4 -0
- package/dist/design-system/p-C1jqbZdf.js +4 -0
- package/dist/design-system/{p-DCf2fJmI.js → p-C5Rtikeh.js} +1 -1
- package/dist/design-system/p-CDhvZoCt.js +4 -0
- package/dist/design-system/p-CGHN-3RC.js +4 -0
- package/dist/design-system/{p-CAcwu8uP.js → p-CfgwSore.js} +1 -1
- package/dist/design-system/p-ChSKXFK5.js +4 -0
- package/dist/design-system/{p-BLPSziW-.js → p-Chgme2NJ.js} +1 -1
- package/{components/p-5Sp1eJOt.js → dist/design-system/p-CrYAd3JT.js} +1 -1
- package/dist/design-system/p-CziF75uh.js +4 -0
- package/dist/design-system/p-DJBD4skP.js +14 -0
- package/{components/p-E1SnOz0L.js → dist/design-system/p-DOvdnojj.js} +1 -1
- package/dist/design-system/p-DYPX3A8m.js +4 -0
- package/dist/design-system/p-DiUgZKWs.js +4 -0
- package/dist/design-system/p-Dk0GEN2t.js +4 -0
- package/dist/design-system/p-DkhJaoXg.js +4 -0
- package/dist/design-system/p-DoHCSvjl.js +4 -0
- package/dist/design-system/p-DypNSUAh.js +4 -0
- package/dist/design-system/p-Uy_dVz21.js +4 -0
- package/dist/design-system/{p-Dnjznncd.js → p-Y0rKqVvm.js} +1 -1
- package/dist/design-system/p-Z0zrglhd.js +4 -0
- package/dist/design-system/p-a42ecb68a0.entry.js +4 -0
- package/dist/design-system/p-a782c877ea.entry.js +4 -0
- package/dist/design-system/p-a8df8f067b.entry.js +4 -0
- package/dist/design-system/p-aa3aee2591.entry.js +4 -0
- package/dist/design-system/p-aa3c0ff536.entry.js +4 -0
- package/dist/design-system/p-ab8bee7022.entry.js +4 -0
- package/dist/design-system/p-adc58b2821.entry.js +4 -0
- package/dist/design-system/p-b390490b0d.entry.js +4 -0
- package/dist/design-system/p-b44641ec28.entry.js +4 -0
- package/dist/design-system/p-b4738dc266.entry.js +4 -0
- package/dist/design-system/p-b851a43fff.entry.js +4 -0
- package/dist/design-system/p-b8669a617c.entry.js +4 -0
- package/dist/design-system/p-b8f626bf28.entry.js +4 -0
- package/dist/design-system/p-bd543e1baf.entry.js +4 -0
- package/dist/design-system/p-ce67cbbed5.entry.js +4 -0
- package/dist/design-system/p-d3a80b8422.entry.js +4 -0
- package/dist/design-system/p-d4d9205dda.entry.js +4 -0
- package/dist/design-system/p-dbd3d3b3d3.entry.js +4 -0
- package/{components/p-BATOumsf.js → dist/design-system/p-dziB1ufg.js} +1 -1
- package/dist/design-system/p-e0b2d6e296.entry.js +4 -0
- package/dist/design-system/p-e94ee7391c.entry.js +4 -0
- package/dist/design-system/p-ee76bf354e.entry.js +4 -0
- package/dist/design-system/p-f7be5b6114.entry.js +4 -0
- package/dist/design-system/p-fa613cd0d1.entry.js +4 -0
- package/dist/design-system/p-faf75173db.entry.js +4 -0
- package/dist/design-system/p-fff38e1ca7.entry.js +4 -0
- package/dist/design-system/p-x2KazRjl.js +4 -0
- package/dist/esm/{_getTag-DFxL3s3h.js → _getTag-BkweuRJc.js} +1 -1
- package/dist/esm/array-BJZA868l.js +1984 -0
- package/dist/esm/{breakpoints.decorator-L2xeP46f.js → breakpoints.decorator-D9M4v98c.js} +1 -1
- package/dist/esm/{breakpoints.subject-BhbzG-rl.js → breakpoints.subject-DHZ7TzYV.js} +3 -3
- package/dist/esm/{button.interfaces-BkESlUMc.js → button.interfaces-BPGfTrrM.js} +1 -1
- package/dist/esm/carousel.interfaces-B-en4B17.js +8 -0
- package/dist/esm/{config.decorator-BQNIja4k.js → config.decorator-CRYVBTkX.js} +1 -1
- package/dist/esm/{config.utils-COlKFRlV.js → config.utils-CR4Xudpz.js} +1 -1
- package/dist/esm/create-validator-decorator-fUav5byo.js +208 -0
- package/dist/esm/design-system.js +4 -4
- package/dist/esm/{device-Dhwt3m7W.js → device-CapioAfe.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +30 -34
- package/dist/esm/ds-alert-container.entry.js +12 -15
- package/dist/esm/ds-app.entry.js +16 -6
- package/dist/esm/ds-badge.entry.js +33 -26
- package/dist/esm/ds-button-group.entry.js +14 -17
- package/dist/esm/ds-button_2.entry.js +58 -73
- package/dist/esm/ds-card-actions.entry.js +6 -8
- package/dist/esm/ds-card-content.entry.js +3 -3
- package/dist/esm/ds-card-header.entry.js +8 -5
- package/dist/esm/ds-card-subtitle.entry.js +13 -13
- package/dist/esm/ds-card-title.entry.js +11 -7
- package/dist/esm/ds-card.entry.js +32 -43
- package/dist/esm/ds-carousel-item.entry.js +126 -0
- package/dist/esm/ds-carousel.entry.js +471 -0
- package/dist/esm/ds-checkbox-group.entry.js +59 -2012
- package/dist/esm/ds-checkbox.entry.js +33 -20
- package/dist/esm/ds-content_2.entry.js +327 -0
- package/dist/esm/ds-data-item.entry.js +144 -0
- package/dist/esm/ds-data-label.entry.js +39 -0
- package/dist/esm/ds-data-value.entry.js +29 -0
- package/dist/esm/ds-data.entry.js +41 -0
- package/dist/esm/ds-date.entry.js +5332 -0
- package/dist/esm/{ds-logo.entry.js → ds-divider_2.entry.js} +130 -26
- package/dist/esm/ds-drawer_2.entry.js +599 -0
- package/dist/esm/ds-file-upload.entry.js +514 -0
- package/dist/esm/ds-footer.entry.js +157 -0
- package/dist/esm/ds-heading.entry.js +22 -20
- package/dist/esm/ds-hint-text.entry.js +26 -0
- package/dist/esm/ds-hint-title.entry.js +29 -0
- package/dist/esm/ds-hint.entry.js +241 -0
- package/dist/esm/ds-icon_2.entry.js +80 -71
- package/dist/esm/ds-input-slider.entry.js +2883 -0
- package/dist/esm/ds-input.entry.js +46 -44
- package/dist/esm/ds-item.entry.js +29 -34
- package/dist/esm/ds-label.entry.js +23 -31
- package/dist/esm/ds-list.entry.js +6 -12
- package/dist/esm/ds-modal-body.entry.js +32 -0
- package/dist/esm/ds-modal-header.entry.js +29 -0
- package/dist/esm/ds-modal.entry.js +199 -0
- package/dist/esm/ds-navbar.entry.js +357 -0
- package/dist/esm/ds-notification.entry.js +20 -28
- package/dist/esm/ds-number-input.entry.js +102 -114
- package/dist/esm/ds-pagination.entry.js +41 -37
- package/dist/esm/ds-progress-bar.entry.js +25 -29
- package/dist/esm/ds-radio-group.entry.js +49 -31
- package/dist/esm/ds-radio.entry.js +35 -33
- package/dist/esm/ds-segment-item.entry.js +9 -9
- package/dist/esm/ds-segment.entry.js +28 -116
- package/dist/esm/ds-select-optgroup.entry.js +47 -0
- package/dist/esm/ds-select-option.entry.js +55 -0
- package/dist/esm/ds-select.entry.js +2770 -0
- package/dist/esm/ds-shape.entry.js +10 -16
- package/dist/esm/ds-snackbar.entry.js +41 -58
- package/dist/esm/ds-step-panel.entry.js +53 -0
- package/dist/esm/ds-step.entry.js +168 -0
- package/dist/esm/ds-steps.entry.js +225 -0
- package/dist/esm/ds-tab-panel.entry.js +53 -0
- package/dist/esm/ds-tab.entry.js +118 -0
- package/dist/esm/ds-tabs.entry.js +362 -0
- package/dist/esm/ds-tag-group.entry.js +3 -3
- package/dist/esm/ds-tag.entry.js +19 -26
- package/dist/esm/ds-text.entry.js +29 -33
- package/dist/esm/ds-textarea.entry.js +33 -32
- package/dist/esm/ds-toast.entry.js +41 -55
- package/dist/esm/ds-toggle.entry.js +22 -21
- package/dist/esm/ds-tooltip.entry.js +180 -0
- package/dist/esm/{field.util-BXxRO7CD.js → field.util-neIQBS-h.js} +1 -1
- package/dist/esm/floating-ui.dom-BqY0KzJC.js +1621 -0
- package/dist/esm/focus-6OAqvfus.js +1956 -0
- package/dist/esm/footer.i18n-BrJFPhMA.js +159 -0
- package/dist/esm/{form-control-D2O-sb65.js → form-control-DhinyMa9.js} +2 -2
- package/dist/esm/has-value-Dmsj8ZQw.js +10 -0
- package/dist/esm/{index-CuwLeg-T.js → index-B-v2Wm-V.js} +501 -175
- package/dist/esm/index.js +13 -8273
- package/dist/esm/{input.interfaces-C7EnKCpl.js → input.interfaces-BMM6Nxeh.js} +1 -1
- package/dist/esm/isArray-B8PCdo6e.js +40 -0
- package/dist/esm/isNaN-BrbqGXXw.js +104 -0
- package/dist/esm/{isObjectLike-BAYao9w7.js → isObjectLike-BnBXjF_n.js} +1 -37
- package/dist/esm/keyboard-Uy_dVz21.js +20 -0
- package/dist/esm/{listener-C_kjUVTE.js → listener-DIZDQOuO.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/luxon-C1jqbZdf.js +8133 -0
- package/dist/esm/one-of-CjRvS2Tk.js +28 -0
- package/dist/esm/popup.interfaces-BAY6Z8bT.js +20 -0
- package/dist/esm/required-Dtml5IID.js +36 -0
- package/dist/esm/resize.decorator-eogZBBk6.js +96 -0
- package/dist/esm/scroll-v2MaEkiZ.js +87 -0
- package/dist/esm/svg-B8KVoKrH.js +2440 -0
- package/dist/esm/{tslib.es6-tdchDLyb.js → tslib.es6-n47B6oUi.js} +1 -1
- package/dist/esm/type-7qEQcw90.js +31 -0
- package/dist/types/components/accordion/accordion.d.ts +0 -5
- package/dist/types/components/alert/alert-container.d.ts +0 -5
- package/dist/types/components/alert/snackbar/snackbar.d.ts +0 -5
- package/dist/types/components/alert/toast/toast.d.ts +0 -5
- package/dist/types/components/badge/badge.d.ts +1 -3
- package/dist/types/components/badge/badge.interfaces.d.ts +1 -1
- package/dist/types/components/button/button-group/button-group.d.ts +0 -5
- package/dist/types/components/button/button.d.ts +1 -3
- package/dist/types/components/button/button.interfaces.d.ts +1 -1
- package/dist/types/components/card/card-actions/card-actions.d.ts +0 -1
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +0 -1
- package/dist/types/components/card/card.d.ts +2 -4
- package/dist/types/components/carousel/carousel/carousel.d.ts +114 -0
- package/dist/types/components/carousel/carousel/carousel.i18n.d.ts +9 -0
- package/dist/types/components/carousel/carousel-item/carousel-item.d.ts +70 -0
- package/dist/types/components/carousel/carousel.interfaces.d.ts +14 -0
- package/dist/types/components/carousel/test/carousel.a11y.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.component.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.visual.play.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +6 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/close/close.d.ts +1 -3
- package/dist/types/components/content/content.d.ts +2 -5
- package/dist/types/components/data/data-item.d.ts +43 -0
- package/dist/types/components/data/data-item.i18n.d.ts +6 -0
- package/dist/types/components/data/data-item.interfaces.d.ts +4 -0
- package/dist/types/components/data/data-label.d.ts +19 -0
- package/dist/types/components/data/data-label.interfaces.d.ts +3 -0
- package/dist/types/components/data/data-value.d.ts +15 -0
- package/dist/types/components/data/data-value.interfaces.d.ts +5 -0
- package/dist/types/components/data/data.d.ts +19 -0
- package/dist/types/components/data/data.interfaces.d.ts +4 -0
- package/dist/types/components/data/test/data.a11y.play.d.ts +1 -0
- package/dist/types/components/data/test/data.component.play.d.ts +1 -0
- package/dist/types/components/data/test/data.visual.play.d.ts +1 -0
- package/dist/types/components/date/date.d.ts +214 -0
- package/dist/types/components/date/date.i18n.d.ts +13 -0
- package/dist/types/components/date/date.interfaces.d.ts +18 -0
- package/dist/types/components/date/date.mask.d.ts +29 -0
- package/dist/types/components/date/date.picker.d.ts +67 -0
- package/dist/types/components/date/test/date.a11y.play.d.ts +1 -0
- package/dist/types/components/date/test/date.component.play.d.ts +1 -0
- package/dist/types/components/date/test/date.visual.play.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -3
- package/dist/types/components/drawer/drawer.d.ts +102 -0
- package/dist/types/components/drawer/drawer.interfaces.d.ts +8 -0
- package/dist/types/components/drawer/test/drawer.a11y.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.component.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/file-upload.d.ts +192 -0
- package/dist/types/components/file-upload/file-upload.i18n.d.ts +8 -0
- package/dist/types/components/file-upload/file-upload.interfaces.d.ts +24 -0
- package/dist/types/components/file-upload/test/file-upload.a11y.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.component.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-list.util.d.ts +2 -0
- package/dist/types/components/file-upload/utils/file-size.util.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-validation.util.d.ts +13 -0
- package/dist/types/components/footer/footer.d.ts +68 -0
- package/dist/types/components/footer/footer.i18n.d.ts +7 -0
- package/dist/types/components/footer/footer.interfaces.d.ts +19 -0
- package/dist/types/components/footer/test/footer.a11y.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.component.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.visual.play.d.ts +1 -0
- package/dist/types/components/hint/hint-text/hint-text.d.ts +15 -0
- package/dist/types/components/hint/hint-title/hint-title.d.ts +16 -0
- package/dist/types/components/hint/hint.d.ts +87 -0
- package/dist/types/components/hint/hint.i18n.d.ts +6 -0
- package/dist/types/components/hint/hint.interfaces.d.ts +4 -0
- package/dist/types/components/hint/test/hint.a11y.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.component.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.visual.play.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +7 -3
- package/dist/types/components/icon/icon.interfaces.d.ts +1 -1
- package/dist/types/components/input/clear-button.i18n.d.ts +6 -0
- package/dist/types/components/input/clear-button.util.d.ts +10 -0
- package/dist/types/components/input/trigger-button.i18n.d.ts +7 -0
- package/dist/types/components/input-slider/input-slider.d.ts +186 -0
- package/dist/types/components/input-slider/input-slider.interfaces.d.ts +18 -0
- package/dist/types/components/input-slider/input-slider.picker.d.ts +37 -0
- package/dist/types/components/input-slider/input-slider.utils.d.ts +18 -0
- package/dist/types/components/input-slider/test/input-slider.a11y.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.component.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.visual.play.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +3 -5
- package/dist/types/components/list/item/item.d.ts +0 -5
- package/dist/types/components/list/item/item.interfaces.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +0 -5
- package/dist/types/components/list/test/list.visual.play.d.ts +1 -0
- package/dist/types/components/logo/logo.d.ts +1 -2
- package/dist/types/components/modal/modal-body/modal-body.d.ts +15 -0
- package/dist/types/components/modal/modal-header/modal-header.d.ts +17 -0
- package/dist/types/components/modal/modal.controller.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +97 -0
- package/dist/types/components/modal/modal.interfaces.d.ts +15 -0
- package/dist/types/components/modal/test/modal.a11y.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.component.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.visual.play.d.ts +1 -0
- package/dist/types/components/navbar/navbar.d.ts +128 -0
- package/dist/types/components/navbar/navbar.i18n.d.ts +9 -0
- package/dist/types/components/navbar/navbar.interfaces.d.ts +10 -0
- package/dist/types/components/navbar/test/navbar.a11y.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.component.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.visual.play.d.ts +1 -0
- package/dist/types/components/notification/notification.d.ts +1 -3
- package/dist/types/components/pagination/pagination.d.ts +0 -5
- package/dist/types/components/popup/popup.d.ts +152 -0
- package/dist/types/components/popup/popup.interfaces.d.ts +14 -0
- package/dist/types/components/popup/test/popup.a11y.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.component.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.visual.play.d.ts +1 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -5
- package/dist/types/components/radio/radio-group/radio-group.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/select/select-optgroup.d.ts +28 -0
- package/dist/types/components/select/select-option.d.ts +34 -0
- package/dist/types/components/select/select.d.ts +193 -0
- package/dist/types/components/select/select.i18n.d.ts +7 -0
- package/dist/types/components/select/select.interfaces.d.ts +16 -0
- package/dist/types/components/select/select.picker.d.ts +57 -0
- package/dist/types/components/select/test/select.a11y.play.d.ts +1 -0
- package/dist/types/components/select/test/select.component.play.d.ts +1 -0
- package/dist/types/components/select/test/select.visual.play.d.ts +1 -0
- package/dist/types/components/shape/shape.d.ts +2 -7
- package/dist/types/components/spinner/spinner.d.ts +0 -2
- package/dist/types/components/stack/stack.d.ts +7 -19
- package/dist/types/components/steps/step/step.d.ts +89 -0
- package/dist/types/components/steps/step-panel/step-panel.d.ts +34 -0
- package/dist/types/components/steps/steps/steps.d.ts +77 -0
- package/dist/types/components/steps/steps.interfaces.d.ts +10 -0
- package/dist/types/components/steps/test/steps.a11y.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.component.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.visual.play.d.ts +1 -0
- package/dist/types/components/tabs/tab/tab.d.ts +67 -0
- package/dist/types/components/tabs/tab-panel/tab-panel.d.ts +34 -0
- package/dist/types/components/tabs/tabs/tabs.d.ts +97 -0
- package/dist/types/components/tabs/tabs/tabs.i18n.d.ts +7 -0
- package/dist/types/components/tabs/tabs.interfaces.d.ts +12 -0
- package/dist/types/components/tabs/test/tabs.a11y.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.component.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.visual.play.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +1 -3
- package/dist/types/components/text/text.d.ts +2 -7
- package/dist/types/components/time-input/test/time-input.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.a11y.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.component.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +85 -0
- package/dist/types/components/tooltip/tooltip.interfaces.d.ts +10 -0
- package/dist/types/components.d.ts +5162 -1870
- package/dist/types/foundation/colors.visual.play.d.ts +1 -0
- package/dist/types/global/config/config.const.d.ts +3 -0
- package/dist/types/global/config/config.default.d.ts +0 -40
- package/dist/types/global/config/config.meta.d.ts +2 -0
- package/dist/types/global/config/config.types.d.ts +27 -0
- package/dist/types/global/config/index.d.ts +1 -0
- package/dist/types/global/index.d.ts +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/carousel.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data-item.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/date.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/drawer.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/file-upload.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/footer.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/hint.po.d.ts +10 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input-slider.po.d.ts +18 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/modal.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/navbar.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/popup.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/select.po.d.ts +24 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/steps.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tabs.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tooltip.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/attributes.d.ts +0 -8
- package/dist/types/utils/focus.d.ts +18 -0
- package/dist/types/utils/form-control.d.ts +2 -2
- package/dist/types/utils/has-value.d.ts +1 -0
- package/dist/types/utils/index.d.ts +7 -5
- package/dist/types/utils/number.d.ts +0 -3
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/dist/types/utils/svg.d.ts +2 -0
- package/docs/cem.json +18228 -0
- package/docs/components.json +39621 -17240
- package/docs/html.html-data.json +1664 -159
- package/docs/tags.json +30 -1
- package/package.json +46 -38
- package/sbom.cdx.json +58887 -0
- package/README.md +0 -33
- package/components/p-82RSSk25.js +0 -4
- package/components/p-BEngECpF.js +0 -4
- package/components/p-BMBthpLd.js +0 -4
- package/components/p-BNY3JzuV.js +0 -4
- package/components/p-BOTkpyFe.js +0 -5
- package/components/p-BOgMmRCt.js +0 -4
- package/components/p-CDYlUuhB.js +0 -4
- package/components/p-Cb75Rr6o.js +0 -4
- package/components/p-CojUmpFm.js +0 -4
- package/components/p-DHeVI6dR.js +0 -4
- package/components/p-DTPbL3uY.js +0 -4
- package/components/p-DnnGnukM.js +0 -4
- package/components/p-DtuTnY5l.js +0 -4
- package/components/p-JZ1uDtZv.js +0 -4
- package/components/p-cSbDziZm.js +0 -4
- package/components/p-gA-94RPS.js +0 -4
- package/components/p-xDEngwqW.js +0 -4
- package/dist/cjs/contact-SPfz2A_q.js +0 -1647
- package/dist/cjs/ds-content.cjs.entry.js +0 -154
- package/dist/cjs/ds-divider.cjs.entry.js +0 -131
- package/dist/cjs/ds-stack.cjs.entry.js +0 -224
- package/dist/cjs/isEmpty-BmKp4bH4.js +0 -99
- package/dist/cjs/stack.interfaces-6vlKvBmb.js +0 -68
- package/dist/cjs/svg-D7Mwbcvp.js +0 -1482
- package/dist/cjs/validate.decorator-C9-9HA0Y.js +0 -115
- package/dist/collection/global/constants/icons.constant.js +0 -42
- package/dist/collection/utils/element-states/element-states.decorator.js +0 -23
- package/dist/collection/utils/element-states/element-states.listener.js +0 -55
- package/dist/collection/utils/element-states/element-states.subject.js +0 -24
- package/dist/collection/utils/element-states/index.js +0 -5
- package/dist/collection/utils/keyboard/index.js +0 -6
- package/dist/collection/utils/keyboard/keyboard.decorator.js +0 -23
- package/dist/collection/utils/keyboard/keyboard.listener.js +0 -34
- package/dist/collection/utils/keyboard/keyboard.subject.js +0 -24
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-date.js +0 -18
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -14
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -13
- package/dist/collection/utils/property-checkers/check-type.js +0 -20
- package/dist/collection/utils/property-checkers/check-url.js +0 -20
- package/dist/collection/utils/property-checkers/empty-or.js +0 -15
- package/dist/collection/utils/property-checkers/index.js +0 -57
- package/dist/collection/utils/property-checkers/required-and.js +0 -20
- package/dist/collection/utils/swipe/index.js +0 -6
- package/dist/collection/utils/swipe/swipe.decorator.js +0 -23
- package/dist/collection/utils/swipe/swipe.listener.js +0 -33
- package/dist/collection/utils/swipe/swipe.subject.js +0 -28
- package/dist/collection/utils/validate.decorator.js +0 -203
- package/dist/design-system/p-03bbcdf9de.entry.js +0 -4
- package/dist/design-system/p-1154323457.entry.js +0 -4
- package/dist/design-system/p-1f0601a4f4.entry.js +0 -4
- package/dist/design-system/p-21b080a49a.entry.js +0 -4
- package/dist/design-system/p-27c34c4e5f.entry.js +0 -4
- package/dist/design-system/p-2b91de302f.entry.js +0 -4
- package/dist/design-system/p-31c1235ac5.entry.js +0 -4
- package/dist/design-system/p-3259acaa64.entry.js +0 -4
- package/dist/design-system/p-339d85cca0.entry.js +0 -4
- package/dist/design-system/p-35e63b52e7.entry.js +0 -4
- package/dist/design-system/p-363f3a7ab4.entry.js +0 -4
- package/dist/design-system/p-3d901720f7.entry.js +0 -4
- package/dist/design-system/p-40ba8b9812.entry.js +0 -4
- package/dist/design-system/p-432430e14f.entry.js +0 -4
- package/dist/design-system/p-487807f228.entry.js +0 -4
- package/dist/design-system/p-4a049d1b7f.entry.js +0 -4
- package/dist/design-system/p-4f4cce8ce4.entry.js +0 -4
- package/dist/design-system/p-5a901a9b8e.entry.js +0 -4
- package/dist/design-system/p-5d3330bf93.entry.js +0 -4
- package/dist/design-system/p-640223834c.entry.js +0 -4
- package/dist/design-system/p-6b9aab417f.entry.js +0 -4
- package/dist/design-system/p-799705af3a.entry.js +0 -4
- package/dist/design-system/p-7e6ed497e7.entry.js +0 -4
- package/dist/design-system/p-82RSSk25.js +0 -4
- package/dist/design-system/p-8e0872fef0.entry.js +0 -4
- package/dist/design-system/p-9617d56181.entry.js +0 -4
- package/dist/design-system/p-BaIoYrFa.js +0 -5
- package/dist/design-system/p-Cb75Rr6o.js +0 -4
- package/dist/design-system/p-CqZ6YSy9.js +0 -4
- package/dist/design-system/p-CqzM3doy.js +0 -4
- package/dist/design-system/p-CuwLeg-T.js +0 -5
- package/dist/design-system/p-DHeVI6dR.js +0 -4
- package/dist/design-system/p-DTPbL3uY.js +0 -4
- package/dist/design-system/p-aff68865ee.entry.js +0 -4
- package/dist/design-system/p-b3c6327744.entry.js +0 -4
- package/dist/design-system/p-be9023a38b.entry.js +0 -4
- package/dist/design-system/p-c031d1dce5.entry.js +0 -4
- package/dist/design-system/p-c3ae96e220.entry.js +0 -4
- package/dist/design-system/p-d430812a57.entry.js +0 -4
- package/dist/design-system/p-de1354f022.entry.js +0 -4
- package/dist/design-system/p-e3d0c82e2a.entry.js +0 -4
- package/dist/design-system/p-ea1a5e1f75.entry.js +0 -4
- package/dist/design-system/p-ea7169501c.entry.js +0 -4
- package/dist/design-system/p-eab397e041.entry.js +0 -4
- package/dist/design-system/p-ecba4deb9a.entry.js +0 -4
- package/dist/design-system/p-fe0dbd4b03.entry.js +0 -4
- package/dist/design-system/p-ng5ZzTOj.js +0 -4
- package/dist/esm/contact-Cb75Rr6o.js +0 -1636
- package/dist/esm/ds-content.entry.js +0 -152
- package/dist/esm/ds-divider.entry.js +0 -129
- package/dist/esm/ds-stack.entry.js +0 -222
- package/dist/esm/isEmpty-DmZYZqE9.js +0 -97
- package/dist/esm/stack.interfaces-ng5ZzTOj.js +0 -62
- package/dist/esm/svg-BaIoYrFa.js +0 -1480
- package/dist/esm/validate.decorator-82RSSk25.js +0 -110
- package/dist/types/global/constants/icons.constant.d.ts +0 -38
- package/dist/types/utils/element-states/element-states.decorator.d.ts +0 -3
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +0 -10
- package/dist/types/utils/element-states/element-states.listener.d.ts +0 -15
- package/dist/types/utils/element-states/element-states.subject.d.ts +0 -8
- package/dist/types/utils/element-states/index.d.ts +0 -2
- package/dist/types/utils/keyboard/index.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.decorator.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +0 -8
- package/dist/types/utils/keyboard/keyboard.listener.d.ts +0 -9
- package/dist/types/utils/keyboard/keyboard.subject.d.ts +0 -8
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -1
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -1
- package/dist/types/utils/property-checkers/index.d.ts +0 -19
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -1
- package/dist/types/utils/swipe/index.d.ts +0 -3
- package/dist/types/utils/swipe/swipe.decorator.d.ts +0 -5
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.listener.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.subject.d.ts +0 -11
- package/dist/types/utils/validate.decorator.d.ts +0 -114
- /package/dist/collection/{utils/element-states/element-states.interfaces.js → components/data/data-item.interfaces.js} +0 -0
- /package/dist/collection/{utils/keyboard/keyboard.interfaces.js → components/data/data-label.interfaces.js} +0 -0
- /package/dist/collection/{utils/property-checkers/property-types.js → components/data/data-value.interfaces.js} +0 -0
- /package/dist/collection/{utils/swipe/swipe.interfaces.js → components/data/data.interfaces.js} +0 -0
- /package/dist/collection/utils/{property-checkers/is-iso-date.js → is-iso-date.js} +0 -0
- /package/dist/collection/utils/{keyboard/keyboard.helpers.js → keyboard.js} +0 -0
- /package/dist/types/utils/{property-checkers/is-iso-date.d.ts → is-iso-date.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/is-value-empty.d.ts → is-value-empty.d.ts} +0 -0
- /package/dist/types/utils/{keyboard/keyboard.helpers.d.ts → keyboard.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/property-types.d.ts → property-types.d.ts} +0 -0
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { B as registerInstance,
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
4
|
+
import { B as registerInstance, v as defaultConfig, E as h, F as Host, G as getElement, D as raf, L as rOnLoad } from './index-B-v2Wm-V.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-n47B6oUi.js';
|
|
6
6
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-Duhf3ymL.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { c as require_baseGetTag, b as requireIsObjectLike, a as require_Symbol } from './isObjectLike-BnBXjF_n.js';
|
|
8
|
+
import { r as requireIsArray } from './isArray-B8PCdo6e.js';
|
|
9
|
+
import { h as hasValue } from './has-value-Dmsj8ZQw.js';
|
|
10
|
+
import { f as fetchSvg, s as sanitizeSvg } from './svg-B8KVoKrH.js';
|
|
9
11
|
import { n as normalizeDeprecatedTShirtSize } from './t-shirt-DR5LIaCn.js';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import './config.
|
|
12
|
+
import { T as Type } from './type-7qEQcw90.js';
|
|
13
|
+
import { O as OneOf } from './one-of-CjRvS2Tk.js';
|
|
14
|
+
import { L as ListenToConfig } from './config.decorator-CRYVBTkX.js';
|
|
15
|
+
import './create-validator-decorator-fUav5byo.js';
|
|
16
|
+
import './config.utils-CR4Xudpz.js';
|
|
13
17
|
|
|
14
18
|
/**
|
|
15
19
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -944,6 +948,7 @@ const ICON_SIZES = [
|
|
|
944
948
|
'lg',
|
|
945
949
|
'xl',
|
|
946
950
|
'2xl',
|
|
951
|
+
'3xl',
|
|
947
952
|
'',
|
|
948
953
|
'xsmall',
|
|
949
954
|
'x-small',
|
|
@@ -954,11 +959,12 @@ const ICON_SIZES = [
|
|
|
954
959
|
'xx-large',
|
|
955
960
|
];
|
|
956
961
|
|
|
957
|
-
const iconHostCss = () => `:host{--_icon-position:var(--icon-position, var(--mod-icon-position, static));--_icon-top:var(--icon-top, var(--mod-icon-top));--_icon-right:var(--icon-right, var(--mod-icon-right));--_icon-bottom:var(--icon-bottom, var(--mod-icon-bottom));--_icon-left:var(--icon-left, var(--mod-icon-left));position:var(--_icon-position);top:var(--_icon-top);right:var(--_icon-right);bottom:var(--_icon-bottom);left:var(--_icon-left);--_icon-m:var(--icon-m, var(--mod-icon-m, 0));--_icon-my:var(--icon-my, var(--mod-icon-my));--_icon-mx:var(--icon-mx, var(--mod-icon-mx));--_icon-ml:var(--icon-ml, var(--mod-icon-ml));--_icon-mr:var(--icon-mr, var(--mod-icon-mr));--_icon-mt:var(--icon-mt, var(--mod-icon-mt));--_icon-mb:var(--icon-mb, var(--mod-icon-mb));margin:var(--_icon-m);margin-inline:var(--_icon-mx);margin-block:var(--_icon-my);margin-left:var(--_icon-ml);margin-right:var(--_icon-mr);margin-top:var(--_icon-mt);margin-bottom:var(--_icon-mb);--_icon-size:var(--icon-size, var(--mod-icon-size, var(--ds-icon-size-base)));--_icon-inner-size:var(--icon-inner-size, var(--mod-icon-inner-size, var(--ds-icon-size-base)));--_icon-inner-mt:var(--icon-inner-mt, var(--mod-icon-inner-mt, 0));--_icon-color:var(--icon-color, var(--mod-icon-color, var(--ds-icon-color-primary)));--_icon-shape:var(--icon-shape, var(--mod-icon-shape, var(--ds-icon-color-primary)));--_icon-tile-size:var(--icon-tile-size, var(--mod-icon-tile-size, var(--ds-icon-tile-size-base-mobile)));--_icon-tile-size-tablet:var(--icon-tile-size-tablet, var(--mod-icon-tile-size-tablet, var(--ds-icon-tile-size-base-tablet)));--_icon-tile-color-background:var(--icon-tile-color-background, var(--mod-icon-tile-color-background, var(--ds-icon-tile-color-purple)));--_icon-tile-radius:var(--icon-tile-radius, var(--mod-icon-tile-radius, var(--ds-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_icon-size);height:var(--_icon-size);max-height:var(--_icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;padding:.063rem;margin-top:var(--_icon-inner-mt);width:var(--_icon-inner-size);height:var(--_icon-inner-size);max-height:var(--_icon-inner-size)}:host #inner>svg{vertical-align:top}:host(.is-filled) svg svg,:host(.is-filled) svg g,:host(.is-filled) svg path,:host(.is-filled) svg circle{fill:var(--_icon-color)}:host(:not(.is-filled)) svg path[fill="#E9FBF7"]{fill:var(--icon-brand-color, #E9FBF7)}:host(:not(.is-filled)) svg path[fill="#e9fbf7"]{fill:var(--icon-brand-color, #e9fbf7)}:host(:not(.is-filled)) svg path[fill="#CBF2EC"]{fill:var(--icon-brand-color, #CBF2EC)}:host(:not(.is-filled)) svg path[fill="#cbf2ec"]{fill:var(--icon-brand-color, #cbf2ec)}:host(:not(.is-filled)) svg path[fill="#94E3D4"]{fill:var(--icon-brand-color, #94E3D4)}:host(:not(.is-filled)) svg path[fill="#94e3d4"]{fill:var(--icon-brand-color, #94e3d4)}:host(:not(.is-filled)) svg path[fill="#21D9AC"]{fill:var(--icon-brand-color, #21D9AC)}:host(:not(.is-filled)) svg path[fill="#21d9ac"]{fill:var(--icon-brand-color, #21d9ac)}:host(:not(.is-filled)) svg path[fill="#00B28F"]{fill:var(--icon-brand-color, #00B28F)}:host(:not(.is-filled)) svg path[fill="#00b28f"]{fill:var(--icon-brand-color, #00b28f)}:host(:not(.is-filled)) svg path[fill="#1B5951"]{fill:var(--icon-brand-color, #1B5951)}:host(:not(.is-filled)) svg path[fill="#1b5951"]{fill:var(--icon-brand-color, #1b5951)}:host(:not(.is-filled)) svg path[fill="#FFF9E8"]{fill:var(--icon-brand-color, #FFF9E8)}:host(:not(.is-filled)) svg path[fill="#fff9e8"]{fill:var(--icon-brand-color, #fff9e8)}:host(:not(.is-filled)) svg path[fill="#FFECBC"]{fill:var(--icon-brand-color, #FFECBC)}:host(:not(.is-filled)) svg path[fill="#ffecbc"]{fill:var(--icon-brand-color, #ffecbc)}:host(:not(.is-filled)) svg path[fill="#FAE052"]{fill:var(--icon-brand-color, #FAE052)}:host(:not(.is-filled)) svg path[fill="#fae052"]{fill:var(--icon-brand-color, #fae052)}:host(:not(.is-filled)) svg path[fill="#FFBE19"]{fill:var(--icon-brand-color, #FFBE19)}:host(:not(.is-filled)) svg path[fill="#ffbe19"]{fill:var(--icon-brand-color, #ffbe19)}:host(:not(.is-filled)) svg path[fill="#FA9319"]{fill:var(--icon-brand-color, #FA9319)}:host(:not(.is-filled)) svg path[fill="#fa9319"]{fill:var(--icon-brand-color, #fa9319)}:host(:not(.is-filled)) svg path[fill="#B24A00"]{fill:var(--icon-brand-color, #B24A00)}:host(:not(.is-filled)) svg path[fill="#b24a00"]{fill:var(--icon-brand-color, #b24a00)}:host(:not(.is-filled)) svg path[fill="#FFEEF1"]{fill:var(--icon-brand-color, #FFEEF1)}:host(:not(.is-filled)) svg path[fill="#ffeef1"]{fill:var(--icon-brand-color, #ffeef1)}:host(:not(.is-filled)) svg path[fill="#FFD7D7"]{fill:var(--icon-brand-color, #FFD7D7)}:host(:not(.is-filled)) svg path[fill="#ffd7d7"]{fill:var(--icon-brand-color, #ffd7d7)}:host(:not(.is-filled)) svg path[fill="#FFACA6"]{fill:var(--icon-brand-color, #FFACA6)}:host(:not(.is-filled)) svg path[fill="#ffaca6"]{fill:var(--icon-brand-color, #ffaca6)}:host(:not(.is-filled)) svg path[fill="#FF596F"]{fill:var(--icon-brand-color, #FF596F)}:host(:not(.is-filled)) svg path[fill="#ff596f"]{fill:var(--icon-brand-color, #ff596f)}:host(:not(.is-filled)) svg path[fill="#D9304C"]{fill:var(--icon-brand-color, #D9304C)}:host(:not(.is-filled)) svg path[fill="#d9304c"]{fill:var(--icon-brand-color, #d9304c)}:host(:not(.is-filled)) svg path[fill="#99172D"]{fill:var(--icon-brand-color, #99172D)}:host(:not(.is-filled)) svg path[fill="#99172d"]{fill:var(--icon-brand-color, #99172d)}:host(:not(.is-filled)) svg path[fill="#F9F3FF"]{fill:var(--icon-brand-color, #F9F3FF)}:host(:not(.is-filled)) svg path[fill="#f9f3ff"]{fill:var(--icon-brand-color, #f9f3ff)}:host(:not(.is-filled)) svg path[fill="#E1D9FF"]{fill:var(--icon-brand-color, #E1D9FF)}:host(:not(.is-filled)) svg path[fill="#e1d9ff"]{fill:var(--icon-brand-color, #e1d9ff)}:host(:not(.is-filled)) svg path[fill="#B8B2FF"]{fill:var(--icon-brand-color, #B8B2FF)}:host(:not(.is-filled)) svg path[fill="#b8b2ff"]{fill:var(--icon-brand-color, #b8b2ff)}:host(:not(.is-filled)) svg path[fill="#BE82FA"]{fill:var(--icon-brand-color, #BE82FA)}:host(:not(.is-filled)) svg path[fill="#be82fa"]{fill:var(--icon-brand-color, #be82fa)}:host(:not(.is-filled)) svg path[fill="#9F52CC"]{fill:var(--icon-brand-color, #9F52CC)}:host(:not(.is-filled)) svg path[fill="#9f52cc"]{fill:var(--icon-brand-color, #9f52cc)}:host(:not(.is-filled)) svg path[fill="#6C2273"]{fill:var(--icon-brand-color, #6C2273)}:host(:not(.is-filled)) svg path[fill="#6c2273"]{fill:var(--icon-brand-color, #6c2273)}:host(:not(.is-filled)) svg path[fill="#000D6E"]{fill:var(--icon-brand-color, #000D6E)}:host(:not(.is-filled)) svg path[fill="#000d6e"]{fill:var(--icon-brand-color, #000d6e)}:host(.is-inline){display:-ms-inline-flexbox;display:inline-flex;line-height:1}:host(.has-shadow) svg{-webkit-filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5));filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5))}:host(.turn-plus) #inner{-webkit-transform:rotate(225deg);transform:rotate(225deg)}:host(.turn-nav-go-down) #inner,:host(.turn-caret-down) #inner,:host(.turn-caret-up) #inner{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.is-tile){background:var(--_icon-tile-color-background);border-radius:var(--_icon-tile-radius);height:var(--_icon-tile-size);--mod-icon-size:var(--_icon-tile-size);--mod-icon-inner-size:var(--_icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_icon-tile-size-tablet);--mod-icon-size:var(--_icon-tile-size-tablet);--mod-icon-inner-size:var(--_icon-tile-size-tablet)}}:host(.is-xs:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xs);--mod-icon-inner-size:var(--ds-icon-size-xs)}:host(.is-sm:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-sm);--mod-icon-inner-size:var(--ds-icon-size-sm)}:host(.is-md:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:var(--ds-icon-size-md)}:host(.is-lg:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:var(--ds-icon-size-lg)}:host(.is-xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:var(--ds-icon-size-xl)}:host(.is-2xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:var(--ds-icon-size-2xl)}:host(.is-tile.is-lg){--mod-icon-tile-size:var(--ds-icon-tile-size-lg-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-lg-tablet)}:host(.is-tile.is-xl){--mod-icon-tile-size:var(--ds-icon-tile-size-xl-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-xl-tablet)}:host(.is-inverted){--mod-icon-color:var(--ds-icon-color-white)}:host(.is-disabled){--mod-icon-color:var(--ds-icon-color-disabled)}:host(.is-primary){--mod-icon-color:var(--ds-icon-color-primary);--mod-icon-shape:var(--ds-global-color-primary-5)}:host(.is-primary-light){--mod-icon-color:var(--ds-icon-color-primary-light);--mod-icon-shape:var(--ds-global-color-primary-light-5)}:host(.is-info){--mod-icon-color:var(--ds-icon-color-info);--mod-icon-shape:var(--ds-global-color-info-5)}:host(.is-success){--mod-icon-color:var(--ds-icon-color-success);--mod-icon-shape:var(--ds-global-color-success-5)}:host(.is-danger){--mod-icon-color:var(--ds-icon-color-danger);--mod-icon-shape:var(--ds-global-color-danger-5)}:host(.is-warning){--mod-icon-color:var(--ds-icon-color-warning);--mod-icon-shape:var(--ds-global-color-warning-5)}:host(.is-white){--mod-icon-color:var(--ds-icon-color-white);--mod-icon-shape:var(--ds-global-color-white-5)}:host(.is-grey){--mod-icon-color:var(--ds-icon-color-grey);--mod-icon-shape:var(--ds-global-color-grey-5)}:host(.is-tile-green){--mod-icon-tile-color-background:var(--ds-icon-tile-color-green)}:host(.is-tile-red){--mod-icon-tile-color-background:var(--ds-icon-tile-color-red)}:host(.is-tile-yellow){--mod-icon-tile-color-background:var(--ds-icon-tile-color-yellow)}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-color:white}:host(.has-shape-triangle){--mod-icon-inner-mt:2px}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-size:var(--ds-icon-size-base);--mod-icon-inner-size:calc(var(--ds-icon-size-base) * 0.6)}:host(.has-shape-circle.is-md),:host(.has-shape-triangle.is-md){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:calc(var(--ds-icon-size-md) * 0.6)}:host(.has-shape-circle.is-lg),:host(.has-shape-triangle.is-lg){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:calc(var(--ds-icon-size-lg) * 0.6)}:host(.has-shape-circle.is-xl),:host(.has-shape-triangle.is-xl){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:calc(var(--ds-icon-size-xl) * 0.6)}:host(.has-shape-circle.is-2xl),:host(.has-shape-triangle.is-2xl){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:calc(var(--ds-icon-size-2xl) * 0.6)}:host(.has-shape-circle)::before{content:"";-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>');mask-image:url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>');-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}:host(.has-shape-triangle)::before{content:"";-webkit-mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'> <path fill='black' d='M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006'/> </svg>");mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'> <path fill='black' d='M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006'/> </svg>");-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}`;
|
|
962
|
+
const iconHostCss = () => `:host{--_icon-position:var(--icon-position, var(--mod-icon-position, static));--_icon-top:var(--icon-top, var(--mod-icon-top));--_icon-right:var(--icon-right, var(--mod-icon-right));--_icon-bottom:var(--icon-bottom, var(--mod-icon-bottom));--_icon-left:var(--icon-left, var(--mod-icon-left));position:var(--_icon-position);top:var(--_icon-top);right:var(--_icon-right);bottom:var(--_icon-bottom);left:var(--_icon-left);--_icon-m:var(--icon-m, var(--mod-icon-m, 0));--_icon-my:var(--icon-my, var(--mod-icon-my));--_icon-mx:var(--icon-mx, var(--mod-icon-mx));--_icon-ml:var(--icon-ml, var(--mod-icon-ml));--_icon-mr:var(--icon-mr, var(--mod-icon-mr));--_icon-mt:var(--icon-mt, var(--mod-icon-mt));--_icon-mb:var(--icon-mb, var(--mod-icon-mb));margin:var(--_icon-m);margin-inline:var(--_icon-mx);margin-block:var(--_icon-my);margin-left:var(--_icon-ml);margin-right:var(--_icon-mr);margin-top:var(--_icon-mt);margin-bottom:var(--_icon-mb);--_icon-size:var(--icon-size, var(--mod-icon-size, var(--ds-icon-size-base)));--_icon-inner-size:var(--icon-inner-size, var(--mod-icon-inner-size, var(--ds-icon-size-base)));--_icon-inner-mt:var(--icon-inner-mt, var(--mod-icon-inner-mt, 0));--_icon-color:var(--icon-color, var(--mod-icon-color, var(--ds-icon-color-primary)));--_icon-shape:var(--icon-shape, var(--mod-icon-shape, var(--ds-icon-color-primary)));--_icon-tile-size:var(--icon-tile-size, var(--mod-icon-tile-size, var(--ds-icon-tile-size-base-mobile)));--_icon-tile-size-tablet:var(--icon-tile-size-tablet, var(--mod-icon-tile-size-tablet, var(--ds-icon-tile-size-base-tablet)));--_icon-tile-color-background:var(--icon-tile-color-background, var(--mod-icon-tile-color-background, var(--ds-icon-tile-color-purple)));--_icon-tile-radius:var(--icon-tile-radius, var(--mod-icon-tile-radius, var(--ds-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_icon-size);height:var(--_icon-size);max-height:var(--_icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;margin-top:var(--_icon-inner-mt);width:var(--_icon-inner-size);height:var(--_icon-inner-size);max-height:var(--_icon-inner-size)}:host #inner>svg{vertical-align:top}:host(.is-filled) svg svg,:host(.is-filled) svg g,:host(.is-filled) svg path,:host(.is-filled) svg circle{fill:var(--_icon-color)}:host(:not(.is-filled)) svg path[fill="#E9FBF7"]{fill:var(--icon-brand-color, #E9FBF7)}:host(:not(.is-filled)) svg path[fill="#e9fbf7"]{fill:var(--icon-brand-color, #e9fbf7)}:host(:not(.is-filled)) svg path[fill="#CBF2EC"]{fill:var(--icon-brand-color, #CBF2EC)}:host(:not(.is-filled)) svg path[fill="#cbf2ec"]{fill:var(--icon-brand-color, #cbf2ec)}:host(:not(.is-filled)) svg path[fill="#94E3D4"]{fill:var(--icon-brand-color, #94E3D4)}:host(:not(.is-filled)) svg path[fill="#94e3d4"]{fill:var(--icon-brand-color, #94e3d4)}:host(:not(.is-filled)) svg path[fill="#21D9AC"]{fill:var(--icon-brand-color, #21D9AC)}:host(:not(.is-filled)) svg path[fill="#21d9ac"]{fill:var(--icon-brand-color, #21d9ac)}:host(:not(.is-filled)) svg path[fill="#00B28F"]{fill:var(--icon-brand-color, #00B28F)}:host(:not(.is-filled)) svg path[fill="#00b28f"]{fill:var(--icon-brand-color, #00b28f)}:host(:not(.is-filled)) svg path[fill="#1B5951"]{fill:var(--icon-brand-color, #1B5951)}:host(:not(.is-filled)) svg path[fill="#1b5951"]{fill:var(--icon-brand-color, #1b5951)}:host(:not(.is-filled)) svg path[fill="#FFF9E8"]{fill:var(--icon-brand-color, #FFF9E8)}:host(:not(.is-filled)) svg path[fill="#fff9e8"]{fill:var(--icon-brand-color, #fff9e8)}:host(:not(.is-filled)) svg path[fill="#FFECBC"]{fill:var(--icon-brand-color, #FFECBC)}:host(:not(.is-filled)) svg path[fill="#ffecbc"]{fill:var(--icon-brand-color, #ffecbc)}:host(:not(.is-filled)) svg path[fill="#FAE052"]{fill:var(--icon-brand-color, #FAE052)}:host(:not(.is-filled)) svg path[fill="#fae052"]{fill:var(--icon-brand-color, #fae052)}:host(:not(.is-filled)) svg path[fill="#FFBE19"]{fill:var(--icon-brand-color, #FFBE19)}:host(:not(.is-filled)) svg path[fill="#ffbe19"]{fill:var(--icon-brand-color, #ffbe19)}:host(:not(.is-filled)) svg path[fill="#FA9319"]{fill:var(--icon-brand-color, #FA9319)}:host(:not(.is-filled)) svg path[fill="#fa9319"]{fill:var(--icon-brand-color, #fa9319)}:host(:not(.is-filled)) svg path[fill="#B24A00"]{fill:var(--icon-brand-color, #B24A00)}:host(:not(.is-filled)) svg path[fill="#b24a00"]{fill:var(--icon-brand-color, #b24a00)}:host(:not(.is-filled)) svg path[fill="#FFEEF1"]{fill:var(--icon-brand-color, #FFEEF1)}:host(:not(.is-filled)) svg path[fill="#ffeef1"]{fill:var(--icon-brand-color, #ffeef1)}:host(:not(.is-filled)) svg path[fill="#FFD7D7"]{fill:var(--icon-brand-color, #FFD7D7)}:host(:not(.is-filled)) svg path[fill="#ffd7d7"]{fill:var(--icon-brand-color, #ffd7d7)}:host(:not(.is-filled)) svg path[fill="#FFACA6"]{fill:var(--icon-brand-color, #FFACA6)}:host(:not(.is-filled)) svg path[fill="#ffaca6"]{fill:var(--icon-brand-color, #ffaca6)}:host(:not(.is-filled)) svg path[fill="#FF596F"]{fill:var(--icon-brand-color, #FF596F)}:host(:not(.is-filled)) svg path[fill="#ff596f"]{fill:var(--icon-brand-color, #ff596f)}:host(:not(.is-filled)) svg path[fill="#D9304C"]{fill:var(--icon-brand-color, #D9304C)}:host(:not(.is-filled)) svg path[fill="#d9304c"]{fill:var(--icon-brand-color, #d9304c)}:host(:not(.is-filled)) svg path[fill="#99172D"]{fill:var(--icon-brand-color, #99172D)}:host(:not(.is-filled)) svg path[fill="#99172d"]{fill:var(--icon-brand-color, #99172d)}:host(:not(.is-filled)) svg path[fill="#F9F3FF"]{fill:var(--icon-brand-color, #F9F3FF)}:host(:not(.is-filled)) svg path[fill="#f9f3ff"]{fill:var(--icon-brand-color, #f9f3ff)}:host(:not(.is-filled)) svg path[fill="#E1D9FF"]{fill:var(--icon-brand-color, #E1D9FF)}:host(:not(.is-filled)) svg path[fill="#e1d9ff"]{fill:var(--icon-brand-color, #e1d9ff)}:host(:not(.is-filled)) svg path[fill="#B8B2FF"]{fill:var(--icon-brand-color, #B8B2FF)}:host(:not(.is-filled)) svg path[fill="#b8b2ff"]{fill:var(--icon-brand-color, #b8b2ff)}:host(:not(.is-filled)) svg path[fill="#BE82FA"]{fill:var(--icon-brand-color, #BE82FA)}:host(:not(.is-filled)) svg path[fill="#be82fa"]{fill:var(--icon-brand-color, #be82fa)}:host(:not(.is-filled)) svg path[fill="#9F52CC"]{fill:var(--icon-brand-color, #9F52CC)}:host(:not(.is-filled)) svg path[fill="#9f52cc"]{fill:var(--icon-brand-color, #9f52cc)}:host(:not(.is-filled)) svg path[fill="#6C2273"]{fill:var(--icon-brand-color, #6C2273)}:host(:not(.is-filled)) svg path[fill="#6c2273"]{fill:var(--icon-brand-color, #6c2273)}:host(:not(.is-filled)) svg path[fill="#000D6E"]{fill:var(--icon-brand-color, #000D6E)}:host(:not(.is-filled)) svg path[fill="#000d6e"]{fill:var(--icon-brand-color, #000d6e)}:host(.is-inline){display:-ms-inline-flexbox;display:inline-flex;line-height:1}:host(.has-shadow) svg{-webkit-filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5));filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5))}:host(.turn-plus) #inner{-webkit-transform:rotate(225deg);transform:rotate(225deg)}:host(.turn-nav-go-down) #inner,:host(.turn-caret-down) #inner,:host(.turn-caret-up) #inner{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.is-tile){background:var(--_icon-tile-color-background);border-radius:var(--_icon-tile-radius);height:var(--_icon-tile-size);--mod-icon-size:var(--_icon-tile-size);--mod-icon-inner-size:var(--_icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_icon-tile-size-tablet);--mod-icon-size:var(--_icon-tile-size-tablet);--mod-icon-inner-size:var(--_icon-tile-size-tablet)}}:host(.is-xs:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xs);--mod-icon-inner-size:var(--ds-icon-size-xs)}:host(.is-sm:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-sm);--mod-icon-inner-size:var(--ds-icon-size-sm)}:host(.is-md:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:var(--ds-icon-size-md)}:host(.is-lg:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:var(--ds-icon-size-lg)}:host(.is-xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:var(--ds-icon-size-xl)}:host(.is-2xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:var(--ds-icon-size-2xl)}:host(.is-3xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-3xl);--mod-icon-inner-size:var(--ds-icon-size-3xl)}:host(.is-tile.is-lg){--mod-icon-tile-size:var(--ds-icon-tile-size-lg-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-lg-tablet)}:host(.is-tile.is-xl){--mod-icon-tile-size:var(--ds-icon-tile-size-xl-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-xl-tablet)}:host(.is-inverted){--mod-icon-color:var(--ds-icon-color-white)}:host(.is-disabled){--mod-icon-color:var(--ds-icon-color-disabled)}:host(.is-primary){--mod-icon-color:var(--ds-icon-color-primary);--mod-icon-shape:var(--ds-global-color-primary-5)}:host(.is-primary-light){--mod-icon-color:var(--ds-icon-color-primary-light);--mod-icon-shape:var(--ds-global-color-primary-light-5)}:host(.is-info){--mod-icon-color:var(--ds-icon-color-info);--mod-icon-shape:var(--ds-global-color-info-5)}:host(.is-success){--mod-icon-color:var(--ds-icon-color-success);--mod-icon-shape:var(--ds-global-color-success-5)}:host(.is-danger){--mod-icon-color:var(--ds-icon-color-danger);--mod-icon-shape:var(--ds-global-color-danger-5)}:host(.is-warning){--mod-icon-color:var(--ds-icon-color-warning);--mod-icon-shape:var(--ds-global-color-warning-5)}:host(.is-white){--mod-icon-color:var(--ds-icon-color-white);--mod-icon-shape:var(--ds-global-color-white-5)}:host(.is-grey){--mod-icon-color:var(--ds-icon-color-grey);--mod-icon-shape:var(--ds-global-color-grey-5)}:host(.is-tile-green){--mod-icon-tile-color-background:var(--ds-icon-tile-color-green)}:host(.is-tile-red){--mod-icon-tile-color-background:var(--ds-icon-tile-color-red)}:host(.is-tile-yellow){--mod-icon-tile-color-background:var(--ds-icon-tile-color-yellow)}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-color:white}:host(.has-shape-triangle){--mod-icon-inner-mt:2px}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-size:var(--ds-icon-size-base);--mod-icon-inner-size:calc(var(--ds-icon-size-base) * 0.6)}:host(.has-shape-circle.is-md),:host(.has-shape-triangle.is-md){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:calc(var(--ds-icon-size-md) * 0.6)}:host(.has-shape-circle.is-lg),:host(.has-shape-triangle.is-lg){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:calc(var(--ds-icon-size-lg) * 0.6)}:host(.has-shape-circle.is-xl),:host(.has-shape-triangle.is-xl){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:calc(var(--ds-icon-size-xl) * 0.6)}:host(.has-shape-circle.is-2xl),:host(.has-shape-triangle.is-2xl){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:calc(var(--ds-icon-size-2xl) * 0.6)}:host(.has-shape-circle)::before{content:"";-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>');mask-image:url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>');-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}:host(.has-shape-triangle)::before{content:"";-webkit-mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'> <path fill='black' d='M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006'/> </svg>");mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'> <path fill='black' d='M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006'/> </svg>");-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}`;
|
|
958
963
|
|
|
959
964
|
const Icon = class {
|
|
960
965
|
constructor(hostRef) {
|
|
961
966
|
registerInstance(this, hostRef);
|
|
967
|
+
this._fetchedSrc = '';
|
|
962
968
|
this.icons = defaultConfig.icons;
|
|
963
969
|
this.svgContent = '';
|
|
964
970
|
/**
|
|
@@ -973,6 +979,10 @@ const Icon = class {
|
|
|
973
979
|
* Svg content.
|
|
974
980
|
*/
|
|
975
981
|
this.svg = '';
|
|
982
|
+
/**
|
|
983
|
+
* URL of an SVG file to fetch and display.
|
|
984
|
+
*/
|
|
985
|
+
this.src = '';
|
|
976
986
|
/**
|
|
977
987
|
* If `true` the icon is displayed in a circle with a background color.
|
|
978
988
|
*/
|
|
@@ -1013,40 +1023,47 @@ const Icon = class {
|
|
|
1013
1023
|
* PRIVATE METHODS
|
|
1014
1024
|
* ------------------------------------------------------
|
|
1015
1025
|
*/
|
|
1016
|
-
this.generateSvgContent = (iconName) => {
|
|
1026
|
+
this.generateSvgContent = async (iconName) => {
|
|
1017
1027
|
const hasIcons = Object.keys(this.icons).length > 0;
|
|
1018
1028
|
if (hasIcons && iconName && iconName.length > 0) {
|
|
1019
1029
|
const icon = this.icons[`Icon${upperFirst(camelCase(iconName))}`];
|
|
1020
1030
|
if (icon) {
|
|
1021
|
-
this.svgContent
|
|
1031
|
+
if (icon !== this.svgContent) {
|
|
1032
|
+
this.svgContent = icon;
|
|
1033
|
+
}
|
|
1022
1034
|
return;
|
|
1023
1035
|
}
|
|
1024
1036
|
else {
|
|
1025
1037
|
console.error(`Icon "${iconName}" not found in design system configuration.`, '\n\nCheck out the documentation on how to import icons during initialization.', '\nhttps://design.baloise.dev/?path=/docs/components-data-display-icon--documentation&globals=framework:angular#import-during-initialization');
|
|
1026
1038
|
}
|
|
1027
1039
|
}
|
|
1040
|
+
if (this.src && this.src !== this._fetchedSrc) {
|
|
1041
|
+
this._fetchedSrc = this.src;
|
|
1042
|
+
this.svgContent = await fetchSvg(this.src);
|
|
1043
|
+
return;
|
|
1044
|
+
}
|
|
1028
1045
|
if (this.svg) {
|
|
1029
|
-
|
|
1046
|
+
const sanitized = sanitizeSvg(this.svg);
|
|
1047
|
+
if (sanitized !== this.svgContent) {
|
|
1048
|
+
this.svgContent = sanitized;
|
|
1049
|
+
}
|
|
1030
1050
|
}
|
|
1031
1051
|
};
|
|
1032
1052
|
}
|
|
1033
1053
|
createLogger(log) {
|
|
1034
1054
|
this.log = log;
|
|
1035
1055
|
}
|
|
1036
|
-
sizeChanged(newValue) {
|
|
1037
|
-
this.size = normalizeDeprecatedTShirtSize(newValue);
|
|
1038
|
-
}
|
|
1039
1056
|
/**
|
|
1040
1057
|
* LIFE CYCLE
|
|
1041
1058
|
* ------------------------------------------------------
|
|
1042
1059
|
*/
|
|
1043
1060
|
connectedCallback() {
|
|
1044
|
-
|
|
1061
|
+
// generateSvgContent is async; for src-based icons the first render shows nothing
|
|
1062
|
+
// while the fetch is in flight. The @State update triggers a follow-up render.
|
|
1045
1063
|
this.generateSvgContent(this.name);
|
|
1046
|
-
this.size = normalizeDeprecatedTShirtSize(this.size) || '';
|
|
1047
1064
|
}
|
|
1048
|
-
componentWillRender() {
|
|
1049
|
-
this.generateSvgContent(this.name);
|
|
1065
|
+
async componentWillRender() {
|
|
1066
|
+
await this.generateSvgContent(this.name);
|
|
1050
1067
|
}
|
|
1051
1068
|
/**
|
|
1052
1069
|
* LISTENERS
|
|
@@ -1057,16 +1074,16 @@ const Icon = class {
|
|
|
1057
1074
|
*/
|
|
1058
1075
|
async configChanged(state) {
|
|
1059
1076
|
this.icons = state.icons;
|
|
1060
|
-
this.generateSvgContent(this.name);
|
|
1077
|
+
await this.generateSvgContent(this.name);
|
|
1061
1078
|
}
|
|
1062
1079
|
parseColor() {
|
|
1063
|
-
if (
|
|
1080
|
+
if (this.disabled) {
|
|
1064
1081
|
return 'grey';
|
|
1065
1082
|
}
|
|
1066
|
-
if (
|
|
1083
|
+
if (this.invalid) {
|
|
1067
1084
|
return 'danger';
|
|
1068
1085
|
}
|
|
1069
|
-
if ((this.color
|
|
1086
|
+
if (!hasValue(this.color) && !this.svg && !this.src) {
|
|
1070
1087
|
return 'primary';
|
|
1071
1088
|
}
|
|
1072
1089
|
return this.color;
|
|
@@ -1077,10 +1094,11 @@ const Icon = class {
|
|
|
1077
1094
|
*/
|
|
1078
1095
|
render() {
|
|
1079
1096
|
const color = this.parseColor();
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
[`is-${
|
|
1097
|
+
const size = normalizeDeprecatedTShirtSize(this.size) || '';
|
|
1098
|
+
return (h(Host, { key: 'ef88ac381462c6bdb94a26ea1a34ae305d835bc0', "aria-hidden": "true", class: {
|
|
1099
|
+
'is-filled': !this.svg && !this.src,
|
|
1100
|
+
[`is-${color}`]: hasValue(color),
|
|
1101
|
+
[`is-${size}`]: hasValue(this.size),
|
|
1084
1102
|
[`turn-${this.name}`]: this.turn,
|
|
1085
1103
|
'is-inverted': this.inverted,
|
|
1086
1104
|
'is-inline': this.inline,
|
|
@@ -1089,15 +1107,10 @@ const Icon = class {
|
|
|
1089
1107
|
'has-shadow': this.shadow,
|
|
1090
1108
|
'is-disabled': this.disabled,
|
|
1091
1109
|
'is-invalid': this.invalid,
|
|
1092
|
-
[`has-shape-${this.shape}`]:
|
|
1093
|
-
} }, h("div", { key: '
|
|
1110
|
+
[`has-shape-${this.shape}`]: hasValue(this.shape),
|
|
1111
|
+
} }, h("div", { key: '48d72dc12d2c48d394538a8a41c990d29d21b927', id: "inner", part: "inner", innerHTML: this.svgContent })));
|
|
1094
1112
|
}
|
|
1095
1113
|
get el() { return getElement(this); }
|
|
1096
|
-
static get watchers() { return {
|
|
1097
|
-
"size": [{
|
|
1098
|
-
"sizeChanged": 0
|
|
1099
|
-
}]
|
|
1100
|
-
}; }
|
|
1101
1114
|
};
|
|
1102
1115
|
__decorate([
|
|
1103
1116
|
Logger('icon'),
|
|
@@ -1106,55 +1119,59 @@ __decorate([
|
|
|
1106
1119
|
__metadata("design:returntype", void 0)
|
|
1107
1120
|
], Icon.prototype, "createLogger", null);
|
|
1108
1121
|
__decorate([
|
|
1109
|
-
|
|
1122
|
+
Type('string'),
|
|
1110
1123
|
__metadata("design:type", String)
|
|
1111
1124
|
], Icon.prototype, "name", void 0);
|
|
1112
1125
|
__decorate([
|
|
1113
|
-
|
|
1126
|
+
Type('string'),
|
|
1114
1127
|
__metadata("design:type", String)
|
|
1115
1128
|
], Icon.prototype, "svg", void 0);
|
|
1116
1129
|
__decorate([
|
|
1117
|
-
|
|
1130
|
+
Type('string'),
|
|
1131
|
+
__metadata("design:type", String)
|
|
1132
|
+
], Icon.prototype, "src", void 0);
|
|
1133
|
+
__decorate([
|
|
1134
|
+
OneOf(ICON_SIZES),
|
|
1118
1135
|
__metadata("design:type", Object)
|
|
1119
1136
|
], Icon.prototype, "size", void 0);
|
|
1120
1137
|
__decorate([
|
|
1121
|
-
|
|
1138
|
+
OneOf(ICON_COLORS),
|
|
1122
1139
|
__metadata("design:type", Object)
|
|
1123
1140
|
], Icon.prototype, "color", void 0);
|
|
1124
1141
|
__decorate([
|
|
1125
|
-
|
|
1142
|
+
OneOf(ICON_SHAPES),
|
|
1126
1143
|
__metadata("design:type", String)
|
|
1127
1144
|
], Icon.prototype, "shape", void 0);
|
|
1128
1145
|
__decorate([
|
|
1129
|
-
|
|
1146
|
+
Type('boolean'),
|
|
1130
1147
|
__metadata("design:type", Boolean)
|
|
1131
1148
|
], Icon.prototype, "tile", void 0);
|
|
1132
1149
|
__decorate([
|
|
1133
|
-
|
|
1150
|
+
OneOf(ICON_TILE_COLORS),
|
|
1134
1151
|
__metadata("design:type", String)
|
|
1135
1152
|
], Icon.prototype, "tileColor", void 0);
|
|
1136
1153
|
__decorate([
|
|
1137
|
-
|
|
1154
|
+
Type('boolean'),
|
|
1138
1155
|
__metadata("design:type", Boolean)
|
|
1139
1156
|
], Icon.prototype, "inline", void 0);
|
|
1140
1157
|
__decorate([
|
|
1141
|
-
|
|
1158
|
+
Type('boolean'),
|
|
1142
1159
|
__metadata("design:type", Boolean)
|
|
1143
1160
|
], Icon.prototype, "inverted", void 0);
|
|
1144
1161
|
__decorate([
|
|
1145
|
-
|
|
1162
|
+
Type('boolean'),
|
|
1146
1163
|
__metadata("design:type", Boolean)
|
|
1147
1164
|
], Icon.prototype, "turn", void 0);
|
|
1148
1165
|
__decorate([
|
|
1149
|
-
|
|
1166
|
+
Type('boolean'),
|
|
1150
1167
|
__metadata("design:type", Boolean)
|
|
1151
1168
|
], Icon.prototype, "shadow", void 0);
|
|
1152
1169
|
__decorate([
|
|
1153
|
-
|
|
1170
|
+
Type('boolean'),
|
|
1154
1171
|
__metadata("design:type", Boolean)
|
|
1155
1172
|
], Icon.prototype, "disabled", void 0);
|
|
1156
1173
|
__decorate([
|
|
1157
|
-
|
|
1174
|
+
Type('boolean'),
|
|
1158
1175
|
__metadata("design:type", Boolean)
|
|
1159
1176
|
], Icon.prototype, "invalid", void 0);
|
|
1160
1177
|
__decorate([
|
|
@@ -1318,11 +1335,6 @@ const Spinner = class {
|
|
|
1318
1335
|
}
|
|
1319
1336
|
}
|
|
1320
1337
|
}
|
|
1321
|
-
smallChanged(newValue, oldValue) {
|
|
1322
|
-
if (newValue !== oldValue && newValue === true) {
|
|
1323
|
-
this.size = 'sm';
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
1338
|
variationChanged(newValue, oldValue) {
|
|
1327
1339
|
if (newValue !== oldValue) {
|
|
1328
1340
|
if (this.variation === 'circle') {
|
|
@@ -1337,10 +1349,6 @@ const Spinner = class {
|
|
|
1337
1349
|
* LIFECYCLE
|
|
1338
1350
|
* ------------------------------------------------------
|
|
1339
1351
|
*/
|
|
1340
|
-
connectedCallback() {
|
|
1341
|
-
setupValidation(this);
|
|
1342
|
-
this.smallChanged(this.small, false);
|
|
1343
|
-
}
|
|
1344
1352
|
componentDidLoad() {
|
|
1345
1353
|
if (this.variation === 'logo') {
|
|
1346
1354
|
this.animate();
|
|
@@ -1389,23 +1397,24 @@ const Spinner = class {
|
|
|
1389
1397
|
*/
|
|
1390
1398
|
render() {
|
|
1391
1399
|
const ariaLabel = this.label || i18nDsSpinner[this.language].loading;
|
|
1392
|
-
|
|
1400
|
+
let size = this.size;
|
|
1401
|
+
if (this.small === true) {
|
|
1402
|
+
size = 'sm';
|
|
1403
|
+
}
|
|
1404
|
+
return (h(Host, { key: '90ffeeb92884b2408cc07d2a3d254ae640bfba9f', role: "progressbar", "aria-label": ariaLabel, class: {
|
|
1393
1405
|
'is-animated': this.animated,
|
|
1394
1406
|
'is-circle': this.variation === 'circle',
|
|
1395
|
-
'is-sm':
|
|
1407
|
+
'is-sm': size === 'sm',
|
|
1396
1408
|
'is-white': this.color === 'white',
|
|
1397
|
-
'is-label-right':
|
|
1398
|
-
'is-label-bottom':
|
|
1399
|
-
} }, h("div", { key: '
|
|
1409
|
+
'is-label-right': hasValue(this.label) && this.labelPosition === 'right',
|
|
1410
|
+
'is-label-bottom': hasValue(this.label) && this.labelPosition === 'bottom',
|
|
1411
|
+
} }, h("div", { key: '35831f8f32b083aef384956258f386ebb4de288c' }, h("div", { key: 'fad87eada8cabe36f7cfadc69767bb6251621226', id: "inner", part: "inner", ref: el => (this.innerEl = el) })), hasValue(this.label) && h("span", { key: 'f2f8a4f600fd5f1f53d54d7dec71578348520f2a', part: "label" }, this.label)));
|
|
1400
1412
|
}
|
|
1401
1413
|
get el() { return getElement(this); }
|
|
1402
1414
|
static get watchers() { return {
|
|
1403
1415
|
"deactivated": [{
|
|
1404
1416
|
"deactivatedChanged": 0
|
|
1405
1417
|
}],
|
|
1406
|
-
"small": [{
|
|
1407
|
-
"smallChanged": 0
|
|
1408
|
-
}],
|
|
1409
1418
|
"variation": [{
|
|
1410
1419
|
"variationChanged": 0
|
|
1411
1420
|
}]
|
|
@@ -1418,35 +1427,35 @@ __decorate([
|
|
|
1418
1427
|
__metadata("design:returntype", void 0)
|
|
1419
1428
|
], Spinner.prototype, "createLogger", null);
|
|
1420
1429
|
__decorate([
|
|
1421
|
-
|
|
1430
|
+
OneOf(SPINNER_COLORS),
|
|
1422
1431
|
__metadata("design:type", String)
|
|
1423
1432
|
], Spinner.prototype, "color", void 0);
|
|
1424
1433
|
__decorate([
|
|
1425
|
-
|
|
1434
|
+
Type('boolean'),
|
|
1426
1435
|
__metadata("design:type", Boolean)
|
|
1427
1436
|
], Spinner.prototype, "deactivated", void 0);
|
|
1428
1437
|
__decorate([
|
|
1429
|
-
|
|
1438
|
+
Type('boolean'),
|
|
1430
1439
|
__metadata("design:type", Boolean)
|
|
1431
1440
|
], Spinner.prototype, "inverted", void 0);
|
|
1432
1441
|
__decorate([
|
|
1433
|
-
|
|
1442
|
+
OneOf(SPINNER_SIZES),
|
|
1434
1443
|
__metadata("design:type", String)
|
|
1435
1444
|
], Spinner.prototype, "size", void 0);
|
|
1436
1445
|
__decorate([
|
|
1437
|
-
|
|
1446
|
+
Type('boolean'),
|
|
1438
1447
|
__metadata("design:type", Boolean)
|
|
1439
1448
|
], Spinner.prototype, "small", void 0);
|
|
1440
1449
|
__decorate([
|
|
1441
|
-
|
|
1450
|
+
Type('string'),
|
|
1442
1451
|
__metadata("design:type", String)
|
|
1443
1452
|
], Spinner.prototype, "label", void 0);
|
|
1444
1453
|
__decorate([
|
|
1445
|
-
|
|
1454
|
+
OneOf(SPINNER_LABEL_POSITIONS),
|
|
1446
1455
|
__metadata("design:type", String)
|
|
1447
1456
|
], Spinner.prototype, "labelPosition", void 0);
|
|
1448
1457
|
__decorate([
|
|
1449
|
-
|
|
1458
|
+
OneOf(SPINNER_VARIATIONS),
|
|
1450
1459
|
__metadata("design:type", String)
|
|
1451
1460
|
], Spinner.prototype, "variation", void 0);
|
|
1452
1461
|
__decorate([
|