github-actions
released this
04 Jul 14:25
·
999 commits
to main
since this release
Minor Changes
-
de5ab33: Added
onSelect
to Dropdown.onSelect
is called when any selection occurs and differs fromonSelectionChange
, which is only called when the selection changes. -
c2f3e7d: Add new tabs components: TabstripNext, TabNext
<TabstripNext defaultSelected="Home"> <TabNext value="home">Home</TabNext> <TabNext value="transactions">Transactions</TabNext> <TabNext value="loans">Loans</TabNext> </TabstripNext>
-
8ff0a97: Refactor ToggleButton to use a new API to simplify its usage.
- <ToggleButtonGroup onChange={handleChange} selectedIndex={selectedIndex}> - <ToggleButton aria-label="alert" tooltipText="Alert"> - <NotificationIcon /> Alert - </ToggleButton> - <ToggleButton aria-label="home" tooltipText="Home"> - <HomeIcon /> Home - </ToggleButton> - <ToggleButton aria-label="search" tooltipText="Search"> - <SearchIcon /> Search - </ToggleButton> - <ToggleButton aria-label="print" tooltipText="Print"> - <PrintIcon /> Print - </ToggleButton> -</ToggleButtonGroup> +<ToggleButtonGroup onSelectionChange={handleChange} selected={selected}> + <ToggleButton value="alert"> + <NotificationIcon aria-hidden /> Alert + </ToggleButton> + <ToggleButton value="home"> + <HomeIcon aria-hidden /> Home + </ToggleButton> + <ToggleButton value="search"> + <SearchIcon aria-hidden /> Search + </ToggleButton> + <ToggleButton value="print"> + <PrintIcon aria-hidden /> Print + </ToggleButton> +</ToggleButtonGroup> ``
-
71fc747: Add new list components: ListNext, ListItemNext
<ListNext> <ListItemNext value={Alaska}> {Alaska} </ListItemNext> </ListNext>