@ericchen1990/pano-view 3.6.6 → 3.7.0

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/dist/styles.css CHANGED
@@ -217,6 +217,60 @@
217
217
  gap: 0.5rem;
218
218
  }
219
219
 
220
+ .pano-webvr-portrait-prompt {
221
+ align-items: center;
222
+ background: #000;
223
+ color: #fff;
224
+ display: flex;
225
+ flex-direction: column;
226
+ gap: 0.75rem;
227
+ inset: 0;
228
+ justify-content: center;
229
+ padding: 1.5rem;
230
+ pointer-events: auto;
231
+ position: absolute;
232
+ text-align: center;
233
+ z-index: 20;
234
+ }
235
+
236
+ .pano-webvr-portrait-icon {
237
+ display: block;
238
+ flex-shrink: 0;
239
+ }
240
+
241
+ .pano-webvr-portrait-text {
242
+ font-size: 1rem;
243
+ font-weight: 700;
244
+ line-height: 1.35;
245
+ margin: 0;
246
+ max-width: 16rem;
247
+ }
248
+
249
+ .pano-iphone-fullscreen-swipe-prompt {
250
+ align-items: center;
251
+ bottom: calc(1.25rem + var(--pano-safe-bottom));
252
+ display: flex;
253
+ justify-content: center;
254
+ left: 0;
255
+ pointer-events: none;
256
+ position: absolute;
257
+ right: 0;
258
+ z-index: 20;
259
+ }
260
+
261
+ .pano-iphone-fullscreen-swipe-text {
262
+ background: rgba(0, 0, 0, 0.72);
263
+ border-radius: 999px;
264
+ color: #fff;
265
+ font-size: 0.875rem;
266
+ font-weight: 600;
267
+ line-height: 1.35;
268
+ margin: 0;
269
+ max-width: min(22rem, calc(100% - 2rem));
270
+ padding: 0.625rem 1rem;
271
+ text-align: center;
272
+ }
273
+
220
274
  .pano-webvr-hint {
221
275
  bottom: calc(1.25rem + var(--pano-safe-bottom));
222
276
  color: #fff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ericchen1990/pano-view",
3
- "version": "3.6.6",
3
+ "version": "3.7.0",
4
4
  "description": "React components for panoramic viewing experiences.",
5
5
  "author": "Eric Chen",
6
6
  "license": "MIT",