@majoo-ui/react 1.61.24 → 1.61.25-rc.1

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 (133) hide show
  1. package/index.d.ts +1 -5
  2. package/index.esm.js +24547 -26991
  3. package/package.json +4 -4
  4. package/{colors → src/colors}/index.d.ts +1 -1
  5. package/{components → src/components}/accordion/Accordion.d.ts +35 -35
  6. package/{components → src/components}/accordion/index.d.ts +1 -1
  7. package/{components → src/components}/barChart/BarChart.d.ts +82 -82
  8. package/{components → src/components}/barChart/index.d.ts +1 -1
  9. package/{components → src/components}/breadcrumb/index.d.ts +7 -7
  10. package/{components → src/components}/button/index.d.ts +2 -2
  11. package/{components → src/components}/card/index.d.ts +2 -2
  12. package/{components → src/components}/chart/index.d.ts +1 -1
  13. package/{components → src/components}/chart/lineChart/LineChart.d.ts +80 -80
  14. package/{components → src/components}/chart/lineChart/components/Comparator.d.ts +16 -16
  15. package/{components → src/components}/chart/lineChart/components/ComparatorController.d.ts +8 -8
  16. package/{components → src/components}/chart/lineChart/components/ComparatorItem.d.ts +10 -10
  17. package/{components → src/components}/chart/lineChart/components/ProductList.d.ts +10 -10
  18. package/{components → src/components}/chart/lineChart/components/TitleLegend.d.ts +19 -19
  19. package/{components → src/components}/chart/lineChart/components/Tooltip.d.ts +21 -21
  20. package/{components → src/components}/chart/lineChart/index.d.ts +1 -1
  21. package/{components → src/components}/chart/utils/index.d.ts +18 -18
  22. package/{components → src/components}/checkboxTable/CheckboxTable.d.ts +29 -29
  23. package/{components → src/components}/checkboxTable/index.d.ts +1 -1
  24. package/{components → src/components}/checkboxTable/transition.d.ts +11 -11
  25. package/{components → src/components}/contentEditor/ContentEditor.d.ts +44 -44
  26. package/{components → src/components}/contentEditor/index.d.ts +1 -1
  27. package/{components → src/components}/contextMenu/index.d.ts +1 -1
  28. package/{components → src/components}/datePicker/AdvancedOption.d.ts +12 -12
  29. package/{components → src/components}/datePicker/CustomDatePicker.d.ts +63 -63
  30. package/{components → src/components}/datePicker/DatePicker.d.ts +10 -10
  31. package/{components → src/components}/datePicker/DatePickerMulti.d.ts +11 -11
  32. package/{components → src/components}/datePicker/InputDatePicker.d.ts +170 -170
  33. package/{components → src/components}/datePicker/InputDateRangePicker.d.ts +26 -26
  34. package/{components → src/components}/datePicker/components/Calendar.d.ts +32 -32
  35. package/{components → src/components}/datePicker/components/CalendarMulti.d.ts +21 -21
  36. package/{components → src/components}/datePicker/components/CalendarTimePicker.d.ts +11 -11
  37. package/{components → src/components}/datePicker/components/MobileCalendar.d.ts +4 -4
  38. package/{components → src/components}/datePicker/components/index.d.ts +6 -6
  39. package/{components → src/components}/datePicker/index.d.ts +7 -7
  40. package/{components → src/components}/datePicker/state/reducer.d.ts +26 -26
  41. package/{components → src/components}/datePicker/timePicker/index.d.ts +4 -4
  42. package/{components → src/components}/devicePreview/index.d.ts +2 -2
  43. package/{components → src/components}/dialog/index.d.ts +2 -2
  44. package/{components → src/components}/editableTable/Columns.d.ts +59 -59
  45. package/{components → src/components}/editableTable/EditableMobile.d.ts +23 -23
  46. package/{components → src/components}/editableTable/EditableTable.d.ts +432 -432
  47. package/{components → src/components}/editableTable/faker.d.ts +16 -16
  48. package/{components → src/components}/editableTable/index.d.ts +2 -2
  49. package/{components → src/components}/form/components/InputCombobox/InputCombobox.d.ts +43 -43
  50. package/{components → src/components}/form/components/InputCombobox/index.d.ts +1 -1
  51. package/{components → src/components}/form/components/InputCounter/InputCounter.d.ts +58 -58
  52. package/{components → src/components}/form/components/InputCounter/index.d.ts +2 -2
  53. package/{components → src/components}/form/components/InputDateRange/InputDateRange.d.ts +39 -39
  54. package/{components → src/components}/form/components/InputDateRange/index.d.ts +2 -2
  55. package/{components → src/components}/form/components/InputElement/index.d.ts +1 -1
  56. package/{components → src/components}/form/components/InputGroup/index.d.ts +1 -1
  57. package/{components → src/components}/form/components/InputOTP/InputOTP.d.ts +108 -108
  58. package/{components → src/components}/form/components/InputOTP/index.d.ts +2 -2
  59. package/{components → src/components}/form/components/InputResourceList/InputResourceList.d.ts +39 -39
  60. package/{components → src/components}/form/components/InputSelect/index.d.ts +2 -2
  61. package/{components → src/components}/form/components/InputSelectCheck/OptionGroupItem.d.ts +5 -5
  62. package/{components → src/components}/form/components/InputSignature/InputSignature.d.ts +12 -12
  63. package/{components → src/components}/form/components/InputSignature/SignatureModal.d.ts +11 -11
  64. package/{components → src/components}/form/components/InputSignature/index.d.ts +2 -2
  65. package/{components → src/components}/form/components/InputText/index.d.ts +1 -1
  66. package/{components → src/components}/form/components/index.d.ts +27 -27
  67. package/{components → src/components}/form/index.d.ts +1 -1
  68. package/{components → src/components}/heading/index.d.ts +2 -2
  69. package/{components → src/components}/image/index.d.ts +2 -2
  70. package/{components → src/components}/index.d.ts +53 -53
  71. package/{components → src/components}/link/index.d.ts +1 -1
  72. package/{components → src/components}/loadingBar/LoadingBar.d.ts +51 -51
  73. package/{components → src/components}/loadingBar/index.d.ts +1 -1
  74. package/{components → src/components}/mapPicker/InputMapPicker.d.ts +4 -4
  75. package/{components → src/components}/mapPicker/MapPicker.d.ts +17 -17
  76. package/{components → src/components}/mapPicker/index.d.ts +2 -2
  77. package/{components → src/components}/mapPicker/types/index.d.ts +103 -103
  78. package/{components → src/components}/modalDialog/index.d.ts +2 -2
  79. package/{components → src/components}/pageDialog/index.d.ts +1 -1
  80. package/{components → src/components}/paragraph/index.d.ts +2 -2
  81. package/{components → src/components}/pieChart/PieChart.d.ts +100 -100
  82. package/{components → src/components}/pieChart/index.d.ts +1 -1
  83. package/{components → src/components}/progressIndicator/ProgressIndicator.d.ts +17 -17
  84. package/{components → src/components}/progressIndicator/index.d.ts +1 -1
  85. package/{components → src/components}/scrollSync/ScrollSync.d.ts +45 -45
  86. package/{components → src/components}/scrollSync/ScrollSyncNode.d.ts +32 -32
  87. package/{components → src/components}/scrollSync/index.d.ts +2 -2
  88. package/{components → src/components}/scrollSync/utils.d.ts +3 -3
  89. package/{components → src/components}/separator/index.d.ts +2 -2
  90. package/{components → src/components}/skeleton/Skeleton.d.ts +19 -19
  91. package/{components → src/components}/skeleton/index.d.ts +1 -1
  92. package/{components → src/components}/stepWizard/index.d.ts +45 -45
  93. package/{components → src/components}/table/MobileTable.d.ts +39 -39
  94. package/{components → src/components}/table/index.d.ts +3 -3
  95. package/{components → src/components}/tableOfContent/index.d.ts +57 -57
  96. package/{components → src/components}/tagList/TagList.d.ts +21 -21
  97. package/{components → src/components}/tagList/index.d.ts +1 -1
  98. package/{components → src/components}/text/index.d.ts +2 -2
  99. package/{components → src/components}/upload/utils/canvasPreview.d.ts +2 -2
  100. package/{components → src/components}/upload/utils/imgPreview.d.ts +2 -2
  101. package/{foundations → src/foundations}/indices/Indices.d.ts +2 -2
  102. package/{foundations → src/foundations}/radii/Radii.d.ts +2 -2
  103. package/{foundations → src/foundations}/space/Space.d.ts +2 -2
  104. package/{hooks → src/hooks}/index.d.ts +2 -2
  105. package/{hooks → src/hooks}/useListOption/useListOption.d.ts +8 -8
  106. package/{hooks → src/hooks}/useToggle/useToggle.d.ts +1 -1
  107. package/src/index.d.ts +5 -0
  108. package/{layout → src/layout}/box/index.d.ts +1 -1
  109. package/{layout → src/layout}/flex/index.d.ts +2 -2
  110. package/{layout → src/layout}/grid/index.d.ts +2 -2
  111. package/{layout → src/layout}/index.d.ts +4 -4
  112. package/{type → src/type}/base.types.d.ts +11 -11
  113. package/src/type/stitches.types.d.ts +1 -0
  114. package/{utils → src/utils}/request.d.ts +14 -14
  115. package/{utils → src/utils}/useNavigatorOnline.d.ts +2 -2
  116. package/{utils → src/utils}/variant.d.ts +4 -4
  117. package/components/alert-backup/index.backup.d.ts +0 -1
  118. package/components/button/Button.d.ts +0 -163
  119. package/components/card/Card.d.ts +0 -531
  120. package/components/contextMenu/ContextMenu.d.ts +0 -404
  121. package/components/datePicker/components/DateNumber.d.ts +0 -104
  122. package/components/devicePreview/DevicePreview.d.ts +0 -161
  123. package/components/dialog/Dialog.d.ts +0 -402
  124. package/components/form/components/InputCombobox/InputCombobox.backup.d.ts +0 -43
  125. package/components/form/components/InputSelect/InputSelect.d.ts +0 -862
  126. package/components/heading/Heading.d.ts +0 -100
  127. package/components/link/Link.d.ts +0 -109
  128. package/components/modalDialog/ModalDialog.d.ts +0 -836
  129. package/components/pageDialog/PageDialog.d.ts +0 -810
  130. package/components/table/Table.d.ts +0 -1529
  131. package/config/stitches.config.d.ts +0 -645
  132. package/foundations/typography/Typography.d.ts +0 -396
  133. package/type/stitches.types.d.ts +0 -1
@@ -1,862 +0,0 @@
1
- import * as React from 'react';
2
- import { ControllerStateAndHelpers, DownshiftProps, StateChangeOptions } from 'downshift';
3
- import { CSS } from '../../../../config/stitches.config';
4
- export declare const SelectContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
5
- mobileOnly?: boolean | "true" | undefined;
6
- desktopOnly?: boolean | "true" | undefined;
7
- }, {
8
- sm: "(min-width: 359px)";
9
- md: "(min-width: 767px)";
10
- lg: "(min-width: 1023px)";
11
- xl: "(min-width: 1199px)";
12
- '2xl': "(min-width: 1399px)";
13
- '3xl': "(min-width: 1600px)";
14
- }, import("@stitches/react/types/css-util").CSS<{
15
- sm: "(min-width: 359px)";
16
- md: "(min-width: 767px)";
17
- lg: "(min-width: 1023px)";
18
- xl: "(min-width: 1199px)";
19
- '2xl': "(min-width: 1399px)";
20
- '3xl': "(min-width: 1600px)";
21
- }, {
22
- colors: unknown;
23
- space: unknown;
24
- shadows: unknown;
25
- fontSizes: unknown;
26
- fonts: unknown;
27
- lineHeights: unknown;
28
- letterSpacings: unknown;
29
- radii: unknown;
30
- sizes: unknown;
31
- zIndices: unknown;
32
- toastPosition: unknown;
33
- }, import("@stitches/react/types/config").DefaultThemeMap, {
34
- m: (value: {
35
- readonly [$$ScaleValue]: "space";
36
- }) => {
37
- margin: {
38
- readonly [$$ScaleValue]: "space";
39
- };
40
- };
41
- mt: (value: {
42
- readonly [$$ScaleValue]: "space";
43
- }) => {
44
- marginTop: {
45
- readonly [$$ScaleValue]: "space";
46
- };
47
- };
48
- mr: (value: {
49
- readonly [$$ScaleValue]: "space";
50
- }) => {
51
- marginRight: {
52
- readonly [$$ScaleValue]: "space";
53
- };
54
- };
55
- mb: (value: {
56
- readonly [$$ScaleValue]: "space";
57
- }) => {
58
- marginBottom: {
59
- readonly [$$ScaleValue]: "space";
60
- };
61
- };
62
- ml: (value: {
63
- readonly [$$ScaleValue]: "space";
64
- }) => {
65
- marginLeft: {
66
- readonly [$$ScaleValue]: "space";
67
- };
68
- };
69
- mx: (value: {
70
- readonly [$$ScaleValue]: "space";
71
- }) => {
72
- marginLeft: {
73
- readonly [$$ScaleValue]: "space";
74
- };
75
- marginRight: {
76
- readonly [$$ScaleValue]: "space";
77
- };
78
- };
79
- my: (value: {
80
- readonly [$$ScaleValue]: "space";
81
- }) => {
82
- marginTop: {
83
- readonly [$$ScaleValue]: "space";
84
- };
85
- marginBottom: {
86
- readonly [$$ScaleValue]: "space";
87
- };
88
- };
89
- size: (value: {
90
- readonly [$$PropertyValue]: "width";
91
- }) => {
92
- width: {
93
- readonly [$$PropertyValue]: "width";
94
- };
95
- height: {
96
- readonly [$$PropertyValue]: "width";
97
- };
98
- };
99
- subtleColor: (value: string) => {
100
- color: string;
101
- backgroundColor: string;
102
- };
103
- }>>;
104
- export declare const SelectBox: import("@stitches/react/types/styled-component").StyledComponent<any, {
105
- size?: "sm" | "lg" | undefined;
106
- disabled?: boolean | "true" | undefined;
107
- readOnly?: boolean | "true" | undefined;
108
- isInvalid?: boolean | "true" | undefined;
109
- }, {
110
- sm: "(min-width: 359px)";
111
- md: "(min-width: 767px)";
112
- lg: "(min-width: 1023px)";
113
- xl: "(min-width: 1199px)";
114
- '2xl': "(min-width: 1399px)";
115
- '3xl': "(min-width: 1600px)";
116
- }, import("@stitches/react/types/css-util").CSS<{
117
- sm: "(min-width: 359px)";
118
- md: "(min-width: 767px)";
119
- lg: "(min-width: 1023px)";
120
- xl: "(min-width: 1199px)";
121
- '2xl': "(min-width: 1399px)";
122
- '3xl': "(min-width: 1600px)";
123
- }, {
124
- colors: unknown;
125
- space: unknown;
126
- shadows: unknown;
127
- fontSizes: unknown;
128
- fonts: unknown;
129
- lineHeights: unknown;
130
- letterSpacings: unknown;
131
- radii: unknown;
132
- sizes: unknown;
133
- zIndices: unknown;
134
- toastPosition: unknown;
135
- }, import("@stitches/react/types/config").DefaultThemeMap, {
136
- m: (value: {
137
- readonly [$$ScaleValue]: "space";
138
- }) => {
139
- margin: {
140
- readonly [$$ScaleValue]: "space";
141
- };
142
- };
143
- mt: (value: {
144
- readonly [$$ScaleValue]: "space";
145
- }) => {
146
- marginTop: {
147
- readonly [$$ScaleValue]: "space";
148
- };
149
- };
150
- mr: (value: {
151
- readonly [$$ScaleValue]: "space";
152
- }) => {
153
- marginRight: {
154
- readonly [$$ScaleValue]: "space";
155
- };
156
- };
157
- mb: (value: {
158
- readonly [$$ScaleValue]: "space";
159
- }) => {
160
- marginBottom: {
161
- readonly [$$ScaleValue]: "space";
162
- };
163
- };
164
- ml: (value: {
165
- readonly [$$ScaleValue]: "space";
166
- }) => {
167
- marginLeft: {
168
- readonly [$$ScaleValue]: "space";
169
- };
170
- };
171
- mx: (value: {
172
- readonly [$$ScaleValue]: "space";
173
- }) => {
174
- marginLeft: {
175
- readonly [$$ScaleValue]: "space";
176
- };
177
- marginRight: {
178
- readonly [$$ScaleValue]: "space";
179
- };
180
- };
181
- my: (value: {
182
- readonly [$$ScaleValue]: "space";
183
- }) => {
184
- marginTop: {
185
- readonly [$$ScaleValue]: "space";
186
- };
187
- marginBottom: {
188
- readonly [$$ScaleValue]: "space";
189
- };
190
- };
191
- size: (value: {
192
- readonly [$$PropertyValue]: "width";
193
- }) => {
194
- width: {
195
- readonly [$$PropertyValue]: "width";
196
- };
197
- height: {
198
- readonly [$$PropertyValue]: "width";
199
- };
200
- };
201
- subtleColor: (value: string) => {
202
- color: string;
203
- backgroundColor: string;
204
- };
205
- }>>;
206
- export declare const Input: import("@stitches/react/types/styled-component").StyledComponent<"input", {
207
- isReadOnly?: boolean | "true" | undefined;
208
- }, {
209
- sm: "(min-width: 359px)";
210
- md: "(min-width: 767px)";
211
- lg: "(min-width: 1023px)";
212
- xl: "(min-width: 1199px)";
213
- '2xl': "(min-width: 1399px)";
214
- '3xl': "(min-width: 1600px)";
215
- }, import("@stitches/react/types/css-util").CSS<{
216
- sm: "(min-width: 359px)";
217
- md: "(min-width: 767px)";
218
- lg: "(min-width: 1023px)";
219
- xl: "(min-width: 1199px)";
220
- '2xl': "(min-width: 1399px)";
221
- '3xl': "(min-width: 1600px)";
222
- }, {
223
- colors: unknown;
224
- space: unknown;
225
- shadows: unknown;
226
- fontSizes: unknown;
227
- fonts: unknown;
228
- lineHeights: unknown;
229
- letterSpacings: unknown;
230
- radii: unknown;
231
- sizes: unknown;
232
- zIndices: unknown;
233
- toastPosition: unknown;
234
- }, import("@stitches/react/types/config").DefaultThemeMap, {
235
- m: (value: {
236
- readonly [$$ScaleValue]: "space";
237
- }) => {
238
- margin: {
239
- readonly [$$ScaleValue]: "space";
240
- };
241
- };
242
- mt: (value: {
243
- readonly [$$ScaleValue]: "space";
244
- }) => {
245
- marginTop: {
246
- readonly [$$ScaleValue]: "space";
247
- };
248
- };
249
- mr: (value: {
250
- readonly [$$ScaleValue]: "space";
251
- }) => {
252
- marginRight: {
253
- readonly [$$ScaleValue]: "space";
254
- };
255
- };
256
- mb: (value: {
257
- readonly [$$ScaleValue]: "space";
258
- }) => {
259
- marginBottom: {
260
- readonly [$$ScaleValue]: "space";
261
- };
262
- };
263
- ml: (value: {
264
- readonly [$$ScaleValue]: "space";
265
- }) => {
266
- marginLeft: {
267
- readonly [$$ScaleValue]: "space";
268
- };
269
- };
270
- mx: (value: {
271
- readonly [$$ScaleValue]: "space";
272
- }) => {
273
- marginLeft: {
274
- readonly [$$ScaleValue]: "space";
275
- };
276
- marginRight: {
277
- readonly [$$ScaleValue]: "space";
278
- };
279
- };
280
- my: (value: {
281
- readonly [$$ScaleValue]: "space";
282
- }) => {
283
- marginTop: {
284
- readonly [$$ScaleValue]: "space";
285
- };
286
- marginBottom: {
287
- readonly [$$ScaleValue]: "space";
288
- };
289
- };
290
- size: (value: {
291
- readonly [$$PropertyValue]: "width";
292
- }) => {
293
- width: {
294
- readonly [$$PropertyValue]: "width";
295
- };
296
- height: {
297
- readonly [$$PropertyValue]: "width";
298
- };
299
- };
300
- subtleColor: (value: string) => {
301
- color: string;
302
- backgroundColor: string;
303
- };
304
- }>>;
305
- export declare const IconContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
306
- disabled?: boolean | "true" | undefined;
307
- }, {
308
- sm: "(min-width: 359px)";
309
- md: "(min-width: 767px)";
310
- lg: "(min-width: 1023px)";
311
- xl: "(min-width: 1199px)";
312
- '2xl': "(min-width: 1399px)";
313
- '3xl': "(min-width: 1600px)";
314
- }, import("@stitches/react/types/css-util").CSS<{
315
- sm: "(min-width: 359px)";
316
- md: "(min-width: 767px)";
317
- lg: "(min-width: 1023px)";
318
- xl: "(min-width: 1199px)";
319
- '2xl': "(min-width: 1399px)";
320
- '3xl': "(min-width: 1600px)";
321
- }, {
322
- colors: unknown;
323
- space: unknown;
324
- shadows: unknown;
325
- fontSizes: unknown;
326
- fonts: unknown;
327
- lineHeights: unknown;
328
- letterSpacings: unknown;
329
- radii: unknown;
330
- sizes: unknown;
331
- zIndices: unknown;
332
- toastPosition: unknown;
333
- }, import("@stitches/react/types/config").DefaultThemeMap, {
334
- m: (value: {
335
- readonly [$$ScaleValue]: "space";
336
- }) => {
337
- margin: {
338
- readonly [$$ScaleValue]: "space";
339
- };
340
- };
341
- mt: (value: {
342
- readonly [$$ScaleValue]: "space";
343
- }) => {
344
- marginTop: {
345
- readonly [$$ScaleValue]: "space";
346
- };
347
- };
348
- mr: (value: {
349
- readonly [$$ScaleValue]: "space";
350
- }) => {
351
- marginRight: {
352
- readonly [$$ScaleValue]: "space";
353
- };
354
- };
355
- mb: (value: {
356
- readonly [$$ScaleValue]: "space";
357
- }) => {
358
- marginBottom: {
359
- readonly [$$ScaleValue]: "space";
360
- };
361
- };
362
- ml: (value: {
363
- readonly [$$ScaleValue]: "space";
364
- }) => {
365
- marginLeft: {
366
- readonly [$$ScaleValue]: "space";
367
- };
368
- };
369
- mx: (value: {
370
- readonly [$$ScaleValue]: "space";
371
- }) => {
372
- marginLeft: {
373
- readonly [$$ScaleValue]: "space";
374
- };
375
- marginRight: {
376
- readonly [$$ScaleValue]: "space";
377
- };
378
- };
379
- my: (value: {
380
- readonly [$$ScaleValue]: "space";
381
- }) => {
382
- marginTop: {
383
- readonly [$$ScaleValue]: "space";
384
- };
385
- marginBottom: {
386
- readonly [$$ScaleValue]: "space";
387
- };
388
- };
389
- size: (value: {
390
- readonly [$$PropertyValue]: "width";
391
- }) => {
392
- width: {
393
- readonly [$$PropertyValue]: "width";
394
- };
395
- height: {
396
- readonly [$$PropertyValue]: "width";
397
- };
398
- };
399
- subtleColor: (value: string) => {
400
- color: string;
401
- backgroundColor: string;
402
- };
403
- }>>;
404
- export declare const OptionWrapper: import("@stitches/react/types/styled-component").StyledComponent<"div", {
405
- placement?: "bottom" | "top" | undefined;
406
- withFooter?: boolean | "true" | undefined;
407
- isMobile?: boolean | "true" | undefined;
408
- }, {
409
- sm: "(min-width: 359px)";
410
- md: "(min-width: 767px)";
411
- lg: "(min-width: 1023px)";
412
- xl: "(min-width: 1199px)";
413
- '2xl': "(min-width: 1399px)";
414
- '3xl': "(min-width: 1600px)";
415
- }, import("@stitches/react/types/css-util").CSS<{
416
- sm: "(min-width: 359px)";
417
- md: "(min-width: 767px)";
418
- lg: "(min-width: 1023px)";
419
- xl: "(min-width: 1199px)";
420
- '2xl': "(min-width: 1399px)";
421
- '3xl': "(min-width: 1600px)";
422
- }, {
423
- colors: unknown;
424
- space: unknown;
425
- shadows: unknown;
426
- fontSizes: unknown;
427
- fonts: unknown;
428
- lineHeights: unknown;
429
- letterSpacings: unknown;
430
- radii: unknown;
431
- sizes: unknown;
432
- zIndices: unknown;
433
- toastPosition: unknown;
434
- }, import("@stitches/react/types/config").DefaultThemeMap, {
435
- m: (value: {
436
- readonly [$$ScaleValue]: "space";
437
- }) => {
438
- margin: {
439
- readonly [$$ScaleValue]: "space";
440
- };
441
- };
442
- mt: (value: {
443
- readonly [$$ScaleValue]: "space";
444
- }) => {
445
- marginTop: {
446
- readonly [$$ScaleValue]: "space";
447
- };
448
- };
449
- mr: (value: {
450
- readonly [$$ScaleValue]: "space";
451
- }) => {
452
- marginRight: {
453
- readonly [$$ScaleValue]: "space";
454
- };
455
- };
456
- mb: (value: {
457
- readonly [$$ScaleValue]: "space";
458
- }) => {
459
- marginBottom: {
460
- readonly [$$ScaleValue]: "space";
461
- };
462
- };
463
- ml: (value: {
464
- readonly [$$ScaleValue]: "space";
465
- }) => {
466
- marginLeft: {
467
- readonly [$$ScaleValue]: "space";
468
- };
469
- };
470
- mx: (value: {
471
- readonly [$$ScaleValue]: "space";
472
- }) => {
473
- marginLeft: {
474
- readonly [$$ScaleValue]: "space";
475
- };
476
- marginRight: {
477
- readonly [$$ScaleValue]: "space";
478
- };
479
- };
480
- my: (value: {
481
- readonly [$$ScaleValue]: "space";
482
- }) => {
483
- marginTop: {
484
- readonly [$$ScaleValue]: "space";
485
- };
486
- marginBottom: {
487
- readonly [$$ScaleValue]: "space";
488
- };
489
- };
490
- size: (value: {
491
- readonly [$$PropertyValue]: "width";
492
- }) => {
493
- width: {
494
- readonly [$$PropertyValue]: "width";
495
- };
496
- height: {
497
- readonly [$$PropertyValue]: "width";
498
- };
499
- };
500
- subtleColor: (value: string) => {
501
- color: string;
502
- backgroundColor: string;
503
- };
504
- }>>;
505
- export declare const SelectOption: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
506
- sm: "(min-width: 359px)";
507
- md: "(min-width: 767px)";
508
- lg: "(min-width: 1023px)";
509
- xl: "(min-width: 1199px)";
510
- '2xl': "(min-width: 1399px)";
511
- '3xl': "(min-width: 1600px)";
512
- }, import("@stitches/react/types/css-util").CSS<{
513
- sm: "(min-width: 359px)";
514
- md: "(min-width: 767px)";
515
- lg: "(min-width: 1023px)";
516
- xl: "(min-width: 1199px)";
517
- '2xl': "(min-width: 1399px)";
518
- '3xl': "(min-width: 1600px)";
519
- }, {
520
- colors: unknown;
521
- space: unknown;
522
- shadows: unknown;
523
- fontSizes: unknown;
524
- fonts: unknown;
525
- lineHeights: unknown;
526
- letterSpacings: unknown;
527
- radii: unknown;
528
- sizes: unknown;
529
- zIndices: unknown;
530
- toastPosition: unknown;
531
- }, import("@stitches/react/types/config").DefaultThemeMap, {
532
- m: (value: {
533
- readonly [$$ScaleValue]: "space";
534
- }) => {
535
- margin: {
536
- readonly [$$ScaleValue]: "space";
537
- };
538
- };
539
- mt: (value: {
540
- readonly [$$ScaleValue]: "space";
541
- }) => {
542
- marginTop: {
543
- readonly [$$ScaleValue]: "space";
544
- };
545
- };
546
- mr: (value: {
547
- readonly [$$ScaleValue]: "space";
548
- }) => {
549
- marginRight: {
550
- readonly [$$ScaleValue]: "space";
551
- };
552
- };
553
- mb: (value: {
554
- readonly [$$ScaleValue]: "space";
555
- }) => {
556
- marginBottom: {
557
- readonly [$$ScaleValue]: "space";
558
- };
559
- };
560
- ml: (value: {
561
- readonly [$$ScaleValue]: "space";
562
- }) => {
563
- marginLeft: {
564
- readonly [$$ScaleValue]: "space";
565
- };
566
- };
567
- mx: (value: {
568
- readonly [$$ScaleValue]: "space";
569
- }) => {
570
- marginLeft: {
571
- readonly [$$ScaleValue]: "space";
572
- };
573
- marginRight: {
574
- readonly [$$ScaleValue]: "space";
575
- };
576
- };
577
- my: (value: {
578
- readonly [$$ScaleValue]: "space";
579
- }) => {
580
- marginTop: {
581
- readonly [$$ScaleValue]: "space";
582
- };
583
- marginBottom: {
584
- readonly [$$ScaleValue]: "space";
585
- };
586
- };
587
- size: (value: {
588
- readonly [$$PropertyValue]: "width";
589
- }) => {
590
- width: {
591
- readonly [$$PropertyValue]: "width";
592
- };
593
- height: {
594
- readonly [$$PropertyValue]: "width";
595
- };
596
- };
597
- subtleColor: (value: string) => {
598
- color: string;
599
- backgroundColor: string;
600
- };
601
- }>>;
602
- export declare const SelectItem: import("@stitches/react/types/styled-component").StyledComponent<"div", {
603
- hasGroup?: boolean | "true" | undefined;
604
- isGroup?: boolean | "true" | undefined;
605
- }, {
606
- sm: "(min-width: 359px)";
607
- md: "(min-width: 767px)";
608
- lg: "(min-width: 1023px)";
609
- xl: "(min-width: 1199px)";
610
- '2xl': "(min-width: 1399px)";
611
- '3xl': "(min-width: 1600px)";
612
- }, import("@stitches/react/types/css-util").CSS<{
613
- sm: "(min-width: 359px)";
614
- md: "(min-width: 767px)";
615
- lg: "(min-width: 1023px)";
616
- xl: "(min-width: 1199px)";
617
- '2xl': "(min-width: 1399px)";
618
- '3xl': "(min-width: 1600px)";
619
- }, {
620
- colors: unknown;
621
- space: unknown;
622
- shadows: unknown;
623
- fontSizes: unknown;
624
- fonts: unknown;
625
- lineHeights: unknown;
626
- letterSpacings: unknown;
627
- radii: unknown;
628
- sizes: unknown;
629
- zIndices: unknown;
630
- toastPosition: unknown;
631
- }, import("@stitches/react/types/config").DefaultThemeMap, {
632
- m: (value: {
633
- readonly [$$ScaleValue]: "space";
634
- }) => {
635
- margin: {
636
- readonly [$$ScaleValue]: "space";
637
- };
638
- };
639
- mt: (value: {
640
- readonly [$$ScaleValue]: "space";
641
- }) => {
642
- marginTop: {
643
- readonly [$$ScaleValue]: "space";
644
- };
645
- };
646
- mr: (value: {
647
- readonly [$$ScaleValue]: "space";
648
- }) => {
649
- marginRight: {
650
- readonly [$$ScaleValue]: "space";
651
- };
652
- };
653
- mb: (value: {
654
- readonly [$$ScaleValue]: "space";
655
- }) => {
656
- marginBottom: {
657
- readonly [$$ScaleValue]: "space";
658
- };
659
- };
660
- ml: (value: {
661
- readonly [$$ScaleValue]: "space";
662
- }) => {
663
- marginLeft: {
664
- readonly [$$ScaleValue]: "space";
665
- };
666
- };
667
- mx: (value: {
668
- readonly [$$ScaleValue]: "space";
669
- }) => {
670
- marginLeft: {
671
- readonly [$$ScaleValue]: "space";
672
- };
673
- marginRight: {
674
- readonly [$$ScaleValue]: "space";
675
- };
676
- };
677
- my: (value: {
678
- readonly [$$ScaleValue]: "space";
679
- }) => {
680
- marginTop: {
681
- readonly [$$ScaleValue]: "space";
682
- };
683
- marginBottom: {
684
- readonly [$$ScaleValue]: "space";
685
- };
686
- };
687
- size: (value: {
688
- readonly [$$PropertyValue]: "width";
689
- }) => {
690
- width: {
691
- readonly [$$PropertyValue]: "width";
692
- };
693
- height: {
694
- readonly [$$PropertyValue]: "width";
695
- };
696
- };
697
- subtleColor: (value: string) => {
698
- color: string;
699
- backgroundColor: string;
700
- };
701
- }>>;
702
- export declare type Option = {
703
- value: string;
704
- name: string;
705
- isDisabled?: boolean;
706
- render?: (selectedItem?: Option | null) => React.ReactNode;
707
- group?: string;
708
- isGroup?: boolean;
709
- };
710
- export interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelectedItem' | 'defaultValue'> {
711
- /**
712
- * Array of options.<br/>
713
- * type Option = {<br/>
714
- * &nbsp;&nbsp;&nbsp;&nbsp;value: string;<br/>
715
- * &nbsp;&nbsp;&nbsp;&nbsp;name: string;<br/>
716
- * &nbsp;&nbsp;&nbsp;&nbsp;isDisabled?: boolean;<br/>
717
- * &nbsp;&nbsp;&nbsp;&nbsp;render?: (selectedItem?: Option | null) => React.ReactNode;<br/>
718
- * }<br/>
719
- */
720
- option: Option[] | any[];
721
- /**
722
- * Specify the InputSelect placeholder.
723
- */
724
- placeholder?: string | null;
725
- /**
726
- * Specify the search input placeholder.
727
- */
728
- searchPlaceholder?: string;
729
- /**
730
- * If true, search field will be visible on dropdown layout.
731
- */
732
- embedSearch?: boolean;
733
- /**
734
- * Callback fired when the selected option is updated.
735
- */
736
- onChange?: (selectedItem: Option | null, stateAndHelpers: ControllerStateAndHelpers<Option>) => void;
737
- /**
738
- * Specify the input size.
739
- */
740
- size?: 'sm' | 'lg';
741
- /**
742
- * If true, the component is disabled.
743
- */
744
- disabled?: boolean;
745
- /**
746
- * If true, the trigger component will become InputText.
747
- */
748
- search?: boolean;
749
- /**
750
- * Specify the InputSelect value.
751
- */
752
- value?: Option;
753
- /**
754
- * If true, then it will hide the arrow icon.
755
- */
756
- hideArrowicon?: boolean;
757
- /**
758
- * Specify the arrow icon color.
759
- */
760
- iconColor?: string;
761
- /**
762
- * If true, the search icon is shown.
763
- */
764
- showLeadingIcon?: boolean;
765
- /**
766
- * Specify the options view placement.
767
- */
768
- placement?: 'bottom' | 'top';
769
- /**
770
- * This string is used to build the options array as 'value'.
771
- */
772
- valueSelector?: string;
773
- /**
774
- * This string is used to build the options array as 'name'.
775
- */
776
- textSelector?: string;
777
- /**
778
- * Array of disabled options.
779
- */
780
- disabledOptions?: string[];
781
- /**
782
- * Function executed when infinite scroll triggered.<br/>
783
- * interface FetchData { <br/>
784
- * &nbsp;&nbsp;&nbsp;&nbsp;query?: string;<br/>
785
- * &nbsp;&nbsp;&nbsp;&nbsp;pageIndex?: number;<br/>
786
- * }
787
- */
788
- fetchData?(props: {
789
- query?: string;
790
- pageIndex?: number;
791
- }): void;
792
- /**
793
- * Called whenever the search value changes.
794
- */
795
- onSearch?: (value?: string) => void;
796
- /**
797
- * Loading status of InputSelect.
798
- */
799
- isLoading?: boolean;
800
- /**
801
- * If true, the input will become read-only state.
802
- */
803
- readOnly?: boolean;
804
- /**
805
- * If true, the input will become invalid state.
806
- */
807
- isInvalid?: boolean;
808
- /**
809
- * If true, the tooltip will shown when the component hovered
810
- */
811
- showTooltip?: boolean;
812
- /**
813
- * Deprecated in v1.46.7. Use 'hideArrowIcon' instead.
814
- */
815
- noOptionIcon?: boolean;
816
- /**
817
- * Additional CSS InputSelect styles
818
- */
819
- css?: CSS;
820
- /**
821
- * Additional CSS OptionWrapper styles
822
- */
823
- optionCss?: CSS;
824
- /**
825
- * Render custom footer inside option. If onClick not working on mobile, you can using both onClick and onTouchStart.
826
- */
827
- renderFooter?: () => React.ReactNode;
828
- /**
829
- * Custom empty data message
830
- */
831
- emptyDataMessage?: string;
832
- /**
833
- * Only show in mobile view.
834
- */
835
- mobileOnly?: boolean;
836
- /**
837
- * Only show in desktop view.
838
- */
839
- desktopOnly?: boolean;
840
- /**
841
- * Called whenever the InputSelect state changes.
842
- */
843
- onStateChange?(state: StateChangeOptions<Option>): void;
844
- /**
845
- * If true, the option list will be shown as mobile modal dialog
846
- */
847
- isMobile?: boolean;
848
- /**
849
- * Specify the mobile modal dialog title
850
- */
851
- mobileTitle?: string;
852
- /**
853
- * If true, the input search will be debounced.
854
- */
855
- withDebounce?: boolean;
856
- /**
857
- * If true, the input label will be rendered with option render prop (If exist)
858
- */
859
- renderAsLabel?: boolean;
860
- }
861
- export declare const InputSelect: React.ForwardRefExoticComponent<InputSelectProps & React.RefAttributes<HTMLInputElement>>;
862
- export default InputSelect;