@bitrise/bitkit 9.40.2-alpha-react18.1 → 9.40.2-alpha-react18.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "9.40.2-alpha-react18.1",
4
+ "version": "9.40.2-alpha-react18.2",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -7,7 +7,7 @@ export default {
7
7
  } as ComponentMeta<typeof ButtonGroup>;
8
8
 
9
9
  const Template: ComponentStory<typeof ButtonGroup> = (props) => (
10
- <ButtonGroup {...props} width="900px" flexDirection="row">
10
+ <ButtonGroup {...props} width="900px" flexDirection="column">
11
11
  <Button>Button 1</Button>
12
12
  <Button>Button 2</Button>
13
13
  <Button>Button 3</Button>
@@ -10,7 +10,7 @@ const EmptyStateTheme: ComponentStyleConfig = {
10
10
  justifyContent: 'center',
11
11
  paddingX: '16',
12
12
  paddingY: {
13
- base: '32',
13
+ mobile: '32',
14
14
  desktop: '48',
15
15
  },
16
16
  backgroundColor: 'neutral.95',
@@ -2,6 +2,6 @@ import { Menu as ChakraMenu, MenuProps as ChakraMenuProps } from '@chakra-ui/rea
2
2
 
3
3
  export type MenuProps = ChakraMenuProps;
4
4
 
5
- const Menu = (props: MenuProps) => <ChakraMenu {...props} />;
5
+ const Menu = (props: MenuProps) => <ChakraMenu matchWidth {...props} />;
6
6
 
7
7
  export default Menu;
@@ -1,13 +1,7 @@
1
- export const BREAKPOINTS = {
2
- MOBILE: 'base',
3
- DESKTOP: 'desktop',
4
- WIDE: 'wide',
5
- };
6
-
7
1
  const breakpoints = {
8
- [BREAKPOINTS.MOBILE]: '0rem',
9
- [BREAKPOINTS.DESKTOP]: '53rem', // 848px
10
- [BREAKPOINTS.WIDE]: '101rem', // 1616px
2
+ mobile: '0rem',
3
+ desktop: '53rem', // 848px
4
+ wide: '101rem', // 1616px
11
5
  };
12
6
 
13
7
  export default breakpoints;