@opencode/ui 0.0.0-dev-1113 → 0.0.0-dev-1126
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencode/ui",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-1126",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"dependencies": {
|
|
306
306
|
"@kitlangton/solid-motion": "0.2.2",
|
|
307
307
|
"@kobalte/core": "0.13.13",
|
|
308
|
-
"@opencode/util": "0.0.0-dev-
|
|
308
|
+
"@opencode/util": "0.0.0-dev-1126",
|
|
309
309
|
"@pierre/diffs": "1.6.1",
|
|
310
310
|
"@pierre/highlights": "0.2.0",
|
|
311
311
|
"@solid-primitives/event-listener": "2.4.6",
|
|
@@ -106,7 +106,8 @@ export const additionalIcons = {
|
|
|
106
106
|
notifications: `<path d="M14.8889 6.77778V9.11112C14.8889 10.093 14.8889 10.8889 14.8889 10.8889H11.3334M5.55558 10.8889H2C2 10.8889 2.00001 10.093 2.00001 9.11112V3.77778C2.00001 2.79594 2.00009 2 2.00009 2H9.44531M5.55558 10.8889V13.1111H8.44447H11.3334V10.8889M5.55558 10.8889H11.3334" stroke="currentColor"/><path d="M13 5C14.1046 5 15 4.10457 15 3C15 1.89543 14.1046 1 13 1C11.8954 1 11 1.89543 11 3C11 4.10457 11.8954 5 13 5Z" stroke="currentColor"/>`,
|
|
107
107
|
extensions: `<path d="M8 6.75047V9.25047M10.668 6.75047V9.25047M5.33398 6.75047V9.25047M1.33398 2.44531V13.5553H14.6673V2.44531H1.33398Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
108
108
|
cube: `<path d="M10 2.5L16.5 6.25V13.75L10 17.5L3.5 13.75V6.25L10 2.5Z" stroke="currentColor"/><path d="M10 10L16.5 6.25M10 10V17.5M10 10L3.5 6.25" stroke="currentColor"/>`,
|
|
109
|
-
|
|
109
|
+
// The open book OpenCode Console draws for a skill, so a skill looks the same in both.
|
|
110
|
+
"post-skill": `<path d="M8 4.5c-1.5-1-3.5-1.5-5.5-1.5v9c2 0 4 .5 5.5 1.5 1.5-1 3.5-1.5 5.5-1.5V3c-2 0-4 .5-5.5 1.5zM8 4.5v9" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>`,
|
|
110
111
|
"arrow-undo-down": `<path d="M4.08333 11.0859L1.75 8.7526L4.08333 6.41927M2.33333 8.7526L12.5417 8.7526L12.5417 3.21094L7 3.21094" stroke="currentColor" stroke-width="1" stroke-linecap="square"/>`,
|
|
111
112
|
}
|
|
112
113
|
|
|
@@ -118,7 +119,8 @@ export function additionalIconViewBox(name: keyof typeof additionalIcons) {
|
|
|
118
119
|
name === "extensions" ||
|
|
119
120
|
name === "sliders" ||
|
|
120
121
|
name === "providers" ||
|
|
121
|
-
name === "models"
|
|
122
|
+
name === "models" ||
|
|
123
|
+
name === "post-skill"
|
|
122
124
|
? "0 0 16 16"
|
|
123
125
|
: "0 0 20 20"
|
|
124
126
|
}
|
package/src/icons/new-icons.ts
CHANGED
|
@@ -89,7 +89,6 @@ const replacements: Partial<Record<IconName, { name: NewIconName; rotate?: numbe
|
|
|
89
89
|
"outline-browser-annotate": { name: "annotate" },
|
|
90
90
|
"select-element": { name: "annotate" },
|
|
91
91
|
download: { name: "download" },
|
|
92
|
-
"post-skill": { name: "skill" },
|
|
93
92
|
"graduation-cap": { name: "skill" },
|
|
94
93
|
eye: { name: "eye-open" },
|
|
95
94
|
"outline-eye": { name: "eye-open" },
|