@lyeve-labs/ui-kit 0.42.1 → 0.42.2

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.
@@ -204,6 +204,9 @@
204
204
  const charged = per ?? period;
205
205
  return charged === 'once' ? ' once' : charged === 'annual' ? '/yr' : '/mo';
206
206
  });
207
+ // A card shows the monthly list price. A one-time payment charges it once,
208
+ // so "/mo" there would promise a renewal.
209
+ const cardPerLabel = $derived(per === 'once' ? ' once' : '/mo');
207
210
 
208
211
  // The volume ladder drawn as a meter: the rungs that take something off,
209
212
  // placed along the count of the last one.
@@ -330,7 +333,7 @@
330
333
  </span>
331
334
  <span id="{id}-price" class="shrink-0 tabular-nums text-sm font-semibold text-fg">
332
335
  {formatCents(plugin.price_cents, currency)}<span
333
- class="text-xs font-normal text-muted">/mo</span
336
+ class="text-xs font-normal text-muted">{cardPerLabel}</span
334
337
  >
335
338
  </span>
336
339
  </span>
package/dist/index.d.ts CHANGED
@@ -107,4 +107,4 @@ export { cn, type ClassValue } from './utils/cn.js';
107
107
  export { getTheme, getThemePreference, nextThemePreference, resolveTheme, setTheme, setThemePreference, systemTheme, themeBootScript, watchThemePreference, toggleTheme, watchSystemTheme, THEME_PREFERENCES, type Theme, type ThemePreference, } from './utils/theme.js';
108
108
  export * as motion from './motion.js';
109
109
  export type { Rung as MotionRung, Curve as MotionCurve } from './motion.js';
110
- export declare const VERSION = "0.42.1";
110
+ export declare const VERSION = "0.42.2";
package/dist/index.js CHANGED
@@ -119,4 +119,4 @@ export * as motion from './motion.js';
119
119
  // ── Version ────────────────────────────────────────────────────────────────
120
120
  // Generated from package.json by `pnpm version:sync`. Bump package.json, never
121
121
  // this line. The build and the test suite fail when the two disagree.
122
- export const VERSION = '0.42.1';
122
+ export const VERSION = '0.42.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyeve-labs/ui-kit",
3
- "version": "0.42.1",
3
+ "version": "0.42.2",
4
4
  "description": "A clean, accessible, palette-aware Svelte 5 component library. The design system behind LyEve.",
5
5
  "license": "MIT",
6
6
  "author": "LyEve Labs <hello@lyeve.com>",