Skip to content

Conversation

@larryrider
Copy link
Contributor

  • Creates SuiteLauncher component with its tests
  • Improves dialog component by allowing support to JSX elements and adding optional maxWidth prop
  • Improves popover component

@larryrider larryrider requested a review from xabg2 December 1, 2025 11:54
@larryrider larryrider self-assigned this Dec 1, 2025
@larryrider larryrider added the dependencies Pull requests that update a dependency file label Dec 1, 2025
Comment on lines +66 to +73
) : isValidElement(suiteApp.icon as JSX.Element) ? (
cloneElement(suiteApp.icon as JSX.Element, {
size: 26,
className:
`${suiteApp.icon.props?.className ?? ''} ${suiteApp.isMain ? 'text-primary' : ''} ` +
`${suiteApp.availableSoon || suiteApp.isLocked ? 'opacity-50 filter grayscale' : ''}`,
weight: suiteApp.isMain ? 'fill' : 'regular',
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice! 🚀

className="font-medium dark:font-normal text-purple-10 dark:text-purple-1"
style={{ lineHeight: 1, fontSize: 'xx-small' }}
>
{soonText ?? 'Soon'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can pass the label as a prop😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It could be a good option, but for now I think its better this way so its easier to config (you only decide if its availableSoon, if its disabled or if its main, and ui just decides its css.
If its needed in the future, we can always add more complexity to it

@larryrider larryrider merged commit c6996c7 into master Dec 1, 2025
1 check passed
@larryrider larryrider deleted the feat/pb-5294-create-suite-launcher-component branch December 1, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants