@majoo-ui/react 1.52.8 → 1.52.10
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/button/Button.d.ts +2 -2
- package/components/link/Link.d.ts +1 -1
- package/components/stepWizard/index.d.ts +1 -0
- package/components/table/Table.d.ts +8 -1
- package/index.esm.js +352 -209
- package/index.umd.js +354 -210
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type * as Stitches from '@stitches/react';
|
|
3
3
|
import { CSS } from '../../config/stitches.config';
|
|
4
4
|
export declare const ButtonPrimitive: import("@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
5
|
-
buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
|
|
5
|
+
buttonType?: "primary" | "secondary" | "ghost" | "ghost-secondary" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
|
|
6
6
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
7
7
|
iconSize?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
8
8
|
}, {
|
|
@@ -129,7 +129,7 @@ interface AdditionalButtonProps extends React.ComponentPropsWithoutRef<'button'>
|
|
|
129
129
|
css?: CSS;
|
|
130
130
|
}
|
|
131
131
|
export declare const Button: React.ForwardRefExoticComponent<import("@stitches/react/types/styled-component").TransformProps<{
|
|
132
|
-
buttonType?: "primary" | "secondary" | "ghost" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
|
|
132
|
+
buttonType?: "primary" | "secondary" | "ghost" | "ghost-secondary" | "negative" | "negative-secondary" | "negative-ghost" | "headerMenu" | "tableMenu" | undefined;
|
|
133
133
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
134
134
|
iconSize?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
135
135
|
}, {
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type * as Stitches from '@stitches/react';
|
|
3
3
|
import { CSS } from '../../config/stitches.config';
|
|
4
4
|
declare const StyledLink: import("@stitches/react/types/styled-component").StyledComponent<"a", {
|
|
5
|
-
color?: "success" | "info" | "warning" | "failed" | undefined;
|
|
5
|
+
color?: "success" | "info" | "warning" | "failed" | "pending" | undefined;
|
|
6
6
|
}, {
|
|
7
7
|
sm: "(min-width: 359px)";
|
|
8
8
|
md: "(min-width: 767px)";
|
|
@@ -29,6 +29,7 @@ interface IStepWizardProps {
|
|
|
29
29
|
forbidClickNav: boolean;
|
|
30
30
|
hide?: boolean;
|
|
31
31
|
onChangeVisibility?: (isHide: boolean) => void;
|
|
32
|
+
onNavClicked?: () => void;
|
|
32
33
|
}
|
|
33
34
|
declare const StepWizard: (props: IStepWizardProps) => JSX.Element;
|
|
34
35
|
export default StepWizard;
|
|
@@ -1128,6 +1128,9 @@ export interface TableProps {
|
|
|
1128
1128
|
* Loading status of table.
|
|
1129
1129
|
*/
|
|
1130
1130
|
isLoading?: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* Additional styles css.
|
|
1133
|
+
*/
|
|
1131
1134
|
css?: CSS;
|
|
1132
1135
|
/**
|
|
1133
1136
|
* Table header css styling.
|
|
@@ -1205,8 +1208,12 @@ export interface TableProps {
|
|
|
1205
1208
|
* Override isMobile condition
|
|
1206
1209
|
*/
|
|
1207
1210
|
isMobileLayout?: boolean;
|
|
1211
|
+
/**
|
|
1212
|
+
* To show duplicated data in table.
|
|
1213
|
+
*/
|
|
1214
|
+
showDuplicatedData?: boolean;
|
|
1208
1215
|
}
|
|
1209
|
-
export declare function Table({ columns, data, keyId, pageIndex: controlledPageIndex, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, isLoading, css, headerCss, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout }: TableProps): JSX.Element;
|
|
1216
|
+
export declare function Table({ columns, data, keyId, pageIndex: controlledPageIndex, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, isLoading, css, headerCss, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, }: TableProps): JSX.Element;
|
|
1210
1217
|
export interface TableColumnProps {
|
|
1211
1218
|
/**
|
|
1212
1219
|
* Required if accessor is a function<br/>
|