@mission-studio/puck 1.0.24 → 1.0.25
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/{chunk-MYS3PLMF.mjs → chunk-B7TB7KB4.mjs} +9 -9
- package/dist/components/page/astro/index.d.mts +13 -5
- package/dist/components/page/astro/index.d.ts +13 -5
- package/dist/components/page/astro/index.js +9 -9
- package/dist/components/page/astro/index.mjs +1 -1
- package/dist/config/server.js +9 -9
- package/dist/config/server.mjs +1 -1
- package/package.json +1 -1
|
@@ -315,7 +315,7 @@ function Icon({
|
|
|
315
315
|
// components/page/astro/Section.tsx
|
|
316
316
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
317
317
|
function Section({
|
|
318
|
-
children
|
|
318
|
+
children,
|
|
319
319
|
verticalPadding = 48,
|
|
320
320
|
horizontalPadding = 32,
|
|
321
321
|
gap = 24,
|
|
@@ -328,7 +328,6 @@ function Section({
|
|
|
328
328
|
visibility,
|
|
329
329
|
puck
|
|
330
330
|
}) {
|
|
331
|
-
const DropZone = puck?.renderDropZone;
|
|
332
331
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
333
332
|
const style = {
|
|
334
333
|
...getSectionStyle(
|
|
@@ -348,7 +347,7 @@ function Section({
|
|
|
348
347
|
id: anchorLink,
|
|
349
348
|
className: cn("flex w-full flex-col", getVisibilityClasses(visibility)),
|
|
350
349
|
style,
|
|
351
|
-
children: /* @__PURE__ */ jsx7("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children
|
|
350
|
+
children: /* @__PURE__ */ jsx7("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children })
|
|
352
351
|
}
|
|
353
352
|
);
|
|
354
353
|
}
|
|
@@ -356,6 +355,7 @@ function Section({
|
|
|
356
355
|
// components/page/astro/Container.tsx
|
|
357
356
|
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
358
357
|
function Container({
|
|
358
|
+
children,
|
|
359
359
|
maxWidth = "lg",
|
|
360
360
|
padding,
|
|
361
361
|
paddingX = "md",
|
|
@@ -365,7 +365,6 @@ function Container({
|
|
|
365
365
|
id,
|
|
366
366
|
puck
|
|
367
367
|
}) {
|
|
368
|
-
const DropZone = puck?.renderDropZone;
|
|
369
368
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
370
369
|
const effectivePaddingX = padding || paddingX;
|
|
371
370
|
const effectivePaddingY = padding || paddingY;
|
|
@@ -376,12 +375,13 @@ function Container({
|
|
|
376
375
|
centered,
|
|
377
376
|
bgColor
|
|
378
377
|
);
|
|
379
|
-
return /* @__PURE__ */ jsx8("div", { id, style, children
|
|
378
|
+
return /* @__PURE__ */ jsx8("div", { id, style, children });
|
|
380
379
|
}
|
|
381
380
|
|
|
382
381
|
// components/page/astro/Columns.tsx
|
|
383
382
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
384
383
|
function Columns({
|
|
384
|
+
children,
|
|
385
385
|
columns = 2,
|
|
386
386
|
gap = "md",
|
|
387
387
|
verticalAlign = "top",
|
|
@@ -389,14 +389,15 @@ function Columns({
|
|
|
389
389
|
id,
|
|
390
390
|
puck
|
|
391
391
|
}) {
|
|
392
|
-
const DropZone = puck?.renderDropZone;
|
|
393
392
|
const containerStyle = getContainerStyle3(columns, gap, verticalAlign);
|
|
394
|
-
|
|
393
|
+
const columnChildren = children || [];
|
|
394
|
+
return /* @__PURE__ */ jsx9("div", { id, style: containerStyle, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ jsx9("div", { style: { minWidth: 0 }, children: columnChildren[index] || null }, index)) });
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
// components/page/astro/Card.tsx
|
|
398
398
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
399
399
|
function Card({
|
|
400
|
+
children,
|
|
400
401
|
backgroundColor,
|
|
401
402
|
borderColor,
|
|
402
403
|
borderWidth = "thin",
|
|
@@ -406,7 +407,6 @@ function Card({
|
|
|
406
407
|
id,
|
|
407
408
|
puck
|
|
408
409
|
}) {
|
|
409
|
-
const DropZone = puck?.renderDropZone;
|
|
410
410
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : "rgba(255, 255, 255, 1)";
|
|
411
411
|
const bColor = typeof borderColor === "string" ? borderColor : "rgba(229, 231, 235, 1)";
|
|
412
412
|
const style = getCardStyle(
|
|
@@ -417,7 +417,7 @@ function Card({
|
|
|
417
417
|
shadow,
|
|
418
418
|
padding
|
|
419
419
|
);
|
|
420
|
-
return /* @__PURE__ */ jsx10("div", { id, style, children
|
|
420
|
+
return /* @__PURE__ */ jsx10("div", { id, style, children });
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
// components/page/astro/Divider.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { H as HeadingLevel, t as HeadingSize, u as HeadingWeight, v as HeadingAlign, w as HeadingLetterSpacing, x as HeadingLineHeight, y as ParagraphSize, z as ParagraphWeight, A as ParagraphAlign, E as ParagraphLineHeight, B as ButtonProps, l as ImageProps, k as ImageCarouselProps, I as IconProps, S as SectionProps, c as ContainerProps, b as ColumnsProps, C as CardProps, D as DividerProps, n as SpacerProps } from '../../../Popup-Dg78fu78.mjs';
|
|
3
3
|
export { a as CarouselImage, d as CustomImage, e as CustomImageProps, F as FeatureGrid, f as FeatureGridProps, g as FeaturesList, h as FeaturesListProps, i as Footer, j as FooterProps, P as Popup, m as PopupProps, T as TextBlock, o as TextBlockProps, p as Topbar, q as TopbarProps, V as VideoEmbed, r as VideoEmbedProps, s as availableIcons } from '../../../Popup-Dg78fu78.mjs';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import '../../../types-HQ6hIbYr.mjs';
|
|
5
|
-
import 'react';
|
|
6
6
|
import '../../../ResponsiveToggleField-65CqZEK-.mjs';
|
|
7
7
|
import '@measured/puck';
|
|
8
8
|
|
|
@@ -39,13 +39,21 @@ declare function ImageCarousel({ images, aspectRatio, borderRadius, showDots, sh
|
|
|
39
39
|
|
|
40
40
|
declare function Icon({ name, size, color, align, id, }: IconProps): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
-
declare function Section({ children
|
|
42
|
+
declare function Section({ children, verticalPadding, horizontalPadding, gap, backgroundColor, backgroundImage, shadow, borderRadius, contentMaxWidth, anchorLink, visibility, puck, }: SectionProps & {
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
}): react_jsx_runtime.JSX.Element;
|
|
43
45
|
|
|
44
|
-
declare function Container({ maxWidth, padding, paddingX, paddingY, backgroundColor, centered, id, puck, }: ContainerProps
|
|
46
|
+
declare function Container({ children, maxWidth, padding, paddingX, paddingY, backgroundColor, centered, id, puck, }: ContainerProps & {
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
}): react_jsx_runtime.JSX.Element;
|
|
45
49
|
|
|
46
|
-
declare function Columns({ columns, gap, verticalAlign, stackOnMobile, id, puck, }: ColumnsProps
|
|
50
|
+
declare function Columns({ children, columns, gap, verticalAlign, stackOnMobile, id, puck, }: ColumnsProps & {
|
|
51
|
+
children?: ReactNode[];
|
|
52
|
+
}): react_jsx_runtime.JSX.Element;
|
|
47
53
|
|
|
48
|
-
declare function Card({ backgroundColor, borderColor, borderWidth, borderRadius, shadow, padding, id, puck, }: CardProps
|
|
54
|
+
declare function Card({ children, backgroundColor, borderColor, borderWidth, borderRadius, shadow, padding, id, puck, }: CardProps & {
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}): react_jsx_runtime.JSX.Element;
|
|
49
57
|
|
|
50
58
|
declare function Divider({ style: lineStyle, thickness, color, width, align, spacing, id, }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
51
59
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { H as HeadingLevel, t as HeadingSize, u as HeadingWeight, v as HeadingAlign, w as HeadingLetterSpacing, x as HeadingLineHeight, y as ParagraphSize, z as ParagraphWeight, A as ParagraphAlign, E as ParagraphLineHeight, B as ButtonProps, l as ImageProps, k as ImageCarouselProps, I as IconProps, S as SectionProps, c as ContainerProps, b as ColumnsProps, C as CardProps, D as DividerProps, n as SpacerProps } from '../../../Popup-L7kcJo05.js';
|
|
3
3
|
export { a as CarouselImage, d as CustomImage, e as CustomImageProps, F as FeatureGrid, f as FeatureGridProps, g as FeaturesList, h as FeaturesListProps, i as Footer, j as FooterProps, P as Popup, m as PopupProps, T as TextBlock, o as TextBlockProps, p as Topbar, q as TopbarProps, V as VideoEmbed, r as VideoEmbedProps, s as availableIcons } from '../../../Popup-L7kcJo05.js';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import '../../../types-HQ6hIbYr.js';
|
|
5
|
-
import 'react';
|
|
6
6
|
import '../../../ResponsiveToggleField-QCve94L_.js';
|
|
7
7
|
import '@measured/puck';
|
|
8
8
|
|
|
@@ -39,13 +39,21 @@ declare function ImageCarousel({ images, aspectRatio, borderRadius, showDots, sh
|
|
|
39
39
|
|
|
40
40
|
declare function Icon({ name, size, color, align, id, }: IconProps): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
-
declare function Section({ children
|
|
42
|
+
declare function Section({ children, verticalPadding, horizontalPadding, gap, backgroundColor, backgroundImage, shadow, borderRadius, contentMaxWidth, anchorLink, visibility, puck, }: SectionProps & {
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
}): react_jsx_runtime.JSX.Element;
|
|
43
45
|
|
|
44
|
-
declare function Container({ maxWidth, padding, paddingX, paddingY, backgroundColor, centered, id, puck, }: ContainerProps
|
|
46
|
+
declare function Container({ children, maxWidth, padding, paddingX, paddingY, backgroundColor, centered, id, puck, }: ContainerProps & {
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
}): react_jsx_runtime.JSX.Element;
|
|
45
49
|
|
|
46
|
-
declare function Columns({ columns, gap, verticalAlign, stackOnMobile, id, puck, }: ColumnsProps
|
|
50
|
+
declare function Columns({ children, columns, gap, verticalAlign, stackOnMobile, id, puck, }: ColumnsProps & {
|
|
51
|
+
children?: ReactNode[];
|
|
52
|
+
}): react_jsx_runtime.JSX.Element;
|
|
47
53
|
|
|
48
|
-
declare function Card({ backgroundColor, borderColor, borderWidth, borderRadius, shadow, padding, id, puck, }: CardProps
|
|
54
|
+
declare function Card({ children, backgroundColor, borderColor, borderWidth, borderRadius, shadow, padding, id, puck, }: CardProps & {
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}): react_jsx_runtime.JSX.Element;
|
|
49
57
|
|
|
50
58
|
declare function Divider({ style: lineStyle, thickness, color, width, align, spacing, id, }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
51
59
|
|
|
@@ -1043,7 +1043,7 @@ function getSectionStyle(verticalPadding, horizontalPadding, gap, backgroundColo
|
|
|
1043
1043
|
// components/page/astro/Section.tsx
|
|
1044
1044
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1045
1045
|
function Section({
|
|
1046
|
-
children
|
|
1046
|
+
children,
|
|
1047
1047
|
verticalPadding = 48,
|
|
1048
1048
|
horizontalPadding = 32,
|
|
1049
1049
|
gap = 24,
|
|
@@ -1056,7 +1056,6 @@ function Section({
|
|
|
1056
1056
|
visibility,
|
|
1057
1057
|
puck
|
|
1058
1058
|
}) {
|
|
1059
|
-
const DropZone = puck?.renderDropZone;
|
|
1060
1059
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
1061
1060
|
const style = {
|
|
1062
1061
|
...getSectionStyle(
|
|
@@ -1076,7 +1075,7 @@ function Section({
|
|
|
1076
1075
|
id: anchorLink,
|
|
1077
1076
|
className: cn("flex w-full flex-col", getVisibilityClasses(visibility)),
|
|
1078
1077
|
style,
|
|
1079
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children
|
|
1078
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children })
|
|
1080
1079
|
}
|
|
1081
1080
|
);
|
|
1082
1081
|
}
|
|
@@ -1114,6 +1113,7 @@ function getContainerStyle2(maxWidth, paddingX, paddingY, centered, backgroundCo
|
|
|
1114
1113
|
// components/page/astro/Container.tsx
|
|
1115
1114
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1116
1115
|
function Container({
|
|
1116
|
+
children,
|
|
1117
1117
|
maxWidth = "lg",
|
|
1118
1118
|
padding,
|
|
1119
1119
|
paddingX = "md",
|
|
@@ -1123,7 +1123,6 @@ function Container({
|
|
|
1123
1123
|
id,
|
|
1124
1124
|
puck
|
|
1125
1125
|
}) {
|
|
1126
|
-
const DropZone = puck?.renderDropZone;
|
|
1127
1126
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
1128
1127
|
const effectivePaddingX = padding || paddingX;
|
|
1129
1128
|
const effectivePaddingY = padding || paddingY;
|
|
@@ -1134,7 +1133,7 @@ function Container({
|
|
|
1134
1133
|
centered,
|
|
1135
1134
|
bgColor
|
|
1136
1135
|
);
|
|
1137
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id, style, children
|
|
1136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id, style, children });
|
|
1138
1137
|
}
|
|
1139
1138
|
|
|
1140
1139
|
// components/page/primitives/Columns.ts
|
|
@@ -1163,6 +1162,7 @@ function getContainerStyle3(columns, gap, verticalAlign) {
|
|
|
1163
1162
|
// components/page/astro/Columns.tsx
|
|
1164
1163
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1165
1164
|
function Columns({
|
|
1165
|
+
children,
|
|
1166
1166
|
columns = 2,
|
|
1167
1167
|
gap = "md",
|
|
1168
1168
|
verticalAlign = "top",
|
|
@@ -1170,9 +1170,9 @@ function Columns({
|
|
|
1170
1170
|
id,
|
|
1171
1171
|
puck
|
|
1172
1172
|
}) {
|
|
1173
|
-
const DropZone = puck?.renderDropZone;
|
|
1174
1173
|
const containerStyle = getContainerStyle3(columns, gap, verticalAlign);
|
|
1175
|
-
|
|
1174
|
+
const columnChildren = children || [];
|
|
1175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { id, style: containerStyle, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { minWidth: 0 }, children: columnChildren[index] || null }, index)) });
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
1178
|
// components/page/primitives/Card.ts
|
|
@@ -1216,6 +1216,7 @@ function getCardStyle(backgroundColor, borderColor, borderWidth, borderRadius, s
|
|
|
1216
1216
|
// components/page/astro/Card.tsx
|
|
1217
1217
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1218
1218
|
function Card({
|
|
1219
|
+
children,
|
|
1219
1220
|
backgroundColor,
|
|
1220
1221
|
borderColor,
|
|
1221
1222
|
borderWidth = "thin",
|
|
@@ -1225,7 +1226,6 @@ function Card({
|
|
|
1225
1226
|
id,
|
|
1226
1227
|
puck
|
|
1227
1228
|
}) {
|
|
1228
|
-
const DropZone = puck?.renderDropZone;
|
|
1229
1229
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : "rgba(255, 255, 255, 1)";
|
|
1230
1230
|
const bColor = typeof borderColor === "string" ? borderColor : "rgba(229, 231, 235, 1)";
|
|
1231
1231
|
const style = getCardStyle(
|
|
@@ -1236,7 +1236,7 @@ function Card({
|
|
|
1236
1236
|
shadow,
|
|
1237
1237
|
padding
|
|
1238
1238
|
);
|
|
1239
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { id, style, children
|
|
1239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { id, style, children });
|
|
1240
1240
|
}
|
|
1241
1241
|
|
|
1242
1242
|
// components/page/primitives/Divider.ts
|
package/dist/config/server.js
CHANGED
|
@@ -1023,7 +1023,7 @@ function getSectionStyle(verticalPadding, horizontalPadding, gap, backgroundColo
|
|
|
1023
1023
|
// components/page/astro/Section.tsx
|
|
1024
1024
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1025
1025
|
function Section({
|
|
1026
|
-
children
|
|
1026
|
+
children,
|
|
1027
1027
|
verticalPadding = 48,
|
|
1028
1028
|
horizontalPadding = 32,
|
|
1029
1029
|
gap = 24,
|
|
@@ -1036,7 +1036,6 @@ function Section({
|
|
|
1036
1036
|
visibility,
|
|
1037
1037
|
puck
|
|
1038
1038
|
}) {
|
|
1039
|
-
const DropZone = puck?.renderDropZone;
|
|
1040
1039
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
1041
1040
|
const style = {
|
|
1042
1041
|
...getSectionStyle(
|
|
@@ -1056,7 +1055,7 @@ function Section({
|
|
|
1056
1055
|
id: anchorLink,
|
|
1057
1056
|
className: cn("flex w-full flex-col", getVisibilityClasses(visibility)),
|
|
1058
1057
|
style,
|
|
1059
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children
|
|
1058
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children })
|
|
1060
1059
|
}
|
|
1061
1060
|
);
|
|
1062
1061
|
}
|
|
@@ -1094,6 +1093,7 @@ function getContainerStyle2(maxWidth, paddingX, paddingY, centered, backgroundCo
|
|
|
1094
1093
|
// components/page/astro/Container.tsx
|
|
1095
1094
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1096
1095
|
function Container({
|
|
1096
|
+
children,
|
|
1097
1097
|
maxWidth = "lg",
|
|
1098
1098
|
padding,
|
|
1099
1099
|
paddingX = "md",
|
|
@@ -1103,7 +1103,6 @@ function Container({
|
|
|
1103
1103
|
id,
|
|
1104
1104
|
puck
|
|
1105
1105
|
}) {
|
|
1106
|
-
const DropZone = puck?.renderDropZone;
|
|
1107
1106
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : void 0;
|
|
1108
1107
|
const effectivePaddingX = padding || paddingX;
|
|
1109
1108
|
const effectivePaddingY = padding || paddingY;
|
|
@@ -1114,7 +1113,7 @@ function Container({
|
|
|
1114
1113
|
centered,
|
|
1115
1114
|
bgColor
|
|
1116
1115
|
);
|
|
1117
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id, style, children
|
|
1116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id, style, children });
|
|
1118
1117
|
}
|
|
1119
1118
|
|
|
1120
1119
|
// components/page/primitives/Columns.ts
|
|
@@ -1143,6 +1142,7 @@ function getContainerStyle3(columns, gap, verticalAlign) {
|
|
|
1143
1142
|
// components/page/astro/Columns.tsx
|
|
1144
1143
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1145
1144
|
function Columns({
|
|
1145
|
+
children,
|
|
1146
1146
|
columns = 2,
|
|
1147
1147
|
gap = "md",
|
|
1148
1148
|
verticalAlign = "top",
|
|
@@ -1150,9 +1150,9 @@ function Columns({
|
|
|
1150
1150
|
id,
|
|
1151
1151
|
puck
|
|
1152
1152
|
}) {
|
|
1153
|
-
const DropZone = puck?.renderDropZone;
|
|
1154
1153
|
const containerStyle = getContainerStyle3(columns, gap, verticalAlign);
|
|
1155
|
-
|
|
1154
|
+
const columnChildren = children || [];
|
|
1155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { id, style: containerStyle, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { style: { minWidth: 0 }, children: columnChildren[index] || null }, index)) });
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
1158
|
// components/page/primitives/Card.ts
|
|
@@ -1196,6 +1196,7 @@ function getCardStyle(backgroundColor, borderColor, borderWidth, borderRadius, s
|
|
|
1196
1196
|
// components/page/astro/Card.tsx
|
|
1197
1197
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1198
1198
|
function Card({
|
|
1199
|
+
children,
|
|
1199
1200
|
backgroundColor,
|
|
1200
1201
|
borderColor,
|
|
1201
1202
|
borderWidth = "thin",
|
|
@@ -1205,7 +1206,6 @@ function Card({
|
|
|
1205
1206
|
id,
|
|
1206
1207
|
puck
|
|
1207
1208
|
}) {
|
|
1208
|
-
const DropZone = puck?.renderDropZone;
|
|
1209
1209
|
const bgColor = typeof backgroundColor === "string" ? backgroundColor : "rgba(255, 255, 255, 1)";
|
|
1210
1210
|
const bColor = typeof borderColor === "string" ? borderColor : "rgba(229, 231, 235, 1)";
|
|
1211
1211
|
const style = getCardStyle(
|
|
@@ -1216,7 +1216,7 @@ function Card({
|
|
|
1216
1216
|
shadow,
|
|
1217
1217
|
padding
|
|
1218
1218
|
);
|
|
1219
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { id, style, children
|
|
1219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { id, style, children });
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
1222
|
// components/page/primitives/Divider.ts
|
package/dist/config/server.mjs
CHANGED