Skip to content

Releases

Loui DS v0.7.4

Choose a tag to compare

@github-actions github-actions released this 04 Nov 20:04

Patch Changes

  • c453b7e: Chart reference line texts with labelPosition: 'auto' no longer cover the highlight text ("Hoje"), bars or the line in narrow charts (GAP-057, reopened). When no place along the line is clear and the end margin would be too wide, the text goes to a row above the plot after a short sample of its line, like a legend; the plot gets shorter by that row. The accessible name, description and hidden table are unchanged. Charts whose text was already clear look the same.

Install

pnpm add loui-ds@0.7.4 react react-dom

Loui DS v0.7.3

Choose a tag to compare

@github-actions github-actions released this 04 Nov 19:24

Patch Changes

  • e83f2db: Chart reference line texts no longer print over the highlight text ("Today"), the bars, the line or each other (GAP-057). The text stays at the end of the line when that place is clear; otherwise it moves to the start, below the line, or outside the plot on the end side (the plot gets narrower by the width of the text). New optional labelPosition ('auto' | 'end' | 'start', default 'auto') on each reference line pins the side. The accessible name, description and hidden table are unchanged. In a right-to-left page the reference texts are no longer pushed off the end of the chart. Charts whose reference text covered marks look different; charts where it was clear are unchanged.

Install

pnpm add loui-ds@0.7.3 react react-dom

Loui DS v0.7.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 16:30

Patch Changes

  • becbcb6: Fixes from the 0.7.1 review: CurrencyInput keeps one reading of the decimal mark per edit in amount mode (D-M2), ignores input above 15 digits instead of cutting it (D-B2) and no longer puts typed digits before the amount after a click (QA-005); toasts return to the centre as soon as a sheet starts closing (D-B4); ColorOptionGroup sets aria-invalid in single mode (D-B7); development warnings for DataTable percentage widths with minWidth (D-B6) and ActionList node titles without textValue (D-M3). changes.json entries now carry breaking (D-M1).

Install

pnpm add loui-ds@0.7.2 react react-dom

Loui DS v0.7.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 13:48

Patch Changes

  • 6bf2784: Chart reference lines do not repeat their kind in the accessible name when the label already starts with it (GAP-056).

Install

pnpm add loui-ds@0.7.1 react react-dom

Loui DS v0.7.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 00:25

Minor Changes

  • a350cea: New CardLink and AddCard (ADR-0011, GAP-018); CurrencyInput entryMode="amount" and parseCurrencyAmount (GAP-054); Chart notes, reference lines and tickEvery (GAP-019); Legend shares, ProportionBar columns and total (GAP-020); MatrixGrid async toggles and sticky headers (GAP-029); Divider dashed and the paper Card entry point (GAP-042); Button shortcut with aria-keyshortcuts (GAP-045); ChatPanel, ChoiceTiles, ScrollArea additions and the PasswordField recipe (GAP-048). Visual changes: Tabs drops a 1 px overflow (GAP-037), Stepper with many steps switches to the compact form earlier (GAP-047), LedgerList stacks the date under the title in narrow containers (GAP-055).
  • a032255: Combobox option leading, onCreate and fullWidth with the CreateOnTheFly recipe (GAP-034); CurrencyInput fullWidth, documented events and the InlinePriceEdit recipe (GAP-030); DataTable per-column minimum widths and an empty state that does not scroll (GAP-051); toasts stay clear of an open Sheet (GAP-052); groupKey on useUndoable and toastWithUndo replaces the previous toast (GAP-053). Behaviour change: a Sidebar status without tone is now neutral (grey) instead of green; pass tone: 'success' to keep it green (GAP-050).

Install

pnpm add loui-ds@0.7.0 react react-dom

Loui DS v0.6.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 23:05

Minor Changes

  • d3037f0: Checkbox rows and a done state in ActionList (GAP-017, GAP-015); DueIndicator accepts Date, date-time strings, a free-text label + tone and a paidDate (GAP-016), with the new toCalendarDay utility; Text signal tones and the standalone ErrorText (GAP-025); controlled Sheet and Dialog without a trigger no longer warn in the console (GAP-022).
  • 7557636: New SplitLayout, ColorField and ColorOptionGroup; fullWidth on the text-like fields; AppShell hides a detail that renders nothing (GAP-038, GAP-024, GAP-026). LedgerList gains onEdit / isEditable and is now stable (GAP-049).

Install

pnpm add loui-ds@0.6.0 react react-dom

Loui DS v0.5.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 20:31

Minor Changes

  • 4494973: Eight gaps reported by a consuming app: Dialog, Sheet and ConfirmDialog keep their content while they animate out (GAP-036); Swatch accepts an empty colour and exports isHexColor (GAP-043); ten generic icons including trash and pencil (GAP-028); toastWithUndo for code outside components (GAP-044); DataTable column minWidth, truncate and hideLabel (GAP-027); descriptionTone on fields (GAP-039); LedgerList isDeletable and an optional date (GAP-040); SegmentedControl visible label, description and no truncation (GAP-041).

Install

pnpm add loui-ds@0.5.0 react react-dom

Loui DS v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 17:29

Minor Changes

  • e9eb41b: New loui-ds/changes.json: what changed in each release by task id (GAP-014), the components each change names, the entries not yet released and the gaps still open. An app that keeps notes with the design system ids can match them against an upgrade and remove the workarounds that were fixed. See docs/guides/local-development.md.

Install

pnpm add loui-ds@0.4.0 react react-dom

Loui DS v0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:52

Minor Changes

  • 5915564: Combobox gets selectFirstOnEnter (default false): Enter with no option highlighted selects the first enabled filtered option instead of dropping the typed text. The filter function now receives the whole option as a third argument, (label, query, option), so options can be searched by a code or meta; two-argument filters and the accent-insensitive default keep working (GAP-033).
  • 079f28b: Form now types and documents id, onKeyDown, onKeyUp, onFocus and onBlur, so a submit button elsewhere (such as a Sheet footer) can target it with form="id". New SheetForm recipe: a form in a Sheet submitted natively from the footer. (GAP-023)

Patch Changes

  • 811f947: Keep the Button label visible (dimmed with the new --ds-button-pending-label-opacity token) next to the spinner while isPending, instead of hiding it (GAP-014). The width is still stable.
  • 5915564: A consumer onKeyDown on Input, CurrencyInput, Textarea and SearchInput no longer swallows every key: unless the handler calls event.preventDefault(), the key keeps bubbling so useHotkeys(..., { allowInEditable: true }) shortcuts (F9, F2, N) still fire while the field has focus. Combobox follows the same rule. Documented in the field pages and docs/architecture/hotkeys.md, with a keyboard test (GAP-035).
  • 78c9e6e: Stack, Inline and Grid gap now accept the space key as a number (gap={4}) or as its string form (gap="4"), matching the generated docs and the AI manifest. The manifest generator prints numeric literal types bare (1 | 2 | 3) instead of quoting them, and a new test type-checks every documented prop value (GAP-021). New exported type SpaceValue.
  • 8f4c2e7: StatCard accepts a computed StatCardTone (for example tone={flag ? 'warning' : 'neutral'}) together with note or trend. A literal non-neutral tone without note or trend is still a type error. (GAP-032)

Install

pnpm add loui-ds@0.3.0 react react-dom

Loui DS v0.2.2

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:25

Patch Changes

  • Maintenance release: the release workflow can now retry a failed publish and reports npm authentication errors clearly. The package contents are unchanged from 0.2.1.

Install

pnpm add loui-ds@0.2.2 react react-dom