@majoo-ui/react 1.42.2 → 1.44.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.
@@ -0,0 +1,405 @@
1
+ import React from 'react';
2
+ import { Dialog } from '../../';
3
+ import type { DialogContentProps } from '..';
4
+ export declare const ModalDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
5
+ sm: "(min-width: 359px)";
6
+ md: "(min-width: 767px)";
7
+ lg: "(min-width: 1023px)";
8
+ xl: "(min-width: 1199px)";
9
+ '2xl': "(min-width: 1399px)";
10
+ '3xl': "(min-width: 1600px)";
11
+ }, import("@stitches/react/types/css-util").CSS<{
12
+ sm: "(min-width: 359px)";
13
+ md: "(min-width: 767px)";
14
+ lg: "(min-width: 1023px)";
15
+ xl: "(min-width: 1199px)";
16
+ '2xl': "(min-width: 1399px)";
17
+ '3xl': "(min-width: 1600px)";
18
+ }, {
19
+ colors: unknown;
20
+ space: unknown;
21
+ shadows: unknown;
22
+ fontSizes: unknown;
23
+ fonts: unknown;
24
+ lineHeights: unknown;
25
+ letterSpacings: unknown;
26
+ radii: unknown;
27
+ sizes: unknown;
28
+ zIndices: unknown;
29
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
30
+ m: (value: {
31
+ readonly [$$ScaleValue]: "space";
32
+ }) => {
33
+ margin: {
34
+ readonly [$$ScaleValue]: "space";
35
+ };
36
+ };
37
+ mt: (value: {
38
+ readonly [$$ScaleValue]: "space";
39
+ }) => {
40
+ marginTop: {
41
+ readonly [$$ScaleValue]: "space";
42
+ };
43
+ };
44
+ mr: (value: {
45
+ readonly [$$ScaleValue]: "space";
46
+ }) => {
47
+ marginRight: {
48
+ readonly [$$ScaleValue]: "space";
49
+ };
50
+ };
51
+ mb: (value: {
52
+ readonly [$$ScaleValue]: "space";
53
+ }) => {
54
+ marginBottom: {
55
+ readonly [$$ScaleValue]: "space";
56
+ };
57
+ };
58
+ ml: (value: {
59
+ readonly [$$ScaleValue]: "space";
60
+ }) => {
61
+ marginLeft: {
62
+ readonly [$$ScaleValue]: "space";
63
+ };
64
+ };
65
+ mx: (value: {
66
+ readonly [$$ScaleValue]: "space";
67
+ }) => {
68
+ marginLeft: {
69
+ readonly [$$ScaleValue]: "space";
70
+ };
71
+ marginRight: {
72
+ readonly [$$ScaleValue]: "space";
73
+ };
74
+ };
75
+ my: (value: {
76
+ readonly [$$ScaleValue]: "space";
77
+ }) => {
78
+ marginTop: {
79
+ readonly [$$ScaleValue]: "space";
80
+ };
81
+ marginBottom: {
82
+ readonly [$$ScaleValue]: "space";
83
+ };
84
+ };
85
+ size: (value: {
86
+ readonly [$$PropertyValue]: "width";
87
+ }) => {
88
+ width: {
89
+ readonly [$$PropertyValue]: "width";
90
+ };
91
+ height: {
92
+ readonly [$$PropertyValue]: "width";
93
+ };
94
+ };
95
+ subtleColor: (value: string) => {
96
+ color: string;
97
+ backgroundColor: string;
98
+ };
99
+ }>>;
100
+ export declare const ModalDialogTitle: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
101
+ sm: "(min-width: 359px)";
102
+ md: "(min-width: 767px)";
103
+ lg: "(min-width: 1023px)";
104
+ xl: "(min-width: 1199px)";
105
+ '2xl': "(min-width: 1399px)";
106
+ '3xl': "(min-width: 1600px)";
107
+ }, import("@stitches/react/types/css-util").CSS<{
108
+ sm: "(min-width: 359px)";
109
+ md: "(min-width: 767px)";
110
+ lg: "(min-width: 1023px)";
111
+ xl: "(min-width: 1199px)";
112
+ '2xl': "(min-width: 1399px)";
113
+ '3xl': "(min-width: 1600px)";
114
+ }, {
115
+ colors: unknown;
116
+ space: unknown;
117
+ shadows: unknown;
118
+ fontSizes: unknown;
119
+ fonts: unknown;
120
+ lineHeights: unknown;
121
+ letterSpacings: unknown;
122
+ radii: unknown;
123
+ sizes: unknown;
124
+ zIndices: unknown;
125
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
126
+ m: (value: {
127
+ readonly [$$ScaleValue]: "space";
128
+ }) => {
129
+ margin: {
130
+ readonly [$$ScaleValue]: "space";
131
+ };
132
+ };
133
+ mt: (value: {
134
+ readonly [$$ScaleValue]: "space";
135
+ }) => {
136
+ marginTop: {
137
+ readonly [$$ScaleValue]: "space";
138
+ };
139
+ };
140
+ mr: (value: {
141
+ readonly [$$ScaleValue]: "space";
142
+ }) => {
143
+ marginRight: {
144
+ readonly [$$ScaleValue]: "space";
145
+ };
146
+ };
147
+ mb: (value: {
148
+ readonly [$$ScaleValue]: "space";
149
+ }) => {
150
+ marginBottom: {
151
+ readonly [$$ScaleValue]: "space";
152
+ };
153
+ };
154
+ ml: (value: {
155
+ readonly [$$ScaleValue]: "space";
156
+ }) => {
157
+ marginLeft: {
158
+ readonly [$$ScaleValue]: "space";
159
+ };
160
+ };
161
+ mx: (value: {
162
+ readonly [$$ScaleValue]: "space";
163
+ }) => {
164
+ marginLeft: {
165
+ readonly [$$ScaleValue]: "space";
166
+ };
167
+ marginRight: {
168
+ readonly [$$ScaleValue]: "space";
169
+ };
170
+ };
171
+ my: (value: {
172
+ readonly [$$ScaleValue]: "space";
173
+ }) => {
174
+ marginTop: {
175
+ readonly [$$ScaleValue]: "space";
176
+ };
177
+ marginBottom: {
178
+ readonly [$$ScaleValue]: "space";
179
+ };
180
+ };
181
+ size: (value: {
182
+ readonly [$$PropertyValue]: "width";
183
+ }) => {
184
+ width: {
185
+ readonly [$$PropertyValue]: "width";
186
+ };
187
+ height: {
188
+ readonly [$$PropertyValue]: "width";
189
+ };
190
+ };
191
+ subtleColor: (value: string) => {
192
+ color: string;
193
+ backgroundColor: string;
194
+ };
195
+ }>>;
196
+ export declare const ModalDialogContent: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
197
+ sm: "(min-width: 359px)";
198
+ md: "(min-width: 767px)";
199
+ lg: "(min-width: 1023px)";
200
+ xl: "(min-width: 1199px)";
201
+ '2xl': "(min-width: 1399px)";
202
+ '3xl': "(min-width: 1600px)";
203
+ }, import("@stitches/react/types/css-util").CSS<{
204
+ sm: "(min-width: 359px)";
205
+ md: "(min-width: 767px)";
206
+ lg: "(min-width: 1023px)";
207
+ xl: "(min-width: 1199px)";
208
+ '2xl': "(min-width: 1399px)";
209
+ '3xl': "(min-width: 1600px)";
210
+ }, {
211
+ colors: unknown;
212
+ space: unknown;
213
+ shadows: unknown;
214
+ fontSizes: unknown;
215
+ fonts: unknown;
216
+ lineHeights: unknown;
217
+ letterSpacings: unknown;
218
+ radii: unknown;
219
+ sizes: unknown;
220
+ zIndices: unknown;
221
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
222
+ m: (value: {
223
+ readonly [$$ScaleValue]: "space";
224
+ }) => {
225
+ margin: {
226
+ readonly [$$ScaleValue]: "space";
227
+ };
228
+ };
229
+ mt: (value: {
230
+ readonly [$$ScaleValue]: "space";
231
+ }) => {
232
+ marginTop: {
233
+ readonly [$$ScaleValue]: "space";
234
+ };
235
+ };
236
+ mr: (value: {
237
+ readonly [$$ScaleValue]: "space";
238
+ }) => {
239
+ marginRight: {
240
+ readonly [$$ScaleValue]: "space";
241
+ };
242
+ };
243
+ mb: (value: {
244
+ readonly [$$ScaleValue]: "space";
245
+ }) => {
246
+ marginBottom: {
247
+ readonly [$$ScaleValue]: "space";
248
+ };
249
+ };
250
+ ml: (value: {
251
+ readonly [$$ScaleValue]: "space";
252
+ }) => {
253
+ marginLeft: {
254
+ readonly [$$ScaleValue]: "space";
255
+ };
256
+ };
257
+ mx: (value: {
258
+ readonly [$$ScaleValue]: "space";
259
+ }) => {
260
+ marginLeft: {
261
+ readonly [$$ScaleValue]: "space";
262
+ };
263
+ marginRight: {
264
+ readonly [$$ScaleValue]: "space";
265
+ };
266
+ };
267
+ my: (value: {
268
+ readonly [$$ScaleValue]: "space";
269
+ }) => {
270
+ marginTop: {
271
+ readonly [$$ScaleValue]: "space";
272
+ };
273
+ marginBottom: {
274
+ readonly [$$ScaleValue]: "space";
275
+ };
276
+ };
277
+ size: (value: {
278
+ readonly [$$PropertyValue]: "width";
279
+ }) => {
280
+ width: {
281
+ readonly [$$PropertyValue]: "width";
282
+ };
283
+ height: {
284
+ readonly [$$PropertyValue]: "width";
285
+ };
286
+ };
287
+ subtleColor: (value: string) => {
288
+ color: string;
289
+ backgroundColor: string;
290
+ };
291
+ }>>;
292
+ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
293
+ sm: "(min-width: 359px)";
294
+ md: "(min-width: 767px)";
295
+ lg: "(min-width: 1023px)";
296
+ xl: "(min-width: 1199px)";
297
+ '2xl': "(min-width: 1399px)";
298
+ '3xl': "(min-width: 1600px)";
299
+ }, import("@stitches/react/types/css-util").CSS<{
300
+ sm: "(min-width: 359px)";
301
+ md: "(min-width: 767px)";
302
+ lg: "(min-width: 1023px)";
303
+ xl: "(min-width: 1199px)";
304
+ '2xl': "(min-width: 1399px)";
305
+ '3xl': "(min-width: 1600px)";
306
+ }, {
307
+ colors: unknown;
308
+ space: unknown;
309
+ shadows: unknown;
310
+ fontSizes: unknown;
311
+ fonts: unknown;
312
+ lineHeights: unknown;
313
+ letterSpacings: unknown;
314
+ radii: unknown;
315
+ sizes: unknown;
316
+ zIndices: unknown;
317
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
318
+ m: (value: {
319
+ readonly [$$ScaleValue]: "space";
320
+ }) => {
321
+ margin: {
322
+ readonly [$$ScaleValue]: "space";
323
+ };
324
+ };
325
+ mt: (value: {
326
+ readonly [$$ScaleValue]: "space";
327
+ }) => {
328
+ marginTop: {
329
+ readonly [$$ScaleValue]: "space";
330
+ };
331
+ };
332
+ mr: (value: {
333
+ readonly [$$ScaleValue]: "space";
334
+ }) => {
335
+ marginRight: {
336
+ readonly [$$ScaleValue]: "space";
337
+ };
338
+ };
339
+ mb: (value: {
340
+ readonly [$$ScaleValue]: "space";
341
+ }) => {
342
+ marginBottom: {
343
+ readonly [$$ScaleValue]: "space";
344
+ };
345
+ };
346
+ ml: (value: {
347
+ readonly [$$ScaleValue]: "space";
348
+ }) => {
349
+ marginLeft: {
350
+ readonly [$$ScaleValue]: "space";
351
+ };
352
+ };
353
+ mx: (value: {
354
+ readonly [$$ScaleValue]: "space";
355
+ }) => {
356
+ marginLeft: {
357
+ readonly [$$ScaleValue]: "space";
358
+ };
359
+ marginRight: {
360
+ readonly [$$ScaleValue]: "space";
361
+ };
362
+ };
363
+ my: (value: {
364
+ readonly [$$ScaleValue]: "space";
365
+ }) => {
366
+ marginTop: {
367
+ readonly [$$ScaleValue]: "space";
368
+ };
369
+ marginBottom: {
370
+ readonly [$$ScaleValue]: "space";
371
+ };
372
+ };
373
+ size: (value: {
374
+ readonly [$$PropertyValue]: "width";
375
+ }) => {
376
+ width: {
377
+ readonly [$$PropertyValue]: "width";
378
+ };
379
+ height: {
380
+ readonly [$$PropertyValue]: "width";
381
+ };
382
+ };
383
+ subtleColor: (value: string) => {
384
+ color: string;
385
+ backgroundColor: string;
386
+ };
387
+ }>>;
388
+ declare type IDialog = React.ComponentProps<typeof Dialog>;
389
+ interface ModalDialogProps extends IDialog, DialogContentProps {
390
+ layer?: number | string;
391
+ isMobile?: boolean | undefined;
392
+ /**
393
+ * @deprecated Use size or css props css={{width: width css property}} instead. This will be deleted in the future to limit unnecessary props.
394
+ */
395
+ width?: string | number;
396
+ onOpenAutoFocus?(): void;
397
+ }
398
+ declare const ModalDialog: {
399
+ (props: ModalDialogProps): JSX.Element;
400
+ defaultProps: {
401
+ size: string;
402
+ layer: string;
403
+ };
404
+ };
405
+ export default ModalDialog;
@@ -0,0 +1,2 @@
1
+ export * from './ModalDialog';
2
+ export { default as ModalDialog } from './ModalDialog';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface ProgressListData {
3
+ progress: number;
4
+ title: string;
5
+ }
6
+ interface ProgressIndicatorProps {
7
+ progress: number;
8
+ progressError?: number;
9
+ progressList: ProgressListData[];
10
+ }
11
+ export default function ProgressIndicator(props: ProgressIndicatorProps): JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { default as ProgressIndicator } from './ProgressIndicator';
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { CSS } from '../../config/stitches.config';
3
+ import { TableInstance } from 'react-table';
4
+ interface MobileTableProps {
5
+ instance: TableInstance<object>;
6
+ totalData: number;
7
+ isInfiniteScroll: boolean;
8
+ footer: JSX.Element;
9
+ infiniteScrollWrapper: (children: JSX.Element) => JSX.Element;
10
+ isLoading: boolean;
11
+ emptyDataMessage?: string;
12
+ css?: CSS;
13
+ }
14
+ declare const MobileTable: React.ForwardRefExoticComponent<MobileTableProps & React.RefAttributes<HTMLDivElement>>;
15
+ export default MobileTable;