@spothero/ui 22.1.2 → 22.2.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.
@@ -117,6 +117,12 @@ const variants = exports.variants = {
117
117
  _disabled: {
118
118
  color: 'gray.dark'
119
119
  }
120
+ },
121
+ _active: {
122
+ color: 'primary.600',
123
+ _disabled: {
124
+ color: 'gray.dark'
125
+ }
120
126
  }
121
127
  },
122
128
  tertiaryOnDark: {
@@ -14,7 +14,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
14
14
  // Chakra V2 will heavily impact this component
15
15
  const labelStyle = {
16
16
  color: 'gray.600',
17
- fontWeight: 'semibold',
17
+ fontWeight: 'normal',
18
18
  top: 3,
19
19
  left: 0,
20
20
  position: 'absolute',
@@ -31,7 +31,7 @@ const labelStyle = {
31
31
  const activeLabelStyles = {
32
32
  transform: 'scale(0.85) translateY(-16px)',
33
33
  _invalid: {
34
- color: 'error',
34
+ transform: 'scale(1) translateY(0)',
35
35
  '& .chakra-form__required-indicator': {
36
36
  display: 'none'
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "22.1.2",
3
+ "version": "22.2.0",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "./dist/components/index.js",
6
6
  "exports": "./dist/components/index.js",
@@ -95,13 +95,13 @@
95
95
  "css-loader": "5.1.3",
96
96
  "sass-loader": "10.2.1",
97
97
  "@spothero/babel-preset-spothero": "5.1.0",
98
- "@spothero/browserslist-config": "4.0.0",
99
98
  "@spothero/core": "7.0.1",
100
99
  "@spothero/eslint-config": "6.1.0",
101
100
  "@spothero/icons": "9.0.1",
101
+ "@spothero/browserslist-config": "4.0.0",
102
102
  "@spothero/npm-publisher": "7.0.0",
103
- "@spothero/prettier-config": "4.0.0",
104
- "@spothero/stylelint-config": "6.0.0"
103
+ "@spothero/stylelint-config": "6.0.0",
104
+ "@spothero/prettier-config": "4.0.0"
105
105
  },
106
106
  "dependencies": {
107
107
  "@chakra-ui/react": "1.8.8",