@raketa-builder/builder 0.36.0 → 0.37.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/.turbo/turbo-build.log +3 -3
- package/dist/index.js +3 -2
- package/package.json +1 -1
- package/src/Canvas.js +15 -16
- package/src/lib/AdminWidget.js +1 -0
- package/src/styles.css +5 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @raketa-builder/builder@0.
|
|
2
|
+
> @raketa-builder/builder@0.37.0 build
|
|
3
3
|
> tsup src/index.js --format cjs --loader ".js=jsx"
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.js
|
|
@@ -7,5 +7,5 @@ CLI Using tsconfig: tsconfig.json
|
|
|
7
7
|
CLI tsup v6.5.0
|
|
8
8
|
CLI Target: es6
|
|
9
9
|
CJS Build start
|
|
10
|
-
CJS dist/index.js 370.
|
|
11
|
-
CJS ⚡️ Build success in
|
|
10
|
+
CJS dist/index.js 370.01 KB
|
|
11
|
+
CJS ⚡️ Build success in 114ms
|
package/dist/index.js
CHANGED
|
@@ -7228,7 +7228,8 @@ var Canvas = import_react6.default.memo(
|
|
|
7228
7228
|
handle: "[data-drag]",
|
|
7229
7229
|
direction: "horizontal",
|
|
7230
7230
|
dragoverBubble: true,
|
|
7231
|
-
|
|
7231
|
+
className: canvasClassName,
|
|
7232
|
+
children: widgets.map((widget) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ErrorBoundary_default2, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
7232
7233
|
AdminWidget_default,
|
|
7233
7234
|
{
|
|
7234
7235
|
library,
|
|
@@ -7240,7 +7241,7 @@ var Canvas = import_react6.default.memo(
|
|
|
7240
7241
|
onSelectWidget,
|
|
7241
7242
|
selectedWidgets
|
|
7242
7243
|
}
|
|
7243
|
-
) }, widget.widgetId))
|
|
7244
|
+
) }, widget.widgetId))
|
|
7244
7245
|
}
|
|
7245
7246
|
);
|
|
7246
7247
|
},
|
package/package.json
CHANGED
package/src/Canvas.js
CHANGED
|
@@ -42,23 +42,22 @@ const Canvas = React.memo(
|
|
|
42
42
|
handle="[data-drag]"
|
|
43
43
|
direction="horizontal"
|
|
44
44
|
dragoverBubble
|
|
45
|
+
className={canvasClassName}
|
|
45
46
|
>
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
))}
|
|
61
|
-
</div>
|
|
47
|
+
{widgets.map((widget) => (
|
|
48
|
+
<ErrorBoundary key={widget.widgetId}>
|
|
49
|
+
<AdminWidget
|
|
50
|
+
library={library}
|
|
51
|
+
adminLibrary={adminLibrary}
|
|
52
|
+
widget={widget}
|
|
53
|
+
onEdit={onEdit}
|
|
54
|
+
onDelete={onRemove}
|
|
55
|
+
onCopy={onCopy}
|
|
56
|
+
onSelectWidget={onSelectWidget}
|
|
57
|
+
selectedWidgets={selectedWidgets}
|
|
58
|
+
/>
|
|
59
|
+
</ErrorBoundary>
|
|
60
|
+
))}
|
|
62
61
|
</ReactSortable>
|
|
63
62
|
);
|
|
64
63
|
},
|
package/src/lib/AdminWidget.js
CHANGED
package/src/styles.css
CHANGED
|
@@ -534,10 +534,11 @@
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.r-details-link {
|
|
537
|
-
position:
|
|
537
|
+
position: fixed;
|
|
538
538
|
z-index: 20;
|
|
539
539
|
left: calc(2.5rem + 50px);
|
|
540
540
|
bottom: 1rem;
|
|
541
|
+
display: block;
|
|
541
542
|
width: 50px;
|
|
542
543
|
height: 50px;
|
|
543
544
|
border: 1px solid #444;
|
|
@@ -554,7 +555,7 @@
|
|
|
554
555
|
|
|
555
556
|
.r-autosave-notification {
|
|
556
557
|
position: fixed;
|
|
557
|
-
z-index:
|
|
558
|
+
z-index: 1400;
|
|
558
559
|
bottom: 3rem;
|
|
559
560
|
left: 50%;
|
|
560
561
|
transform: translateX(-50%);
|
|
@@ -575,14 +576,14 @@
|
|
|
575
576
|
}
|
|
576
577
|
.r-autosave-text {
|
|
577
578
|
position: relative;
|
|
578
|
-
z-index:
|
|
579
|
+
z-index: 1402;
|
|
579
580
|
color: white;
|
|
580
581
|
}
|
|
581
582
|
|
|
582
583
|
.r-autosave-flash {
|
|
583
584
|
display: block;
|
|
584
585
|
position: absolute;
|
|
585
|
-
z-index:
|
|
586
|
+
z-index: 1401;
|
|
586
587
|
left: -100px;
|
|
587
588
|
top: -30px;
|
|
588
589
|
width: 25px;
|