adding an optional control property to the Persona control#215
adding an optional control property to the Persona control#215abenems merged 16 commits intomicrosoft:masterfrom
Conversation
…t edit spuser site permissions
…t edit spuser site permissions
|
Hi @abenems, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
…t edit spuser site permissions
…t edit spuser site permissions
…t edit spuser site permissions
src/components/Persona/Persona.scss
Outdated
| .ms-Persona-tertiaryText, | ||
| .ms-Persona-optionalText { | ||
| .ms-Persona-optionalText, | ||
| .ms-PersonaAll-details { |
There was a problem hiding this comment.
Please follow naming conventions. .ms-ComponentName-elementName
…t edit spuser site permissions
…t edit spuser site permissions
…t edit spuser site permissions
…t edit spuser site permissions
src/components/Persona/Persona.tsx
Outdated
| </div>) } | ||
| </div> | ||
| { innerControl ? ( | ||
| <div className='ms-Persona-detailsWithInnerControl'>{ innerControl }</div> |
There was a problem hiding this comment.
We need a different className here than what you use on the root div. We cannot assume they will always use the same styles. For example, right now you mark 'ms-Persona-detailsWithInnerControl' as display:none for some scenarios, you definitely do not want the root div to be display: none in those cases...
|
|
||
| /** | ||
| * Optional control to display/update, usually the role of the user. | ||
| */ |
* Persona: now renders children within the details, and overflow on details removed (#215) * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * adding an optional control property to the Persona control, to support edit spuser site permissions * resolve comments * resolve comments * Minor changes. * Adding @autoBind usage to a number of the components. (#233) * Updating GroupedList, Link, MarqueeSelection, Breadcrumb, Toggle, Callout * Updating autobinds for Checkbox, ColorPicker, CommandBar, ContextualMenu. * Updating SelectionZone autobinds. * Adding autobind to Utilities export. * Adding best practice notes. * Updating autobind for FocusZone. * Removing dead code. * DatePicker: Change text input validation to only call onSelectDate when text input is allowed (#230) * Fixed validation when allowTextInput is false * Fixed formatting * Update package.json * Dropdown: isDisabled is respected when the value changes. (#237) * v0.47.2 * Using react events * Fixing a minor bug in selection where isAllSelected is returning true when all items are unselectable. Added test, validated the fix works. (#240) * BaseComponent: Adding a _resolveRef helper to create memoized helpers to resolve refs. (#238) * Adding a _resolveRef helper to create memoized helpers to resolve refs. * Cleaning up tslint. * v0.47.3 * ContextualMenu: added tooltip and arialabel to menu and menu items. (#241) * v0.48.0 * Using css utility map * Use @autoBind and _resolveRef * Adding focus state * Adding isChecked state * Removing unneeded variables * ChoiceGroup using react events
No description provided.