brd-ui-kit 0.1.50 → 0.1.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brd-ui-kit",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "dist/index.cjs",
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
- export type ToastType = "default" | "success" | "info" | "warning" | "error";
3
- export type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
4
- export type SonnerProps = {
5
- type?: ToastType;
6
- description?: string;
7
- title?: string;
8
- titlePromis?: {
9
- loading?: string;
10
- success?: string;
11
- error?: string;
12
- };
13
- position?: ToastPosition;
14
- asyncFn?: () => Promise<unknown>;
15
- children: (props: {
16
- onClick: () => void;
17
- }) => React.ReactNode;
18
- };
19
- export declare function BasicSonner({ type, description, title, titlePromis, position, asyncFn, children, }: SonnerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { BasicSonner } from './basic-sonner';
2
- import { StoryObj } from '@storybook/react-vite';
3
- declare const meta: {
4
- title: string;
5
- component: typeof BasicSonner;
6
- };
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- export declare const Types: Story;
10
- export declare const Positions: Story;
11
- export declare const AsyncPromise: Story;
@@ -1 +0,0 @@
1
- export { BasicSonner, type SonnerProps, type ToastPosition, type ToastType } from './basic-sonner';