@boostdev/design-system-components 1.1.1 → 1.2.0
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/AGENTS.md +13 -10
- package/dist/client.cjs +77 -99
- package/dist/client.css +611 -580
- package/dist/client.d.cts +13 -16
- package/dist/client.d.ts +13 -16
- package/dist/client.js +87 -109
- package/dist/index.cjs +77 -99
- package/dist/index.css +611 -580
- package/dist/index.d.cts +13 -16
- package/dist/index.d.ts +13 -16
- package/dist/index.js +87 -109
- package/dist/native/index.cjs +9 -8
- package/dist/native/index.d.cts +1 -1
- package/dist/native/index.d.ts +1 -1
- package/dist/native/index.js +9 -8
- package/dist/web-components/chunk-2QA62WCQ.js +48 -0
- package/dist/web-components/chunk-3REOIRDW.js +246 -0
- package/dist/web-components/chunk-57TRNCWQ.js +93 -0
- package/dist/web-components/chunk-5IPHEONG.js +139 -0
- package/dist/web-components/chunk-5R6IFELV.js +63 -0
- package/dist/web-components/chunk-5TFWOPLH.js +49 -0
- package/dist/web-components/chunk-6I3CFC26.js +89 -0
- package/dist/web-components/chunk-6MH5UWUD.js +226 -0
- package/dist/web-components/chunk-7FMR53BW.js +127 -0
- package/dist/web-components/chunk-AGKJTMJI.js +56 -0
- package/dist/web-components/chunk-AJSXNDAP.js +151 -0
- package/dist/web-components/chunk-BQLZ7I4G.js +56 -0
- package/dist/web-components/chunk-BX3IPVOB.js +167 -0
- package/dist/web-components/chunk-CR5PGUHV.js +109 -0
- package/dist/web-components/chunk-DI46Q2EA.js +278 -0
- package/dist/web-components/chunk-DZRSJGPB.js +53 -0
- package/dist/web-components/chunk-EBJM3VD4.js +107 -0
- package/dist/web-components/chunk-ECW3HHWA.js +185 -0
- package/dist/web-components/chunk-HGBNDR22.js +98 -0
- package/dist/web-components/chunk-HHHRF2PS.js +118 -0
- package/dist/web-components/chunk-ITHLKR7Q.js +105 -0
- package/dist/web-components/chunk-JUKB3BUP.js +186 -0
- package/dist/web-components/chunk-L3XHOMN6.js +111 -0
- package/dist/{web-components.js → web-components/chunk-LGEZYFUU.js} +62 -844
- package/dist/web-components/chunk-LY62SAVN.js +64 -0
- package/dist/web-components/chunk-N6IMUOY4.js +185 -0
- package/dist/web-components/chunk-OHUTLSIQ.js +69 -0
- package/dist/web-components/chunk-OQTRTMAB.js +27 -0
- package/dist/web-components/chunk-PY62FTRW.js +179 -0
- package/dist/web-components/chunk-Q4T5BJT6.js +94 -0
- package/dist/web-components/chunk-QDST57JC.js +119 -0
- package/dist/web-components/chunk-QLZ2362S.js +279 -0
- package/dist/web-components/chunk-QPOKHLMQ.js +45 -0
- package/dist/web-components/chunk-SOQQ7RVJ.js +88 -0
- package/dist/web-components/chunk-T6AETZRP.js +131 -0
- package/dist/web-components/chunk-UFFCKVZE.js +149 -0
- package/dist/web-components/chunk-VMMVWLXL.js +53 -0
- package/dist/web-components/chunk-X3FKVHLK.js +144 -0
- package/dist/web-components/chunk-XNA6WTXG.js +133 -0
- package/dist/web-components/chunk-Y4MAXTMA.js +80 -0
- package/dist/web-components/chunk-YLVTEY23.js +165 -0
- package/dist/web-components/chunk-YRXCVKHV.js +116 -0
- package/dist/web-components/chunk-ZTC6GRP7.js +64 -0
- package/dist/web-components/globals.d.ts +2 -0
- package/dist/web-components/globals.js +1 -0
- package/dist/web-components/index.d.ts +41 -0
- package/dist/web-components/index.js +165 -0
- package/dist/web-components/interaction/bds-accordion-item.d.ts +54 -0
- package/dist/web-components/interaction/bds-accordion-item.js +7 -0
- package/dist/web-components/interaction/bds-accordion.d.ts +50 -0
- package/dist/web-components/interaction/bds-accordion.js +7 -0
- package/dist/web-components/interaction/bds-button.d.ts +100 -0
- package/dist/web-components/interaction/bds-button.js +7 -0
- package/dist/web-components/interaction/bds-collapsible.d.ts +52 -0
- package/dist/web-components/interaction/bds-collapsible.js +7 -0
- package/dist/web-components/interaction/bds-dialog.d.ts +56 -0
- package/dist/web-components/interaction/bds-dialog.js +7 -0
- package/dist/web-components/interaction/bds-drawer.d.ts +64 -0
- package/dist/web-components/interaction/bds-drawer.js +7 -0
- package/dist/web-components/interaction/bds-popover.d.ts +62 -0
- package/dist/web-components/interaction/bds-popover.js +7 -0
- package/dist/web-components/interaction/bds-skip-link.d.ts +36 -0
- package/dist/web-components/interaction/bds-skip-link.js +7 -0
- package/dist/web-components/interaction/bds-tab-panel.d.ts +26 -0
- package/dist/web-components/interaction/bds-tab-panel.js +7 -0
- package/dist/web-components/interaction/bds-tab.d.ts +45 -0
- package/dist/web-components/interaction/bds-tab.js +7 -0
- package/dist/web-components/interaction/bds-tabs.d.ts +46 -0
- package/dist/web-components/interaction/bds-tabs.js +7 -0
- package/dist/web-components/interaction/bds-toast-provider.d.ts +57 -0
- package/dist/web-components/interaction/bds-toast-provider.js +7 -0
- package/dist/web-components/interaction/bds-tooltip.d.ts +50 -0
- package/dist/web-components/interaction/bds-tooltip.js +7 -0
- package/dist/web-components/interaction/form/bds-checkbox.d.ts +70 -0
- package/dist/web-components/interaction/form/bds-checkbox.js +7 -0
- package/dist/web-components/interaction/form/bds-combobox.d.ts +84 -0
- package/dist/web-components/interaction/form/bds-combobox.js +7 -0
- package/dist/web-components/interaction/form/bds-file-input.d.ts +62 -0
- package/dist/web-components/interaction/form/bds-file-input.js +7 -0
- package/dist/web-components/interaction/form/bds-number-input.d.ts +68 -0
- package/dist/web-components/interaction/form/bds-number-input.js +7 -0
- package/dist/web-components/interaction/form/bds-radio.d.ts +68 -0
- package/dist/web-components/interaction/form/bds-radio.js +7 -0
- package/dist/web-components/interaction/form/bds-segmented-control.d.ts +88 -0
- package/dist/web-components/interaction/form/bds-segmented-control.js +7 -0
- package/dist/web-components/interaction/form/bds-select.d.ts +79 -0
- package/dist/web-components/interaction/form/bds-select.js +7 -0
- package/dist/web-components/interaction/form/bds-slider.d.ts +70 -0
- package/dist/web-components/interaction/form/bds-slider.js +7 -0
- package/dist/web-components/interaction/form/bds-switch.d.ts +67 -0
- package/dist/web-components/interaction/form/bds-switch.js +7 -0
- package/dist/web-components/interaction/form/bds-textarea.d.ts +70 -0
- package/dist/web-components/interaction/form/bds-textarea.js +7 -0
- package/dist/web-components/ui/bds-alert.d.ts +66 -0
- package/dist/web-components/ui/bds-alert.js +7 -0
- package/dist/web-components/ui/bds-avatar.d.ts +50 -0
- package/dist/web-components/ui/bds-avatar.js +7 -0
- package/dist/web-components/ui/bds-badge.d.ts +35 -0
- package/dist/web-components/ui/bds-badge.js +7 -0
- package/dist/web-components/ui/bds-breadcrumb.d.ts +35 -0
- package/dist/web-components/ui/bds-breadcrumb.js +7 -0
- package/dist/web-components/ui/bds-card.d.ts +72 -0
- package/dist/web-components/ui/bds-card.js +7 -0
- package/dist/web-components/ui/bds-description-list.d.ts +42 -0
- package/dist/web-components/ui/bds-description-list.js +7 -0
- package/dist/web-components/ui/bds-icon-wrapper.d.ts +39 -0
- package/dist/web-components/ui/bds-icon-wrapper.js +7 -0
- package/dist/web-components/ui/bds-link.d.ts +59 -0
- package/dist/web-components/ui/bds-link.js +7 -0
- package/dist/web-components/ui/bds-loading.d.ts +32 -0
- package/dist/web-components/ui/bds-loading.js +7 -0
- package/dist/web-components/ui/bds-notification-banner.d.ts +61 -0
- package/dist/web-components/ui/bds-notification-banner.js +7 -0
- package/dist/web-components/ui/bds-progress-circle.d.ts +53 -0
- package/dist/web-components/ui/bds-progress-circle.js +7 -0
- package/dist/web-components/ui/bds-progress.d.ts +54 -0
- package/dist/web-components/ui/bds-progress.js +7 -0
- package/dist/web-components/ui/bds-rating.d.ts +36 -0
- package/dist/web-components/ui/bds-rating.js +7 -0
- package/dist/web-components/ui/bds-section-header.d.ts +53 -0
- package/dist/web-components/ui/bds-section-header.js +8 -0
- package/dist/web-components/ui/bds-separator.d.ts +32 -0
- package/dist/web-components/ui/bds-separator.js +7 -0
- package/dist/web-components/ui/bds-skeleton.d.ts +22 -0
- package/dist/web-components/ui/bds-skeleton.js +7 -0
- package/dist/web-components/ui/bds-typography.d.ts +44 -0
- package/dist/web-components/ui/bds-typography.js +8 -0
- package/package.json +170 -5
- package/src/components/interaction/Button/Button.module.css +12 -11
- package/src/components/interaction/Button/Button.native.tsx +10 -9
- package/src/components/interaction/Button/Button.tsx +1 -1
- package/src/components/interaction/Command/Command.module.css +3 -7
- package/src/components/interaction/Dialog/Dialog.module.css +7 -5
- package/src/components/interaction/Drawer/Drawer.module.css +49 -1
- package/src/components/interaction/DropdownMenu/DropdownMenu.module.css +1 -3
- package/src/components/interaction/Popover/Popover.module.css +1 -3
- package/src/components/interaction/form/Checkbox/Checkbox.module.css +1 -3
- package/src/components/interaction/form/Combobox/Combobox.module.css +2 -6
- package/src/components/interaction/form/FormInput/FormInput.module.css +1 -3
- package/src/components/interaction/form/NumberInput/NumberInput.module.css +16 -4
- package/src/components/interaction/form/Radio/Radio.module.css +6 -16
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.mdx +70 -25
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.module.css +55 -33
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.spec.tsx +127 -56
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.stories.tsx +89 -72
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.tsx +40 -62
- package/src/components/interaction/form/SegmentedControl/index.ts +1 -1
- package/src/components/interaction/form/Select/Select.module.css +2 -4
- package/src/components/interaction/form/Switch/Switch.module.css +5 -7
- package/src/components/interaction/form/Switch/Switch.native.spec.tsx +9 -9
- package/src/components/interaction/form/Switch/Switch.native.tsx +2 -2
- package/src/components/interaction/form/Textarea/Textarea.module.css +1 -3
- package/src/components/interaction/form/atoms/InputContainer.stories.tsx +64 -0
- package/src/components/interaction/form/atoms/Label.stories.tsx +33 -0
- package/src/components/interaction/form/atoms/Message.stories.tsx +33 -0
- package/src/components/layout/Card/Card.module.css +1 -3
- package/src/components/ui/Accordion/Accordion.module.css +1 -2
- package/src/components/ui/Alert/Alert.module.css +1 -2
- package/src/components/ui/Calendar/Calendar.module.css +2 -5
- package/src/components/ui/Carousel/Carousel.module.css +1 -3
- package/src/components/ui/NotificationBanner/NotificationBanner.module.css +1 -2
- package/src/components/ui/Pagination/Pagination.module.css +1 -2
- package/src/components/ui/SkipLink/SkipLink.module.css +1 -2
- package/src/components/ui/Table/Table.module.css +1 -2
- package/src/css/bdc.css +16 -11
- package/src/index.ts +1 -1
- package/src/web-components/globals.ts +3 -3
- package/src/web-components/index.ts +47 -0
- package/src/web-components/interaction/BdsAccordion.mdx +51 -0
- package/src/web-components/interaction/BdsAccordion.stories.tsx +85 -0
- package/src/web-components/interaction/BdsCollapsible.mdx +46 -0
- package/src/web-components/interaction/BdsCollapsible.stories.tsx +87 -0
- package/src/web-components/interaction/BdsDialog.mdx +49 -0
- package/src/web-components/interaction/BdsDialog.stories.tsx +75 -0
- package/src/web-components/interaction/BdsDrawer.mdx +50 -0
- package/src/web-components/interaction/BdsDrawer.stories.tsx +66 -0
- package/src/web-components/interaction/BdsSkipLink.mdx +34 -0
- package/src/web-components/interaction/BdsSkipLink.stories.tsx +55 -0
- package/src/web-components/interaction/BdsTabs.mdx +47 -0
- package/src/web-components/interaction/BdsTabs.stories.tsx +80 -0
- package/src/web-components/interaction/BdsTooltip.mdx +38 -0
- package/src/web-components/interaction/BdsTooltip.stories.tsx +68 -0
- package/src/web-components/interaction/bds-accordion-item.spec.ts +75 -0
- package/src/web-components/interaction/bds-accordion-item.ts +181 -0
- package/src/web-components/interaction/bds-accordion.spec.ts +73 -0
- package/src/web-components/interaction/bds-accordion.ts +98 -0
- package/src/web-components/interaction/bds-button.ts +15 -13
- package/src/web-components/interaction/bds-collapsible.spec.ts +56 -0
- package/src/web-components/interaction/bds-collapsible.ts +170 -0
- package/src/web-components/interaction/bds-dialog.spec.ts +119 -0
- package/src/web-components/interaction/bds-dialog.ts +221 -0
- package/src/web-components/interaction/bds-drawer.spec.ts +113 -0
- package/src/web-components/interaction/bds-drawer.ts +315 -0
- package/src/web-components/interaction/bds-skip-link.spec.ts +42 -0
- package/src/web-components/interaction/bds-skip-link.ts +74 -0
- package/src/web-components/interaction/bds-tab-panel.spec.ts +32 -0
- package/src/web-components/interaction/bds-tab-panel.ts +38 -0
- package/src/web-components/interaction/bds-tab.spec.ts +71 -0
- package/src/web-components/interaction/bds-tab.ts +110 -0
- package/src/web-components/interaction/bds-tabs.spec.ts +120 -0
- package/src/web-components/interaction/bds-tabs.ts +152 -0
- package/src/web-components/interaction/bds-tooltip.spec.ts +49 -0
- package/src/web-components/interaction/bds-tooltip.ts +127 -0
- package/src/web-components/interaction/form/BdsCheckbox.mdx +39 -0
- package/src/web-components/interaction/form/BdsCheckbox.stories.tsx +73 -0
- package/src/web-components/interaction/form/BdsCombobox.mdx +52 -0
- package/src/web-components/interaction/form/BdsCombobox.stories.tsx +91 -0
- package/src/web-components/interaction/form/BdsFileInput.mdx +44 -0
- package/src/web-components/interaction/form/BdsFileInput.stories.tsx +84 -0
- package/src/web-components/interaction/form/BdsNumberInput.mdx +41 -0
- package/src/web-components/interaction/form/BdsNumberInput.stories.tsx +90 -0
- package/src/web-components/interaction/form/BdsRadio.mdx +41 -0
- package/src/web-components/interaction/form/BdsRadio.stories.tsx +90 -0
- package/src/web-components/interaction/form/BdsSegmentedControl.mdx +42 -0
- package/src/web-components/interaction/form/BdsSegmentedControl.stories.tsx +92 -0
- package/src/web-components/interaction/form/BdsSelect.mdx +38 -0
- package/src/web-components/interaction/form/BdsSelect.stories.tsx +93 -0
- package/src/web-components/interaction/form/BdsSlider.mdx +49 -0
- package/src/web-components/interaction/form/BdsSlider.stories.tsx +89 -0
- package/src/web-components/interaction/form/BdsSwitch.mdx +39 -0
- package/src/web-components/interaction/form/BdsSwitch.stories.tsx +73 -0
- package/src/web-components/interaction/form/BdsTextarea.mdx +41 -0
- package/src/web-components/interaction/form/BdsTextarea.stories.tsx +79 -0
- package/src/web-components/interaction/form/bds-checkbox.spec.ts +63 -0
- package/src/web-components/interaction/form/bds-checkbox.ts +166 -0
- package/src/web-components/interaction/form/bds-combobox.spec.ts +117 -0
- package/src/web-components/interaction/form/bds-combobox.ts +334 -0
- package/src/web-components/interaction/form/bds-file-input.spec.ts +58 -0
- package/src/web-components/interaction/form/bds-file-input.ts +209 -0
- package/src/web-components/interaction/form/bds-number-input.spec.ts +87 -0
- package/src/web-components/interaction/form/bds-number-input.ts +220 -0
- package/src/web-components/interaction/form/bds-radio.spec.ts +70 -0
- package/src/web-components/interaction/form/bds-radio.ts +151 -0
- package/src/web-components/interaction/form/bds-segmented-control.spec.ts +74 -0
- package/src/web-components/interaction/form/bds-segmented-control.ts +282 -0
- package/src/web-components/interaction/form/bds-select.spec.ts +74 -0
- package/src/web-components/interaction/form/bds-select.ts +188 -0
- package/src/web-components/interaction/form/bds-slider.spec.ts +41 -0
- package/src/web-components/interaction/form/bds-slider.ts +162 -0
- package/src/web-components/interaction/form/bds-switch.spec.ts +62 -0
- package/src/web-components/interaction/form/bds-switch.ts +165 -0
- package/src/web-components/interaction/form/bds-textarea.spec.ts +55 -0
- package/src/web-components/interaction/form/bds-textarea.ts +141 -0
- package/src/web-components/ui/BdsAvatar.mdx +67 -0
- package/src/web-components/ui/BdsAvatar.stories.tsx +62 -0
- package/src/web-components/ui/BdsBreadcrumb.mdx +63 -0
- package/src/web-components/ui/BdsBreadcrumb.stories.tsx +59 -0
- package/src/web-components/ui/BdsCard.mdx +83 -0
- package/src/web-components/ui/BdsCard.stories.tsx +90 -0
- package/src/web-components/ui/BdsDescriptionList.mdx +67 -0
- package/src/web-components/ui/BdsDescriptionList.stories.tsx +79 -0
- package/src/web-components/ui/BdsIconWrapper.mdx +70 -0
- package/src/web-components/ui/BdsIconWrapper.stories.tsx +76 -0
- package/src/web-components/ui/BdsLink.mdx +75 -0
- package/src/web-components/ui/BdsLink.stories.tsx +64 -0
- package/src/web-components/ui/BdsLoading.mdx +62 -0
- package/src/web-components/ui/BdsLoading.stories.tsx +37 -0
- package/src/web-components/ui/BdsNotificationBanner.mdx +90 -0
- package/src/web-components/ui/BdsNotificationBanner.stories.tsx +93 -0
- package/src/web-components/ui/BdsProgress.mdx +63 -0
- package/src/web-components/ui/BdsProgress.stories.tsx +70 -0
- package/src/web-components/ui/BdsProgressCircle.mdx +64 -0
- package/src/web-components/ui/BdsProgressCircle.stories.tsx +69 -0
- package/src/web-components/ui/BdsRating.mdx +61 -0
- package/src/web-components/ui/BdsRating.stories.tsx +39 -0
- package/src/web-components/ui/BdsSectionHeader.mdx +69 -0
- package/src/web-components/ui/BdsSectionHeader.stories.tsx +56 -0
- package/src/web-components/ui/BdsSeparator.mdx +63 -0
- package/src/web-components/ui/BdsSeparator.stories.tsx +47 -0
- package/src/web-components/ui/BdsSkeleton.mdx +67 -0
- package/src/web-components/ui/BdsSkeleton.stories.tsx +50 -0
- package/src/web-components/ui/BdsTypography.mdx +83 -0
- package/src/web-components/ui/BdsTypography.stories.tsx +51 -0
- package/src/web-components/ui/bds-alert.ts +1 -2
- package/src/web-components/ui/bds-avatar.spec.ts +75 -0
- package/src/web-components/ui/bds-avatar.ts +122 -0
- package/src/web-components/ui/bds-breadcrumb.spec.ts +55 -0
- package/src/web-components/ui/bds-breadcrumb.ts +114 -0
- package/src/web-components/ui/bds-card.spec.ts +70 -0
- package/src/web-components/ui/bds-card.ts +154 -0
- package/src/web-components/ui/bds-description-list.spec.ts +36 -0
- package/src/web-components/ui/bds-description-list.ts +79 -0
- package/src/web-components/ui/bds-icon-wrapper.spec.ts +21 -0
- package/src/web-components/ui/bds-icon-wrapper.ts +68 -0
- package/src/web-components/ui/bds-link.spec.ts +72 -0
- package/src/web-components/ui/bds-link.ts +138 -0
- package/src/web-components/ui/bds-loading.spec.ts +38 -0
- package/src/web-components/ui/bds-loading.ts +76 -0
- package/src/web-components/ui/bds-notification-banner.spec.ts +82 -0
- package/src/web-components/ui/bds-notification-banner.ts +184 -0
- package/src/web-components/ui/bds-progress-circle.spec.ts +58 -0
- package/src/web-components/ui/bds-progress-circle.ts +142 -0
- package/src/web-components/ui/bds-progress.spec.ts +66 -0
- package/src/web-components/ui/bds-progress.ts +127 -0
- package/src/web-components/ui/bds-rating.spec.ts +70 -0
- package/src/web-components/ui/bds-rating.ts +80 -0
- package/src/web-components/ui/bds-section-header.spec.ts +57 -0
- package/src/web-components/ui/bds-section-header.ts +96 -0
- package/src/web-components/ui/bds-separator.spec.ts +50 -0
- package/src/web-components/ui/bds-separator.ts +66 -0
- package/src/web-components/ui/bds-skeleton.spec.ts +22 -0
- package/src/web-components/ui/bds-skeleton.ts +55 -0
- package/src/web-components/ui/bds-typography.spec.ts +76 -0
- package/src/web-components/ui/bds-typography.ts +112 -0
- package/dist/web-components.d.ts +0 -304
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-switch>` — form-associated Toggle Switch custom element.
|
|
6
|
+
*
|
|
7
|
+
* Visually a toggle switch but semantically equivalent to a checkbox
|
|
8
|
+
* (`role="switch"`). Participates in HTML forms via the Form-Associated
|
|
9
|
+
* Custom Elements API.
|
|
10
|
+
*
|
|
11
|
+
* Attributes:
|
|
12
|
+
* name — form field name
|
|
13
|
+
* value — submitted value when on (default: "on")
|
|
14
|
+
* checked — boolean; whether the switch is on
|
|
15
|
+
* required — boolean
|
|
16
|
+
* disabled — boolean
|
|
17
|
+
*
|
|
18
|
+
* Slots:
|
|
19
|
+
* (default) — label text
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* <bds-switch name="notifications" value="enabled">Enable notifications</bds-switch>
|
|
23
|
+
*/
|
|
24
|
+
declare class BdsSwitch extends LitElement {
|
|
25
|
+
static formAssociated: boolean;
|
|
26
|
+
static styles: lit.CSSResult;
|
|
27
|
+
static properties: {
|
|
28
|
+
name: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
reflect: boolean;
|
|
31
|
+
};
|
|
32
|
+
value: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
};
|
|
35
|
+
checked: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
required: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
reflect: boolean;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
reflect: boolean;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
name: string;
|
|
49
|
+
value: string;
|
|
50
|
+
checked: boolean;
|
|
51
|
+
required: boolean;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
private _internals;
|
|
54
|
+
private readonly _uid;
|
|
55
|
+
constructor();
|
|
56
|
+
updated(changed: Map<string, unknown>): void;
|
|
57
|
+
formResetCallback(): void;
|
|
58
|
+
private _handleChange;
|
|
59
|
+
render(): lit.TemplateResult<1>;
|
|
60
|
+
}
|
|
61
|
+
declare global {
|
|
62
|
+
interface HTMLElementTagNameMap {
|
|
63
|
+
'bds-switch': BdsSwitch;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { BdsSwitch };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-textarea>` — form-associated Textarea custom element.
|
|
6
|
+
*
|
|
7
|
+
* Wraps a native `<textarea>` for consistent styling while participating
|
|
8
|
+
* in HTML forms via the Form-Associated Custom Elements API.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* name — form field name
|
|
12
|
+
* value — text value
|
|
13
|
+
* placeholder — placeholder text
|
|
14
|
+
* rows — number of visible rows (default: 4)
|
|
15
|
+
* required — boolean
|
|
16
|
+
* disabled — boolean
|
|
17
|
+
*
|
|
18
|
+
* Events:
|
|
19
|
+
* input — native input event
|
|
20
|
+
* change — native change event
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* <bds-textarea name="message" placeholder="Enter message…" rows="6"></bds-textarea>
|
|
24
|
+
*/
|
|
25
|
+
declare class BdsTextarea extends LitElement {
|
|
26
|
+
static formAssociated: boolean;
|
|
27
|
+
static styles: lit.CSSResult;
|
|
28
|
+
static properties: {
|
|
29
|
+
name: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
reflect: boolean;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
placeholder: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
rows: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
};
|
|
42
|
+
required: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
reflect: boolean;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
reflect: boolean;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
name: string;
|
|
52
|
+
value: string;
|
|
53
|
+
placeholder: string;
|
|
54
|
+
rows: number;
|
|
55
|
+
required: boolean;
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
private _internals;
|
|
58
|
+
constructor();
|
|
59
|
+
updated(changed: Map<string, unknown>): void;
|
|
60
|
+
formResetCallback(): void;
|
|
61
|
+
private _handleInput;
|
|
62
|
+
render(): lit.TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'bds-textarea': BdsTextarea;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { BdsTextarea };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-alert>` — framework-agnostic Alert custom element.
|
|
7
|
+
*
|
|
8
|
+
* Attributes:
|
|
9
|
+
* variant — "info" (default) | "success" | "warning" | "error"
|
|
10
|
+
* title — optional heading above the body text
|
|
11
|
+
* dismissible — boolean; shows a dismiss button when present
|
|
12
|
+
*
|
|
13
|
+
* Slots:
|
|
14
|
+
* (default) — alert body content
|
|
15
|
+
* icon — optional icon displayed to the left of the content
|
|
16
|
+
*
|
|
17
|
+
* Events:
|
|
18
|
+
* bds-dismiss — fired (bubbles, composed) when the dismiss button is clicked
|
|
19
|
+
*
|
|
20
|
+
* Accessibility:
|
|
21
|
+
* role="alert" + aria-live="assertive" for error/warning variants,
|
|
22
|
+
* role="status" + aria-live="polite" for info/success variants.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <bds-alert variant="success" title="Saved!">Your changes have been saved.</bds-alert>
|
|
26
|
+
*
|
|
27
|
+
* <bds-alert variant="error" dismissible>
|
|
28
|
+
* <svg slot="icon">…</svg>
|
|
29
|
+
* Something went wrong.
|
|
30
|
+
* </bds-alert>
|
|
31
|
+
*/
|
|
32
|
+
declare class BdsAlert extends LitElement {
|
|
33
|
+
static styles: lit.CSSResult;
|
|
34
|
+
static properties: {
|
|
35
|
+
variant: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
dismissible: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
reflect: boolean;
|
|
45
|
+
};
|
|
46
|
+
_iconFilled: {
|
|
47
|
+
state: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
variant: AlertVariant;
|
|
51
|
+
title: string;
|
|
52
|
+
dismissible: boolean;
|
|
53
|
+
private _iconFilled;
|
|
54
|
+
constructor();
|
|
55
|
+
private _onIconSlotChange;
|
|
56
|
+
private get _isUrgent();
|
|
57
|
+
private _handleDismiss;
|
|
58
|
+
render(): lit.TemplateResult<1>;
|
|
59
|
+
}
|
|
60
|
+
declare global {
|
|
61
|
+
interface HTMLElementTagNameMap {
|
|
62
|
+
'bds-alert': BdsAlert;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { type AlertVariant, BdsAlert };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-avatar>` — framework-agnostic Avatar custom element.
|
|
6
|
+
*
|
|
7
|
+
* Shows an image when `src` is set; falls back to initials derived from `name`.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* src — image URL
|
|
11
|
+
* alt — image alt text (defaults to `name` or "User avatar")
|
|
12
|
+
* name — full name; used to compute initials and as fallback aria-label
|
|
13
|
+
* size — "small" | "medium" (default) | "large"
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <bds-avatar src="/photo.jpg" name="Jane Doe"></bds-avatar>
|
|
17
|
+
* <bds-avatar name="Jane Doe" size="large"></bds-avatar>
|
|
18
|
+
*/
|
|
19
|
+
declare class BdsAvatar extends LitElement {
|
|
20
|
+
static styles: lit.CSSResult;
|
|
21
|
+
static properties: {
|
|
22
|
+
src: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
alt: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
};
|
|
28
|
+
name: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
reflect: boolean;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
src: string;
|
|
37
|
+
alt: string;
|
|
38
|
+
name: string;
|
|
39
|
+
size: 'small' | 'medium' | 'large';
|
|
40
|
+
constructor();
|
|
41
|
+
private get _initials();
|
|
42
|
+
render(): lit.TemplateResult<1>;
|
|
43
|
+
}
|
|
44
|
+
declare global {
|
|
45
|
+
interface HTMLElementTagNameMap {
|
|
46
|
+
'bds-avatar': BdsAvatar;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { BdsAvatar };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type BadgeVariant = 'primary' | 'secondary' | 'success' | 'error' | 'warning';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-badge>` — framework-agnostic Badge custom element.
|
|
7
|
+
*
|
|
8
|
+
* Attributes:
|
|
9
|
+
* variant — "primary" (default) | "secondary" | "success" | "error" | "warning"
|
|
10
|
+
*
|
|
11
|
+
* Slots:
|
|
12
|
+
* (default) — badge label text / content
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* <bds-badge variant="success">New</bds-badge>
|
|
16
|
+
*/
|
|
17
|
+
declare class BdsBadge extends LitElement {
|
|
18
|
+
static styles: lit.CSSResult;
|
|
19
|
+
static properties: {
|
|
20
|
+
variant: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
reflect: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
variant: BadgeVariant;
|
|
26
|
+
constructor();
|
|
27
|
+
render(): lit.TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'bds-badge': BdsBadge;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { type BadgeVariant, BdsBadge };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
interface BreadcrumbItem {
|
|
5
|
+
label: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* `<bds-breadcrumb>` — framework-agnostic Breadcrumb custom element.
|
|
10
|
+
*
|
|
11
|
+
* Attributes:
|
|
12
|
+
* items — JSON string array of `{ label: string, href?: string }` objects.
|
|
13
|
+
* The last item is treated as the current page (no link).
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <bds-breadcrumb items='[{"label":"Home","href":"/"},{"label":"Products","href":"/products"},{"label":"Item"}]'></bds-breadcrumb>
|
|
17
|
+
*/
|
|
18
|
+
declare class BdsBreadcrumb extends LitElement {
|
|
19
|
+
static styles: lit.CSSResult;
|
|
20
|
+
static properties: {
|
|
21
|
+
items: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
items: BreadcrumbItem[];
|
|
26
|
+
constructor();
|
|
27
|
+
render(): lit.TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'bds-breadcrumb': BdsBreadcrumb;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { BdsBreadcrumb, type BreadcrumbItem };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type CardVariant = 'default' | 'elevated' | 'outlined';
|
|
5
|
+
type CardPadding = 'none' | 'small' | 'medium' | 'large';
|
|
6
|
+
type CardTextAlign = 'start' | 'center' | 'end';
|
|
7
|
+
/**
|
|
8
|
+
* `<bds-card>` — framework-agnostic Card layout custom element.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* variant — "default" (default) | "elevated" | "outlined"
|
|
12
|
+
* padding — "none" | "small" | "medium" (default) | "large"
|
|
13
|
+
* text-align — "start" (default) | "center" | "end"
|
|
14
|
+
* clickable — boolean; renders as a <button> with hover/active effects
|
|
15
|
+
* aria-label — accessible label (useful when clickable)
|
|
16
|
+
*
|
|
17
|
+
* Slots:
|
|
18
|
+
* (default) — card content
|
|
19
|
+
*
|
|
20
|
+
* Events:
|
|
21
|
+
* bds-click — fired (bubbles, composed) when the card button is clicked
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <bds-card variant="elevated" padding="large">
|
|
25
|
+
* <p>Card content</p>
|
|
26
|
+
* </bds-card>
|
|
27
|
+
*
|
|
28
|
+
* <bds-card clickable aria-label="Open details">
|
|
29
|
+
* <p>Clickable card</p>
|
|
30
|
+
* </bds-card>
|
|
31
|
+
*/
|
|
32
|
+
declare class BdsCard extends LitElement {
|
|
33
|
+
static styles: lit.CSSResult;
|
|
34
|
+
static properties: {
|
|
35
|
+
variant: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
padding: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
reflect: boolean;
|
|
42
|
+
};
|
|
43
|
+
textAlign: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
attribute: string;
|
|
46
|
+
reflect: boolean;
|
|
47
|
+
};
|
|
48
|
+
clickable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
reflect: boolean;
|
|
51
|
+
};
|
|
52
|
+
ariaLabel: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
attribute: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
variant: CardVariant;
|
|
58
|
+
padding: CardPadding;
|
|
59
|
+
textAlign: CardTextAlign;
|
|
60
|
+
clickable: boolean;
|
|
61
|
+
ariaLabel: string;
|
|
62
|
+
constructor();
|
|
63
|
+
private _handleClick;
|
|
64
|
+
render(): lit.TemplateResult<1>;
|
|
65
|
+
}
|
|
66
|
+
declare global {
|
|
67
|
+
interface HTMLElementTagNameMap {
|
|
68
|
+
'bds-card': BdsCard;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { BdsCard, type CardPadding, type CardTextAlign, type CardVariant };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-description-list>` — framework-agnostic Description List custom element.
|
|
6
|
+
*
|
|
7
|
+
* Renders a `<dl>` styled list. Consumers provide `<dt>` and `<dd>` elements
|
|
8
|
+
* as slotted children; this component handles layout and styling.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* layout — "stacked" (default) | "inline"
|
|
12
|
+
*
|
|
13
|
+
* Slots:
|
|
14
|
+
* (default) — `<dt>` and `<dd>` pairs
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <bds-description-list layout="inline">
|
|
18
|
+
* <dt>Name</dt>
|
|
19
|
+
* <dd>Jane Doe</dd>
|
|
20
|
+
* <dt>Email</dt>
|
|
21
|
+
* <dd>jane@example.com</dd>
|
|
22
|
+
* </bds-description-list>
|
|
23
|
+
*/
|
|
24
|
+
declare class BdsDescriptionList extends LitElement {
|
|
25
|
+
static styles: lit.CSSResult;
|
|
26
|
+
static properties: {
|
|
27
|
+
layout: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
reflect: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
layout: 'stacked' | 'inline';
|
|
33
|
+
constructor();
|
|
34
|
+
render(): lit.TemplateResult<1>;
|
|
35
|
+
}
|
|
36
|
+
declare global {
|
|
37
|
+
interface HTMLElementTagNameMap {
|
|
38
|
+
'bds-description-list': BdsDescriptionList;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { BdsDescriptionList };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-icon-wrapper>` — framework-agnostic Icon Wrapper custom element.
|
|
6
|
+
*
|
|
7
|
+
* Displays an icon inside a circular container with background and foreground theming.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* aria-hidden — boolean attribute; set to "true" for decorative icons
|
|
11
|
+
*
|
|
12
|
+
* Slots:
|
|
13
|
+
* (default) — icon content (SVG or img)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <bds-icon-wrapper aria-hidden="true">
|
|
17
|
+
* <svg>…</svg>
|
|
18
|
+
* </bds-icon-wrapper>
|
|
19
|
+
*/
|
|
20
|
+
declare class BdsIconWrapper extends LitElement {
|
|
21
|
+
static styles: lit.CSSResult;
|
|
22
|
+
static properties: {
|
|
23
|
+
ariaHidden: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
attribute: string;
|
|
26
|
+
reflect: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
ariaHidden: string;
|
|
30
|
+
constructor();
|
|
31
|
+
render(): lit.TemplateResult<1>;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'bds-icon-wrapper': BdsIconWrapper;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { BdsIconWrapper };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type LinkVariant = 'default' | 'subtle' | 'standalone';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-link>` — framework-agnostic Link custom element.
|
|
7
|
+
*
|
|
8
|
+
* Attributes:
|
|
9
|
+
* href — URL for the anchor
|
|
10
|
+
* target — link target (e.g. "_blank")
|
|
11
|
+
* variant — "default" (default) | "subtle" | "standalone"
|
|
12
|
+
* external — boolean; when set, adds rel="noreferrer noopener" and a
|
|
13
|
+
* visually-hidden label for screen readers
|
|
14
|
+
* external-label — the screen reader text appended for external links
|
|
15
|
+
* (default: "(opens in new tab)")
|
|
16
|
+
*
|
|
17
|
+
* Slots:
|
|
18
|
+
* (default) — link text / content
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* <bds-link href="https://example.com" external>Visit site</bds-link>
|
|
22
|
+
*/
|
|
23
|
+
declare class BdsLink extends LitElement {
|
|
24
|
+
static styles: lit.CSSResult;
|
|
25
|
+
static properties: {
|
|
26
|
+
href: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
target: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
variant: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
reflect: boolean;
|
|
35
|
+
};
|
|
36
|
+
external: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
reflect: boolean;
|
|
39
|
+
};
|
|
40
|
+
externalLabel: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
attribute: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
href: string;
|
|
46
|
+
target: string;
|
|
47
|
+
variant: LinkVariant;
|
|
48
|
+
external: boolean;
|
|
49
|
+
externalLabel: string;
|
|
50
|
+
constructor();
|
|
51
|
+
render(): lit.TemplateResult<1>;
|
|
52
|
+
}
|
|
53
|
+
declare global {
|
|
54
|
+
interface HTMLElementTagNameMap {
|
|
55
|
+
'bds-link': BdsLink;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { BdsLink, type LinkVariant };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-loading>` — framework-agnostic Loading spinner custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* size — "small" | "medium" (default) | "large"
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <bds-loading></bds-loading>
|
|
12
|
+
* <bds-loading size="large"></bds-loading>
|
|
13
|
+
*/
|
|
14
|
+
declare class BdsLoading extends LitElement {
|
|
15
|
+
static styles: lit.CSSResult;
|
|
16
|
+
static properties: {
|
|
17
|
+
size: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
reflect: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: 'small' | 'medium' | 'large';
|
|
23
|
+
constructor();
|
|
24
|
+
render(): lit.TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
'bds-loading': BdsLoading;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { BdsLoading };
|