@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,61 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type NotificationBannerVariant = 'info' | 'success' | 'warning' | 'error';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-notification-banner>` — framework-agnostic Notification Banner custom element.
|
|
7
|
+
*
|
|
8
|
+
* Attributes:
|
|
9
|
+
* variant — "info" (default) | "success" | "warning" | "error"
|
|
10
|
+
* dismissible — boolean; shows a dismiss button when present
|
|
11
|
+
* dismiss-label — aria-label for the dismiss button (default: "Dismiss notification")
|
|
12
|
+
*
|
|
13
|
+
* Slots:
|
|
14
|
+
* (default) — banner body content
|
|
15
|
+
* action — optional action area (e.g. a button)
|
|
16
|
+
*
|
|
17
|
+
* Events:
|
|
18
|
+
* bds-dismiss — fired (bubbles, composed) when the dismiss button is clicked
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* <bds-notification-banner variant="success">
|
|
22
|
+
* Your changes have been saved.
|
|
23
|
+
* <button slot="action" type="button">Undo</button>
|
|
24
|
+
* </bds-notification-banner>
|
|
25
|
+
*/
|
|
26
|
+
declare class BdsNotificationBanner extends LitElement {
|
|
27
|
+
static styles: lit.CSSResult;
|
|
28
|
+
static properties: {
|
|
29
|
+
variant: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
reflect: boolean;
|
|
32
|
+
};
|
|
33
|
+
dismissible: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
reflect: boolean;
|
|
36
|
+
};
|
|
37
|
+
dismissLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
attribute: string;
|
|
40
|
+
};
|
|
41
|
+
_actionFilled: {
|
|
42
|
+
state: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
variant: NotificationBannerVariant;
|
|
46
|
+
dismissible: boolean;
|
|
47
|
+
dismissLabel: string;
|
|
48
|
+
private _actionFilled;
|
|
49
|
+
constructor();
|
|
50
|
+
private _onActionSlotChange;
|
|
51
|
+
private get _isUrgent();
|
|
52
|
+
private _handleDismiss;
|
|
53
|
+
render(): lit.TemplateResult<1>;
|
|
54
|
+
}
|
|
55
|
+
declare global {
|
|
56
|
+
interface HTMLElementTagNameMap {
|
|
57
|
+
'bds-notification-banner': BdsNotificationBanner;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { BdsNotificationBanner, type NotificationBannerVariant };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-progress-circle>` — framework-agnostic circular Progress custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* value — current progress value (required)
|
|
9
|
+
* max — maximum value (default: 100)
|
|
10
|
+
* label — accessible label for the progress bar
|
|
11
|
+
* show-value — boolean; when set, displays the percentage in the centre
|
|
12
|
+
* size — "small" | "medium" (default) | "large"
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* <bds-progress-circle value="75" label="Loading" show-value></bds-progress-circle>
|
|
16
|
+
*/
|
|
17
|
+
declare class BdsProgressCircle extends LitElement {
|
|
18
|
+
static styles: lit.CSSResult;
|
|
19
|
+
static properties: {
|
|
20
|
+
value: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
};
|
|
23
|
+
max: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
showValue: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
attribute: string;
|
|
32
|
+
reflect: boolean;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
reflect: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
value: number;
|
|
40
|
+
max: number;
|
|
41
|
+
label: string;
|
|
42
|
+
showValue: boolean;
|
|
43
|
+
size: 'small' | 'medium' | 'large';
|
|
44
|
+
constructor();
|
|
45
|
+
render(): lit.TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
'bds-progress-circle': BdsProgressCircle;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { BdsProgressCircle };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-progress>` — framework-agnostic Progress bar custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* value — current progress value (required)
|
|
9
|
+
* max — maximum value (default: 100)
|
|
10
|
+
* label — accessible label for the progress bar
|
|
11
|
+
* show-label — boolean; when set, displays the label and percentage above the bar
|
|
12
|
+
* size — "small" | "medium" (default) | "large"
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* <bds-progress value="60" label="Upload progress" show-label></bds-progress>
|
|
16
|
+
*/
|
|
17
|
+
declare class BdsProgress extends LitElement {
|
|
18
|
+
static styles: lit.CSSResult;
|
|
19
|
+
static properties: {
|
|
20
|
+
value: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
};
|
|
23
|
+
max: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
showLabel: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
attribute: string;
|
|
32
|
+
reflect: boolean;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
reflect: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
value: number;
|
|
40
|
+
max: number;
|
|
41
|
+
label: string;
|
|
42
|
+
showLabel: boolean;
|
|
43
|
+
size: 'small' | 'medium' | 'large';
|
|
44
|
+
constructor();
|
|
45
|
+
private get _percentage();
|
|
46
|
+
render(): lit.TemplateResult<1>;
|
|
47
|
+
}
|
|
48
|
+
declare global {
|
|
49
|
+
interface HTMLElementTagNameMap {
|
|
50
|
+
'bds-progress': BdsProgress;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { BdsProgress };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-rating>` — framework-agnostic read-only star Rating custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* value — number of filled stars
|
|
9
|
+
* max — total number of stars (default: 5)
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* <bds-rating value="3"></bds-rating>
|
|
13
|
+
* <bds-rating value="4" max="10"></bds-rating>
|
|
14
|
+
*/
|
|
15
|
+
declare class BdsRating extends LitElement {
|
|
16
|
+
static styles: lit.CSSResult;
|
|
17
|
+
static properties: {
|
|
18
|
+
value: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
};
|
|
21
|
+
max: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
value: number;
|
|
26
|
+
max: number;
|
|
27
|
+
constructor();
|
|
28
|
+
render(): lit.TemplateResult<1>;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
'bds-rating': BdsRating;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { BdsRating };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-section-header>` — framework-agnostic Section Header custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* title — heading text (required)
|
|
9
|
+
* subtitle — optional subheading text
|
|
10
|
+
* alignment — "start" (default) | "center" | "end"
|
|
11
|
+
* size — "small" | "medium" (default) | "large"
|
|
12
|
+
* title-as — tag name for the title element (default: "h2")
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* <bds-section-header title="Our Products" subtitle="Browse the full range" size="large"></bds-section-header>
|
|
16
|
+
*/
|
|
17
|
+
declare class BdsSectionHeader extends LitElement {
|
|
18
|
+
static styles: lit.CSSResult;
|
|
19
|
+
static properties: {
|
|
20
|
+
title: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
};
|
|
23
|
+
subtitle: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
alignment: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
reflect: boolean;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
reflect: boolean;
|
|
33
|
+
};
|
|
34
|
+
titleAs: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
attribute: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
title: string;
|
|
40
|
+
subtitle: string;
|
|
41
|
+
alignment: 'start' | 'center' | 'end';
|
|
42
|
+
size: 'small' | 'medium' | 'large';
|
|
43
|
+
titleAs: string;
|
|
44
|
+
constructor();
|
|
45
|
+
render(): lit.TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
'bds-section-header': BdsSectionHeader;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { BdsSectionHeader };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-separator>` — framework-agnostic Separator custom element.
|
|
6
|
+
*
|
|
7
|
+
* Attributes:
|
|
8
|
+
* orientation — "horizontal" (default) | "vertical"
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <bds-separator></bds-separator>
|
|
12
|
+
* <bds-separator orientation="vertical"></bds-separator>
|
|
13
|
+
*/
|
|
14
|
+
declare class BdsSeparator extends LitElement {
|
|
15
|
+
static styles: lit.CSSResult;
|
|
16
|
+
static properties: {
|
|
17
|
+
orientation: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
reflect: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
orientation: 'horizontal' | 'vertical';
|
|
23
|
+
constructor();
|
|
24
|
+
render(): lit.TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
'bds-separator': BdsSeparator;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { BdsSeparator };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-skeleton>` — framework-agnostic Skeleton loading placeholder custom element.
|
|
6
|
+
*
|
|
7
|
+
* No attributes. The host inherits width/height from its container or inline styles.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <bds-skeleton style="width: 200px; height: 1rem;"></bds-skeleton>
|
|
11
|
+
*/
|
|
12
|
+
declare class BdsSkeleton extends LitElement {
|
|
13
|
+
static styles: lit.CSSResult;
|
|
14
|
+
render(): lit.TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'bds-skeleton': BdsSkeleton;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { BdsSkeleton };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type TypographyVariant = 'h1' | 'h2' | 'h3' | 'body' | 'body_s';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-typography>` — framework-agnostic Typography custom element.
|
|
7
|
+
*
|
|
8
|
+
* Renders slotted content inside the appropriate semantic HTML element.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* variant — "h1" | "h2" | "h3" | "body" (default) | "body_s"
|
|
12
|
+
* component — override the rendered tag name (e.g. "span", "label")
|
|
13
|
+
*
|
|
14
|
+
* Slots:
|
|
15
|
+
* (default) — text content
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <bds-typography variant="h1">Page title</bds-typography>
|
|
19
|
+
* <bds-typography variant="body_s" component="span">Small text</bds-typography>
|
|
20
|
+
*/
|
|
21
|
+
declare class BdsTypography extends LitElement {
|
|
22
|
+
static styles: lit.CSSResult;
|
|
23
|
+
static properties: {
|
|
24
|
+
variant: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
reflect: boolean;
|
|
27
|
+
};
|
|
28
|
+
component: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
variant: TypographyVariant;
|
|
33
|
+
component: string;
|
|
34
|
+
constructor();
|
|
35
|
+
private get _tag();
|
|
36
|
+
render(): lit.TemplateResult;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
'bds-typography': BdsTypography;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { BdsTypography, type TypographyVariant };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boostdev/design-system-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "BoostDev React component library: accessible, token-driven components built on @boostdev/design-system-foundation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -37,8 +37,171 @@
|
|
|
37
37
|
"require": "./dist/client.cjs"
|
|
38
38
|
},
|
|
39
39
|
"./web-components": {
|
|
40
|
-
"types": "./dist/web-components.d.ts",
|
|
41
|
-
"import": "./dist/web-components.js"
|
|
40
|
+
"types": "./dist/web-components/index.d.ts",
|
|
41
|
+
"import": "./dist/web-components/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./web-components/globals": {
|
|
44
|
+
"import": "./dist/web-components/globals.js"
|
|
45
|
+
},
|
|
46
|
+
"./web-components/ui/bds-alert": {
|
|
47
|
+
"types": "./dist/web-components/ui/bds-alert.d.ts",
|
|
48
|
+
"import": "./dist/web-components/ui/bds-alert.js"
|
|
49
|
+
},
|
|
50
|
+
"./web-components/ui/bds-avatar": {
|
|
51
|
+
"types": "./dist/web-components/ui/bds-avatar.d.ts",
|
|
52
|
+
"import": "./dist/web-components/ui/bds-avatar.js"
|
|
53
|
+
},
|
|
54
|
+
"./web-components/ui/bds-badge": {
|
|
55
|
+
"types": "./dist/web-components/ui/bds-badge.d.ts",
|
|
56
|
+
"import": "./dist/web-components/ui/bds-badge.js"
|
|
57
|
+
},
|
|
58
|
+
"./web-components/ui/bds-breadcrumb": {
|
|
59
|
+
"types": "./dist/web-components/ui/bds-breadcrumb.d.ts",
|
|
60
|
+
"import": "./dist/web-components/ui/bds-breadcrumb.js"
|
|
61
|
+
},
|
|
62
|
+
"./web-components/ui/bds-card": {
|
|
63
|
+
"types": "./dist/web-components/ui/bds-card.d.ts",
|
|
64
|
+
"import": "./dist/web-components/ui/bds-card.js"
|
|
65
|
+
},
|
|
66
|
+
"./web-components/ui/bds-description-list": {
|
|
67
|
+
"types": "./dist/web-components/ui/bds-description-list.d.ts",
|
|
68
|
+
"import": "./dist/web-components/ui/bds-description-list.js"
|
|
69
|
+
},
|
|
70
|
+
"./web-components/ui/bds-icon-wrapper": {
|
|
71
|
+
"types": "./dist/web-components/ui/bds-icon-wrapper.d.ts",
|
|
72
|
+
"import": "./dist/web-components/ui/bds-icon-wrapper.js"
|
|
73
|
+
},
|
|
74
|
+
"./web-components/ui/bds-link": {
|
|
75
|
+
"types": "./dist/web-components/ui/bds-link.d.ts",
|
|
76
|
+
"import": "./dist/web-components/ui/bds-link.js"
|
|
77
|
+
},
|
|
78
|
+
"./web-components/ui/bds-loading": {
|
|
79
|
+
"types": "./dist/web-components/ui/bds-loading.d.ts",
|
|
80
|
+
"import": "./dist/web-components/ui/bds-loading.js"
|
|
81
|
+
},
|
|
82
|
+
"./web-components/ui/bds-notification-banner": {
|
|
83
|
+
"types": "./dist/web-components/ui/bds-notification-banner.d.ts",
|
|
84
|
+
"import": "./dist/web-components/ui/bds-notification-banner.js"
|
|
85
|
+
},
|
|
86
|
+
"./web-components/ui/bds-progress": {
|
|
87
|
+
"types": "./dist/web-components/ui/bds-progress.d.ts",
|
|
88
|
+
"import": "./dist/web-components/ui/bds-progress.js"
|
|
89
|
+
},
|
|
90
|
+
"./web-components/ui/bds-progress-circle": {
|
|
91
|
+
"types": "./dist/web-components/ui/bds-progress-circle.d.ts",
|
|
92
|
+
"import": "./dist/web-components/ui/bds-progress-circle.js"
|
|
93
|
+
},
|
|
94
|
+
"./web-components/ui/bds-rating": {
|
|
95
|
+
"types": "./dist/web-components/ui/bds-rating.d.ts",
|
|
96
|
+
"import": "./dist/web-components/ui/bds-rating.js"
|
|
97
|
+
},
|
|
98
|
+
"./web-components/ui/bds-section-header": {
|
|
99
|
+
"types": "./dist/web-components/ui/bds-section-header.d.ts",
|
|
100
|
+
"import": "./dist/web-components/ui/bds-section-header.js"
|
|
101
|
+
},
|
|
102
|
+
"./web-components/ui/bds-separator": {
|
|
103
|
+
"types": "./dist/web-components/ui/bds-separator.d.ts",
|
|
104
|
+
"import": "./dist/web-components/ui/bds-separator.js"
|
|
105
|
+
},
|
|
106
|
+
"./web-components/ui/bds-skeleton": {
|
|
107
|
+
"types": "./dist/web-components/ui/bds-skeleton.d.ts",
|
|
108
|
+
"import": "./dist/web-components/ui/bds-skeleton.js"
|
|
109
|
+
},
|
|
110
|
+
"./web-components/ui/bds-typography": {
|
|
111
|
+
"types": "./dist/web-components/ui/bds-typography.d.ts",
|
|
112
|
+
"import": "./dist/web-components/ui/bds-typography.js"
|
|
113
|
+
},
|
|
114
|
+
"./web-components/interaction/bds-accordion": {
|
|
115
|
+
"types": "./dist/web-components/interaction/bds-accordion.d.ts",
|
|
116
|
+
"import": "./dist/web-components/interaction/bds-accordion.js"
|
|
117
|
+
},
|
|
118
|
+
"./web-components/interaction/bds-accordion-item": {
|
|
119
|
+
"types": "./dist/web-components/interaction/bds-accordion-item.d.ts",
|
|
120
|
+
"import": "./dist/web-components/interaction/bds-accordion-item.js"
|
|
121
|
+
},
|
|
122
|
+
"./web-components/interaction/bds-button": {
|
|
123
|
+
"types": "./dist/web-components/interaction/bds-button.d.ts",
|
|
124
|
+
"import": "./dist/web-components/interaction/bds-button.js"
|
|
125
|
+
},
|
|
126
|
+
"./web-components/interaction/bds-collapsible": {
|
|
127
|
+
"types": "./dist/web-components/interaction/bds-collapsible.d.ts",
|
|
128
|
+
"import": "./dist/web-components/interaction/bds-collapsible.js"
|
|
129
|
+
},
|
|
130
|
+
"./web-components/interaction/bds-dialog": {
|
|
131
|
+
"types": "./dist/web-components/interaction/bds-dialog.d.ts",
|
|
132
|
+
"import": "./dist/web-components/interaction/bds-dialog.js"
|
|
133
|
+
},
|
|
134
|
+
"./web-components/interaction/bds-drawer": {
|
|
135
|
+
"types": "./dist/web-components/interaction/bds-drawer.d.ts",
|
|
136
|
+
"import": "./dist/web-components/interaction/bds-drawer.js"
|
|
137
|
+
},
|
|
138
|
+
"./web-components/interaction/bds-popover": {
|
|
139
|
+
"types": "./dist/web-components/interaction/bds-popover.d.ts",
|
|
140
|
+
"import": "./dist/web-components/interaction/bds-popover.js"
|
|
141
|
+
},
|
|
142
|
+
"./web-components/interaction/bds-skip-link": {
|
|
143
|
+
"types": "./dist/web-components/interaction/bds-skip-link.d.ts",
|
|
144
|
+
"import": "./dist/web-components/interaction/bds-skip-link.js"
|
|
145
|
+
},
|
|
146
|
+
"./web-components/interaction/bds-tab": {
|
|
147
|
+
"types": "./dist/web-components/interaction/bds-tab.d.ts",
|
|
148
|
+
"import": "./dist/web-components/interaction/bds-tab.js"
|
|
149
|
+
},
|
|
150
|
+
"./web-components/interaction/bds-tab-panel": {
|
|
151
|
+
"types": "./dist/web-components/interaction/bds-tab-panel.d.ts",
|
|
152
|
+
"import": "./dist/web-components/interaction/bds-tab-panel.js"
|
|
153
|
+
},
|
|
154
|
+
"./web-components/interaction/bds-tabs": {
|
|
155
|
+
"types": "./dist/web-components/interaction/bds-tabs.d.ts",
|
|
156
|
+
"import": "./dist/web-components/interaction/bds-tabs.js"
|
|
157
|
+
},
|
|
158
|
+
"./web-components/interaction/bds-toast-provider": {
|
|
159
|
+
"types": "./dist/web-components/interaction/bds-toast-provider.d.ts",
|
|
160
|
+
"import": "./dist/web-components/interaction/bds-toast-provider.js"
|
|
161
|
+
},
|
|
162
|
+
"./web-components/interaction/bds-tooltip": {
|
|
163
|
+
"types": "./dist/web-components/interaction/bds-tooltip.d.ts",
|
|
164
|
+
"import": "./dist/web-components/interaction/bds-tooltip.js"
|
|
165
|
+
},
|
|
166
|
+
"./web-components/interaction/form/bds-checkbox": {
|
|
167
|
+
"types": "./dist/web-components/interaction/form/bds-checkbox.d.ts",
|
|
168
|
+
"import": "./dist/web-components/interaction/form/bds-checkbox.js"
|
|
169
|
+
},
|
|
170
|
+
"./web-components/interaction/form/bds-combobox": {
|
|
171
|
+
"types": "./dist/web-components/interaction/form/bds-combobox.d.ts",
|
|
172
|
+
"import": "./dist/web-components/interaction/form/bds-combobox.js"
|
|
173
|
+
},
|
|
174
|
+
"./web-components/interaction/form/bds-file-input": {
|
|
175
|
+
"types": "./dist/web-components/interaction/form/bds-file-input.d.ts",
|
|
176
|
+
"import": "./dist/web-components/interaction/form/bds-file-input.js"
|
|
177
|
+
},
|
|
178
|
+
"./web-components/interaction/form/bds-number-input": {
|
|
179
|
+
"types": "./dist/web-components/interaction/form/bds-number-input.d.ts",
|
|
180
|
+
"import": "./dist/web-components/interaction/form/bds-number-input.js"
|
|
181
|
+
},
|
|
182
|
+
"./web-components/interaction/form/bds-radio": {
|
|
183
|
+
"types": "./dist/web-components/interaction/form/bds-radio.d.ts",
|
|
184
|
+
"import": "./dist/web-components/interaction/form/bds-radio.js"
|
|
185
|
+
},
|
|
186
|
+
"./web-components/interaction/form/bds-segmented-control": {
|
|
187
|
+
"types": "./dist/web-components/interaction/form/bds-segmented-control.d.ts",
|
|
188
|
+
"import": "./dist/web-components/interaction/form/bds-segmented-control.js"
|
|
189
|
+
},
|
|
190
|
+
"./web-components/interaction/form/bds-select": {
|
|
191
|
+
"types": "./dist/web-components/interaction/form/bds-select.d.ts",
|
|
192
|
+
"import": "./dist/web-components/interaction/form/bds-select.js"
|
|
193
|
+
},
|
|
194
|
+
"./web-components/interaction/form/bds-slider": {
|
|
195
|
+
"types": "./dist/web-components/interaction/form/bds-slider.d.ts",
|
|
196
|
+
"import": "./dist/web-components/interaction/form/bds-slider.js"
|
|
197
|
+
},
|
|
198
|
+
"./web-components/interaction/form/bds-switch": {
|
|
199
|
+
"types": "./dist/web-components/interaction/form/bds-switch.d.ts",
|
|
200
|
+
"import": "./dist/web-components/interaction/form/bds-switch.js"
|
|
201
|
+
},
|
|
202
|
+
"./web-components/interaction/form/bds-textarea": {
|
|
203
|
+
"types": "./dist/web-components/interaction/form/bds-textarea.d.ts",
|
|
204
|
+
"import": "./dist/web-components/interaction/form/bds-textarea.js"
|
|
42
205
|
},
|
|
43
206
|
"./css": "./dist/index.css",
|
|
44
207
|
"./css/bdc": "./src/css/bdc.css",
|
|
@@ -108,7 +271,7 @@
|
|
|
108
271
|
"typecheck": "tsc --noEmit",
|
|
109
272
|
"lint": "eslint src",
|
|
110
273
|
"lint:css": "stylelint \"src/**/*.css\"",
|
|
111
|
-
"storybook": "storybook dev -p 6006",
|
|
274
|
+
"storybook": "storybook dev -p 6006 --no-manager-cache",
|
|
112
275
|
"build-storybook": "storybook build",
|
|
113
276
|
"test": "vitest run",
|
|
114
277
|
"test:watch": "vitest",
|
|
@@ -168,7 +331,9 @@
|
|
|
168
331
|
"registry": "https://registry.npmjs.org/"
|
|
169
332
|
},
|
|
170
333
|
"sideEffects": [
|
|
171
|
-
"src/css/**/*.css"
|
|
334
|
+
"src/css/**/*.css",
|
|
335
|
+
"src/web-components/globals.ts",
|
|
336
|
+
"dist/web-components/**/*.js"
|
|
172
337
|
],
|
|
173
338
|
"dependencies": {
|
|
174
339
|
"@oddbird/css-anchor-positioning": "^0.9.0"
|