@expo/styleguide 9.0.4 → 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.
Files changed (2) hide show
  1. package/package.json +5 -5
  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.4",
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",
@@ -23,13 +23,13 @@
23
23
  "keywords": [
24
24
  "expo"
25
25
  ],
26
- "author": "Jon Samp",
26
+ "author": "Expo",
27
27
  "license": "MIT",
28
28
  "bugs": {
29
29
  "url": "https://github.com/expo/styleguide/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@expo/styleguide-base": "^2.0.2",
32
+ "@expo/styleguide-base": "^2.0.3",
33
33
  "tailwind-merge": "^2.5.4"
34
34
  },
35
35
  "devDependencies": {
@@ -37,7 +37,7 @@
37
37
  "npm-run-all": "*",
38
38
  "rimraf": "*",
39
39
  "rollup": "*",
40
- "tailwindcss": "^3.4.14"
40
+ "tailwindcss": "^3.4.17"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "next": ">= 13",
@@ -46,5 +46,5 @@
46
46
  "eslintConfig": {
47
47
  "extends": "universe/web"
48
48
  },
49
- "gitHead": "5960a6974c963691decc10de3502aec51829606f"
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
- 'sm-gutters': '468px',
394
- 'md-gutters': '788px',
395
- 'lg-gutters': '1008px',
396
- 'xl-gutters': '1248px',
397
- '2xl-gutters': '1572px',
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: {