@orion-studios/payload-studio 0.6.0-beta.147 → 0.6.0-beta.148

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.
@@ -1482,7 +1482,6 @@ var decorateBuilderTraitToggles = () => {
1482
1482
  const labelText = trait?.querySelector(".gjs-trt-trait__label, .gjs-label")?.textContent?.trim();
1483
1483
  const traitName = input.getAttribute("name") || input.id || "";
1484
1484
  const description = input.dataset.orionTraitDescription || (traitName.includes("pause-on-hover") || labelText === "Pause on hover" ? "Stop scrolling while visitors hover over the banner." : "");
1485
- const labelWrapper = trait?.querySelector(".gjs-label-wrp");
1486
1485
  const label = trait?.querySelector(".gjs-trt-trait__label, .gjs-label");
1487
1486
  if (description && label && !label.querySelector(":scope > .orion-builder-v2-help-trigger")) {
1488
1487
  const trigger = document.createElement("button");
@@ -1494,11 +1493,6 @@ var decorateBuilderTraitToggles = () => {
1494
1493
  trigger.textContent = "?";
1495
1494
  label.appendChild(trigger);
1496
1495
  }
1497
- if (description && labelWrapper && !labelWrapper.querySelector(":scope > small")) {
1498
- const small = document.createElement("small");
1499
- small.textContent = description;
1500
- labelWrapper.appendChild(small);
1501
- }
1502
1496
  if (input.dataset.orionToggleBound === "true") {
1503
1497
  return;
1504
1498
  }
@@ -3952,13 +3946,10 @@ function GrapesPageEditor({
3952
3946
  disabled: !selectionSummary,
3953
3947
  onClick: toggleSticky,
3954
3948
  type: "button",
3955
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
3956
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("strong", { children: [
3957
- "Sticky section",
3958
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HelpTrigger, { help: "Keep this selected section visible while visitors scroll past it.", label: "Sticky section" })
3959
- ] }),
3960
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "Keep this section pinned while scrolling." })
3961
- ] })
3949
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("strong", { children: [
3950
+ "Sticky section",
3951
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HelpTrigger, { help: "Keep this selected section visible while visitors scroll past it.", label: "Sticky section" })
3952
+ ] }) })
3962
3953
  }
3963
3954
  ),
3964
3955
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -3969,13 +3960,10 @@ function GrapesPageEditor({
3969
3960
  disabled: !selectionSummary,
3970
3961
  onClick: toggleHidden,
3971
3962
  type: "button",
3972
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
3973
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("strong", { children: [
3974
- "Hide section",
3975
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HelpTrigger, { help: "Hide this selected section on the page without deleting its content.", label: "Hide section" })
3976
- ] }),
3977
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "Keep it saved but do not show it on the page." })
3978
- ] })
3963
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("strong", { children: [
3964
+ "Hide section",
3965
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HelpTrigger, { help: "Hide this selected section on the page without deleting its content.", label: "Hide section" })
3966
+ ] }) })
3979
3967
  }
3980
3968
  )
3981
3969
  ] })
@@ -1358,7 +1358,6 @@ var decorateBuilderTraitToggles = () => {
1358
1358
  const labelText = trait?.querySelector(".gjs-trt-trait__label, .gjs-label")?.textContent?.trim();
1359
1359
  const traitName = input.getAttribute("name") || input.id || "";
1360
1360
  const description = input.dataset.orionTraitDescription || (traitName.includes("pause-on-hover") || labelText === "Pause on hover" ? "Stop scrolling while visitors hover over the banner." : "");
1361
- const labelWrapper = trait?.querySelector(".gjs-label-wrp");
1362
1361
  const label = trait?.querySelector(".gjs-trt-trait__label, .gjs-label");
1363
1362
  if (description && label && !label.querySelector(":scope > .orion-builder-v2-help-trigger")) {
1364
1363
  const trigger = document.createElement("button");
@@ -1370,11 +1369,6 @@ var decorateBuilderTraitToggles = () => {
1370
1369
  trigger.textContent = "?";
1371
1370
  label.appendChild(trigger);
1372
1371
  }
1373
- if (description && labelWrapper && !labelWrapper.querySelector(":scope > small")) {
1374
- const small = document.createElement("small");
1375
- small.textContent = description;
1376
- labelWrapper.appendChild(small);
1377
- }
1378
1372
  if (input.dataset.orionToggleBound === "true") {
1379
1373
  return;
1380
1374
  }
@@ -3828,13 +3822,10 @@ function GrapesPageEditor({
3828
3822
  disabled: !selectionSummary,
3829
3823
  onClick: toggleSticky,
3830
3824
  type: "button",
3831
- children: /* @__PURE__ */ jsxs("span", { children: [
3832
- /* @__PURE__ */ jsxs("strong", { children: [
3833
- "Sticky section",
3834
- /* @__PURE__ */ jsx(HelpTrigger, { help: "Keep this selected section visible while visitors scroll past it.", label: "Sticky section" })
3835
- ] }),
3836
- /* @__PURE__ */ jsx("small", { children: "Keep this section pinned while scrolling." })
3837
- ] })
3825
+ children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsxs("strong", { children: [
3826
+ "Sticky section",
3827
+ /* @__PURE__ */ jsx(HelpTrigger, { help: "Keep this selected section visible while visitors scroll past it.", label: "Sticky section" })
3828
+ ] }) })
3838
3829
  }
3839
3830
  ),
3840
3831
  /* @__PURE__ */ jsx(
@@ -3845,13 +3836,10 @@ function GrapesPageEditor({
3845
3836
  disabled: !selectionSummary,
3846
3837
  onClick: toggleHidden,
3847
3838
  type: "button",
3848
- children: /* @__PURE__ */ jsxs("span", { children: [
3849
- /* @__PURE__ */ jsxs("strong", { children: [
3850
- "Hide section",
3851
- /* @__PURE__ */ jsx(HelpTrigger, { help: "Hide this selected section on the page without deleting its content.", label: "Hide section" })
3852
- ] }),
3853
- /* @__PURE__ */ jsx("small", { children: "Keep it saved but do not show it on the page." })
3854
- ] })
3839
+ children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsxs("strong", { children: [
3840
+ "Hide section",
3841
+ /* @__PURE__ */ jsx(HelpTrigger, { help: "Hide this selected section on the page without deleting its content.", label: "Hide section" })
3842
+ ] }) })
3855
3843
  }
3856
3844
  )
3857
3845
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-studios/payload-studio",
3
- "version": "0.6.0-beta.147",
3
+ "version": "0.6.0-beta.148",
4
4
  "description": "Base CMS, builder, and custom admin toolkit for Orion Studios websites",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",