@haklex/rich-kit-shiro 0.4.1 → 0.5.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.
package/dist/editor.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as ShiroEditor } from "./ShiroEditor-Gv5qUfYs.js";
2
- import { t as style_default } from "./style-Bc86Vz-V.js";
2
+ import { t as style_default } from "./style-BpYEyDWt.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import root from "react-shadow";
5
5
  //#region src/IsolateEditor.tsx
@@ -1,6 +1,8 @@
1
- export type { ColorScheme, FootnoteDefinitionsContextValue, LinkFaviconProps, PollDataAdapter, PollDataProviderProps, PollMetadata, PollMode, PollOption, PollRendererProps, PollShowResults, PollState, PresentDialogFn, PresentDialogProps, RendererConfig, RendererMode, RichEditorProps, RichEditorVariant, } from '@haklex/rich-editor';
2
- export { ColorSchemeProvider, extractPolls, getVariantClass, LinkFavicon, PollDataProvider, PresentDialogProvider, RichEditor, useColorScheme, useInitialPollState, usePollDataAdapter, useRendererConfig, useRendererMode, } from '@haklex/rich-editor';
1
+ export type { ColorScheme, FootnoteDefinitionsContextValue, LinkFaviconProps, PresentDialogFn, PresentDialogProps, RendererConfig, RendererMode, RichEditorProps, RichEditorVariant, } from '@haklex/rich-editor';
2
+ export { ColorSchemeProvider, getVariantClass, LinkFavicon, PresentDialogProvider, RichEditor, useColorScheme, useRendererConfig, useRendererMode, } from '@haklex/rich-editor';
3
3
  export { FootnoteDefinitionsProvider, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, } from '@haklex/rich-editor';
4
+ export type { PollDataAdapter, PollDataProviderProps, PollMetadata, PollMode, PollOption, PollRendererProps, PollShowResults, PollState, } from '@haklex/rich-ext-poll';
5
+ export { extractPolls, PollDataProvider, useInitialPollState, usePollDataAdapter, } from '@haklex/rich-ext-poll';
4
6
  export type { SlashMenuItemConfig } from '@haklex/rich-editor/commands';
5
7
  export { createRendererDecoration } from '@haklex/rich-editor/renderers';
6
8
  //# sourceMappingURL=editor-core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor-core.d.ts","sourceRoot":"","sources":["../../src/exports/editor-core.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,+BAA+B,EAC/B,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAG7B,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"editor-core.d.ts","sourceRoot":"","sources":["../../src/exports/editor-core.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,+BAA+B,EAC/B,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAG7B,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,SAAS,GACV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAG/B,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,3 +1,4 @@
1
- import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, PollDataProvider, PresentDialogProvider, RichEditor, extractPolls, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useInitialPollState, usePollDataAdapter, useRendererConfig, useRendererMode } from "@haklex/rich-editor";
1
+ import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, PresentDialogProvider, RichEditor, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useRendererConfig, useRendererMode } from "@haklex/rich-editor";
2
+ import { PollDataProvider, extractPolls, useInitialPollState, usePollDataAdapter } from "@haklex/rich-ext-poll";
2
3
  import { createRendererDecoration } from "@haklex/rich-editor/renderers";
3
4
  export { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, PollDataProvider, PresentDialogProvider, RichEditor, createRendererDecoration, extractPolls, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useInitialPollState, usePollDataAdapter, useRendererConfig, useRendererMode };
package/dist/renderer.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as ShiroRenderer } from "./ShiroRenderer-CxfIvOyn.js";
2
- import { t as style_default } from "./style-Bc86Vz-V.js";
2
+ import { t as style_default } from "./style-BpYEyDWt.js";
3
3
  import "@haklex/rich-editor/style.css";
4
4
  import "@haklex/rich-renderers/style.css";
5
5
  import "@haklex/rich-renderer-katex/style.css";