@toriistudio/v0-playground 0.7.3 → 0.7.5
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1137,7 +1137,7 @@ var mediaSelectionStore = {
|
|
|
1137
1137
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1138
1138
|
var DEFAULT_PRESET_MEDIA = [
|
|
1139
1139
|
{
|
|
1140
|
-
src: "/
|
|
1140
|
+
src: "https://res.cloudinary.com/dz8kk1l4r/image/upload/v1766331792/v0_b4wr7j.png",
|
|
1141
1141
|
label: "Default",
|
|
1142
1142
|
type: "image"
|
|
1143
1143
|
},
|
|
@@ -2227,7 +2227,7 @@ var PreviewContainer = ({ children, hideControls }) => {
|
|
|
2227
2227
|
{
|
|
2228
2228
|
ref: previewRef,
|
|
2229
2229
|
className: "order-1 md:order-2 flex-1 md:flex-none bg-black overflow-auto flex items-center justify-center relative",
|
|
2230
|
-
style: isHydrated && isDesktop
|
|
2230
|
+
style: isHydrated && isDesktop ? hideControls ? { width: "100%" } : {
|
|
2231
2231
|
width: `${100 - leftPanelWidth}%`,
|
|
2232
2232
|
marginLeft: `${leftPanelWidth}%`
|
|
2233
2233
|
} : {},
|
package/dist/index.mjs
CHANGED
|
@@ -1124,7 +1124,7 @@ var mediaSelectionStore = {
|
|
|
1124
1124
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1125
1125
|
var DEFAULT_PRESET_MEDIA = [
|
|
1126
1126
|
{
|
|
1127
|
-
src: "/
|
|
1127
|
+
src: "https://res.cloudinary.com/dz8kk1l4r/image/upload/v1766331792/v0_b4wr7j.png",
|
|
1128
1128
|
label: "Default",
|
|
1129
1129
|
type: "image"
|
|
1130
1130
|
},
|
|
@@ -2214,7 +2214,7 @@ var PreviewContainer = ({ children, hideControls }) => {
|
|
|
2214
2214
|
{
|
|
2215
2215
|
ref: previewRef,
|
|
2216
2216
|
className: "order-1 md:order-2 flex-1 md:flex-none bg-black overflow-auto flex items-center justify-center relative",
|
|
2217
|
-
style: isHydrated && isDesktop
|
|
2217
|
+
style: isHydrated && isDesktop ? hideControls ? { width: "100%" } : {
|
|
2218
2218
|
width: `${100 - leftPanelWidth}%`,
|
|
2219
2219
|
marginLeft: `${leftPanelWidth}%`
|
|
2220
2220
|
} : {},
|