@ztwoint/z-ui 0.1.38 → 0.1.39
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/components/assets/icons/chevron-up-icon.d.ts +1 -1
- package/dist/components/assets/icons/chevron-up-icon.js +6 -5
- package/dist/components/assets/icons/info-icon.d.ts +1 -1
- package/dist/components/assets/icons/info-icon.js +5 -4
- package/dist/components/badge/badge.d.ts +11 -0
- package/dist/components/icon-showcase/icon-showcase.d.ts +2 -0
- package/dist/components/icon-showcase/icon-showcase.hook.d.ts +8 -0
- package/dist/components/icon-showcase/icon-showcase.type.d.ts +11 -0
- package/dist/components/icon-showcase/icons-list.d.ts +1 -0
- package/dist/css/config/colors/surfaces.css +54 -0
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/types/components/assets/icons/chevron-up-icon.d.ts +1 -1
- package/dist/types/components/assets/icons/info-icon.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +11 -0
- package/dist/types/components/icon-showcase/icon-showcase.d.ts +2 -0
- package/dist/types/components/icon-showcase/icon-showcase.hook.d.ts +8 -0
- package/dist/types/components/icon-showcase/icon-showcase.type.d.ts +11 -0
- package/dist/types/components/icon-showcase/icons-list.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "xs" | "lg" | null | undefined;
|
|
6
|
+
color?: "default" | "success" | "warning" | "destructive" | "primary" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
+
declare function Badge({ className, variant, size, color, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconInfo } from './icon-showcase.type';
|
|
2
|
+
export declare function useIconShowcase(icons: IconInfo[], controlledSearchValue?: string): {
|
|
3
|
+
searchValue: string;
|
|
4
|
+
setSearchValue: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
5
|
+
filteredIcons: IconInfo[];
|
|
6
|
+
totalCount: number;
|
|
7
|
+
filteredCount: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IconInfo {
|
|
2
|
+
name: string;
|
|
3
|
+
component: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
|
4
|
+
fileName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IconShowcaseProps {
|
|
7
|
+
searchValue?: string;
|
|
8
|
+
onSearchChange?: (value: string) => void;
|
|
9
|
+
iconSize?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const iconFilenames: string[];
|