@telesign/boreal-web-components 0.1.0-alpha.4 → 0.1.0-alpha.5
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-badge.js +1 -1
- package/components-build/bds-banner.js +1 -1
- package/components-build/bds-button-group.d.ts +11 -0
- package/components-build/bds-button-group.js +1 -0
- package/components-build/bds-button.js +1 -1
- package/components-build/bds-checkbox-card.d.ts +11 -0
- package/components-build/bds-checkbox-card.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.d.ts +11 -0
- package/components-build/bds-radio-button.js +1 -0
- package/components-build/bds-radio-card.d.ts +11 -0
- package/components-build/bds-radio-card.js +1 -0
- package/components-build/bds-radio-group.d.ts +11 -0
- package/components-build/bds-radio-group.js +1 -0
- package/components-build/bds-radio.d.ts +11 -0
- package/components-build/bds-radio.js +1 -0
- package/components-build/bds-spinner.js +1 -1
- package/components-build/bds-status.js +1 -1
- 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/index.js +1 -1
- package/components-build/p-BSlaf0ff.js +1 -0
- package/components-build/p-CPvuMm5C.js +1 -0
- package/components-build/p-Cbibqaz0.js +1 -0
- package/components-build/p-ClR-wgiT.js +1 -0
- package/components-build/p-DfaYciGa.js +1 -0
- package/components-build/p-Dh8DSJs_.js +1 -0
- package/components-build/p-N_tqtRV2.js +1 -0
- package/components-build/p-bAMuJ4Jx.js +1 -0
- package/components-build/p-c2z3tneT.js +1 -0
- package/components-build/p-dz9-Q2N8.js +1 -0
- package/{dist/boreal-web-components/p-CaHOghy5.js → components-build/p-fUK0GCeC.js} +1 -1
- package/components-build/p-iq2UuV7c.js +1 -0
- package/components-build/p-nxYzL9uu.js +1 -0
- package/custom-elements.json +2603 -931
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
- package/dist/boreal-web-components/{p-7a4efddd.system.entry.js → p-024d90b0.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-06DrzEMB.system.js +1 -0
- package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +1 -0
- package/dist/boreal-web-components/p-147d6652.system.entry.js +1 -0
- package/dist/boreal-web-components/p-148d510f.entry.js +1 -0
- package/dist/boreal-web-components/{p-2158a7cd.entry.js → p-19f9352d.entry.js} +1 -1
- package/dist/boreal-web-components/{p-41b48701.system.entry.js → p-277f142e.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-251b3002.entry.js → p-2adf2cd5.entry.js} +1 -1
- package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +1 -0
- package/dist/boreal-web-components/p-340896b2.entry.js +1 -0
- package/dist/boreal-web-components/{p-251d35df.system.entry.js → p-365e8e5c.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +1 -0
- package/dist/boreal-web-components/p-44a8fde5.entry.js +1 -0
- package/dist/boreal-web-components/{p-52600375.system.entry.js → p-48ebbfbe.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-ab5ffa15.system.entry.js → p-4dc01078.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-5681b294.system.entry.js +1 -0
- package/dist/boreal-web-components/p-5ed75075.entry.js +1 -0
- package/dist/boreal-web-components/p-635f676b.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-7db870b7.entry.js → p-6629be14.entry.js} +1 -1
- package/dist/boreal-web-components/p-68b83680.system.entry.js +1 -0
- package/dist/boreal-web-components/p-6a60d134.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-66360e63.entry.js → p-71ed1e1d.entry.js} +1 -1
- package/dist/boreal-web-components/{p-b12d4788.system.entry.js → p-732e98f1.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-80822731.system.entry.js → p-77658a5b.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-7aff4c78.entry.js +1 -0
- package/dist/boreal-web-components/p-7bb88855.entry.js +1 -0
- package/dist/boreal-web-components/p-7d3a8f61.entry.js +1 -0
- package/dist/boreal-web-components/p-7e672cce.entry.js +1 -0
- package/dist/boreal-web-components/{p-1d1bb9d2.entry.js → p-7ebc67c9.entry.js} +1 -1
- package/dist/boreal-web-components/p-81401e2a.system.entry.js +1 -0
- package/dist/boreal-web-components/p-8289e506.entry.js +1 -0
- package/dist/boreal-web-components/p-82d15372.entry.js +1 -0
- package/dist/boreal-web-components/p-851c06f2.entry.js +1 -0
- package/dist/boreal-web-components/p-8a3716ec.entry.js +1 -0
- package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-871c9a9f.system.entry.js → p-93066db4.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
- package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
- package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
- package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
- package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
- package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
- package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
- package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
- package/dist/boreal-web-components/p-DYlZcFrB.system.js +1 -0
- package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
- package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
- package/dist/boreal-web-components/p-DlYG-OVB.js +1 -0
- package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
- package/dist/boreal-web-components/p-DpnBDSUm.system.js +1 -0
- package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
- package/{components-build/p-CaHOghy5.js → dist/boreal-web-components/p-U9yfbs7i.js} +1 -1
- package/dist/boreal-web-components/p-a73659ac.system.entry.js +1 -0
- package/dist/boreal-web-components/p-b2ad9535.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-731b88cc.entry.js → p-d4c30d2b.entry.js} +1 -1
- package/dist/boreal-web-components/p-db0c10b9.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-695d0830.entry.js → p-dc7d429c.entry.js} +1 -1
- package/dist/boreal-web-components/p-dca16a3d.entry.js +1 -0
- package/dist/boreal-web-components/p-de846c43.system.entry.js +1 -0
- package/dist/boreal-web-components/p-df087e23.system.entry.js +1 -0
- package/dist/boreal-web-components/p-dfb4854e.entry.js +1 -0
- package/dist/boreal-web-components/p-dz9-Q2N8.js +1 -0
- package/dist/boreal-web-components/p-e09b4d14.system.entry.js +1 -0
- package/dist/boreal-web-components/{p-edca16b6.system.entry.js → p-e0a41cab.system.entry.js} +1 -1
- package/dist/boreal-web-components/{p-127a4134.entry.js → p-e55f2a8b.entry.js} +1 -1
- package/dist/boreal-web-components/p-e7af1e1a.entry.js +1 -0
- package/dist/boreal-web-components/{p-e0bf8a6e.entry.js → p-efe159aa.entry.js} +1 -1
- package/dist/boreal-web-components/{p-44ceff4e.system.entry.js → p-f65e9d0c.system.entry.js} +1 -1
- package/dist/boreal-web-components/p-f792aa74.entry.js +1 -0
- package/dist/boreal-web-components/{p-fc24d963.entry.js → p-fb9a0e94.entry.js} +1 -1
- package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
- package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -1
- package/dist/boreal-web-components/p-wREMI3WA.js +1 -0
- package/dist/cjs/Keys-rKl2za5q.js +18 -0
- package/dist/cjs/Logger-DnziItRH.js +51 -0
- package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
- package/dist/cjs/bds-avatar.cjs.entry.js +2 -2
- package/dist/cjs/bds-badge.cjs.entry.js +1 -1
- package/dist/cjs/bds-banner.cjs.entry.js +2 -2
- package/dist/cjs/bds-button-group.cjs.entry.js +95 -0
- package/dist/cjs/bds-button.cjs.entry.js +7 -13
- package/dist/cjs/bds-checkbox-card.cjs.entry.js +121 -0
- package/dist/cjs/bds-checkbox.cjs.entry.js +13 -6
- package/dist/cjs/bds-dialog.cjs.entry.js +3 -3
- package/dist/cjs/bds-divider.cjs.entry.js +2 -2
- 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 +47 -22
- package/dist/cjs/bds-list-menu.cjs.entry.js +90 -21
- package/dist/cjs/bds-popover.cjs.entry.js +5 -4
- package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
- package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
- package/dist/cjs/bds-radio-group.cjs.entry.js +285 -0
- package/dist/cjs/bds-radio.cjs.entry.js +60 -0
- package/dist/cjs/bds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bds-status.cjs.entry.js +1 -1
- package/dist/cjs/bds-tag.cjs.entry.js +1 -1
- package/dist/cjs/bds-text-field.cjs.entry.js +8 -7
- package/dist/cjs/bds-toggle.cjs.entry.js +6 -5
- package/dist/cjs/bds-tooltip_2.cjs.entry.js +9 -8
- package/dist/cjs/boreal-web-components.cjs.js +1 -1
- package/dist/cjs/coreColors-CQGojc0l.js +10 -0
- package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
- package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
- package/dist/cjs/{getOffset-m4hBgyVP.js → getOffset-k4ezB-eT.js} +6 -53
- package/dist/cjs/{form-associated.mixin-DXwvF_vW.js → internals-D8x7GMfR.js} +0 -31
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/menu-BxKaEajh.js +8 -0
- package/dist/cjs/orientation-DQAIleEJ.js +8 -0
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/actions/bds-button/bds-button.css +19 -19
- package/dist/collection/components/actions/bds-button/bds-button.js +7 -7
- package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
- package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
- package/dist/collection/components/actions/bds-button-group/bds-button-group.js +245 -0
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +27 -1
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +148 -49
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/types.js +1 -0
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +25 -9
- package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +53 -8
- package/dist/collection/components/actions/bds-toggle/bds-toggle.js +1 -1
- package/dist/collection/components/feedback/bds-badge/bds-badge.js +1 -1
- package/dist/collection/components/feedback/bds-banner/bds-banner.js +1 -1
- package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
- package/dist/collection/components/feedback/bds-status/bds-status.js +1 -1
- package/dist/collection/components/feedback/bds-tag/bds-tag.js +1 -1
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +9 -8
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +7 -1
- package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.css +127 -0
- package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.js +397 -0
- package/dist/collection/components/forms/bds-checkbox-card/types/ICheckboxCard.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 +121 -0
- package/dist/collection/components/forms/bds-radio/bds-radio.js +238 -0
- package/dist/collection/components/forms/bds-radio/types/IRadio.js +1 -0
- package/dist/collection/components/forms/bds-radio-button/bds-radio-button.css +109 -0
- package/dist/collection/components/forms/bds-radio-button/bds-radio-button.js +238 -0
- package/dist/collection/components/forms/bds-radio-button/types/IRadioButton.js +1 -0
- package/dist/collection/components/forms/bds-radio-card/bds-radio-card.css +156 -0
- package/dist/collection/components/forms/bds-radio-card/bds-radio-card.js +307 -0
- package/dist/collection/components/forms/bds-radio-card/types/IRadioCard.js +1 -0
- package/dist/collection/components/forms/bds-radio-group/bds-radio-group.css +55 -0
- package/dist/collection/components/forms/bds-radio-group/bds-radio-group.js +620 -0
- package/dist/collection/components/forms/bds-radio-group/types/IRadioGroup.js +1 -0
- package/dist/collection/components/forms/bds-radio-group/types/enum.js +5 -0
- package/dist/collection/components/forms/bds-radio-group/types/types.js +1 -0
- package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
- package/dist/collection/components/helpers/{bds-divider.css → bds-divider/bds-divider.css} +12 -4
- package/dist/collection/components/helpers/{bds-divider.js → bds-divider/bds-divider.js} +3 -3
- package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
- package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
- package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +1 -1
- package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +1 -1
- package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +1 -1
- package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +2 -2
- package/dist/collection/components/overlays/bds-popover/bds-popover.js +1 -1
- package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +3 -3
- package/dist/collection/components/titles-text/bds-typography/bds-typography.css +5 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +1 -1
- package/dist/collection/mixins/anchored.mixin.js +2 -2
- package/dist/collection/mixins/links.mixin.js +1 -2
- package/dist/collection/mixins/menu-behavior.mixin.js +11 -5
- package/dist/collection/types/index.js +2 -0
- package/dist/collection/types/orientation.js +4 -0
- package/dist/collection/utils/constants/common/Keys.js +10 -24
- package/dist/collection/utils/menu/menu-item.utils.js +9 -8
- package/dist/collection/utils/testing/helpers.js +10 -0
- package/dist/esm/Keys-DlYG-OVB.js +16 -0
- package/dist/esm/Logger-iq2UuV7c.js +49 -0
- package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
- package/dist/esm/bds-avatar.entry.js +2 -2
- package/dist/esm/bds-badge.entry.js +1 -1
- package/dist/esm/bds-banner.entry.js +2 -2
- package/dist/esm/bds-button-group.entry.js +93 -0
- package/dist/esm/bds-button.entry.js +5 -11
- package/dist/esm/bds-checkbox-card.entry.js +119 -0
- package/dist/esm/bds-checkbox.entry.js +11 -4
- package/dist/esm/bds-dialog.entry.js +3 -3
- package/dist/esm/bds-divider.entry.js +2 -2
- 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 +47 -22
- package/dist/esm/bds-list-menu.entry.js +90 -21
- package/dist/esm/bds-popover.entry.js +5 -4
- package/dist/esm/bds-radio-button.entry.js +58 -0
- package/dist/esm/bds-radio-card.entry.js +74 -0
- package/dist/esm/bds-radio-group.entry.js +283 -0
- package/dist/esm/bds-radio.entry.js +58 -0
- package/dist/esm/bds-spinner.entry.js +1 -1
- package/dist/esm/bds-status.entry.js +1 -1
- package/dist/esm/bds-tag.entry.js +1 -1
- package/dist/esm/bds-text-field.entry.js +3 -2
- package/dist/esm/bds-toggle.entry.js +4 -3
- package/dist/esm/bds-tooltip_2.entry.js +9 -8
- package/dist/esm/boreal-web-components.js +1 -1
- package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
- package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
- package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
- package/dist/esm/{getOffset-DKPjeBHi.js → getOffset-BYS3c13B.js} +4 -51
- package/dist/esm/{form-associated.mixin-CvK2d92c.js → internals-DfaYciGa.js} +1 -31
- package/dist/esm/loader.js +1 -1
- package/dist/esm/menu-dz9-Q2N8.js +6 -0
- package/dist/esm/orientation-CPvuMm5C.js +6 -0
- package/dist/esm-es5/Keys-DlYG-OVB.js +1 -0
- package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
- package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
- package/dist/esm-es5/bds-avatar.entry.js +1 -1
- package/dist/esm-es5/bds-badge.entry.js +1 -1
- package/dist/esm-es5/bds-banner.entry.js +1 -1
- package/dist/esm-es5/bds-button-group.entry.js +1 -0
- package/dist/esm-es5/bds-button.entry.js +1 -1
- package/dist/esm-es5/bds-checkbox-card.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 -0
- package/dist/esm-es5/bds-radio-card.entry.js +1 -0
- package/dist/esm-es5/bds-radio-group.entry.js +1 -0
- package/dist/esm-es5/bds-radio.entry.js +1 -0
- package/dist/esm-es5/bds-spinner.entry.js +1 -1
- package/dist/esm-es5/bds-status.entry.js +1 -1
- 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/coreColors-Dwo1hcd9.js +1 -0
- package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
- package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
- package/dist/esm-es5/getOffset-BYS3c13B.js +1 -0
- package/dist/esm-es5/internals-DfaYciGa.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/menu-dz9-Q2N8.js +1 -0
- package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
- package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -4
- package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
- package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +36 -0
- package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +19 -15
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +14 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
- package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +8 -2
- package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +1 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +2 -0
- package/dist/types/components/forms/bds-checkbox-card/bds-checkbox-card.d.ts +70 -0
- package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +8 -0
- package/dist/types/components/forms/bds-radio/bds-radio.d.ts +36 -0
- package/dist/types/components/forms/bds-radio/types/IRadio.d.ts +13 -0
- package/dist/types/components/forms/bds-radio-button/bds-radio-button.d.ts +36 -0
- package/dist/types/components/forms/bds-radio-button/types/IRadioButton.d.ts +13 -0
- package/dist/types/components/forms/bds-radio-card/bds-radio-card.d.ts +57 -0
- package/dist/types/components/forms/bds-radio-card/types/IRadioCard.d.ts +14 -0
- package/dist/types/components/forms/bds-radio-group/bds-radio-group.d.ts +82 -0
- package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +19 -0
- package/dist/types/components/forms/bds-radio-group/types/enum.d.ts +6 -0
- package/dist/types/components/forms/bds-radio-group/types/types.d.ts +3 -0
- package/dist/types/components.d.ts +941 -63
- package/dist/types/mixins/menu-behavior.mixin.d.ts +5 -1
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/orientation.d.ts +6 -0
- package/dist/types/utils/constants/common/Keys.d.ts +13 -16
- package/dist/types/utils/menu/menu-item.utils.d.ts +2 -2
- package/dist/types/utils/testing/helpers.d.ts +8 -0
- package/package.json +1 -1
- package/components-build/p-B8n1ru5i.js +0 -1
- package/components-build/p-CGdxFth9.js +0 -1
- package/components-build/p-CrAt6pGl.js +0 -1
- package/components-build/p-DCwT43Kz.js +0 -1
- package/components-build/p-DIY3CDNL.js +0 -1
- package/dist/boreal-web-components/p-0028481c.entry.js +0 -1
- package/dist/boreal-web-components/p-1466de58.system.entry.js +0 -1
- package/dist/boreal-web-components/p-2b8bd1dd.entry.js +0 -1
- package/dist/boreal-web-components/p-32c23246.system.entry.js +0 -1
- package/dist/boreal-web-components/p-3fbcc233.entry.js +0 -1
- package/dist/boreal-web-components/p-401f1aee.system.entry.js +0 -1
- package/dist/boreal-web-components/p-41cac1b8.system.entry.js +0 -1
- package/dist/boreal-web-components/p-627b19a5.system.entry.js +0 -1
- package/dist/boreal-web-components/p-649737e5.entry.js +0 -1
- package/dist/boreal-web-components/p-64cb5825.entry.js +0 -1
- package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +0 -1
- package/dist/boreal-web-components/p-74c13bed.system.entry.js +0 -1
- package/dist/boreal-web-components/p-7f7ac40f.entry.js +0 -1
- package/dist/boreal-web-components/p-82d49661.entry.js +0 -1
- package/dist/boreal-web-components/p-83ca193e.entry.js +0 -1
- package/dist/boreal-web-components/p-BQ_zoZa2.js +0 -1
- package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
- package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
- package/dist/boreal-web-components/p-CtknSula.system.js +0 -1
- package/dist/boreal-web-components/p-CvK2d92c.js +0 -1
- package/dist/boreal-web-components/p-CzYQb3pP.js +0 -1
- package/dist/boreal-web-components/p-DZcx75cy.system.js +0 -1
- package/dist/boreal-web-components/p-Dme-NuTD.system.js +0 -1
- package/dist/boreal-web-components/p-ba2b625a.system.entry.js +0 -1
- package/dist/boreal-web-components/p-bf2ef10b.entry.js +0 -1
- package/dist/boreal-web-components/p-c7aee9f4.system.entry.js +0 -1
- package/dist/cjs/Keys-DbIXSJF2.js +0 -22
- package/dist/esm/Keys-CzYQb3pP.js +0 -20
- package/dist/esm-es5/Keys-CzYQb3pP.js +0 -1
- package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
- package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +0 -1
- package/dist/esm-es5/getOffset-DKPjeBHi.js +0 -1
- /package/dist/collection/components/{helpers/types/IDivider.js → actions/bds-button-group/types/IButtonGroup.js} +0 -0
- /package/dist/collection/components/{helpers/types/types.js → actions/bds-list-menu/bds-list-menu/types/IListMenu.js} +0 -0
- /package/dist/collection/components/helpers/{types → bds-divider/types}/enum.js +0 -0
- /package/dist/types/components/helpers/{bds-divider.d.ts → bds-divider/bds-divider.d.ts} +0 -0
- /package/dist/types/components/helpers/{types → bds-divider/types}/IDivider.d.ts +0 -0
- /package/dist/types/components/helpers/{types → bds-divider/types}/enum.d.ts +0 -0
- /package/dist/types/components/helpers/{types → bds-divider/types}/types.d.ts +0 -0
|
@@ -17,7 +17,7 @@ import { validatePropValue } from "../../../utils/helpers/validateProps";
|
|
|
17
17
|
* @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
18
18
|
* @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
19
19
|
* @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
20
|
-
* @attr {string} size - The size of the button, which can be '
|
|
20
|
+
* @attr {string} size - The size of the button, which can be 'sm', 'md', or 'lg'. Default is 'md'.
|
|
21
21
|
* @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
22
22
|
* @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
23
23
|
*
|
|
@@ -27,14 +27,14 @@ import { validatePropValue } from "../../../utils/helpers/validateProps";
|
|
|
27
27
|
* @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
28
28
|
* @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
29
29
|
* @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
30
|
-
* @property {string} size - The size of the button, which can be '
|
|
30
|
+
* @property {string} size - The size of the button, which can be 'sm', 'md', or 'lg'. Default is 'md'.
|
|
31
31
|
* @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
32
32
|
* @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
33
33
|
*
|
|
34
34
|
* @default 'button' - Default type value
|
|
35
35
|
* @default 'default' - Default color value
|
|
36
36
|
* @default 'default' - Default variant value
|
|
37
|
-
* @default '
|
|
37
|
+
* @default 'md' - Default size value
|
|
38
38
|
* @default 'default' - Default status value
|
|
39
39
|
* @default false - Default disabled value
|
|
40
40
|
* @default '' - Default label value
|
|
@@ -59,7 +59,7 @@ export class BdsButton {
|
|
|
59
59
|
this.color = CORE_COLORS.DEFAULT;
|
|
60
60
|
/** variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.*/
|
|
61
61
|
this.variant = BUTTON_VARIANTS.DEFAULT;
|
|
62
|
-
/** size is a string attribute. The size of the button, which can be '
|
|
62
|
+
/** size is a string attribute. The size of the button, which can be 'sm', 'md', or 'lg'. Default is 'md'. */
|
|
63
63
|
this.size = BUTTON_SIZES.MEDIUM;
|
|
64
64
|
/** loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false. */
|
|
65
65
|
this.loading = false;
|
|
@@ -149,7 +149,7 @@ export class BdsButton {
|
|
|
149
149
|
}
|
|
150
150
|
/* render button depends on variant */
|
|
151
151
|
render() {
|
|
152
|
-
return (h("button", { key: '
|
|
152
|
+
return (h("button", { key: 'e1b3c4e0ae8662427a037f861cd57050051cc80a', name: this.name, class: this.getClassMap, type: this.type, disabled: this.disabled || this.loading, "aria-label": this.label || undefined, "aria-disabled": this.disabled || this.loading, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp }, h("div", { key: '24e37c5a359e19163411ab5ed7028eaa84caa2e5', class: "bds-button__content" }, h("span", { key: '90f4956274656c46ca43f7a903c9947d89367aba', class: "bds-button__content-icon bds-button__content-icon--start" }, h("slot", { key: 'd4a5344f9e3ebd5279b5e25a8f1982d523e6d2b8', name: "icon" })), h("slot", { key: '14b26b5e5f3bbabb1b88596b721f7ea864df1b15' }), h("span", { key: '34cb88da064a6c74596a4bb477fb0a9d6880b391', class: "bds-button__content-badge" }, h("slot", { key: '00775c4a742d49ca7f23d7dbe061f4333ed43907', name: "badge" })), this.disclosure && (h("span", { key: '0b959969969cf4c5a651b6c1488d35b1d0ec9b7b', class: "bds-button__content-icon" }, h("i", { key: '316154f31f1f57b67e126d407b3596c60f532b1a', class: "bds-icon-chevron-down" }))))));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "bds-button"; }
|
|
155
155
|
static get formAssociated() { return true; }
|
|
@@ -332,7 +332,7 @@ export class BdsButton {
|
|
|
332
332
|
"mutable": false,
|
|
333
333
|
"complexType": {
|
|
334
334
|
"original": "IButton['size']",
|
|
335
|
-
"resolved": "\"
|
|
335
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
336
336
|
"references": {
|
|
337
337
|
"IButton": {
|
|
338
338
|
"location": "import",
|
|
@@ -346,7 +346,7 @@ export class BdsButton {
|
|
|
346
346
|
"optional": false,
|
|
347
347
|
"docs": {
|
|
348
348
|
"tags": [],
|
|
349
|
-
"text": "size is a string attribute. The size of the button, which can be '
|
|
349
|
+
"text": "size is a string attribute. The size of the button, which can be 'sm', 'md', or 'lg'. Default is 'md'."
|
|
350
350
|
},
|
|
351
351
|
"getter": false,
|
|
352
352
|
"setter": false,
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* Common SCSS placeholder selectors shared across form and layout components.
|
|
4
|
+
* This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
|
|
5
|
+
* so all component stylesheets can `@extend` these placeholders without an explicit import.
|
|
6
|
+
*
|
|
7
|
+
* NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
|
|
8
|
+
* are not available at this level util use style-guidelines.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* TODO: Refactor to use styleguidelines this work as first draft
|
|
12
|
+
**/
|
|
13
|
+
/**
|
|
14
|
+
* This file contains mixins and functions for common interactions styles such as focus rings and transitions.
|
|
15
|
+
* These are used across multiple components to ensure consistency in interaction feedback.
|
|
16
|
+
*/
|
|
17
|
+
.bds-button-group {
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
margin: var(--boreal-spacing-2xs) var(--boreal-spacing-3xs);
|
|
20
|
+
border-radius: var(--boreal-radius-xs);
|
|
21
|
+
outline: none;
|
|
22
|
+
}
|
|
23
|
+
.bds-button-group:focus {
|
|
24
|
+
box-shadow: 0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);
|
|
25
|
+
}
|
|
26
|
+
.bds-button-group bds-button {
|
|
27
|
+
position: relative;
|
|
28
|
+
}
|
|
29
|
+
.bds-button-group bds-button button {
|
|
30
|
+
margin: 0;
|
|
31
|
+
border-radius: var(--boreal-radius-none);
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
.bds-button-group bds-button:hover {
|
|
35
|
+
z-index: 1;
|
|
36
|
+
}
|
|
37
|
+
.bds-button-group bds-button:focus-within, .bds-button-group bds-button:active {
|
|
38
|
+
z-index: 2;
|
|
39
|
+
}
|
|
40
|
+
.bds-button-group--horizontal {
|
|
41
|
+
flex-direction: row;
|
|
42
|
+
gap: var(--boreal-spacing-4xs);
|
|
43
|
+
}
|
|
44
|
+
.bds-button-group--horizontal bds-button:only-child button {
|
|
45
|
+
border-radius: var(--boreal-radius-xs);
|
|
46
|
+
}
|
|
47
|
+
.bds-button-group--horizontal bds-button:first-child:not(:only-child) button {
|
|
48
|
+
border-radius: var(--boreal-radius-xs) var(--boreal-radius-none) var(--boreal-radius-none) var(--boreal-radius-xs);
|
|
49
|
+
}
|
|
50
|
+
.bds-button-group--horizontal bds-button:last-child:not(:only-child) button {
|
|
51
|
+
border-radius: var(--boreal-radius-none) var(--boreal-radius-xs) var(--boreal-radius-xs) var(--boreal-radius-none);
|
|
52
|
+
}
|
|
53
|
+
.bds-button-group--horizontal:has(.bds-button--var-outline) {
|
|
54
|
+
gap: 0;
|
|
55
|
+
}
|
|
56
|
+
.bds-button-group--horizontal:has(.bds-button--var-outline) bds-button:nth-child(n+2) {
|
|
57
|
+
margin-left: calc(-1 * var(--boreal-spacing-4xs));
|
|
58
|
+
}
|
|
59
|
+
.bds-button-group--vertical {
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
gap: var(--boreal-spacing-4xs);
|
|
62
|
+
}
|
|
63
|
+
.bds-button-group--vertical bds-button:only-child button {
|
|
64
|
+
border-radius: var(--boreal-radius-xs);
|
|
65
|
+
}
|
|
66
|
+
.bds-button-group--vertical bds-button:first-child:not(:only-child) button {
|
|
67
|
+
border-radius: var(--boreal-radius-xs) var(--boreal-radius-xs) var(--boreal-radius-none) var(--boreal-radius-none);
|
|
68
|
+
}
|
|
69
|
+
.bds-button-group--vertical bds-button:last-child:not(:only-child) button {
|
|
70
|
+
border-radius: var(--boreal-radius-none) var(--boreal-radius-none) var(--boreal-radius-xs) var(--boreal-radius-xs);
|
|
71
|
+
}
|
|
72
|
+
.bds-button-group--vertical:has(.bds-button--var-outline) {
|
|
73
|
+
gap: 0;
|
|
74
|
+
}
|
|
75
|
+
.bds-button-group--vertical:has(.bds-button--var-outline) bds-button:nth-child(n+2) {
|
|
76
|
+
margin-top: calc(-1 * var(--boreal-spacing-4xs));
|
|
77
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { ORIENTATIONS } from "../../../types/index";
|
|
3
|
+
import { validatePropValue } from "../../../utils/helpers/validateProps";
|
|
4
|
+
import { CORE_COLORS } from "../../../types/coreColors";
|
|
5
|
+
import { BUTTON_VARIANTS, BUTTON_SIZES } from "../bds-button/types/enum";
|
|
6
|
+
import { inheritAriaAttributes } from "../../../utils/index";
|
|
7
|
+
import { Logger } from "../../../services/logger/index";
|
|
8
|
+
/**
|
|
9
|
+
* Button group component for grouping related buttons together in a unified visual unit.
|
|
10
|
+
* @slot - The content of the button group, typically multiple `<bds-button>` elements.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export class BdsButtonGroup {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.inheritedAttributes = {};
|
|
16
|
+
this.logger = new Logger();
|
|
17
|
+
/** Controls the size applied to all child `<bds-button>` elements. Accepted values: `'sm'`, `'md'`, `'lg'`. Default is `'md'`. */
|
|
18
|
+
this.size = BUTTON_SIZES.MEDIUM;
|
|
19
|
+
/** Controls the layout direction of the grouped buttons. Accepted values: `'horizontal'`, `'vertical'`. Default is `'horizontal'`. */
|
|
20
|
+
this.orientation = ORIENTATIONS.HORIZONTAL;
|
|
21
|
+
/** Provides an accessible label for the button group. */
|
|
22
|
+
this.label = 'Button group';
|
|
23
|
+
/** Controls the color applied to all child `<bds-button>` elements. Accepted values: see `CoreColors`. Default is `default`. */
|
|
24
|
+
this.color = CORE_COLORS.DEFAULT;
|
|
25
|
+
/** Controls the variant applied to all child `<bds-button>` elements. Accepted values: `'default'`, `'outline'`, `'plain'`. Default is `'default'`. */
|
|
26
|
+
this.variant = BUTTON_VARIANTS.DEFAULT;
|
|
27
|
+
}
|
|
28
|
+
/** Validates `size`, `orientation`, `color`, and `variant` prop values on change, falling back to defaults if invalid. */
|
|
29
|
+
validateProps() {
|
|
30
|
+
validatePropValue(Object.values(BUTTON_SIZES), BUTTON_SIZES.MEDIUM, this.el, 'size');
|
|
31
|
+
validatePropValue(Object.values(ORIENTATIONS), ORIENTATIONS.HORIZONTAL, this.el, 'orientation');
|
|
32
|
+
validatePropValue(Object.values(CORE_COLORS), CORE_COLORS.DEFAULT, this.el, 'color');
|
|
33
|
+
validatePropValue(Object.values(BUTTON_VARIANTS), BUTTON_VARIANTS.DEFAULT, this.el, 'variant');
|
|
34
|
+
}
|
|
35
|
+
/** Propagates `size`, `color` and `variant` to all child `<bds-button>` elements via `setAttribute`. */
|
|
36
|
+
propagatePropsToButtons() {
|
|
37
|
+
this.el.querySelectorAll('bds-button').forEach((button) => {
|
|
38
|
+
button.setAttribute('size', this.size);
|
|
39
|
+
button.setAttribute('color', this.color);
|
|
40
|
+
button.setAttribute('variant', this.variant);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/** Validates props before the first render. */
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
this.validateProps();
|
|
46
|
+
this.inheritedAttributes = { ...inheritAriaAttributes(this.el) };
|
|
47
|
+
}
|
|
48
|
+
/** Warns when non-`<bds-button>` elements are placed in the default slot. */
|
|
49
|
+
validateSlotContent() {
|
|
50
|
+
const invalid = Array.from(this.el.children).filter(el => el.tagName.toLowerCase() !== 'bds-button');
|
|
51
|
+
if (invalid.length > 0) {
|
|
52
|
+
this.logger.warn('bds-button-group', `Only <bds-button> elements are allowed as children. Found: ${invalid.map(el => `<${el.tagName.toLowerCase()}>`).join(', ')}`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/** Propagates initial props to child buttons after the component is mounted. */
|
|
56
|
+
componentDidLoad() {
|
|
57
|
+
this.validateSlotContent();
|
|
58
|
+
this.propagatePropsToButtons();
|
|
59
|
+
}
|
|
60
|
+
/** Builds the CSS class map applied to the host element based `orientation`. */
|
|
61
|
+
get classMapButtonGroup() {
|
|
62
|
+
return {
|
|
63
|
+
'bds-button-group': true,
|
|
64
|
+
[`bds-button-group--${this.orientation}`]: true,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return (h(Host, { key: 'c8f201f1b9aa35e8a7f92a096f0d06a3f0918ce6', ...this.inheritedAttributes, tabindex: "-1", class: this.classMapButtonGroup, "aria-orientation": this.orientation, "aria-label": this.label }, h("slot", { key: 'd7b2601d9ae72c0dc79a99f8b1b428966e79c943' })));
|
|
69
|
+
}
|
|
70
|
+
static get is() { return "bds-button-group"; }
|
|
71
|
+
static get originalStyleUrls() {
|
|
72
|
+
return {
|
|
73
|
+
"$": ["bds-button-group.scss"]
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static get styleUrls() {
|
|
77
|
+
return {
|
|
78
|
+
"$": ["bds-button-group.css"]
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static get properties() {
|
|
82
|
+
return {
|
|
83
|
+
"size": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "IButtonGroup['size']",
|
|
88
|
+
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
89
|
+
"references": {
|
|
90
|
+
"IButtonGroup": {
|
|
91
|
+
"location": "import",
|
|
92
|
+
"path": "./types/IButtonGroup",
|
|
93
|
+
"id": "src/components/actions/bds-button-group/types/IButtonGroup.ts::IButtonGroup",
|
|
94
|
+
"referenceLocation": "IButtonGroup"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Controls the size applied to all child `<bds-button>` elements. Accepted values: `'sm'`, `'md'`, `'lg'`. Default is `'md'`."
|
|
103
|
+
},
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false,
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"attribute": "size",
|
|
108
|
+
"defaultValue": "BUTTON_SIZES.MEDIUM"
|
|
109
|
+
},
|
|
110
|
+
"orientation": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"mutable": false,
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "IButtonGroup['orientation']",
|
|
115
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
116
|
+
"references": {
|
|
117
|
+
"IButtonGroup": {
|
|
118
|
+
"location": "import",
|
|
119
|
+
"path": "./types/IButtonGroup",
|
|
120
|
+
"id": "src/components/actions/bds-button-group/types/IButtonGroup.ts::IButtonGroup",
|
|
121
|
+
"referenceLocation": "IButtonGroup"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": false,
|
|
126
|
+
"optional": false,
|
|
127
|
+
"docs": {
|
|
128
|
+
"tags": [],
|
|
129
|
+
"text": "Controls the layout direction of the grouped buttons. Accepted values: `'horizontal'`, `'vertical'`. Default is `'horizontal'`."
|
|
130
|
+
},
|
|
131
|
+
"getter": false,
|
|
132
|
+
"setter": false,
|
|
133
|
+
"reflect": false,
|
|
134
|
+
"attribute": "orientation",
|
|
135
|
+
"defaultValue": "ORIENTATIONS.HORIZONTAL"
|
|
136
|
+
},
|
|
137
|
+
"label": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"mutable": false,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "IButtonGroup['label']",
|
|
142
|
+
"resolved": "string",
|
|
143
|
+
"references": {
|
|
144
|
+
"IButtonGroup": {
|
|
145
|
+
"location": "import",
|
|
146
|
+
"path": "./types/IButtonGroup",
|
|
147
|
+
"id": "src/components/actions/bds-button-group/types/IButtonGroup.ts::IButtonGroup",
|
|
148
|
+
"referenceLocation": "IButtonGroup"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Provides an accessible label for the button group."
|
|
157
|
+
},
|
|
158
|
+
"getter": false,
|
|
159
|
+
"setter": false,
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"attribute": "label",
|
|
162
|
+
"defaultValue": "'Button group'"
|
|
163
|
+
},
|
|
164
|
+
"color": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"mutable": false,
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "IButtonGroup['color']",
|
|
169
|
+
"resolved": "\"default\" | \"error\" | \"primary\" | \"success\"",
|
|
170
|
+
"references": {
|
|
171
|
+
"IButtonGroup": {
|
|
172
|
+
"location": "import",
|
|
173
|
+
"path": "./types/IButtonGroup",
|
|
174
|
+
"id": "src/components/actions/bds-button-group/types/IButtonGroup.ts::IButtonGroup",
|
|
175
|
+
"referenceLocation": "IButtonGroup"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": false,
|
|
180
|
+
"optional": false,
|
|
181
|
+
"docs": {
|
|
182
|
+
"tags": [],
|
|
183
|
+
"text": "Controls the color applied to all child `<bds-button>` elements. Accepted values: see `CoreColors`. Default is `default`."
|
|
184
|
+
},
|
|
185
|
+
"getter": false,
|
|
186
|
+
"setter": false,
|
|
187
|
+
"reflect": false,
|
|
188
|
+
"attribute": "color",
|
|
189
|
+
"defaultValue": "CORE_COLORS.DEFAULT"
|
|
190
|
+
},
|
|
191
|
+
"variant": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"mutable": false,
|
|
194
|
+
"complexType": {
|
|
195
|
+
"original": "IButtonGroup['variant']",
|
|
196
|
+
"resolved": "\"default\" | \"outline\" | \"plain\"",
|
|
197
|
+
"references": {
|
|
198
|
+
"IButtonGroup": {
|
|
199
|
+
"location": "import",
|
|
200
|
+
"path": "./types/IButtonGroup",
|
|
201
|
+
"id": "src/components/actions/bds-button-group/types/IButtonGroup.ts::IButtonGroup",
|
|
202
|
+
"referenceLocation": "IButtonGroup"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": false,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "Controls the variant applied to all child `<bds-button>` elements. Accepted values: `'default'`, `'outline'`, `'plain'`. Default is `'default'`."
|
|
211
|
+
},
|
|
212
|
+
"getter": false,
|
|
213
|
+
"setter": false,
|
|
214
|
+
"reflect": false,
|
|
215
|
+
"attribute": "variant",
|
|
216
|
+
"defaultValue": "BUTTON_VARIANTS.DEFAULT"
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
static get elementRef() { return "el"; }
|
|
221
|
+
static get watchers() {
|
|
222
|
+
return [{
|
|
223
|
+
"propName": "size",
|
|
224
|
+
"methodName": "validateProps"
|
|
225
|
+
}, {
|
|
226
|
+
"propName": "orientation",
|
|
227
|
+
"methodName": "validateProps"
|
|
228
|
+
}, {
|
|
229
|
+
"propName": "color",
|
|
230
|
+
"methodName": "validateProps"
|
|
231
|
+
}, {
|
|
232
|
+
"propName": "variant",
|
|
233
|
+
"methodName": "validateProps"
|
|
234
|
+
}, {
|
|
235
|
+
"propName": "size",
|
|
236
|
+
"methodName": "propagatePropsToButtons"
|
|
237
|
+
}, {
|
|
238
|
+
"propName": "color",
|
|
239
|
+
"methodName": "propagatePropsToButtons"
|
|
240
|
+
}, {
|
|
241
|
+
"propName": "variant",
|
|
242
|
+
"methodName": "propagatePropsToButtons"
|
|
243
|
+
}];
|
|
244
|
+
}
|
|
245
|
+
}
|
|
@@ -19,7 +19,33 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.bds-list-menu {
|
|
22
|
+
/**
|
|
23
|
+
* @prop --bds-list-menu-max-width - The maximum width of the list menu. Default is 350px.
|
|
24
|
+
* @prop --bds-list-menu-max-height - The maximum height of the list menu content. Default is 240px.
|
|
25
|
+
*/
|
|
22
26
|
display: flex;
|
|
23
27
|
flex-direction: column;
|
|
24
|
-
max-width: 350px;
|
|
28
|
+
max-width: var(--bds-list-menu-max-width, 350px);
|
|
29
|
+
background-color: var(--boreal-ui-inverse);
|
|
30
|
+
font-family: var(--boreal-typography-font-family-primary);
|
|
31
|
+
}
|
|
32
|
+
.bds-list-menu__content {
|
|
33
|
+
max-height: var(--bds-list-menu-max-height, 240px);
|
|
34
|
+
overflow-y: auto;
|
|
35
|
+
padding: var(--boreal-spacing-2xs);
|
|
36
|
+
}
|
|
37
|
+
.bds-list-menu__select-controls {
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: space-around;
|
|
40
|
+
border-bottom: var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter);
|
|
41
|
+
margin-bottom: var(--boreal-spacing-3xs);
|
|
42
|
+
}
|
|
43
|
+
.bds-list-menu__header:not(:empty), .bds-list-menu__footer:not(:empty) {
|
|
44
|
+
padding: var(--boreal-spacing-xs) 0;
|
|
45
|
+
}
|
|
46
|
+
.bds-list-menu__header:not(:empty) {
|
|
47
|
+
border-bottom: var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter);
|
|
48
|
+
}
|
|
49
|
+
.bds-list-menu__footer:not(:empty) {
|
|
50
|
+
border-top: var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter);
|
|
25
51
|
}
|