design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Global Navigation: bar between menu links and app name label missing

Open swilliamset opened this issue 10 years ago • 4 comments

DSR image

SLDS image

swilliamset avatar Jul 22 '16 04:07 swilliamset

Is this just a matter of not using the most up to date markup? I also noticed the waffle icon now has some animation using css transitions, etc. Assuming once we pull in the latest markup we'll get that as well? @tweettypography

mbeard avatar Jul 22 '16 14:07 mbeard

This is what region.jsx needs

renderPrimary () {
        const dividerClass = this.props.dividerPosition ?
            `slds-context-bar__item--divider-${this.props.dividerPosition}` :
            'slds-context-bar__item--divider-right';

        return (
            <div className={classNames('slds-context-bar__primary', dividerClass, this.props.className)}>
                {this.props.children}
            </div>
        );
    },

The other's have a dividerPositionProp, but I believe it should default to for the primary--but defaulting to on is controversial.

interactivellama avatar Jul 22 '16 18:07 interactivellama

The general passing in of the custom child Cloud + icon + MC App Name, etc. may need to be revisited, too.

interactivellama avatar Jul 22 '16 18:07 interactivellama

Broke "animated waffle icon" into it's own issue #467

iowillhoit avatar Jul 22 '16 19:07 iowillhoit