@dxos/plugin-deck 0.7.1-staging.8709ba7 → 0.7.2-staging.6d26b2a

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.
@@ -125,7 +125,7 @@ var ActiveNode = () => {
125
125
  import React6, { useMemo as useMemo2 } from "react";
126
126
  import { NavigationAction as NavigationAction2, SLUG_PATH_SEPARATOR as SLUG_PATH_SEPARATOR2, Surface as Surface3, useIntentDispatcher as useIntentDispatcher2 } from "@dxos/app-framework";
127
127
  import { useGraph as useGraph3 } from "@dxos/plugin-graph";
128
- import { Main } from "@dxos/react-ui";
128
+ import { Main, ScrollArea } from "@dxos/react-ui";
129
129
  import { useAttended as useAttended2 } from "@dxos/react-ui-attention";
130
130
  import { railGridHorizontal, StackContext } from "@dxos/react-ui-stack";
131
131
  import { mx as mx2 } from "@dxos/react-ui-theme";
@@ -176,7 +176,7 @@ var PlankControls = /* @__PURE__ */ forwardRef(({ onClick, variant = "default",
176
176
  label: isSolo ? t("show deck plank label") : t("show solo plank label"),
177
177
  classNames: buttonClassNames,
178
178
  onClick: () => onClick?.("solo"),
179
- icon: isSolo ? "ph--vibrate--regular" : "ph--arrows-out--regular"
179
+ icon: isSolo ? "ph--arrow-u-down-left--regular" : "ph--arrows-out--regular"
180
180
  }), !isSolo && can.solo && /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(PlankControl, {
181
181
  label: t("increment start label"),
182
182
  disabled: !can.incrementStart,
@@ -443,15 +443,13 @@ var ComplementarySidebar = ({ panels, current }) => {
443
443
  }
444
444
  }, /* @__PURE__ */ React6.createElement("div", {
445
445
  role: "none",
446
- className: mx2(railGridHorizontal, "grid-cols-1 bs-full")
446
+ className: mx2(railGridHorizontal, "grid grid-cols-[100%] bs-full")
447
447
  }, /* @__PURE__ */ React6.createElement(NodePlankHeading, {
448
448
  coordinate,
449
449
  node,
450
450
  popoverAnchorId,
451
451
  actions
452
- }), /* @__PURE__ */ React6.createElement("div", {
453
- className: "divide-y divide-separator overflow-x-hidden overflow-y-scroll"
454
- }, node && /* @__PURE__ */ React6.createElement(Surface3, {
452
+ }), /* @__PURE__ */ React6.createElement(ScrollArea.Root, null, /* @__PURE__ */ React6.createElement(ScrollArea.Viewport, null, node && /* @__PURE__ */ React6.createElement(Surface3, {
455
453
  key: id,
456
454
  role: `complementary--${panel}`,
457
455
  limit: 1,
@@ -462,7 +460,9 @@ var ComplementarySidebar = ({ panels, current }) => {
462
460
  },
463
461
  fallback: PlankContentError,
464
462
  placeholder: /* @__PURE__ */ React6.createElement(PlankLoading, null)
465
- })))));
463
+ }), /* @__PURE__ */ React6.createElement(ScrollArea.Scrollbar, {
464
+ orientation: "vertical"
465
+ }, /* @__PURE__ */ React6.createElement(ScrollArea.Thumb, null)))))));
466
466
  };
467
467
 
468
468
  // packages/plugins/plugin-deck/src/components/DeckLayout/ContentEmpty.tsx
@@ -638,6 +638,7 @@ var Plank = /* @__PURE__ */ memo2(({ entry, layoutParts, part, layoutMode, order
638
638
  canIncrementEnd,
639
639
  popoverAnchorId
640
640
  }), /* @__PURE__ */ React10.createElement(Surface6, {
641
+ key: node.id,
641
642
  role: "article",
642
643
  data,
643
644
  limit: 1,
@@ -1189,7 +1190,7 @@ var translations_default = [
1189
1190
  "pin end label": "Pin to the right sidebar",
1190
1191
  "increment start label": "Move to the left",
1191
1192
  "increment end label": "Move to the right",
1192
- "show deck plank label": "Show deck",
1193
+ "show deck plank label": "Return to deck",
1193
1194
  "show solo plank label": "Maximize",
1194
1195
  "close label": "Close",
1195
1196
  "minify label": "Minify",