Skip to content

Conversation

@hualf1995
Copy link
Collaborator

Description

  1. Bring the button component up to date with web-code version
  2. Update ubook stories
  3. Update docs to introduce new apis and give a notice about the deprecating variants.
Screenshot 2026-01-03 at 9 28 38 PM Screenshot 2026-01-03 at 10 08 58 PM Screenshot 2026-01-03 at 10 09 07 PM Screenshot 2026-01-03 at 10 09 26 PM Screenshot 2026-01-03 at 10 09 33 PM

Scope

Minor: New Feature
Will bump the version after we sync other components.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 5, 2026

Deploying baseweb with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2134006
Status: ✅  Deploy successful!
Preview URL: https://d9fecacd.baseweb.pages.dev
Branch Preview URL: https://linfeng-button.baseweb.pages.dev

View logs


<Yard placeholderHeight={52} {...buttonYardConfig} />

<Notification
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added a deprecation note on doc

tagLimeBorderSecondaryUnselected: primitiveDarkColors.lime500Dark,
tagLimeBorderSecondarySelected: primitiveDarkColors.lime800Dark,
};
const hoveredAndPressedColors: HoveredAndPressedSemanticColors = {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copied from base-specs

Copy link
Collaborator

@DianaSuvorova DianaSuvorova left a comment

Choose a reason for hiding this comment

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

Nice!

const [css] = useStyletron();
const [isSelected, setIsSelected] = React.useState(false);

console.log('isSelected', isSelected);
Copy link
Collaborator

Choose a reason for hiding this comment

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

stray console.log

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good catch! I'll remove it in my next PR for button group.

@hualf1995 hualf1995 merged commit ba318d3 into main Jan 5, 2026
5 checks passed
@hualf1995 hualf1995 deleted the linfeng-button branch January 5, 2026 21:30
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