Swagger ui redesign/custom dropdown#5381
Conversation
…gins on button element)
* bump minimum `bundlesize` version * bump `node-sass` * bump webpack + webpack-dev-server; update lockfile
…sign/standardize-default-buttons # Conflicts: # src/style/_buttons.scss # src/style/_variables.scss
…com/SmartBear/swagger-ui into swagger-ui-redesign/custom-dropdown # Conflicts: # src/core/components/layout-utils/drop-down.jsx
…com/SmartBear/swagger-ui into swagger-ui-redesign/custom-dropdown
shockey
left a comment
There was a problem hiding this comment.
Question: did you change anything in layout-utils besides restructuring each component into its own file?
I didn't go over each component with a fine-toothed comb, but if there are source changes within any components, let me know and I'll take a closer look with manual diffing.
Also: that there's a merge conflict on this branch with layout-utils.jsx, take care to apply those changes to the relevant components.
src/core/utils.js
Outdated
| return values[0] | ||
| } | ||
|
|
||
| export function xclass(...args) { |
There was a problem hiding this comment.
Change request: use classnames instead of keeping xclass around. At a glance, looks like we can switch out the invocations without changing anything else.
(I know this PR didn't introduce the function, but since we're cleaning up layout-utils, might as well fix this.)
There was a problem hiding this comment.
And nope, I didn't make any changes beside moving things around. I didn't want to go outside of the scope of this ticket. So the main files that need attention are src/core/components/layout-utils/drop-down.jsx, src/core/components/schemes.jsx and src/style/_dropdown.scss.
merge back from swagger-ui facelift to our facelift
|
thanks @taraokelly! |
Custom select/dropdown
Description
Created custom Dropdown with new design. Updated Schemes to use this.
(The other selects and the icon will be updated in subsequent PRs)
[EDIT] the icon has been updated to use the new Icon component.
Motivation and Context
Facelift
How Has This Been Tested?
Manually
Screenshots (if appropriate):
Checklist
My PR contains...
src/is unmodified: changes to documentation, CI, metadata, etc.)package.json)My changes...
Documentation
Automated tests