@bcgov/design-system-react-components 0.8.1-pr840 → 0.8.1-pr849
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/README.md +2 -0
- package/dist/cjs/index.cjs +386 -246
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +385 -245
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +123 -66
- package/package.json +17 -15
package/dist/index.d.ts
CHANGED
|
@@ -351,93 +351,150 @@ interface SeparatorProps extends SeparatorProps$1 {
|
|
|
351
351
|
}
|
|
352
352
|
declare function Separator({ size, ...props }: SeparatorProps): react.JSX.Element;
|
|
353
353
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
interface SvgBcLogoProps extends React.SVGProps<SVGSVGElement> {
|
|
355
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
356
|
+
title?: string;
|
|
357
|
+
}
|
|
358
|
+
declare function SvgBcLogo({ title, id, ...props }: SvgBcLogoProps): react.JSX.Element;
|
|
357
359
|
|
|
358
|
-
|
|
359
|
-
id?: string | undefined;
|
|
360
|
-
}): react.JSX.Element;
|
|
360
|
+
type IconSize = "xsmall" | "small" | "medium" | "large" | "xlarge";
|
|
361
361
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
362
|
+
interface SvgBcOutlineIconProps extends React.SVGProps<SVGSVGElement> {
|
|
363
|
+
size?: IconSize;
|
|
364
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
365
|
+
title?: string;
|
|
366
|
+
}
|
|
367
|
+
declare function SvgBcOutlineIcon({ size, title, id, ...props }: SvgBcOutlineIconProps): react.JSX.Element;
|
|
365
368
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
+
interface SvgBetaIconProps extends React.SVGProps<SVGSVGElement> {
|
|
370
|
+
size?: IconSize;
|
|
371
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
372
|
+
title?: string;
|
|
373
|
+
}
|
|
374
|
+
declare function SvgBetaIcon({ size, title, id, ...props }: SvgBetaIconProps): react.JSX.Element;
|
|
369
375
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
376
|
+
interface SvgCalendarIconProps extends React.SVGProps<SVGSVGElement> {
|
|
377
|
+
size?: IconSize;
|
|
378
|
+
title?: string;
|
|
379
|
+
}
|
|
380
|
+
declare function SvgCalendarIcon({ size, title, id, ...props }: SvgCalendarIconProps): react.JSX.Element;
|
|
373
381
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
382
|
+
interface SvgCheckIconProps extends React.SVGProps<SVGSVGElement> {
|
|
383
|
+
size?: IconSize;
|
|
384
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
385
|
+
title?: string;
|
|
386
|
+
}
|
|
387
|
+
declare function SvgCheckIcon({ size, title, id, ...props }: SvgCheckIconProps): react.JSX.Element;
|
|
377
388
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
389
|
+
interface SvgCheckCircleIconProps extends React.SVGProps<SVGSVGElement> {
|
|
390
|
+
size?: IconSize;
|
|
391
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
392
|
+
title?: string;
|
|
393
|
+
}
|
|
394
|
+
declare function SvgCheckCircleIcon({ size, title, id, ...props }: SvgCheckCircleIconProps): react.JSX.Element;
|
|
381
395
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
396
|
+
interface SvgChevronUpIconProps extends React.SVGProps<SVGSVGElement> {
|
|
397
|
+
size?: IconSize;
|
|
398
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
399
|
+
title?: string;
|
|
400
|
+
}
|
|
401
|
+
declare function SvgChevronUpIcon({ size, title, id, ...props }: SvgChevronUpIconProps): react.JSX.Element;
|
|
385
402
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
403
|
+
interface SvgChevronDownIconProps extends React.SVGProps<SVGSVGElement> {
|
|
404
|
+
size?: IconSize;
|
|
405
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
406
|
+
title?: string;
|
|
407
|
+
}
|
|
408
|
+
declare function SvgChevronDownIcon({ size, title, id, ...props }: SvgChevronDownIconProps): react.JSX.Element;
|
|
389
409
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
410
|
+
interface SvgChevronLeftIconProps extends React.SVGProps<SVGSVGElement> {
|
|
411
|
+
size?: IconSize;
|
|
412
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
413
|
+
title?: string;
|
|
414
|
+
}
|
|
415
|
+
declare function SvgChevronLeftIcon({ size, title, id, ...props }: SvgChevronLeftIconProps): react.JSX.Element;
|
|
393
416
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
417
|
+
interface SvgChevronRightIconProps extends React.SVGProps<SVGSVGElement> {
|
|
418
|
+
size?: IconSize;
|
|
419
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
420
|
+
title?: string;
|
|
421
|
+
}
|
|
422
|
+
declare function SvgChevronRightIcon({ size, title, id, ...props }: SvgChevronRightIconProps): react.JSX.Element;
|
|
397
423
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
424
|
+
interface SvgDashIconProps extends React.SVGProps<SVGSVGElement> {
|
|
425
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
426
|
+
title?: string;
|
|
427
|
+
}
|
|
428
|
+
declare function SvgDashIcon({ title, id, ...props }: SvgDashIconProps): react.JSX.Element;
|
|
401
429
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
430
|
+
interface SvgExclamationIconProps extends React.SVGProps<SVGSVGElement> {
|
|
431
|
+
size?: IconSize;
|
|
432
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
433
|
+
title?: string;
|
|
434
|
+
}
|
|
435
|
+
declare function SvgExclamationIcon({ size, title, id, ...props }: SvgExclamationIconProps): react.JSX.Element;
|
|
436
|
+
|
|
437
|
+
interface SvgExclamationCircleIconProps extends React.SVGProps<SVGSVGElement> {
|
|
438
|
+
size?: IconSize;
|
|
439
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
440
|
+
title?: string;
|
|
441
|
+
}
|
|
442
|
+
declare function SvgExclamationCircleIcon({ size, title, id, ...props }: SvgExclamationCircleIconProps): react.JSX.Element;
|
|
405
443
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
444
|
+
interface SvgCloseIconProps extends React.SVGProps<SVGSVGElement> {
|
|
445
|
+
size?: IconSize;
|
|
446
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
447
|
+
title?: string;
|
|
448
|
+
}
|
|
449
|
+
declare function SvgCloseIcon({ size, title, id, ...props }: SvgCloseIconProps): react.JSX.Element;
|
|
409
450
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
451
|
+
interface SvgInfoIconProps extends React.SVGProps<SVGSVGElement> {
|
|
452
|
+
size?: IconSize;
|
|
453
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
454
|
+
title?: string;
|
|
455
|
+
}
|
|
456
|
+
declare function SvgInfoIcon({ size, title, id, ...props }: SvgInfoIconProps): react.JSX.Element;
|
|
413
457
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
458
|
+
interface SvgMinusIconProps extends React.SVGProps<SVGSVGElement> {
|
|
459
|
+
size?: IconSize;
|
|
460
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
461
|
+
title?: string;
|
|
462
|
+
}
|
|
463
|
+
declare function SvgMinusIcon({ size, title, id, ...props }: SvgMinusIconProps): react.JSX.Element;
|
|
417
464
|
|
|
418
|
-
interface SvgPlaceholderIconProps {
|
|
419
|
-
|
|
420
|
-
|
|
465
|
+
interface SvgPlaceholderIconProps extends React.SVGProps<SVGSVGElement> {
|
|
466
|
+
size?: IconSize;
|
|
467
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
468
|
+
title?: string;
|
|
421
469
|
}
|
|
422
|
-
declare function SvgPlaceholderIcon({ size, ...props }: SvgPlaceholderIconProps): react.JSX.Element;
|
|
470
|
+
declare function SvgPlaceholderIcon({ size, title, id, ...props }: SvgPlaceholderIconProps): react.JSX.Element;
|
|
423
471
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
472
|
+
interface SvgPlusIconProps extends React.SVGProps<SVGSVGElement> {
|
|
473
|
+
size?: IconSize;
|
|
474
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
475
|
+
title?: string;
|
|
476
|
+
}
|
|
477
|
+
declare function SvgPlusIcon({ size, title, id, ...props }: SvgPlusIconProps): react.JSX.Element;
|
|
427
478
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
479
|
+
interface SvgTooltipArrowUpProps extends React.SVGProps<SVGSVGElement> {
|
|
480
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
481
|
+
title?: string;
|
|
482
|
+
}
|
|
483
|
+
declare function SvgTooltipArrowUp({ title, id, ...props }: SvgTooltipArrowUpProps): react.JSX.Element;
|
|
431
484
|
|
|
432
|
-
interface SvgUpRightFromSquareIconProps {
|
|
433
|
-
size?:
|
|
434
|
-
|
|
485
|
+
interface SvgUpRightFromSquareIconProps extends React.SVGProps<SVGSVGElement> {
|
|
486
|
+
size?: IconSize;
|
|
487
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
488
|
+
title?: string;
|
|
435
489
|
}
|
|
436
|
-
declare function SvgUpRightFromSquareIcon({ size, id, }: SvgUpRightFromSquareIconProps): react.JSX.Element;
|
|
490
|
+
declare function SvgUpRightFromSquareIcon({ size, title, id, ...props }: SvgUpRightFromSquareIconProps): react.JSX.Element;
|
|
437
491
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
492
|
+
interface SvgReactAriaIconProps extends React.SVGProps<SVGSVGElement> {
|
|
493
|
+
size?: IconSize;
|
|
494
|
+
/** Accessible label for non-decorative usage. When omitted, the icon is hidden from assistive technology. */
|
|
495
|
+
title?: string;
|
|
496
|
+
}
|
|
497
|
+
declare function SvgReactAriaIcon({ size, title, id, ...props }: SvgReactAriaIconProps): react.JSX.Element;
|
|
441
498
|
|
|
442
499
|
interface TagGroupProps extends TagGroupProps$1 {
|
|
443
500
|
/**
|
|
@@ -523,4 +580,4 @@ interface NumberFieldProps extends NumberFieldProps$1 {
|
|
|
523
580
|
}
|
|
524
581
|
declare function NumberField({ size, label, description, minValue, errorMessage, ...props }: NumberFieldProps): react.JSX.Element;
|
|
525
582
|
|
|
526
|
-
export { Accordion, AccordionGroup, AlertBanner, AlertDialog, Button, ButtonGroup, Calendar, Callout, Checkbox, CheckboxGroup, DatePicker, Dialog, Footer, FooterLinks, Form, Header, Heading, InlineAlert, Link, Menu, MenuItem, Modal, NumberField, ProgressBar, ProgressCircle, Radio, RadioGroup, Select, Separator, Subheader, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCalendarIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronLeftIcon, SvgChevronRightIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon
|
|
583
|
+
export { Accordion, AccordionGroup, AlertBanner, AlertDialog, Button, ButtonGroup, Calendar, Callout, Checkbox, CheckboxGroup, DatePicker, Dialog, Footer, FooterLinks, Form, Header, Heading, InlineAlert, Link, Menu, MenuItem, Modal, NumberField, ProgressBar, ProgressCircle, Radio, RadioGroup, Select, Separator, Subheader, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCalendarIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronLeftIcon, SvgChevronRightIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgMinusIcon, SvgPlaceholderIcon, SvgPlusIcon, SvgReactAriaIcon, SvgTooltipArrowUp, SvgUpRightFromSquareIcon, Switch, Tag, TagGroup, TagList, Text, TextArea, TextField, TimeField, ToggleButton, ToggleButtonGroup, Tooltip };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcgov/design-system-react-components",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-pr849",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/bcgov/design-system.git",
|
|
@@ -56,46 +56,48 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@eslint/js": "10.0.1",
|
|
59
|
-
"@figma/code-connect": "1.5.
|
|
59
|
+
"@figma/code-connect": "1.5.2",
|
|
60
60
|
"@react-stately/data": "3.16.1",
|
|
61
61
|
"@rollup/plugin-commonjs": "29.0.3",
|
|
62
62
|
"@rollup/plugin-json": "6.1.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
64
64
|
"@rollup/plugin-typescript": "12.3.0",
|
|
65
|
-
"@storybook/addon-a11y": "10.5.
|
|
66
|
-
"@storybook/addon-docs": "10.5.
|
|
67
|
-
"@storybook/addon-links": "10.5.
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/
|
|
65
|
+
"@storybook/addon-a11y": "10.5.7",
|
|
66
|
+
"@storybook/addon-docs": "10.5.7",
|
|
67
|
+
"@storybook/addon-links": "10.5.7",
|
|
68
|
+
"@storybook/addon-mcp": "0.7.0",
|
|
69
|
+
"@storybook/addon-vitest": "10.5.7",
|
|
70
|
+
"@storybook/mcp": "0.8.0",
|
|
71
|
+
"@storybook/react-vite": "10.5.7",
|
|
70
72
|
"@testing-library/jest-dom": "6.9.1",
|
|
71
73
|
"@testing-library/react": "16.3.2",
|
|
72
74
|
"@types/node": "25.9.5",
|
|
73
75
|
"@types/react": "19.2.18",
|
|
74
76
|
"@types/react-dom": "19.2.4",
|
|
75
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
76
|
-
"@typescript-eslint/parser": "8.
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "8.67.0",
|
|
78
|
+
"@typescript-eslint/parser": "8.67.0",
|
|
77
79
|
"@vitejs/plugin-react": "6.0.5",
|
|
78
80
|
"@vitest/browser-playwright": "4.1.10",
|
|
79
81
|
"@vitest/coverage-v8": "4.1.10",
|
|
80
82
|
"axe-playwright": "2.2.2",
|
|
81
83
|
"eslint": "10.8.1",
|
|
82
84
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
83
|
-
"eslint-plugin-react-refresh": "0.5.
|
|
84
|
-
"eslint-plugin-storybook": "10.5.
|
|
85
|
-
"globals": "17.
|
|
85
|
+
"eslint-plugin-react-refresh": "0.5.4",
|
|
86
|
+
"eslint-plugin-storybook": "10.5.7",
|
|
87
|
+
"globals": "17.11.0",
|
|
86
88
|
"jsdom": "29.1.1",
|
|
87
89
|
"playwright": "1.62.1",
|
|
88
90
|
"prettier": "3.9.6",
|
|
89
91
|
"rollup": "4.62.4",
|
|
90
|
-
"rollup-plugin-dts": "6.
|
|
92
|
+
"rollup-plugin-dts": "6.5.1",
|
|
91
93
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
92
94
|
"rollup-plugin-postcss": "4.0.2",
|
|
93
|
-
"storybook": "10.5.
|
|
95
|
+
"storybook": "10.5.7",
|
|
94
96
|
"stylelint": "17.14.1",
|
|
95
97
|
"stylelint-config-standard": "40.0.0",
|
|
96
98
|
"tslib": "2.8.1",
|
|
97
99
|
"typescript": "6.0.3",
|
|
98
|
-
"typescript-eslint": "8.
|
|
100
|
+
"typescript-eslint": "8.67.0",
|
|
99
101
|
"vite": "8.2.1",
|
|
100
102
|
"vitest": "4.1.10"
|
|
101
103
|
},
|