@paygreen/pgui 2.13.1 → 2.13.2

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/dist/esm/index.js CHANGED
@@ -55917,7 +55917,7 @@ var SideNav = function (_a) {
55917
55917
  }
55918
55918
  var flexBgGradient = useColorModeValue(theme.colors.gradients.primary, 'linear(to-l, gray.900, gray.900)');
55919
55919
  var color = useColorModeValue('white', 'gray.50');
55920
- return (React__default.createElement(Flex$1, __assign$g({ w: "20rem", h: "100vh", flexDir: "column", bgGradient: flexBgGradient, color: color, pt: 6, px: 6, overflow: "auto", position: "fixed", top: "0", left: "0", sx: customScrollBar }, props), children));
55920
+ return (React__default.createElement(Flex$1, __assign$g({ w: "18rem", h: "100vh", flexDir: "column", bgGradient: flexBgGradient, color: color, pt: 6, px: 6, overflow: "auto", position: "fixed", top: "0", left: "0", sx: customScrollBar }, props), children));
55921
55921
  };
55922
55922
  var SideNavContainer = function (props) { return (React__default.createElement(VStack, __assign$g({ spacing: 6, alignItems: "inherit", minH: "100%" }, props))); };
55923
55923
  var SideNavHeader = function (_a) {
@@ -55940,7 +55940,7 @@ var SideNavMenu = function (_a) {
55940
55940
  };
55941
55941
  var color = useColorModeValue('white', 'gray.100');
55942
55942
  return (React__default.createElement(VStack, __assign$g({ spacing: 1, alignItems: "inherit", h: "full", w: "full" }, rest),
55943
- React__default.createElement(Text, __assign$g({ fontSize: "lg", fontWeight: "bold", color: color, textTransform: "uppercase" }, textProps), title),
55943
+ React__default.createElement(Text, __assign$g({ fontWeight: "bold", color: color, textTransform: "uppercase" }, textProps), title),
55944
55944
  children));
55945
55945
  };
55946
55946
  var SideNavMenuItem = function (_a) {
@@ -55952,10 +55952,10 @@ var SideNavMenuItem = function (_a) {
55952
55952
  if (isActive) {
55953
55953
  var bg = useColorModeValue('white', 'gray.800');
55954
55954
  var color = useColorModeValue('brand.600', 'gray.200');
55955
- return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color, fontSize: 'lg' }, rest), children));
55955
+ return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: bg, color: color }, rest), children));
55956
55956
  }
55957
55957
  var btnColor = useColorModeValue('brand.50', 'gray.200');
55958
- return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: "transparent", color: btnColor, fontSize: 'lg', _hover: { background: 'whiteAlpha.200' }, _focus: { background: 'whiteAlpha.200' }, _active: { background: 'whiteAlpha.200' } }, rest), children));
55958
+ return (React__default.createElement(Button, __assign$g({ w: "full", justifyContent: "flex-start", background: "transparent", color: btnColor, _hover: { background: 'whiteAlpha.200' }, _focus: { background: 'whiteAlpha.200' }, _active: { background: 'whiteAlpha.200' } }, rest), children));
55959
55959
  };
55960
55960
 
55961
55961
  var TopBar = function (props) { return (React__default.createElement(Stack, __assign$g({ minH: "4.6875rem", bg: useColorModeValue('white', 'gray.900'), boxShadow: "layout", w: "full", borderRadius: "0", justifyContent: "space-between", spacing: 2, alignItems: { base: 'inherit', xl: 'center' }, direction: { base: 'column', xl: 'row' }, py: { base: 4, xl: 0 } }, props))); };
@@ -56652,7 +56652,7 @@ var largeSizes = {
56652
56652
  '3xs': '14rem',
56653
56653
  '2xs': '16rem',
56654
56654
  xs: '20rem',
56655
- nav: '20rem',
56655
+ nav: '18rem',
56656
56656
  sm: '24rem',
56657
56657
  md: '28rem',
56658
56658
  lg: '32rem',
@@ -56940,7 +56940,10 @@ var externalsStyles = function (props) {
56940
56940
  return Object.values(rawStyle).reduce(function (acc, cur) { return (__assign$g(__assign$g({}, acc), (typeof cur === 'function' ? cur(props) : cur))); }, {});
56941
56941
  };
56942
56942
  var styles = {
56943
- global: function (props) { return (__assign$g({ '#chakra-toast-portal > *': {
56943
+ global: function (props) { return (__assign$g({ body: {
56944
+ fontFamily: 'body',
56945
+ fontSize: 'md'
56946
+ }, '#chakra-toast-portal > *': {
56944
56947
  pt: 'safe-top',
56945
56948
  pl: 'safe-left',
56946
56949
  pr: 'safe-right',