Skip to content
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

feat: Misc Odyssey updates #2326

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

Conversation

bryancunningham-okta
Copy link
Contributor

OKTA-796463

Summary

  • Expose Stack and Grid utility components from MUI
  • Fix deprecation warning from Storybook
  • Expose getOptionLabel prop on Autocomplete

Testing & Screenshots

  • I have confirmed this change with my designer and the Odyssey Design Team.

@bryancunningham-okta bryancunningham-okta requested a review from a team as a code owner August 23, 2024 17:27
Copy link
Contributor

@KevinGhadyani-Okta KevinGhadyani-Okta left a comment

Choose a reason for hiding this comment

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

Looks good, but i don't know what could break here either.

Does Applitools pass?

Copy link
Contributor

@KevinGhadyani-Okta KevinGhadyani-Okta left a comment

Choose a reason for hiding this comment

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


Copy link
Contributor

@KevinGhadyani-Okta KevinGhadyani-Okta left a comment

Choose a reason for hiding this comment

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

Approved noting we'll be wrapping these. Sorry, I can't unapprove :/.

Comment on lines +87 to +102
const Grid = ({
children,
columns,
component = "div",
container,
direction,
item,
rowSpacing,
spacing,
}: GridProps) => {
return (
<MuiGrid
columns={columns}
container={container}
component={component}
direction={direction}
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 have a Storybook entry for Grid? I'm not sure I completely understand what it does without seeing it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it's a direct port of a MUI component, I didn't think we'd want a story for it. What do you think?

Comment on lines +32 to +34
const Stack = ({ children, spacing }: StackProps) => {
return <MuiStack spacing={spacing}>{children}</MuiStack>;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the spacing stuff we're missing from Gen2? Can we get a Storybook entry for it?

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.

2 participants