@validationcloud/fractal-ui 1.2.0 → 1.3.0

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.
@@ -0,0 +1 @@
1
+ export declare const iconIds: readonly ["arrow-narrow", "arrow", "banknote", "billing", "bracket", "check", "chevron-vertical", "chevron", "circle-fill", "circle-stroke", "clock", "close", "cog", "copy", "documents", "enter", "exclamation", "faucet", "filter", "help-center", "home", "info", "intercom", "link", "more", "minus", "node", "patch", "plus", "processing", "radio-empty", "radio-full", "resize", "search", "step-indicator", "subgraphs", "sync-problem", "thumb", "wallet", "wallet-connected", "wallet-disconnected", "wrench"];
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ type IconShowcaseProps = {
3
+ backgroundColor: string;
4
+ roundBackground: boolean;
5
+ className: string;
6
+ };
7
+ declare function IconShowcase({ backgroundColor, roundBackground, className }: IconShowcaseProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const meta: {
9
+ component: typeof IconShowcase;
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const IconShowcaseStory: Story;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { iconIds } from './icon-ids';
3
+ export type IconID = (typeof iconIds)[number];
4
+ type IconProps = {
5
+ icon: IconID;
6
+ } & React.ComponentPropsWithoutRef<'svg'>;
7
+ export declare function Icon({ icon, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Icon } from './icon';
3
+ declare const meta: {
4
+ component: typeof Icon;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const ExampleIcon: Story;