@boostdev/design-system-components 1.2.4 → 1.2.6
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 +42 -15
- package/README.md +7 -0
- package/dist/client.cjs +57 -52
- package/dist/client.css +546 -536
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +57 -52
- package/dist/index.cjs +57 -52
- package/dist/index.css +546 -536
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +57 -52
- package/dist/utils.cjs +30 -0
- package/dist/utils.d.cts +8 -0
- package/dist/utils.d.ts +8 -0
- package/dist/utils.js +5 -0
- package/package.json +10 -4
- package/src/client.ts +6 -0
- package/src/components/interaction/Button/Button.mdx +11 -3
- package/src/components/interaction/Button/Button.module.css +5 -5
- package/src/components/interaction/Command/Command.mdx +1 -0
- package/src/components/interaction/Command/Command.module.css +1 -1
- package/src/components/interaction/Drawer/Drawer.mdx +2 -0
- package/src/components/interaction/Drawer/Drawer.module.css +1 -1
- package/src/components/interaction/DropdownMenu/DropdownMenu.mdx +19 -0
- package/src/components/interaction/DropdownMenu/DropdownMenu.module.css +2 -2
- package/src/components/interaction/Rating/Rating.mdx +14 -0
- package/src/components/interaction/Rating/Rating.module.css +2 -2
- package/src/components/interaction/Toast/Toast.mdx +12 -4
- package/src/components/interaction/Toast/Toast.spec.tsx +11 -0
- package/src/components/interaction/Toast/Toast.tsx +11 -4
- package/src/components/interaction/form/Combobox/Combobox.mdx +2 -0
- package/src/components/interaction/form/Combobox/Combobox.module.css +3 -3
- package/src/components/interaction/form/FileInput/FileInput.mdx +2 -0
- package/src/components/interaction/form/FileInput/FileInput.module.css +2 -2
- package/src/components/interaction/form/NumberInput/NumberInput.mdx +4 -0
- package/src/components/interaction/form/NumberInput/NumberInput.module.css +3 -3
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.mdx +1 -0
- package/src/components/interaction/form/SegmentedControl/SegmentedControl.module.css +1 -1
- package/src/components/interaction/form/Slider/Slider.mdx +4 -0
- package/src/components/interaction/form/Slider/Slider.module.css +8 -8
- package/src/components/interaction/form/Switch/Switch.mdx +3 -0
- package/src/components/interaction/form/Switch/Switch.module.css +1 -1
- package/src/components/interaction/form/Textarea/Textarea.mdx +1 -1
- package/src/components/interaction/form/Textarea/Textarea.module.css +1 -1
- package/src/components/layout/ButtonGroup/ButtonGroup.mdx +2 -0
- package/src/components/layout/Card/Card.mdx +8 -5
- package/src/components/layout/Card/Card.module.css +4 -4
- package/src/components/layout/SectionHeader/SectionHeader.mdx +10 -2
- package/src/components/layout/SectionHeader/SectionHeader.module.css +29 -17
- package/src/components/layout/SectionHeader/SectionHeader.spec.tsx +5 -0
- package/src/components/layout/SectionHeader/SectionHeader.stories.tsx +2 -1
- package/src/components/layout/SectionHeader/SectionHeader.tsx +1 -1
- package/src/components/ui/Accordion/Accordion.mdx +1 -0
- package/src/components/ui/Accordion/Accordion.module.css +1 -1
- package/src/components/ui/Alert/Alert.mdx +6 -3
- package/src/components/ui/Alert/Alert.module.css +1 -1
- package/src/components/ui/Calendar/Calendar.mdx +5 -0
- package/src/components/ui/Calendar/Calendar.module.css +5 -5
- package/src/components/ui/Carousel/Carousel.mdx +14 -0
- package/src/components/ui/Carousel/Carousel.module.css +1 -1
- package/src/components/ui/NotificationBanner/NotificationBanner.mdx +18 -0
- package/src/components/ui/NotificationBanner/NotificationBanner.module.css +1 -1
- package/src/components/ui/Pagination/Pagination.mdx +21 -0
- package/src/components/ui/Pagination/Pagination.module.css +5 -5
- package/src/components/ui/Table/Table.mdx +2 -0
- package/src/components/ui/Table/Table.module.css +2 -2
- package/src/components/ui/Tabs/Tabs.mdx +17 -0
- package/src/components/ui/Tabs/Tabs.module.css +3 -3
- package/src/css/bdc.css +1 -0
- package/src/utils.ts +6 -0
package/dist/index.d.cts
CHANGED
|
@@ -448,7 +448,7 @@ type SectionHeaderProps = WithClassName & Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
448
448
|
title: string;
|
|
449
449
|
subtitle?: string;
|
|
450
450
|
alignment?: 'start' | 'center' | 'end';
|
|
451
|
-
size?: 'small' | 'medium' | 'large';
|
|
451
|
+
size?: 'xs' | 'small' | 'medium' | 'large';
|
|
452
452
|
titleAs?: IntrinsicElement;
|
|
453
453
|
};
|
|
454
454
|
declare function SectionHeader({ title, subtitle, className, alignment, size, titleAs, ...rest }: Readonly<SectionHeaderProps>): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -448,7 +448,7 @@ type SectionHeaderProps = WithClassName & Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
448
448
|
title: string;
|
|
449
449
|
subtitle?: string;
|
|
450
450
|
alignment?: 'start' | 'center' | 'end';
|
|
451
|
-
size?: 'small' | 'medium' | 'large';
|
|
451
|
+
size?: 'xs' | 'small' | 'medium' | 'large';
|
|
452
452
|
titleAs?: IntrinsicElement;
|
|
453
453
|
};
|
|
454
454
|
declare function SectionHeader({ title, subtitle, className, alignment, size, titleAs, ...rest }: Readonly<SectionHeaderProps>): react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useId, useState } from "react";
|
|
3
3
|
|
|
4
4
|
// src/components/ui/Accordion/Accordion.module.css
|
|
5
|
-
var Accordion_default = {"accordion":"
|
|
5
|
+
var Accordion_default = {"accordion":"bds126Accordion-accordion","item":"bds126Accordion-item","heading":"bds126Accordion-heading","trigger":"bds126Accordion-trigger","triggerLabel":"bds126Accordion-triggerLabel","chevron":"bds126Accordion-chevron","--open":"bds126Accordion---open","panel":"bds126Accordion-panel","panelContent":"bds126Accordion-panelContent"};
|
|
6
6
|
|
|
7
7
|
// src/components/ui/Accordion/Accordion.tsx
|
|
8
8
|
import { cn } from "@boostdev/design-system-foundation";
|
|
@@ -71,7 +71,7 @@ function Accordion({
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// src/components/ui/Alert/Alert.module.css
|
|
74
|
-
var Alert_default = {"alert":"
|
|
74
|
+
var Alert_default = {"alert":"bds126Alert-alert","--variant_info":"bds126Alert---variant_info","--variant_success":"bds126Alert---variant_success","--variant_warning":"bds126Alert---variant_warning","--variant_error":"bds126Alert---variant_error","icon":"bds126Alert-icon","content":"bds126Alert-content","title":"bds126Alert-title","dismiss":"bds126Alert-dismiss"};
|
|
75
75
|
|
|
76
76
|
// src/components/ui/Alert/Alert.tsx
|
|
77
77
|
import { cn as cn2 } from "@boostdev/design-system-foundation";
|
|
@@ -116,7 +116,7 @@ function Alert({
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
// src/components/ui/Avatar/Avatar.module.css
|
|
119
|
-
var Avatar_default = {"avatar":"
|
|
119
|
+
var Avatar_default = {"avatar":"bds126Avatar-avatar","--fallback":"bds126Avatar---fallback","--size_small":"bds126Avatar---size_small","--size_medium":"bds126Avatar---size_medium","--size_large":"bds126Avatar---size_large","image":"bds126Avatar-image","initials":"bds126Avatar-initials"};
|
|
120
120
|
|
|
121
121
|
// src/components/ui/Avatar/Avatar.tsx
|
|
122
122
|
import { cn as cn3 } from "@boostdev/design-system-foundation";
|
|
@@ -143,7 +143,7 @@ function Avatar({ src, alt, name, size = "medium", className, ...rest }) {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
// src/components/ui/Badge/Badge.module.css
|
|
146
|
-
var Badge_default = {"badge":"
|
|
146
|
+
var Badge_default = {"badge":"bds126Badge-badge","--variant_primary":"bds126Badge---variant_primary","--variant_secondary":"bds126Badge---variant_secondary","--variant_success":"bds126Badge---variant_success","--variant_error":"bds126Badge---variant_error","--variant_warning":"bds126Badge---variant_warning"};
|
|
147
147
|
|
|
148
148
|
// src/components/ui/Badge/Badge.tsx
|
|
149
149
|
import { cn as cn4 } from "@boostdev/design-system-foundation";
|
|
@@ -153,7 +153,7 @@ function Badge({ children, variant = "primary", className, ...rest }) {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// src/components/ui/Breadcrumb/Breadcrumb.module.css
|
|
156
|
-
var Breadcrumb_default = {"breadcrumb":"
|
|
156
|
+
var Breadcrumb_default = {"breadcrumb":"bds126Breadcrumb-breadcrumb","list":"bds126Breadcrumb-list","item":"bds126Breadcrumb-item","link":"bds126Breadcrumb-link","separator":"bds126Breadcrumb-separator","current":"bds126Breadcrumb-current"};
|
|
157
157
|
|
|
158
158
|
// src/components/ui/Breadcrumb/Breadcrumb.tsx
|
|
159
159
|
import { cn as cn5 } from "@boostdev/design-system-foundation";
|
|
@@ -169,7 +169,7 @@ function Breadcrumb({ items, className, ...rest }) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
// src/components/ui/Collapsible/Collapsible.module.css
|
|
172
|
-
var Collapsible_default = {"collapsible":"
|
|
172
|
+
var Collapsible_default = {"collapsible":"bds126Collapsible-collapsible","summary":"bds126Collapsible-summary","summaryContent":"bds126Collapsible-summaryContent","icon":"bds126Collapsible-icon","content":"bds126Collapsible-content"};
|
|
173
173
|
|
|
174
174
|
// src/components/ui/Collapsible/Collapsible.tsx
|
|
175
175
|
import { cn as cn6 } from "@boostdev/design-system-foundation";
|
|
@@ -210,7 +210,7 @@ function Collapsible({
|
|
|
210
210
|
import { useState as useState2, useId as useId2 } from "react";
|
|
211
211
|
|
|
212
212
|
// src/components/ui/Calendar/Calendar.module.css
|
|
213
|
-
var Calendar_default = {"calendar":"
|
|
213
|
+
var Calendar_default = {"calendar":"bds126Calendar-calendar","header":"bds126Calendar-header","monthYear":"bds126Calendar-monthYear","navBtn":"bds126Calendar-navBtn","grid":"bds126Calendar-grid","weekday":"bds126Calendar-weekday","empty":"bds126Calendar-empty","day":"bds126Calendar-day","disabled":"bds126Calendar-disabled","selected":"bds126Calendar-selected","today":"bds126Calendar-today"};
|
|
214
214
|
|
|
215
215
|
// src/components/ui/Calendar/Calendar.tsx
|
|
216
216
|
import { cn as cn7 } from "@boostdev/design-system-foundation";
|
|
@@ -385,7 +385,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className, ...rest
|
|
|
385
385
|
import { useRef, useId as useId3 } from "react";
|
|
386
386
|
|
|
387
387
|
// src/components/ui/Carousel/Carousel.module.css
|
|
388
|
-
var Carousel_default = {"carousel":"
|
|
388
|
+
var Carousel_default = {"carousel":"bds126Carousel-carousel","track":"bds126Carousel-track","slide":"bds126Carousel-slide","navBtn":"bds126Carousel-navBtn"};
|
|
389
389
|
|
|
390
390
|
// src/components/ui/Carousel/Carousel.tsx
|
|
391
391
|
import { cn as cn8 } from "@boostdev/design-system-foundation";
|
|
@@ -438,7 +438,7 @@ function Carousel({ items, label, className, ...rest }) {
|
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
// src/components/ui/DescriptionList/DescriptionList.module.css
|
|
441
|
-
var DescriptionList_default = {"list":"
|
|
441
|
+
var DescriptionList_default = {"list":"bds126DescriptionList-list","group":"bds126DescriptionList-group","term":"bds126DescriptionList-term","details":"bds126DescriptionList-details","--layout_inline":"bds126DescriptionList---layout_inline"};
|
|
442
442
|
|
|
443
443
|
// src/components/ui/DescriptionList/DescriptionList.tsx
|
|
444
444
|
import { cn as cn9 } from "@boostdev/design-system-foundation";
|
|
@@ -451,7 +451,7 @@ function DescriptionList({ items, layout = "stacked", className, ...rest }) {
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
// src/components/ui/Link/Link.module.css
|
|
454
|
-
var Link_default = {"link":"
|
|
454
|
+
var Link_default = {"link":"bds126Link-link","--variant_default":"bds126Link---variant_default","--variant_subtle":"bds126Link---variant_subtle","--variant_standalone":"bds126Link---variant_standalone","externalLabel":"bds126Link-externalLabel"};
|
|
455
455
|
|
|
456
456
|
// src/components/ui/Link/Link.tsx
|
|
457
457
|
import { cn as cn10 } from "@boostdev/design-system-foundation";
|
|
@@ -482,7 +482,7 @@ function Link({
|
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
// src/components/ui/Loading/Loading.module.css
|
|
485
|
-
var Loading_default = {"loading":"
|
|
485
|
+
var Loading_default = {"loading":"bds126Loading-loading","spinner":"bds126Loading-spinner","--size_small":"bds126Loading---size_small","--size_large":"bds126Loading---size_large"};
|
|
486
486
|
|
|
487
487
|
// src/components/ui/Loading/Loading.tsx
|
|
488
488
|
import { cn as cn11 } from "@boostdev/design-system-foundation";
|
|
@@ -492,7 +492,7 @@ function Loading({ size = "medium", className, ...rest }) {
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
// src/components/ui/NotificationBanner/NotificationBanner.module.css
|
|
495
|
-
var NotificationBanner_default = {"banner":"
|
|
495
|
+
var NotificationBanner_default = {"banner":"bds126NotificationBanner-banner","--variant_info":"bds126NotificationBanner---variant_info","--variant_success":"bds126NotificationBanner---variant_success","--variant_warning":"bds126NotificationBanner---variant_warning","--variant_error":"bds126NotificationBanner---variant_error","content":"bds126NotificationBanner-content","action":"bds126NotificationBanner-action","dismiss":"bds126NotificationBanner-dismiss"};
|
|
496
496
|
|
|
497
497
|
// src/components/ui/NotificationBanner/NotificationBanner.tsx
|
|
498
498
|
import { cn as cn12 } from "@boostdev/design-system-foundation";
|
|
@@ -533,7 +533,7 @@ function NotificationBanner({
|
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
// src/components/ui/Pagination/Pagination.module.css
|
|
536
|
-
var Pagination_default = {"pagination":"
|
|
536
|
+
var Pagination_default = {"pagination":"bds126Pagination-pagination","list":"bds126Pagination-list","button":"bds126Pagination-button","--active":"bds126Pagination---active","--nav":"bds126Pagination---nav","ellipsis":"bds126Pagination-ellipsis"};
|
|
537
537
|
|
|
538
538
|
// src/components/ui/Pagination/Pagination.tsx
|
|
539
539
|
import { cn as cn13 } from "@boostdev/design-system-foundation";
|
|
@@ -598,7 +598,7 @@ function Pagination({
|
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
// src/components/ui/Progress/Progress.module.css
|
|
601
|
-
var Progress_default = {"container":"
|
|
601
|
+
var Progress_default = {"container":"bds126Progress-container","labelRow":"bds126Progress-labelRow","value":"bds126Progress-value","track":"bds126Progress-track","--size_small":"bds126Progress---size_small","--size_medium":"bds126Progress---size_medium","--size_large":"bds126Progress---size_large","fill":"bds126Progress-fill"};
|
|
602
602
|
|
|
603
603
|
// src/components/ui/Progress/Progress.tsx
|
|
604
604
|
import { cn as cn14 } from "@boostdev/design-system-foundation";
|
|
@@ -637,7 +637,7 @@ function Progress({
|
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
// src/components/ui/ProgressCircle/ProgressCircle.module.css
|
|
640
|
-
var ProgressCircle_default = {"wrapper":"
|
|
640
|
+
var ProgressCircle_default = {"wrapper":"bds126ProgressCircle-wrapper","svg":"bds126ProgressCircle-svg","track":"bds126ProgressCircle-track","fill":"bds126ProgressCircle-fill","value":"bds126ProgressCircle-value","--size_small":"bds126ProgressCircle---size_small","--size_medium":"bds126ProgressCircle---size_medium","--size_large":"bds126ProgressCircle---size_large"};
|
|
641
641
|
|
|
642
642
|
// src/components/ui/ProgressCircle/ProgressCircle.tsx
|
|
643
643
|
import { cn as cn15 } from "@boostdev/design-system-foundation";
|
|
@@ -718,7 +718,7 @@ function ProgressCircle({
|
|
|
718
718
|
}
|
|
719
719
|
|
|
720
720
|
// src/components/ui/Separator/Separator.module.css
|
|
721
|
-
var Separator_default = {"separator":"
|
|
721
|
+
var Separator_default = {"separator":"bds126Separator-separator","--horizontal":"bds126Separator---horizontal","--vertical":"bds126Separator---vertical"};
|
|
722
722
|
|
|
723
723
|
// src/components/ui/Separator/Separator.tsx
|
|
724
724
|
import { cn as cn16 } from "@boostdev/design-system-foundation";
|
|
@@ -742,7 +742,7 @@ function Separator({ orientation = "horizontal", className, ...rest }) {
|
|
|
742
742
|
import { cn as cn17 } from "@boostdev/design-system-foundation";
|
|
743
743
|
|
|
744
744
|
// src/components/ui/Skeleton/Skeleton.module.css
|
|
745
|
-
var Skeleton_default = {"skeleton":"
|
|
745
|
+
var Skeleton_default = {"skeleton":"bds126Skeleton-skeleton"};
|
|
746
746
|
|
|
747
747
|
// src/components/ui/Skeleton/Skeleton.tsx
|
|
748
748
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
@@ -751,7 +751,7 @@ function Skeleton({ className, ...rest }) {
|
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
// src/components/ui/SkipLink/SkipLink.module.css
|
|
754
|
-
var SkipLink_default = {"skipLink":"
|
|
754
|
+
var SkipLink_default = {"skipLink":"bds126SkipLink-skipLink"};
|
|
755
755
|
|
|
756
756
|
// src/components/ui/SkipLink/SkipLink.tsx
|
|
757
757
|
import { cn as cn18 } from "@boostdev/design-system-foundation";
|
|
@@ -761,7 +761,7 @@ function SkipLink({ href = "#main", children = "Skip to main content", className
|
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
// src/components/ui/Table/Table.module.css
|
|
764
|
-
var Table_default = {"wrapper":"
|
|
764
|
+
var Table_default = {"wrapper":"bds126Table-wrapper","table":"bds126Table-table","caption":"bds126Table-caption","thead":"bds126Table-thead","th":"bds126Table-th","--sortable":"bds126Table---sortable","sortButton":"bds126Table-sortButton","sortIcon":"bds126Table-sortIcon","--sort-active":"bds126Table---sort-active","--sort-desc":"bds126Table---sort-desc","tbody":"bds126Table-tbody","tr":"bds126Table-tr","td":"bds126Table-td"};
|
|
765
765
|
|
|
766
766
|
// src/components/ui/Table/Table.tsx
|
|
767
767
|
import { cn as cn19 } from "@boostdev/design-system-foundation";
|
|
@@ -831,7 +831,7 @@ function Table({
|
|
|
831
831
|
import { useId as useId4, useRef as useRef2, useState as useState3 } from "react";
|
|
832
832
|
|
|
833
833
|
// src/components/ui/Tabs/Tabs.module.css
|
|
834
|
-
var Tabs_default = {"tabs":"
|
|
834
|
+
var Tabs_default = {"tabs":"bds126Tabs-tabs","tabList":"bds126Tabs-tabList","tab":"bds126Tabs-tab","--active":"bds126Tabs---active","panel":"bds126Tabs-panel"};
|
|
835
835
|
|
|
836
836
|
// src/components/ui/Tabs/Tabs.tsx
|
|
837
837
|
import { cn as cn20 } from "@boostdev/design-system-foundation";
|
|
@@ -911,7 +911,7 @@ function Tabs({ tabs, defaultTab, className, ...rest }) {
|
|
|
911
911
|
import { cloneElement, isValidElement, useId as useId5, useState as useState4 } from "react";
|
|
912
912
|
|
|
913
913
|
// src/components/ui/Tooltip/Tooltip.module.css
|
|
914
|
-
var Tooltip_default = {"wrapper":"
|
|
914
|
+
var Tooltip_default = {"wrapper":"bds126Tooltip-wrapper","tooltip":"bds126Tooltip-tooltip","--placement_top":"bds126Tooltip---placement_top","--placement_bottom":"bds126Tooltip---placement_bottom","--placement_left":"bds126Tooltip---placement_left","--placement_right":"bds126Tooltip---placement_right"};
|
|
915
915
|
|
|
916
916
|
// src/components/ui/Tooltip/Tooltip.tsx
|
|
917
917
|
import { cn as cn21 } from "@boostdev/design-system-foundation";
|
|
@@ -955,7 +955,7 @@ function Tooltip({
|
|
|
955
955
|
}
|
|
956
956
|
|
|
957
957
|
// src/components/ui/Typography/Typography.module.css
|
|
958
|
-
var Typography_default = {"typography":"
|
|
958
|
+
var Typography_default = {"typography":"bds126Typography-typography","--h1":"bds126Typography---h1","--h2":"bds126Typography---h2","--h3":"bds126Typography---h3","--body":"bds126Typography---body","--body_s":"bds126Typography---body_s"};
|
|
959
959
|
|
|
960
960
|
// src/components/ui/Typography/Typography.tsx
|
|
961
961
|
import { cn as cn22 } from "@boostdev/design-system-foundation";
|
|
@@ -973,7 +973,7 @@ function Typography({ variant = "body", component, children, className, ...rest
|
|
|
973
973
|
}
|
|
974
974
|
|
|
975
975
|
// src/components/interaction/Button/Button.module.css
|
|
976
|
-
var Button_default = {"button":"
|
|
976
|
+
var Button_default = {"button":"bds126Button-button","--default":"bds126Button---default","--outline":"bds126Button---outline","--ghost":"bds126Button---ghost","--size_small":"bds126Button---size_small","--size_medium":"bds126Button---size_medium","--size_large":"bds126Button---size_large","--hasPulse":"bds126Button---hasPulse","iconStart":"bds126Button-iconStart","iconEnd":"bds126Button-iconEnd"};
|
|
977
977
|
|
|
978
978
|
// src/components/interaction/Button/Button.tsx
|
|
979
979
|
import { cn as cn23 } from "@boostdev/design-system-foundation";
|
|
@@ -1088,7 +1088,7 @@ function installInvokerCommandsPolyfill() {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
// src/components/interaction/Command/Command.module.css
|
|
1091
|
-
var Command_default = {"dialog":"
|
|
1091
|
+
var Command_default = {"dialog":"bds126Command-dialog","palette":"bds126Command-palette","searchRow":"bds126Command-searchRow","searchIcon":"bds126Command-searchIcon","search":"bds126Command-search","escHint":"bds126Command-escHint","list":"bds126Command-list","groupList":"bds126Command-groupList","group":"bds126Command-group","item":"bds126Command-item","itemActive":"bds126Command-itemActive","itemLabel":"bds126Command-itemLabel","itemDesc":"bds126Command-itemDesc","shortcut":"bds126Command-shortcut","empty":"bds126Command-empty"};
|
|
1092
1092
|
|
|
1093
1093
|
// src/components/interaction/Command/Command.tsx
|
|
1094
1094
|
import { cn as cn24 } from "@boostdev/design-system-foundation";
|
|
@@ -1265,7 +1265,7 @@ function Command({
|
|
|
1265
1265
|
import { useEffect as useEffect2, useId as useId7, useRef as useRef4 } from "react";
|
|
1266
1266
|
|
|
1267
1267
|
// src/components/interaction/Dialog/Dialog.module.css
|
|
1268
|
-
var Dialog_default = {"dialog":"
|
|
1268
|
+
var Dialog_default = {"dialog":"bds126Dialog-dialog","dialogContent":"bds126Dialog-dialogContent","closeButton":"bds126Dialog-closeButton"};
|
|
1269
1269
|
|
|
1270
1270
|
// src/components/interaction/Dialog/Dialog.tsx
|
|
1271
1271
|
import { cn as cn25 } from "@boostdev/design-system-foundation";
|
|
@@ -1371,7 +1371,7 @@ function Dialog({ children, id: idProp, isOpen = false, className, onOpen, onClo
|
|
|
1371
1371
|
import { useEffect as useEffect3, useId as useId8, useRef as useRef5 } from "react";
|
|
1372
1372
|
|
|
1373
1373
|
// src/components/interaction/Drawer/Drawer.module.css
|
|
1374
|
-
var Drawer_default = {"drawer":"
|
|
1374
|
+
var Drawer_default = {"drawer":"bds126Drawer-drawer","--side_left":"bds126Drawer---side_left","header":"bds126Drawer-header","closeButton":"bds126Drawer-closeButton","body":"bds126Drawer-body"};
|
|
1375
1375
|
|
|
1376
1376
|
// src/components/interaction/Drawer/Drawer.tsx
|
|
1377
1377
|
import { cn as cn26 } from "@boostdev/design-system-foundation";
|
|
@@ -1479,7 +1479,7 @@ import {
|
|
|
1479
1479
|
} from "react";
|
|
1480
1480
|
|
|
1481
1481
|
// src/components/interaction/DropdownMenu/DropdownMenu.module.css
|
|
1482
|
-
var DropdownMenu_default = {"wrapper":"
|
|
1482
|
+
var DropdownMenu_default = {"wrapper":"bds126DropdownMenu-wrapper","menu":"bds126DropdownMenu-menu","--placement_bottom-start":"bds126DropdownMenu---placement_bottom-start","--placement_bottom-end":"bds126DropdownMenu---placement_bottom-end","separator":"bds126DropdownMenu-separator","item":"bds126DropdownMenu-item","icon":"bds126DropdownMenu-icon"};
|
|
1483
1483
|
|
|
1484
1484
|
// src/components/interaction/DropdownMenu/DropdownMenu.tsx
|
|
1485
1485
|
import { cn as cn27 } from "@boostdev/design-system-foundation";
|
|
@@ -1600,7 +1600,7 @@ import {
|
|
|
1600
1600
|
} from "react";
|
|
1601
1601
|
|
|
1602
1602
|
// src/components/interaction/Popover/Popover.module.css
|
|
1603
|
-
var Popover_default = {"wrapper":"
|
|
1603
|
+
var Popover_default = {"wrapper":"bds126Popover-wrapper","panel":"bds126Popover-panel","g":"bds126Popover-g"};
|
|
1604
1604
|
|
|
1605
1605
|
// src/components/interaction/Popover/Popover.tsx
|
|
1606
1606
|
import { cn as cn28 } from "@boostdev/design-system-foundation";
|
|
@@ -1685,7 +1685,7 @@ function Popover({
|
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
1687
|
// src/components/interaction/Rating/Rating.module.css
|
|
1688
|
-
var Rating_default = {"rating":"
|
|
1688
|
+
var Rating_default = {"rating":"bds126Rating-rating","star":"bds126Rating-star","--filled":"bds126Rating---filled"};
|
|
1689
1689
|
|
|
1690
1690
|
// src/components/interaction/Rating/Rating.tsx
|
|
1691
1691
|
import { cn as cn29 } from "@boostdev/design-system-foundation";
|
|
@@ -1717,13 +1717,18 @@ function Rating({ value, max = 5, className, ...rest }) {
|
|
|
1717
1717
|
import { useState as useState8, useEffect as useEffect6, createContext, useContext, useCallback, useMemo as useMemo2, useRef as useRef8 } from "react";
|
|
1718
1718
|
|
|
1719
1719
|
// src/components/interaction/Toast/Toast.module.css
|
|
1720
|
-
var Toast_default = {"toastContainer":"
|
|
1720
|
+
var Toast_default = {"toastContainer":"bds126Toast-toastContainer","toast":"bds126Toast-toast","--variant_success":"bds126Toast---variant_success","--variant_warning":"bds126Toast---variant_warning","--variant_info":"bds126Toast---variant_info","--variant_error":"bds126Toast---variant_error","message":"bds126Toast-message","closeButton":"bds126Toast-closeButton"};
|
|
1721
1721
|
|
|
1722
1722
|
// src/components/interaction/Toast/Toast.tsx
|
|
1723
1723
|
import { cn as cn30 } from "@boostdev/design-system-foundation";
|
|
1724
1724
|
import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1725
|
-
var
|
|
1725
|
+
var _ToastContext;
|
|
1726
|
+
function getToastContext() {
|
|
1727
|
+
_ToastContext ??= createContext(void 0);
|
|
1728
|
+
return _ToastContext;
|
|
1729
|
+
}
|
|
1726
1730
|
function ToastProvider({ children }) {
|
|
1731
|
+
const ToastContext = getToastContext();
|
|
1727
1732
|
const [toasts, setToasts] = useState8([]);
|
|
1728
1733
|
const containerRef = useRef8(null);
|
|
1729
1734
|
const showToast = useCallback((message, variant) => {
|
|
@@ -1779,7 +1784,7 @@ function ToastItem({ toast, onRemove }) {
|
|
|
1779
1784
|
] });
|
|
1780
1785
|
}
|
|
1781
1786
|
function useToast() {
|
|
1782
|
-
const context = useContext(
|
|
1787
|
+
const context = useContext(getToastContext());
|
|
1783
1788
|
if (!context) {
|
|
1784
1789
|
throw new Error("useToast must be used within a ToastProvider");
|
|
1785
1790
|
}
|
|
@@ -1790,10 +1795,10 @@ function useToast() {
|
|
|
1790
1795
|
import { useId as useId11 } from "react";
|
|
1791
1796
|
|
|
1792
1797
|
// src/components/interaction/form/Checkbox/Checkbox.module.css
|
|
1793
|
-
var Checkbox_default = {"checkboxGroup":"
|
|
1798
|
+
var Checkbox_default = {"checkboxGroup":"bds126Checkbox-checkboxGroup","inputWrapper":"bds126Checkbox-inputWrapper","checkbox":"bds126Checkbox-checkbox","checkboxError":"bds126Checkbox-checkboxError"};
|
|
1794
1799
|
|
|
1795
1800
|
// src/components/interaction/form/atoms/Message.module.css
|
|
1796
|
-
var Message_default = {"error":"
|
|
1801
|
+
var Message_default = {"error":"bds126Message-error","hint":"bds126Message-hint"};
|
|
1797
1802
|
|
|
1798
1803
|
// src/components/interaction/form/atoms/Message.tsx
|
|
1799
1804
|
import { cn as cn31 } from "@boostdev/design-system-foundation";
|
|
@@ -1804,7 +1809,7 @@ var Message = ({ message, type, inputId, className }) => {
|
|
|
1804
1809
|
};
|
|
1805
1810
|
|
|
1806
1811
|
// src/components/interaction/form/atoms/Label.module.css
|
|
1807
|
-
var Label_default = {"label":"
|
|
1812
|
+
var Label_default = {"label":"bds126Label-label"};
|
|
1808
1813
|
|
|
1809
1814
|
// src/components/interaction/form/atoms/Label.tsx
|
|
1810
1815
|
import { cn as cn32 } from "@boostdev/design-system-foundation";
|
|
@@ -1817,7 +1822,7 @@ var Label = ({ label, id, className }) => {
|
|
|
1817
1822
|
import { cn as cn34 } from "@boostdev/design-system-foundation";
|
|
1818
1823
|
|
|
1819
1824
|
// src/components/interaction/form/atoms/InputContainer.module.css
|
|
1820
|
-
var InputContainer_default = {"container":"
|
|
1825
|
+
var InputContainer_default = {"container":"bds126InputContainer-container"};
|
|
1821
1826
|
|
|
1822
1827
|
// src/components/interaction/form/atoms/InputContainer.tsx
|
|
1823
1828
|
import { cn as cn33 } from "@boostdev/design-system-foundation";
|
|
@@ -1858,7 +1863,7 @@ function Checkbox({ label, name, error, hint, className, ...props }) {
|
|
|
1858
1863
|
import { useId as useId12 } from "react";
|
|
1859
1864
|
|
|
1860
1865
|
// src/components/interaction/form/CheckboxGroup/CheckboxGroup.module.css
|
|
1861
|
-
var CheckboxGroup_default = {"group":"
|
|
1866
|
+
var CheckboxGroup_default = {"group":"bds126CheckboxGroup-group","legend":"bds126CheckboxGroup-legend","required":"bds126CheckboxGroup-required","items":"bds126CheckboxGroup-items"};
|
|
1862
1867
|
|
|
1863
1868
|
// src/components/interaction/form/CheckboxGroup/CheckboxGroup.tsx
|
|
1864
1869
|
import { cn as cn35 } from "@boostdev/design-system-foundation";
|
|
@@ -1906,7 +1911,7 @@ import {
|
|
|
1906
1911
|
} from "react";
|
|
1907
1912
|
|
|
1908
1913
|
// src/components/interaction/form/Combobox/Combobox.module.css
|
|
1909
|
-
var Combobox_default = {"formGroup":"
|
|
1914
|
+
var Combobox_default = {"formGroup":"bds126Combobox-formGroup","inputWrapper":"bds126Combobox-inputWrapper","input":"bds126Combobox-input","inputError":"bds126Combobox-inputError","chevron":"bds126Combobox-chevron","listbox":"bds126Combobox-listbox","option":"bds126Combobox-option","--highlighted":"bds126Combobox---highlighted","--selected":"bds126Combobox---selected","--disabled":"bds126Combobox---disabled"};
|
|
1910
1915
|
|
|
1911
1916
|
// src/components/interaction/form/Combobox/Combobox.tsx
|
|
1912
1917
|
import { cn as cn36 } from "@boostdev/design-system-foundation";
|
|
@@ -2057,7 +2062,7 @@ function Combobox({
|
|
|
2057
2062
|
import { useId as useId14, useRef as useRef10, useState as useState10 } from "react";
|
|
2058
2063
|
|
|
2059
2064
|
// src/components/interaction/form/FileInput/FileInput.module.css
|
|
2060
|
-
var FileInput_default = {"formGroup":"
|
|
2065
|
+
var FileInput_default = {"formGroup":"bds126FileInput-formGroup","fieldLabel":"bds126FileInput-fieldLabel","dropZone":"bds126FileInput-dropZone","isDragging":"bds126FileInput-isDragging","hasError":"bds126FileInput-hasError","isDisabled":"bds126FileInput-isDisabled","icon":"bds126FileInput-icon","prompt":"bds126FileInput-prompt","acceptHint":"bds126FileInput-acceptHint","hiddenInput":"bds126FileInput-hiddenInput"};
|
|
2061
2066
|
|
|
2062
2067
|
// src/components/interaction/form/FileInput/FileInput.tsx
|
|
2063
2068
|
import { cn as cn37 } from "@boostdev/design-system-foundation";
|
|
@@ -2158,7 +2163,7 @@ function FileInput({
|
|
|
2158
2163
|
import { useId as useId15 } from "react";
|
|
2159
2164
|
|
|
2160
2165
|
// src/components/interaction/form/FormInput/FormInput.module.css
|
|
2161
|
-
var FormInput_default = {"formGroup":"
|
|
2166
|
+
var FormInput_default = {"formGroup":"bds126FormInput-formGroup","input":"bds126FormInput-input","inputError":"bds126FormInput-inputError"};
|
|
2162
2167
|
|
|
2163
2168
|
// src/components/interaction/form/FormInput/FormInput.tsx
|
|
2164
2169
|
import { cn as cn38 } from "@boostdev/design-system-foundation";
|
|
@@ -2202,7 +2207,7 @@ function FormInput({
|
|
|
2202
2207
|
import { useId as useId16, useRef as useRef11, useState as useState11 } from "react";
|
|
2203
2208
|
|
|
2204
2209
|
// src/components/interaction/form/NumberInput/NumberInput.module.css
|
|
2205
|
-
var NumberInput_default = {"formGroup":"
|
|
2210
|
+
var NumberInput_default = {"formGroup":"bds126NumberInput-formGroup","inputRow":"bds126NumberInput-inputRow","input":"bds126NumberInput-input","inputError":"bds126NumberInput-inputError","stepper":"bds126NumberInput-stepper"};
|
|
2206
2211
|
|
|
2207
2212
|
// src/components/interaction/form/NumberInput/NumberInput.tsx
|
|
2208
2213
|
import { cn as cn39 } from "@boostdev/design-system-foundation";
|
|
@@ -2307,7 +2312,7 @@ function NumberInput({
|
|
|
2307
2312
|
import { useId as useId17 } from "react";
|
|
2308
2313
|
|
|
2309
2314
|
// src/components/interaction/form/Radio/Radio.module.css
|
|
2310
|
-
var Radio_default = {"radioGroup":"
|
|
2315
|
+
var Radio_default = {"radioGroup":"bds126Radio-radioGroup","inputWrapper":"bds126Radio-inputWrapper","textWrapper":"bds126Radio-textWrapper","description":"bds126Radio-description","radio":"bds126Radio-radio","radioError":"bds126Radio-radioError"};
|
|
2311
2316
|
|
|
2312
2317
|
// src/components/interaction/form/Radio/Radio.tsx
|
|
2313
2318
|
import { cn as cn40 } from "@boostdev/design-system-foundation";
|
|
@@ -2345,7 +2350,7 @@ function Radio({ label, name, description, error, hint, className, ...props }) {
|
|
|
2345
2350
|
import { useId as useId18 } from "react";
|
|
2346
2351
|
|
|
2347
2352
|
// src/components/interaction/form/RadioGroup/RadioGroup.module.css
|
|
2348
|
-
var RadioGroup_default = {"group":"
|
|
2353
|
+
var RadioGroup_default = {"group":"bds126RadioGroup-group","legend":"bds126RadioGroup-legend","required":"bds126RadioGroup-required","items":"bds126RadioGroup-items"};
|
|
2349
2354
|
|
|
2350
2355
|
// src/components/interaction/form/RadioGroup/RadioGroup.tsx
|
|
2351
2356
|
import { cn as cn41 } from "@boostdev/design-system-foundation";
|
|
@@ -2387,7 +2392,7 @@ function RadioGroup({
|
|
|
2387
2392
|
import { Children, cloneElement as cloneElement4, isValidElement as isValidElement4 } from "react";
|
|
2388
2393
|
|
|
2389
2394
|
// src/components/interaction/form/SegmentedControl/SegmentedControl.module.css
|
|
2390
|
-
var SegmentedControl_default = {"control":"
|
|
2395
|
+
var SegmentedControl_default = {"control":"bds126SegmentedControl-control","thumb":"bds126SegmentedControl-thumb","indicator":"bds126SegmentedControl-indicator","item":"bds126SegmentedControl-item","--active":"bds126SegmentedControl---active","--disabled":"bds126SegmentedControl---disabled","--size_small":"bds126SegmentedControl---size_small","--size_large":"bds126SegmentedControl---size_large","--variant_outline":"bds126SegmentedControl---variant_outline"};
|
|
2391
2396
|
|
|
2392
2397
|
// src/components/interaction/form/SegmentedControl/SegmentedControl.tsx
|
|
2393
2398
|
import { cn as cn42 } from "@boostdev/design-system-foundation";
|
|
@@ -2443,7 +2448,7 @@ function SegmentedControl({
|
|
|
2443
2448
|
import { useId as useId19 } from "react";
|
|
2444
2449
|
|
|
2445
2450
|
// src/components/interaction/form/Select/Select.module.css
|
|
2446
|
-
var Select_default = {"formGroup":"
|
|
2451
|
+
var Select_default = {"formGroup":"bds126Select-formGroup","selectWrapper":"bds126Select-selectWrapper","select":"bds126Select-select","selectError":"bds126Select-selectError","chevron":"bds126Select-chevron"};
|
|
2447
2452
|
|
|
2448
2453
|
// src/components/interaction/form/Select/Select.tsx
|
|
2449
2454
|
import { cn as cn43 } from "@boostdev/design-system-foundation";
|
|
@@ -2494,7 +2499,7 @@ function Select({
|
|
|
2494
2499
|
import { useId as useId20, useState as useState12 } from "react";
|
|
2495
2500
|
|
|
2496
2501
|
// src/components/interaction/form/Slider/Slider.module.css
|
|
2497
|
-
var Slider_default = {"formGroup":"
|
|
2502
|
+
var Slider_default = {"formGroup":"bds126Slider-formGroup","labelRow":"bds126Slider-labelRow","value":"bds126Slider-value","slider":"bds126Slider-slider","sliderError":"bds126Slider-sliderError"};
|
|
2498
2503
|
|
|
2499
2504
|
// src/components/interaction/form/Slider/Slider.tsx
|
|
2500
2505
|
import { cn as cn44 } from "@boostdev/design-system-foundation";
|
|
@@ -2556,7 +2561,7 @@ function Slider({
|
|
|
2556
2561
|
import { useId as useId21 } from "react";
|
|
2557
2562
|
|
|
2558
2563
|
// src/components/interaction/form/Switch/Switch.module.css
|
|
2559
|
-
var Switch_default = {"switchGroup":"
|
|
2564
|
+
var Switch_default = {"switchGroup":"bds126Switch-switchGroup","--size_small":"bds126Switch---size_small","--size_medium":"bds126Switch---size_medium","--size_large":"bds126Switch---size_large","inputWrapper":"bds126Switch-inputWrapper","trackWrapper":"bds126Switch-trackWrapper","switch":"bds126Switch-switch","track":"bds126Switch-track","thumb":"bds126Switch-thumb","switchError":"bds126Switch-switchError"};
|
|
2560
2565
|
|
|
2561
2566
|
// src/components/interaction/form/Switch/Switch.tsx
|
|
2562
2567
|
import { cn as cn45 } from "@boostdev/design-system-foundation";
|
|
@@ -2604,7 +2609,7 @@ function Switch({
|
|
|
2604
2609
|
import { useId as useId22 } from "react";
|
|
2605
2610
|
|
|
2606
2611
|
// src/components/interaction/form/Textarea/Textarea.module.css
|
|
2607
|
-
var Textarea_default = {"formGroup":"
|
|
2612
|
+
var Textarea_default = {"formGroup":"bds126Textarea-formGroup","textarea":"bds126Textarea-textarea","textareaError":"bds126Textarea-textareaError"};
|
|
2608
2613
|
|
|
2609
2614
|
// src/components/interaction/form/Textarea/Textarea.tsx
|
|
2610
2615
|
import { cn as cn46 } from "@boostdev/design-system-foundation";
|
|
@@ -2643,7 +2648,7 @@ function Textarea({
|
|
|
2643
2648
|
}
|
|
2644
2649
|
|
|
2645
2650
|
// src/components/layout/ButtonGroup/ButtonGroup.module.css
|
|
2646
|
-
var ButtonGroup_default = {"buttonGroup":"
|
|
2651
|
+
var ButtonGroup_default = {"buttonGroup":"bds126ButtonGroup-buttonGroup","container":"bds126ButtonGroup-container","--variant_card":"bds126ButtonGroup---variant_card","--variant_flow":"bds126ButtonGroup---variant_flow","--variant_modal":"bds126ButtonGroup---variant_modal","--variant_content":"bds126ButtonGroup---variant_content","--variant_grid":"bds126ButtonGroup---variant_grid"};
|
|
2647
2652
|
|
|
2648
2653
|
// src/components/layout/ButtonGroup/ButtonGroup.tsx
|
|
2649
2654
|
import { cn as cn47 } from "@boostdev/design-system-foundation";
|
|
@@ -2661,7 +2666,7 @@ function ButtonGroup({ children, className, variant, ...rest }) {
|
|
|
2661
2666
|
}
|
|
2662
2667
|
|
|
2663
2668
|
// src/components/layout/Card/Card.module.css
|
|
2664
|
-
var Card_default = {"card":"
|
|
2669
|
+
var Card_default = {"card":"bds126Card-card","--default":"bds126Card---default","--elevated":"bds126Card---elevated","--outlined":"bds126Card---outlined","--clickable":"bds126Card---clickable","--padding-none":"bds126Card---padding-none","--padding-small":"bds126Card---padding-small","--padding-medium":"bds126Card---padding-medium","--padding-large":"bds126Card---padding-large","--text-start":"bds126Card---text-start","--text-center":"bds126Card---text-center","--text-end":"bds126Card---text-end"};
|
|
2665
2670
|
|
|
2666
2671
|
// src/components/layout/Card/Card.tsx
|
|
2667
2672
|
import { cn as cn48 } from "@boostdev/design-system-foundation";
|
|
@@ -2697,7 +2702,7 @@ function Card({
|
|
|
2697
2702
|
}
|
|
2698
2703
|
|
|
2699
2704
|
// src/components/layout/SectionHeader/SectionHeader.module.css
|
|
2700
|
-
var SectionHeader_default = {"sectionHeader":"
|
|
2705
|
+
var SectionHeader_default = {"sectionHeader":"bds126SectionHeader-sectionHeader","title":"bds126SectionHeader-title","subtitle":"bds126SectionHeader-subtitle","--start":"bds126SectionHeader---start","--center":"bds126SectionHeader---center","--end":"bds126SectionHeader---end","--medium":"bds126SectionHeader---medium","--xs":"bds126SectionHeader---xs","--small":"bds126SectionHeader---small","--large":"bds126SectionHeader---large"};
|
|
2701
2706
|
|
|
2702
2707
|
// src/components/layout/SectionHeader/SectionHeader.tsx
|
|
2703
2708
|
import { cn as cn49 } from "@boostdev/design-system-foundation";
|
|
@@ -2719,7 +2724,7 @@ function SectionHeader({
|
|
|
2719
2724
|
}
|
|
2720
2725
|
|
|
2721
2726
|
// src/components/layout/IconWrapper/IconWrapper.module.css
|
|
2722
|
-
var IconWrapper_default = {"wrapper":"
|
|
2727
|
+
var IconWrapper_default = {"wrapper":"bds126IconWrapper-wrapper"};
|
|
2723
2728
|
|
|
2724
2729
|
// src/components/layout/IconWrapper/IconWrapper.tsx
|
|
2725
2730
|
import { cn as cn50 } from "@boostdev/design-system-foundation";
|
package/dist/utils.cjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utils.ts
|
|
21
|
+
var utils_exports = {};
|
|
22
|
+
__export(utils_exports, {
|
|
23
|
+
cn: () => import_design_system_foundation.cn
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(utils_exports);
|
|
26
|
+
var import_design_system_foundation = require("@boostdev/design-system-foundation");
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
cn
|
|
30
|
+
});
|
package/dist/utils.d.cts
ADDED
package/dist/utils.d.ts
ADDED
package/dist/utils.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boostdev/design-system-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "BoostDev React component library: accessible, token-driven components built on @boostdev/design-system-foundation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -36,6 +36,11 @@
|
|
|
36
36
|
"import": "./dist/client.js",
|
|
37
37
|
"require": "./dist/client.cjs"
|
|
38
38
|
},
|
|
39
|
+
"./utils": {
|
|
40
|
+
"types": "./dist/utils.d.ts",
|
|
41
|
+
"import": "./dist/utils.js",
|
|
42
|
+
"require": "./dist/utils.cjs"
|
|
43
|
+
},
|
|
39
44
|
"./web-components": {
|
|
40
45
|
"types": "./dist/web-components/index.d.ts",
|
|
41
46
|
"import": "./dist/web-components/index.js"
|
|
@@ -279,7 +284,7 @@
|
|
|
279
284
|
"changelog:unreleased": "pnpm exec git-cliff --unreleased"
|
|
280
285
|
},
|
|
281
286
|
"devDependencies": {
|
|
282
|
-
"@boostdev/design-system-foundation": "^1.0.
|
|
287
|
+
"@boostdev/design-system-foundation": "^1.0.6",
|
|
283
288
|
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
284
289
|
"@storybook/addon-docs": "8.6.14",
|
|
285
290
|
"@storybook/addon-essentials": "^8.6.14",
|
|
@@ -310,10 +315,11 @@
|
|
|
310
315
|
"typescript": "^5.8",
|
|
311
316
|
"typescript-eslint": "^8",
|
|
312
317
|
"vite": "^5.4.21",
|
|
313
|
-
"vitest": "^3"
|
|
318
|
+
"vitest": "^3",
|
|
319
|
+
"zod": "^4.3.6"
|
|
314
320
|
},
|
|
315
321
|
"peerDependencies": {
|
|
316
|
-
"@boostdev/design-system-foundation": ">=1.0.
|
|
322
|
+
"@boostdev/design-system-foundation": ">=1.0.6",
|
|
317
323
|
"react": ">=18",
|
|
318
324
|
"react-dom": ">=18",
|
|
319
325
|
"react-native": ">=0.70"
|