@boostdev/design-system-components 0.1.15 → 0.1.16
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 +49 -47
- package/dist/client.css +431 -435
- package/dist/client.d.cts +3 -2
- package/dist/client.d.ts +3 -2
- package/dist/client.js +49 -47
- package/dist/index.cjs +49 -47
- package/dist/index.css +431 -435
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +49 -47
- package/package.json +1 -1
- package/src/components/interaction/form/Switch/Switch.mdx +7 -2
- package/src/components/interaction/form/Switch/Switch.module.css +6 -6
- package/src/components/interaction/form/Switch/Switch.spec.tsx +23 -0
- package/src/components/interaction/form/Switch/Switch.stories.tsx +8 -0
- package/src/components/interaction/form/Switch/Switch.tsx +5 -2
- package/src/components/interaction/form/atoms/Label.module.css +0 -1
- package/src/components/ui/Progress/Progress.module.css +0 -4
package/dist/client.d.cts
CHANGED
|
@@ -419,15 +419,16 @@ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
|
419
419
|
}
|
|
420
420
|
declare function Slider({ label, name, min, max, showValue, error, hint, className, onChange, ...props }: Readonly<SliderProps>): react_jsx_runtime.JSX.Element;
|
|
421
421
|
|
|
422
|
-
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
422
|
+
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'prefix'> {
|
|
423
423
|
label: string;
|
|
424
424
|
name: string;
|
|
425
425
|
size?: 'small' | 'medium' | 'large';
|
|
426
426
|
error?: string;
|
|
427
427
|
hint?: string;
|
|
428
428
|
className?: string;
|
|
429
|
+
prefix?: ReactNode;
|
|
429
430
|
}
|
|
430
|
-
declare function Switch({ label, name, size, error, hint, className, ...props }: Readonly<SwitchProps>): react_jsx_runtime.JSX.Element;
|
|
431
|
+
declare function Switch({ label, name, size, error, hint, className, prefix, ...props }: Readonly<SwitchProps>): react_jsx_runtime.JSX.Element;
|
|
431
432
|
|
|
432
433
|
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
433
434
|
label: ReactNode;
|
package/dist/client.d.ts
CHANGED
|
@@ -419,15 +419,16 @@ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
|
419
419
|
}
|
|
420
420
|
declare function Slider({ label, name, min, max, showValue, error, hint, className, onChange, ...props }: Readonly<SliderProps>): react_jsx_runtime.JSX.Element;
|
|
421
421
|
|
|
422
|
-
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
422
|
+
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'prefix'> {
|
|
423
423
|
label: string;
|
|
424
424
|
name: string;
|
|
425
425
|
size?: 'small' | 'medium' | 'large';
|
|
426
426
|
error?: string;
|
|
427
427
|
hint?: string;
|
|
428
428
|
className?: string;
|
|
429
|
+
prefix?: ReactNode;
|
|
429
430
|
}
|
|
430
|
-
declare function Switch({ label, name, size, error, hint, className, ...props }: Readonly<SwitchProps>): react_jsx_runtime.JSX.Element;
|
|
431
|
+
declare function Switch({ label, name, size, error, hint, className, prefix, ...props }: Readonly<SwitchProps>): react_jsx_runtime.JSX.Element;
|
|
431
432
|
|
|
432
433
|
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
433
434
|
label: ReactNode;
|
package/dist/client.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useId, useState } from "react";
|
|
5
5
|
|
|
6
6
|
// src/components/ui/Accordion/Accordion.module.css
|
|
7
|
-
var Accordion_default = {"accordion":"
|
|
7
|
+
var Accordion_default = {"accordion":"bds0116Accordion-accordion","item":"bds0116Accordion-item","heading":"bds0116Accordion-heading","trigger":"bds0116Accordion-trigger","triggerLabel":"bds0116Accordion-triggerLabel","chevron":"bds0116Accordion-chevron","--open":"bds0116Accordion---open","panel":"bds0116Accordion-panel","panelContent":"bds0116Accordion-panelContent"};
|
|
8
8
|
|
|
9
9
|
// src/components/ui/Accordion/Accordion.tsx
|
|
10
10
|
import { cn } from "@boostdev/design-system-foundation";
|
|
@@ -72,7 +72,7 @@ function Accordion({
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
// src/components/ui/Alert/Alert.module.css
|
|
75
|
-
var Alert_default = {"alert":"
|
|
75
|
+
var Alert_default = {"alert":"bds0116Alert-alert","--variant_info":"bds0116Alert---variant_info","--variant_success":"bds0116Alert---variant_success","--variant_warning":"bds0116Alert---variant_warning","--variant_error":"bds0116Alert---variant_error","icon":"bds0116Alert-icon","content":"bds0116Alert-content","title":"bds0116Alert-title","dismiss":"bds0116Alert-dismiss"};
|
|
76
76
|
|
|
77
77
|
// src/components/ui/Alert/Alert.tsx
|
|
78
78
|
import { cn as cn2 } from "@boostdev/design-system-foundation";
|
|
@@ -115,7 +115,7 @@ function Alert({
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
// src/components/ui/Avatar/Avatar.module.css
|
|
118
|
-
var Avatar_default = {"avatar":"
|
|
118
|
+
var Avatar_default = {"avatar":"bds0116Avatar-avatar","--fallback":"bds0116Avatar---fallback","--size_small":"bds0116Avatar---size_small","--size_medium":"bds0116Avatar---size_medium","--size_large":"bds0116Avatar---size_large","image":"bds0116Avatar-image","initials":"bds0116Avatar-initials"};
|
|
119
119
|
|
|
120
120
|
// src/components/ui/Avatar/Avatar.tsx
|
|
121
121
|
import { cn as cn3 } from "@boostdev/design-system-foundation";
|
|
@@ -141,7 +141,7 @@ function Avatar({ src, alt, name, size = "medium", className }) {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
// src/components/ui/Badge/Badge.module.css
|
|
144
|
-
var Badge_default = {"badge":"
|
|
144
|
+
var Badge_default = {"badge":"bds0116Badge-badge","--variant_primary":"bds0116Badge---variant_primary","--variant_secondary":"bds0116Badge---variant_secondary","--variant_success":"bds0116Badge---variant_success","--variant_error":"bds0116Badge---variant_error","--variant_warning":"bds0116Badge---variant_warning"};
|
|
145
145
|
|
|
146
146
|
// src/components/ui/Badge/Badge.tsx
|
|
147
147
|
import { cn as cn4 } from "@boostdev/design-system-foundation";
|
|
@@ -151,7 +151,7 @@ function Badge({ children, variant = "primary", className }) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
// src/components/ui/Breadcrumb/Breadcrumb.module.css
|
|
154
|
-
var Breadcrumb_default = {"breadcrumb":"
|
|
154
|
+
var Breadcrumb_default = {"breadcrumb":"bds0116Breadcrumb-breadcrumb","list":"bds0116Breadcrumb-list","item":"bds0116Breadcrumb-item","link":"bds0116Breadcrumb-link","separator":"bds0116Breadcrumb-separator","current":"bds0116Breadcrumb-current"};
|
|
155
155
|
|
|
156
156
|
// src/components/ui/Breadcrumb/Breadcrumb.tsx
|
|
157
157
|
import { cn as cn5 } from "@boostdev/design-system-foundation";
|
|
@@ -167,7 +167,7 @@ function Breadcrumb({ items, className }) {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
// src/components/ui/Collapsible/Collapsible.module.css
|
|
170
|
-
var Collapsible_default = {"collapsible":"
|
|
170
|
+
var Collapsible_default = {"collapsible":"bds0116Collapsible-collapsible","summary":"bds0116Collapsible-summary","summaryContent":"bds0116Collapsible-summaryContent","icon":"bds0116Collapsible-icon","content":"bds0116Collapsible-content"};
|
|
171
171
|
|
|
172
172
|
// src/components/ui/Collapsible/Collapsible.tsx
|
|
173
173
|
import { cn as cn6 } from "@boostdev/design-system-foundation";
|
|
@@ -208,7 +208,7 @@ function Collapsible({
|
|
|
208
208
|
import { useState as useState2, useId as useId2 } from "react";
|
|
209
209
|
|
|
210
210
|
// src/components/ui/Calendar/Calendar.module.css
|
|
211
|
-
var Calendar_default = {"calendar":"
|
|
211
|
+
var Calendar_default = {"calendar":"bds0116Calendar-calendar","header":"bds0116Calendar-header","monthYear":"bds0116Calendar-monthYear","navBtn":"bds0116Calendar-navBtn","grid":"bds0116Calendar-grid","weekday":"bds0116Calendar-weekday","empty":"bds0116Calendar-empty","day":"bds0116Calendar-day","disabled":"bds0116Calendar-disabled","selected":"bds0116Calendar-selected","today":"bds0116Calendar-today"};
|
|
212
212
|
|
|
213
213
|
// src/components/ui/Calendar/Calendar.tsx
|
|
214
214
|
import { cn as cn7 } from "@boostdev/design-system-foundation";
|
|
@@ -374,7 +374,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
|
|
|
374
374
|
import { useRef, useId as useId3 } from "react";
|
|
375
375
|
|
|
376
376
|
// src/components/ui/Carousel/Carousel.module.css
|
|
377
|
-
var Carousel_default = {"carousel":"
|
|
377
|
+
var Carousel_default = {"carousel":"bds0116Carousel-carousel","track":"bds0116Carousel-track","slide":"bds0116Carousel-slide","navBtn":"bds0116Carousel-navBtn"};
|
|
378
378
|
|
|
379
379
|
// src/components/ui/Carousel/Carousel.tsx
|
|
380
380
|
import { cn as cn8 } from "@boostdev/design-system-foundation";
|
|
@@ -427,7 +427,7 @@ function Carousel({ items, label, className }) {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
// src/components/ui/DescriptionList/DescriptionList.module.css
|
|
430
|
-
var DescriptionList_default = {"list":"
|
|
430
|
+
var DescriptionList_default = {"list":"bds0116DescriptionList-list","group":"bds0116DescriptionList-group","term":"bds0116DescriptionList-term","details":"bds0116DescriptionList-details","--layout_inline":"bds0116DescriptionList---layout_inline"};
|
|
431
431
|
|
|
432
432
|
// src/components/ui/DescriptionList/DescriptionList.tsx
|
|
433
433
|
import { cn as cn9 } from "@boostdev/design-system-foundation";
|
|
@@ -440,7 +440,7 @@ function DescriptionList({ items, layout = "stacked", className }) {
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
// src/components/ui/Link/Link.module.css
|
|
443
|
-
var Link_default = {"link":"
|
|
443
|
+
var Link_default = {"link":"bds0116Link-link","--variant_default":"bds0116Link---variant_default","--variant_subtle":"bds0116Link---variant_subtle","--variant_standalone":"bds0116Link---variant_standalone","externalLabel":"bds0116Link-externalLabel"};
|
|
444
444
|
|
|
445
445
|
// src/components/ui/Link/Link.tsx
|
|
446
446
|
import { cn as cn10 } from "@boostdev/design-system-foundation";
|
|
@@ -471,7 +471,7 @@ function Link({
|
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
// src/components/ui/Loading/Loading.module.css
|
|
474
|
-
var Loading_default = {"loading":"
|
|
474
|
+
var Loading_default = {"loading":"bds0116Loading-loading","spinner":"bds0116Loading-spinner","--size_small":"bds0116Loading---size_small","--size_large":"bds0116Loading---size_large"};
|
|
475
475
|
|
|
476
476
|
// src/components/ui/Loading/Loading.tsx
|
|
477
477
|
import { cn as cn11 } from "@boostdev/design-system-foundation";
|
|
@@ -481,7 +481,7 @@ function Loading({ size = "medium", className }) {
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
// src/components/ui/NotificationBanner/NotificationBanner.module.css
|
|
484
|
-
var NotificationBanner_default = {"banner":"
|
|
484
|
+
var NotificationBanner_default = {"banner":"bds0116NotificationBanner-banner","--variant_info":"bds0116NotificationBanner---variant_info","--variant_success":"bds0116NotificationBanner---variant_success","--variant_warning":"bds0116NotificationBanner---variant_warning","--variant_error":"bds0116NotificationBanner---variant_error","content":"bds0116NotificationBanner-content","action":"bds0116NotificationBanner-action","dismiss":"bds0116NotificationBanner-dismiss"};
|
|
485
485
|
|
|
486
486
|
// src/components/ui/NotificationBanner/NotificationBanner.tsx
|
|
487
487
|
import { cn as cn12 } from "@boostdev/design-system-foundation";
|
|
@@ -520,7 +520,7 @@ function NotificationBanner({
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
// src/components/ui/Pagination/Pagination.module.css
|
|
523
|
-
var Pagination_default = {"pagination":"
|
|
523
|
+
var Pagination_default = {"pagination":"bds0116Pagination-pagination","list":"bds0116Pagination-list","button":"bds0116Pagination-button","--active":"bds0116Pagination---active","--nav":"bds0116Pagination---nav","ellipsis":"bds0116Pagination-ellipsis"};
|
|
524
524
|
|
|
525
525
|
// src/components/ui/Pagination/Pagination.tsx
|
|
526
526
|
import { cn as cn13 } from "@boostdev/design-system-foundation";
|
|
@@ -584,7 +584,7 @@ function Pagination({
|
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
// src/components/ui/Progress/Progress.module.css
|
|
587
|
-
var Progress_default = {"container":"
|
|
587
|
+
var Progress_default = {"container":"bds0116Progress-container","labelRow":"bds0116Progress-labelRow","value":"bds0116Progress-value","track":"bds0116Progress-track","--size_small":"bds0116Progress---size_small","--size_medium":"bds0116Progress---size_medium","--size_large":"bds0116Progress---size_large","fill":"bds0116Progress-fill"};
|
|
588
588
|
|
|
589
589
|
// src/components/ui/Progress/Progress.tsx
|
|
590
590
|
import { cn as cn14 } from "@boostdev/design-system-foundation";
|
|
@@ -622,7 +622,7 @@ function Progress({
|
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
// src/components/ui/ProgressCircle/ProgressCircle.module.css
|
|
625
|
-
var ProgressCircle_default = {"wrapper":"
|
|
625
|
+
var ProgressCircle_default = {"wrapper":"bds0116ProgressCircle-wrapper","svg":"bds0116ProgressCircle-svg","track":"bds0116ProgressCircle-track","fill":"bds0116ProgressCircle-fill","value":"bds0116ProgressCircle-value","--size_small":"bds0116ProgressCircle---size_small","--size_medium":"bds0116ProgressCircle---size_medium","--size_large":"bds0116ProgressCircle---size_large"};
|
|
626
626
|
|
|
627
627
|
// src/components/ui/ProgressCircle/ProgressCircle.tsx
|
|
628
628
|
import { cn as cn15 } from "@boostdev/design-system-foundation";
|
|
@@ -701,7 +701,7 @@ function ProgressCircle({
|
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
// src/components/ui/Separator/Separator.module.css
|
|
704
|
-
var Separator_default = {"separator":"
|
|
704
|
+
var Separator_default = {"separator":"bds0116Separator-separator","--horizontal":"bds0116Separator---horizontal","--vertical":"bds0116Separator---vertical"};
|
|
705
705
|
|
|
706
706
|
// src/components/ui/Separator/Separator.tsx
|
|
707
707
|
import { cn as cn16 } from "@boostdev/design-system-foundation";
|
|
@@ -724,7 +724,7 @@ function Separator({ orientation = "horizontal", className }) {
|
|
|
724
724
|
import { cn as cn17 } from "@boostdev/design-system-foundation";
|
|
725
725
|
|
|
726
726
|
// src/components/ui/Skeleton/Skeleton.module.css
|
|
727
|
-
var Skeleton_default = {"skeleton":"
|
|
727
|
+
var Skeleton_default = {"skeleton":"bds0116Skeleton-skeleton"};
|
|
728
728
|
|
|
729
729
|
// src/components/ui/Skeleton/Skeleton.tsx
|
|
730
730
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
@@ -733,7 +733,7 @@ function Skeleton({ className }) {
|
|
|
733
733
|
}
|
|
734
734
|
|
|
735
735
|
// src/components/ui/SkipLink/SkipLink.module.css
|
|
736
|
-
var SkipLink_default = {"skipLink":"
|
|
736
|
+
var SkipLink_default = {"skipLink":"bds0116SkipLink-skipLink"};
|
|
737
737
|
|
|
738
738
|
// src/components/ui/SkipLink/SkipLink.tsx
|
|
739
739
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
@@ -742,7 +742,7 @@ function SkipLink({ href = "#main", children = "Skip to main content" }) {
|
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
// src/components/ui/Table/Table.module.css
|
|
745
|
-
var Table_default = {"wrapper":"
|
|
745
|
+
var Table_default = {"wrapper":"bds0116Table-wrapper","table":"bds0116Table-table","caption":"bds0116Table-caption","thead":"bds0116Table-thead","th":"bds0116Table-th","--sortable":"bds0116Table---sortable","sortButton":"bds0116Table-sortButton","sortIcon":"bds0116Table-sortIcon","--sort-active":"bds0116Table---sort-active","--sort-desc":"bds0116Table---sort-desc","tbody":"bds0116Table-tbody","tr":"bds0116Table-tr","td":"bds0116Table-td"};
|
|
746
746
|
|
|
747
747
|
// src/components/ui/Table/Table.tsx
|
|
748
748
|
import { cn as cn18 } from "@boostdev/design-system-foundation";
|
|
@@ -811,7 +811,7 @@ function Table({
|
|
|
811
811
|
import { useId as useId4, useRef as useRef2, useState as useState3 } from "react";
|
|
812
812
|
|
|
813
813
|
// src/components/ui/Tabs/Tabs.module.css
|
|
814
|
-
var Tabs_default = {"tabs":"
|
|
814
|
+
var Tabs_default = {"tabs":"bds0116Tabs-tabs","tabList":"bds0116Tabs-tabList","tab":"bds0116Tabs-tab","--active":"bds0116Tabs---active","panel":"bds0116Tabs-panel"};
|
|
815
815
|
|
|
816
816
|
// src/components/ui/Tabs/Tabs.tsx
|
|
817
817
|
import { cn as cn19 } from "@boostdev/design-system-foundation";
|
|
@@ -892,7 +892,7 @@ function Tabs({ tabs, defaultTab, className }) {
|
|
|
892
892
|
import { cloneElement, isValidElement, useId as useId5 } from "react";
|
|
893
893
|
|
|
894
894
|
// src/components/ui/Tooltip/Tooltip.module.css
|
|
895
|
-
var Tooltip_default = {"wrapper":"
|
|
895
|
+
var Tooltip_default = {"wrapper":"bds0116Tooltip-wrapper","tooltip":"bds0116Tooltip-tooltip","--placement_top":"bds0116Tooltip---placement_top","--placement_bottom":"bds0116Tooltip---placement_bottom","--placement_left":"bds0116Tooltip---placement_left","--placement_right":"bds0116Tooltip---placement_right"};
|
|
896
896
|
|
|
897
897
|
// src/components/ui/Tooltip/Tooltip.tsx
|
|
898
898
|
import { cn as cn20 } from "@boostdev/design-system-foundation";
|
|
@@ -922,7 +922,7 @@ function Tooltip({
|
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
// src/components/ui/Typography/Typography.module.css
|
|
925
|
-
var Typography_default = {"typography":"
|
|
925
|
+
var Typography_default = {"typography":"bds0116Typography-typography","--h1":"bds0116Typography---h1","--h2":"bds0116Typography---h2","--h3":"bds0116Typography---h3","--body":"bds0116Typography---body","--body_s":"bds0116Typography---body_s"};
|
|
926
926
|
|
|
927
927
|
// src/components/ui/Typography/Typography.tsx
|
|
928
928
|
import { cn as cn21 } from "@boostdev/design-system-foundation";
|
|
@@ -940,7 +940,7 @@ function Typography({ variant = "body", component, children, className }) {
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
// src/components/interaction/Button/Button.module.css
|
|
943
|
-
var Button_default = {"button":"
|
|
943
|
+
var Button_default = {"button":"bds0116Button-button","--primary":"bds0116Button---primary","--secondary":"bds0116Button---secondary","--size_small":"bds0116Button---size_small","--size_medium":"bds0116Button---size_medium","--size_large":"bds0116Button---size_large","--hasPulse":"bds0116Button---hasPulse","prefix":"bds0116Button-prefix","suffix":"bds0116Button-suffix"};
|
|
944
944
|
|
|
945
945
|
// src/components/interaction/Button/Button.tsx
|
|
946
946
|
import { cn as cn22 } from "@boostdev/design-system-foundation";
|
|
@@ -1016,7 +1016,7 @@ function Button({
|
|
|
1016
1016
|
import { useState as useState4, useEffect, useRef as useRef3, useId as useId6, useMemo } from "react";
|
|
1017
1017
|
|
|
1018
1018
|
// src/components/interaction/Command/Command.module.css
|
|
1019
|
-
var Command_default = {"dialog":"
|
|
1019
|
+
var Command_default = {"dialog":"bds0116Command-dialog","palette":"bds0116Command-palette","searchRow":"bds0116Command-searchRow","searchIcon":"bds0116Command-searchIcon","search":"bds0116Command-search","escHint":"bds0116Command-escHint","list":"bds0116Command-list","groupList":"bds0116Command-groupList","group":"bds0116Command-group","item":"bds0116Command-item","itemActive":"bds0116Command-itemActive","itemLabel":"bds0116Command-itemLabel","itemDesc":"bds0116Command-itemDesc","shortcut":"bds0116Command-shortcut","empty":"bds0116Command-empty"};
|
|
1020
1020
|
|
|
1021
1021
|
// src/components/interaction/Command/Command.tsx
|
|
1022
1022
|
import { cn as cn23 } from "@boostdev/design-system-foundation";
|
|
@@ -1155,7 +1155,7 @@ function Command({
|
|
|
1155
1155
|
import { useEffect as useEffect2, useRef as useRef4 } from "react";
|
|
1156
1156
|
|
|
1157
1157
|
// src/components/interaction/Dialog/Dialog.module.css
|
|
1158
|
-
var Dialog_default = {"dialog":"
|
|
1158
|
+
var Dialog_default = {"dialog":"bds0116Dialog-dialog","dialogContent":"bds0116Dialog-dialogContent","closeForm":"bds0116Dialog-closeForm","closeButton":"bds0116Dialog-closeButton"};
|
|
1159
1159
|
|
|
1160
1160
|
// src/components/interaction/Dialog/Dialog.tsx
|
|
1161
1161
|
import { cn as cn24 } from "@boostdev/design-system-foundation";
|
|
@@ -1211,7 +1211,7 @@ function Dialog({ children, isOpen = false, className, onClose }) {
|
|
|
1211
1211
|
import { useEffect as useEffect3, useRef as useRef5 } from "react";
|
|
1212
1212
|
|
|
1213
1213
|
// src/components/interaction/Drawer/Drawer.module.css
|
|
1214
|
-
var Drawer_default = {"drawer":"
|
|
1214
|
+
var Drawer_default = {"drawer":"bds0116Drawer-drawer","panel":"bds0116Drawer-panel","--side_right":"bds0116Drawer---side_right","--side_left":"bds0116Drawer---side_left","header":"bds0116Drawer-header","closeButton":"bds0116Drawer-closeButton","body":"bds0116Drawer-body"};
|
|
1215
1215
|
|
|
1216
1216
|
// src/components/interaction/Drawer/Drawer.tsx
|
|
1217
1217
|
import { cn as cn25 } from "@boostdev/design-system-foundation";
|
|
@@ -1281,7 +1281,7 @@ import {
|
|
|
1281
1281
|
} from "react";
|
|
1282
1282
|
|
|
1283
1283
|
// src/components/interaction/DropdownMenu/DropdownMenu.module.css
|
|
1284
|
-
var DropdownMenu_default = {"wrapper":"
|
|
1284
|
+
var DropdownMenu_default = {"wrapper":"bds0116DropdownMenu-wrapper","menu":"bds0116DropdownMenu-menu","--placement_bottom-start":"bds0116DropdownMenu---placement_bottom-start","--placement_bottom-end":"bds0116DropdownMenu---placement_bottom-end","separator":"bds0116DropdownMenu-separator","item":"bds0116DropdownMenu-item","icon":"bds0116DropdownMenu-icon"};
|
|
1285
1285
|
|
|
1286
1286
|
// src/components/interaction/DropdownMenu/DropdownMenu.tsx
|
|
1287
1287
|
import { cn as cn26 } from "@boostdev/design-system-foundation";
|
|
@@ -1401,7 +1401,7 @@ import {
|
|
|
1401
1401
|
} from "react";
|
|
1402
1402
|
|
|
1403
1403
|
// src/components/interaction/Popover/Popover.module.css
|
|
1404
|
-
var Popover_default = {"wrapper":"
|
|
1404
|
+
var Popover_default = {"wrapper":"bds0116Popover-wrapper","panel":"bds0116Popover-panel","--placement_bottom":"bds0116Popover---placement_bottom","--placement_top":"bds0116Popover---placement_top","--placement_right":"bds0116Popover---placement_right","--placement_left":"bds0116Popover---placement_left"};
|
|
1405
1405
|
|
|
1406
1406
|
// src/components/interaction/Popover/Popover.tsx
|
|
1407
1407
|
import { cn as cn27 } from "@boostdev/design-system-foundation";
|
|
@@ -1457,7 +1457,7 @@ function Popover({
|
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
// src/components/interaction/Rating/Rating.module.css
|
|
1460
|
-
var Rating_default = {"rating":"
|
|
1460
|
+
var Rating_default = {"rating":"bds0116Rating-rating","star":"bds0116Rating-star","--filled":"bds0116Rating---filled"};
|
|
1461
1461
|
|
|
1462
1462
|
// src/components/interaction/Rating/Rating.tsx
|
|
1463
1463
|
import { cn as cn28 } from "@boostdev/design-system-foundation";
|
|
@@ -1488,7 +1488,7 @@ function Rating({ value, max = 5, className }) {
|
|
|
1488
1488
|
import { useState as useState7, useEffect as useEffect6, createContext, useContext, useCallback, useMemo as useMemo2 } from "react";
|
|
1489
1489
|
|
|
1490
1490
|
// src/components/interaction/Toast/Toast.module.css
|
|
1491
|
-
var Toast_default = {"toastContainer":"
|
|
1491
|
+
var Toast_default = {"toastContainer":"bds0116Toast-toastContainer","toast":"bds0116Toast-toast","--variant_success":"bds0116Toast---variant_success","--variant_warning":"bds0116Toast---variant_warning","--variant_info":"bds0116Toast---variant_info","--variant_error":"bds0116Toast---variant_error","message":"bds0116Toast-message","closeButton":"bds0116Toast-closeButton"};
|
|
1492
1492
|
|
|
1493
1493
|
// src/components/interaction/Toast/Toast.tsx
|
|
1494
1494
|
import { cn as cn29 } from "@boostdev/design-system-foundation";
|
|
@@ -1538,10 +1538,10 @@ function useToast() {
|
|
|
1538
1538
|
import { useId as useId9 } from "react";
|
|
1539
1539
|
|
|
1540
1540
|
// src/components/interaction/form/Checkbox/Checkbox.module.css
|
|
1541
|
-
var Checkbox_default = {"checkboxGroup":"
|
|
1541
|
+
var Checkbox_default = {"checkboxGroup":"bds0116Checkbox-checkboxGroup","inputWrapper":"bds0116Checkbox-inputWrapper","checkbox":"bds0116Checkbox-checkbox","checkboxError":"bds0116Checkbox-checkboxError"};
|
|
1542
1542
|
|
|
1543
1543
|
// src/components/interaction/form/atoms/Message.module.css
|
|
1544
|
-
var Message_default = {"error":"
|
|
1544
|
+
var Message_default = {"error":"bds0116Message-error","hint":"bds0116Message-hint"};
|
|
1545
1545
|
|
|
1546
1546
|
// src/components/interaction/form/atoms/Message.tsx
|
|
1547
1547
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
@@ -1551,7 +1551,7 @@ var Message = ({ message, type, inputId }) => {
|
|
|
1551
1551
|
};
|
|
1552
1552
|
|
|
1553
1553
|
// src/components/interaction/form/atoms/Label.module.css
|
|
1554
|
-
var Label_default = {"label":"
|
|
1554
|
+
var Label_default = {"label":"bds0116Label-label"};
|
|
1555
1555
|
|
|
1556
1556
|
// src/components/interaction/form/atoms/Label.tsx
|
|
1557
1557
|
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
@@ -1563,7 +1563,7 @@ var Label = ({ label, id }) => {
|
|
|
1563
1563
|
import { cn as cn31 } from "@boostdev/design-system-foundation";
|
|
1564
1564
|
|
|
1565
1565
|
// src/components/interaction/form/atoms/InputContainer.module.css
|
|
1566
|
-
var InputContainer_default = {"container":"
|
|
1566
|
+
var InputContainer_default = {"container":"bds0116InputContainer-container"};
|
|
1567
1567
|
|
|
1568
1568
|
// src/components/interaction/form/atoms/InputContainer.tsx
|
|
1569
1569
|
import { cn as cn30 } from "@boostdev/design-system-foundation";
|
|
@@ -1610,7 +1610,7 @@ import {
|
|
|
1610
1610
|
} from "react";
|
|
1611
1611
|
|
|
1612
1612
|
// src/components/interaction/form/Combobox/Combobox.module.css
|
|
1613
|
-
var Combobox_default = {"formGroup":"
|
|
1613
|
+
var Combobox_default = {"formGroup":"bds0116Combobox-formGroup","inputWrapper":"bds0116Combobox-inputWrapper","input":"bds0116Combobox-input","inputError":"bds0116Combobox-inputError","chevron":"bds0116Combobox-chevron","listbox":"bds0116Combobox-listbox","option":"bds0116Combobox-option","--highlighted":"bds0116Combobox---highlighted","--selected":"bds0116Combobox---selected","--disabled":"bds0116Combobox---disabled"};
|
|
1614
1614
|
|
|
1615
1615
|
// src/components/interaction/form/Combobox/Combobox.tsx
|
|
1616
1616
|
import { cn as cn32 } from "@boostdev/design-system-foundation";
|
|
@@ -1761,7 +1761,7 @@ function Combobox({
|
|
|
1761
1761
|
import { useId as useId11, useRef as useRef9, useState as useState9 } from "react";
|
|
1762
1762
|
|
|
1763
1763
|
// src/components/interaction/form/FileInput/FileInput.module.css
|
|
1764
|
-
var FileInput_default = {"formGroup":"
|
|
1764
|
+
var FileInput_default = {"formGroup":"bds0116FileInput-formGroup","dropZone":"bds0116FileInput-dropZone","isDragging":"bds0116FileInput-isDragging","hasError":"bds0116FileInput-hasError","isDisabled":"bds0116FileInput-isDisabled","icon":"bds0116FileInput-icon","prompt":"bds0116FileInput-prompt","acceptHint":"bds0116FileInput-acceptHint","hiddenInput":"bds0116FileInput-hiddenInput"};
|
|
1765
1765
|
|
|
1766
1766
|
// src/components/interaction/form/FileInput/FileInput.tsx
|
|
1767
1767
|
import { cn as cn33 } from "@boostdev/design-system-foundation";
|
|
@@ -1858,7 +1858,7 @@ function FileInput({
|
|
|
1858
1858
|
import { useId as useId12 } from "react";
|
|
1859
1859
|
|
|
1860
1860
|
// src/components/interaction/form/FormInput/FormInput.module.css
|
|
1861
|
-
var FormInput_default = {"formGroup":"
|
|
1861
|
+
var FormInput_default = {"formGroup":"bds0116FormInput-formGroup","input":"bds0116FormInput-input","inputError":"bds0116FormInput-inputError"};
|
|
1862
1862
|
|
|
1863
1863
|
// src/components/interaction/form/FormInput/FormInput.tsx
|
|
1864
1864
|
import { cn as cn34 } from "@boostdev/design-system-foundation";
|
|
@@ -1899,7 +1899,7 @@ function FormInput({
|
|
|
1899
1899
|
import { useId as useId13, useRef as useRef10, useState as useState10 } from "react";
|
|
1900
1900
|
|
|
1901
1901
|
// src/components/interaction/form/NumberInput/NumberInput.module.css
|
|
1902
|
-
var NumberInput_default = {"formGroup":"
|
|
1902
|
+
var NumberInput_default = {"formGroup":"bds0116NumberInput-formGroup","inputRow":"bds0116NumberInput-inputRow","input":"bds0116NumberInput-input","inputError":"bds0116NumberInput-inputError","stepper":"bds0116NumberInput-stepper"};
|
|
1903
1903
|
|
|
1904
1904
|
// src/components/interaction/form/NumberInput/NumberInput.tsx
|
|
1905
1905
|
import { cn as cn35 } from "@boostdev/design-system-foundation";
|
|
@@ -1994,7 +1994,7 @@ function NumberInput({
|
|
|
1994
1994
|
import { useId as useId14 } from "react";
|
|
1995
1995
|
|
|
1996
1996
|
// src/components/interaction/form/Radio/Radio.module.css
|
|
1997
|
-
var Radio_default = {"radioGroup":"
|
|
1997
|
+
var Radio_default = {"radioGroup":"bds0116Radio-radioGroup","inputWrapper":"bds0116Radio-inputWrapper","textWrapper":"bds0116Radio-textWrapper","description":"bds0116Radio-description","radio":"bds0116Radio-radio","radioError":"bds0116Radio-radioError"};
|
|
1998
1998
|
|
|
1999
1999
|
// src/components/interaction/form/Radio/Radio.tsx
|
|
2000
2000
|
import { cn as cn36 } from "@boostdev/design-system-foundation";
|
|
@@ -2032,7 +2032,7 @@ function Radio({ label, name, description, error, hint, className, ...props }) {
|
|
|
2032
2032
|
import { useId as useId15 } from "react";
|
|
2033
2033
|
|
|
2034
2034
|
// src/components/interaction/form/Select/Select.module.css
|
|
2035
|
-
var Select_default = {"formGroup":"
|
|
2035
|
+
var Select_default = {"formGroup":"bds0116Select-formGroup","selectWrapper":"bds0116Select-selectWrapper","select":"bds0116Select-select","selectError":"bds0116Select-selectError","chevron":"bds0116Select-chevron"};
|
|
2036
2036
|
|
|
2037
2037
|
// src/components/interaction/form/Select/Select.tsx
|
|
2038
2038
|
import { cn as cn37 } from "@boostdev/design-system-foundation";
|
|
@@ -2080,7 +2080,7 @@ function Select({
|
|
|
2080
2080
|
import { useId as useId16, useState as useState11 } from "react";
|
|
2081
2081
|
|
|
2082
2082
|
// src/components/interaction/form/Slider/Slider.module.css
|
|
2083
|
-
var Slider_default = {"formGroup":"
|
|
2083
|
+
var Slider_default = {"formGroup":"bds0116Slider-formGroup","labelRow":"bds0116Slider-labelRow","value":"bds0116Slider-value","slider":"bds0116Slider-slider","sliderError":"bds0116Slider-sliderError"};
|
|
2084
2084
|
|
|
2085
2085
|
// src/components/interaction/form/Slider/Slider.tsx
|
|
2086
2086
|
import { cn as cn38 } from "@boostdev/design-system-foundation";
|
|
@@ -2141,7 +2141,7 @@ function Slider({
|
|
|
2141
2141
|
import { useId as useId17 } from "react";
|
|
2142
2142
|
|
|
2143
2143
|
// src/components/interaction/form/Switch/Switch.module.css
|
|
2144
|
-
var Switch_default = {"switchGroup":"
|
|
2144
|
+
var Switch_default = {"switchGroup":"bds0116Switch-switchGroup","--size_small":"bds0116Switch---size_small","--size_medium":"bds0116Switch---size_medium","--size_large":"bds0116Switch---size_large","inputWrapper":"bds0116Switch-inputWrapper","trackWrapper":"bds0116Switch-trackWrapper","switch":"bds0116Switch-switch","track":"bds0116Switch-track","thumb":"bds0116Switch-thumb","switchError":"bds0116Switch-switchError"};
|
|
2145
2145
|
|
|
2146
2146
|
// src/components/interaction/form/Switch/Switch.tsx
|
|
2147
2147
|
import { cn as cn39 } from "@boostdev/design-system-foundation";
|
|
@@ -2153,6 +2153,7 @@ function Switch({
|
|
|
2153
2153
|
error,
|
|
2154
2154
|
hint,
|
|
2155
2155
|
className,
|
|
2156
|
+
prefix,
|
|
2156
2157
|
...props
|
|
2157
2158
|
}) {
|
|
2158
2159
|
const id = name + useId17();
|
|
@@ -2161,6 +2162,7 @@ function Switch({
|
|
|
2161
2162
|
const describedBy = [error && errorId, hint && hintId].filter(Boolean).join(" ") || void 0;
|
|
2162
2163
|
return /* @__PURE__ */ jsxs31(InputContainer, { className: cn39(Switch_default.switchGroup, Switch_default[`--size_${size}`], className), children: [
|
|
2163
2164
|
/* @__PURE__ */ jsxs31("div", { className: Switch_default.inputWrapper, children: [
|
|
2165
|
+
prefix && /* @__PURE__ */ jsx42(Label, { id, label: prefix }),
|
|
2164
2166
|
/* @__PURE__ */ jsxs31("div", { className: Switch_default.trackWrapper, children: [
|
|
2165
2167
|
/* @__PURE__ */ jsx42(
|
|
2166
2168
|
"input",
|
|
@@ -2187,7 +2189,7 @@ function Switch({
|
|
|
2187
2189
|
import { useId as useId18 } from "react";
|
|
2188
2190
|
|
|
2189
2191
|
// src/components/interaction/form/Textarea/Textarea.module.css
|
|
2190
|
-
var Textarea_default = {"formGroup":"
|
|
2192
|
+
var Textarea_default = {"formGroup":"bds0116Textarea-formGroup","textarea":"bds0116Textarea-textarea","textareaError":"bds0116Textarea-textareaError"};
|
|
2191
2193
|
|
|
2192
2194
|
// src/components/interaction/form/Textarea/Textarea.tsx
|
|
2193
2195
|
import { cn as cn40 } from "@boostdev/design-system-foundation";
|
|
@@ -2223,7 +2225,7 @@ function Textarea({
|
|
|
2223
2225
|
}
|
|
2224
2226
|
|
|
2225
2227
|
// src/components/layout/ButtonGroup/ButtonGroup.module.css
|
|
2226
|
-
var ButtonGroup_default = {"buttonGroup":"
|
|
2228
|
+
var ButtonGroup_default = {"buttonGroup":"bds0116ButtonGroup-buttonGroup","container":"bds0116ButtonGroup-container","--variant_card":"bds0116ButtonGroup---variant_card","--variant_flow":"bds0116ButtonGroup---variant_flow","--variant_modal":"bds0116ButtonGroup---variant_modal","--variant_content":"bds0116ButtonGroup---variant_content","--variant_grid":"bds0116ButtonGroup---variant_grid"};
|
|
2227
2229
|
|
|
2228
2230
|
// src/components/layout/ButtonGroup/ButtonGroup.tsx
|
|
2229
2231
|
import { cn as cn41 } from "@boostdev/design-system-foundation";
|
|
@@ -2233,7 +2235,7 @@ function ButtonGroup({ children, className, variant }) {
|
|
|
2233
2235
|
}
|
|
2234
2236
|
|
|
2235
2237
|
// src/components/layout/Card/Card.module.css
|
|
2236
|
-
var Card_default = {"card":"
|
|
2238
|
+
var Card_default = {"card":"bds0116Card-card","--default":"bds0116Card---default","--elevated":"bds0116Card---elevated","--outlined":"bds0116Card---outlined","--clickable":"bds0116Card---clickable","--padding-none":"bds0116Card---padding-none","--padding-small":"bds0116Card---padding-small","--padding-medium":"bds0116Card---padding-medium","--padding-large":"bds0116Card---padding-large","--text-start":"bds0116Card---text-start","--text-center":"bds0116Card---text-center","--text-end":"bds0116Card---text-end"};
|
|
2237
2239
|
|
|
2238
2240
|
// src/components/layout/Card/Card.tsx
|
|
2239
2241
|
import { cn as cn42 } from "@boostdev/design-system-foundation";
|
|
@@ -2271,7 +2273,7 @@ function Card({
|
|
|
2271
2273
|
}
|
|
2272
2274
|
|
|
2273
2275
|
// src/components/layout/SectionHeader/SectionHeader.module.css
|
|
2274
|
-
var SectionHeader_default = {"sectionHeader":"
|
|
2276
|
+
var SectionHeader_default = {"sectionHeader":"bds0116SectionHeader-sectionHeader","title":"bds0116SectionHeader-title","subtitle":"bds0116SectionHeader-subtitle","--start":"bds0116SectionHeader---start","--center":"bds0116SectionHeader---center","--end":"bds0116SectionHeader---end","--small":"bds0116SectionHeader---small","--medium":"bds0116SectionHeader---medium","--large":"bds0116SectionHeader---large"};
|
|
2275
2277
|
|
|
2276
2278
|
// src/components/layout/SectionHeader/SectionHeader.tsx
|
|
2277
2279
|
import { cn as cn43 } from "@boostdev/design-system-foundation";
|
|
@@ -2292,7 +2294,7 @@ function SectionHeader({
|
|
|
2292
2294
|
}
|
|
2293
2295
|
|
|
2294
2296
|
// src/components/layout/IconWrapper/IconWrapper.module.css
|
|
2295
|
-
var IconWrapper_default = {"wrapper":"
|
|
2297
|
+
var IconWrapper_default = {"wrapper":"bds0116IconWrapper-wrapper"};
|
|
2296
2298
|
|
|
2297
2299
|
// src/components/layout/IconWrapper/IconWrapper.tsx
|
|
2298
2300
|
import { cn as cn44 } from "@boostdev/design-system-foundation";
|