Repository navigation
Releases
Releases · xrazai/loUI
Loui DS v0.7.4
Patch Changes
- c453b7e:
Chartreference line texts withlabelPosition: '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-domLoui DS v0.7.3
Patch Changes
- e83f2db:
Chartreference 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 optionallabelPosition('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-domLoui DS v0.7.2
Patch Changes
- becbcb6: Fixes from the 0.7.1 review:
CurrencyInputkeeps 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);ColorOptionGroupsetsaria-invalidin single mode (D-B7); development warnings forDataTablepercentage widths withminWidth(D-B6) andActionListnode titles withouttextValue(D-M3).changes.jsonentries now carrybreaking(D-M1).
Install
pnpm add loui-ds@0.7.2 react react-domLoui DS v0.7.1
Patch Changes
- 6bf2784:
Chartreference 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-domLoui DS v0.7.0
Minor Changes
- a350cea: New
CardLinkandAddCard(ADR-0011, GAP-018);CurrencyInputentryMode="amount"andparseCurrencyAmount(GAP-054);Chartnotes, reference lines andtickEvery(GAP-019);Legendshares,ProportionBarcolumns andtotal(GAP-020);MatrixGridasync toggles and sticky headers (GAP-029);Dividerdashedand the paperCardentry point (GAP-042);Buttonshortcutwitharia-keyshortcuts(GAP-045);ChatPanel,ChoiceTiles,ScrollAreaadditions and thePasswordFieldrecipe (GAP-048). Visual changes:Tabsdrops a 1 px overflow (GAP-037),Stepperwith many steps switches to the compact form earlier (GAP-047),LedgerListstacks the date under the title in narrow containers (GAP-055). - a032255:
Comboboxoptionleading,onCreateandfullWidthwith theCreateOnTheFlyrecipe (GAP-034);CurrencyInputfullWidth, documented events and theInlinePriceEditrecipe (GAP-030);DataTableper-column minimum widths and an empty state that does not scroll (GAP-051); toasts stay clear of an openSheet(GAP-052);groupKeyonuseUndoableandtoastWithUndoreplaces the previous toast (GAP-053). Behaviour change: aSidebarstatus withouttoneis now neutral (grey) instead of green; passtone: 'success'to keep it green (GAP-050).
Install
pnpm add loui-ds@0.7.0 react react-domLoui DS v0.6.0
Minor Changes
- d3037f0: Checkbox rows and a done state in
ActionList(GAP-017, GAP-015);DueIndicatoracceptsDate, date-time strings, a free-textlabel+toneand apaidDate(GAP-016), with the newtoCalendarDayutility;Textsignal tones and the standaloneErrorText(GAP-025); controlledSheetandDialogwithout a trigger no longer warn in the console (GAP-022). - 7557636: New
SplitLayout,ColorFieldandColorOptionGroup;fullWidthon the text-like fields;AppShellhides a detail that renders nothing (GAP-038, GAP-024, GAP-026).LedgerListgainsonEdit/isEditableand is now stable (GAP-049).
Install
pnpm add loui-ds@0.6.0 react react-domLoui DS v0.5.0
Minor Changes
- 4494973: Eight gaps reported by a consuming app:
Dialog,SheetandConfirmDialogkeep their content while they animate out (GAP-036);Swatchaccepts an empty colour and exportsisHexColor(GAP-043); ten generic icons includingtrashandpencil(GAP-028);toastWithUndofor code outside components (GAP-044);DataTablecolumnminWidth,truncateandhideLabel(GAP-027);descriptionToneon fields (GAP-039);LedgerListisDeletableand an optional date (GAP-040);SegmentedControlvisiblelabel,descriptionand no truncation (GAP-041).
Install
pnpm add loui-ds@0.5.0 react react-domLoui DS v0.4.0
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. Seedocs/guides/local-development.md.
Install
pnpm add loui-ds@0.4.0 react react-domLoui DS v0.3.0
Minor Changes
- 5915564:
ComboboxgetsselectFirstOnEnter(defaultfalse):Enterwith no option highlighted selects the first enabled filtered option instead of dropping the typed text. Thefilterfunction now receives the whole option as a third argument,(label, query, option), so options can be searched by a code ormeta; two-argument filters and the accent-insensitive default keep working (GAP-033). - 079f28b:
Formnow types and documentsid,onKeyDown,onKeyUp,onFocusandonBlur, so a submit button elsewhere (such as aSheetfooter) can target it withform="id". NewSheetFormrecipe: a form in aSheetsubmitted natively from the footer. (GAP-023)
Patch Changes
- 811f947: Keep the
Buttonlabel visible (dimmed with the new--ds-button-pending-label-opacitytoken) next to the spinner whileisPending, instead of hiding it (GAP-014). The width is still stable. - 5915564: A consumer
onKeyDownonInput,CurrencyInput,TextareaandSearchInputno longer swallows every key: unless the handler callsevent.preventDefault(), the key keeps bubbling souseHotkeys(..., { allowInEditable: true })shortcuts (F9, F2, N) still fire while the field has focus.Comboboxfollows the same rule. Documented in the field pages anddocs/architecture/hotkeys.md, with a keyboard test (GAP-035). - 78c9e6e:
Stack,InlineandGridgapnow 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 typeSpaceValue. - 8f4c2e7:
StatCardaccepts a computedStatCardTone(for exampletone={flag ? 'warning' : 'neutral'}) together withnoteortrend. A literal non-neutral tone withoutnoteortrendis still a type error. (GAP-032)
Install
pnpm add loui-ds@0.3.0 react react-domLoui DS v0.2.2
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