mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +02:00
MakeStyles refactor 1-3 (#2835)
Signed-off-by: andreas-unleash <andreas@getunleash.ai> MakeStyles refactor 1-3 <!-- Thanks for creating a PR! To make it easier for reviewers and everyone else to understand what your changes relate to, please add some relevant content to the headings below. Feel free to ignore or delete sections that you don't think are relevant. Thank you! ❤️ --> ## About the changes <!-- Describe the changes introduced. What are they and why are they being introduced? Feel free to also add screenshots or steps to view the changes if they're visual. --> <!-- Does it close an issue? Multiple? --> Closes # <!-- (For internal contributors): Does it relate to an issue on public roadmap? --> <!-- Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item: # --> ### Important files <!-- PRs can contain a lot of changes, but not all changes are equally important. Where should a reviewer start looking to get an overview of the changes? Are any files particularly important? --> ## Discussion points <!-- Anything about the PR you'd like to discuss before it gets merged? Got any questions or doubts? --> Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
13a78dfc69
commit
74410d292b
@ -1,10 +0,0 @@
|
|||||||
import { makeStyles } from 'tss-react/mui';
|
|
||||||
|
|
||||||
export const useStyles = makeStyles()(theme => ({
|
|
||||||
deleteParagraph: {
|
|
||||||
marginTop: theme.spacing(3),
|
|
||||||
},
|
|
||||||
roleDeleteInput: {
|
|
||||||
marginTop: '1rem',
|
|
||||||
},
|
|
||||||
}));
|
|
@ -1,34 +1,39 @@
|
|||||||
import { Alert } from '@mui/material';
|
import { Alert, styled } from '@mui/material';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { IProjectRole } from 'interfaces/role';
|
import { IProjectRole } from 'interfaces/role';
|
||||||
import { Dialogue } from 'component/common/Dialogue/Dialogue';
|
import { Dialogue } from 'component/common/Dialogue/Dialogue';
|
||||||
import Input from 'component/common/Input/Input';
|
import Input from 'component/common/Input/Input';
|
||||||
import { useStyles } from './ProjectRoleDeleteConfirm.styles';
|
|
||||||
|
|
||||||
interface IProjectRoleDeleteConfirmProps {
|
interface IProjectRoleDeleteConfirmProps {
|
||||||
role: IProjectRole;
|
role: IProjectRole;
|
||||||
open: boolean;
|
open: boolean;
|
||||||
setDeldialogue: React.Dispatch<React.SetStateAction<boolean>>;
|
setDialogue: React.Dispatch<React.SetStateAction<boolean>>;
|
||||||
handleDeleteRole: (id: number) => Promise<void>;
|
handleDeleteRole: (id: number) => Promise<void>;
|
||||||
confirmName: string;
|
confirmName: string;
|
||||||
setConfirmName: React.Dispatch<React.SetStateAction<string>>;
|
setConfirmName: React.Dispatch<React.SetStateAction<string>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const DeleteParagraph = styled('p')(({ theme }) => ({
|
||||||
|
marginTop: theme.spacing(3),
|
||||||
|
}));
|
||||||
|
|
||||||
|
const RoleDeleteInput = styled(Input)(({ theme }) => ({
|
||||||
|
marginTop: theme.spacing(2),
|
||||||
|
}));
|
||||||
|
|
||||||
const ProjectRoleDeleteConfirm = ({
|
const ProjectRoleDeleteConfirm = ({
|
||||||
role,
|
role,
|
||||||
open,
|
open,
|
||||||
setDeldialogue,
|
setDialogue,
|
||||||
handleDeleteRole,
|
handleDeleteRole,
|
||||||
confirmName,
|
confirmName,
|
||||||
setConfirmName,
|
setConfirmName,
|
||||||
}: IProjectRoleDeleteConfirmProps) => {
|
}: IProjectRoleDeleteConfirmProps) => {
|
||||||
const { classes: styles } = useStyles();
|
|
||||||
|
|
||||||
const handleChange = (e: React.ChangeEvent<HTMLInputElement>) =>
|
const handleChange = (e: React.ChangeEvent<HTMLInputElement>) =>
|
||||||
setConfirmName(e.currentTarget.value);
|
setConfirmName(e.currentTarget.value);
|
||||||
|
|
||||||
const handleCancel = () => {
|
const handleCancel = () => {
|
||||||
setDeldialogue(false);
|
setDialogue(false);
|
||||||
setConfirmName('');
|
setConfirmName('');
|
||||||
};
|
};
|
||||||
const formId = 'delete-project-role-confirmation-form';
|
const formId = 'delete-project-role-confirmation-form';
|
||||||
@ -49,18 +54,17 @@ const ProjectRoleDeleteConfirm = ({
|
|||||||
feature toggles.
|
feature toggles.
|
||||||
</Alert>
|
</Alert>
|
||||||
|
|
||||||
<p className={styles.deleteParagraph}>
|
<DeleteParagraph>
|
||||||
In order to delete this role, please enter the name of the role
|
In order to delete this role, please enter the name of the role
|
||||||
in the textfield below: <strong>{role?.name}</strong>
|
in the textfield below: <strong>{role?.name}</strong>
|
||||||
</p>
|
</DeleteParagraph>
|
||||||
|
|
||||||
<form id={formId}>
|
<form id={formId}>
|
||||||
<Input
|
<RoleDeleteInput
|
||||||
autoFocus
|
autoFocus
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
value={confirmName}
|
value={confirmName}
|
||||||
label="Role name"
|
label="Role name"
|
||||||
className={styles.roleDeleteInput}
|
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
</Dialogue>
|
</Dialogue>
|
||||||
|
@ -261,7 +261,7 @@ const ProjectRoleList = () => {
|
|||||||
<ProjectRoleDeleteConfirm
|
<ProjectRoleDeleteConfirm
|
||||||
role={currentRole!}
|
role={currentRole!}
|
||||||
open={delDialog}
|
open={delDialog}
|
||||||
setDeldialogue={setDelDialog}
|
setDialogue={setDelDialog}
|
||||||
handleDeleteRole={deleteProjectRole}
|
handleDeleteRole={deleteProjectRole}
|
||||||
confirmName={confirmName}
|
confirmName={confirmName}
|
||||||
setConfirmName={setConfirmName}
|
setConfirmName={setConfirmName}
|
||||||
|
@ -8,16 +8,4 @@ export const useStyles = makeStyles()(theme => ({
|
|||||||
padding: theme.spacing(4),
|
padding: theme.spacing(4),
|
||||||
overflowX: 'auto',
|
overflowX: 'auto',
|
||||||
},
|
},
|
||||||
tabContainer: {
|
|
||||||
paddingLeft: 0,
|
|
||||||
paddingBottom: 0,
|
|
||||||
},
|
|
||||||
tabButton: {
|
|
||||||
textTransform: 'none',
|
|
||||||
width: 'auto',
|
|
||||||
fontSize: '1rem',
|
|
||||||
[theme.breakpoints.up('md')]: {
|
|
||||||
minWidth: 160,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}));
|
}));
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
} from 'component/common/Table';
|
} from 'component/common/Table';
|
||||||
import { SortingRule, useSortBy, useTable } from 'react-table';
|
import { SortingRule, useSortBy, useTable } from 'react-table';
|
||||||
import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext';
|
import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext';
|
||||||
import { Tab, Tabs, useMediaQuery } from '@mui/material';
|
import { styled, Tab, Tabs, useMediaQuery } from '@mui/material';
|
||||||
import { sortTypes } from 'utils/sortTypes';
|
import { sortTypes } from 'utils/sortTypes';
|
||||||
import { useEffect, useMemo, useState } from 'react';
|
import { useEffect, useMemo, useState } from 'react';
|
||||||
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
|
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
|
||||||
@ -23,9 +23,9 @@ import { ChangeRequestStatusCell } from './ChangeRequestStatusCell/ChangeRequest
|
|||||||
import { AvatarCell } from './AvatarCell/AvatarCell';
|
import { AvatarCell } from './AvatarCell/AvatarCell';
|
||||||
import { ChangeRequestTitleCell } from './ChangeRequestTitleCell/ChangeRequestTitleCell';
|
import { ChangeRequestTitleCell } from './ChangeRequestTitleCell/ChangeRequestTitleCell';
|
||||||
import { TableBody, TableRow } from 'component/common/Table';
|
import { TableBody, TableRow } from 'component/common/Table';
|
||||||
import { useStyles } from './ChangeRequestsTabs.styles';
|
|
||||||
import { createLocalStorage } from 'utils/createLocalStorage';
|
import { createLocalStorage } from 'utils/createLocalStorage';
|
||||||
import { useConditionallyHiddenColumns } from 'hooks/useConditionallyHiddenColumns';
|
import { useConditionallyHiddenColumns } from 'hooks/useConditionallyHiddenColumns';
|
||||||
|
import { useStyles } from './ChangeRequestsTabs.styles';
|
||||||
|
|
||||||
export interface IChangeRequestTableProps {
|
export interface IChangeRequestTableProps {
|
||||||
changeRequests: any[];
|
changeRequests: any[];
|
||||||
@ -37,6 +37,20 @@ const defaultSort: SortingRule<string> & {
|
|||||||
columns?: string[];
|
columns?: string[];
|
||||||
} = { id: 'createdAt' };
|
} = { id: 'createdAt' };
|
||||||
|
|
||||||
|
const StyledTabContainer = styled('div')({
|
||||||
|
paddingLeft: 0,
|
||||||
|
paddingBottom: 0,
|
||||||
|
});
|
||||||
|
|
||||||
|
const StyledTabButton = styled(Tab)(({ theme }) => ({
|
||||||
|
textTransform: 'none',
|
||||||
|
width: 'auto',
|
||||||
|
fontSize: theme.fontSizes.bodySize,
|
||||||
|
[theme.breakpoints.up('md')]: {
|
||||||
|
minWidth: 160,
|
||||||
|
},
|
||||||
|
}));
|
||||||
|
|
||||||
export const ChangeRequestsTabs = ({
|
export const ChangeRequestsTabs = ({
|
||||||
changeRequests = [],
|
changeRequests = [],
|
||||||
loading,
|
loading,
|
||||||
@ -216,7 +230,7 @@ export const ChangeRequestsTabs = ({
|
|||||||
header={
|
header={
|
||||||
<PageHeader
|
<PageHeader
|
||||||
titleElement={
|
titleElement={
|
||||||
<div className={classes.tabContainer}>
|
<StyledTabContainer>
|
||||||
<Tabs
|
<Tabs
|
||||||
value={tabs[activeTab]?.title}
|
value={tabs[activeTab]?.title}
|
||||||
indicatorColor="primary"
|
indicatorColor="primary"
|
||||||
@ -225,16 +239,15 @@ export const ChangeRequestsTabs = ({
|
|||||||
allowScrollButtonsMobile
|
allowScrollButtonsMobile
|
||||||
>
|
>
|
||||||
{tabs.map((tab, index) => (
|
{tabs.map((tab, index) => (
|
||||||
<Tab
|
<StyledTabButton
|
||||||
key={tab.title}
|
key={tab.title}
|
||||||
label={`${tab.title} (${tab.data.length})`}
|
label={`${tab.title} (${tab.data.length})`}
|
||||||
value={tab.title}
|
value={tab.title}
|
||||||
onClick={() => setActiveTab(index)}
|
onClick={() => setActiveTab(index)}
|
||||||
className={classes.tabButton}
|
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</div>
|
</StyledTabContainer>
|
||||||
}
|
}
|
||||||
actions={
|
actions={
|
||||||
<Search
|
<Search
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
import { makeStyles } from 'tss-react/mui';
|
|
||||||
|
|
||||||
export const useStyles = makeStyles()({
|
|
||||||
container: {
|
|
||||||
clip: 'rect(0 0 0 0)',
|
|
||||||
clipPath: 'inset(50%)',
|
|
||||||
zIndex: -1,
|
|
||||||
width: 1,
|
|
||||||
height: 1,
|
|
||||||
margin: -1,
|
|
||||||
padding: 0,
|
|
||||||
overflow: 'hidden',
|
|
||||||
},
|
|
||||||
});
|
|
@ -1,25 +1,33 @@
|
|||||||
import React, { ReactElement } from 'react';
|
import React, { ReactElement } from 'react';
|
||||||
import { useStyles } from 'component/common/Announcer/AnnouncerElement/AnnouncerElement.styles';
|
|
||||||
import { ANNOUNCER_ELEMENT_TEST_ID } from 'utils/testIds';
|
import { ANNOUNCER_ELEMENT_TEST_ID } from 'utils/testIds';
|
||||||
|
import { styled } from '@mui/material';
|
||||||
|
|
||||||
interface IAnnouncerElementProps {
|
interface IAnnouncerElementProps {
|
||||||
announcement?: string;
|
announcement?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const StyledContainer = styled('div')({
|
||||||
|
clip: 'rect(0 0 0 0)',
|
||||||
|
clipPath: 'inset(50%)',
|
||||||
|
zIndex: -1,
|
||||||
|
width: 1,
|
||||||
|
height: 1,
|
||||||
|
margin: -1,
|
||||||
|
padding: 0,
|
||||||
|
overflow: 'hidden',
|
||||||
|
});
|
||||||
|
|
||||||
export const AnnouncerElement = ({
|
export const AnnouncerElement = ({
|
||||||
announcement,
|
announcement,
|
||||||
}: IAnnouncerElementProps): ReactElement => {
|
}: IAnnouncerElementProps): ReactElement => {
|
||||||
const { classes: styles } = useStyles();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<StyledContainer
|
||||||
role="status"
|
role="status"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
aria-atomic
|
aria-atomic
|
||||||
className={styles.container}
|
|
||||||
data-testid={ANNOUNCER_ELEMENT_TEST_ID}
|
data-testid={ANNOUNCER_ELEMENT_TEST_ID}
|
||||||
>
|
>
|
||||||
{announcement}
|
{announcement}
|
||||||
</div>
|
</StyledContainer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -1,32 +1,6 @@
|
|||||||
import { makeStyles } from 'tss-react/mui';
|
import { makeStyles } from 'tss-react/mui';
|
||||||
|
|
||||||
export const useStyles = makeStyles()(theme => ({
|
export const useStyles = makeStyles()(theme => ({
|
||||||
container: {
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
borderRadius: '1rem',
|
|
||||||
'& .MuiInputLabel-root[data-shrink="false"]': {
|
|
||||||
top: 3,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
icon: {
|
|
||||||
background: theme.palette.featureSegmentSearchBackground,
|
|
||||||
height: 48,
|
|
||||||
width: 48,
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
paddingLeft: 6,
|
|
||||||
borderTopLeftRadius: 40,
|
|
||||||
borderBottomLeftRadius: 40,
|
|
||||||
color: '#fff',
|
|
||||||
},
|
|
||||||
iconDisabled: {
|
|
||||||
background: theme.palette.primary.light,
|
|
||||||
},
|
|
||||||
autocomplete: {
|
|
||||||
flex: 1,
|
|
||||||
},
|
|
||||||
inputRoot: {
|
inputRoot: {
|
||||||
height: 48,
|
height: 48,
|
||||||
borderTopLeftRadius: 0,
|
borderTopLeftRadius: 0,
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
import { useStyles } from 'component/common/AutocompleteBox/AutocompleteBox.styles';
|
import { useStyles } from 'component/common/AutocompleteBox/AutocompleteBox.styles';
|
||||||
import { Search, ArrowDropDown } from '@mui/icons-material';
|
import { Search, ArrowDropDown } from '@mui/icons-material';
|
||||||
import { Autocomplete } from '@mui/material';
|
import { Autocomplete, styled } from '@mui/material';
|
||||||
import { AutocompleteRenderInputParams } from '@mui/material/Autocomplete';
|
import { AutocompleteRenderInputParams } from '@mui/material/Autocomplete';
|
||||||
import { TextField } from '@mui/material';
|
import { TextField } from '@mui/material';
|
||||||
import classNames from 'classnames';
|
|
||||||
|
|
||||||
interface IAutocompleteBoxProps {
|
interface IAutocompleteBoxProps {
|
||||||
label: string;
|
label: string;
|
||||||
@ -18,6 +17,36 @@ export interface IAutocompleteBoxOption {
|
|||||||
label: string;
|
label: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const StyledContainer = styled('div')(({ theme }) => ({
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
borderRadius: theme.spacing(2),
|
||||||
|
'& .MuiInputLabel-root[data-shrink="false"]': {
|
||||||
|
top: 3,
|
||||||
|
},
|
||||||
|
}));
|
||||||
|
|
||||||
|
const StyledIcon = styled('div', {
|
||||||
|
shouldForwardProp: (prop: string) => !prop.startsWith('$'),
|
||||||
|
})<{ $disabled: boolean }>(({ theme, $disabled }) => ({
|
||||||
|
background: $disabled
|
||||||
|
? theme.palette.primary.light
|
||||||
|
: theme.palette.featureSegmentSearchBackground,
|
||||||
|
height: '48px',
|
||||||
|
width: '48px',
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
paddingLeft: 6,
|
||||||
|
borderTopLeftRadius: '40px',
|
||||||
|
borderBottomLeftRadius: '40px',
|
||||||
|
color: theme.palette.text.tertiaryContrast,
|
||||||
|
}));
|
||||||
|
|
||||||
|
const StyledAutocomplete = styled(Autocomplete)({
|
||||||
|
flex: 1,
|
||||||
|
}) as typeof Autocomplete;
|
||||||
|
|
||||||
export const AutocompleteBox = ({
|
export const AutocompleteBox = ({
|
||||||
label,
|
label,
|
||||||
options,
|
options,
|
||||||
@ -32,18 +61,11 @@ export const AutocompleteBox = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<StyledContainer>
|
||||||
<div
|
<StyledIcon $disabled={Boolean(disabled)} aria-hidden>
|
||||||
className={classNames(
|
|
||||||
styles.icon,
|
|
||||||
disabled && styles.iconDisabled
|
|
||||||
)}
|
|
||||||
aria-hidden
|
|
||||||
>
|
|
||||||
<Search />
|
<Search />
|
||||||
</div>
|
</StyledIcon>
|
||||||
<Autocomplete
|
<StyledAutocomplete
|
||||||
className={styles.autocomplete}
|
|
||||||
classes={{ inputRoot: styles.inputRoot }}
|
classes={{ inputRoot: styles.inputRoot }}
|
||||||
options={options}
|
options={options}
|
||||||
value={value}
|
value={value}
|
||||||
@ -55,6 +77,6 @@ export const AutocompleteBox = ({
|
|||||||
size="small"
|
size="small"
|
||||||
multiple
|
multiple
|
||||||
/>
|
/>
|
||||||
</div>
|
</StyledContainer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -182,7 +182,7 @@ exports[`FeedbackCESForm 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic="true"
|
aria-atomic="true"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
class="css-i8rqz1-container"
|
class="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>
|
/>
|
||||||
|
@ -26,7 +26,7 @@ exports[`renders correctly with empty version 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic="true"
|
aria-atomic="true"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
class="css-i8rqz1-container"
|
class="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>
|
/>
|
||||||
@ -60,7 +60,7 @@ exports[`renders correctly with ui-config 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic="true"
|
aria-atomic="true"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
class="css-i8rqz1-container"
|
class="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>
|
/>
|
||||||
@ -94,7 +94,7 @@ exports[`renders correctly with versionInfo 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic="true"
|
aria-atomic="true"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
class="css-i8rqz1-container"
|
class="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>
|
/>
|
||||||
@ -121,7 +121,7 @@ exports[`renders correctly without uiConfig 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic="true"
|
aria-atomic="true"
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
class="css-i8rqz1-container"
|
class="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>
|
/>
|
||||||
|
@ -438,7 +438,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic={true}
|
aria-atomic={true}
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
className="css-i8rqz1-container"
|
className="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>,
|
/>,
|
||||||
@ -883,7 +883,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic={true}
|
aria-atomic={true}
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
className="css-i8rqz1-container"
|
className="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
/>,
|
/>,
|
||||||
|
@ -1092,7 +1092,7 @@ exports[`renders an empty list correctly 1`] = `
|
|||||||
<div
|
<div
|
||||||
aria-atomic={true}
|
aria-atomic={true}
|
||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
className="css-i8rqz1-container"
|
className="css-gqbqkz"
|
||||||
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
data-testid="ANNOUNCER_ELEMENT_TEST_ID"
|
||||||
role="status"
|
role="status"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user