@neurodyn/react-room-viewer 0.0.9 → 0.0.11
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/index.js +12 -33
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2245,10 +2245,6 @@ var __webpack_modules__ = {
|
|
|
2245
2245
|
background-color: var(--v-button-dark);
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
-
.bg-button-light {
|
|
2249
|
-
background-color: var(--v-button-light);
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
2248
|
.bg-button-white {
|
|
2253
2249
|
background-color: var(--v-button-white);
|
|
2254
2250
|
}
|
|
@@ -3741,14 +3737,6 @@ var __webpack_modules__ = {
|
|
|
3741
3737
|
background-color: var(--v-borders-dark);
|
|
3742
3738
|
}
|
|
3743
3739
|
|
|
3744
|
-
.hover\\:bg-button-dark-hover:hover {
|
|
3745
|
-
background-color: var(--v-button-dark-hover);
|
|
3746
|
-
}
|
|
3747
|
-
|
|
3748
|
-
.hover\\:bg-button-light-hover:hover {
|
|
3749
|
-
background-color: var(--v-button-light-hover);
|
|
3750
|
-
}
|
|
3751
|
-
|
|
3752
3740
|
.hover\\:bg-button-white:hover {
|
|
3753
3741
|
background-color: var(--v-button-white);
|
|
3754
3742
|
}
|
|
@@ -3985,14 +3973,6 @@ var __webpack_modules__ = {
|
|
|
3985
3973
|
background-color: var(--v-backgrounds-base-3);
|
|
3986
3974
|
}
|
|
3987
3975
|
|
|
3988
|
-
.active\\:bg-button-dark-pressed:active {
|
|
3989
|
-
background-color: var(--v-button-dark-pressed);
|
|
3990
|
-
}
|
|
3991
|
-
|
|
3992
|
-
.active\\:bg-button-light-pressed:active {
|
|
3993
|
-
background-color: var(--v-button-light-pressed);
|
|
3994
|
-
}
|
|
3995
|
-
|
|
3996
3976
|
.active\\:bg-button-outline-pressed:active {
|
|
3997
3977
|
background-color: var(--v-button-outline-pressed);
|
|
3998
3978
|
}
|
|
@@ -9473,14 +9453,13 @@ function AR({ className, buttonClassName, buttonLeadingIcon, buttonLabel, button
|
|
|
9473
9453
|
handoffWidgetSessionToken
|
|
9474
9454
|
]);
|
|
9475
9455
|
const appClipUrl = external_react_useMemo(()=>{
|
|
9476
|
-
if (!tinuuid
|
|
9456
|
+
if (!tinuuid) return null;
|
|
9477
9457
|
const url = new URL('https://appclip.apple.com/id');
|
|
9478
9458
|
url.searchParams.set('p', config_env.APP_CLIP_BUNDLE_ID);
|
|
9479
9459
|
url.searchParams.set('tinuuid', tinuuid);
|
|
9480
9460
|
return url.toString();
|
|
9481
9461
|
}, [
|
|
9482
|
-
tinuuid
|
|
9483
|
-
tenant
|
|
9462
|
+
tinuuid
|
|
9484
9463
|
]);
|
|
9485
9464
|
async function refreshHandoffWidgetSessionToken() {
|
|
9486
9465
|
const nextToken = await widgetSession?.getTokenForRequest().catch(()=>widgetSession.token);
|
|
@@ -11610,7 +11589,7 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11610
11589
|
children: [
|
|
11611
11590
|
/*#__PURE__*/ jsxs(Button, {
|
|
11612
11591
|
type: "button",
|
|
11613
|
-
variant: "
|
|
11592
|
+
variant: "secondary",
|
|
11614
11593
|
"aria-label": t('floor.scene.share'),
|
|
11615
11594
|
disabled: !canShare || isSharing,
|
|
11616
11595
|
onClick: handleShare,
|
|
@@ -11627,7 +11606,7 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11627
11606
|
}),
|
|
11628
11607
|
/*#__PURE__*/ jsxs(Button, {
|
|
11629
11608
|
type: "button",
|
|
11630
|
-
variant: "
|
|
11609
|
+
variant: "secondary",
|
|
11631
11610
|
"aria-label": t('floor.scene.download'),
|
|
11632
11611
|
disabled: isDownloading,
|
|
11633
11612
|
onClick: handleDownload,
|
|
@@ -11646,7 +11625,7 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11646
11625
|
asChild: true,
|
|
11647
11626
|
children: /*#__PURE__*/ jsxs(Button, {
|
|
11648
11627
|
type: "button",
|
|
11649
|
-
variant: "
|
|
11628
|
+
variant: "secondary",
|
|
11650
11629
|
"aria-label": t('close'),
|
|
11651
11630
|
className: "size-10 rounded-full px-0 lg:h-9 lg:w-auto lg:rounded-xl lg:px-3.5",
|
|
11652
11631
|
children: [
|
|
@@ -11723,7 +11702,7 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11723
11702
|
]
|
|
11724
11703
|
}),
|
|
11725
11704
|
canShowAr && /*#__PURE__*/ jsxs("div", {
|
|
11726
|
-
className: "pointer-events-auto flex h-24 w-[280px] items-center gap-4 overflow-hidden rounded-2xl bg-
|
|
11705
|
+
className: "pointer-events-auto flex h-24 w-[280px] items-center gap-4 overflow-hidden rounded-2xl bg-background-containers p-4 text-text-dark shadow-[var(--shadow-login)]",
|
|
11727
11706
|
"data-testid": "floor-ar-card",
|
|
11728
11707
|
children: [
|
|
11729
11708
|
/*#__PURE__*/ jsx_runtime_jsx("img", {
|
|
@@ -11738,10 +11717,10 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11738
11717
|
buttonLabel: t('floor.scene.tryAtHome'),
|
|
11739
11718
|
buttonVariant: "secondary",
|
|
11740
11719
|
buttonSize: "sm",
|
|
11741
|
-
buttonClassName: "w-fit
|
|
11720
|
+
buttonClassName: "w-fit"
|
|
11742
11721
|
}),
|
|
11743
11722
|
/*#__PURE__*/ jsx_runtime_jsx("div", {
|
|
11744
|
-
className: "typo-base-12 truncate font-medium text-text-
|
|
11723
|
+
className: "typo-base-12 truncate font-medium text-text-light",
|
|
11745
11724
|
children: t('floor.scene.tryAtHomeBody')
|
|
11746
11725
|
})
|
|
11747
11726
|
]
|
|
@@ -11815,9 +11794,9 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11815
11794
|
buttonLeadingIcon: /*#__PURE__*/ jsx_runtime_jsx(Vizbl, {
|
|
11816
11795
|
className: "size-5"
|
|
11817
11796
|
}),
|
|
11818
|
-
buttonVariant: "
|
|
11797
|
+
buttonVariant: "secondary",
|
|
11819
11798
|
buttonSize: "default",
|
|
11820
|
-
buttonClassName: "h-9 w-full rounded-xl
|
|
11799
|
+
buttonClassName: "h-9 w-full rounded-xl"
|
|
11821
11800
|
})
|
|
11822
11801
|
]
|
|
11823
11802
|
})
|
|
@@ -11888,9 +11867,9 @@ function FloorSceneChrome({ actions, canShowAr, companyName, hasActiveError, mat
|
|
|
11888
11867
|
buttonLeadingIcon: /*#__PURE__*/ jsx_runtime_jsx(Vizbl, {
|
|
11889
11868
|
className: "size-6"
|
|
11890
11869
|
}),
|
|
11891
|
-
buttonVariant: "
|
|
11870
|
+
buttonVariant: "secondary",
|
|
11892
11871
|
buttonSize: "lg",
|
|
11893
|
-
buttonClassName: "h-11 w-full rounded-xl
|
|
11872
|
+
buttonClassName: "h-11 w-full rounded-xl"
|
|
11894
11873
|
})
|
|
11895
11874
|
]
|
|
11896
11875
|
})
|