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 - Native Select / Select - Supporting additional content #1159

Merged
merged 11 commits into from
Nov 29, 2023

Conversation

chris-cedrone-cengage
Copy link
Collaborator

@chris-cedrone-cengage chris-cedrone-cengage commented Nov 9, 2023

Issue: 1114

What I did

  • Added support for Native Select & Select components to allow additional content.

Still:

oy

Checklist

  • changeset has been added
  • Pull request description is descriptive
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works

How to test

  • Go into Docs > Native Select || Select > Open up the Codesandbox example under "Additional Content"
  • Test that elements are permitted within additionalContent={}

Copy link

changeset-bot bot commented Nov 9, 2023

🦋 Changeset detected

Latest commit: 62582af

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Copy link
Contributor

Copy link
Contributor

package-lock.json Outdated Show resolved Hide resolved
.changeset/feat-selectChildren.md Outdated Show resolved Hide resolved
packages/react-magma-dom/src/components/Select/Select.tsx Outdated Show resolved Hide resolved
website/react-magma-docs/src/pages/api/select.mdx Outdated Show resolved Hide resolved
packages/react-magma-dom/src/components/Select/index.tsx Outdated Show resolved Hide resolved
@chris-cedrone-cengage chris-cedrone-cengage marked this pull request as ready for review November 17, 2023 16:29
@chris-cedrone-cengage chris-cedrone-cengage requested a review from a team as a code owner November 17, 2023 16:29
Copy link
Contributor

Copy link
Contributor

.changeset/feat-selectChildren.md Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
packages/react-magma-dom/src/components/Select/index.tsx Outdated Show resolved Hide resolved
packages/react-magma-dom/src/components/Select/index.tsx Outdated Show resolved Hide resolved
packages/react-magma-dom/src/components/Select/index.tsx Outdated Show resolved Hide resolved
website/react-magma-docs/src/pages/api/native-select.mdx Outdated Show resolved Hide resolved
website/react-magma-docs/src/pages/api/select.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

Copy link
Contributor

package-lock.json Outdated Show resolved Hide resolved
Comment on lines 204 to 205
{(labelPosition === LabelPosition.left && additionalContent) ||
(!labelText && additionalContent)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can touch up this logic to be a little cleaner :) (same logic, just re-organized)

website/react-magma-docs/src/pages/api/native-select.mdx Outdated Show resolved Hide resolved
website/react-magma-docs/src/pages/api/select.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

Copy link
Contributor

…m git log which is previous to my committed version
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

1 similar comment
Copy link
Contributor

Copy link
Contributor

1 similar comment
Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@chris-cedrone-cengage chris-cedrone-cengage merged commit c47fc18 into dev Nov 29, 2023
11 checks passed
@silvalaura silvalaura deleted the feat/selectChildren branch July 25, 2024 17:44
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