@dxos/react-ui-editor 0.7.5-labs.a279d8c → 0.7.5-labs.f5080a1

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.
@@ -120,7 +120,12 @@ var createCommentAction = (label) => createEditorAction({
120
120
  }, "ph--chat-text--regular", label);
121
121
  var createComment = (state) => ({
122
122
  nodes: [
123
- createCommentAction(commentLabel(state.comment, state.selection))
123
+ createCommentAction([
124
+ commentLabel(state.comment, state.selection),
125
+ {
126
+ ns: translationKey
127
+ }
128
+ ])
124
129
  ],
125
130
  edges: [
126
131
  {
@@ -308,7 +313,7 @@ var createViewMode = (state) => {
308
313
 
309
314
  // packages/ui/react-ui-editor/src/styles/stack-item-content-class-names.ts
310
315
  import { mx } from "@dxos/react-ui-theme";
311
- var stackItemContentEditorClassNames = (role) => mx("ch-focus-ring-inset data-[toolbar=disabled]:pbs-2 attention-surface", role === "article" ? "min-bs-0" : "[&_.cm-scroller]:overflow-hidden [&_.cm-scroller]:min-bs-24");
316
+ var stackItemContentEditorClassNames = (role) => mx("dx-focus-ring-inset data-[toolbar=disabled]:pbs-2 attention-surface", role === "article" ? "min-bs-0" : "[&_.cm-scroller]:overflow-hidden [&_.cm-scroller]:min-bs-24");
312
317
  var stackItemContentToolbarClassNames = (role) => mx("attention-surface is-full border-be !border-separator", role === "section" && "sticky block-start-0 z-[1] -mbe-px min-is-0");
313
318
 
314
319
  // packages/ui/react-ui-editor/src/components/EditorToolbar/EditorToolbar.tsx
@@ -406,7 +411,7 @@ var headings = {
406
411
  3: "text-2xl",
407
412
  4: "text-xl",
408
413
  5: "text-lg",
409
- 6: "text-md"
414
+ 6: ""
410
415
  };
411
416
  var theme = {
412
417
  code: "font-mono !no-underline text-neutral-700 dark:text-neutral-300",
@@ -526,7 +531,7 @@ var defaultTheme = {
526
531
  * Tooltip.
527
532
  */
528
533
  ".cm-tooltip": {
529
- background: "var(--dx-base)"
534
+ background: "var(--dx-baseSurface)"
530
535
  },
531
536
  ".cm-tooltip-below": {},
532
537
  /**
@@ -4762,7 +4767,7 @@ var CheckboxWidget = class extends WidgetType5 {
4762
4767
  }
4763
4768
  toDOM(view) {
4764
4769
  const input = document.createElement("input");
4765
- input.className = "cm-task-checkbox ch-checkbox";
4770
+ input.className = "cm-task-checkbox dx-checkbox";
4766
4771
  input.type = "checkbox";
4767
4772
  input.tabIndex = -1;
4768
4773
  input.checked = this._checked;