@majoo-ui/react 1.61.12-rc.2 → 1.61.12-rc.20
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/{src/components → components}/accordion/Accordion.d.ts +2 -3
- package/{src/components → components}/barChart/BarChart.d.ts +1 -1
- package/{src/components → components}/card/Card.d.ts +1 -1
- package/{src/components → components}/chart/lineChart/LineChart.d.ts +1 -1
- package/{src/components → components}/chart/lineChart/components/Comparator.d.ts +2 -1
- package/{src/components → components}/chart/lineChart/components/ComparatorController.d.ts +2 -1
- package/{src/components → components}/chart/lineChart/components/ComparatorItem.d.ts +2 -1
- package/{src/components → components}/chart/lineChart/components/ProductList.d.ts +2 -1
- package/{src/components → components}/chart/lineChart/components/TitleLegend.d.ts +2 -1
- package/{src/components → components}/chart/lineChart/components/Tooltip.d.ts +1 -1
- package/{src/components → components}/checkboxTable/CheckboxTable.d.ts +2 -1
- package/{src/components → components}/checkboxTable/transition.d.ts +2 -1
- package/{src/components → components}/contentEditor/ContentEditor.d.ts +2 -1
- package/{src/components → components}/contextMenu/ContextMenu.d.ts +3 -3
- package/{src/components → components}/datePicker/AdvancedOption.d.ts +2 -1
- package/{src/components → components}/datePicker/CustomDatePicker.d.ts +1 -1
- package/{src/components → components}/datePicker/DatePicker.d.ts +2 -1
- package/{src/components → components}/datePicker/InputDatePicker.d.ts +1 -1
- package/{src/components → components}/datePicker/InputDateRangePicker.d.ts +2 -2
- package/{src/components → components}/datePicker/components/Calendar.d.ts +1 -1
- package/{src/components → components}/datePicker/components/CalendarTimePicker.d.ts +1 -1
- package/{src/components → components}/datePicker/components/MobileCalendar.d.ts +2 -1
- package/{src/components → components}/devicePreview/DevicePreview.d.ts +1 -1
- package/{src/components → components}/dialog/Dialog.d.ts +1 -1
- package/{src/components → components}/editableTable/Columns.d.ts +2 -1
- package/{src/components → components}/editableTable/EditableMobile.d.ts +2 -1
- package/{src/components → components}/editableTable/EditableTable.d.ts +4 -4
- package/{src/components → components}/form/components/InputOTP/InputOTP.d.ts +2 -2
- package/{src/components → components}/form/components/InputResourceList/InputResourceList.d.ts +1 -1
- package/{src/components → components}/form/components/InputResourceList/ResourceList.d.ts +2 -1
- package/components/form/components/InputSelect/InputSelect.backup.d.ts +713 -0
- package/{src/components → components}/form/components/InputSelectCheck/OptionGroupItem.d.ts +2 -1
- package/{src/components → components}/form/components/InputSignature/InputSignature.d.ts +2 -1
- package/{src/components → components}/loadingBar/LoadingBar.d.ts +1 -1
- package/components/mapPicker/InputMapPicker.d.ts +4 -0
- package/{src/components → components}/mapPicker/MapPicker.d.ts +2 -1
- package/{src/components → components}/modalDialog/ModalDialog.d.ts +4 -5
- package/{src/components → components}/pageDialog/PageDialog.d.ts +6 -12
- package/{src/components → components}/pieChart/PieChart.d.ts +1 -1
- package/{src/components → components}/progressIndicator/ProgressIndicator.d.ts +1 -1
- package/{src/components → components}/skeleton/Skeleton.d.ts +2 -1
- package/{src/components → components}/stepWizard/index.d.ts +1 -1
- package/{src/components → components}/table/Table.d.ts +1 -98
- package/{src/components → components}/tableOfContent/index.d.ts +1 -1
- package/{src/components → components}/tagList/TagList.d.ts +2 -1
- package/{src/config → config}/stitches.config.d.ts +0 -10
- package/foundations/indices/Indices.d.ts +2 -0
- package/foundations/radii/Radii.d.ts +2 -0
- package/foundations/space/Space.d.ts +2 -0
- package/{src/foundations → foundations}/typography/Typography.d.ts +2 -1
- package/index.esm.js +6600 -16499
- package/index.umd.css +1296 -0
- package/index.umd.js +58647 -0
- package/package.json +33 -12
- package/index.esm.d.ts +0 -1
- package/src/components/mapPicker/InputMapPicker.d.ts +0 -3
- package/src/foundations/indices/Indices.d.ts +0 -1
- package/src/foundations/radii/Radii.d.ts +0 -1
- package/src/foundations/space/Space.d.ts +0 -1
- /package/{src/colors → colors}/index.d.ts +0 -0
- /package/{src/components → components}/accordion/index.d.ts +0 -0
- /package/{src/components → components}/alert-backup/index.backup.d.ts +0 -0
- /package/{src/components → components}/barChart/index.d.ts +0 -0
- /package/{src/components → components}/breadcrumb/index.d.ts +0 -0
- /package/{src/components → components}/button/Button.d.ts +0 -0
- /package/{src/components → components}/button/index.d.ts +0 -0
- /package/{src/components → components}/card/index.d.ts +0 -0
- /package/{src/components → components}/chart/index.d.ts +0 -0
- /package/{src/components → components}/chart/lineChart/index.d.ts +0 -0
- /package/{src/components → components}/chart/utils/index.d.ts +0 -0
- /package/{src/components → components}/checkboxTable/index.d.ts +0 -0
- /package/{src/components → components}/contentEditor/index.d.ts +0 -0
- /package/{src/components → components}/contextMenu/index.d.ts +0 -0
- /package/{src/components → components}/datePicker/components/DateNumber.d.ts +0 -0
- /package/{src/components → components}/datePicker/components/index.d.ts +0 -0
- /package/{src/components → components}/datePicker/index.d.ts +0 -0
- /package/{src/components → components}/datePicker/state/reducer.d.ts +0 -0
- /package/{src/components → components}/datePicker/timePicker/index.d.ts +0 -0
- /package/{src/components → components}/devicePreview/index.d.ts +0 -0
- /package/{src/components → components}/dialog/index.d.ts +0 -0
- /package/{src/components → components}/editableTable/faker.d.ts +0 -0
- /package/{src/components → components}/editableTable/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputCombobox/InputCombobox.backup.d.ts +0 -0
- /package/{src/components → components}/form/components/InputCombobox/InputCombobox.d.ts +0 -0
- /package/{src/components → components}/form/components/InputCombobox/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputCounter/InputCounter.d.ts +0 -0
- /package/{src/components → components}/form/components/InputCounter/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputDateRange/InputDateRange.d.ts +0 -0
- /package/{src/components → components}/form/components/InputDateRange/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputElement/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputGroup/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputOTP/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputSelect/InputSelect.d.ts +0 -0
- /package/{src/components → components}/form/components/InputSelect/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputSignature/SignatureModal.d.ts +0 -0
- /package/{src/components → components}/form/components/InputSignature/index.d.ts +0 -0
- /package/{src/components → components}/form/components/InputText/index.d.ts +0 -0
- /package/{src/components → components}/form/components/index.d.ts +0 -0
- /package/{src/components → components}/form/index.d.ts +0 -0
- /package/{src/components → components}/heading/Heading.d.ts +0 -0
- /package/{src/components → components}/heading/index.d.ts +0 -0
- /package/{src/components → components}/image/index.d.ts +0 -0
- /package/{src/components → components}/index.d.ts +0 -0
- /package/{src/components → components}/link/Link.d.ts +0 -0
- /package/{src/components → components}/link/index.d.ts +0 -0
- /package/{src/components → components}/loadingBar/index.d.ts +0 -0
- /package/{src/components → components}/mapPicker/index.d.ts +0 -0
- /package/{src/components → components}/mapPicker/types/index.d.ts +0 -0
- /package/{src/components → components}/modalDialog/index.d.ts +0 -0
- /package/{src/components → components}/pageDialog/index.d.ts +0 -0
- /package/{src/components → components}/paragraph/index.d.ts +0 -0
- /package/{src/components → components}/pieChart/index.d.ts +0 -0
- /package/{src/components → components}/progressIndicator/index.d.ts +0 -0
- /package/{src/components → components}/scrollSync/ScrollSync.d.ts +0 -0
- /package/{src/components → components}/scrollSync/ScrollSyncNode.d.ts +0 -0
- /package/{src/components → components}/scrollSync/index.d.ts +0 -0
- /package/{src/components → components}/scrollSync/utils.d.ts +0 -0
- /package/{src/components → components}/separator/index.d.ts +0 -0
- /package/{src/components → components}/skeleton/index.d.ts +0 -0
- /package/{src/components → components}/table/MobileTable.d.ts +0 -0
- /package/{src/components → components}/table/index.d.ts +0 -0
- /package/{src/components → components}/tagList/index.d.ts +0 -0
- /package/{src/components → components}/text/index.d.ts +0 -0
- /package/{src/components → components}/upload/utils/canvasPreview.d.ts +0 -0
- /package/{src/components → components}/upload/utils/imgPreview.d.ts +0 -0
- /package/{src/hooks → hooks}/index.d.ts +0 -0
- /package/{src/hooks → hooks}/useListOption/useListOption.d.ts +0 -0
- /package/{src/hooks → hooks}/useToggle/useToggle.d.ts +0 -0
- /package/{src/index.d.ts → index.d.ts} +0 -0
- /package/{src/layout → layout}/box/index.d.ts +0 -0
- /package/{src/layout → layout}/flex/index.d.ts +0 -0
- /package/{src/layout → layout}/grid/index.d.ts +0 -0
- /package/{src/layout → layout}/index.d.ts +0 -0
- /package/{src/type → type}/base.types.d.ts +0 -0
- /package/{src/type → type}/stitches.types.d.ts +0 -0
- /package/{src/utils → utils}/request.d.ts +0 -0
- /package/{src/utils → utils}/useNavigatorOnline.d.ts +0 -0
- /package/{src/utils → utils}/variant.d.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CSS } from '@stitches/react';
|
|
2
3
|
interface InputSignatureProps {
|
|
3
4
|
onChange?: (value: string) => void;
|
|
@@ -7,5 +8,5 @@ interface InputSignatureProps {
|
|
|
7
8
|
css?: CSS;
|
|
8
9
|
isMobile?: boolean;
|
|
9
10
|
}
|
|
10
|
-
export declare function InputSignature({ title, onChange, defaultValue, disabled, css, isMobile, }: InputSignatureProps):
|
|
11
|
+
export declare function InputSignature({ title, onChange, defaultValue, disabled, css, isMobile, }: InputSignatureProps): JSX.Element;
|
|
11
12
|
export default InputSignature;
|
|
@@ -38,7 +38,7 @@ interface LoadingBarProps {
|
|
|
38
38
|
*/
|
|
39
39
|
size?: 'sm' | 'md';
|
|
40
40
|
}
|
|
41
|
-
declare function LoadingBar(props: LoadingBarProps):
|
|
41
|
+
declare function LoadingBar(props: LoadingBarProps): JSX.Element;
|
|
42
42
|
declare namespace LoadingBar {
|
|
43
43
|
var defaultProps: {
|
|
44
44
|
showProgressOnly: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MapPickerProps } from './types';
|
|
2
3
|
import 'leaflet/dist/leaflet.css';
|
|
3
4
|
import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css';
|
|
4
5
|
import 'leaflet-defaulticon-compatibility';
|
|
5
|
-
declare function MapPicker(props: MapPickerProps):
|
|
6
|
+
declare function MapPicker(props: MapPickerProps): JSX.Element;
|
|
6
7
|
declare namespace MapPicker {
|
|
7
8
|
var defaultProps: {
|
|
8
9
|
showBanner: boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { Dialog } from '../../';
|
|
3
3
|
import type { DialogContentProps } from '..';
|
|
4
|
-
import { Dialog } from '../dialog';
|
|
5
4
|
export declare const ModalDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
6
5
|
sm: "(min-width: 359px)";
|
|
7
6
|
md: "(min-width: 767px)";
|
|
@@ -397,9 +396,9 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
397
396
|
*/
|
|
398
397
|
width?: string | number;
|
|
399
398
|
/** Set default behavior when opening dialog with form. Usually used with prevent default*/
|
|
400
|
-
onOpenAutoFocus?:
|
|
399
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
401
400
|
/** Event handler called when a pointer event occurs outside the bounds of the component. It can be prevented by calling event.preventDefault.*/
|
|
402
|
-
onPointerDownOutside?: (
|
|
401
|
+
onPointerDownOutside?: (event: Event) => void;
|
|
403
402
|
/**
|
|
404
403
|
* If true, the close icon button is hidden
|
|
405
404
|
*/
|
|
@@ -432,7 +431,7 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
432
431
|
* @component
|
|
433
432
|
*/
|
|
434
433
|
declare const ModalDialog: {
|
|
435
|
-
(props: ModalDialogProps):
|
|
434
|
+
(props: ModalDialogProps): JSX.Element;
|
|
436
435
|
Trigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
437
436
|
sm: "(min-width: 359px)";
|
|
438
437
|
md: "(min-width: 767px)";
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Dialog } from '
|
|
3
|
-
import
|
|
4
|
-
import type { DialogContentProps } from '
|
|
5
|
-
declare type PointerDownOutsideEvent = CustomEvent<{
|
|
6
|
-
originalEvent: PointerEvent;
|
|
7
|
-
}>;
|
|
8
|
-
declare type FocusOutsideEvent = CustomEvent<{
|
|
9
|
-
originalEvent: FocusEvent;
|
|
10
|
-
}>;
|
|
2
|
+
import { Dialog } from '../../';
|
|
3
|
+
import { PointerDownOutsideEvent, FocusOutsideEvent } from '@radix-ui/react-dismissable-layer';
|
|
4
|
+
import type { DialogContentProps } from '..';
|
|
11
5
|
export declare const PageDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
12
6
|
sm: "(min-width: 359px)";
|
|
13
7
|
md: "(min-width: 767px)";
|
|
@@ -399,8 +393,8 @@ interface PageDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
399
393
|
/** Force to mobile view or desktop view, if undefined PageDialog will be responsive according to current screen size */
|
|
400
394
|
isMobile?: boolean | undefined;
|
|
401
395
|
/** Set default behavior when opening dialog with form. Usually used with prevent default*/
|
|
402
|
-
onOpenAutoFocus?:
|
|
403
|
-
onCloseAutoFocus?:
|
|
396
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
397
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
404
398
|
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
405
399
|
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
406
400
|
/**
|
|
@@ -410,7 +404,7 @@ interface PageDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
410
404
|
withPortal?: boolean;
|
|
411
405
|
}
|
|
412
406
|
export declare const PageDialog: {
|
|
413
|
-
(props: PageDialogProps):
|
|
407
|
+
(props: PageDialogProps): JSX.Element;
|
|
414
408
|
Trigger: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
415
409
|
sm: "(min-width: 359px)";
|
|
416
410
|
md: "(min-width: 767px)";
|
|
@@ -79,7 +79,7 @@ interface PieChartProps {
|
|
|
79
79
|
innerRadius?: number;
|
|
80
80
|
}
|
|
81
81
|
declare const PieChartComponent: {
|
|
82
|
-
({ data, css, avatarURL, avatarAcronym, validAvatar, legend, isMobile, tooltip, title, subtitle, label, outerRadius, innerRadius, }: PieChartProps):
|
|
82
|
+
({ data, css, avatarURL, avatarAcronym, validAvatar, legend, isMobile, tooltip, title, subtitle, label, outerRadius, innerRadius, }: PieChartProps): JSX.Element;
|
|
83
83
|
defaultProps: {
|
|
84
84
|
data: never[];
|
|
85
85
|
avatarURL: undefined;
|
|
@@ -13,5 +13,5 @@ interface ProgressIndicatorProps {
|
|
|
13
13
|
width?: number;
|
|
14
14
|
gap?: number;
|
|
15
15
|
}
|
|
16
|
-
export default function ProgressIndicator(props: ProgressIndicatorProps):
|
|
16
|
+
export default function ProgressIndicator(props: ProgressIndicatorProps): JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CSS } from '../../config/stitches.config';
|
|
2
3
|
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
4
|
interface SkeletonProps {
|
|
@@ -7,7 +8,7 @@ interface SkeletonProps {
|
|
|
7
8
|
width?: string | number;
|
|
8
9
|
patternCount?: number;
|
|
9
10
|
}
|
|
10
|
-
declare function Skeleton(props: SkeletonProps):
|
|
11
|
+
declare function Skeleton(props: SkeletonProps): JSX.Element;
|
|
11
12
|
declare namespace Skeleton {
|
|
12
13
|
var defaultProps: {
|
|
13
14
|
variant: string;
|
|
@@ -202,7 +202,6 @@ export declare const TableHeaderCellContainer: import("@stitches/react/types/sty
|
|
|
202
202
|
isMobile?: boolean | "true" | undefined;
|
|
203
203
|
isToggleable?: boolean | "true" | undefined;
|
|
204
204
|
isToggled?: boolean | "true" | undefined;
|
|
205
|
-
darkTheme?: boolean | "true" | undefined;
|
|
206
205
|
}, {
|
|
207
206
|
sm: "(min-width: 359px)";
|
|
208
207
|
md: "(min-width: 767px)";
|
|
@@ -688,102 +687,6 @@ export declare const TableRow: import("@stitches/react/types/styled-component").
|
|
|
688
687
|
backgroundColor: string;
|
|
689
688
|
};
|
|
690
689
|
}>>;
|
|
691
|
-
export declare const Cell: import("@stitches/react/types/styled-component").StyledComponent<"td", {}, {
|
|
692
|
-
sm: "(min-width: 359px)";
|
|
693
|
-
md: "(min-width: 767px)";
|
|
694
|
-
lg: "(min-width: 1023px)";
|
|
695
|
-
xl: "(min-width: 1199px)";
|
|
696
|
-
'2xl': "(min-width: 1399px)";
|
|
697
|
-
'3xl': "(min-width: 1600px)";
|
|
698
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
699
|
-
sm: "(min-width: 359px)";
|
|
700
|
-
md: "(min-width: 767px)";
|
|
701
|
-
lg: "(min-width: 1023px)";
|
|
702
|
-
xl: "(min-width: 1199px)";
|
|
703
|
-
'2xl': "(min-width: 1399px)";
|
|
704
|
-
'3xl': "(min-width: 1600px)";
|
|
705
|
-
}, {
|
|
706
|
-
colors: unknown;
|
|
707
|
-
space: unknown;
|
|
708
|
-
shadows: unknown;
|
|
709
|
-
fontSizes: unknown;
|
|
710
|
-
fonts: unknown;
|
|
711
|
-
lineHeights: unknown;
|
|
712
|
-
letterSpacings: unknown;
|
|
713
|
-
radii: unknown;
|
|
714
|
-
sizes: unknown;
|
|
715
|
-
zIndices: unknown;
|
|
716
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
717
|
-
m: (value: {
|
|
718
|
-
readonly [$$ScaleValue]: "space";
|
|
719
|
-
}) => {
|
|
720
|
-
margin: {
|
|
721
|
-
readonly [$$ScaleValue]: "space";
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
mt: (value: {
|
|
725
|
-
readonly [$$ScaleValue]: "space";
|
|
726
|
-
}) => {
|
|
727
|
-
marginTop: {
|
|
728
|
-
readonly [$$ScaleValue]: "space";
|
|
729
|
-
};
|
|
730
|
-
};
|
|
731
|
-
mr: (value: {
|
|
732
|
-
readonly [$$ScaleValue]: "space";
|
|
733
|
-
}) => {
|
|
734
|
-
marginRight: {
|
|
735
|
-
readonly [$$ScaleValue]: "space";
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
mb: (value: {
|
|
739
|
-
readonly [$$ScaleValue]: "space";
|
|
740
|
-
}) => {
|
|
741
|
-
marginBottom: {
|
|
742
|
-
readonly [$$ScaleValue]: "space";
|
|
743
|
-
};
|
|
744
|
-
};
|
|
745
|
-
ml: (value: {
|
|
746
|
-
readonly [$$ScaleValue]: "space";
|
|
747
|
-
}) => {
|
|
748
|
-
marginLeft: {
|
|
749
|
-
readonly [$$ScaleValue]: "space";
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
mx: (value: {
|
|
753
|
-
readonly [$$ScaleValue]: "space";
|
|
754
|
-
}) => {
|
|
755
|
-
marginLeft: {
|
|
756
|
-
readonly [$$ScaleValue]: "space";
|
|
757
|
-
};
|
|
758
|
-
marginRight: {
|
|
759
|
-
readonly [$$ScaleValue]: "space";
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
|
-
my: (value: {
|
|
763
|
-
readonly [$$ScaleValue]: "space";
|
|
764
|
-
}) => {
|
|
765
|
-
marginTop: {
|
|
766
|
-
readonly [$$ScaleValue]: "space";
|
|
767
|
-
};
|
|
768
|
-
marginBottom: {
|
|
769
|
-
readonly [$$ScaleValue]: "space";
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
size: (value: {
|
|
773
|
-
readonly [$$PropertyValue]: "width";
|
|
774
|
-
}) => {
|
|
775
|
-
width: {
|
|
776
|
-
readonly [$$PropertyValue]: "width";
|
|
777
|
-
};
|
|
778
|
-
height: {
|
|
779
|
-
readonly [$$PropertyValue]: "width";
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
subtleColor: (value: string) => {
|
|
783
|
-
color: string;
|
|
784
|
-
backgroundColor: string;
|
|
785
|
-
};
|
|
786
|
-
}>>;
|
|
787
690
|
export declare const TableCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {
|
|
788
691
|
subCell?: boolean | "true" | undefined;
|
|
789
692
|
headerSubCell?: boolean | "true" | undefined;
|
|
@@ -1441,7 +1344,7 @@ export interface TableProps {
|
|
|
1441
1344
|
*/
|
|
1442
1345
|
subRows?: string;
|
|
1443
1346
|
}
|
|
1444
|
-
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, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, draggable, onDragEnd, isExpandableTree, subRows, }: TableProps):
|
|
1347
|
+
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, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, draggable, onDragEnd, isExpandableTree, subRows, }: TableProps): JSX.Element;
|
|
1445
1348
|
export interface TableColumnProps {
|
|
1446
1349
|
/**
|
|
1447
1350
|
* Required if accessor is a function<br/>
|
|
@@ -42,7 +42,7 @@ interface ScrollSpyProps {
|
|
|
42
42
|
useBoxMethod?: boolean;
|
|
43
43
|
}
|
|
44
44
|
declare const TableOfContentPage: {
|
|
45
|
-
(props: ScrollSpyProps):
|
|
45
|
+
(props: ScrollSpyProps): JSX.Element;
|
|
46
46
|
defaultProps: {
|
|
47
47
|
scrollThrottle: number;
|
|
48
48
|
offsetTop: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface SelectedItem {
|
|
2
3
|
id: string | number;
|
|
3
4
|
name: string;
|
|
@@ -16,5 +17,5 @@ interface TagListProps {
|
|
|
16
17
|
*/
|
|
17
18
|
counterLabel?: string;
|
|
18
19
|
}
|
|
19
|
-
declare function TagList({ selectedItems, onRemoveItem, counterLabel }: TagListProps):
|
|
20
|
+
declare function TagList({ selectedItems, onRemoveItem, counterLabel }: TagListProps): JSX.Element;
|
|
20
21
|
export default TagList;
|
|
@@ -618,17 +618,7 @@ export declare const darkTheme: string & {
|
|
|
618
618
|
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
619
619
|
colors: {
|
|
620
620
|
bgWhite: string;
|
|
621
|
-
bgGray: string;
|
|
622
621
|
bgDark: string;
|
|
623
|
-
textPrimary: string;
|
|
624
|
-
textSecondary: string;
|
|
625
|
-
bgHeader: string;
|
|
626
|
-
btnPrimary: string;
|
|
627
|
-
btnSecondary: string;
|
|
628
|
-
primary50: string;
|
|
629
|
-
primary100: string;
|
|
630
|
-
iconPrimary: string;
|
|
631
|
-
bgBorder: string;
|
|
632
622
|
};
|
|
633
623
|
}, "">;
|
|
634
624
|
export declare const colors: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const Table: import("@stitches/react/types/styled-component").StyledComponent<"table", {}, {
|
|
2
3
|
sm: "(min-width: 359px)";
|
|
3
4
|
md: "(min-width: 767px)";
|
|
@@ -387,5 +388,5 @@ interface DatasetType {
|
|
|
387
388
|
value: string;
|
|
388
389
|
}
|
|
389
390
|
export declare function getDatasets(params: any): DatasetType[];
|
|
390
|
-
export default function Typography():
|
|
391
|
+
export default function Typography(): JSX.Element;
|
|
391
392
|
export {};
|