@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.
@@ -4,4 +4,4 @@ type IconProps = SVGProps<SVGSVGElement> & {
4
4
  title?: string;
5
5
  };
6
6
  export declare const ChevronUpIcon: ({ fill, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
7
+ export default ChevronUpIcon;
@@ -3,4 +3,4 @@ type IconProps = SVGProps<SVGSVGElement> & {
3
3
  title?: string;
4
4
  };
5
5
  export declare const InfoIcon: ({ fill, title, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
6
+ export default InfoIcon;
@@ -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,2 @@
1
+ import { IconShowcaseProps } from './icon-showcase.type';
2
+ export declare function IconShowcase({ searchValue: controlledSearchValue, onSearchChange, iconSize, className, }: IconShowcaseProps): import("react/jsx-runtime").JSX.Element;
@@ -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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",