@prosekit/react 0.5.3 → 0.6.1

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.
Files changed (94) hide show
  1. package/dist/create-component-CBvs05W1.js +2 -1
  2. package/dist/create-component-CBvs05W1.js.map +1 -0
  3. package/dist/{create-props-CkTwd_m_.d.ts → create-props-EGV61dJR.d.ts} +3 -2
  4. package/dist/create-props-EGV61dJR.d.ts.map +1 -0
  5. package/dist/editor-context-Cci4uqN_.js +2 -1
  6. package/dist/editor-context-Cci4uqN_.js.map +1 -0
  7. package/dist/prosekit-react-autocomplete.d.ts +11 -10
  8. package/dist/prosekit-react-autocomplete.d.ts.map +1 -0
  9. package/dist/prosekit-react-autocomplete.js +2 -1
  10. package/dist/prosekit-react-autocomplete.js.map +1 -0
  11. package/dist/prosekit-react-block-handle.d.ts +9 -8
  12. package/dist/prosekit-react-block-handle.d.ts.map +1 -0
  13. package/dist/prosekit-react-block-handle.js +2 -1
  14. package/dist/prosekit-react-block-handle.js.map +1 -0
  15. package/dist/prosekit-react-drop-indicator.d.ts +14 -0
  16. package/dist/prosekit-react-drop-indicator.d.ts.map +1 -0
  17. package/dist/prosekit-react-drop-indicator.js +10 -0
  18. package/dist/prosekit-react-drop-indicator.js.map +1 -0
  19. package/dist/prosekit-react-inline-popover.d.ts +5 -4
  20. package/dist/prosekit-react-inline-popover.d.ts.map +1 -0
  21. package/dist/prosekit-react-inline-popover.js +2 -1
  22. package/dist/prosekit-react-inline-popover.js.map +1 -0
  23. package/dist/prosekit-react-popover.d.ts +9 -8
  24. package/dist/prosekit-react-popover.d.ts.map +1 -0
  25. package/dist/prosekit-react-popover.js +2 -1
  26. package/dist/prosekit-react-popover.js.map +1 -0
  27. package/dist/prosekit-react-resizable.d.ts +7 -6
  28. package/dist/prosekit-react-resizable.d.ts.map +1 -0
  29. package/dist/prosekit-react-resizable.js +2 -1
  30. package/dist/prosekit-react-resizable.js.map +1 -0
  31. package/dist/prosekit-react-table-handle.d.ts +21 -20
  32. package/dist/prosekit-react-table-handle.d.ts.map +1 -0
  33. package/dist/prosekit-react-table-handle.js +2 -1
  34. package/dist/prosekit-react-table-handle.js.map +1 -0
  35. package/dist/prosekit-react-tooltip.d.ts +9 -8
  36. package/dist/prosekit-react-tooltip.d.ts.map +1 -0
  37. package/dist/prosekit-react-tooltip.js +2 -1
  38. package/dist/prosekit-react-tooltip.js.map +1 -0
  39. package/dist/prosekit-react.d.ts +96 -81
  40. package/dist/prosekit-react.d.ts.map +1 -0
  41. package/dist/prosekit-react.js +2 -1
  42. package/dist/prosekit-react.js.map +1 -0
  43. package/package.json +25 -17
  44. package/src/components/autocomplete/autocomplete-empty.gen.ts +34 -0
  45. package/src/components/autocomplete/autocomplete-item.gen.ts +34 -0
  46. package/src/components/autocomplete/autocomplete-list.gen.ts +34 -0
  47. package/src/components/autocomplete/autocomplete-popover.gen.ts +34 -0
  48. package/src/components/autocomplete/index.gen.ts +7 -0
  49. package/src/components/block-handle/block-handle-add.gen.ts +34 -0
  50. package/src/components/block-handle/block-handle-draggable.gen.ts +34 -0
  51. package/src/components/block-handle/block-handle-popover.gen.ts +34 -0
  52. package/src/components/block-handle/index.gen.ts +5 -0
  53. package/src/components/create-component.ts +133 -0
  54. package/src/components/create-props.ts +13 -0
  55. package/src/components/drop-indicator/drop-indicator.gen.ts +34 -0
  56. package/src/components/drop-indicator/index.gen.ts +1 -0
  57. package/src/components/inline-popover/index.gen.ts +1 -0
  58. package/src/components/inline-popover/inline-popover.gen.ts +34 -0
  59. package/src/components/merge-refs.ts +35 -0
  60. package/src/components/popover/index.gen.ts +5 -0
  61. package/src/components/popover/popover-content.gen.ts +34 -0
  62. package/src/components/popover/popover-root.gen.ts +34 -0
  63. package/src/components/popover/popover-trigger.gen.ts +34 -0
  64. package/src/components/prosekit.ts +37 -0
  65. package/src/components/resizable/index.gen.ts +3 -0
  66. package/src/components/resizable/resizable-handle.gen.ts +34 -0
  67. package/src/components/resizable/resizable-root.gen.ts +34 -0
  68. package/src/components/table-handle/index.gen.ts +17 -0
  69. package/src/components/table-handle/table-handle-column-root.gen.ts +34 -0
  70. package/src/components/table-handle/table-handle-column-trigger.gen.ts +34 -0
  71. package/src/components/table-handle/table-handle-drag-preview.gen.ts +34 -0
  72. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +34 -0
  73. package/src/components/table-handle/table-handle-popover-content.gen.ts +34 -0
  74. package/src/components/table-handle/table-handle-popover-item.gen.ts +34 -0
  75. package/src/components/table-handle/table-handle-root.gen.ts +34 -0
  76. package/src/components/table-handle/table-handle-row-root.gen.ts +34 -0
  77. package/src/components/table-handle/table-handle-row-trigger.gen.ts +34 -0
  78. package/src/components/tooltip/index.gen.ts +5 -0
  79. package/src/components/tooltip/tooltip-content.gen.ts +34 -0
  80. package/src/components/tooltip/tooltip-root.gen.ts +34 -0
  81. package/src/components/tooltip/tooltip-trigger.gen.ts +34 -0
  82. package/src/contexts/editor-context.ts +23 -0
  83. package/src/extensions/react-mark-view.ts +93 -0
  84. package/src/extensions/react-node-view.ts +93 -0
  85. package/src/hooks/use-doc-change.ts +24 -0
  86. package/src/hooks/use-editor-derived-value.ts +83 -0
  87. package/src/hooks/use-editor-extension.ts +24 -0
  88. package/src/hooks/use-editor.ts +62 -0
  89. package/src/hooks/use-extension.ts +41 -0
  90. package/src/hooks/use-keymap.ts +15 -0
  91. package/src/hooks/use-priority-extension.ts +18 -0
  92. package/src/hooks/use-state-update.ts +24 -0
  93. package/src/index.ts +29 -0
  94. package/src/types.ts +6 -0
@@ -91,4 +91,5 @@ function createComponent(tagName, displayName, propNames, eventNames) {
91
91
  }
92
92
 
93
93
  //#endregion
94
- export { createComponent };
94
+ export { createComponent };
95
+ //# sourceMappingURL=create-component-CBvs05W1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-component-CBvs05W1.js","names":["cleanups: VoidFunction[]","properties: Record<string, unknown>","attributes: Record<string, unknown>","eventHandlers: Record<string, AnyFunction>","fixedEventHandlers: Record<string, AnyFunction>"],"sources":["../src/components/merge-refs.ts","../src/components/create-component.ts"],"sourcesContent":["import type { Ref } from 'react'\n\n/**\n * Assigns a value to a ref.\n * @returns The ref cleanup callback, if any.\n */\nfunction assignRef<T>(\n ref: Ref<T> | undefined,\n value: T | null,\n): VoidFunction | undefined | void {\n if (typeof ref === 'function') {\n return ref(value)\n } else if (ref) {\n ref.current = value\n }\n}\n\n/**\n * Merges multiple refs into a single one.\n */\nexport function mergeRefs<T>(refs: (Ref<T> | undefined)[]): Ref<T> {\n return (value: T | null) => {\n const cleanups: VoidFunction[] = []\n\n for (const ref of refs) {\n const cleanup = assignRef(ref, value)\n const isCleanup = typeof cleanup === 'function'\n cleanups.push(isCleanup ? cleanup : () => assignRef(ref, null))\n }\n\n return () => {\n for (const cleanup of cleanups) cleanup()\n }\n }\n}\n","import type { AnyFunction } from '@prosekit/core'\nimport {\n createElement,\n forwardRef,\n useEffect,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type ForwardRefExoticComponent,\n type HTMLAttributes,\n type RefAttributes,\n} from 'react'\n\nimport { useEditorContext } from '../contexts/editor-context'\n\nimport { mergeRefs } from './merge-refs'\n\nconst useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect\n\nexport function createComponent<\n Props extends object,\n CustomElement extends HTMLElement,\n>(\n tagName: string,\n displayName: string,\n propNames: string[],\n eventNames: string[],\n): ForwardRefExoticComponent<\n Partial<Props> & RefAttributes<CustomElement> & HTMLAttributes<CustomElement>\n> {\n const hasEditor = propNames.includes('editor')\n const lowerCaseEventNameMap = new Map(\n eventNames.map((name) => [name.toLowerCase(), name]),\n )\n\n const Component = forwardRef<any, any>((props: Props, ref) => {\n const [el, setEl] = useState<HTMLElement | null>(null)\n\n const properties: Record<string, unknown> = {}\n const attributes: Record<string, unknown> = {}\n const eventHandlersRef = useRef<Record<string, AnyFunction>>({})\n const eventHandlers: Record<string, AnyFunction> = {}\n\n for (const [name, value] of Object.entries(props)) {\n if (value === undefined) {\n continue\n }\n\n if (propNames.includes(name)) {\n properties[name] = value\n continue\n }\n\n if (name.startsWith('on')) {\n const lowerCaseEventName = name.slice(2).toLowerCase()\n const eventName = lowerCaseEventNameMap.get(lowerCaseEventName)\n if (eventName) {\n const extractDetail = eventName.endsWith('Change')\n eventHandlers[eventName] = (event: Event) => {\n const handler = value as AnyFunction | null\n if (typeof handler === 'function') {\n handler(extractDetail ? (event as CustomEvent).detail : event)\n }\n }\n continue\n }\n }\n\n if (name === 'className') {\n attributes['class'] = value\n } else {\n attributes[name] = value\n }\n }\n\n const editor = useEditorContext()\n\n if (hasEditor && editor && !properties['editor']) {\n properties['editor'] = editor\n }\n\n // Set all properties.\n useIsomorphicLayoutEffect(() => {\n if (!el) return\n for (const [name, value] of Object.entries(properties)) {\n if (value !== undefined) {\n // @ts-expect-error: we know that name is a valid property name\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, react-compiler/react-compiler\n el[name] = value as unknown as any\n }\n }\n }, [el, ...propNames.map((name) => properties[name])])\n\n // Put all event listeners extracted from `props` into `eventHandlersRef`.\n useIsomorphicLayoutEffect(() => {\n eventHandlersRef.current = eventHandlers\n })\n\n // Register the event listeners to the element.\n useIsomorphicLayoutEffect(() => {\n if (!el) {\n return\n }\n\n const fixedEventHandlers: Record<string, AnyFunction> = {}\n\n for (const eventName of eventNames) {\n fixedEventHandlers[eventName] = (event: Event) => {\n eventHandlersRef.current[eventName]?.(event)\n }\n }\n\n for (const [name, handler] of Object.entries(fixedEventHandlers)) {\n el.addEventListener(name, handler)\n }\n\n return () => {\n for (const [name, handler] of Object.entries(fixedEventHandlers)) {\n el.removeEventListener(name, handler)\n }\n }\n }, [el])\n\n const mergedRef = useMemo(() => mergeRefs([ref, setEl]), [ref])\n\n return createElement(tagName, { ...attributes, ref: mergedRef })\n })\n\n Component.displayName = displayName\n\n return Component\n}\n"],"mappings":";;;;;;;;AAMA,SAAS,UACP,KACA,OACiC;AACjC,KAAI,OAAO,QAAQ,WACjB,QAAO,IAAI,MAAM;UACR,IACT,KAAI,UAAU;;;;;AAOlB,SAAgB,UAAa,MAAsC;AACjE,SAAQ,UAAoB;EAC1B,MAAMA,WAA2B,EAAE;AAEnC,OAAK,MAAM,OAAO,MAAM;GACtB,MAAM,UAAU,UAAU,KAAK,MAAM;GACrC,MAAM,YAAY,OAAO,YAAY;AACrC,YAAS,KAAK,YAAY,gBAAgB,UAAU,KAAK,KAAK,CAAC;;AAGjE,eAAa;AACX,QAAK,MAAM,WAAW,SAAU,UAAS;;;;;;;ACb/C,MAAM,4BAA4B,OAAO,WAAW,cAAc,kBAAkB;AAEpF,SAAgB,gBAId,SACA,aACA,WACA,YAGA;CACA,MAAM,YAAY,UAAU,SAAS,SAAS;CAC9C,MAAM,wBAAwB,IAAI,IAChC,WAAW,KAAK,SAAS,CAAC,KAAK,aAAa,EAAE,KAAK,CAAC,CACrD;CAED,MAAM,YAAY,YAAsB,OAAc,QAAQ;EAC5D,MAAM,CAAC,IAAI,SAAS,SAA6B,KAAK;EAEtD,MAAMC,aAAsC,EAAE;EAC9C,MAAMC,aAAsC,EAAE;EAC9C,MAAM,mBAAmB,OAAoC,EAAE,CAAC;EAChE,MAAMC,gBAA6C,EAAE;AAErD,OAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,MAAM,EAAE;AACjD,OAAI,UAAU,OACZ;AAGF,OAAI,UAAU,SAAS,KAAK,EAAE;AAC5B,eAAW,QAAQ;AACnB;;AAGF,OAAI,KAAK,WAAW,KAAK,EAAE;IACzB,MAAM,qBAAqB,KAAK,MAAM,EAAE,CAAC,aAAa;IACtD,MAAM,YAAY,sBAAsB,IAAI,mBAAmB;AAC/D,QAAI,WAAW;KACb,MAAM,gBAAgB,UAAU,SAAS,SAAS;AAClD,mBAAc,cAAc,UAAiB;MAC3C,MAAM,UAAU;AAChB,UAAI,OAAO,YAAY,WACrB,SAAQ,gBAAiB,MAAsB,SAAS,MAAM;;AAGlE;;;AAIJ,OAAI,SAAS,YACX,YAAW,WAAW;OAEtB,YAAW,QAAQ;;EAIvB,MAAM,SAAS,kBAAkB;AAEjC,MAAI,aAAa,UAAU,CAAC,WAAW,UACrC,YAAW,YAAY;AAIzB,kCAAgC;AAC9B,OAAI,CAAC,GAAI;AACT,QAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,WAAW,CACpD,KAAI,UAAU,OAGZ,IAAG,QAAQ;KAGd,CAAC,IAAI,GAAG,UAAU,KAAK,SAAS,WAAW,MAAM,CAAC,CAAC;AAGtD,kCAAgC;AAC9B,oBAAiB,UAAU;IAC3B;AAGF,kCAAgC;AAC9B,OAAI,CAAC,GACH;GAGF,MAAMC,qBAAkD,EAAE;AAE1D,QAAK,MAAM,aAAa,WACtB,oBAAmB,cAAc,UAAiB;AAChD,qBAAiB,QAAQ,aAAa,MAAM;;AAIhD,QAAK,MAAM,CAAC,MAAM,YAAY,OAAO,QAAQ,mBAAmB,CAC9D,IAAG,iBAAiB,MAAM,QAAQ;AAGpC,gBAAa;AACX,SAAK,MAAM,CAAC,MAAM,YAAY,OAAO,QAAQ,mBAAmB,CAC9D,IAAG,oBAAoB,MAAM,QAAQ;;KAGxC,CAAC,GAAG,CAAC;EAER,MAAM,YAAY,cAAc,UAAU,CAAC,KAAK,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;AAE/D,SAAO,cAAc,SAAS;GAAE,GAAG;GAAY,KAAK;GAAW,CAAC;GAChE;AAEF,WAAU,cAAc;AAExB,QAAO"}
@@ -1,5 +1,6 @@
1
1
  //#region src/components/create-props.d.ts
2
2
  type CreateProps<Props extends { [PropName in keyof Props]: unknown }, Events extends { [EventName in keyof Events]: CustomEvent }> = Props & CreateEventProps<Events>;
3
- type CreateEventProps<Events extends { [EventName in keyof Events]: CustomEvent }> = { [EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName]["detail"] : Events[EventName]) => void };
3
+ type CreateEventProps<Events extends { [EventName in keyof Events]: CustomEvent }> = { [EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName]['detail'] : Events[EventName]) => void };
4
4
  //#endregion
5
- export { CreateProps };
5
+ export { CreateProps };
6
+ //# sourceMappingURL=create-props-EGV61dJR.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-props-EGV61dJR.d.ts","names":[],"sources":["../src/components/create-props.ts"],"sourcesContent":[],"mappings":";KAAY,yCAAA,MACyB,KADd,GAAA,OAAA,EAAA,EAAA,eAAA,gBACc,MACE,MADF,GACW,WADX,MAEjC,KADmC,GAC3B,gBAD2B,CACV,MADU,CAAA;KAGlC,gBAH2C,CAAA,eAAA,gBAC5C,MAGmC,MAHnC,GAG4C,WAH5C,sBAAQ,MAKU,MALV,IAAA,KAKyB,UALzB,CAAA,MAAA,GAK6C,SAL7C,CAAA,EAAA,GAAA,CAAA,KAAA,EAMD,SANC,SAAA,GAAA,MAAA,QAAA,GAMqC,MANrC,CAM4C,SAN5C,CAAA,CAAA,QAAA,CAAA,GAOJ,MAPI,CAOG,SAPH,CAAA,EAAA,GAAA,IAAA,EAAgB"}
@@ -14,4 +14,5 @@ function useEditorContext() {
14
14
  const EditorContextProvider = editorContext.Provider;
15
15
 
16
16
  //#endregion
17
- export { EditorContextProvider, useEditorContext };
17
+ export { EditorContextProvider, useEditorContext };
18
+ //# sourceMappingURL=editor-context-Cci4uqN_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-context-Cci4uqN_.js","names":["EditorContextProvider: Provider<Editor | null>"],"sources":["../src/contexts/editor-context.ts"],"sourcesContent":["import type {\n Editor,\n Extension,\n} from '@prosekit/core'\nimport {\n createContext,\n useContext,\n type Provider,\n} from 'react'\n\nconst editorContext = createContext<Editor | null>(null)\n\n/**\n * @internal\n */\nexport function useEditorContext<E extends Extension>(): Editor<E> | null {\n return useContext(editorContext)\n}\n\n/**\n * @internal\n */\nexport const EditorContextProvider: Provider<Editor | null> = editorContext.Provider\n"],"mappings":";;;AAUA,MAAM,gBAAgB,cAA6B,KAAK;;;;AAKxD,SAAgB,mBAA0D;AACxE,QAAO,WAAW,cAAc;;;;;AAMlC,MAAaA,wBAAiD,cAAc"}
@@ -1,34 +1,35 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { AutocompleteEmptyElement, AutocompleteEmptyEvents, AutocompleteEmptyProps as AutocompleteEmptyProps$1, AutocompleteItemElement, AutocompleteItemEvents, AutocompleteItemProps as AutocompleteItemProps$1, AutocompleteListElement, AutocompleteListEvents, AutocompleteListProps as AutocompleteListProps$1, AutocompletePopoverElement, AutocompletePopoverEvents, AutocompletePopoverProps as AutocompletePopoverProps$1 } from "@prosekit/web/autocomplete";
4
4
 
5
5
  //#region src/components/autocomplete/autocomplete-empty.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link AutocompleteEmpty} component.
9
- */
8
+ * Props for the {@link AutocompleteEmpty} component.
9
+ */
10
10
  interface AutocompleteEmptyProps extends Partial<CreateProps<AutocompleteEmptyProps$1, AutocompleteEmptyEvents>> {}
11
11
  declare const AutocompleteEmpty: ForwardRefExoticComponent<AutocompleteEmptyProps & RefAttributes<AutocompleteEmptyElement> & HTMLAttributes<AutocompleteEmptyElement>>;
12
12
  //#endregion
13
13
  //#region src/components/autocomplete/autocomplete-item.gen.d.ts
14
14
  /**
15
- * Props for the {@link AutocompleteItem} component.
16
- */
15
+ * Props for the {@link AutocompleteItem} component.
16
+ */
17
17
  interface AutocompleteItemProps extends Partial<CreateProps<AutocompleteItemProps$1, AutocompleteItemEvents>> {}
18
18
  declare const AutocompleteItem: ForwardRefExoticComponent<AutocompleteItemProps & RefAttributes<AutocompleteItemElement> & HTMLAttributes<AutocompleteItemElement>>;
19
19
  //#endregion
20
20
  //#region src/components/autocomplete/autocomplete-list.gen.d.ts
21
21
  /**
22
- * Props for the {@link AutocompleteList} component.
23
- */
22
+ * Props for the {@link AutocompleteList} component.
23
+ */
24
24
  interface AutocompleteListProps extends Partial<CreateProps<AutocompleteListProps$1, AutocompleteListEvents>> {}
25
25
  declare const AutocompleteList: ForwardRefExoticComponent<AutocompleteListProps & RefAttributes<AutocompleteListElement> & HTMLAttributes<AutocompleteListElement>>;
26
26
  //#endregion
27
27
  //#region src/components/autocomplete/autocomplete-popover.gen.d.ts
28
28
  /**
29
- * Props for the {@link AutocompletePopover} component.
30
- */
29
+ * Props for the {@link AutocompletePopover} component.
30
+ */
31
31
  interface AutocompletePopoverProps extends Partial<CreateProps<AutocompletePopoverProps$1, AutocompletePopoverEvents>> {}
32
32
  declare const AutocompletePopover: ForwardRefExoticComponent<AutocompletePopoverProps & RefAttributes<AutocompletePopoverElement> & HTMLAttributes<AutocompletePopoverElement>>;
33
33
  //#endregion
34
- export { AutocompleteEmpty, AutocompleteEmptyProps, AutocompleteItem, AutocompleteItemProps, AutocompleteList, AutocompleteListProps, AutocompletePopover, AutocompletePopoverProps };
34
+ export { AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePopover, type AutocompletePopoverProps };
35
+ //# sourceMappingURL=prosekit-react-autocomplete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-autocomplete.d.ts","names":[],"sources":["../src/components/autocomplete/autocomplete-empty.gen.ts","../src/components/autocomplete/autocomplete-item.gen.ts","../src/components/autocomplete/autocomplete-list.gen.ts","../src/components/autocomplete/autocomplete-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAwC,UAAvB,sBAAA,SAA+B,OAAR,CAAgB,WAAhB,CAA4B,wBAA5B,EAAmC,uBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE9D,iBAF8D,EAE3C,yBAF2C,CAGzE,sBAHyE,GAIzE,aAJyE,CAI3D,wBAJ2D,CAAA,GAKzE,cALyE,CAK1D,wBAL0D,CAAA,CAAA;;;;;AAA3E;AAAwC,UCAvB,qBAAA,SAA8B,ODAP,CCAe,WDAf,CCA2B,uBDA3B,ECAkC,sBDAlC,CAAA,CAAA,CAAA;AAAmC,cCE9D,gBDF8D,ECE5C,yBDF4C,CCGzE,qBDHyE,GCIzE,aDJyE,CCI3D,uBDJ2D,CAAA,GCKzE,cDLyE,CCK1D,uBDL0D,CAAA,CAAA;;;;;AAA3E;AAAwC,UEAvB,qBAAA,SAA8B,OFAP,CEAe,WFAf,CEA2B,uBFA3B,EEAkC,sBFAlC,CAAA,CAAA,CAAA;AAAmC,cEE9D,gBFF8D,EEE5C,yBFF4C,CEGzE,qBFHyE,GEIzE,aFJyE,CEI3D,uBFJ2D,CAAA,GEKzE,cFLyE,CEK1D,uBFL0D,CAAA,CAAA;;;;;AAA3E;AAAwC,UGAvB,wBAAA,SAAiC,OHAV,CGAkB,WHAlB,CGA8B,0BHA9B,EGAqC,yBHArC,CAAA,CAAA,CAAA;AAAmC,cGE9D,mBHF8D,EGEzC,yBHFyC,CGGzE,wBHHyE,GGIzE,aHJyE,CGI3D,0BHJ2D,CAAA,GGKzE,cHLyE,CGK1D,0BHL0D,CAAA,CAAA"}
@@ -18,4 +18,5 @@ const AutocompleteList = createComponent("prosekit-autocomplete-list", "Autocomp
18
18
  const AutocompletePopover = createComponent("prosekit-autocomplete-popover", "AutocompletePopover", Object.keys(autocompletePopoverProps), Object.keys(autocompletePopoverEvents));
19
19
 
20
20
  //#endregion
21
- export { AutocompleteEmpty, AutocompleteItem, AutocompleteList, AutocompletePopover };
21
+ export { AutocompleteEmpty, AutocompleteItem, AutocompleteList, AutocompletePopover };
22
+ //# sourceMappingURL=prosekit-react-autocomplete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-autocomplete.js","names":["AutocompleteEmpty: ForwardRefExoticComponent<\n AutocompleteEmptyProps &\n RefAttributes<AutocompleteEmptyElement> &\n HTMLAttributes<AutocompleteEmptyElement>\n>","AutocompleteItem: ForwardRefExoticComponent<\n AutocompleteItemProps &\n RefAttributes<AutocompleteItemElement> &\n HTMLAttributes<AutocompleteItemElement>\n>","AutocompleteList: ForwardRefExoticComponent<\n AutocompleteListProps &\n RefAttributes<AutocompleteListElement> &\n HTMLAttributes<AutocompleteListElement>\n>","AutocompletePopover: ForwardRefExoticComponent<\n AutocompletePopoverProps &\n RefAttributes<AutocompletePopoverElement> &\n HTMLAttributes<AutocompletePopoverElement>\n>"],"sources":["../src/components/autocomplete/autocomplete-empty.gen.ts","../src/components/autocomplete/autocomplete-item.gen.ts","../src/components/autocomplete/autocomplete-list.gen.ts","../src/components/autocomplete/autocomplete-popover.gen.ts"],"sourcesContent":["import {\n type AutocompleteEmptyElement,\n type AutocompleteEmptyProps as Props,\n type AutocompleteEmptyEvents as Events,\n autocompleteEmptyProps,\n autocompleteEmptyEvents,\n} from '@prosekit/web/autocomplete'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteEmpty} component.\n */\nexport interface AutocompleteEmptyProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const AutocompleteEmpty: ForwardRefExoticComponent<\n AutocompleteEmptyProps &\n RefAttributes<AutocompleteEmptyElement> &\n HTMLAttributes<AutocompleteEmptyElement>\n> = createComponent<\n AutocompleteEmptyProps, \n AutocompleteEmptyElement\n>(\n 'prosekit-autocomplete-empty',\n 'AutocompleteEmpty',\n Object.keys(autocompleteEmptyProps),\n Object.keys(autocompleteEmptyEvents),\n)\n","import {\n type AutocompleteItemElement,\n type AutocompleteItemProps as Props,\n type AutocompleteItemEvents as Events,\n autocompleteItemProps,\n autocompleteItemEvents,\n} from '@prosekit/web/autocomplete'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteItem} component.\n */\nexport interface AutocompleteItemProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const AutocompleteItem: ForwardRefExoticComponent<\n AutocompleteItemProps &\n RefAttributes<AutocompleteItemElement> &\n HTMLAttributes<AutocompleteItemElement>\n> = createComponent<\n AutocompleteItemProps, \n AutocompleteItemElement\n>(\n 'prosekit-autocomplete-item',\n 'AutocompleteItem',\n Object.keys(autocompleteItemProps),\n Object.keys(autocompleteItemEvents),\n)\n","import {\n type AutocompleteListElement,\n type AutocompleteListProps as Props,\n type AutocompleteListEvents as Events,\n autocompleteListProps,\n autocompleteListEvents,\n} from '@prosekit/web/autocomplete'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteList} component.\n */\nexport interface AutocompleteListProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const AutocompleteList: ForwardRefExoticComponent<\n AutocompleteListProps &\n RefAttributes<AutocompleteListElement> &\n HTMLAttributes<AutocompleteListElement>\n> = createComponent<\n AutocompleteListProps, \n AutocompleteListElement\n>(\n 'prosekit-autocomplete-list',\n 'AutocompleteList',\n Object.keys(autocompleteListProps),\n Object.keys(autocompleteListEvents),\n)\n","import {\n type AutocompletePopoverElement,\n type AutocompletePopoverProps as Props,\n type AutocompletePopoverEvents as Events,\n autocompletePopoverProps,\n autocompletePopoverEvents,\n} from '@prosekit/web/autocomplete'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompletePopover} component.\n */\nexport interface AutocompletePopoverProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const AutocompletePopover: ForwardRefExoticComponent<\n AutocompletePopoverProps &\n RefAttributes<AutocompletePopoverElement> &\n HTMLAttributes<AutocompletePopoverElement>\n> = createComponent<\n AutocompletePopoverProps, \n AutocompletePopoverElement\n>(\n 'prosekit-autocomplete-popover',\n 'AutocompletePopover',\n Object.keys(autocompletePopoverProps),\n Object.keys(autocompletePopoverEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,oBAIT,gBAIF,+BACA,qBACA,OAAO,KAAK,uBAAuB,EACnC,OAAO,KAAK,wBAAwB,CACrC;;;;ACZD,MAAaC,mBAIT,gBAIF,8BACA,oBACA,OAAO,KAAK,sBAAsB,EAClC,OAAO,KAAK,uBAAuB,CACpC;;;;ACZD,MAAaC,mBAIT,gBAIF,8BACA,oBACA,OAAO,KAAK,sBAAsB,EAClC,OAAO,KAAK,uBAAuB,CACpC;;;;ACZD,MAAaC,sBAIT,gBAIF,iCACA,uBACA,OAAO,KAAK,yBAAyB,EACrC,OAAO,KAAK,0BAA0B,CACvC"}
@@ -1,27 +1,28 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { BlockHandleAddElement, BlockHandleAddEvents, BlockHandleAddProps as BlockHandleAddProps$1, BlockHandleDraggableElement, BlockHandleDraggableEvents, BlockHandleDraggableProps as BlockHandleDraggableProps$1, BlockHandlePopoverElement, BlockHandlePopoverEvents, BlockHandlePopoverProps as BlockHandlePopoverProps$1 } from "@prosekit/web/block-handle";
4
4
 
5
5
  //#region src/components/block-handle/block-handle-add.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link BlockHandleAdd} component.
9
- */
8
+ * Props for the {@link BlockHandleAdd} component.
9
+ */
10
10
  interface BlockHandleAddProps extends Partial<CreateProps<BlockHandleAddProps$1, BlockHandleAddEvents>> {}
11
11
  declare const BlockHandleAdd: ForwardRefExoticComponent<BlockHandleAddProps & RefAttributes<BlockHandleAddElement> & HTMLAttributes<BlockHandleAddElement>>;
12
12
  //#endregion
13
13
  //#region src/components/block-handle/block-handle-draggable.gen.d.ts
14
14
  /**
15
- * Props for the {@link BlockHandleDraggable} component.
16
- */
15
+ * Props for the {@link BlockHandleDraggable} component.
16
+ */
17
17
  interface BlockHandleDraggableProps extends Partial<CreateProps<BlockHandleDraggableProps$1, BlockHandleDraggableEvents>> {}
18
18
  declare const BlockHandleDraggable: ForwardRefExoticComponent<BlockHandleDraggableProps & RefAttributes<BlockHandleDraggableElement> & HTMLAttributes<BlockHandleDraggableElement>>;
19
19
  //#endregion
20
20
  //#region src/components/block-handle/block-handle-popover.gen.d.ts
21
21
  /**
22
- * Props for the {@link BlockHandlePopover} component.
23
- */
22
+ * Props for the {@link BlockHandlePopover} component.
23
+ */
24
24
  interface BlockHandlePopoverProps extends Partial<CreateProps<BlockHandlePopoverProps$1, BlockHandlePopoverEvents>> {}
25
25
  declare const BlockHandlePopover: ForwardRefExoticComponent<BlockHandlePopoverProps & RefAttributes<BlockHandlePopoverElement> & HTMLAttributes<BlockHandlePopoverElement>>;
26
26
  //#endregion
27
- export { BlockHandleAdd, BlockHandleAddProps, BlockHandleDraggable, BlockHandleDraggableProps, BlockHandlePopover, BlockHandlePopoverProps };
27
+ export { BlockHandleAdd, type BlockHandleAddProps, BlockHandleDraggable, type BlockHandleDraggableProps, BlockHandlePopover, type BlockHandlePopoverProps };
28
+ //# sourceMappingURL=prosekit-react-block-handle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-block-handle.d.ts","names":[],"sources":["../src/components/block-handle/block-handle-add.gen.ts","../src/components/block-handle/block-handle-draggable.gen.ts","../src/components/block-handle/block-handle-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,yBAF2C,CAGtE,mBAHsE,GAItE,aAJsE,CAIxD,qBAJwD,CAAA,GAKtE,cALsE,CAKvD,qBALuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,yBAAA,SAAkC,ODAd,CCAsB,WDAtB,CCAkC,2BDAlC,ECAyC,0BDAzC,CAAA,CAAA,CAAA;AAAmC,cCE3D,oBDF2D,ECErC,yBDFqC,CCGtE,yBDHsE,GCItE,aDJsE,CCIxD,2BDJwD,CAAA,GCKtE,cDLsE,CCKvD,2BDLuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,uBAAA,SAAgC,OFAZ,CEAoB,WFApB,CEAgC,yBFAhC,EEAuC,wBFAvC,CAAA,CAAA,CAAA;AAAmC,cEE3D,kBFF2D,EEEvC,yBFFuC,CEGtE,uBFHsE,GEItE,aFJsE,CEIxD,yBFJwD,CAAA,GEKtE,cFLsE,CEKvD,yBFLuD,CAAA,CAAA"}
@@ -14,4 +14,5 @@ const BlockHandleDraggable = createComponent("prosekit-block-handle-draggable",
14
14
  const BlockHandlePopover = createComponent("prosekit-block-handle-popover", "BlockHandlePopover", Object.keys(blockHandlePopoverProps), Object.keys(blockHandlePopoverEvents));
15
15
 
16
16
  //#endregion
17
- export { BlockHandleAdd, BlockHandleDraggable, BlockHandlePopover };
17
+ export { BlockHandleAdd, BlockHandleDraggable, BlockHandlePopover };
18
+ //# sourceMappingURL=prosekit-react-block-handle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-block-handle.js","names":["BlockHandleAdd: ForwardRefExoticComponent<\n BlockHandleAddProps &\n RefAttributes<BlockHandleAddElement> &\n HTMLAttributes<BlockHandleAddElement>\n>","BlockHandleDraggable: ForwardRefExoticComponent<\n BlockHandleDraggableProps &\n RefAttributes<BlockHandleDraggableElement> &\n HTMLAttributes<BlockHandleDraggableElement>\n>","BlockHandlePopover: ForwardRefExoticComponent<\n BlockHandlePopoverProps &\n RefAttributes<BlockHandlePopoverElement> &\n HTMLAttributes<BlockHandlePopoverElement>\n>"],"sources":["../src/components/block-handle/block-handle-add.gen.ts","../src/components/block-handle/block-handle-draggable.gen.ts","../src/components/block-handle/block-handle-popover.gen.ts"],"sourcesContent":["import {\n type BlockHandleAddElement,\n type BlockHandleAddProps as Props,\n type BlockHandleAddEvents as Events,\n blockHandleAddProps,\n blockHandleAddEvents,\n} from '@prosekit/web/block-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandleAdd} component.\n */\nexport interface BlockHandleAddProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const BlockHandleAdd: ForwardRefExoticComponent<\n BlockHandleAddProps &\n RefAttributes<BlockHandleAddElement> &\n HTMLAttributes<BlockHandleAddElement>\n> = createComponent<\n BlockHandleAddProps, \n BlockHandleAddElement\n>(\n 'prosekit-block-handle-add',\n 'BlockHandleAdd',\n Object.keys(blockHandleAddProps),\n Object.keys(blockHandleAddEvents),\n)\n","import {\n type BlockHandleDraggableElement,\n type BlockHandleDraggableProps as Props,\n type BlockHandleDraggableEvents as Events,\n blockHandleDraggableProps,\n blockHandleDraggableEvents,\n} from '@prosekit/web/block-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandleDraggable} component.\n */\nexport interface BlockHandleDraggableProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const BlockHandleDraggable: ForwardRefExoticComponent<\n BlockHandleDraggableProps &\n RefAttributes<BlockHandleDraggableElement> &\n HTMLAttributes<BlockHandleDraggableElement>\n> = createComponent<\n BlockHandleDraggableProps, \n BlockHandleDraggableElement\n>(\n 'prosekit-block-handle-draggable',\n 'BlockHandleDraggable',\n Object.keys(blockHandleDraggableProps),\n Object.keys(blockHandleDraggableEvents),\n)\n","import {\n type BlockHandlePopoverElement,\n type BlockHandlePopoverProps as Props,\n type BlockHandlePopoverEvents as Events,\n blockHandlePopoverProps,\n blockHandlePopoverEvents,\n} from '@prosekit/web/block-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandlePopover} component.\n */\nexport interface BlockHandlePopoverProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const BlockHandlePopover: ForwardRefExoticComponent<\n BlockHandlePopoverProps &\n RefAttributes<BlockHandlePopoverElement> &\n HTMLAttributes<BlockHandlePopoverElement>\n> = createComponent<\n BlockHandlePopoverProps, \n BlockHandlePopoverElement\n>(\n 'prosekit-block-handle-popover',\n 'BlockHandlePopover',\n Object.keys(blockHandlePopoverProps),\n Object.keys(blockHandlePopoverEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,iBAIT,gBAIF,6BACA,kBACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC;;;;ACZD,MAAaC,uBAIT,gBAIF,mCACA,wBACA,OAAO,KAAK,0BAA0B,EACtC,OAAO,KAAK,2BAA2B,CACxC;;;;ACZD,MAAaC,qBAIT,gBAIF,iCACA,sBACA,OAAO,KAAK,wBAAwB,EACpC,OAAO,KAAK,yBAAyB,CACtC"}
@@ -0,0 +1,14 @@
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
+ import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
+ import { DropIndicatorElement, DropIndicatorEvents, DropIndicatorProps as DropIndicatorProps$1 } from "@prosekit/web/drop-indicator";
4
+
5
+ //#region src/components/drop-indicator/drop-indicator.gen.d.ts
6
+
7
+ /**
8
+ * Props for the {@link DropIndicator} component.
9
+ */
10
+ interface DropIndicatorProps extends Partial<CreateProps<DropIndicatorProps$1, DropIndicatorEvents>> {}
11
+ declare const DropIndicator: ForwardRefExoticComponent<DropIndicatorProps & RefAttributes<DropIndicatorElement> & HTMLAttributes<DropIndicatorElement>>;
12
+ //#endregion
13
+ export { DropIndicator, type DropIndicatorProps };
14
+ //# sourceMappingURL=prosekit-react-drop-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-drop-indicator.d.ts","names":[],"sources":["../src/components/drop-indicator/drop-indicator.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAoC,UAAnB,kBAAA,SAA2B,OAAR,CAAgB,WAAhB,CAA4B,oBAA5B,EAAmC,mBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE1D,aAF0D,EAE3C,yBAF2C,CAGrE,kBAHqE,GAIrE,aAJqE,CAIvD,oBAJuD,CAAA,GAKrE,cALqE,CAKtD,oBALsD,CAAA,CAAA"}
@@ -0,0 +1,10 @@
1
+ import "./editor-context-Cci4uqN_.js";
2
+ import { createComponent } from "./create-component-CBvs05W1.js";
3
+ import { dropIndicatorEvents, dropIndicatorProps } from "@prosekit/web/drop-indicator";
4
+
5
+ //#region src/components/drop-indicator/drop-indicator.gen.ts
6
+ const DropIndicator = createComponent("prosekit-drop-indicator", "DropIndicator", Object.keys(dropIndicatorProps), Object.keys(dropIndicatorEvents));
7
+
8
+ //#endregion
9
+ export { DropIndicator };
10
+ //# sourceMappingURL=prosekit-react-drop-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-drop-indicator.js","names":["DropIndicator: ForwardRefExoticComponent<\n DropIndicatorProps &\n RefAttributes<DropIndicatorElement> &\n HTMLAttributes<DropIndicatorElement>\n>"],"sources":["../src/components/drop-indicator/drop-indicator.gen.ts"],"sourcesContent":["import {\n type DropIndicatorElement,\n type DropIndicatorProps as Props,\n type DropIndicatorEvents as Events,\n dropIndicatorProps,\n dropIndicatorEvents,\n} from '@prosekit/web/drop-indicator'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link DropIndicator} component.\n */\nexport interface DropIndicatorProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const DropIndicator: ForwardRefExoticComponent<\n DropIndicatorProps &\n RefAttributes<DropIndicatorElement> &\n HTMLAttributes<DropIndicatorElement>\n> = createComponent<\n DropIndicatorProps, \n DropIndicatorElement\n>(\n 'prosekit-drop-indicator',\n 'DropIndicator',\n Object.keys(dropIndicatorProps),\n Object.keys(dropIndicatorEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,gBAIT,gBAIF,2BACA,iBACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
@@ -1,13 +1,14 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { InlinePopoverElement, InlinePopoverEvents, InlinePopoverProps as InlinePopoverProps$1 } from "@prosekit/web/inline-popover";
4
4
 
5
5
  //#region src/components/inline-popover/inline-popover.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link InlinePopover} component.
9
- */
8
+ * Props for the {@link InlinePopover} component.
9
+ */
10
10
  interface InlinePopoverProps extends Partial<CreateProps<InlinePopoverProps$1, InlinePopoverEvents>> {}
11
11
  declare const InlinePopover: ForwardRefExoticComponent<InlinePopoverProps & RefAttributes<InlinePopoverElement> & HTMLAttributes<InlinePopoverElement>>;
12
12
  //#endregion
13
- export { InlinePopover, InlinePopoverProps };
13
+ export { InlinePopover, type InlinePopoverProps };
14
+ //# sourceMappingURL=prosekit-react-inline-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-inline-popover.d.ts","names":[],"sources":["../src/components/inline-popover/inline-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAoC,UAAnB,kBAAA,SAA2B,OAAR,CAAgB,WAAhB,CAA4B,oBAA5B,EAAmC,mBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE1D,aAF0D,EAE3C,yBAF2C,CAGrE,kBAHqE,GAIrE,aAJqE,CAIvD,oBAJuD,CAAA,GAKrE,cALqE,CAKtD,oBALsD,CAAA,CAAA"}
@@ -6,4 +6,5 @@ import { inlinePopoverEvents, inlinePopoverProps } from "@prosekit/web/inline-po
6
6
  const InlinePopover = createComponent("prosekit-inline-popover", "InlinePopover", Object.keys(inlinePopoverProps), Object.keys(inlinePopoverEvents));
7
7
 
8
8
  //#endregion
9
- export { InlinePopover };
9
+ export { InlinePopover };
10
+ //# sourceMappingURL=prosekit-react-inline-popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-inline-popover.js","names":["InlinePopover: ForwardRefExoticComponent<\n InlinePopoverProps &\n RefAttributes<InlinePopoverElement> &\n HTMLAttributes<InlinePopoverElement>\n>"],"sources":["../src/components/inline-popover/inline-popover.gen.ts"],"sourcesContent":["import {\n type InlinePopoverElement,\n type InlinePopoverProps as Props,\n type InlinePopoverEvents as Events,\n inlinePopoverProps,\n inlinePopoverEvents,\n} from '@prosekit/web/inline-popover'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link InlinePopover} component.\n */\nexport interface InlinePopoverProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const InlinePopover: ForwardRefExoticComponent<\n InlinePopoverProps &\n RefAttributes<InlinePopoverElement> &\n HTMLAttributes<InlinePopoverElement>\n> = createComponent<\n InlinePopoverProps, \n InlinePopoverElement\n>(\n 'prosekit-inline-popover',\n 'InlinePopover',\n Object.keys(inlinePopoverProps),\n Object.keys(inlinePopoverEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,gBAIT,gBAIF,2BACA,iBACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
@@ -1,27 +1,28 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { PopoverContentElement, PopoverContentEvents, PopoverContentProps as PopoverContentProps$1, PopoverRootElement, PopoverRootEvents, PopoverRootProps as PopoverRootProps$1, PopoverTriggerElement, PopoverTriggerEvents, PopoverTriggerProps as PopoverTriggerProps$1 } from "@prosekit/web/popover";
4
4
 
5
5
  //#region src/components/popover/popover-content.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link PopoverContent} component.
9
- */
8
+ * Props for the {@link PopoverContent} component.
9
+ */
10
10
  interface PopoverContentProps extends Partial<CreateProps<PopoverContentProps$1, PopoverContentEvents>> {}
11
11
  declare const PopoverContent: ForwardRefExoticComponent<PopoverContentProps & RefAttributes<PopoverContentElement> & HTMLAttributes<PopoverContentElement>>;
12
12
  //#endregion
13
13
  //#region src/components/popover/popover-root.gen.d.ts
14
14
  /**
15
- * Props for the {@link PopoverRoot} component.
16
- */
15
+ * Props for the {@link PopoverRoot} component.
16
+ */
17
17
  interface PopoverRootProps extends Partial<CreateProps<PopoverRootProps$1, PopoverRootEvents>> {}
18
18
  declare const PopoverRoot: ForwardRefExoticComponent<PopoverRootProps & RefAttributes<PopoverRootElement> & HTMLAttributes<PopoverRootElement>>;
19
19
  //#endregion
20
20
  //#region src/components/popover/popover-trigger.gen.d.ts
21
21
  /**
22
- * Props for the {@link PopoverTrigger} component.
23
- */
22
+ * Props for the {@link PopoverTrigger} component.
23
+ */
24
24
  interface PopoverTriggerProps extends Partial<CreateProps<PopoverTriggerProps$1, PopoverTriggerEvents>> {}
25
25
  declare const PopoverTrigger: ForwardRefExoticComponent<PopoverTriggerProps & RefAttributes<PopoverTriggerElement> & HTMLAttributes<PopoverTriggerElement>>;
26
26
  //#endregion
27
- export { PopoverContent, PopoverContentProps, PopoverRoot, PopoverRootProps, PopoverTrigger, PopoverTriggerProps };
27
+ export { PopoverContent, type PopoverContentProps, PopoverRoot, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps };
28
+ //# sourceMappingURL=prosekit-react-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-popover.d.ts","names":[],"sources":["../src/components/popover/popover-content.gen.ts","../src/components/popover/popover-root.gen.ts","../src/components/popover/popover-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,yBAF2C,CAGtE,mBAHsE,GAItE,aAJsE,CAIxD,qBAJwD,CAAA,GAKtE,cALsE,CAKvD,qBALuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,gBAAA,SAAyB,ODAL,CCAa,WDAb,CCAyB,kBDAzB,ECAgC,iBDAhC,CAAA,CAAA,CAAA;AAAmC,cCE3D,WDF2D,ECE9C,yBDF8C,CCGtE,gBDHsE,GCItE,aDJsE,CCIxD,kBDJwD,CAAA,GCKtE,cDLsE,CCKvD,kBDLuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,mBAAA,SAA4B,OFAR,CEAgB,WFAhB,CEA4B,qBFA5B,EEAmC,oBFAnC,CAAA,CAAA,CAAA;AAAmC,cEE3D,cFF2D,EEE3C,yBFF2C,CEGtE,mBFHsE,GEItE,aFJsE,CEIxD,qBFJwD,CAAA,GEKtE,cFLsE,CEKvD,qBFLuD,CAAA,CAAA"}
@@ -14,4 +14,5 @@ const PopoverRoot = createComponent("prosekit-popover-root", "PopoverRoot", Obje
14
14
  const PopoverTrigger = createComponent("prosekit-popover-trigger", "PopoverTrigger", Object.keys(popoverTriggerProps), Object.keys(popoverTriggerEvents));
15
15
 
16
16
  //#endregion
17
- export { PopoverContent, PopoverRoot, PopoverTrigger };
17
+ export { PopoverContent, PopoverRoot, PopoverTrigger };
18
+ //# sourceMappingURL=prosekit-react-popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-popover.js","names":["PopoverContent: ForwardRefExoticComponent<\n PopoverContentProps &\n RefAttributes<PopoverContentElement> &\n HTMLAttributes<PopoverContentElement>\n>","PopoverRoot: ForwardRefExoticComponent<\n PopoverRootProps &\n RefAttributes<PopoverRootElement> &\n HTMLAttributes<PopoverRootElement>\n>","PopoverTrigger: ForwardRefExoticComponent<\n PopoverTriggerProps &\n RefAttributes<PopoverTriggerElement> &\n HTMLAttributes<PopoverTriggerElement>\n>"],"sources":["../src/components/popover/popover-content.gen.ts","../src/components/popover/popover-root.gen.ts","../src/components/popover/popover-trigger.gen.ts"],"sourcesContent":["import {\n type PopoverContentElement,\n type PopoverContentProps as Props,\n type PopoverContentEvents as Events,\n popoverContentProps,\n popoverContentEvents,\n} from '@prosekit/web/popover'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverContent} component.\n */\nexport interface PopoverContentProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const PopoverContent: ForwardRefExoticComponent<\n PopoverContentProps &\n RefAttributes<PopoverContentElement> &\n HTMLAttributes<PopoverContentElement>\n> = createComponent<\n PopoverContentProps, \n PopoverContentElement\n>(\n 'prosekit-popover-content',\n 'PopoverContent',\n Object.keys(popoverContentProps),\n Object.keys(popoverContentEvents),\n)\n","import {\n type PopoverRootElement,\n type PopoverRootProps as Props,\n type PopoverRootEvents as Events,\n popoverRootProps,\n popoverRootEvents,\n} from '@prosekit/web/popover'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverRoot} component.\n */\nexport interface PopoverRootProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const PopoverRoot: ForwardRefExoticComponent<\n PopoverRootProps &\n RefAttributes<PopoverRootElement> &\n HTMLAttributes<PopoverRootElement>\n> = createComponent<\n PopoverRootProps, \n PopoverRootElement\n>(\n 'prosekit-popover-root',\n 'PopoverRoot',\n Object.keys(popoverRootProps),\n Object.keys(popoverRootEvents),\n)\n","import {\n type PopoverTriggerElement,\n type PopoverTriggerProps as Props,\n type PopoverTriggerEvents as Events,\n popoverTriggerProps,\n popoverTriggerEvents,\n} from '@prosekit/web/popover'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverTrigger} component.\n */\nexport interface PopoverTriggerProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const PopoverTrigger: ForwardRefExoticComponent<\n PopoverTriggerProps &\n RefAttributes<PopoverTriggerElement> &\n HTMLAttributes<PopoverTriggerElement>\n> = createComponent<\n PopoverTriggerProps, \n PopoverTriggerElement\n>(\n 'prosekit-popover-trigger',\n 'PopoverTrigger',\n Object.keys(popoverTriggerProps),\n Object.keys(popoverTriggerEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,iBAIT,gBAIF,4BACA,kBACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC;;;;ACZD,MAAaC,cAIT,gBAIF,yBACA,eACA,OAAO,KAAK,iBAAiB,EAC7B,OAAO,KAAK,kBAAkB,CAC/B;;;;ACZD,MAAaC,iBAIT,gBAIF,4BACA,kBACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC"}
@@ -1,20 +1,21 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { ResizableHandleElement, ResizableHandleEvents, ResizableHandleProps as ResizableHandleProps$1, ResizableRootElement, ResizableRootEvents, ResizableRootProps as ResizableRootProps$1 } from "@prosekit/web/resizable";
4
4
 
5
5
  //#region src/components/resizable/resizable-handle.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link ResizableHandle} component.
9
- */
8
+ * Props for the {@link ResizableHandle} component.
9
+ */
10
10
  interface ResizableHandleProps extends Partial<CreateProps<ResizableHandleProps$1, ResizableHandleEvents>> {}
11
11
  declare const ResizableHandle: ForwardRefExoticComponent<ResizableHandleProps & RefAttributes<ResizableHandleElement> & HTMLAttributes<ResizableHandleElement>>;
12
12
  //#endregion
13
13
  //#region src/components/resizable/resizable-root.gen.d.ts
14
14
  /**
15
- * Props for the {@link ResizableRoot} component.
16
- */
15
+ * Props for the {@link ResizableRoot} component.
16
+ */
17
17
  interface ResizableRootProps extends Partial<CreateProps<ResizableRootProps$1, ResizableRootEvents>> {}
18
18
  declare const ResizableRoot: ForwardRefExoticComponent<ResizableRootProps & RefAttributes<ResizableRootElement> & HTMLAttributes<ResizableRootElement>>;
19
19
  //#endregion
20
- export { ResizableHandle, ResizableHandleProps, ResizableRoot, ResizableRootProps };
20
+ export { ResizableHandle, type ResizableHandleProps, ResizableRoot, type ResizableRootProps };
21
+ //# sourceMappingURL=prosekit-react-resizable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-resizable.d.ts","names":[],"sources":["../src/components/resizable/resizable-handle.gen.ts","../src/components/resizable/resizable-root.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAsC,UAArB,oBAAA,SAA6B,OAAR,CAAgB,WAAhB,CAA4B,sBAA5B,EAAmC,qBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE5D,eAF4D,EAE3C,yBAF2C,CAGvE,oBAHuE,GAIvE,aAJuE,CAIzD,sBAJyD,CAAA,GAKvE,cALuE,CAKxD,sBALwD,CAAA,CAAA;;;;;AAAzE;AAAsC,UCArB,kBAAA,SAA2B,ODAN,CCAc,WDAd,CCA0B,oBDA1B,ECAiC,mBDAjC,CAAA,CAAA,CAAA;AAAmC,cCE5D,aDF4D,ECE7C,yBDF6C,CCGvE,kBDHuE,GCIvE,aDJuE,CCIzD,oBDJyD,CAAA,GCKvE,cDLuE,CCKxD,oBDLwD,CAAA,CAAA"}
@@ -10,4 +10,5 @@ const ResizableHandle = createComponent("prosekit-resizable-handle", "ResizableH
10
10
  const ResizableRoot = createComponent("prosekit-resizable-root", "ResizableRoot", Object.keys(resizableRootProps), Object.keys(resizableRootEvents));
11
11
 
12
12
  //#endregion
13
- export { ResizableHandle, ResizableRoot };
13
+ export { ResizableHandle, ResizableRoot };
14
+ //# sourceMappingURL=prosekit-react-resizable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-resizable.js","names":["ResizableHandle: ForwardRefExoticComponent<\n ResizableHandleProps &\n RefAttributes<ResizableHandleElement> &\n HTMLAttributes<ResizableHandleElement>\n>","ResizableRoot: ForwardRefExoticComponent<\n ResizableRootProps &\n RefAttributes<ResizableRootElement> &\n HTMLAttributes<ResizableRootElement>\n>"],"sources":["../src/components/resizable/resizable-handle.gen.ts","../src/components/resizable/resizable-root.gen.ts"],"sourcesContent":["import {\n type ResizableHandleElement,\n type ResizableHandleProps as Props,\n type ResizableHandleEvents as Events,\n resizableHandleProps,\n resizableHandleEvents,\n} from '@prosekit/web/resizable'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link ResizableHandle} component.\n */\nexport interface ResizableHandleProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const ResizableHandle: ForwardRefExoticComponent<\n ResizableHandleProps &\n RefAttributes<ResizableHandleElement> &\n HTMLAttributes<ResizableHandleElement>\n> = createComponent<\n ResizableHandleProps, \n ResizableHandleElement\n>(\n 'prosekit-resizable-handle',\n 'ResizableHandle',\n Object.keys(resizableHandleProps),\n Object.keys(resizableHandleEvents),\n)\n","import {\n type ResizableRootElement,\n type ResizableRootProps as Props,\n type ResizableRootEvents as Events,\n resizableRootProps,\n resizableRootEvents,\n} from '@prosekit/web/resizable'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link ResizableRoot} component.\n */\nexport interface ResizableRootProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const ResizableRoot: ForwardRefExoticComponent<\n ResizableRootProps &\n RefAttributes<ResizableRootElement> &\n HTMLAttributes<ResizableRootElement>\n> = createComponent<\n ResizableRootProps, \n ResizableRootElement\n>(\n 'prosekit-resizable-root',\n 'ResizableRoot',\n Object.keys(resizableRootProps),\n Object.keys(resizableRootEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,kBAIT,gBAIF,6BACA,mBACA,OAAO,KAAK,qBAAqB,EACjC,OAAO,KAAK,sBAAsB,CACnC;;;;ACZD,MAAaC,gBAIT,gBAIF,2BACA,iBACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
@@ -1,69 +1,70 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { TableHandleColumnRootElement, TableHandleColumnRootEvents, TableHandleColumnRootProps as TableHandleColumnRootProps$1, TableHandleColumnTriggerElement, TableHandleColumnTriggerEvents, TableHandleColumnTriggerProps as TableHandleColumnTriggerProps$1, TableHandleDragPreviewElement, TableHandleDragPreviewEvents, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorElement, TableHandleDropIndicatorEvents, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandlePopoverContentElement, TableHandlePopoverContentEvents, TableHandlePopoverContentProps as TableHandlePopoverContentProps$1, TableHandlePopoverItemElement, TableHandlePopoverItemEvents, TableHandlePopoverItemProps as TableHandlePopoverItemProps$1, TableHandleRootElement, TableHandleRootEvents, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowRootElement, TableHandleRowRootEvents, TableHandleRowRootProps as TableHandleRowRootProps$1, TableHandleRowTriggerElement, TableHandleRowTriggerEvents, TableHandleRowTriggerProps as TableHandleRowTriggerProps$1 } from "@prosekit/web/table-handle";
4
4
 
5
5
  //#region src/components/table-handle/table-handle-column-root.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link TableHandleColumnRoot} component.
9
- */
8
+ * Props for the {@link TableHandleColumnRoot} component.
9
+ */
10
10
  interface TableHandleColumnRootProps extends Partial<CreateProps<TableHandleColumnRootProps$1, TableHandleColumnRootEvents>> {}
11
11
  declare const TableHandleColumnRoot: ForwardRefExoticComponent<TableHandleColumnRootProps & RefAttributes<TableHandleColumnRootElement> & HTMLAttributes<TableHandleColumnRootElement>>;
12
12
  //#endregion
13
13
  //#region src/components/table-handle/table-handle-column-trigger.gen.d.ts
14
14
  /**
15
- * Props for the {@link TableHandleColumnTrigger} component.
16
- */
15
+ * Props for the {@link TableHandleColumnTrigger} component.
16
+ */
17
17
  interface TableHandleColumnTriggerProps extends Partial<CreateProps<TableHandleColumnTriggerProps$1, TableHandleColumnTriggerEvents>> {}
18
18
  declare const TableHandleColumnTrigger: ForwardRefExoticComponent<TableHandleColumnTriggerProps & RefAttributes<TableHandleColumnTriggerElement> & HTMLAttributes<TableHandleColumnTriggerElement>>;
19
19
  //#endregion
20
20
  //#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
21
21
  /**
22
- * Props for the {@link TableHandleDragPreview} component.
23
- */
22
+ * Props for the {@link TableHandleDragPreview} component.
23
+ */
24
24
  interface TableHandleDragPreviewProps extends Partial<CreateProps<TableHandleDragPreviewProps$1, TableHandleDragPreviewEvents>> {}
25
25
  declare const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & RefAttributes<TableHandleDragPreviewElement> & HTMLAttributes<TableHandleDragPreviewElement>>;
26
26
  //#endregion
27
27
  //#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
28
28
  /**
29
- * Props for the {@link TableHandleDropIndicator} component.
30
- */
29
+ * Props for the {@link TableHandleDropIndicator} component.
30
+ */
31
31
  interface TableHandleDropIndicatorProps extends Partial<CreateProps<TableHandleDropIndicatorProps$1, TableHandleDropIndicatorEvents>> {}
32
32
  declare const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & RefAttributes<TableHandleDropIndicatorElement> & HTMLAttributes<TableHandleDropIndicatorElement>>;
33
33
  //#endregion
34
34
  //#region src/components/table-handle/table-handle-popover-content.gen.d.ts
35
35
  /**
36
- * Props for the {@link TableHandlePopoverContent} component.
37
- */
36
+ * Props for the {@link TableHandlePopoverContent} component.
37
+ */
38
38
  interface TableHandlePopoverContentProps extends Partial<CreateProps<TableHandlePopoverContentProps$1, TableHandlePopoverContentEvents>> {}
39
39
  declare const TableHandlePopoverContent: ForwardRefExoticComponent<TableHandlePopoverContentProps & RefAttributes<TableHandlePopoverContentElement> & HTMLAttributes<TableHandlePopoverContentElement>>;
40
40
  //#endregion
41
41
  //#region src/components/table-handle/table-handle-popover-item.gen.d.ts
42
42
  /**
43
- * Props for the {@link TableHandlePopoverItem} component.
44
- */
43
+ * Props for the {@link TableHandlePopoverItem} component.
44
+ */
45
45
  interface TableHandlePopoverItemProps extends Partial<CreateProps<TableHandlePopoverItemProps$1, TableHandlePopoverItemEvents>> {}
46
46
  declare const TableHandlePopoverItem: ForwardRefExoticComponent<TableHandlePopoverItemProps & RefAttributes<TableHandlePopoverItemElement> & HTMLAttributes<TableHandlePopoverItemElement>>;
47
47
  //#endregion
48
48
  //#region src/components/table-handle/table-handle-root.gen.d.ts
49
49
  /**
50
- * Props for the {@link TableHandleRoot} component.
51
- */
50
+ * Props for the {@link TableHandleRoot} component.
51
+ */
52
52
  interface TableHandleRootProps extends Partial<CreateProps<TableHandleRootProps$1, TableHandleRootEvents>> {}
53
53
  declare const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & RefAttributes<TableHandleRootElement> & HTMLAttributes<TableHandleRootElement>>;
54
54
  //#endregion
55
55
  //#region src/components/table-handle/table-handle-row-root.gen.d.ts
56
56
  /**
57
- * Props for the {@link TableHandleRowRoot} component.
58
- */
57
+ * Props for the {@link TableHandleRowRoot} component.
58
+ */
59
59
  interface TableHandleRowRootProps extends Partial<CreateProps<TableHandleRowRootProps$1, TableHandleRowRootEvents>> {}
60
60
  declare const TableHandleRowRoot: ForwardRefExoticComponent<TableHandleRowRootProps & RefAttributes<TableHandleRowRootElement> & HTMLAttributes<TableHandleRowRootElement>>;
61
61
  //#endregion
62
62
  //#region src/components/table-handle/table-handle-row-trigger.gen.d.ts
63
63
  /**
64
- * Props for the {@link TableHandleRowTrigger} component.
65
- */
64
+ * Props for the {@link TableHandleRowTrigger} component.
65
+ */
66
66
  interface TableHandleRowTriggerProps extends Partial<CreateProps<TableHandleRowTriggerProps$1, TableHandleRowTriggerEvents>> {}
67
67
  declare const TableHandleRowTrigger: ForwardRefExoticComponent<TableHandleRowTriggerProps & RefAttributes<TableHandleRowTriggerElement> & HTMLAttributes<TableHandleRowTriggerElement>>;
68
68
  //#endregion
69
- export { TableHandleColumnRoot, TableHandleColumnRootProps, TableHandleColumnTrigger, TableHandleColumnTriggerProps, TableHandleDragPreview, TableHandleDragPreviewProps, TableHandleDropIndicator, TableHandleDropIndicatorProps, TableHandlePopoverContent, TableHandlePopoverContentProps, TableHandlePopoverItem, TableHandlePopoverItemProps, TableHandleRoot, TableHandleRootProps, TableHandleRowRoot, TableHandleRowRootProps, TableHandleRowTrigger, TableHandleRowTriggerProps };
69
+ export { TableHandleColumnRoot, type TableHandleColumnRootProps, TableHandleColumnTrigger, type TableHandleColumnTriggerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandlePopoverContent, type TableHandlePopoverContentProps, TableHandlePopoverItem, type TableHandlePopoverItemProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowRoot, type TableHandleRowRootProps, TableHandleRowTrigger, type TableHandleRowTriggerProps };
70
+ //# sourceMappingURL=prosekit-react-table-handle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-root.gen.ts","../src/components/table-handle/table-handle-column-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-popover-content.gen.ts","../src/components/table-handle/table-handle-popover-item.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-root.gen.ts","../src/components/table-handle/table-handle-row-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAA4C,UAA3B,0BAAA,SAAmC,OAAR,CAAgB,WAAhB,CAA4B,4BAA5B,EAAmC,2BAAnC,CAAA,CAAA,CAAA;AAAmC,cAElE,qBAFkE,EAE3C,yBAF2C,CAG7E,0BAH6E,GAI7E,aAJ6E,CAI/D,4BAJ+D,CAAA,GAK7E,cAL6E,CAK9D,4BAL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UCA3B,6BAAA,SAAsC,ODAX,CCAmB,WDAnB,CCA+B,+BDA/B,ECAsC,8BDAtC,CAAA,CAAA,CAAA;AAAmC,cCElE,wBDFkE,ECExC,yBDFwC,CCG7E,6BDH6E,GCI7E,aDJ6E,CCI/D,+BDJ+D,CAAA,GCK7E,cDL6E,CCK9D,+BDL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UEA3B,2BAAA,SAAoC,OFAT,CEAiB,WFAjB,CEA6B,6BFA7B,EEAoC,4BFApC,CAAA,CAAA,CAAA;AAAmC,cEElE,sBFFkE,EEE1C,yBFF0C,CEG7E,2BFH6E,GEI7E,aFJ6E,CEI/D,6BFJ+D,CAAA,GEK7E,cFL6E,CEK9D,6BFL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UGA3B,6BAAA,SAAsC,OHAX,CGAmB,WHAnB,CGA+B,+BHA/B,EGAsC,8BHAtC,CAAA,CAAA,CAAA;AAAmC,cGElE,wBHFkE,EGExC,yBHFwC,CGG7E,6BHH6E,GGI7E,aHJ6E,CGI/D,+BHJ+D,CAAA,GGK7E,cHL6E,CGK9D,+BHL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UIA3B,8BAAA,SAAuC,OJAZ,CIAoB,WJApB,CIAgC,gCJAhC,EIAuC,+BJAvC,CAAA,CAAA,CAAA;AAAmC,cIElE,yBJFkE,EIEvC,yBJFuC,CIG7E,8BJH6E,GII7E,aJJ6E,CII/D,gCJJ+D,CAAA,GIK7E,cJL6E,CIK9D,gCJL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UKA3B,2BAAA,SAAoC,OLAT,CKAiB,WLAjB,CKA6B,6BLA7B,EKAoC,4BLApC,CAAA,CAAA,CAAA;AAAmC,cKElE,sBLFkE,EKE1C,yBLF0C,CKG7E,2BLH6E,GKI7E,aLJ6E,CKI/D,6BLJ+D,CAAA,GKK7E,cLL6E,CKK9D,6BLL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UMA3B,oBAAA,SAA6B,ONAF,CMAU,WNAV,CMAsB,sBNAtB,EMA6B,qBNA7B,CAAA,CAAA,CAAA;AAAmC,cMElE,eNFkE,EMEjD,yBNFiD,CMG7E,oBNH6E,GMI7E,aNJ6E,CMI/D,sBNJ+D,CAAA,GMK7E,cNL6E,CMK9D,sBNL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UOA3B,uBAAA,SAAgC,OPAL,COAa,WPAb,COAyB,yBPAzB,EOAgC,wBPAhC,CAAA,CAAA,CAAA;AAAmC,cOElE,kBPFkE,EOE9C,yBPF8C,COG7E,uBPH6E,GOI7E,aPJ6E,COI/D,yBPJ+D,CAAA,GOK7E,cPL6E,COK9D,yBPL8D,CAAA,CAAA;;;;;AAA/E;AAA4C,UQA3B,0BAAA,SAAmC,ORAR,CQAgB,WRAhB,CQA4B,4BRA5B,EQAmC,2BRAnC,CAAA,CAAA,CAAA;AAAmC,cQElE,qBRFkE,EQE3C,yBRF2C,CQG7E,0BRH6E,GQI7E,aRJ6E,CQI/D,4BRJ+D,CAAA,GQK7E,cRL6E,CQK9D,4BRL8D,CAAA,CAAA"}
@@ -38,4 +38,5 @@ const TableHandleRowRoot = createComponent("prosekit-table-handle-row-root", "Ta
38
38
  const TableHandleRowTrigger = createComponent("prosekit-table-handle-row-trigger", "TableHandleRowTrigger", Object.keys(tableHandleRowTriggerProps), Object.keys(tableHandleRowTriggerEvents));
39
39
 
40
40
  //#endregion
41
- export { TableHandleColumnRoot, TableHandleColumnTrigger, TableHandleDragPreview, TableHandleDropIndicator, TableHandlePopoverContent, TableHandlePopoverItem, TableHandleRoot, TableHandleRowRoot, TableHandleRowTrigger };
41
+ export { TableHandleColumnRoot, TableHandleColumnTrigger, TableHandleDragPreview, TableHandleDropIndicator, TableHandlePopoverContent, TableHandlePopoverItem, TableHandleRoot, TableHandleRowRoot, TableHandleRowTrigger };
42
+ //# sourceMappingURL=prosekit-react-table-handle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-table-handle.js","names":["TableHandleColumnRoot: ForwardRefExoticComponent<\n TableHandleColumnRootProps &\n RefAttributes<TableHandleColumnRootElement> &\n HTMLAttributes<TableHandleColumnRootElement>\n>","TableHandleColumnTrigger: ForwardRefExoticComponent<\n TableHandleColumnTriggerProps &\n RefAttributes<TableHandleColumnTriggerElement> &\n HTMLAttributes<TableHandleColumnTriggerElement>\n>","TableHandleDragPreview: ForwardRefExoticComponent<\n TableHandleDragPreviewProps &\n RefAttributes<TableHandleDragPreviewElement> &\n HTMLAttributes<TableHandleDragPreviewElement>\n>","TableHandleDropIndicator: ForwardRefExoticComponent<\n TableHandleDropIndicatorProps &\n RefAttributes<TableHandleDropIndicatorElement> &\n HTMLAttributes<TableHandleDropIndicatorElement>\n>","TableHandlePopoverContent: ForwardRefExoticComponent<\n TableHandlePopoverContentProps &\n RefAttributes<TableHandlePopoverContentElement> &\n HTMLAttributes<TableHandlePopoverContentElement>\n>","TableHandlePopoverItem: ForwardRefExoticComponent<\n TableHandlePopoverItemProps &\n RefAttributes<TableHandlePopoverItemElement> &\n HTMLAttributes<TableHandlePopoverItemElement>\n>","TableHandleRoot: ForwardRefExoticComponent<\n TableHandleRootProps &\n RefAttributes<TableHandleRootElement> &\n HTMLAttributes<TableHandleRootElement>\n>","TableHandleRowRoot: ForwardRefExoticComponent<\n TableHandleRowRootProps &\n RefAttributes<TableHandleRowRootElement> &\n HTMLAttributes<TableHandleRowRootElement>\n>","TableHandleRowTrigger: ForwardRefExoticComponent<\n TableHandleRowTriggerProps &\n RefAttributes<TableHandleRowTriggerElement> &\n HTMLAttributes<TableHandleRowTriggerElement>\n>"],"sources":["../src/components/table-handle/table-handle-column-root.gen.ts","../src/components/table-handle/table-handle-column-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-popover-content.gen.ts","../src/components/table-handle/table-handle-popover-item.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-root.gen.ts","../src/components/table-handle/table-handle-row-trigger.gen.ts"],"sourcesContent":["import {\n type TableHandleColumnRootElement,\n type TableHandleColumnRootProps as Props,\n type TableHandleColumnRootEvents as Events,\n tableHandleColumnRootProps,\n tableHandleColumnRootEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleColumnRoot} component.\n */\nexport interface TableHandleColumnRootProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleColumnRoot: ForwardRefExoticComponent<\n TableHandleColumnRootProps &\n RefAttributes<TableHandleColumnRootElement> &\n HTMLAttributes<TableHandleColumnRootElement>\n> = createComponent<\n TableHandleColumnRootProps, \n TableHandleColumnRootElement\n>(\n 'prosekit-table-handle-column-root',\n 'TableHandleColumnRoot',\n Object.keys(tableHandleColumnRootProps),\n Object.keys(tableHandleColumnRootEvents),\n)\n","import {\n type TableHandleColumnTriggerElement,\n type TableHandleColumnTriggerProps as Props,\n type TableHandleColumnTriggerEvents as Events,\n tableHandleColumnTriggerProps,\n tableHandleColumnTriggerEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleColumnTrigger} component.\n */\nexport interface TableHandleColumnTriggerProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleColumnTrigger: ForwardRefExoticComponent<\n TableHandleColumnTriggerProps &\n RefAttributes<TableHandleColumnTriggerElement> &\n HTMLAttributes<TableHandleColumnTriggerElement>\n> = createComponent<\n TableHandleColumnTriggerProps, \n TableHandleColumnTriggerElement\n>(\n 'prosekit-table-handle-column-trigger',\n 'TableHandleColumnTrigger',\n Object.keys(tableHandleColumnTriggerProps),\n Object.keys(tableHandleColumnTriggerEvents),\n)\n","import {\n type TableHandleDragPreviewElement,\n type TableHandleDragPreviewProps as Props,\n type TableHandleDragPreviewEvents as Events,\n tableHandleDragPreviewProps,\n tableHandleDragPreviewEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleDragPreview} component.\n */\nexport interface TableHandleDragPreviewProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleDragPreview: ForwardRefExoticComponent<\n TableHandleDragPreviewProps &\n RefAttributes<TableHandleDragPreviewElement> &\n HTMLAttributes<TableHandleDragPreviewElement>\n> = createComponent<\n TableHandleDragPreviewProps, \n TableHandleDragPreviewElement\n>(\n 'prosekit-table-handle-drag-preview',\n 'TableHandleDragPreview',\n Object.keys(tableHandleDragPreviewProps),\n Object.keys(tableHandleDragPreviewEvents),\n)\n","import {\n type TableHandleDropIndicatorElement,\n type TableHandleDropIndicatorProps as Props,\n type TableHandleDropIndicatorEvents as Events,\n tableHandleDropIndicatorProps,\n tableHandleDropIndicatorEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleDropIndicator} component.\n */\nexport interface TableHandleDropIndicatorProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleDropIndicator: ForwardRefExoticComponent<\n TableHandleDropIndicatorProps &\n RefAttributes<TableHandleDropIndicatorElement> &\n HTMLAttributes<TableHandleDropIndicatorElement>\n> = createComponent<\n TableHandleDropIndicatorProps, \n TableHandleDropIndicatorElement\n>(\n 'prosekit-table-handle-drop-indicator',\n 'TableHandleDropIndicator',\n Object.keys(tableHandleDropIndicatorProps),\n Object.keys(tableHandleDropIndicatorEvents),\n)\n","import {\n type TableHandlePopoverContentElement,\n type TableHandlePopoverContentProps as Props,\n type TableHandlePopoverContentEvents as Events,\n tableHandlePopoverContentProps,\n tableHandlePopoverContentEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandlePopoverContent} component.\n */\nexport interface TableHandlePopoverContentProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandlePopoverContent: ForwardRefExoticComponent<\n TableHandlePopoverContentProps &\n RefAttributes<TableHandlePopoverContentElement> &\n HTMLAttributes<TableHandlePopoverContentElement>\n> = createComponent<\n TableHandlePopoverContentProps, \n TableHandlePopoverContentElement\n>(\n 'prosekit-table-handle-popover-content',\n 'TableHandlePopoverContent',\n Object.keys(tableHandlePopoverContentProps),\n Object.keys(tableHandlePopoverContentEvents),\n)\n","import {\n type TableHandlePopoverItemElement,\n type TableHandlePopoverItemProps as Props,\n type TableHandlePopoverItemEvents as Events,\n tableHandlePopoverItemProps,\n tableHandlePopoverItemEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandlePopoverItem} component.\n */\nexport interface TableHandlePopoverItemProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandlePopoverItem: ForwardRefExoticComponent<\n TableHandlePopoverItemProps &\n RefAttributes<TableHandlePopoverItemElement> &\n HTMLAttributes<TableHandlePopoverItemElement>\n> = createComponent<\n TableHandlePopoverItemProps, \n TableHandlePopoverItemElement\n>(\n 'prosekit-table-handle-popover-item',\n 'TableHandlePopoverItem',\n Object.keys(tableHandlePopoverItemProps),\n Object.keys(tableHandlePopoverItemEvents),\n)\n","import {\n type TableHandleRootElement,\n type TableHandleRootProps as Props,\n type TableHandleRootEvents as Events,\n tableHandleRootProps,\n tableHandleRootEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRoot} component.\n */\nexport interface TableHandleRootProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleRoot: ForwardRefExoticComponent<\n TableHandleRootProps &\n RefAttributes<TableHandleRootElement> &\n HTMLAttributes<TableHandleRootElement>\n> = createComponent<\n TableHandleRootProps, \n TableHandleRootElement\n>(\n 'prosekit-table-handle-root',\n 'TableHandleRoot',\n Object.keys(tableHandleRootProps),\n Object.keys(tableHandleRootEvents),\n)\n","import {\n type TableHandleRowRootElement,\n type TableHandleRowRootProps as Props,\n type TableHandleRowRootEvents as Events,\n tableHandleRowRootProps,\n tableHandleRowRootEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRowRoot} component.\n */\nexport interface TableHandleRowRootProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleRowRoot: ForwardRefExoticComponent<\n TableHandleRowRootProps &\n RefAttributes<TableHandleRowRootElement> &\n HTMLAttributes<TableHandleRowRootElement>\n> = createComponent<\n TableHandleRowRootProps, \n TableHandleRowRootElement\n>(\n 'prosekit-table-handle-row-root',\n 'TableHandleRowRoot',\n Object.keys(tableHandleRowRootProps),\n Object.keys(tableHandleRowRootEvents),\n)\n","import {\n type TableHandleRowTriggerElement,\n type TableHandleRowTriggerProps as Props,\n type TableHandleRowTriggerEvents as Events,\n tableHandleRowTriggerProps,\n tableHandleRowTriggerEvents,\n} from '@prosekit/web/table-handle'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'react'\n\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRowTrigger} component.\n */\nexport interface TableHandleRowTriggerProps extends Partial<CreateProps<Props, Events>> {}\n \nexport const TableHandleRowTrigger: ForwardRefExoticComponent<\n TableHandleRowTriggerProps &\n RefAttributes<TableHandleRowTriggerElement> &\n HTMLAttributes<TableHandleRowTriggerElement>\n> = createComponent<\n TableHandleRowTriggerProps, \n TableHandleRowTriggerElement\n>(\n 'prosekit-table-handle-row-trigger',\n 'TableHandleRowTrigger',\n Object.keys(tableHandleRowTriggerProps),\n Object.keys(tableHandleRowTriggerEvents),\n)\n"],"mappings":";;;;;AAqBA,MAAaA,wBAIT,gBAIF,qCACA,yBACA,OAAO,KAAK,2BAA2B,EACvC,OAAO,KAAK,4BAA4B,CACzC;;;;ACZD,MAAaC,2BAIT,gBAIF,wCACA,4BACA,OAAO,KAAK,8BAA8B,EAC1C,OAAO,KAAK,+BAA+B,CAC5C;;;;ACZD,MAAaC,yBAIT,gBAIF,sCACA,0BACA,OAAO,KAAK,4BAA4B,EACxC,OAAO,KAAK,6BAA6B,CAC1C;;;;ACZD,MAAaC,2BAIT,gBAIF,wCACA,4BACA,OAAO,KAAK,8BAA8B,EAC1C,OAAO,KAAK,+BAA+B,CAC5C;;;;ACZD,MAAaC,4BAIT,gBAIF,yCACA,6BACA,OAAO,KAAK,+BAA+B,EAC3C,OAAO,KAAK,gCAAgC,CAC7C;;;;ACZD,MAAaC,yBAIT,gBAIF,sCACA,0BACA,OAAO,KAAK,4BAA4B,EACxC,OAAO,KAAK,6BAA6B,CAC1C;;;;ACZD,MAAaC,kBAIT,gBAIF,8BACA,mBACA,OAAO,KAAK,qBAAqB,EACjC,OAAO,KAAK,sBAAsB,CACnC;;;;ACZD,MAAaC,qBAIT,gBAIF,kCACA,sBACA,OAAO,KAAK,wBAAwB,EACpC,OAAO,KAAK,yBAAyB,CACtC;;;;ACZD,MAAaC,wBAIT,gBAIF,qCACA,yBACA,OAAO,KAAK,2BAA2B,EACvC,OAAO,KAAK,4BAA4B,CACzC"}
@@ -1,27 +1,28 @@
1
- import { CreateProps } from "./create-props-CkTwd_m_.js";
1
+ import { CreateProps } from "./create-props-EGV61dJR.js";
2
2
  import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "react";
3
3
  import { TooltipContentElement, TooltipContentEvents, TooltipContentProps as TooltipContentProps$1, TooltipRootElement, TooltipRootEvents, TooltipRootProps as TooltipRootProps$1, TooltipTriggerElement, TooltipTriggerEvents, TooltipTriggerProps as TooltipTriggerProps$1 } from "@prosekit/web/tooltip";
4
4
 
5
5
  //#region src/components/tooltip/tooltip-content.gen.d.ts
6
6
 
7
7
  /**
8
- * Props for the {@link TooltipContent} component.
9
- */
8
+ * Props for the {@link TooltipContent} component.
9
+ */
10
10
  interface TooltipContentProps extends Partial<CreateProps<TooltipContentProps$1, TooltipContentEvents>> {}
11
11
  declare const TooltipContent: ForwardRefExoticComponent<TooltipContentProps & RefAttributes<TooltipContentElement> & HTMLAttributes<TooltipContentElement>>;
12
12
  //#endregion
13
13
  //#region src/components/tooltip/tooltip-root.gen.d.ts
14
14
  /**
15
- * Props for the {@link TooltipRoot} component.
16
- */
15
+ * Props for the {@link TooltipRoot} component.
16
+ */
17
17
  interface TooltipRootProps extends Partial<CreateProps<TooltipRootProps$1, TooltipRootEvents>> {}
18
18
  declare const TooltipRoot: ForwardRefExoticComponent<TooltipRootProps & RefAttributes<TooltipRootElement> & HTMLAttributes<TooltipRootElement>>;
19
19
  //#endregion
20
20
  //#region src/components/tooltip/tooltip-trigger.gen.d.ts
21
21
  /**
22
- * Props for the {@link TooltipTrigger} component.
23
- */
22
+ * Props for the {@link TooltipTrigger} component.
23
+ */
24
24
  interface TooltipTriggerProps extends Partial<CreateProps<TooltipTriggerProps$1, TooltipTriggerEvents>> {}
25
25
  declare const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & RefAttributes<TooltipTriggerElement> & HTMLAttributes<TooltipTriggerElement>>;
26
26
  //#endregion
27
- export { TooltipContent, TooltipContentProps, TooltipRoot, TooltipRootProps, TooltipTrigger, TooltipTriggerProps };
27
+ export { TooltipContent, type TooltipContentProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerProps };
28
+ //# sourceMappingURL=prosekit-react-tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prosekit-react-tooltip.d.ts","names":[],"sources":["../src/components/tooltip/tooltip-content.gen.ts","../src/components/tooltip/tooltip-root.gen.ts","../src/components/tooltip/tooltip-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,yBAF2C,CAGtE,mBAHsE,GAItE,aAJsE,CAIxD,qBAJwD,CAAA,GAKtE,cALsE,CAKvD,qBALuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,gBAAA,SAAyB,ODAL,CCAa,WDAb,CCAyB,kBDAzB,ECAgC,iBDAhC,CAAA,CAAA,CAAA;AAAmC,cCE3D,WDF2D,ECE9C,yBDF8C,CCGtE,gBDHsE,GCItE,aDJsE,CCIxD,kBDJwD,CAAA,GCKtE,cDLsE,CCKvD,kBDLuD,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,mBAAA,SAA4B,OFAR,CEAgB,WFAhB,CEA4B,qBFA5B,EEAmC,oBFAnC,CAAA,CAAA,CAAA;AAAmC,cEE3D,cFF2D,EEE3C,yBFF2C,CEGtE,mBFHsE,GEItE,aFJsE,CEIxD,qBFJwD,CAAA,GEKtE,cFLsE,CEKvD,qBFLuD,CAAA,CAAA"}
@@ -14,4 +14,5 @@ const TooltipRoot = createComponent("prosekit-tooltip-root", "TooltipRoot", Obje
14
14
  const TooltipTrigger = createComponent("prosekit-tooltip-trigger", "TooltipTrigger", Object.keys(tooltipTriggerProps), Object.keys(tooltipTriggerEvents));
15
15
 
16
16
  //#endregion
17
- export { TooltipContent, TooltipRoot, TooltipTrigger };
17
+ export { TooltipContent, TooltipRoot, TooltipTrigger };
18
+ //# sourceMappingURL=prosekit-react-tooltip.js.map