@kolkrabbi/kol-icons 0.61.0 → 0.62.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 +4 -1
- package/src/kol-icon-set-interface/media/film-strip.svg +3 -0
- package/src/kol-icon-set-interface/navigation/lines-three.svg +3 -0
- package/src/kol-icon-set-interface/shapes/bin-lid.svg +3 -0
- package/src/kol-icon-set-interface/shapes/ring.svg +3 -0
package/package.json
CHANGED
package/src/Icon.jsx
CHANGED
|
@@ -217,7 +217,10 @@ const Icon = ({
|
|
|
217
217
|
return null
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
/* A CSS SIZE IS NOT AN SVG ATTRIBUTE (float-everything W6, 2026-11-04): `size="var(--kol-float-ic)"` (every float
|
|
221
|
+
* Button glyph) wrote `width="var(--kol-float-ic)"` onto the <svg>, which no browser reads — the glyph drew blank in
|
|
222
|
+
* a box of the right size. The span carries the CSS size; the svg fills it. A plain length still goes on the svg. */
|
|
223
|
+
const sizedMarkup = applySizeToMarkup(svgMarkup, /^\d+(\.\d+)?(px)?$/.test(dimension) ? dimension : '100%')
|
|
221
224
|
|
|
222
225
|
/* AN ICON IS NEVER THE CLICK TARGET (editor review #7, 2026-09-27: the design editor's settings
|
|
223
226
|
* drawer would not close on its X). The markup is injected as HTML, so when the icon's subtree
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M20.3149 15.4442C20.7672 14.3522 21 13.1819 21 12C21 10.8181 20.7672 9.64778 20.3149 8.55585C19.8626 7.46392 19.1997 6.47177 18.364 5.63604C17.5282 4.80031 16.5361 4.13738 15.4442 3.68508C14.3522 3.23279 13.1819 3 12 3C10.8181 3 9.64778 3.23279 8.55585 3.68508C7.46392 4.13738 6.47177 4.80031 5.63604 5.63604C4.80031 6.47177 4.13738 7.46392 3.68508 8.55585C3.23279 9.64778 3 10.8181 3 12C3 13.1819 3.23279 14.3522 3.68508 15.4442C4.13738 16.5361 4.80031 17.5282 5.63604 18.364C6.47177 19.1997 7.46392 19.8626 8.55585 20.3149C9.64778 20.7672 10.8181 21 12 21C13.1819 21 14.3522 20.7672 15.4442 20.3149C16.5361 19.8626 17.5282 19.1997 18.364 18.364C19.1997 17.5282 19.8626 16.5361 20.3149 15.4442Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|