@expo/styleguide 9.1.1 → 9.1.2
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 +13 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
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": "07678d99827b6afdcd6a13655bc05fa1274affaa"
|
|
50
50
|
}
|
package/tailwind.js
CHANGED
|
@@ -475,20 +475,12 @@ const expoTailwindConfig = {
|
|
|
475
475
|
},
|
|
476
476
|
keyframes: {
|
|
477
477
|
fadeIn: {
|
|
478
|
-
'0%': {
|
|
479
|
-
|
|
480
|
-
},
|
|
481
|
-
'100%': {
|
|
482
|
-
opacity: 1,
|
|
483
|
-
},
|
|
478
|
+
'0%': { opacity: 0 },
|
|
479
|
+
'100%': { opacity: 1 },
|
|
484
480
|
},
|
|
485
481
|
fadeOut: {
|
|
486
|
-
'0%': {
|
|
487
|
-
|
|
488
|
-
},
|
|
489
|
-
'100%': {
|
|
490
|
-
opacity: 0,
|
|
491
|
-
},
|
|
482
|
+
'0%': { opacity: 1 },
|
|
483
|
+
'100%': { opacity: 0 },
|
|
492
484
|
},
|
|
493
485
|
slideDownAndFade: {
|
|
494
486
|
'0%': {
|
|
@@ -559,7 +551,10 @@ const expoTailwindConfig = {
|
|
|
559
551
|
plugins: [
|
|
560
552
|
plugin(({ addComponents, addVariant, matchUtilities, theme }) => {
|
|
561
553
|
addVariant('hocus', ['&:hover', '&:focus-visible']);
|
|
554
|
+
addVariant('compact-height', `@media (max-height: 788px) and (min-width: 1008px)`);
|
|
555
|
+
|
|
562
556
|
matchUtilities({ heading: (value) => value }, { values: theme('heading') });
|
|
557
|
+
|
|
563
558
|
addComponents({
|
|
564
559
|
'.icon-2xs': {
|
|
565
560
|
height: theme('height.3'),
|
|
@@ -590,19 +585,21 @@ const expoTailwindConfig = {
|
|
|
590
585
|
height: theme('height.10'),
|
|
591
586
|
width: theme('width.10'),
|
|
592
587
|
},
|
|
588
|
+
|
|
593
589
|
'.translate-z': {
|
|
594
590
|
transform: 'translateZ(0)',
|
|
595
591
|
},
|
|
592
|
+
|
|
596
593
|
'.break-words': { 'word-break': 'break-word' },
|
|
597
594
|
'.wrap-anywhere': { 'overflow-wrap': 'anywhere' },
|
|
595
|
+
|
|
598
596
|
'.pause-animation': { 'animation-play-state': 'paused' },
|
|
599
597
|
'.transform-box': { 'transform-box': 'fill-box' },
|
|
600
|
-
|
|
601
|
-
'overflow-wrap': 'anywhere',
|
|
602
|
-
},
|
|
598
|
+
|
|
603
599
|
'.backface-hidden': {
|
|
604
600
|
'backface-visibility': 'hidden',
|
|
605
601
|
},
|
|
602
|
+
|
|
606
603
|
'.variant-numeric-normal': {
|
|
607
604
|
'font-variant-numeric': 'normal',
|
|
608
605
|
},
|
|
@@ -612,6 +609,7 @@ const expoTailwindConfig = {
|
|
|
612
609
|
'.variant-numeric-tabular': {
|
|
613
610
|
'font-variant-numeric': 'tabular-nums',
|
|
614
611
|
},
|
|
612
|
+
|
|
615
613
|
'.asset-shadow': {
|
|
616
614
|
filter: 'drop-shadow(0 3px 10px rgba(0, 0, 0, 0.12)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.07))',
|
|
617
615
|
},
|