@opencode-ai/ui 0.0.0-dev-19043 → 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.
package/package.json
CHANGED
package/src/icons/icon/icon.tsx
CHANGED
|
@@ -156,6 +156,10 @@ const icons = {
|
|
|
156
156
|
viewBox: "0 0 16 16",
|
|
157
157
|
body: `<path d="M4.14908 11.0081H1.76282V1.51758H9.1038V2.55588M14.2225 4.99681H6.75397V14.4873H14.2225V4.99681Z" stroke="currentColor"/>`,
|
|
158
158
|
},
|
|
159
|
+
"arrow-up-right": {
|
|
160
|
+
viewBox: "0 0 16 16",
|
|
161
|
+
body: `<path d="M11 9.56V5H6.44M11 5L5 11" stroke="currentColor"/>`,
|
|
162
|
+
},
|
|
159
163
|
"outline-square-arrow": {
|
|
160
164
|
viewBox: "0 0 16 16",
|
|
161
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"/>`,
|
|
@@ -212,6 +216,7 @@ function spriteContent() {
|
|
|
212
216
|
function ensureSprite() {
|
|
213
217
|
if (spriteInserted) return
|
|
214
218
|
if (typeof document === "undefined") return
|
|
219
|
+
// Hot reload preserves the DOM sprite, but its symbols may be from an older module.
|
|
215
220
|
const existing = document.getElementById(spriteID)
|
|
216
221
|
if (existing) {
|
|
217
222
|
existing.innerHTML = spriteContent()
|