@boostdev/design-system-components 0.1.2 → 0.1.4
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 +4 -1
- package/README.md +19 -0
- package/dist/client.cjs +2274 -0
- package/dist/client.css +2536 -0
- package/dist/client.d.cts +453 -0
- package/dist/client.d.ts +453 -0
- package/dist/client.js +2223 -0
- package/dist/index.cjs +46 -46
- package/dist/index.css +418 -425
- package/dist/index.js +46 -46
- package/package.json +8 -3
- package/src/client.ts +1 -0
- package/src/components/layout/Card/Card.module.css +1 -1
- package/src/components/layout/IconWrapper/IconWrapper.module.css +3 -6
- package/src/components/layout/SectionHeader/SectionHeader.module.css +2 -5
- package/src/components/ui/Separator/Separator.module.css +3 -6
- package/src/components/ui/Typography/Typography.module.css +1 -4
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 = {};
|
|
5
|
+
var Accordion_default = {"accordion":"bds014-accordion","item":"bds014-item","heading":"bds014-heading","trigger":"bds014-trigger","triggerLabel":"bds014-triggerLabel","chevron":"bds014-chevron","--open":"bds014---open","panel":"bds014-panel","panelContent":"bds014-panelContent"};
|
|
6
6
|
|
|
7
7
|
// src/components/ui/Accordion/Accordion.tsx
|
|
8
8
|
import { cn } from "@boostdev/design-system-foundation";
|
|
@@ -70,7 +70,7 @@ function Accordion({
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// src/components/ui/Alert/Alert.module.css
|
|
73
|
-
var Alert_default = {};
|
|
73
|
+
var Alert_default = {"alert":"bds014-alert","--variant_info":"bds014---variant_info","--variant_success":"bds014---variant_success","--variant_warning":"bds014---variant_warning","--variant_error":"bds014---variant_error","icon":"bds014-icon","content":"bds014-content","title":"bds014-title","dismiss":"bds014-dismiss"};
|
|
74
74
|
|
|
75
75
|
// src/components/ui/Alert/Alert.tsx
|
|
76
76
|
import { cn as cn2 } from "@boostdev/design-system-foundation";
|
|
@@ -113,7 +113,7 @@ function Alert({
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
// src/components/ui/Avatar/Avatar.module.css
|
|
116
|
-
var Avatar_default = {};
|
|
116
|
+
var Avatar_default = {"avatar":"bds014-avatar","--fallback":"bds014---fallback","--size_small":"bds014---size_small","--size_medium":"bds014---size_medium","--size_large":"bds014---size_large","image":"bds014-image","initials":"bds014-initials"};
|
|
117
117
|
|
|
118
118
|
// src/components/ui/Avatar/Avatar.tsx
|
|
119
119
|
import { cn as cn3 } from "@boostdev/design-system-foundation";
|
|
@@ -139,7 +139,7 @@ function Avatar({ src, alt, name, size = "medium", className }) {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
// src/components/ui/Badge/Badge.module.css
|
|
142
|
-
var Badge_default = {};
|
|
142
|
+
var Badge_default = {"badge":"bds014-badge","--variant_primary":"bds014---variant_primary","--variant_secondary":"bds014---variant_secondary","--variant_success":"bds014---variant_success","--variant_error":"bds014---variant_error","--variant_warning":"bds014---variant_warning"};
|
|
143
143
|
|
|
144
144
|
// src/components/ui/Badge/Badge.tsx
|
|
145
145
|
import { cn as cn4 } from "@boostdev/design-system-foundation";
|
|
@@ -149,7 +149,7 @@ function Badge({ children, variant = "primary", className }) {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
// src/components/ui/Breadcrumb/Breadcrumb.module.css
|
|
152
|
-
var Breadcrumb_default = {};
|
|
152
|
+
var Breadcrumb_default = {"breadcrumb":"bds014-breadcrumb","list":"bds014-list","item":"bds014-item","link":"bds014-link","separator":"bds014-separator","current":"bds014-current"};
|
|
153
153
|
|
|
154
154
|
// src/components/ui/Breadcrumb/Breadcrumb.tsx
|
|
155
155
|
import { cn as cn5 } from "@boostdev/design-system-foundation";
|
|
@@ -168,7 +168,7 @@ function Breadcrumb({ items, className }) {
|
|
|
168
168
|
import { useState as useState2, useId as useId2 } from "react";
|
|
169
169
|
|
|
170
170
|
// src/components/ui/Calendar/Calendar.module.css
|
|
171
|
-
var Calendar_default = {};
|
|
171
|
+
var Calendar_default = {"calendar":"bds014-calendar","header":"bds014-header","monthYear":"bds014-monthYear","navBtn":"bds014-navBtn","grid":"bds014-grid","weekday":"bds014-weekday","empty":"bds014-empty","day":"bds014-day","disabled":"bds014-disabled","selected":"bds014-selected","today":"bds014-today"};
|
|
172
172
|
|
|
173
173
|
// src/components/ui/Calendar/Calendar.tsx
|
|
174
174
|
import { cn as cn6 } from "@boostdev/design-system-foundation";
|
|
@@ -331,7 +331,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
|
|
|
331
331
|
import { useRef, useId as useId3 } from "react";
|
|
332
332
|
|
|
333
333
|
// src/components/ui/Carousel/Carousel.module.css
|
|
334
|
-
var Carousel_default = {};
|
|
334
|
+
var Carousel_default = {"carousel":"bds014-carousel","track":"bds014-track","slide":"bds014-slide","navBtn":"bds014-navBtn"};
|
|
335
335
|
|
|
336
336
|
// src/components/ui/Carousel/Carousel.tsx
|
|
337
337
|
import { cn as cn7 } from "@boostdev/design-system-foundation";
|
|
@@ -384,7 +384,7 @@ function Carousel({ items, label, className }) {
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
// src/components/ui/DescriptionList/DescriptionList.module.css
|
|
387
|
-
var DescriptionList_default = {};
|
|
387
|
+
var DescriptionList_default = {"list":"bds014-list","group":"bds014-group","term":"bds014-term","details":"bds014-details","--layout_inline":"bds014---layout_inline"};
|
|
388
388
|
|
|
389
389
|
// src/components/ui/DescriptionList/DescriptionList.tsx
|
|
390
390
|
import { cn as cn8 } from "@boostdev/design-system-foundation";
|
|
@@ -397,7 +397,7 @@ function DescriptionList({ items, layout = "stacked", className }) {
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
// src/components/ui/Link/Link.module.css
|
|
400
|
-
var Link_default = {};
|
|
400
|
+
var Link_default = {"link":"bds014-link","--variant_default":"bds014---variant_default","--variant_subtle":"bds014---variant_subtle","--variant_standalone":"bds014---variant_standalone","externalLabel":"bds014-externalLabel"};
|
|
401
401
|
|
|
402
402
|
// src/components/ui/Link/Link.tsx
|
|
403
403
|
import { cn as cn9 } from "@boostdev/design-system-foundation";
|
|
@@ -427,7 +427,7 @@ function Link({
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
// src/components/ui/Loading/Loading.module.css
|
|
430
|
-
var Loading_default = {};
|
|
430
|
+
var Loading_default = {"loading":"bds014-loading","spinner":"bds014-spinner","--size_small":"bds014---size_small","--size_large":"bds014---size_large"};
|
|
431
431
|
|
|
432
432
|
// src/components/ui/Loading/Loading.tsx
|
|
433
433
|
import { cn as cn10 } from "@boostdev/design-system-foundation";
|
|
@@ -437,7 +437,7 @@ function Loading({ size = "medium", className }) {
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
// src/components/ui/NotificationBanner/NotificationBanner.module.css
|
|
440
|
-
var NotificationBanner_default = {};
|
|
440
|
+
var NotificationBanner_default = {"banner":"bds014-banner","--variant_info":"bds014---variant_info","--variant_success":"bds014---variant_success","--variant_warning":"bds014---variant_warning","--variant_error":"bds014---variant_error","content":"bds014-content","action":"bds014-action","dismiss":"bds014-dismiss"};
|
|
441
441
|
|
|
442
442
|
// src/components/ui/NotificationBanner/NotificationBanner.tsx
|
|
443
443
|
import { cn as cn11 } from "@boostdev/design-system-foundation";
|
|
@@ -476,7 +476,7 @@ function NotificationBanner({
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
// src/components/ui/Pagination/Pagination.module.css
|
|
479
|
-
var Pagination_default = {};
|
|
479
|
+
var Pagination_default = {"pagination":"bds014-pagination","list":"bds014-list","button":"bds014-button","--active":"bds014---active","--nav":"bds014---nav","ellipsis":"bds014-ellipsis"};
|
|
480
480
|
|
|
481
481
|
// src/components/ui/Pagination/Pagination.tsx
|
|
482
482
|
import { cn as cn12 } from "@boostdev/design-system-foundation";
|
|
@@ -540,7 +540,7 @@ function Pagination({
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
// src/components/ui/Progress/Progress.module.css
|
|
543
|
-
var Progress_default = {};
|
|
543
|
+
var Progress_default = {"container":"bds014-container","labelRow":"bds014-labelRow","label":"bds014-label","value":"bds014-value","track":"bds014-track","--size_small":"bds014---size_small","--size_medium":"bds014---size_medium","--size_large":"bds014---size_large","fill":"bds014-fill"};
|
|
544
544
|
|
|
545
545
|
// src/components/ui/Progress/Progress.tsx
|
|
546
546
|
import { cn as cn13 } from "@boostdev/design-system-foundation";
|
|
@@ -578,7 +578,7 @@ function Progress({
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
// src/components/ui/ProgressCircle/ProgressCircle.module.css
|
|
581
|
-
var ProgressCircle_default = {};
|
|
581
|
+
var ProgressCircle_default = {"wrapper":"bds014-wrapper","svg":"bds014-svg","track":"bds014-track","fill":"bds014-fill","value":"bds014-value","--size_small":"bds014---size_small","--size_medium":"bds014---size_medium","--size_large":"bds014---size_large"};
|
|
582
582
|
|
|
583
583
|
// src/components/ui/ProgressCircle/ProgressCircle.tsx
|
|
584
584
|
import { cn as cn14 } from "@boostdev/design-system-foundation";
|
|
@@ -657,7 +657,7 @@ function ProgressCircle({
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
// src/components/ui/Separator/Separator.module.css
|
|
660
|
-
var Separator_default = {};
|
|
660
|
+
var Separator_default = {"separator":"bds014-separator","--horizontal":"bds014---horizontal","--vertical":"bds014---vertical"};
|
|
661
661
|
|
|
662
662
|
// src/components/ui/Separator/Separator.tsx
|
|
663
663
|
import { cn as cn15 } from "@boostdev/design-system-foundation";
|
|
@@ -680,7 +680,7 @@ function Separator({ orientation = "horizontal", className }) {
|
|
|
680
680
|
import { cn as cn16 } from "@boostdev/design-system-foundation";
|
|
681
681
|
|
|
682
682
|
// src/components/ui/Skeleton/Skeleton.module.css
|
|
683
|
-
var Skeleton_default = {};
|
|
683
|
+
var Skeleton_default = {"skeleton":"bds014-skeleton"};
|
|
684
684
|
|
|
685
685
|
// src/components/ui/Skeleton/Skeleton.tsx
|
|
686
686
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
@@ -689,7 +689,7 @@ function Skeleton({ className }) {
|
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
// src/components/ui/SkipLink/SkipLink.module.css
|
|
692
|
-
var SkipLink_default = {};
|
|
692
|
+
var SkipLink_default = {"skipLink":"bds014-skipLink"};
|
|
693
693
|
|
|
694
694
|
// src/components/ui/SkipLink/SkipLink.tsx
|
|
695
695
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
@@ -698,7 +698,7 @@ function SkipLink({ href = "#main", children = "Skip to main content" }) {
|
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
// src/components/ui/Table/Table.module.css
|
|
701
|
-
var Table_default = {};
|
|
701
|
+
var Table_default = {"wrapper":"bds014-wrapper","table":"bds014-table","caption":"bds014-caption","thead":"bds014-thead","th":"bds014-th","--sortable":"bds014---sortable","sortButton":"bds014-sortButton","sortIcon":"bds014-sortIcon","--sort-active":"bds014---sort-active","--sort-desc":"bds014---sort-desc","tbody":"bds014-tbody","tr":"bds014-tr","td":"bds014-td"};
|
|
702
702
|
|
|
703
703
|
// src/components/ui/Table/Table.tsx
|
|
704
704
|
import { cn as cn17 } from "@boostdev/design-system-foundation";
|
|
@@ -767,7 +767,7 @@ function Table({
|
|
|
767
767
|
import { useId as useId4, useRef as useRef2, useState as useState3 } from "react";
|
|
768
768
|
|
|
769
769
|
// src/components/ui/Tabs/Tabs.module.css
|
|
770
|
-
var Tabs_default = {};
|
|
770
|
+
var Tabs_default = {"tabs":"bds014-tabs","tabList":"bds014-tabList","tab":"bds014-tab","--active":"bds014---active","panel":"bds014-panel"};
|
|
771
771
|
|
|
772
772
|
// src/components/ui/Tabs/Tabs.tsx
|
|
773
773
|
import { cn as cn18 } from "@boostdev/design-system-foundation";
|
|
@@ -848,7 +848,7 @@ function Tabs({ tabs, defaultTab, className }) {
|
|
|
848
848
|
import { cloneElement, isValidElement, useId as useId5 } from "react";
|
|
849
849
|
|
|
850
850
|
// src/components/ui/Tooltip/Tooltip.module.css
|
|
851
|
-
var Tooltip_default = {};
|
|
851
|
+
var Tooltip_default = {"wrapper":"bds014-wrapper","tooltip":"bds014-tooltip","--placement_top":"bds014---placement_top","--placement_bottom":"bds014---placement_bottom","--placement_left":"bds014---placement_left","--placement_right":"bds014---placement_right"};
|
|
852
852
|
|
|
853
853
|
// src/components/ui/Tooltip/Tooltip.tsx
|
|
854
854
|
import { cn as cn19 } from "@boostdev/design-system-foundation";
|
|
@@ -878,7 +878,7 @@ function Tooltip({
|
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
// src/components/ui/Typography/Typography.module.css
|
|
881
|
-
var Typography_default = {};
|
|
881
|
+
var Typography_default = {"typography":"bds014-typography","--h1":"bds014---h1","--h2":"bds014---h2","--h3":"bds014---h3","--body":"bds014---body","--body_s":"bds014---body_s"};
|
|
882
882
|
|
|
883
883
|
// src/components/ui/Typography/Typography.tsx
|
|
884
884
|
import { cn as cn20 } from "@boostdev/design-system-foundation";
|
|
@@ -896,7 +896,7 @@ function Typography({ variant = "body", component, children, className }) {
|
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
// src/components/interaction/Button/Button.module.css
|
|
899
|
-
var Button_default = {};
|
|
899
|
+
var Button_default = {"button":"bds014-button","--primary":"bds014---primary","--secondary":"bds014---secondary","--size_small":"bds014---size_small","--size_medium":"bds014---size_medium","--size_large":"bds014---size_large","--hasPulse":"bds014---hasPulse","prefix":"bds014-prefix","suffix":"bds014-suffix"};
|
|
900
900
|
|
|
901
901
|
// src/components/interaction/Button/Button.tsx
|
|
902
902
|
import { cn as cn21 } from "@boostdev/design-system-foundation";
|
|
@@ -939,7 +939,7 @@ function Button({
|
|
|
939
939
|
import { useState as useState4, useEffect, useRef as useRef3, useId as useId6, useMemo } from "react";
|
|
940
940
|
|
|
941
941
|
// src/components/interaction/Command/Command.module.css
|
|
942
|
-
var Command_default = {};
|
|
942
|
+
var Command_default = {"dialog":"bds014-dialog","palette":"bds014-palette","searchRow":"bds014-searchRow","searchIcon":"bds014-searchIcon","search":"bds014-search","escHint":"bds014-escHint","list":"bds014-list","groupList":"bds014-groupList","group":"bds014-group","item":"bds014-item","itemActive":"bds014-itemActive","itemLabel":"bds014-itemLabel","itemDesc":"bds014-itemDesc","shortcut":"bds014-shortcut","empty":"bds014-empty"};
|
|
943
943
|
|
|
944
944
|
// src/components/interaction/Command/Command.tsx
|
|
945
945
|
import { cn as cn22 } from "@boostdev/design-system-foundation";
|
|
@@ -1078,7 +1078,7 @@ function Command({
|
|
|
1078
1078
|
import { useEffect as useEffect2, useRef as useRef4 } from "react";
|
|
1079
1079
|
|
|
1080
1080
|
// src/components/interaction/Dialog/Dialog.module.css
|
|
1081
|
-
var Dialog_default = {};
|
|
1081
|
+
var Dialog_default = {"dialog":"bds014-dialog","closeForm":"bds014-closeForm","closeButton":"bds014-closeButton"};
|
|
1082
1082
|
|
|
1083
1083
|
// src/components/interaction/Dialog/Dialog.tsx
|
|
1084
1084
|
import { cn as cn23 } from "@boostdev/design-system-foundation";
|
|
@@ -1113,7 +1113,7 @@ function Dialog({ children, isVisible = false, className, handleClose }) {
|
|
|
1113
1113
|
import { useEffect as useEffect3, useRef as useRef5 } from "react";
|
|
1114
1114
|
|
|
1115
1115
|
// src/components/interaction/Drawer/Drawer.module.css
|
|
1116
|
-
var Drawer_default = {};
|
|
1116
|
+
var Drawer_default = {"drawer":"bds014-drawer","panel":"bds014-panel","--side_right":"bds014---side_right","--side_left":"bds014---side_left","header":"bds014-header","title":"bds014-title","closeButton":"bds014-closeButton","body":"bds014-body"};
|
|
1117
1117
|
|
|
1118
1118
|
// src/components/interaction/Drawer/Drawer.tsx
|
|
1119
1119
|
import { cn as cn24 } from "@boostdev/design-system-foundation";
|
|
@@ -1182,7 +1182,7 @@ import {
|
|
|
1182
1182
|
} from "react";
|
|
1183
1183
|
|
|
1184
1184
|
// src/components/interaction/DropdownMenu/DropdownMenu.module.css
|
|
1185
|
-
var DropdownMenu_default = {};
|
|
1185
|
+
var DropdownMenu_default = {"wrapper":"bds014-wrapper","menu":"bds014-menu","--placement_bottom-start":"bds014---placement_bottom-start","--placement_bottom-end":"bds014---placement_bottom-end","separator":"bds014-separator","item":"bds014-item","icon":"bds014-icon"};
|
|
1186
1186
|
|
|
1187
1187
|
// src/components/interaction/DropdownMenu/DropdownMenu.tsx
|
|
1188
1188
|
import { cn as cn25 } from "@boostdev/design-system-foundation";
|
|
@@ -1302,7 +1302,7 @@ import {
|
|
|
1302
1302
|
} from "react";
|
|
1303
1303
|
|
|
1304
1304
|
// src/components/interaction/Popover/Popover.module.css
|
|
1305
|
-
var Popover_default = {};
|
|
1305
|
+
var Popover_default = {"wrapper":"bds014-wrapper","panel":"bds014-panel","--placement_bottom":"bds014---placement_bottom","--placement_top":"bds014---placement_top","--placement_right":"bds014---placement_right","--placement_left":"bds014---placement_left"};
|
|
1306
1306
|
|
|
1307
1307
|
// src/components/interaction/Popover/Popover.tsx
|
|
1308
1308
|
import { cn as cn26 } from "@boostdev/design-system-foundation";
|
|
@@ -1358,7 +1358,7 @@ function Popover({
|
|
|
1358
1358
|
}
|
|
1359
1359
|
|
|
1360
1360
|
// src/components/interaction/Rating/Rating.module.css
|
|
1361
|
-
var Rating_default = {};
|
|
1361
|
+
var Rating_default = {"rating":"bds014-rating","star":"bds014-star","--filled":"bds014---filled"};
|
|
1362
1362
|
|
|
1363
1363
|
// src/components/interaction/Rating/Rating.tsx
|
|
1364
1364
|
import { cn as cn27 } from "@boostdev/design-system-foundation";
|
|
@@ -1389,7 +1389,7 @@ function Rating({ value, max = 5, className }) {
|
|
|
1389
1389
|
import { useState as useState7, useEffect as useEffect6, createContext, useContext, useCallback, useMemo as useMemo2 } from "react";
|
|
1390
1390
|
|
|
1391
1391
|
// src/components/interaction/Toast/Toast.module.css
|
|
1392
|
-
var Toast_default = {};
|
|
1392
|
+
var Toast_default = {"toastContainer":"bds014-toastContainer","toast":"bds014-toast","--variant_success":"bds014---variant_success","--variant_error":"bds014---variant_error","--variant_info":"bds014---variant_info"};
|
|
1393
1393
|
|
|
1394
1394
|
// src/components/interaction/Toast/Toast.tsx
|
|
1395
1395
|
import { cn as cn28 } from "@boostdev/design-system-foundation";
|
|
@@ -1436,10 +1436,10 @@ function useToast() {
|
|
|
1436
1436
|
import { useId as useId9 } from "react";
|
|
1437
1437
|
|
|
1438
1438
|
// src/components/interaction/form/Checkbox/Checkbox.module.css
|
|
1439
|
-
var Checkbox_default = {};
|
|
1439
|
+
var Checkbox_default = {"checkboxGroup":"bds014-checkboxGroup","inputWrapper":"bds014-inputWrapper","checkbox":"bds014-checkbox","checkboxError":"bds014-checkboxError"};
|
|
1440
1440
|
|
|
1441
1441
|
// src/components/interaction/form/atoms/Message.module.css
|
|
1442
|
-
var Message_default = {};
|
|
1442
|
+
var Message_default = {"error":"bds014-error","hint":"bds014-hint"};
|
|
1443
1443
|
|
|
1444
1444
|
// src/components/interaction/form/atoms/Message.tsx
|
|
1445
1445
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
@@ -1449,7 +1449,7 @@ var Message = ({ message, type, inputId }) => {
|
|
|
1449
1449
|
};
|
|
1450
1450
|
|
|
1451
1451
|
// src/components/interaction/form/atoms/Label.module.css
|
|
1452
|
-
var Label_default = {};
|
|
1452
|
+
var Label_default = {"label":"bds014-label"};
|
|
1453
1453
|
|
|
1454
1454
|
// src/components/interaction/form/atoms/Label.tsx
|
|
1455
1455
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
@@ -1461,7 +1461,7 @@ var Label = ({ label, id }) => {
|
|
|
1461
1461
|
import { cn as cn30 } from "@boostdev/design-system-foundation";
|
|
1462
1462
|
|
|
1463
1463
|
// src/components/interaction/form/atoms/InputContainer.module.css
|
|
1464
|
-
var InputContainer_default = {};
|
|
1464
|
+
var InputContainer_default = {"container":"bds014-container"};
|
|
1465
1465
|
|
|
1466
1466
|
// src/components/interaction/form/atoms/InputContainer.tsx
|
|
1467
1467
|
import { cn as cn29 } from "@boostdev/design-system-foundation";
|
|
@@ -1506,7 +1506,7 @@ import {
|
|
|
1506
1506
|
} from "react";
|
|
1507
1507
|
|
|
1508
1508
|
// src/components/interaction/form/Combobox/Combobox.module.css
|
|
1509
|
-
var Combobox_default = {};
|
|
1509
|
+
var Combobox_default = {"formGroup":"bds014-formGroup","inputWrapper":"bds014-inputWrapper","input":"bds014-input","inputError":"bds014-inputError","chevron":"bds014-chevron","listbox":"bds014-listbox","option":"bds014-option","--highlighted":"bds014---highlighted","--selected":"bds014---selected","--disabled":"bds014---disabled"};
|
|
1510
1510
|
|
|
1511
1511
|
// src/components/interaction/form/Combobox/Combobox.tsx
|
|
1512
1512
|
import { cn as cn31 } from "@boostdev/design-system-foundation";
|
|
@@ -1652,7 +1652,7 @@ function Combobox({
|
|
|
1652
1652
|
import { useId as useId11, useRef as useRef9, useState as useState9 } from "react";
|
|
1653
1653
|
|
|
1654
1654
|
// src/components/interaction/form/FileInput/FileInput.module.css
|
|
1655
|
-
var FileInput_default = {};
|
|
1655
|
+
var FileInput_default = {"formGroup":"bds014-formGroup","dropZone":"bds014-dropZone","isDragging":"bds014-isDragging","hasError":"bds014-hasError","isDisabled":"bds014-isDisabled","icon":"bds014-icon","prompt":"bds014-prompt","acceptHint":"bds014-acceptHint","hiddenInput":"bds014-hiddenInput"};
|
|
1656
1656
|
|
|
1657
1657
|
// src/components/interaction/form/FileInput/FileInput.tsx
|
|
1658
1658
|
import { cn as cn32 } from "@boostdev/design-system-foundation";
|
|
@@ -1737,7 +1737,7 @@ function FileInput({
|
|
|
1737
1737
|
import { useId as useId12 } from "react";
|
|
1738
1738
|
|
|
1739
1739
|
// src/components/interaction/form/FormInput/FormInput.module.css
|
|
1740
|
-
var FormInput_default = {};
|
|
1740
|
+
var FormInput_default = {"formGroup":"bds014-formGroup","input":"bds014-input","inputError":"bds014-inputError"};
|
|
1741
1741
|
|
|
1742
1742
|
// src/components/interaction/form/FormInput/FormInput.tsx
|
|
1743
1743
|
import { cn as cn33 } from "@boostdev/design-system-foundation";
|
|
@@ -1778,7 +1778,7 @@ function FormInput({
|
|
|
1778
1778
|
import { useId as useId13, useRef as useRef10 } from "react";
|
|
1779
1779
|
|
|
1780
1780
|
// src/components/interaction/form/NumberInput/NumberInput.module.css
|
|
1781
|
-
var NumberInput_default = {};
|
|
1781
|
+
var NumberInput_default = {"formGroup":"bds014-formGroup","inputRow":"bds014-inputRow","input":"bds014-input","inputError":"bds014-inputError","stepper":"bds014-stepper"};
|
|
1782
1782
|
|
|
1783
1783
|
// src/components/interaction/form/NumberInput/NumberInput.tsx
|
|
1784
1784
|
import { cn as cn34 } from "@boostdev/design-system-foundation";
|
|
@@ -1870,7 +1870,7 @@ function NumberInput({
|
|
|
1870
1870
|
import { useId as useId14 } from "react";
|
|
1871
1871
|
|
|
1872
1872
|
// src/components/interaction/form/Radio/Radio.module.css
|
|
1873
|
-
var Radio_default = {};
|
|
1873
|
+
var Radio_default = {"radioGroup":"bds014-radioGroup","inputWrapper":"bds014-inputWrapper","radio":"bds014-radio","radioError":"bds014-radioError"};
|
|
1874
1874
|
|
|
1875
1875
|
// src/components/interaction/form/Radio/Radio.tsx
|
|
1876
1876
|
import { cn as cn35 } from "@boostdev/design-system-foundation";
|
|
@@ -1904,7 +1904,7 @@ function Radio({ label, name, error, hint, className, ...props }) {
|
|
|
1904
1904
|
import { useId as useId15 } from "react";
|
|
1905
1905
|
|
|
1906
1906
|
// src/components/interaction/form/Select/Select.module.css
|
|
1907
|
-
var Select_default = {};
|
|
1907
|
+
var Select_default = {"formGroup":"bds014-formGroup","selectWrapper":"bds014-selectWrapper","select":"bds014-select","selectError":"bds014-selectError","chevron":"bds014-chevron"};
|
|
1908
1908
|
|
|
1909
1909
|
// src/components/interaction/form/Select/Select.tsx
|
|
1910
1910
|
import { cn as cn36 } from "@boostdev/design-system-foundation";
|
|
@@ -1952,7 +1952,7 @@ function Select({
|
|
|
1952
1952
|
import { useId as useId16, useState as useState10 } from "react";
|
|
1953
1953
|
|
|
1954
1954
|
// src/components/interaction/form/Slider/Slider.module.css
|
|
1955
|
-
var Slider_default = {};
|
|
1955
|
+
var Slider_default = {"formGroup":"bds014-formGroup","labelRow":"bds014-labelRow","value":"bds014-value","slider":"bds014-slider","sliderError":"bds014-sliderError"};
|
|
1956
1956
|
|
|
1957
1957
|
// src/components/interaction/form/Slider/Slider.tsx
|
|
1958
1958
|
import { cn as cn37 } from "@boostdev/design-system-foundation";
|
|
@@ -2012,7 +2012,7 @@ function Slider({
|
|
|
2012
2012
|
import { useId as useId17 } from "react";
|
|
2013
2013
|
|
|
2014
2014
|
// src/components/interaction/form/Switch/Switch.module.css
|
|
2015
|
-
var Switch_default = {};
|
|
2015
|
+
var Switch_default = {"switchGroup":"bds014-switchGroup","--size_small":"bds014---size_small","--size_medium":"bds014---size_medium","--size_large":"bds014---size_large","inputWrapper":"bds014-inputWrapper","trackWrapper":"bds014-trackWrapper","switch":"bds014-switch","track":"bds014-track","thumb":"bds014-thumb","switchError":"bds014-switchError"};
|
|
2016
2016
|
|
|
2017
2017
|
// src/components/interaction/form/Switch/Switch.tsx
|
|
2018
2018
|
import { cn as cn38 } from "@boostdev/design-system-foundation";
|
|
@@ -2058,7 +2058,7 @@ function Switch({
|
|
|
2058
2058
|
import { useId as useId18 } from "react";
|
|
2059
2059
|
|
|
2060
2060
|
// src/components/interaction/form/Textarea/Textarea.module.css
|
|
2061
|
-
var Textarea_default = {};
|
|
2061
|
+
var Textarea_default = {"formGroup":"bds014-formGroup","textarea":"bds014-textarea","textareaError":"bds014-textareaError"};
|
|
2062
2062
|
|
|
2063
2063
|
// src/components/interaction/form/Textarea/Textarea.tsx
|
|
2064
2064
|
import { cn as cn39 } from "@boostdev/design-system-foundation";
|
|
@@ -2094,7 +2094,7 @@ function Textarea({
|
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
2096
2096
|
// src/components/layout/ButtonGroup/ButtonGroup.module.css
|
|
2097
|
-
var ButtonGroup_default = {};
|
|
2097
|
+
var ButtonGroup_default = {"buttonGroup":"bds014-buttonGroup","container":"bds014-container","--variant__card":"bds014---variant__card","--variant__flow":"bds014---variant__flow","--variant__modal":"bds014---variant__modal","--variant__content":"bds014---variant__content","--variant__grid":"bds014---variant__grid"};
|
|
2098
2098
|
|
|
2099
2099
|
// src/components/layout/ButtonGroup/ButtonGroup.tsx
|
|
2100
2100
|
import { cn as cn40 } from "@boostdev/design-system-foundation";
|
|
@@ -2104,7 +2104,7 @@ function ButtonGroup({ children, className, variant }) {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
2106
2106
|
// src/components/layout/Card/Card.module.css
|
|
2107
|
-
var Card_default = {};
|
|
2107
|
+
var Card_default = {"card":"bds014-card","--default":"bds014---default","--elevated":"bds014---elevated","--outlined":"bds014---outlined","--clickable":"bds014---clickable","--padding-none":"bds014---padding-none","--padding-small":"bds014---padding-small","--padding-medium":"bds014---padding-medium","--padding-large":"bds014---padding-large","--text-start":"bds014---text-start","--text-center":"bds014---text-center","--text-end":"bds014---text-end"};
|
|
2108
2108
|
|
|
2109
2109
|
// src/components/layout/Card/Card.tsx
|
|
2110
2110
|
import { cn as cn41 } from "@boostdev/design-system-foundation";
|
|
@@ -2140,7 +2140,7 @@ function Card({
|
|
|
2140
2140
|
}
|
|
2141
2141
|
|
|
2142
2142
|
// src/components/layout/SectionHeader/SectionHeader.module.css
|
|
2143
|
-
var SectionHeader_default = {};
|
|
2143
|
+
var SectionHeader_default = {"sectionHeader":"bds014-sectionHeader","title":"bds014-title","subtitle":"bds014-subtitle","--start":"bds014---start","--center":"bds014---center","--end":"bds014---end","--small":"bds014---small","--medium":"bds014---medium","--large":"bds014---large"};
|
|
2144
2144
|
|
|
2145
2145
|
// src/components/layout/SectionHeader/SectionHeader.tsx
|
|
2146
2146
|
import { cn as cn42 } from "@boostdev/design-system-foundation";
|
|
@@ -2161,7 +2161,7 @@ function SectionHeader({
|
|
|
2161
2161
|
}
|
|
2162
2162
|
|
|
2163
2163
|
// src/components/layout/IconWrapper/IconWrapper.module.css
|
|
2164
|
-
var IconWrapper_default = {};
|
|
2164
|
+
var IconWrapper_default = {"wrapper":"bds014-wrapper"};
|
|
2165
2165
|
|
|
2166
2166
|
// src/components/layout/IconWrapper/IconWrapper.tsx
|
|
2167
2167
|
import { cn as cn43 } from "@boostdev/design-system-foundation";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boostdev/design-system-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "BoostDev React component library: accessible, token-driven components built on @boostdev/design-system-foundation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -30,7 +30,12 @@
|
|
|
30
30
|
"import": "./dist/index.js",
|
|
31
31
|
"require": "./dist/index.cjs"
|
|
32
32
|
},
|
|
33
|
-
"./
|
|
33
|
+
"./client": {
|
|
34
|
+
"types": "./dist/client.d.ts",
|
|
35
|
+
"import": "./dist/client.js",
|
|
36
|
+
"require": "./dist/client.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./css": "./dist/index.css",
|
|
34
39
|
"./css/accordion": "./src/components/ui/Accordion/Accordion.module.css",
|
|
35
40
|
"./css/alert": "./src/components/ui/Alert/Alert.module.css",
|
|
36
41
|
"./css/avatar": "./src/components/ui/Avatar/Avatar.module.css",
|
|
@@ -86,7 +91,7 @@
|
|
|
86
91
|
"AGENTS.md"
|
|
87
92
|
],
|
|
88
93
|
"scripts": {
|
|
89
|
-
"build": "tsup",
|
|
94
|
+
"build": "tsup && node scripts/patch-css-modules.mjs",
|
|
90
95
|
"dev": "tsup --watch",
|
|
91
96
|
"typecheck": "tsc --noEmit",
|
|
92
97
|
"lint": "eslint src",
|
package/src/client.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index';
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@layer component {
|
|
2
2
|
.wrapper {
|
|
3
|
-
--icon-wrapper-color: var(--color_bg);
|
|
4
|
-
--color_on-icon-wrapper-color: var(--color_on-bg);
|
|
5
|
-
|
|
6
3
|
width: 2em;
|
|
7
4
|
height: 2em;
|
|
8
5
|
font-size: 3em;
|
|
@@ -11,9 +8,9 @@
|
|
|
11
8
|
align-items: center;
|
|
12
9
|
justify-content: center;
|
|
13
10
|
margin: var(--space_l) auto var(--space_m);
|
|
14
|
-
background: var(--icon-wrapper-color);
|
|
15
|
-
color: var(--color_on-icon-wrapper-color);
|
|
16
|
-
fill: var(--color_on-icon-wrapper-color);
|
|
11
|
+
background: var(--icon-wrapper-color, var(--color_bg));
|
|
12
|
+
color: var(--color_on-icon-wrapper-color, var(--color_on-bg));
|
|
13
|
+
fill: var(--color_on-icon-wrapper-color, var(--color_on-bg));
|
|
17
14
|
position: relative;
|
|
18
15
|
transition: var(--animation_transition);
|
|
19
16
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@layer component {
|
|
2
2
|
.sectionHeader {
|
|
3
|
-
--sectionHeader-title-color: var(--color_on-bg);
|
|
4
|
-
--sectionHeader_subtitle-color: var(--color_grey--strong);
|
|
5
|
-
|
|
6
3
|
display: flex;
|
|
7
4
|
flex-direction: column;
|
|
8
5
|
gap: var(--space_m);
|
|
@@ -11,13 +8,13 @@
|
|
|
11
8
|
}
|
|
12
9
|
|
|
13
10
|
.title {
|
|
14
|
-
color: var(--sectionHeader-title-color);
|
|
11
|
+
color: var(--sectionHeader-title-color, var(--color_on-bg));
|
|
15
12
|
margin: 0;
|
|
16
13
|
font-family: var(--font_family--body);
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
.subtitle {
|
|
20
|
-
color: var(--sectionHeader_subtitle-color);
|
|
17
|
+
color: var(--sectionHeader_subtitle-color, var(--color_grey--strong));
|
|
21
18
|
margin: 0;
|
|
22
19
|
font-family: var(--font_family--body);
|
|
23
20
|
font-weight: var(--font_weight--medium);
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
@layer component {
|
|
2
2
|
.separator {
|
|
3
|
-
--separator_color: var(--color_border);
|
|
4
|
-
--separator_thickness: 1px;
|
|
5
|
-
|
|
6
3
|
border: none;
|
|
7
|
-
background-color: var(--separator_color);
|
|
4
|
+
background-color: var(--separator_color, var(--color_border));
|
|
8
5
|
}
|
|
9
6
|
|
|
10
7
|
.separator.--horizontal {
|
|
11
8
|
display: block;
|
|
12
9
|
width: 100%;
|
|
13
|
-
height: var(--separator_thickness);
|
|
10
|
+
height: var(--separator_thickness, 1px);
|
|
14
11
|
margin-block: var(--space_m);
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
.separator.--vertical {
|
|
18
15
|
display: inline-block;
|
|
19
|
-
width: var(--separator_thickness);
|
|
16
|
+
width: var(--separator_thickness, 1px);
|
|
20
17
|
align-self: stretch;
|
|
21
18
|
margin-inline: var(--space_m);
|
|
22
19
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
@layer component {
|
|
2
2
|
.typography {
|
|
3
|
-
/* Component token — override from a parent context or inline style */
|
|
4
|
-
--typography_color: var(--color_on-bg);
|
|
5
|
-
|
|
6
3
|
margin: 0;
|
|
7
4
|
font-family: var(--font_family--body);
|
|
8
|
-
color: var(--typography_color);
|
|
5
|
+
color: var(--typography_color, var(--color_on-bg));
|
|
9
6
|
}
|
|
10
7
|
|
|
11
8
|
.--h1 {
|