@majoo-ui/react 1.59.11 → 1.59.12-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.
- package/components/datePicker/InputDatePicker.d.ts +13 -1
- package/components/datePicker/components/Calendar.d.ts +3 -2
- package/components/datePicker/components/CalendarTimePicker.d.ts +9 -0
- package/components/form/components/InputDateRange/InputDateRange.d.ts +12 -0
- package/components/form/components/InputSelect/InputSelect.backup.d.ts +111 -1
- package/components/form/components/InputSelect/InputSelect.d.ts +111 -1
- package/components/loadingBar/LoadingBar.d.ts +12 -0
- package/components/mapPicker/types/index.d.ts +8 -0
- package/components/table/Table.d.ts +111 -1
- package/components/tag/Tag.d.ts +16 -0
- package/components/tag/index.d.ts +2 -0
- package/components/tooltip/Tooltip.d.ts +218 -0
- package/components/tooltip/index.d.ts +2 -0
- package/index.esm.js +2349 -2073
- package/index.umd.js +2974 -2676
- package/layout/box/Box.d.ts +100 -0
- package/layout/flex/Flex.d.ts +112 -0
- package/layout/flex/index.d.ts +0 -1
- package/layout/grid/Grid.d.ts +40 -0
- package/package.json +1 -1
|
@@ -40,6 +40,14 @@ interface TimePickerProps {
|
|
|
40
40
|
*/
|
|
41
41
|
maxDate: Date;
|
|
42
42
|
}
|
|
43
|
+
interface IOptionsPicker {
|
|
44
|
+
label: string;
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
interface IAdvanceOptions {
|
|
48
|
+
options: IOptionsPicker[];
|
|
49
|
+
reducer: () => void;
|
|
50
|
+
}
|
|
43
51
|
export interface InputDatePickerProps {
|
|
44
52
|
/**
|
|
45
53
|
* Specify the DatePicker type.
|
|
@@ -101,6 +109,10 @@ export interface InputDatePickerProps {
|
|
|
101
109
|
* Specify the 'advance' typed InputDatePicker custom view.
|
|
102
110
|
*/
|
|
103
111
|
advanceView?: React.ReactNode;
|
|
112
|
+
/**
|
|
113
|
+
* Specify the 'advance options' typed InputDatePicker custom view.
|
|
114
|
+
*/
|
|
115
|
+
advanceOptions?: IAdvanceOptions;
|
|
104
116
|
/**
|
|
105
117
|
* Specify the picker popover placement.
|
|
106
118
|
*/
|
|
@@ -146,5 +158,5 @@ export interface InputDatePickerProps {
|
|
|
146
158
|
*/
|
|
147
159
|
desktopOnly?: boolean;
|
|
148
160
|
}
|
|
149
|
-
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, onClose, mobileOnly, desktopOnly, }: InputDatePickerProps): JSX.Element;
|
|
161
|
+
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, onClose, mobileOnly, desktopOnly, advanceOptions, }: InputDatePickerProps): JSX.Element;
|
|
150
162
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderProps } from 'dayzed';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { CSS } from '../../../config/stitches.config';
|
|
4
4
|
export declare const DATE_PICKER = 0;
|
|
5
5
|
export declare const MONTH_PICKER = 1;
|
|
@@ -21,6 +21,7 @@ export interface CalendarProps extends RenderProps {
|
|
|
21
21
|
minDate?: Date;
|
|
22
22
|
maxDate?: Date;
|
|
23
23
|
allowReset?: boolean;
|
|
24
|
+
onSetDateValue?: Dispatch<SetStateAction<Date[]>>;
|
|
24
25
|
}
|
|
25
|
-
declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, }: CalendarProps) => JSX.Element | null;
|
|
26
|
+
declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, onSetDateValue, }: CalendarProps) => JSX.Element | null;
|
|
26
27
|
export default CalendarBox;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
interface CalendarProps {
|
|
3
|
+
selected?: Date[];
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
language?: string;
|
|
6
|
+
onSetDateValue?: Dispatch<SetStateAction<Date[]>>;
|
|
7
|
+
}
|
|
8
|
+
declare const CalendarTimePicker: ({ selected, disabled, language, onSetDateValue, }: CalendarProps) => JSX.Element;
|
|
9
|
+
export default CalendarTimePicker;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CSS } from '../../../../config/stitches.config';
|
|
3
|
+
interface IOptionsPicker {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface IAdvanceOptions {
|
|
8
|
+
options: IOptionsPicker[];
|
|
9
|
+
reducer: () => void;
|
|
10
|
+
}
|
|
3
11
|
interface InputDateRangeProps {
|
|
4
12
|
/**
|
|
5
13
|
* Specify the InputDateRange placeholder.
|
|
@@ -33,6 +41,10 @@ interface InputDateRangeProps {
|
|
|
33
41
|
* Additional CSS InputDateRange styles
|
|
34
42
|
*/
|
|
35
43
|
css?: CSS;
|
|
44
|
+
/**
|
|
45
|
+
* Specify the 'advance options' typed InputDatePicker custom view.
|
|
46
|
+
*/
|
|
47
|
+
advanceOptions?: IAdvanceOptions;
|
|
36
48
|
}
|
|
37
49
|
export declare const InputDateRange: React.ForwardRefExoticComponent<InputDateRangeProps & React.RefAttributes<HTMLInputElement>>;
|
|
38
50
|
export default InputDateRange;
|
|
@@ -97,7 +97,117 @@ export declare const SelectContainer: import("@stitches/react/types/styled-compo
|
|
|
97
97
|
backgroundColor: string;
|
|
98
98
|
};
|
|
99
99
|
}>>;
|
|
100
|
-
export declare const SelectBox: import("@stitches/react/types/styled-component").StyledComponent<
|
|
100
|
+
export declare const SelectBox: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
101
|
+
direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
|
|
102
|
+
align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
|
|
103
|
+
justify?: "center" | "end" | "start" | "between" | "evenly" | "around" | undefined;
|
|
104
|
+
wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
|
|
105
|
+
gap?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
106
|
+
m?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
107
|
+
mt?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
108
|
+
mb?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
109
|
+
mr?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
110
|
+
ml?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
111
|
+
mx?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
112
|
+
my?: 1 | "1" | "2" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
113
|
+
mobileOnly?: boolean | "true" | undefined;
|
|
114
|
+
desktopOnly?: boolean | "true" | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
sm: "(min-width: 359px)";
|
|
117
|
+
md: "(min-width: 767px)";
|
|
118
|
+
lg: "(min-width: 1023px)";
|
|
119
|
+
xl: "(min-width: 1199px)";
|
|
120
|
+
'2xl': "(min-width: 1399px)";
|
|
121
|
+
'3xl': "(min-width: 1600px)";
|
|
122
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
123
|
+
sm: "(min-width: 359px)";
|
|
124
|
+
md: "(min-width: 767px)";
|
|
125
|
+
lg: "(min-width: 1023px)";
|
|
126
|
+
xl: "(min-width: 1199px)";
|
|
127
|
+
'2xl': "(min-width: 1399px)";
|
|
128
|
+
'3xl': "(min-width: 1600px)";
|
|
129
|
+
}, {
|
|
130
|
+
colors: unknown;
|
|
131
|
+
space: unknown;
|
|
132
|
+
shadows: unknown;
|
|
133
|
+
fontSizes: unknown;
|
|
134
|
+
fonts: unknown;
|
|
135
|
+
lineHeights: unknown;
|
|
136
|
+
letterSpacings: unknown;
|
|
137
|
+
radii: unknown;
|
|
138
|
+
sizes: unknown;
|
|
139
|
+
zIndices: unknown;
|
|
140
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
141
|
+
m: (value: {
|
|
142
|
+
readonly [$$ScaleValue]: "space";
|
|
143
|
+
}) => {
|
|
144
|
+
margin: {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
mt: (value: {
|
|
149
|
+
readonly [$$ScaleValue]: "space";
|
|
150
|
+
}) => {
|
|
151
|
+
marginTop: {
|
|
152
|
+
readonly [$$ScaleValue]: "space";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
mr: (value: {
|
|
156
|
+
readonly [$$ScaleValue]: "space";
|
|
157
|
+
}) => {
|
|
158
|
+
marginRight: {
|
|
159
|
+
readonly [$$ScaleValue]: "space";
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
mb: (value: {
|
|
163
|
+
readonly [$$ScaleValue]: "space";
|
|
164
|
+
}) => {
|
|
165
|
+
marginBottom: {
|
|
166
|
+
readonly [$$ScaleValue]: "space";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
ml: (value: {
|
|
170
|
+
readonly [$$ScaleValue]: "space";
|
|
171
|
+
}) => {
|
|
172
|
+
marginLeft: {
|
|
173
|
+
readonly [$$ScaleValue]: "space";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
mx: (value: {
|
|
177
|
+
readonly [$$ScaleValue]: "space";
|
|
178
|
+
}) => {
|
|
179
|
+
marginLeft: {
|
|
180
|
+
readonly [$$ScaleValue]: "space";
|
|
181
|
+
};
|
|
182
|
+
marginRight: {
|
|
183
|
+
readonly [$$ScaleValue]: "space";
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
my: (value: {
|
|
187
|
+
readonly [$$ScaleValue]: "space";
|
|
188
|
+
}) => {
|
|
189
|
+
marginTop: {
|
|
190
|
+
readonly [$$ScaleValue]: "space";
|
|
191
|
+
};
|
|
192
|
+
marginBottom: {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
size: (value: {
|
|
197
|
+
readonly [$$PropertyValue]: "width";
|
|
198
|
+
}) => {
|
|
199
|
+
width: {
|
|
200
|
+
readonly [$$PropertyValue]: "width";
|
|
201
|
+
};
|
|
202
|
+
height: {
|
|
203
|
+
readonly [$$PropertyValue]: "width";
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
subtleColor: (value: string) => {
|
|
207
|
+
color: string;
|
|
208
|
+
backgroundColor: string;
|
|
209
|
+
};
|
|
210
|
+
}>>, {
|
|
101
211
|
size?: "sm" | "lg" | undefined;
|
|
102
212
|
disabled?: boolean | "true" | undefined;
|
|
103
213
|
readOnly?: boolean | "true" | undefined;
|
|
@@ -100,7 +100,117 @@ export declare const SelectContainer: import("@stitches/react/types/styled-compo
|
|
|
100
100
|
backgroundColor: string;
|
|
101
101
|
};
|
|
102
102
|
}>>;
|
|
103
|
-
export declare const SelectBox: import("@stitches/react/types/styled-component").StyledComponent<
|
|
103
|
+
export declare const SelectBox: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
104
|
+
direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
|
|
105
|
+
align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
|
|
106
|
+
justify?: "center" | "end" | "start" | "between" | "evenly" | "around" | undefined;
|
|
107
|
+
wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
|
|
108
|
+
gap?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
109
|
+
m?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
110
|
+
mt?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
111
|
+
mb?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
112
|
+
mr?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
113
|
+
ml?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
114
|
+
mx?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
115
|
+
my?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "4" | "10" | "12" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
116
|
+
mobileOnly?: boolean | "true" | undefined;
|
|
117
|
+
desktopOnly?: boolean | "true" | undefined;
|
|
118
|
+
}, {
|
|
119
|
+
sm: "(min-width: 359px)";
|
|
120
|
+
md: "(min-width: 767px)";
|
|
121
|
+
lg: "(min-width: 1023px)";
|
|
122
|
+
xl: "(min-width: 1199px)";
|
|
123
|
+
'2xl': "(min-width: 1399px)";
|
|
124
|
+
'3xl': "(min-width: 1600px)";
|
|
125
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
126
|
+
sm: "(min-width: 359px)";
|
|
127
|
+
md: "(min-width: 767px)";
|
|
128
|
+
lg: "(min-width: 1023px)";
|
|
129
|
+
xl: "(min-width: 1199px)";
|
|
130
|
+
'2xl': "(min-width: 1399px)";
|
|
131
|
+
'3xl': "(min-width: 1600px)";
|
|
132
|
+
}, {
|
|
133
|
+
colors: unknown;
|
|
134
|
+
space: unknown;
|
|
135
|
+
shadows: unknown;
|
|
136
|
+
fontSizes: unknown;
|
|
137
|
+
fonts: unknown;
|
|
138
|
+
lineHeights: unknown;
|
|
139
|
+
letterSpacings: unknown;
|
|
140
|
+
radii: unknown;
|
|
141
|
+
sizes: unknown;
|
|
142
|
+
zIndices: unknown;
|
|
143
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
144
|
+
m: (value: {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
}) => {
|
|
147
|
+
margin: {
|
|
148
|
+
readonly [$$ScaleValue]: "space";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
mt: (value: {
|
|
152
|
+
readonly [$$ScaleValue]: "space";
|
|
153
|
+
}) => {
|
|
154
|
+
marginTop: {
|
|
155
|
+
readonly [$$ScaleValue]: "space";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
mr: (value: {
|
|
159
|
+
readonly [$$ScaleValue]: "space";
|
|
160
|
+
}) => {
|
|
161
|
+
marginRight: {
|
|
162
|
+
readonly [$$ScaleValue]: "space";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
mb: (value: {
|
|
166
|
+
readonly [$$ScaleValue]: "space";
|
|
167
|
+
}) => {
|
|
168
|
+
marginBottom: {
|
|
169
|
+
readonly [$$ScaleValue]: "space";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
ml: (value: {
|
|
173
|
+
readonly [$$ScaleValue]: "space";
|
|
174
|
+
}) => {
|
|
175
|
+
marginLeft: {
|
|
176
|
+
readonly [$$ScaleValue]: "space";
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
mx: (value: {
|
|
180
|
+
readonly [$$ScaleValue]: "space";
|
|
181
|
+
}) => {
|
|
182
|
+
marginLeft: {
|
|
183
|
+
readonly [$$ScaleValue]: "space";
|
|
184
|
+
};
|
|
185
|
+
marginRight: {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
my: (value: {
|
|
190
|
+
readonly [$$ScaleValue]: "space";
|
|
191
|
+
}) => {
|
|
192
|
+
marginTop: {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
};
|
|
195
|
+
marginBottom: {
|
|
196
|
+
readonly [$$ScaleValue]: "space";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
size: (value: {
|
|
200
|
+
readonly [$$PropertyValue]: "width";
|
|
201
|
+
}) => {
|
|
202
|
+
width: {
|
|
203
|
+
readonly [$$PropertyValue]: "width";
|
|
204
|
+
};
|
|
205
|
+
height: {
|
|
206
|
+
readonly [$$PropertyValue]: "width";
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
subtleColor: (value: string) => {
|
|
210
|
+
color: string;
|
|
211
|
+
backgroundColor: string;
|
|
212
|
+
};
|
|
213
|
+
}>>, {
|
|
104
214
|
size?: "sm" | "lg" | undefined;
|
|
105
215
|
disabled?: boolean | "true" | undefined;
|
|
106
216
|
readOnly?: boolean | "true" | undefined;
|
|
@@ -37,7 +37,18 @@ interface LoadingBarProps {
|
|
|
37
37
|
* Adjust loading bar size.
|
|
38
38
|
*/
|
|
39
39
|
size?: 'sm' | 'md';
|
|
40
|
+
/**
|
|
41
|
+
* If true, the circular loading bar will be show.
|
|
42
|
+
*/
|
|
43
|
+
isPageLoader?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Additional text under circular loading bar.
|
|
46
|
+
*/
|
|
47
|
+
pageLoaderLabel?: string;
|
|
40
48
|
}
|
|
49
|
+
export declare function CircularLoadingBar({ label }: {
|
|
50
|
+
label?: string;
|
|
51
|
+
}): JSX.Element;
|
|
41
52
|
declare function LoadingBar(props: LoadingBarProps): JSX.Element;
|
|
42
53
|
declare namespace LoadingBar {
|
|
43
54
|
var defaultProps: {
|
|
@@ -46,6 +57,7 @@ declare namespace LoadingBar {
|
|
|
46
57
|
interval: number;
|
|
47
58
|
description: string;
|
|
48
59
|
size: string;
|
|
60
|
+
isPageLoader: boolean;
|
|
49
61
|
};
|
|
50
62
|
}
|
|
51
63
|
export default LoadingBar;
|
|
@@ -41,6 +41,10 @@ export interface MapPickerProps {
|
|
|
41
41
|
* Marker Click event handler.
|
|
42
42
|
*/
|
|
43
43
|
onMarkerClick?: () => void;
|
|
44
|
+
/**
|
|
45
|
+
* Custom radius.
|
|
46
|
+
*/
|
|
47
|
+
radius?: number;
|
|
44
48
|
}
|
|
45
49
|
export interface InputMapPickerProps {
|
|
46
50
|
/**
|
|
@@ -80,4 +84,8 @@ export interface InputMapPickerProps {
|
|
|
80
84
|
* on Marker click event handle
|
|
81
85
|
*/
|
|
82
86
|
onMarkerClick: () => void;
|
|
87
|
+
/**
|
|
88
|
+
* Custom radius.
|
|
89
|
+
*/
|
|
90
|
+
radius?: number;
|
|
83
91
|
}
|
|
@@ -196,7 +196,117 @@ export declare const TableHead: import("@stitches/react/types/styled-component")
|
|
|
196
196
|
backgroundColor: string;
|
|
197
197
|
};
|
|
198
198
|
}>>;
|
|
199
|
-
export declare const TableHeaderCellContainer: import("@stitches/react/types/styled-component").StyledComponent<
|
|
199
|
+
export declare const TableHeaderCellContainer: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
200
|
+
direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
|
|
201
|
+
align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
|
|
202
|
+
justify?: "center" | "end" | "start" | "between" | "evenly" | "around" | undefined;
|
|
203
|
+
wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
|
|
204
|
+
gap?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
205
|
+
m?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
206
|
+
mt?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
207
|
+
mb?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
208
|
+
mr?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
209
|
+
ml?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
210
|
+
mx?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
211
|
+
my?: 1 | 10 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "1" | "2" | "3" | "10" | "12" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
212
|
+
mobileOnly?: boolean | "true" | undefined;
|
|
213
|
+
desktopOnly?: boolean | "true" | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
sm: "(min-width: 359px)";
|
|
216
|
+
md: "(min-width: 767px)";
|
|
217
|
+
lg: "(min-width: 1023px)";
|
|
218
|
+
xl: "(min-width: 1199px)";
|
|
219
|
+
'2xl': "(min-width: 1399px)";
|
|
220
|
+
'3xl': "(min-width: 1600px)";
|
|
221
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
222
|
+
sm: "(min-width: 359px)";
|
|
223
|
+
md: "(min-width: 767px)";
|
|
224
|
+
lg: "(min-width: 1023px)";
|
|
225
|
+
xl: "(min-width: 1199px)";
|
|
226
|
+
'2xl': "(min-width: 1399px)";
|
|
227
|
+
'3xl': "(min-width: 1600px)";
|
|
228
|
+
}, {
|
|
229
|
+
colors: unknown;
|
|
230
|
+
space: unknown;
|
|
231
|
+
shadows: unknown;
|
|
232
|
+
fontSizes: unknown;
|
|
233
|
+
fonts: unknown;
|
|
234
|
+
lineHeights: unknown;
|
|
235
|
+
letterSpacings: unknown;
|
|
236
|
+
radii: unknown;
|
|
237
|
+
sizes: unknown;
|
|
238
|
+
zIndices: unknown;
|
|
239
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
240
|
+
m: (value: {
|
|
241
|
+
readonly [$$ScaleValue]: "space";
|
|
242
|
+
}) => {
|
|
243
|
+
margin: {
|
|
244
|
+
readonly [$$ScaleValue]: "space";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
mt: (value: {
|
|
248
|
+
readonly [$$ScaleValue]: "space";
|
|
249
|
+
}) => {
|
|
250
|
+
marginTop: {
|
|
251
|
+
readonly [$$ScaleValue]: "space";
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
mr: (value: {
|
|
255
|
+
readonly [$$ScaleValue]: "space";
|
|
256
|
+
}) => {
|
|
257
|
+
marginRight: {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
mb: (value: {
|
|
262
|
+
readonly [$$ScaleValue]: "space";
|
|
263
|
+
}) => {
|
|
264
|
+
marginBottom: {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
ml: (value: {
|
|
269
|
+
readonly [$$ScaleValue]: "space";
|
|
270
|
+
}) => {
|
|
271
|
+
marginLeft: {
|
|
272
|
+
readonly [$$ScaleValue]: "space";
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
mx: (value: {
|
|
276
|
+
readonly [$$ScaleValue]: "space";
|
|
277
|
+
}) => {
|
|
278
|
+
marginLeft: {
|
|
279
|
+
readonly [$$ScaleValue]: "space";
|
|
280
|
+
};
|
|
281
|
+
marginRight: {
|
|
282
|
+
readonly [$$ScaleValue]: "space";
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
my: (value: {
|
|
286
|
+
readonly [$$ScaleValue]: "space";
|
|
287
|
+
}) => {
|
|
288
|
+
marginTop: {
|
|
289
|
+
readonly [$$ScaleValue]: "space";
|
|
290
|
+
};
|
|
291
|
+
marginBottom: {
|
|
292
|
+
readonly [$$ScaleValue]: "space";
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
size: (value: {
|
|
296
|
+
readonly [$$PropertyValue]: "width";
|
|
297
|
+
}) => {
|
|
298
|
+
width: {
|
|
299
|
+
readonly [$$PropertyValue]: "width";
|
|
300
|
+
};
|
|
301
|
+
height: {
|
|
302
|
+
readonly [$$PropertyValue]: "width";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
subtleColor: (value: string) => {
|
|
306
|
+
color: string;
|
|
307
|
+
backgroundColor: string;
|
|
308
|
+
};
|
|
309
|
+
}>>, {
|
|
200
310
|
isSortedDesc?: boolean | "true" | "false" | undefined;
|
|
201
311
|
unsortable?: boolean | "true" | undefined;
|
|
202
312
|
isMobile?: boolean | "true" | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSS } from '../../config/stitches.config';
|
|
3
|
+
interface TagProps {
|
|
4
|
+
css?: CSS;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
size?: 'sm' | 'lg';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: 'default' | 'success' | 'error' | 'varian';
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
isRemovable?: boolean;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
onRemove?: (e: any) => void;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export default Tag;
|