ds-smart-ui
Version:
Smart UI v1.0.5 — A production-ready React component library by PT Praisindo Teknologi. Covers inputs, navigation, data display, feedback, and layout with a unified design system, semantic Typography tokens, and full Storybook documentation.
148 lines (147 loc) • 4.05 kB
TypeScript
import { StoryObj } from '@storybook/react-vite';
declare const meta: {
title: string;
component: import('react').ForwardRefExoticComponent<Omit<import('./IconButton').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
parameters: {
layout: string;
docs: {
description: {
component: string;
};
};
};
tags: string[];
argTypes: {
variant: {
control: "select";
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
color: {
control: "select";
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
size: {
control: "select";
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
rounded: {
control: "select";
options: string[];
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
children: {
control: false;
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
isLoading: {
control: "boolean";
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
disabled: {
control: "boolean";
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
href: {
control: "text";
description: string;
table: {
type: {
summary: string;
};
defaultValue: {
summary: string;
};
};
};
};
args: {
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
children: import("react/jsx-runtime").JSX.Element;
variant: string;
color: string;
size: string;
rounded: string;
isLoading: boolean;
disabled: boolean;
};
};
export default meta;
type Story = StoryObj<typeof meta>;
export declare const Default: Story;
export declare const AllVariants: Story;
export declare const AllColors: Story;
export declare const AllSizes: Story;
export declare const AllRounded: Story;
export declare const ButtonStates: Story;
export declare const CommonUseCases: Story;
export declare const AsLink: Story;
export declare const ComprehensiveGrid: Story;
export declare const ToolbarExample: Story;
export declare const Loading: Story;
export declare const Disabled: Story;
export declare const Large: Story;
export declare const Small: Story;
export declare const Outlined: Story;
export declare const Soft: Story;
export declare const Danger: Story;
export declare const Success: Story;
export declare const SquareButton: Story;