legato-ui 1.2.0 → 1.2.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.
@@ -177,6 +177,7 @@ function x(t) {
177
177
  "@layer wl.tokens {",
178
178
  ` ${f} {`,
179
179
  ` color-scheme: ${r.colorScheme};`,
180
+ ...n.mode === "full" ? [" text-rendering: var(--wl-type-text-rendering);"] : [],
180
181
  ...p.map((e) => {
181
182
  let t = s[e.name] ?? h.get(e.name).themes?.[n.baseTheme] ?? e.value;
182
183
  return ` ${e.name}: ${t};`;
@@ -4,3 +4,5 @@ export declare function clamp(value: number, min: number, max: number): number;
4
4
  /** A bounded percentage, including ranges whose finite endpoints overflow subtraction. */
5
5
  export declare function toPercent(value: number, min: number, max: number): number;
6
6
  export declare function roundToStep(value: number, step: number, min?: number): number;
7
+ /** Align the decimal operands so only the final sum is converted back to a number. */
8
+ export declare function addDecimalStep(value: number, step: number): number;
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, S as t, _ as n, b as r, c as i, d as a, f as o, g as s, h as c, l, n as u, p as d, s as f, t as p, u as m, v as h, w as g, x as _, y as v } from "./chunks/KbPin6nM.js";
1
+ import { C as e, S as t, T as n, _ as r, c as i, d as a, f as o, g as s, h as c, l, n as u, p as d, s as f, t as p, u as m, v as h, w as g, x as _, y as v } from "./chunks/Yh9MCKqK.js";
2
2
  import { t as y } from "./chunks/Dq46i43b.js";
3
3
  import { a as b, i as x, n as S, r as C, t as w } from "./chunks/CC86JZu0.js";
4
- export { w as WL_STRING_COLOR_PALETTE, r as clamp, u as createWlLocaleFromIntl, p as deepMerge, _ as finiteOr, c as formatWlBytes, s as formatWlCount, f as formatWlDate, n as formatWlNumber, h as formatWlPercent, i as formatWlRelativeTime, S as getWlColorFromString, C as getWlContrastRatio, l as getWlFirstDayOfWeek, y as getWlInitials, m as getWlMonthNames, a as getWlWeekdayNames, x as meetsWlContrast, g as mergeWlAttrs, b as normalizeWlHex, o as parseWlIsoDate, t as roundToStep, e as toPercent, d as toWlIsoDate, v as wlPlural };
4
+ export { w as WL_STRING_COLOR_PALETTE, _ as clamp, u as createWlLocaleFromIntl, p as deepMerge, t as finiteOr, c as formatWlBytes, s as formatWlCount, f as formatWlDate, r as formatWlNumber, h as formatWlPercent, i as formatWlRelativeTime, S as getWlColorFromString, C as getWlContrastRatio, l as getWlFirstDayOfWeek, y as getWlInitials, m as getWlMonthNames, a as getWlWeekdayNames, x as meetsWlContrast, n as mergeWlAttrs, b as normalizeWlHex, o as parseWlIsoDate, e as roundToStep, g as toPercent, d as toWlIsoDate, v as wlPlural };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legato-ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Legato UI — a free, open source Vue 3 and TypeScript component library and design system",
5
5
  "type": "module",
6
6
  "license": "MIT",