@nithish_atum/atum 1.0.3 → 1.0.4
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/index.d.mts +107 -27
- package/dist/index.d.ts +107 -27
- package/dist/index.js +501 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +493 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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$
|
|
5
|
-
type Gap$
|
|
4
|
+
type Flex$2 = "row" | "col";
|
|
5
|
+
type Gap$8 = "xs" | "sm" | "md" | "lg";
|
|
6
6
|
type Variant$2 = "default" | "elevated";
|
|
7
|
-
interface ContainerProps$
|
|
8
|
-
gap?: Gap$
|
|
9
|
-
flex?: Flex$
|
|
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$
|
|
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$
|
|
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$
|
|
20
|
+
declare const Button: ({ variant, children, ...rest }: ButtonProps$4) => react_jsx_runtime.JSX.Element;
|
|
21
21
|
|
|
22
|
-
type Direction = "row" | "col";
|
|
23
|
-
type Gap$
|
|
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$
|
|
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$
|
|
50
|
-
type Gap$
|
|
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$
|
|
54
|
-
gap?: Gap$
|
|
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$
|
|
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$
|
|
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,98 @@ 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
|
-
|
|
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
|
+
export { Box, Button, Card, Center, CenterMenu, Checkbox, Col, Container, DatePicker, Divider, Drawer, Flex$1 as Flex, Form, FormControl, Grid, Heading, HorizantalMenu, Input, Link, Modal, Paragraph, Radio, Row, Select, Stack, Switch, Text, Textarea };
|
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$
|
|
5
|
-
type Gap$
|
|
4
|
+
type Flex$2 = "row" | "col";
|
|
5
|
+
type Gap$8 = "xs" | "sm" | "md" | "lg";
|
|
6
6
|
type Variant$2 = "default" | "elevated";
|
|
7
|
-
interface ContainerProps$
|
|
8
|
-
gap?: Gap$
|
|
9
|
-
flex?: Flex$
|
|
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$
|
|
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$
|
|
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$
|
|
20
|
+
declare const Button: ({ variant, children, ...rest }: ButtonProps$4) => react_jsx_runtime.JSX.Element;
|
|
21
21
|
|
|
22
|
-
type Direction = "row" | "col";
|
|
23
|
-
type Gap$
|
|
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$
|
|
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$
|
|
50
|
-
type Gap$
|
|
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$
|
|
54
|
-
gap?: Gap$
|
|
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$
|
|
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$
|
|
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,98 @@ 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
|
-
|
|
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
|
+
export { Box, Button, Card, Center, CenterMenu, Checkbox, Col, Container, DatePicker, Divider, Drawer, Flex$1 as Flex, Form, FormControl, Grid, Heading, HorizantalMenu, Input, Link, Modal, Paragraph, Radio, Row, Select, Stack, Switch, Text, Textarea };
|