@majoo-ui/react 1.60.2-rc.8 → 1.60.2-rc.9
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/README.md +7 -7
- package/components/accordion/Accordion.d.ts +0 -4
- package/components/datePicker/InputDatePicker.d.ts +1 -17
- package/components/devicePreview/DevicePreview.d.ts +0 -3
- package/components/form/components/InputDateRange/InputDateRange.d.ts +0 -12
- package/components/form/components/InputSelect/InputSelect.backup.d.ts +1 -111
- package/components/form/components/InputSelect/InputSelect.d.ts +1 -111
- package/components/loadingBar/LoadingBar.d.ts +0 -12
- package/components/mapPicker/MapPicker.d.ts +0 -1
- package/components/mapPicker/types/index.d.ts +0 -16
- package/components/modalDialog/ModalDialog.d.ts +24 -8
- package/components/pageDialog/PageDialog.d.ts +8 -8
- package/components/table/Table.d.ts +6 -112
- package/index.esm.css +1294 -1294
- package/index.esm.js +1153 -1288
- package/index.umd.css +1294 -1294
- package/index.umd.js +1694 -1852
- package/layout/flex/index.d.ts +1 -0
- package/package.json +2 -2
- package/components/tag/Tag.d.ts +0 -16
- package/components/tag/index.d.ts +0 -2
- package/components/tooltip/Tooltip.d.ts +0 -218
- package/components/tooltip/index.d.ts +0 -2
- package/layout/box/Box.d.ts +0 -100
- package/layout/flex/Flex.d.ts +0 -112
- package/layout/grid/Grid.d.ts +0 -40
|
@@ -196,117 +196,7 @@ 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<
|
|
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
|
-
}>>, {
|
|
199
|
+
export declare const TableHeaderCellContainer: import("@stitches/react/types/styled-component").StyledComponent<any, {
|
|
310
200
|
isSortedDesc?: boolean | "true" | "false" | undefined;
|
|
311
201
|
unsortable?: boolean | "true" | undefined;
|
|
312
202
|
isMobile?: boolean | "true" | undefined;
|
|
@@ -1324,6 +1214,10 @@ export interface TableProps {
|
|
|
1324
1214
|
* Determines the amount of rows on any given page.
|
|
1325
1215
|
*/
|
|
1326
1216
|
rowLimit?: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* optional condition for set table limitless
|
|
1219
|
+
*/
|
|
1220
|
+
withoutLimit?: boolean;
|
|
1327
1221
|
/**
|
|
1328
1222
|
* Specify the table cell align position.
|
|
1329
1223
|
*/
|
|
@@ -1406,7 +1300,7 @@ export interface TableProps {
|
|
|
1406
1300
|
*/
|
|
1407
1301
|
virtualized?: boolean;
|
|
1408
1302
|
}
|
|
1409
|
-
export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, onExpand, id, onColumnChange, virtualized, }: TableProps): JSX.Element;
|
|
1303
|
+
export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, onExpand, id, onColumnChange, virtualized, withoutLimit, }: TableProps): JSX.Element;
|
|
1410
1304
|
export interface TableColumnProps {
|
|
1411
1305
|
/**
|
|
1412
1306
|
* Required if accessor is a function<br/>
|