This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 166
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multiple UX updates - isCompact prop, new css styles, updated variables, and new tests and screenshots.
Tested: PR #2487 Reviewed:
Considerations for Future Enhancements:
|
ryanthemanuel
approved these changes
Jul 30, 2019
bjankord
reviewed
Jul 30, 2019
bjankord
reviewed
Jul 30, 2019
bjankord
reviewed
Jul 30, 2019
bjankord
reviewed
Jul 30, 2019
cody-dot-js
pushed a commit
that referenced
this pull request
Aug 9, 2019
…or variant independent code Add pseudo changelog to make travis happy isolating default variant.. revert destructuring for smaller diff, use keycode-js for compat, isolate menu & frame for default variant add back other doc site examples using default variant Remove DEPENDENCIES.md files (#2548) Update spanish translations in terra-form-select (#2547) Update README.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] Update changelog Rename publish script to release to avoid conflicts with lerna v3 lifecycle Publish - [email protected] Document the need to mock window.matchMedia for jest tests (#2532) Update changelogs Publish - [email protected] - [email protected] - [email protected] Update errorIcon default props in input and textarea fields (#2551) Update to use node 10 (#2552) Update markdown dependencies (#2554) Update RELEASE.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] add combobox impl, fix some lint.. add combobox frame impl, allowClear doc site example add combobox menu impl add search variant impl, uncomment search doc site example add legacy frame impl to search variant.. add search frame impl add legacy version of multiple variant.. remove variant prop dependence in multiple variant add legacy frame impl for multiple variant.. add multiple frame impl.. Create Terra Dropdown Button (#2487) * Begin work on dropdown-button * Work on split button styles * Work on moving from options prop to children * Use Options subcomponent, add examples, styling * Adjust examples, dropdown is left aligned * Add the dropdown type to the dropdown button * Theming and styling work * Delete outer border wrapper class * Make dropdown list searchable * IE support is mandatory * More IE verification, fix dropdown and block * Some documentation work * Button no more * Remove itemSelectedCallback * Add jest tests * Remove Usage from docs README * Add changes from unreleased terra generator update * Add package to top level README * Test DropdownListUtil * Work on code documentation * This need to be themeable, this isn't needed * Work on split type WDIO tests * Updates after UX feedback round 1 * WDIO split button testing work * split defaultOption prop into label and callback * A little testing work * Break SplitButton and DropdownButtonBase from DropdownButton * Extract SplitButton and DropdownButtonBase styles * Work on documentation pages * Extract SplitButton jest tests * Finishing up split WDIO tests * Dropdown WDIO, improve split default * D-d-d-d-documentation * Use hookshot instead of popup, need to figure out focus after close * Fix firefox spacebar bug, manage focus * Active styles on FireFox onKeyDown * Update test snapshots * Address PR comments * Address PR comments (test changes) * Remove underscore prefix from Button subcomponent * Update jest snapshots * Apply suggestions from code review Co-Authored-By: Brett Jankord <[email protected]> * Use translations (RIP jest snapshot) * More PR comments * A few PR comments * Forgot a thing * Fix dropdown reopening when chevron is clicked while dropdown is open * Address more PR comments * Translations done * Dive in SplitButton snapshots * chevron => caret * Expand test coverage * Misc changes * Update jest snapshots * Remove accidentally comitted test screenshots * Use true focus instead of faking focus * Apply suggestions from code review Co-Authored-By: Derek Yu <[email protected]> * Doc updates * Change Button subcomponent to Item, PR Comments * div got unremoved * Fix focusing things from callback inside dropdown * Add peer dependency info to docs * Test focus in callback, fix tests * onClick => onSelect, stopPropagation * Rename buttons prop to items * Improve JAWS accessibility * Added isCompact prop, Updated style, added tests, updated screenshots Multiple UX updates - isCompact prop, new css styles, updated variables, and new tests and screenshots. * Update docsite split button labels * Add examples for ghost and remove commented css. Update doc template version used in dropdown button (#2558) Update changelog Update changelog Publish - [email protected] Dev site v6 (#2546) * update to dev-site-v6 * update env variable for gh-pages deploy * change logs * forgot one * update commands * update package.json change logs and add a wdio.conf.js to each package. Update raw-loader paths in examples add legacy menu to multiple variant.. add legacy menu to search variant.. cleanup code, specialize multiple variant menu add variant independent menu for search variant add impl for tag variant select add legacy impl of tag select frame add variant independent frame impl for tag select fix shouldAddOptionOnBlur for tag and combobox variants add legacy menu for tags variant.. remove variant prop dependence on tag select menu component cleanup code, remove placeholders.. refactor a lil before the flattening Update Field to pass down isInvalid to its children (#2561) Consume OCS icons v1.27 (#2562) Replace usage of markdown magic for generating package listing (#2557) [terra-avatar] [terra-image] Avatar to allow non square images. (#2494) [terra-arrange] Update the Props description. (#2567) fix jest tests, update snapshots fix updateSelectionState for tag & mutliple fix updateSelectionState for tag & mutliple round 2 fix default values, tab index for default variant add comoboboxfield, make combobox component shallow lib export add defaultselectfield, make defaultselect component shallow lib export add multipleselectfield, make multipleselect component shallow lib export add searchselectfield, make searchselect component shallow lib export add tagselectfield, make tagselect component shallow lib export fix imports & snapshots remove todos rename DefaultSelect ➡️ DropdownSelect, remove legacy context, update snapshots fix raw-loader path, clean up changelog cleanup props & prop docs, remove unnecessary props from tag/multiple variants add DropdownSelect doc site examples, add placeholders for other variants/field variants add dropdownselectfield doc site examples add combobox & comboboxfield doc site entries fix flatten, add multiple select doc site entry add multiple select field doc site entry add tag select/field doc site entries add search select/field doc site entries fix aria merge conflicts
cody-dot-js
pushed a commit
that referenced
this pull request
Aug 9, 2019
…or variant independent code Add pseudo changelog to make travis happy isolating default variant.. revert destructuring for smaller diff, use keycode-js for compat, isolate menu & frame for default variant add back other doc site examples using default variant Remove DEPENDENCIES.md files (#2548) Update spanish translations in terra-form-select (#2547) Update README.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] Update changelog Rename publish script to release to avoid conflicts with lerna v3 lifecycle Publish - [email protected] Document the need to mock window.matchMedia for jest tests (#2532) Update changelogs Publish - [email protected] - [email protected] - [email protected] Update errorIcon default props in input and textarea fields (#2551) Update to use node 10 (#2552) Update markdown dependencies (#2554) Update RELEASE.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] add combobox impl, fix some lint.. add combobox frame impl, allowClear doc site example add combobox menu impl add search variant impl, uncomment search doc site example add legacy frame impl to search variant.. add search frame impl add legacy version of multiple variant.. remove variant prop dependence in multiple variant add legacy frame impl for multiple variant.. add multiple frame impl.. Create Terra Dropdown Button (#2487) * Begin work on dropdown-button * Work on split button styles * Work on moving from options prop to children * Use Options subcomponent, add examples, styling * Adjust examples, dropdown is left aligned * Add the dropdown type to the dropdown button * Theming and styling work * Delete outer border wrapper class * Make dropdown list searchable * IE support is mandatory * More IE verification, fix dropdown and block * Some documentation work * Button no more * Remove itemSelectedCallback * Add jest tests * Remove Usage from docs README * Add changes from unreleased terra generator update * Add package to top level README * Test DropdownListUtil * Work on code documentation * This need to be themeable, this isn't needed * Work on split type WDIO tests * Updates after UX feedback round 1 * WDIO split button testing work * split defaultOption prop into label and callback * A little testing work * Break SplitButton and DropdownButtonBase from DropdownButton * Extract SplitButton and DropdownButtonBase styles * Work on documentation pages * Extract SplitButton jest tests * Finishing up split WDIO tests * Dropdown WDIO, improve split default * D-d-d-d-documentation * Use hookshot instead of popup, need to figure out focus after close * Fix firefox spacebar bug, manage focus * Active styles on FireFox onKeyDown * Update test snapshots * Address PR comments * Address PR comments (test changes) * Remove underscore prefix from Button subcomponent * Update jest snapshots * Apply suggestions from code review Co-Authored-By: Brett Jankord <[email protected]> * Use translations (RIP jest snapshot) * More PR comments * A few PR comments * Forgot a thing * Fix dropdown reopening when chevron is clicked while dropdown is open * Address more PR comments * Translations done * Dive in SplitButton snapshots * chevron => caret * Expand test coverage * Misc changes * Update jest snapshots * Remove accidentally comitted test screenshots * Use true focus instead of faking focus * Apply suggestions from code review Co-Authored-By: Derek Yu <[email protected]> * Doc updates * Change Button subcomponent to Item, PR Comments * div got unremoved * Fix focusing things from callback inside dropdown * Add peer dependency info to docs * Test focus in callback, fix tests * onClick => onSelect, stopPropagation * Rename buttons prop to items * Improve JAWS accessibility * Added isCompact prop, Updated style, added tests, updated screenshots Multiple UX updates - isCompact prop, new css styles, updated variables, and new tests and screenshots. * Update docsite split button labels * Add examples for ghost and remove commented css. Update doc template version used in dropdown button (#2558) Update changelog Update changelog Publish - [email protected] Dev site v6 (#2546) * update to dev-site-v6 * update env variable for gh-pages deploy * change logs * forgot one * update commands * update package.json change logs and add a wdio.conf.js to each package. Update raw-loader paths in examples add legacy menu to multiple variant.. add legacy menu to search variant.. cleanup code, specialize multiple variant menu add variant independent menu for search variant add impl for tag variant select add legacy impl of tag select frame add variant independent frame impl for tag select fix shouldAddOptionOnBlur for tag and combobox variants add legacy menu for tags variant.. remove variant prop dependence on tag select menu component cleanup code, remove placeholders.. refactor a lil before the flattening Update Field to pass down isInvalid to its children (#2561) Consume OCS icons v1.27 (#2562) Replace usage of markdown magic for generating package listing (#2557) [terra-avatar] [terra-image] Avatar to allow non square images. (#2494) [terra-arrange] Update the Props description. (#2567) fix jest tests, update snapshots fix updateSelectionState for tag & mutliple fix updateSelectionState for tag & mutliple round 2 fix default values, tab index for default variant add comoboboxfield, make combobox component shallow lib export add defaultselectfield, make defaultselect component shallow lib export add multipleselectfield, make multipleselect component shallow lib export add searchselectfield, make searchselect component shallow lib export add tagselectfield, make tagselect component shallow lib export fix imports & snapshots remove todos rename DefaultSelect ➡️ DropdownSelect, remove legacy context, update snapshots fix raw-loader path, clean up changelog cleanup props & prop docs, remove unnecessary props from tag/multiple variants add DropdownSelect doc site examples, add placeholders for other variants/field variants add dropdownselectfield doc site examples add combobox & comboboxfield doc site entries fix flatten, add multiple select doc site entry add multiple select field doc site entry add tag select/field doc site entries add search select/field doc site entries fix aria merge conflicts
cody-dot-js
pushed a commit
that referenced
this pull request
Aug 9, 2019
…or variant independent code Add pseudo changelog to make travis happy isolating default variant.. revert destructuring for smaller diff, use keycode-js for compat, isolate menu & frame for default variant add back other doc site examples using default variant Remove DEPENDENCIES.md files (#2548) Update spanish translations in terra-form-select (#2547) Update README.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] Update changelog Rename publish script to release to avoid conflicts with lerna v3 lifecycle Publish - [email protected] Document the need to mock window.matchMedia for jest tests (#2532) Update changelogs Publish - [email protected] - [email protected] - [email protected] Update errorIcon default props in input and textarea fields (#2551) Update to use node 10 (#2552) Update markdown dependencies (#2554) Update RELEASE.md Update changelogs Publish - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] - [email protected] add combobox impl, fix some lint.. add combobox frame impl, allowClear doc site example add combobox menu impl add search variant impl, uncomment search doc site example add legacy frame impl to search variant.. add search frame impl add legacy version of multiple variant.. remove variant prop dependence in multiple variant add legacy frame impl for multiple variant.. add multiple frame impl.. Create Terra Dropdown Button (#2487) * Begin work on dropdown-button * Work on split button styles * Work on moving from options prop to children * Use Options subcomponent, add examples, styling * Adjust examples, dropdown is left aligned * Add the dropdown type to the dropdown button * Theming and styling work * Delete outer border wrapper class * Make dropdown list searchable * IE support is mandatory * More IE verification, fix dropdown and block * Some documentation work * Button no more * Remove itemSelectedCallback * Add jest tests * Remove Usage from docs README * Add changes from unreleased terra generator update * Add package to top level README * Test DropdownListUtil * Work on code documentation * This need to be themeable, this isn't needed * Work on split type WDIO tests * Updates after UX feedback round 1 * WDIO split button testing work * split defaultOption prop into label and callback * A little testing work * Break SplitButton and DropdownButtonBase from DropdownButton * Extract SplitButton and DropdownButtonBase styles * Work on documentation pages * Extract SplitButton jest tests * Finishing up split WDIO tests * Dropdown WDIO, improve split default * D-d-d-d-documentation * Use hookshot instead of popup, need to figure out focus after close * Fix firefox spacebar bug, manage focus * Active styles on FireFox onKeyDown * Update test snapshots * Address PR comments * Address PR comments (test changes) * Remove underscore prefix from Button subcomponent * Update jest snapshots * Apply suggestions from code review Co-Authored-By: Brett Jankord <[email protected]> * Use translations (RIP jest snapshot) * More PR comments * A few PR comments * Forgot a thing * Fix dropdown reopening when chevron is clicked while dropdown is open * Address more PR comments * Translations done * Dive in SplitButton snapshots * chevron => caret * Expand test coverage * Misc changes * Update jest snapshots * Remove accidentally comitted test screenshots * Use true focus instead of faking focus * Apply suggestions from code review Co-Authored-By: Derek Yu <[email protected]> * Doc updates * Change Button subcomponent to Item, PR Comments * div got unremoved * Fix focusing things from callback inside dropdown * Add peer dependency info to docs * Test focus in callback, fix tests * onClick => onSelect, stopPropagation * Rename buttons prop to items * Improve JAWS accessibility * Added isCompact prop, Updated style, added tests, updated screenshots Multiple UX updates - isCompact prop, new css styles, updated variables, and new tests and screenshots. * Update docsite split button labels * Add examples for ghost and remove commented css. Update doc template version used in dropdown button (#2558) Update changelog Update changelog Publish - [email protected] Dev site v6 (#2546) * update to dev-site-v6 * update env variable for gh-pages deploy * change logs * forgot one * update commands * update package.json change logs and add a wdio.conf.js to each package. Update raw-loader paths in examples add legacy menu to multiple variant.. add legacy menu to search variant.. cleanup code, specialize multiple variant menu add variant independent menu for search variant add impl for tag variant select add legacy impl of tag select frame add variant independent frame impl for tag select fix shouldAddOptionOnBlur for tag and combobox variants add legacy menu for tags variant.. remove variant prop dependence on tag select menu component cleanup code, remove placeholders.. refactor a lil before the flattening Update Field to pass down isInvalid to its children (#2561) Consume OCS icons v1.27 (#2562) Replace usage of markdown magic for generating package listing (#2557) [terra-avatar] [terra-image] Avatar to allow non square images. (#2494) [terra-arrange] Update the Props description. (#2567) fix jest tests, update snapshots fix updateSelectionState for tag & mutliple fix updateSelectionState for tag & mutliple round 2 fix default values, tab index for default variant add comoboboxfield, make combobox component shallow lib export add defaultselectfield, make defaultselect component shallow lib export add multipleselectfield, make multipleselect component shallow lib export add searchselectfield, make searchselect component shallow lib export add tagselectfield, make tagselect component shallow lib export fix imports & snapshots remove todos rename DefaultSelect ➡️ DropdownSelect, remove legacy context, update snapshots fix raw-loader path, clean up changelog cleanup props & prop docs, remove unnecessary props from tag/multiple variants add DropdownSelect doc site examples, add placeholders for other variants/field variants add dropdownselectfield doc site examples add combobox & comboboxfield doc site entries fix flatten, add multiple select doc site entry add multiple select field doc site entry add tag select/field doc site entries add search select/field doc site entries fix aria merge conflicts
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
A button that, when pressed, opens a dropdown with more buttons with custom callbacks. Has another variation that also shows a button with a custom callback outside the dropdown.
PR is still waiting for some UX feedback from @neilpfeiffer but code is ready for review.
Deployment
Expected Interactions
Additional Details
Closes #2216