@primer/css 19.7.0-rc.73b391f8 → 19.7.1-rc.bebd5de8

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.
@@ -38,6 +38,55 @@
38
38
  }
39
39
  }
40
40
 
41
+ // Show/Hide Viewport range utilities
42
+
43
+ .show-whenNarrow,
44
+ .show-whenRegular,
45
+ .show-whenWide,
46
+ .show-whenRegular.hide-whenWide {
47
+ display: none !important;
48
+ }
49
+
50
+ .hide-whenNarrow,
51
+ .hide-whenRegular,
52
+ .hide-whenWide {
53
+ display: block !important;
54
+ }
55
+
56
+ @media (max-width: $width-md - 0.02px) {
57
+ .show-whenNarrow {
58
+ display: block !important;
59
+ }
60
+
61
+ .hide-whenNarrow {
62
+ display: none !important;
63
+ }
64
+ }
65
+
66
+ @media (min-width: $width-md) {
67
+ .show-whenRegular,
68
+ .show-whenRegular.hide-whenWide {
69
+ display: block !important;
70
+ }
71
+
72
+ .hide-whenRegular {
73
+ display: none !important;
74
+ }
75
+ }
76
+
77
+ // The width of a `wide` viewport range may change as we're finalizing
78
+ // the Primer primitives viewport ranges proposal
79
+ @media (min-width: $width-xl) {
80
+ .show-whenWide {
81
+ display: block !important;
82
+ }
83
+
84
+ .hide-whenWide,
85
+ .show-whenRegular.hide-whenWide {
86
+ display: none !important;
87
+ }
88
+ }
89
+
41
90
  /* Set the table-layout to fixed */
42
91
  .table-fixed { table-layout: fixed !important; }
43
92