@bitrise/bitkit 12.73.4 → 12.73.5-alpha.1
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/README.md +6 -6
- package/package.json +47 -43
- package/src/Components/Select/Select.tsx +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Based on [Chakra UI](https://chakra-ui.com/).
|
|
|
11
11
|
```
|
|
12
12
|
git clone git@github.com:bitrise-io/bitkit.git
|
|
13
13
|
cd bitkit
|
|
14
|
-
|
|
14
|
+
npm i
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
### Technology
|
|
@@ -23,19 +23,19 @@ yarn install
|
|
|
23
23
|
|
|
24
24
|
### Scripts
|
|
25
25
|
|
|
26
|
-
#### `$
|
|
26
|
+
#### `$ npm run storybook`
|
|
27
27
|
|
|
28
28
|
Runs Storybook server
|
|
29
29
|
|
|
30
|
-
#### `$
|
|
30
|
+
#### `$ npm run start`
|
|
31
31
|
|
|
32
|
-
Runs `
|
|
32
|
+
Runs `npm run storybook`
|
|
33
33
|
|
|
34
|
-
#### `$
|
|
34
|
+
#### `$ npm run lint`
|
|
35
35
|
|
|
36
36
|
Runs Javascript linting
|
|
37
37
|
|
|
38
|
-
#### `$
|
|
38
|
+
#### `$ npm run test`
|
|
39
39
|
|
|
40
40
|
Runs the unit tests for the library components
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit",
|
|
3
3
|
"description": "Bitrise React component library",
|
|
4
|
-
"version": "12.73.
|
|
5
|
-
"repository":
|
|
4
|
+
"version": "12.73.5-alpha.1",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
|
|
8
|
+
},
|
|
6
9
|
"main": "src/index.ts",
|
|
7
10
|
"license": "UNLICENSED",
|
|
8
11
|
"scripts": {
|
|
9
|
-
"
|
|
12
|
+
"build-storybook": "storybook build",
|
|
10
13
|
"lint": "eslint src --ext ts,tsx",
|
|
11
|
-
"
|
|
12
|
-
"start": "yarn storybook",
|
|
13
|
-
"test": "jest",
|
|
14
|
+
"start": "npm run storybook",
|
|
14
15
|
"storybook": "storybook dev -p 6006",
|
|
15
|
-
"
|
|
16
|
+
"test": "jest",
|
|
17
|
+
"typecheck": "tsc -p src --noEmit",
|
|
18
|
+
"release": "release-it patch --ci",
|
|
19
|
+
"release-alpha": "release-it --preRelease=alpha --ci",
|
|
20
|
+
"postpublish": "git push && git push --tags",
|
|
16
21
|
"theme": "chakra-cli tokens ./src/theme.ts",
|
|
17
22
|
"theme:watch": "chakra-cli tokens ./src/theme.ts --watch"
|
|
18
23
|
},
|
|
@@ -27,10 +32,10 @@
|
|
|
27
32
|
"@chakra-ui/theme": "^3.3.1",
|
|
28
33
|
"@chakra-ui/theme-tools": "^2.1.2",
|
|
29
34
|
"@chakra-ui/utils": "^2.0.15",
|
|
30
|
-
"@emotion/react": "^11.11.
|
|
35
|
+
"@emotion/react": "^11.11.3",
|
|
31
36
|
"@emotion/styled": "^11.11.0",
|
|
32
37
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
33
|
-
"framer-motion": "^10.
|
|
38
|
+
"framer-motion": "^10.18.0",
|
|
34
39
|
"luxon": "^3.4.4",
|
|
35
40
|
"react": "^18.2.0",
|
|
36
41
|
"react-dom": "^18.2.0",
|
|
@@ -42,43 +47,38 @@
|
|
|
42
47
|
"react-dom": "^18.2.0"
|
|
43
48
|
},
|
|
44
49
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "^7.23.
|
|
46
|
-
"@babel/preset-env": "^7.23.
|
|
50
|
+
"@babel/core": "^7.23.7",
|
|
51
|
+
"@babel/preset-env": "^7.23.8",
|
|
47
52
|
"@babel/preset-react": "^7.23.3",
|
|
48
53
|
"@babel/preset-typescript": "^7.23.3",
|
|
49
54
|
"@bitrise/eslint-plugin": "^2.3.3",
|
|
50
55
|
"@chakra-ui/cli": "^2.4.1",
|
|
51
|
-
"@commitlint/cli": "^17.8.0",
|
|
52
|
-
"@commitlint/config-conventional": "^17.8.0",
|
|
53
56
|
"@google-cloud/storage": "^7.7.0",
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@storybook/addon-
|
|
57
|
-
"@storybook/addon-
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@storybook/
|
|
60
|
-
"@storybook/
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@storybook/theming": "^7.6.4",
|
|
66
|
-
"@testing-library/dom": "^9.3.3",
|
|
67
|
-
"@testing-library/jest-dom": "^6.1.5",
|
|
57
|
+
"@storybook/addon-actions": "^7.6.10",
|
|
58
|
+
"@storybook/addon-essentials": "^7.6.10",
|
|
59
|
+
"@storybook/addon-interactions": "^7.6.10",
|
|
60
|
+
"@storybook/addon-links": "^7.6.10",
|
|
61
|
+
"@storybook/addons": "^7.6.10",
|
|
62
|
+
"@storybook/blocks": "^7.6.10",
|
|
63
|
+
"@storybook/react": "^7.6.10",
|
|
64
|
+
"@storybook/react-webpack5": "^7.6.10",
|
|
65
|
+
"@storybook/theming": "^7.6.10",
|
|
66
|
+
"@testing-library/dom": "^9.3.4",
|
|
67
|
+
"@testing-library/jest-dom": "^6.2.0",
|
|
68
68
|
"@testing-library/react": "^14.1.2",
|
|
69
|
-
"@testing-library/user-event": "^14.5.
|
|
69
|
+
"@testing-library/user-event": "^14.5.2",
|
|
70
70
|
"@types/jest": "^29.5.11",
|
|
71
|
-
"@types/luxon": "^3.
|
|
72
|
-
"@types/react": "^18.2.
|
|
73
|
-
"@types/react-dom": "^18.2.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
75
|
-
"@typescript-eslint/parser": "^6.
|
|
76
|
-
"axios": "^1.6.
|
|
77
|
-
"eslint": "^8.
|
|
71
|
+
"@types/luxon": "^3.4.2",
|
|
72
|
+
"@types/react": "^18.2.48",
|
|
73
|
+
"@types/react-dom": "^18.2.18",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
75
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
76
|
+
"axios": "^1.6.5",
|
|
77
|
+
"eslint": "^8.56.0",
|
|
78
78
|
"eslint-plugin-import": "^2.29.1",
|
|
79
|
-
"eslint-plugin-jest": "^27.6.
|
|
79
|
+
"eslint-plugin-jest": "^27.6.3",
|
|
80
80
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
81
|
-
"eslint-plugin-prettier": "^5.
|
|
81
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
82
82
|
"eslint-plugin-react": "^7.33.2",
|
|
83
83
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
84
84
|
"eslint-plugin-storybook": "^0.6.15",
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
"glob": "^10.3.10",
|
|
87
87
|
"jest": "^29.7.0",
|
|
88
88
|
"jest-environment-jsdom": "^29.7.0",
|
|
89
|
-
"jsdom": "^23.0
|
|
90
|
-
"prettier": "^3.
|
|
91
|
-
"react-hook-form": "^7.49.
|
|
92
|
-
"
|
|
93
|
-
"storybook": "^7.6.
|
|
89
|
+
"jsdom": "^23.2.0",
|
|
90
|
+
"prettier": "^3.2.4",
|
|
91
|
+
"react-hook-form": "^7.49.3",
|
|
92
|
+
"release-it": "^17.0.1",
|
|
93
|
+
"storybook": "^7.6.10",
|
|
94
94
|
"ts-jest": "^29.1.1",
|
|
95
|
-
"typescript": "^
|
|
95
|
+
"typescript": "^5.3.3"
|
|
96
96
|
},
|
|
97
97
|
"files": [
|
|
98
98
|
"src",
|
|
@@ -101,5 +101,9 @@
|
|
|
101
101
|
"sideEffects": false,
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
|
+
},
|
|
105
|
+
"engines": {
|
|
106
|
+
"node": "20.10.0",
|
|
107
|
+
"npm": "10.2.3"
|
|
104
108
|
}
|
|
105
109
|
}
|
|
@@ -20,9 +20,9 @@ export interface SelectProps extends Omit<FormControlProps, 'label' | 'onBlur' |
|
|
|
20
20
|
isLoading?: boolean;
|
|
21
21
|
label?: ReactNode;
|
|
22
22
|
name?: string;
|
|
23
|
-
placeholder?: ChakraSelectProps['placeholder'];
|
|
24
23
|
onBlur?: ChakraSelectProps['onBlur'];
|
|
25
24
|
onChange?: ChakraSelectProps['onChange'];
|
|
25
|
+
placeholder?: ChakraSelectProps['placeholder'];
|
|
26
26
|
size?: 'small' | 'medium';
|
|
27
27
|
value?: ChakraSelectProps['value'];
|
|
28
28
|
}
|