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
/** Flag indicating if DataList should have compact styling */
32
+
/** Flag indicating if data list should have compact styling */
33
33
isCompact?: boolean;
34
-
/** @beta Flag indicating if DataList should have plain styling with a transparent background */
34
+
/** @beta Flag indicating if data list should have plain styling with a transparent background */
35
35
isPlain?: boolean;
36
+
/** @beta Flag to prevent the data list from automatically applying plain styling when glass theme is enabled. When both this and isPlain are true, isPlain takes precedence. */
`DataList: When both isPlain and isNoPlainOnGlass are true, isPlain will take precedence and isNoPlainOnGlass will have no effect. It's recommended to pass only one prop according to the current theme.`
/** Additional classes added to the DataList cell */
7
+
/** Additional classes added to the data list cell */
8
8
className?: string;
9
-
/** Flag to show if the expanded content of the DataList item is visible */
9
+
/** Flag to show if the expanded content of the data list item is visible */
10
10
isExpanded?: boolean;
11
-
/** Identify the DataList toggle number */
11
+
/** Identify the data list toggle number */
12
12
id: string;
13
13
/** Id for the row */
14
14
rowid?: string;
15
-
/** Adds accessible text to the DataList toggle */
15
+
/** Adds accessible text to the data list toggle */
16
16
'aria-labelledby'?: string;
17
-
/** Adds accessible text to the DataList toggle */
17
+
/** Adds accessible text to the data list toggle */
18
18
'aria-label'?: string;
19
19
/** Allows users of some screen readers to shift focus to the controlled element. Should be used when the controlled contents are not adjacent to the toggle that controls them. */
`DataList: When both isPlain and isNoPlainOnGlass are true, isPlain will take precedence and isNoPlainOnGlass will have no effect. It's recommended to pass only one prop according to the current theme.`
93
+
);
94
+
95
+
warnSpy.mockRestore();
96
+
});
97
+
98
+
test('Does not warn when only isPlain is true',()=>{
0 commit comments