@kolkrabbi/kol-icons 0.60.0 → 0.61.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 +4 -1
- package/src/kol-icon-set-interface/design/highlighter.svg +3 -0
- package/src/kol-icon-set-interface/files/inbox.svg +3 -0
- package/src/kol-icon-set-interface/shapes/diamond-plus.svg +3 -0
- package/src/kol-icon-set-interface/typography/lockup.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="M13.25 9.5H18.25M13.25 12H18.25M13.25 14.5H17M6.375 7.625H10.75V16.375H6.375V7.625Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|