@orion-studios/payload-studio 0.5.0-beta.80 → 0.5.0-beta.82

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.mjs CHANGED
@@ -4,9 +4,6 @@ import {
4
4
  import {
5
5
  admin_app_exports
6
6
  } from "./chunk-XVH5SCBD.mjs";
7
- import {
8
- blocks_exports
9
- } from "./chunk-XK3K5GRP.mjs";
10
7
  import {
11
8
  nextjs_exports
12
9
  } from "./chunk-AFLEATYB.mjs";
@@ -16,6 +13,9 @@ import {
16
13
  import {
17
14
  studio_pages_exports
18
15
  } from "./chunk-FWVVRZ32.mjs";
16
+ import {
17
+ blocks_exports
18
+ } from "./chunk-XK3K5GRP.mjs";
19
19
  import "./chunk-SIL2J5MF.mjs";
20
20
  import "./chunk-6BWS3CLP.mjs";
21
21
  export {
@@ -434,10 +434,10 @@ h4 {
434
434
  }
435
435
 
436
436
  .testimonial-quote {
437
- display: -webkit-box;
438
- -webkit-box-orient: vertical;
439
- -webkit-line-clamp: 3;
440
- overflow: hidden;
437
+ display: block;
438
+ margin: 0;
439
+ overflow: visible;
440
+ white-space: pre-line;
441
441
  }
442
442
 
443
443
  .testimonial-stars {
@@ -455,13 +455,6 @@ h4 {
455
455
  color: rgba(13, 74, 55, 0.25);
456
456
  }
457
457
 
458
- @supports not (-webkit-line-clamp: 1) {
459
- .testimonial-quote {
460
- display: block;
461
- max-height: calc((3 * 1.55em) - 0.5px);
462
- }
463
- }
464
-
465
458
  .quote-author {
466
459
  margin-top: 0.75rem;
467
460
  display: flex;
@@ -630,16 +623,6 @@ h4 {
630
623
  grid-template-columns: var(--testimonials-grid-columns, repeat(auto-fit, minmax(260px, 1fr)));
631
624
  }
632
625
 
633
- .testimonial-quote {
634
- -webkit-line-clamp: 2;
635
- }
636
-
637
- @supports not (-webkit-line-clamp: 1) {
638
- .testimonial-quote {
639
- max-height: calc((2 * 1.55em) - 0.5px);
640
- }
641
- }
642
-
643
626
  .orion-stats-grid {
644
627
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
645
628
  }
@@ -954,6 +937,17 @@ h4 {
954
937
  text-align: var(--orion-builder-heading-align, inherit);
955
938
  }
956
939
 
940
+ /* Builder-only override: show full testimonial copy even if host app globals clamp it. */
941
+ .orion-builder .orion-builder-content .testimonial-quote {
942
+ -webkit-box-orient: initial;
943
+ -webkit-line-clamp: unset;
944
+ display: block;
945
+ max-height: none;
946
+ overflow: visible;
947
+ text-overflow: clip;
948
+ white-space: pre-line;
949
+ }
950
+
957
951
  .orion-builder-content .features .feature-item h3 {
958
952
  color: #ffffff;
959
953
  }
@@ -5738,16 +5738,17 @@ function BuilderPageEditor({ featureFlags: _featureFlags, initialDoc, pageID, si
5738
5738
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
5739
5739
  ] })
5740
5740
  ] }),
5741
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5741
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5742
5742
  InlineText,
5743
5743
  {
5744
- as: "span",
5744
+ as: "p",
5745
+ className: "quote testimonial-quote",
5745
5746
  multiline: true,
5746
5747
  onCommit: (value) => updateArrayItemField(index, "items", itemIndex, "quote", value),
5747
5748
  placeholder: "Customer quote",
5748
5749
  value: normalizeText2(item?.quote)
5749
5750
  }
5750
- ) }),
5751
+ ),
5751
5752
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "quote-author", children: [
5752
5753
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "quote-avatar", children: normalizeText2(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
5753
5754
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
@@ -5815,16 +5816,17 @@ function BuilderPageEditor({ featureFlags: _featureFlags, initialDoc, pageID, si
5815
5816
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
5816
5817
  ] })
5817
5818
  ] }),
5818
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5819
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5819
5820
  InlineText,
5820
5821
  {
5821
- as: "span",
5822
+ as: "p",
5823
+ className: "quote testimonial-quote",
5822
5824
  multiline: true,
5823
5825
  onCommit: (value) => updateArrayItemField(index, "items", itemIndex, "quote", value),
5824
5826
  placeholder: "Customer quote",
5825
5827
  value: normalizeText2(item?.quote)
5826
5828
  }
5827
- ) }),
5829
+ ),
5828
5830
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "quote-author", children: [
5829
5831
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "quote-avatar", children: normalizeText2(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
5830
5832
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
@@ -5619,16 +5619,17 @@ function BuilderPageEditor({ featureFlags: _featureFlags, initialDoc, pageID, si
5619
5619
  /* @__PURE__ */ jsx13("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
5620
5620
  ] })
5621
5621
  ] }),
5622
- /* @__PURE__ */ jsx13("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ jsx13(
5622
+ /* @__PURE__ */ jsx13(
5623
5623
  InlineText,
5624
5624
  {
5625
- as: "span",
5625
+ as: "p",
5626
+ className: "quote testimonial-quote",
5626
5627
  multiline: true,
5627
5628
  onCommit: (value) => updateArrayItemField(index, "items", itemIndex, "quote", value),
5628
5629
  placeholder: "Customer quote",
5629
5630
  value: normalizeText2(item?.quote)
5630
5631
  }
5631
- ) }),
5632
+ ),
5632
5633
  /* @__PURE__ */ jsxs12("div", { className: "quote-author", children: [
5633
5634
  /* @__PURE__ */ jsx13("div", { className: "quote-avatar", children: normalizeText2(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
5634
5635
  /* @__PURE__ */ jsxs12("div", { children: [
@@ -5696,16 +5697,17 @@ function BuilderPageEditor({ featureFlags: _featureFlags, initialDoc, pageID, si
5696
5697
  /* @__PURE__ */ jsx13("span", { className: "testimonial-stars-muted", children: "\u2605".repeat(5 - ratingValue) })
5697
5698
  ] })
5698
5699
  ] }),
5699
- /* @__PURE__ */ jsx13("p", { className: "quote testimonial-quote", children: /* @__PURE__ */ jsx13(
5700
+ /* @__PURE__ */ jsx13(
5700
5701
  InlineText,
5701
5702
  {
5702
- as: "span",
5703
+ as: "p",
5704
+ className: "quote testimonial-quote",
5703
5705
  multiline: true,
5704
5706
  onCommit: (value) => updateArrayItemField(index, "items", itemIndex, "quote", value),
5705
5707
  placeholder: "Customer quote",
5706
5708
  value: normalizeText2(item?.quote)
5707
5709
  }
5708
- ) }),
5710
+ ),
5709
5711
  /* @__PURE__ */ jsxs12("div", { className: "quote-author", children: [
5710
5712
  /* @__PURE__ */ jsx13("div", { className: "quote-avatar", children: normalizeText2(item?.name, "C").split(" ").slice(0, 2).map((part) => part[0]).join("").toUpperCase() }),
5711
5713
  /* @__PURE__ */ jsxs12("div", { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-studios/payload-studio",
3
- "version": "0.5.0-beta.80",
3
+ "version": "0.5.0-beta.82",
4
4
  "description": "Unified Payload CMS toolkit for Orion Studios",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",