lecodes-sdk 2.2.5 → 2.2.6

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.
@@ -157,6 +157,14 @@ export type TextStyle = {
157
157
  lineClamp?: number;
158
158
  /** How a clamped line ends. Only meaningful together with `lineClamp`. Default "ellipsis". */
159
159
  textOverflow?: "ellipsis" | "clip";
160
+ /**
161
+ * How a paragraph breaks into lines (CSS `text-wrap`; a `\n` stays a hard break in every mode).
162
+ * "wrap" (default) = greedy; "nowrap" = never at a space — the box is measured to the whole line and
163
+ * a line wider than the box it gets is ended per `textOverflow`; "balance" = the lines are made even
164
+ * (the narrowest width that keeps the line count, paragraphs of 2–10 lines); "pretty" = no single
165
+ * word alone on the last line. Inherited.
166
+ */
167
+ textWrap?: "wrap" | "nowrap" | "balance" | "pretty";
160
168
  };
161
169
  /** Reactive style input: every primitive-valued prop also accepts a `() => value` binding that
162
170
  * re-applies when a signal it read changes. Nested `$class` blocks stay static — bindings are
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "2.2.5";
1
+ export declare const SDK_VERSION = "2.2.6";
2
2
  /** The major of a semver string, or null when it is not one. */
3
3
  export declare const sdkMajor: (version: string | null | undefined) => number | null;
4
4
  /** The `// sdk: <version>` line of a compiled bundle's header (sdk/src/compile/header.ts), read from