Skip to content

feat(CC-batch-1): added batch 1 #11827

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mattnolting
Copy link
Contributor

@mattnolting mattnolting commented May 13, 2025

Relates to: #11624

Included components:

  • About Modal
  • Accordion
  • Action Llist
  • Background Image
  • Clipboard Copy

Component tracker

Figma preview

Resources:

@patternfly-build
Copy link
Contributor

patternfly-build commented May 13, 2025

@mattnolting mattnolting changed the title feat(CC-batch-1): prepared batch 1 feat(CC-batch-1): added batch 1 May 13, 2025
@mattnolting mattnolting marked this pull request as ready for review May 22, 2025 15:04
Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

Would each component benefit from an added comment linking directly to the component docs on patternfly.org? I think that'd be helpful.

},
example: (props) => (
<AccordionItem isExpanded={props.isExpanded}>
<AccordionToggle>{props.toggleTextExpanded}</AccordionToggle>
Copy link
Contributor

Choose a reason for hiding this comment

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

The AccordionToggle should have an id="<your-id-here>" or something like that. id` is a required prop.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd also add a comment here recommending they implement an onClick event to toggle the expanded state of this Accordion.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

// enum
isActive: figma.enum('State', { Active: true }),
isReadOnly: figma.enum('State', { 'Read only': true }),
isExpanded: figma.enum('State', { Expanded: true }),
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a way in figma to make an expandable clipboardCopy variant? If so, then isExpanded can be passed, but also the variant needs to be 'expansion'

ActionList,
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=6780-15839&m=dev',
{
props: {
Copy link
Contributor

@kmcfaul kmcfaul May 29, 2025

Choose a reason for hiding this comment

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

Not sure if it's worth adding the isIconList prop here or if there is no distinction in figma. In React this boolean prop adds a class for icon-only lists that removes some additional padding.

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