@opencode-ai/ui 0.0.0-dev-19042 → 0.0.0-dev-19045
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.
|
@@ -34,6 +34,10 @@ declare const icons: {
|
|
|
34
34
|
viewBox: string;
|
|
35
35
|
body: string;
|
|
36
36
|
};
|
|
37
|
+
info: {
|
|
38
|
+
viewBox: string;
|
|
39
|
+
body: string;
|
|
40
|
+
};
|
|
37
41
|
"circle-exclamation": {
|
|
38
42
|
viewBox: string;
|
|
39
43
|
body: string;
|
|
@@ -150,6 +154,10 @@ declare const icons: {
|
|
|
150
154
|
viewBox: string;
|
|
151
155
|
body: string;
|
|
152
156
|
};
|
|
157
|
+
"arrow-up-right": {
|
|
158
|
+
viewBox: string;
|
|
159
|
+
body: string;
|
|
160
|
+
};
|
|
153
161
|
"outline-square-arrow": {
|
|
154
162
|
viewBox: string;
|
|
155
163
|
body: string;
|
package/package.json
CHANGED
package/src/icons/icon/icon.tsx
CHANGED
|
@@ -36,6 +36,10 @@ const icons = {
|
|
|
36
36
|
viewBox: "0 0 16 16",
|
|
37
37
|
body: `<path d="M6.33345 6.33349V5.00015H9.66679V7.00015L8.00015 8.00015V9.66679M8.27485 11.6819H7.71897M14.4446 8.00011C14.4446 11.5593 11.5593 14.4446 8.00011 14.4446C4.44094 14.4446 1.55566 11.5593 1.55566 8.00011C1.55566 4.44094 4.44094 1.55566 8.00011 1.55566C11.5593 1.55566 14.4446 4.44094 14.4446 8.00011Z" stroke="currentColor" stroke-linecap="square"/>`,
|
|
38
38
|
},
|
|
39
|
+
info: {
|
|
40
|
+
viewBox: "0 0 16 16",
|
|
41
|
+
body: `<g transform="translate(2 2)"><path d="M12 12H0V0H12V12ZM1 1V11H11V1H1ZM6.5791 4.81641V9.37207H5.5791V5.81641H4.46777V4.81641H6.5791ZM6.85645 2.62891V3.62891H5.30078V2.62891H6.85645Z" fill="currentColor"/></g>`,
|
|
42
|
+
},
|
|
39
43
|
"circle-exclamation": {
|
|
40
44
|
viewBox: "0 0 16 16",
|
|
41
45
|
body: `<path d="M8.75 11.75H7.25V10.25H8.75V11.75Z" fill="currentColor"/><path d="M8.75 9.25H7.25V4.25H8.75V9.25Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C9.93286 1 11.684 1.7836 12.9502 3.0498C14.2164 4.31601 15 6.06714 15 8C15 11.866 11.866 15 8 15C6.06714 15 4.31601 14.2164 3.0498 12.9502C1.7836 11.684 1 9.93286 1 8C1 4.13401 4.13401 1 8 1ZM8 2C4.68629 2 2 4.68629 2 8C2 9.65699 2.67148 11.1559 3.75781 12.2422C4.84415 13.3285 6.34301 14 8 14C11.3137 14 14 11.3137 14 8C14 6.34301 13.3285 4.84415 12.2422 3.75781C11.1559 2.67148 9.65699 2 8 2Z" fill="currentColor"/>`,
|
|
@@ -152,6 +156,10 @@ const icons = {
|
|
|
152
156
|
viewBox: "0 0 16 16",
|
|
153
157
|
body: `<path d="M4.14908 11.0081H1.76282V1.51758H9.1038V2.55588M14.2225 4.99681H6.75397V14.4873H14.2225V4.99681Z" stroke="currentColor"/>`,
|
|
154
158
|
},
|
|
159
|
+
"arrow-up-right": {
|
|
160
|
+
viewBox: "0 0 16 16",
|
|
161
|
+
body: `<path d="M11 9.56V5H6.44M11 5L5 11" stroke="currentColor"/>`,
|
|
162
|
+
},
|
|
155
163
|
"outline-square-arrow": {
|
|
156
164
|
viewBox: "0 0 16 16",
|
|
157
165
|
body: `<path d="M13.5555 6.66656V2.44434H9.33326M13.5555 2.44434L7.99993 7.99989M13.5555 9.33324V13.5555C13.5555 13.5555 12.7599 13.5555 11.7777 13.5555H2.44438C2.44438 13.5555 2.44438 12.7599 2.44438 11.7777V4.22213C2.44438 3.2399 2.44434 2.44435 2.44434 2.44435H6.66661" stroke="currentColor"/>`,
|
|
@@ -208,6 +216,7 @@ function spriteContent() {
|
|
|
208
216
|
function ensureSprite() {
|
|
209
217
|
if (spriteInserted) return
|
|
210
218
|
if (typeof document === "undefined") return
|
|
219
|
+
// Hot reload preserves the DOM sprite, but its symbols may be from an older module.
|
|
211
220
|
const existing = document.getElementById(spriteID)
|
|
212
221
|
if (existing) {
|
|
213
222
|
existing.innerHTML = spriteContent()
|