@kolkrabbi/kol-component 0.189.0 → 0.190.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-component",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.190.0",
|
|
4
4
|
"description": "KOL design-system components — atoms through organisms, emitting canonical kol-* classes. Pairs with @kolkrabbi/kol-theme for styling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@kolkrabbi/kol-icons": "^0.
|
|
37
|
+
"@kolkrabbi/kol-icons": "^0.26.0"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"src",
|
|
@@ -42,19 +42,15 @@ import { glyphSize } from '../hooks/glyphLadders.js'
|
|
|
42
42
|
* @param {string} props.className - Additional classes on the trigger
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
|
-
/* Corner fold marker
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
/* Corner fold marker — `fold-indicator`, promoted into kol-icon-set-v1
|
|
46
|
+
* 2026-09-03 from kol-fxr's own drawing (editor-set-is-behind-its-source); the
|
|
47
|
+
* comment that stood here said it did not exist yet and should be promoted, so
|
|
48
|
+
* this is that. Lives inside the button so it dims with kol-btn-quiet and
|
|
49
|
+
* inverts with kol-btn-pressed (currentColor). */
|
|
48
50
|
const FoldIndicator = () => (
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
height={4}
|
|
53
|
-
viewBox="0 0 4 4"
|
|
54
|
-
className="pointer-events-none absolute right-0.5 bottom-0.5 opacity-70"
|
|
55
|
-
>
|
|
56
|
-
<path d="M4 0v4H0z" fill="currentColor" />
|
|
57
|
-
</svg>
|
|
51
|
+
<span aria-hidden="true" className="pointer-events-none absolute right-0.5 bottom-0.5 opacity-70 inline-flex">
|
|
52
|
+
<Icon name="fold-indicator" size={4} />
|
|
53
|
+
</span>
|
|
58
54
|
)
|
|
59
55
|
|
|
60
56
|
const SplitToolButton = ({
|