@validationcloud/fractal-ui 1.27.0 → 1.28.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.
- package/dist/components/client-modal/client-modal.d.ts +12 -0
- package/dist/components/client-modal/client-modal.stories.d.ts +8 -0
- package/dist/components/text-input/text-input.d.ts +2 -1
- package/dist/components/text-input/text-input.stories.d.ts +3 -1
- package/dist/fractal-ui.js +331 -229
- package/dist/index.d.ts +1 -0
- package/dist/internal/modal-header.d.ts +9 -0
- package/dist/internal/modal.d.ts +11 -0
- package/dist/internal/react-portal.d.ts +9 -0
- package/dist/internal/round-button.d.ts +4 -0
- package/package.json +3 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Modal } from '../../internal/modal';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
type ClientModalProps = {
|
|
4
|
+
wrapperId?: string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
} & React.ComponentProps<typeof Modal>;
|
|
11
|
+
export declare function ClientModal({ wrapperId, isOpen, title, onClose, description, disabled, children, ...props }: ClientModalProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -4,6 +4,7 @@ type TextInputProps = {
|
|
|
4
4
|
disablePasswordManagers?: boolean;
|
|
5
5
|
rightAccessory?: React.ReactNode;
|
|
6
6
|
errorState?: boolean;
|
|
7
|
+
containerClassName?: string;
|
|
7
8
|
} & React.InputHTMLAttributes<HTMLInputElement>;
|
|
8
|
-
export declare const TextInput: ({ variant, disablePasswordManagers, rightAccessory, errorState, className, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const TextInput: ({ variant, disablePasswordManagers, rightAccessory, errorState, className, containerClassName, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
|
-
component: ({ variant, disablePasswordManagers, rightAccessory, errorState, className, ...props }: {
|
|
3
|
+
component: ({ variant, disablePasswordManagers, rightAccessory, errorState, className, containerClassName, ...props }: {
|
|
4
4
|
variant?: "outlined" | "filled";
|
|
5
5
|
disablePasswordManagers?: boolean;
|
|
6
6
|
rightAccessory?: React.ReactNode;
|
|
7
7
|
errorState?: boolean;
|
|
8
|
+
containerClassName?: string;
|
|
8
9
|
} & import('react').InputHTMLAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
args: {
|
|
10
11
|
disabled: false;
|
|
@@ -22,3 +23,4 @@ export declare const ErrorState: Story;
|
|
|
22
23
|
export declare const ErrorStateFilled: Story;
|
|
23
24
|
export declare const Disabled: Story;
|
|
24
25
|
export declare const DisabledFilled: Story;
|
|
26
|
+
export declare const WithContainerClassName: Story;
|