@capitaltg/vero 1.8.0 → 1.8.2

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.
@@ -367,14 +367,14 @@ declare type MultipleProps = {
367
367
  onValueChange?: (value: string[]) => void;
368
368
  };
369
369
 
370
- export declare const MultiSelect: default_2.ForwardRefExoticComponent<MultiSelectProps & default_2.RefAttributes<HTMLButtonElement>>;
370
+ export declare const MultiSelect: default_2.ForwardRefExoticComponent<MultiSelectProps & default_2.RefAttributes<HTMLDivElement>>;
371
371
 
372
372
  export declare interface MultiSelectOption {
373
373
  value: string;
374
374
  label: string;
375
375
  }
376
376
 
377
- export declare interface MultiSelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'disabled'> {
377
+ export declare interface MultiSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
378
378
  options: MultiSelectOption[];
379
379
  value: string[];
380
380
  onChange: (value: string[]) => void;
@@ -556,6 +556,11 @@ export declare interface StepIndicatorProps<T extends readonly Step[] | Step[] =
556
556
  * Defaults to 'h4'.
557
557
  */
558
558
  headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
559
+ /**
560
+ * If false, labels will not be shown below the segments or counter list.
561
+ * Defaults to true.
562
+ */
563
+ showLabels?: boolean;
559
564
  }
560
565
 
561
566
  export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -582,7 +587,7 @@ export declare interface SwitchProps extends Omit<ComponentPropsWithoutRef<typeo
582
587
  isDisabled?: boolean;
583
588
  }
584
589
 
585
- export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
590
+ export declare const Tabs: React_2.ForwardRefExoticComponent<TabsProps & React_2.RefAttributes<HTMLDivElement>>;
586
591
 
587
592
  export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
588
593
 
@@ -592,7 +597,20 @@ export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimit
592
597
 
593
598
  export declare type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List>;
594
599
 
595
- export declare type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;
600
+ export declare interface TabsProps extends ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
601
+ /**
602
+ * The controlled value of the active tab. When provided, the component becomes a controlled component.
603
+ */
604
+ value?: string;
605
+ /**
606
+ * The default value of the active tab when the component is uncontrolled.
607
+ */
608
+ defaultValue?: string;
609
+ /**
610
+ * How tabs are activated. When set to "automatic", tabs are activated when receiving focus. When set to "manual", tabs are activated when clicked.
611
+ */
612
+ activationMode?: 'automatic' | 'manual';
613
+ }
596
614
 
597
615
  export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
598
616
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capitaltg/vero",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "Accessible, modern, open source React component library inspired by USWDS built with Radix UI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",