@bitrise/bitkit 9.1.6-alpha.2 → 9.1.6-alpha.3

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.1.6-alpha.2",
4
+ "version": "9.1.6-alpha.3",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "lib/cjs/index.js",
7
7
  "esnext": "lib/esn/index.js",
@@ -17,7 +17,10 @@ interface Props extends ButtonProps {
17
17
  }
18
18
 
19
19
  const Button2 = (props: Props) => {
20
- return <ChakraButton { ...props } />;
20
+ const defaults = {
21
+ variant: 'primary',
22
+ };
23
+ return <ChakraButton { ...defaults } { ...props } />;
21
24
  };
22
25
 
23
26
  export default Button2;
package/src/index.ts CHANGED
@@ -100,3 +100,5 @@ export { default as Toggle, Props as ToggleProps } from './Toggle/Toggle';
100
100
  export { default as Tooltip, Props as TooltipProps } from './Tooltip/Tooltip';
101
101
  export { default as Visibility, Props as VisibilityProps } from './Visibility/Visibility';
102
102
  export { default as VisibilityContainer, Props as VisibilityContainerProps } from './Visibility/VisibilityContainer';
103
+ export { default as provider } from './chakra/provider';
104
+ export { default as theme } from './chakra/theme';