@dxos/react-ui-editor 0.7.5-labs.e27f9b9 → 0.7.5-main.2567c87

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