@boostdev/design-system-components 1.1.1 → 1.1.2
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/dist/client.cjs +50 -50
- package/dist/client.css +456 -456
- package/dist/client.js +50 -50
- package/dist/index.cjs +50 -50
- package/dist/index.css +456 -456
- package/dist/index.js +50 -50
- package/dist/web-components/chunk-2QA62WCQ.js +48 -0
- package/dist/web-components/chunk-4BX6AWXX.js +146 -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-6T3RKUKG.js +65 -0
- package/dist/web-components/chunk-7FMR53BW.js +127 -0
- package/dist/web-components/chunk-A67LCT7C.js +134 -0
- package/dist/web-components/chunk-AGKJTMJI.js +56 -0
- package/dist/web-components/chunk-BQLZ7I4G.js +56 -0
- package/dist/web-components/chunk-CAPI25CU.js +53 -0
- package/dist/web-components/chunk-CJ5ZOO42.js +229 -0
- package/dist/web-components/chunk-CR5PGUHV.js +109 -0
- package/dist/web-components/chunk-ECW3HHWA.js +185 -0
- package/dist/web-components/chunk-HGBNDR22.js +98 -0
- package/dist/web-components/chunk-IK3PTFZ4.js +133 -0
- package/dist/web-components/chunk-IQGLIQSO.js +188 -0
- package/dist/web-components/chunk-ITHLKR7Q.js +105 -0
- package/dist/web-components/chunk-K5CE6HSB.js +169 -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-LSC4N56Q.js +168 -0
- package/dist/web-components/chunk-LY62SAVN.js +64 -0
- package/dist/web-components/chunk-O4UFI2RX.js +244 -0
- package/dist/web-components/chunk-O7I63SQX.js +124 -0
- package/dist/web-components/chunk-OHUTLSIQ.js +69 -0
- package/dist/web-components/chunk-OQTRTMAB.js +27 -0
- package/dist/web-components/chunk-OTX4COSV.js +187 -0
- package/dist/web-components/chunk-PY62FTRW.js +179 -0
- package/dist/web-components/chunk-Q4T5BJT6.js +94 -0
- package/dist/web-components/chunk-QDRH46TF.js +281 -0
- package/dist/web-components/chunk-QDST57JC.js +119 -0
- package/dist/web-components/chunk-QPOKHLMQ.js +45 -0
- package/dist/web-components/chunk-SOQQ7RVJ.js +88 -0
- package/dist/web-components/chunk-UFFCKVZE.js +149 -0
- package/dist/web-components/chunk-VM3YHGQ2.js +152 -0
- package/dist/web-components/chunk-VMMVWLXL.js +53 -0
- package/dist/web-components/chunk-VSS5ITNE.js +109 -0
- package/dist/web-components/chunk-XIENXR7H.js +118 -0
- package/dist/web-components/chunk-Y4MAXTMA.js +80 -0
- package/dist/web-components/chunk-YLVTEY23.js +165 -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 +71 -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 +169 -4
- package/src/web-components/index.ts +47 -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 +99 -0
- 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 +224 -0
- package/src/web-components/interaction/bds-drawer.spec.ts +113 -0
- package/src/web-components/interaction/bds-drawer.ts +266 -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/bds-checkbox.spec.ts +63 -0
- package/src/web-components/interaction/form/bds-checkbox.ts +168 -0
- package/src/web-components/interaction/form/bds-combobox.spec.ts +117 -0
- package/src/web-components/interaction/form/bds-combobox.ts +336 -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 +221 -0
- package/src/web-components/interaction/form/bds-radio.spec.ts +70 -0
- package/src/web-components/interaction/form/bds-radio.ts +157 -0
- package/src/web-components/interaction/form/bds-segmented-control.spec.ts +74 -0
- package/src/web-components/interaction/form/bds-segmented-control.ts +211 -0
- package/src/web-components/interaction/form/bds-select.spec.ts +74 -0
- package/src/web-components/interaction/form/bds-select.ts +190 -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 +166 -0
- package/src/web-components/interaction/form/bds-textarea.spec.ts +55 -0
- package/src/web-components/interaction/form/bds-textarea.ts +143 -0
- 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 +156 -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 +185 -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,41 @@
|
|
|
1
|
+
export { BdsBadge } from './ui/bds-badge.js';
|
|
2
|
+
export { BdsButton } from './interaction/bds-button.js';
|
|
3
|
+
export { BdsAlert } from './ui/bds-alert.js';
|
|
4
|
+
export { BdsPopover } from './interaction/bds-popover.js';
|
|
5
|
+
export { BdsToastProvider } from './interaction/bds-toast-provider.js';
|
|
6
|
+
export { BdsSeparator } from './ui/bds-separator.js';
|
|
7
|
+
export { BdsSkeleton } from './ui/bds-skeleton.js';
|
|
8
|
+
export { BdsLoading } from './ui/bds-loading.js';
|
|
9
|
+
export { BdsAvatar } from './ui/bds-avatar.js';
|
|
10
|
+
export { BdsTypography } from './ui/bds-typography.js';
|
|
11
|
+
export { BdsProgress } from './ui/bds-progress.js';
|
|
12
|
+
export { BdsProgressCircle } from './ui/bds-progress-circle.js';
|
|
13
|
+
export { BdsRating } from './ui/bds-rating.js';
|
|
14
|
+
export { BdsCollapsible } from './interaction/bds-collapsible.js';
|
|
15
|
+
export { BdsAccordionItem } from './interaction/bds-accordion-item.js';
|
|
16
|
+
export { BdsAccordion } from './interaction/bds-accordion.js';
|
|
17
|
+
export { BdsTab } from './interaction/bds-tab.js';
|
|
18
|
+
export { BdsTabPanel } from './interaction/bds-tab-panel.js';
|
|
19
|
+
export { BdsTabs } from './interaction/bds-tabs.js';
|
|
20
|
+
export { BdsTooltip } from './interaction/bds-tooltip.js';
|
|
21
|
+
export { BdsSkipLink } from './interaction/bds-skip-link.js';
|
|
22
|
+
export { BdsDialog } from './interaction/bds-dialog.js';
|
|
23
|
+
export { BdsDrawer } from './interaction/bds-drawer.js';
|
|
24
|
+
export { BdsCheckbox } from './interaction/form/bds-checkbox.js';
|
|
25
|
+
export { BdsRadio } from './interaction/form/bds-radio.js';
|
|
26
|
+
export { BdsSwitch } from './interaction/form/bds-switch.js';
|
|
27
|
+
export { BdsSelect } from './interaction/form/bds-select.js';
|
|
28
|
+
export { BdsTextarea } from './interaction/form/bds-textarea.js';
|
|
29
|
+
export { BdsNumberInput } from './interaction/form/bds-number-input.js';
|
|
30
|
+
export { BdsSlider } from './interaction/form/bds-slider.js';
|
|
31
|
+
export { BdsSegmentedControl } from './interaction/form/bds-segmented-control.js';
|
|
32
|
+
export { BdsFileInput } from './interaction/form/bds-file-input.js';
|
|
33
|
+
export { BdsCombobox } from './interaction/form/bds-combobox.js';
|
|
34
|
+
export { BdsNotificationBanner } from './ui/bds-notification-banner.js';
|
|
35
|
+
export { BdsCard } from './ui/bds-card.js';
|
|
36
|
+
export { BdsSectionHeader } from './ui/bds-section-header.js';
|
|
37
|
+
export { BdsIconWrapper } from './ui/bds-icon-wrapper.js';
|
|
38
|
+
export { BdsDescriptionList } from './ui/bds-description-list.js';
|
|
39
|
+
export { BdsBreadcrumb } from './ui/bds-breadcrumb.js';
|
|
40
|
+
export { BdsLink } from './ui/bds-link.js';
|
|
41
|
+
import 'lit';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BdsSwitch
|
|
3
|
+
} from "./chunk-A67LCT7C.js";
|
|
4
|
+
import {
|
|
5
|
+
BdsTextarea
|
|
6
|
+
} from "./chunk-VSS5ITNE.js";
|
|
7
|
+
import {
|
|
8
|
+
BdsCheckbox
|
|
9
|
+
} from "./chunk-IK3PTFZ4.js";
|
|
10
|
+
import {
|
|
11
|
+
BdsCombobox
|
|
12
|
+
} from "./chunk-QDRH46TF.js";
|
|
13
|
+
import {
|
|
14
|
+
BdsFileInput
|
|
15
|
+
} from "./chunk-PY62FTRW.js";
|
|
16
|
+
import {
|
|
17
|
+
BdsNumberInput
|
|
18
|
+
} from "./chunk-OTX4COSV.js";
|
|
19
|
+
import {
|
|
20
|
+
BdsRadio
|
|
21
|
+
} from "./chunk-O7I63SQX.js";
|
|
22
|
+
import {
|
|
23
|
+
BdsSegmentedControl
|
|
24
|
+
} from "./chunk-K5CE6HSB.js";
|
|
25
|
+
import {
|
|
26
|
+
BdsSelect
|
|
27
|
+
} from "./chunk-4BX6AWXX.js";
|
|
28
|
+
import {
|
|
29
|
+
BdsSlider
|
|
30
|
+
} from "./chunk-7FMR53BW.js";
|
|
31
|
+
import {
|
|
32
|
+
BdsDrawer
|
|
33
|
+
} from "./chunk-CJ5ZOO42.js";
|
|
34
|
+
import {
|
|
35
|
+
BdsPopover
|
|
36
|
+
} from "./chunk-ECW3HHWA.js";
|
|
37
|
+
import {
|
|
38
|
+
BdsSkipLink
|
|
39
|
+
} from "./chunk-BQLZ7I4G.js";
|
|
40
|
+
import {
|
|
41
|
+
BdsTab
|
|
42
|
+
} from "./chunk-6I3CFC26.js";
|
|
43
|
+
import {
|
|
44
|
+
BdsTabPanel
|
|
45
|
+
} from "./chunk-OQTRTMAB.js";
|
|
46
|
+
import {
|
|
47
|
+
BdsTabs
|
|
48
|
+
} from "./chunk-L3XHOMN6.js";
|
|
49
|
+
import {
|
|
50
|
+
BdsToastProvider
|
|
51
|
+
} from "./chunk-YLVTEY23.js";
|
|
52
|
+
import {
|
|
53
|
+
BdsTooltip
|
|
54
|
+
} from "./chunk-HGBNDR22.js";
|
|
55
|
+
import {
|
|
56
|
+
BdsSeparator
|
|
57
|
+
} from "./chunk-VMMVWLXL.js";
|
|
58
|
+
import {
|
|
59
|
+
BdsSkeleton
|
|
60
|
+
} from "./chunk-2QA62WCQ.js";
|
|
61
|
+
import {
|
|
62
|
+
BdsTypography
|
|
63
|
+
} from "./chunk-SOQQ7RVJ.js";
|
|
64
|
+
import {
|
|
65
|
+
BdsAccordion
|
|
66
|
+
} from "./chunk-6T3RKUKG.js";
|
|
67
|
+
import {
|
|
68
|
+
BdsAccordionItem
|
|
69
|
+
} from "./chunk-UFFCKVZE.js";
|
|
70
|
+
import {
|
|
71
|
+
BdsButton
|
|
72
|
+
} from "./chunk-O4UFI2RX.js";
|
|
73
|
+
import {
|
|
74
|
+
BdsCollapsible
|
|
75
|
+
} from "./chunk-5IPHEONG.js";
|
|
76
|
+
import {
|
|
77
|
+
BdsDialog
|
|
78
|
+
} from "./chunk-IQGLIQSO.js";
|
|
79
|
+
import {
|
|
80
|
+
BdsIconWrapper
|
|
81
|
+
} from "./chunk-5TFWOPLH.js";
|
|
82
|
+
import {
|
|
83
|
+
BdsLink
|
|
84
|
+
} from "./chunk-CR5PGUHV.js";
|
|
85
|
+
import {
|
|
86
|
+
BdsLoading
|
|
87
|
+
} from "./chunk-5R6IFELV.js";
|
|
88
|
+
import {
|
|
89
|
+
BdsNotificationBanner
|
|
90
|
+
} from "./chunk-VM3YHGQ2.js";
|
|
91
|
+
import {
|
|
92
|
+
BdsProgress
|
|
93
|
+
} from "./chunk-ITHLKR7Q.js";
|
|
94
|
+
import {
|
|
95
|
+
BdsProgressCircle
|
|
96
|
+
} from "./chunk-QDST57JC.js";
|
|
97
|
+
import {
|
|
98
|
+
BdsRating
|
|
99
|
+
} from "./chunk-LY62SAVN.js";
|
|
100
|
+
import {
|
|
101
|
+
BdsSectionHeader
|
|
102
|
+
} from "./chunk-Y4MAXTMA.js";
|
|
103
|
+
import "./chunk-QPOKHLMQ.js";
|
|
104
|
+
import "./chunk-CAPI25CU.js";
|
|
105
|
+
import {
|
|
106
|
+
BdsAlert
|
|
107
|
+
} from "./chunk-LSC4N56Q.js";
|
|
108
|
+
import {
|
|
109
|
+
BdsAvatar
|
|
110
|
+
} from "./chunk-57TRNCWQ.js";
|
|
111
|
+
import {
|
|
112
|
+
BdsBadge
|
|
113
|
+
} from "./chunk-OHUTLSIQ.js";
|
|
114
|
+
import {
|
|
115
|
+
BdsBreadcrumb
|
|
116
|
+
} from "./chunk-Q4T5BJT6.js";
|
|
117
|
+
import {
|
|
118
|
+
BdsCard
|
|
119
|
+
} from "./chunk-XIENXR7H.js";
|
|
120
|
+
import {
|
|
121
|
+
BdsDescriptionList
|
|
122
|
+
} from "./chunk-AGKJTMJI.js";
|
|
123
|
+
import "./chunk-LGEZYFUU.js";
|
|
124
|
+
export {
|
|
125
|
+
BdsAccordion,
|
|
126
|
+
BdsAccordionItem,
|
|
127
|
+
BdsAlert,
|
|
128
|
+
BdsAvatar,
|
|
129
|
+
BdsBadge,
|
|
130
|
+
BdsBreadcrumb,
|
|
131
|
+
BdsButton,
|
|
132
|
+
BdsCard,
|
|
133
|
+
BdsCheckbox,
|
|
134
|
+
BdsCollapsible,
|
|
135
|
+
BdsCombobox,
|
|
136
|
+
BdsDescriptionList,
|
|
137
|
+
BdsDialog,
|
|
138
|
+
BdsDrawer,
|
|
139
|
+
BdsFileInput,
|
|
140
|
+
BdsIconWrapper,
|
|
141
|
+
BdsLink,
|
|
142
|
+
BdsLoading,
|
|
143
|
+
BdsNotificationBanner,
|
|
144
|
+
BdsNumberInput,
|
|
145
|
+
BdsPopover,
|
|
146
|
+
BdsProgress,
|
|
147
|
+
BdsProgressCircle,
|
|
148
|
+
BdsRadio,
|
|
149
|
+
BdsRating,
|
|
150
|
+
BdsSectionHeader,
|
|
151
|
+
BdsSegmentedControl,
|
|
152
|
+
BdsSelect,
|
|
153
|
+
BdsSeparator,
|
|
154
|
+
BdsSkeleton,
|
|
155
|
+
BdsSkipLink,
|
|
156
|
+
BdsSlider,
|
|
157
|
+
BdsSwitch,
|
|
158
|
+
BdsTab,
|
|
159
|
+
BdsTabPanel,
|
|
160
|
+
BdsTabs,
|
|
161
|
+
BdsTextarea,
|
|
162
|
+
BdsToastProvider,
|
|
163
|
+
BdsTooltip,
|
|
164
|
+
BdsTypography
|
|
165
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-accordion-item>` — child element of `<bds-accordion>`.
|
|
6
|
+
*
|
|
7
|
+
* Manages a single collapsible panel. The `open` and `disabled` state is
|
|
8
|
+
* controlled by the parent `<bds-accordion>` element.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* open — boolean; whether the panel is expanded
|
|
12
|
+
* disabled — boolean; prevents the user from toggling this item
|
|
13
|
+
*
|
|
14
|
+
* Slots:
|
|
15
|
+
* header — the always-visible trigger label
|
|
16
|
+
* (default) — the content revealed when open
|
|
17
|
+
*
|
|
18
|
+
* Events:
|
|
19
|
+
* bds-accordion-item-toggle — fired (bubbles, composed) when the trigger
|
|
20
|
+
* button is clicked; the parent accordion handles
|
|
21
|
+
* the state change.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <bds-accordion-item>
|
|
25
|
+
* <span slot="header">Question</span>
|
|
26
|
+
* <p>Answer content</p>
|
|
27
|
+
* </bds-accordion-item>
|
|
28
|
+
*/
|
|
29
|
+
declare class BdsAccordionItem extends LitElement {
|
|
30
|
+
static styles: lit.CSSResult;
|
|
31
|
+
static properties: {
|
|
32
|
+
open: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
reflect: boolean;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
reflect: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
open: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
private readonly _uid;
|
|
44
|
+
constructor();
|
|
45
|
+
private _handleTriggerClick;
|
|
46
|
+
render(): lit.TemplateResult<1>;
|
|
47
|
+
}
|
|
48
|
+
declare global {
|
|
49
|
+
interface HTMLElementTagNameMap {
|
|
50
|
+
'bds-accordion-item': BdsAccordionItem;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { BdsAccordionItem };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-accordion>` — framework-agnostic Accordion custom element.
|
|
6
|
+
*
|
|
7
|
+
* Contains `<bds-accordion-item>` children. Coordinates open/closed state
|
|
8
|
+
* across items; by default only one item is open at a time.
|
|
9
|
+
*
|
|
10
|
+
* Attributes:
|
|
11
|
+
* allow-multiple — boolean; when set, multiple items can be open simultaneously
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* <bds-accordion>
|
|
15
|
+
* <bds-accordion-item>
|
|
16
|
+
* <span slot="header">Question 1</span>
|
|
17
|
+
* <p>Answer 1</p>
|
|
18
|
+
* </bds-accordion-item>
|
|
19
|
+
* <bds-accordion-item>
|
|
20
|
+
* <span slot="header">Question 2</span>
|
|
21
|
+
* <p>Answer 2</p>
|
|
22
|
+
* </bds-accordion-item>
|
|
23
|
+
* </bds-accordion>
|
|
24
|
+
*/
|
|
25
|
+
declare class BdsAccordion extends LitElement {
|
|
26
|
+
static styles: lit.CSSResult;
|
|
27
|
+
static properties: {
|
|
28
|
+
allowMultiple: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
attribute: string;
|
|
31
|
+
reflect: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
allowMultiple: boolean;
|
|
35
|
+
private _mo;
|
|
36
|
+
constructor();
|
|
37
|
+
connectedCallback(): void;
|
|
38
|
+
disconnectedCallback(): void;
|
|
39
|
+
private get _items();
|
|
40
|
+
private _discoverItems;
|
|
41
|
+
private _handleItemToggle;
|
|
42
|
+
render(): lit.TemplateResult<1>;
|
|
43
|
+
}
|
|
44
|
+
declare global {
|
|
45
|
+
interface HTMLElementTagNameMap {
|
|
46
|
+
'bds-accordion': BdsAccordion;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { BdsAccordion };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type ButtonVariant = 'default' | 'ghost';
|
|
5
|
+
type ButtonSize = 'small' | 'medium' | 'large';
|
|
6
|
+
/**
|
|
7
|
+
* `<bds-button>` — framework-agnostic Button custom element.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* variant — "default" (filled, default) | "ghost" (transparent + outlined)
|
|
11
|
+
* size — "small" | "medium" (default) | "large"
|
|
12
|
+
* disabled — boolean
|
|
13
|
+
* href — renders an <a> tag instead of <button>
|
|
14
|
+
* target — forwarded to <a> when href is set
|
|
15
|
+
* rel — forwarded to <a> when href is set
|
|
16
|
+
* has-pulse — boolean, enables the pulse ring animation
|
|
17
|
+
* type — "button" (default) | "submit" | "reset"
|
|
18
|
+
*
|
|
19
|
+
* Slots:
|
|
20
|
+
* (default) — button label
|
|
21
|
+
* icon-start — icon placed before the label
|
|
22
|
+
* icon-end — icon placed after the label
|
|
23
|
+
*
|
|
24
|
+
* Events:
|
|
25
|
+
* click — standard DOM click (disabled buttons suppress it and set aria-disabled)
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* <bds-button variant="ghost" size="small">
|
|
29
|
+
* <svg slot="icon-start">…</svg>
|
|
30
|
+
* Save
|
|
31
|
+
* </bds-button>
|
|
32
|
+
*/
|
|
33
|
+
declare class BdsButton extends LitElement {
|
|
34
|
+
static styles: lit.CSSResult;
|
|
35
|
+
static properties: {
|
|
36
|
+
variant: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
reflect: boolean;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
reflect: boolean;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
reflect: boolean;
|
|
47
|
+
};
|
|
48
|
+
href: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
target: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
rel: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
hasPulse: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
attribute: string;
|
|
60
|
+
reflect: boolean;
|
|
61
|
+
};
|
|
62
|
+
type: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
};
|
|
65
|
+
ariaLabel: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
attribute: string;
|
|
68
|
+
};
|
|
69
|
+
_iconStartFilled: {
|
|
70
|
+
state: boolean;
|
|
71
|
+
};
|
|
72
|
+
_iconEndFilled: {
|
|
73
|
+
state: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
variant: ButtonVariant;
|
|
77
|
+
size: ButtonSize;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
href: string | undefined;
|
|
80
|
+
target: string | undefined;
|
|
81
|
+
rel: string | undefined;
|
|
82
|
+
hasPulse: boolean;
|
|
83
|
+
type: 'button' | 'submit' | 'reset';
|
|
84
|
+
ariaLabel: string | null;
|
|
85
|
+
private _iconStartFilled;
|
|
86
|
+
private _iconEndFilled;
|
|
87
|
+
constructor();
|
|
88
|
+
private _onIconSlotChange;
|
|
89
|
+
private get _classes();
|
|
90
|
+
private _handleAnchorClick;
|
|
91
|
+
private _iconSlot;
|
|
92
|
+
render(): lit.TemplateResult<1>;
|
|
93
|
+
}
|
|
94
|
+
declare global {
|
|
95
|
+
interface HTMLElementTagNameMap {
|
|
96
|
+
'bds-button': BdsButton;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export { BdsButton, type ButtonSize, type ButtonVariant };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-collapsible>` — framework-agnostic Collapsible custom element.
|
|
6
|
+
*
|
|
7
|
+
* Wraps a native `<details>/<summary>` element for built-in toggle behaviour.
|
|
8
|
+
*
|
|
9
|
+
* Attributes:
|
|
10
|
+
* open — boolean; controlled open state
|
|
11
|
+
* name — groups multiple collapsibles so only one is open at a time
|
|
12
|
+
* (native <details name="…"> behaviour)
|
|
13
|
+
*
|
|
14
|
+
* Slots:
|
|
15
|
+
* summary — the always-visible trigger text
|
|
16
|
+
* (default) — the content revealed when expanded
|
|
17
|
+
*
|
|
18
|
+
* Events:
|
|
19
|
+
* bds-toggle — fired (bubbles, composed) when the collapsible opens or closes;
|
|
20
|
+
* event.detail.open reflects the new state
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* <bds-collapsible>
|
|
24
|
+
* <span slot="summary">What is this?</span>
|
|
25
|
+
* <p>It's a collapsible panel.</p>
|
|
26
|
+
* </bds-collapsible>
|
|
27
|
+
*/
|
|
28
|
+
declare class BdsCollapsible extends LitElement {
|
|
29
|
+
static styles: lit.CSSResult;
|
|
30
|
+
static properties: {
|
|
31
|
+
open: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
reflect: boolean;
|
|
34
|
+
};
|
|
35
|
+
name: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
open: boolean;
|
|
40
|
+
name: string;
|
|
41
|
+
constructor();
|
|
42
|
+
updated(changed: Map<string, unknown>): void;
|
|
43
|
+
private _onToggle;
|
|
44
|
+
render(): lit.TemplateResult<1>;
|
|
45
|
+
}
|
|
46
|
+
declare global {
|
|
47
|
+
interface HTMLElementTagNameMap {
|
|
48
|
+
'bds-collapsible': BdsCollapsible;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { BdsCollapsible };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* `<bds-dialog>` — framework-agnostic Dialog custom element.
|
|
6
|
+
*
|
|
7
|
+
* Wraps a native `<dialog>` element with `showModal()` / `close()` lifecycle,
|
|
8
|
+
* backdrop-click to dismiss, Escape key handling, Tab focus trapping, and
|
|
9
|
+
* the Invoker Commands API (`command="show-modal"` / `command="close"`).
|
|
10
|
+
*
|
|
11
|
+
* Attributes:
|
|
12
|
+
* open — boolean; controlled open state (syncs to native showModal/close)
|
|
13
|
+
*
|
|
14
|
+
* Slots:
|
|
15
|
+
* (default) — dialog content
|
|
16
|
+
*
|
|
17
|
+
* Events:
|
|
18
|
+
* bds-open — fired (bubbles, composed) when the dialog opens
|
|
19
|
+
* bds-close — fired (bubbles, composed) when the dialog closes
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* <bds-dialog id="my-dialog">
|
|
23
|
+
* <p>Dialog content</p>
|
|
24
|
+
* </bds-dialog>
|
|
25
|
+
* <button commandfor="my-dialog" command="show-modal">Open</button>
|
|
26
|
+
*/
|
|
27
|
+
declare class BdsDialog extends LitElement {
|
|
28
|
+
static styles: lit.CSSResult;
|
|
29
|
+
static properties: {
|
|
30
|
+
open: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
reflect: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
open: boolean;
|
|
36
|
+
private _triggerEl;
|
|
37
|
+
constructor();
|
|
38
|
+
connectedCallback(): void;
|
|
39
|
+
disconnectedCallback(): void;
|
|
40
|
+
updated(changed: Map<string, unknown>): void;
|
|
41
|
+
private get _dialog();
|
|
42
|
+
private _onCommand;
|
|
43
|
+
private _openDialog;
|
|
44
|
+
private _closeDialog;
|
|
45
|
+
private _handleBackdropClick;
|
|
46
|
+
private _handleCancel;
|
|
47
|
+
private _handleKeydown;
|
|
48
|
+
render(): lit.TemplateResult<1>;
|
|
49
|
+
}
|
|
50
|
+
declare global {
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
'bds-dialog': BdsDialog;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { BdsDialog };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
|
|
4
|
+
type DrawerSide = 'left' | 'right';
|
|
5
|
+
/**
|
|
6
|
+
* `<bds-drawer>` — framework-agnostic Drawer (slide-in panel) custom element.
|
|
7
|
+
*
|
|
8
|
+
* Same modal infrastructure as `<bds-dialog>` but positioned as a side panel.
|
|
9
|
+
* Uses a native `<dialog>` element with a slide-in inner panel.
|
|
10
|
+
*
|
|
11
|
+
* Attributes:
|
|
12
|
+
* open — boolean; controlled open state
|
|
13
|
+
* side — "left" | "right" (default: "right")
|
|
14
|
+
*
|
|
15
|
+
* Slots:
|
|
16
|
+
* title — drawer title text
|
|
17
|
+
* (default) — drawer body content
|
|
18
|
+
*
|
|
19
|
+
* Events:
|
|
20
|
+
* bds-open — fired (bubbles, composed) when the drawer opens
|
|
21
|
+
* bds-close — fired (bubbles, composed) when the drawer closes
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <bds-drawer id="my-drawer" side="right">
|
|
25
|
+
* <span slot="title">Settings</span>
|
|
26
|
+
* <p>Drawer content</p>
|
|
27
|
+
* </bds-drawer>
|
|
28
|
+
* <button commandfor="my-drawer" command="show-modal">Open</button>
|
|
29
|
+
*/
|
|
30
|
+
declare class BdsDrawer extends LitElement {
|
|
31
|
+
static styles: lit.CSSResult;
|
|
32
|
+
static properties: {
|
|
33
|
+
open: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
reflect: boolean;
|
|
36
|
+
};
|
|
37
|
+
side: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
reflect: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
open: boolean;
|
|
43
|
+
side: DrawerSide;
|
|
44
|
+
private _triggerEl;
|
|
45
|
+
constructor();
|
|
46
|
+
connectedCallback(): void;
|
|
47
|
+
disconnectedCallback(): void;
|
|
48
|
+
updated(changed: Map<string, unknown>): void;
|
|
49
|
+
private get _dialog();
|
|
50
|
+
private _onCommand;
|
|
51
|
+
private _openDrawer;
|
|
52
|
+
private _closeDrawer;
|
|
53
|
+
private _handleBackdropClick;
|
|
54
|
+
private _handleCancel;
|
|
55
|
+
private _handleKeydown;
|
|
56
|
+
render(): lit.TemplateResult<1>;
|
|
57
|
+
}
|
|
58
|
+
declare global {
|
|
59
|
+
interface HTMLElementTagNameMap {
|
|
60
|
+
'bds-drawer': BdsDrawer;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { BdsDrawer, type DrawerSide };
|