@kolkrabbi/kol-icons 0.32.0 → 0.33.1
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/cuts.json +8 -0
- package/src/kol-icon-set-interface/arrow/corner-down-left.svg +1 -4
- package/src/kol-icon-set-interface/tools/rotate-left.svg +1 -1
- package/src/kol-icon-set-interface/tools/rotate-right.svg +1 -1
- package/src/kol-icon-set-interface/tools/space-evenly-horizontal.svg +1 -0
- package/src/kol-icon-set-interface/tools/space-evenly-vertical.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-align-away-spine.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-align-toward-spine.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-justify-all.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-justify-center.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-justify-left.svg +1 -0
- package/src/kol-icon-set-interface/typography/text-justify-right.svg +1 -0
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()
|
package/src/cuts.json
CHANGED
|
@@ -284,6 +284,8 @@
|
|
|
284
284
|
"social-tiktok": "solid",
|
|
285
285
|
"social-twitter": "solid",
|
|
286
286
|
"social-youtube": "solid",
|
|
287
|
+
"space-evenly-horizontal": "stroke",
|
|
288
|
+
"space-evenly-vertical": "stroke",
|
|
287
289
|
"speaker": "stroke",
|
|
288
290
|
"square": "stroke",
|
|
289
291
|
"star": "stroke",
|
|
@@ -296,9 +298,15 @@
|
|
|
296
298
|
"tablet": "stroke",
|
|
297
299
|
"target": "solid",
|
|
298
300
|
"terminal": "stroke",
|
|
301
|
+
"text-align-away-spine": "stroke",
|
|
299
302
|
"text-align-center": "stroke",
|
|
300
303
|
"text-align-left": "stroke",
|
|
301
304
|
"text-align-right": "stroke",
|
|
305
|
+
"text-align-toward-spine": "stroke",
|
|
306
|
+
"text-justify-all": "stroke",
|
|
307
|
+
"text-justify-center": "stroke",
|
|
308
|
+
"text-justify-left": "stroke",
|
|
309
|
+
"text-justify-right": "stroke",
|
|
302
310
|
"text-valign-bottom": "stroke",
|
|
303
311
|
"text-valign-middle": "stroke",
|
|
304
312
|
"text-valign-top": "stroke",
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<svg width="24" height="24"
|
|
2
|
-
<path d="M20 3V10C20 12.2091 18.2091 14 16 14H4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M11 7L4 14L11 21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</svg>
|
|
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 3v7a4 4 0 0 1-4 4H4" /><path d="M9 9l-5 5 5 5" /></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="M17.3 18.14A7.5 7.5 0 1 0 5.5 12" /><path d="M8.5 9l-3 3-3-3" /></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="M6.7 18.14A7.5 7.5 0 1 1 18.5 12" /><path d="M15.5 9l3 3 3-3" /></svg>
|
|
@@ -0,0 +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 3V21" /><path d="M21 3V21" /><rect x="6.5" y="6" width="3.5" height="12" rx="1" /><rect x="14" y="6" width="3.5" height="12" rx="1" /></svg>
|
|
@@ -0,0 +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 3H21" /><path d="M3 21H21" /><rect x="6" y="6.5" width="12" height="3.5" rx="1" /><rect x="6" y="14" width="12" height="3.5" rx="1" /></svg>
|
|
@@ -0,0 +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 4V20" /><path d="M4 6H16M4 10H11M4 14H16M4 18H11" /></svg>
|
|
@@ -0,0 +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 4V20" /><path d="M4 6H16M9 10H16M4 14H16M9 18H16" /></svg>
|
|
@@ -0,0 +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 6H20M4 10H20M4 14H20M4 18H20" /></svg>
|
|
@@ -0,0 +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 6H20M4 10H20M4 14H20M7 18H17" /></svg>
|
|
@@ -0,0 +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 6H20M4 10H20M4 14H20M4 18H14" /></svg>
|
|
@@ -0,0 +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 6H20M4 10H20M4 14H20M10 18H20" /></svg>
|