kaleido-ui 0.1.18 → 0.1.19

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.
@@ -3698,7 +3698,12 @@ function ActivityNetworkFilters({
3698
3698
  type: "button",
3699
3699
  onClick: () => onChange(filter.value),
3700
3700
  className: cn(
3701
- "inline-flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1.5 text-xxs font-bold uppercase tracking-wider transition-all active:scale-95",
3701
+ // `leading-none` on the button normalizes the line-box for
3702
+ // both the icon span and the label span; without it the
3703
+ // icon (now `leading-none` from Icon primitive) and the text
3704
+ // (default leading) get center-aligned along different
3705
+ // visual axes and the glyph drifts above the text.
3706
+ "inline-flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1.5 text-xxs font-bold uppercase tracking-wider leading-none transition-all active:scale-95",
3702
3707
  isActive ? "bg-primary/15 text-primary shadow-inner hover:bg-primary/20" : "bg-surface-card text-white/45 hover:bg-surface-elevated hover:text-white/80"
3703
3708
  ),
3704
3709
  children: [
package/dist/web/index.js CHANGED
@@ -3543,7 +3543,12 @@ function ActivityNetworkFilters({
3543
3543
  type: "button",
3544
3544
  onClick: () => onChange(filter.value),
3545
3545
  className: cn(
3546
- "inline-flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1.5 text-xxs font-bold uppercase tracking-wider transition-all active:scale-95",
3546
+ // `leading-none` on the button normalizes the line-box for
3547
+ // both the icon span and the label span; without it the
3548
+ // icon (now `leading-none` from Icon primitive) and the text
3549
+ // (default leading) get center-aligned along different
3550
+ // visual axes and the glyph drifts above the text.
3551
+ "inline-flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1.5 text-xxs font-bold uppercase tracking-wider leading-none transition-all active:scale-95",
3547
3552
  isActive ? "bg-primary/15 text-primary shadow-inner hover:bg-primary/20" : "bg-surface-card text-white/45 hover:bg-surface-elevated hover:text-white/80"
3548
3553
  ),
3549
3554
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "KaleidoSwap shared UI library — design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
5
5
  "license": "MIT",
6
6
  "type": "module",