@expo/styleguide 8.2.2 → 8.2.3
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 +4 -4
- package/tailwind.js +25 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.3",
|
|
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",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@expo/styleguide-base": "^1.0.1",
|
|
33
|
-
"tailwind-merge": "^2.
|
|
33
|
+
"tailwind-merge": "^2.3.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@tailwindcss/typography": "^0.5.10",
|
|
37
|
-
"tailwindcss": "^3.4.
|
|
37
|
+
"tailwindcss": "^3.4.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"next": ">= 13",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"eslintConfig": {
|
|
44
44
|
"extends": "universe/web"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1ae9519f32740e1dc0101136ffa56612e7aa0907"
|
|
47
47
|
}
|
package/tailwind.js
CHANGED
|
@@ -128,6 +128,7 @@ const expoTailwindConfig = {
|
|
|
128
128
|
warning: 'var(--expo-theme-background-warning)',
|
|
129
129
|
danger: 'var(--expo-theme-background-danger)',
|
|
130
130
|
info: 'var(--expo-theme-background-info)',
|
|
131
|
+
transparent: 'transparent',
|
|
131
132
|
|
|
132
133
|
'button-primary': 'var(--expo-theme-button-primary-background)',
|
|
133
134
|
'button-primary-hover': 'var(--expo-theme-button-primary-hover)',
|
|
@@ -332,6 +333,8 @@ const expoTailwindConfig = {
|
|
|
332
333
|
'lg-gutters': '1008px',
|
|
333
334
|
xl: '1200px',
|
|
334
335
|
'xl-gutters': '1248px',
|
|
336
|
+
'2xl': '1524px',
|
|
337
|
+
'2xl-gutters': '1572px',
|
|
335
338
|
},
|
|
336
339
|
extend: {
|
|
337
340
|
stroke: {
|
|
@@ -347,6 +350,27 @@ const expoTailwindConfig = {
|
|
|
347
350
|
'bg-danger': 'var(--expo-theme-background-danger)',
|
|
348
351
|
'bg-info': 'var(--expo-theme-background-info)',
|
|
349
352
|
},
|
|
353
|
+
fill: {
|
|
354
|
+
'border-default': 'var(--expo-theme-border-default)',
|
|
355
|
+
'border-secondary': 'var(--expo-theme-border-secondary)',
|
|
356
|
+
'border-success': 'var(--expo-theme-border-success)',
|
|
357
|
+
'border-warning': 'var(--expo-theme-border-warning)',
|
|
358
|
+
'border-danger': 'var(--expo-theme-border-danger)',
|
|
359
|
+
'border-info': 'var(--expo-theme-border-info)',
|
|
360
|
+
},
|
|
361
|
+
gradientColorStops: {
|
|
362
|
+
'bg-default': 'var(--expo-theme-background-default)',
|
|
363
|
+
'bg-screen': 'var(--expo-theme-background-screen)',
|
|
364
|
+
'bg-subtle': 'var(--expo-theme-background-subtle)',
|
|
365
|
+
'bg-element': 'var(--expo-theme-background-element)',
|
|
366
|
+
'bg-hover': 'var(--expo-theme-background-hover)',
|
|
367
|
+
'bg-selected': 'var(--expo-theme-background-selected)',
|
|
368
|
+
'bg-overlay': 'var(--expo-theme-background-overlay)',
|
|
369
|
+
'bg-success': 'var(--expo-theme-background-success)',
|
|
370
|
+
'bg-warning': 'var(--expo-theme-background-warning)',
|
|
371
|
+
'bg-danger': 'var(--expo-theme-background-danger)',
|
|
372
|
+
'bg-info': 'var(--expo-theme-background-info)',
|
|
373
|
+
},
|
|
350
374
|
backgroundColor: {
|
|
351
375
|
'app-cyan': 'var(--expo-color-app-cyan)',
|
|
352
376
|
'app-light-blue': 'var(--expo-color-app-light-blue)',
|
|
@@ -360,7 +384,6 @@ const expoTailwindConfig = {
|
|
|
360
384
|
'app-lime': 'var(--expo-color-app-lime)',
|
|
361
385
|
'app-light-green': 'var(--expo-color-app-light-green)',
|
|
362
386
|
'app-dark-green': 'var(--expo-color-app-dark-green)',
|
|
363
|
-
transparent: 'transparent',
|
|
364
387
|
},
|
|
365
388
|
height: {
|
|
366
389
|
15: '3.75rem',
|
|
@@ -466,7 +489,7 @@ const expoTailwindConfig = {
|
|
|
466
489
|
'.variant-numeric-slashed': {
|
|
467
490
|
'font-variant-numeric': 'slashed-zero',
|
|
468
491
|
},
|
|
469
|
-
'.variant-numeric-
|
|
492
|
+
'.variant-numeric-tabular': {
|
|
470
493
|
'font-variant-numeric': 'tabular-nums',
|
|
471
494
|
},
|
|
472
495
|
});
|