@bitrise/bitkit 9.8.3 → 9.8.4

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": "9.8.3",
4
+ "version": "9.8.4",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -39,7 +39,7 @@
39
39
  "@popperjs/core": "^2.11.5",
40
40
  "@types/react-transition-group": "^4.4.4",
41
41
  "classnames": "^2.3.1",
42
- "clipboard": "^2.0.10",
42
+ "clipboard": "^2.0.11",
43
43
  "framer-motion": "^6.3.3",
44
44
  "luxon": "^2.3.2",
45
45
  "react": "^17.0.2",
@@ -55,6 +55,7 @@
55
55
  "@babel/core": "^7.17.10",
56
56
  "@bitrise/eslint-plugin": "^2.1.0",
57
57
  "@chakra-ui/cli": "^1.9.0",
58
+ "@chakra-ui/storybook-addon": "^1.0.3",
58
59
  "@commitlint/cli": "^16.2.4",
59
60
  "@commitlint/config-conventional": "^16.2.4",
60
61
  "@google-cloud/storage": "^5.19.4",
@@ -75,10 +76,10 @@
75
76
  "@types/cheerio": "^0.22.31",
76
77
  "@types/clipboard": "^2.0.1",
77
78
  "@types/enzyme": "^3.10.12",
78
- "@types/jest": "^27.4.1",
79
+ "@types/jest": "^27.5.0",
79
80
  "@types/lodash.sample": "^4.2.7",
80
81
  "@types/lodash.shuffle": "^4.2.7",
81
- "@types/luxon": "^2.3.1",
82
+ "@types/luxon": "^2.3.2",
82
83
  "@types/prismjs": "^1.26.0",
83
84
  "@types/react": "17.0.44",
84
85
  "@types/react-dom": "^17.0.16",
@@ -86,8 +87,8 @@
86
87
  "@types/react-router-dom": "^5.3.3",
87
88
  "@types/react-transition-group": "^4.4.4",
88
89
  "@types/vfile-message": "^2.0.0",
89
- "@typescript-eslint/eslint-plugin": "^5.21.0",
90
- "@typescript-eslint/parser": "^5.21.0",
90
+ "@typescript-eslint/eslint-plugin": "^5.22.0",
91
+ "@typescript-eslint/parser": "^5.22.0",
91
92
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
92
93
  "axios": "^0.27.2",
93
94
  "babel-eslint": "^10.0.1",
@@ -23,7 +23,7 @@ const Divider = (props: DividerProps) => {
23
23
 
24
24
  Divider.defaultProps = {
25
25
  as: 'hr',
26
- color: 'neutral.93',
26
+ color: 'separator.primary',
27
27
  orientation: 'horizontal',
28
28
  size: '1',
29
29
  variant: 'solid',
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/addon-docs';
2
2
  import DesignTokens from './DesignTokens';
3
3
  import Palette from './Palette';
4
4
 
@@ -11,7 +11,7 @@ const TOKENS = {
11
11
  'text.secondary': 'Secondary text color, for inline help and less important text',
12
12
  'text.link': 'Default text link color',
13
13
  'text.linkHover': 'Default text link hover color',
14
- 'separator.primary': 'Default color for separator lines and borders',
14
+ 'separator.primary': 'Default color for separator lines',
15
15
  } as any;
16
16
 
17
17
  const DesignTokens = () => {
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/addon-docs';
2
2
  import { Radii } from './Radii.examples';
3
3
 
4
4
  <Meta title="Foundations/Radii (round corners)" />
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/addon-docs';
2
2
  import { Shadows } from './Shadows.examples';
3
3
 
4
4
  <Meta title="Foundations/Shadows" />
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/addon-docs';
2
2
  import { Sizes } from './Sizes.examples';
3
3
 
4
4
  <Meta title="Foundations/Sizes" />
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/addon-docs';
2
2
  import { FontSizes } from './Typography.examples';
3
3
 
4
4
  <Meta title="Foundations/Typography" />
@@ -81,3 +81,7 @@
81
81
  border-color: var(--color-grape--3);
82
82
  color: var(--color-grape--5);
83
83
  }
84
+
85
+ .Input__content .Input {
86
+ box-shadow: none;
87
+ }
@@ -38,3 +38,7 @@
38
38
  }
39
39
 
40
40
  .Link--color-white:hover { color: var(--color-gray--1); }
41
+
42
+ .Link:focus-visible {
43
+ box-shadow: none;
44
+ }
package/src/theme.ts CHANGED
@@ -34,8 +34,9 @@ const theme = {
34
34
  hr: {
35
35
  borderTopWidth: 0,
36
36
  },
37
- '*:focus': {
37
+ '*:focus-visible': {
38
38
  boxShadow: 'outline',
39
+ outline: 'none',
39
40
  },
40
41
  },
41
42
  },