From 58f3089739ac5ee415c11cfbe179daad7a625971 Mon Sep 17 00:00:00 2001 From: Ali Glenesk Date: Mon, 23 Dec 2024 10:32:34 -0800 Subject: [PATCH] update jsx references --- src/components/Accordion/Accordion.tsx | 2 +- src/components/Button/Button.tsx | 2 +- src/components/ButtonGroup/ButtonGroup.tsx | 2 +- src/components/Collection/Collection.tsx | 2 +- src/components/Collection/CollectionDescription.tsx | 2 +- src/components/Collection/CollectionItem.tsx | 2 +- src/components/Collection/CollectionMeta.tsx | 2 +- src/components/Collection/CollectionMetaItem.tsx | 2 +- src/components/Collection/CollectionMetaItemTag.tsx | 2 +- src/components/Collection/CollectionThumbnail.tsx | 2 +- src/components/Footer/SocialLinks/SocialLinks.tsx | 2 +- src/components/Icon/Icon.tsx | 2 +- src/components/IconList/IconList.tsx | 2 +- src/components/IconList/IconListContent/IconListContent.tsx | 2 +- src/components/IconList/IconListIcon/IconListIcon.tsx | 2 +- src/components/IconList/IconListItem/IconListItem.tsx | 2 +- src/components/IconList/IconListTitle/IconListTitle.tsx | 2 +- src/components/Identifier/Identifier/Identifier.tsx | 2 +- src/components/Identifier/IdentifierGov/IdentifierGov.tsx | 2 +- .../Identifier/IdentifierIdentity/IdentifierIdentity.tsx | 2 +- .../Identifier/IdentifierLink/IdentifierLink.test.tsx | 2 +- .../Identifier/IdentifierLinkItem/IdentifierLinkItem.tsx | 2 +- .../Identifier/IdentifierLinks/IdentifierLinks.test.tsx | 2 +- src/components/Identifier/IdentifierLinks/IdentifierLinks.tsx | 2 +- src/components/Identifier/IdentifierLogo/IdentifierLogo.tsx | 2 +- src/components/Identifier/IdentifierLogos/IdentifierLogos.tsx | 2 +- .../Identifier/IdentifierMasthead/IdentifierMasthead.tsx | 2 +- src/components/InPageNavigation/InPageNavigation.tsx | 2 +- src/components/LanguageSelector/LanguageSelector.tsx | 2 +- src/components/LanguageSelector/LanguageSelectorButton.tsx | 2 +- src/components/Link/Link.stories.tsx | 2 +- src/components/Link/Link.test.tsx | 2 +- src/components/Link/Link.tsx | 2 +- src/components/Modal/Modal.tsx | 2 +- src/components/Modal/ModalCloseButton/ModalCloseButton.tsx | 2 +- src/components/Modal/ModalFooter/ModalFooter.tsx | 2 +- src/components/Modal/ModalOpenLink.test.tsx | 2 +- src/components/Modal/ModalToggleButton.tsx | 2 +- src/components/Modal/ModalWindow/ModalWindow.tsx | 2 +- src/components/Modal/ModalWrapper/ModalWrapper.tsx | 2 +- src/components/Pagination/Pagination.tsx | 2 +- src/components/ProcessList/ProcessList/ProcessList.tsx | 2 +- .../ProcessList/ProcessListHeading/ProcessListHeading.tsx | 2 +- src/components/ProcessList/ProcessListItem/ProcessListItem.tsx | 2 +- src/components/Search/SearchField/SearchField.tsx | 2 +- src/components/SiteAlert/SiteAlert.tsx | 2 +- src/components/SummaryBox/SummaryBox/SummaryBox.tsx | 2 +- .../SummaryBox/SummaryBoxContent/SummaryBoxContent.tsx | 2 +- src/components/Tag/Tag.tsx | 2 +- src/components/Tooltip/Tooltip.stories.tsx | 2 +- src/components/Tooltip/Tooltip.test.tsx | 2 +- src/components/Tooltip/Tooltip.tsx | 2 +- src/components/banner/Banner/Banner.tsx | 2 +- src/components/banner/BannerButton/BannerButton.tsx | 2 +- src/components/banner/BannerContent/BannerContent.tsx | 2 +- src/components/banner/BannerFlag/BannerFlag.tsx | 2 +- src/components/banner/BannerGuidance/BannerGuidance.tsx | 2 +- src/components/banner/BannerHeader/BannerHeader.tsx | 2 +- src/components/banner/BannerIcon/BannerIcon.tsx | 2 +- src/components/banner/GovBanner/GovBanner.tsx | 2 +- src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx | 2 +- .../breadcrumb/BreadcrumbBar/BreadcrumbBar.stories.tsx | 2 +- src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.test.tsx | 2 +- src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx | 2 +- .../breadcrumb/BreadcrumbLink/BreadcrumbLink.test.tsx | 2 +- src/components/card/Card/Card.tsx | 2 +- src/components/card/CardBody/CardBody.tsx | 2 +- src/components/card/CardFooter/CardFooter.tsx | 2 +- src/components/card/CardGroup/CardGroup.tsx | 2 +- src/components/card/CardHeader/CardHeader.tsx | 2 +- src/components/card/CardMedia/CardMedia.tsx | 2 +- src/components/forms/CharacterCount/CharacterCount.tsx | 2 +- src/components/forms/Checkbox/Checkbox.tsx | 2 +- src/components/forms/ComboBox/ComboBox.tsx | 2 +- src/components/forms/DateInputGroup/DateInputGroup.tsx | 2 +- src/components/forms/DatePicker/DatePicker.tsx | 2 +- src/components/forms/DateRangePicker/DateRangePicker.tsx | 2 +- src/components/forms/Fieldset/Fieldset.tsx | 2 +- src/components/forms/FileInput/FileInput.tsx | 2 +- src/components/forms/Form/Form.tsx | 2 +- src/components/forms/InputPrefix/InputPrefix.tsx | 2 +- src/components/forms/InputSuffix/InputSuffix.tsx | 2 +- src/components/forms/Label/Label.tsx | 2 +- src/components/forms/Radio/Radio.tsx | 2 +- src/components/forms/RangeInput/RangeInput.tsx | 2 +- src/components/forms/Select/Select.tsx | 2 +- src/components/forms/TextInput/TextInput.tsx | 2 +- src/components/forms/Textarea/Textarea.tsx | 2 +- src/components/forms/TimePicker/TimePicker.tsx | 2 +- src/components/forms/Validation/ValidationChecklist.tsx | 2 +- src/components/forms/Validation/ValidationItem.tsx | 2 +- src/components/grid/Grid.stories.tsx | 2 +- src/components/grid/Grid/Grid.test.tsx | 2 +- src/components/grid/Grid/Grid.tsx | 2 +- src/components/grid/GridContainer/GridContainer.test.tsx | 2 +- src/components/header/ExtendedNav/ExtendedNav.tsx | 2 +- src/components/header/Header/Header.tsx | 2 +- src/components/header/NavCloseButton/NavCloseButton.tsx | 2 +- src/components/header/NavDropDownButton/NavDropDownButton.tsx | 2 +- src/components/header/NavList/NavList.tsx | 2 +- src/components/header/NavMenuButton/NavMenuButton.tsx | 2 +- src/components/header/PrimaryNav/PrimaryNav.tsx | 2 +- src/components/header/Title/Title.tsx | 2 +- src/components/hoc/withDeprecationWarning.tsx | 2 +- src/components/mediablock/MediaBlockBody/MediaBlockBody.tsx | 2 +- src/components/stepindicator/StepIndicator/StepIndicator.tsx | 2 +- .../stepindicator/StepIndicatorStep/StepIndicatorStep.tsx | 2 +- 107 files changed, 107 insertions(+), 107 deletions(-) diff --git a/src/components/Accordion/Accordion.tsx b/src/components/Accordion/Accordion.tsx index 1a5a8d613..fc40d2a75 100644 --- a/src/components/Accordion/Accordion.tsx +++ b/src/components/Accordion/Accordion.tsx @@ -1,4 +1,4 @@ -import React, { useState, type JSX } from 'react' +import React, { useState, JSX } from 'react' import classnames from 'classnames' import { HeadingLevel } from '../../types/headingLevel' diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index fba8ccd33..7e78cd4d7 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export type ButtonProps = { diff --git a/src/components/ButtonGroup/ButtonGroup.tsx b/src/components/ButtonGroup/ButtonGroup.tsx index 04cbc4312..60e36de2e 100644 --- a/src/components/ButtonGroup/ButtonGroup.tsx +++ b/src/components/ButtonGroup/ButtonGroup.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type ButtonGroupProps = { diff --git a/src/components/Collection/Collection.tsx b/src/components/Collection/Collection.tsx index 235c0630c..494f1cda8 100644 --- a/src/components/Collection/Collection.tsx +++ b/src/components/Collection/Collection.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type CollectionProps = { diff --git a/src/components/Collection/CollectionDescription.tsx b/src/components/Collection/CollectionDescription.tsx index 6d51ae18a..bbd55d7a8 100644 --- a/src/components/Collection/CollectionDescription.tsx +++ b/src/components/Collection/CollectionDescription.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classname from 'classnames' export const CollectionDescription = ({ diff --git a/src/components/Collection/CollectionItem.tsx b/src/components/Collection/CollectionItem.tsx index cbb1400ff..4b1eec0ea 100644 --- a/src/components/Collection/CollectionItem.tsx +++ b/src/components/Collection/CollectionItem.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface CollectionItemProps { diff --git a/src/components/Collection/CollectionMeta.tsx b/src/components/Collection/CollectionMeta.tsx index 0cdcd5bed..a1e54818c 100644 --- a/src/components/Collection/CollectionMeta.tsx +++ b/src/components/Collection/CollectionMeta.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CollectionMeta = ({ diff --git a/src/components/Collection/CollectionMetaItem.tsx b/src/components/Collection/CollectionMetaItem.tsx index d990289de..5715e31ad 100644 --- a/src/components/Collection/CollectionMetaItem.tsx +++ b/src/components/Collection/CollectionMetaItem.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CollectionMetaItem = ({ diff --git a/src/components/Collection/CollectionMetaItemTag.tsx b/src/components/Collection/CollectionMetaItemTag.tsx index 6df85d122..b8e72fe3a 100644 --- a/src/components/Collection/CollectionMetaItemTag.tsx +++ b/src/components/Collection/CollectionMetaItemTag.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface CollectionMetaItemTagProps { diff --git a/src/components/Collection/CollectionThumbnail.tsx b/src/components/Collection/CollectionThumbnail.tsx index 8e91d4cd8..c1372b33e 100644 --- a/src/components/Collection/CollectionThumbnail.tsx +++ b/src/components/Collection/CollectionThumbnail.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CollectionThumbnail = ({ diff --git a/src/components/Footer/SocialLinks/SocialLinks.tsx b/src/components/Footer/SocialLinks/SocialLinks.tsx index ddfaf17c0..3e37f6421 100644 --- a/src/components/Footer/SocialLinks/SocialLinks.tsx +++ b/src/components/Footer/SocialLinks/SocialLinks.tsx @@ -1,5 +1,5 @@ /* eslint-disable jsx-a11y/anchor-is-valid */ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { Icon } from '../../Icon/Icons' import { IconProps } from '../../Icon/Icon' diff --git a/src/components/Icon/Icon.tsx b/src/components/Icon/Icon.tsx index 0b4636242..f2881f72c 100644 --- a/src/components/Icon/Icon.tsx +++ b/src/components/Icon/Icon.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface USWDSIconProps { diff --git a/src/components/IconList/IconList.tsx b/src/components/IconList/IconList.tsx index ef23b79bb..d9167db62 100644 --- a/src/components/IconList/IconList.tsx +++ b/src/components/IconList/IconList.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classnames from 'classnames' interface IconListProps { diff --git a/src/components/IconList/IconListContent/IconListContent.tsx b/src/components/IconList/IconListContent/IconListContent.tsx index a50f1a04f..72bb6739e 100644 --- a/src/components/IconList/IconListContent/IconListContent.tsx +++ b/src/components/IconList/IconListContent/IconListContent.tsx @@ -1,5 +1,5 @@ import classnames from 'classnames' -import React, { ReactElement, ReactNode, type JSX } from 'react' +import React, { ReactElement, ReactNode, JSX } from 'react' interface IconListContentProps { className?: string diff --git a/src/components/IconList/IconListIcon/IconListIcon.tsx b/src/components/IconList/IconListIcon/IconListIcon.tsx index 2923b87f3..2951bfa85 100644 --- a/src/components/IconList/IconListIcon/IconListIcon.tsx +++ b/src/components/IconList/IconListIcon/IconListIcon.tsx @@ -1,5 +1,5 @@ import classnames from 'classnames' -import React, { ReactElement, ReactNode, type JSX } from 'react' +import React, { ReactElement, ReactNode, JSX } from 'react' interface IconListIconProps { className?: string diff --git a/src/components/IconList/IconListItem/IconListItem.tsx b/src/components/IconList/IconListItem/IconListItem.tsx index 16e74b21c..e40328798 100644 --- a/src/components/IconList/IconListItem/IconListItem.tsx +++ b/src/components/IconList/IconListItem/IconListItem.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, ReactNode, type JSX } from 'react' +import React, { ReactElement, ReactNode, JSX } from 'react' import classnames from 'classnames' interface IconListItemProps { diff --git a/src/components/IconList/IconListTitle/IconListTitle.tsx b/src/components/IconList/IconListTitle/IconListTitle.tsx index 6a3b95f85..a673b0eb3 100644 --- a/src/components/IconList/IconListTitle/IconListTitle.tsx +++ b/src/components/IconList/IconListTitle/IconListTitle.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classnames from 'classnames' import { HeadingLevel } from '../../../types/headingLevel' diff --git a/src/components/Identifier/Identifier/Identifier.tsx b/src/components/Identifier/Identifier/Identifier.tsx index 3a8471ecb..264301b84 100644 --- a/src/components/Identifier/Identifier/Identifier.tsx +++ b/src/components/Identifier/Identifier/Identifier.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type IdentifierProps = { diff --git a/src/components/Identifier/IdentifierGov/IdentifierGov.tsx b/src/components/Identifier/IdentifierGov/IdentifierGov.tsx index 452a99784..6a26af4eb 100644 --- a/src/components/Identifier/IdentifierGov/IdentifierGov.tsx +++ b/src/components/Identifier/IdentifierGov/IdentifierGov.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface IdentifierGovProps { diff --git a/src/components/Identifier/IdentifierIdentity/IdentifierIdentity.tsx b/src/components/Identifier/IdentifierIdentity/IdentifierIdentity.tsx index 0daa9f0c9..8e3e858e7 100644 --- a/src/components/Identifier/IdentifierIdentity/IdentifierIdentity.tsx +++ b/src/components/Identifier/IdentifierIdentity/IdentifierIdentity.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface IdentifierIdentityProps { diff --git a/src/components/Identifier/IdentifierLink/IdentifierLink.test.tsx b/src/components/Identifier/IdentifierLink/IdentifierLink.test.tsx index 39d8612fe..e7bfb06d6 100644 --- a/src/components/Identifier/IdentifierLink/IdentifierLink.test.tsx +++ b/src/components/Identifier/IdentifierLink/IdentifierLink.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { IdentifierLink } from './IdentifierLink' diff --git a/src/components/Identifier/IdentifierLinkItem/IdentifierLinkItem.tsx b/src/components/Identifier/IdentifierLinkItem/IdentifierLinkItem.tsx index 9b6f5bf7d..7790a6a37 100644 --- a/src/components/Identifier/IdentifierLinkItem/IdentifierLinkItem.tsx +++ b/src/components/Identifier/IdentifierLinkItem/IdentifierLinkItem.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export interface IdentifierLinkItemProps { diff --git a/src/components/Identifier/IdentifierLinks/IdentifierLinks.test.tsx b/src/components/Identifier/IdentifierLinks/IdentifierLinks.test.tsx index fc6c10a15..2c0cf142a 100644 --- a/src/components/Identifier/IdentifierLinks/IdentifierLinks.test.tsx +++ b/src/components/Identifier/IdentifierLinks/IdentifierLinks.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { IdentifierLinks } from './IdentifierLinks' diff --git a/src/components/Identifier/IdentifierLinks/IdentifierLinks.tsx b/src/components/Identifier/IdentifierLinks/IdentifierLinks.tsx index 6f7699297..2102cccbe 100644 --- a/src/components/Identifier/IdentifierLinks/IdentifierLinks.tsx +++ b/src/components/Identifier/IdentifierLinks/IdentifierLinks.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classnames from 'classnames' import { IdentifierLinkItemProps } from '../IdentifierLinkItem/IdentifierLinkItem' diff --git a/src/components/Identifier/IdentifierLogo/IdentifierLogo.tsx b/src/components/Identifier/IdentifierLogo/IdentifierLogo.tsx index 4310c30bb..b203cd9ca 100644 --- a/src/components/Identifier/IdentifierLogo/IdentifierLogo.tsx +++ b/src/components/Identifier/IdentifierLogo/IdentifierLogo.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export interface IdentifierLogoProps { diff --git a/src/components/Identifier/IdentifierLogos/IdentifierLogos.tsx b/src/components/Identifier/IdentifierLogos/IdentifierLogos.tsx index 2f602d2af..dace2764b 100644 --- a/src/components/Identifier/IdentifierLogos/IdentifierLogos.tsx +++ b/src/components/Identifier/IdentifierLogos/IdentifierLogos.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface IdentifierLogosProps { diff --git a/src/components/Identifier/IdentifierMasthead/IdentifierMasthead.tsx b/src/components/Identifier/IdentifierMasthead/IdentifierMasthead.tsx index f11d8d1b0..8985d2b43 100644 --- a/src/components/Identifier/IdentifierMasthead/IdentifierMasthead.tsx +++ b/src/components/Identifier/IdentifierMasthead/IdentifierMasthead.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface IdentifierMastheadProps { diff --git a/src/components/InPageNavigation/InPageNavigation.tsx b/src/components/InPageNavigation/InPageNavigation.tsx index 65c548a15..a0205fc1e 100644 --- a/src/components/InPageNavigation/InPageNavigation.tsx +++ b/src/components/InPageNavigation/InPageNavigation.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState, type JSX } from 'react' +import React, { useEffect, useState, JSX } from 'react' import classnames from 'classnames' import { HeadingLevel } from '../../types/headingLevel' import { Link } from '../Link/Link' diff --git a/src/components/LanguageSelector/LanguageSelector.tsx b/src/components/LanguageSelector/LanguageSelector.tsx index 2ea58dfde..d2d672659 100644 --- a/src/components/LanguageSelector/LanguageSelector.tsx +++ b/src/components/LanguageSelector/LanguageSelector.tsx @@ -1,4 +1,4 @@ -import React, { useState, type JSX } from 'react' +import React, { useState, JSX } from 'react' import classnames from 'classnames' import { LanguageSelectorButton } from './LanguageSelectorButton' import LanguageSelectorDropdown from './LanguageSelectorDropdown' diff --git a/src/components/LanguageSelector/LanguageSelectorButton.tsx b/src/components/LanguageSelector/LanguageSelectorButton.tsx index 3703bb6f7..b06440d4c 100644 --- a/src/components/LanguageSelector/LanguageSelectorButton.tsx +++ b/src/components/LanguageSelector/LanguageSelectorButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type LanguageSelectorButtonProps = { diff --git a/src/components/Link/Link.stories.tsx b/src/components/Link/Link.stories.tsx index b08911b42..337a27bfd 100644 --- a/src/components/Link/Link.stories.tsx +++ b/src/components/Link/Link.stories.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { Link } from './Link' export default { diff --git a/src/components/Link/Link.test.tsx b/src/components/Link/Link.test.tsx index 9592f1879..2aeddd06e 100644 --- a/src/components/Link/Link.test.tsx +++ b/src/components/Link/Link.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { Link } from './Link' diff --git a/src/components/Link/Link.tsx b/src/components/Link/Link.tsx index a808c30c9..3c112ce8b 100644 --- a/src/components/Link/Link.tsx +++ b/src/components/Link/Link.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' // These props we want to require always, even on custom components diff --git a/src/components/Modal/Modal.tsx b/src/components/Modal/Modal.tsx index dd9f7e98b..e7beb28aa 100644 --- a/src/components/Modal/Modal.tsx +++ b/src/components/Modal/Modal.tsx @@ -4,7 +4,7 @@ import React, { useRef, forwardRef, useImperativeHandle, - type JSX, + JSX, } from 'react' import FocusTrap from 'focus-trap-react' diff --git a/src/components/Modal/ModalCloseButton/ModalCloseButton.tsx b/src/components/Modal/ModalCloseButton/ModalCloseButton.tsx index bb405ee42..ae2529736 100644 --- a/src/components/Modal/ModalCloseButton/ModalCloseButton.tsx +++ b/src/components/Modal/ModalCloseButton/ModalCloseButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { Icon } from '../../Icon/Icons' import { Button } from '../../Button/Button' diff --git a/src/components/Modal/ModalFooter/ModalFooter.tsx b/src/components/Modal/ModalFooter/ModalFooter.tsx index a9edf7e3c..c722cbae8 100644 --- a/src/components/Modal/ModalFooter/ModalFooter.tsx +++ b/src/components/Modal/ModalFooter/ModalFooter.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface ModalFooterProps { diff --git a/src/components/Modal/ModalOpenLink.test.tsx b/src/components/Modal/ModalOpenLink.test.tsx index a538dac6e..6b45b8d7c 100644 --- a/src/components/Modal/ModalOpenLink.test.tsx +++ b/src/components/Modal/ModalOpenLink.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render, screen, waitFor } from '@testing-library/react' import { ModalRef } from './Modal' diff --git a/src/components/Modal/ModalToggleButton.tsx b/src/components/Modal/ModalToggleButton.tsx index c83201499..26dba3006 100644 --- a/src/components/Modal/ModalToggleButton.tsx +++ b/src/components/Modal/ModalToggleButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { ModalRef } from './Modal' import { ButtonProps, Button } from '../Button/Button' diff --git a/src/components/Modal/ModalWindow/ModalWindow.tsx b/src/components/Modal/ModalWindow/ModalWindow.tsx index 56c5a148c..ec3d86863 100644 --- a/src/components/Modal/ModalWindow/ModalWindow.tsx +++ b/src/components/Modal/ModalWindow/ModalWindow.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, type JSX } from 'react' +import React, { forwardRef, JSX } from 'react' import classnames from 'classnames' import { ModalCloseButton } from '../ModalCloseButton/ModalCloseButton' diff --git a/src/components/Modal/ModalWrapper/ModalWrapper.tsx b/src/components/Modal/ModalWrapper/ModalWrapper.tsx index a841a0b2e..1f88c25f1 100644 --- a/src/components/Modal/ModalWrapper/ModalWrapper.tsx +++ b/src/components/Modal/ModalWrapper/ModalWrapper.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, type JSX } from 'react' +import React, { forwardRef, JSX } from 'react' import classnames from 'classnames' interface ModalWrapperProps { diff --git a/src/components/Pagination/Pagination.tsx b/src/components/Pagination/Pagination.tsx index 48fd6aa12..70d390060 100644 --- a/src/components/Pagination/Pagination.tsx +++ b/src/components/Pagination/Pagination.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { Icon } from '../Icon/Icons' import { Link } from '../Link/Link' diff --git a/src/components/ProcessList/ProcessList/ProcessList.tsx b/src/components/ProcessList/ProcessList/ProcessList.tsx index 9c85108d7..bf7c9dac6 100644 --- a/src/components/ProcessList/ProcessList/ProcessList.tsx +++ b/src/components/ProcessList/ProcessList/ProcessList.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { ProcessListItemProps } from '../ProcessListItem/ProcessListItem' diff --git a/src/components/ProcessList/ProcessListHeading/ProcessListHeading.tsx b/src/components/ProcessList/ProcessListHeading/ProcessListHeading.tsx index 8a3c7bb70..0d635f743 100644 --- a/src/components/ProcessList/ProcessListHeading/ProcessListHeading.tsx +++ b/src/components/ProcessList/ProcessListHeading/ProcessListHeading.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { HeadingLevel } from '../../../types/headingLevel' diff --git a/src/components/ProcessList/ProcessListItem/ProcessListItem.tsx b/src/components/ProcessList/ProcessListItem/ProcessListItem.tsx index 27d8ce060..eb4075303 100644 --- a/src/components/ProcessList/ProcessListItem/ProcessListItem.tsx +++ b/src/components/ProcessList/ProcessListItem/ProcessListItem.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export interface ProcessListItemProps { diff --git a/src/components/Search/SearchField/SearchField.tsx b/src/components/Search/SearchField/SearchField.tsx index 770353ab9..816e15492 100644 --- a/src/components/Search/SearchField/SearchField.tsx +++ b/src/components/Search/SearchField/SearchField.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { Label } from '../../forms/Label/Label' diff --git a/src/components/SiteAlert/SiteAlert.tsx b/src/components/SiteAlert/SiteAlert.tsx index 8ef8f8d44..f75b45818 100644 --- a/src/components/SiteAlert/SiteAlert.tsx +++ b/src/components/SiteAlert/SiteAlert.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type SiteAlertProps = { diff --git a/src/components/SummaryBox/SummaryBox/SummaryBox.tsx b/src/components/SummaryBox/SummaryBox/SummaryBox.tsx index 41e616c51..a849b1e4b 100644 --- a/src/components/SummaryBox/SummaryBox/SummaryBox.tsx +++ b/src/components/SummaryBox/SummaryBox/SummaryBox.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' diff --git a/src/components/SummaryBox/SummaryBoxContent/SummaryBoxContent.tsx b/src/components/SummaryBox/SummaryBoxContent/SummaryBoxContent.tsx index dc68667f5..b81e112ac 100644 --- a/src/components/SummaryBox/SummaryBoxContent/SummaryBoxContent.tsx +++ b/src/components/SummaryBox/SummaryBoxContent/SummaryBoxContent.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface SummaryBoxTextProps { diff --git a/src/components/Tag/Tag.tsx b/src/components/Tag/Tag.tsx index 1af864d62..a98886aa6 100644 --- a/src/components/Tag/Tag.tsx +++ b/src/components/Tag/Tag.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type TagProps = { diff --git a/src/components/Tooltip/Tooltip.stories.tsx b/src/components/Tooltip/Tooltip.stories.tsx index 8eb5b51e6..3f899f5e6 100644 --- a/src/components/Tooltip/Tooltip.stories.tsx +++ b/src/components/Tooltip/Tooltip.stories.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { Tooltip } from './Tooltip' export default { diff --git a/src/components/Tooltip/Tooltip.test.tsx b/src/components/Tooltip/Tooltip.test.tsx index 93f818af8..cf1dda718 100644 --- a/src/components/Tooltip/Tooltip.test.tsx +++ b/src/components/Tooltip/Tooltip.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { fireEvent, render, screen } from '@testing-library/react' import { Tooltip } from './Tooltip' diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index f144955f2..0443c633b 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -6,7 +6,7 @@ import React, { useEffect, useRef, useState, - type JSX, + JSX, } from 'react' import classnames from 'classnames' diff --git a/src/components/banner/Banner/Banner.tsx b/src/components/banner/Banner/Banner.tsx index fc01ea853..e801de1f1 100644 --- a/src/components/banner/Banner/Banner.tsx +++ b/src/components/banner/Banner/Banner.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' type BannerProps = { diff --git a/src/components/banner/BannerButton/BannerButton.tsx b/src/components/banner/BannerButton/BannerButton.tsx index 03b8046ad..aef239a31 100644 --- a/src/components/banner/BannerButton/BannerButton.tsx +++ b/src/components/banner/BannerButton/BannerButton.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' type BannerButtonProps = { diff --git a/src/components/banner/BannerContent/BannerContent.tsx b/src/components/banner/BannerContent/BannerContent.tsx index a17f5ea85..79ff34d49 100644 --- a/src/components/banner/BannerContent/BannerContent.tsx +++ b/src/components/banner/BannerContent/BannerContent.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' type BannerContentProps = { diff --git a/src/components/banner/BannerFlag/BannerFlag.tsx b/src/components/banner/BannerFlag/BannerFlag.tsx index f26fc1c77..8891e9bb1 100644 --- a/src/components/banner/BannerFlag/BannerFlag.tsx +++ b/src/components/banner/BannerFlag/BannerFlag.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' export const BannerFlag = ({ diff --git a/src/components/banner/BannerGuidance/BannerGuidance.tsx b/src/components/banner/BannerGuidance/BannerGuidance.tsx index 7e0c28a87..ec6702f8c 100644 --- a/src/components/banner/BannerGuidance/BannerGuidance.tsx +++ b/src/components/banner/BannerGuidance/BannerGuidance.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' export const BannerGuidance = ({ diff --git a/src/components/banner/BannerHeader/BannerHeader.tsx b/src/components/banner/BannerHeader/BannerHeader.tsx index d03bc89e4..a5186fabf 100644 --- a/src/components/banner/BannerHeader/BannerHeader.tsx +++ b/src/components/banner/BannerHeader/BannerHeader.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, ReactNode, type JSX } from 'react' +import React, { ReactElement, ReactNode, JSX } from 'react' import classNames from 'classnames' type BannerHeaderProps = { diff --git a/src/components/banner/BannerIcon/BannerIcon.tsx b/src/components/banner/BannerIcon/BannerIcon.tsx index fbd2ddecf..bc680738e 100644 --- a/src/components/banner/BannerIcon/BannerIcon.tsx +++ b/src/components/banner/BannerIcon/BannerIcon.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' export const BannerIcon = ({ diff --git a/src/components/banner/GovBanner/GovBanner.tsx b/src/components/banner/GovBanner/GovBanner.tsx index 012177585..c094c4397 100644 --- a/src/components/banner/GovBanner/GovBanner.tsx +++ b/src/components/banner/GovBanner/GovBanner.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, useState, type JSX } from 'react' +import React, { ReactElement, useState, JSX } from 'react' import { Banner } from '../Banner/Banner' import { BannerHeader } from '../BannerHeader/BannerHeader' import { BannerFlag } from '../BannerFlag/BannerFlag' diff --git a/src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx b/src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx index c3f85e430..4090c7de8 100644 --- a/src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx +++ b/src/components/breadcrumb/Breadcrumb/Breadcrumb.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export interface BreadcrumbProps { children: React.ReactNode diff --git a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.stories.tsx b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.stories.tsx index bff342214..05322b4c2 100644 --- a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.stories.tsx +++ b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.stories.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { Breadcrumb } from '../Breadcrumb/Breadcrumb' import { BreadcrumbBar } from './BreadcrumbBar' import { BreadcrumbLink } from '../BreadcrumbLink/BreadcrumbLink' diff --git a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.test.tsx b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.test.tsx index c86715cb2..5975aa0a1 100644 --- a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.test.tsx +++ b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { Breadcrumb } from '../Breadcrumb/Breadcrumb' import { BreadcrumbBar } from './BreadcrumbBar' diff --git a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx index dbcdd4bc4..2e571c8ff 100644 --- a/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx +++ b/src/components/breadcrumb/BreadcrumbBar/BreadcrumbBar.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classnames from 'classnames' import { BreadcrumbProps } from '../Breadcrumb/Breadcrumb' diff --git a/src/components/breadcrumb/BreadcrumbLink/BreadcrumbLink.test.tsx b/src/components/breadcrumb/BreadcrumbLink/BreadcrumbLink.test.tsx index 6434ea344..c9eafc3d7 100644 --- a/src/components/breadcrumb/BreadcrumbLink/BreadcrumbLink.test.tsx +++ b/src/components/breadcrumb/BreadcrumbLink/BreadcrumbLink.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { BreadcrumbLink } from './BreadcrumbLink' diff --git a/src/components/card/Card/Card.tsx b/src/components/card/Card/Card.tsx index 2a82eaaab..c49f2adac 100644 --- a/src/components/card/Card/Card.tsx +++ b/src/components/card/Card/Card.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { GridLayoutProp, applyGridClasses } from '../../grid/Grid/Grid' diff --git a/src/components/card/CardBody/CardBody.tsx b/src/components/card/CardBody/CardBody.tsx index 00ee1418f..1c4836c3e 100644 --- a/src/components/card/CardBody/CardBody.tsx +++ b/src/components/card/CardBody/CardBody.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CardBody = ({ diff --git a/src/components/card/CardFooter/CardFooter.tsx b/src/components/card/CardFooter/CardFooter.tsx index ffb7b6798..609f30ec4 100644 --- a/src/components/card/CardFooter/CardFooter.tsx +++ b/src/components/card/CardFooter/CardFooter.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CardFooter = ({ diff --git a/src/components/card/CardGroup/CardGroup.tsx b/src/components/card/CardGroup/CardGroup.tsx index f35003b9d..c7a49bf15 100644 --- a/src/components/card/CardGroup/CardGroup.tsx +++ b/src/components/card/CardGroup/CardGroup.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CardGroup = ({ diff --git a/src/components/card/CardHeader/CardHeader.tsx b/src/components/card/CardHeader/CardHeader.tsx index 8d55ab1e1..b43c295c1 100644 --- a/src/components/card/CardHeader/CardHeader.tsx +++ b/src/components/card/CardHeader/CardHeader.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const CardHeader = ({ diff --git a/src/components/card/CardMedia/CardMedia.tsx b/src/components/card/CardMedia/CardMedia.tsx index 6ebd1c03b..b02b66706 100644 --- a/src/components/card/CardMedia/CardMedia.tsx +++ b/src/components/card/CardMedia/CardMedia.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' interface CardMediaProps { diff --git a/src/components/forms/CharacterCount/CharacterCount.tsx b/src/components/forms/CharacterCount/CharacterCount.tsx index 1f0748a3e..60af61a88 100644 --- a/src/components/forms/CharacterCount/CharacterCount.tsx +++ b/src/components/forms/CharacterCount/CharacterCount.tsx @@ -1,4 +1,4 @@ -import React, { useState, useEffect, useRef, type JSX } from 'react' +import React, { useState, useEffect, useRef, JSX } from 'react' import classnames from 'classnames' import { TextInput, TextInputProps } from '../TextInput/TextInput' diff --git a/src/components/forms/Checkbox/Checkbox.tsx b/src/components/forms/Checkbox/Checkbox.tsx index deac1fcfe..510468db1 100644 --- a/src/components/forms/Checkbox/Checkbox.tsx +++ b/src/components/forms/Checkbox/Checkbox.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type CheckboxProps = { diff --git a/src/components/forms/ComboBox/ComboBox.tsx b/src/components/forms/ComboBox/ComboBox.tsx index 76d934b27..94969dde9 100644 --- a/src/components/forms/ComboBox/ComboBox.tsx +++ b/src/components/forms/ComboBox/ComboBox.tsx @@ -5,7 +5,7 @@ import React, { useRef, forwardRef, useImperativeHandle, - type JSX, + JSX, } from 'react' import classnames from 'classnames' diff --git a/src/components/forms/DateInputGroup/DateInputGroup.tsx b/src/components/forms/DateInputGroup/DateInputGroup.tsx index 9b2370f91..e9e162e0a 100644 --- a/src/components/forms/DateInputGroup/DateInputGroup.tsx +++ b/src/components/forms/DateInputGroup/DateInputGroup.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export const DateInputGroup = ({ diff --git a/src/components/forms/DatePicker/DatePicker.tsx b/src/components/forms/DatePicker/DatePicker.tsx index d57f35bb6..dd193c1b5 100644 --- a/src/components/forms/DatePicker/DatePicker.tsx +++ b/src/components/forms/DatePicker/DatePicker.tsx @@ -5,7 +5,7 @@ import React, { FocusEvent, FormEvent, KeyboardEvent, - type JSX, + JSX, } from 'react' import classnames from 'classnames' diff --git a/src/components/forms/DateRangePicker/DateRangePicker.tsx b/src/components/forms/DateRangePicker/DateRangePicker.tsx index 2d0e87466..18c99e74c 100644 --- a/src/components/forms/DateRangePicker/DateRangePicker.tsx +++ b/src/components/forms/DateRangePicker/DateRangePicker.tsx @@ -1,5 +1,5 @@ import classnames from 'classnames' -import React, { useState, type JSX } from 'react' +import React, { useState, JSX } from 'react' import { DEFAULT_EXTERNAL_DATE_FORMAT } from '../DatePicker/constants' import { DatePicker, DatePickerProps } from '../DatePicker/DatePicker' import { formatDate, parseDateString } from '../DatePicker/utils' diff --git a/src/components/forms/Fieldset/Fieldset.tsx b/src/components/forms/Fieldset/Fieldset.tsx index 18c45c4d2..b9e0acabb 100644 --- a/src/components/forms/Fieldset/Fieldset.tsx +++ b/src/components/forms/Fieldset/Fieldset.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { RequiredMarker } from '../Label/RequiredMarker' diff --git a/src/components/forms/FileInput/FileInput.tsx b/src/components/forms/FileInput/FileInput.tsx index 95d9dc920..c90ab7d4a 100644 --- a/src/components/forms/FileInput/FileInput.tsx +++ b/src/components/forms/FileInput/FileInput.tsx @@ -4,7 +4,7 @@ import React, { useRef, useImperativeHandle, useEffect, - type JSX, + JSX, } from 'react' import classnames from 'classnames' diff --git a/src/components/forms/Form/Form.tsx b/src/components/forms/Form/Form.tsx index 2d1262ffe..3444b80bf 100644 --- a/src/components/forms/Form/Form.tsx +++ b/src/components/forms/Form/Form.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type RequiredFormProps = { diff --git a/src/components/forms/InputPrefix/InputPrefix.tsx b/src/components/forms/InputPrefix/InputPrefix.tsx index 5cbc1dba1..cdf24e03c 100644 --- a/src/components/forms/InputPrefix/InputPrefix.tsx +++ b/src/components/forms/InputPrefix/InputPrefix.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type InputPrefixProps = { diff --git a/src/components/forms/InputSuffix/InputSuffix.tsx b/src/components/forms/InputSuffix/InputSuffix.tsx index 87eb6e2ed..4b0c65aad 100644 --- a/src/components/forms/InputSuffix/InputSuffix.tsx +++ b/src/components/forms/InputSuffix/InputSuffix.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type InputSuffixProps = { diff --git a/src/components/forms/Label/Label.tsx b/src/components/forms/Label/Label.tsx index f36f0126a..3d1d396b2 100644 --- a/src/components/forms/Label/Label.tsx +++ b/src/components/forms/Label/Label.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { RequiredMarker } from './RequiredMarker' diff --git a/src/components/forms/Radio/Radio.tsx b/src/components/forms/Radio/Radio.tsx index 2a9741776..2e0cf72f5 100644 --- a/src/components/forms/Radio/Radio.tsx +++ b/src/components/forms/Radio/Radio.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type RadioProps = { diff --git a/src/components/forms/RangeInput/RangeInput.tsx b/src/components/forms/RangeInput/RangeInput.tsx index 5013c6e7d..f9c836ec0 100644 --- a/src/components/forms/RangeInput/RangeInput.tsx +++ b/src/components/forms/RangeInput/RangeInput.tsx @@ -1,4 +1,4 @@ -import React, { useState, type JSX } from 'react' +import React, { useState, JSX } from 'react' import classnames from 'classnames' type RangeInputProps = { diff --git a/src/components/forms/Select/Select.tsx b/src/components/forms/Select/Select.tsx index e50be70e9..f61dd1ec4 100644 --- a/src/components/forms/Select/Select.tsx +++ b/src/components/forms/Select/Select.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { ValidationStatus } from '../../../types/validationStatus' diff --git a/src/components/forms/TextInput/TextInput.tsx b/src/components/forms/TextInput/TextInput.tsx index 0a42b9770..b012bd744 100644 --- a/src/components/forms/TextInput/TextInput.tsx +++ b/src/components/forms/TextInput/TextInput.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, type JSX } from 'react' +import React, { forwardRef, JSX } from 'react' import classnames from 'classnames' import { ValidationStatus } from '../../../types/validationStatus' diff --git a/src/components/forms/Textarea/Textarea.tsx b/src/components/forms/Textarea/Textarea.tsx index 769e15251..12bf91d7e 100644 --- a/src/components/forms/Textarea/Textarea.tsx +++ b/src/components/forms/Textarea/Textarea.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' export interface TextareaProps { diff --git a/src/components/forms/TimePicker/TimePicker.tsx b/src/components/forms/TimePicker/TimePicker.tsx index f335aa6dc..a660cae72 100644 --- a/src/components/forms/TimePicker/TimePicker.tsx +++ b/src/components/forms/TimePicker/TimePicker.tsx @@ -1,4 +1,4 @@ -import React, { useMemo, type JSX } from 'react' +import React, { useMemo, JSX } from 'react' import classnames from 'classnames' import { FormGroup } from '../FormGroup/FormGroup' import { Label } from '../Label/Label' diff --git a/src/components/forms/Validation/ValidationChecklist.tsx b/src/components/forms/Validation/ValidationChecklist.tsx index b03da96b1..a5f1b842b 100644 --- a/src/components/forms/Validation/ValidationChecklist.tsx +++ b/src/components/forms/Validation/ValidationChecklist.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type ValidationChecklistProps = { diff --git a/src/components/forms/Validation/ValidationItem.tsx b/src/components/forms/Validation/ValidationItem.tsx index f82978418..6895584b9 100644 --- a/src/components/forms/Validation/ValidationItem.tsx +++ b/src/components/forms/Validation/ValidationItem.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type ValidationItemProps = { diff --git a/src/components/grid/Grid.stories.tsx b/src/components/grid/Grid.stories.tsx index 7b7d3a09f..70c5186b6 100644 --- a/src/components/grid/Grid.stories.tsx +++ b/src/components/grid/Grid.stories.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { GridContainer } from './GridContainer/GridContainer' import { Grid } from './Grid/Grid' diff --git a/src/components/grid/Grid/Grid.test.tsx b/src/components/grid/Grid/Grid.test.tsx index dc9f99109..2fd49e686 100644 --- a/src/components/grid/Grid/Grid.test.tsx +++ b/src/components/grid/Grid/Grid.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { Grid, getGridClasses, applyGridClasses } from './Grid' diff --git a/src/components/grid/Grid/Grid.tsx b/src/components/grid/Grid/Grid.tsx index 7e14f57f1..a7887f8cb 100644 --- a/src/components/grid/Grid/Grid.tsx +++ b/src/components/grid/Grid/Grid.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { GridItemProps, BreakpointKeys, breakpoints } from '../types' diff --git a/src/components/grid/GridContainer/GridContainer.test.tsx b/src/components/grid/GridContainer/GridContainer.test.tsx index f179a14ae..beaac9435 100644 --- a/src/components/grid/GridContainer/GridContainer.test.tsx +++ b/src/components/grid/GridContainer/GridContainer.test.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { render } from '@testing-library/react' import { GridContainer } from './GridContainer' diff --git a/src/components/header/ExtendedNav/ExtendedNav.tsx b/src/components/header/ExtendedNav/ExtendedNav.tsx index da5c3f20a..f8fe40cda 100644 --- a/src/components/header/ExtendedNav/ExtendedNav.tsx +++ b/src/components/header/ExtendedNav/ExtendedNav.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { NavCloseButton } from '../NavCloseButton/NavCloseButton' diff --git a/src/components/header/Header/Header.tsx b/src/components/header/Header/Header.tsx index fa130ee6e..3abfa50a6 100644 --- a/src/components/header/Header/Header.tsx +++ b/src/components/header/Header/Header.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type HeaderProps = { diff --git a/src/components/header/NavCloseButton/NavCloseButton.tsx b/src/components/header/NavCloseButton/NavCloseButton.tsx index b4d91c471..5f705ae44 100644 --- a/src/components/header/NavCloseButton/NavCloseButton.tsx +++ b/src/components/header/NavCloseButton/NavCloseButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' // assets import { Icon } from '../../Icon/Icons' diff --git a/src/components/header/NavDropDownButton/NavDropDownButton.tsx b/src/components/header/NavDropDownButton/NavDropDownButton.tsx index ab31d84b1..105b1d8dd 100644 --- a/src/components/header/NavDropDownButton/NavDropDownButton.tsx +++ b/src/components/header/NavDropDownButton/NavDropDownButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type NavDropDownButtonProps = { diff --git a/src/components/header/NavList/NavList.tsx b/src/components/header/NavList/NavList.tsx index c610185c5..1ebf88647 100644 --- a/src/components/header/NavList/NavList.tsx +++ b/src/components/header/NavList/NavList.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type CustomNavListProps = { diff --git a/src/components/header/NavMenuButton/NavMenuButton.tsx b/src/components/header/NavMenuButton/NavMenuButton.tsx index d9b75630e..5a18a02f1 100644 --- a/src/components/header/NavMenuButton/NavMenuButton.tsx +++ b/src/components/header/NavMenuButton/NavMenuButton.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' type NavMenuButtonProps = { label: React.ReactNode diff --git a/src/components/header/PrimaryNav/PrimaryNav.tsx b/src/components/header/PrimaryNav/PrimaryNav.tsx index 5d1e4f828..4a35f0387 100644 --- a/src/components/header/PrimaryNav/PrimaryNav.tsx +++ b/src/components/header/PrimaryNav/PrimaryNav.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { NavCloseButton } from '../NavCloseButton/NavCloseButton' diff --git a/src/components/header/Title/Title.tsx b/src/components/header/Title/Title.tsx index c6a180404..be6da1729 100644 --- a/src/components/header/Title/Title.tsx +++ b/src/components/header/Title/Title.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' type TitleProps = { diff --git a/src/components/hoc/withDeprecationWarning.tsx b/src/components/hoc/withDeprecationWarning.tsx index bb5470667..e9da73ec9 100644 --- a/src/components/hoc/withDeprecationWarning.tsx +++ b/src/components/hoc/withDeprecationWarning.tsx @@ -1,4 +1,4 @@ -import React, { ComponentType, useEffect, type JSX } from 'react' +import React, { ComponentType, useEffect, JSX } from 'react' import { deprecationWarning } from '../../deprecation' diff --git a/src/components/mediablock/MediaBlockBody/MediaBlockBody.tsx b/src/components/mediablock/MediaBlockBody/MediaBlockBody.tsx index ca0933c55..11ba1b547 100644 --- a/src/components/mediablock/MediaBlockBody/MediaBlockBody.tsx +++ b/src/components/mediablock/MediaBlockBody/MediaBlockBody.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement, type JSX } from 'react' +import React, { ReactElement, JSX } from 'react' import classNames from 'classnames' export const MediaBlockBody = ({ diff --git a/src/components/stepindicator/StepIndicator/StepIndicator.tsx b/src/components/stepindicator/StepIndicator/StepIndicator.tsx index ccdd7e98d..7dc3232e5 100644 --- a/src/components/stepindicator/StepIndicator/StepIndicator.tsx +++ b/src/components/stepindicator/StepIndicator/StepIndicator.tsx @@ -1,4 +1,4 @@ -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import classnames from 'classnames' import { StepIndicatorStepProps } from '../StepIndicatorStep/StepIndicatorStep' import { HeadingLevel } from '../../../types/headingLevel' diff --git a/src/components/stepindicator/StepIndicatorStep/StepIndicatorStep.tsx b/src/components/stepindicator/StepIndicatorStep/StepIndicatorStep.tsx index cc423f728..e3ff5af1e 100644 --- a/src/components/stepindicator/StepIndicatorStep/StepIndicatorStep.tsx +++ b/src/components/stepindicator/StepIndicatorStep/StepIndicatorStep.tsx @@ -1,5 +1,5 @@ import classnames from 'classnames' -import React, { type JSX } from 'react' +import React, { JSX } from 'react' import { StepStatusText } from '../StepIndicator/StepIndicator'