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

Refactor to use value versus data-value on menu option #80

Merged
merged 2 commits into from
Jan 31, 2022

Conversation

blackfalcon
Copy link
Member

@blackfalcon blackfalcon commented Jan 28, 2022

Alaska Airlines Pull Request

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Resolves: #65

Summary:

Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.

The scope of this PR is to refactor auro-menu to use a strict value versus the contrived data-value attribute from the menu option.

When this version is released, this will require auro-dropdownmenu to update its demo. This work was tested with the current version of auro-dropdownmenu to ensure compatibility.

Type of change:

Please delete options that are not relevant.

  • New capability
  • Revision of an existing capability
  • Infrastructure change (automation, etc.)
  • Other (please elaborate)

Checklist:

  • My update follows the CONTRIBUTING guidelines of this project
  • I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.

Thank you for your submission!

-- Auro Design System Team

@blackfalcon blackfalcon requested a review from a team as a code owner January 28, 2022 21:37
@blackfalcon blackfalcon self-assigned this Jan 28, 2022
@blackfalcon blackfalcon changed the base branch from main to v3.1-rc January 28, 2022 21:37
@blackfalcon blackfalcon linked an issue Jan 28, 2022 that may be closed by this pull request

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes to be committed:
modified:   docs/api.md
modified:   src/auro-menu.js
modified:   src/auro-menuoption.js
modified:   test/auro-menu.test.js
Changes to be committed:
modified:   demo/demo.md
modified:   demo/partials/default.html
modified:   demo/partials/disabled.html
modified:   demo/partials/hr.html
modified:   demo/partials/preselect.html
modified:   demo/partials/restrictedWidth.html
@blackfalcon blackfalcon merged commit 88b38dc into v3.1-rc Jan 31, 2022
@blackfalcon blackfalcon deleted the dsande/datavalue/#65 branch January 31, 2022 23:45
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.

the concept of data-value
2 participants