@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
|
@@ -8,24 +8,29 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { IAvatar } from "./components/images-icons/bds-avatar/types";
|
|
9
9
|
import { IBadge } from "./components/feedback/bds-badge/types/IBadge";
|
|
10
10
|
import { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
11
|
+
import { BdsClickBreadcrumbEvent, BdsClickCollapsedEvent } from "./components/navigation/bds-breadcrumb/types/IBreadcrumb";
|
|
12
|
+
import { BdsClickCollapseEvent, BdsClickItemEvent } from "./components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem";
|
|
11
13
|
import { IButton } from "./components/actions/bds-button/types/IButton";
|
|
12
14
|
import { IButtonGroup } from "./components/actions/bds-button-group/types/IButtonGroup";
|
|
13
15
|
import { CheckboxChangeDetail } from "./components/forms/bds-checkbox/types/ICheckbox";
|
|
14
|
-
import {
|
|
16
|
+
import { CheckboxButtonChangeDetail } from "./components/forms/bds-checkbox/bds-checkbox-button/types/ICheckboxButton";
|
|
17
|
+
import { ICheckboxCard } from "./components/forms/bds-checkbox/bds-checkbox-card/types/ICheckboxCard";
|
|
18
|
+
import { IFormValidator, Orientation } from "./types/index";
|
|
19
|
+
import { CheckboxGroupChangeDetail, CheckboxGroupType } from "./components/forms/bds-checkbox/bds-checkbox-group/types";
|
|
15
20
|
import { IDialog } from "./components/overlays/bds-dialog/types";
|
|
16
21
|
import { IDivider } from "./components/helpers/bds-divider/types/IDivider";
|
|
17
22
|
import { IFlag } from "./components/forms/bds-flag/interfaces/IFlag";
|
|
18
|
-
import { IGrid } from "./components/layouts/bds-grid/grid/types";
|
|
19
|
-
import { IGridItem } from "./components/layouts/bds-grid/grid-item/types";
|
|
23
|
+
import { IGrid } from "./components/layouts/bds-grid/bds-grid/types";
|
|
24
|
+
import { IGridItem } from "./components/layouts/bds-grid/bds-grid-item/types";
|
|
20
25
|
import { IListMenu, ListMenuChangeDetail } from "./components/actions/bds-list-menu/bds-list-menu/types/IListMenu";
|
|
21
26
|
import { IListMenuItem, IListMenuItemEvent } from "./components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem";
|
|
22
27
|
import { IPopover } from "./components/overlays/bds-popover/types/IPopover";
|
|
23
|
-
import { RadioChangeDetail } from "./components/forms/bds-radio/types/IRadio";
|
|
24
|
-
import { RadioButtonChangeDetail } from "./components/forms/bds-radio-button/types/IRadioButton";
|
|
25
|
-
import { IRadioCard, RadioCardChangeDetail } from "./components/forms/bds-radio-card/types/IRadioCard";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
28
|
+
import { RadioChangeDetail } from "./components/forms/bds-radio/bds-radio/types/IRadio";
|
|
29
|
+
import { RadioButtonChangeDetail } from "./components/forms/bds-radio/bds-radio-button/types/IRadioButton";
|
|
30
|
+
import { IRadioCard, RadioCardChangeDetail } from "./components/forms/bds-radio/bds-radio-card/types/IRadioCard";
|
|
31
|
+
import { RadioGroupType } from "./components/forms/bds-radio/bds-radio-group/types/types";
|
|
32
|
+
import { RadioGroupChangeDetail } from "./components/forms/bds-radio/bds-radio-group/types/IRadioGroup";
|
|
33
|
+
import { SliderChangeDetail, SliderRawValue, SliderTooltipType, SliderType } from "./components/forms/bds-slider/types";
|
|
29
34
|
import { ISpinner } from "./components/feedback/bds-spinner/types/ISpinner";
|
|
30
35
|
import { IStatus } from "./components/feedback/bds-status/types/IStatus";
|
|
31
36
|
import { ITag, TagEventPayload } from "./components/feedback/bds-tag/types";
|
|
@@ -39,24 +44,29 @@ import { ITypography } from "./components/titles-text/bds-typography/types/ITypo
|
|
|
39
44
|
export { IAvatar } from "./components/images-icons/bds-avatar/types";
|
|
40
45
|
export { IBadge } from "./components/feedback/bds-badge/types/IBadge";
|
|
41
46
|
export { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
47
|
+
export { BdsClickBreadcrumbEvent, BdsClickCollapsedEvent } from "./components/navigation/bds-breadcrumb/types/IBreadcrumb";
|
|
48
|
+
export { BdsClickCollapseEvent, BdsClickItemEvent } from "./components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem";
|
|
42
49
|
export { IButton } from "./components/actions/bds-button/types/IButton";
|
|
43
50
|
export { IButtonGroup } from "./components/actions/bds-button-group/types/IButtonGroup";
|
|
44
51
|
export { CheckboxChangeDetail } from "./components/forms/bds-checkbox/types/ICheckbox";
|
|
45
|
-
export {
|
|
52
|
+
export { CheckboxButtonChangeDetail } from "./components/forms/bds-checkbox/bds-checkbox-button/types/ICheckboxButton";
|
|
53
|
+
export { ICheckboxCard } from "./components/forms/bds-checkbox/bds-checkbox-card/types/ICheckboxCard";
|
|
54
|
+
export { IFormValidator, Orientation } from "./types/index";
|
|
55
|
+
export { CheckboxGroupChangeDetail, CheckboxGroupType } from "./components/forms/bds-checkbox/bds-checkbox-group/types";
|
|
46
56
|
export { IDialog } from "./components/overlays/bds-dialog/types";
|
|
47
57
|
export { IDivider } from "./components/helpers/bds-divider/types/IDivider";
|
|
48
58
|
export { IFlag } from "./components/forms/bds-flag/interfaces/IFlag";
|
|
49
|
-
export { IGrid } from "./components/layouts/bds-grid/grid/types";
|
|
50
|
-
export { IGridItem } from "./components/layouts/bds-grid/grid-item/types";
|
|
59
|
+
export { IGrid } from "./components/layouts/bds-grid/bds-grid/types";
|
|
60
|
+
export { IGridItem } from "./components/layouts/bds-grid/bds-grid-item/types";
|
|
51
61
|
export { IListMenu, ListMenuChangeDetail } from "./components/actions/bds-list-menu/bds-list-menu/types/IListMenu";
|
|
52
62
|
export { IListMenuItem, IListMenuItemEvent } from "./components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem";
|
|
53
63
|
export { IPopover } from "./components/overlays/bds-popover/types/IPopover";
|
|
54
|
-
export { RadioChangeDetail } from "./components/forms/bds-radio/types/IRadio";
|
|
55
|
-
export { RadioButtonChangeDetail } from "./components/forms/bds-radio-button/types/IRadioButton";
|
|
56
|
-
export { IRadioCard, RadioCardChangeDetail } from "./components/forms/bds-radio-card/types/IRadioCard";
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
64
|
+
export { RadioChangeDetail } from "./components/forms/bds-radio/bds-radio/types/IRadio";
|
|
65
|
+
export { RadioButtonChangeDetail } from "./components/forms/bds-radio/bds-radio-button/types/IRadioButton";
|
|
66
|
+
export { IRadioCard, RadioCardChangeDetail } from "./components/forms/bds-radio/bds-radio-card/types/IRadioCard";
|
|
67
|
+
export { RadioGroupType } from "./components/forms/bds-radio/bds-radio-group/types/types";
|
|
68
|
+
export { RadioGroupChangeDetail } from "./components/forms/bds-radio/bds-radio-group/types/IRadioGroup";
|
|
69
|
+
export { SliderChangeDetail, SliderRawValue, SliderTooltipType, SliderType } from "./components/forms/bds-slider/types";
|
|
60
70
|
export { ISpinner } from "./components/feedback/bds-spinner/types/ISpinner";
|
|
61
71
|
export { IStatus } from "./components/feedback/bds-status/types/IStatus";
|
|
62
72
|
export { ITag, TagEventPayload } from "./components/feedback/bds-tag/types";
|
|
@@ -161,6 +171,82 @@ export namespace Components {
|
|
|
161
171
|
*/
|
|
162
172
|
"variant": IBanner['variant'];
|
|
163
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* @summary Breadcrumb navigation container component. Provides a structured navigation trail and
|
|
176
|
+
* handles overflow using a collapse mechanism when the number of items exceeds `maxItems`.
|
|
177
|
+
*/
|
|
178
|
+
interface BdsBreadcrumb {
|
|
179
|
+
/**
|
|
180
|
+
* Number of items visible at the end after collapse occurs.
|
|
181
|
+
* @default 1
|
|
182
|
+
*/
|
|
183
|
+
"itemsAfterCollapse": number;
|
|
184
|
+
/**
|
|
185
|
+
* Number of items visible at the start before collapse occurs.
|
|
186
|
+
* @default 1
|
|
187
|
+
*/
|
|
188
|
+
"itemsBeforeCollapse": number;
|
|
189
|
+
/**
|
|
190
|
+
* Maximum number of breadcrumb items visible before collapsing. If set to 0 or undefined, no collapsing is applied.
|
|
191
|
+
* @default 0
|
|
192
|
+
*/
|
|
193
|
+
"maxItems": number;
|
|
194
|
+
/**
|
|
195
|
+
* Separator rendered between breadcrumb items.
|
|
196
|
+
* @default "/"
|
|
197
|
+
*/
|
|
198
|
+
"separator": string;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @summary Breadcrumb navigation item component that represents a single step within a breadcrumb navigation trail.
|
|
202
|
+
*/
|
|
203
|
+
interface BdsBreadcrumbItem {
|
|
204
|
+
/**
|
|
205
|
+
* Marks this breadcrumb item as the current page. When true, the item is non-interactive and has aria-current="page".
|
|
206
|
+
* @default false
|
|
207
|
+
*/
|
|
208
|
+
"active": boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Internal prop controlled by the parent breadcrumb. Indicates that this item is part of a collapsed range.
|
|
211
|
+
* @default false
|
|
212
|
+
*/
|
|
213
|
+
"collapsed": boolean;
|
|
214
|
+
/**
|
|
215
|
+
* Enables download behavior for the link.
|
|
216
|
+
* @default false
|
|
217
|
+
*/
|
|
218
|
+
"downloadable": boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Suggested filename for the downloaded file.
|
|
221
|
+
* @default 'filename'
|
|
222
|
+
*/
|
|
223
|
+
"filename": string;
|
|
224
|
+
/**
|
|
225
|
+
* URL for the breadcrumb link.
|
|
226
|
+
* @default ''
|
|
227
|
+
*/
|
|
228
|
+
"href": string;
|
|
229
|
+
/**
|
|
230
|
+
* Relationship between the current document and the linked resource.
|
|
231
|
+
* @default ''
|
|
232
|
+
*/
|
|
233
|
+
"rel": string;
|
|
234
|
+
/**
|
|
235
|
+
* Enables router-based navigation instead of native link navigation.
|
|
236
|
+
* @default false
|
|
237
|
+
*/
|
|
238
|
+
"router": boolean;
|
|
239
|
+
/**
|
|
240
|
+
* Internal prop controlled by the parent breadcrumb. Renders the collapse indicator ("...") for hidden items.
|
|
241
|
+
* @default false
|
|
242
|
+
*/
|
|
243
|
+
"showCollapse": boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Specifies where to open the linked document.
|
|
246
|
+
* @default '_self'
|
|
247
|
+
*/
|
|
248
|
+
"target": '_blank' | '_parent' | '_self' | '_top';
|
|
249
|
+
}
|
|
164
250
|
/**
|
|
165
251
|
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
166
252
|
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
@@ -282,13 +368,17 @@ export namespace Components {
|
|
|
282
368
|
* @fires bdsChange - Emitted when the user toggles the checkbox. Payload: `{ checked: boolean, value: string }`.
|
|
283
369
|
*/
|
|
284
370
|
interface BdsCheckbox {
|
|
371
|
+
/**
|
|
372
|
+
* Reports the group's validity state to the user, showing native validation UI if invalid.
|
|
373
|
+
*/
|
|
374
|
+
"checkValidity": () => Promise<boolean>;
|
|
285
375
|
/**
|
|
286
376
|
* Whether the checkbox is selected.
|
|
287
377
|
* @default false
|
|
288
378
|
*/
|
|
289
379
|
"checked": boolean;
|
|
290
380
|
/**
|
|
291
|
-
* Disables the
|
|
381
|
+
* Disables the checkbox.
|
|
292
382
|
* @default false
|
|
293
383
|
*/
|
|
294
384
|
"disabled": boolean;
|
|
@@ -302,6 +392,11 @@ export namespace Components {
|
|
|
302
392
|
* @default false
|
|
303
393
|
*/
|
|
304
394
|
"indeterminate": boolean;
|
|
395
|
+
/**
|
|
396
|
+
* Tooltip text for the checkbox.
|
|
397
|
+
* @default ''
|
|
398
|
+
*/
|
|
399
|
+
"info": string;
|
|
305
400
|
/**
|
|
306
401
|
* Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
307
402
|
* @default ''
|
|
@@ -309,10 +404,15 @@ export namespace Components {
|
|
|
309
404
|
"label": string;
|
|
310
405
|
/**
|
|
311
406
|
* Name of the form control, submitted as a key in the form data.
|
|
407
|
+
* @default ''
|
|
312
408
|
*/
|
|
313
409
|
"name": string;
|
|
314
410
|
/**
|
|
315
|
-
*
|
|
411
|
+
* Reports the group's validity state to the user, showing native validation UI if invalid.
|
|
412
|
+
*/
|
|
413
|
+
"reportValidity": () => Promise<boolean>;
|
|
414
|
+
/**
|
|
415
|
+
* Marks the checkbox as required for form submission.
|
|
316
416
|
* @default false
|
|
317
417
|
*/
|
|
318
418
|
"required": boolean;
|
|
@@ -323,22 +423,70 @@ export namespace Components {
|
|
|
323
423
|
"value": string;
|
|
324
424
|
}
|
|
325
425
|
/**
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
* Can be used standalone or
|
|
330
|
-
*
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
426
|
+
* Button-shaped checkbox option that toggles independently on each interaction.
|
|
427
|
+
* Renders as a pill-button with the same visual language as `bds-radio-button`, but uses
|
|
428
|
+
* `role="checkbox"` and multi-select semantics — toggling one button has no effect on others.
|
|
429
|
+
* Can be used standalone (with `name` and optional `required`) or inside a `bds-checkbox-group`,
|
|
430
|
+
* which is the recommended approach for coordinated form state and group-level validation.
|
|
431
|
+
*/
|
|
432
|
+
interface BdsCheckboxButton {
|
|
433
|
+
/**
|
|
434
|
+
* Returns whether this button satisfies its validation constraints.
|
|
435
|
+
*/
|
|
436
|
+
"checkValidity": () => Promise<boolean>;
|
|
437
|
+
/**
|
|
438
|
+
* Toggle state of this button. Flips on every interaction when not disabled.
|
|
439
|
+
* @default false
|
|
440
|
+
*/
|
|
441
|
+
"checked": boolean;
|
|
442
|
+
/**
|
|
443
|
+
* Disables the button, preventing interaction. Propagated by `bds-checkbox-group` when the group is disabled.
|
|
444
|
+
* @default false
|
|
445
|
+
*/
|
|
446
|
+
"disabled": boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Shows error styling on the button.
|
|
449
|
+
* @default false
|
|
450
|
+
*/
|
|
451
|
+
"error": boolean;
|
|
452
|
+
/**
|
|
453
|
+
* Tooltip text shown on an info icon next to the label.
|
|
454
|
+
* @default ''
|
|
455
|
+
*/
|
|
456
|
+
"info": string;
|
|
457
|
+
/**
|
|
458
|
+
* Label text displayed inside the button. Falls back to the default slot when empty.
|
|
459
|
+
* @default ''
|
|
460
|
+
*/
|
|
461
|
+
"label": string;
|
|
462
|
+
/**
|
|
463
|
+
* Name of the form control, submitted as a key in the form data.
|
|
464
|
+
* @default ''
|
|
465
|
+
*/
|
|
466
|
+
"name": string;
|
|
467
|
+
/**
|
|
468
|
+
* Reports validity to the user, showing native validation UI if invalid.
|
|
469
|
+
*/
|
|
470
|
+
"reportValidity": () => Promise<boolean>;
|
|
471
|
+
/**
|
|
472
|
+
* Marks this button as required for form submission. Has no effect when used inside `bds-checkbox-group`.
|
|
473
|
+
* @default false
|
|
474
|
+
*/
|
|
475
|
+
"required": boolean;
|
|
476
|
+
/**
|
|
477
|
+
* Value associated with this button; submitted with form data when checked.
|
|
478
|
+
* @default 'on'
|
|
479
|
+
*/
|
|
480
|
+
"value": string;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @summary Checkbox card component is a selectable card-based checkbox option.
|
|
340
484
|
*/
|
|
341
485
|
interface BdsCheckboxCard {
|
|
486
|
+
/**
|
|
487
|
+
* Reports the group's validity state to the user, showing native validation UI if invalid.
|
|
488
|
+
*/
|
|
489
|
+
"checkValidity": () => Promise<boolean>;
|
|
342
490
|
/**
|
|
343
491
|
* Whether this checkbox card is selected.
|
|
344
492
|
* @default false
|
|
@@ -368,6 +516,10 @@ export namespace Components {
|
|
|
368
516
|
* Name of the form control, submitted as a key in the form data.
|
|
369
517
|
*/
|
|
370
518
|
"name": ICheckboxCard['name'];
|
|
519
|
+
/**
|
|
520
|
+
* Reports the group's validity state to the user, showing native validation UI if invalid.
|
|
521
|
+
*/
|
|
522
|
+
"reportValidity": () => Promise<boolean>;
|
|
371
523
|
/**
|
|
372
524
|
* Marks the control as required for form submission.
|
|
373
525
|
* @default false
|
|
@@ -379,6 +531,79 @@ export namespace Components {
|
|
|
379
531
|
*/
|
|
380
532
|
"value": ICheckboxCard['value'];
|
|
381
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Checkbox group component that orchestrates multi-selection across a set of `bds-checkbox`, `bds-checkbox-button`, `bds-checkbox-card` children.
|
|
536
|
+
*/
|
|
537
|
+
interface BdsCheckboxGroup {
|
|
538
|
+
/**
|
|
539
|
+
* Returns whether the group's current value satisfies the browser's built-in constraint validation.
|
|
540
|
+
*/
|
|
541
|
+
"checkValidity": () => Promise<boolean>;
|
|
542
|
+
/**
|
|
543
|
+
* Disables all child checkboxes and prevents selection. Also mirrored to isDisabled
|
|
544
|
+
* @State for form-level disable support.
|
|
545
|
+
* @default false
|
|
546
|
+
*/
|
|
547
|
+
"disabled": boolean;
|
|
548
|
+
/**
|
|
549
|
+
* Shows error styling on the group helper text. Propagated to all child checkboxes.
|
|
550
|
+
* @default false
|
|
551
|
+
*/
|
|
552
|
+
"error": boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Error message rendered below the checkbox options when error is true. Replaces helperText.
|
|
555
|
+
* @default ''
|
|
556
|
+
*/
|
|
557
|
+
"errorMessage": string;
|
|
558
|
+
/**
|
|
559
|
+
* Helper text rendered below the checkbox options. Shown in default state; replaced by errorMessage in error state.
|
|
560
|
+
* @default ''
|
|
561
|
+
*/
|
|
562
|
+
"helperText": string;
|
|
563
|
+
/**
|
|
564
|
+
* Tooltip text shown on the group label info icon.
|
|
565
|
+
* @default ''
|
|
566
|
+
*/
|
|
567
|
+
"info": string;
|
|
568
|
+
/**
|
|
569
|
+
* Hides the divider between checkbox buttons when type is 'checkboxbutton'.
|
|
570
|
+
* @default false
|
|
571
|
+
*/
|
|
572
|
+
"joined": false;
|
|
573
|
+
/**
|
|
574
|
+
* Group label rendered above the checkbox options.
|
|
575
|
+
* @default ''
|
|
576
|
+
*/
|
|
577
|
+
"label": string;
|
|
578
|
+
/**
|
|
579
|
+
* Name of the form control; submitted as the field key in FormData.
|
|
580
|
+
*/
|
|
581
|
+
"name": string;
|
|
582
|
+
/**
|
|
583
|
+
* Layout direction of the checkbox options.
|
|
584
|
+
* @default 'horizontal'
|
|
585
|
+
*/
|
|
586
|
+
"orientation": Orientation;
|
|
587
|
+
/**
|
|
588
|
+
* Reports the group's validity state to the user, showing native validation UI if invalid.
|
|
589
|
+
*/
|
|
590
|
+
"reportValidity": () => Promise<boolean>;
|
|
591
|
+
/**
|
|
592
|
+
* Marks the group as required for form submission. Triggers validity error when no checkboxes are selected.
|
|
593
|
+
* @default false
|
|
594
|
+
*/
|
|
595
|
+
"required": boolean;
|
|
596
|
+
/**
|
|
597
|
+
* Identifies this group variant. 'checkbox' renders bds-checkbox children; 'checkboxbutton' renders bds-checkbox-button segmented control; 'checkboxcard' renders bds-checkbox-card element.
|
|
598
|
+
* @default 'checkbox'
|
|
599
|
+
*/
|
|
600
|
+
"type": CheckboxGroupType;
|
|
601
|
+
/**
|
|
602
|
+
* Currently selected checkbox values. Synced to children on change.
|
|
603
|
+
* @default []
|
|
604
|
+
*/
|
|
605
|
+
"value": string[];
|
|
606
|
+
}
|
|
382
607
|
/**
|
|
383
608
|
* Modal dialog component for displaying content in an overlay.
|
|
384
609
|
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
@@ -631,6 +856,25 @@ export namespace Components {
|
|
|
631
856
|
* @method setSelectedValues - Sets the selected value(s). Accepts a string for single selection or an array of strings for multiple selection.
|
|
632
857
|
*/
|
|
633
858
|
interface BdsListMenu {
|
|
859
|
+
/**
|
|
860
|
+
* Prop to show in all items a checkbox
|
|
861
|
+
* @default false
|
|
862
|
+
*/
|
|
863
|
+
"checkable": IListMenu['checkable'];
|
|
864
|
+
/**
|
|
865
|
+
* is empty state item
|
|
866
|
+
* @default false
|
|
867
|
+
*/
|
|
868
|
+
"empty": IListMenu['empty'];
|
|
869
|
+
/**
|
|
870
|
+
* Prop to show empty text
|
|
871
|
+
* @default 'No options available'
|
|
872
|
+
*/
|
|
873
|
+
"emptyText": IListMenu['emptyText'];
|
|
874
|
+
/**
|
|
875
|
+
* Retrieves all child menu items.
|
|
876
|
+
*/
|
|
877
|
+
"getAllItems": () => Promise<HTMLBdsListMenuItemElement[]>;
|
|
634
878
|
/**
|
|
635
879
|
* Retrieves the currently selected value(s) programmatically.
|
|
636
880
|
* @method getSelectedValues
|
|
@@ -764,6 +1008,10 @@ export namespace Components {
|
|
|
764
1008
|
* @default false
|
|
765
1009
|
*/
|
|
766
1010
|
"closable"?: boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* Programmatically closes the popover, running the full hide lifecycle.
|
|
1013
|
+
*/
|
|
1014
|
+
"closePopover": () => Promise<void>;
|
|
767
1015
|
/**
|
|
768
1016
|
* If true, disables the popover.
|
|
769
1017
|
* @default false
|
|
@@ -784,6 +1032,10 @@ export namespace Components {
|
|
|
784
1032
|
* @default false
|
|
785
1033
|
*/
|
|
786
1034
|
"header"?: boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Programmatically opens the popover, running the full show lifecycle.
|
|
1037
|
+
*/
|
|
1038
|
+
"openPopover": () => Promise<void>;
|
|
787
1039
|
/**
|
|
788
1040
|
* Width of the popover content. - number: width in pixels (e.g. 320 → "320px") - 'full': 100% of the trigger/parent width - 'auto': fits the content
|
|
789
1041
|
* @default 320
|
|
@@ -931,39 +1183,44 @@ export namespace Components {
|
|
|
931
1183
|
* @State for form-level disable support.
|
|
932
1184
|
* @default false
|
|
933
1185
|
*/
|
|
934
|
-
"disabled":
|
|
1186
|
+
"disabled": boolean;
|
|
935
1187
|
/**
|
|
936
1188
|
* Shows error styling on the group helper text. Propagated to all child radios.
|
|
937
1189
|
* @default false
|
|
938
1190
|
*/
|
|
939
|
-
"error":
|
|
1191
|
+
"error": boolean;
|
|
940
1192
|
/**
|
|
941
1193
|
* Error message rendered below the radio options when error is true. Replaces helperText.
|
|
942
1194
|
* @default ''
|
|
943
1195
|
*/
|
|
944
|
-
"errorMessage":
|
|
1196
|
+
"errorMessage": string;
|
|
945
1197
|
/**
|
|
946
1198
|
* Helper text rendered below the radio options. Shown in default state; replaced by errorMessage in error state.
|
|
947
1199
|
* @default ''
|
|
948
1200
|
*/
|
|
949
|
-
"helperText":
|
|
1201
|
+
"helperText": string;
|
|
950
1202
|
/**
|
|
951
1203
|
* Tooltip text shown on the group label info icon.
|
|
952
1204
|
* @default ''
|
|
953
1205
|
*/
|
|
954
|
-
"info":
|
|
1206
|
+
"info": string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Hides the divider between radio buttons when type is 'radiobutton'.
|
|
1209
|
+
* @default false
|
|
1210
|
+
*/
|
|
1211
|
+
"joined": boolean;
|
|
955
1212
|
/**
|
|
956
1213
|
* Group label rendered above the radio options.
|
|
957
1214
|
* @default ''
|
|
958
1215
|
*/
|
|
959
|
-
"label":
|
|
1216
|
+
"label": string;
|
|
960
1217
|
/**
|
|
961
1218
|
* Name of the form control; submitted as the field key in FormData.
|
|
962
1219
|
*/
|
|
963
1220
|
"name": string;
|
|
964
1221
|
/**
|
|
965
1222
|
* Layout direction of the radio options.
|
|
966
|
-
* @default
|
|
1223
|
+
* @default 'vertical'
|
|
967
1224
|
*/
|
|
968
1225
|
"orientation": Orientation;
|
|
969
1226
|
/**
|
|
@@ -974,10 +1231,10 @@ export namespace Components {
|
|
|
974
1231
|
* Marks the group as required for form submission. Triggers validity error when no radio is selected.
|
|
975
1232
|
* @default false
|
|
976
1233
|
*/
|
|
977
|
-
"required":
|
|
1234
|
+
"required": boolean;
|
|
978
1235
|
/**
|
|
979
1236
|
* Identifies this group variant. 'radio' renders circular bds-radio children; 'radiobutton' renders bds-radio-button segmented control; 'radiocard' renders bds-radio-card element.
|
|
980
|
-
* @default
|
|
1237
|
+
* @default 'radio'
|
|
981
1238
|
*/
|
|
982
1239
|
"type": RadioGroupType;
|
|
983
1240
|
/**
|
|
@@ -986,6 +1243,115 @@ export namespace Components {
|
|
|
986
1243
|
*/
|
|
987
1244
|
"value": string;
|
|
988
1245
|
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Component representing a select dropdown, allowing users to choose an option from a list.
|
|
1248
|
+
* It consists of a text field that triggers the dropdown and a list menu that contains the options.
|
|
1249
|
+
* The component supports both single selection and searchable functionality.
|
|
1250
|
+
*/
|
|
1251
|
+
interface BdsSelect {
|
|
1252
|
+
/**
|
|
1253
|
+
* Name to assign in form
|
|
1254
|
+
* @default ''
|
|
1255
|
+
*/
|
|
1256
|
+
"name": string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Prop to define if its searchable. It allows to write and filter the options
|
|
1259
|
+
* @default false
|
|
1260
|
+
*/
|
|
1261
|
+
"searchable": boolean;
|
|
1262
|
+
/**
|
|
1263
|
+
* The value of the select component.
|
|
1264
|
+
* @default ''
|
|
1265
|
+
*/
|
|
1266
|
+
"value": string;
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Slider component for selecting a numeric value or a range of values.
|
|
1270
|
+
* @summary An accessible, single or multi-handle range slider built on HTML `<input type="range">`.
|
|
1271
|
+
* Supports discrete tick marks, tooltips, disabled state, and N-handle multi-value mode
|
|
1272
|
+
* with automatic collision prevention between handles.
|
|
1273
|
+
* @property {number} min - Minimum selectable value. Defaults to `0`.
|
|
1274
|
+
* @property {number} max - Maximum selectable value. Defaults to `100`.
|
|
1275
|
+
* @property {number} step - Step size for each increment/decrement. Defaults to `1`.
|
|
1276
|
+
* @property {number[]} value - Current value(s). A single number for one handle;
|
|
1277
|
+
* an array for multi-handle mode. Defaults to `0`.
|
|
1278
|
+
* @property {boolean} disabled - Disables interaction with the slider. Defaults to `false`.
|
|
1279
|
+
* @property {boolean} discrete - Shows tick marks at each step position along the track. Defaults to `false`.
|
|
1280
|
+
* @property {string} tooltip - Controls tooltip visibility: `"never"`, or `"focus"`. Defaults to `"focus"`.
|
|
1281
|
+
* @method getValues - Returns the current value(s) as `number | number[]`.
|
|
1282
|
+
* @method setValues - Programmatically sets the slider value(s).
|
|
1283
|
+
*/
|
|
1284
|
+
interface BdsSlider {
|
|
1285
|
+
/**
|
|
1286
|
+
* Disables the slider, preventing all user interaction. Defaults to `false`.
|
|
1287
|
+
* @default false
|
|
1288
|
+
*/
|
|
1289
|
+
"disabled": boolean;
|
|
1290
|
+
/**
|
|
1291
|
+
* JSON string array of handle values that should be individually disabled. Each number must match a value present in the `value` prop. Accepts `number`, `number[]`, or JSON string: `"[5, 30]"`. Defaults to `"[]"`.
|
|
1292
|
+
* @default '[]'
|
|
1293
|
+
*/
|
|
1294
|
+
"disabledHandlers": SliderRawValue;
|
|
1295
|
+
/**
|
|
1296
|
+
* When `true`, renders discrete tick marks along the track at every step position between `min` and `max`. Defaults to `false`.
|
|
1297
|
+
* @default false
|
|
1298
|
+
*/
|
|
1299
|
+
"discrete": boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* Returns the current value(s) of the slider. - Single-handle → `number` - Multi-handle → `number[]`
|
|
1302
|
+
*/
|
|
1303
|
+
"getValues": () => Promise<number[]>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Label for the slider. Defaults to `""`.
|
|
1306
|
+
* @default ''
|
|
1307
|
+
*/
|
|
1308
|
+
"label": string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Maximum selectable value. Defaults to `100`.
|
|
1311
|
+
* @default 100
|
|
1312
|
+
*/
|
|
1313
|
+
"max": number;
|
|
1314
|
+
/**
|
|
1315
|
+
* Minimum selectable value. Defaults to `0`.
|
|
1316
|
+
* @default 0
|
|
1317
|
+
*/
|
|
1318
|
+
"min": number;
|
|
1319
|
+
/**
|
|
1320
|
+
* Name of the form control, submitted as a key in the form data.
|
|
1321
|
+
* @default ''
|
|
1322
|
+
*/
|
|
1323
|
+
"name": string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Programmatically sets the slider value(s).
|
|
1326
|
+
* @param next - A single `number` or an array of `number[]` matching the number of handles.
|
|
1327
|
+
*/
|
|
1328
|
+
"setValues": (next: SliderRawValue) => Promise<void>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Shows the min and max values of the slider. Defaults to `false`.
|
|
1331
|
+
* @default false
|
|
1332
|
+
*/
|
|
1333
|
+
"showLimits": boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* Step size for each increment/decrement. Must be a positive number. Defaults to `1`.
|
|
1336
|
+
* @default 1
|
|
1337
|
+
*/
|
|
1338
|
+
"step": number;
|
|
1339
|
+
/**
|
|
1340
|
+
* Controls tooltip visibility on each handle. - `"never"` — tooltip is hidden. - `"focus"` — tooltip appears only when the handle is active/focused. Defa ults to `"focus"`.
|
|
1341
|
+
* @default SLIDER_TOOLTIP.FOCUS
|
|
1342
|
+
*/
|
|
1343
|
+
"tooltip": SliderTooltipType;
|
|
1344
|
+
/**
|
|
1345
|
+
* Slider type that defines the slider behavior. Defaults to `single`.
|
|
1346
|
+
* @default SLIDER_TYPE.SINGLE
|
|
1347
|
+
*/
|
|
1348
|
+
"type": SliderType;
|
|
1349
|
+
/**
|
|
1350
|
+
* Current value(s) of the slider. Accepts `number`, `number[]`, or a JSON string for HTML vanilla usage. - Single handle: `50` or `"50"` - Multi-handle: `[10, 50, 80]` or `"[10, 50, 80]"` - Defaults to `0`.
|
|
1351
|
+
* @default [0]
|
|
1352
|
+
*/
|
|
1353
|
+
"value": SliderRawValue;
|
|
1354
|
+
}
|
|
989
1355
|
/**
|
|
990
1356
|
* Spinner component used to indicate a loading or processing state.
|
|
991
1357
|
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
@@ -1164,6 +1530,11 @@ export namespace Components {
|
|
|
1164
1530
|
* @default ''
|
|
1165
1531
|
*/
|
|
1166
1532
|
"icon": string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Icon rendered on the right side of the input, on the actions containers. (e.g., 'bds-icon-settings')
|
|
1535
|
+
* @default ''
|
|
1536
|
+
*/
|
|
1537
|
+
"iconRight": string;
|
|
1167
1538
|
/**
|
|
1168
1539
|
* Tooltip content attached to the label. Rendered via `bds-typography` `tooltipText` prop.
|
|
1169
1540
|
* @default ''
|
|
@@ -1213,6 +1584,11 @@ export namespace Components {
|
|
|
1213
1584
|
* @default false
|
|
1214
1585
|
*/
|
|
1215
1586
|
"required": boolean;
|
|
1587
|
+
/**
|
|
1588
|
+
* Set mode readonly to use in selects
|
|
1589
|
+
* @default false
|
|
1590
|
+
*/
|
|
1591
|
+
"selectable": boolean;
|
|
1216
1592
|
/**
|
|
1217
1593
|
* Sublabel rendered inside the input container, before the text area.
|
|
1218
1594
|
* @default ''
|
|
@@ -1342,49 +1718,6 @@ export namespace Components {
|
|
|
1342
1718
|
/**
|
|
1343
1719
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
1344
1720
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
1345
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
1346
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
1347
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
1348
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
1349
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
1350
|
-
* @attr {boolean} required - Shows a required indicator when used with `label` variant.
|
|
1351
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
1352
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
1353
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
1354
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
1355
|
-
* @attr {boolean} downloadable - Makes the `link` download a file.
|
|
1356
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
1357
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
1358
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
1359
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
1360
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
1361
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
1362
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
1363
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
1364
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
1365
|
-
* @property {boolean} required - Shows a required indicator when used with `label` variant.
|
|
1366
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
1367
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
1368
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
1369
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
1370
|
-
* @property {boolean} downloadable - Makes the `link` download a file.
|
|
1371
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
1372
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
1373
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
1374
|
-
* @property {string} customClass - Additional custom CSS class
|
|
1375
|
-
* @default 'display' - Default variant value
|
|
1376
|
-
* @default 'p' - Default element value
|
|
1377
|
-
* @default 'start' - Default align value
|
|
1378
|
-
* @default 'md' - Default size value
|
|
1379
|
-
* @default 'default' - Default state value
|
|
1380
|
-
* @default false - Default required state
|
|
1381
|
-
* @default false - Default ellipsis state
|
|
1382
|
-
* @default 1 - Default maxLines value
|
|
1383
|
-
* @default '' - Default href value
|
|
1384
|
-
* @default '' - Default target value
|
|
1385
|
-
* @default false - Default downloadable state
|
|
1386
|
-
* @default 'download' - Default filename value
|
|
1387
|
-
* @default '' - Default tooltipText value
|
|
1388
1721
|
*/
|
|
1389
1722
|
interface BdsTypography {
|
|
1390
1723
|
/**
|
|
@@ -1432,6 +1765,11 @@ export namespace Components {
|
|
|
1432
1765
|
* @default 1
|
|
1433
1766
|
*/
|
|
1434
1767
|
"maxLines": ITypography['maxLines'];
|
|
1768
|
+
/**
|
|
1769
|
+
* Relationship between the current document and the linked resource.
|
|
1770
|
+
* @default ''
|
|
1771
|
+
*/
|
|
1772
|
+
"rel": ITypography['rel'];
|
|
1435
1773
|
/**
|
|
1436
1774
|
* Marks the field as required.
|
|
1437
1775
|
* @default false
|
|
@@ -1468,6 +1806,14 @@ export interface BdsBannerCustomEvent<T> extends CustomEvent<T> {
|
|
|
1468
1806
|
detail: T;
|
|
1469
1807
|
target: HTMLBdsBannerElement;
|
|
1470
1808
|
}
|
|
1809
|
+
export interface BdsBreadcrumbCustomEvent<T> extends CustomEvent<T> {
|
|
1810
|
+
detail: T;
|
|
1811
|
+
target: HTMLBdsBreadcrumbElement;
|
|
1812
|
+
}
|
|
1813
|
+
export interface BdsBreadcrumbItemCustomEvent<T> extends CustomEvent<T> {
|
|
1814
|
+
detail: T;
|
|
1815
|
+
target: HTMLBdsBreadcrumbItemElement;
|
|
1816
|
+
}
|
|
1471
1817
|
export interface BdsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
1472
1818
|
detail: T;
|
|
1473
1819
|
target: HTMLBdsButtonElement;
|
|
@@ -1476,10 +1822,18 @@ export interface BdsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1476
1822
|
detail: T;
|
|
1477
1823
|
target: HTMLBdsCheckboxElement;
|
|
1478
1824
|
}
|
|
1825
|
+
export interface BdsCheckboxButtonCustomEvent<T> extends CustomEvent<T> {
|
|
1826
|
+
detail: T;
|
|
1827
|
+
target: HTMLBdsCheckboxButtonElement;
|
|
1828
|
+
}
|
|
1479
1829
|
export interface BdsCheckboxCardCustomEvent<T> extends CustomEvent<T> {
|
|
1480
1830
|
detail: T;
|
|
1481
1831
|
target: HTMLBdsCheckboxCardElement;
|
|
1482
1832
|
}
|
|
1833
|
+
export interface BdsCheckboxGroupCustomEvent<T> extends CustomEvent<T> {
|
|
1834
|
+
detail: T;
|
|
1835
|
+
target: HTMLBdsCheckboxGroupElement;
|
|
1836
|
+
}
|
|
1483
1837
|
export interface BdsDialogCustomEvent<T> extends CustomEvent<T> {
|
|
1484
1838
|
detail: T;
|
|
1485
1839
|
target: HTMLBdsDialogElement;
|
|
@@ -1508,6 +1862,14 @@ export interface BdsRadioGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
1508
1862
|
detail: T;
|
|
1509
1863
|
target: HTMLBdsRadioGroupElement;
|
|
1510
1864
|
}
|
|
1865
|
+
export interface BdsSelectCustomEvent<T> extends CustomEvent<T> {
|
|
1866
|
+
detail: T;
|
|
1867
|
+
target: HTMLBdsSelectElement;
|
|
1868
|
+
}
|
|
1869
|
+
export interface BdsSliderCustomEvent<T> extends CustomEvent<T> {
|
|
1870
|
+
detail: T;
|
|
1871
|
+
target: HTMLBdsSliderElement;
|
|
1872
|
+
}
|
|
1511
1873
|
export interface BdsTagCustomEvent<T> extends CustomEvent<T> {
|
|
1512
1874
|
detail: T;
|
|
1513
1875
|
target: HTMLBdsTagElement;
|
|
@@ -1584,6 +1946,49 @@ declare global {
|
|
|
1584
1946
|
prototype: HTMLBdsBannerElement;
|
|
1585
1947
|
new (): HTMLBdsBannerElement;
|
|
1586
1948
|
};
|
|
1949
|
+
interface HTMLBdsBreadcrumbElementEventMap {
|
|
1950
|
+
"bdsClickCollapsed": BdsClickCollapsedEvent;
|
|
1951
|
+
"bdsClickBreadcrumb": BdsClickBreadcrumbEvent;
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* @summary Breadcrumb navigation container component. Provides a structured navigation trail and
|
|
1955
|
+
* handles overflow using a collapse mechanism when the number of items exceeds `maxItems`.
|
|
1956
|
+
*/
|
|
1957
|
+
interface HTMLBdsBreadcrumbElement extends Components.BdsBreadcrumb, HTMLStencilElement {
|
|
1958
|
+
addEventListener<K extends keyof HTMLBdsBreadcrumbElementEventMap>(type: K, listener: (this: HTMLBdsBreadcrumbElement, ev: BdsBreadcrumbCustomEvent<HTMLBdsBreadcrumbElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1959
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1960
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1961
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1962
|
+
removeEventListener<K extends keyof HTMLBdsBreadcrumbElementEventMap>(type: K, listener: (this: HTMLBdsBreadcrumbElement, ev: BdsBreadcrumbCustomEvent<HTMLBdsBreadcrumbElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1963
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1964
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1965
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1966
|
+
}
|
|
1967
|
+
var HTMLBdsBreadcrumbElement: {
|
|
1968
|
+
prototype: HTMLBdsBreadcrumbElement;
|
|
1969
|
+
new (): HTMLBdsBreadcrumbElement;
|
|
1970
|
+
};
|
|
1971
|
+
interface HTMLBdsBreadcrumbItemElementEventMap {
|
|
1972
|
+
"bdsClick": BdsClickItemEvent;
|
|
1973
|
+
"bdsClickCollapse": BdsClickCollapseEvent;
|
|
1974
|
+
}
|
|
1975
|
+
/**
|
|
1976
|
+
* @summary Breadcrumb navigation item component that represents a single step within a breadcrumb navigation trail.
|
|
1977
|
+
*/
|
|
1978
|
+
interface HTMLBdsBreadcrumbItemElement extends Components.BdsBreadcrumbItem, HTMLStencilElement {
|
|
1979
|
+
addEventListener<K extends keyof HTMLBdsBreadcrumbItemElementEventMap>(type: K, listener: (this: HTMLBdsBreadcrumbItemElement, ev: BdsBreadcrumbItemCustomEvent<HTMLBdsBreadcrumbItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1980
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1981
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1982
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1983
|
+
removeEventListener<K extends keyof HTMLBdsBreadcrumbItemElementEventMap>(type: K, listener: (this: HTMLBdsBreadcrumbItemElement, ev: BdsBreadcrumbItemCustomEvent<HTMLBdsBreadcrumbItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1984
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1985
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1986
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1987
|
+
}
|
|
1988
|
+
var HTMLBdsBreadcrumbItemElement: {
|
|
1989
|
+
prototype: HTMLBdsBreadcrumbItemElement;
|
|
1990
|
+
new (): HTMLBdsBreadcrumbItemElement;
|
|
1991
|
+
};
|
|
1587
1992
|
interface HTMLBdsButtonElementEventMap {
|
|
1588
1993
|
"bdsClick": UIEvent;
|
|
1589
1994
|
}
|
|
@@ -1671,25 +2076,37 @@ declare global {
|
|
|
1671
2076
|
prototype: HTMLBdsCheckboxElement;
|
|
1672
2077
|
new (): HTMLBdsCheckboxElement;
|
|
1673
2078
|
};
|
|
2079
|
+
interface HTMLBdsCheckboxButtonElementEventMap {
|
|
2080
|
+
"valueChange": boolean;
|
|
2081
|
+
"bdsChange": CheckboxButtonChangeDetail;
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* Button-shaped checkbox option that toggles independently on each interaction.
|
|
2085
|
+
* Renders as a pill-button with the same visual language as `bds-radio-button`, but uses
|
|
2086
|
+
* `role="checkbox"` and multi-select semantics — toggling one button has no effect on others.
|
|
2087
|
+
* Can be used standalone (with `name` and optional `required`) or inside a `bds-checkbox-group`,
|
|
2088
|
+
* which is the recommended approach for coordinated form state and group-level validation.
|
|
2089
|
+
*/
|
|
2090
|
+
interface HTMLBdsCheckboxButtonElement extends Components.BdsCheckboxButton, HTMLStencilElement {
|
|
2091
|
+
addEventListener<K extends keyof HTMLBdsCheckboxButtonElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxButtonElement, ev: BdsCheckboxButtonCustomEvent<HTMLBdsCheckboxButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2092
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2093
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2094
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2095
|
+
removeEventListener<K extends keyof HTMLBdsCheckboxButtonElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxButtonElement, ev: BdsCheckboxButtonCustomEvent<HTMLBdsCheckboxButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2096
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2097
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2098
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2099
|
+
}
|
|
2100
|
+
var HTMLBdsCheckboxButtonElement: {
|
|
2101
|
+
prototype: HTMLBdsCheckboxButtonElement;
|
|
2102
|
+
new (): HTMLBdsCheckboxButtonElement;
|
|
2103
|
+
};
|
|
1674
2104
|
interface HTMLBdsCheckboxCardElementEventMap {
|
|
1675
2105
|
"valueChange": any;
|
|
1676
2106
|
"bdsChange": any;
|
|
1677
2107
|
}
|
|
1678
2108
|
/**
|
|
1679
|
-
* Checkbox card component is a selectable card-based checkbox option.
|
|
1680
|
-
* It presents a non-exclusive choice with optional descriptive text and icon,
|
|
1681
|
-
* supporting checked, indeterminate, disabled, and error states.
|
|
1682
|
-
* Can be used standalone or within a checkbox group for orchestration.
|
|
1683
|
-
* @property {string} name - Name of the form control, submitted as a key in the form data.
|
|
1684
|
-
* @property {boolean} disabled - Disables the control. Defaults to `false`.
|
|
1685
|
-
* @property {boolean} required - Marks the control as required for form submission. Defaults to `false`.
|
|
1686
|
-
* @property {string} value - Value submitted with the form data when checked. Defaults to `"on"`.
|
|
1687
|
-
* @property {string} label - Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
1688
|
-
* @property {boolean} checked - Whether the checkbox card is selected. Defaults to `false`.
|
|
1689
|
-
* @property {boolean} indeterminate - Whether the checkbox card shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
1690
|
-
* @property {boolean} error - Whether the checkbox card is in an error state. Defaults to `false`.
|
|
1691
|
-
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model). Payload: `boolean`.
|
|
1692
|
-
* @fires bdsChange - Emitted when the user toggles the checkbox card. Payload: `{ checked: boolean, value: string }`.
|
|
2109
|
+
* @summary Checkbox card component is a selectable card-based checkbox option.
|
|
1693
2110
|
*/
|
|
1694
2111
|
interface HTMLBdsCheckboxCardElement extends Components.BdsCheckboxCard, HTMLStencilElement {
|
|
1695
2112
|
addEventListener<K extends keyof HTMLBdsCheckboxCardElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxCardElement, ev: BdsCheckboxCardCustomEvent<HTMLBdsCheckboxCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1705,6 +2122,27 @@ declare global {
|
|
|
1705
2122
|
prototype: HTMLBdsCheckboxCardElement;
|
|
1706
2123
|
new (): HTMLBdsCheckboxCardElement;
|
|
1707
2124
|
};
|
|
2125
|
+
interface HTMLBdsCheckboxGroupElementEventMap {
|
|
2126
|
+
"bdsChange": CheckboxGroupChangeDetail;
|
|
2127
|
+
"valueChange": string[];
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* Checkbox group component that orchestrates multi-selection across a set of `bds-checkbox`, `bds-checkbox-button`, `bds-checkbox-card` children.
|
|
2131
|
+
*/
|
|
2132
|
+
interface HTMLBdsCheckboxGroupElement extends Components.BdsCheckboxGroup, HTMLStencilElement {
|
|
2133
|
+
addEventListener<K extends keyof HTMLBdsCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxGroupElement, ev: BdsCheckboxGroupCustomEvent<HTMLBdsCheckboxGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2134
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2135
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2136
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2137
|
+
removeEventListener<K extends keyof HTMLBdsCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxGroupElement, ev: BdsCheckboxGroupCustomEvent<HTMLBdsCheckboxGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2138
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2139
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2140
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2141
|
+
}
|
|
2142
|
+
var HTMLBdsCheckboxGroupElement: {
|
|
2143
|
+
prototype: HTMLBdsCheckboxGroupElement;
|
|
2144
|
+
new (): HTMLBdsCheckboxGroupElement;
|
|
2145
|
+
};
|
|
1708
2146
|
interface HTMLBdsDialogElementEventMap {
|
|
1709
2147
|
"bdsOpen": void;
|
|
1710
2148
|
"bdsClose": void;
|
|
@@ -2005,6 +2443,64 @@ declare global {
|
|
|
2005
2443
|
prototype: HTMLBdsRadioGroupElement;
|
|
2006
2444
|
new (): HTMLBdsRadioGroupElement;
|
|
2007
2445
|
};
|
|
2446
|
+
interface HTMLBdsSelectElementEventMap {
|
|
2447
|
+
"bdsChange": string;
|
|
2448
|
+
"valueChange": string;
|
|
2449
|
+
}
|
|
2450
|
+
/**
|
|
2451
|
+
* Component representing a select dropdown, allowing users to choose an option from a list.
|
|
2452
|
+
* It consists of a text field that triggers the dropdown and a list menu that contains the options.
|
|
2453
|
+
* The component supports both single selection and searchable functionality.
|
|
2454
|
+
*/
|
|
2455
|
+
interface HTMLBdsSelectElement extends Components.BdsSelect, HTMLStencilElement {
|
|
2456
|
+
addEventListener<K extends keyof HTMLBdsSelectElementEventMap>(type: K, listener: (this: HTMLBdsSelectElement, ev: BdsSelectCustomEvent<HTMLBdsSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2457
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2458
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2459
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2460
|
+
removeEventListener<K extends keyof HTMLBdsSelectElementEventMap>(type: K, listener: (this: HTMLBdsSelectElement, ev: BdsSelectCustomEvent<HTMLBdsSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2461
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2462
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2463
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2464
|
+
}
|
|
2465
|
+
var HTMLBdsSelectElement: {
|
|
2466
|
+
prototype: HTMLBdsSelectElement;
|
|
2467
|
+
new (): HTMLBdsSelectElement;
|
|
2468
|
+
};
|
|
2469
|
+
interface HTMLBdsSliderElementEventMap {
|
|
2470
|
+
"bdsChange": SliderChangeDetail;
|
|
2471
|
+
"valueChange": number[];
|
|
2472
|
+
"bdsClick": { target: HTMLElement; value: number[] };
|
|
2473
|
+
}
|
|
2474
|
+
/**
|
|
2475
|
+
* Slider component for selecting a numeric value or a range of values.
|
|
2476
|
+
* @summary An accessible, single or multi-handle range slider built on HTML `<input type="range">`.
|
|
2477
|
+
* Supports discrete tick marks, tooltips, disabled state, and N-handle multi-value mode
|
|
2478
|
+
* with automatic collision prevention between handles.
|
|
2479
|
+
* @property {number} min - Minimum selectable value. Defaults to `0`.
|
|
2480
|
+
* @property {number} max - Maximum selectable value. Defaults to `100`.
|
|
2481
|
+
* @property {number} step - Step size for each increment/decrement. Defaults to `1`.
|
|
2482
|
+
* @property {number[]} value - Current value(s). A single number for one handle;
|
|
2483
|
+
* an array for multi-handle mode. Defaults to `0`.
|
|
2484
|
+
* @property {boolean} disabled - Disables interaction with the slider. Defaults to `false`.
|
|
2485
|
+
* @property {boolean} discrete - Shows tick marks at each step position along the track. Defaults to `false`.
|
|
2486
|
+
* @property {string} tooltip - Controls tooltip visibility: `"never"`, or `"focus"`. Defaults to `"focus"`.
|
|
2487
|
+
* @method getValues - Returns the current value(s) as `number | number[]`.
|
|
2488
|
+
* @method setValues - Programmatically sets the slider value(s).
|
|
2489
|
+
*/
|
|
2490
|
+
interface HTMLBdsSliderElement extends Components.BdsSlider, HTMLStencilElement {
|
|
2491
|
+
addEventListener<K extends keyof HTMLBdsSliderElementEventMap>(type: K, listener: (this: HTMLBdsSliderElement, ev: BdsSliderCustomEvent<HTMLBdsSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2492
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2493
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2494
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2495
|
+
removeEventListener<K extends keyof HTMLBdsSliderElementEventMap>(type: K, listener: (this: HTMLBdsSliderElement, ev: BdsSliderCustomEvent<HTMLBdsSliderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2496
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2497
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2498
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2499
|
+
}
|
|
2500
|
+
var HTMLBdsSliderElement: {
|
|
2501
|
+
prototype: HTMLBdsSliderElement;
|
|
2502
|
+
new (): HTMLBdsSliderElement;
|
|
2503
|
+
};
|
|
2008
2504
|
/**
|
|
2009
2505
|
* Spinner component used to indicate a loading or processing state.
|
|
2010
2506
|
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
@@ -2175,49 +2671,6 @@ declare global {
|
|
|
2175
2671
|
/**
|
|
2176
2672
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
2177
2673
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
2178
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
2179
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
2180
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
2181
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
2182
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
2183
|
-
* @attr {boolean} required - Shows a required indicator when used with `label` variant.
|
|
2184
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
2185
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
2186
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
2187
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
2188
|
-
* @attr {boolean} downloadable - Makes the `link` download a file.
|
|
2189
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
2190
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
2191
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
2192
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
2193
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
2194
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
2195
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
2196
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
2197
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
2198
|
-
* @property {boolean} required - Shows a required indicator when used with `label` variant.
|
|
2199
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
2200
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
2201
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
2202
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
2203
|
-
* @property {boolean} downloadable - Makes the `link` download a file.
|
|
2204
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
2205
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
2206
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
2207
|
-
* @property {string} customClass - Additional custom CSS class
|
|
2208
|
-
* @default 'display' - Default variant value
|
|
2209
|
-
* @default 'p' - Default element value
|
|
2210
|
-
* @default 'start' - Default align value
|
|
2211
|
-
* @default 'md' - Default size value
|
|
2212
|
-
* @default 'default' - Default state value
|
|
2213
|
-
* @default false - Default required state
|
|
2214
|
-
* @default false - Default ellipsis state
|
|
2215
|
-
* @default 1 - Default maxLines value
|
|
2216
|
-
* @default '' - Default href value
|
|
2217
|
-
* @default '' - Default target value
|
|
2218
|
-
* @default false - Default downloadable state
|
|
2219
|
-
* @default 'download' - Default filename value
|
|
2220
|
-
* @default '' - Default tooltipText value
|
|
2221
2674
|
*/
|
|
2222
2675
|
interface HTMLBdsTypographyElement extends Components.BdsTypography, HTMLStencilElement {
|
|
2223
2676
|
}
|
|
@@ -2229,10 +2682,14 @@ declare global {
|
|
|
2229
2682
|
"bds-avatar": HTMLBdsAvatarElement;
|
|
2230
2683
|
"bds-badge": HTMLBdsBadgeElement;
|
|
2231
2684
|
"bds-banner": HTMLBdsBannerElement;
|
|
2685
|
+
"bds-breadcrumb": HTMLBdsBreadcrumbElement;
|
|
2686
|
+
"bds-breadcrumb-item": HTMLBdsBreadcrumbItemElement;
|
|
2232
2687
|
"bds-button": HTMLBdsButtonElement;
|
|
2233
2688
|
"bds-button-group": HTMLBdsButtonGroupElement;
|
|
2234
2689
|
"bds-checkbox": HTMLBdsCheckboxElement;
|
|
2690
|
+
"bds-checkbox-button": HTMLBdsCheckboxButtonElement;
|
|
2235
2691
|
"bds-checkbox-card": HTMLBdsCheckboxCardElement;
|
|
2692
|
+
"bds-checkbox-group": HTMLBdsCheckboxGroupElement;
|
|
2236
2693
|
"bds-dialog": HTMLBdsDialogElement;
|
|
2237
2694
|
"bds-divider": HTMLBdsDividerElement;
|
|
2238
2695
|
"bds-flag": HTMLBdsFlagElement;
|
|
@@ -2245,6 +2702,8 @@ declare global {
|
|
|
2245
2702
|
"bds-radio-button": HTMLBdsRadioButtonElement;
|
|
2246
2703
|
"bds-radio-card": HTMLBdsRadioCardElement;
|
|
2247
2704
|
"bds-radio-group": HTMLBdsRadioGroupElement;
|
|
2705
|
+
"bds-select": HTMLBdsSelectElement;
|
|
2706
|
+
"bds-slider": HTMLBdsSliderElement;
|
|
2248
2707
|
"bds-spinner": HTMLBdsSpinnerElement;
|
|
2249
2708
|
"bds-status": HTMLBdsStatusElement;
|
|
2250
2709
|
"bds-tag": HTMLBdsTagElement;
|
|
@@ -2346,6 +2805,98 @@ declare namespace LocalJSX {
|
|
|
2346
2805
|
*/
|
|
2347
2806
|
"variant"?: IBanner['variant'];
|
|
2348
2807
|
}
|
|
2808
|
+
/**
|
|
2809
|
+
* @summary Breadcrumb navigation container component. Provides a structured navigation trail and
|
|
2810
|
+
* handles overflow using a collapse mechanism when the number of items exceeds `maxItems`.
|
|
2811
|
+
*/
|
|
2812
|
+
interface BdsBreadcrumb {
|
|
2813
|
+
/**
|
|
2814
|
+
* Number of items visible at the end after collapse occurs.
|
|
2815
|
+
* @default 1
|
|
2816
|
+
*/
|
|
2817
|
+
"itemsAfterCollapse"?: number;
|
|
2818
|
+
/**
|
|
2819
|
+
* Number of items visible at the start before collapse occurs.
|
|
2820
|
+
* @default 1
|
|
2821
|
+
*/
|
|
2822
|
+
"itemsBeforeCollapse"?: number;
|
|
2823
|
+
/**
|
|
2824
|
+
* Maximum number of breadcrumb items visible before collapsing. If set to 0 or undefined, no collapsing is applied.
|
|
2825
|
+
* @default 0
|
|
2826
|
+
*/
|
|
2827
|
+
"maxItems"?: number;
|
|
2828
|
+
/**
|
|
2829
|
+
* Emitted when a breadcrumb item is clicked.
|
|
2830
|
+
*/
|
|
2831
|
+
"onBdsClickBreadcrumb"?: (event: BdsBreadcrumbCustomEvent<BdsClickBreadcrumbEvent>) => void;
|
|
2832
|
+
/**
|
|
2833
|
+
* Emitted when the collapse indicator ("...") is clicked. Returns a reference to the clicked element and the list of collapsed breadcrumb items.
|
|
2834
|
+
*/
|
|
2835
|
+
"onBdsClickCollapsed"?: (event: BdsBreadcrumbCustomEvent<BdsClickCollapsedEvent>) => void;
|
|
2836
|
+
/**
|
|
2837
|
+
* Separator rendered between breadcrumb items.
|
|
2838
|
+
* @default "/"
|
|
2839
|
+
*/
|
|
2840
|
+
"separator"?: string;
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* @summary Breadcrumb navigation item component that represents a single step within a breadcrumb navigation trail.
|
|
2844
|
+
*/
|
|
2845
|
+
interface BdsBreadcrumbItem {
|
|
2846
|
+
/**
|
|
2847
|
+
* Marks this breadcrumb item as the current page. When true, the item is non-interactive and has aria-current="page".
|
|
2848
|
+
* @default false
|
|
2849
|
+
*/
|
|
2850
|
+
"active"?: boolean;
|
|
2851
|
+
/**
|
|
2852
|
+
* Internal prop controlled by the parent breadcrumb. Indicates that this item is part of a collapsed range.
|
|
2853
|
+
* @default false
|
|
2854
|
+
*/
|
|
2855
|
+
"collapsed"?: boolean;
|
|
2856
|
+
/**
|
|
2857
|
+
* Enables download behavior for the link.
|
|
2858
|
+
* @default false
|
|
2859
|
+
*/
|
|
2860
|
+
"downloadable"?: boolean;
|
|
2861
|
+
/**
|
|
2862
|
+
* Suggested filename for the downloaded file.
|
|
2863
|
+
* @default 'filename'
|
|
2864
|
+
*/
|
|
2865
|
+
"filename"?: string;
|
|
2866
|
+
/**
|
|
2867
|
+
* URL for the breadcrumb link.
|
|
2868
|
+
* @default ''
|
|
2869
|
+
*/
|
|
2870
|
+
"href"?: string;
|
|
2871
|
+
/**
|
|
2872
|
+
* Emitted when a breadcrumb item is clicked.
|
|
2873
|
+
*/
|
|
2874
|
+
"onBdsClick"?: (event: BdsBreadcrumbItemCustomEvent<BdsClickItemEvent>) => void;
|
|
2875
|
+
/**
|
|
2876
|
+
* Emitted when the collapse indicator ("...") is activated.
|
|
2877
|
+
*/
|
|
2878
|
+
"onBdsClickCollapse"?: (event: BdsBreadcrumbItemCustomEvent<BdsClickCollapseEvent>) => void;
|
|
2879
|
+
/**
|
|
2880
|
+
* Relationship between the current document and the linked resource.
|
|
2881
|
+
* @default ''
|
|
2882
|
+
*/
|
|
2883
|
+
"rel"?: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* Enables router-based navigation instead of native link navigation.
|
|
2886
|
+
* @default false
|
|
2887
|
+
*/
|
|
2888
|
+
"router"?: boolean;
|
|
2889
|
+
/**
|
|
2890
|
+
* Internal prop controlled by the parent breadcrumb. Renders the collapse indicator ("...") for hidden items.
|
|
2891
|
+
* @default false
|
|
2892
|
+
*/
|
|
2893
|
+
"showCollapse"?: boolean;
|
|
2894
|
+
/**
|
|
2895
|
+
* Specifies where to open the linked document.
|
|
2896
|
+
* @default '_self'
|
|
2897
|
+
*/
|
|
2898
|
+
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
2899
|
+
}
|
|
2349
2900
|
/**
|
|
2350
2901
|
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
2351
2902
|
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
@@ -2481,7 +3032,7 @@ declare namespace LocalJSX {
|
|
|
2481
3032
|
*/
|
|
2482
3033
|
"checked"?: boolean;
|
|
2483
3034
|
/**
|
|
2484
|
-
* Disables the
|
|
3035
|
+
* Disables the checkbox.
|
|
2485
3036
|
* @default false
|
|
2486
3037
|
*/
|
|
2487
3038
|
"disabled"?: boolean;
|
|
@@ -2499,6 +3050,11 @@ declare namespace LocalJSX {
|
|
|
2499
3050
|
* @default false
|
|
2500
3051
|
*/
|
|
2501
3052
|
"indeterminate"?: boolean;
|
|
3053
|
+
/**
|
|
3054
|
+
* Tooltip text for the checkbox.
|
|
3055
|
+
* @default ''
|
|
3056
|
+
*/
|
|
3057
|
+
"info"?: string;
|
|
2502
3058
|
/**
|
|
2503
3059
|
* Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
2504
3060
|
* @default ''
|
|
@@ -2506,8 +3062,9 @@ declare namespace LocalJSX {
|
|
|
2506
3062
|
"label"?: string;
|
|
2507
3063
|
/**
|
|
2508
3064
|
* Name of the form control, submitted as a key in the form data.
|
|
3065
|
+
* @default ''
|
|
2509
3066
|
*/
|
|
2510
|
-
"name"
|
|
3067
|
+
"name"?: string;
|
|
2511
3068
|
/**
|
|
2512
3069
|
* Emitted when the user toggles the checkbox.
|
|
2513
3070
|
*/
|
|
@@ -2517,7 +3074,7 @@ declare namespace LocalJSX {
|
|
|
2517
3074
|
*/
|
|
2518
3075
|
"onValueChange"?: (event: BdsCheckboxCustomEvent<boolean>) => void;
|
|
2519
3076
|
/**
|
|
2520
|
-
* Marks the
|
|
3077
|
+
* Marks the checkbox as required for form submission.
|
|
2521
3078
|
* @default false
|
|
2522
3079
|
*/
|
|
2523
3080
|
"required"?: boolean;
|
|
@@ -2528,20 +3085,68 @@ declare namespace LocalJSX {
|
|
|
2528
3085
|
"value"?: string;
|
|
2529
3086
|
}
|
|
2530
3087
|
/**
|
|
2531
|
-
*
|
|
2532
|
-
*
|
|
2533
|
-
*
|
|
2534
|
-
* Can be used standalone or
|
|
2535
|
-
*
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
3088
|
+
* Button-shaped checkbox option that toggles independently on each interaction.
|
|
3089
|
+
* Renders as a pill-button with the same visual language as `bds-radio-button`, but uses
|
|
3090
|
+
* `role="checkbox"` and multi-select semantics — toggling one button has no effect on others.
|
|
3091
|
+
* Can be used standalone (with `name` and optional `required`) or inside a `bds-checkbox-group`,
|
|
3092
|
+
* which is the recommended approach for coordinated form state and group-level validation.
|
|
3093
|
+
*/
|
|
3094
|
+
interface BdsCheckboxButton {
|
|
3095
|
+
/**
|
|
3096
|
+
* Toggle state of this button. Flips on every interaction when not disabled.
|
|
3097
|
+
* @default false
|
|
3098
|
+
*/
|
|
3099
|
+
"checked"?: boolean;
|
|
3100
|
+
/**
|
|
3101
|
+
* Disables the button, preventing interaction. Propagated by `bds-checkbox-group` when the group is disabled.
|
|
3102
|
+
* @default false
|
|
3103
|
+
*/
|
|
3104
|
+
"disabled"?: boolean;
|
|
3105
|
+
/**
|
|
3106
|
+
* Shows error styling on the button.
|
|
3107
|
+
* @default false
|
|
3108
|
+
*/
|
|
3109
|
+
"error"?: boolean;
|
|
3110
|
+
/**
|
|
3111
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3112
|
+
*/
|
|
3113
|
+
"form"?: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Tooltip text shown on an info icon next to the label.
|
|
3116
|
+
* @default ''
|
|
3117
|
+
*/
|
|
3118
|
+
"info"?: string;
|
|
3119
|
+
/**
|
|
3120
|
+
* Label text displayed inside the button. Falls back to the default slot when empty.
|
|
3121
|
+
* @default ''
|
|
3122
|
+
*/
|
|
3123
|
+
"label"?: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* Name of the form control, submitted as a key in the form data.
|
|
3126
|
+
* @default ''
|
|
3127
|
+
*/
|
|
3128
|
+
"name"?: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* Emitted on every toggle — both when the button becomes checked and when it becomes unchecked. Payload: `{ checked: boolean, value: string }`.
|
|
3131
|
+
*/
|
|
3132
|
+
"onBdsChange"?: (event: BdsCheckboxButtonCustomEvent<CheckboxButtonChangeDetail>) => void;
|
|
3133
|
+
/**
|
|
3134
|
+
* Emitted when the checked state changes. Used for `v-model` two-way binding in Vue. Payload: `boolean`.
|
|
3135
|
+
*/
|
|
3136
|
+
"onValueChange"?: (event: BdsCheckboxButtonCustomEvent<boolean>) => void;
|
|
3137
|
+
/**
|
|
3138
|
+
* Marks this button as required for form submission. Has no effect when used inside `bds-checkbox-group`.
|
|
3139
|
+
* @default false
|
|
3140
|
+
*/
|
|
3141
|
+
"required"?: boolean;
|
|
3142
|
+
/**
|
|
3143
|
+
* Value associated with this button; submitted with form data when checked.
|
|
3144
|
+
* @default 'on'
|
|
3145
|
+
*/
|
|
3146
|
+
"value"?: string;
|
|
3147
|
+
}
|
|
3148
|
+
/**
|
|
3149
|
+
* @summary Checkbox card component is a selectable card-based checkbox option.
|
|
2545
3150
|
*/
|
|
2546
3151
|
interface BdsCheckboxCard {
|
|
2547
3152
|
/**
|
|
@@ -2596,6 +3201,83 @@ declare namespace LocalJSX {
|
|
|
2596
3201
|
*/
|
|
2597
3202
|
"value"?: ICheckboxCard['value'];
|
|
2598
3203
|
}
|
|
3204
|
+
/**
|
|
3205
|
+
* Checkbox group component that orchestrates multi-selection across a set of `bds-checkbox`, `bds-checkbox-button`, `bds-checkbox-card` children.
|
|
3206
|
+
*/
|
|
3207
|
+
interface BdsCheckboxGroup {
|
|
3208
|
+
/**
|
|
3209
|
+
* Disables all child checkboxes and prevents selection. Also mirrored to isDisabled
|
|
3210
|
+
* @State for form-level disable support.
|
|
3211
|
+
* @default false
|
|
3212
|
+
*/
|
|
3213
|
+
"disabled"?: boolean;
|
|
3214
|
+
/**
|
|
3215
|
+
* Shows error styling on the group helper text. Propagated to all child checkboxes.
|
|
3216
|
+
* @default false
|
|
3217
|
+
*/
|
|
3218
|
+
"error"?: boolean;
|
|
3219
|
+
/**
|
|
3220
|
+
* Error message rendered below the checkbox options when error is true. Replaces helperText.
|
|
3221
|
+
* @default ''
|
|
3222
|
+
*/
|
|
3223
|
+
"errorMessage"?: string;
|
|
3224
|
+
/**
|
|
3225
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3226
|
+
*/
|
|
3227
|
+
"form"?: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* Helper text rendered below the checkbox options. Shown in default state; replaced by errorMessage in error state.
|
|
3230
|
+
* @default ''
|
|
3231
|
+
*/
|
|
3232
|
+
"helperText"?: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* Tooltip text shown on the group label info icon.
|
|
3235
|
+
* @default ''
|
|
3236
|
+
*/
|
|
3237
|
+
"info"?: string;
|
|
3238
|
+
/**
|
|
3239
|
+
* Hides the divider between checkbox buttons when type is 'checkboxbutton'.
|
|
3240
|
+
* @default false
|
|
3241
|
+
*/
|
|
3242
|
+
"joined"?: false;
|
|
3243
|
+
/**
|
|
3244
|
+
* Group label rendered above the checkbox options.
|
|
3245
|
+
* @default ''
|
|
3246
|
+
*/
|
|
3247
|
+
"label"?: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Name of the form control; submitted as the field key in FormData.
|
|
3250
|
+
*/
|
|
3251
|
+
"name": string;
|
|
3252
|
+
/**
|
|
3253
|
+
* Emitted when any checkbox is toggled. Payload includes the complete updated values array.
|
|
3254
|
+
*/
|
|
3255
|
+
"onBdsChange"?: (event: BdsCheckboxGroupCustomEvent<CheckboxGroupChangeDetail>) => void;
|
|
3256
|
+
/**
|
|
3257
|
+
* Emitted when any checkbox is toggled. Used for v-model two-way binding in Vue.
|
|
3258
|
+
*/
|
|
3259
|
+
"onValueChange"?: (event: BdsCheckboxGroupCustomEvent<string[]>) => void;
|
|
3260
|
+
/**
|
|
3261
|
+
* Layout direction of the checkbox options.
|
|
3262
|
+
* @default 'horizontal'
|
|
3263
|
+
*/
|
|
3264
|
+
"orientation"?: Orientation;
|
|
3265
|
+
/**
|
|
3266
|
+
* Marks the group as required for form submission. Triggers validity error when no checkboxes are selected.
|
|
3267
|
+
* @default false
|
|
3268
|
+
*/
|
|
3269
|
+
"required"?: boolean;
|
|
3270
|
+
/**
|
|
3271
|
+
* Identifies this group variant. 'checkbox' renders bds-checkbox children; 'checkboxbutton' renders bds-checkbox-button segmented control; 'checkboxcard' renders bds-checkbox-card element.
|
|
3272
|
+
* @default 'checkbox'
|
|
3273
|
+
*/
|
|
3274
|
+
"type"?: CheckboxGroupType;
|
|
3275
|
+
/**
|
|
3276
|
+
* Currently selected checkbox values. Synced to children on change.
|
|
3277
|
+
* @default []
|
|
3278
|
+
*/
|
|
3279
|
+
"value"?: string[];
|
|
3280
|
+
}
|
|
2599
3281
|
/**
|
|
2600
3282
|
* Modal dialog component for displaying content in an overlay.
|
|
2601
3283
|
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
@@ -2852,6 +3534,21 @@ declare namespace LocalJSX {
|
|
|
2852
3534
|
* @method setSelectedValues - Sets the selected value(s). Accepts a string for single selection or an array of strings for multiple selection.
|
|
2853
3535
|
*/
|
|
2854
3536
|
interface BdsListMenu {
|
|
3537
|
+
/**
|
|
3538
|
+
* Prop to show in all items a checkbox
|
|
3539
|
+
* @default false
|
|
3540
|
+
*/
|
|
3541
|
+
"checkable"?: IListMenu['checkable'];
|
|
3542
|
+
/**
|
|
3543
|
+
* is empty state item
|
|
3544
|
+
* @default false
|
|
3545
|
+
*/
|
|
3546
|
+
"empty"?: IListMenu['empty'];
|
|
3547
|
+
/**
|
|
3548
|
+
* Prop to show empty text
|
|
3549
|
+
* @default 'No options available'
|
|
3550
|
+
*/
|
|
3551
|
+
"emptyText"?: IListMenu['emptyText'];
|
|
2855
3552
|
/**
|
|
2856
3553
|
* Defines the ARIA role of the menu. Can be 'menu' or 'listbox'. Default is 'menu'.
|
|
2857
3554
|
* @default MENU_ROLES.MENU
|
|
@@ -3160,17 +3857,17 @@ declare namespace LocalJSX {
|
|
|
3160
3857
|
* @State for form-level disable support.
|
|
3161
3858
|
* @default false
|
|
3162
3859
|
*/
|
|
3163
|
-
"disabled"?:
|
|
3860
|
+
"disabled"?: boolean;
|
|
3164
3861
|
/**
|
|
3165
3862
|
* Shows error styling on the group helper text. Propagated to all child radios.
|
|
3166
3863
|
* @default false
|
|
3167
3864
|
*/
|
|
3168
|
-
"error"?:
|
|
3865
|
+
"error"?: boolean;
|
|
3169
3866
|
/**
|
|
3170
3867
|
* Error message rendered below the radio options when error is true. Replaces helperText.
|
|
3171
3868
|
* @default ''
|
|
3172
3869
|
*/
|
|
3173
|
-
"errorMessage"?:
|
|
3870
|
+
"errorMessage"?: string;
|
|
3174
3871
|
/**
|
|
3175
3872
|
* The `id` of a `<form>` element to associate this element with.
|
|
3176
3873
|
*/
|
|
@@ -3179,17 +3876,22 @@ declare namespace LocalJSX {
|
|
|
3179
3876
|
* Helper text rendered below the radio options. Shown in default state; replaced by errorMessage in error state.
|
|
3180
3877
|
* @default ''
|
|
3181
3878
|
*/
|
|
3182
|
-
"helperText"?:
|
|
3879
|
+
"helperText"?: string;
|
|
3183
3880
|
/**
|
|
3184
3881
|
* Tooltip text shown on the group label info icon.
|
|
3185
3882
|
* @default ''
|
|
3186
3883
|
*/
|
|
3187
|
-
"info"?:
|
|
3884
|
+
"info"?: string;
|
|
3885
|
+
/**
|
|
3886
|
+
* Hides the divider between radio buttons when type is 'radiobutton'.
|
|
3887
|
+
* @default false
|
|
3888
|
+
*/
|
|
3889
|
+
"joined"?: boolean;
|
|
3188
3890
|
/**
|
|
3189
3891
|
* Group label rendered above the radio options.
|
|
3190
3892
|
* @default ''
|
|
3191
3893
|
*/
|
|
3192
|
-
"label"?:
|
|
3894
|
+
"label"?: string;
|
|
3193
3895
|
/**
|
|
3194
3896
|
* Name of the form control; submitted as the field key in FormData.
|
|
3195
3897
|
*/
|
|
@@ -3204,17 +3906,17 @@ declare namespace LocalJSX {
|
|
|
3204
3906
|
"onValueChange"?: (event: BdsRadioGroupCustomEvent<string>) => void;
|
|
3205
3907
|
/**
|
|
3206
3908
|
* Layout direction of the radio options.
|
|
3207
|
-
* @default
|
|
3909
|
+
* @default 'vertical'
|
|
3208
3910
|
*/
|
|
3209
3911
|
"orientation"?: Orientation;
|
|
3210
3912
|
/**
|
|
3211
3913
|
* Marks the group as required for form submission. Triggers validity error when no radio is selected.
|
|
3212
3914
|
* @default false
|
|
3213
3915
|
*/
|
|
3214
|
-
"required"?:
|
|
3916
|
+
"required"?: boolean;
|
|
3215
3917
|
/**
|
|
3216
3918
|
* Identifies this group variant. 'radio' renders circular bds-radio children; 'radiobutton' renders bds-radio-button segmented control; 'radiocard' renders bds-radio-card element.
|
|
3217
|
-
* @default
|
|
3919
|
+
* @default 'radio'
|
|
3218
3920
|
*/
|
|
3219
3921
|
"type"?: RadioGroupType;
|
|
3220
3922
|
/**
|
|
@@ -3223,6 +3925,130 @@ declare namespace LocalJSX {
|
|
|
3223
3925
|
*/
|
|
3224
3926
|
"value"?: string;
|
|
3225
3927
|
}
|
|
3928
|
+
/**
|
|
3929
|
+
* Component representing a select dropdown, allowing users to choose an option from a list.
|
|
3930
|
+
* It consists of a text field that triggers the dropdown and a list menu that contains the options.
|
|
3931
|
+
* The component supports both single selection and searchable functionality.
|
|
3932
|
+
*/
|
|
3933
|
+
interface BdsSelect {
|
|
3934
|
+
/**
|
|
3935
|
+
* Name to assign in form
|
|
3936
|
+
* @default ''
|
|
3937
|
+
*/
|
|
3938
|
+
"name"?: string;
|
|
3939
|
+
/**
|
|
3940
|
+
* Emitted when the selection change the value
|
|
3941
|
+
*/
|
|
3942
|
+
"onBdsChange"?: (event: BdsSelectCustomEvent<string>) => void;
|
|
3943
|
+
/**
|
|
3944
|
+
* Emit value Change for vue implementation
|
|
3945
|
+
*/
|
|
3946
|
+
"onValueChange"?: (event: BdsSelectCustomEvent<string>) => void;
|
|
3947
|
+
/**
|
|
3948
|
+
* Prop to define if its searchable. It allows to write and filter the options
|
|
3949
|
+
* @default false
|
|
3950
|
+
*/
|
|
3951
|
+
"searchable"?: boolean;
|
|
3952
|
+
/**
|
|
3953
|
+
* The value of the select component.
|
|
3954
|
+
* @default ''
|
|
3955
|
+
*/
|
|
3956
|
+
"value"?: string;
|
|
3957
|
+
}
|
|
3958
|
+
/**
|
|
3959
|
+
* Slider component for selecting a numeric value or a range of values.
|
|
3960
|
+
* @summary An accessible, single or multi-handle range slider built on HTML `<input type="range">`.
|
|
3961
|
+
* Supports discrete tick marks, tooltips, disabled state, and N-handle multi-value mode
|
|
3962
|
+
* with automatic collision prevention between handles.
|
|
3963
|
+
* @property {number} min - Minimum selectable value. Defaults to `0`.
|
|
3964
|
+
* @property {number} max - Maximum selectable value. Defaults to `100`.
|
|
3965
|
+
* @property {number} step - Step size for each increment/decrement. Defaults to `1`.
|
|
3966
|
+
* @property {number[]} value - Current value(s). A single number for one handle;
|
|
3967
|
+
* an array for multi-handle mode. Defaults to `0`.
|
|
3968
|
+
* @property {boolean} disabled - Disables interaction with the slider. Defaults to `false`.
|
|
3969
|
+
* @property {boolean} discrete - Shows tick marks at each step position along the track. Defaults to `false`.
|
|
3970
|
+
* @property {string} tooltip - Controls tooltip visibility: `"never"`, or `"focus"`. Defaults to `"focus"`.
|
|
3971
|
+
* @method getValues - Returns the current value(s) as `number | number[]`.
|
|
3972
|
+
* @method setValues - Programmatically sets the slider value(s).
|
|
3973
|
+
*/
|
|
3974
|
+
interface BdsSlider {
|
|
3975
|
+
/**
|
|
3976
|
+
* Disables the slider, preventing all user interaction. Defaults to `false`.
|
|
3977
|
+
* @default false
|
|
3978
|
+
*/
|
|
3979
|
+
"disabled"?: boolean;
|
|
3980
|
+
/**
|
|
3981
|
+
* JSON string array of handle values that should be individually disabled. Each number must match a value present in the `value` prop. Accepts `number`, `number[]`, or JSON string: `"[5, 30]"`. Defaults to `"[]"`.
|
|
3982
|
+
* @default '[]'
|
|
3983
|
+
*/
|
|
3984
|
+
"disabledHandlers"?: SliderRawValue;
|
|
3985
|
+
/**
|
|
3986
|
+
* When `true`, renders discrete tick marks along the track at every step position between `min` and `max`. Defaults to `false`.
|
|
3987
|
+
* @default false
|
|
3988
|
+
*/
|
|
3989
|
+
"discrete"?: boolean;
|
|
3990
|
+
/**
|
|
3991
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
3992
|
+
*/
|
|
3993
|
+
"form"?: string;
|
|
3994
|
+
/**
|
|
3995
|
+
* Label for the slider. Defaults to `""`.
|
|
3996
|
+
* @default ''
|
|
3997
|
+
*/
|
|
3998
|
+
"label"?: string;
|
|
3999
|
+
/**
|
|
4000
|
+
* Maximum selectable value. Defaults to `100`.
|
|
4001
|
+
* @default 100
|
|
4002
|
+
*/
|
|
4003
|
+
"max"?: number;
|
|
4004
|
+
/**
|
|
4005
|
+
* Minimum selectable value. Defaults to `0`.
|
|
4006
|
+
* @default 0
|
|
4007
|
+
*/
|
|
4008
|
+
"min"?: number;
|
|
4009
|
+
/**
|
|
4010
|
+
* Name of the form control, submitted as a key in the form data.
|
|
4011
|
+
* @default ''
|
|
4012
|
+
*/
|
|
4013
|
+
"name"?: string;
|
|
4014
|
+
/**
|
|
4015
|
+
* Emitted whenever the slider value(s) change due to user interaction. Payload: `{ value: number }` for single handle, `{ value: number[] }` for multi-handle.
|
|
4016
|
+
*/
|
|
4017
|
+
"onBdsChange"?: (event: BdsSliderCustomEvent<SliderChangeDetail>) => void;
|
|
4018
|
+
/**
|
|
4019
|
+
* Emitted when the user clicks on the slider. Payload: `{ target: HTMLElement }` and `{ value: number[] }` for multi-handle.
|
|
4020
|
+
*/
|
|
4021
|
+
"onBdsClick"?: (event: BdsSliderCustomEvent<{ target: HTMLElement; value: number[] }>) => void;
|
|
4022
|
+
/**
|
|
4023
|
+
* Native-style alias of `bdsChange`. Emitted simultaneously. Payload: `{ value: number[] }` for multi-handle.
|
|
4024
|
+
*/
|
|
4025
|
+
"onValueChange"?: (event: BdsSliderCustomEvent<number[]>) => void;
|
|
4026
|
+
/**
|
|
4027
|
+
* Shows the min and max values of the slider. Defaults to `false`.
|
|
4028
|
+
* @default false
|
|
4029
|
+
*/
|
|
4030
|
+
"showLimits"?: boolean;
|
|
4031
|
+
/**
|
|
4032
|
+
* Step size for each increment/decrement. Must be a positive number. Defaults to `1`.
|
|
4033
|
+
* @default 1
|
|
4034
|
+
*/
|
|
4035
|
+
"step"?: number;
|
|
4036
|
+
/**
|
|
4037
|
+
* Controls tooltip visibility on each handle. - `"never"` — tooltip is hidden. - `"focus"` — tooltip appears only when the handle is active/focused. Defa ults to `"focus"`.
|
|
4038
|
+
* @default SLIDER_TOOLTIP.FOCUS
|
|
4039
|
+
*/
|
|
4040
|
+
"tooltip"?: SliderTooltipType;
|
|
4041
|
+
/**
|
|
4042
|
+
* Slider type that defines the slider behavior. Defaults to `single`.
|
|
4043
|
+
* @default SLIDER_TYPE.SINGLE
|
|
4044
|
+
*/
|
|
4045
|
+
"type"?: SliderType;
|
|
4046
|
+
/**
|
|
4047
|
+
* Current value(s) of the slider. Accepts `number`, `number[]`, or a JSON string for HTML vanilla usage. - Single handle: `50` or `"50"` - Multi-handle: `[10, 50, 80]` or `"[10, 50, 80]"` - Defaults to `0`.
|
|
4048
|
+
* @default [0]
|
|
4049
|
+
*/
|
|
4050
|
+
"value"?: SliderRawValue;
|
|
4051
|
+
}
|
|
3226
4052
|
/**
|
|
3227
4053
|
* Spinner component used to indicate a loading or processing state.
|
|
3228
4054
|
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
@@ -3409,6 +4235,11 @@ declare namespace LocalJSX {
|
|
|
3409
4235
|
* @default ''
|
|
3410
4236
|
*/
|
|
3411
4237
|
"icon"?: string;
|
|
4238
|
+
/**
|
|
4239
|
+
* Icon rendered on the right side of the input, on the actions containers. (e.g., 'bds-icon-settings')
|
|
4240
|
+
* @default ''
|
|
4241
|
+
*/
|
|
4242
|
+
"iconRight"?: string;
|
|
3412
4243
|
/**
|
|
3413
4244
|
* Tooltip content attached to the label. Rendered via `bds-typography` `tooltipText` prop.
|
|
3414
4245
|
* @default ''
|
|
@@ -3488,6 +4319,11 @@ declare namespace LocalJSX {
|
|
|
3488
4319
|
* @default false
|
|
3489
4320
|
*/
|
|
3490
4321
|
"required"?: boolean;
|
|
4322
|
+
/**
|
|
4323
|
+
* Set mode readonly to use in selects
|
|
4324
|
+
* @default false
|
|
4325
|
+
*/
|
|
4326
|
+
"selectable"?: boolean;
|
|
3491
4327
|
/**
|
|
3492
4328
|
* Sublabel rendered inside the input container, before the text area.
|
|
3493
4329
|
* @default ''
|
|
@@ -3629,49 +4465,6 @@ declare namespace LocalJSX {
|
|
|
3629
4465
|
/**
|
|
3630
4466
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
3631
4467
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
3632
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
3633
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
3634
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
3635
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
3636
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
3637
|
-
* @attr {boolean} required - Shows a required indicator when used with `label` variant.
|
|
3638
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
3639
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
3640
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
3641
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
3642
|
-
* @attr {boolean} downloadable - Makes the `link` download a file.
|
|
3643
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
3644
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
3645
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
3646
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
3647
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
3648
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
3649
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
3650
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
3651
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
3652
|
-
* @property {boolean} required - Shows a required indicator when used with `label` variant.
|
|
3653
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
3654
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
3655
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
3656
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
3657
|
-
* @property {boolean} downloadable - Makes the `link` download a file.
|
|
3658
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
3659
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
3660
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
3661
|
-
* @property {string} customClass - Additional custom CSS class
|
|
3662
|
-
* @default 'display' - Default variant value
|
|
3663
|
-
* @default 'p' - Default element value
|
|
3664
|
-
* @default 'start' - Default align value
|
|
3665
|
-
* @default 'md' - Default size value
|
|
3666
|
-
* @default 'default' - Default state value
|
|
3667
|
-
* @default false - Default required state
|
|
3668
|
-
* @default false - Default ellipsis state
|
|
3669
|
-
* @default 1 - Default maxLines value
|
|
3670
|
-
* @default '' - Default href value
|
|
3671
|
-
* @default '' - Default target value
|
|
3672
|
-
* @default false - Default downloadable state
|
|
3673
|
-
* @default 'download' - Default filename value
|
|
3674
|
-
* @default '' - Default tooltipText value
|
|
3675
4468
|
*/
|
|
3676
4469
|
interface BdsTypography {
|
|
3677
4470
|
/**
|
|
@@ -3719,6 +4512,11 @@ declare namespace LocalJSX {
|
|
|
3719
4512
|
* @default 1
|
|
3720
4513
|
*/
|
|
3721
4514
|
"maxLines"?: ITypography['maxLines'];
|
|
4515
|
+
/**
|
|
4516
|
+
* Relationship between the current document and the linked resource.
|
|
4517
|
+
* @default ''
|
|
4518
|
+
*/
|
|
4519
|
+
"rel"?: ITypography['rel'];
|
|
3722
4520
|
/**
|
|
3723
4521
|
* Marks the field as required.
|
|
3724
4522
|
* @default false
|
|
@@ -3766,6 +4564,23 @@ declare namespace LocalJSX {
|
|
|
3766
4564
|
"closable": boolean;
|
|
3767
4565
|
"closeButtonLabel": IBanner['closeButtonLabel'];
|
|
3768
4566
|
}
|
|
4567
|
+
interface BdsBreadcrumbAttributes {
|
|
4568
|
+
"separator": string;
|
|
4569
|
+
"maxItems": number;
|
|
4570
|
+
"itemsBeforeCollapse": number;
|
|
4571
|
+
"itemsAfterCollapse": number;
|
|
4572
|
+
}
|
|
4573
|
+
interface BdsBreadcrumbItemAttributes {
|
|
4574
|
+
"active": boolean;
|
|
4575
|
+
"router": boolean;
|
|
4576
|
+
"collapsed": boolean;
|
|
4577
|
+
"showCollapse": boolean;
|
|
4578
|
+
"href": string;
|
|
4579
|
+
"target": '_blank' | '_parent' | '_self' | '_top';
|
|
4580
|
+
"downloadable": boolean;
|
|
4581
|
+
"filename": string;
|
|
4582
|
+
"rel": string;
|
|
4583
|
+
}
|
|
3769
4584
|
interface BdsButtonAttributes {
|
|
3770
4585
|
"label": IButton['label'];
|
|
3771
4586
|
"disabled": IButton['disabled'];
|
|
@@ -3786,6 +4601,7 @@ declare namespace LocalJSX {
|
|
|
3786
4601
|
}
|
|
3787
4602
|
interface BdsCheckboxAttributes {
|
|
3788
4603
|
"name": string;
|
|
4604
|
+
"info": string;
|
|
3789
4605
|
"disabled": boolean;
|
|
3790
4606
|
"required": boolean;
|
|
3791
4607
|
"checked": boolean;
|
|
@@ -3794,6 +4610,16 @@ declare namespace LocalJSX {
|
|
|
3794
4610
|
"value": string;
|
|
3795
4611
|
"label": string;
|
|
3796
4612
|
}
|
|
4613
|
+
interface BdsCheckboxButtonAttributes {
|
|
4614
|
+
"name": string;
|
|
4615
|
+
"disabled": boolean;
|
|
4616
|
+
"required": boolean;
|
|
4617
|
+
"checked": boolean;
|
|
4618
|
+
"error": boolean;
|
|
4619
|
+
"value": string;
|
|
4620
|
+
"label": string;
|
|
4621
|
+
"info": string;
|
|
4622
|
+
}
|
|
3797
4623
|
interface BdsCheckboxCardAttributes {
|
|
3798
4624
|
"name": ICheckboxCard['name'];
|
|
3799
4625
|
"disabled": ICheckboxCard['disabled'];
|
|
@@ -3804,6 +4630,19 @@ declare namespace LocalJSX {
|
|
|
3804
4630
|
"indeterminate": ICheckboxCard['indeterminate'];
|
|
3805
4631
|
"error": ICheckboxCard['error'];
|
|
3806
4632
|
}
|
|
4633
|
+
interface BdsCheckboxGroupAttributes {
|
|
4634
|
+
"disabled": boolean;
|
|
4635
|
+
"error": boolean;
|
|
4636
|
+
"errorMessage": string;
|
|
4637
|
+
"helperText": string;
|
|
4638
|
+
"info": string;
|
|
4639
|
+
"label": string;
|
|
4640
|
+
"name": string;
|
|
4641
|
+
"orientation": Orientation;
|
|
4642
|
+
"required": boolean;
|
|
4643
|
+
"type": CheckboxGroupType;
|
|
4644
|
+
"joined": false;
|
|
4645
|
+
}
|
|
3807
4646
|
interface BdsDialogAttributes {
|
|
3808
4647
|
"active": IDialog['active'];
|
|
3809
4648
|
"preventClose": IDialog['preventClose'];
|
|
@@ -3849,6 +4688,9 @@ declare namespace LocalJSX {
|
|
|
3849
4688
|
"selectionMode": IListMenu['selectionMode'];
|
|
3850
4689
|
"menuRole": IListMenu['menuRole'];
|
|
3851
4690
|
"selectControls": IListMenu['selectControls'];
|
|
4691
|
+
"empty": IListMenu['empty'];
|
|
4692
|
+
"checkable": IListMenu['checkable'];
|
|
4693
|
+
"emptyText": IListMenu['emptyText'];
|
|
3852
4694
|
}
|
|
3853
4695
|
interface BdsListMenuItemAttributes {
|
|
3854
4696
|
"variant": IListMenuItem['variant'];
|
|
@@ -3897,17 +4739,37 @@ declare namespace LocalJSX {
|
|
|
3897
4739
|
"error": IRadioCard['error'];
|
|
3898
4740
|
}
|
|
3899
4741
|
interface BdsRadioGroupAttributes {
|
|
3900
|
-
"disabled":
|
|
3901
|
-
"error":
|
|
3902
|
-
"errorMessage":
|
|
3903
|
-
"helperText":
|
|
3904
|
-
"info":
|
|
3905
|
-
"label":
|
|
4742
|
+
"disabled": boolean;
|
|
4743
|
+
"error": boolean;
|
|
4744
|
+
"errorMessage": string;
|
|
4745
|
+
"helperText": string;
|
|
4746
|
+
"info": string;
|
|
4747
|
+
"label": string;
|
|
3906
4748
|
"name": string;
|
|
3907
4749
|
"orientation": Orientation;
|
|
3908
|
-
"required":
|
|
4750
|
+
"required": boolean;
|
|
3909
4751
|
"type": RadioGroupType;
|
|
3910
4752
|
"value": string;
|
|
4753
|
+
"joined": boolean;
|
|
4754
|
+
}
|
|
4755
|
+
interface BdsSelectAttributes {
|
|
4756
|
+
"value": string;
|
|
4757
|
+
"searchable": boolean;
|
|
4758
|
+
"name": string;
|
|
4759
|
+
}
|
|
4760
|
+
interface BdsSliderAttributes {
|
|
4761
|
+
"min": number;
|
|
4762
|
+
"max": number;
|
|
4763
|
+
"type": SliderType;
|
|
4764
|
+
"label": string;
|
|
4765
|
+
"step": number;
|
|
4766
|
+
"showLimits": boolean;
|
|
4767
|
+
"value": SliderRawValue;
|
|
4768
|
+
"disabled": boolean;
|
|
4769
|
+
"name": string;
|
|
4770
|
+
"disabledHandlers": SliderRawValue;
|
|
4771
|
+
"discrete": boolean;
|
|
4772
|
+
"tooltip": SliderTooltipType;
|
|
3911
4773
|
}
|
|
3912
4774
|
interface BdsSpinnerAttributes {
|
|
3913
4775
|
"size": ISpinner['size'];
|
|
@@ -3951,6 +4813,8 @@ declare namespace LocalJSX {
|
|
|
3951
4813
|
"charCount": number;
|
|
3952
4814
|
"counter": boolean;
|
|
3953
4815
|
"customWidth": string;
|
|
4816
|
+
"selectable": boolean;
|
|
4817
|
+
"iconRight": string;
|
|
3954
4818
|
}
|
|
3955
4819
|
interface BdsToggleAttributes {
|
|
3956
4820
|
"name": IToggle['name'];
|
|
@@ -3973,6 +4837,7 @@ declare namespace LocalJSX {
|
|
|
3973
4837
|
"variant": ITypography['variant'];
|
|
3974
4838
|
"size": ITypography['size'];
|
|
3975
4839
|
"state": ITypography['state'];
|
|
4840
|
+
"rel": ITypography['rel'];
|
|
3976
4841
|
"customClass": string;
|
|
3977
4842
|
"element": ITypography['element'];
|
|
3978
4843
|
"align": ITypography['align'];
|
|
@@ -3991,10 +4856,14 @@ declare namespace LocalJSX {
|
|
|
3991
4856
|
"bds-avatar": Omit<BdsAvatar, keyof BdsAvatarAttributes> & { [K in keyof BdsAvatar & keyof BdsAvatarAttributes]?: BdsAvatar[K] } & { [K in keyof BdsAvatar & keyof BdsAvatarAttributes as `attr:${K}`]?: BdsAvatarAttributes[K] } & { [K in keyof BdsAvatar & keyof BdsAvatarAttributes as `prop:${K}`]?: BdsAvatar[K] };
|
|
3992
4857
|
"bds-badge": Omit<BdsBadge, keyof BdsBadgeAttributes> & { [K in keyof BdsBadge & keyof BdsBadgeAttributes]?: BdsBadge[K] } & { [K in keyof BdsBadge & keyof BdsBadgeAttributes as `attr:${K}`]?: BdsBadgeAttributes[K] } & { [K in keyof BdsBadge & keyof BdsBadgeAttributes as `prop:${K}`]?: BdsBadge[K] };
|
|
3993
4858
|
"bds-banner": Omit<BdsBanner, keyof BdsBannerAttributes> & { [K in keyof BdsBanner & keyof BdsBannerAttributes]?: BdsBanner[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `attr:${K}`]?: BdsBannerAttributes[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `prop:${K}`]?: BdsBanner[K] };
|
|
4859
|
+
"bds-breadcrumb": Omit<BdsBreadcrumb, keyof BdsBreadcrumbAttributes> & { [K in keyof BdsBreadcrumb & keyof BdsBreadcrumbAttributes]?: BdsBreadcrumb[K] } & { [K in keyof BdsBreadcrumb & keyof BdsBreadcrumbAttributes as `attr:${K}`]?: BdsBreadcrumbAttributes[K] } & { [K in keyof BdsBreadcrumb & keyof BdsBreadcrumbAttributes as `prop:${K}`]?: BdsBreadcrumb[K] };
|
|
4860
|
+
"bds-breadcrumb-item": Omit<BdsBreadcrumbItem, keyof BdsBreadcrumbItemAttributes> & { [K in keyof BdsBreadcrumbItem & keyof BdsBreadcrumbItemAttributes]?: BdsBreadcrumbItem[K] } & { [K in keyof BdsBreadcrumbItem & keyof BdsBreadcrumbItemAttributes as `attr:${K}`]?: BdsBreadcrumbItemAttributes[K] } & { [K in keyof BdsBreadcrumbItem & keyof BdsBreadcrumbItemAttributes as `prop:${K}`]?: BdsBreadcrumbItem[K] };
|
|
3994
4861
|
"bds-button": Omit<BdsButton, keyof BdsButtonAttributes> & { [K in keyof BdsButton & keyof BdsButtonAttributes]?: BdsButton[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `attr:${K}`]?: BdsButtonAttributes[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `prop:${K}`]?: BdsButton[K] };
|
|
3995
4862
|
"bds-button-group": Omit<BdsButtonGroup, keyof BdsButtonGroupAttributes> & { [K in keyof BdsButtonGroup & keyof BdsButtonGroupAttributes]?: BdsButtonGroup[K] } & { [K in keyof BdsButtonGroup & keyof BdsButtonGroupAttributes as `attr:${K}`]?: BdsButtonGroupAttributes[K] } & { [K in keyof BdsButtonGroup & keyof BdsButtonGroupAttributes as `prop:${K}`]?: BdsButtonGroup[K] };
|
|
3996
|
-
"bds-checkbox": Omit<BdsCheckbox, keyof BdsCheckboxAttributes> & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes]?: BdsCheckbox[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `attr:${K}`]?: BdsCheckboxAttributes[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `prop:${K}`]?: BdsCheckbox[K] }
|
|
4863
|
+
"bds-checkbox": Omit<BdsCheckbox, keyof BdsCheckboxAttributes> & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes]?: BdsCheckbox[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `attr:${K}`]?: BdsCheckboxAttributes[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `prop:${K}`]?: BdsCheckbox[K] };
|
|
4864
|
+
"bds-checkbox-button": Omit<BdsCheckboxButton, keyof BdsCheckboxButtonAttributes> & { [K in keyof BdsCheckboxButton & keyof BdsCheckboxButtonAttributes]?: BdsCheckboxButton[K] } & { [K in keyof BdsCheckboxButton & keyof BdsCheckboxButtonAttributes as `attr:${K}`]?: BdsCheckboxButtonAttributes[K] } & { [K in keyof BdsCheckboxButton & keyof BdsCheckboxButtonAttributes as `prop:${K}`]?: BdsCheckboxButton[K] };
|
|
3997
4865
|
"bds-checkbox-card": Omit<BdsCheckboxCard, keyof BdsCheckboxCardAttributes> & { [K in keyof BdsCheckboxCard & keyof BdsCheckboxCardAttributes]?: BdsCheckboxCard[K] } & { [K in keyof BdsCheckboxCard & keyof BdsCheckboxCardAttributes as `attr:${K}`]?: BdsCheckboxCardAttributes[K] } & { [K in keyof BdsCheckboxCard & keyof BdsCheckboxCardAttributes as `prop:${K}`]?: BdsCheckboxCard[K] } & OneOf<"name", BdsCheckboxCard["name"], BdsCheckboxCardAttributes["name"]>;
|
|
4866
|
+
"bds-checkbox-group": Omit<BdsCheckboxGroup, keyof BdsCheckboxGroupAttributes> & { [K in keyof BdsCheckboxGroup & keyof BdsCheckboxGroupAttributes]?: BdsCheckboxGroup[K] } & { [K in keyof BdsCheckboxGroup & keyof BdsCheckboxGroupAttributes as `attr:${K}`]?: BdsCheckboxGroupAttributes[K] } & { [K in keyof BdsCheckboxGroup & keyof BdsCheckboxGroupAttributes as `prop:${K}`]?: BdsCheckboxGroup[K] } & OneOf<"name", BdsCheckboxGroup["name"], BdsCheckboxGroupAttributes["name"]>;
|
|
3998
4867
|
"bds-dialog": Omit<BdsDialog, keyof BdsDialogAttributes> & { [K in keyof BdsDialog & keyof BdsDialogAttributes]?: BdsDialog[K] } & { [K in keyof BdsDialog & keyof BdsDialogAttributes as `attr:${K}`]?: BdsDialogAttributes[K] } & { [K in keyof BdsDialog & keyof BdsDialogAttributes as `prop:${K}`]?: BdsDialog[K] };
|
|
3999
4868
|
"bds-divider": Omit<BdsDivider, keyof BdsDividerAttributes> & { [K in keyof BdsDivider & keyof BdsDividerAttributes]?: BdsDivider[K] } & { [K in keyof BdsDivider & keyof BdsDividerAttributes as `attr:${K}`]?: BdsDividerAttributes[K] } & { [K in keyof BdsDivider & keyof BdsDividerAttributes as `prop:${K}`]?: BdsDivider[K] };
|
|
4000
4869
|
"bds-flag": Omit<BdsFlag, keyof BdsFlagAttributes> & { [K in keyof BdsFlag & keyof BdsFlagAttributes]?: BdsFlag[K] } & { [K in keyof BdsFlag & keyof BdsFlagAttributes as `attr:${K}`]?: BdsFlagAttributes[K] } & { [K in keyof BdsFlag & keyof BdsFlagAttributes as `prop:${K}`]?: BdsFlag[K] };
|
|
@@ -4007,6 +4876,8 @@ declare namespace LocalJSX {
|
|
|
4007
4876
|
"bds-radio-button": Omit<BdsRadioButton, keyof BdsRadioButtonAttributes> & { [K in keyof BdsRadioButton & keyof BdsRadioButtonAttributes]?: BdsRadioButton[K] } & { [K in keyof BdsRadioButton & keyof BdsRadioButtonAttributes as `attr:${K}`]?: BdsRadioButtonAttributes[K] } & { [K in keyof BdsRadioButton & keyof BdsRadioButtonAttributes as `prop:${K}`]?: BdsRadioButton[K] };
|
|
4008
4877
|
"bds-radio-card": Omit<BdsRadioCard, keyof BdsRadioCardAttributes> & { [K in keyof BdsRadioCard & keyof BdsRadioCardAttributes]?: BdsRadioCard[K] } & { [K in keyof BdsRadioCard & keyof BdsRadioCardAttributes as `attr:${K}`]?: BdsRadioCardAttributes[K] } & { [K in keyof BdsRadioCard & keyof BdsRadioCardAttributes as `prop:${K}`]?: BdsRadioCard[K] };
|
|
4009
4878
|
"bds-radio-group": Omit<BdsRadioGroup, keyof BdsRadioGroupAttributes> & { [K in keyof BdsRadioGroup & keyof BdsRadioGroupAttributes]?: BdsRadioGroup[K] } & { [K in keyof BdsRadioGroup & keyof BdsRadioGroupAttributes as `attr:${K}`]?: BdsRadioGroupAttributes[K] } & { [K in keyof BdsRadioGroup & keyof BdsRadioGroupAttributes as `prop:${K}`]?: BdsRadioGroup[K] } & OneOf<"name", BdsRadioGroup["name"], BdsRadioGroupAttributes["name"]>;
|
|
4879
|
+
"bds-select": Omit<BdsSelect, keyof BdsSelectAttributes> & { [K in keyof BdsSelect & keyof BdsSelectAttributes]?: BdsSelect[K] } & { [K in keyof BdsSelect & keyof BdsSelectAttributes as `attr:${K}`]?: BdsSelectAttributes[K] } & { [K in keyof BdsSelect & keyof BdsSelectAttributes as `prop:${K}`]?: BdsSelect[K] };
|
|
4880
|
+
"bds-slider": Omit<BdsSlider, keyof BdsSliderAttributes> & { [K in keyof BdsSlider & keyof BdsSliderAttributes]?: BdsSlider[K] } & { [K in keyof BdsSlider & keyof BdsSliderAttributes as `attr:${K}`]?: BdsSliderAttributes[K] } & { [K in keyof BdsSlider & keyof BdsSliderAttributes as `prop:${K}`]?: BdsSlider[K] };
|
|
4010
4881
|
"bds-spinner": Omit<BdsSpinner, keyof BdsSpinnerAttributes> & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes]?: BdsSpinner[K] } & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes as `attr:${K}`]?: BdsSpinnerAttributes[K] } & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes as `prop:${K}`]?: BdsSpinner[K] };
|
|
4011
4882
|
"bds-status": Omit<BdsStatus, keyof BdsStatusAttributes> & { [K in keyof BdsStatus & keyof BdsStatusAttributes]?: BdsStatus[K] } & { [K in keyof BdsStatus & keyof BdsStatusAttributes as `attr:${K}`]?: BdsStatusAttributes[K] } & { [K in keyof BdsStatus & keyof BdsStatusAttributes as `prop:${K}`]?: BdsStatus[K] };
|
|
4012
4883
|
"bds-tag": Omit<BdsTag, keyof BdsTagAttributes> & { [K in keyof BdsTag & keyof BdsTagAttributes]?: BdsTag[K] } & { [K in keyof BdsTag & keyof BdsTagAttributes as `attr:${K}`]?: BdsTagAttributes[K] } & { [K in keyof BdsTag & keyof BdsTagAttributes as `prop:${K}`]?: BdsTag[K] };
|
|
@@ -4057,6 +4928,15 @@ declare module "@stencil/core" {
|
|
|
4057
4928
|
* @method close - Programmatic method to close the banner and emit the `bdsClose` event.
|
|
4058
4929
|
*/
|
|
4059
4930
|
"bds-banner": LocalJSX.IntrinsicElements["bds-banner"] & JSXBase.HTMLAttributes<HTMLBdsBannerElement>;
|
|
4931
|
+
/**
|
|
4932
|
+
* @summary Breadcrumb navigation container component. Provides a structured navigation trail and
|
|
4933
|
+
* handles overflow using a collapse mechanism when the number of items exceeds `maxItems`.
|
|
4934
|
+
*/
|
|
4935
|
+
"bds-breadcrumb": LocalJSX.IntrinsicElements["bds-breadcrumb"] & JSXBase.HTMLAttributes<HTMLBdsBreadcrumbElement>;
|
|
4936
|
+
/**
|
|
4937
|
+
* @summary Breadcrumb navigation item component that represents a single step within a breadcrumb navigation trail.
|
|
4938
|
+
*/
|
|
4939
|
+
"bds-breadcrumb-item": LocalJSX.IntrinsicElements["bds-breadcrumb-item"] & JSXBase.HTMLAttributes<HTMLBdsBreadcrumbItemElement>;
|
|
4060
4940
|
/**
|
|
4061
4941
|
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
4062
4942
|
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
@@ -4107,22 +4987,21 @@ declare module "@stencil/core" {
|
|
|
4107
4987
|
*/
|
|
4108
4988
|
"bds-checkbox": LocalJSX.IntrinsicElements["bds-checkbox"] & JSXBase.HTMLAttributes<HTMLBdsCheckboxElement>;
|
|
4109
4989
|
/**
|
|
4110
|
-
*
|
|
4111
|
-
*
|
|
4112
|
-
*
|
|
4113
|
-
* Can be used standalone or
|
|
4114
|
-
*
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
* @
|
|
4119
|
-
* @property {boolean} checked - Whether the checkbox card is selected. Defaults to `false`.
|
|
4120
|
-
* @property {boolean} indeterminate - Whether the checkbox card shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
4121
|
-
* @property {boolean} error - Whether the checkbox card is in an error state. Defaults to `false`.
|
|
4122
|
-
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model). Payload: `boolean`.
|
|
4123
|
-
* @fires bdsChange - Emitted when the user toggles the checkbox card. Payload: `{ checked: boolean, value: string }`.
|
|
4990
|
+
* Button-shaped checkbox option that toggles independently on each interaction.
|
|
4991
|
+
* Renders as a pill-button with the same visual language as `bds-radio-button`, but uses
|
|
4992
|
+
* `role="checkbox"` and multi-select semantics — toggling one button has no effect on others.
|
|
4993
|
+
* Can be used standalone (with `name` and optional `required`) or inside a `bds-checkbox-group`,
|
|
4994
|
+
* which is the recommended approach for coordinated form state and group-level validation.
|
|
4995
|
+
*/
|
|
4996
|
+
"bds-checkbox-button": LocalJSX.IntrinsicElements["bds-checkbox-button"] & JSXBase.HTMLAttributes<HTMLBdsCheckboxButtonElement>;
|
|
4997
|
+
/**
|
|
4998
|
+
* @summary Checkbox card component is a selectable card-based checkbox option.
|
|
4124
4999
|
*/
|
|
4125
5000
|
"bds-checkbox-card": LocalJSX.IntrinsicElements["bds-checkbox-card"] & JSXBase.HTMLAttributes<HTMLBdsCheckboxCardElement>;
|
|
5001
|
+
/**
|
|
5002
|
+
* Checkbox group component that orchestrates multi-selection across a set of `bds-checkbox`, `bds-checkbox-button`, `bds-checkbox-card` children.
|
|
5003
|
+
*/
|
|
5004
|
+
"bds-checkbox-group": LocalJSX.IntrinsicElements["bds-checkbox-group"] & JSXBase.HTMLAttributes<HTMLBdsCheckboxGroupElement>;
|
|
4126
5005
|
/**
|
|
4127
5006
|
* Modal dialog component for displaying content in an overlay.
|
|
4128
5007
|
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
@@ -4282,6 +5161,29 @@ declare module "@stencil/core" {
|
|
|
4282
5161
|
* Radio group component that orchestrates single-selection across a set of `bds-radio` children.
|
|
4283
5162
|
*/
|
|
4284
5163
|
"bds-radio-group": LocalJSX.IntrinsicElements["bds-radio-group"] & JSXBase.HTMLAttributes<HTMLBdsRadioGroupElement>;
|
|
5164
|
+
/**
|
|
5165
|
+
* Component representing a select dropdown, allowing users to choose an option from a list.
|
|
5166
|
+
* It consists of a text field that triggers the dropdown and a list menu that contains the options.
|
|
5167
|
+
* The component supports both single selection and searchable functionality.
|
|
5168
|
+
*/
|
|
5169
|
+
"bds-select": LocalJSX.IntrinsicElements["bds-select"] & JSXBase.HTMLAttributes<HTMLBdsSelectElement>;
|
|
5170
|
+
/**
|
|
5171
|
+
* Slider component for selecting a numeric value or a range of values.
|
|
5172
|
+
* @summary An accessible, single or multi-handle range slider built on HTML `<input type="range">`.
|
|
5173
|
+
* Supports discrete tick marks, tooltips, disabled state, and N-handle multi-value mode
|
|
5174
|
+
* with automatic collision prevention between handles.
|
|
5175
|
+
* @property {number} min - Minimum selectable value. Defaults to `0`.
|
|
5176
|
+
* @property {number} max - Maximum selectable value. Defaults to `100`.
|
|
5177
|
+
* @property {number} step - Step size for each increment/decrement. Defaults to `1`.
|
|
5178
|
+
* @property {number[]} value - Current value(s). A single number for one handle;
|
|
5179
|
+
* an array for multi-handle mode. Defaults to `0`.
|
|
5180
|
+
* @property {boolean} disabled - Disables interaction with the slider. Defaults to `false`.
|
|
5181
|
+
* @property {boolean} discrete - Shows tick marks at each step position along the track. Defaults to `false`.
|
|
5182
|
+
* @property {string} tooltip - Controls tooltip visibility: `"never"`, or `"focus"`. Defaults to `"focus"`.
|
|
5183
|
+
* @method getValues - Returns the current value(s) as `number | number[]`.
|
|
5184
|
+
* @method setValues - Programmatically sets the slider value(s).
|
|
5185
|
+
*/
|
|
5186
|
+
"bds-slider": LocalJSX.IntrinsicElements["bds-slider"] & JSXBase.HTMLAttributes<HTMLBdsSliderElement>;
|
|
4285
5187
|
/**
|
|
4286
5188
|
* Spinner component used to indicate a loading or processing state.
|
|
4287
5189
|
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
@@ -4375,49 +5277,6 @@ declare module "@stencil/core" {
|
|
|
4375
5277
|
/**
|
|
4376
5278
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
4377
5279
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
4378
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
4379
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
4380
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
4381
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
4382
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
4383
|
-
* @attr {boolean} required - Shows a required indicator when used with `label` variant.
|
|
4384
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
4385
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
4386
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
4387
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
4388
|
-
* @attr {boolean} downloadable - Makes the `link` download a file.
|
|
4389
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
4390
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
4391
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
4392
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
4393
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
4394
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
4395
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
4396
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
4397
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
4398
|
-
* @property {boolean} required - Shows a required indicator when used with `label` variant.
|
|
4399
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
4400
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
4401
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
4402
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
4403
|
-
* @property {boolean} downloadable - Makes the `link` download a file.
|
|
4404
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
4405
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
4406
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
4407
|
-
* @property {string} customClass - Additional custom CSS class
|
|
4408
|
-
* @default 'display' - Default variant value
|
|
4409
|
-
* @default 'p' - Default element value
|
|
4410
|
-
* @default 'start' - Default align value
|
|
4411
|
-
* @default 'md' - Default size value
|
|
4412
|
-
* @default 'default' - Default state value
|
|
4413
|
-
* @default false - Default required state
|
|
4414
|
-
* @default false - Default ellipsis state
|
|
4415
|
-
* @default 1 - Default maxLines value
|
|
4416
|
-
* @default '' - Default href value
|
|
4417
|
-
* @default '' - Default target value
|
|
4418
|
-
* @default false - Default downloadable state
|
|
4419
|
-
* @default 'download' - Default filename value
|
|
4420
|
-
* @default '' - Default tooltipText value
|
|
4421
5280
|
*/
|
|
4422
5281
|
"bds-typography": LocalJSX.IntrinsicElements["bds-typography"] & JSXBase.HTMLAttributes<HTMLBdsTypographyElement>;
|
|
4423
5282
|
}
|