@kolkrabbi/kol-component 0.292.0 → 0.293.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
|
@@ -479,7 +479,8 @@ export default function ContentCard({
|
|
|
479
479
|
if (onClick) onClick(event)
|
|
480
480
|
}
|
|
481
481
|
const interactive = href || onClick
|
|
482
|
-
|
|
482
|
+
/* `app` keeps file's no-fill hover (AppCardNoHoverFill): its default tone must not bring the tone's hover step */
|
|
483
|
+
const hoverBg = tone && !app ? 'var(--kol-tone-hover-bg)' : HOVER[variant]
|
|
483
484
|
|
|
484
485
|
const common = {
|
|
485
486
|
'data-tags': isHero && Array.isArray(text.tags) && text.tags.length ? text.tags.join(' ') : undefined,
|
|
@@ -210,7 +210,8 @@ export default function ContentRow({
|
|
|
210
210
|
const variant = aliased.startsWith('showcase') && layout ? LAYOUT_KEY[layout] ?? aliased : aliased
|
|
211
211
|
const box = BOX[variant] ?? BOX.file
|
|
212
212
|
const ground = bg ?? (tone ? 'var(--kol-tone-bg)' : box.bg)
|
|
213
|
-
|
|
213
|
+
/* `app` keeps file's no-fill hover (AppCardNoHoverFill) */
|
|
214
|
+
const hover = tone && !app ? 'var(--kol-tone-hover-bg)' : box.hover
|
|
214
215
|
/* `media={false}` — NO COVER, not a missing one (content-card-needs-no-cover,
|
|
215
216
|
* kol-client-olina 2026-09-04). The row could already hide its thumb with
|
|
216
217
|
* `thumb={0}`, but that is a SIZE answering a question about MEANING, and a
|