@bitrise/bitkit 12.0.0 → 12.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "12.0.0",
4
+ "version": "12.0.2",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -20,15 +20,15 @@
20
20
  "framer-motion": "./node_modules/framer-motion/dist/cjs"
21
21
  },
22
22
  "dependencies": {
23
- "@chakra-ui/react": "^2.2.4",
24
- "@chakra-ui/react-utils": "^2.0.1",
25
- "@chakra-ui/styled-system": "^2.3.1",
26
- "@chakra-ui/utils": "^2.0.4",
27
- "@emotion/react": "^11.9.3",
28
- "@emotion/styled": "^11.9.3",
23
+ "@chakra-ui/react": "^2.3.7",
24
+ "@chakra-ui/react-utils": "^2.0.8",
25
+ "@chakra-ui/styled-system": "^2.3.4",
26
+ "@chakra-ui/utils": "^2.0.11",
27
+ "@emotion/react": "^11.10.5",
28
+ "@emotion/styled": "^11.10.5",
29
29
  "@floating-ui/react-dom-interactions": "^0.8.1",
30
- "framer-motion": "^6.5.1",
31
- "luxon": "^3.0.3",
30
+ "framer-motion": "^7.6.5",
31
+ "luxon": "^3.1.0",
32
32
  "react": "^18.2.0",
33
33
  "react-dom": "^18.2.0",
34
34
  "react-focus-lock": "^2.9.1"
@@ -38,7 +38,7 @@
38
38
  "react-dom": "^18.2.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "^7.18.9",
41
+ "@babel/core": "^7.20.2",
42
42
  "@bitrise/eslint-plugin": "^2.2.0",
43
43
  "@commitlint/cli": "^16.3.0",
44
44
  "@commitlint/config-conventional": "^16.2.4",
@@ -46,46 +46,46 @@
46
46
  "@semantic-release/changelog": "^6.0.1",
47
47
  "@semantic-release/commit-analyzer": "^9.0.2",
48
48
  "@semantic-release/git": "^10.0.1",
49
- "@storybook/addon-actions": "^6.5.12",
50
- "@storybook/addon-essentials": "^6.5.12",
51
- "@storybook/addon-interactions": "^6.5.12",
52
- "@storybook/addon-links": "^6.5.12",
53
- "@storybook/addons": "^6.5.12",
54
- "@storybook/builder-webpack5": "^6.5.12",
55
- "@storybook/manager-webpack5": "^6.5.12",
56
- "@storybook/react": "^6.5.12",
49
+ "@storybook/addon-actions": "^6.5.13",
50
+ "@storybook/addon-essentials": "^6.5.13",
51
+ "@storybook/addon-interactions": "^6.5.13",
52
+ "@storybook/addon-links": "^6.5.13",
53
+ "@storybook/addons": "^6.5.13",
54
+ "@storybook/builder-webpack5": "^6.5.13",
55
+ "@storybook/manager-webpack5": "^6.5.13",
56
+ "@storybook/react": "^6.5.13",
57
57
  "@storybook/testing-library": "^0.0.13",
58
- "@storybook/theming": "^6.5.12",
59
- "@testing-library/dom": "^8.16.0",
60
- "@testing-library/jest-dom": "^5.16.4",
61
- "@testing-library/react": "^13.3.0",
58
+ "@storybook/theming": "^6.5.13",
59
+ "@testing-library/dom": "^8.19.0",
60
+ "@testing-library/jest-dom": "^5.16.5",
61
+ "@testing-library/react": "^13.4.0",
62
62
  "@testing-library/user-event": "^14.4.3",
63
- "@types/jest": "^29.0.3",
64
- "@types/luxon": "^3.0.1",
65
- "@types/react": "^18.0.21",
66
- "@types/react-dom": "^18.0.6",
67
- "@typescript-eslint/eslint-plugin": "^5.30.7",
68
- "@typescript-eslint/parser": "^5.30.7",
63
+ "@types/jest": "^29.2.2",
64
+ "@types/luxon": "^3.1.0",
65
+ "@types/react": "^18.0.25",
66
+ "@types/react-dom": "^18.0.8",
67
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
68
+ "@typescript-eslint/parser": "^5.42.1",
69
69
  "axios": "^0.27.2",
70
- "eslint": "^8.20.0",
70
+ "eslint": "^8.27.0",
71
71
  "eslint-plugin-import": "^2.26.0",
72
72
  "eslint-plugin-jest": "^26.6.0",
73
- "eslint-plugin-jsx-a11y": "^6.6.0",
73
+ "eslint-plugin-jsx-a11y": "^6.6.1",
74
74
  "eslint-plugin-prettier": "^4.2.1",
75
- "eslint-plugin-react": "^7.30.1",
75
+ "eslint-plugin-react": "^7.31.10",
76
76
  "eslint-plugin-react-hooks": "^4.6.0",
77
- "eslint-plugin-storybook": "^0.6.1",
78
- "eslint-plugin-testing-library": "^5.5.1",
77
+ "eslint-plugin-storybook": "^0.6.7",
78
+ "eslint-plugin-testing-library": "^5.9.1",
79
79
  "glob": "^8.0.3",
80
80
  "husky": "^7.0.4",
81
- "jest": "^29.0.3",
81
+ "jest": "^29.3.1",
82
82
  "jest-environment-jsdom": "^28.1.3",
83
- "jsdom": "^20.0.0",
83
+ "jsdom": "^20.0.2",
84
84
  "prettier": "^2.7.1",
85
- "react-hook-form": "^7.33.1",
86
- "semantic-release": "^19.0.3",
87
- "ts-jest": "^29.0.1",
88
- "typescript": "^4.8.2"
85
+ "react-hook-form": "^7.39.2",
86
+ "semantic-release": "^19.0.5",
87
+ "ts-jest": "^29.0.3",
88
+ "typescript": "^4.8.4"
89
89
  },
90
90
  "files": [
91
91
  "src",
@@ -39,11 +39,13 @@ const baseStyle = defineStyle(
39
39
  backgroundColor: 'neutral.95',
40
40
  },
41
41
  _focusVisible: {
42
- backgroundColor: 'purple.95',
43
- color: 'purple.50',
42
+ boxShadow: 'inset 0 2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
44
43
  },
45
44
  _first: {
46
45
  boxShadow: 'none',
46
+ _focusVisible: {
47
+ boxShadow: 'inset 0 2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
48
+ },
47
49
  },
48
50
  },
49
51
  lineTab: {
@@ -65,11 +67,6 @@ const baseStyle = defineStyle(
65
67
  backgroundColor: 'transparent',
66
68
  },
67
69
  },
68
- _focusVisible: {
69
- backgroundColor: 'purple.95',
70
- boxShadow: 'none',
71
- color: 'purple.50',
72
- },
73
70
  _hover: {
74
71
  backgroundColor: 'neutral.95',
75
72
  },
@@ -83,6 +80,9 @@ const baseStyle = defineStyle(
83
80
  background: 'transparent',
84
81
  },
85
82
  },
83
+ _focusVisible: {
84
+ boxShadow: 'inset 0 -2px var(--colors-purple-50), inset 0 0 0 3px var(--colors-purple-70)',
85
+ },
86
86
  },
87
87
  tablist: {
88
88
  maxWidth: '100%',
@@ -4,9 +4,9 @@ const shadows = {
4
4
  large: '0 0.125rem 1.5rem 0 rgba(0, 0, 0, 0.08)',
5
5
  inner: '0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset',
6
6
  innerSmall: '0 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.1) inset',
7
- outline: '0 0 0 3px #C289E6',
7
+ outline: '0 0 0 3px var(--colors-purple-70)',
8
8
  tooltip: '0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2)',
9
- formFocus: '0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 3px #C289E6',
9
+ formFocus: '0 0.125rem 0.1875rem 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 3px var(--colors-purple-70)',
10
10
  none: 'none',
11
11
  };
12
12