-
Notifications
You must be signed in to change notification settings - Fork 80
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
Branding refresh and VerticalListMenu tweaks #256
Conversation
|
||
// Recurse | ||
.ColorPalette-loop(@i - 1); | ||
} | ||
|
||
.lucid-ColorPalette { | ||
.ColorPalette { | ||
padding: 15px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah probably, I use it in lots of places. I've been cutting some corners on the demo page :/
- Fix VerticalListMenu usage on the docs page
export function buildHybridComponent(baseComponent, { | ||
setStateWithNewProps = true, // if true, new props will update state, else prop has priority over existing state | ||
replaceEvents = false, // if true, function props replace the existing reducers, else they are invoked *after* state reducer returns | ||
reducers = _.get(baseComponent, 'definition.statics.reducers', {}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! I wrote a test for it too.
buildHybridComponent
to acceptreducers
as an option so I could override the behavior for the demo pagePR Checklist
common
at minimum)semver-
labels