@bitrise/bitkit 9.13.0-alpha-button-release.2 → 9.13.0

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.13.0-alpha-button-release.2",
4
+ "version": "9.13.0",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -1,16 +1,14 @@
1
- import React, { HTMLAttributeAnchorTarget } from 'react';
1
+ import React from 'react';
2
2
  import { Button as ChakraButton, ButtonProps as ChakraButtonProps, forwardRef } from '@chakra-ui/react';
3
3
  import Icon from '../../Old/Icon/Icon';
4
4
  import { TypeIconName } from '../../Old/Icon/tsx';
5
5
 
6
6
  export interface ButtonProps extends ChakraButtonProps {
7
7
  as?: 'a' | 'button';
8
- href?: string;
9
8
  isDanger?: boolean;
10
9
  leftIconName?: TypeIconName;
11
10
  rightIconName?: TypeIconName;
12
11
  size?: 'small' | 'medium';
13
- target?: HTMLAttributeAnchorTarget;
14
12
  variant?: 'primary' | 'secondary' | 'tertiary';
15
13
  }
16
14
 
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './old';
2
2
  export * from './types/chakra';
3
+ export * from './utils/chakra';
3
4
 
4
5
  export type { LinkProps } from './Components/Link/Link';
5
6
  export { default as Link } from './Components/Link/Link';