@kolkrabbi/kol-component 0.37.0 → 0.38.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.37.0",
3
+ "version": "0.38.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",
@@ -59,7 +59,10 @@ export default function CardFeatureItem({
59
59
  {icon && <Icon name={icon} size={16} className="shrink-0" />}
60
60
  </div>
61
61
 
62
- <div className={`w-full flex-1 flex items-center justify-center overflow-hidden ${aspectClass}`.trim()}>
62
+ {/* kol-card-feature-visual: zooms 1.03 on card hover (chrome in
63
+ * kol-theme — CardFeatureHoverZoom 2026-08-12); all three visual
64
+ * forms ride the same wrapper, reduced-motion opts out. */}
65
+ <div className={`kol-card-feature-visual w-full flex-1 flex items-center justify-center overflow-hidden ${aspectClass}`.trim()}>
63
66
  {visual ? (
64
67
  typeof visual === 'string' ? (
65
68
  isSvgUrl ? (
@@ -97,7 +100,7 @@ export default function CardFeatureItem({
97
100
  </>
98
101
  )
99
102
 
100
- const baseClasses = `w-full flex-1 h-[304px] md:h-72 p-4 md:p-6 gap-4 ${backgroundColor} rounded border border-fg-08 flex flex-col justify-between items-start overflow-hidden`
103
+ const baseClasses = `kol-card-feature w-full flex-1 h-[304px] md:h-72 p-4 md:p-6 gap-4 ${backgroundColor} rounded border border-fg-08 flex flex-col justify-between items-start overflow-hidden`
101
104
 
102
105
  if (href) {
103
106
  const isExternal = href.startsWith('http') || href.startsWith('mailto')