@bitrise/bitkit 9.3.0-alpha.1 → 9.3.0-alpha.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/CHANGELOG.md +7 -0
- package/lib/cjs/Button2/Button2.d.ts +2 -0
- package/lib/cjs/Button2/Button2.d.ts.map +1 -1
- package/lib/cjs/Button2/Button2.js.map +1 -1
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esn/Button2/Button2.d.ts +2 -0
- package/lib/esn/Button2/Button2.d.ts.map +1 -1
- package/lib/esn/Button2/Button2.js.map +1 -1
- package/lib/esn/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/site/components/Documentation/Components/SectionButton2.tsx +1 -2
- package/src/Button2/Button2.tsx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [9.3.0-alpha.2](https://github.com/bitrise-io/bitkit/compare/v9.3.0-alpha.1...v9.3.0-alpha.2) (2022-03-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **button:** chakra poc ([948332a](https://github.com/bitrise-io/bitkit/commit/948332a3d59d847189b2043b3c55a8d576032722))
|
|
7
|
+
|
|
1
8
|
# [9.3.0-alpha.1](https://github.com/bitrise-io/bitkit/compare/v9.2.1...v9.3.0-alpha.1) (2022-03-08)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { ButtonProps } from '@chakra-ui/react';
|
|
3
3
|
interface Props extends Pick<ButtonProps, 'as' | 'disabled' | 'leftIcon' | 'rightIcon' | 'sx'> {
|
|
4
4
|
children: ButtonProps['children'];
|
|
5
|
+
href?: string;
|
|
5
6
|
/**
|
|
6
7
|
* Allows the Button to fill the container space rather than shrinking
|
|
7
8
|
* down to the content
|
|
@@ -13,6 +14,7 @@ interface Props extends Pick<ButtonProps, 'as' | 'disabled' | 'leftIcon' | 'righ
|
|
|
13
14
|
* out on a page with lots of space.
|
|
14
15
|
*/
|
|
15
16
|
size?: 'small' | 'medium';
|
|
17
|
+
target?: '_blank' | '_parent' | '_self' | '_top';
|
|
16
18
|
}
|
|
17
19
|
declare const Button2: (props: Props) => JSX.Element;
|
|
18
20
|
export default Button2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button2.d.ts","sourceRoot":"","sources":["../../../src/Button2/Button2.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEvE,UAAU,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAE,IAAI,CAAC;IACzF,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAClC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,eAAe,GAAG,iBAAiB,CAAC;IACrF;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Button2.d.ts","sourceRoot":"","sources":["../../../src/Button2/Button2.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEvE,UAAU,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAE,IAAI,CAAC;IACzF,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,eAAe,GAAG,iBAAiB,CAAC;IACrF;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CACpD;AAED,QAAA,MAAM,OAAO,UAAW,KAAK,gBAO5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button2.js","sourceRoot":"","sources":["../../../src/Button2/Button2.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAqC;AACrC,2CAA+B;AAC/B,0CAAuE;
|
|
1
|
+
{"version":3,"file":"Button2.js","sourceRoot":"","sources":["../../../src/Button2/Button2.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAqC;AACrC,2CAA+B;AAC/B,0CAAuE;AAmBvE,IAAM,OAAO,GAAG,UAAC,KAAY;IAC3B,IAAM,QAAQ,GAAG;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,SAAS;KACnB,CAAC;IACF,IAAM,WAAW,GAAG,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;IAC7D,OAAO,oBAAC,cAAY,aAAC,WAAW,EAAG,WAAW,IAAQ,QAAQ,EAAQ,KAAK,EAAK,CAAC;AACnF,CAAC,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|