Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b350564
Grid: organize package by layout model
retrofox May 7, 2026
a7b6154
Grid: add lane placement algorithm
retrofox May 7, 2026
b8565c4
Grid: add useLanePlacement hook
retrofox May 7, 2026
165d7e7
Grid: add DashboardLanes component
retrofox May 7, 2026
e490a7a
Grid: bind lanes rowUnit prop to CSS variable
retrofox May 7, 2026
73508d5
Grid: number lanes tiles in stories
retrofox May 7, 2026
9d79565
Grid: use side grip for horizontal-only resize
retrofox May 7, 2026
07f9ec8
remove stale eslint-disable comments
retrofox May 7, 2026
5ac5e6e
Grid: move tile dimension to bottom in stories
retrofox May 7, 2026
2ea84bf
Grid: drop O(n²) reorder loop in lanes drag
retrofox May 7, 2026
74b05ff
Grid: use layoutMap for lanes resize lookups
retrofox May 7, 2026
f0fed93
Grid: memoize lanes signatures
retrofox May 7, 2026
cb4d8be
Grid: align DashboardLanes JSDoc with DashboardGrid
retrofox May 7, 2026
ef191e6
Grid: document DashboardLanes in README and CHANGELOG
retrofox May 7, 2026
4fd2949
Grid: drop unreachable else branch in lane placement
retrofox May 8, 2026
cfe18b6
Grid: drop redundant items dep in lanes effect
retrofox May 8, 2026
2f4c3fd
Grid: drive lanes row-gap toggle through @supports
retrofox May 8, 2026
48dbf3f
Grid: scope tile cursor to the drag listener wrapper
retrofox May 8, 2026
2b5ab08
Grid: drop unused paused option from lanes hook
retrofox May 8, 2026
3f77a4e
Grid: expose explicit lane on DashboardLanes items
retrofox May 8, 2026
91c3d9a
Grid: add renderDragPreview prop and theming variables
retrofox May 8, 2026
b80ad74
Grid: regroup CHANGELOG so DashboardGrid is a New Feature
retrofox May 8, 2026
b11d5f7
Grid: tighten README claims about observers and DndContext
retrofox May 8, 2026
1261181
Grid: credit the grid-lanes spec and polyfill in README
retrofox May 8, 2026
b999704
Grid: fix invisible resize-handle triangle
retrofox May 8, 2026
e3cec20
Grid: merge Custom Resize Handle into Customization story
retrofox May 8, 2026
689f6eb
Merge branch 'trunk' into update/dashboard-masonry-layout
retrofox May 11, 2026
63e1f5c
Revert "remove stale eslint-disable comments"
retrofox May 11, 2026
577920e
Grid: clarify unmatched children render in surface
retrofox May 11, 2026
0d3c85f
Grid: fix keyboard activation on draggable items
retrofox May 11, 2026
772c872
Revert "Grid: fix keyboard activation on draggable items"
retrofox May 11, 2026
23d85f5
Merge branch 'trunk' into update/dashboard-masonry-layout
retrofox May 11, 2026
d8f3a24
Merge branch 'trunk' into update/dashboard-masonry-layout
retrofox May 11, 2026
55fa499
Merge remote-tracking branch 'origin/trunk' into update/dashboard-mas…
retrofox May 11, 2026
9409774
fix linting CSS issue
retrofox May 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 27 additions & 15 deletions packages/grid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,36 @@

### New Features

- Add `renderDragPreview` prop and `DragPreviewRenderProps` type for
consumers that need to wrap the dragged-clone visual with their
own chrome. The grid keeps a thin functional frame (lift scale,
grabbing cursor, pointer pass-through) around the consumer's
wrapper.
- Expose a small set of CSS custom properties for theming the lift
scale, placeholder opacity, placeholder outline color, and
placeholder radius (`--wp-grid-drag-preview-scale`,
- Initial release. Ships two layout components:
- `DashboardGrid`, a 2D packed grid with explicit `(width,
height)` spans, drag-to-reorder and resize handles.
- `DashboardLanes`, a masonry-style surface aligned with the
WebKit `display: grid-lanes` spec. Tiles declare a column
span only; heights are driven by content; placement follows
a source-ordered, shortest-lane skyline with a
`flow-tolerance` tiebreaker. Falls back to a JS-driven
polyfill on browsers without native support.
- Export `DashboardGridLayoutItem`, `DashboardGridProps`,
`DashboardLanesLayoutItem`, and `DashboardLanesProps` types.
- Add `renderDragPreview` prop and `DragPreviewRenderProps` type on
both surfaces for consumers that need to wrap the dragged-clone
visual with their own chrome. The surface keeps a thin functional
frame (lift scale, grabbing cursor, pointer pass-through) around
the consumer's wrapper.
- Expose CSS custom properties for theming the lift scale,
placeholder opacity, placeholder outline color, and placeholder
radius (`--wp-grid-drag-preview-scale`,
`--wp-grid-placeholder-opacity`,
`--wp-grid-placeholder-outline-color`,
`--wp-grid-placeholder-radius`).

### Internal

- Drop the default visual layer on `.drag-preview` (shadow,
border-radius, overflow). The dragged clone now renders the
consumer's children directly inside the functional frame; visual
chrome is owned by the consumer either through the tile children
themselves or via `renderDragPreview`.
- Initial release of `DashboardGrid` (2D packed grid with drag-to-
reorder and resize handles).
- Organize the package source under `dashboard-grid/`,
`dashboard-lanes/`, and `shared/` so each layout model owns its
component, types, stories, and tests.
- Drop the default visual layer on the drag-preview wrapper
(shadow). The dragged clone now renders the consumer's children
directly inside the functional frame; visual chrome is owned by
the consumer either through the tile children themselves or via
`renderDragPreview`.
Loading
Loading