@bitrise/bitkit 8.5.1 → 8.6.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/CHANGELOG.md +7 -0
- package/lib/cjs/Dropdown/DropdownButton.d.ts.map +1 -1
- package/lib/cjs/Dropdown/DropdownButton.js +1 -1
- package/lib/cjs/Dropdown/DropdownButton.js.map +1 -1
- package/lib/cjs/tsconfig.tsbuildinfo +2 -2
- package/lib/esn/Dropdown/DropdownButton.d.ts.map +1 -1
- package/lib/esn/Dropdown/DropdownButton.js +1 -1
- package/lib/esn/Dropdown/DropdownButton.js.map +1 -1
- package/lib/esn/tsconfig.tsbuildinfo +2 -2
- package/package.json +1 -1
- package/src/Dropdown/DropdownButton.tsx +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [8.6.0](https://github.com/bitrise-io/bitkit/compare/v8.5.1...v8.6.0) (2022-02-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **Dropdown:** add type attribute on dropdown button ([95f564f](https://github.com/bitrise-io/bitkit/commit/95f564f))
|
|
7
|
+
|
|
1
8
|
## [8.5.1](https://github.com/bitrise-io/bitkit/compare/v8.5.0...v8.5.1) (2022-02-02)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAe,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIhE,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAe,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIhE,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAyBlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -31,7 +31,7 @@ var Icon_1 = __importDefault(require("../Icon/Icon"));
|
|
|
31
31
|
*/
|
|
32
32
|
var DropdownButton = function (props) {
|
|
33
33
|
var children = props.children;
|
|
34
|
-
return (React.createElement(Button_1.default, __assign({}, props, { alignChildrenHorizontal: "start", fullWidth: true, gap: "x4", level: "secondary" }),
|
|
34
|
+
return (React.createElement(Button_1.default, __assign({ type: "button" }, props, { alignChildrenHorizontal: "start", fullWidth: true, gap: "x4", level: "secondary" }),
|
|
35
35
|
React.createElement(Flex_1.default, { alignChildrenVertical: "middle", direction: "horizontal", gap: "x2", grow: true, shrink: true }, children),
|
|
36
36
|
React.createElement(Flex_1.default, null,
|
|
37
37
|
React.createElement(Icon_1.default, { name: "ChevronDown" }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.js","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,4DAAgE;AAChE,sDAAgC;AAChC,sDAAgC;AAIhC;;;GAGG;AACH,IAAM,cAAc,GAAmC,UAAC,KAAY;IAC1D,IAAA,yBAAQ,CAAW;IAE3B,OAAO,CACL,oBAAC,gBAAM,
|
|
1
|
+
{"version":3,"file":"DropdownButton.js","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,4DAAgE;AAChE,sDAAgC;AAChC,sDAAgC;AAIhC;;;GAGG;AACH,IAAM,cAAc,GAAmC,UAAC,KAAY;IAC1D,IAAA,yBAAQ,CAAW;IAE3B,OAAO,CACL,oBAAC,gBAAM,aACH,IAAI,EAAC,QAAQ,IACR,KAAK,IACV,uBAAuB,EAAC,OAAO,EAC/B,SAAS,QACT,GAAG,EAAC,IAAI,EACR,KAAK,EAAC,WAAW;QACnB,oBAAC,cAAI,IACD,qBAAqB,EAAC,QAAQ,EAC9B,SAAS,EAAC,YAAY,EACtB,GAAG,EAAC,IAAI,EACR,IAAI,QACJ,MAAM,UACN,QAAQ,CACL;QAEP,oBAAC,cAAI;YACH,oBAAC,cAAI,IAAC,IAAI,EAAC,aAAa,GAAG,CACtB,CACA,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
|
@@ -1077,8 +1077,8 @@
|
|
|
1077
1077
|
"signature": "a8a9df9359e0b2e7f99cdaccec90bc4c54193d3f068026410554c60659c83331"
|
|
1078
1078
|
},
|
|
1079
1079
|
"/bitrise/src/src/Dropdown/DropdownButton.tsx": {
|
|
1080
|
-
"version": "
|
|
1081
|
-
"signature": "
|
|
1080
|
+
"version": "84d54b0a362a900b1d02bbfc3975c18f076fc4d05f14c324841a857115e49fa8",
|
|
1081
|
+
"signature": "6210a9c09e6f5423acede504ba66d843a87db112ec7ef4c68de25535dc74bece"
|
|
1082
1082
|
},
|
|
1083
1083
|
"/bitrise/src/src/Dropdown/DropdownMenu.tsx": {
|
|
1084
1084
|
"version": "d2308758d08dc08b369f41707ea1f217440df36f5bb7a425de7dee784fffc3da",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAe,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIhE,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAe,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIhE,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAyBlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -8,7 +8,7 @@ import Icon from '../Icon/Icon';
|
|
|
8
8
|
*/
|
|
9
9
|
const DropdownButton = (props) => {
|
|
10
10
|
const { children } = props;
|
|
11
|
-
return (React.createElement(Button, Object.assign({}, props, { alignChildrenHorizontal: "start", fullWidth: true, gap: "x4", level: "secondary" }),
|
|
11
|
+
return (React.createElement(Button, Object.assign({ type: "button" }, props, { alignChildrenHorizontal: "start", fullWidth: true, gap: "x4", level: "secondary" }),
|
|
12
12
|
React.createElement(Flex, { alignChildrenVertical: "middle", direction: "horizontal", gap: "x2", grow: true, shrink: true }, children),
|
|
13
13
|
React.createElement(Flex, null,
|
|
14
14
|
React.createElement(Icon, { name: "ChevronDown" }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.js","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAgC,MAAM,kBAAkB,CAAC;AAChE,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,IAAI,MAAM,cAAc,CAAC;AAIhC;;;GAGG;AACH,MAAM,cAAc,GAAmC,CAAC,KAAY,EAAE,EAAE;IACtE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,CACL,oBAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"DropdownButton.js","sourceRoot":"","sources":["../../../src/Dropdown/DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAgC,MAAM,kBAAkB,CAAC;AAChE,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,IAAI,MAAM,cAAc,CAAC;AAIhC;;;GAGG;AACH,MAAM,cAAc,GAAmC,CAAC,KAAY,EAAE,EAAE;IACtE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,CACL,oBAAC,MAAM,kBACH,IAAI,EAAC,QAAQ,IACR,KAAK,IACV,uBAAuB,EAAC,OAAO,EAC/B,SAAS,QACT,GAAG,EAAC,IAAI,EACR,KAAK,EAAC,WAAW;QACnB,oBAAC,IAAI,IACD,qBAAqB,EAAC,QAAQ,EAC9B,SAAS,EAAC,YAAY,EACtB,GAAG,EAAC,IAAI,EACR,IAAI,QACJ,MAAM,UACN,QAAQ,CACL;QAEP,oBAAC,IAAI;YACH,oBAAC,IAAI,IAAC,IAAI,EAAC,aAAa,GAAG,CACtB,CACA,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1105,8 +1105,8 @@
|
|
|
1105
1105
|
"signature": "a8a9df9359e0b2e7f99cdaccec90bc4c54193d3f068026410554c60659c83331"
|
|
1106
1106
|
},
|
|
1107
1107
|
"/bitrise/src/src/Dropdown/DropdownButton.tsx": {
|
|
1108
|
-
"version": "
|
|
1109
|
-
"signature": "
|
|
1108
|
+
"version": "84d54b0a362a900b1d02bbfc3975c18f076fc4d05f14c324841a857115e49fa8",
|
|
1109
|
+
"signature": "6210a9c09e6f5423acede504ba66d843a87db112ec7ef4c68de25535dc74bece"
|
|
1110
1110
|
},
|
|
1111
1111
|
"/bitrise/src/src/Dropdown/DropdownMenu.tsx": {
|
|
1112
1112
|
"version": "d2308758d08dc08b369f41707ea1f217440df36f5bb7a425de7dee784fffc3da",
|
package/package.json
CHANGED