@fileverse-dev/ddoc 7.0.0-drop-in.0 → 7.0.1-mobile-comments.0

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.
@@ -1,3 +1,3 @@
1
1
  import { CommentDrawerProps } from './types';
2
2
 
3
- export declare const CommentDrawer: ({ isOpen, onClose, isNavbarVisible, isPresentationMode, activeCommentId, activeTabId, onTabChange, isPreviewMode, tabs, }: CommentDrawerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CommentDrawer: ({ isOpen, onClose, isNavbarVisible, isPresentationMode, activeCommentId, activeTabId, onTabChange, isPreviewMode, tabs, mobileContainer, }: CommentDrawerProps) => import("react/jsx-runtime").JSX.Element;
@@ -36,6 +36,7 @@ export interface CommentDrawerProps {
36
36
  onTabChange?: (tabId: string) => void;
37
37
  isPreviewMode: boolean;
38
38
  tabs: Tab[];
39
+ mobileContainer?: HTMLElement | null;
39
40
  }
40
41
  export interface CommentCardProps extends IComment {
41
42
  comment?: string;
@@ -356,6 +356,9 @@ export type SchemaStampGuardEvent = {
356
356
  } | {
357
357
  kind: 'reverted';
358
358
  preferredSchemaVersion: number;
359
+ } | {
360
+ kind: 'unasserted-new';
361
+ preferredSchemaVersion: number;
359
362
  };
360
363
  export interface IEditorSelectionData {
361
364
  from: number;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "7.0.0-drop-in.0",
5
+ "version": "7.0.1-mobile-comments.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/fileverse/fileverse-ddocs.git"
@@ -205,4 +205,4 @@
205
205
  "vitest": "^2.1.0",
206
206
  "yjs": "13.6.30"
207
207
  }
208
- }
208
+ }
@@ -1,6 +1,6 @@
1
1
  // This file is the `@fileverse-dev/ddoc/tailwind` preset. It composes the ui preset
2
2
  // (dark mode, theme, design-system classes) and adds the `mobile` screen.
3
- // It also adds the ddoc-* variants (docs/DROP_IN_EDITOR.md §2.9).
3
+ // It also adds the ddoc-* variants (AGENTS.md, Layout contract).
4
4
  // Consumers: `presets: [require('@fileverse-dev/ddoc/tailwind')]` and add
5
5
  // node_modules/@fileverse-dev/ddoc/dist/**/*.{js,mjs} plus
6
6
  // node_modules/@fileverse/ui/dist/**/*.{js,mjs} to `content` (the dist is chunked).