Skip to content

feat(CC-batch-2): added batch 2 #11828

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 4 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:

  • Alert
  • Avatar
  • Back To Top
  • Backdrop
  • Badge

Component tracker

Figma preview

Resources:

@patternfly-build
Copy link
Contributor

patternfly-build commented May 13, 2025

@mattnolting mattnolting marked this pull request as ready for review May 22, 2025 15:11
props: {
children: figma.children('*')
},
example: (props) => <AlertGroup>{props.children}</AlertGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

this AlertGroup should have isToast isLiveRegion hasAnimations added to it

// children
children: figma.children('*')
},
example: (props) => <AlertGroup>{props.children}</AlertGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

These AlertGroups should have isLiveRegion and hasAnimations if they could appear on the page. They don't need these props if they are present on page load and cannot be dismissed.

disabled: true
})
},
example: (props) => <Badge title={props.title} isRead={props.isRead} isDisabled={props.isDisabled} />
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no title prop on Badge. instead you pass the title as children

Copy link
Contributor

Choose a reason for hiding this comment

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

It may also be worth stubbing out the screenReaderText prop for a11y setup.

children: figma.children('*')
},
example: (props) => (
<Alert variant={props.variant} title={props.title} variantLabel={props.variant} isInline isPlain />
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need separate code connect files for inline alert & plain inline alert or could these be combined with boolean flags for both isPlain and isInline?

disabled: true
})
},
example: (props) => <Badge title={props.title} isRead={props.isRead} isDisabled={props.isDisabled} />
Copy link
Contributor

Choose a reason for hiding this comment

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

It may also be worth stubbing out the screenReaderText prop for a11y setup.

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