@haklex/rich-kit-shiro 0.0.90 → 0.0.92
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/index.d.ts.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/renderer.d.ts.map +1 -1
- package/dist/renderer.mjs +8 -1
- package/dist/style-CufLuwXs.js +4 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.d.ts.map +1 -0
- package/package.json +23 -22
- package/src/style-renderer.css +7 -0
- package/dist/index.css +0 -1
- package/dist/renderer.css +0 -1
- package/dist/style-5lNm5eif.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-BYO8MHFq.js";
|
|
4
|
-
import { c as cssText } from "./style-
|
|
4
|
+
import { c as cssText } from "./style-CufLuwXs.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: [
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;AAGjB,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
import "@haklex/rich-editor/style.css";
|
|
2
|
+
import "@haklex/rich-editor-ui/style.css";
|
|
3
|
+
import "@haklex/rich-plugin-block-handle/style.css";
|
|
4
|
+
import "@haklex/rich-plugin-floating-toolbar/style.css";
|
|
5
|
+
import "@haklex/rich-plugin-link-edit/style.css";
|
|
6
|
+
import "@haklex/rich-plugin-mention/style.css";
|
|
7
|
+
import "@haklex/rich-plugin-slash-menu/style.css";
|
|
8
|
+
import "@haklex/rich-plugin-table/style.css";
|
|
9
|
+
import "@haklex/rich-plugin-toolbar/style.css";
|
|
10
|
+
import "@haklex/rich-renderers/style.css";
|
|
11
|
+
import "@haklex/rich-renderer-katex/style.css";
|
|
12
|
+
import "@haklex/rich-ext-code-snippet/style.css";
|
|
13
|
+
import "@haklex/rich-ext-embed/style.css";
|
|
14
|
+
import "@haklex/rich-ext-excalidraw/style.css";
|
|
15
|
+
import "@haklex/rich-ext-nested-doc/style.css";
|
|
16
|
+
import "katex/dist/katex.min.css";
|
|
1
17
|
import { S } from "./ShiroEditor-BYO8MHFq.js";
|
|
2
18
|
import { S as S2 } from "./ShiroRenderer-lHgA6aH9.js";
|
|
3
19
|
import { ColorSchemeProvider, FootnoteDefinitionsProvider, LinkFavicon, PresentDialogProvider, RichEditor, getVariantClass, useColorScheme, useFootnoteContent, useFootnoteDefinitions, useFootnoteDisplayNumber, useRendererConfig, useRendererMode } from "@haklex/rich-editor";
|
package/dist/renderer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/renderer.mjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import "@haklex/rich-editor/style.css";
|
|
2
|
+
import "@haklex/rich-renderers/style.css";
|
|
3
|
+
import "@haklex/rich-renderer-katex/style.css";
|
|
4
|
+
import "@haklex/rich-ext-code-snippet/style.css";
|
|
5
|
+
import "@haklex/rich-ext-embed/style.css";
|
|
6
|
+
import "@haklex/rich-ext-nested-doc/style.css";
|
|
7
|
+
import "katex/dist/katex.min.css";
|
|
1
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
9
|
import root from "react-shadow";
|
|
3
10
|
import { S as ShiroRenderer } from "./ShiroRenderer-lHgA6aH9.js";
|
|
4
|
-
import { c as cssText } from "./style-
|
|
11
|
+
import { c as cssText } from "./style-CufLuwXs.js";
|
|
5
12
|
const resolvedCss = cssText.replaceAll(":root {", ":root, :host {");
|
|
6
13
|
function IsolateRenderer({
|
|
7
14
|
theme = "light",
|