@dxos/react-ui-editor 0.8.1-main.303c73a → 0.8.1-main.81238a8

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.
@@ -7,7 +7,7 @@ import { mx } from '@dxos/react-ui-theme';
7
7
  export const stackItemContentEditorClassNames = (role?: string) =>
8
8
  mx(
9
9
  'dx-focus-ring-inset data-[toolbar=disabled]:pbs-2 attention-surface',
10
- role === 'article' ? 'min-bs-0' : '[&_.cm-scroller]:overflow-hidden [&_.cm-scroller]:min-bs-24',
10
+ role === 'section' ? '[&_.cm-scroller]:overflow-hidden [&_.cm-scroller]:min-bs-24' : 'min-bs-0',
11
11
  );
12
12
 
13
13
  export const stackItemContentToolbarClassNames = (role?: string) =>
@@ -137,6 +137,7 @@ export const defaultTheme: ThemeStyles = {
137
137
  '.cm-link': {
138
138
  textDecorationLine: 'underline',
139
139
  textDecorationThickness: '1px',
140
+ textDecorationColor: 'var(--dx-separator)',
140
141
  textUnderlineOffset: '2px',
141
142
  borderRadius: '.125rem',
142
143
  },
package/src/util/debug.ts CHANGED
@@ -59,6 +59,6 @@ export const logChanges = (trs: readonly Transaction[]) => {
59
59
  .filter(Boolean);
60
60
 
61
61
  if (changes.length) {
62
- log.info('changes', { changes });
62
+ log('changes', { changes });
63
63
  }
64
64
  };