@ctlyst.id/internal-ui 1.0.4-canary.7 → 1.0.4-canary.8

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.
@@ -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(({