@bcgov/design-system-react-components 0.7.0-pr690 → 0.7.0-pr693

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/index.d.ts CHANGED
@@ -1,18 +1,18 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import react__default, { PropsWithChildren } from 'react';
2
3
  import { DisclosureProps, DisclosureGroupProps, DialogProps as DialogProps$1, ButtonProps as ButtonProps$1, CalendarProps, DateValue, CheckboxProps, CheckboxGroupProps as CheckboxGroupProps$1, ValidationResult, DatePickerProps as DatePickerProps$1, FormProps, HeadingProps as HeadingProps$1, LinkProps as LinkProps$1, MenuItemProps as MenuItemProps$1, MenuItemRenderProps, MenuProps as MenuProps$1, Key, PopoverProps, ModalOverlayProps, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, TagProps as TagProps$1, SelectProps as SelectProps$1, ListBoxItemProps as ListBoxItemProps$1, SeparatorProps as SeparatorProps$1, TagGroupProps as TagGroupProps$1, TagListProps as TagListProps$1, TextProps as TextProps$1, TextFieldProps as TextFieldProps$1, TimeValue, TimeFieldProps as TimeFieldProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, SwitchProps as SwitchProps$1, TooltipProps, NumberFieldProps as NumberFieldProps$1 } from 'react-aria-components';
3
4
  export { DialogTrigger, MenuSection, Header as MenuSectionHeader, MenuTrigger, SubmenuTrigger, TooltipTrigger } from 'react-aria-components';
4
- import { PropsWithChildren } from 'react';
5
5
 
6
6
  interface AccordionProps extends DisclosureProps {
7
7
  label?: string;
8
8
  }
9
- declare function Accordion({ label, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
9
+ declare function Accordion({ label, children, ...props }: AccordionProps): react.JSX.Element;
10
10
 
11
11
  interface AccordionGroupProps extends DisclosureGroupProps {
12
12
  title?: string;
13
13
  titleElement?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
14
14
  }
15
- declare function AccordionGroup({ title, titleElement, children, ...props }: AccordionGroupProps): react_jsx_runtime.JSX.Element;
15
+ declare function AccordionGroup({ title, titleElement, children, ...props }: AccordionGroupProps): react.JSX.Element;
16
16
 
17
17
  interface AlertBannerProps extends React.PropsWithChildren {
18
18
  size?: "small" | "medium";
@@ -24,7 +24,7 @@ interface AlertBannerProps extends React.PropsWithChildren {
24
24
  customIcon?: React.ReactNode;
25
25
  onClose?: () => void;
26
26
  }
27
- declare function AlertBanner({ variant, size, layout, isIconHidden, isCloseable, role, onClose, children, customIcon, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
27
+ declare function AlertBanner({ variant, size, layout, isIconHidden, isCloseable, role, onClose, children, customIcon, ...props }: AlertBannerProps): react.JSX.Element;
28
28
 
29
29
  interface AlertDialogProps extends DialogProps$1 {
30
30
  variant?: "info" | "confirmation" | "warning" | "error" | "destructive";
@@ -33,7 +33,7 @@ interface AlertDialogProps extends DialogProps$1 {
33
33
  isCloseable?: boolean;
34
34
  buttons?: React.ReactNode;
35
35
  }
36
- declare function AlertDialog({ children, variant, role, title, isCloseable, isIconHidden, buttons, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
36
+ declare function AlertDialog({ children, variant, role, title, isCloseable, isIconHidden, buttons, ...props }: AlertDialogProps): react.JSX.Element;
37
37
 
38
38
  interface ButtonProps extends ButtonProps$1 {
39
39
  /**
@@ -53,16 +53,16 @@ interface ButtonProps extends ButtonProps$1 {
53
53
  */
54
54
  isIconButton?: boolean;
55
55
  }
56
- declare function Button({ size, variant, danger, isIconButton, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
56
+ declare function Button({ size, variant, danger, isIconButton, ...props }: ButtonProps): react.JSX.Element;
57
57
 
58
58
  interface ButtonGroupProps extends React.PropsWithChildren {
59
59
  orientation?: "horizontal" | "vertical";
60
60
  alignment?: "start" | "center" | "end";
61
61
  ariaLabel?: string | undefined;
62
62
  }
63
- declare function ButtonGroup({ orientation, alignment, ariaLabel, children, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
63
+ declare function ButtonGroup({ orientation, alignment, ariaLabel, children, ...props }: ButtonGroupProps): react.JSX.Element;
64
64
 
65
- declare function Calendar({ visibleDuration, ...props }: CalendarProps<DateValue>): react_jsx_runtime.JSX.Element;
65
+ declare function Calendar({ visibleDuration, ...props }: CalendarProps<DateValue>): react.JSX.Element;
66
66
 
67
67
  interface CalloutProps extends React.PropsWithChildren {
68
68
  variant?: "lightGrey" | "lightBlue" | "lightGold" | "Blue" | "Grey" | "Black";
@@ -72,9 +72,9 @@ interface CalloutProps extends React.PropsWithChildren {
72
72
  role?: React.AriaRole | undefined;
73
73
  isLeftBorderDisabled?: boolean;
74
74
  }
75
- declare function Callout({ variant, title, description, buttons, role, isLeftBorderDisabled, children, ...props }: CalloutProps): react_jsx_runtime.JSX.Element;
75
+ declare function Callout({ variant, title, description, buttons, role, isLeftBorderDisabled, children, ...props }: CalloutProps): react.JSX.Element;
76
76
 
77
- declare function Checkbox({ value, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
77
+ declare function Checkbox({ value, children, ...props }: CheckboxProps): react.JSX.Element;
78
78
 
79
79
  interface CheckboxGroupProps extends CheckboxGroupProps$1 {
80
80
  orientation?: "horizontal" | "vertical";
@@ -84,7 +84,7 @@ interface CheckboxGroupProps extends CheckboxGroupProps$1 {
84
84
  /** `flex-wrap` style property, defaults to `nowrap` */
85
85
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
86
86
  }
87
- declare function CheckboxGroup({ orientation, label, description, errorMessage, flexWrap, children, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
87
+ declare function CheckboxGroup({ orientation, label, description, errorMessage, flexWrap, children, ...props }: CheckboxGroupProps): react.JSX.Element;
88
88
 
89
89
  interface DatePickerProps<T extends DateValue> extends DatePickerProps$1<T> {
90
90
  size?: "small" | "medium";
@@ -96,12 +96,12 @@ interface DatePickerProps<T extends DateValue> extends DatePickerProps$1<T> {
96
96
  isBrowserLocaleUsed?: boolean;
97
97
  }
98
98
 
99
- declare function DatePicker<T extends DateValue>({ size, label, description, errorMessage, showFormatHelpText, isRequired, isCalendarDisabled, isBrowserLocaleUsed, ...props }: DatePickerProps<T>): react_jsx_runtime.JSX.Element;
99
+ declare function DatePicker<T extends DateValue>({ size, label, description, errorMessage, showFormatHelpText, isRequired, isCalendarDisabled, isBrowserLocaleUsed, ...props }: DatePickerProps<T>): react.JSX.Element;
100
100
 
101
101
  interface DialogProps extends DialogProps$1 {
102
102
  isCloseable?: boolean;
103
103
  }
104
- declare function Dialog({ isCloseable, role, children, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
104
+ declare function Dialog({ isCloseable, role, children, ...props }: DialogProps): react.JSX.Element;
105
105
 
106
106
  interface FooterLinksProps {
107
107
  /**
@@ -119,7 +119,7 @@ interface FooterLinksProps {
119
119
  * @param {FooterLinksProps} props
120
120
  * @returns {React.ReactElement}
121
121
  */
122
- declare function FooterLinks({ title, links }: FooterLinksProps): react_jsx_runtime.JSX.Element;
122
+ declare function FooterLinks({ title, links }: FooterLinksProps): react.JSX.Element;
123
123
  interface FooterProps {
124
124
  /**
125
125
  * Land acknowledgement block (defaults to Gov.bc.ca land acknowledgement)
@@ -163,9 +163,9 @@ interface FooterProps {
163
163
  * @param {FooterProps} props
164
164
  * @returns {React.ReactElement}
165
165
  */
166
- declare function Footer({ children, acknowledgement, logo, contact, links, copyright, hideAcknowledgement, hideLogoAndLinks, hideCopyright, }: React.PropsWithChildren<FooterProps>): react_jsx_runtime.JSX.Element;
166
+ declare function Footer({ children, acknowledgement, logo, contact, links, copyright, hideAcknowledgement, hideLogoAndLinks, hideCopyright, }: React.PropsWithChildren<FooterProps>): react.JSX.Element;
167
167
 
168
- declare function Form({ ...props }: FormProps): react_jsx_runtime.JSX.Element;
168
+ declare function Form({ ...props }: FormProps): react.JSX.Element;
169
169
 
170
170
  interface HeaderProps {
171
171
  /**
@@ -193,13 +193,13 @@ interface HeaderProps {
193
193
  */
194
194
  titleElement?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "p";
195
195
  }
196
- declare function Header({ children, logoLinkElement, logoImage, skipLinks, title, titleElement, }: PropsWithChildren<HeaderProps>): react_jsx_runtime.JSX.Element;
196
+ declare function Header({ children, logoLinkElement, logoImage, skipLinks, title, titleElement, }: PropsWithChildren<HeaderProps>): react.JSX.Element;
197
197
 
198
198
  interface HeadingProps extends HeadingProps$1 {
199
199
  color?: "primary" | "primaryInvert" | "secondary" | "secondaryInvert" | "disabled" | "danger";
200
200
  isUnstyled?: boolean;
201
201
  }
202
- declare function Heading({ color, isUnstyled, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
202
+ declare function Heading({ color, isUnstyled, ...props }: HeadingProps): react.JSX.Element;
203
203
 
204
204
  interface InlineAlertProps extends React.PropsWithChildren {
205
205
  variant?: "info" | "success" | "warning" | "danger";
@@ -212,7 +212,7 @@ interface InlineAlertProps extends React.PropsWithChildren {
212
212
  role?: React.AriaRole | undefined;
213
213
  onClose?: () => void;
214
214
  }
215
- declare function InlineAlert({ variant, title, description, isIconHidden, isCloseable, role, customIcon, buttons, children, onClose, ...props }: InlineAlertProps): react_jsx_runtime.JSX.Element;
215
+ declare function InlineAlert({ variant, title, description, isIconHidden, isCloseable, role, customIcon, buttons, children, onClose, ...props }: InlineAlertProps): react.JSX.Element;
216
216
 
217
217
  interface LinkProps extends LinkProps$1 {
218
218
  children?: React.ReactNode;
@@ -225,7 +225,7 @@ interface LinkProps extends LinkProps$1 {
225
225
  iconLeft?: React.ReactElement;
226
226
  iconRight?: React.ReactElement;
227
227
  }
228
- declare function Link({ children, size, danger, isButton, buttonVariant, isUnstyled, iconLeft, iconRight, ariaLabel, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
228
+ declare function Link({ children, size, danger, isButton, buttonVariant, isUnstyled, iconLeft, iconRight, ariaLabel, ...props }: LinkProps): react.JSX.Element;
229
229
 
230
230
  interface MenuItemProps extends MenuItemProps$1 {
231
231
  label?: string;
@@ -236,7 +236,7 @@ interface MenuItemProps extends MenuItemProps$1 {
236
236
  defaultChildren: React.ReactNode;
237
237
  }) => React.ReactNode);
238
238
  }
239
- declare function MenuItem({ size, label, description, iconLeft, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
239
+ declare function MenuItem({ size, label, description, iconLeft, ...props }: MenuItemProps): react.JSX.Element;
240
240
 
241
241
  interface MenuSectionProps {
242
242
  id: Key;
@@ -249,21 +249,27 @@ interface MenuProps<T extends MenuItemProps> extends MenuProps$1<T> {
249
249
  sections?: MenuSectionProps[];
250
250
  placement?: PopoverProps["placement"];
251
251
  }
252
- declare function Menu<T extends MenuItemProps>({ itemSize, children, items, sections, placement, ...props }: MenuProps<T>): react_jsx_runtime.JSX.Element;
252
+ declare function Menu<T extends MenuItemProps>({ itemSize, children, items, sections, placement, ...props }: MenuProps<T>): react.JSX.Element;
253
253
 
254
- declare function Modal({ children, ...props }: ModalOverlayProps): react_jsx_runtime.JSX.Element;
254
+ declare function Modal({ children, ...props }: ModalOverlayProps): react.JSX.Element;
255
+
256
+ interface SubheaderProps extends react__default.HTMLAttributes<HTMLElement> {
257
+ size?: "small" | "medium";
258
+ ariaLabel?: string;
259
+ }
260
+ declare function Subheader({ size, ariaLabel, children, ...props }: SubheaderProps): react__default.JSX.Element;
255
261
 
256
262
  interface ProgressBarProps extends ProgressBarProps$1 {
257
263
  size?: "small" | "medium" | "large";
258
264
  }
259
- declare function ProgressBar({ size, valueLabel, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
265
+ declare function ProgressBar({ size, valueLabel, ...props }: ProgressBarProps): react.JSX.Element;
260
266
 
261
267
  interface ProgressCircleProps extends ProgressBarProps$1 {
262
268
  size?: "small" | "medium" | "large";
263
269
  }
264
- declare function ProgressCircle({ size, valueLabel, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
270
+ declare function ProgressCircle({ size, valueLabel, ...props }: ProgressCircleProps): react.JSX.Element;
265
271
 
266
- declare function Radio({ value, children, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
272
+ declare function Radio({ value, children, ...props }: RadioProps): react.JSX.Element;
267
273
 
268
274
  interface RadioGroupProps extends RadioGroupProps$1 {
269
275
  children?: React.ReactNode;
@@ -274,7 +280,7 @@ interface RadioGroupProps extends RadioGroupProps$1 {
274
280
  /** `flex-wrap` style property, defaults to `nowrap` */
275
281
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
276
282
  }
277
- declare function RadioGroup({ orientation, label, description, children, errorMessage, flexWrap, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
283
+ declare function RadioGroup({ orientation, label, description, children, errorMessage, flexWrap, ...props }: RadioGroupProps): react.JSX.Element;
278
284
 
279
285
  interface TagProps extends TagProps$1 {
280
286
  /**
@@ -294,7 +300,7 @@ interface TagProps extends TagProps$1 {
294
300
  */
295
301
  size?: "xsmall" | "small" | "medium";
296
302
  }
297
- declare function Tag({ color, tagStyle, size, icon, id, textValue, ...props }: TagProps): react_jsx_runtime.JSX.Element;
303
+ declare function Tag({ color, tagStyle, size, icon, id, textValue, ...props }: TagProps): react.JSX.Element;
298
304
 
299
305
  interface ListBoxItemProps extends ListBoxItemProps$1 {
300
306
  /** Text label for the option. Provide an `id` if this is not unique. */
@@ -338,100 +344,100 @@ interface SelectProps<T extends object, M extends "single" | "multiple" = "singl
338
344
  overflow?: "wrap" | "scroll";
339
345
  }
340
346
  /** Select displays a collapsible list of options and allows a user to select one or more of them. */
341
- declare function Select<T extends object, M extends "single" | "multiple" = "single">({ items, sections, label, description, placeholder, size, errorMessage, selectionMode, overflow, ...props }: SelectProps<T, M>): react_jsx_runtime.JSX.Element;
347
+ declare function Select<T extends object, M extends "single" | "multiple" = "single">({ items, sections, label, description, placeholder, size, errorMessage, selectionMode, overflow, ...props }: SelectProps<T, M>): react.JSX.Element;
342
348
 
343
349
  interface SeparatorProps extends SeparatorProps$1 {
344
350
  size?: "small" | "medium" | "large";
345
351
  }
346
- declare function Separator({ size, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
352
+ declare function Separator({ size, ...props }: SeparatorProps): react.JSX.Element;
347
353
 
348
354
  declare function SvgBcLogo({ id }: {
349
355
  id?: string | undefined;
350
- }): react_jsx_runtime.JSX.Element;
356
+ }): react.JSX.Element;
351
357
 
352
358
  declare function SvgBcOutlineIcon({ id }: {
353
359
  id?: string | undefined;
354
- }): react_jsx_runtime.JSX.Element;
360
+ }): react.JSX.Element;
355
361
 
356
362
  declare function SvgBetaIcon({ id }: {
357
363
  id?: string | undefined;
358
- }): react_jsx_runtime.JSX.Element;
364
+ }): react.JSX.Element;
359
365
 
360
366
  declare function SvgCalendarIcon({ ...props }: {
361
367
  [x: string]: any;
362
- }): react_jsx_runtime.JSX.Element;
368
+ }): react.JSX.Element;
363
369
 
364
370
  declare function SvgCheckIcon({ id }: {
365
371
  id?: string | undefined;
366
- }): react_jsx_runtime.JSX.Element;
372
+ }): react.JSX.Element;
367
373
 
368
374
  declare function SvgCheckCircleIcon({ id }: {
369
375
  id?: string | undefined;
370
- }): react_jsx_runtime.JSX.Element;
376
+ }): react.JSX.Element;
371
377
 
372
378
  declare function SvgChevronUpIcon({ id }: {
373
379
  id?: string | undefined;
374
- }): react_jsx_runtime.JSX.Element;
380
+ }): react.JSX.Element;
375
381
 
376
382
  declare function SvgChevronDownIcon({ id }: {
377
383
  id?: string | undefined;
378
- }): react_jsx_runtime.JSX.Element;
384
+ }): react.JSX.Element;
379
385
 
380
386
  declare function SvgChevronLeftIcon({ id }: {
381
387
  id?: string | undefined;
382
- }): react_jsx_runtime.JSX.Element;
388
+ }): react.JSX.Element;
383
389
 
384
390
  declare function SvgChevronRightIcon({ id }: {
385
391
  id?: string | undefined;
386
- }): react_jsx_runtime.JSX.Element;
392
+ }): react.JSX.Element;
387
393
 
388
394
  declare function SvgDashIcon$1({ id }: {
389
395
  id?: string | undefined;
390
- }): react_jsx_runtime.JSX.Element;
396
+ }): react.JSX.Element;
391
397
 
392
398
  declare function SvgExclamationIcon({ id }: {
393
399
  id?: string | undefined;
394
- }): react_jsx_runtime.JSX.Element;
400
+ }): react.JSX.Element;
395
401
 
396
402
  declare function SvgExclamationCircleIcon({ id, }: {
397
403
  id?: string | undefined;
398
- }): react_jsx_runtime.JSX.Element;
404
+ }): react.JSX.Element;
399
405
 
400
406
  declare function SvgCloseIcon({ id }: {
401
407
  id?: string | undefined;
402
- }): react_jsx_runtime.JSX.Element;
408
+ }): react.JSX.Element;
403
409
 
404
410
  declare function SvgInfoIcon({ id }: {
405
411
  id?: string | undefined;
406
- }): react_jsx_runtime.JSX.Element;
412
+ }): react.JSX.Element;
407
413
 
408
414
  declare function SvgDashIcon({ id }: {
409
415
  id?: string | undefined;
410
- }): react_jsx_runtime.JSX.Element;
416
+ }): react.JSX.Element;
411
417
 
412
418
  interface SvgPlaceholderIconProps {
413
419
  /** Width and height of the placeholder icon, defaults to 20 */
414
420
  size?: number;
415
421
  }
416
- declare function SvgPlaceholderIcon({ size, ...props }: SvgPlaceholderIconProps): react_jsx_runtime.JSX.Element;
422
+ declare function SvgPlaceholderIcon({ size, ...props }: SvgPlaceholderIconProps): react.JSX.Element;
417
423
 
418
424
  declare function SvgPlusIcon({ id }: {
419
425
  id?: string | undefined;
420
- }): react_jsx_runtime.JSX.Element;
426
+ }): react.JSX.Element;
421
427
 
422
428
  declare function SvgTooltipArrowUp({ id }: {
423
429
  id?: string | undefined;
424
- }): react_jsx_runtime.JSX.Element;
430
+ }): react.JSX.Element;
425
431
 
426
432
  interface SvgUpRightFromSquareIconProps {
427
433
  size?: 16 | 20;
428
434
  id?: string;
429
435
  }
430
- declare function SvgUpRightFromSquareIcon({ size, id, }: SvgUpRightFromSquareIconProps): react_jsx_runtime.JSX.Element;
436
+ declare function SvgUpRightFromSquareIcon({ size, id, }: SvgUpRightFromSquareIconProps): react.JSX.Element;
431
437
 
432
438
  declare function SvgReactAriaIcon({ id }: {
433
439
  id?: string | undefined;
434
- }): react_jsx_runtime.JSX.Element;
440
+ }): react.JSX.Element;
435
441
 
436
442
  interface TagGroupProps extends TagGroupProps$1 {
437
443
  /**
@@ -447,7 +453,7 @@ interface TagGroupProps extends TagGroupProps$1 {
447
453
  */
448
454
  errorMessage?: string;
449
455
  }
450
- declare function TagGroup({ children, label, description, errorMessage, ...props }: TagGroupProps): react_jsx_runtime.JSX.Element;
456
+ declare function TagGroup({ children, label, description, errorMessage, ...props }: TagGroupProps): react.JSX.Element;
451
457
 
452
458
  interface TagListProps<T> extends Pick<TagListProps$1<T>, "children" | "renderEmptyState"> {
453
459
  items: TagProps[];
@@ -456,21 +462,21 @@ interface TagListProps<T> extends Pick<TagListProps$1<T>, "children" | "renderEm
456
462
  */
457
463
  orientation?: "horizontal" | "vertical";
458
464
  }
459
- declare function TagList<T extends object>({ items, orientation, renderEmptyState, ...props }: TagListProps<T>): react_jsx_runtime.JSX.Element;
465
+ declare function TagList<T extends object>({ items, orientation, renderEmptyState, ...props }: TagListProps<T>): react.JSX.Element;
460
466
 
461
467
  interface TextProps extends TextProps$1 {
462
468
  size?: "small" | "medium" | "large";
463
469
  color?: "primary" | "primaryInvert" | "secondary" | "secondaryInvert" | "disabled" | "danger";
464
470
  isUnstyled?: boolean;
465
471
  }
466
- declare function Text({ elementType, size, color, isUnstyled, ...props }: TextProps): react_jsx_runtime.JSX.Element;
472
+ declare function Text({ elementType, size, color, isUnstyled, ...props }: TextProps): react.JSX.Element;
467
473
 
468
474
  interface TextAreaProps extends TextFieldProps$1 {
469
475
  label?: string;
470
476
  description?: string;
471
477
  errorMessage?: string | ((validation: ValidationResult) => string);
472
478
  }
473
- declare function TextArea({ label, description, errorMessage, maxLength, onChange, value, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
479
+ declare function TextArea({ label, description, errorMessage, maxLength, onChange, value, ...props }: TextAreaProps): react.JSX.Element;
474
480
 
475
481
  interface TextFieldProps extends TextFieldProps$1 {
476
482
  size?: "medium" | "small";
@@ -480,7 +486,7 @@ interface TextFieldProps extends TextFieldProps$1 {
480
486
  iconLeft?: React.ReactElement;
481
487
  iconRight?: React.ReactElement;
482
488
  }
483
- declare function TextField({ size, label, description, errorMessage, iconLeft, iconRight, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
489
+ declare function TextField({ size, label, description, errorMessage, iconLeft, iconRight, ...props }: TextFieldProps): react.JSX.Element;
484
490
 
485
491
  interface TimeFieldProps<T extends TimeValue> extends TimeFieldProps$1<T> {
486
492
  size?: "medium" | "small";
@@ -488,26 +494,26 @@ interface TimeFieldProps<T extends TimeValue> extends TimeFieldProps$1<T> {
488
494
  description?: string;
489
495
  errorMessage?: string | ((validation: ValidationResult) => string);
490
496
  }
491
- declare function TimeField<T extends TimeValue>({ size, label, description, errorMessage, isRequired, ...props }: TimeFieldProps<T>): react_jsx_runtime.JSX.Element;
497
+ declare function TimeField<T extends TimeValue>({ size, label, description, errorMessage, isRequired, ...props }: TimeFieldProps<T>): react.JSX.Element;
492
498
 
493
499
  interface ToggleButtonProps extends ToggleButtonProps$1 {
494
500
  size?: "small" | "medium";
495
501
  isIconButton?: boolean;
496
502
  }
497
- declare function ToggleButton({ size, children, isIconButton, ...props }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
503
+ declare function ToggleButton({ size, children, isIconButton, ...props }: ToggleButtonProps): react.JSX.Element;
498
504
 
499
505
  interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
500
506
  label?: string;
501
507
  size?: "small" | "medium";
502
508
  }
503
- declare function ToggleButtonGroup({ label, size, children, ...props }: ToggleButtonGroupProps): react_jsx_runtime.JSX.Element;
509
+ declare function ToggleButtonGroup({ label, size, children, ...props }: ToggleButtonGroupProps): react.JSX.Element;
504
510
 
505
511
  interface SwitchProps extends SwitchProps$1 {
506
512
  labelPosition?: "left" | "right";
507
513
  }
508
- declare function Switch({ labelPosition, children, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
514
+ declare function Switch({ labelPosition, children, ...props }: SwitchProps): react.JSX.Element;
509
515
 
510
- declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
516
+ declare function Tooltip(props: TooltipProps): react.JSX.Element;
511
517
 
512
518
  interface NumberFieldProps extends NumberFieldProps$1 {
513
519
  size?: "small" | "medium";
@@ -515,6 +521,6 @@ interface NumberFieldProps extends NumberFieldProps$1 {
515
521
  description?: string;
516
522
  errorMessage?: string | ((validation: ValidationResult) => string);
517
523
  }
518
- declare function NumberField({ size, label, description, errorMessage, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
524
+ declare function NumberField({ size, label, description, errorMessage, ...props }: NumberFieldProps): react.JSX.Element;
519
525
 
520
- 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, SvgBcLogo, SvgBcOutlineIcon, SvgBetaIcon, SvgCalendarIcon, SvgCheckCircleIcon, SvgCheckIcon, SvgChevronDownIcon, SvgChevronLeftIcon, SvgChevronRightIcon, SvgChevronUpIcon, SvgCloseIcon, SvgDashIcon$1 as SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgDashIcon as SvgMinusIcon, SvgPlaceholderIcon, SvgPlusIcon, SvgReactAriaIcon, SvgTooltipArrowUp, SvgUpRightFromSquareIcon, Switch, Tag, TagGroup, TagList, Text, TextArea, TextField, TimeField, ToggleButton, ToggleButtonGroup, Tooltip };
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$1 as SvgDashIcon, SvgExclamationCircleIcon, SvgExclamationIcon, SvgInfoIcon, SvgDashIcon as 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.7.0-pr690",
3
+ "version": "0.7.0-pr693",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/bcgov/design-system.git",
@@ -43,8 +43,8 @@
43
43
  ],
44
44
  "dependencies": {
45
45
  "@bcgov/design-tokens": "4.0.0",
46
- "@react-aria/datepicker": "3.17.0",
47
- "@react-aria/i18n": "3.13.0",
46
+ "@react-aria/datepicker": "3.17.1",
47
+ "@react-aria/i18n": "3.13.1",
48
48
  "react-aria-components": "1.17.0"
49
49
  },
50
50
  "peerDependencies": {
@@ -54,46 +54,46 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@eslint/js": "10.0.1",
57
- "@figma/code-connect": "1.4.5",
58
- "@react-stately/data": "3.16.0",
59
- "@rollup/plugin-commonjs": "29.0.2",
57
+ "@figma/code-connect": "1.4.8",
58
+ "@react-stately/data": "3.16.1",
59
+ "@rollup/plugin-commonjs": "29.0.3",
60
60
  "@rollup/plugin-json": "6.1.0",
61
61
  "@rollup/plugin-node-resolve": "16.0.3",
62
62
  "@rollup/plugin-typescript": "12.3.0",
63
- "@storybook/addon-a11y": "10.4.0",
64
- "@storybook/addon-docs": "10.4.0",
65
- "@storybook/addon-links": "10.4.0",
66
- "@storybook/addon-vitest": "10.4.0",
67
- "@storybook/react-vite": "10.4.0",
63
+ "@storybook/addon-a11y": "10.4.6",
64
+ "@storybook/addon-docs": "10.4.6",
65
+ "@storybook/addon-links": "10.4.6",
66
+ "@storybook/addon-vitest": "10.4.6",
67
+ "@storybook/react-vite": "10.4.6",
68
68
  "@testing-library/jest-dom": "6.9.1",
69
69
  "@testing-library/react": "16.3.2",
70
- "@types/node": "25.9.1",
71
- "@types/react": "19.2.15",
70
+ "@types/node": "25.9.3",
71
+ "@types/react": "19.2.17",
72
72
  "@types/react-dom": "19.2.3",
73
- "@typescript-eslint/eslint-plugin": "8.59.4",
74
- "@typescript-eslint/parser": "8.59.4",
73
+ "@typescript-eslint/eslint-plugin": "8.61.0",
74
+ "@typescript-eslint/parser": "8.61.0",
75
75
  "@vitejs/plugin-react": "6.0.2",
76
- "@vitest/browser-playwright": "4.1.7",
77
- "@vitest/coverage-v8": "4.1.7",
76
+ "@vitest/browser-playwright": "4.1.9",
77
+ "@vitest/coverage-v8": "4.1.9",
78
78
  "axe-playwright": "2.2.2",
79
- "eslint": "10.4.0",
79
+ "eslint": "10.5.0",
80
80
  "eslint-plugin-react-hooks": "7.1.1",
81
- "eslint-plugin-react-refresh": "0.5.2",
82
- "eslint-plugin-storybook": "10.4.0",
83
- "globals": "17.5.0",
81
+ "eslint-plugin-react-refresh": "0.5.3",
82
+ "eslint-plugin-storybook": "10.4.6",
83
+ "globals": "17.6.0",
84
84
  "jsdom": "29.1.1",
85
- "playwright": "1.60.0",
86
- "prettier": "3.8.3",
87
- "rollup": "4.60.4",
85
+ "playwright": "1.61.0",
86
+ "prettier": "3.8.4",
87
+ "rollup": "4.62.0",
88
88
  "rollup-plugin-dts": "6.4.1",
89
89
  "rollup-plugin-peer-deps-external": "2.2.4",
90
90
  "rollup-plugin-postcss": "4.0.2",
91
- "storybook": "10.4.0",
91
+ "storybook": "10.4.6",
92
92
  "tslib": "2.8.1",
93
93
  "typescript": "6.0.3",
94
- "typescript-eslint": "8.59.4",
95
- "vite": "8.0.13",
96
- "vitest": "4.1.7"
94
+ "typescript-eslint": "8.61.0",
95
+ "vite": "8.0.16",
96
+ "vitest": "4.1.9"
97
97
  },
98
98
  "optionalDependencies": {
99
99
  "@rollup/rollup-linux-x64-gnu": "*"