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
feat(Dropdown): Add optional container with ouiaId
Container component can be customized via a prop as well. Container does not render if containerOuiaId is not used, so as not to break existing consumers.
/** 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. */
65
65
ouiaSafe?: boolean;
66
+
/** When applied, wraps dropdown in a container with a data-ouia-component-id.*/
67
+
containerOuiaId?: number|string;
68
+
/** Set the value of data-ouia-safe for the container when containerOuiaId is applied. 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. */
69
+
containerOuiaSafe?: boolean;
70
+
/** Sets the base component to render for the container. Defaults to <span> */
71
+
containerComponent?: React.ReactNode;
66
72
/** z-index of the dropdown menu */
67
73
zIndex?: number;
68
74
/** Additional properties to pass to the Popper */
0 commit comments