@automattic/vip-design-system 1.0.0 → 1.1.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.
@@ -42,9 +42,6 @@ var Button = /*#__PURE__*/_react["default"].forwardRef(function (_ref, forwardRe
42
42
  '&:hover': {
43
43
  textDecoration: 'none'
44
44
  },
45
- '&:focus': function focus(theme) {
46
- return theme.outline;
47
- },
48
45
  '&:focus-visible': function focusVisible(theme) {
49
46
  return theme.outline;
50
47
  },
@@ -35,9 +35,6 @@ var Link = /*#__PURE__*/_react["default"].forwardRef(function (_ref, forwardRef)
35
35
  textDecorationLine: 'underline',
36
36
  textDecorationThickness: '2px'
37
37
  },
38
- '&:focus': function focus(theme) {
39
- return theme.outline;
40
- },
41
38
  '&:focus-visible': function focusVisible(theme) {
42
39
  return theme.outline;
43
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip-design-system",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "main": "build/system/index.js",
5
5
  "scripts": {
6
6
  "build-storybook": "storybook build",
@@ -34,7 +34,6 @@ const Button = React.forwardRef( ( { disabled, onClick, sx, ...props }, forwardR
34
34
  '&:hover': {
35
35
  textDecoration: 'none',
36
36
  },
37
- '&:focus': theme => theme.outline,
38
37
  '&:focus-visible': theme => theme.outline,
39
38
  '&[aria-disabled="true"]': {
40
39
  opacity: 0.7,
@@ -24,7 +24,6 @@ const Link = React.forwardRef( ( { active = false, sx, ...props }, forwardRef )
24
24
  textDecorationLine: 'underline',
25
25
  textDecorationThickness: '2px',
26
26
  },
27
- '&:focus': theme => theme.outline,
28
27
  '&:focus-visible': theme => theme.outline,
29
28
  ...sx,
30
29
  } }