feat: Add configurable card design options and enhance person details in organization chart
This commit is contained in:
@@ -47,9 +47,17 @@ assert(component.indexOf('peopleCountLabel') < 0 && component.indexOf(''
|
||||
component.indexOf('') >= 0, 'Header count removal or modern toggle icons are missing.');
|
||||
assert(styles.indexOf('.tree li:only-child { padding-top: 0; }') >= 0,
|
||||
'Single-child connector spacing must remain continuous.');
|
||||
assert(component.indexOf('getMaximumVisibleBreadth') >= 0 && component.indexOf('cardWidth') >= 0 &&
|
||||
assert(component.indexOf('getMaximumVisibleBreadth') >= 0 && component.indexOf('getBreadthCardWidth') >= 0 &&
|
||||
component.indexOf('maximumBreadth === 4') >= 0 && component.indexOf('cardWidth') >= 0 &&
|
||||
styles.indexOf('.compactTree') >= 0 && styles.indexOf('.denseTree') >= 0,
|
||||
'Responsive organization-chart card sizing is missing.');
|
||||
assert(component.indexOf('expandedDetails') >= 0 && component.indexOf('toggleDetails') >= 0 &&
|
||||
component.indexOf('renderDetails') >= 0 && component.indexOf("className={styles.cardContent}") >= 0,
|
||||
'Teams-style expandable person cards are missing.');
|
||||
assert(webPart.indexOf("PropertyPaneTextField('cardBackgroundColor'") >= 0 &&
|
||||
webPart.indexOf("PropertyPaneTextField('cardAccentColor'") >= 0 &&
|
||||
webPart.indexOf("PropertyPaneToggle('roundedCards'") >= 0,
|
||||
'Configurable card design options are missing.');
|
||||
assert(component.indexOf("role='presentation'") >= 0, 'Decorative profile images must be hidden from assistive technology.');
|
||||
['bodyText', 'neutralSecondary', 'neutralLighter', 'themePrimary', 'neutralTertiary', 'white', 'neutralLight', 'focusBorder', 'errorText']
|
||||
.forEach(function(slot) {
|
||||
|
||||
Reference in New Issue
Block a user