@onereach/styles 6.3.0 → 6.3.1-beta.3682.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "6.3.0",
3
+ "version": "6.3.1-beta.3682.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -56,6 +56,5 @@
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"
59
- },
60
- "gitHead": "95513429e82f5ddbca6ae7cda9cf5c92d7616aae"
59
+ }
61
60
  }
@@ -167,7 +167,7 @@ module.exports = {
167
167
  return {
168
168
  backgroundColor: theme(`backgroundColor.${token}` + suffix, token),
169
169
 
170
- [variants['disabled']]: {
170
+ [variants['disabled']]: token === 'transparent' ? null : {
171
171
  backgroundColor: `${theme('backgroundColor.disabled' + suffix)} !important`,
172
172
  },
173
173
 
@@ -49,7 +49,7 @@ module.exports = {
49
49
  borderWidth: '1px',
50
50
  borderColor: theme(`borderColor.${token}` + suffix, token),
51
51
 
52
- [variants['disabled']]: {
52
+ [variants['disabled']]: token === 'transparent' ? null : {
53
53
  borderColor: `${theme('borderColor.disabled' + suffix)} !important`,
54
54
  },
55
55
 
@@ -69,7 +69,7 @@ module.exports = {
69
69
  borderWidth: '2px',
70
70
  borderColor: theme(`borderColor.${token}` + suffix, token),
71
71
 
72
- [variants['disabled']]: {
72
+ [variants['disabled']]: token === 'transparent' ? null : {
73
73
  borderColor: `${theme('borderColor.disabled' + suffix)} !important`,
74
74
  },
75
75
 
@@ -89,7 +89,7 @@ module.exports = {
89
89
  borderWidth: '4px',
90
90
  borderColor: theme(`borderColor.${token}` + suffix, token),
91
91
 
92
- [variants['disabled']]: {
92
+ [variants['disabled']]: token === 'transparent' ? null : {
93
93
  borderColor: `${theme('borderColor.disabled' + suffix)} !important`,
94
94
  },
95
95
 
@@ -61,7 +61,7 @@ module.exports = {
61
61
  transitionTimingFunction: theme('transitionTimingFunction.standard'),
62
62
  },
63
63
 
64
- [variants['disabled']]: {
64
+ [variants['disabled']]: token === 'transparent' ? null : {
65
65
  [variants['children']]: {
66
66
  '&:not(:first-child)': {
67
67
  borderInlineStartColor: `${theme('borderColor.disabled' + suffix)} !important`,
@@ -119,7 +119,7 @@ module.exports = {
119
119
  return {
120
120
  color: theme(`textColor.${token}` + suffix, token),
121
121
 
122
- [variants['disabled']]: {
122
+ [variants['disabled']]: token === 'transparent' ? null : {
123
123
  color: `${theme('textColor.on-disabled' + suffix)} !important`,
124
124
  },
125
125
 
@@ -44,7 +44,7 @@ module.exports = {
44
44
  outlineWidth: '1px',
45
45
  outlineColor: theme(`outlineColor.${token}-opacity-0-16` + suffix, token),
46
46
 
47
- [variants['disabled']]: {
47
+ [variants['disabled']]: token === 'transparent' ? null : {
48
48
  outlineColor: 'transparent !important',
49
49
  },
50
50
 
@@ -65,7 +65,7 @@ module.exports = {
65
65
  outlineWidth: '2px',
66
66
  outlineColor: theme(`outlineColor.${token}-opacity-0-16` + suffix, token),
67
67
 
68
- [variants['disabled']]: {
68
+ [variants['disabled']]: token === 'transparent' ? null : {
69
69
  outlineColor: 'transparent !important',
70
70
  },
71
71
 
@@ -86,7 +86,7 @@ module.exports = {
86
86
  outlineWidth: '10px',
87
87
  outlineColor: theme(`outlineColor.${token}-opacity-0-16` + suffix, token),
88
88
 
89
- [variants['disabled']]: {
89
+ [variants['disabled']]: token === 'transparent' ? null : {
90
90
  outlineColor: 'transparent !important',
91
91
  },
92
92