@majoo-ui/react 1.61.24 → 1.61.25-rc.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 (133) hide show
  1. package/index.d.ts +1 -5
  2. package/index.esm.js +24546 -26967
  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,404 +0,0 @@
1
- import React from 'react';
2
- interface TriggerProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
3
- id: string;
4
- triggerSide?: 'left' | 'right';
5
- children?: React.ReactNode;
6
- }
7
- interface MenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
8
- id: string;
9
- children?: React.ReactNode;
10
- }
11
- interface ItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'children'> {
12
- children?: React.ReactNode;
13
- data?: object;
14
- onClick?: (e: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>, data?: object) => void;
15
- }
16
- export declare const ContextMenuTrigger: import("@stitches/react/types/styled-component").StyledComponent<({ id, triggerSide, children, className, onClick, onContextMenu, style, ...rest }: TriggerProps) => JSX.Element, {}, {
17
- sm: "(min-width: 359px)";
18
- md: "(min-width: 767px)";
19
- lg: "(min-width: 1023px)";
20
- xl: "(min-width: 1199px)";
21
- '2xl': "(min-width: 1399px)";
22
- '3xl': "(min-width: 1600px)";
23
- }, import("@stitches/react/types/css-util").CSS<{
24
- sm: "(min-width: 359px)";
25
- md: "(min-width: 767px)";
26
- lg: "(min-width: 1023px)";
27
- xl: "(min-width: 1199px)";
28
- '2xl': "(min-width: 1399px)";
29
- '3xl': "(min-width: 1600px)";
30
- }, {
31
- colors: unknown;
32
- space: unknown;
33
- shadows: unknown;
34
- fontSizes: unknown;
35
- fonts: unknown;
36
- lineHeights: unknown;
37
- letterSpacings: unknown;
38
- radii: unknown;
39
- sizes: unknown;
40
- zIndices: unknown;
41
- toastPosition: unknown;
42
- }, import("@stitches/react/types/config").DefaultThemeMap, {
43
- m: (value: {
44
- readonly [$$ScaleValue]: "space";
45
- }) => {
46
- margin: {
47
- readonly [$$ScaleValue]: "space";
48
- };
49
- };
50
- mt: (value: {
51
- readonly [$$ScaleValue]: "space";
52
- }) => {
53
- marginTop: {
54
- readonly [$$ScaleValue]: "space";
55
- };
56
- };
57
- mr: (value: {
58
- readonly [$$ScaleValue]: "space";
59
- }) => {
60
- marginRight: {
61
- readonly [$$ScaleValue]: "space";
62
- };
63
- };
64
- mb: (value: {
65
- readonly [$$ScaleValue]: "space";
66
- }) => {
67
- marginBottom: {
68
- readonly [$$ScaleValue]: "space";
69
- };
70
- };
71
- ml: (value: {
72
- readonly [$$ScaleValue]: "space";
73
- }) => {
74
- marginLeft: {
75
- readonly [$$ScaleValue]: "space";
76
- };
77
- };
78
- mx: (value: {
79
- readonly [$$ScaleValue]: "space";
80
- }) => {
81
- marginLeft: {
82
- readonly [$$ScaleValue]: "space";
83
- };
84
- marginRight: {
85
- readonly [$$ScaleValue]: "space";
86
- };
87
- };
88
- my: (value: {
89
- readonly [$$ScaleValue]: "space";
90
- }) => {
91
- marginTop: {
92
- readonly [$$ScaleValue]: "space";
93
- };
94
- marginBottom: {
95
- readonly [$$ScaleValue]: "space";
96
- };
97
- };
98
- size: (value: {
99
- readonly [$$PropertyValue]: "width";
100
- }) => {
101
- width: {
102
- readonly [$$PropertyValue]: "width";
103
- };
104
- height: {
105
- readonly [$$PropertyValue]: "width";
106
- };
107
- };
108
- subtleColor: (value: string) => {
109
- color: string;
110
- backgroundColor: string;
111
- };
112
- }>>;
113
- export declare const ContextMenu: import("@stitches/react/types/styled-component").StyledComponent<({ id, children, className, style, ...rest }: MenuProps) => JSX.Element | null, {}, {
114
- sm: "(min-width: 359px)";
115
- md: "(min-width: 767px)";
116
- lg: "(min-width: 1023px)";
117
- xl: "(min-width: 1199px)";
118
- '2xl': "(min-width: 1399px)";
119
- '3xl': "(min-width: 1600px)";
120
- }, import("@stitches/react/types/css-util").CSS<{
121
- sm: "(min-width: 359px)";
122
- md: "(min-width: 767px)";
123
- lg: "(min-width: 1023px)";
124
- xl: "(min-width: 1199px)";
125
- '2xl': "(min-width: 1399px)";
126
- '3xl': "(min-width: 1600px)";
127
- }, {
128
- colors: unknown;
129
- space: unknown;
130
- shadows: unknown;
131
- fontSizes: unknown;
132
- fonts: unknown;
133
- lineHeights: unknown;
134
- letterSpacings: unknown;
135
- radii: unknown;
136
- sizes: unknown;
137
- zIndices: unknown;
138
- toastPosition: unknown;
139
- }, import("@stitches/react/types/config").DefaultThemeMap, {
140
- m: (value: {
141
- readonly [$$ScaleValue]: "space";
142
- }) => {
143
- margin: {
144
- readonly [$$ScaleValue]: "space";
145
- };
146
- };
147
- mt: (value: {
148
- readonly [$$ScaleValue]: "space";
149
- }) => {
150
- marginTop: {
151
- readonly [$$ScaleValue]: "space";
152
- };
153
- };
154
- mr: (value: {
155
- readonly [$$ScaleValue]: "space";
156
- }) => {
157
- marginRight: {
158
- readonly [$$ScaleValue]: "space";
159
- };
160
- };
161
- mb: (value: {
162
- readonly [$$ScaleValue]: "space";
163
- }) => {
164
- marginBottom: {
165
- readonly [$$ScaleValue]: "space";
166
- };
167
- };
168
- ml: (value: {
169
- readonly [$$ScaleValue]: "space";
170
- }) => {
171
- marginLeft: {
172
- readonly [$$ScaleValue]: "space";
173
- };
174
- };
175
- mx: (value: {
176
- readonly [$$ScaleValue]: "space";
177
- }) => {
178
- marginLeft: {
179
- readonly [$$ScaleValue]: "space";
180
- };
181
- marginRight: {
182
- readonly [$$ScaleValue]: "space";
183
- };
184
- };
185
- my: (value: {
186
- readonly [$$ScaleValue]: "space";
187
- }) => {
188
- marginTop: {
189
- readonly [$$ScaleValue]: "space";
190
- };
191
- marginBottom: {
192
- readonly [$$ScaleValue]: "space";
193
- };
194
- };
195
- size: (value: {
196
- readonly [$$PropertyValue]: "width";
197
- }) => {
198
- width: {
199
- readonly [$$PropertyValue]: "width";
200
- };
201
- height: {
202
- readonly [$$PropertyValue]: "width";
203
- };
204
- };
205
- subtleColor: (value: string) => {
206
- color: string;
207
- backgroundColor: string;
208
- };
209
- }>>;
210
- export declare const ContextMenuItem: import("@stitches/react/types/styled-component").StyledComponent<({ children, data, onClick, className, onKeyDown, ...rest }: ItemProps) => JSX.Element, {}, {
211
- sm: "(min-width: 359px)";
212
- md: "(min-width: 767px)";
213
- lg: "(min-width: 1023px)";
214
- xl: "(min-width: 1199px)";
215
- '2xl': "(min-width: 1399px)";
216
- '3xl': "(min-width: 1600px)";
217
- }, import("@stitches/react/types/css-util").CSS<{
218
- sm: "(min-width: 359px)";
219
- md: "(min-width: 767px)";
220
- lg: "(min-width: 1023px)";
221
- xl: "(min-width: 1199px)";
222
- '2xl': "(min-width: 1399px)";
223
- '3xl': "(min-width: 1600px)";
224
- }, {
225
- colors: unknown;
226
- space: unknown;
227
- shadows: unknown;
228
- fontSizes: unknown;
229
- fonts: unknown;
230
- lineHeights: unknown;
231
- letterSpacings: unknown;
232
- radii: unknown;
233
- sizes: unknown;
234
- zIndices: unknown;
235
- toastPosition: unknown;
236
- }, import("@stitches/react/types/config").DefaultThemeMap, {
237
- m: (value: {
238
- readonly [$$ScaleValue]: "space";
239
- }) => {
240
- margin: {
241
- readonly [$$ScaleValue]: "space";
242
- };
243
- };
244
- mt: (value: {
245
- readonly [$$ScaleValue]: "space";
246
- }) => {
247
- marginTop: {
248
- readonly [$$ScaleValue]: "space";
249
- };
250
- };
251
- mr: (value: {
252
- readonly [$$ScaleValue]: "space";
253
- }) => {
254
- marginRight: {
255
- readonly [$$ScaleValue]: "space";
256
- };
257
- };
258
- mb: (value: {
259
- readonly [$$ScaleValue]: "space";
260
- }) => {
261
- marginBottom: {
262
- readonly [$$ScaleValue]: "space";
263
- };
264
- };
265
- ml: (value: {
266
- readonly [$$ScaleValue]: "space";
267
- }) => {
268
- marginLeft: {
269
- readonly [$$ScaleValue]: "space";
270
- };
271
- };
272
- mx: (value: {
273
- readonly [$$ScaleValue]: "space";
274
- }) => {
275
- marginLeft: {
276
- readonly [$$ScaleValue]: "space";
277
- };
278
- marginRight: {
279
- readonly [$$ScaleValue]: "space";
280
- };
281
- };
282
- my: (value: {
283
- readonly [$$ScaleValue]: "space";
284
- }) => {
285
- marginTop: {
286
- readonly [$$ScaleValue]: "space";
287
- };
288
- marginBottom: {
289
- readonly [$$ScaleValue]: "space";
290
- };
291
- };
292
- size: (value: {
293
- readonly [$$PropertyValue]: "width";
294
- }) => {
295
- width: {
296
- readonly [$$PropertyValue]: "width";
297
- };
298
- height: {
299
- readonly [$$PropertyValue]: "width";
300
- };
301
- };
302
- subtleColor: (value: string) => {
303
- color: string;
304
- backgroundColor: string;
305
- };
306
- }>>;
307
- export declare const ContextMenuSeparator: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
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 {};
@@ -1,104 +0,0 @@
1
- import type * as Stitches from '@stitches/react';
2
- declare const DateNumber: import("@stitches/react/types/styled-component").StyledComponent<"div", {
3
- variant?: "end" | "start" | "default" | "disabled" | "neutral" | "selected" | "defaultv2" | "selectedv2" | "road" | undefined;
4
- size?: "large" | "small" | undefined;
5
- isSunday?: boolean | "true" | undefined;
6
- }, {
7
- sm: "(min-width: 359px)";
8
- md: "(min-width: 767px)";
9
- lg: "(min-width: 1023px)";
10
- xl: "(min-width: 1199px)";
11
- '2xl': "(min-width: 1399px)";
12
- '3xl': "(min-width: 1600px)";
13
- }, import("@stitches/react/types/css-util").CSS<{
14
- sm: "(min-width: 359px)";
15
- md: "(min-width: 767px)";
16
- lg: "(min-width: 1023px)";
17
- xl: "(min-width: 1199px)";
18
- '2xl': "(min-width: 1399px)";
19
- '3xl': "(min-width: 1600px)";
20
- }, {
21
- colors: unknown;
22
- space: unknown;
23
- shadows: unknown;
24
- fontSizes: unknown;
25
- fonts: unknown;
26
- lineHeights: unknown;
27
- letterSpacings: unknown;
28
- radii: unknown;
29
- sizes: unknown;
30
- zIndices: unknown;
31
- toastPosition: unknown;
32
- }, import("@stitches/react/types/config").DefaultThemeMap, {
33
- m: (value: {
34
- readonly [Stitches.$$ScaleValue]: "space";
35
- }) => {
36
- margin: {
37
- readonly [Stitches.$$ScaleValue]: "space";
38
- };
39
- };
40
- mt: (value: {
41
- readonly [Stitches.$$ScaleValue]: "space";
42
- }) => {
43
- marginTop: {
44
- readonly [Stitches.$$ScaleValue]: "space";
45
- };
46
- };
47
- mr: (value: {
48
- readonly [Stitches.$$ScaleValue]: "space";
49
- }) => {
50
- marginRight: {
51
- readonly [Stitches.$$ScaleValue]: "space";
52
- };
53
- };
54
- mb: (value: {
55
- readonly [Stitches.$$ScaleValue]: "space";
56
- }) => {
57
- marginBottom: {
58
- readonly [Stitches.$$ScaleValue]: "space";
59
- };
60
- };
61
- ml: (value: {
62
- readonly [Stitches.$$ScaleValue]: "space";
63
- }) => {
64
- marginLeft: {
65
- readonly [Stitches.$$ScaleValue]: "space";
66
- };
67
- };
68
- mx: (value: {
69
- readonly [Stitches.$$ScaleValue]: "space";
70
- }) => {
71
- marginLeft: {
72
- readonly [Stitches.$$ScaleValue]: "space";
73
- };
74
- marginRight: {
75
- readonly [Stitches.$$ScaleValue]: "space";
76
- };
77
- };
78
- my: (value: {
79
- readonly [Stitches.$$ScaleValue]: "space";
80
- }) => {
81
- marginTop: {
82
- readonly [Stitches.$$ScaleValue]: "space";
83
- };
84
- marginBottom: {
85
- readonly [Stitches.$$ScaleValue]: "space";
86
- };
87
- };
88
- size: (value: {
89
- readonly [Stitches.$$PropertyValue]: "width";
90
- }) => {
91
- width: {
92
- readonly [Stitches.$$PropertyValue]: "width";
93
- };
94
- height: {
95
- readonly [Stitches.$$PropertyValue]: "width";
96
- };
97
- };
98
- subtleColor: (value: string) => {
99
- color: string;
100
- backgroundColor: string;
101
- };
102
- }>>;
103
- export declare type DateNumberVariantProps = Stitches.VariantProps<typeof DateNumber>;
104
- export default DateNumber;
@@ -1,161 +0,0 @@
1
- import * as React from 'react';
2
- import type * as Stitches from '@stitches/react';
3
- declare const EnumTypeDevice: {
4
- readonly android: "android";
5
- readonly androidWide: "androidWide";
6
- readonly iphone: "iphone";
7
- readonly desktop: "desktop";
8
- };
9
- declare type EnumTypeDevice = (typeof EnumTypeDevice)[keyof typeof EnumTypeDevice];
10
- interface ContentMessage {
11
- sender?: string;
12
- message: string;
13
- }
14
- interface Props {
15
- /**
16
- * set size of frame device.
17
- * @default undefined
18
- * */
19
- size?: number;
20
- /** string url source image from internet or local image */
21
- src?: string;
22
- /**
23
- * alt prop when url image not found or invalid
24
- */
25
- alt?: string;
26
- /**
27
- * typeof device
28
- * one of 'android' | 'androidWide' | 'iphone' | 'desktop'
29
- */
30
- typeDevice: EnumTypeDevice;
31
- /**
32
- * option device preview with multiple image source
33
- * @default false
34
- */
35
- carousel?: boolean;
36
- /**
37
- * if carousel set true, set children element instead src props
38
- */
39
- children?: React.ReactNode;
40
- /**
41
- * option for use device preview with component
42
- * @default false
43
- */
44
- withComponent?: boolean;
45
- /**
46
- * option for use device preview with clickable or not clickable component
47
- * @default true
48
- */
49
- clickableComponent?: boolean;
50
- /**
51
- * option device preview variant
52
- * @default 'default'
53
- */
54
- variant: 'sms' | 'whatsapp' | 'email' | 'notification' | 'default';
55
- /**
56
- * Message content if variant is `'sms' | 'whatsapp' | 'email' | 'notification'`
57
- **/
58
- content?: ContentMessage;
59
- }
60
- export declare const ImageDevicePreview: import("@stitches/react/types/styled-component").StyledComponent<"img", {}, {
61
- sm: "(min-width: 359px)";
62
- md: "(min-width: 767px)";
63
- lg: "(min-width: 1023px)";
64
- xl: "(min-width: 1199px)";
65
- '2xl': "(min-width: 1399px)";
66
- '3xl': "(min-width: 1600px)";
67
- }, import("@stitches/react/types/css-util").CSS<{
68
- sm: "(min-width: 359px)";
69
- md: "(min-width: 767px)";
70
- lg: "(min-width: 1023px)";
71
- xl: "(min-width: 1199px)";
72
- '2xl': "(min-width: 1399px)";
73
- '3xl': "(min-width: 1600px)";
74
- }, {
75
- colors: unknown;
76
- space: unknown;
77
- shadows: unknown;
78
- fontSizes: unknown;
79
- fonts: unknown;
80
- lineHeights: unknown;
81
- letterSpacings: unknown;
82
- radii: unknown;
83
- sizes: unknown;
84
- zIndices: unknown;
85
- toastPosition: unknown;
86
- }, import("@stitches/react/types/config").DefaultThemeMap, {
87
- m: (value: {
88
- readonly [Stitches.$$ScaleValue]: "space";
89
- }) => {
90
- margin: {
91
- readonly [Stitches.$$ScaleValue]: "space";
92
- };
93
- };
94
- mt: (value: {
95
- readonly [Stitches.$$ScaleValue]: "space";
96
- }) => {
97
- marginTop: {
98
- readonly [Stitches.$$ScaleValue]: "space";
99
- };
100
- };
101
- mr: (value: {
102
- readonly [Stitches.$$ScaleValue]: "space";
103
- }) => {
104
- marginRight: {
105
- readonly [Stitches.$$ScaleValue]: "space";
106
- };
107
- };
108
- mb: (value: {
109
- readonly [Stitches.$$ScaleValue]: "space";
110
- }) => {
111
- marginBottom: {
112
- readonly [Stitches.$$ScaleValue]: "space";
113
- };
114
- };
115
- ml: (value: {
116
- readonly [Stitches.$$ScaleValue]: "space";
117
- }) => {
118
- marginLeft: {
119
- readonly [Stitches.$$ScaleValue]: "space";
120
- };
121
- };
122
- mx: (value: {
123
- readonly [Stitches.$$ScaleValue]: "space";
124
- }) => {
125
- marginLeft: {
126
- readonly [Stitches.$$ScaleValue]: "space";
127
- };
128
- marginRight: {
129
- readonly [Stitches.$$ScaleValue]: "space";
130
- };
131
- };
132
- my: (value: {
133
- readonly [Stitches.$$ScaleValue]: "space";
134
- }) => {
135
- marginTop: {
136
- readonly [Stitches.$$ScaleValue]: "space";
137
- };
138
- marginBottom: {
139
- readonly [Stitches.$$ScaleValue]: "space";
140
- };
141
- };
142
- size: (value: {
143
- readonly [Stitches.$$PropertyValue]: "width";
144
- }) => {
145
- width: {
146
- readonly [Stitches.$$PropertyValue]: "width";
147
- };
148
- height: {
149
- readonly [Stitches.$$PropertyValue]: "width";
150
- };
151
- };
152
- subtleColor: (value: string) => {
153
- color: string;
154
- backgroundColor: string;
155
- };
156
- }>>;
157
- declare const Device: {
158
- (props: Props): JSX.Element;
159
- displayName: string;
160
- };
161
- export default Device;