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 ff5bdfb
Browse filesBrowse the repository at this point in the historyBrowse files
/** Value to overwrite the randomly generated data-ouia-component-id.*/
88
+
ouiaId?: number|string;
89
+
/** 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. */
90
+
ouiaSafe?: boolean;
87
91
}
88
92
89
93
interfaceExpandableSectionState{
@@ -134,7 +138,8 @@ class ExpandableSection extends Component<ExpandableSectionProps, ExpandableSect
134
138
displaySize: 'default',
135
139
isWidthLimited: false,
136
140
isIndented: false,
137
-
variant: 'default'
141
+
variant: 'default',
142
+
ouiaSafe: true
138
143
};
139
144
140
145
privatecalculateToggleText(
@@ -232,6 +237,8 @@ class ExpandableSection extends Component<ExpandableSectionProps, ExpandableSect
232
237
truncateMaxLines,
233
238
direction,
234
239
toggleWrapper ='div',
240
+
ouiaId,
241
+
ouiaSafe,
235
242
...props
236
243
}=this.props;
237
244
@@ -307,6 +314,7 @@ class ExpandableSection extends Component<ExpandableSectionProps, ExpandableSect
Copy file name to clipboardExpand all lines: packages/react-core/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap
0 commit comments