@expo/styleguide 9.0.5 → 9.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.
- package/package.json +2 -2
- package/tailwind.js +21 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Expo's styleguide components for use on the web.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"eslintConfig": {
|
|
47
47
|
"extends": "universe/web"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "ca01c00a92198c84acb4fc11c3dd5cad3fa52bd6"
|
|
50
50
|
}
|
package/tailwind.js
CHANGED
|
@@ -117,7 +117,7 @@ const appColors = {
|
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
const expoTailwindConfig = {
|
|
120
|
-
safelist: ['icon-md', 'text-icon-default', 'translate-z'],
|
|
120
|
+
safelist: ['icon-md', 'text-icon-default', 'translate-z', 'shrink-0'],
|
|
121
121
|
darkMode: ['class', '[class*="dark-theme"]'],
|
|
122
122
|
theme: {
|
|
123
123
|
borderRadius: {
|
|
@@ -390,11 +390,26 @@ const expoTailwindConfig = {
|
|
|
390
390
|
},
|
|
391
391
|
},
|
|
392
392
|
screens: {
|
|
393
|
-
'
|
|
394
|
-
|
|
395
|
-
'
|
|
396
|
-
|
|
397
|
-
|
|
393
|
+
// note(simek): re-generate 'max-<size>-gutters' screen scopes as 'raw' due to:
|
|
394
|
+
// https://github.com/tailwindlabs/tailwindcss/issues/13022
|
|
395
|
+
'max-2xl-gutters': {
|
|
396
|
+
raw: 'not all and (min-width: 1572px)',
|
|
397
|
+
},
|
|
398
|
+
'max-xl-gutters': {
|
|
399
|
+
raw: 'not all and (min-width: 1248px)',
|
|
400
|
+
},
|
|
401
|
+
'max-lg-gutters': {
|
|
402
|
+
raw: 'not all and (min-width: 1008px)',
|
|
403
|
+
},
|
|
404
|
+
'max-md-gutters': {
|
|
405
|
+
raw: 'not all and (min-width: 788px)',
|
|
406
|
+
},
|
|
407
|
+
'max-sm-gutters': {
|
|
408
|
+
raw: 'not all and (min-width: 468px)',
|
|
409
|
+
},
|
|
410
|
+
short: {
|
|
411
|
+
raw: '(max-height: 788px) and (min-width: 1008px)',
|
|
412
|
+
},
|
|
398
413
|
},
|
|
399
414
|
extend: {
|
|
400
415
|
stroke: {
|