Skip to content

v0.198.1

Choose a tag to compare

@tenphi tenphi released this 21 Oct 16:06
· 11 commits to main since this release
1865f0c

Patch Changes

  • #1553 e48f3ba9 Thanks @tenphi! - Export the types of the compound components: LayoutComponent, GridLayoutComponent, TextComponent, FormComponent, TabsComponent and ItemTableComponent. NotificationComponent becomes a named interface. The props types their parts use are exported too (CubeLayoutFlexProps and the other Layout part props, CubeCollectionItemProps, CubeFieldProps and EventBusProviderProps). An app that exports tasty(Layout, …) or another extension of a kit component without a type annotation can now emit its declarations: they name these types, so they no longer fail with TS2883 or TS4023.

  • #1550 1be7bb5c Thanks @tenphi! - A reorderable ListBox keeps the id and aria-describedby you pass it, along with its description and error message. Drag-and-drop had replaced the list's id with one of its own and cleared its description. The search input of a reorderable FilterListBox or FilterPicker now points aria-controls at its list, which it missed while the search was empty.

  • #1554 7c397a8c Thanks @tenphi! - Select, ListBox and the pickers built on it: a mouse press on an option of a list that closes under it, as a scroll of the page around it closes it, now selects that option even when the list has finished its exit and unmounted before the release. As before, the pointer has to come up inside the box the option had when the press started, and a release elsewhere selects nothing. A Select list fades out quickly enough that such a press used to pick nothing.

  • #1553 e48f3ba9 Thanks @tenphi! - Update Tasty to 3.13.0 (from 3.12.0). The kit's declarations now name a component's props type instead of listing each prop, so they shrink from about 2.5 MB to 0.7 MB (Text.d.ts from 1.6 MB to 3 KB) and no longer bundle a copy of csstype under dist/node_modules. Tasty also exports TastyExtensionProps and ComponentStatics, and an extension of a component whose props are a union now accepts each member's props, not only the keys they share.