@nithish_atum/atum 1.0.3 → 1.0.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nithishkumar Thiruselvam
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # atumui
package/dist/index.d.mts CHANGED
@@ -1,36 +1,36 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode } from 'react';
3
3
 
4
- type Flex$1 = "row" | "col";
5
- type Gap$3 = "xs" | "sm" | "md" | "lg";
4
+ type Flex$2 = "row" | "col";
5
+ type Gap$8 = "xs" | "sm" | "md" | "lg";
6
6
  type Variant$2 = "default" | "elevated";
7
- interface ContainerProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
8
- gap?: Gap$3;
9
- flex?: Flex$1;
7
+ interface ContainerProps$5 extends React.BaseHTMLAttributes<HTMLDivElement> {
8
+ gap?: Gap$8;
9
+ flex?: Flex$2;
10
10
  variant?: Variant$2;
11
11
  children: React.ReactNode;
12
12
  }
13
- declare const Box: ({ flex, gap, variant, children, ...rest }: ContainerProps$1) => react_jsx_runtime.JSX.Element;
13
+ declare const Box: ({ flex, gap, variant, children, ...rest }: ContainerProps$5) => react_jsx_runtime.JSX.Element;
14
14
 
15
15
  type Variant$1 = "primary_solid" | "primary_outline" | "primary_text";
16
- interface ButtonProps$2 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
16
+ interface ButtonProps$4 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
17
17
  variant?: Variant$1;
18
18
  children: React.ReactNode;
19
19
  }
20
- declare const Button: ({ variant, children, ...rest }: ButtonProps$2) => react_jsx_runtime.JSX.Element;
20
+ declare const Button: ({ variant, children, ...rest }: ButtonProps$4) => react_jsx_runtime.JSX.Element;
21
21
 
22
- type Direction = "row" | "col";
23
- type Gap$2 = "xs" | "sm" | "md" | "lg";
22
+ type Direction$1 = "row" | "col";
23
+ type Gap$7 = "xs" | "sm" | "md" | "lg";
24
24
  type ImageURL = string;
25
25
  type ImageAlt = string;
26
- interface ContainerProps extends React.BaseHTMLAttributes<HTMLDivElement> {
27
- gap?: Gap$2;
26
+ interface ContainerProps$4 extends React.BaseHTMLAttributes<HTMLDivElement> {
27
+ gap?: Gap$7;
28
28
  Imageurl?: ImageURL;
29
29
  Imagealt?: ImageAlt;
30
- direction?: Direction;
30
+ direction?: Direction$1;
31
31
  children: React.ReactNode;
32
32
  }
33
- declare const Card: ({ direction, gap, Imagealt, Imageurl, children, ...rest }: ContainerProps) => react_jsx_runtime.JSX.Element;
33
+ declare const Card: ({ direction, gap, Imagealt, Imageurl, children, ...rest }: ContainerProps$4) => react_jsx_runtime.JSX.Element;
34
34
 
35
35
  interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
36
36
  label?: React.ReactNode;
@@ -46,12 +46,12 @@ interface DatePickerProps {
46
46
  declare const DatePicker: React.FC<DatePickerProps>;
47
47
 
48
48
  type Orientation = "horizontal" | "vertical";
49
- type Size$1 = "thin" | "medium";
50
- type Gap$1 = "xs" | "sm" | "md" | "lg";
49
+ type Size$2 = "thin" | "medium";
50
+ type Gap$6 = "xs" | "sm" | "md" | "lg";
51
51
  interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
52
52
  orientation?: Orientation;
53
- size?: Size$1;
54
- gap?: Gap$1;
53
+ size?: Size$2;
54
+ gap?: Gap$6;
55
55
  }
56
56
  declare const Divider: ({ orientation, size, gap, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
57
57
 
@@ -66,18 +66,18 @@ interface DrawerProps {
66
66
  }
67
67
  declare const Drawer: React.FC<DrawerProps>;
68
68
 
69
- type Gap = "small" | "medium" | "large";
69
+ type Gap$5 = "small" | "medium" | "large";
70
70
  type FlexDirection = "row" | "col";
71
71
  type Justify = "center" | "between" | "around" | "start" | "end" | "even";
72
72
  type Align = "center" | "between" | "around" | "start" | "end" | "even";
73
- interface ButtonProps$1 extends React.ButtonHTMLAttributes<HTMLDivElement> {
74
- gap?: Gap;
73
+ interface ButtonProps$3 extends React.ButtonHTMLAttributes<HTMLDivElement> {
74
+ gap?: Gap$5;
75
75
  flexDirection?: FlexDirection;
76
76
  justify?: Justify;
77
77
  align?: Align;
78
78
  children: React.ReactNode;
79
79
  }
80
- declare const Flex: ({ gap, justify, align, flexDirection, children, ...rest }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
80
+ declare const Flex$1: ({ gap, justify, align, flexDirection, children, ...rest }: ButtonProps$3) => react_jsx_runtime.JSX.Element;
81
81
 
82
82
  interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
83
83
  children: React.ReactNode;
@@ -163,18 +163,119 @@ interface SwitchProps extends React.InputHTMLAttributes<HTMLInputElement> {
163
163
  declare const Switch: ({ checked, disabled, label, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
164
164
 
165
165
  type FontVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p";
166
- interface ButtonProps extends React.BaseHTMLAttributes<HTMLElement> {
166
+ interface ButtonProps$2 extends React.BaseHTMLAttributes<HTMLElement> {
167
167
  fontVariant?: FontVariant;
168
168
  children: React.ReactNode;
169
169
  }
170
- declare const Text: ({ fontVariant, children, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
170
+ declare const Text: ({ fontVariant, children, ...rest }: ButtonProps$2) => react_jsx_runtime.JSX.Element;
171
171
 
172
- type Size = "sm" | "md" | "lg";
172
+ type Size$1 = "sm" | "md" | "lg";
173
173
  type State = "default" | "error";
174
174
  interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
175
- size?: Size;
175
+ size?: Size$1;
176
176
  state?: State;
177
177
  }
178
178
  declare const Textarea: ({ size, state, ...rest }: TextareaProps) => react_jsx_runtime.JSX.Element;
179
179
 
180
- export { Box, Button, Card, Checkbox, DatePicker, Divider, Drawer, Flex, Form, FormControl, Heading, Input, Link, Modal, Paragraph, Radio, Select, Switch, Text, Textarea };
180
+ type MenuItems$1 = String[];
181
+ type LogoUrl$1 = string;
182
+ type Alt$1 = string;
183
+ type HREF$1 = string;
184
+ interface ButtonProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
185
+ menuItems?: MenuItems$1;
186
+ logo?: LogoUrl$1;
187
+ alt?: Alt$1;
188
+ href?: HREF$1;
189
+ children: React.ReactNode;
190
+ }
191
+ declare const CenterMenu: ({ menuItems, logo, alt, href, children, ...rest }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
192
+
193
+ type MenuItems = String[];
194
+ type LogoUrl = "";
195
+ type Alt = string;
196
+ type HREF = string;
197
+ interface ButtonProps extends React.BaseHTMLAttributes<HTMLDivElement> {
198
+ menuItems?: MenuItems;
199
+ logo?: LogoUrl;
200
+ alt?: Alt;
201
+ href?: HREF;
202
+ children: React.ReactNode;
203
+ }
204
+ declare const HorizantalMenu: ({ menuItems, logo, alt, href, children, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
205
+
206
+ interface ContainerProps$3 extends React.BaseHTMLAttributes<HTMLDivElement> {
207
+ children: React.ReactNode;
208
+ }
209
+ declare const Center: ({ children, ...rest }: ContainerProps$3) => react_jsx_runtime.JSX.Element;
210
+
211
+ type JustifyContent$1 = "center" | "start" | "end" | "FStart" | "FEnd" | "left" | "right" | "between" | "around" | "even";
212
+ type Gap$4 = "xs" | "sm" | "md" | "lg";
213
+ interface ContainerProps$2 extends React.BaseHTMLAttributes<HTMLDivElement> {
214
+ gap?: Gap$4;
215
+ justify?: JustifyContent$1;
216
+ children: React.ReactNode;
217
+ }
218
+ declare const Col: ({ justify, gap, children, ...rest }: ContainerProps$2) => react_jsx_runtime.JSX.Element;
219
+
220
+ type Size = "xs" | "sm" | "md" | "lg";
221
+ type Flex = "row" | "col";
222
+ type Gap$3 = "xs" | "sm" | "md" | "lg";
223
+ interface ContainerProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
224
+ size?: Size;
225
+ flex?: Flex;
226
+ gap?: Gap$3;
227
+ children: React.ReactNode;
228
+ }
229
+ declare const Container: ({ size, flex, gap, children, ...rest }: ContainerProps$1) => react_jsx_runtime.JSX.Element;
230
+
231
+ type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
232
+ type Rows = number;
233
+ type Gap$2 = "xs" | "sm" | "md" | "lg";
234
+ interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
235
+ columns?: Columns;
236
+ rows?: Rows;
237
+ gap?: Gap$2;
238
+ children: React.ReactNode;
239
+ }
240
+ declare const Grid: ({ columns, rows, gap, children, ...rest }: GridProps) => react_jsx_runtime.JSX.Element;
241
+
242
+ type JustifyContent = "center" | "start" | "end" | "FStart" | "FEnd" | "left" | "right" | "between" | "around" | "even";
243
+ type Gap$1 = "xs" | "sm" | "md" | "lg";
244
+ interface ContainerProps extends React.BaseHTMLAttributes<HTMLDivElement> {
245
+ gap?: Gap$1;
246
+ justify?: JustifyContent;
247
+ children: React.ReactNode;
248
+ }
249
+ declare const Row: ({ justify, gap, children, ...rest }: ContainerProps) => react_jsx_runtime.JSX.Element;
250
+
251
+ type Direction = "vertical" | "horizontal";
252
+ type Gap = "xs" | "sm" | "md" | "lg";
253
+ interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
254
+ direction?: Direction;
255
+ gap?: Gap;
256
+ children: React.ReactNode;
257
+ }
258
+ declare const Stack: ({ direction, gap, children, ...rest }: StackProps) => react_jsx_runtime.JSX.Element;
259
+
260
+ declare const NotificationProvider: React.FC<{
261
+ children: React.ReactNode;
262
+ }>;
263
+
264
+ /**
265
+ * PUBLIC: Toast API
266
+ */
267
+ declare const toast: {
268
+ success(message: string, duration?: number): void;
269
+ error(message: string, duration?: number): void;
270
+ info(message: string, duration?: number): void;
271
+ warning(message: string, duration?: number): void;
272
+ };
273
+
274
+ declare const useToast: () => {
275
+ success: (message: string, duration?: number) => void;
276
+ error: (message: string, duration?: number) => void;
277
+ info: (message: string, duration?: number) => void;
278
+ warning: (message: string, duration?: number) => void;
279
+ };
280
+
281
+ export { Box, Button, Card, Center, CenterMenu, Checkbox, Col, Container, DatePicker, Divider, Drawer, Flex$1 as Flex, Form, FormControl, Grid, Heading, HorizantalMenu, Input, Link, Modal, NotificationProvider, Paragraph, Radio, Row, Select, Stack, Switch, Text, Textarea, toast, useToast };
package/dist/index.d.ts CHANGED
@@ -1,36 +1,36 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode } from 'react';
3
3
 
4
- type Flex$1 = "row" | "col";
5
- type Gap$3 = "xs" | "sm" | "md" | "lg";
4
+ type Flex$2 = "row" | "col";
5
+ type Gap$8 = "xs" | "sm" | "md" | "lg";
6
6
  type Variant$2 = "default" | "elevated";
7
- interface ContainerProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
8
- gap?: Gap$3;
9
- flex?: Flex$1;
7
+ interface ContainerProps$5 extends React.BaseHTMLAttributes<HTMLDivElement> {
8
+ gap?: Gap$8;
9
+ flex?: Flex$2;
10
10
  variant?: Variant$2;
11
11
  children: React.ReactNode;
12
12
  }
13
- declare const Box: ({ flex, gap, variant, children, ...rest }: ContainerProps$1) => react_jsx_runtime.JSX.Element;
13
+ declare const Box: ({ flex, gap, variant, children, ...rest }: ContainerProps$5) => react_jsx_runtime.JSX.Element;
14
14
 
15
15
  type Variant$1 = "primary_solid" | "primary_outline" | "primary_text";
16
- interface ButtonProps$2 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
16
+ interface ButtonProps$4 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
17
17
  variant?: Variant$1;
18
18
  children: React.ReactNode;
19
19
  }
20
- declare const Button: ({ variant, children, ...rest }: ButtonProps$2) => react_jsx_runtime.JSX.Element;
20
+ declare const Button: ({ variant, children, ...rest }: ButtonProps$4) => react_jsx_runtime.JSX.Element;
21
21
 
22
- type Direction = "row" | "col";
23
- type Gap$2 = "xs" | "sm" | "md" | "lg";
22
+ type Direction$1 = "row" | "col";
23
+ type Gap$7 = "xs" | "sm" | "md" | "lg";
24
24
  type ImageURL = string;
25
25
  type ImageAlt = string;
26
- interface ContainerProps extends React.BaseHTMLAttributes<HTMLDivElement> {
27
- gap?: Gap$2;
26
+ interface ContainerProps$4 extends React.BaseHTMLAttributes<HTMLDivElement> {
27
+ gap?: Gap$7;
28
28
  Imageurl?: ImageURL;
29
29
  Imagealt?: ImageAlt;
30
- direction?: Direction;
30
+ direction?: Direction$1;
31
31
  children: React.ReactNode;
32
32
  }
33
- declare const Card: ({ direction, gap, Imagealt, Imageurl, children, ...rest }: ContainerProps) => react_jsx_runtime.JSX.Element;
33
+ declare const Card: ({ direction, gap, Imagealt, Imageurl, children, ...rest }: ContainerProps$4) => react_jsx_runtime.JSX.Element;
34
34
 
35
35
  interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
36
36
  label?: React.ReactNode;
@@ -46,12 +46,12 @@ interface DatePickerProps {
46
46
  declare const DatePicker: React.FC<DatePickerProps>;
47
47
 
48
48
  type Orientation = "horizontal" | "vertical";
49
- type Size$1 = "thin" | "medium";
50
- type Gap$1 = "xs" | "sm" | "md" | "lg";
49
+ type Size$2 = "thin" | "medium";
50
+ type Gap$6 = "xs" | "sm" | "md" | "lg";
51
51
  interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
52
52
  orientation?: Orientation;
53
- size?: Size$1;
54
- gap?: Gap$1;
53
+ size?: Size$2;
54
+ gap?: Gap$6;
55
55
  }
56
56
  declare const Divider: ({ orientation, size, gap, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
57
57
 
@@ -66,18 +66,18 @@ interface DrawerProps {
66
66
  }
67
67
  declare const Drawer: React.FC<DrawerProps>;
68
68
 
69
- type Gap = "small" | "medium" | "large";
69
+ type Gap$5 = "small" | "medium" | "large";
70
70
  type FlexDirection = "row" | "col";
71
71
  type Justify = "center" | "between" | "around" | "start" | "end" | "even";
72
72
  type Align = "center" | "between" | "around" | "start" | "end" | "even";
73
- interface ButtonProps$1 extends React.ButtonHTMLAttributes<HTMLDivElement> {
74
- gap?: Gap;
73
+ interface ButtonProps$3 extends React.ButtonHTMLAttributes<HTMLDivElement> {
74
+ gap?: Gap$5;
75
75
  flexDirection?: FlexDirection;
76
76
  justify?: Justify;
77
77
  align?: Align;
78
78
  children: React.ReactNode;
79
79
  }
80
- declare const Flex: ({ gap, justify, align, flexDirection, children, ...rest }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
80
+ declare const Flex$1: ({ gap, justify, align, flexDirection, children, ...rest }: ButtonProps$3) => react_jsx_runtime.JSX.Element;
81
81
 
82
82
  interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
83
83
  children: React.ReactNode;
@@ -163,18 +163,119 @@ interface SwitchProps extends React.InputHTMLAttributes<HTMLInputElement> {
163
163
  declare const Switch: ({ checked, disabled, label, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
164
164
 
165
165
  type FontVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p";
166
- interface ButtonProps extends React.BaseHTMLAttributes<HTMLElement> {
166
+ interface ButtonProps$2 extends React.BaseHTMLAttributes<HTMLElement> {
167
167
  fontVariant?: FontVariant;
168
168
  children: React.ReactNode;
169
169
  }
170
- declare const Text: ({ fontVariant, children, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
170
+ declare const Text: ({ fontVariant, children, ...rest }: ButtonProps$2) => react_jsx_runtime.JSX.Element;
171
171
 
172
- type Size = "sm" | "md" | "lg";
172
+ type Size$1 = "sm" | "md" | "lg";
173
173
  type State = "default" | "error";
174
174
  interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
175
- size?: Size;
175
+ size?: Size$1;
176
176
  state?: State;
177
177
  }
178
178
  declare const Textarea: ({ size, state, ...rest }: TextareaProps) => react_jsx_runtime.JSX.Element;
179
179
 
180
- export { Box, Button, Card, Checkbox, DatePicker, Divider, Drawer, Flex, Form, FormControl, Heading, Input, Link, Modal, Paragraph, Radio, Select, Switch, Text, Textarea };
180
+ type MenuItems$1 = String[];
181
+ type LogoUrl$1 = string;
182
+ type Alt$1 = string;
183
+ type HREF$1 = string;
184
+ interface ButtonProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
185
+ menuItems?: MenuItems$1;
186
+ logo?: LogoUrl$1;
187
+ alt?: Alt$1;
188
+ href?: HREF$1;
189
+ children: React.ReactNode;
190
+ }
191
+ declare const CenterMenu: ({ menuItems, logo, alt, href, children, ...rest }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
192
+
193
+ type MenuItems = String[];
194
+ type LogoUrl = "";
195
+ type Alt = string;
196
+ type HREF = string;
197
+ interface ButtonProps extends React.BaseHTMLAttributes<HTMLDivElement> {
198
+ menuItems?: MenuItems;
199
+ logo?: LogoUrl;
200
+ alt?: Alt;
201
+ href?: HREF;
202
+ children: React.ReactNode;
203
+ }
204
+ declare const HorizantalMenu: ({ menuItems, logo, alt, href, children, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
205
+
206
+ interface ContainerProps$3 extends React.BaseHTMLAttributes<HTMLDivElement> {
207
+ children: React.ReactNode;
208
+ }
209
+ declare const Center: ({ children, ...rest }: ContainerProps$3) => react_jsx_runtime.JSX.Element;
210
+
211
+ type JustifyContent$1 = "center" | "start" | "end" | "FStart" | "FEnd" | "left" | "right" | "between" | "around" | "even";
212
+ type Gap$4 = "xs" | "sm" | "md" | "lg";
213
+ interface ContainerProps$2 extends React.BaseHTMLAttributes<HTMLDivElement> {
214
+ gap?: Gap$4;
215
+ justify?: JustifyContent$1;
216
+ children: React.ReactNode;
217
+ }
218
+ declare const Col: ({ justify, gap, children, ...rest }: ContainerProps$2) => react_jsx_runtime.JSX.Element;
219
+
220
+ type Size = "xs" | "sm" | "md" | "lg";
221
+ type Flex = "row" | "col";
222
+ type Gap$3 = "xs" | "sm" | "md" | "lg";
223
+ interface ContainerProps$1 extends React.BaseHTMLAttributes<HTMLDivElement> {
224
+ size?: Size;
225
+ flex?: Flex;
226
+ gap?: Gap$3;
227
+ children: React.ReactNode;
228
+ }
229
+ declare const Container: ({ size, flex, gap, children, ...rest }: ContainerProps$1) => react_jsx_runtime.JSX.Element;
230
+
231
+ type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
232
+ type Rows = number;
233
+ type Gap$2 = "xs" | "sm" | "md" | "lg";
234
+ interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
235
+ columns?: Columns;
236
+ rows?: Rows;
237
+ gap?: Gap$2;
238
+ children: React.ReactNode;
239
+ }
240
+ declare const Grid: ({ columns, rows, gap, children, ...rest }: GridProps) => react_jsx_runtime.JSX.Element;
241
+
242
+ type JustifyContent = "center" | "start" | "end" | "FStart" | "FEnd" | "left" | "right" | "between" | "around" | "even";
243
+ type Gap$1 = "xs" | "sm" | "md" | "lg";
244
+ interface ContainerProps extends React.BaseHTMLAttributes<HTMLDivElement> {
245
+ gap?: Gap$1;
246
+ justify?: JustifyContent;
247
+ children: React.ReactNode;
248
+ }
249
+ declare const Row: ({ justify, gap, children, ...rest }: ContainerProps) => react_jsx_runtime.JSX.Element;
250
+
251
+ type Direction = "vertical" | "horizontal";
252
+ type Gap = "xs" | "sm" | "md" | "lg";
253
+ interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
254
+ direction?: Direction;
255
+ gap?: Gap;
256
+ children: React.ReactNode;
257
+ }
258
+ declare const Stack: ({ direction, gap, children, ...rest }: StackProps) => react_jsx_runtime.JSX.Element;
259
+
260
+ declare const NotificationProvider: React.FC<{
261
+ children: React.ReactNode;
262
+ }>;
263
+
264
+ /**
265
+ * PUBLIC: Toast API
266
+ */
267
+ declare const toast: {
268
+ success(message: string, duration?: number): void;
269
+ error(message: string, duration?: number): void;
270
+ info(message: string, duration?: number): void;
271
+ warning(message: string, duration?: number): void;
272
+ };
273
+
274
+ declare const useToast: () => {
275
+ success: (message: string, duration?: number) => void;
276
+ error: (message: string, duration?: number) => void;
277
+ info: (message: string, duration?: number) => void;
278
+ warning: (message: string, duration?: number) => void;
279
+ };
280
+
281
+ export { Box, Button, Card, Center, CenterMenu, Checkbox, Col, Container, DatePicker, Divider, Drawer, Flex$1 as Flex, Form, FormControl, Grid, Heading, HorizantalMenu, Input, Link, Modal, NotificationProvider, Paragraph, Radio, Row, Select, Stack, Switch, Text, Textarea, toast, useToast };