@kolkrabbi/kol-icons 0.33.0 → 0.34.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/package.json +1 -1
- package/src/Icon.jsx +5 -1
- package/src/kol-icon-set-interface/tools/align-horizontal-center.svg +1 -1
- package/src/kol-icon-set-interface/tools/align-horizontal-left.svg +1 -1
- package/src/kol-icon-set-interface/tools/align-horizontal-right.svg +1 -1
- package/src/kol-icon-set-interface/tools/align-vertical-bottom.svg +1 -1
- package/src/kol-icon-set-interface/tools/align-vertical-center.svg +1 -1
- package/src/kol-icon-set-interface/tools/align-vertical-top.svg +1 -1
- package/src/kol-icon-set-interface/tools/flip-horizontal.svg +1 -1
- package/src/kol-icon-set-interface/tools/flip-vertical.svg +1 -1
- package/src/kol-icon-set-interface/tools/rotate-left.svg +1 -1
package/package.json
CHANGED
package/src/Icon.jsx
CHANGED
|
@@ -42,7 +42,11 @@ loadIcons()
|
|
|
42
42
|
const useIconsReady = () => {
|
|
43
43
|
const [ready, setReady] = useState(() => !!ICONS)
|
|
44
44
|
useEffect(() => {
|
|
45
|
-
|
|
45
|
+
/* the chunk can land BETWEEN the render (which read `ICONS` as null) and this effect — under a
|
|
46
|
+
Suspense boundary that gap is as long as the lazy route takes. Nobody was subscribed then, so
|
|
47
|
+
returning here without setting the state left the icon blank for good (kol-fxr's rail on
|
|
48
|
+
/editor and /randomiser, found in apps/editor-hub 2026-10-03). */
|
|
49
|
+
if (ICONS) { setReady(true); return undefined }
|
|
46
50
|
const cb = () => setReady(true)
|
|
47
51
|
subscribers.add(cb)
|
|
48
52
|
loadIcons()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2.5V5M12 10V14M12 19V21.5" stroke-width="2" /><rect x="5" y="5" width="14" height="5" rx="1" fill="currentColor" stroke="none" /><rect x="8" y="14" width="8" height="5" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 3V21" stroke-width="2" /><rect x="7" y="5" width="13" height="5" rx="1" fill="currentColor" stroke="none" /><rect x="7" y="14" width="8" height="5" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 3V21" stroke-width="2" /><rect x="4" y="5" width="13" height="5" rx="1" fill="currentColor" stroke="none" /><rect x="9" y="14" width="8" height="5" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 20H21" stroke-width="2" /><rect x="5" y="4" width="5" height="13" rx="1" fill="currentColor" stroke="none" /><rect x="14" y="9" width="5" height="8" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 12H5M10 12H14M19 12H21.5" stroke-width="2" /><rect x="5" y="5" width="5" height="14" rx="1" fill="currentColor" stroke="none" /><rect x="14" y="8" width="5" height="8" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 4H21" stroke-width="2" /><rect x="5" y="7" width="5" height="13" rx="1" fill="currentColor" stroke="none" /><rect x="14" y="7" width="5" height="8" rx="1" fill="currentColor" stroke="none" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3V21" /><path d="M3.5 7L9 12L3.5 17Z" /><path d="M20.5 7L15 12L20.5 17Z" fill="currentColor" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12H21" /><path d="M7 3.5L12 9L17 3.5Z" /><path d="M7 20.5L12 15L17 20.5Z" fill="currentColor" /></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5A7 7 0 1 0 19 12" /><path d="M16.5 14.5L19 12L21.5 14.5" /></svg>
|