@kolkrabbi/kol-theme 0.44.0 → 0.45.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/kol-components-molecules.css +28 -0
- package/package.json +1 -1
|
@@ -936,3 +936,31 @@
|
|
|
936
936
|
transition: background-color 300ms var(--kol-ease-house),
|
|
937
937
|
border-color 300ms var(--kol-ease-house);
|
|
938
938
|
}
|
|
939
|
+
|
|
940
|
+
/* ─────────────────────────────────────────────────────────────────────
|
|
941
|
+
* The house expand — molecules/SearchInput.jsx · organisms/ContentFilters.jsx
|
|
942
|
+
*
|
|
943
|
+
* A collapsed control that opens to its field: the search glyph widening
|
|
944
|
+
* into an input. Two components hand-wrote the same three declarations
|
|
945
|
+
* inline (`width 600ms`, `background 400ms`, `opacity 300ms`, all on the
|
|
946
|
+
* house curve), which is how the curve came to be hardcoded in seven
|
|
947
|
+
* places to begin with.
|
|
948
|
+
*
|
|
949
|
+
* Durations are STAGGERED on purpose and that is the whole character of
|
|
950
|
+
* the move: the box travels longest (600), its fill settles sooner (400),
|
|
951
|
+
* and the content inside arrives last and quickest (300) so it does not
|
|
952
|
+
* smear across the widening box.
|
|
953
|
+
*
|
|
954
|
+
* The width VALUE stays inline — it is per-instance data (a consumer's
|
|
955
|
+
* expanded width), not chrome. Only the motion lives here.
|
|
956
|
+
* ───────────────────────────────────────────────────────────────────── */
|
|
957
|
+
.kol-expand {
|
|
958
|
+
transition: width 600ms var(--kol-ease-house),
|
|
959
|
+
background 400ms var(--kol-ease-house),
|
|
960
|
+
border-color 400ms var(--kol-ease-house);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/* the content that rides inside an expanding box */
|
|
964
|
+
.kol-expand-content {
|
|
965
|
+
transition: opacity 300ms var(--kol-ease-house);
|
|
966
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|