Skip to content

Commit 6b7e5b0

Browse files
author
Luke Bowerman
authored
0.9.24 Fixes (#1645)
- `Avatar` will consistently maintain it's 1:1 aspect ratio within flex layouts - `CodeBlock` should now uses `overflow-y: auto` instead of `overflow-y: scroll` - `DataTable` with number columns now properly aligns the cell content - `DataTableHeaderCell` properly aligns sort direction icon when column `size` is specified - `DataTableItem` supports a single column - `DialogContent` now will only enter "overflow" state exactly once per render lifecycle - `DialogFooterLayout` is no longer exported - DataTableColumn width again supports `number` for percentage-based column widths - DataTableCell refinements - Fix default column sizing behavior bug
1 parent d924551 commit 6b7e5b0

30 files changed

+272
-70
lines changed

packages/components/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,25 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [UNRELEASED]
8+
## [0.9.24]
99

1010
### Added
1111

1212
- `ExtendComponentsProvider`
13+
- `useDataTable` hook for simple `DataTable` rendering (used for testing)
14+
15+
### Fixed
16+
17+
- `Avatar` will consistently maintain it's 1:1 aspect ratio within flex layouts
18+
- `CodeBlock` should now uses `overflow-y: auto` instead of `overflow-y: scroll`
19+
- `DataTable` with number columns now properly aligns the cell content
20+
- `DataTableCell` truncates `description` appropriately now
21+
- `DataTableCell` with a link is presented properly when it gains focus via keyboard
22+
- `DataTableColumn` `width` again supports `number` for percentage-based column widths
23+
- `DataTableHeaderCell` properly aligns sort direction icon when column `size` is specified
24+
- `DataTableItem` supports a single column
25+
- `DialogContent` now will only enter "overflow" state exactly once per render lifecycle
26+
- `DialogFooterLayout` is no longer exported
1327

1428
## [0.9.23]
1529

-14 Bytes
Loading
-13 Bytes
Loading
-10 Bytes
Loading
16.7 KB
Loading
-10 Bytes
Loading
-14 Bytes
Loading
-20 Bytes
Loading
34.1 KB
Loading

packages/components/src/Avatar/Avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export const avatarCSS = css`
120120
align-items: center;
121121
border-radius: 100%;
122122
display: grid;
123+
flex-shrink: 0;
123124
justify-items: center;
124125
overflow: hidden;
125126

0 commit comments

Comments
 (0)