Skip to content

@salt-ds/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 14:25
· 999 commits to main since this release
d0f3776

Minor Changes

  • de5ab33: Added onSelect to Dropdown. onSelect is called when any selection occurs and differs from onSelectionChange, 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>
    
    

Patch Changes

  • de5ab33: Dropdown will now close when the already selected item is selected.

  • f699f26: Logo

    • Added LogoImage and LogoSeparator components
    • Removed LogoTitle component
    • Removed compact prop
    • Logo follows composition API
  • 1fefbe7: Fixed issue where the Dialog heading overlapped when wrapped