@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 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
- yarn install
14
+ npm i
15
15
  ```
16
16
 
17
17
  ### Technology
@@ -23,19 +23,19 @@ yarn install
23
23
 
24
24
  ### Scripts
25
25
 
26
- #### `$ yarn storybook`
26
+ #### `$ npm run storybook`
27
27
 
28
28
  Runs Storybook server
29
29
 
30
- #### `$ yarn start`
30
+ #### `$ npm run start`
31
31
 
32
- Runs `yarn storybook`
32
+ Runs `npm run storybook`
33
33
 
34
- #### `$ yarn lint`
34
+ #### `$ npm run lint`
35
35
 
36
36
  Runs Javascript linting
37
37
 
38
- #### `$ yarn test`
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.4",
5
- "repository": "git@github.com:bitrise-io/bitkit.git",
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
- "commitlint": "commitlint",
12
+ "build-storybook": "storybook build",
10
13
  "lint": "eslint src --ext ts,tsx",
11
- "semantic-release": "semantic-release",
12
- "start": "yarn storybook",
13
- "test": "jest",
14
+ "start": "npm run storybook",
14
15
  "storybook": "storybook dev -p 6006",
15
- "build-storybook": "storybook build",
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.1",
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.16.16",
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.6",
46
- "@babel/preset-env": "^7.23.6",
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
- "@semantic-release/commit-analyzer": "^11.1.0",
55
- "@semantic-release/git": "^10.0.1",
56
- "@storybook/addon-actions": "^7.6.4",
57
- "@storybook/addon-essentials": "^7.6.4",
58
- "@storybook/addon-interactions": "^7.6.4",
59
- "@storybook/addon-links": "^7.6.4",
60
- "@storybook/addons": "^7.6.4",
61
- "@storybook/blocks": "^7.6.4",
62
- "@storybook/react": "^7.6.4",
63
- "@storybook/react-webpack5": "^7.6.4",
64
- "@storybook/testing-library": "^0.2.2",
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.1",
69
+ "@testing-library/user-event": "^14.5.2",
70
70
  "@types/jest": "^29.5.11",
71
- "@types/luxon": "^3.3.7",
72
- "@types/react": "^18.2.45",
73
- "@types/react-dom": "^18.2.17",
74
- "@typescript-eslint/eslint-plugin": "^6.14.0",
75
- "@typescript-eslint/parser": "^6.14.0",
76
- "axios": "^1.6.2",
77
- "eslint": "^8.55.0",
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.0",
79
+ "eslint-plugin-jest": "^27.6.3",
80
80
  "eslint-plugin-jsx-a11y": "^6.8.0",
81
- "eslint-plugin-prettier": "^5.0.1",
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.1",
90
- "prettier": "^3.1.1",
91
- "react-hook-form": "^7.49.2",
92
- "semantic-release": "^22.0.12",
93
- "storybook": "^7.6.4",
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": "^4.8.4"
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
  }