wacomm 2.24.0 → 2.25.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.
- package/dist/icons/CloseIcon.stories.d.ts +7 -0
- package/dist/icons/EditIcon.stories.d.ts +8 -0
- package/dist/icons/SendIcon.stories.d.ts +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/success/SuccessMessage.d.ts +6 -0
- package/dist/success/SuccessMessage.stories.d.ts +7 -0
- package/dist/success/index.d.ts +1 -0
- package/dist/toaster/Toaster.d.ts +11 -0
- package/dist/toaster/Toaster.stories.d.ts +8 -0
- package/dist/toaster/index.d.ts +1 -0
- package/dist/wacomm.cjs.js +8 -8
- package/dist/wacomm.css +1 -1
- package/dist/wacomm.es.js +168 -137
- package/package.json +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as CloseIcon } from './CloseIcon';
|
|
3
|
+
declare const meta: Meta<typeof CloseIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Hidden: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as EditIcon } from './EditIcon';
|
|
3
|
+
declare const meta: Meta<typeof EditIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Highlighted: Story;
|
|
8
|
+
export declare const Hidden: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SendIcon } from './SendIcon';
|
|
3
|
+
declare const meta: Meta<typeof SendIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Highlighted: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export * from './html';
|
|
|
34
34
|
export * from './modal';
|
|
35
35
|
export * from './pickers';
|
|
36
36
|
export * from './errors';
|
|
37
|
+
export * from './success';
|
|
38
|
+
export * from './toaster';
|
|
37
39
|
export * from './tags';
|
|
38
40
|
export { default as Text } from './Text';
|
|
39
41
|
export { default as ShowMore } from './ShowMore';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SuccessMessage } from './SuccessMessage';
|
|
3
|
+
declare const meta: Meta<typeof SuccessMessage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CustomLabel: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SuccessMessage } from './SuccessMessage';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ZeroFuncType } from 'waujs';
|
|
3
|
+
interface ToasterProps {
|
|
4
|
+
message: string | ReactNode;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose?: ZeroFuncType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare function Toaster({ message, isOpen, onClose, duration, className }: ToasterProps): import("react").JSX.Element | null;
|
|
11
|
+
export default Toaster;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Toaster } from './Toaster';
|
|
3
|
+
declare const meta: Meta<typeof Toaster>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const LongDuration: Story;
|
|
8
|
+
export declare const CustomStyling: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toaster } from './Toaster';
|