@majoo-ui/react 1.57.14-rc.1 → 1.57.15
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/form/components/InputSelect/InputSelect.d.ts +99 -2
- package/components/pieChart/PieChart.d.ts +11 -1
- package/index.esm.js +456 -375
- package/index.umd.js +458 -378
- package/package.json +2 -2
|
@@ -198,6 +198,104 @@ export declare const SelectBox: import("@stitches/react/types/styled-component")
|
|
|
198
198
|
backgroundColor: string;
|
|
199
199
|
};
|
|
200
200
|
}>>;
|
|
201
|
+
export declare const Input: import("@stitches/react/types/styled-component").StyledComponent<"input", {
|
|
202
|
+
isReadOnly?: boolean | "true" | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
sm: "(min-width: 359px)";
|
|
205
|
+
md: "(min-width: 767px)";
|
|
206
|
+
lg: "(min-width: 1023px)";
|
|
207
|
+
xl: "(min-width: 1199px)";
|
|
208
|
+
'2xl': "(min-width: 1399px)";
|
|
209
|
+
'3xl': "(min-width: 1600px)";
|
|
210
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
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
|
+
}, {
|
|
218
|
+
colors: unknown;
|
|
219
|
+
space: unknown;
|
|
220
|
+
shadows: unknown;
|
|
221
|
+
fontSizes: unknown;
|
|
222
|
+
fonts: unknown;
|
|
223
|
+
lineHeights: unknown;
|
|
224
|
+
letterSpacings: unknown;
|
|
225
|
+
radii: unknown;
|
|
226
|
+
sizes: unknown;
|
|
227
|
+
zIndices: unknown;
|
|
228
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
229
|
+
m: (value: {
|
|
230
|
+
readonly [$$ScaleValue]: "space";
|
|
231
|
+
}) => {
|
|
232
|
+
margin: {
|
|
233
|
+
readonly [$$ScaleValue]: "space";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
mt: (value: {
|
|
237
|
+
readonly [$$ScaleValue]: "space";
|
|
238
|
+
}) => {
|
|
239
|
+
marginTop: {
|
|
240
|
+
readonly [$$ScaleValue]: "space";
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
mr: (value: {
|
|
244
|
+
readonly [$$ScaleValue]: "space";
|
|
245
|
+
}) => {
|
|
246
|
+
marginRight: {
|
|
247
|
+
readonly [$$ScaleValue]: "space";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
mb: (value: {
|
|
251
|
+
readonly [$$ScaleValue]: "space";
|
|
252
|
+
}) => {
|
|
253
|
+
marginBottom: {
|
|
254
|
+
readonly [$$ScaleValue]: "space";
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
ml: (value: {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
}) => {
|
|
260
|
+
marginLeft: {
|
|
261
|
+
readonly [$$ScaleValue]: "space";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
mx: (value: {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
}) => {
|
|
267
|
+
marginLeft: {
|
|
268
|
+
readonly [$$ScaleValue]: "space";
|
|
269
|
+
};
|
|
270
|
+
marginRight: {
|
|
271
|
+
readonly [$$ScaleValue]: "space";
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
my: (value: {
|
|
275
|
+
readonly [$$ScaleValue]: "space";
|
|
276
|
+
}) => {
|
|
277
|
+
marginTop: {
|
|
278
|
+
readonly [$$ScaleValue]: "space";
|
|
279
|
+
};
|
|
280
|
+
marginBottom: {
|
|
281
|
+
readonly [$$ScaleValue]: "space";
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
size: (value: {
|
|
285
|
+
readonly [$$PropertyValue]: "width";
|
|
286
|
+
}) => {
|
|
287
|
+
width: {
|
|
288
|
+
readonly [$$PropertyValue]: "width";
|
|
289
|
+
};
|
|
290
|
+
height: {
|
|
291
|
+
readonly [$$PropertyValue]: "width";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
subtleColor: (value: string) => {
|
|
295
|
+
color: string;
|
|
296
|
+
backgroundColor: string;
|
|
297
|
+
};
|
|
298
|
+
}>>;
|
|
201
299
|
export declare const IconContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
202
300
|
disabled?: boolean | "true" | undefined;
|
|
203
301
|
}, {
|
|
@@ -587,7 +685,6 @@ export declare const SelectItem: import("@stitches/react/types/styled-component"
|
|
|
587
685
|
backgroundColor: string;
|
|
588
686
|
};
|
|
589
687
|
}>>;
|
|
590
|
-
export declare const SelectInputSearch: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
|
|
591
688
|
export declare type Option = {
|
|
592
689
|
value: string;
|
|
593
690
|
name: string;
|
|
@@ -713,5 +810,5 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
|
|
|
713
810
|
*/
|
|
714
811
|
renderFooter?: () => React.ReactNode;
|
|
715
812
|
}
|
|
716
|
-
export declare
|
|
813
|
+
export declare const InputSelect: React.ForwardRefExoticComponent<InputSelectProps & React.RefAttributes<HTMLInputElement>>;
|
|
717
814
|
export default InputSelect;
|
|
@@ -68,9 +68,17 @@ interface PieChartProps {
|
|
|
68
68
|
* Label config of chart.
|
|
69
69
|
*/
|
|
70
70
|
label?: PieChartLabel;
|
|
71
|
+
/**
|
|
72
|
+
* Custom outer radius size.
|
|
73
|
+
*/
|
|
74
|
+
outerRadius?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Custom inner radius size.
|
|
77
|
+
*/
|
|
78
|
+
innerRadius?: number;
|
|
71
79
|
}
|
|
72
80
|
declare const PieChartComponent: {
|
|
73
|
-
({ data, css, avatarURL, avatarAcronym, validAvatar, legend, isMobile, tooltip, title, subtitle, label, }: PieChartProps): JSX.Element;
|
|
81
|
+
({ data, css, avatarURL, avatarAcronym, validAvatar, legend, isMobile, tooltip, title, subtitle, label, outerRadius, innerRadius, }: PieChartProps): JSX.Element;
|
|
74
82
|
defaultProps: {
|
|
75
83
|
data: never[];
|
|
76
84
|
avatarURL: undefined;
|
|
@@ -83,6 +91,8 @@ declare const PieChartComponent: {
|
|
|
83
91
|
position: string;
|
|
84
92
|
};
|
|
85
93
|
isMobile: boolean;
|
|
94
|
+
outerRadius: number;
|
|
95
|
+
innerRadius: number;
|
|
86
96
|
};
|
|
87
97
|
};
|
|
88
98
|
export default PieChartComponent;
|