@majoo-ui/react 1.55.9 → 1.55.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/stepWizard/index.d.ts +7 -1
- package/index.esm.js +7 -3
- package/index.umd.js +7 -3
- package/package.json +1 -1
|
@@ -32,8 +32,14 @@ interface IStepWizardProps {
|
|
|
32
32
|
onNavClicked?: () => void;
|
|
33
33
|
hideCheckedIcon?: boolean;
|
|
34
34
|
appendContent?: JSX.Element;
|
|
35
|
+
isLazyMount?: boolean;
|
|
35
36
|
}
|
|
36
|
-
declare const StepWizard:
|
|
37
|
+
declare const StepWizard: {
|
|
38
|
+
(props: IStepWizardProps): JSX.Element;
|
|
39
|
+
defaultProps: {
|
|
40
|
+
isLazyMount: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
37
43
|
export default StepWizard;
|
|
38
44
|
export { StepWizardContext } from './StepWizard';
|
|
39
45
|
export { StepWizard };
|
package/index.esm.js
CHANGED
|
@@ -8645,7 +8645,8 @@ const StyledFooter = styled('div', {
|
|
|
8645
8645
|
left: 0,
|
|
8646
8646
|
right: 0,
|
|
8647
8647
|
backgroundColor: '$bgWhite',
|
|
8648
|
-
boxShadow: '0px
|
|
8648
|
+
boxShadow: '0px 4px 6px #00000014',
|
|
8649
|
+
borderTop: '1px solid $bgBorder'
|
|
8649
8650
|
});
|
|
8650
8651
|
const StyledDiv$2 = styled('div', {
|
|
8651
8652
|
color: '$textDisable',
|
|
@@ -18873,7 +18874,7 @@ function Table({
|
|
|
18873
18874
|
const isMenu = ((_d = (_c = (_b = row === null || row === void 0 ? void 0 : row.cells) === null || _b === void 0 ? void 0 : _b[_i]) === null || _c === void 0 ? void 0 : _c.column) === null || _d === void 0 ? void 0 : _d.id) === 'menu';
|
|
18874
18875
|
clickable = !isMenu;
|
|
18875
18876
|
}
|
|
18876
|
-
clickable && (onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(row, i));
|
|
18877
|
+
clickable && !isMobile && (onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(row, i));
|
|
18877
18878
|
setDataRow(row);
|
|
18878
18879
|
};
|
|
18879
18880
|
useLayoutEffect(() => {
|
|
@@ -28231,7 +28232,7 @@ const Default = props => {
|
|
|
28231
28232
|
}),
|
|
28232
28233
|
initialStep: props.initialStep,
|
|
28233
28234
|
onStepChange: handleStepChange,
|
|
28234
|
-
isLazyMount:
|
|
28235
|
+
isLazyMount: props === null || props === void 0 ? void 0 : props.isLazyMount,
|
|
28235
28236
|
__self: undefined,
|
|
28236
28237
|
__source: {
|
|
28237
28238
|
fileName: _jsxFileName$4,
|
|
@@ -28246,6 +28247,9 @@ const StepWizard = props => {
|
|
|
28246
28247
|
children: props.children
|
|
28247
28248
|
}), void 0);
|
|
28248
28249
|
};
|
|
28250
|
+
StepWizard.defaultProps = {
|
|
28251
|
+
isLazyMount: true
|
|
28252
|
+
};
|
|
28249
28253
|
|
|
28250
28254
|
var _jsxFileName$3 = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
28251
28255
|
function Collapse({
|
package/index.umd.js
CHANGED
|
@@ -8721,7 +8721,8 @@
|
|
|
8721
8721
|
left: 0,
|
|
8722
8722
|
right: 0,
|
|
8723
8723
|
backgroundColor: '$bgWhite',
|
|
8724
|
-
boxShadow: '0px
|
|
8724
|
+
boxShadow: '0px 4px 6px #00000014',
|
|
8725
|
+
borderTop: '1px solid $bgBorder'
|
|
8725
8726
|
});
|
|
8726
8727
|
var StyledDiv$2 = styled('div', {
|
|
8727
8728
|
color: '$textDisable',
|
|
@@ -19176,7 +19177,7 @@
|
|
|
19176
19177
|
var isMenu = ((_d = (_c = (_b = row === null || row === void 0 ? void 0 : row.cells) === null || _b === void 0 ? void 0 : _b[i_1]) === null || _c === void 0 ? void 0 : _c.column) === null || _d === void 0 ? void 0 : _d.id) === 'menu';
|
|
19177
19178
|
clickable = !isMenu;
|
|
19178
19179
|
}
|
|
19179
|
-
clickable && (onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(row, i));
|
|
19180
|
+
clickable && !isMobile && (onRowClick === null || onRowClick === void 0 ? void 0 : onRowClick(row, i));
|
|
19180
19181
|
setDataRow(row);
|
|
19181
19182
|
};
|
|
19182
19183
|
React.useLayoutEffect(function () {
|
|
@@ -28595,7 +28596,7 @@
|
|
|
28595
28596
|
}),
|
|
28596
28597
|
initialStep: props.initialStep,
|
|
28597
28598
|
onStepChange: handleStepChange,
|
|
28598
|
-
isLazyMount:
|
|
28599
|
+
isLazyMount: props === null || props === void 0 ? void 0 : props.isLazyMount,
|
|
28599
28600
|
__self: undefined,
|
|
28600
28601
|
__source: {
|
|
28601
28602
|
fileName: _jsxFileName$4,
|
|
@@ -28610,6 +28611,9 @@
|
|
|
28610
28611
|
children: props.children
|
|
28611
28612
|
}), void 0);
|
|
28612
28613
|
};
|
|
28614
|
+
StepWizard.defaultProps = {
|
|
28615
|
+
isLazyMount: true
|
|
28616
|
+
};
|
|
28613
28617
|
|
|
28614
28618
|
var _jsxFileName$3 = "C:\\Users\\Acer\\Documents\\project\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
28615
28619
|
function Collapse({
|