@weing-dev/ui-kit-primitive 0.0.6 → 0.1.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/Accordion/Accordion.d.ts +5 -5
- package/dist/components/Avatar/Avatar.d.ts +4 -4
- package/dist/components/Badge/Badge.d.ts +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +6 -6
- package/dist/components/Button/Button.colors.d.ts +29 -29
- package/dist/components/Button/Button.d.ts +6 -6
- package/dist/components/Calendar/Calendar.context.d.ts +1 -2
- package/dist/components/Calendar/Calendar.d.ts +8 -8
- package/dist/components/Cascader/Cascader.d.ts +6 -8
- package/dist/components/Chips/Chips.colors.d.ts +11 -11
- package/dist/components/Chips/Chips.d.ts +2 -2
- package/dist/components/Comment/Comment.d.ts +2 -2
- package/dist/components/Form/CheckBox/CheckBox.d.ts +7 -6
- package/dist/components/Form/CheckBox/Checkbox.colors.d.ts +2 -2
- package/dist/components/Form/Dropdown/Dropdown.d.ts +4 -4
- package/dist/components/Form/OTPInput/OTPInput.d.ts +2 -2
- package/dist/components/Form/Radio/Radio.colors.d.ts +2 -2
- package/dist/components/Form/Radio/Radio.d.ts +6 -6
- package/dist/components/Form/Switch/Switch.colors.d.ts +2 -2
- package/dist/components/Form/Switch/Switch.d.ts +5 -5
- package/dist/components/Form/TextArea/TextArea.d.ts +8 -8
- package/dist/components/Form/TextInput/TextInput.d.ts +8 -7
- package/dist/components/HelperText/HelperText.d.ts +3 -5
- package/dist/components/LNB/LNB.d.ts +4 -4
- package/dist/components/Label/Label.colors.d.ts +44 -44
- package/dist/components/Label/Label.d.ts +2 -2
- package/dist/components/List/List.d.ts +2 -2
- package/dist/components/Pagination/Pagination.colors.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +7 -7
- package/dist/components/ScrollCalendar/ScrollCalendar.context.d.ts +1 -2
- package/dist/components/Tab/Tab.d.ts +7 -7
- package/dist/components/Table/Table.d.ts +8 -8
- package/dist/components/TimeInput/TimeInput.d.ts +8 -8
- package/dist/components/WeeklyCalendar/WeeklyCalendar.d.ts +2 -2
- package/dist/index.css +2 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +6262 -6278
- package/dist/index.umd.cjs +14 -23
- package/package.json +1 -1
- package/dist/components/GlobalStyle/GlobalStyle.d.ts +0 -2
|
@@ -4,12 +4,12 @@ import { TextAreaProviderProps } from './TextArea.context';
|
|
|
4
4
|
type TextCountProps = React.PropsWithChildren<{
|
|
5
5
|
className?: string;
|
|
6
6
|
}>;
|
|
7
|
-
declare const TextCount: (props: TextCountProps) => import("react/jsx-runtime").JSX.Element
|
|
7
|
+
declare const TextCount: React.MemoExoticComponent<(props: TextCountProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
type EraseProps = React.PropsWithChildren<{
|
|
9
9
|
className?: string;
|
|
10
10
|
}>;
|
|
11
|
-
declare const Erase: (props: EraseProps) => import("react/jsx-runtime").JSX.Element
|
|
12
|
-
declare const HelperText: (props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element
|
|
11
|
+
declare const Erase: React.MemoExoticComponent<(props: EraseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
declare const HelperText: React.MemoExoticComponent<(props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element>;
|
|
13
13
|
type InputProps = React.PropsWithChildren<React.HTMLProps<HTMLTextAreaElement>> & {
|
|
14
14
|
wrapperClassName?: string;
|
|
15
15
|
placeholderColor?: string;
|
|
@@ -18,13 +18,13 @@ type InputProps = React.PropsWithChildren<React.HTMLProps<HTMLTextAreaElement>>
|
|
|
18
18
|
disabledColor?: string;
|
|
19
19
|
maxRows?: number;
|
|
20
20
|
};
|
|
21
|
-
declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element
|
|
21
|
+
declare const Input: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
22
|
type LabelProps = React.PropsWithChildren<{
|
|
23
23
|
className?: string;
|
|
24
24
|
focusedColor?: string;
|
|
25
25
|
}>;
|
|
26
|
-
declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element
|
|
27
|
-
declare const Root: (props: TextAreaProviderProps) => import("react/jsx-runtime").JSX.Element
|
|
26
|
+
declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
27
|
+
declare const Root: React.MemoExoticComponent<(props: TextAreaProviderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
28
28
|
interface ITextArea {
|
|
29
29
|
Root: typeof Root;
|
|
30
30
|
Label: typeof Label;
|
|
@@ -33,5 +33,5 @@ interface ITextArea {
|
|
|
33
33
|
Input: typeof Input;
|
|
34
34
|
TextCount: typeof TextCount;
|
|
35
35
|
}
|
|
36
|
-
declare const
|
|
37
|
-
export default
|
|
36
|
+
declare const TextArea: ITextArea;
|
|
37
|
+
export default TextArea;
|
|
@@ -5,7 +5,7 @@ type EraseProps = React.PropsWithChildren<{
|
|
|
5
5
|
className?: string;
|
|
6
6
|
color?: string;
|
|
7
7
|
}>;
|
|
8
|
-
declare const Erase: (props: EraseProps) => import("react/jsx-runtime").JSX.Element
|
|
8
|
+
declare const Erase: React.MemoExoticComponent<(props: EraseProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
type InputProps = React.PropsWithChildren<React.HTMLProps<HTMLInputElement>> & {
|
|
10
10
|
wrapperClassName?: string;
|
|
11
11
|
placeholderColor?: string;
|
|
@@ -15,19 +15,20 @@ type InputProps = React.PropsWithChildren<React.HTMLProps<HTMLInputElement>> & {
|
|
|
15
15
|
leftIcon?: React.ReactNode;
|
|
16
16
|
rightIcon?: React.ReactNode;
|
|
17
17
|
};
|
|
18
|
-
declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element
|
|
18
|
+
declare const Input: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
|
+
declare const HelperText: React.MemoExoticComponent<(props: React.ComponentProps<typeof HelperTextComponent>) => import("react/jsx-runtime").JSX.Element>;
|
|
19
20
|
type LabelProps = React.PropsWithChildren<{
|
|
20
21
|
className?: string;
|
|
21
22
|
focusedColor?: string;
|
|
22
23
|
}>;
|
|
23
|
-
declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element
|
|
24
|
-
declare const Root: (props: TextInputProviderProps) => import("react/jsx-runtime").JSX.Element
|
|
24
|
+
declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
+
declare const Root: React.MemoExoticComponent<(props: TextInputProviderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
26
|
interface ITextInput {
|
|
26
27
|
Root: typeof Root;
|
|
27
28
|
Label: typeof Label;
|
|
28
|
-
HelperText: typeof
|
|
29
|
+
HelperText: typeof HelperText;
|
|
29
30
|
Input: typeof Input;
|
|
30
31
|
Erase: typeof Erase;
|
|
31
32
|
}
|
|
32
|
-
declare const
|
|
33
|
-
export default
|
|
33
|
+
declare const TextInput: ITextInput;
|
|
34
|
+
export default TextInput;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Icon } from '../Icon/Icon';
|
|
3
|
-
export declare const STATUS_LIST: readonly ["error", "warning", "success", "info", "hint"];
|
|
4
3
|
type HelperTextProps = React.PropsWithChildren<{
|
|
5
4
|
/** 상태 */
|
|
6
|
-
status?:
|
|
5
|
+
status?: "error" | "warning" | "success" | "info" | "hint";
|
|
7
6
|
/** 클래스명 */
|
|
8
7
|
className?: string;
|
|
9
8
|
/** 경고 색상 */
|
|
@@ -23,6 +22,5 @@ type HelperTextProps = React.PropsWithChildren<{
|
|
|
23
22
|
/** 아이콘 표시 여부 */
|
|
24
23
|
iconVisible?: boolean;
|
|
25
24
|
}>;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export default HelperText;
|
|
25
|
+
declare const _default: React.MemoExoticComponent<(props: HelperTextProps) => import("react/jsx-runtime").JSX.Element>;
|
|
26
|
+
export default _default;
|
|
@@ -5,7 +5,7 @@ type LNBLogoProps = React.PropsWithChildren<{
|
|
|
5
5
|
className?: string;
|
|
6
6
|
src: string;
|
|
7
7
|
}>;
|
|
8
|
-
declare const Logo: (props: LNBLogoProps) => import("react/jsx-runtime").JSX.Element
|
|
8
|
+
declare const Logo: React.MemoExoticComponent<(props: LNBLogoProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
type LNBItemProps = React.PropsWithChildren<{
|
|
10
10
|
className?: string;
|
|
11
11
|
label: string;
|
|
@@ -18,12 +18,12 @@ type LNBItemProps = React.PropsWithChildren<{
|
|
|
18
18
|
isOpen?: boolean;
|
|
19
19
|
isActive?: boolean;
|
|
20
20
|
}>;
|
|
21
|
-
declare const Item: (props: LNBItemProps) => import("react/jsx-runtime").JSX.Element
|
|
21
|
+
declare const Item: React.MemoExoticComponent<(props: LNBItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
22
|
type LNBListProps = React.PropsWithChildren<{
|
|
23
23
|
className?: string;
|
|
24
24
|
}>;
|
|
25
|
-
declare const List: (props: LNBListProps) => import("react/jsx-runtime").JSX.Element
|
|
26
|
-
declare const Root: (props: LNBProviderProps) => import("react/jsx-runtime").JSX.Element
|
|
25
|
+
declare const List: React.MemoExoticComponent<(props: LNBListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
26
|
+
declare const Root: React.MemoExoticComponent<(props: LNBProviderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
27
27
|
export type Navigation<T = never> = {
|
|
28
28
|
label: string;
|
|
29
29
|
subtitle?: string;
|
|
@@ -21,25 +21,25 @@ declare const useLabelColors: () => {
|
|
|
21
21
|
borderColor: string;
|
|
22
22
|
};
|
|
23
23
|
inverted: {
|
|
24
|
-
backgroundColor:
|
|
25
|
-
color:
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
color: string;
|
|
26
26
|
borderColor: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
red: {
|
|
30
30
|
filled: {
|
|
31
|
-
backgroundColor:
|
|
31
|
+
backgroundColor: string;
|
|
32
32
|
color: string;
|
|
33
33
|
borderColor: string;
|
|
34
34
|
};
|
|
35
35
|
outlined: {
|
|
36
36
|
backgroundColor: string;
|
|
37
|
-
color:
|
|
38
|
-
borderColor:
|
|
37
|
+
color: string;
|
|
38
|
+
borderColor: string;
|
|
39
39
|
};
|
|
40
40
|
outlineBack: {
|
|
41
41
|
backgroundColor: string;
|
|
42
|
-
color:
|
|
42
|
+
color: string;
|
|
43
43
|
borderColor: string;
|
|
44
44
|
};
|
|
45
45
|
soft: {
|
|
@@ -48,25 +48,25 @@ declare const useLabelColors: () => {
|
|
|
48
48
|
borderColor: string;
|
|
49
49
|
};
|
|
50
50
|
inverted: {
|
|
51
|
-
backgroundColor:
|
|
52
|
-
color:
|
|
51
|
+
backgroundColor: string;
|
|
52
|
+
color: string;
|
|
53
53
|
borderColor: string;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
cyanBlue: {
|
|
57
57
|
filled: {
|
|
58
|
-
backgroundColor:
|
|
58
|
+
backgroundColor: string;
|
|
59
59
|
color: string;
|
|
60
60
|
borderColor: string;
|
|
61
61
|
};
|
|
62
62
|
outlined: {
|
|
63
63
|
backgroundColor: string;
|
|
64
|
-
color:
|
|
65
|
-
borderColor:
|
|
64
|
+
color: string;
|
|
65
|
+
borderColor: string;
|
|
66
66
|
};
|
|
67
67
|
outlineBack: {
|
|
68
68
|
backgroundColor: string;
|
|
69
|
-
color:
|
|
69
|
+
color: string;
|
|
70
70
|
borderColor: string;
|
|
71
71
|
};
|
|
72
72
|
soft: {
|
|
@@ -75,25 +75,25 @@ declare const useLabelColors: () => {
|
|
|
75
75
|
borderColor: string;
|
|
76
76
|
};
|
|
77
77
|
inverted: {
|
|
78
|
-
backgroundColor:
|
|
79
|
-
color:
|
|
78
|
+
backgroundColor: string;
|
|
79
|
+
color: string;
|
|
80
80
|
borderColor: string;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
blue: {
|
|
84
84
|
filled: {
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: string;
|
|
86
86
|
color: string;
|
|
87
87
|
borderColor: string;
|
|
88
88
|
};
|
|
89
89
|
outlined: {
|
|
90
90
|
backgroundColor: string;
|
|
91
|
-
color:
|
|
92
|
-
borderColor:
|
|
91
|
+
color: string;
|
|
92
|
+
borderColor: string;
|
|
93
93
|
};
|
|
94
94
|
outlineBack: {
|
|
95
95
|
backgroundColor: string;
|
|
96
|
-
color:
|
|
96
|
+
color: string;
|
|
97
97
|
borderColor: string;
|
|
98
98
|
};
|
|
99
99
|
soft: {
|
|
@@ -102,25 +102,25 @@ declare const useLabelColors: () => {
|
|
|
102
102
|
borderColor: string;
|
|
103
103
|
};
|
|
104
104
|
inverted: {
|
|
105
|
-
backgroundColor:
|
|
106
|
-
color:
|
|
105
|
+
backgroundColor: string;
|
|
106
|
+
color: string;
|
|
107
107
|
borderColor: string;
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
purple: {
|
|
111
111
|
filled: {
|
|
112
|
-
backgroundColor:
|
|
112
|
+
backgroundColor: string;
|
|
113
113
|
color: string;
|
|
114
114
|
borderColor: string;
|
|
115
115
|
};
|
|
116
116
|
outlined: {
|
|
117
117
|
backgroundColor: string;
|
|
118
|
-
color:
|
|
119
|
-
borderColor:
|
|
118
|
+
color: string;
|
|
119
|
+
borderColor: string;
|
|
120
120
|
};
|
|
121
121
|
outlineBack: {
|
|
122
122
|
backgroundColor: string;
|
|
123
|
-
color:
|
|
123
|
+
color: string;
|
|
124
124
|
borderColor: string;
|
|
125
125
|
};
|
|
126
126
|
soft: {
|
|
@@ -129,25 +129,25 @@ declare const useLabelColors: () => {
|
|
|
129
129
|
borderColor: string;
|
|
130
130
|
};
|
|
131
131
|
inverted: {
|
|
132
|
-
backgroundColor:
|
|
133
|
-
color:
|
|
132
|
+
backgroundColor: string;
|
|
133
|
+
color: string;
|
|
134
134
|
borderColor: string;
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
137
|
gold: {
|
|
138
138
|
filled: {
|
|
139
|
-
backgroundColor:
|
|
139
|
+
backgroundColor: string;
|
|
140
140
|
color: string;
|
|
141
141
|
borderColor: string;
|
|
142
142
|
};
|
|
143
143
|
outlined: {
|
|
144
144
|
backgroundColor: string;
|
|
145
|
-
color:
|
|
146
|
-
borderColor:
|
|
145
|
+
color: string;
|
|
146
|
+
borderColor: string;
|
|
147
147
|
};
|
|
148
148
|
outlineBack: {
|
|
149
149
|
backgroundColor: string;
|
|
150
|
-
color:
|
|
150
|
+
color: string;
|
|
151
151
|
borderColor: string;
|
|
152
152
|
};
|
|
153
153
|
soft: {
|
|
@@ -156,25 +156,25 @@ declare const useLabelColors: () => {
|
|
|
156
156
|
borderColor: string;
|
|
157
157
|
};
|
|
158
158
|
inverted: {
|
|
159
|
-
backgroundColor:
|
|
160
|
-
color:
|
|
159
|
+
backgroundColor: string;
|
|
160
|
+
color: string;
|
|
161
161
|
borderColor: string;
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
lightGreen: {
|
|
165
165
|
filled: {
|
|
166
|
-
backgroundColor:
|
|
166
|
+
backgroundColor: string;
|
|
167
167
|
color: string;
|
|
168
168
|
borderColor: string;
|
|
169
169
|
};
|
|
170
170
|
outlined: {
|
|
171
171
|
backgroundColor: string;
|
|
172
|
-
color:
|
|
173
|
-
borderColor:
|
|
172
|
+
color: string;
|
|
173
|
+
borderColor: string;
|
|
174
174
|
};
|
|
175
175
|
outlineBack: {
|
|
176
176
|
backgroundColor: string;
|
|
177
|
-
color:
|
|
177
|
+
color: string;
|
|
178
178
|
borderColor: string;
|
|
179
179
|
};
|
|
180
180
|
soft: {
|
|
@@ -183,25 +183,25 @@ declare const useLabelColors: () => {
|
|
|
183
183
|
borderColor: string;
|
|
184
184
|
};
|
|
185
185
|
inverted: {
|
|
186
|
-
backgroundColor:
|
|
187
|
-
color:
|
|
186
|
+
backgroundColor: string;
|
|
187
|
+
color: string;
|
|
188
188
|
borderColor: string;
|
|
189
189
|
};
|
|
190
190
|
};
|
|
191
191
|
deepGreen: {
|
|
192
192
|
filled: {
|
|
193
|
-
backgroundColor:
|
|
193
|
+
backgroundColor: string;
|
|
194
194
|
color: string;
|
|
195
195
|
borderColor: string;
|
|
196
196
|
};
|
|
197
197
|
outlined: {
|
|
198
198
|
backgroundColor: string;
|
|
199
|
-
color:
|
|
200
|
-
borderColor:
|
|
199
|
+
color: string;
|
|
200
|
+
borderColor: string;
|
|
201
201
|
};
|
|
202
202
|
outlineBack: {
|
|
203
203
|
backgroundColor: string;
|
|
204
|
-
color:
|
|
204
|
+
color: string;
|
|
205
205
|
borderColor: string;
|
|
206
206
|
};
|
|
207
207
|
soft: {
|
|
@@ -210,8 +210,8 @@ declare const useLabelColors: () => {
|
|
|
210
210
|
borderColor: string;
|
|
211
211
|
};
|
|
212
212
|
inverted: {
|
|
213
|
-
backgroundColor:
|
|
214
|
-
color:
|
|
213
|
+
backgroundColor: string;
|
|
214
|
+
color: string;
|
|
215
215
|
borderColor: string;
|
|
216
216
|
};
|
|
217
217
|
};
|
|
@@ -6,5 +6,5 @@ interface LabelRootProps {
|
|
|
6
6
|
size?: "medium" | "small" | "xSmall";
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const _default: React.MemoExoticComponent<(props: LabelRootProps & React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
export default _default;
|
|
@@ -17,6 +17,6 @@ type ListProps = ({
|
|
|
17
17
|
title?: TextProps;
|
|
18
18
|
icon?: never;
|
|
19
19
|
} & BaseListProps);
|
|
20
|
-
declare const List: (props: ListProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export type { ListProps };
|
|
22
|
-
|
|
21
|
+
declare const _default: React.MemoExoticComponent<(props: ListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { PaginationContextType } from './Pagination.context';
|
|
3
|
-
declare const Next: () => import("react/jsx-runtime").JSX.Element
|
|
4
|
-
declare const Prev: () => import("react/jsx-runtime").JSX.Element
|
|
3
|
+
declare const Next: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
declare const Prev: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
type PageItemProps = {
|
|
6
6
|
active: boolean;
|
|
7
7
|
onClick: (page: number) => void;
|
|
8
8
|
page: number;
|
|
9
9
|
};
|
|
10
|
-
declare const PageItem: (props: PageItemProps) => import("react/jsx-runtime").JSX.Element
|
|
10
|
+
declare const PageItem: React.MemoExoticComponent<(props: PageItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
11
|
type PageListProps = {
|
|
12
12
|
itemAs?: ({ page, active, onClick, }: {
|
|
13
13
|
page: number;
|
|
@@ -15,9 +15,9 @@ type PageListProps = {
|
|
|
15
15
|
onClick: (page: number) => void;
|
|
16
16
|
}) => React.ReactNode;
|
|
17
17
|
};
|
|
18
|
-
declare const PageList: (props: PageListProps) => import("react/jsx-runtime").JSX.Element | null
|
|
18
|
+
declare const PageList: React.MemoExoticComponent<(props: PageListProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
19
19
|
type RootProps = {} & Omit<PaginationContextType, "currentPage">;
|
|
20
|
-
declare const Root: (props: React.PropsWithChildren<RootProps>) => import("react/jsx-runtime").JSX.Element
|
|
20
|
+
declare const Root: React.MemoExoticComponent<(props: React.PropsWithChildren<RootProps>) => import("react/jsx-runtime").JSX.Element>;
|
|
21
21
|
interface IPagination {
|
|
22
22
|
Root: typeof Root;
|
|
23
23
|
Next: typeof Next;
|
|
@@ -25,5 +25,5 @@ interface IPagination {
|
|
|
25
25
|
PageItem: typeof PageItem;
|
|
26
26
|
PageList: typeof PageList;
|
|
27
27
|
}
|
|
28
|
-
declare const
|
|
29
|
-
export default
|
|
28
|
+
declare const Pagination: IPagination;
|
|
29
|
+
export default Pagination;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
interface ScrollCalendarContextType {
|
|
2
|
+
export interface ScrollCalendarContextType {
|
|
3
3
|
isDragging: boolean;
|
|
4
4
|
hasMoved: boolean;
|
|
5
5
|
startX: number;
|
|
@@ -11,4 +11,3 @@ interface ScrollCalendarContextType {
|
|
|
11
11
|
columnWrapRef?: React.RefObject<HTMLDivElement | null>;
|
|
12
12
|
}
|
|
13
13
|
export declare const ScrollCalendarContext: React.Context<ScrollCalendarContextType>;
|
|
14
|
-
export {};
|
|
@@ -5,15 +5,15 @@ type PanelProps = React.PropsWithChildren<{
|
|
|
5
5
|
id?: string;
|
|
6
6
|
index: number;
|
|
7
7
|
}>;
|
|
8
|
-
declare const Panel: (props: PanelProps) => import("react/jsx-runtime").JSX.Element
|
|
8
|
+
declare const Panel: React.MemoExoticComponent<(props: PanelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
type PanelsProps = React.PropsWithChildren<{
|
|
10
10
|
className?: string;
|
|
11
11
|
}>;
|
|
12
|
-
declare const Panels: (props: PanelsProps) => import("react/jsx-runtime").JSX.Element
|
|
12
|
+
declare const Panels: React.MemoExoticComponent<(props: PanelsProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
13
|
type TabListProps = React.PropsWithChildren<{
|
|
14
14
|
className?: string;
|
|
15
15
|
}>;
|
|
16
|
-
declare const List: (props: TabListProps) => import("react/jsx-runtime").JSX.Element
|
|
16
|
+
declare const List: React.MemoExoticComponent<(props: TabListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
17
|
type TabProps = React.PropsWithChildren<{
|
|
18
18
|
className?: string;
|
|
19
19
|
id?: string;
|
|
@@ -21,8 +21,8 @@ type TabProps = React.PropsWithChildren<{
|
|
|
21
21
|
onClick?: (...args: any) => void;
|
|
22
22
|
isActive?: boolean;
|
|
23
23
|
}>;
|
|
24
|
-
declare const Item: (props: TabProps) => import("react/jsx-runtime").JSX.Element
|
|
25
|
-
declare const Root: (props: TabsProviderProps) => import("react/jsx-runtime").JSX.Element
|
|
24
|
+
declare const Item: React.MemoExoticComponent<(props: TabProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
+
declare const Root: React.MemoExoticComponent<(props: TabsProviderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
26
26
|
interface ITab {
|
|
27
27
|
Root: typeof Root;
|
|
28
28
|
List: typeof List;
|
|
@@ -30,5 +30,5 @@ interface ITab {
|
|
|
30
30
|
Panel: typeof Panel;
|
|
31
31
|
Panels: typeof Panels;
|
|
32
32
|
}
|
|
33
|
-
declare const
|
|
34
|
-
export default
|
|
33
|
+
declare const Tab: ITab;
|
|
34
|
+
export default Tab;
|
|
@@ -2,22 +2,22 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { TableProviderProps } from './Table.context';
|
|
3
3
|
import { useRowResize } from './Table.hook';
|
|
4
4
|
type TableRowProps = React.PropsWithChildren<React.JSX.IntrinsicElements["tr"]>;
|
|
5
|
-
declare const Row: (props: TableRowProps) => import("react/jsx-runtime").JSX.Element
|
|
5
|
+
declare const Row: React.MemoExoticComponent<(props: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
type TableCellProps = React.PropsWithChildren<{
|
|
7
7
|
size?: number;
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
} & React.JSX.IntrinsicElements["td"]>;
|
|
10
|
-
declare const Cell: (props: TableCellProps) => import("react/jsx-runtime").JSX.Element
|
|
10
|
+
declare const Cell: React.MemoExoticComponent<(props: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
11
|
type TableBodyProps = React.PropsWithChildren<React.JSX.IntrinsicElements["tbody"]>;
|
|
12
|
-
declare const Body: (props: TableBodyProps) => import("react/jsx-runtime").JSX.Element
|
|
12
|
+
declare const Body: React.MemoExoticComponent<(props: TableBodyProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
13
|
type TableHeaderCellProps = React.PropsWithChildren<{
|
|
14
14
|
size?: number;
|
|
15
15
|
} & React.JSX.IntrinsicElements["th"]>;
|
|
16
|
-
declare const HeaderCell: (props: TableHeaderCellProps) => import("react/jsx-runtime").JSX.Element
|
|
16
|
+
declare const HeaderCell: React.MemoExoticComponent<(props: TableHeaderCellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
17
|
type TableHeaderProps = React.PropsWithChildren<React.JSX.IntrinsicElements["thead"]>;
|
|
18
|
-
declare const Header: (props: TableHeaderProps) => import("react/jsx-runtime").JSX.Element
|
|
18
|
+
declare const Header: React.MemoExoticComponent<(props: TableHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
19
|
type TableRootProps = TableProviderProps & React.JSX.IntrinsicElements["table"];
|
|
20
|
-
declare const Root: (props: TableRootProps) => import("react/jsx-runtime").JSX.Element
|
|
20
|
+
declare const Root: React.MemoExoticComponent<(props: TableRootProps) => import("react/jsx-runtime").JSX.Element>;
|
|
21
21
|
interface ITable {
|
|
22
22
|
Root: typeof Root;
|
|
23
23
|
Header: typeof Header;
|
|
@@ -28,5 +28,5 @@ interface ITable {
|
|
|
28
28
|
useRowResize: typeof useRowResize;
|
|
29
29
|
}
|
|
30
30
|
export type { TableRootProps };
|
|
31
|
-
declare const
|
|
32
|
-
export default
|
|
31
|
+
declare const Table: ITable;
|
|
32
|
+
export default Table;
|
|
@@ -4,13 +4,13 @@ type InputProps = {
|
|
|
4
4
|
index: number;
|
|
5
5
|
placeholder: string;
|
|
6
6
|
} & React.JSX.IntrinsicElements["input"];
|
|
7
|
-
declare const Input: (props: InputProps) => import("react/jsx-runtime").JSX.Element
|
|
7
|
+
declare const Input: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
type TimeRangeProps = React.PropsWithChildren<React.JSX.IntrinsicElements["div"]>;
|
|
9
|
-
declare const TimeRange: (props: TimeRangeProps) => import("react/jsx-runtime").JSX.Element
|
|
9
|
+
declare const TimeRange: React.MemoExoticComponent<(props: TimeRangeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
type ColonProps = React.JSX.IntrinsicElements["span"];
|
|
11
|
-
declare const Colon: (props: ColonProps) => import("react/jsx-runtime").JSX.Element
|
|
11
|
+
declare const Colon: React.MemoExoticComponent<(props: ColonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
12
|
type SeparatorProps = React.JSX.IntrinsicElements["span"];
|
|
13
|
-
declare const Separator: (props: SeparatorProps) => import("react/jsx-runtime").JSX.Element
|
|
13
|
+
declare const Separator: React.MemoExoticComponent<(props: SeparatorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
type HelperTextProps = React.PropsWithChildren<{
|
|
15
15
|
className?: string;
|
|
16
16
|
warningColor?: string;
|
|
@@ -21,18 +21,18 @@ type HelperTextProps = React.PropsWithChildren<{
|
|
|
21
21
|
size?: number;
|
|
22
22
|
iconVisible?: boolean;
|
|
23
23
|
}>;
|
|
24
|
-
declare const HelperText: (props: HelperTextProps) => import("react/jsx-runtime").JSX.Element | null
|
|
24
|
+
declare const HelperText: React.MemoExoticComponent<(props: HelperTextProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
25
25
|
type InputWrapperProps = React.PropsWithChildren<React.JSX.IntrinsicElements["div"]>;
|
|
26
|
-
declare const InputWrapper: (props: InputWrapperProps) => import("react/jsx-runtime").JSX.Element
|
|
26
|
+
declare const InputWrapper: React.MemoExoticComponent<(props: InputWrapperProps) => import("react/jsx-runtime").JSX.Element>;
|
|
27
27
|
type LabelProps = React.PropsWithChildren<{
|
|
28
28
|
className?: string;
|
|
29
29
|
focusedColor?: string;
|
|
30
30
|
}>;
|
|
31
|
-
declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element
|
|
31
|
+
declare const Label: React.MemoExoticComponent<(props: LabelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
32
32
|
type RootProps = React.PropsWithChildren<Omit<TimeInputContextType, "inputRefs" | "handleChange" | "handleBlur" | "handleKeyDown"> & {
|
|
33
33
|
className?: string;
|
|
34
34
|
}>;
|
|
35
|
-
declare const Root: (props: RootProps) => import("react/jsx-runtime").JSX.Element
|
|
35
|
+
declare const Root: React.MemoExoticComponent<(props: RootProps) => import("react/jsx-runtime").JSX.Element>;
|
|
36
36
|
interface ITimeInput {
|
|
37
37
|
Root: typeof Root;
|
|
38
38
|
Label: typeof Label;
|