@openedx/paragon 23.17.0 → 23.18.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/paragon",
3
- "version": "23.17.0",
3
+ "version": "23.18.1",
4
4
  "description": "Accessible, responsive UI component library based on Bootstrap.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -91,6 +91,10 @@
91
91
  &.pgn__searchfield--external {
92
92
  border: none;
93
93
 
94
+ .pgn__searchfield-form {
95
+ background-color: transparent;
96
+ }
97
+
94
98
  &.has-focus {
95
99
  box-shadow: none;
96
100
 
@@ -112,6 +116,7 @@
112
116
  display: flex;
113
117
  align-items: center;
114
118
  width: 100%;
119
+ background-color: var(--pgn-color-search-field-form-bg);
115
120
  border: var(--pgn-size-search-field-border-width-base) solid var(--pgn-color-search-field-border-base);
116
121
 
117
122
  &:hover,
@@ -122,3 +122,27 @@ $indexes: map.merge(
122
122
  }
123
123
  }
124
124
  }
125
+
126
+ // Dynamic viewport
127
+ //
128
+ // Following the pattern of `vh-100` and `min-vh-100` from
129
+ // https://github.com/twbs/bootstrap/blob/v4-dev/scss/utilities/_sizing.scss
130
+ //
131
+ // More info on MDN
132
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/length#dynamic_viewport_units
133
+
134
+ .dvh-100 {
135
+ // fallback for browsers that don't support dynamic viewport units
136
+ height: 100vh !important;
137
+
138
+ // dynamic units for modern browsers
139
+ height: 100dvh !important;
140
+ }
141
+
142
+ .min-dvh-100 {
143
+ // fallback for browsers that don't support dynamic viewport units
144
+ min-height: 100vh !important;
145
+
146
+ // dynamic units for modern browsers
147
+ min-height: 100dvh !important;
148
+ }