@haklex/rich-compose 0.17.1 → 0.20.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/core.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/litexml-html-preview-client.css +12 -4
- package/dist/litexml-html-preview-client.js +38915 -11785
- package/dist/{module-DR6Bi8wl.js → module-7aXXh4ho.js} +1 -1
- package/dist/{module-CO3tw31M.js → module-BVnJlh0l.js} +1 -1
- package/dist/{module-B17tF-0X.js → module-DpXDKeCg.js} +1 -1
- package/dist/{module-CuTCGzWZ.js → module-cSMHWB1W.js} +1 -1
- package/dist/modules/alert/edit.mjs +1 -1
- package/dist/modules/alert/index.mjs +1 -1
- package/dist/modules/banner/edit.mjs +1 -1
- package/dist/modules/banner/index.mjs +1 -1
- package/dist/modules/chat/edit.mjs +1 -1
- package/dist/modules/chat/index.mjs +1 -1
- package/dist/modules/code-block/edit.mjs +1 -1
- package/dist/modules/code-block/index.mjs +1 -1
- package/dist/modules/code-snippet/edit.mjs +1 -1
- package/dist/modules/code-snippet/index.mjs +1 -1
- package/dist/modules/embed/edit.mjs +1 -1
- package/dist/modules/embed/index.mjs +1 -1
- package/dist/modules/excalidraw/edit.mjs +1 -1
- package/dist/modules/excalidraw/index.mjs +1 -1
- package/dist/modules/gallery/edit.mjs +1 -1
- package/dist/modules/gallery/index.mjs +2 -2
- package/dist/modules/gallery/renderer.mjs +1 -1
- package/dist/modules/image/edit.mjs +1 -1
- package/dist/modules/image/index.mjs +2 -2
- package/dist/modules/image/renderer.mjs +1 -1
- package/dist/modules/link-card/edit.mjs +1 -1
- package/dist/modules/link-card/index.mjs +1 -1
- package/dist/modules/mention/edit.mjs +1 -1
- package/dist/modules/mention/index.mjs +1 -1
- package/dist/modules/mermaid/edit.mjs +1 -1
- package/dist/modules/mermaid/index.mjs +1 -1
- package/dist/modules/nested-doc/edit.mjs +1 -1
- package/dist/modules/nested-doc/index.mjs +1 -1
- package/dist/modules/poll/edit.mjs +1 -1
- package/dist/modules/poll/index.mjs +1 -1
- package/dist/modules/ruby/edit.mjs +1 -1
- package/dist/modules/ruby/index.mjs +1 -1
- package/dist/modules/video/edit.mjs +1 -1
- package/dist/modules/video/index.mjs +1 -1
- package/dist/{renderer-CcDx_xAp.js → renderer-BDK0TrpM.js} +1 -1
- package/dist/{renderer-CTwQv2Bx.js → renderer-YcJvVUms.js} +1 -1
- package/dist/renderer.mjs +16 -16
- package/dist/style/alert.css +1 -1
- package/dist/style/banner.css +1 -1
- package/dist/style/foundation.css +1 -1
- package/dist/style/nested-doc.css +1 -1
- package/dist/style.css +4 -4
- package/package.json +29 -29
- /package/dist/{compose-B17i60Ps.js → compose-CCyeRK8c.js} +0 -0
- /package/dist/{configurable-module-CjMPCchc.js → configurable-module-Bur4JaI3.js} +0 -0
- /package/dist/{module-qqU83gqT.js → module-B-e-0OeP.js} +0 -0
- /package/dist/{module-D09RA7Ol.js → module-B0p3y6_-.js} +0 -0
- /package/dist/{module-CDyJH0rd.js → module-Bik_qOoy.js} +0 -0
- /package/dist/{module-DwcCrpnL.js → module-C3Li1aCW.js} +0 -0
- /package/dist/{module-D0xDMNQT.js → module-CWEnhSrZ.js} +0 -0
- /package/dist/{module-C37dXVWD.js → module-CjiwNtYj.js} +0 -0
- /package/dist/{module-DMA99llb.js → module-CvVXsc8m.js} +0 -0
- /package/dist/{module-BcR1wcLK.js → module-D1w72FNW.js} +0 -0
- /package/dist/{module-BdIPrsz-.js → module-D4mpXQAA.js} +0 -0
- /package/dist/{module-DknGw06N.js → module-DkC6sHpj.js} +0 -0
- /package/dist/{module-CQ2lzhu7.js → module-DxMbBHiD.js} +0 -0
- /package/dist/{module-D8r7Lehc.js → module-RzKqsng0.js} +0 -0
package/dist/core.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-
|
|
1
|
+
import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-CCyeRK8c.js";
|
|
2
2
|
export { RichRenderer, composeRenderer, dedupNodes, mergeModules, wrapLazy };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-
|
|
2
|
-
import { t as defineConfigurableModule } from "./configurable-module-
|
|
1
|
+
import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-CCyeRK8c.js";
|
|
2
|
+
import { t as defineConfigurableModule } from "./configurable-module-Bur4JaI3.js";
|
|
3
3
|
import { Fragment, memo, useCallback, useMemo } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { NestedContentRendererProvider, RichEditor } from "@haklex/rich-editor";
|
|
@@ -2312,6 +2312,11 @@
|
|
|
2312
2312
|
pointer-events: none;
|
|
2313
2313
|
color: var(--rc-text-secondary);
|
|
2314
2314
|
}._17jtiqt0 {
|
|
2315
|
+
position: fixed;
|
|
2316
|
+
z-index: 50;
|
|
2317
|
+
pointer-events: none;
|
|
2318
|
+
}
|
|
2319
|
+
._17jtiqt1 {
|
|
2315
2320
|
position: absolute;
|
|
2316
2321
|
bottom: 4px;
|
|
2317
2322
|
right: 8px;
|
|
@@ -2320,7 +2325,7 @@
|
|
|
2320
2325
|
justify-content: flex-end;
|
|
2321
2326
|
pointer-events: auto;
|
|
2322
2327
|
}
|
|
2323
|
-
.
|
|
2328
|
+
._17jtiqt2 {
|
|
2324
2329
|
appearance: none;
|
|
2325
2330
|
background: transparent;
|
|
2326
2331
|
border: none;
|
|
@@ -2338,14 +2343,14 @@
|
|
|
2338
2343
|
outline: none;
|
|
2339
2344
|
transition: border-color 120ms ease, background-color 120ms ease;
|
|
2340
2345
|
}
|
|
2341
|
-
.
|
|
2346
|
+
._17jtiqt2::placeholder {
|
|
2342
2347
|
color: var(--rc-text-quaternary);
|
|
2343
2348
|
font-style: italic;
|
|
2344
2349
|
}
|
|
2345
|
-
.
|
|
2350
|
+
._17jtiqt2:hover {
|
|
2346
2351
|
border-bottom-color: var(--rc-text-quaternary);
|
|
2347
2352
|
}
|
|
2348
|
-
.
|
|
2353
|
+
._17jtiqt2:focus {
|
|
2349
2354
|
border-bottom-color: var(--rc-text-tertiary);
|
|
2350
2355
|
}.m0xmg20 {
|
|
2351
2356
|
overflow: auto;
|
|
@@ -3118,6 +3123,9 @@
|
|
|
3118
3123
|
border-radius: var(--rc-radius-sm);
|
|
3119
3124
|
background-color: var(--rc-quote-border);
|
|
3120
3125
|
}
|
|
3126
|
+
.gxfui1s[data-attribution-panel] {
|
|
3127
|
+
padding-bottom: calc(var(--rc-space-sm) + 24px);
|
|
3128
|
+
}
|
|
3121
3129
|
.gxfui1t {
|
|
3122
3130
|
display: block;
|
|
3123
3131
|
text-align: right;
|