Skip to content

Commit

Permalink
Version Packages (#3102)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 12, 2024
1 parent 2d3fb09 commit 932d6c9
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 104 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-donuts-enjoy.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/dry-drinks-love.md

This file was deleted.

30 changes: 0 additions & 30 deletions .changeset/friendly-islands-whisper.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/nice-sloths-look.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-dots-hug.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-houses-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-flies-bake.md

This file was deleted.

53 changes: 53 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# @salt-ds/core

## 1.20.0

### Minor Changes

- ff69de19: Add `Dialog`, `DialogHeader`, `DialogContent`, `DialogActions`, and `DialogCloseButton` to core

```tsx
export const Dialog = (): ReactElement => {
const [open, setOpen] = useState(false);
const id = useId();

const handleRequestOpen = () => {
setOpen(true);
};

const onOpenChange = (value: boolean) => {
setOpen(value);
};

const handleClose = () => {
setOpen(false);
};

return (
<>
<Button data-testid="dialog-button" onClick={handleRequestOpen}>
Open default dialog
</Button>
<Dialog open={open} onOpenChange={onOpenChange} id={id}>
<DialogHeader header="Terms and conditions" />
<DialogContent>Dialog Content</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button variant="cta" onClick={handleClose}>
Accept
</Button>
</DialogActions>
<DialogCloseButton onClick={handleClose} />
</Dialog>
</>
);
};
```

### Patch Changes

- 6c414eae: Allowed Tooltip to flip to any axis when space is limited. Previously, it was limited to flipping horizontally.
- 2d3fb09e: Add `box-sizing: border-box` to:

- Multiline input
- Navigation item
- Panel

## 1.19.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salt-ds/core",
"version": "1.19.0",
"version": "1.20.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
38 changes: 38 additions & 0 deletions packages/lab/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @salt-ds/lab

## 1.0.0-alpha.35

### Minor Changes

- ff69de19: Remove `Dialog`, `DialogHeader`, `DialogContent`, `DialogActions`, and `DialogCloseButton` from labs and promote to core

### Patch Changes

- 517ce28b: Optional prop `id` is no longer passed down from `Overlay` to aria-labelledby in `OverlayPanel`
aria-labelledBy should be passed down directly to the `OverlayPanel` via and id attached to the title element

```tsx
export const Default = (): ReactElement => {
const id = useId();
return (
<Overlay>
<OverlayTrigger>
<Button>Show Overlay</Button>
</OverlayTrigger>
<OverlayPanel aria-labelledby={id}>
<h3 className={styles.contentHeading} id={id}>
Title
</h3>
<div>
Content of Overlay
<Tooltip content={"im a tooltip"}>
<Button>hover me</Button>
</Tooltip>
</div>
</OverlayPanel>
</Overlay>
);
};
```

- 0c4d186d: Fix tabstrip not collapsing when sharing parent with other items
- 54b8e1a9: Fixed Tab being deleted whilst editing Tab label and pressing backspace or delete

## 1.0.0-alpha.34

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/lab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salt-ds/lab",
"version": "1.0.0-alpha.34",
"version": "1.0.0-alpha.35",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down

0 comments on commit 932d6c9

Please sign in to comment.