Skip to content

Version Packages#336

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#336
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tailor-platform/app-shell@1.6.0

Minor Changes

  • d1cac39: Add Grid — a generic, presentational CSS-Grid layout primitive for arranging arbitrary children into equal or custom-width columns, with responsive reflow, gap control, auto-fit, and optional Grid.Item spanning. Complements Layout (page scaffold) by handling content-level grids.

    import { Grid } from "@tailor-platform/app-shell";
    
    // Responsive KPI grid: 1 → 2 → 4 columns
    <Grid columns={{ initial: 1, sm: 2, lg: 4 }} gap={4}>
      <Card.Root></Card.Root>
    </Grid>
    
    // Auto-fitting gallery — no breakpoints needed
    <Grid minChildWidth={240} gap={6}>{items}</Grid>
    
    // Custom column widths + spanning
    <Grid columns="280px 1fr" gap={6}>
      <Grid.Item colSpan={2}>Wide</Grid.Item>
    </Grid>

    Props: columns, rows, gap/gapX/gapY (defaults to 3 / 12px), minChildWidth, flow, align, justify. Grid.Item supports colSpan, rowSpan, colStart, colEnd — all responsive.

  • ae2396b: Add useURLCollectionVariables for wiring collection state (filters, sort, page size) to the URL query string in a single call. It seeds initial state from the current router search params and writes changes back as the user filters, sorts, or pages.

    const { variables, control } = useURLCollectionVariables({
      tableMetadata,
      params: { pageSize: 20 },
    });

    For cases that need URL persistence without react-router's useSearchParams (e.g. a custom binding), the pure withURLCollectionState(options, [searchParams, setSearchParams]) decorator is also exported and can be composed with useCollectionVariables directly.

    useCollectionVariables now reports state updates through onParamsChange using the same params shape it accepts.

@github-actions github-actions Bot requested a review from a team as a code owner June 26, 2026 07:29
@github-actions github-actions Bot force-pushed the changeset-release/main branch from aa05e7e to 6fbe818 Compare June 29, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants