@zephinel/dsh-intelligent-ui 0.2.2-26-10-21 → 0.4.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/NOTICE +13 -2
- package/README.en.md +97 -39
- package/README.md +97 -39
- package/assets/intelligent-ui-components-layout.webp +0 -0
- package/assets/intelligent-ui-on-demand-hint.webp +0 -0
- package/assets/intelligent-ui-settings.webp +0 -0
- package/assets/intelligent-ui-style-panel.webp +0 -0
- package/assets/intelligent-ui-temporary-result-dark.webp +0 -0
- package/assets/intelligent-ui-temporary-result.webp +0 -0
- package/assets/intelligent-ui-toggle.png +0 -0
- package/icon.svg +19 -9
- package/lib/client.js +205 -151
- package/lib/index.js +69 -44
- package/lib/standalone.css +1 -0
- package/lib/standalone.js +1361 -0
- package/licenses/react-LICENSE +21 -0
- package/licenses/snapdom-LICENSE +21 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +8 -4
- package/skills/intelligent-ui/SKILL.md +54 -16
- package/skills/intelligent-ui/references/components.md +22 -2
- package/skills/intelligent-ui/references/examples.md +23 -7
- package/skills/intelligent-ui/references/integration.md +52 -32
- package/skills/intelligent-ui/references/troubleshooting.md +60 -10
package/icon.svg
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" role="img" aria-label="Zephinel">
|
|
2
|
+
<style>
|
|
3
|
+
.tile { fill: #f4f7fb; }
|
|
4
|
+
.edge { stroke: #d6e0ec; }
|
|
5
|
+
.spark { fill: #111a26; }
|
|
6
|
+
.line-one { fill: #111a26; fill-opacity: 0.82; }
|
|
7
|
+
.line-two { fill: #111a26; fill-opacity: 0.38; }
|
|
8
|
+
@media (prefers-color-scheme: dark) {
|
|
9
|
+
.tile { fill: #101622; }
|
|
10
|
+
.edge { stroke: #ffffff; stroke-opacity: 0.12; }
|
|
11
|
+
.spark { fill: #ffffff; }
|
|
12
|
+
.line-one { fill: #ffffff; fill-opacity: 0.82; }
|
|
13
|
+
.line-two { fill: #ffffff; fill-opacity: 0.4; }
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
2
16
|
<defs>
|
|
3
|
-
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
-
<stop offset="0" stop-color="#101622"/>
|
|
5
|
-
<stop offset="1" stop-color="#1d2b3a"/>
|
|
6
|
-
</linearGradient>
|
|
7
17
|
<linearGradient id="accent" x1="0" y1="0" x2="1" y2="0">
|
|
8
18
|
<stop offset="0" stop-color="#5aa9ff"/>
|
|
9
19
|
<stop offset="1" stop-color="#38d6a4"/>
|
|
10
20
|
</linearGradient>
|
|
11
21
|
</defs>
|
|
12
|
-
<rect x="2" y="2" width="60" height="60" rx="16"
|
|
13
|
-
<rect x="2.75" y="2.75" width="58.5" height="58.5" rx="15.25" fill="none" stroke
|
|
14
|
-
<path d="M26 15.5c0 5.9 3.6 9.5 9.5 9.5-5.9 0-9.5 3.6-9.5 9.5 0-5.9-3.6-9.5-9.5-9.5 5.9 0 9.5-3.6 9.5-9.5Z"
|
|
22
|
+
<rect class="tile" x="2" y="2" width="60" height="60" rx="16"/>
|
|
23
|
+
<rect class="edge" x="2.75" y="2.75" width="58.5" height="58.5" rx="15.25" fill="none" stroke-width="1.5"/>
|
|
24
|
+
<path class="spark" d="M26 15.5c0 5.9 3.6 9.5 9.5 9.5-5.9 0-9.5 3.6-9.5 9.5 0-5.9-3.6-9.5-9.5-9.5 5.9 0 9.5-3.6 9.5-9.5Z"/>
|
|
15
25
|
<path d="M43.5 24c0 3.6 2.2 5.8 5.8 5.8-3.6 0-5.8 2.2-5.8 5.8 0-3.6-2.2-5.8-5.8-5.8 3.6 0 5.8-2.2 5.8-5.8Z" fill="url(#accent)"/>
|
|
16
|
-
<rect x="15" y="40" width="24" height="3.4" rx="1.7"
|
|
17
|
-
<rect x="15" y="46.4" width="15" height="3.4" rx="1.7"
|
|
26
|
+
<rect class="line-one" x="15" y="40" width="24" height="3.4" rx="1.7"/>
|
|
27
|
+
<rect class="line-two" x="15" y="46.4" width="15" height="3.4" rx="1.7"/>
|
|
18
28
|
</svg>
|