@qodo/design-system 0.20.19 → 0.20.21

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
@@ -152,6 +152,7 @@ declare type BaseSelectProps = {
152
152
  }) => ReactNode;
153
153
  size?: "xs" | "default";
154
154
  contentMaxWidth?: string;
155
+ error?: boolean;
155
156
  } & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
156
157
 
157
158
  export declare const borderRadius: {
@@ -711,7 +712,7 @@ declare const SearchSize: {
711
712
  LARGE: string;
712
713
  };
713
714
 
714
- export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, ...rest }: SelectProps): JSX_2.Element;
715
+ export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, size, contentMaxWidth, error, ...rest }: SelectProps): JSX_2.Element;
715
716
 
716
717
  declare const SELECT_MODE: {
717
718
  SINGLE: string;
@@ -835,7 +836,9 @@ export declare type TableProps<T extends RowData> = {
835
836
  activeRowId?: number | string;
836
837
  } & PaginationModeProps & React.ComponentPropsWithoutRef<typeof Table_2>;
837
838
 
838
- export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX_2.Element;
839
+ export declare const Tabs: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
840
+ triggerVariant?: TabsTriggerVariant;
841
+ } & React_2.RefAttributes<HTMLDivElement>>;
839
842
 
840
843
  export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX_2.Element;
841
844
 
@@ -843,6 +846,8 @@ export declare function TabsList({ className, ...props }: React_2.ComponentProps
843
846
 
844
847
  export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX_2.Element;
845
848
 
849
+ declare type TabsTriggerVariant = "default" | "button";
850
+
846
851
  export declare type TagItemProps = {
847
852
  label: string;
848
853
  id: string;