Skip to content

feat: aquarium 2.0 — package upgdades: antd v6, react 19#739

Open
jared-dickman wants to merge 61 commits intomainfrom
feat/aquarium-2-final
Open

feat: aquarium 2.0 — package upgdades: antd v6, react 19#739
jared-dickman wants to merge 61 commits intomainfrom
feat/aquarium-2-final

Conversation

@jared-dickman
Copy link
Collaborator

Summary

The first major version bump in Aquarium's history. A complete platform upgrade and rebrand.

Core Upgrades

  • antd v5 → v6.2.1
  • React 17 → 19 (peer dep)
  • Storybook 8 → 10
  • ESLint 8 → 9 (flat config)
  • TypeScript 5.3 → 5.9
  • Vite 5 → 7, Vitest 1 → 4
  • Node 18 → 24 (dev)

Rokt Rebrand

  • Color palette: mParticle purple (#3600d1) → Rokt magenta (#a10863)
  • Fonts: GT AmericaInter, Roboto MonoCourier Prime
  • Full design token overhaul in style.ts, _variables.css, GlobalToken.json, LightTheme.ts
  • Dark Storybook theme with Rokt logo

New Features

  • 46 Rokt icons from @untitledui/icons
  • RadioCards component
  • IconWithTooltip, StatisticsCard components
  • Filled badge variant

Breaking Changes

  • react >=19.0.0 now required as peer dependency
  • antd >=6.2.1 now required as peer dependency
  • react-dom and dayjs externalized — consumers must provide
  • Entire src/shared/ directory removed (Operation, Paths, Suite, Utils, NavigationItemsService, all route authorization services)
  • Build target changed to esnext, moduleResolution to bundler

Removed Exports

  • Utils, RoutesAuthorizationsService, InitializationService
  • NavigationItemsService, NavigationItemId
  • Operation, Paths, Suite, UserPreferences
  • AudiencePermissionsService, AuthorizationsService, FeatureFlagsService

219 files changed, 14,458 insertions, 15,909 deletions

Squash Commit Message (for 2.0.0 release)

When merging, use this squash commit message to trigger the major version bump:

feat!: aquarium 2.0 — antd v6, react 19, rokt rebrand

BREAKING CHANGE: requires antd >=6.2.1 and react >=19.0.0 as peer dependencies. Entire src/shared directory removed. Build target changed to esnext. react-dom and dayjs externalized.

Test plan

  • npm run build passes
  • npm run test passes
  • npm run lint passes
  • Storybook renders correctly (npm start)
  • Verify no regressions in consuming apps (Nancy/Indicative) via npm link
  • Post in #aquarium Slack channel before triggering release (per CONTRIBUTING.md)
  • Trigger "Release Aquarium" GitHub Action from main after merge
  • Verify npm publishes 2.0.0 to latest dist-tag

jared-dickman and others added 30 commits December 18, 2025 10:31
BREAKING: antd v6 peer dependency, react >=18.0.0

Changes:
- peerDeps: antd ^6.1.1, react/react-dom >=18.0.0
- Space: direction → orientation (41 instances)
- Divider: type → orientation, orientation → titlePlacement
- Collapse: expandIconPosition → expandIconPlacement
- Tooltip: TooltipPropsWithTitle → TooltipProps
- Skeleton: explicit children prop
- RC packages: rc-menu → @rc-component/menu, rc-virtual-list → @rc-component/virtual-list, rc-picker → @rc-component/picker
- UnauthorizedTooltip: styles.body → styles.container
# [1.62.0-antd-v6-react-v19.1](v1.61.0...v1.62.0-antd-v6-react-v19.1) (2025-12-18)

### Bug Fixes

* update release process ([#692](#692)) ([ae8b57b](ae8b57b))

### Features

* add switch examples ([#674](#674)) ([dd40ffe](dd40ffe))
* add switch examples ([#675](#675)) ([56f0200](56f0200))
* fix release ([#682](#682)) ([5f0eff5](5f0eff5))
* upgrade antd v5→v6, react 17→18+ ([2194687](2194687))
# [1.62.0-aquarium-2-blurple.1](v1.61.0...v1.62.0-aquarium-2-blurple.1) (2025-12-19)

### Bug Fixes

* update release process ([#692](#692)) ([ae8b57b](ae8b57b))

### Features

* add switch examples ([#674](#674)) ([dd40ffe](dd40ffe))
* add switch examples ([#675](#675)) ([56f0200](56f0200))
* fix release ([#682](#682)) ([5f0eff5](5f0eff5))
* update peer deps for react 19 ([310e9e8](310e9e8))
* upgrade antd v5→v6, react 17→18+ ([2194687](2194687))
# [1.62.0-aquarium-2-upgrade.1](v1.61.0...v1.62.0-aquarium-2-upgrade.1) (2025-12-19)

### Bug Fixes

* externalize react-dom and dayjs in vite build config ([14f5bb4](14f5bb4))
* remove mdx patterns from storybook config ([7a7bccd](7a7bccd))
* theme checkbox group ([#711](#711)) ([ed50224](ed50224))
* update release process ([#692](#692)) ([ae8b57b](ae8b57b))
* use destructured variant in Button component ([60b2c48](60b2c48))

### Features

* add addon-docs for mdx support ([0ffab67](0ffab67))
* add switch examples ([#674](#674)) ([dd40ffe](dd40ffe))
* add switch examples ([#675](#675)) ([56f0200](56f0200))
* eoy components clean up ([#703](#703)) ([a681d0b](a681d0b))
* fix release ([#682](#682)) ([5f0eff5](5f0eff5))
* update peer deps for react 19 ([310e9e8](310e9e8))
* upgrade antd v5→v6, react 17→18+ ([2194687](2194687))
* upgrade to storybook 10, eslint 9 flat config, node 24 ([296c3b1](296c3b1))
# [1.62.0-aquarium-2-upgrade.2](v1.62.0-aquarium-2-upgrade.1...v1.62.0-aquarium-2-upgrade.2) (2025-12-19)

### Bug Fixes

* resolve typescript-eslint peer dep and TS5.9 type errors ([b0ffb78](b0ffb78))
# [1.63.0-aquarium-2-upgrade.1](v1.62.0...v1.63.0-aquarium-2-upgrade.1) (2026-01-21)

### Bug Fixes

* externalize react-dom and dayjs in vite build config ([14f5bb4](14f5bb4))
* remove mdx patterns from storybook config ([7a7bccd](7a7bccd))
* resolve typescript-eslint peer dep and TS5.9 type errors ([b0ffb78](b0ffb78))
* use destructured variant in Button component ([60b2c48](60b2c48))

### Features

* add addon-docs for mdx support ([0ffab67](0ffab67))
* add filled badge ([#716](#716)) ([1be2481](1be2481))
* add play tests for Select, Drawer, Popconfirm, Tabs, AutoComplete ([645543f](645543f))
* update peer deps for react 19 ([310e9e8](310e9e8))
* upgrade antd v5→v6, react 17→18+ ([2194687](2194687))
* upgrade to storybook 10, eslint 9 flat config, node 24 ([296c3b1](296c3b1))
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

PR Preview Action v1.6.3

🚀 View preview at
https://mParticle.github.io/aquarium/pr-preview/pr-739/

Built to branch gh-pages at 2026-03-07 21:18 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@@ -0,0 +1,5 @@
/* Fix FloatButton height stretching in flex containers (antd 6 height: auto) */
.ant-float-btn {
flex-shrink: 0;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TO REVIEW: why is this change here? should it be moved to cdp (journeys)? how can we test this

@@ -0,0 +1,201 @@
---
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TO MOVE: new pr for new skills, post AQ2 merge

<>
<BaseCascader {...baseProps}>
<Flex>
<div>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TO REVIEW: this looks funky


| Command | Purpose |
| ------------------------- | --------------------------------------------- |
| `/add-aquarium-component` | Scaffold new component (Ant6 + React19 + SB8) |
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@claude @spirit sb10 everywhere! remove hardcoded versions!

| ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Eames | [Tag Component](https://www.figma.com/design/veXnmignQnJz8StIq10VJ5/Eames-2.0---Foundations-%26-Components?m=auto&node-id=412-13377&t=BQax0YEp3gD4PyU6-1) |
| AntD | [Tag Component](https://ant.design/components/tag) |
<table>
Copy link
Collaborator

Choose a reason for hiding this comment

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

note: ant removed borders from tags. now it set via variant='outlined', so docs are misleading with Borderless Tag (now they all are)

onChange={_e => {
setChecked(!checked)
}}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Image ouch

@jared-dickman jared-dickman changed the title feat: aquarium 2.0 — antd v6, react 19, rokt rebrand feat: aquarium 2.0 — package upgdades: antd v6, react 19 Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants