@beyondwork/docx-react-component 1.0.369 → 1.0.370

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.
@@ -30,7 +30,7 @@ import {
30
30
  shouldHideInCleanMode,
31
31
  shouldHideInOriginalMode,
32
32
  useChromeStrings
33
- } from "./chunk-NZWRRQ3F.js";
33
+ } from "./chunk-4T2EC23H.js";
34
34
  import {
35
35
  useAnnounce
36
36
  } from "./chunk-47J5U2KM.js";
@@ -204,7 +204,7 @@ import {
204
204
  useLayoutFacetRenderSignal,
205
205
  useModalFocusTrap,
206
206
  useUiApi
207
- } from "./chunk-NZWRRQ3F.js";
207
+ } from "./chunk-4T2EC23H.js";
208
208
  import {
209
209
  createActionEnablementCache,
210
210
  isHarnessEnvironmentActive,
@@ -214,7 +214,7 @@ import {
214
214
  resolveChromeVisibilityFromConfig,
215
215
  resolveEffectiveChromeConfig,
216
216
  resolveTypingOffNoticeVisible
217
- } from "./chunk-FGYKA36U.js";
217
+ } from "./chunk-NVUBNJK6.js";
218
218
  import {
219
219
  addUiOverlayLaneGeometryPageBuckets,
220
220
  buildPageAnchorAttributes,
@@ -27426,6 +27426,15 @@ var WordReviewEditorInner = forwardRef3(
27426
27426
  focusRelativeRegion(shell, shortcut.direction);
27427
27427
  return;
27428
27428
  }
27429
+ case "focus-rail": {
27430
+ internalChromeControllerRef.current?.openRailTab("comments");
27431
+ const focusRail = () => {
27432
+ shellRef.current?.querySelector('[data-wre-region="review-rail"]')?.focus();
27433
+ };
27434
+ focusRail();
27435
+ queueMicrotask(focusRail);
27436
+ return;
27437
+ }
27429
27438
  case "toggle-formatting":
27430
27439
  if (shortcut.mark === "bold") {
27431
27440
  commands.onToggleBold?.();
@@ -1931,7 +1931,97 @@ var DEFAULT_CHROME_STRINGS = {
1931
1931
  modeEditDisabledReason: "Editing is not available in this document.",
1932
1932
  typingOffNoticeTitle: "Typing is off in review",
1933
1933
  typingOffNoticeDetail: "Use Suggest change to propose an edit.",
1934
- typingOffNoticeSuggestingDetail: "Changes are made as suggestions."
1934
+ typingOffNoticeSuggestingDetail: "Changes are made as suggestions.",
1935
+ ribbonTabsLabel: "Ribbon tabs",
1936
+ expandRibbonLabel: "Expand ribbon",
1937
+ collapseRibbonLabel: "Collapse ribbon",
1938
+ analyticsTabBodyLabel: "Analytics tab body",
1939
+ analyticsUnavailable: "Analytics unavailable",
1940
+ reviewTabBodyLabel: "Review tab body",
1941
+ workflowTabBodyLabel: "Workflow tab body",
1942
+ notAvailableCommandHandler: "Not available: command handler not supplied by the toolbar host.",
1943
+ scopeBreakdownLabel: "Scope breakdown",
1944
+ commandPaletteLabel: "Open command palette",
1945
+ toggleAnalyticsLabel: "Toggle analytics",
1946
+ customScopeLabel: "Custom scope",
1947
+ customScopeNameLabel: "Custom scope name",
1948
+ closeCustomScopeDialogLabel: "Close custom scope dialog",
1949
+ addCommentLabel: "Add comment",
1950
+ trackedChangesLabel: "Track Changes",
1951
+ trackedChangesOnLabel: "Tracking on",
1952
+ trackedChangesOffLabel: "Tracking off",
1953
+ trackedChangesOnTitle: "Tracking on: new edits are recorded as redlines",
1954
+ trackedChangesOffTitle: "Tracking off: new edits are applied directly",
1955
+ showTrackedChangesSidebarLabel: "Show tracked changes in sidebar",
1956
+ showCommentsSidebarLabel: "Show comments in sidebar",
1957
+ trackedChangesPanelLabel: "Tracked changes panel",
1958
+ commentsPanelLabel: "Comments panel",
1959
+ compareLabel: "Compare",
1960
+ compareDocumentLabel: "Compare document",
1961
+ compareWithAnotherDocumentLabel: "Compare with another document",
1962
+ chooseDocumentToCompareLabel: "Choose document to compare",
1963
+ moreLabel: "More",
1964
+ pagesLabel: "Pages",
1965
+ charsLabel: "Chars",
1966
+ exportLabel: "Export",
1967
+ blockedLabel: "Blocked",
1968
+ readyLabel: "Ready",
1969
+ itemsLabel: "Items",
1970
+ changesLabel: "Changes",
1971
+ commentsLabel: "Comments",
1972
+ opaqueLabel: "Opaque",
1973
+ scopesLabel: "Scopes",
1974
+ tasksLabel: "Tasks",
1975
+ approvalsLabel: "Approvals",
1976
+ analyticsLabel: "Analytics",
1977
+ homeTabLabel: "Home",
1978
+ insertTabLabel: "Insert",
1979
+ layoutTabLabel: "Layout",
1980
+ reviewTabLabel: "Review",
1981
+ workflowTabLabel: "Workflow",
1982
+ defaultDocumentTitle: "Document",
1983
+ defaultWordmark: "COMPOSER",
1984
+ resolveBlockersAction: "Resolve blockers",
1985
+ reviewPendingChangesAction: "Review pending changes",
1986
+ openCommentThreadAction: "Open comment thread",
1987
+ documentReadyAction: "Document ready",
1988
+ documentGroupLabel: "Document",
1989
+ reviewGroupLabel: "Review",
1990
+ riskGroupLabel: "Risk",
1991
+ workflowGroupLabel: "Workflow",
1992
+ scopesGroupLabel: "Scopes",
1993
+ toolsGroupLabel: "Tools",
1994
+ nextGroupLabel: "Next",
1995
+ savedLabel: "Saved",
1996
+ unsavedLabel: "Unsaved",
1997
+ exportBlockedLabel: "Export blocked",
1998
+ pageAnchoredStoriesNotShownLabel: "Page-anchored stories not shown",
1999
+ trackChangesAuthoringLabel: "Track changes authoring",
2000
+ zoomControlsLabel: "Zoom controls",
2001
+ zoomOutLabel: "Zoom out",
2002
+ zoomLevelLabel: "Zoom level",
2003
+ zoomInLabel: "Zoom in",
2004
+ workspaceViewLabel: "Workspace view",
2005
+ canvasViewLabel: "Canvas view",
2006
+ pageViewLabel: "Page view",
2007
+ markupDisplayLabel: "Markup display",
2008
+ trackingOnDetail: "Tracking on: new typing, insertions, deletions, and formatting changes become redlines.",
2009
+ trackingOffDetail: "Tracking off: new edits are applied directly. Existing markup display is controlled separately.",
2010
+ workflowScopeControlsLabel: "Workflow scope controls",
2011
+ createCustomWorkflowScopeLabel: "Create custom workflow scope",
2012
+ customScopeModeInputLabel: "Custom scope mode",
2013
+ customScopeColorInputLabel: "Custom scope color",
2014
+ scopeColorPlaceholder: "#64748b",
2015
+ metadataKeyPlaceholderLabel: "Key",
2016
+ metadataValuePlaceholderLabel: "Value",
2017
+ customLabel: "Custom",
2018
+ nameLabel: "Name",
2019
+ modeLabel: "Mode",
2020
+ colorLabel: "Color",
2021
+ metadataLabelText: "Metadata",
2022
+ addLabel: "Add",
2023
+ cancelLabel: "Cancel",
2024
+ createLabel: "Create"
1935
2025
  };
1936
2026
  function resolveChromeStrings(overrides) {
1937
2027
  if (!overrides) return DEFAULT_CHROME_STRINGS;