@lyeve-labs/ui-kit 0.38.0 → 0.38.1

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.
@@ -90,7 +90,7 @@
90
90
  <div class="text-sm">
91
91
  <span class="{error ? 'text-danger' : 'text-brand'} font-medium">Click to upload</span>
92
92
  <span class="text-muted"> or drag & drop</span>
93
- {#if accept}<p class="mt-0.5 text-xs text-faint">{accept}</p>{/if}
93
+ {#if accept}<p class="mt-0.5 text-xs text-faint [overflow-wrap:anywhere]">{accept}</p>{/if}
94
94
  </div>
95
95
  <input
96
96
  type="file"
@@ -62,12 +62,16 @@
62
62
  Each size token names its own leading and tracking. A `text-*` token
63
63
  built from `--text-*` alone sets font-size and leaves line-height to
64
64
  whatever it inherits, which is not the ratio the ramp specifies.
65
+
66
+ A title can be a user value with no spaces, such as a tenant slug. It
67
+ breaks anywhere only when a word does not fit the line, so a title with
68
+ spaces still wraps at them, and a long slug no longer widens the page.
65
69
  -->
66
70
  <h1
67
71
  data-testid="page-title"
68
- class={compact
72
+ class="[overflow-wrap:anywhere] {compact
69
73
  ? 'text-sm font-semibold text-fg'
70
- : 'text-h2 leading-h2 tracking-h2 font-bold text-fg'}
74
+ : 'text-h2 leading-h2 tracking-h2 font-bold text-fg'}"
71
75
  >
72
76
  {title}
73
77
  </h1>
package/dist/index.d.ts CHANGED
@@ -103,4 +103,4 @@ export { cn, type ClassValue } from './utils/cn.js';
103
103
  export { getTheme, getThemePreference, nextThemePreference, resolveTheme, setTheme, setThemePreference, systemTheme, themeBootScript, watchThemePreference, toggleTheme, watchSystemTheme, THEME_PREFERENCES, type Theme, type ThemePreference, } from './utils/theme.js';
104
104
  export * as motion from './motion.js';
105
105
  export type { Rung as MotionRung, Curve as MotionCurve } from './motion.js';
106
- export declare const VERSION = "0.38.0";
106
+ export declare const VERSION = "0.38.1";
package/dist/index.js CHANGED
@@ -116,4 +116,4 @@ export * as motion from './motion.js';
116
116
  // ── Version ────────────────────────────────────────────────────────────────
117
117
  // Generated from package.json by `pnpm version:sync`. Bump package.json, never
118
118
  // this line. The build and the test suite fail when the two disagree.
119
- export const VERSION = '0.38.0';
119
+ export const VERSION = '0.38.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyeve-labs/ui-kit",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
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>",