@codady/coax 0.0.6 → 0.0.8
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/examples/append.html +1 -0
- package/examples/css.html +1 -0
- package/examples/deepseek.html +2 -1
- package/examples/html.html +1 -0
- package/examples/index.html +2 -2
- package/examples/js.html +1 -0
- package/examples/md.html +1 -0
- package/examples/module.html +3 -2
- package/examples/plain.html +1 -0
- package/examples/replace.html +1 -0
- package/examples/{steam.html → stream.html} +1 -0
- package/examples/tools.html +1 -0
- package/examples/ts.html +1 -0
- package/examples/typewriter.html +1 -0
- package/package.json +1 -1
package/examples/append.html
CHANGED
package/examples/css.html
CHANGED
package/examples/deepseek.html
CHANGED
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
</head>
|
|
23
23
|
|
|
24
24
|
<body>
|
|
25
|
+
<h1>Coax - deepseek 真实流式输出代码</h1>
|
|
25
26
|
<ax-code lang="js" indexed></ax-code>
|
|
26
27
|
|
|
27
28
|
<button>随机展示javascript</button>
|
|
28
|
-
<script src="
|
|
29
|
+
<script src="https://unpkg.com/@codady/utils/dist/utils.umd.js" type='text/javascript'></script>
|
|
29
30
|
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
30
31
|
<script type='text/javascript'>
|
|
31
32
|
|
package/examples/html.html
CHANGED
package/examples/index.html
CHANGED
|
@@ -174,10 +174,10 @@
|
|
|
174
174
|
<span class="filename">replace.html</span>
|
|
175
175
|
</a>
|
|
176
176
|
|
|
177
|
-
<a href="
|
|
177
|
+
<a href="stream.html" class="card">
|
|
178
178
|
<h2>使用 stream 方法手动真实流式输出</h2>
|
|
179
179
|
<p>手动控制流式输出代码,模拟实时代码生成效果。</p>
|
|
180
|
-
<span class="filename">
|
|
180
|
+
<span class="filename">stream.html</span>
|
|
181
181
|
</a>
|
|
182
182
|
|
|
183
183
|
<a href="theme.html" class="card">
|
package/examples/js.html
CHANGED
package/examples/md.html
CHANGED
package/examples/module.html
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
12
|
+
<h1>Coax - 模块化定制高亮主题</h1>
|
|
12
13
|
<ax-code lang="css">
|
|
13
14
|
<code>
|
|
14
15
|
/* Main Layout Style */
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
|
|
36
37
|
<script type='module'>
|
|
37
38
|
|
|
38
|
-
const {
|
|
39
|
+
const {Coax,css} = await import('../dist/coax.esm.js');
|
|
39
40
|
|
|
40
41
|
css.themeStyles = `
|
|
41
42
|
:host {
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
`;
|
|
59
|
-
customElements.define(`ax-code`,
|
|
60
|
+
customElements.define(`ax-code`, Coax);
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
</script>
|
package/examples/plain.html
CHANGED
package/examples/replace.html
CHANGED
package/examples/tools.html
CHANGED
package/examples/ts.html
CHANGED
package/examples/typewriter.html
CHANGED