@haklex/rich-kit-shiro 0.0.67 → 0.0.68
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 +1 -1
- package/dist/exports/editor-core.d.ts +2 -2
- package/dist/exports/editor-core.d.ts.map +1 -1
- package/dist/exports/editor-core.mjs +2 -1
- package/dist/index.css +1 -1
- package/dist/index.mjs +2 -1
- package/dist/renderer.css +1 -1
- package/dist/renderer.mjs +1 -1
- package/dist/style-BboVOj9s.js +4 -0
- package/package.json +19 -19
- package/dist/style-cfUKULBa.js +0 -4
package/dist/editor.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import root from "react-shadow";
|
|
3
3
|
import { S as ShiroEditor } from "./ShiroEditor-CQlJFd4n.js";
|
|
4
|
-
import { c as cssText } from "./style-
|
|
4
|
+
import { c as cssText } from "./style-BboVOj9s.js";
|
|
5
5
|
const resolvedCss = cssText.replaceAll(":root {", ":root, :host {");
|
|
6
6
|
function IsolateEditor({ theme = "light", className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx(root.div, { className, children: /* @__PURE__ */ jsxs("div", { suppressHydrationWarning: true, "data-theme": theme, id: "shadow-html", children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { ColorScheme, FootnoteDefinitionsContextValue, LinkFaviconProps, RendererConfig, RendererMode, RichEditorProps, RichEditorVariant, } from '@haklex/rich-editor';
|
|
2
|
-
export { ColorSchemeProvider, getVariantClass, LinkFavicon, RichEditor, useColorScheme, 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
4
|
export type { SlashMenuItemConfig } from '@haklex/rich-editor/commands';
|
|
5
5
|
export { createRendererDecoration } from '@haklex/rich-editor/renderers';
|
|
@@ -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,cAAc,EACd,YAAY,EACZ,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,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;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,9 +1,10 @@
|
|
|
1
|
-
import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, RichEditor, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, 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
2
|
import { createRendererDecoration } from "@haklex/rich-editor/renderers";
|
|
3
3
|
export {
|
|
4
4
|
ColorSchemeProvider,
|
|
5
5
|
FootnoteDefinitionsProvider,
|
|
6
6
|
LinkFavicon,
|
|
7
|
+
PresentDialogProvider,
|
|
7
8
|
RichEditor,
|
|
8
9
|
createRendererDecoration,
|
|
9
10
|
getVariantClass,
|