@boostdev/design-system-components 1.1.2 → 1.2.1
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 +38 -14
- package/dist/client.cjs +85 -103
- package/dist/client.css +610 -601
- package/dist/client.d.cts +13 -16
- package/dist/client.d.ts +13 -16
- package/dist/client.js +95 -113
- package/dist/index.cjs +85 -103
- package/dist/index.css +610 -601
- package/dist/index.d.cts +13 -16
- package/dist/index.d.ts +13 -16
- package/dist/index.js +95 -113
- 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-K5CE6HSB.js → chunk-2FGATTGT.js} +79 -17
- package/dist/web-components/{chunk-O4UFI2RX.js → chunk-3REOIRDW.js} +13 -11
- package/dist/web-components/{chunk-5IPHEONG.js → chunk-6I2DBFQ7.js} +1 -0
- package/dist/web-components/{chunk-VM3YHGQ2.js → chunk-AJSXNDAP.js} +1 -2
- package/dist/web-components/{chunk-LSC4N56Q.js → chunk-BX3IPVOB.js} +1 -2
- package/dist/web-components/{chunk-CAPI25CU.js → chunk-DZRSJGPB.js} +3 -3
- package/dist/web-components/{chunk-VSS5ITNE.js → chunk-EBJM3VD4.js} +1 -3
- package/dist/web-components/{chunk-O7I63SQX.js → chunk-HHHRF2PS.js} +6 -12
- package/dist/web-components/{chunk-OTX4COSV.js → chunk-JUKB3BUP.js} +3 -4
- package/dist/web-components/{chunk-IQGLIQSO.js → chunk-N6IMUOY4.js} +2 -5
- package/dist/web-components/{chunk-CJ5ZOO42.js → chunk-OCODKRVZ.js} +68 -44
- package/dist/web-components/{chunk-QDRH46TF.js → chunk-QLZ2362S.js} +1 -3
- package/dist/web-components/{chunk-IK3PTFZ4.js → chunk-T6AETZRP.js} +1 -3
- package/dist/web-components/{chunk-4BX6AWXX.js → chunk-X3FKVHLK.js} +2 -4
- package/dist/web-components/{chunk-A67LCT7C.js → chunk-XNA6WTXG.js} +3 -4
- package/dist/web-components/{chunk-XIENXR7H.js → chunk-YRXCVKHV.js} +1 -3
- package/dist/web-components/{chunk-6T3RKUKG.js → chunk-ZTC6GRP7.js} +1 -2
- package/dist/web-components/globals.js +1 -1
- package/dist/web-components/index.d.ts +571 -1
- package/dist/web-components/index.js +1515 -18
- package/dist/web-components/interaction/bds-accordion.js +1 -1
- package/dist/web-components/interaction/bds-button.d.ts +2 -2
- package/dist/web-components/interaction/bds-button.js +1 -1
- package/dist/web-components/interaction/bds-collapsible.js +1 -1
- package/dist/web-components/interaction/bds-dialog.js +1 -1
- package/dist/web-components/interaction/bds-drawer.js +1 -1
- package/dist/web-components/interaction/form/bds-checkbox.js +1 -1
- package/dist/web-components/interaction/form/bds-combobox.js +1 -1
- package/dist/web-components/interaction/form/bds-number-input.js +1 -1
- package/dist/web-components/interaction/form/bds-radio.js +1 -1
- package/dist/web-components/interaction/form/bds-segmented-control.d.ts +20 -3
- package/dist/web-components/interaction/form/bds-segmented-control.js +1 -1
- package/dist/web-components/interaction/form/bds-select.js +1 -1
- package/dist/web-components/interaction/form/bds-switch.js +1 -1
- package/dist/web-components/interaction/form/bds-textarea.js +1 -1
- package/dist/web-components/ui/bds-alert.js +1 -1
- package/dist/web-components/ui/bds-card.js +1 -1
- package/dist/web-components/ui/bds-notification-banner.js +1 -1
- package/package.json +2 -2
- 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 +48 -25
- package/src/components/interaction/Drawer/Drawer.tsx +21 -17
- 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 +74 -25
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.module.css +65 -36
- 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/stories/Introduction.mdx +2 -1
- package/src/web-components/globals.ts +3 -3
- package/src/web-components/index.ts +12 -0
- package/src/web-components/interaction/BdsAccordion.mdx +103 -0
- package/src/web-components/interaction/BdsAccordion.stories.tsx +94 -0
- package/src/web-components/interaction/BdsCollapsible.mdx +116 -0
- package/src/web-components/interaction/BdsCollapsible.stories.tsx +68 -0
- package/src/web-components/interaction/BdsDialog.mdx +110 -0
- package/src/web-components/interaction/BdsDialog.stories.tsx +157 -0
- package/src/web-components/interaction/BdsDrawer.mdx +108 -0
- package/src/web-components/interaction/BdsDrawer.stories.tsx +196 -0
- package/src/web-components/interaction/BdsDropdownMenu.mdx +108 -0
- package/src/web-components/interaction/BdsDropdownMenu.stories.tsx +91 -0
- package/src/web-components/interaction/BdsSkipLink.mdx +90 -0
- package/src/web-components/interaction/BdsSkipLink.stories.tsx +68 -0
- package/src/web-components/interaction/BdsTabs.mdx +117 -0
- package/src/web-components/interaction/BdsTabs.stories.tsx +94 -0
- package/src/web-components/interaction/BdsTooltip.mdx +104 -0
- package/src/web-components/interaction/BdsTooltip.stories.tsx +87 -0
- package/src/web-components/interaction/bds-accordion.ts +1 -2
- package/src/web-components/interaction/bds-button.ts +15 -13
- package/src/web-components/interaction/bds-collapsible.ts +1 -0
- package/src/web-components/interaction/bds-dialog.ts +2 -5
- package/src/web-components/interaction/bds-drawer.ts +70 -44
- package/src/web-components/interaction/bds-dropdown-menu-item.ts +124 -0
- package/src/web-components/interaction/bds-dropdown-menu.spec.ts +102 -0
- package/src/web-components/interaction/bds-dropdown-menu.ts +200 -0
- package/src/web-components/interaction/form/BdsCheckbox.mdx +76 -0
- package/src/web-components/interaction/form/BdsCheckbox.stories.tsx +72 -0
- package/src/web-components/interaction/form/BdsCheckboxGroup.mdx +70 -0
- package/src/web-components/interaction/form/BdsCheckboxGroup.stories.tsx +81 -0
- package/src/web-components/interaction/form/BdsCombobox.mdx +71 -0
- package/src/web-components/interaction/form/BdsCombobox.stories.tsx +93 -0
- package/src/web-components/interaction/form/BdsFileInput.mdx +79 -0
- package/src/web-components/interaction/form/BdsFileInput.stories.tsx +69 -0
- package/src/web-components/interaction/form/BdsFormInput.mdx +98 -0
- package/src/web-components/interaction/form/BdsFormInput.stories.tsx +139 -0
- package/src/web-components/interaction/form/BdsNumberInput.mdx +70 -0
- package/src/web-components/interaction/form/BdsNumberInput.stories.tsx +68 -0
- package/src/web-components/interaction/form/BdsRadio.mdx +72 -0
- package/src/web-components/interaction/form/BdsRadio.stories.tsx +58 -0
- package/src/web-components/interaction/form/BdsRadioGroup.mdx +73 -0
- package/src/web-components/interaction/form/BdsRadioGroup.stories.tsx +88 -0
- package/src/web-components/interaction/form/BdsSegmentedControl.mdx +95 -0
- package/src/web-components/interaction/form/BdsSegmentedControl.stories.tsx +102 -0
- package/src/web-components/interaction/form/BdsSelect.mdx +76 -0
- package/src/web-components/interaction/form/BdsSelect.stories.tsx +84 -0
- package/src/web-components/interaction/form/BdsSlider.mdx +77 -0
- package/src/web-components/interaction/form/BdsSlider.stories.tsx +68 -0
- package/src/web-components/interaction/form/BdsSwitch.mdx +72 -0
- package/src/web-components/interaction/form/BdsSwitch.stories.tsx +58 -0
- package/src/web-components/interaction/form/BdsTextarea.mdx +73 -0
- package/src/web-components/interaction/form/BdsTextarea.stories.tsx +70 -0
- package/src/web-components/interaction/form/bds-checkbox-group.spec.ts +55 -0
- package/src/web-components/interaction/form/bds-checkbox-group.ts +117 -0
- package/src/web-components/interaction/form/bds-checkbox.ts +1 -3
- package/src/web-components/interaction/form/bds-combobox.ts +1 -3
- package/src/web-components/interaction/form/bds-form-input.spec.ts +83 -0
- package/src/web-components/interaction/form/bds-form-input.ts +268 -0
- package/src/web-components/interaction/form/bds-number-input.ts +3 -4
- package/src/web-components/interaction/form/bds-radio-group.spec.ts +62 -0
- package/src/web-components/interaction/form/bds-radio-group.ts +142 -0
- package/src/web-components/interaction/form/bds-radio.ts +6 -12
- package/src/web-components/interaction/form/bds-segmented-control.ts +96 -20
- package/src/web-components/interaction/form/bds-select.ts +2 -4
- package/src/web-components/interaction/form/bds-switch.ts +3 -4
- package/src/web-components/interaction/form/bds-textarea.ts +1 -3
- package/src/web-components/ui/BdsAvatar.mdx +76 -0
- package/src/web-components/ui/BdsAvatar.stories.tsx +48 -0
- package/src/web-components/ui/BdsBreadcrumb.mdx +66 -0
- package/src/web-components/ui/BdsBreadcrumb.stories.tsx +49 -0
- package/src/web-components/ui/BdsButtonGroup.mdx +69 -0
- package/src/web-components/ui/BdsButtonGroup.stories.tsx +66 -0
- package/src/web-components/ui/BdsCalendar.mdx +93 -0
- package/src/web-components/ui/BdsCalendar.stories.tsx +63 -0
- package/src/web-components/ui/BdsCard.mdx +88 -0
- package/src/web-components/ui/BdsCard.stories.tsx +67 -0
- package/src/web-components/ui/BdsCarousel.mdx +83 -0
- package/src/web-components/ui/BdsCarousel.stories.tsx +96 -0
- package/src/web-components/ui/BdsDescriptionList.mdx +64 -0
- package/src/web-components/ui/BdsDescriptionList.stories.tsx +64 -0
- package/src/web-components/ui/BdsIconWrapper.mdx +70 -0
- package/src/web-components/ui/BdsIconWrapper.stories.tsx +81 -0
- package/src/web-components/ui/BdsLink.mdx +79 -0
- package/src/web-components/ui/BdsLink.stories.tsx +63 -0
- package/src/web-components/ui/BdsLoading.mdx +58 -0
- package/src/web-components/ui/BdsLoading.stories.tsx +35 -0
- package/src/web-components/ui/BdsNotificationBanner.mdx +85 -0
- package/src/web-components/ui/BdsNotificationBanner.stories.tsx +84 -0
- package/src/web-components/ui/BdsPagination.mdx +74 -0
- package/src/web-components/ui/BdsPagination.stories.tsx +36 -0
- package/src/web-components/ui/BdsProgress.mdx +70 -0
- package/src/web-components/ui/BdsProgress.stories.tsx +96 -0
- package/src/web-components/ui/BdsProgressCircle.mdx +70 -0
- package/src/web-components/ui/BdsProgressCircle.stories.tsx +57 -0
- package/src/web-components/ui/BdsRating.mdx +61 -0
- package/src/web-components/ui/BdsRating.stories.tsx +45 -0
- package/src/web-components/ui/BdsSectionHeader.mdx +72 -0
- package/src/web-components/ui/BdsSectionHeader.stories.tsx +54 -0
- package/src/web-components/ui/BdsSeparator.mdx +77 -0
- package/src/web-components/ui/BdsSeparator.stories.tsx +55 -0
- package/src/web-components/ui/BdsSkeleton.mdx +61 -0
- package/src/web-components/ui/BdsSkeleton.stories.tsx +50 -0
- package/src/web-components/ui/BdsTable.mdx +81 -0
- package/src/web-components/ui/BdsTable.stories.tsx +83 -0
- package/src/web-components/ui/BdsTypography.mdx +74 -0
- package/src/web-components/ui/BdsTypography.stories.tsx +52 -0
- package/src/web-components/ui/bds-alert.ts +1 -2
- package/src/web-components/ui/bds-button-group.spec.ts +40 -0
- package/src/web-components/ui/bds-button-group.ts +78 -0
- package/src/web-components/ui/bds-calendar.spec.ts +91 -0
- package/src/web-components/ui/bds-calendar.ts +427 -0
- package/src/web-components/ui/bds-card.ts +1 -3
- package/src/web-components/ui/bds-carousel.spec.ts +64 -0
- package/src/web-components/ui/bds-carousel.ts +296 -0
- package/src/web-components/ui/bds-notification-banner.ts +1 -2
- package/src/web-components/ui/bds-pagination.spec.ts +67 -0
- package/src/web-components/ui/bds-pagination.ts +197 -0
- package/src/web-components/ui/bds-table.spec.ts +45 -0
- package/src/web-components/ui/bds-table.ts +96 -0
package/dist/client.cjs
CHANGED
|
@@ -87,7 +87,7 @@ module.exports = __toCommonJS(client_exports);
|
|
|
87
87
|
var import_react = require("react");
|
|
88
88
|
|
|
89
89
|
// src/components/ui/Accordion/Accordion.module.css
|
|
90
|
-
var Accordion_default = {"accordion":"
|
|
90
|
+
var Accordion_default = {"accordion":"bds121Accordion-accordion","item":"bds121Accordion-item","heading":"bds121Accordion-heading","trigger":"bds121Accordion-trigger","triggerLabel":"bds121Accordion-triggerLabel","chevron":"bds121Accordion-chevron","--open":"bds121Accordion---open","panel":"bds121Accordion-panel","panelContent":"bds121Accordion-panelContent"};
|
|
91
91
|
|
|
92
92
|
// src/components/ui/Accordion/Accordion.tsx
|
|
93
93
|
var import_design_system_foundation = require("@boostdev/design-system-foundation");
|
|
@@ -155,7 +155,7 @@ function Accordion({
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
// src/components/ui/Alert/Alert.module.css
|
|
158
|
-
var Alert_default = {"alert":"
|
|
158
|
+
var Alert_default = {"alert":"bds121Alert-alert","--variant_info":"bds121Alert---variant_info","--variant_success":"bds121Alert---variant_success","--variant_warning":"bds121Alert---variant_warning","--variant_error":"bds121Alert---variant_error","icon":"bds121Alert-icon","content":"bds121Alert-content","title":"bds121Alert-title","dismiss":"bds121Alert-dismiss"};
|
|
159
159
|
|
|
160
160
|
// src/components/ui/Alert/Alert.tsx
|
|
161
161
|
var import_design_system_foundation2 = require("@boostdev/design-system-foundation");
|
|
@@ -198,7 +198,7 @@ function Alert({
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
// src/components/ui/Avatar/Avatar.module.css
|
|
201
|
-
var Avatar_default = {"avatar":"
|
|
201
|
+
var Avatar_default = {"avatar":"bds121Avatar-avatar","--fallback":"bds121Avatar---fallback","--size_small":"bds121Avatar---size_small","--size_medium":"bds121Avatar---size_medium","--size_large":"bds121Avatar---size_large","image":"bds121Avatar-image","initials":"bds121Avatar-initials"};
|
|
202
202
|
|
|
203
203
|
// src/components/ui/Avatar/Avatar.tsx
|
|
204
204
|
var import_design_system_foundation3 = require("@boostdev/design-system-foundation");
|
|
@@ -224,7 +224,7 @@ function Avatar({ src, alt, name, size = "medium", className }) {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
// src/components/ui/Badge/Badge.module.css
|
|
227
|
-
var Badge_default = {"badge":"
|
|
227
|
+
var Badge_default = {"badge":"bds121Badge-badge","--variant_primary":"bds121Badge---variant_primary","--variant_secondary":"bds121Badge---variant_secondary","--variant_success":"bds121Badge---variant_success","--variant_error":"bds121Badge---variant_error","--variant_warning":"bds121Badge---variant_warning"};
|
|
228
228
|
|
|
229
229
|
// src/components/ui/Badge/Badge.tsx
|
|
230
230
|
var import_design_system_foundation4 = require("@boostdev/design-system-foundation");
|
|
@@ -234,7 +234,7 @@ function Badge({ children, variant = "primary", className }) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/components/ui/Breadcrumb/Breadcrumb.module.css
|
|
237
|
-
var Breadcrumb_default = {"breadcrumb":"
|
|
237
|
+
var Breadcrumb_default = {"breadcrumb":"bds121Breadcrumb-breadcrumb","list":"bds121Breadcrumb-list","item":"bds121Breadcrumb-item","link":"bds121Breadcrumb-link","separator":"bds121Breadcrumb-separator","current":"bds121Breadcrumb-current"};
|
|
238
238
|
|
|
239
239
|
// src/components/ui/Breadcrumb/Breadcrumb.tsx
|
|
240
240
|
var import_design_system_foundation5 = require("@boostdev/design-system-foundation");
|
|
@@ -250,7 +250,7 @@ function Breadcrumb({ items, className }) {
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
// src/components/ui/Collapsible/Collapsible.module.css
|
|
253
|
-
var Collapsible_default = {"collapsible":"
|
|
253
|
+
var Collapsible_default = {"collapsible":"bds121Collapsible-collapsible","summary":"bds121Collapsible-summary","summaryContent":"bds121Collapsible-summaryContent","icon":"bds121Collapsible-icon","content":"bds121Collapsible-content"};
|
|
254
254
|
|
|
255
255
|
// src/components/ui/Collapsible/Collapsible.tsx
|
|
256
256
|
var import_design_system_foundation6 = require("@boostdev/design-system-foundation");
|
|
@@ -291,7 +291,7 @@ function Collapsible({
|
|
|
291
291
|
var import_react2 = require("react");
|
|
292
292
|
|
|
293
293
|
// src/components/ui/Calendar/Calendar.module.css
|
|
294
|
-
var Calendar_default = {"calendar":"
|
|
294
|
+
var Calendar_default = {"calendar":"bds121Calendar-calendar","header":"bds121Calendar-header","monthYear":"bds121Calendar-monthYear","navBtn":"bds121Calendar-navBtn","grid":"bds121Calendar-grid","weekday":"bds121Calendar-weekday","empty":"bds121Calendar-empty","day":"bds121Calendar-day","disabled":"bds121Calendar-disabled","selected":"bds121Calendar-selected","today":"bds121Calendar-today"};
|
|
295
295
|
|
|
296
296
|
// src/components/ui/Calendar/Calendar.tsx
|
|
297
297
|
var import_design_system_foundation7 = require("@boostdev/design-system-foundation");
|
|
@@ -466,7 +466,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
|
|
|
466
466
|
var import_react3 = require("react");
|
|
467
467
|
|
|
468
468
|
// src/components/ui/Carousel/Carousel.module.css
|
|
469
|
-
var Carousel_default = {"carousel":"
|
|
469
|
+
var Carousel_default = {"carousel":"bds121Carousel-carousel","track":"bds121Carousel-track","slide":"bds121Carousel-slide","navBtn":"bds121Carousel-navBtn"};
|
|
470
470
|
|
|
471
471
|
// src/components/ui/Carousel/Carousel.tsx
|
|
472
472
|
var import_design_system_foundation8 = require("@boostdev/design-system-foundation");
|
|
@@ -519,7 +519,7 @@ function Carousel({ items, label, className }) {
|
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
// src/components/ui/DescriptionList/DescriptionList.module.css
|
|
522
|
-
var DescriptionList_default = {"list":"
|
|
522
|
+
var DescriptionList_default = {"list":"bds121DescriptionList-list","group":"bds121DescriptionList-group","term":"bds121DescriptionList-term","details":"bds121DescriptionList-details","--layout_inline":"bds121DescriptionList---layout_inline"};
|
|
523
523
|
|
|
524
524
|
// src/components/ui/DescriptionList/DescriptionList.tsx
|
|
525
525
|
var import_design_system_foundation9 = require("@boostdev/design-system-foundation");
|
|
@@ -532,7 +532,7 @@ function DescriptionList({ items, layout = "stacked", className }) {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
// src/components/ui/Link/Link.module.css
|
|
535
|
-
var Link_default = {"link":"
|
|
535
|
+
var Link_default = {"link":"bds121Link-link","--variant_default":"bds121Link---variant_default","--variant_subtle":"bds121Link---variant_subtle","--variant_standalone":"bds121Link---variant_standalone","externalLabel":"bds121Link-externalLabel"};
|
|
536
536
|
|
|
537
537
|
// src/components/ui/Link/Link.tsx
|
|
538
538
|
var import_design_system_foundation10 = require("@boostdev/design-system-foundation");
|
|
@@ -563,7 +563,7 @@ function Link({
|
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
// src/components/ui/Loading/Loading.module.css
|
|
566
|
-
var Loading_default = {"loading":"
|
|
566
|
+
var Loading_default = {"loading":"bds121Loading-loading","spinner":"bds121Loading-spinner","--size_small":"bds121Loading---size_small","--size_large":"bds121Loading---size_large"};
|
|
567
567
|
|
|
568
568
|
// src/components/ui/Loading/Loading.tsx
|
|
569
569
|
var import_design_system_foundation11 = require("@boostdev/design-system-foundation");
|
|
@@ -573,7 +573,7 @@ function Loading({ size = "medium", className }) {
|
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
// src/components/ui/NotificationBanner/NotificationBanner.module.css
|
|
576
|
-
var NotificationBanner_default = {"banner":"
|
|
576
|
+
var NotificationBanner_default = {"banner":"bds121NotificationBanner-banner","--variant_info":"bds121NotificationBanner---variant_info","--variant_success":"bds121NotificationBanner---variant_success","--variant_warning":"bds121NotificationBanner---variant_warning","--variant_error":"bds121NotificationBanner---variant_error","content":"bds121NotificationBanner-content","action":"bds121NotificationBanner-action","dismiss":"bds121NotificationBanner-dismiss"};
|
|
577
577
|
|
|
578
578
|
// src/components/ui/NotificationBanner/NotificationBanner.tsx
|
|
579
579
|
var import_design_system_foundation12 = require("@boostdev/design-system-foundation");
|
|
@@ -612,7 +612,7 @@ function NotificationBanner({
|
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
// src/components/ui/Pagination/Pagination.module.css
|
|
615
|
-
var Pagination_default = {"pagination":"
|
|
615
|
+
var Pagination_default = {"pagination":"bds121Pagination-pagination","list":"bds121Pagination-list","button":"bds121Pagination-button","--active":"bds121Pagination---active","--nav":"bds121Pagination---nav","ellipsis":"bds121Pagination-ellipsis"};
|
|
616
616
|
|
|
617
617
|
// src/components/ui/Pagination/Pagination.tsx
|
|
618
618
|
var import_design_system_foundation13 = require("@boostdev/design-system-foundation");
|
|
@@ -676,7 +676,7 @@ function Pagination({
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
// src/components/ui/Progress/Progress.module.css
|
|
679
|
-
var Progress_default = {"container":"
|
|
679
|
+
var Progress_default = {"container":"bds121Progress-container","labelRow":"bds121Progress-labelRow","value":"bds121Progress-value","track":"bds121Progress-track","--size_small":"bds121Progress---size_small","--size_medium":"bds121Progress---size_medium","--size_large":"bds121Progress---size_large","fill":"bds121Progress-fill"};
|
|
680
680
|
|
|
681
681
|
// src/components/ui/Progress/Progress.tsx
|
|
682
682
|
var import_design_system_foundation14 = require("@boostdev/design-system-foundation");
|
|
@@ -714,7 +714,7 @@ function Progress({
|
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
// src/components/ui/ProgressCircle/ProgressCircle.module.css
|
|
717
|
-
var ProgressCircle_default = {"wrapper":"
|
|
717
|
+
var ProgressCircle_default = {"wrapper":"bds121ProgressCircle-wrapper","svg":"bds121ProgressCircle-svg","track":"bds121ProgressCircle-track","fill":"bds121ProgressCircle-fill","value":"bds121ProgressCircle-value","--size_small":"bds121ProgressCircle---size_small","--size_medium":"bds121ProgressCircle---size_medium","--size_large":"bds121ProgressCircle---size_large"};
|
|
718
718
|
|
|
719
719
|
// src/components/ui/ProgressCircle/ProgressCircle.tsx
|
|
720
720
|
var import_design_system_foundation15 = require("@boostdev/design-system-foundation");
|
|
@@ -793,7 +793,7 @@ function ProgressCircle({
|
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
// src/components/ui/Separator/Separator.module.css
|
|
796
|
-
var Separator_default = {"separator":"
|
|
796
|
+
var Separator_default = {"separator":"bds121Separator-separator","--horizontal":"bds121Separator---horizontal","--vertical":"bds121Separator---vertical"};
|
|
797
797
|
|
|
798
798
|
// src/components/ui/Separator/Separator.tsx
|
|
799
799
|
var import_design_system_foundation16 = require("@boostdev/design-system-foundation");
|
|
@@ -816,7 +816,7 @@ function Separator({ orientation = "horizontal", className }) {
|
|
|
816
816
|
var import_design_system_foundation17 = require("@boostdev/design-system-foundation");
|
|
817
817
|
|
|
818
818
|
// src/components/ui/Skeleton/Skeleton.module.css
|
|
819
|
-
var Skeleton_default = {"skeleton":"
|
|
819
|
+
var Skeleton_default = {"skeleton":"bds121Skeleton-skeleton"};
|
|
820
820
|
|
|
821
821
|
// src/components/ui/Skeleton/Skeleton.tsx
|
|
822
822
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
@@ -825,7 +825,7 @@ function Skeleton({ className }) {
|
|
|
825
825
|
}
|
|
826
826
|
|
|
827
827
|
// src/components/ui/SkipLink/SkipLink.module.css
|
|
828
|
-
var SkipLink_default = {"skipLink":"
|
|
828
|
+
var SkipLink_default = {"skipLink":"bds121SkipLink-skipLink"};
|
|
829
829
|
|
|
830
830
|
// src/components/ui/SkipLink/SkipLink.tsx
|
|
831
831
|
var import_design_system_foundation18 = require("@boostdev/design-system-foundation");
|
|
@@ -835,7 +835,7 @@ function SkipLink({ href = "#main", children = "Skip to main content", className
|
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
// src/components/ui/Table/Table.module.css
|
|
838
|
-
var Table_default = {"wrapper":"
|
|
838
|
+
var Table_default = {"wrapper":"bds121Table-wrapper","table":"bds121Table-table","caption":"bds121Table-caption","thead":"bds121Table-thead","th":"bds121Table-th","--sortable":"bds121Table---sortable","sortButton":"bds121Table-sortButton","sortIcon":"bds121Table-sortIcon","--sort-active":"bds121Table---sort-active","--sort-desc":"bds121Table---sort-desc","tbody":"bds121Table-tbody","tr":"bds121Table-tr","td":"bds121Table-td"};
|
|
839
839
|
|
|
840
840
|
// src/components/ui/Table/Table.tsx
|
|
841
841
|
var import_design_system_foundation19 = require("@boostdev/design-system-foundation");
|
|
@@ -905,7 +905,7 @@ function Table({
|
|
|
905
905
|
var import_react4 = require("react");
|
|
906
906
|
|
|
907
907
|
// src/components/ui/Tabs/Tabs.module.css
|
|
908
|
-
var Tabs_default = {"tabs":"
|
|
908
|
+
var Tabs_default = {"tabs":"bds121Tabs-tabs","tabList":"bds121Tabs-tabList","tab":"bds121Tabs-tab","--active":"bds121Tabs---active","panel":"bds121Tabs-panel"};
|
|
909
909
|
|
|
910
910
|
// src/components/ui/Tabs/Tabs.tsx
|
|
911
911
|
var import_design_system_foundation20 = require("@boostdev/design-system-foundation");
|
|
@@ -985,7 +985,7 @@ function Tabs({ tabs, defaultTab, className }) {
|
|
|
985
985
|
var import_react5 = require("react");
|
|
986
986
|
|
|
987
987
|
// src/components/ui/Tooltip/Tooltip.module.css
|
|
988
|
-
var Tooltip_default = {"wrapper":"
|
|
988
|
+
var Tooltip_default = {"wrapper":"bds121Tooltip-wrapper","tooltip":"bds121Tooltip-tooltip","--placement_top":"bds121Tooltip---placement_top","--placement_bottom":"bds121Tooltip---placement_bottom","--placement_left":"bds121Tooltip---placement_left","--placement_right":"bds121Tooltip---placement_right"};
|
|
989
989
|
|
|
990
990
|
// src/components/ui/Tooltip/Tooltip.tsx
|
|
991
991
|
var import_design_system_foundation21 = require("@boostdev/design-system-foundation");
|
|
@@ -1027,7 +1027,7 @@ function Tooltip({
|
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
// src/components/ui/Typography/Typography.module.css
|
|
1030
|
-
var Typography_default = {"typography":"
|
|
1030
|
+
var Typography_default = {"typography":"bds121Typography-typography","--h1":"bds121Typography---h1","--h2":"bds121Typography---h2","--h3":"bds121Typography---h3","--body":"bds121Typography---body","--body_s":"bds121Typography---body_s"};
|
|
1031
1031
|
|
|
1032
1032
|
// src/components/ui/Typography/Typography.tsx
|
|
1033
1033
|
var import_design_system_foundation22 = require("@boostdev/design-system-foundation");
|
|
@@ -1045,7 +1045,7 @@ function Typography({ variant = "body", component, children, className }) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
1047
|
// src/components/interaction/Button/Button.module.css
|
|
1048
|
-
var Button_default = {"button":"
|
|
1048
|
+
var Button_default = {"button":"bds121Button-button","--default":"bds121Button---default","--outline":"bds121Button---outline","--ghost":"bds121Button---ghost","--size_small":"bds121Button---size_small","--size_medium":"bds121Button---size_medium","--size_large":"bds121Button---size_large","--hasPulse":"bds121Button---hasPulse","iconStart":"bds121Button-iconStart","iconEnd":"bds121Button-iconEnd"};
|
|
1049
1049
|
|
|
1050
1050
|
// src/components/interaction/Button/Button.tsx
|
|
1051
1051
|
var import_design_system_foundation23 = require("@boostdev/design-system-foundation");
|
|
@@ -1160,7 +1160,7 @@ function installInvokerCommandsPolyfill() {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
1162
|
// src/components/interaction/Command/Command.module.css
|
|
1163
|
-
var Command_default = {"dialog":"
|
|
1163
|
+
var Command_default = {"dialog":"bds121Command-dialog","palette":"bds121Command-palette","searchRow":"bds121Command-searchRow","searchIcon":"bds121Command-searchIcon","search":"bds121Command-search","escHint":"bds121Command-escHint","list":"bds121Command-list","groupList":"bds121Command-groupList","group":"bds121Command-group","item":"bds121Command-item","itemActive":"bds121Command-itemActive","itemLabel":"bds121Command-itemLabel","itemDesc":"bds121Command-itemDesc","shortcut":"bds121Command-shortcut","empty":"bds121Command-empty"};
|
|
1164
1164
|
|
|
1165
1165
|
// src/components/interaction/Command/Command.tsx
|
|
1166
1166
|
var import_design_system_foundation24 = require("@boostdev/design-system-foundation");
|
|
@@ -1335,7 +1335,7 @@ function Command({
|
|
|
1335
1335
|
var import_react7 = require("react");
|
|
1336
1336
|
|
|
1337
1337
|
// src/components/interaction/Dialog/Dialog.module.css
|
|
1338
|
-
var Dialog_default = {"dialog":"
|
|
1338
|
+
var Dialog_default = {"dialog":"bds121Dialog-dialog","dialogContent":"bds121Dialog-dialogContent","closeButton":"bds121Dialog-closeButton"};
|
|
1339
1339
|
|
|
1340
1340
|
// src/components/interaction/Dialog/Dialog.tsx
|
|
1341
1341
|
var import_design_system_foundation25 = require("@boostdev/design-system-foundation");
|
|
@@ -1440,7 +1440,7 @@ function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClo
|
|
|
1440
1440
|
var import_react8 = require("react");
|
|
1441
1441
|
|
|
1442
1442
|
// src/components/interaction/Drawer/Drawer.module.css
|
|
1443
|
-
var Drawer_default = {"drawer":"
|
|
1443
|
+
var Drawer_default = {"drawer":"bds121Drawer-drawer","--side_left":"bds121Drawer---side_left","header":"bds121Drawer-header","closeButton":"bds121Drawer-closeButton","body":"bds121Drawer-body"};
|
|
1444
1444
|
|
|
1445
1445
|
// src/components/interaction/Drawer/Drawer.tsx
|
|
1446
1446
|
var import_design_system_foundation26 = require("@boostdev/design-system-foundation");
|
|
@@ -1496,13 +1496,17 @@ function Drawer({
|
|
|
1496
1496
|
return () => dialog.removeEventListener("command", handleCommand);
|
|
1497
1497
|
}, [onOpen, onClose]);
|
|
1498
1498
|
const handleClick = (e) => {
|
|
1499
|
-
|
|
1499
|
+
const dialog = dialogRef.current;
|
|
1500
|
+
if (!dialog) return;
|
|
1501
|
+
const rect = dialog.getBoundingClientRect();
|
|
1502
|
+
const outside = e.clientX < rect.left || e.clientX > rect.right || e.clientY < rect.top || e.clientY > rect.bottom;
|
|
1503
|
+
if (outside) onClose();
|
|
1500
1504
|
};
|
|
1501
1505
|
const handleCancel = (e) => {
|
|
1502
1506
|
e.preventDefault();
|
|
1503
1507
|
onClose();
|
|
1504
1508
|
};
|
|
1505
|
-
return /* @__PURE__ */ (0, import_jsx_runtime26.
|
|
1509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1506
1510
|
"dialog",
|
|
1507
1511
|
{
|
|
1508
1512
|
ref: dialogRef,
|
|
@@ -1512,7 +1516,7 @@ function Drawer({
|
|
|
1512
1516
|
"aria-modal": "true",
|
|
1513
1517
|
onClick: handleClick,
|
|
1514
1518
|
onCancel: handleCancel,
|
|
1515
|
-
children:
|
|
1519
|
+
children: [
|
|
1516
1520
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: Drawer_default.header, children: [
|
|
1517
1521
|
!!title && title,
|
|
1518
1522
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
@@ -1528,7 +1532,7 @@ function Drawer({
|
|
|
1528
1532
|
)
|
|
1529
1533
|
] }),
|
|
1530
1534
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: Drawer_default.body, children })
|
|
1531
|
-
]
|
|
1535
|
+
]
|
|
1532
1536
|
}
|
|
1533
1537
|
);
|
|
1534
1538
|
}
|
|
@@ -1537,7 +1541,7 @@ function Drawer({
|
|
|
1537
1541
|
var import_react9 = require("react");
|
|
1538
1542
|
|
|
1539
1543
|
// src/components/interaction/DropdownMenu/DropdownMenu.module.css
|
|
1540
|
-
var DropdownMenu_default = {"wrapper":"
|
|
1544
|
+
var DropdownMenu_default = {"wrapper":"bds121DropdownMenu-wrapper","menu":"bds121DropdownMenu-menu","--placement_bottom-start":"bds121DropdownMenu---placement_bottom-start","--placement_bottom-end":"bds121DropdownMenu---placement_bottom-end","separator":"bds121DropdownMenu-separator","item":"bds121DropdownMenu-item","icon":"bds121DropdownMenu-icon"};
|
|
1541
1545
|
|
|
1542
1546
|
// src/components/interaction/DropdownMenu/DropdownMenu.tsx
|
|
1543
1547
|
var import_design_system_foundation27 = require("@boostdev/design-system-foundation");
|
|
@@ -1650,7 +1654,7 @@ function DropdownMenu({
|
|
|
1650
1654
|
var import_react10 = require("react");
|
|
1651
1655
|
|
|
1652
1656
|
// src/components/interaction/Popover/Popover.module.css
|
|
1653
|
-
var Popover_default = {"wrapper":"
|
|
1657
|
+
var Popover_default = {"wrapper":"bds121Popover-wrapper","panel":"bds121Popover-panel","g":"bds121Popover-g"};
|
|
1654
1658
|
|
|
1655
1659
|
// src/components/interaction/Popover/Popover.tsx
|
|
1656
1660
|
var import_design_system_foundation28 = require("@boostdev/design-system-foundation");
|
|
@@ -1734,7 +1738,7 @@ function Popover({
|
|
|
1734
1738
|
}
|
|
1735
1739
|
|
|
1736
1740
|
// src/components/interaction/Rating/Rating.module.css
|
|
1737
|
-
var Rating_default = {"rating":"
|
|
1741
|
+
var Rating_default = {"rating":"bds121Rating-rating","star":"bds121Rating-star","--filled":"bds121Rating---filled"};
|
|
1738
1742
|
|
|
1739
1743
|
// src/components/interaction/Rating/Rating.tsx
|
|
1740
1744
|
var import_design_system_foundation29 = require("@boostdev/design-system-foundation");
|
|
@@ -1765,7 +1769,7 @@ function Rating({ value, max = 5, className }) {
|
|
|
1765
1769
|
var import_react11 = require("react");
|
|
1766
1770
|
|
|
1767
1771
|
// src/components/interaction/Toast/Toast.module.css
|
|
1768
|
-
var Toast_default = {"toastContainer":"
|
|
1772
|
+
var Toast_default = {"toastContainer":"bds121Toast-toastContainer","toast":"bds121Toast-toast","--variant_success":"bds121Toast---variant_success","--variant_warning":"bds121Toast---variant_warning","--variant_info":"bds121Toast---variant_info","--variant_error":"bds121Toast---variant_error","message":"bds121Toast-message","closeButton":"bds121Toast-closeButton"};
|
|
1769
1773
|
|
|
1770
1774
|
// src/components/interaction/Toast/Toast.tsx
|
|
1771
1775
|
var import_design_system_foundation30 = require("@boostdev/design-system-foundation");
|
|
@@ -1838,10 +1842,10 @@ function useToast() {
|
|
|
1838
1842
|
var import_react12 = require("react");
|
|
1839
1843
|
|
|
1840
1844
|
// src/components/interaction/form/Checkbox/Checkbox.module.css
|
|
1841
|
-
var Checkbox_default = {"checkboxGroup":"
|
|
1845
|
+
var Checkbox_default = {"checkboxGroup":"bds121Checkbox-checkboxGroup","inputWrapper":"bds121Checkbox-inputWrapper","checkbox":"bds121Checkbox-checkbox","checkboxError":"bds121Checkbox-checkboxError"};
|
|
1842
1846
|
|
|
1843
1847
|
// src/components/interaction/form/atoms/Message.module.css
|
|
1844
|
-
var Message_default = {"error":"
|
|
1848
|
+
var Message_default = {"error":"bds121Message-error","hint":"bds121Message-hint"};
|
|
1845
1849
|
|
|
1846
1850
|
// src/components/interaction/form/atoms/Message.tsx
|
|
1847
1851
|
var import_design_system_foundation31 = require("@boostdev/design-system-foundation");
|
|
@@ -1852,7 +1856,7 @@ var Message = ({ message, type, inputId, className }) => {
|
|
|
1852
1856
|
};
|
|
1853
1857
|
|
|
1854
1858
|
// src/components/interaction/form/atoms/Label.module.css
|
|
1855
|
-
var Label_default = {"label":"
|
|
1859
|
+
var Label_default = {"label":"bds121Label-label"};
|
|
1856
1860
|
|
|
1857
1861
|
// src/components/interaction/form/atoms/Label.tsx
|
|
1858
1862
|
var import_design_system_foundation32 = require("@boostdev/design-system-foundation");
|
|
@@ -1865,7 +1869,7 @@ var Label = ({ label, id, className }) => {
|
|
|
1865
1869
|
var import_design_system_foundation34 = require("@boostdev/design-system-foundation");
|
|
1866
1870
|
|
|
1867
1871
|
// src/components/interaction/form/atoms/InputContainer.module.css
|
|
1868
|
-
var InputContainer_default = {"container":"
|
|
1872
|
+
var InputContainer_default = {"container":"bds121InputContainer-container"};
|
|
1869
1873
|
|
|
1870
1874
|
// src/components/interaction/form/atoms/InputContainer.tsx
|
|
1871
1875
|
var import_design_system_foundation33 = require("@boostdev/design-system-foundation");
|
|
@@ -1906,7 +1910,7 @@ function Checkbox({ label, name, error, hint, className, ...props }) {
|
|
|
1906
1910
|
var import_react13 = require("react");
|
|
1907
1911
|
|
|
1908
1912
|
// src/components/interaction/form/CheckboxGroup/CheckboxGroup.module.css
|
|
1909
|
-
var CheckboxGroup_default = {"group":"
|
|
1913
|
+
var CheckboxGroup_default = {"group":"bds121CheckboxGroup-group","legend":"bds121CheckboxGroup-legend","required":"bds121CheckboxGroup-required","items":"bds121CheckboxGroup-items"};
|
|
1910
1914
|
|
|
1911
1915
|
// src/components/interaction/form/CheckboxGroup/CheckboxGroup.tsx
|
|
1912
1916
|
var import_design_system_foundation35 = require("@boostdev/design-system-foundation");
|
|
@@ -1948,7 +1952,7 @@ function CheckboxGroup({
|
|
|
1948
1952
|
var import_react14 = require("react");
|
|
1949
1953
|
|
|
1950
1954
|
// src/components/interaction/form/Combobox/Combobox.module.css
|
|
1951
|
-
var Combobox_default = {"formGroup":"
|
|
1955
|
+
var Combobox_default = {"formGroup":"bds121Combobox-formGroup","inputWrapper":"bds121Combobox-inputWrapper","input":"bds121Combobox-input","inputError":"bds121Combobox-inputError","chevron":"bds121Combobox-chevron","listbox":"bds121Combobox-listbox","option":"bds121Combobox-option","--highlighted":"bds121Combobox---highlighted","--selected":"bds121Combobox---selected","--disabled":"bds121Combobox---disabled"};
|
|
1952
1956
|
|
|
1953
1957
|
// src/components/interaction/form/Combobox/Combobox.tsx
|
|
1954
1958
|
var import_design_system_foundation36 = require("@boostdev/design-system-foundation");
|
|
@@ -2098,7 +2102,7 @@ function Combobox({
|
|
|
2098
2102
|
var import_react15 = require("react");
|
|
2099
2103
|
|
|
2100
2104
|
// src/components/interaction/form/FileInput/FileInput.module.css
|
|
2101
|
-
var FileInput_default = {"formGroup":"
|
|
2105
|
+
var FileInput_default = {"formGroup":"bds121FileInput-formGroup","fieldLabel":"bds121FileInput-fieldLabel","dropZone":"bds121FileInput-dropZone","isDragging":"bds121FileInput-isDragging","hasError":"bds121FileInput-hasError","isDisabled":"bds121FileInput-isDisabled","icon":"bds121FileInput-icon","prompt":"bds121FileInput-prompt","acceptHint":"bds121FileInput-acceptHint","hiddenInput":"bds121FileInput-hiddenInput"};
|
|
2102
2106
|
|
|
2103
2107
|
// src/components/interaction/form/FileInput/FileInput.tsx
|
|
2104
2108
|
var import_design_system_foundation37 = require("@boostdev/design-system-foundation");
|
|
@@ -2198,7 +2202,7 @@ function FileInput({
|
|
|
2198
2202
|
var import_react16 = require("react");
|
|
2199
2203
|
|
|
2200
2204
|
// src/components/interaction/form/FormInput/FormInput.module.css
|
|
2201
|
-
var FormInput_default = {"formGroup":"
|
|
2205
|
+
var FormInput_default = {"formGroup":"bds121FormInput-formGroup","input":"bds121FormInput-input","inputError":"bds121FormInput-inputError"};
|
|
2202
2206
|
|
|
2203
2207
|
// src/components/interaction/form/FormInput/FormInput.tsx
|
|
2204
2208
|
var import_design_system_foundation38 = require("@boostdev/design-system-foundation");
|
|
@@ -2242,7 +2246,7 @@ function FormInput({
|
|
|
2242
2246
|
var import_react17 = require("react");
|
|
2243
2247
|
|
|
2244
2248
|
// src/components/interaction/form/NumberInput/NumberInput.module.css
|
|
2245
|
-
var NumberInput_default = {"formGroup":"
|
|
2249
|
+
var NumberInput_default = {"formGroup":"bds121NumberInput-formGroup","inputRow":"bds121NumberInput-inputRow","input":"bds121NumberInput-input","inputError":"bds121NumberInput-inputError","stepper":"bds121NumberInput-stepper"};
|
|
2246
2250
|
|
|
2247
2251
|
// src/components/interaction/form/NumberInput/NumberInput.tsx
|
|
2248
2252
|
var import_design_system_foundation39 = require("@boostdev/design-system-foundation");
|
|
@@ -2346,7 +2350,7 @@ function NumberInput({
|
|
|
2346
2350
|
var import_react18 = require("react");
|
|
2347
2351
|
|
|
2348
2352
|
// src/components/interaction/form/Radio/Radio.module.css
|
|
2349
|
-
var Radio_default = {"radioGroup":"
|
|
2353
|
+
var Radio_default = {"radioGroup":"bds121Radio-radioGroup","inputWrapper":"bds121Radio-inputWrapper","textWrapper":"bds121Radio-textWrapper","description":"bds121Radio-description","radio":"bds121Radio-radio","radioError":"bds121Radio-radioError"};
|
|
2350
2354
|
|
|
2351
2355
|
// src/components/interaction/form/Radio/Radio.tsx
|
|
2352
2356
|
var import_design_system_foundation40 = require("@boostdev/design-system-foundation");
|
|
@@ -2384,7 +2388,7 @@ function Radio({ label, name, description, error, hint, className, ...props }) {
|
|
|
2384
2388
|
var import_react19 = require("react");
|
|
2385
2389
|
|
|
2386
2390
|
// src/components/interaction/form/RadioGroup/RadioGroup.module.css
|
|
2387
|
-
var RadioGroup_default = {"group":"
|
|
2391
|
+
var RadioGroup_default = {"group":"bds121RadioGroup-group","legend":"bds121RadioGroup-legend","required":"bds121RadioGroup-required","items":"bds121RadioGroup-items"};
|
|
2388
2392
|
|
|
2389
2393
|
// src/components/interaction/form/RadioGroup/RadioGroup.tsx
|
|
2390
2394
|
var import_design_system_foundation41 = require("@boostdev/design-system-foundation");
|
|
@@ -2426,74 +2430,52 @@ function RadioGroup({
|
|
|
2426
2430
|
var import_react20 = require("react");
|
|
2427
2431
|
|
|
2428
2432
|
// src/components/interaction/form/SegmentedControl/SegmentedControl.module.css
|
|
2429
|
-
var SegmentedControl_default = {"control":"
|
|
2433
|
+
var SegmentedControl_default = {"control":"bds121SegmentedControl-control","thumb":"bds121SegmentedControl-thumb","indicator":"bds121SegmentedControl-indicator","item":"bds121SegmentedControl-item","--active":"bds121SegmentedControl---active","--disabled":"bds121SegmentedControl---disabled","--size_small":"bds121SegmentedControl---size_small","--size_large":"bds121SegmentedControl---size_large","--variant_outline":"bds121SegmentedControl---variant_outline"};
|
|
2430
2434
|
|
|
2431
2435
|
// src/components/interaction/form/SegmentedControl/SegmentedControl.tsx
|
|
2432
2436
|
var import_design_system_foundation42 = require("@boostdev/design-system-foundation");
|
|
2433
2437
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2434
2438
|
function SegmentedControl({
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
value,
|
|
2438
|
-
defaultValue,
|
|
2439
|
-
onChange,
|
|
2439
|
+
children,
|
|
2440
|
+
selectedIndex: selectedIndexProp,
|
|
2440
2441
|
disabled,
|
|
2441
2442
|
size = "medium",
|
|
2443
|
+
variant = "outline",
|
|
2442
2444
|
className,
|
|
2443
|
-
"aria-label": ariaLabel
|
|
2444
|
-
...rest
|
|
2445
|
+
"aria-label": ariaLabel
|
|
2445
2446
|
}) {
|
|
2446
|
-
const
|
|
2447
|
-
const
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
const
|
|
2452
|
-
const handleChange = (optionValue) => {
|
|
2453
|
-
if (value === void 0) setInternalValue(optionValue);
|
|
2454
|
-
onChange?.(optionValue);
|
|
2455
|
-
};
|
|
2447
|
+
const validChildren = import_react20.Children.toArray(children).filter(import_react20.isValidElement);
|
|
2448
|
+
const autoIndex = selectedIndexProp === void 0 ? validChildren.findIndex((child) => {
|
|
2449
|
+
const p = child.props;
|
|
2450
|
+
return p["aria-current"] === "page" || p["aria-pressed"] === true || p["aria-selected"] === true;
|
|
2451
|
+
}) : -1;
|
|
2452
|
+
const activeIndex = Math.max(0, selectedIndexProp ?? (autoIndex >= 0 ? autoIndex : 0));
|
|
2456
2453
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
2457
2454
|
"div",
|
|
2458
2455
|
{
|
|
2459
2456
|
role: "group",
|
|
2460
2457
|
"aria-label": ariaLabel,
|
|
2461
|
-
className: (0, import_design_system_foundation42.cn)(SegmentedControl_default.control, SegmentedControl_default[`--size_${size}`], className),
|
|
2458
|
+
className: (0, import_design_system_foundation42.cn)(SegmentedControl_default.control, SegmentedControl_default[`--size_${size}`], SegmentedControl_default[`--variant_${variant}`], className),
|
|
2462
2459
|
style: {
|
|
2463
|
-
"--control_count":
|
|
2464
|
-
"--control_selected-index":
|
|
2460
|
+
"--control_count": validChildren.length,
|
|
2461
|
+
"--control_selected-index": activeIndex
|
|
2465
2462
|
},
|
|
2466
2463
|
children: [
|
|
2467
2464
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: SegmentedControl_default.thumb, "aria-hidden": "true" }),
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
const
|
|
2471
|
-
const
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
type: "radio",
|
|
2483
|
-
id,
|
|
2484
|
-
name,
|
|
2485
|
-
value: option.value,
|
|
2486
|
-
checked: isChecked,
|
|
2487
|
-
disabled: isDisabled,
|
|
2488
|
-
className: SegmentedControl_default.radio,
|
|
2489
|
-
onChange: () => handleChange(option.value)
|
|
2490
|
-
}
|
|
2491
|
-
),
|
|
2492
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: SegmentedControl_default.label, children: option.label })
|
|
2493
|
-
]
|
|
2494
|
-
},
|
|
2495
|
-
option.value
|
|
2496
|
-
);
|
|
2465
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: SegmentedControl_default.indicator, "aria-hidden": "true" }),
|
|
2466
|
+
validChildren.map((child, index) => {
|
|
2467
|
+
const isActive = index === activeIndex;
|
|
2468
|
+
const p = child.props;
|
|
2469
|
+
const isDisabled = disabled || !!p.disabled || p["aria-disabled"] === true;
|
|
2470
|
+
return (0, import_react20.cloneElement)(child, {
|
|
2471
|
+
key: child.key ?? index,
|
|
2472
|
+
className: (0, import_design_system_foundation42.cn)(
|
|
2473
|
+
SegmentedControl_default.item,
|
|
2474
|
+
isActive && SegmentedControl_default["--active"],
|
|
2475
|
+
isDisabled && SegmentedControl_default["--disabled"],
|
|
2476
|
+
p.className
|
|
2477
|
+
)
|
|
2478
|
+
});
|
|
2497
2479
|
})
|
|
2498
2480
|
]
|
|
2499
2481
|
}
|
|
@@ -2504,7 +2486,7 @@ function SegmentedControl({
|
|
|
2504
2486
|
var import_react21 = require("react");
|
|
2505
2487
|
|
|
2506
2488
|
// src/components/interaction/form/Select/Select.module.css
|
|
2507
|
-
var Select_default = {"formGroup":"
|
|
2489
|
+
var Select_default = {"formGroup":"bds121Select-formGroup","selectWrapper":"bds121Select-selectWrapper","select":"bds121Select-select","selectError":"bds121Select-selectError","chevron":"bds121Select-chevron"};
|
|
2508
2490
|
|
|
2509
2491
|
// src/components/interaction/form/Select/Select.tsx
|
|
2510
2492
|
var import_design_system_foundation43 = require("@boostdev/design-system-foundation");
|
|
@@ -2555,7 +2537,7 @@ function Select({
|
|
|
2555
2537
|
var import_react22 = require("react");
|
|
2556
2538
|
|
|
2557
2539
|
// src/components/interaction/form/Slider/Slider.module.css
|
|
2558
|
-
var Slider_default = {"formGroup":"
|
|
2540
|
+
var Slider_default = {"formGroup":"bds121Slider-formGroup","labelRow":"bds121Slider-labelRow","value":"bds121Slider-value","slider":"bds121Slider-slider","sliderError":"bds121Slider-sliderError"};
|
|
2559
2541
|
|
|
2560
2542
|
// src/components/interaction/form/Slider/Slider.tsx
|
|
2561
2543
|
var import_design_system_foundation44 = require("@boostdev/design-system-foundation");
|
|
@@ -2617,7 +2599,7 @@ function Slider({
|
|
|
2617
2599
|
var import_react23 = require("react");
|
|
2618
2600
|
|
|
2619
2601
|
// src/components/interaction/form/Switch/Switch.module.css
|
|
2620
|
-
var Switch_default = {"switchGroup":"
|
|
2602
|
+
var Switch_default = {"switchGroup":"bds121Switch-switchGroup","--size_small":"bds121Switch---size_small","--size_medium":"bds121Switch---size_medium","--size_large":"bds121Switch---size_large","inputWrapper":"bds121Switch-inputWrapper","trackWrapper":"bds121Switch-trackWrapper","switch":"bds121Switch-switch","track":"bds121Switch-track","thumb":"bds121Switch-thumb","switchError":"bds121Switch-switchError"};
|
|
2621
2603
|
|
|
2622
2604
|
// src/components/interaction/form/Switch/Switch.tsx
|
|
2623
2605
|
var import_design_system_foundation45 = require("@boostdev/design-system-foundation");
|
|
@@ -2665,7 +2647,7 @@ function Switch({
|
|
|
2665
2647
|
var import_react24 = require("react");
|
|
2666
2648
|
|
|
2667
2649
|
// src/components/interaction/form/Textarea/Textarea.module.css
|
|
2668
|
-
var Textarea_default = {"formGroup":"
|
|
2650
|
+
var Textarea_default = {"formGroup":"bds121Textarea-formGroup","textarea":"bds121Textarea-textarea","textareaError":"bds121Textarea-textareaError"};
|
|
2669
2651
|
|
|
2670
2652
|
// src/components/interaction/form/Textarea/Textarea.tsx
|
|
2671
2653
|
var import_design_system_foundation46 = require("@boostdev/design-system-foundation");
|
|
@@ -2704,7 +2686,7 @@ function Textarea({
|
|
|
2704
2686
|
}
|
|
2705
2687
|
|
|
2706
2688
|
// src/components/layout/ButtonGroup/ButtonGroup.module.css
|
|
2707
|
-
var ButtonGroup_default = {"buttonGroup":"
|
|
2689
|
+
var ButtonGroup_default = {"buttonGroup":"bds121ButtonGroup-buttonGroup","container":"bds121ButtonGroup-container","--variant_card":"bds121ButtonGroup---variant_card","--variant_flow":"bds121ButtonGroup---variant_flow","--variant_modal":"bds121ButtonGroup---variant_modal","--variant_content":"bds121ButtonGroup---variant_content","--variant_grid":"bds121ButtonGroup---variant_grid"};
|
|
2708
2690
|
|
|
2709
2691
|
// src/components/layout/ButtonGroup/ButtonGroup.tsx
|
|
2710
2692
|
var import_design_system_foundation47 = require("@boostdev/design-system-foundation");
|
|
@@ -2722,7 +2704,7 @@ function ButtonGroup({ children, className, variant, "aria-label": ariaLabel })
|
|
|
2722
2704
|
}
|
|
2723
2705
|
|
|
2724
2706
|
// src/components/layout/Card/Card.module.css
|
|
2725
|
-
var Card_default = {"card":"
|
|
2707
|
+
var Card_default = {"card":"bds121Card-card","--default":"bds121Card---default","--elevated":"bds121Card---elevated","--outlined":"bds121Card---outlined","--clickable":"bds121Card---clickable","--padding-none":"bds121Card---padding-none","--padding-small":"bds121Card---padding-small","--padding-medium":"bds121Card---padding-medium","--padding-large":"bds121Card---padding-large","--text-start":"bds121Card---text-start","--text-center":"bds121Card---text-center","--text-end":"bds121Card---text-end"};
|
|
2726
2708
|
|
|
2727
2709
|
// src/components/layout/Card/Card.tsx
|
|
2728
2710
|
var import_design_system_foundation48 = require("@boostdev/design-system-foundation");
|
|
@@ -2760,7 +2742,7 @@ function Card({
|
|
|
2760
2742
|
}
|
|
2761
2743
|
|
|
2762
2744
|
// src/components/layout/SectionHeader/SectionHeader.module.css
|
|
2763
|
-
var SectionHeader_default = {"sectionHeader":"
|
|
2745
|
+
var SectionHeader_default = {"sectionHeader":"bds121SectionHeader-sectionHeader","title":"bds121SectionHeader-title","subtitle":"bds121SectionHeader-subtitle","--start":"bds121SectionHeader---start","--center":"bds121SectionHeader---center","--end":"bds121SectionHeader---end","--small":"bds121SectionHeader---small","--medium":"bds121SectionHeader---medium","--large":"bds121SectionHeader---large"};
|
|
2764
2746
|
|
|
2765
2747
|
// src/components/layout/SectionHeader/SectionHeader.tsx
|
|
2766
2748
|
var import_design_system_foundation49 = require("@boostdev/design-system-foundation");
|
|
@@ -2781,7 +2763,7 @@ function SectionHeader({
|
|
|
2781
2763
|
}
|
|
2782
2764
|
|
|
2783
2765
|
// src/components/layout/IconWrapper/IconWrapper.module.css
|
|
2784
|
-
var IconWrapper_default = {"wrapper":"
|
|
2766
|
+
var IconWrapper_default = {"wrapper":"bds121IconWrapper-wrapper"};
|
|
2785
2767
|
|
|
2786
2768
|
// src/components/layout/IconWrapper/IconWrapper.tsx
|
|
2787
2769
|
var import_design_system_foundation50 = require("@boostdev/design-system-foundation");
|