Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ag grid v32 support #4276

Merged
merged 6 commits into from
Nov 19, 2024
Merged

Add ag grid v32 support #4276

merged 6 commits into from
Nov 19, 2024

Conversation

origami-z
Copy link
Contributor

@origami-z origami-z commented Oct 8, 2024

On top of #4257

Upgrade to v32 to support

  • New active filter icon style
  • New default menu style (not tabbed menu), see doc

Todos

  • filter icon active state (both in floating filter and column header cell), when filter is active, need to show some visual indicator (e.g. ag grid examples shows a light blue background and dot badge). In this PR, it's implemented match closely to Salt toggle button active state. Ag grid v32 floating filter active state #4275
  • filter panel apply (blue) / reset (gray) button, changed from ref attribute to data-ref.
  • header sort icon should be next to filter / menu icon
    • double check v31 regression
  • checkbox column (e.g. context menu story) shouldn't have filter
  • context menu size larger due to ag-size change
  • mention suppressMenuHide Customising the Column Menu added to one site example

Snapshot test on StackBlitz

Copy link

changeset-bot bot commented Oct 8, 2024

🦋 Changeset detected

Latest commit: 8e09eeb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@salt-ds/ag-grid-theme Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 9:31am

@origami-z
Copy link
Contributor Author

/release-pr

Copy link
Contributor

🫰✨ Thanks @origami-z! Your snapshot has been published to npm.

Test the snapshot by updating your package.json with the newly published version:

yarn add @salt-ds/[email protected]

bhoppers2008
bhoppers2008 previously approved these changes Nov 15, 2024
@origami-z origami-z added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 15, 2024
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 15, 2024
yarn.lock Outdated Show resolved Hide resolved
@joshwooding joshwooding added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 18, 2024
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 18, 2024
- Add floating filter active button support
- Add ag grid to peerDep
- Add button hover states
- Update menu padding, select border.
- Update example column defs with new suppress options
- Change filter icon to clear vs filled
- Fix focus style for header cell
- Add v32 in site doc
@joshwooding joshwooding added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 19, 2024
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Nov 19, 2024
@origami-z origami-z merged commit b4a7888 into main Nov 19, 2024
15 checks passed
@origami-z origami-z deleted the 4275-ag-grid-v32 branch November 19, 2024 13:35
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.

4 participants