@majoo-ui/react 1.42.3 → 1.44.2

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.
Files changed (40) hide show
  1. package/README.md +7 -7
  2. package/components/accordion/Accordion.d.ts +33 -0
  3. package/components/accordion/index.d.ts +1 -0
  4. package/components/devicePreview/DevicePreview.d.ts +97 -1
  5. package/components/dialog/Dialog.d.ts +398 -0
  6. package/components/dialog/index.d.ts +2 -0
  7. package/components/editableTable/EditableMobile.d.ts +1 -0
  8. package/components/editableTable/EditableTable.d.ts +198 -1
  9. package/components/form/components/InputText/InputText.d.ts +103 -0
  10. package/components/form/components/InputText/index.d.ts +1 -0
  11. package/components/heading/Heading.d.ts +99 -0
  12. package/components/heading/index.d.ts +2 -0
  13. package/components/image/index.d.ts +2 -0
  14. package/components/index.d.ts +3 -1
  15. package/components/loadingBar/LoadingBar.d.ts +12 -0
  16. package/components/loadingBar/index.d.ts +1 -0
  17. package/components/modalDialog/ModalDialog.d.ts +810 -0
  18. package/components/modalDialog/index.d.ts +2 -0
  19. package/components/pageDialog/PageDialog.d.ts +806 -0
  20. package/components/pageDialog/index.d.ts +1 -0
  21. package/components/progressIndicator/ProgressIndicator.d.ts +12 -0
  22. package/components/progressIndicator/index.d.ts +1 -0
  23. package/components/table/MobileTable.d.ts +15 -0
  24. package/components/table/Table.d.ts +920 -0
  25. package/components/table/index.d.ts +4 -0
  26. package/components/upload/utils/canvasPreview.d.ts +2 -0
  27. package/components/upload/utils/imgPreview.d.ts +2 -0
  28. package/config/stitches.config.d.ts +625 -0
  29. package/index.d.ts +2 -2
  30. package/index.esm.css +244 -0
  31. package/index.esm.js +6261 -4657
  32. package/index.umd.css +244 -0
  33. package/index.umd.js +5541 -3811
  34. package/layout/box/index.d.ts +1 -0
  35. package/layout/flex/index.d.ts +2 -0
  36. package/layout/index.d.ts +4 -0
  37. package/package.json +6 -5
  38. package/type/base.types.d.ts +10 -0
  39. package/type/stitches.types.d.ts +1 -0
  40. package/utils/variant.d.ts +4 -0
@@ -0,0 +1,920 @@
1
+ /// <reference types="react" />
2
+ import { Column } from 'react-table';
3
+ import { CSS } from '../../config/stitches.config';
4
+ export declare const TableContent: import("@stitches/react/types/styled-component").StyledComponent<"table", {}, {
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 TableHead: import("@stitches/react/types/styled-component").StyledComponent<"thead", {}, {
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 TableHeaderCellContainer: import("@stitches/react/types/styled-component").StyledComponent<any, {
197
+ isSortedDesc?: boolean | "false" | "true" | undefined;
198
+ unsortable?: boolean | "true" | undefined;
199
+ isMobile?: boolean | "true" | undefined;
200
+ }, {
201
+ sm: "(min-width: 359px)";
202
+ md: "(min-width: 767px)";
203
+ lg: "(min-width: 1023px)";
204
+ xl: "(min-width: 1199px)";
205
+ '2xl': "(min-width: 1399px)";
206
+ '3xl': "(min-width: 1600px)";
207
+ }, import("@stitches/react/types/css-util").CSS<{
208
+ sm: "(min-width: 359px)";
209
+ md: "(min-width: 767px)";
210
+ lg: "(min-width: 1023px)";
211
+ xl: "(min-width: 1199px)";
212
+ '2xl': "(min-width: 1399px)";
213
+ '3xl': "(min-width: 1600px)";
214
+ }, {
215
+ colors: unknown;
216
+ space: unknown;
217
+ shadows: unknown;
218
+ fontSizes: unknown;
219
+ fonts: unknown;
220
+ lineHeights: unknown;
221
+ letterSpacings: unknown;
222
+ radii: unknown;
223
+ sizes: unknown;
224
+ zIndices: unknown;
225
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
226
+ m: (value: {
227
+ readonly [$$ScaleValue]: "space";
228
+ }) => {
229
+ margin: {
230
+ readonly [$$ScaleValue]: "space";
231
+ };
232
+ };
233
+ mt: (value: {
234
+ readonly [$$ScaleValue]: "space";
235
+ }) => {
236
+ marginTop: {
237
+ readonly [$$ScaleValue]: "space";
238
+ };
239
+ };
240
+ mr: (value: {
241
+ readonly [$$ScaleValue]: "space";
242
+ }) => {
243
+ marginRight: {
244
+ readonly [$$ScaleValue]: "space";
245
+ };
246
+ };
247
+ mb: (value: {
248
+ readonly [$$ScaleValue]: "space";
249
+ }) => {
250
+ marginBottom: {
251
+ readonly [$$ScaleValue]: "space";
252
+ };
253
+ };
254
+ ml: (value: {
255
+ readonly [$$ScaleValue]: "space";
256
+ }) => {
257
+ marginLeft: {
258
+ readonly [$$ScaleValue]: "space";
259
+ };
260
+ };
261
+ mx: (value: {
262
+ readonly [$$ScaleValue]: "space";
263
+ }) => {
264
+ marginLeft: {
265
+ readonly [$$ScaleValue]: "space";
266
+ };
267
+ marginRight: {
268
+ readonly [$$ScaleValue]: "space";
269
+ };
270
+ };
271
+ my: (value: {
272
+ readonly [$$ScaleValue]: "space";
273
+ }) => {
274
+ marginTop: {
275
+ readonly [$$ScaleValue]: "space";
276
+ };
277
+ marginBottom: {
278
+ readonly [$$ScaleValue]: "space";
279
+ };
280
+ };
281
+ size: (value: {
282
+ readonly [$$PropertyValue]: "width";
283
+ }) => {
284
+ width: {
285
+ readonly [$$PropertyValue]: "width";
286
+ };
287
+ height: {
288
+ readonly [$$PropertyValue]: "width";
289
+ };
290
+ };
291
+ subtleColor: (value: string) => {
292
+ color: string;
293
+ backgroundColor: string;
294
+ };
295
+ }>>;
296
+ export declare const TableHeadCellContent: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<any, {
297
+ heading?: "h1" | "h2" | "h3" | "pageTitle" | "sectionTitle" | "sectionSubTitle" | "headerTabs" | "headerTable" | undefined;
298
+ }, {
299
+ sm: "(min-width: 359px)";
300
+ md: "(min-width: 767px)";
301
+ lg: "(min-width: 1023px)";
302
+ xl: "(min-width: 1199px)";
303
+ '2xl': "(min-width: 1399px)";
304
+ '3xl': "(min-width: 1600px)";
305
+ }, import("@stitches/react/types/css-util").CSS<{
306
+ sm: "(min-width: 359px)";
307
+ md: "(min-width: 767px)";
308
+ lg: "(min-width: 1023px)";
309
+ xl: "(min-width: 1199px)";
310
+ '2xl': "(min-width: 1399px)";
311
+ '3xl': "(min-width: 1600px)";
312
+ }, {
313
+ colors: unknown;
314
+ space: unknown;
315
+ shadows: unknown;
316
+ fontSizes: unknown;
317
+ fonts: unknown;
318
+ lineHeights: unknown;
319
+ letterSpacings: unknown;
320
+ radii: unknown;
321
+ sizes: unknown;
322
+ zIndices: unknown;
323
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
324
+ m: (value: {
325
+ readonly [$$ScaleValue]: "space";
326
+ }) => {
327
+ margin: {
328
+ readonly [$$ScaleValue]: "space";
329
+ };
330
+ };
331
+ mt: (value: {
332
+ readonly [$$ScaleValue]: "space";
333
+ }) => {
334
+ marginTop: {
335
+ readonly [$$ScaleValue]: "space";
336
+ };
337
+ };
338
+ mr: (value: {
339
+ readonly [$$ScaleValue]: "space";
340
+ }) => {
341
+ marginRight: {
342
+ readonly [$$ScaleValue]: "space";
343
+ };
344
+ };
345
+ mb: (value: {
346
+ readonly [$$ScaleValue]: "space";
347
+ }) => {
348
+ marginBottom: {
349
+ readonly [$$ScaleValue]: "space";
350
+ };
351
+ };
352
+ ml: (value: {
353
+ readonly [$$ScaleValue]: "space";
354
+ }) => {
355
+ marginLeft: {
356
+ readonly [$$ScaleValue]: "space";
357
+ };
358
+ };
359
+ mx: (value: {
360
+ readonly [$$ScaleValue]: "space";
361
+ }) => {
362
+ marginLeft: {
363
+ readonly [$$ScaleValue]: "space";
364
+ };
365
+ marginRight: {
366
+ readonly [$$ScaleValue]: "space";
367
+ };
368
+ };
369
+ my: (value: {
370
+ readonly [$$ScaleValue]: "space";
371
+ }) => {
372
+ marginTop: {
373
+ readonly [$$ScaleValue]: "space";
374
+ };
375
+ marginBottom: {
376
+ readonly [$$ScaleValue]: "space";
377
+ };
378
+ };
379
+ size: (value: {
380
+ readonly [$$PropertyValue]: "width";
381
+ }) => {
382
+ width: {
383
+ readonly [$$PropertyValue]: "width";
384
+ };
385
+ height: {
386
+ readonly [$$PropertyValue]: "width";
387
+ };
388
+ };
389
+ subtleColor: (value: string) => {
390
+ color: string;
391
+ backgroundColor: string;
392
+ };
393
+ }>>, {}, {
394
+ sm: "(min-width: 359px)";
395
+ md: "(min-width: 767px)";
396
+ lg: "(min-width: 1023px)";
397
+ xl: "(min-width: 1199px)";
398
+ '2xl': "(min-width: 1399px)";
399
+ '3xl': "(min-width: 1600px)";
400
+ }, import("@stitches/react/types/css-util").CSS<{
401
+ sm: "(min-width: 359px)";
402
+ md: "(min-width: 767px)";
403
+ lg: "(min-width: 1023px)";
404
+ xl: "(min-width: 1199px)";
405
+ '2xl': "(min-width: 1399px)";
406
+ '3xl': "(min-width: 1600px)";
407
+ }, {
408
+ colors: unknown;
409
+ space: unknown;
410
+ shadows: unknown;
411
+ fontSizes: unknown;
412
+ fonts: unknown;
413
+ lineHeights: unknown;
414
+ letterSpacings: unknown;
415
+ radii: unknown;
416
+ sizes: unknown;
417
+ zIndices: unknown;
418
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
419
+ m: (value: {
420
+ readonly [$$ScaleValue]: "space";
421
+ }) => {
422
+ margin: {
423
+ readonly [$$ScaleValue]: "space";
424
+ };
425
+ };
426
+ mt: (value: {
427
+ readonly [$$ScaleValue]: "space";
428
+ }) => {
429
+ marginTop: {
430
+ readonly [$$ScaleValue]: "space";
431
+ };
432
+ };
433
+ mr: (value: {
434
+ readonly [$$ScaleValue]: "space";
435
+ }) => {
436
+ marginRight: {
437
+ readonly [$$ScaleValue]: "space";
438
+ };
439
+ };
440
+ mb: (value: {
441
+ readonly [$$ScaleValue]: "space";
442
+ }) => {
443
+ marginBottom: {
444
+ readonly [$$ScaleValue]: "space";
445
+ };
446
+ };
447
+ ml: (value: {
448
+ readonly [$$ScaleValue]: "space";
449
+ }) => {
450
+ marginLeft: {
451
+ readonly [$$ScaleValue]: "space";
452
+ };
453
+ };
454
+ mx: (value: {
455
+ readonly [$$ScaleValue]: "space";
456
+ }) => {
457
+ marginLeft: {
458
+ readonly [$$ScaleValue]: "space";
459
+ };
460
+ marginRight: {
461
+ readonly [$$ScaleValue]: "space";
462
+ };
463
+ };
464
+ my: (value: {
465
+ readonly [$$ScaleValue]: "space";
466
+ }) => {
467
+ marginTop: {
468
+ readonly [$$ScaleValue]: "space";
469
+ };
470
+ marginBottom: {
471
+ readonly [$$ScaleValue]: "space";
472
+ };
473
+ };
474
+ size: (value: {
475
+ readonly [$$PropertyValue]: "width";
476
+ }) => {
477
+ width: {
478
+ readonly [$$PropertyValue]: "width";
479
+ };
480
+ height: {
481
+ readonly [$$PropertyValue]: "width";
482
+ };
483
+ };
484
+ subtleColor: (value: string) => {
485
+ color: string;
486
+ backgroundColor: string;
487
+ };
488
+ }>>;
489
+ export declare const TableBody: import("@stitches/react/types/styled-component").StyledComponent<"tbody", {}, {
490
+ sm: "(min-width: 359px)";
491
+ md: "(min-width: 767px)";
492
+ lg: "(min-width: 1023px)";
493
+ xl: "(min-width: 1199px)";
494
+ '2xl': "(min-width: 1399px)";
495
+ '3xl': "(min-width: 1600px)";
496
+ }, import("@stitches/react/types/css-util").CSS<{
497
+ sm: "(min-width: 359px)";
498
+ md: "(min-width: 767px)";
499
+ lg: "(min-width: 1023px)";
500
+ xl: "(min-width: 1199px)";
501
+ '2xl': "(min-width: 1399px)";
502
+ '3xl': "(min-width: 1600px)";
503
+ }, {
504
+ colors: unknown;
505
+ space: unknown;
506
+ shadows: unknown;
507
+ fontSizes: unknown;
508
+ fonts: unknown;
509
+ lineHeights: unknown;
510
+ letterSpacings: unknown;
511
+ radii: unknown;
512
+ sizes: unknown;
513
+ zIndices: unknown;
514
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
515
+ m: (value: {
516
+ readonly [$$ScaleValue]: "space";
517
+ }) => {
518
+ margin: {
519
+ readonly [$$ScaleValue]: "space";
520
+ };
521
+ };
522
+ mt: (value: {
523
+ readonly [$$ScaleValue]: "space";
524
+ }) => {
525
+ marginTop: {
526
+ readonly [$$ScaleValue]: "space";
527
+ };
528
+ };
529
+ mr: (value: {
530
+ readonly [$$ScaleValue]: "space";
531
+ }) => {
532
+ marginRight: {
533
+ readonly [$$ScaleValue]: "space";
534
+ };
535
+ };
536
+ mb: (value: {
537
+ readonly [$$ScaleValue]: "space";
538
+ }) => {
539
+ marginBottom: {
540
+ readonly [$$ScaleValue]: "space";
541
+ };
542
+ };
543
+ ml: (value: {
544
+ readonly [$$ScaleValue]: "space";
545
+ }) => {
546
+ marginLeft: {
547
+ readonly [$$ScaleValue]: "space";
548
+ };
549
+ };
550
+ mx: (value: {
551
+ readonly [$$ScaleValue]: "space";
552
+ }) => {
553
+ marginLeft: {
554
+ readonly [$$ScaleValue]: "space";
555
+ };
556
+ marginRight: {
557
+ readonly [$$ScaleValue]: "space";
558
+ };
559
+ };
560
+ my: (value: {
561
+ readonly [$$ScaleValue]: "space";
562
+ }) => {
563
+ marginTop: {
564
+ readonly [$$ScaleValue]: "space";
565
+ };
566
+ marginBottom: {
567
+ readonly [$$ScaleValue]: "space";
568
+ };
569
+ };
570
+ size: (value: {
571
+ readonly [$$PropertyValue]: "width";
572
+ }) => {
573
+ width: {
574
+ readonly [$$PropertyValue]: "width";
575
+ };
576
+ height: {
577
+ readonly [$$PropertyValue]: "width";
578
+ };
579
+ };
580
+ subtleColor: (value: string) => {
581
+ color: string;
582
+ backgroundColor: string;
583
+ };
584
+ }>>;
585
+ export declare const TableFoot: import("@stitches/react/types/styled-component").StyledComponent<"tfoot", {}, {
586
+ sm: "(min-width: 359px)";
587
+ md: "(min-width: 767px)";
588
+ lg: "(min-width: 1023px)";
589
+ xl: "(min-width: 1199px)";
590
+ '2xl': "(min-width: 1399px)";
591
+ '3xl': "(min-width: 1600px)";
592
+ }, import("@stitches/react/types/css-util").CSS<{
593
+ sm: "(min-width: 359px)";
594
+ md: "(min-width: 767px)";
595
+ lg: "(min-width: 1023px)";
596
+ xl: "(min-width: 1199px)";
597
+ '2xl': "(min-width: 1399px)";
598
+ '3xl': "(min-width: 1600px)";
599
+ }, {
600
+ colors: unknown;
601
+ space: unknown;
602
+ shadows: unknown;
603
+ fontSizes: unknown;
604
+ fonts: unknown;
605
+ lineHeights: unknown;
606
+ letterSpacings: unknown;
607
+ radii: unknown;
608
+ sizes: unknown;
609
+ zIndices: unknown;
610
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
611
+ m: (value: {
612
+ readonly [$$ScaleValue]: "space";
613
+ }) => {
614
+ margin: {
615
+ readonly [$$ScaleValue]: "space";
616
+ };
617
+ };
618
+ mt: (value: {
619
+ readonly [$$ScaleValue]: "space";
620
+ }) => {
621
+ marginTop: {
622
+ readonly [$$ScaleValue]: "space";
623
+ };
624
+ };
625
+ mr: (value: {
626
+ readonly [$$ScaleValue]: "space";
627
+ }) => {
628
+ marginRight: {
629
+ readonly [$$ScaleValue]: "space";
630
+ };
631
+ };
632
+ mb: (value: {
633
+ readonly [$$ScaleValue]: "space";
634
+ }) => {
635
+ marginBottom: {
636
+ readonly [$$ScaleValue]: "space";
637
+ };
638
+ };
639
+ ml: (value: {
640
+ readonly [$$ScaleValue]: "space";
641
+ }) => {
642
+ marginLeft: {
643
+ readonly [$$ScaleValue]: "space";
644
+ };
645
+ };
646
+ mx: (value: {
647
+ readonly [$$ScaleValue]: "space";
648
+ }) => {
649
+ marginLeft: {
650
+ readonly [$$ScaleValue]: "space";
651
+ };
652
+ marginRight: {
653
+ readonly [$$ScaleValue]: "space";
654
+ };
655
+ };
656
+ my: (value: {
657
+ readonly [$$ScaleValue]: "space";
658
+ }) => {
659
+ marginTop: {
660
+ readonly [$$ScaleValue]: "space";
661
+ };
662
+ marginBottom: {
663
+ readonly [$$ScaleValue]: "space";
664
+ };
665
+ };
666
+ size: (value: {
667
+ readonly [$$PropertyValue]: "width";
668
+ }) => {
669
+ width: {
670
+ readonly [$$PropertyValue]: "width";
671
+ };
672
+ height: {
673
+ readonly [$$PropertyValue]: "width";
674
+ };
675
+ };
676
+ subtleColor: (value: string) => {
677
+ color: string;
678
+ backgroundColor: string;
679
+ };
680
+ }>>;
681
+ export declare const TableFootRow: import("@stitches/react/types/styled-component").StyledComponent<"tr", {}, {
682
+ sm: "(min-width: 359px)";
683
+ md: "(min-width: 767px)";
684
+ lg: "(min-width: 1023px)";
685
+ xl: "(min-width: 1199px)";
686
+ '2xl': "(min-width: 1399px)";
687
+ '3xl': "(min-width: 1600px)";
688
+ }, import("@stitches/react/types/css-util").CSS<{
689
+ sm: "(min-width: 359px)";
690
+ md: "(min-width: 767px)";
691
+ lg: "(min-width: 1023px)";
692
+ xl: "(min-width: 1199px)";
693
+ '2xl': "(min-width: 1399px)";
694
+ '3xl': "(min-width: 1600px)";
695
+ }, {
696
+ colors: unknown;
697
+ space: unknown;
698
+ shadows: unknown;
699
+ fontSizes: unknown;
700
+ fonts: unknown;
701
+ lineHeights: unknown;
702
+ letterSpacings: unknown;
703
+ radii: unknown;
704
+ sizes: unknown;
705
+ zIndices: unknown;
706
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
707
+ m: (value: {
708
+ readonly [$$ScaleValue]: "space";
709
+ }) => {
710
+ margin: {
711
+ readonly [$$ScaleValue]: "space";
712
+ };
713
+ };
714
+ mt: (value: {
715
+ readonly [$$ScaleValue]: "space";
716
+ }) => {
717
+ marginTop: {
718
+ readonly [$$ScaleValue]: "space";
719
+ };
720
+ };
721
+ mr: (value: {
722
+ readonly [$$ScaleValue]: "space";
723
+ }) => {
724
+ marginRight: {
725
+ readonly [$$ScaleValue]: "space";
726
+ };
727
+ };
728
+ mb: (value: {
729
+ readonly [$$ScaleValue]: "space";
730
+ }) => {
731
+ marginBottom: {
732
+ readonly [$$ScaleValue]: "space";
733
+ };
734
+ };
735
+ ml: (value: {
736
+ readonly [$$ScaleValue]: "space";
737
+ }) => {
738
+ marginLeft: {
739
+ readonly [$$ScaleValue]: "space";
740
+ };
741
+ };
742
+ mx: (value: {
743
+ readonly [$$ScaleValue]: "space";
744
+ }) => {
745
+ marginLeft: {
746
+ readonly [$$ScaleValue]: "space";
747
+ };
748
+ marginRight: {
749
+ readonly [$$ScaleValue]: "space";
750
+ };
751
+ };
752
+ my: (value: {
753
+ readonly [$$ScaleValue]: "space";
754
+ }) => {
755
+ marginTop: {
756
+ readonly [$$ScaleValue]: "space";
757
+ };
758
+ marginBottom: {
759
+ readonly [$$ScaleValue]: "space";
760
+ };
761
+ };
762
+ size: (value: {
763
+ readonly [$$PropertyValue]: "width";
764
+ }) => {
765
+ width: {
766
+ readonly [$$PropertyValue]: "width";
767
+ };
768
+ height: {
769
+ readonly [$$PropertyValue]: "width";
770
+ };
771
+ };
772
+ subtleColor: (value: string) => {
773
+ color: string;
774
+ backgroundColor: string;
775
+ };
776
+ }>>;
777
+ export declare const TableFootCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {}, {
778
+ sm: "(min-width: 359px)";
779
+ md: "(min-width: 767px)";
780
+ lg: "(min-width: 1023px)";
781
+ xl: "(min-width: 1199px)";
782
+ '2xl': "(min-width: 1399px)";
783
+ '3xl': "(min-width: 1600px)";
784
+ }, import("@stitches/react/types/css-util").CSS<{
785
+ sm: "(min-width: 359px)";
786
+ md: "(min-width: 767px)";
787
+ lg: "(min-width: 1023px)";
788
+ xl: "(min-width: 1199px)";
789
+ '2xl': "(min-width: 1399px)";
790
+ '3xl': "(min-width: 1600px)";
791
+ }, {
792
+ colors: unknown;
793
+ space: unknown;
794
+ shadows: unknown;
795
+ fontSizes: unknown;
796
+ fonts: unknown;
797
+ lineHeights: unknown;
798
+ letterSpacings: unknown;
799
+ radii: unknown;
800
+ sizes: unknown;
801
+ zIndices: unknown;
802
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
803
+ m: (value: {
804
+ readonly [$$ScaleValue]: "space";
805
+ }) => {
806
+ margin: {
807
+ readonly [$$ScaleValue]: "space";
808
+ };
809
+ };
810
+ mt: (value: {
811
+ readonly [$$ScaleValue]: "space";
812
+ }) => {
813
+ marginTop: {
814
+ readonly [$$ScaleValue]: "space";
815
+ };
816
+ };
817
+ mr: (value: {
818
+ readonly [$$ScaleValue]: "space";
819
+ }) => {
820
+ marginRight: {
821
+ readonly [$$ScaleValue]: "space";
822
+ };
823
+ };
824
+ mb: (value: {
825
+ readonly [$$ScaleValue]: "space";
826
+ }) => {
827
+ marginBottom: {
828
+ readonly [$$ScaleValue]: "space";
829
+ };
830
+ };
831
+ ml: (value: {
832
+ readonly [$$ScaleValue]: "space";
833
+ }) => {
834
+ marginLeft: {
835
+ readonly [$$ScaleValue]: "space";
836
+ };
837
+ };
838
+ mx: (value: {
839
+ readonly [$$ScaleValue]: "space";
840
+ }) => {
841
+ marginLeft: {
842
+ readonly [$$ScaleValue]: "space";
843
+ };
844
+ marginRight: {
845
+ readonly [$$ScaleValue]: "space";
846
+ };
847
+ };
848
+ my: (value: {
849
+ readonly [$$ScaleValue]: "space";
850
+ }) => {
851
+ marginTop: {
852
+ readonly [$$ScaleValue]: "space";
853
+ };
854
+ marginBottom: {
855
+ readonly [$$ScaleValue]: "space";
856
+ };
857
+ };
858
+ size: (value: {
859
+ readonly [$$PropertyValue]: "width";
860
+ }) => {
861
+ width: {
862
+ readonly [$$PropertyValue]: "width";
863
+ };
864
+ height: {
865
+ readonly [$$PropertyValue]: "width";
866
+ };
867
+ };
868
+ subtleColor: (value: string) => {
869
+ color: string;
870
+ backgroundColor: string;
871
+ };
872
+ }>>;
873
+ export declare const addOnCellStyle: (id: any) => {
874
+ style: {
875
+ width: string;
876
+ };
877
+ } | {
878
+ style?: undefined;
879
+ };
880
+ export declare const defaultFetchDataParams: {
881
+ pageIndex: number;
882
+ pageSize: number;
883
+ };
884
+ interface FetchDataParams {
885
+ pageIndex?: number;
886
+ pageSize?: number;
887
+ sortAccessor?: string;
888
+ sortDirection?: string;
889
+ }
890
+ interface TableProps {
891
+ data: any[];
892
+ columns: Column<any>[];
893
+ keyId: string;
894
+ pageIndex: number;
895
+ totalData: number;
896
+ fetchData?: (params: FetchDataParams) => void;
897
+ isLoading: boolean;
898
+ css?: CSS;
899
+ onSelectedChange?: (selectedIds: string[]) => void;
900
+ hideDataInfo: boolean;
901
+ emptyDataMessage?: string;
902
+ isInfiniteScroll: boolean;
903
+ hasMoreItems: boolean;
904
+ rowLimit: number;
905
+ cellAlign: 'top' | 'center' | 'bottom';
906
+ /**
907
+ * Example:
908
+ * {
909
+ * '8192389219289': true,
910
+ * '2130912039281': true,
911
+ * '2130912039382': true
912
+ * }
913
+ */
914
+ selectedIds?: Record<string, boolean>;
915
+ }
916
+ declare function Table({ columns, data, keyId, pageIndex: controlledPageIndex, totalData, fetchData, hideDataInfo, emptyDataMessage, isLoading, css, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, }: TableProps): JSX.Element;
917
+ declare namespace Table {
918
+ var displayName: string;
919
+ }
920
+ export default Table;