@qodo/design-system 0.18.2 → 0.18.3
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/design-system.css +1 -1
- package/dist/index.cjs.js +15 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.esm.js +1315 -1269
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -636,7 +636,14 @@ declare interface SubMenuItemType extends BaseMenuItemType, TypeGuard<"SubMenuIt
|
|
|
636
636
|
separator?: boolean;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
|
-
export declare function Switch({ className, ...props }:
|
|
639
|
+
export declare function Switch({ className, size, ...props }: SwitchProps): JSX_2.Element;
|
|
640
|
+
|
|
641
|
+
declare interface SwitchProps extends React_2.ComponentProps<typeof SwitchPrimitive.Root>, VariantProps<typeof switchVariants> {
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare const switchVariants: (props?: ({
|
|
645
|
+
size?: "small" | "large" | null | undefined;
|
|
646
|
+
} & ClassProp) | undefined) => string;
|
|
640
647
|
|
|
641
648
|
export declare const Table: <T extends RowData>({ table, emptyStateComponent, noResultsComponent, errorComponent, isLoading, isError, onRowClick, emptyStateTitle, emptyStateDescription, noResultsTitle, wrapperClassName, loadingRowsCount, activeRowId, }: TableProps<T & WithId>) => JSX_2.Element;
|
|
642
649
|
|