feat: Update card sizing logic for responsive organization chart and bump version to 1.0.6
This commit is contained in:
@@ -47,6 +47,9 @@ 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 &&
|
||||
styles.indexOf('.compactTree') >= 0 && styles.indexOf('.denseTree') >= 0,
|
||||
'Responsive organization-chart card sizing is 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