@boostdev/design-system-components 0.1.6 → 0.1.8
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 +51 -46
- package/dist/client.css +414 -416
- package/dist/client.js +51 -46
- package/dist/index.cjs +51 -46
- package/dist/index.css +414 -416
- package/dist/index.js +51 -46
- package/package.json +5 -3
- package/src/components/interaction/Dialog/Dialog.module.css +4 -1
- package/src/components/interaction/Dialog/Dialog.tsx +5 -0
- package/src/components/interaction/form/Checkbox/Checkbox.module.css +0 -1
- package/src/components/interaction/form/Switch/Switch.module.css +0 -1
- package/src/components/layout/SectionHeader/SectionHeader.module.css +0 -1
- package/src/components/ui/Separator/Separator.module.css +0 -2
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":"bds018-accordion","item":"bds018-item","heading":"bds018-heading","trigger":"bds018-trigger","triggerLabel":"bds018-triggerLabel","chevron":"bds018-chevron","--open":"bds018---open","panel":"bds018-panel","panelContent":"bds018-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 = {"alert":"
|
|
73
|
+
var Alert_default = {"alert":"bds018-alert","--variant_info":"bds018---variant_info","--variant_success":"bds018---variant_success","--variant_warning":"bds018---variant_warning","--variant_error":"bds018---variant_error","icon":"bds018-icon","content":"bds018-content","title":"bds018-title","dismiss":"bds018-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 = {"avatar":"
|
|
116
|
+
var Avatar_default = {"avatar":"bds018-avatar","--fallback":"bds018---fallback","--size_small":"bds018---size_small","--size_medium":"bds018---size_medium","--size_large":"bds018---size_large","image":"bds018-image","initials":"bds018-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 = {"badge":"
|
|
142
|
+
var Badge_default = {"badge":"bds018-badge","--variant_primary":"bds018---variant_primary","--variant_secondary":"bds018---variant_secondary","--variant_success":"bds018---variant_success","--variant_error":"bds018---variant_error","--variant_warning":"bds018---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 = {"breadcrumb":"
|
|
152
|
+
var Breadcrumb_default = {"breadcrumb":"bds018-breadcrumb","list":"bds018-list","item":"bds018-item","link":"bds018-link","separator":"bds018-separator","current":"bds018-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 = {"calendar":"
|
|
171
|
+
var Calendar_default = {"calendar":"bds018-calendar","header":"bds018-header","monthYear":"bds018-monthYear","navBtn":"bds018-navBtn","grid":"bds018-grid","weekday":"bds018-weekday","empty":"bds018-empty","day":"bds018-day","disabled":"bds018-disabled","selected":"bds018-selected","today":"bds018-today"};
|
|
172
172
|
|
|
173
173
|
// src/components/ui/Calendar/Calendar.tsx
|
|
174
174
|
import { cn as cn6 } from "@boostdev/design-system-foundation";
|
|
@@ -334,7 +334,7 @@ function Calendar({ value, defaultValue, min, max, onChange, className }) {
|
|
|
334
334
|
import { useRef, useId as useId3 } from "react";
|
|
335
335
|
|
|
336
336
|
// src/components/ui/Carousel/Carousel.module.css
|
|
337
|
-
var Carousel_default = {"carousel":"
|
|
337
|
+
var Carousel_default = {"carousel":"bds018-carousel","track":"bds018-track","slide":"bds018-slide","navBtn":"bds018-navBtn"};
|
|
338
338
|
|
|
339
339
|
// src/components/ui/Carousel/Carousel.tsx
|
|
340
340
|
import { cn as cn7 } from "@boostdev/design-system-foundation";
|
|
@@ -387,7 +387,7 @@ function Carousel({ items, label, className }) {
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
// src/components/ui/DescriptionList/DescriptionList.module.css
|
|
390
|
-
var DescriptionList_default = {"list":"
|
|
390
|
+
var DescriptionList_default = {"list":"bds018-list","group":"bds018-group","term":"bds018-term","details":"bds018-details","--layout_inline":"bds018---layout_inline"};
|
|
391
391
|
|
|
392
392
|
// src/components/ui/DescriptionList/DescriptionList.tsx
|
|
393
393
|
import { cn as cn8 } from "@boostdev/design-system-foundation";
|
|
@@ -400,7 +400,7 @@ function DescriptionList({ items, layout = "stacked", className }) {
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
// src/components/ui/Link/Link.module.css
|
|
403
|
-
var Link_default = {"link":"
|
|
403
|
+
var Link_default = {"link":"bds018-link","--variant_default":"bds018---variant_default","--variant_subtle":"bds018---variant_subtle","--variant_standalone":"bds018---variant_standalone","externalLabel":"bds018-externalLabel"};
|
|
404
404
|
|
|
405
405
|
// src/components/ui/Link/Link.tsx
|
|
406
406
|
import { cn as cn9 } from "@boostdev/design-system-foundation";
|
|
@@ -431,7 +431,7 @@ function Link({
|
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
// src/components/ui/Loading/Loading.module.css
|
|
434
|
-
var Loading_default = {"loading":"
|
|
434
|
+
var Loading_default = {"loading":"bds018-loading","spinner":"bds018-spinner","--size_small":"bds018---size_small","--size_large":"bds018---size_large"};
|
|
435
435
|
|
|
436
436
|
// src/components/ui/Loading/Loading.tsx
|
|
437
437
|
import { cn as cn10 } from "@boostdev/design-system-foundation";
|
|
@@ -441,7 +441,7 @@ function Loading({ size = "medium", className }) {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
// src/components/ui/NotificationBanner/NotificationBanner.module.css
|
|
444
|
-
var NotificationBanner_default = {"banner":"
|
|
444
|
+
var NotificationBanner_default = {"banner":"bds018-banner","--variant_info":"bds018---variant_info","--variant_success":"bds018---variant_success","--variant_warning":"bds018---variant_warning","--variant_error":"bds018---variant_error","content":"bds018-content","action":"bds018-action","dismiss":"bds018-dismiss"};
|
|
445
445
|
|
|
446
446
|
// src/components/ui/NotificationBanner/NotificationBanner.tsx
|
|
447
447
|
import { cn as cn11 } from "@boostdev/design-system-foundation";
|
|
@@ -480,7 +480,7 @@ function NotificationBanner({
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
// src/components/ui/Pagination/Pagination.module.css
|
|
483
|
-
var Pagination_default = {"pagination":"
|
|
483
|
+
var Pagination_default = {"pagination":"bds018-pagination","list":"bds018-list","button":"bds018-button","--active":"bds018---active","--nav":"bds018---nav","ellipsis":"bds018-ellipsis"};
|
|
484
484
|
|
|
485
485
|
// src/components/ui/Pagination/Pagination.tsx
|
|
486
486
|
import { cn as cn12 } from "@boostdev/design-system-foundation";
|
|
@@ -544,7 +544,7 @@ function Pagination({
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
// src/components/ui/Progress/Progress.module.css
|
|
547
|
-
var Progress_default = {"container":"
|
|
547
|
+
var Progress_default = {"container":"bds018-container","labelRow":"bds018-labelRow","label":"bds018-label","value":"bds018-value","track":"bds018-track","--size_small":"bds018---size_small","--size_medium":"bds018---size_medium","--size_large":"bds018---size_large","fill":"bds018-fill"};
|
|
548
548
|
|
|
549
549
|
// src/components/ui/Progress/Progress.tsx
|
|
550
550
|
import { cn as cn13 } from "@boostdev/design-system-foundation";
|
|
@@ -582,7 +582,7 @@ function Progress({
|
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
// src/components/ui/ProgressCircle/ProgressCircle.module.css
|
|
585
|
-
var ProgressCircle_default = {"wrapper":"
|
|
585
|
+
var ProgressCircle_default = {"wrapper":"bds018-wrapper","svg":"bds018-svg","track":"bds018-track","fill":"bds018-fill","value":"bds018-value","--size_small":"bds018---size_small","--size_medium":"bds018---size_medium","--size_large":"bds018---size_large"};
|
|
586
586
|
|
|
587
587
|
// src/components/ui/ProgressCircle/ProgressCircle.tsx
|
|
588
588
|
import { cn as cn14 } from "@boostdev/design-system-foundation";
|
|
@@ -661,7 +661,7 @@ function ProgressCircle({
|
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
// src/components/ui/Separator/Separator.module.css
|
|
664
|
-
var Separator_default = {"separator":"
|
|
664
|
+
var Separator_default = {"separator":"bds018-separator","--horizontal":"bds018---horizontal","--vertical":"bds018---vertical"};
|
|
665
665
|
|
|
666
666
|
// src/components/ui/Separator/Separator.tsx
|
|
667
667
|
import { cn as cn15 } from "@boostdev/design-system-foundation";
|
|
@@ -684,7 +684,7 @@ function Separator({ orientation = "horizontal", className }) {
|
|
|
684
684
|
import { cn as cn16 } from "@boostdev/design-system-foundation";
|
|
685
685
|
|
|
686
686
|
// src/components/ui/Skeleton/Skeleton.module.css
|
|
687
|
-
var Skeleton_default = {"skeleton":"
|
|
687
|
+
var Skeleton_default = {"skeleton":"bds018-skeleton"};
|
|
688
688
|
|
|
689
689
|
// src/components/ui/Skeleton/Skeleton.tsx
|
|
690
690
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
@@ -693,7 +693,7 @@ function Skeleton({ className }) {
|
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
// src/components/ui/SkipLink/SkipLink.module.css
|
|
696
|
-
var SkipLink_default = {"skipLink":"
|
|
696
|
+
var SkipLink_default = {"skipLink":"bds018-skipLink"};
|
|
697
697
|
|
|
698
698
|
// src/components/ui/SkipLink/SkipLink.tsx
|
|
699
699
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
@@ -702,7 +702,7 @@ function SkipLink({ href = "#main", children = "Skip to main content" }) {
|
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
// src/components/ui/Table/Table.module.css
|
|
705
|
-
var Table_default = {"wrapper":"
|
|
705
|
+
var Table_default = {"wrapper":"bds018-wrapper","table":"bds018-table","caption":"bds018-caption","thead":"bds018-thead","th":"bds018-th","--sortable":"bds018---sortable","sortButton":"bds018-sortButton","sortIcon":"bds018-sortIcon","--sort-active":"bds018---sort-active","--sort-desc":"bds018---sort-desc","tbody":"bds018-tbody","tr":"bds018-tr","td":"bds018-td"};
|
|
706
706
|
|
|
707
707
|
// src/components/ui/Table/Table.tsx
|
|
708
708
|
import { cn as cn17 } from "@boostdev/design-system-foundation";
|
|
@@ -771,7 +771,7 @@ function Table({
|
|
|
771
771
|
import { useId as useId4, useRef as useRef2, useState as useState3 } from "react";
|
|
772
772
|
|
|
773
773
|
// src/components/ui/Tabs/Tabs.module.css
|
|
774
|
-
var Tabs_default = {"tabs":"
|
|
774
|
+
var Tabs_default = {"tabs":"bds018-tabs","tabList":"bds018-tabList","tab":"bds018-tab","--active":"bds018---active","panel":"bds018-panel"};
|
|
775
775
|
|
|
776
776
|
// src/components/ui/Tabs/Tabs.tsx
|
|
777
777
|
import { cn as cn18 } from "@boostdev/design-system-foundation";
|
|
@@ -852,7 +852,7 @@ function Tabs({ tabs, defaultTab, className }) {
|
|
|
852
852
|
import { cloneElement, isValidElement, useId as useId5 } from "react";
|
|
853
853
|
|
|
854
854
|
// src/components/ui/Tooltip/Tooltip.module.css
|
|
855
|
-
var Tooltip_default = {"wrapper":"
|
|
855
|
+
var Tooltip_default = {"wrapper":"bds018-wrapper","tooltip":"bds018-tooltip","--placement_top":"bds018---placement_top","--placement_bottom":"bds018---placement_bottom","--placement_left":"bds018---placement_left","--placement_right":"bds018---placement_right"};
|
|
856
856
|
|
|
857
857
|
// src/components/ui/Tooltip/Tooltip.tsx
|
|
858
858
|
import { cn as cn19 } from "@boostdev/design-system-foundation";
|
|
@@ -882,7 +882,7 @@ function Tooltip({
|
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
// src/components/ui/Typography/Typography.module.css
|
|
885
|
-
var Typography_default = {"typography":"
|
|
885
|
+
var Typography_default = {"typography":"bds018-typography","--h1":"bds018---h1","--h2":"bds018---h2","--h3":"bds018---h3","--body":"bds018---body","--body_s":"bds018---body_s"};
|
|
886
886
|
|
|
887
887
|
// src/components/ui/Typography/Typography.tsx
|
|
888
888
|
import { cn as cn20 } from "@boostdev/design-system-foundation";
|
|
@@ -900,7 +900,7 @@ function Typography({ variant = "body", component, children, className }) {
|
|
|
900
900
|
}
|
|
901
901
|
|
|
902
902
|
// src/components/interaction/Button/Button.module.css
|
|
903
|
-
var Button_default = {"button":"
|
|
903
|
+
var Button_default = {"button":"bds018-button","--primary":"bds018---primary","--secondary":"bds018---secondary","--size_small":"bds018---size_small","--size_medium":"bds018---size_medium","--size_large":"bds018---size_large","--hasPulse":"bds018---hasPulse","prefix":"bds018-prefix","suffix":"bds018-suffix"};
|
|
904
904
|
|
|
905
905
|
// src/components/interaction/Button/Button.tsx
|
|
906
906
|
import { cn as cn21 } from "@boostdev/design-system-foundation";
|
|
@@ -976,7 +976,7 @@ function Button({
|
|
|
976
976
|
import { useState as useState4, useEffect, useRef as useRef3, useId as useId6, useMemo } from "react";
|
|
977
977
|
|
|
978
978
|
// src/components/interaction/Command/Command.module.css
|
|
979
|
-
var Command_default = {"dialog":"
|
|
979
|
+
var Command_default = {"dialog":"bds018-dialog","palette":"bds018-palette","searchRow":"bds018-searchRow","searchIcon":"bds018-searchIcon","search":"bds018-search","escHint":"bds018-escHint","list":"bds018-list","groupList":"bds018-groupList","group":"bds018-group","item":"bds018-item","itemActive":"bds018-itemActive","itemLabel":"bds018-itemLabel","itemDesc":"bds018-itemDesc","shortcut":"bds018-shortcut","empty":"bds018-empty"};
|
|
980
980
|
|
|
981
981
|
// src/components/interaction/Command/Command.tsx
|
|
982
982
|
import { cn as cn22 } from "@boostdev/design-system-foundation";
|
|
@@ -1115,7 +1115,7 @@ function Command({
|
|
|
1115
1115
|
import { useEffect as useEffect2, useRef as useRef4 } from "react";
|
|
1116
1116
|
|
|
1117
1117
|
// src/components/interaction/Dialog/Dialog.module.css
|
|
1118
|
-
var Dialog_default = {"dialog":"
|
|
1118
|
+
var Dialog_default = {"dialog":"bds018-dialog","dialogContent":"bds018-dialogContent","closeForm":"bds018-closeForm","closeButton":"bds018-closeButton"};
|
|
1119
1119
|
|
|
1120
1120
|
// src/components/interaction/Dialog/Dialog.tsx
|
|
1121
1121
|
import { cn as cn23 } from "@boostdev/design-system-foundation";
|
|
@@ -1127,9 +1127,14 @@ function Dialog({ children, isOpen = false, className, onClose }) {
|
|
|
1127
1127
|
if (!dialog) return;
|
|
1128
1128
|
if (isOpen) {
|
|
1129
1129
|
dialog.showModal();
|
|
1130
|
+
document.body.style.overflow = "hidden";
|
|
1130
1131
|
} else if (dialog.open) {
|
|
1131
1132
|
dialog.close();
|
|
1133
|
+
document.body.style.overflow = "";
|
|
1132
1134
|
}
|
|
1135
|
+
return () => {
|
|
1136
|
+
document.body.style.overflow = "";
|
|
1137
|
+
};
|
|
1133
1138
|
}, [isOpen]);
|
|
1134
1139
|
const handleBackdropClick = (e) => {
|
|
1135
1140
|
if (e.target === dialogRef.current) onClose?.();
|
|
@@ -1166,7 +1171,7 @@ function Dialog({ children, isOpen = false, className, onClose }) {
|
|
|
1166
1171
|
import { useEffect as useEffect3, useRef as useRef5 } from "react";
|
|
1167
1172
|
|
|
1168
1173
|
// src/components/interaction/Drawer/Drawer.module.css
|
|
1169
|
-
var Drawer_default = {"drawer":"
|
|
1174
|
+
var Drawer_default = {"drawer":"bds018-drawer","panel":"bds018-panel","--side_right":"bds018---side_right","--side_left":"bds018---side_left","header":"bds018-header","title":"bds018-title","closeButton":"bds018-closeButton","body":"bds018-body"};
|
|
1170
1175
|
|
|
1171
1176
|
// src/components/interaction/Drawer/Drawer.tsx
|
|
1172
1177
|
import { cn as cn24 } from "@boostdev/design-system-foundation";
|
|
@@ -1235,7 +1240,7 @@ import {
|
|
|
1235
1240
|
} from "react";
|
|
1236
1241
|
|
|
1237
1242
|
// src/components/interaction/DropdownMenu/DropdownMenu.module.css
|
|
1238
|
-
var DropdownMenu_default = {"wrapper":"
|
|
1243
|
+
var DropdownMenu_default = {"wrapper":"bds018-wrapper","menu":"bds018-menu","--placement_bottom-start":"bds018---placement_bottom-start","--placement_bottom-end":"bds018---placement_bottom-end","separator":"bds018-separator","item":"bds018-item","icon":"bds018-icon"};
|
|
1239
1244
|
|
|
1240
1245
|
// src/components/interaction/DropdownMenu/DropdownMenu.tsx
|
|
1241
1246
|
import { cn as cn25 } from "@boostdev/design-system-foundation";
|
|
@@ -1355,7 +1360,7 @@ import {
|
|
|
1355
1360
|
} from "react";
|
|
1356
1361
|
|
|
1357
1362
|
// src/components/interaction/Popover/Popover.module.css
|
|
1358
|
-
var Popover_default = {"wrapper":"
|
|
1363
|
+
var Popover_default = {"wrapper":"bds018-wrapper","panel":"bds018-panel","--placement_bottom":"bds018---placement_bottom","--placement_top":"bds018---placement_top","--placement_right":"bds018---placement_right","--placement_left":"bds018---placement_left"};
|
|
1359
1364
|
|
|
1360
1365
|
// src/components/interaction/Popover/Popover.tsx
|
|
1361
1366
|
import { cn as cn26 } from "@boostdev/design-system-foundation";
|
|
@@ -1411,7 +1416,7 @@ function Popover({
|
|
|
1411
1416
|
}
|
|
1412
1417
|
|
|
1413
1418
|
// src/components/interaction/Rating/Rating.module.css
|
|
1414
|
-
var Rating_default = {"rating":"
|
|
1419
|
+
var Rating_default = {"rating":"bds018-rating","star":"bds018-star","--filled":"bds018---filled"};
|
|
1415
1420
|
|
|
1416
1421
|
// src/components/interaction/Rating/Rating.tsx
|
|
1417
1422
|
import { cn as cn27 } from "@boostdev/design-system-foundation";
|
|
@@ -1442,7 +1447,7 @@ function Rating({ value, max = 5, className }) {
|
|
|
1442
1447
|
import { useState as useState7, useEffect as useEffect6, createContext, useContext, useCallback, useMemo as useMemo2 } from "react";
|
|
1443
1448
|
|
|
1444
1449
|
// src/components/interaction/Toast/Toast.module.css
|
|
1445
|
-
var Toast_default = {"toastContainer":"
|
|
1450
|
+
var Toast_default = {"toastContainer":"bds018-toastContainer","toast":"bds018-toast","message":"bds018-message","closeButton":"bds018-closeButton"};
|
|
1446
1451
|
|
|
1447
1452
|
// src/components/interaction/Toast/Toast.tsx
|
|
1448
1453
|
import { cn as cn28 } from "@boostdev/design-system-foundation";
|
|
@@ -1492,10 +1497,10 @@ function useToast() {
|
|
|
1492
1497
|
import { useId as useId9 } from "react";
|
|
1493
1498
|
|
|
1494
1499
|
// src/components/interaction/form/Checkbox/Checkbox.module.css
|
|
1495
|
-
var Checkbox_default = {"checkboxGroup":"
|
|
1500
|
+
var Checkbox_default = {"checkboxGroup":"bds018-checkboxGroup","inputWrapper":"bds018-inputWrapper","checkbox":"bds018-checkbox","checkboxError":"bds018-checkboxError"};
|
|
1496
1501
|
|
|
1497
1502
|
// src/components/interaction/form/atoms/Message.module.css
|
|
1498
|
-
var Message_default = {"error":"
|
|
1503
|
+
var Message_default = {"error":"bds018-error","hint":"bds018-hint"};
|
|
1499
1504
|
|
|
1500
1505
|
// src/components/interaction/form/atoms/Message.tsx
|
|
1501
1506
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
@@ -1505,7 +1510,7 @@ var Message = ({ message, type, inputId }) => {
|
|
|
1505
1510
|
};
|
|
1506
1511
|
|
|
1507
1512
|
// src/components/interaction/form/atoms/Label.module.css
|
|
1508
|
-
var Label_default = {"label":"
|
|
1513
|
+
var Label_default = {"label":"bds018-label"};
|
|
1509
1514
|
|
|
1510
1515
|
// src/components/interaction/form/atoms/Label.tsx
|
|
1511
1516
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
@@ -1517,7 +1522,7 @@ var Label = ({ label, id }) => {
|
|
|
1517
1522
|
import { cn as cn30 } from "@boostdev/design-system-foundation";
|
|
1518
1523
|
|
|
1519
1524
|
// src/components/interaction/form/atoms/InputContainer.module.css
|
|
1520
|
-
var InputContainer_default = {"container":"
|
|
1525
|
+
var InputContainer_default = {"container":"bds018-container"};
|
|
1521
1526
|
|
|
1522
1527
|
// src/components/interaction/form/atoms/InputContainer.tsx
|
|
1523
1528
|
import { cn as cn29 } from "@boostdev/design-system-foundation";
|
|
@@ -1564,7 +1569,7 @@ import {
|
|
|
1564
1569
|
} from "react";
|
|
1565
1570
|
|
|
1566
1571
|
// src/components/interaction/form/Combobox/Combobox.module.css
|
|
1567
|
-
var Combobox_default = {"formGroup":"
|
|
1572
|
+
var Combobox_default = {"formGroup":"bds018-formGroup","inputWrapper":"bds018-inputWrapper","input":"bds018-input","inputError":"bds018-inputError","chevron":"bds018-chevron","listbox":"bds018-listbox","option":"bds018-option","--highlighted":"bds018---highlighted","--selected":"bds018---selected","--disabled":"bds018---disabled"};
|
|
1568
1573
|
|
|
1569
1574
|
// src/components/interaction/form/Combobox/Combobox.tsx
|
|
1570
1575
|
import { cn as cn31 } from "@boostdev/design-system-foundation";
|
|
@@ -1715,7 +1720,7 @@ function Combobox({
|
|
|
1715
1720
|
import { useId as useId11, useRef as useRef9, useState as useState9 } from "react";
|
|
1716
1721
|
|
|
1717
1722
|
// src/components/interaction/form/FileInput/FileInput.module.css
|
|
1718
|
-
var FileInput_default = {"formGroup":"
|
|
1723
|
+
var FileInput_default = {"formGroup":"bds018-formGroup","dropZone":"bds018-dropZone","isDragging":"bds018-isDragging","hasError":"bds018-hasError","isDisabled":"bds018-isDisabled","icon":"bds018-icon","prompt":"bds018-prompt","acceptHint":"bds018-acceptHint","hiddenInput":"bds018-hiddenInput"};
|
|
1719
1724
|
|
|
1720
1725
|
// src/components/interaction/form/FileInput/FileInput.tsx
|
|
1721
1726
|
import { cn as cn32 } from "@boostdev/design-system-foundation";
|
|
@@ -1812,7 +1817,7 @@ function FileInput({
|
|
|
1812
1817
|
import { useId as useId12 } from "react";
|
|
1813
1818
|
|
|
1814
1819
|
// src/components/interaction/form/FormInput/FormInput.module.css
|
|
1815
|
-
var FormInput_default = {"formGroup":"
|
|
1820
|
+
var FormInput_default = {"formGroup":"bds018-formGroup","input":"bds018-input","inputError":"bds018-inputError"};
|
|
1816
1821
|
|
|
1817
1822
|
// src/components/interaction/form/FormInput/FormInput.tsx
|
|
1818
1823
|
import { cn as cn33 } from "@boostdev/design-system-foundation";
|
|
@@ -1853,7 +1858,7 @@ function FormInput({
|
|
|
1853
1858
|
import { useId as useId13, useRef as useRef10, useState as useState10 } from "react";
|
|
1854
1859
|
|
|
1855
1860
|
// src/components/interaction/form/NumberInput/NumberInput.module.css
|
|
1856
|
-
var NumberInput_default = {"formGroup":"
|
|
1861
|
+
var NumberInput_default = {"formGroup":"bds018-formGroup","inputRow":"bds018-inputRow","input":"bds018-input","inputError":"bds018-inputError","stepper":"bds018-stepper"};
|
|
1857
1862
|
|
|
1858
1863
|
// src/components/interaction/form/NumberInput/NumberInput.tsx
|
|
1859
1864
|
import { cn as cn34 } from "@boostdev/design-system-foundation";
|
|
@@ -1948,7 +1953,7 @@ function NumberInput({
|
|
|
1948
1953
|
import { useId as useId14 } from "react";
|
|
1949
1954
|
|
|
1950
1955
|
// src/components/interaction/form/Radio/Radio.module.css
|
|
1951
|
-
var Radio_default = {"radioGroup":"
|
|
1956
|
+
var Radio_default = {"radioGroup":"bds018-radioGroup","inputWrapper":"bds018-inputWrapper","radio":"bds018-radio","radioError":"bds018-radioError"};
|
|
1952
1957
|
|
|
1953
1958
|
// src/components/interaction/form/Radio/Radio.tsx
|
|
1954
1959
|
import { cn as cn35 } from "@boostdev/design-system-foundation";
|
|
@@ -1983,7 +1988,7 @@ function Radio({ label, name, error, hint, className, ...props }) {
|
|
|
1983
1988
|
import { useId as useId15 } from "react";
|
|
1984
1989
|
|
|
1985
1990
|
// src/components/interaction/form/Select/Select.module.css
|
|
1986
|
-
var Select_default = {"formGroup":"
|
|
1991
|
+
var Select_default = {"formGroup":"bds018-formGroup","selectWrapper":"bds018-selectWrapper","select":"bds018-select","selectError":"bds018-selectError","chevron":"bds018-chevron"};
|
|
1987
1992
|
|
|
1988
1993
|
// src/components/interaction/form/Select/Select.tsx
|
|
1989
1994
|
import { cn as cn36 } from "@boostdev/design-system-foundation";
|
|
@@ -2031,7 +2036,7 @@ function Select({
|
|
|
2031
2036
|
import { useId as useId16, useState as useState11 } from "react";
|
|
2032
2037
|
|
|
2033
2038
|
// src/components/interaction/form/Slider/Slider.module.css
|
|
2034
|
-
var Slider_default = {"formGroup":"
|
|
2039
|
+
var Slider_default = {"formGroup":"bds018-formGroup","labelRow":"bds018-labelRow","value":"bds018-value","slider":"bds018-slider","sliderError":"bds018-sliderError"};
|
|
2035
2040
|
|
|
2036
2041
|
// src/components/interaction/form/Slider/Slider.tsx
|
|
2037
2042
|
import { cn as cn37 } from "@boostdev/design-system-foundation";
|
|
@@ -2092,7 +2097,7 @@ function Slider({
|
|
|
2092
2097
|
import { useId as useId17 } from "react";
|
|
2093
2098
|
|
|
2094
2099
|
// src/components/interaction/form/Switch/Switch.module.css
|
|
2095
|
-
var Switch_default = {"switchGroup":"
|
|
2100
|
+
var Switch_default = {"switchGroup":"bds018-switchGroup","--size_small":"bds018---size_small","--size_medium":"bds018---size_medium","--size_large":"bds018---size_large","inputWrapper":"bds018-inputWrapper","trackWrapper":"bds018-trackWrapper","switch":"bds018-switch","track":"bds018-track","thumb":"bds018-thumb","switchError":"bds018-switchError"};
|
|
2096
2101
|
|
|
2097
2102
|
// src/components/interaction/form/Switch/Switch.tsx
|
|
2098
2103
|
import { cn as cn38 } from "@boostdev/design-system-foundation";
|
|
@@ -2138,7 +2143,7 @@ function Switch({
|
|
|
2138
2143
|
import { useId as useId18 } from "react";
|
|
2139
2144
|
|
|
2140
2145
|
// src/components/interaction/form/Textarea/Textarea.module.css
|
|
2141
|
-
var Textarea_default = {"formGroup":"
|
|
2146
|
+
var Textarea_default = {"formGroup":"bds018-formGroup","textarea":"bds018-textarea","textareaError":"bds018-textareaError"};
|
|
2142
2147
|
|
|
2143
2148
|
// src/components/interaction/form/Textarea/Textarea.tsx
|
|
2144
2149
|
import { cn as cn39 } from "@boostdev/design-system-foundation";
|
|
@@ -2174,7 +2179,7 @@ function Textarea({
|
|
|
2174
2179
|
}
|
|
2175
2180
|
|
|
2176
2181
|
// src/components/layout/ButtonGroup/ButtonGroup.module.css
|
|
2177
|
-
var ButtonGroup_default = {"buttonGroup":"
|
|
2182
|
+
var ButtonGroup_default = {"buttonGroup":"bds018-buttonGroup","container":"bds018-container","--variant__card":"bds018---variant__card","--variant__flow":"bds018---variant__flow","--variant__modal":"bds018---variant__modal","--variant__content":"bds018---variant__content","--variant__grid":"bds018---variant__grid"};
|
|
2178
2183
|
|
|
2179
2184
|
// src/components/layout/ButtonGroup/ButtonGroup.tsx
|
|
2180
2185
|
import { cn as cn40 } from "@boostdev/design-system-foundation";
|
|
@@ -2184,7 +2189,7 @@ function ButtonGroup({ children, className, variant }) {
|
|
|
2184
2189
|
}
|
|
2185
2190
|
|
|
2186
2191
|
// src/components/layout/Card/Card.module.css
|
|
2187
|
-
var Card_default = {"card":"
|
|
2192
|
+
var Card_default = {"card":"bds018-card","--default":"bds018---default","--elevated":"bds018---elevated","--outlined":"bds018---outlined","--clickable":"bds018---clickable","--padding-none":"bds018---padding-none","--padding-small":"bds018---padding-small","--padding-medium":"bds018---padding-medium","--padding-large":"bds018---padding-large","--text-start":"bds018---text-start","--text-center":"bds018---text-center","--text-end":"bds018---text-end"};
|
|
2188
2193
|
|
|
2189
2194
|
// src/components/layout/Card/Card.tsx
|
|
2190
2195
|
import { cn as cn41 } from "@boostdev/design-system-foundation";
|
|
@@ -2222,7 +2227,7 @@ function Card({
|
|
|
2222
2227
|
}
|
|
2223
2228
|
|
|
2224
2229
|
// src/components/layout/SectionHeader/SectionHeader.module.css
|
|
2225
|
-
var SectionHeader_default = {"sectionHeader":"
|
|
2230
|
+
var SectionHeader_default = {"sectionHeader":"bds018-sectionHeader","title":"bds018-title","subtitle":"bds018-subtitle","--start":"bds018---start","--center":"bds018---center","--end":"bds018---end","--small":"bds018---small","--medium":"bds018---medium","--large":"bds018---large"};
|
|
2226
2231
|
|
|
2227
2232
|
// src/components/layout/SectionHeader/SectionHeader.tsx
|
|
2228
2233
|
import { cn as cn42 } from "@boostdev/design-system-foundation";
|
|
@@ -2243,7 +2248,7 @@ function SectionHeader({
|
|
|
2243
2248
|
}
|
|
2244
2249
|
|
|
2245
2250
|
// src/components/layout/IconWrapper/IconWrapper.module.css
|
|
2246
|
-
var IconWrapper_default = {"wrapper":"
|
|
2251
|
+
var IconWrapper_default = {"wrapper":"bds018-wrapper"};
|
|
2247
2252
|
|
|
2248
2253
|
// src/components/layout/IconWrapper/IconWrapper.tsx
|
|
2249
2254
|
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.8",
|
|
4
4
|
"description": "BoostDev React component library: accessible, token-driven components built on @boostdev/design-system-foundation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -99,10 +99,12 @@
|
|
|
99
99
|
"storybook": "storybook dev -p 6006",
|
|
100
100
|
"build-storybook": "storybook build",
|
|
101
101
|
"test": "vitest run",
|
|
102
|
-
"test:watch": "vitest"
|
|
102
|
+
"test:watch": "vitest",
|
|
103
|
+
"changelog": "git fetch origin main && pnpm exec git-cliff $(git rev-parse origin/main) -o CHANGELOG.md",
|
|
104
|
+
"changelog:unreleased": "pnpm exec git-cliff --unreleased"
|
|
103
105
|
},
|
|
104
106
|
"devDependencies": {
|
|
105
|
-
"@boostdev/design-system-foundation": "^0.1.
|
|
107
|
+
"@boostdev/design-system-foundation": "^0.1.11",
|
|
106
108
|
"@storybook/addon-essentials": "^8.6.14",
|
|
107
109
|
"@storybook/blocks": "^8.6.14",
|
|
108
110
|
"@storybook/react": "8",
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
color: var(--dialog_on-color, var(--color_on-grey--subtle));
|
|
7
7
|
border-radius: var(--border_radius--m);
|
|
8
8
|
padding: var(--space_l);
|
|
9
|
-
overflow: visible;
|
|
10
9
|
max-width: 90svw;
|
|
10
|
+
max-height: 90svh;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.dialogContent {
|
|
14
14
|
display: grid;
|
|
15
15
|
gap: var(--grid_gap);
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
min-height: 0;
|
|
18
|
+
flex: 1;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.closeForm {
|
|
@@ -17,9 +17,14 @@ export function Dialog({ children, isOpen = false, className, onClose }: DialogP
|
|
|
17
17
|
if (!dialog) return;
|
|
18
18
|
if (isOpen) {
|
|
19
19
|
dialog.showModal();
|
|
20
|
+
document.body.style.overflow = 'hidden';
|
|
20
21
|
} else if (dialog.open) {
|
|
21
22
|
dialog.close();
|
|
23
|
+
document.body.style.overflow = '';
|
|
22
24
|
}
|
|
25
|
+
return () => {
|
|
26
|
+
document.body.style.overflow = '';
|
|
27
|
+
};
|
|
23
28
|
}, [isOpen]);
|
|
24
29
|
|
|
25
30
|
const handleBackdropClick = (e: React.MouseEvent<HTMLDialogElement>) => {
|
|
@@ -8,13 +8,11 @@
|
|
|
8
8
|
display: block;
|
|
9
9
|
width: 100%;
|
|
10
10
|
height: var(--separator_thickness, 1px);
|
|
11
|
-
margin-block: var(--space_m);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
.separator.--vertical {
|
|
15
14
|
display: inline-block;
|
|
16
15
|
width: var(--separator_thickness, 1px);
|
|
17
16
|
align-self: stretch;
|
|
18
|
-
margin-inline: var(--space_m);
|
|
19
17
|
}
|
|
20
18
|
}
|