@ctlyst.id/internal-ui 1.0.4-canary.7 → 1.0.4-canary.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/header/components/header.d.ts +1 -0
- package/dist/internal-ui.cjs.development.js +4 -2
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +6 -6
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +4 -2
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/internal-ui.esm.js
CHANGED
@@ -1928,6 +1928,7 @@ const Header = ({
|
|
1928
1928
|
data,
|
1929
1929
|
onLogout,
|
1930
1930
|
onOpenModalRelease,
|
1931
|
+
hideSwitchMode,
|
1931
1932
|
...props
|
1932
1933
|
}) => /*#__PURE__*/createElement(Box, Object.assign({
|
1933
1934
|
minH: 14,
|
@@ -1948,14 +1949,15 @@ const Header = ({
|
|
1948
1949
|
onOpenModalRelease: onOpenModalRelease
|
1949
1950
|
})), /*#__PURE__*/createElement(Flex, {
|
1950
1951
|
alignItems: "center"
|
1951
|
-
}, /*#__PURE__*/createElement(SwitchMode, null), /*#__PURE__*/createElement(Profile, {
|
1952
|
+
}, !hideSwitchMode && /*#__PURE__*/createElement(SwitchMode, null), /*#__PURE__*/createElement(Profile, {
|
1952
1953
|
data: data,
|
1953
1954
|
onLogout: onLogout
|
1954
1955
|
}))));
|
1955
1956
|
Header.defaultProps = {
|
1956
1957
|
data: undefined,
|
1957
1958
|
onLogout: undefined,
|
1958
|
-
onOpenModalRelease: undefined
|
1959
|
+
onOpenModalRelease: undefined,
|
1960
|
+
hideSwitchMode: false
|
1959
1961
|
};
|
1960
1962
|
|
1961
1963
|
const ModalBody = /*#__PURE__*/React__default.forwardRef(({
|