@orion-studios/payload-studio 0.5.0-beta.68 → 0.5.0-beta.69
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/studio-pages/builder.css +11 -2
- package/dist/studio-pages/client.js +14 -10
- package/dist/studio-pages/client.mjs +14 -10
- package/package.json +1 -1
|
@@ -398,10 +398,18 @@ h4 {
|
|
|
398
398
|
font-size: 2.2rem;
|
|
399
399
|
line-height: 0.8;
|
|
400
400
|
color: #e7b55a;
|
|
401
|
-
margin-bottom: 0
|
|
401
|
+
margin-bottom: 0;
|
|
402
402
|
opacity: 0.8;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
+
.testimonial-quote-top {
|
|
406
|
+
display: flex;
|
|
407
|
+
align-items: flex-start;
|
|
408
|
+
justify-content: space-between;
|
|
409
|
+
gap: 0.65rem;
|
|
410
|
+
margin-bottom: 0.2rem;
|
|
411
|
+
}
|
|
412
|
+
|
|
405
413
|
.testimonial-quote {
|
|
406
414
|
display: -webkit-box;
|
|
407
415
|
-webkit-box-orient: vertical;
|
|
@@ -416,7 +424,8 @@ h4 {
|
|
|
416
424
|
gap: 0.04rem;
|
|
417
425
|
letter-spacing: 0.02em;
|
|
418
426
|
line-height: 1;
|
|
419
|
-
margin-top: 0.
|
|
427
|
+
margin-top: 0.2rem;
|
|
428
|
+
white-space: nowrap;
|
|
420
429
|
}
|
|
421
430
|
|
|
422
431
|
.testimonial-stars-muted {
|
|
@@ -3174,7 +3174,13 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3174
3174
|
},
|
|
3175
3175
|
style: isItemSelected ? { outline: "2px solid rgba(15, 125, 82, 0.55)", outlineOffset: 3 } : void 0,
|
|
3176
3176
|
children: [
|
|
3177
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
3177
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-quote-top", children: [
|
|
3178
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-quote-mark", "aria-hidden": "true", children: "\u201C" }),
|
|
3179
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3180
|
+
"\u2605".repeat(ratingValue),
|
|
3181
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3182
|
+
] })
|
|
3183
|
+
] }),
|
|
3178
3184
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
3179
3185
|
InlineText,
|
|
3180
3186
|
{
|
|
@@ -3185,10 +3191,6 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3185
3191
|
value: normalizeText(item?.quote)
|
|
3186
3192
|
}
|
|
3187
3193
|
) }),
|
|
3188
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3189
|
-
"\u2605".repeat(ratingValue),
|
|
3190
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3191
|
-
] }),
|
|
3192
3194
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "quote-author", children: [
|
|
3193
3195
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "quote-avatar", children: normalizeText(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
|
|
3194
3196
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
@@ -3249,7 +3251,13 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3249
3251
|
},
|
|
3250
3252
|
style: isItemSelected ? { outline: "2px solid rgba(15, 125, 82, 0.55)", outlineOffset: 3 } : void 0,
|
|
3251
3253
|
children: [
|
|
3252
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
3254
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-quote-top", children: [
|
|
3255
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-quote-mark", "aria-hidden": "true", children: "\u201C" }),
|
|
3256
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3257
|
+
"\u2605".repeat(ratingValue),
|
|
3258
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3259
|
+
] })
|
|
3260
|
+
] }),
|
|
3253
3261
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
3254
3262
|
InlineText,
|
|
3255
3263
|
{
|
|
@@ -3260,10 +3268,6 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3260
3268
|
value: normalizeText(item?.quote)
|
|
3261
3269
|
}
|
|
3262
3270
|
) }),
|
|
3263
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3264
|
-
"\u2605".repeat(ratingValue),
|
|
3265
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3266
|
-
] }),
|
|
3267
3271
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "quote-author", children: [
|
|
3268
3272
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "quote-avatar", children: normalizeText(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
|
|
3269
3273
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
@@ -3057,7 +3057,13 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3057
3057
|
},
|
|
3058
3058
|
style: isItemSelected ? { outline: "2px solid rgba(15, 125, 82, 0.55)", outlineOffset: 3 } : void 0,
|
|
3059
3059
|
children: [
|
|
3060
|
-
/* @__PURE__ */
|
|
3060
|
+
/* @__PURE__ */ jsxs("div", { className: "testimonial-quote-top", children: [
|
|
3061
|
+
/* @__PURE__ */ jsx("span", { className: "testimonial-quote-mark", "aria-hidden": "true", children: "\u201C" }),
|
|
3062
|
+
/* @__PURE__ */ jsxs("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3063
|
+
"\u2605".repeat(ratingValue),
|
|
3064
|
+
/* @__PURE__ */ jsx("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3065
|
+
] })
|
|
3066
|
+
] }),
|
|
3061
3067
|
/* @__PURE__ */ jsx("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ jsx(
|
|
3062
3068
|
InlineText,
|
|
3063
3069
|
{
|
|
@@ -3068,10 +3074,6 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3068
3074
|
value: normalizeText(item?.quote)
|
|
3069
3075
|
}
|
|
3070
3076
|
) }),
|
|
3071
|
-
/* @__PURE__ */ jsxs("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3072
|
-
"\u2605".repeat(ratingValue),
|
|
3073
|
-
/* @__PURE__ */ jsx("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3074
|
-
] }),
|
|
3075
3077
|
/* @__PURE__ */ jsxs("div", { className: "quote-author", children: [
|
|
3076
3078
|
/* @__PURE__ */ jsx("div", { className: "quote-avatar", children: normalizeText(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
|
|
3077
3079
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -3132,7 +3134,13 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3132
3134
|
},
|
|
3133
3135
|
style: isItemSelected ? { outline: "2px solid rgba(15, 125, 82, 0.55)", outlineOffset: 3 } : void 0,
|
|
3134
3136
|
children: [
|
|
3135
|
-
/* @__PURE__ */
|
|
3137
|
+
/* @__PURE__ */ jsxs("div", { className: "testimonial-quote-top", children: [
|
|
3138
|
+
/* @__PURE__ */ jsx("span", { className: "testimonial-quote-mark", "aria-hidden": "true", children: "\u201C" }),
|
|
3139
|
+
/* @__PURE__ */ jsxs("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3140
|
+
"\u2605".repeat(ratingValue),
|
|
3141
|
+
/* @__PURE__ */ jsx("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3142
|
+
] })
|
|
3143
|
+
] }),
|
|
3136
3144
|
/* @__PURE__ */ jsx("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ jsx(
|
|
3137
3145
|
InlineText,
|
|
3138
3146
|
{
|
|
@@ -3143,10 +3151,6 @@ function BuilderPageEditor({ initialDoc, pageID }) {
|
|
|
3143
3151
|
value: normalizeText(item?.quote)
|
|
3144
3152
|
}
|
|
3145
3153
|
) }),
|
|
3146
|
-
/* @__PURE__ */ jsxs("div", { className: "testimonial-stars", "aria-label": `${ratingValue} out of 5 stars`, role: "img", children: [
|
|
3147
|
-
"\u2605".repeat(ratingValue),
|
|
3148
|
-
/* @__PURE__ */ jsx("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
|
|
3149
|
-
] }),
|
|
3150
3154
|
/* @__PURE__ */ jsxs("div", { className: "quote-author", children: [
|
|
3151
3155
|
/* @__PURE__ */ jsx("div", { className: "quote-avatar", children: normalizeText(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
|
|
3152
3156
|
/* @__PURE__ */ jsxs("div", { children: [
|