Custom and net-new: AgenticButton
Everything in this proposal that is not plain PDS v2. npm run check:tokens reads this file: each net-new class, custom CSS variable and raw value found in the code must appear here in backticks.
Net-new components
.pds-agentic-button— a button for an action the agent does: the secondary Button look with the AI gradient as its border. Built on the Button's own classes.- Parts and modifiers:
.pds-agentic-button--animated(the shimmer)
- Parts and modifiers:
Additions to existing PDS components
None. It adds a class beside pds-button and pds-button--secondary; it does not change them.
Net-new props
All props of AgenticButtonProps are new (net-new component): the Button props except variant, plus isAnimated.
Custom CSS variables
--button-border-color,--button-border-color-active,--button-border-color-hover— the Button's variables, set totransparenton.pds-agentic-buttonso the gradient shows as the border.
Raw values kept on purpose
None.