@bitrise/bitkit 12.0.0 → 12.0.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/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.1",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -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