@primer/css 19.7.0 → 19.7.1-rc.f6452a1d

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.
@@ -18,6 +18,12 @@
18
18
  &.inline {
19
19
  display: inline-table;
20
20
  }
21
+
22
+ // Autocomplete with embedded icon
23
+ .form-control.autocomplete-embedded-icon-wrap {
24
+ display: inline-flex;
25
+ padding: $spacer-1 * 1.25 $spacer-2;
26
+ }
21
27
  }
22
28
 
23
29
  .input-group .form-control,
@@ -30,6 +36,10 @@
30
36
  vertical-align: middle; // Match the inputs
31
37
  }
32
38
 
39
+ .input-group-button--autocomplete-embedded-icon {
40
+ vertical-align: bottom;
41
+ }
42
+
33
43
  .input-group .form-control:first-child,
34
44
  .input-group-button:first-child .btn {
35
45
  border-top-right-radius: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/css",
3
- "version": "19.7.0",
3
+ "version": "19.7.1-rc.f6452a1d",
4
4
  "description": "The CSS implementation of GitHub's Primer Design System",
5
5
  "homepage": "https://primer.style/css",
6
6
  "author": "GitHub, Inc.",
@@ -264,13 +264,6 @@
264
264
  }
265
265
  }
266
266
 
267
- @media screen and (min-width: 0\0) {
268
- // IE11
269
- .tooltipped-multiline::after {
270
- width: $tooltip-max-width;
271
- }
272
- }
273
-
274
267
  // Sticky tooltips
275
268
  //
276
269
  // Always show the tooltip.
@@ -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