@onereach/styles 2.32.1 → 2.32.2-beta.2022.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": "2.32.1",
3
+ "version": "2.32.2-beta.2022.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -53,6 +53,5 @@
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
56
- },
57
- "gitHead": "62d6ccba26ea661379e73b57ee335f58f87ff4bf"
56
+ }
58
57
  }
@@ -734,7 +734,7 @@ module.exports = {
734
734
  return {
735
735
  borderColor: theme(`borderColor.${token}` + suffix, token),
736
736
  borderStyle: 'solid',
737
- borderWidth: 1,
737
+ borderWidth: '1px',
738
738
 
739
739
  '&[disabled]': {
740
740
  borderColor: `${theme('borderColor.disabled' + suffix)} !important`,
@@ -779,7 +779,7 @@ module.exports = {
779
779
  return {
780
780
  borderColor: theme(`borderColor.${token}` + suffix, token),
781
781
  borderStyle: 'solid',
782
- borderWidth: 2,
782
+ borderWidth: '2px',
783
783
 
784
784
  '&[disabled]': {
785
785
  borderColor: `${theme('borderColor.disabled' + suffix)} !important`,
@@ -830,10 +830,14 @@ module.exports = {
830
830
  const [token, suffix = ''] = value.split('..');
831
831
 
832
832
  return {
833
- outlineColor: theme(`outlineColor.${token}-opacity-0-16` + suffix, token),
834
- outlineStyle: 'solid',
835
- outlineWidth: 2,
836
- outlineOffset: 0,
833
+ // In Safari outline doesn't follow current border-radius
834
+ // It seems like this is already fixed in Safari Technology Preview (Release 157)
835
+ // Stay tuned for Safari updates
836
+ boxShadow: `0 0 0 2px ${theme(`outlineColor.${token}-opacity-0-16` + suffix, token)}`,
837
+ // outlineColor: theme(`outlineColor.${token}-opacity-0-16` + suffix, token),
838
+ // outlineStyle: 'solid',
839
+ // outlineWidth: '2px',
840
+ // outlineOffset: '0',
837
841
  };
838
842
  },
839
843
  }, {