@sinco/react 1.0.15-rc.35 → 1.0.15-rc.37
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/index.js +1 -52
- package/package.json +1 -1
- package/src/lib/Components/index.d.ts +3 -4
package/index.js
CHANGED
@@ -2747,57 +2747,6 @@ const FooterActionComponent = ({
|
|
2747
2747
|
}), /*#__PURE__*/React.createElement(Box$1, null, labelChangeCounter), renderRightContent));
|
2748
2748
|
};
|
2749
2749
|
|
2750
|
-
function PageHeaderWrapper({
|
2751
|
-
item,
|
2752
|
-
color,
|
2753
|
-
variant
|
2754
|
-
}) {
|
2755
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, item);
|
2756
|
-
}
|
2757
|
-
const PageHeaderComponent = ({
|
2758
|
-
title,
|
2759
|
-
subtitle,
|
2760
|
-
actions,
|
2761
|
-
buttonBack,
|
2762
|
-
fixed
|
2763
|
-
}) => {
|
2764
|
-
return /*#__PURE__*/React.createElement(Stack, {
|
2765
|
-
position: fixed ? "fixed" : "relative",
|
2766
|
-
width: fixed ? "100%" : "inherit",
|
2767
|
-
bgcolor: "background.paper",
|
2768
|
-
sx: {
|
2769
|
-
boxShadow: theme => theme.shadows[1],
|
2770
|
-
zIndex: 100
|
2771
|
-
}
|
2772
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
2773
|
-
px: 3,
|
2774
|
-
py: 1,
|
2775
|
-
justifyContent: "space-between",
|
2776
|
-
flexDirection: "row",
|
2777
|
-
alignItems: "center"
|
2778
|
-
}, /*#__PURE__*/React.createElement(Stack, {
|
2779
|
-
gap: 1.5,
|
2780
|
-
flexDirection: "row",
|
2781
|
-
alignItems: "center"
|
2782
|
-
}, buttonBack, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(PageHeaderWrapper, {
|
2783
|
-
color: "text.primary",
|
2784
|
-
item: title,
|
2785
|
-
variant: "h6"
|
2786
|
-
})), subtitle && /*#__PURE__*/React.createElement(Stack, {
|
2787
|
-
alignItems: "center",
|
2788
|
-
flexDirection: "row",
|
2789
|
-
gap: 2
|
2790
|
-
}, /*#__PURE__*/React.createElement(PageHeaderWrapper, {
|
2791
|
-
color: "text.secondary",
|
2792
|
-
item: subtitle,
|
2793
|
-
variant: "caption"
|
2794
|
-
})))), actions && /*#__PURE__*/React.createElement(Stack, {
|
2795
|
-
gap: 1,
|
2796
|
-
alignItems: "center",
|
2797
|
-
flexDirection: "row"
|
2798
|
-
}, actions)));
|
2799
|
-
};
|
2800
|
-
|
2801
2750
|
var classof$3 = classofRaw$2;
|
2802
2751
|
|
2803
2752
|
var engineIsNode = typeof process != 'undefined' && classof$3(process) == 'process';
|
@@ -8302,4 +8251,4 @@ const useDynamicColor = url => {
|
|
8302
8251
|
};
|
8303
8252
|
};
|
8304
8253
|
|
8305
|
-
export { AdproSincoTheme, DrawerComponent, DynamicColor, EmptyStateComponent as EmptyState, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent,
|
8254
|
+
export { AdproSincoTheme, DrawerComponent, DynamicColor, EmptyStateComponent as EmptyState, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent, SincoTheme, useDynamicColor };
|
package/package.json
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
export * from
|
2
|
-
export * from
|
3
|
-
export * from
|
4
|
-
export * from './PageHeader';
|
1
|
+
export * from "./EmptyState";
|
2
|
+
export * from "./Drawer";
|
3
|
+
export * from "./FooterAction";
|