You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dab7e8a
Browse filesBrowse the repository at this point in the historyBrowse files
feat(Page,Compass,Nav,MenuToggle,Button): simplify docked nav expand props (#12661)
* feat(Page,Compass,Nav,MenuToggle,Button): simplify docked nav expand props
* wording
* update tests for props
* coderabbit feedback: update toggle to clear dockoverlay, update select to only void inline desktop, remove unused prop
* fix inline dock nav closing on outside click, fix overlay being toggled on secondary nav group toggle
* fix mobile docked nav click outside behavior, update nav docs wording
* update prop desc for isExpanded
* remove dupe test
* remove dupe bullet point
* update snap for ouia
/** Adds danger styling to secondary or link button variants */
101
101
isDanger?: boolean;
102
-
/** Flag indicating whether content the button controls is expanded or not. Required when isHamburger is true. */
102
+
/** Flag indicating whether content the button controls is expanded or not. Required when isHamburger is true. Applies additional expanded styling when isDocked is true. */
103
103
isExpanded?: boolean;
104
104
/** Flag indicating the button is a settings button. This will override the icon property. */
/** @beta Flag indicating the docked nav should display text. Only applies when variant is docked. */
43
-
isTextExpanded?: boolean;
43
+
isExpanded?: boolean;
44
44
/** Value to overwrite the randomly generated data-ouia-component-id.*/
45
45
ouiaId?: number|string;
46
46
/** Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. */
@@ -121,7 +121,7 @@ class Nav extends Component<NavProps, { isScrollable: boolean; flyoutRef: React.
0 commit comments