@telesign/boreal-web-components 0.1.0-alpha.5 → 0.1.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components-build/bds-avatar.js +1 -1
- package/components-build/bds-breadcrumb-item.d.ts +11 -0
- package/components-build/bds-breadcrumb-item.js +1 -0
- package/components-build/bds-breadcrumb.d.ts +11 -0
- package/components-build/bds-breadcrumb.js +1 -0
- package/components-build/bds-button-group.js +1 -1
- package/components-build/bds-button.js +1 -1
- package/components-build/bds-checkbox-button.d.ts +11 -0
- package/components-build/bds-checkbox-button.js +1 -0
- package/components-build/bds-checkbox-card.js +1 -1
- package/components-build/bds-checkbox-group.d.ts +11 -0
- package/components-build/bds-checkbox-group.js +1 -0
- package/components-build/bds-checkbox.js +1 -1
- package/components-build/bds-dialog.js +1 -1
- package/components-build/bds-divider.js +1 -1
- package/components-build/bds-flag.js +1 -1
- package/components-build/bds-grid-item.js +1 -1
- package/components-build/bds-grid.js +1 -1
- package/components-build/bds-list-menu-item.js +1 -1
- package/components-build/bds-list-menu.js +1 -1
- package/components-build/bds-popover.js +1 -1
- package/components-build/bds-radio-button.js +1 -1
- package/components-build/bds-radio-card.js +1 -1
- package/components-build/bds-radio-group.js +1 -1
- package/components-build/bds-radio.js +1 -1
- package/components-build/bds-select.d.ts +11 -0
- package/components-build/bds-select.js +1 -0
- package/components-build/bds-slider.d.ts +11 -0
- package/components-build/bds-slider.js +1 -0
- package/components-build/bds-tag.js +1 -1
- package/components-build/bds-text-field.js +1 -1
- package/components-build/bds-toggle.js +1 -1
- package/components-build/bds-tooltip.js +1 -1
- package/components-build/bds-typography.js +1 -1
- package/components-build/p-B6e9eIHB.js +1 -0
- package/components-build/p-CJBdGD_4.js +1 -0
- package/components-build/p-DcR7mHFE.js +1 -0
- package/components-build/p-DdOPD9wW.js +1 -0
- package/components-build/{p-BSlaf0ff.js → p-DoNZM78n.js} +1 -1
- package/components-build/p-DrkDx75U.js +1 -0
- package/components-build/p-DuBzr05c.js +1 -0
- package/components-build/p-PmjPRW8X.js +1 -0
- package/components-build/p-cgdh1LO-.js +1 -0
- package/components-build/p-yLNcMg2E.js +1 -0
- package/custom-elements.json +2723 -841
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
- package/dist/boreal-web-components/css/boreal.css +60 -0
- package/dist/boreal-web-components/css/theme-connect.css +15 -0
- package/dist/boreal-web-components/css/theme-engage.css +15 -0
- package/dist/boreal-web-components/css/theme-protect.css +15 -0
- package/dist/boreal-web-components/css/theme-proximus.css +15 -0
- package/dist/boreal-web-components/{p-7bb88855.entry.js → p-02e53626.entry.js} +1 -1
- package/dist/boreal-web-components/p-0357450d.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-efe159aa.entry.js → p-1250ba53.entry.js} +1 -1
- package/dist/boreal-web-components/p-1911b978.entry.js +1 -0
- package/dist/boreal-web-components/p-1mOd23lT.system.js +1 -0
- package/dist/boreal-web-components/{p-48ebbfbe.system.entry.js → p-25823f7d.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-2db71382.system.entry.js +1 -0
- package/dist/boreal-web-components/p-367e40f9.entry.js +1 -0
- package/dist/boreal-web-components/p-3946d587.entry.js +1 -0
- package/dist/boreal-web-components/{p-4dc01078.system.entry.js → p-44b6fe6c.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-024d90b0.system.entry.js → p-48712a63.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-2adf2cd5.entry.js → p-49ea207a.entry.js} +1 -1
- package/dist/boreal-web-components/{p-7aff4c78.entry.js → p-4b028406.entry.js} +1 -1
- package/dist/boreal-web-components/p-4b615de8.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-e0a41cab.system.entry.js → p-4f431941.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-524421f7.system.entry.js +1 -0
- package/dist/boreal-web-components/p-530c8c7f.entry.js +1 -0
- package/dist/boreal-web-components/p-55aeff0c.system.entry.js +1 -0
- package/dist/boreal-web-components/p-5c8650b3.system.entry.js +1 -0
- package/dist/boreal-web-components/p-5e590291.system.entry.js +1 -0
- package/dist/boreal-web-components/p-5ee0841f.entry.js +1 -0
- package/dist/boreal-web-components/{p-93066db4.system.entry.js → p-65923619.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-66ec16d9.entry.js +1 -0
- package/dist/boreal-web-components/{p-e55f2a8b.entry.js → p-714bf70d.entry.js} +1 -1
- package/dist/boreal-web-components/p-7626338e.system.entry.js +1 -0
- package/dist/boreal-web-components/p-7G4h4DI7.js +1 -0
- package/dist/boreal-web-components/p-800fc096.system.entry.js +1 -0
- package/dist/boreal-web-components/p-824485ad.entry.js +1 -0
- package/dist/boreal-web-components/p-8dfe3a9f.entry.js +1 -0
- package/dist/boreal-web-components/p-90022071.entry.js +1 -0
- package/dist/boreal-web-components/{p-7ebc67c9.entry.js → p-9d02057d.entry.js} +1 -1
- package/dist/boreal-web-components/{p-wREMI3WA.js → p-CcENtewr.js} +1 -1
- package/dist/boreal-web-components/p-Dk9dfU9-.system.js +1 -0
- package/dist/boreal-web-components/p-K7DvMlRo.system.js +1 -0
- package/dist/boreal-web-components/{p-DYlZcFrB.system.js → p-UEj9YHof.system.js} +1 -1
- package/dist/boreal-web-components/{p-147d6652.system.entry.js → p-b54fe67f.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-bbcd3a30.system.entry.js +1 -0
- package/dist/boreal-web-components/p-bea25d3d.system.entry.js +1 -0
- package/dist/boreal-web-components/p-bed506d3.entry.js +1 -0
- package/dist/boreal-web-components/p-bfd62034.system.entry.js +1 -0
- package/dist/boreal-web-components/p-c07d6b82.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-7d3a8f61.entry.js → p-cc5c359f.entry.js} +1 -1
- package/dist/boreal-web-components/p-cgdh1LO-.js +1 -0
- package/dist/boreal-web-components/p-d2b6ae79.entry.js +1 -0
- package/dist/boreal-web-components/p-e21b8416.entry.js +1 -0
- package/dist/boreal-web-components/p-e4364a44.system.entry.js +1 -0
- package/dist/boreal-web-components/p-e51407b2.system.entry.js +1 -0
- package/dist/boreal-web-components/p-e8cde179.system.entry.js +1 -0
- package/dist/boreal-web-components/p-eecc3028.system.entry.js +1 -0
- package/dist/boreal-web-components/p-f3bd824d.system.entry.js +1 -0
- package/dist/boreal-web-components/p-f6eabb16.entry.js +1 -0
- package/dist/boreal-web-components/p-f7acf6e5.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-6629be14.entry.js → p-f9560509.entry.js} +1 -1
- package/dist/boreal-web-components/p-fa128cad.system.entry.js +1 -0
- package/dist/boreal-web-components/p-fab1a01d.entry.js +1 -0
- package/dist/boreal-web-components/p-fb9ba833.entry.js +1 -0
- package/dist/boreal-web-components/p-fbe0c9f2.entry.js +1 -0
- package/dist/boreal-web-components/p-fbe88555.entry.js +1 -0
- package/dist/boreal-web-components/p-fc1fa966.system.entry.js +1 -0
- package/dist/boreal-web-components/p-fc4ffa0e.entry.js +1 -0
- package/dist/boreal-web-components/p-fef13445.entry.js +1 -0
- package/dist/boreal-web-components/p-qGhMe8Hk.js +1 -0
- package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -1
- package/dist/boreal-web-components/scss/maps/_theme-connect.scss +16 -1
- package/dist/boreal-web-components/scss/maps/_theme-engage.scss +16 -1
- package/dist/boreal-web-components/scss/maps/_theme-protect.scss +16 -1
- package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +16 -1
- package/dist/boreal-web-components/scss/variables/_theme-connect.scss +16 -1
- package/dist/boreal-web-components/scss/variables/_theme-engage.scss +16 -1
- package/dist/boreal-web-components/scss/variables/_theme-protect.scss +16 -1
- package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +16 -1
- package/dist/cjs/KeyboardController-B_g3peyB.js +1067 -0
- package/dist/cjs/Keys-DXn16dlA.js +34 -0
- package/dist/cjs/bds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bds-breadcrumb-item.cjs.entry.js +106 -0
- package/dist/cjs/bds-breadcrumb.cjs.entry.js +127 -0
- package/dist/cjs/bds-button-group.cjs.entry.js +23 -2
- package/dist/cjs/bds-button.cjs.entry.js +33 -6
- package/dist/cjs/bds-checkbox-button.cjs.entry.js +119 -0
- package/dist/cjs/bds-checkbox-card.cjs.entry.js +37 -23
- package/dist/cjs/bds-checkbox-group.cjs.entry.js +292 -0
- package/dist/cjs/bds-checkbox.cjs.entry.js +62 -31
- package/dist/cjs/bds-dialog.cjs.entry.js +3 -3
- package/dist/cjs/bds-divider.cjs.entry.js +1 -1
- package/dist/cjs/bds-flag.cjs.entry.js +1 -1
- package/dist/cjs/bds-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/bds-grid.cjs.entry.js +1 -1
- package/dist/cjs/bds-list-menu-item.cjs.entry.js +19 -8
- package/dist/cjs/bds-list-menu.cjs.entry.js +42 -7
- package/dist/cjs/bds-popover.cjs.entry.js +13 -5
- package/dist/cjs/bds-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/bds-radio-card.cjs.entry.js +2 -2
- package/dist/cjs/bds-radio-group.cjs.entry.js +14 -8
- package/dist/cjs/bds-radio.cjs.entry.js +2 -2
- package/dist/cjs/bds-select.cjs.entry.js +394 -0
- package/dist/cjs/bds-slider.cjs.entry.js +655 -0
- package/dist/cjs/bds-tag.cjs.entry.js +1 -1
- package/dist/cjs/bds-text-field.cjs.entry.js +8 -3
- package/dist/cjs/bds-toggle.cjs.entry.js +1 -1
- package/dist/cjs/bds-tooltip_2.cjs.entry.js +7 -5
- package/dist/cjs/boreal-web-components.cjs.js +1 -1
- package/dist/cjs/checkbox-form-association-DTEpHXUD.js +43 -0
- package/dist/cjs/{getOffset-k4ezB-eT.js → getOffset-CsDHFjPW.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +16 -10
- package/dist/collection/components/actions/bds-button/bds-button.css +36 -36
- package/dist/collection/components/actions/bds-button/bds-button.js +29 -5
- package/dist/collection/components/actions/bds-button-group/bds-button-group.css +1 -1
- package/dist/collection/components/actions/bds-button-group/bds-button-group.js +21 -2
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +136 -3
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +5 -2
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +20 -7
- package/dist/collection/components/actions/bds-toggle/bds-toggle.css +3 -3
- package/dist/collection/components/feedback/bds-tag/bds-tag.css +6 -6
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox/bds-checkbox.css +132 -0
- package/dist/collection/components/forms/bds-checkbox/{bds-checkbox.js → bds-checkbox/bds-checkbox.js} +135 -38
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.css +113 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.js +382 -0
- package/dist/collection/components/forms/{bds-checkbox-card → bds-checkbox/bds-checkbox-card}/bds-checkbox-card.css +15 -3
- package/dist/collection/components/forms/{bds-checkbox-card → bds-checkbox/bds-checkbox-card}/bds-checkbox-card.js +97 -51
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.css +55 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.js +648 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/types/enum.js +5 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/types/index.js +3 -0
- package/dist/collection/components/forms/bds-checkbox/utils/checkbox-form-association.js +39 -0
- package/dist/collection/components/forms/bds-checkbox/utils/index.js +1 -0
- package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
- package/dist/collection/components/forms/bds-radio/{bds-radio.css → bds-radio/bds-radio.css} +3 -3
- package/dist/collection/components/forms/bds-radio/{bds-radio.js → bds-radio/bds-radio.js} +2 -2
- package/dist/collection/components/forms/{bds-radio-button → bds-radio/bds-radio-button}/bds-radio-button.css +12 -8
- package/dist/collection/components/forms/{bds-radio-button → bds-radio/bds-radio-button}/bds-radio-button.js +2 -2
- package/dist/collection/components/forms/{bds-radio-card → bds-radio/bds-radio-card}/bds-radio-card.css +2 -2
- package/dist/collection/components/forms/{bds-radio-card → bds-radio/bds-radio-card}/bds-radio-card.js +9 -9
- package/dist/collection/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/bds-radio-group.js +51 -23
- package/dist/collection/components/forms/bds-select/bds-select.css +23 -0
- package/dist/collection/components/forms/bds-select/bds-select.js +431 -0
- package/dist/collection/components/forms/bds-slider/bds-slider.css +213 -0
- package/dist/collection/components/forms/bds-slider/bds-slider.js +847 -0
- package/dist/collection/components/forms/bds-slider/helpers/SliderDOMController.js +61 -0
- package/dist/collection/components/forms/bds-slider/helpers/SliderService.js +93 -0
- package/dist/collection/components/forms/bds-slider/helpers/index.js +3 -0
- package/dist/collection/components/forms/bds-slider/helpers/parseValues.js +43 -0
- package/dist/collection/components/forms/bds-slider/types/ISlider.js +1 -0
- package/dist/collection/components/forms/bds-slider/types/ISliderOptions.js +1 -0
- package/dist/collection/components/forms/bds-slider/types/enum.js +16 -0
- package/dist/collection/components/forms/bds-slider/types/index.js +5 -0
- package/dist/collection/components/forms/bds-slider/types/types.js +1 -0
- package/dist/collection/components/forms/bds-text-field/bds-text-field.css +10 -3
- package/dist/collection/components/forms/bds-text-field/bds-text-field.js +47 -2
- package/dist/collection/components/helpers/bds-divider/bds-divider.js +1 -1
- package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +1 -1
- package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.js +3 -3
- package/dist/collection/components/layouts/bds-grid/bds-grid/types/IGrid.js +1 -0
- package/dist/collection/components/layouts/bds-grid/bds-grid/types/types.js +1 -0
- package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.js +9 -9
- package/dist/collection/components/layouts/bds-grid/bds-grid-item/types/IGridItem.js +1 -0
- package/dist/collection/components/layouts/bds-grid/bds-grid-item/types/types.js +1 -0
- package/dist/collection/components/navigation/bds-breadcrumb/bds-breadcrumb.css +21 -0
- package/dist/collection/components/navigation/bds-breadcrumb/bds-breadcrumb.js +292 -0
- package/dist/collection/components/navigation/bds-breadcrumb/types/IBreadcrumb.js +1 -0
- package/dist/collection/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.css +64 -0
- package/dist/collection/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.js +369 -0
- package/dist/collection/components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem.js +1 -0
- package/dist/collection/components/overlays/bds-dialog/bds-dialog.css +1 -1
- package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +2 -2
- package/dist/collection/components/overlays/bds-popover/bds-popover.js +49 -3
- package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +1 -1
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +30 -47
- package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +1 -1
- package/dist/collection/css/boreal.css +60 -0
- package/dist/collection/css/theme-connect.css +15 -0
- package/dist/collection/css/theme-engage.css +15 -0
- package/dist/collection/css/theme-protect.css +15 -0
- package/dist/collection/css/theme-proximus.css +15 -0
- package/dist/collection/mixins/menu-behavior.mixin.js +1 -1
- package/dist/collection/scss/maps/_theme-connect.scss +16 -1
- package/dist/collection/scss/maps/_theme-engage.scss +16 -1
- package/dist/collection/scss/maps/_theme-protect.scss +16 -1
- package/dist/collection/scss/maps/_theme-proximus.scss +16 -1
- package/dist/collection/scss/variables/_theme-connect.scss +16 -1
- package/dist/collection/scss/variables/_theme-engage.scss +16 -1
- package/dist/collection/scss/variables/_theme-protect.scss +16 -1
- package/dist/collection/scss/variables/_theme-proximus.scss +16 -1
- package/dist/collection/types/index.js +0 -1
- package/dist/collection/utils/a11y/index.js +4 -0
- package/dist/collection/utils/a11y/keyboard/KeyboardController.js +566 -0
- package/dist/collection/utils/a11y/keyboard/_constants.js +30 -0
- package/dist/collection/utils/a11y/keyboard/focus/aria-activedescendant.js +41 -0
- package/dist/collection/utils/a11y/keyboard/focus/resolve.js +48 -0
- package/dist/collection/utils/a11y/keyboard/focus/roving-tabindex.js +55 -0
- package/dist/collection/utils/a11y/keyboard/navigation/grid-navigation.js +194 -0
- package/dist/collection/utils/a11y/keyboard/navigation/linear-navigation.js +137 -0
- package/dist/collection/utils/a11y/keyboard/types/IKeyboardController.js +1 -0
- package/dist/collection/utils/a11y/keyboard/types/index.js +2 -0
- package/dist/collection/utils/a11y/keyboard/types/types.js +1 -0
- package/dist/collection/utils/constants/common/Keys.js +25 -6
- package/dist/collection/utils/dom/elements.js +63 -0
- package/dist/css/boreal.css +60 -0
- package/dist/css/theme-connect.css +15 -0
- package/dist/css/theme-engage.css +15 -0
- package/dist/css/theme-protect.css +15 -0
- package/dist/css/theme-proximus.css +15 -0
- package/dist/esm/KeyboardController-DcnXb5F5.js +1064 -0
- package/dist/esm/Keys-7G4h4DI7.js +31 -0
- package/dist/esm/bds-avatar.entry.js +1 -1
- package/dist/esm/bds-breadcrumb-item.entry.js +104 -0
- package/dist/esm/bds-breadcrumb.entry.js +125 -0
- package/dist/esm/bds-button-group.entry.js +23 -2
- package/dist/esm/bds-button.entry.js +33 -6
- package/dist/esm/bds-checkbox-button.entry.js +117 -0
- package/dist/esm/bds-checkbox-card.entry.js +37 -23
- package/dist/esm/bds-checkbox-group.entry.js +290 -0
- package/dist/esm/bds-checkbox.entry.js +62 -31
- package/dist/esm/bds-dialog.entry.js +3 -3
- package/dist/esm/bds-divider.entry.js +1 -1
- package/dist/esm/bds-flag.entry.js +1 -1
- package/dist/esm/bds-grid-item.entry.js +1 -1
- package/dist/esm/bds-grid.entry.js +1 -1
- package/dist/esm/bds-list-menu-item.entry.js +19 -8
- package/dist/esm/bds-list-menu.entry.js +38 -3
- package/dist/esm/bds-popover.entry.js +13 -5
- package/dist/esm/bds-radio-button.entry.js +2 -2
- package/dist/esm/bds-radio-card.entry.js +2 -2
- package/dist/esm/bds-radio-group.entry.js +14 -8
- package/dist/esm/bds-radio.entry.js +2 -2
- package/dist/esm/bds-select.entry.js +392 -0
- package/dist/esm/bds-slider.entry.js +653 -0
- package/dist/esm/bds-tag.entry.js +1 -1
- package/dist/esm/bds-text-field.entry.js +8 -3
- package/dist/esm/bds-toggle.entry.js +1 -1
- package/dist/esm/bds-tooltip_2.entry.js +7 -5
- package/dist/esm/boreal-web-components.js +1 -1
- package/dist/esm/checkbox-form-association-cgdh1LO-.js +41 -0
- package/dist/esm/{getOffset-BYS3c13B.js → getOffset-DCLpJBcp.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/KeyboardController-DcnXb5F5.js +1 -0
- package/dist/esm-es5/Keys-7G4h4DI7.js +1 -0
- package/dist/esm-es5/bds-avatar.entry.js +1 -1
- package/dist/esm-es5/bds-breadcrumb-item.entry.js +1 -0
- package/dist/esm-es5/bds-breadcrumb.entry.js +1 -0
- package/dist/esm-es5/bds-button-group.entry.js +1 -1
- package/dist/esm-es5/bds-button.entry.js +1 -1
- package/dist/esm-es5/bds-checkbox-button.entry.js +1 -0
- package/dist/esm-es5/bds-checkbox-card.entry.js +1 -1
- package/dist/esm-es5/bds-checkbox-group.entry.js +1 -0
- package/dist/esm-es5/bds-checkbox.entry.js +1 -1
- package/dist/esm-es5/bds-dialog.entry.js +1 -1
- package/dist/esm-es5/bds-divider.entry.js +1 -1
- package/dist/esm-es5/bds-flag.entry.js +1 -1
- package/dist/esm-es5/bds-grid-item.entry.js +1 -1
- package/dist/esm-es5/bds-grid.entry.js +1 -1
- package/dist/esm-es5/bds-list-menu-item.entry.js +1 -1
- package/dist/esm-es5/bds-list-menu.entry.js +1 -1
- package/dist/esm-es5/bds-popover.entry.js +1 -1
- package/dist/esm-es5/bds-radio-button.entry.js +1 -1
- package/dist/esm-es5/bds-radio-card.entry.js +1 -1
- package/dist/esm-es5/bds-radio-group.entry.js +1 -1
- package/dist/esm-es5/bds-radio.entry.js +1 -1
- package/dist/esm-es5/bds-select.entry.js +1 -0
- package/dist/esm-es5/bds-slider.entry.js +1 -0
- package/dist/esm-es5/bds-tag.entry.js +1 -1
- package/dist/esm-es5/bds-text-field.entry.js +1 -1
- package/dist/esm-es5/bds-toggle.entry.js +1 -1
- package/dist/esm-es5/bds-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/boreal-web-components.js +1 -1
- package/dist/esm-es5/checkbox-form-association-cgdh1LO-.js +1 -0
- package/dist/esm-es5/{getOffset-BYS3c13B.js → getOffset-DCLpJBcp.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/scss/maps/_theme-connect.scss +16 -1
- package/dist/scss/maps/_theme-engage.scss +16 -1
- package/dist/scss/maps/_theme-protect.scss +16 -1
- package/dist/scss/maps/_theme-proximus.scss +16 -1
- package/dist/scss/variables/_theme-connect.scss +16 -1
- package/dist/scss/variables/_theme-engage.scss +16 -1
- package/dist/scss/variables/_theme-protect.scss +16 -1
- package/dist/scss/variables/_theme-proximus.scss +16 -1
- package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -0
- package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +4 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +13 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +3 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +4 -1
- package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +1 -0
- package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +1 -1
- package/dist/types/components/forms/bds-checkbox/{bds-checkbox.d.ts → bds-checkbox/bds-checkbox.d.ts} +23 -10
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.d.ts +68 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-button/types/ICheckboxButton.d.ts +15 -0
- package/dist/types/components/forms/{bds-checkbox-card → bds-checkbox/bds-checkbox-card}/bds-checkbox-card.d.ts +15 -22
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-card/types/ICheckboxCard.d.ts +9 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.d.ts +86 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/ICheckboxGroup.d.ts +27 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/enum.d.ts +6 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/index.d.ts +4 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/types.d.ts +4 -0
- package/dist/types/components/forms/bds-checkbox/types/ICheckbox.d.ts +7 -22
- package/dist/types/components/forms/bds-checkbox/utils/checkbox-form-association.d.ts +10 -0
- package/dist/types/components/forms/bds-checkbox/utils/index.d.ts +2 -0
- package/dist/types/components/forms/bds-radio/{bds-radio.d.ts → bds-radio/bds-radio.d.ts} +1 -1
- package/dist/types/components/forms/{bds-radio-button → bds-radio/bds-radio-button}/bds-radio-button.d.ts +1 -1
- package/dist/types/components/forms/{bds-radio-button → bds-radio/bds-radio-button}/types/IRadioButton.d.ts +1 -0
- package/dist/types/components/forms/{bds-radio-card → bds-radio/bds-radio-card}/bds-radio-card.d.ts +1 -1
- package/dist/types/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/bds-radio-group.d.ts +13 -10
- package/dist/types/components/forms/bds-radio/bds-radio-group/types/IRadioGroup.d.ts +20 -0
- package/dist/types/components/forms/bds-select/bds-select.d.ts +98 -0
- package/dist/types/components/forms/bds-select/types/ISelect.d.ts +6 -0
- package/dist/types/components/forms/bds-slider/bds-slider.d.ts +176 -0
- package/dist/types/components/forms/bds-slider/helpers/SliderDOMController.d.ts +38 -0
- package/dist/types/components/forms/bds-slider/helpers/SliderService.d.ts +44 -0
- package/dist/types/components/forms/bds-slider/helpers/index.d.ts +4 -0
- package/dist/types/components/forms/bds-slider/helpers/parseValues.d.ts +18 -0
- package/dist/types/components/forms/bds-slider/types/ChangeDetail.d.ts +9 -0
- package/dist/types/components/forms/bds-slider/types/ISlider.d.ts +17 -0
- package/dist/types/components/forms/bds-slider/types/ISliderOptions.d.ts +31 -0
- package/dist/types/components/forms/bds-slider/types/enum.d.ts +17 -0
- package/dist/types/components/forms/bds-slider/types/index.d.ts +6 -0
- package/dist/types/components/forms/bds-slider/types/types.d.ts +5 -0
- package/dist/types/components/forms/bds-text-field/bds-text-field.d.ts +4 -0
- package/dist/types/components/navigation/bds-breadcrumb/bds-breadcrumb.d.ts +57 -0
- package/dist/types/components/navigation/bds-breadcrumb/types/IBreadcrumb.d.ts +17 -0
- package/dist/types/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.d.ts +83 -0
- package/dist/types/components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem.d.ts +20 -0
- package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +4 -0
- package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +2 -46
- package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +1 -0
- package/dist/types/components.d.ts +1136 -277
- package/dist/types/types/form.d.ts +24 -0
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types/utils/a11y/index.d.ts +4 -0
- package/dist/types/utils/a11y/keyboard/KeyboardController.d.ts +321 -0
- package/dist/types/utils/a11y/keyboard/_constants.d.ts +28 -0
- package/dist/types/utils/a11y/keyboard/focus/aria-activedescendant.d.ts +17 -0
- package/dist/types/utils/a11y/keyboard/focus/resolve.d.ts +23 -0
- package/dist/types/utils/a11y/keyboard/focus/roving-tabindex.d.ts +20 -0
- package/dist/types/utils/a11y/keyboard/navigation/grid-navigation.d.ts +9 -0
- package/dist/types/utils/a11y/keyboard/navigation/linear-navigation.d.ts +13 -0
- package/dist/types/utils/a11y/keyboard/types/IKeyboardController.d.ts +125 -0
- package/dist/types/utils/a11y/keyboard/types/index.d.ts +3 -0
- package/dist/types/utils/a11y/keyboard/types/types.d.ts +6 -0
- package/dist/types/utils/constants/common/Keys.d.ts +23 -6
- package/dist/types/utils/dom/elements.d.ts +41 -0
- package/package.json +1 -1
- package/components-build/p-Cbibqaz0.js +0 -1
- package/components-build/p-ClR-wgiT.js +0 -1
- package/components-build/p-N_tqtRV2.js +0 -1
- package/components-build/p-bAMuJ4Jx.js +0 -1
- package/components-build/p-c2z3tneT.js +0 -1
- package/components-build/p-dz9-Q2N8.js +0 -1
- package/components-build/p-iq2UuV7c.js +0 -1
- package/dist/boreal-web-components/p-06DrzEMB.system.js +0 -1
- package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +0 -1
- package/dist/boreal-web-components/p-148d510f.entry.js +0 -1
- package/dist/boreal-web-components/p-277f142e.system.entry.js +0 -1
- package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +0 -1
- package/dist/boreal-web-components/p-340896b2.entry.js +0 -1
- package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +0 -1
- package/dist/boreal-web-components/p-44a8fde5.entry.js +0 -1
- package/dist/boreal-web-components/p-5681b294.system.entry.js +0 -1
- package/dist/boreal-web-components/p-5ed75075.entry.js +0 -1
- package/dist/boreal-web-components/p-635f676b.system.entry.js +0 -1
- package/dist/boreal-web-components/p-68b83680.system.entry.js +0 -1
- package/dist/boreal-web-components/p-6a60d134.system.entry.js +0 -1
- package/dist/boreal-web-components/p-7e672cce.entry.js +0 -1
- package/dist/boreal-web-components/p-81401e2a.system.entry.js +0 -1
- package/dist/boreal-web-components/p-8289e506.entry.js +0 -1
- package/dist/boreal-web-components/p-82d15372.entry.js +0 -1
- package/dist/boreal-web-components/p-851c06f2.entry.js +0 -1
- package/dist/boreal-web-components/p-8a3716ec.entry.js +0 -1
- package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +0 -1
- package/dist/boreal-web-components/p-DlYG-OVB.js +0 -1
- package/dist/boreal-web-components/p-DpnBDSUm.system.js +0 -1
- package/dist/boreal-web-components/p-a73659ac.system.entry.js +0 -1
- package/dist/boreal-web-components/p-b2ad9535.system.entry.js +0 -1
- package/dist/boreal-web-components/p-d4c30d2b.entry.js +0 -1
- package/dist/boreal-web-components/p-db0c10b9.system.entry.js +0 -1
- package/dist/boreal-web-components/p-dca16a3d.entry.js +0 -1
- package/dist/boreal-web-components/p-de846c43.system.entry.js +0 -1
- package/dist/boreal-web-components/p-df087e23.system.entry.js +0 -1
- package/dist/boreal-web-components/p-dfb4854e.entry.js +0 -1
- package/dist/boreal-web-components/p-dz9-Q2N8.js +0 -1
- package/dist/boreal-web-components/p-e09b4d14.system.entry.js +0 -1
- package/dist/boreal-web-components/p-e7af1e1a.entry.js +0 -1
- package/dist/boreal-web-components/p-f792aa74.entry.js +0 -1
- package/dist/cjs/Keys-rKl2za5q.js +0 -18
- package/dist/cjs/menu-BxKaEajh.js +0 -8
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +0 -91
- package/dist/esm/Keys-DlYG-OVB.js +0 -16
- package/dist/esm/menu-dz9-Q2N8.js +0 -6
- package/dist/esm-es5/Keys-DlYG-OVB.js +0 -1
- package/dist/esm-es5/menu-dz9-Q2N8.js +0 -1
- package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +0 -8
- package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +0 -19
- package/dist/types/types/IFormProps.d.ts +0 -25
- /package/dist/collection/components/forms/{bds-checkbox-card/types/ICheckboxCard.js → bds-checkbox/bds-checkbox-button/types/ICheckboxButton.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-button/types/IRadioButton.js → bds-checkbox/bds-checkbox-card/types/ICheckboxCard.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-card/types/IRadioCard.js → bds-checkbox/bds-checkbox-group/types/ICheckboxGroup.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-group → bds-checkbox/bds-checkbox-group}/types/types.js +0 -0
- /package/dist/collection/components/{layouts/bds-grid/grid/types/IGrid.js → forms/bds-radio/bds-radio/types/IRadio.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-group/types/IRadioGroup.js → bds-radio/bds-radio-button/types/IRadioButton.js} +0 -0
- /package/dist/collection/components/forms/bds-radio/{types/IRadio.js → bds-radio-card/types/IRadioCard.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/bds-radio-group.css +0 -0
- /package/dist/collection/components/{layouts/bds-grid/grid-item/types/IGridItem.js → forms/bds-radio/bds-radio-group/types/IRadioGroup.js} +0 -0
- /package/dist/collection/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/types/enum.js +0 -0
- /package/dist/collection/components/{layouts/bds-grid/grid-item → forms/bds-radio/bds-radio-group}/types/types.js +0 -0
- /package/dist/collection/components/{layouts/bds-grid/grid/types/types.js → forms/bds-select/types/ISelect.js} +0 -0
- /package/dist/collection/{types/IFormProps.js → components/forms/bds-slider/types/ChangeDetail.js} +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.css +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/types/enum.js +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/types/index.js +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.css +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/enum.js +0 -0
- /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/index.js +0 -0
- /package/dist/types/components/forms/bds-radio/{types → bds-radio/types}/IRadio.d.ts +0 -0
- /package/dist/types/components/forms/{bds-radio-card → bds-radio/bds-radio-card}/types/IRadioCard.d.ts +0 -0
- /package/dist/types/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/types/enum.d.ts +0 -0
- /package/dist/types/components/forms/{bds-radio-group → bds-radio/bds-radio-group}/types/types.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/IGrid.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/enum.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/index.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/types.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/IGridItem.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/enum.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/index.d.ts +0 -0
- /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/types.d.ts +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export class SliderDOMController {
|
|
2
|
+
/**
|
|
3
|
+
* Adds the necessary classes to show the tooltip when a handle is focused or active.
|
|
4
|
+
* This is used in both focus and active states to ensure the tooltip remains visible.
|
|
5
|
+
* @param inputEl - The input element to add the states to.
|
|
6
|
+
* @param blockClass - The block class of the slider.
|
|
7
|
+
*/
|
|
8
|
+
static addTooltipsStates(inputEl, blockClass) {
|
|
9
|
+
if (inputEl === undefined)
|
|
10
|
+
return;
|
|
11
|
+
inputEl.classList.add(`${blockClass}__tooltip--visible`, `${blockClass}__tooltip--active`);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Removes the necessary classes to hide the tooltip when a handle is blurred or inactive.
|
|
15
|
+
* @param inputEl - The input element to remove the states from.
|
|
16
|
+
* @param blockClass - The block class of the slider.
|
|
17
|
+
*/
|
|
18
|
+
static removeTooltipsStates(inputEl, blockClass) {
|
|
19
|
+
if (inputEl === undefined)
|
|
20
|
+
return;
|
|
21
|
+
inputEl.classList.remove(`${blockClass}__tooltip--visible`, `${blockClass}__tooltip--active`);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Syncs the tooltips with the given values and inputs.
|
|
25
|
+
* @param values - The values to sync the tooltips with.
|
|
26
|
+
* @param inputsEl - The inputs to sync the tooltips with.
|
|
27
|
+
*/
|
|
28
|
+
static syncTooltips(values, inputsEl) {
|
|
29
|
+
values.forEach((value, index) => {
|
|
30
|
+
const input = inputsEl[index];
|
|
31
|
+
if (input === undefined)
|
|
32
|
+
return;
|
|
33
|
+
input.value = String(value);
|
|
34
|
+
input.setAttribute('value', String(value));
|
|
35
|
+
input.setAttribute('aria-valuenow', String(value));
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Moves the connect element to the given percentage position.
|
|
40
|
+
* @param connectEl - The connect element to move.
|
|
41
|
+
* @param segment - The percentage position to move the connect element to.
|
|
42
|
+
*/
|
|
43
|
+
static moveConnect(connectEl, segment) {
|
|
44
|
+
connectEl.style.left = `${segment.left}%`;
|
|
45
|
+
connectEl.style.width = `${segment.width}%`;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns the CSS position of the thumb in pixels based on the track and percent.
|
|
49
|
+
* @param percent - The percentage of the track that the thumb should be positioned at.
|
|
50
|
+
* @returns The position of the thumb in pixels.
|
|
51
|
+
*/
|
|
52
|
+
static getThumbCSSPosition(percent) {
|
|
53
|
+
const thumbSize = 'var(--handle-size, 16px)';
|
|
54
|
+
return `calc(${percent}% + (${thumbSize} / 2) - (${percent} * ${thumbSize} / 100))`;
|
|
55
|
+
}
|
|
56
|
+
static updateInputValue(inputEl, value) {
|
|
57
|
+
inputEl.value = String(value);
|
|
58
|
+
inputEl.setAttribute('value', String(value));
|
|
59
|
+
inputEl.setAttribute('aria-valuenow', String(value));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { SLIDER_TYPE } from "../types";
|
|
2
|
+
export class SliderService {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
this.options = options;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Clamps a value between min and max.
|
|
8
|
+
*/
|
|
9
|
+
clamp(value) {
|
|
10
|
+
return Math.min(Math.max(value, this.options.min), this.options.max);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Rounds a value to the nearest step.
|
|
14
|
+
*/
|
|
15
|
+
snapToStep(value) {
|
|
16
|
+
const stepped = Math.round((value - this.options.min) / this.options.step) * this.options.step + this.options.min;
|
|
17
|
+
return this.clamp(stepped);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Applies collision prevention for range mode.
|
|
21
|
+
* Ensures handles never overlap — always at least 1 step apart.
|
|
22
|
+
*/
|
|
23
|
+
applyCollision(values, changedIndex) {
|
|
24
|
+
const result = [...values];
|
|
25
|
+
const margin = this.options.step;
|
|
26
|
+
if (this.options.type !== SLIDER_TYPE.RANGE || result.length < 2)
|
|
27
|
+
return result;
|
|
28
|
+
if (changedIndex === 0) {
|
|
29
|
+
// Min handle cannot exceed max handle - margin
|
|
30
|
+
const maxVal = result[1] ?? this.options.max;
|
|
31
|
+
result[0] = Math.min(result[0] ?? this.options.min, maxVal - margin);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
// Max handle cannot go below min handle + margin
|
|
35
|
+
const minVal = result[0] ?? this.options.min;
|
|
36
|
+
result[1] = Math.max(result[1] ?? this.options.max, minVal + margin);
|
|
37
|
+
}
|
|
38
|
+
return result;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Calculates the percentage position of a value along the track.
|
|
42
|
+
*/
|
|
43
|
+
toPercent(value) {
|
|
44
|
+
const range = this.options.max - this.options.min;
|
|
45
|
+
if (range === 0)
|
|
46
|
+
return 0;
|
|
47
|
+
return ((value - this.options.min) / range) * 100;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns connect segments for the track.
|
|
51
|
+
* single: [left=0, width=percent of value]
|
|
52
|
+
* range: [left=percent of min, width=percent of (max - min)]
|
|
53
|
+
*/
|
|
54
|
+
getConnectSegment(values) {
|
|
55
|
+
if (this.options.type === SLIDER_TYPE.SINGLE) {
|
|
56
|
+
return {
|
|
57
|
+
left: 0,
|
|
58
|
+
width: this.toPercent(values[0] ?? this.options.min),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
const val0 = values[0] ?? this.options.min;
|
|
62
|
+
const val1 = values[1] ?? this.options.max;
|
|
63
|
+
return {
|
|
64
|
+
left: this.toPercent(val0),
|
|
65
|
+
width: this.toPercent(val1 - val0 + this.options.min),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns pip positions as percentages, excluding min and max.
|
|
70
|
+
*/
|
|
71
|
+
getPipPositions() {
|
|
72
|
+
const { min, max, step } = this.options;
|
|
73
|
+
const positions = [];
|
|
74
|
+
const total = (max - min) / step;
|
|
75
|
+
for (let i = 1; i < total; i++) {
|
|
76
|
+
const value = min + i * step;
|
|
77
|
+
positions.push(this.toPercent(value));
|
|
78
|
+
}
|
|
79
|
+
return positions;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns the CSS position of the thumb in pixels based on the track and percent.
|
|
83
|
+
* @param value - The value of the slider at the given clientX position.
|
|
84
|
+
* @param trackWidth - The width of the track element.
|
|
85
|
+
* @param thumbSize - The size of the thumb element.
|
|
86
|
+
* @returns The position of the thumb in pixels.
|
|
87
|
+
*/
|
|
88
|
+
getThumbCSSPosition(value, trackWidth, thumbSize) {
|
|
89
|
+
const percent = this.toPercent(value) / 100;
|
|
90
|
+
const usableWidth = trackWidth - thumbSize;
|
|
91
|
+
return percent * usableWidth + thumbSize / 2;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SLIDER_TYPE } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* Parses any valid `values` input into a clean `number[]`.
|
|
4
|
+
* This is the single source of truth for value normalization.
|
|
5
|
+
*
|
|
6
|
+
* Handles:
|
|
7
|
+
* - `number[]` → `[10, 50, 80]` (passthrough, filtered for NaN)
|
|
8
|
+
* - `"[10, 50, 80]"` → `[10, 50, 80]`
|
|
9
|
+
* - anything malformed → `[this.min]` as safe fallback
|
|
10
|
+
*/
|
|
11
|
+
export function parseValues(raw, fallback = [0]) {
|
|
12
|
+
if (Array.isArray(raw)) {
|
|
13
|
+
const result = raw.map(Number).filter(n => !isNaN(n));
|
|
14
|
+
return result.length > 0 ? result : fallback;
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
const parsed = JSON.parse(raw);
|
|
18
|
+
const arr = Array.isArray(parsed) ? parsed : [parsed];
|
|
19
|
+
const result = arr.map(Number).filter(n => !isNaN(n));
|
|
20
|
+
return result.length > 0 ? result : fallback;
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
const n = Number(raw);
|
|
24
|
+
return isNaN(n) ? fallback : [n];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Serialize the value for the form: a single number → "10", multiple → "10,20,30"
|
|
29
|
+
* FormData does not support arrays natively, so we use CSV.
|
|
30
|
+
*/
|
|
31
|
+
export function serializeFormValue(values) {
|
|
32
|
+
return values.join(',');
|
|
33
|
+
}
|
|
34
|
+
export function resolveValues(raw, min, max, type) {
|
|
35
|
+
const parsed = parseValues(raw, [Number(min)]);
|
|
36
|
+
if (type === SLIDER_TYPE.RANGE) {
|
|
37
|
+
if (parsed.length >= 2) {
|
|
38
|
+
return [parsed[0] ?? Number(min), parsed[1] ?? Number(max)];
|
|
39
|
+
}
|
|
40
|
+
return [parsed[0] ?? Number(min), Number(max)];
|
|
41
|
+
}
|
|
42
|
+
return [parsed[0] ?? Number(min)];
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Available tooltip types for the slider component.
|
|
3
|
+
* Used to control the visibility of the tooltip.
|
|
4
|
+
*/
|
|
5
|
+
export const SLIDER_TOOLTIP = {
|
|
6
|
+
NEVER: 'never',
|
|
7
|
+
FOCUS: 'focus',
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Available slider types for the slider component.
|
|
11
|
+
* Used to control the behavior of the slider.
|
|
12
|
+
*/
|
|
13
|
+
export const SLIDER_TYPE = {
|
|
14
|
+
SINGLE: 'single',
|
|
15
|
+
RANGE: 'range',
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -82,6 +82,9 @@
|
|
|
82
82
|
.bds-text-field__control:disabled {
|
|
83
83
|
cursor: not-allowed;
|
|
84
84
|
}
|
|
85
|
+
.bds-text-field__control[aria-expanded=true] ~ .bds-text-field__actions .bds-text-field__action--icon-right {
|
|
86
|
+
transform: rotate(180deg);
|
|
87
|
+
}
|
|
85
88
|
.bds-text-field__actions {
|
|
86
89
|
padding-left: var(--boreal-spacing-xs);
|
|
87
90
|
gap: var(--boreal-spacing-3xs);
|
|
@@ -94,7 +97,7 @@
|
|
|
94
97
|
cursor: pointer;
|
|
95
98
|
color: var(--boreal-icon-default-light);
|
|
96
99
|
line-height: 1;
|
|
97
|
-
transition: color 0.3s ease, opacity 0.3s ease;
|
|
100
|
+
transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease-in-out;
|
|
98
101
|
}
|
|
99
102
|
.bds-text-field__action--clear em[class^=bds-icon-], .bds-text-field__action--clear em[class*=" bds-icon-"] {
|
|
100
103
|
width: var(--boreal-icons-s);
|
|
@@ -120,7 +123,7 @@
|
|
|
120
123
|
color: var(--boreal-icon-default-dark);
|
|
121
124
|
}
|
|
122
125
|
.bds-text-field__action:focus-visible {
|
|
123
|
-
box-shadow:
|
|
126
|
+
box-shadow: var(--boreal-depth-box-shadow-focus);
|
|
124
127
|
}
|
|
125
128
|
.bds-text-field__footer {
|
|
126
129
|
justify-content: space-between;
|
|
@@ -134,7 +137,7 @@
|
|
|
134
137
|
}
|
|
135
138
|
.bds-text-field--focused .bds-text-field__container {
|
|
136
139
|
border-color: var(--boreal-stroke-focus);
|
|
137
|
-
box-shadow:
|
|
140
|
+
box-shadow: var(--boreal-depth-box-shadow-focus);
|
|
138
141
|
}
|
|
139
142
|
.bds-text-field--error .bds-text-field__container {
|
|
140
143
|
border-color: var(--boreal-stroke-danger-base);
|
|
@@ -155,6 +158,10 @@
|
|
|
155
158
|
.bds-text-field--disabled .bds-text-field__control {
|
|
156
159
|
color: var(--boreal-icon-disabled);
|
|
157
160
|
}
|
|
161
|
+
.bds-text-field--selectable .bds-text-field__container input {
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
pointer-events: auto;
|
|
164
|
+
}
|
|
158
165
|
.bds-text-field--readonly .bds-text-field__container {
|
|
159
166
|
background-color: transparent;
|
|
160
167
|
border: none;
|
|
@@ -105,6 +105,10 @@ export class BdsTextField extends Mixin(formAssociatedMixin) {
|
|
|
105
105
|
this.counter = false;
|
|
106
106
|
/** Sets a custom width via the `--bds-text-field-width` CSS custom property. */
|
|
107
107
|
this.customWidth = '';
|
|
108
|
+
/** Set mode readonly to use in selects */
|
|
109
|
+
this.selectable = false;
|
|
110
|
+
/** Icon rendered on the right side of the input, on the actions containers. (e.g., 'bds-icon-settings') */
|
|
111
|
+
this.iconRight = '';
|
|
108
112
|
/** Tracks focus state to drive the `bds-text-field--focused` CSS modifier. */
|
|
109
113
|
this.focused = false;
|
|
110
114
|
/** Controls whether the password input renders as plain text. */
|
|
@@ -174,7 +178,7 @@ export class BdsTextField extends Mixin(formAssociatedMixin) {
|
|
|
174
178
|
onValueChange(next) {
|
|
175
179
|
setFormValue(this.internals, next);
|
|
176
180
|
this.currentCharCount = next.length;
|
|
177
|
-
this.updateValidity();
|
|
181
|
+
this.updateValidity(this.touched || this.validationError);
|
|
178
182
|
this.valueChange.emit(next);
|
|
179
183
|
}
|
|
180
184
|
formAssociatedCallback() {
|
|
@@ -300,6 +304,7 @@ export class BdsTextField extends Mixin(formAssociatedMixin) {
|
|
|
300
304
|
'bds-text-field--readonly': this.readOnly,
|
|
301
305
|
'bds-text-field--plain': this.variant === TEXT_FIELD_VARIANTS.PLAIN,
|
|
302
306
|
'bds-text-field--clear-on-hover': this.clearOnHover,
|
|
307
|
+
'bds-text-field--selectable': this.selectable,
|
|
303
308
|
};
|
|
304
309
|
}
|
|
305
310
|
get hostStyle() {
|
|
@@ -323,7 +328,7 @@ export class BdsTextField extends Mixin(formAssociatedMixin) {
|
|
|
323
328
|
: this.helperText;
|
|
324
329
|
const showFooter = helperContent !== '' || (this.counter && this.charCount > 0);
|
|
325
330
|
const typographyState = this.isDisabled ? 'disabled' : effectiveError ? 'error' : 'default';
|
|
326
|
-
return (h(Host, { key: '
|
|
331
|
+
return (h(Host, { key: '6481e9c4eac94aee0b9a24fdaae8a00d3ae100b3', class: this.classMap, style: this.hostStyle, tabIndex: -1, onFocus: () => !this.readOnly && this.el.querySelector('input')?.focus() }, this.label !== '' && (h("bds-typography", { key: 'f21f1a20b452876a3d3e91276318142e517d4099', id: labelId, variant: "label", htmlFor: this._id, required: this.required, tooltipText: this.info !== '' ? this.info : undefined, state: typographyState }, this.label)), h("div", { key: '08c4e6498a31ee97f8ab1e3b6f2774bd30b933df', class: "bds-text-field__container" }, (this.icon !== '' || this.sublabel !== '') && (h("span", { key: 'aad475c4e9b6870ea2dae597a14aa9a42a3eb837', class: "bds-text-field__sublabel" }, this.icon !== '' && h("em", { key: 'f6cdaddf127e35143fcc3749395438e2082eb7c1', class: this.icon }), this.sublabel)), h("slot", { key: '29fae2b0cf57634c0fa64eacc450a4989d4bbbf0', name: "prefix" }), h("slot", { key: '446a355e5d028e0a8ed0401c2f6452ab32a51959', name: "tags" }), h("input", { key: 'd4dbc554a0121ac773d965d39277291562924e3f', id: this._id, class: "bds-text-field__control", "aria-labelledby": this.label !== '' ? labelId : undefined, "aria-describedby": showFooter && helperContent !== '' ? helperId : undefined, "aria-invalid": this.error || this.validationError ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, type: this.type === TEXT_FIELD_TYPES.PASSWORD && this.showPassword ? TEXT_FIELD_TYPES.TEXT : this.type, value: this.value, disabled: this.isDisabled, readOnly: this.readOnly || this.selectable, tabIndex: this.readOnly ? -1 : undefined, placeholder: this.placeholder, autocomplete: this.autocomplete, pattern: this.pattern !== '' ? this.pattern : undefined, minLength: this.minLength !== 0 ? this.minLength : undefined, maxLength: this.effectiveMaxLength, onMouseDown: (e) => this.handleMouseDown(e), onInput: (e) => this.handleInput(e), onChange: (e) => this.handleChange(e), onFocus: (e) => this.handleFocus(e), onBlur: (e) => this.handleBlur(e) }), (showClear || this.type === TEXT_FIELD_TYPES.PASSWORD || this.iconRight !== '') && (h("div", { key: '47964ef2af3f328434fee12cbea2db2976c12d13', class: "bds-text-field__actions" }, showClear && (h("button", { key: 'f5265e5b44d1025697b4bb8237d4c6fccf5e1c2a', class: "bds-text-field__action bds-text-field__action--clear", type: "button", "aria-label": ARIA_LABELS.Clear, onClick: () => this.handleClear() }, h("em", { key: 'bddaa1e6a9f347fea502e9d59eef0e008329b76b', class: this.iconClear }))), this.type === TEXT_FIELD_TYPES.PASSWORD && (h("button", { key: 'deb294a70355419c49748f7821db56c83e811115', class: "bds-text-field__action bds-text-field__action--password", type: "button", "aria-label": this.showPassword ? ARIA_LABELS.HidePassword : ARIA_LABELS.ShowPassword, onClick: () => this.handleShowPassword() }, h("em", { key: '29945864601c1461054da11465ac0695a9c4432e', class: this.showPasswordIcon }))), this.iconRight !== '' && (h("span", { key: 'a69939fe890b5c05a7752bbdba6cff9c159ea08c', class: "bds-text-field__action bds-text-field__action--icon-right", "aria-hidden": "true" }, h("i", { key: 'db51d8c6dc8a3d74f26190ea8859a3fb19fad879', class: this.iconRight })))))), showFooter && (h("div", { key: '0052fb8c0e466d74afc7e30d55ae8016f48fe20b', class: "bds-text-field__footer" }, helperContent !== '' && (h("bds-typography", { key: 'aa7528b125145b7b36582dd1607cc80bf85948e4', id: helperId, variant: "helper", state: typographyState }, helperContent)), this.counter && this.charCount > 0 && (h("span", { key: '5274eea422b00ec03da9f0b3ff90d055336b2727', class: "bds-text-field__char-count" }, this.currentCharCount, "/", this.charCount))))));
|
|
327
332
|
}
|
|
328
333
|
static get is() { return "bds-text-field"; }
|
|
329
334
|
static get formAssociated() { return true; }
|
|
@@ -884,6 +889,46 @@ export class BdsTextField extends Mixin(formAssociatedMixin) {
|
|
|
884
889
|
"reflect": false,
|
|
885
890
|
"attribute": "custom-width",
|
|
886
891
|
"defaultValue": "''"
|
|
892
|
+
},
|
|
893
|
+
"selectable": {
|
|
894
|
+
"type": "boolean",
|
|
895
|
+
"mutable": false,
|
|
896
|
+
"complexType": {
|
|
897
|
+
"original": "boolean",
|
|
898
|
+
"resolved": "boolean",
|
|
899
|
+
"references": {}
|
|
900
|
+
},
|
|
901
|
+
"required": false,
|
|
902
|
+
"optional": false,
|
|
903
|
+
"docs": {
|
|
904
|
+
"tags": [],
|
|
905
|
+
"text": "Set mode readonly to use in selects"
|
|
906
|
+
},
|
|
907
|
+
"getter": false,
|
|
908
|
+
"setter": false,
|
|
909
|
+
"reflect": false,
|
|
910
|
+
"attribute": "selectable",
|
|
911
|
+
"defaultValue": "false"
|
|
912
|
+
},
|
|
913
|
+
"iconRight": {
|
|
914
|
+
"type": "string",
|
|
915
|
+
"mutable": false,
|
|
916
|
+
"complexType": {
|
|
917
|
+
"original": "string",
|
|
918
|
+
"resolved": "string",
|
|
919
|
+
"references": {}
|
|
920
|
+
},
|
|
921
|
+
"required": false,
|
|
922
|
+
"optional": false,
|
|
923
|
+
"docs": {
|
|
924
|
+
"tags": [],
|
|
925
|
+
"text": "Icon rendered on the right side of the input, on the actions containers. (e.g., 'bds-icon-settings')"
|
|
926
|
+
},
|
|
927
|
+
"getter": false,
|
|
928
|
+
"setter": false,
|
|
929
|
+
"reflect": false,
|
|
930
|
+
"attribute": "icon-right",
|
|
931
|
+
"defaultValue": "''"
|
|
887
932
|
}
|
|
888
933
|
};
|
|
889
934
|
}
|
|
@@ -34,7 +34,7 @@ export class BdsDivider {
|
|
|
34
34
|
this.checkPropValues();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return h("div", { key: '
|
|
37
|
+
return h("div", { key: 'a64c78979ba69f2de16edd48265cdb61d86d7026', part: "divider", class: this.orientationClass, role: "separator", "aria-orientation": this.orientation });
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "bds-divider"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -87,7 +87,7 @@ export class BdsAvatar {
|
|
|
87
87
|
const avatarAriaLabel = this.normalizedUsername.length > 0 ? `User name: ${this.normalizedUsername}` : 'User name';
|
|
88
88
|
const showIcon = this.variant === AVATAR_VARIANT.FULL || this.variant === AVATAR_VARIANT.ICON;
|
|
89
89
|
const showName = this.normalizedUsername && (this.variant === AVATAR_VARIANT.FULL || this.variant === AVATAR_VARIANT.NAME);
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'b29800e27c95008eb9257c7ec5c9aab2fb907b98', class: "bds-avatar", role: "img", "aria-label": avatarAriaLabel, ...this.inheritedAttributes }, h("div", { key: '807c804a557b55f06c6437208102226b7284423c', class: "bds-avatar__container" }, showIcon && (h("div", { key: '6f9ab3e1b6822b82e59fb5ac982c68cc0de2c43d', class: "bds-avatar__circle", style: this.getAvatarStyles() }, h("span", { key: '90fedd34dff914024fed3a305a134808da2b0967', class: "bds-avatar__initials" }, initials))), showName && h("span", { key: 'fba46730ab9ed74841e3919f79a8f7df1eea3192', class: "bds-avatar__name" }, this.normalizedUsername))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "bds-avatar"; }
|
|
93
93
|
static get originalStyleUrls() {
|
|
@@ -20,7 +20,7 @@ export class BdsGrid {
|
|
|
20
20
|
this.checkPropValues();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '72e2dd4c1ab75d6a7e71dc8e75456d482afbb4b8', class: { 'bds-grid--fixed': this.layout === GRID_LAYOUT.FIXED }, style: { ...(this.rowGap && { 'row-gap': this.rowGap }) } }, h("slot", { key: '8c47051a287548daff2402a71aab7bd2aef50da0' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "bds-grid"; }
|
|
26
26
|
static get originalStyleUrls() {
|
|
@@ -45,7 +45,7 @@ export class BdsGrid {
|
|
|
45
45
|
"IGrid": {
|
|
46
46
|
"location": "import",
|
|
47
47
|
"path": "./types",
|
|
48
|
-
"id": "src/components/layouts/bds-grid/grid/types/index.ts::IGrid",
|
|
48
|
+
"id": "src/components/layouts/bds-grid/bds-grid/types/index.ts::IGrid",
|
|
49
49
|
"referenceLocation": "IGrid"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -72,7 +72,7 @@ export class BdsGrid {
|
|
|
72
72
|
"IGrid": {
|
|
73
73
|
"location": "import",
|
|
74
74
|
"path": "./types",
|
|
75
|
-
"id": "src/components/layouts/bds-grid/grid/types/index.ts::IGrid",
|
|
75
|
+
"id": "src/components/layouts/bds-grid/bds-grid/types/index.ts::IGrid",
|
|
76
76
|
"referenceLocation": "IGrid"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.js
RENAMED
|
@@ -48,7 +48,7 @@ export class BdsGridItem {
|
|
|
48
48
|
return styles;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '4a50b7d73fa449f56a533e6357f92c039c7b73c7', style: this.getHostStyles() }, h("slot", { key: 'e077c11e511f232ec25456676699c56c4bbcb483' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "bds-grid-item"; }
|
|
54
54
|
static get originalStyleUrls() {
|
|
@@ -73,7 +73,7 @@ export class BdsGridItem {
|
|
|
73
73
|
"IGridItem": {
|
|
74
74
|
"location": "import",
|
|
75
75
|
"path": "./types",
|
|
76
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
76
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
77
77
|
"referenceLocation": "IGridItem"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -100,7 +100,7 @@ export class BdsGridItem {
|
|
|
100
100
|
"IGridItem": {
|
|
101
101
|
"location": "import",
|
|
102
102
|
"path": "./types",
|
|
103
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
103
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
104
104
|
"referenceLocation": "IGridItem"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -126,7 +126,7 @@ export class BdsGridItem {
|
|
|
126
126
|
"IGridItem": {
|
|
127
127
|
"location": "import",
|
|
128
128
|
"path": "./types",
|
|
129
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
129
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
130
130
|
"referenceLocation": "IGridItem"
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -152,7 +152,7 @@ export class BdsGridItem {
|
|
|
152
152
|
"IGridItem": {
|
|
153
153
|
"location": "import",
|
|
154
154
|
"path": "./types",
|
|
155
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
155
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
156
156
|
"referenceLocation": "IGridItem"
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -178,7 +178,7 @@ export class BdsGridItem {
|
|
|
178
178
|
"IGridItem": {
|
|
179
179
|
"location": "import",
|
|
180
180
|
"path": "./types",
|
|
181
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
181
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
182
182
|
"referenceLocation": "IGridItem"
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -204,7 +204,7 @@ export class BdsGridItem {
|
|
|
204
204
|
"IGridItem": {
|
|
205
205
|
"location": "import",
|
|
206
206
|
"path": "./types",
|
|
207
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
207
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
208
208
|
"referenceLocation": "IGridItem"
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -230,7 +230,7 @@ export class BdsGridItem {
|
|
|
230
230
|
"IGridItem": {
|
|
231
231
|
"location": "import",
|
|
232
232
|
"path": "./types",
|
|
233
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
233
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
234
234
|
"referenceLocation": "IGridItem"
|
|
235
235
|
}
|
|
236
236
|
}
|
|
@@ -256,7 +256,7 @@ export class BdsGridItem {
|
|
|
256
256
|
"IGridItem": {
|
|
257
257
|
"location": "import",
|
|
258
258
|
"path": "./types",
|
|
259
|
-
"id": "src/components/layouts/bds-grid/grid-item/types/index.ts::IGridItem",
|
|
259
|
+
"id": "src/components/layouts/bds-grid/bds-grid-item/types/index.ts::IGridItem",
|
|
260
260
|
"referenceLocation": "IGridItem"
|
|
261
261
|
}
|
|
262
262
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* Common SCSS placeholder selectors shared across form and layout components.
|
|
4
|
+
* This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
|
|
5
|
+
* so all component stylesheets can `@extend` these placeholders without an explicit import.
|
|
6
|
+
*
|
|
7
|
+
* NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
|
|
8
|
+
* are not available at this level util use style-guidelines.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* TODO: Refactor to use styleguidelines this work as first draft
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* This file contains mixins and functions for common interactions styles such as focus rings and transitions.
|
|
15
|
+
* These are used across multiple components to ensure consistency in interaction feedback.
|
|
16
|
+
*/
|
|
17
|
+
.bds-breadcrumb__list {
|
|
18
|
+
list-style: none;
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|