@revenuecat/purchases-ui-js 4.10.0 → 4.10.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.
@@ -155,8 +155,9 @@
155
155
 
156
156
  <style>
157
157
  .backdrop {
158
- position: absolute;
158
+ position: fixed;
159
159
  inset: 0 0 0 0;
160
+ z-index: 1000;
160
161
  width: 100%;
161
162
  height: 100%;
162
163
  background-color: #0000003f;
@@ -172,18 +173,18 @@
172
173
  transition-duration: 225ms;
173
174
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
174
175
  transform: translateY(100%);
176
+ }
175
177
 
176
- &::before {
177
- content: "";
178
- position: absolute;
179
- inset: 0;
180
- background: var(--overlay);
181
- pointer-events: none;
182
- }
178
+ .sheet::before {
179
+ content: "";
180
+ position: absolute;
181
+ inset: 0;
182
+ background: var(--overlay);
183
+ pointer-events: none;
184
+ }
183
185
 
184
- &.visible {
185
- transform: translateY(0);
186
- }
186
+ .sheet.visible {
187
+ transform: translateY(0);
187
188
  }
188
189
 
189
190
  .sheet.rc-sheet-video-bg::before {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@revenuecat/purchases-ui-js",
3
3
  "description": "Web components for Paywalls. Powered by RevenueCat",
4
4
  "private": false,
5
- "version": "4.10.0",
5
+ "version": "4.10.1",
6
6
  "author": {
7
7
  "name": "RevenueCat, Inc."
8
8
  },