@haklex/rich-ext-embed 0.23.0 → 0.25.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/README.md +26 -26
- package/dist/rich-ext-embed.css +1 -1
- package/dist/styles-static.css.d.ts.map +1 -1
- package/dist/styles.css.d.ts.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -10,72 +10,72 @@ pnpm add @haklex/rich-ext-embed
|
|
|
10
10
|
|
|
11
11
|
## Peer Dependencies
|
|
12
12
|
|
|
13
|
-
| Package
|
|
14
|
-
|
|
|
15
|
-
| `@lexical/react` | `^0.
|
|
16
|
-
| `lexical`
|
|
17
|
-
| `react`
|
|
18
|
-
| `react-dom`
|
|
19
|
-
| `shiki`
|
|
13
|
+
| Package | Version | Required |
|
|
14
|
+
| ---------------- | --------- | -------- |
|
|
15
|
+
| `@lexical/react` | `^0.45.0` | Yes |
|
|
16
|
+
| `lexical` | `^0.45.0` | Yes |
|
|
17
|
+
| `react` | `>= 19` | Yes |
|
|
18
|
+
| `react-dom` | `>= 19` | Yes |
|
|
19
|
+
| `shiki` | `>= 3` | Optional |
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
23
|
### Register nodes in your editor config
|
|
24
24
|
|
|
25
25
|
```ts
|
|
26
|
-
import { embedEditNodes } from '@haklex/rich-ext-embed'
|
|
26
|
+
import { embedEditNodes } from '@haklex/rich-ext-embed';
|
|
27
27
|
|
|
28
28
|
const editorConfig = {
|
|
29
29
|
nodes: [...embedEditNodes],
|
|
30
|
-
}
|
|
30
|
+
};
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
For static/read-only rendering:
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
|
-
import { embedNodes } from '@haklex/rich-ext-embed/static'
|
|
36
|
+
import { embedNodes } from '@haklex/rich-ext-embed/static';
|
|
37
37
|
|
|
38
38
|
const staticConfig = {
|
|
39
39
|
nodes: [...embedNodes],
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
### Use the embed plugin
|
|
44
44
|
|
|
45
45
|
```tsx
|
|
46
|
-
import { EmbedPlugin } from '@haklex/rich-ext-embed'
|
|
46
|
+
import { EmbedPlugin } from '@haklex/rich-ext-embed';
|
|
47
47
|
|
|
48
48
|
function EditorPlugins() {
|
|
49
|
-
return <EmbedPlugin
|
|
49
|
+
return <EmbedPlugin />;
|
|
50
50
|
}
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
### Insert embeds programmatically
|
|
54
54
|
|
|
55
55
|
```ts
|
|
56
|
-
import { INSERT_EMBED_COMMAND } from '@haklex/rich-ext-embed'
|
|
56
|
+
import { INSERT_EMBED_COMMAND } from '@haklex/rich-ext-embed';
|
|
57
57
|
|
|
58
|
-
editor.dispatchCommand(INSERT_EMBED_COMMAND, { url: 'https://youtube.com/watch?v=...' })
|
|
58
|
+
editor.dispatchCommand(INSERT_EMBED_COMMAND, { url: 'https://youtube.com/watch?v=...' });
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
### Use renderers
|
|
62
62
|
|
|
63
63
|
```tsx
|
|
64
|
-
import { EmbedLinkRenderer } from '@haklex/rich-ext-embed'
|
|
65
|
-
import { EmbedStaticRenderer } from '@haklex/rich-ext-embed/static'
|
|
64
|
+
import { EmbedLinkRenderer } from '@haklex/rich-ext-embed';
|
|
65
|
+
import { EmbedStaticRenderer } from '@haklex/rich-ext-embed/static';
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
### Provide custom embed renderers
|
|
69
69
|
|
|
70
70
|
```tsx
|
|
71
|
-
import { EmbedRendererProvider, useEmbedRenderers } from '@haklex/rich-ext-embed'
|
|
71
|
+
import { EmbedRendererProvider, useEmbedRenderers } from '@haklex/rich-ext-embed';
|
|
72
72
|
|
|
73
73
|
function App() {
|
|
74
74
|
return (
|
|
75
75
|
<EmbedRendererProvider>
|
|
76
76
|
<Editor />
|
|
77
77
|
</EmbedRendererProvider>
|
|
78
|
-
)
|
|
78
|
+
);
|
|
79
79
|
}
|
|
80
80
|
```
|
|
81
81
|
|
|
@@ -91,13 +91,13 @@ import {
|
|
|
91
91
|
isGistUrl,
|
|
92
92
|
isGithubFilePreviewUrl,
|
|
93
93
|
createSelfThinkingMatcher,
|
|
94
|
-
} from '@haklex/rich-ext-embed'
|
|
94
|
+
} from '@haklex/rich-ext-embed';
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
### Import styles
|
|
98
98
|
|
|
99
99
|
```ts
|
|
100
|
-
import '@haklex/rich-ext-embed/style.css'
|
|
100
|
+
import '@haklex/rich-ext-embed/style.css';
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
## Exports
|
|
@@ -137,11 +137,11 @@ import '@haklex/rich-ext-embed/style.css'
|
|
|
137
137
|
|
|
138
138
|
### Sub-path Exports
|
|
139
139
|
|
|
140
|
-
| Path
|
|
141
|
-
|
|
|
142
|
-
| `@haklex/rich-ext-embed`
|
|
143
|
-
| `@haklex/rich-ext-embed/static`
|
|
144
|
-
| `@haklex/rich-ext-embed/style.css` | Stylesheet
|
|
140
|
+
| Path | Description |
|
|
141
|
+
| ---------------------------------- | ------------------------------ |
|
|
142
|
+
| `@haklex/rich-ext-embed` | Full exports (edit + static) |
|
|
143
|
+
| `@haklex/rich-ext-embed/static` | Static-only (no heavy UI deps) |
|
|
144
|
+
| `@haklex/rich-ext-embed/style.css` | Stylesheet |
|
|
145
145
|
|
|
146
146
|
## Part of Haklex
|
|
147
147
|
|
package/dist/rich-ext-embed.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}:root.dark,[data-theme=dark]{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006}._1cz4fjc0{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1cz4fjc1{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.8;--rc-line-height-tight:1.4;--rc-font-family:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1cz4fjc2{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#a3a3a3;--rc-quote-bg:#fafafa;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:none;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:2px;--rc-space-sm:4px;--rc-space-md:10px;--rc-space-lg:16px;--rc-space-xl:20px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:14px;--rc-font-size-small:12px;--rc-line-height:1.5;--rc-line-height-tight:1.3;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:3px;--rc-radius-md:6px;--rc-radius-lg:12px}.dark ._1cz4fjc0,[data-theme=dark] ._1cz4fjc0,.dark._1cz4fjc0,[data-theme=dark]._1cz4fjc0,.dark ._1cz4fjc1,[data-theme=dark] ._1cz4fjc1,.dark._1cz4fjc1,[data-theme=dark]._1cz4fjc1,.dark ._1cz4fjc2,[data-theme=dark] ._1cz4fjc2,.dark._1cz4fjc2,[data-theme=dark]._1cz4fjc2{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006}._1qucygc1{margin:8px 0}._1qucygc2{--_1qucygc0:115, 115, 115;border:1px solid color-mix(in srgb, rgb(var(--_1qucygc0)) 25%, transparent);background-color:color-mix(in srgb, rgb(var(--_1qucygc0)) 12%, transparent);height:48px;font-family:var(--rc-font-family);font-size:var(--rc-font-size-md);border-radius:12px;align-items:center;gap:0;padding:0 14px;transition:border-color .15s,background-color .15s;display:flex}._1qucygc2:focus-within{border-color:color-mix(in srgb, rgb(var(--_1qucygc0)) 50%, transparent)}._1qucygc4{--_1qucygc0:29, 155, 240}._1qucygc5{--_1qucygc0:255, 0, 0}._1qucygc6{--_1qucygc0:163, 163, 163}._1qucygc7{--_1qucygc0:0, 161, 214}._1qucygc8,._1qucygc9{--_1qucygc0:110, 84, 148}._1qucygca{--_1qucygc0:139, 92, 246}._1qucygcb{font-weight:500;font-size:var(--rc-font-size-md);color:var(--rc-text-secondary);white-space:nowrap;-webkit-user-select:none;user-select:none;font-family:var(--rc-font-family-sans);flex-shrink:0;align-items:center;gap:8px;padding-right:14px;display:inline-flex}._1qucygcc{background-color:rgb(var(--_1qucygc0));border-radius:50%;flex-shrink:0;width:8px;height:8px}._1qucygcd{background-color:var(--rc-border);flex-shrink:0;width:1px;height:20px}._1qucygce{min-width:0;height:100%;font-size:var(--rc-font-size-md);font-family:var(--rc-font-mono);color:var(--rc-text);background:0 0;border:none;outline:none;flex:1;padding:0 14px}._1qucygce::placeholder{color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent)}._1xclnej1{justify-content:center;margin:8px 0;display:flex}._1xclnej2{width:100%;height:0;position:relative}._1xclnej3{border:none;border-radius:8px;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}._1xclnej4{flex-direction:column;align-items:center;display:flex}._1xclnej5{border:none;width:100%;height:300px;overflow:auto}._1xclnej6{color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);word-break:break-all;align-items:flex-start;gap:8px;margin-top:8px;line-height:1.4;text-decoration:none;display:inline-flex}._1xclnej6:hover{color:var(--rc-text)}._1xclnej6 svg{flex-shrink:0;margin-top:2px}._1xclnej7{flex-direction:column;align-items:center;width:100%;display:flex}._1xclnej8{width:100%;overflow:auto}._1xclnej9{max-height:50vh}._1xclnej8 pre{background:var(--rc-code-bg);font-size:var(--rc-font-size-sm);line-height:1.5;font-family:var(--rc-font-mono);color:var(--rc-text);border-radius:8px;margin:0;padding:16px}._1xclneja{display:block}._1xclnejb{text-align:right;width:4ch;color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent);-webkit-user-select:none;user-select:none;margin-right:16px;display:inline-block}._1xclnejc{counter-reset:shiki-line var(--start-line,0)}._1xclnejc pre{font-size:var(--rc-font-size-sm);line-height:1.5;font-family:var(--rc-font-mono);border-radius:8px;margin:0;padding:16px;overflow-x:auto}._1xclnejc code{flex-direction:column;font-family:inherit;display:flex}._1xclnejc .line{line-height:1.5;display:flex}._1xclnejc .line:before{content:counter(shiki-line);counter-increment:shiki-line;text-align:right;width:4ch;color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent);-webkit-user-select:none;user-select:none;flex-shrink:0;margin-right:16px}._1xclnejd{--_1xclnej0:115, 115, 115;border:1px solid color-mix(in srgb, rgb(var(--_1xclnej0)) 25%, transparent);background-color:color-mix(in srgb, rgb(var(--_1xclnej0)) 8%, transparent);height:48px;font-family:var(--rc-font-family);font-size:var(--rc-font-size-md);border-radius:12px;align-items:center;gap:0;margin:8px 0;padding:0 14px;display:flex}._1xclnejf{--_1xclnej0:29, 155, 240}._1xclnejg{--_1xclnej0:255, 0, 0}._1xclnejh{--_1xclnej0:163, 163, 163}._1xclneji{--_1xclnej0:0, 161, 214}._1xclnejj,._1xclnejk{--_1xclnej0:110, 84, 148}._1xclnejl{--_1xclnej0:139, 92, 246}._1xclnejm{font-weight:500;font-size:var(--rc-font-size-md);color:var(--rc-text-secondary);white-space:nowrap;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:8px;padding-right:14px;display:inline-flex}._1xclnejn{background-color:rgb(var(--_1xclnej0));border-radius:50%;flex-shrink:0;width:8px;height:8px}._1xclnejo{min-width:0;font-size:var(--rc-font-size-md);font-family:var(--rc-font-mono);color:var(--rc-text-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;text-decoration:none;overflow:hidden}._1xclnejo:hover{color:var(--rc-text);text-decoration:underline}._1xclnejp{justify-content:center;width:100%;margin:8px 0;display:flex}._1xclnejq{height:200px;color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);justify-content:center;align-items:center;display:flex}
|
|
1
|
+
:root{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}:root.dark,[data-theme=dark]{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006}._1cz4fjc0{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1cz4fjc1{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.8;--rc-line-height-tight:1.4;--rc-font-family:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1cz4fjc2{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#a3a3a3;--rc-quote-bg:#fafafa;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:none;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:2px;--rc-space-sm:4px;--rc-space-md:10px;--rc-space-lg:16px;--rc-space-xl:20px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:14px;--rc-font-size-small:12px;--rc-line-height:1.5;--rc-line-height-tight:1.3;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:3px;--rc-radius-md:6px;--rc-radius-lg:12px}.dark ._1cz4fjc0,[data-theme=dark] ._1cz4fjc0,.dark._1cz4fjc0,[data-theme=dark]._1cz4fjc0,.dark ._1cz4fjc1,[data-theme=dark] ._1cz4fjc1,.dark._1cz4fjc1,[data-theme=dark]._1cz4fjc1,.dark ._1cz4fjc2,[data-theme=dark] ._1cz4fjc2,.dark._1cz4fjc2,[data-theme=dark]._1cz4fjc2{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006}._1qucygc1{margin:8px 0}._1qucygc2{--_1qucygc0:115, 115, 115;border:1px solid color-mix(in srgb, rgb(var(--_1qucygc0)) 25%, transparent);background-color:color-mix(in srgb, rgb(var(--_1qucygc0)) 12%, transparent);height:48px;font-family:var(--rc-font-family-sans);font-size:var(--rc-font-size-md);border-radius:12px;align-items:center;gap:0;padding:0 14px;transition:border-color .15s,background-color .15s;display:flex}._1qucygc2:focus-within{border-color:color-mix(in srgb, rgb(var(--_1qucygc0)) 50%, transparent)}._1qucygc4{--_1qucygc0:29, 155, 240}._1qucygc5{--_1qucygc0:255, 0, 0}._1qucygc6{--_1qucygc0:163, 163, 163}._1qucygc7{--_1qucygc0:0, 161, 214}._1qucygc8,._1qucygc9{--_1qucygc0:110, 84, 148}._1qucygca{--_1qucygc0:139, 92, 246}._1qucygcb{font-weight:500;font-size:var(--rc-font-size-md);color:var(--rc-text-secondary);white-space:nowrap;-webkit-user-select:none;user-select:none;font-family:var(--rc-font-family-sans);flex-shrink:0;align-items:center;gap:8px;padding-right:14px;display:inline-flex}._1qucygcc{background-color:rgb(var(--_1qucygc0));border-radius:50%;flex-shrink:0;width:8px;height:8px}._1qucygcd{background-color:var(--rc-border);flex-shrink:0;width:1px;height:20px}._1qucygce{min-width:0;height:100%;font-size:var(--rc-font-size-md);font-family:var(--rc-font-mono);color:var(--rc-text);background:0 0;border:none;outline:none;flex:1;padding:0 14px}._1qucygce::placeholder{color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent)}._1xclnej1{justify-content:center;margin:8px 0;display:flex}._1xclnej2{width:100%;height:0;position:relative}._1xclnej3{border:none;border-radius:8px;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}._1xclnej4{flex-direction:column;align-items:center;display:flex}._1xclnej5{border:none;width:100%;height:300px;overflow:auto}._1xclnej6{color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);word-break:break-all;align-items:flex-start;gap:8px;margin-top:8px;line-height:1.4;text-decoration:none;display:inline-flex}._1xclnej6:hover{color:var(--rc-text)}._1xclnej6 svg{flex-shrink:0;margin-top:2px}._1xclnej7{flex-direction:column;align-items:center;width:100%;display:flex}._1xclnej8{width:100%;overflow:auto}._1xclnej9{max-height:50vh}._1xclnej8 pre{background:var(--rc-code-bg);font-size:var(--rc-font-size-sm);line-height:1.5;font-family:var(--rc-font-mono);color:var(--rc-text);border-radius:8px;margin:0;padding:16px}._1xclneja{display:block}._1xclnejb{text-align:right;width:4ch;color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent);-webkit-user-select:none;user-select:none;margin-right:16px;display:inline-block}._1xclnejc{counter-reset:shiki-line var(--start-line,0)}._1xclnejc pre{font-size:var(--rc-font-size-sm);line-height:1.5;font-family:var(--rc-font-mono);border-radius:8px;margin:0;padding:16px;overflow-x:auto}._1xclnejc code{flex-direction:column;font-family:inherit;display:flex}._1xclnejc .line{line-height:1.5;display:flex}._1xclnejc .line:before{content:counter(shiki-line);counter-increment:shiki-line;text-align:right;width:4ch;color:color-mix(in srgb, var(--rc-text-secondary) 60%, transparent);-webkit-user-select:none;user-select:none;flex-shrink:0;margin-right:16px}._1xclnejd{--_1xclnej0:115, 115, 115;border:1px solid color-mix(in srgb, rgb(var(--_1xclnej0)) 25%, transparent);background-color:color-mix(in srgb, rgb(var(--_1xclnej0)) 8%, transparent);height:48px;font-family:var(--rc-font-family-sans);font-size:var(--rc-font-size-md);border-radius:12px;align-items:center;gap:0;margin:8px 0;padding:0 14px;display:flex}._1xclnejf{--_1xclnej0:29, 155, 240}._1xclnejg{--_1xclnej0:255, 0, 0}._1xclnejh{--_1xclnej0:163, 163, 163}._1xclneji{--_1xclnej0:0, 161, 214}._1xclnejj,._1xclnejk{--_1xclnej0:110, 84, 148}._1xclnejl{--_1xclnej0:139, 92, 246}._1xclnejm{font-weight:500;font-size:var(--rc-font-size-md);color:var(--rc-text-secondary);white-space:nowrap;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:8px;padding-right:14px;display:inline-flex}._1xclnejn{background-color:rgb(var(--_1xclnej0));border-radius:50%;flex-shrink:0;width:8px;height:8px}._1xclnejo{min-width:0;font-size:var(--rc-font-size-md);font-family:var(--rc-font-mono);color:var(--rc-text-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;text-decoration:none;overflow:hidden}._1xclnejo:hover{color:var(--rc-text);text-decoration:underline}._1xclnejp{justify-content:center;width:100%;margin:8px 0;display:flex}._1xclnejq{height:200px;color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);justify-content:center;align-items:center;display:flex}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles-static.css.d.ts","sourceRoot":"","sources":["../src/styles-static.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles-static.css.d.ts","sourceRoot":"","sources":["../src/styles-static.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;CAShC,CAAC;AAEX,eAAO,MAAM,cAAc,QAIzB,CAAC;AAEH,eAAO,MAAM,UAAU,QAIrB,CAAC;AAEH,eAAO,MAAM,MAAM,QAOjB,CAAC;AAEH,eAAO,MAAM,IAAI,QAIf,CAAC;AAEH,eAAO,MAAM,UAAU,QAKrB,CAAC;AAEH,eAAO,MAAM,UAAU,QAerB,CAAC;AAOH,eAAO,MAAM,UAAU,QAKrB,CAAC;AAEH,eAAO,MAAM,cAAc,QAGzB,CAAC;AAEH,eAAO,MAAM,kBAAkB,QAE7B,CAAC;AAaH,eAAO,MAAM,cAAc,QAEzB,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAO5B,CAAC;AAEH,eAAO,MAAM,KAAK,QAEhB,CAAC;AAkCH,eAAO,MAAM,QAAQ,QAanB,CAAC;AAEH,eAAO,MAAM,YAAY,2HASvB,CAAC;AAEH,eAAO,MAAM,aAAa,QAWxB,CAAC;AAEH,eAAO,MAAM,WAAW,QAMtB,CAAC;AAEH,eAAO,MAAM,YAAY,QAgBvB,CAAC;AAEH,eAAO,MAAM,KAAK,QAKhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAOlB,CAAC"}
|
package/dist/styles.css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../src/styles.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAerB,
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../src/styles.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAerB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;CAS7B,CAAC;AAEX,eAAO,MAAM,OAAO,QAElB,CAAC;AAEH,eAAO,MAAM,KAAK,QAkBhB,CAAC;AAEH,eAAO,MAAM,SAAS,2HASpB,CAAC;AAEH,eAAO,MAAM,KAAK,QAYhB,CAAC;AAEH,eAAO,MAAM,GAAG,QAMd,CAAC;AAEH,eAAO,MAAM,OAAO,QAKlB,CAAC;AAEH,eAAO,MAAM,KAAK,QAgBhB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-embed",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Embed extension for Twitter, YouTube, etc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"react": ">=19",
|
|
50
50
|
"react-dom": ">=19",
|
|
51
51
|
"shiki": ">=3",
|
|
52
|
-
"@haklex/rich-editor
|
|
53
|
-
"@haklex/rich-editor": "0.
|
|
54
|
-
"@haklex/rich-style-token": "0.
|
|
52
|
+
"@haklex/rich-editor": "0.25.0",
|
|
53
|
+
"@haklex/rich-editor-ui": "0.25.0",
|
|
54
|
+
"@haklex/rich-style-token": "0.25.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"shiki": {
|