Skip to content

[BOOKINGSG-9274][GZ] v2 cleanup#1219

Open
ghazwan-gt wants to merge 4 commits into
pre-release/v4from
BOOKINGSG-9274/v2-cleanup
Open

[BOOKINGSG-9274][GZ] v2 cleanup#1219
ghazwan-gt wants to merge 4 commits into
pre-release/v4from
BOOKINGSG-9274/v2-cleanup

Conversation

@ghazwan-gt
Copy link
Copy Markdown

@ghazwan-gt ghazwan-gt commented May 26, 2026

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing apis or functionality to change)

Description of changes
BOOKINGSG-9274

Name Changes
Divider Removed v2 column props
Popover popover_v2 is renamed to popover. The original one is deleted
e2e stories import path are updated to popover
src import path are updated to popover
Masonry Deleted
Tooltip Deleted
v2 theme Deleted
Storybook All v2 theme reference now use v4 theme
Deleted v2 theme documentation

Checklist

  • Changes follow the project guidelines in CONTRIBUTING.md and CONVENTIONS.md
  • Looks good on mobile and tablet
  • Updated documentation
  • Added/updated tests

Verification

  • Build the package
  • Run unit test
  • Run e2e test on popover

Copy link
Copy Markdown
Contributor

@qroll qroll left a comment

Choose a reason for hiding this comment

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

some other references to clean up:

rollup.config.js

  • v2_spec dir is not longer present

preview-head.html

preview.ts

  • can remove the custom story sort order for "V2" section along with the next entry for the design token pages

Comment thread src/popover/types.ts
export interface PopoverProps {
import type { RefObject } from "react";

export interface PopoverV2Props extends PopoverRenderProps {
Copy link
Copy Markdown
Contributor

@qroll qroll May 26, 2026

Choose a reason for hiding this comment

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

since we're changing the import paths, we might as well rename the typings to drop V2

the storybook docs should also reflect this

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.

3 participants