@validationcloud/fractal-ui 1.21.0 → 1.22.1

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.
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  component: import('react').ForwardRefExoticComponent<{
4
4
  color?: "number" | "success" | "primary" | "successInverted";
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  component: import('react').ForwardRefExoticComponent<{
4
4
  header?: React.ReactNode;
@@ -8,8 +8,8 @@ import { default as React } from 'react';
8
8
  */
9
9
  export declare const Button: React.ForwardRefExoticComponent<{
10
10
  className?: string;
11
- variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light";
12
- size?: "large" | "medium" | "small" | "xsmall";
11
+ variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light" | "redText";
12
+ size?: "xlarge" | "large" | "medium" | "small" | "xsmall";
13
13
  } & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
14
14
  asChild?: boolean;
15
15
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -1,9 +1,9 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  component: import('react').ForwardRefExoticComponent<{
4
4
  className?: string;
5
- variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light";
6
- size?: "large" | "medium" | "small" | "xsmall";
5
+ variant?: "primary" | "warning" | "info" | "gradient" | "secondary" | "ghost" | "text" | "light" | "redText";
6
+ size?: "xlarge" | "large" | "medium" | "small" | "xsmall";
7
7
  } & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
8
8
  asChild?: boolean;
9
9
  } & import('react').RefAttributes<HTMLButtonElement>>;
@@ -19,6 +19,7 @@ export declare const Light: Story;
19
19
  export declare const Gradient: Story;
20
20
  export declare const Warning: Story;
21
21
  export declare const Info: Story;
22
+ export declare const RedText: Story;
22
23
  export declare const Ghost: Story;
23
24
  export declare const GhostButtonInTextLayout: Story;
24
25
  export declare const AllSizes: Story;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { DecoratedIcon } from './decorated-icon';
3
3
  declare const meta: {
4
4
  component: typeof DecoratedIcon;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  type IconShowcaseProps = {
3
3
  backgroundColor: string;
4
4
  roundBackground: boolean;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { Icon } from './icon';
3
3
  declare const meta: {
4
4
  component: typeof Icon;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { InputButton } from './input-button';
3
3
  declare const meta: {
4
4
  component: typeof InputButton;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  component: import('react').ForwardRefExoticComponent<{
4
4
  readonly sides?: ("bottom" | "left" | "right" | "top")[];
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { ProtocolLogo } from './protocol-logo';
3
3
  declare const meta: {
4
4
  component: typeof ProtocolLogo;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  default: string;
8
8
  };
9
9
  };
10
- decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
10
+ decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
11
11
  name: string;
12
12
  size?: ("xs" | "sm" | "md" | "lg" | "xl") | undefined;
13
13
  string?: number | string | undefined | undefined;
@@ -1,6 +1,10 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { default as React } from 'react';
2
3
  import { ScrollArea } from './scroll-area';
3
- declare const meta: Meta<typeof ScrollArea.Root>;
4
+ type StoryArgs = React.ComponentPropsWithoutRef<typeof ScrollArea.Root> & {
5
+ contentLength?: 'short' | 'long';
6
+ };
7
+ declare const meta: Meta<StoryArgs>;
4
8
  export default meta;
5
9
  type Story = StoryObj<typeof meta>;
6
10
  export declare const BasicExample: Story;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { Skeleton } from './skeleton';
3
3
  declare const meta: {
4
4
  component: typeof Skeleton;
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  component: ({ variant, disablePasswordManagers, rightAccessory, errorState, className, ...props }: {
4
4
  variant?: "outlined" | "filled";
@@ -1,4 +1,4 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react-vite';
2
2
  import { Tooltip } from './tooltip';
3
3
  declare const meta: {
4
4
  component: typeof Tooltip;
@@ -10,7 +10,7 @@ declare const meta: {
10
10
  args: {
11
11
  side: "bottom";
12
12
  };
13
- decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
13
+ decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
14
14
  content: React.ReactNode;
15
15
  color?: "bg-neutral-60" | "bg-neutral-80" | "bg-secondary-40" | undefined;
16
16
  side?: "bottom" | "left" | "right" | "top" | undefined;