Skip to content

Commit

Permalink
Update changesets (#2689)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored Nov 7, 2023
1 parent e7cdafa commit cba3a06
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .changeset/curly-lies-wave.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/ag-grid-theme": patch
---

Ag Grid Theme - remove override. set config correctly to wrap header text
Removed custom CSS styling for wrapping text in header cells when `autoHeaderHeight` is enabled. If you want to wrap text you should use `wrapHeaderText`.
2 changes: 1 addition & 1 deletion .changeset/dry-squids-confess.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/ag-grid-theme": patch
---

[Ag Grid Theme] Set tooltip background color
Fixed Tooltip missing a background color.
4 changes: 2 additions & 2 deletions .changeset/large-cougars-thank.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"@salt-ds/lab": patch
---

Dropdown: focus returns to dropdown after list select
Combobox: keyboard navigation modified so Tab sets focus on the component and Enter opens the List, aligns to Dropdown
Fixed Dropdown losing focus when clicking on the scrollbar or when selecting options.
Focusing the Combo Box will not open the list automatically. This complies with [WCAG SC 3.2.1](https://www.w3.org/WAI/WCAG21/Understanding/on-focus.html).
2 changes: 1 addition & 1 deletion .changeset/olive-laws-vanish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/core": patch
---

Viewport provider sets initial viewport
Fixed the Viewport Provider not setting initial viewport measurements.
2 changes: 1 addition & 1 deletion .changeset/rich-bats-breathe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/core": patch
---

Fix RadioButton and Checkbox not using default Salt text properties
Fixed Radio Button and Checkbox incorrectly inheriting text styles.
2 changes: 1 addition & 1 deletion .changeset/short-moons-tickle.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/lab": minor
---

Move Switch from lab to core
Removed Switch from Lab and promoted it to Core.
15 changes: 14 additions & 1 deletion .changeset/silly-boxes-wash.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,17 @@
"@salt-ds/core": minor
---

promote Switch to Core
Added Switch.

Switch is a binary control used to toggle between two different states. When interacted with, the thumb of the switch travels along the track to indicate state. Switch is used to control settings, preferences, or actions within an application or system.

```tsx
const [checked, setChecked] = useState(false);

const handleChange = (event: ChangeEvent<HTMLInputElement>) => {
setChecked(event.target.checked);
onChange?.(event);
};

return <Switch checked={checked} onChange={handleChange} />;
```
2 changes: 1 addition & 1 deletion .changeset/sixty-cameras-visit.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/core": minor
---

Added 'medium' size to Spinner component with 'default' size now being an alias for 'medium'. 'Default' is to be deprecated.
Added `medium` size as an alias for `default` to Spinner component to make it more consistent with other components. `default` will be deprecated and removed in the future.
2 changes: 1 addition & 1 deletion .changeset/slow-pants-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/lab": patch
---

Fixed label alignment for Switch
Fixed Switch's label being misaligned.
2 changes: 1 addition & 1 deletion .changeset/small-cycles-fold.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@salt-ds/lab": patch
---

ComboBoxNext: Fix missing forwardedRef on `DefaultListItem`
Fixed Combo Box Next not applying a ref to its `DefaultListItem`.
10 changes: 7 additions & 3 deletions .changeset/strange-rats-grab.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
"@salt-ds/lab": patch
"@salt-ds/lab": minor
---

Added optional closing feature to pill by passing `onClose`
Added support for closable pills. Pills can now contain a close button that when triggered will call a function passed to the `onClose` prop.

```
<PillNext onClose={} />
const handleClose = () => {
console.log("closed");
};
<PillNext onClose={handleClose}>Closable Pill</PillNext>
```

1 comment on commit cba3a06

@vercel
Copy link

@vercel vercel bot commented on cba3a06 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.