diff --git a/package-lock.json b/package-lock.json index 493d04f3d..debeb4aa9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8001,9 +8001,9 @@ } }, "node_modules/@patternfly/react-component-groups": { - "version": "5.0.0-prerelease.5", - "resolved": "https://registry.npmjs.org/@patternfly/react-component-groups/-/react-component-groups-5.0.0-prerelease.5.tgz", - "integrity": "sha512-LsOUwn4ldocLTx2M/XE4y72RQ5O5ZF5qfHoWRa7WusgmAI06l/fAhg8Et6teiDR9PopQiIiIVFqlBljhGrmKww==", + "version": "5.0.0-prerelease.7", + "resolved": "https://registry.npmjs.org/@patternfly/react-component-groups/-/react-component-groups-5.0.0-prerelease.7.tgz", + "integrity": "sha512-i/rfl7fN9JrVlIbZ7GYVtcF4bXX40NEwdgb/IZppsvi+O5yEjbjGuBVHCj5e+9N69K+um92VukWfaBFfuYNTaA==", "dependencies": { "@patternfly/react-core": "^5.1.1", "@patternfly/react-icons": "^5.1.1", @@ -42026,7 +42026,7 @@ "version": "4.1.0", "license": "Apache-2.0", "dependencies": { - "@patternfly/react-component-groups": "^5.0.0-prerelease.5", + "@patternfly/react-component-groups": "^5.0.0-prerelease.7", "@redhat-cloud-services/frontend-components-utilities": "^4.0.0", "@redhat-cloud-services/types": "^0.0.24", "@scalprum/core": "^0.5.4", @@ -49166,9 +49166,9 @@ } }, "@patternfly/react-component-groups": { - "version": "5.0.0-prerelease.5", - "resolved": "https://registry.npmjs.org/@patternfly/react-component-groups/-/react-component-groups-5.0.0-prerelease.5.tgz", - "integrity": "sha512-LsOUwn4ldocLTx2M/XE4y72RQ5O5ZF5qfHoWRa7WusgmAI06l/fAhg8Et6teiDR9PopQiIiIVFqlBljhGrmKww==", + "version": "5.0.0-prerelease.7", + "resolved": "https://registry.npmjs.org/@patternfly/react-component-groups/-/react-component-groups-5.0.0-prerelease.7.tgz", + "integrity": "sha512-i/rfl7fN9JrVlIbZ7GYVtcF4bXX40NEwdgb/IZppsvi+O5yEjbjGuBVHCj5e+9N69K+um92VukWfaBFfuYNTaA==", "requires": { "@patternfly/react-core": "^5.1.1", "@patternfly/react-icons": "^5.1.1", @@ -49351,7 +49351,7 @@ "requires": { "@cypress/webpack-dev-server": "^1.8.4", "@patternfly/patternfly": "^5.0.0", - "@patternfly/react-component-groups": "^5.0.0-prerelease.5", + "@patternfly/react-component-groups": "^5.0.0-prerelease.7", "@redhat-cloud-services/frontend-components-config-utilities": "^3.0.0", "@redhat-cloud-services/frontend-components-utilities": "^4.0.0", "@redhat-cloud-services/types": "^0.0.24", diff --git a/packages/components/package.json b/packages/components/package.json index 2e27691ee..902a26eb5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -49,7 +49,7 @@ "dependencies": { "@redhat-cloud-services/frontend-components-utilities": "^4.0.0", "@redhat-cloud-services/types": "^0.0.24", - "@patternfly/react-component-groups": "^5.0.0-prerelease.5", + "@patternfly/react-component-groups": "^5.0.0-prerelease.7", "@scalprum/core": "^0.5.4", "@scalprum/react-core": "^0.5.4", "sanitize-html": "^2.7.2" diff --git a/packages/components/src/DateFormat/DateFormat.tsx b/packages/components/src/DateFormat/DateFormat.tsx index 917bb0a72..99d051bcf 100644 --- a/packages/components/src/DateFormat/DateFormat.tsx +++ b/packages/components/src/DateFormat/DateFormat.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { dateByType } from './helper'; -import { TooltipProps } from '@patternfly/react-core'; +import { TooltipProps } from '@patternfly/react-core/dist/dynamic/components/Tooltip'; import { DateType } from './helper'; export interface DateFormatProps { @@ -20,6 +20,7 @@ export interface DateFormatProps { } /** + * @deprecated Do not use deprecated DateFormat component, use official PatternFly Timestamp instead * A component that formats date to a unified CRC format. * Relative date format adds a tooltip with a full date string. */ diff --git a/packages/components/src/ErrorState/DefaultErrorMessage.tsx b/packages/components/src/ErrorState/DefaultErrorMessage.tsx index 925c78360..4c1d6bfe2 100644 --- a/packages/components/src/ErrorState/DefaultErrorMessage.tsx +++ b/packages/components/src/ErrorState/DefaultErrorMessage.tsx @@ -1,6 +1,6 @@ import React from 'react'; -const DefaultErrorMessage = () => { +const DefaultErrorMessage: React.FunctionComponent = () => { const redirectLink = 'https://access.redhat.com/support'; const statusLink = 'https://status.redhat.com'; diff --git a/packages/components/src/InvalidObject/InvalidObject.test.js b/packages/components/src/InvalidObject/InvalidObject.test.js deleted file mode 100644 index 624b5f150..000000000 --- a/packages/components/src/InvalidObject/InvalidObject.test.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { mount } from 'enzyme'; -import toJson from 'enzyme-to-json'; -import InvalidObject from './InvalidObject'; - -describe('InvalidObject component', () => { - it('should render', () => { - const wrapper = mount(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); -}); diff --git a/packages/components/src/InvalidObject/InvalidObject.tsx b/packages/components/src/InvalidObject/InvalidObject.tsx index 6839434d9..9c2f9605b 100644 --- a/packages/components/src/InvalidObject/InvalidObject.tsx +++ b/packages/components/src/InvalidObject/InvalidObject.tsx @@ -1,28 +1,14 @@ import React from 'react'; -import Icon404 from './icon-404'; -import { Button, Title } from '@patternfly/react-core'; -import './invalidObject.scss'; +import InvalidObjectPF, { InvalidObjectProps } from '@patternfly/react-component-groups/dist/dynamic/InvalidObject'; // Don't use chrome here because the 404 page on landing does not use chrome -const isBeta = () => { - return window.location.pathname.split('/')[1] === 'beta' ? '/beta' : ''; -}; +const isBeta = () => (window.location.pathname.split('/')[1] === 'beta' ? '/beta' : ''); -const InvalidObject: React.FunctionComponent = ({ ...props }) => { - return ( -
- - We lost that page - - - - Let's find you a new one. Try a new search or return home. - - -
- ); -}; +/** + * @deprecated Do not use deprecated InvalidObject import, the component has been moved to @patternfly/react-component-groups + */ +const InvalidObject: React.FunctionComponent = (props) => ( + +); export default InvalidObject; diff --git a/packages/components/src/InvalidObject/__snapshots__/InvalidObject.test.js.snap b/packages/components/src/InvalidObject/__snapshots__/InvalidObject.test.js.snap deleted file mode 100644 index 74fc52755..000000000 --- a/packages/components/src/InvalidObject/__snapshots__/InvalidObject.test.js.snap +++ /dev/null @@ -1,304 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`InvalidObject component should render 1`] = ` - -
- - <h1 - className="pf-v5-c-title pf-m-3xl" - data-ouia-component-id="OUIA-Generated-Title-1" - data-ouia-component-type="PF5/Title" - data-ouia-safe={true} - > - We lost that page - </h1> - - - - - - - - - - - - - - 404path-not-found - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <h1 - className="pf-v5-c-title pf-m-xl ins-c-text__sorry" - data-ouia-component-id="OUIA-Generated-Title-2" - data-ouia-component-type="PF5/Title" - data-ouia-safe={true} - > - Let's find you a new one. Try a new search or return home. - </h1> - - -
-
-`; diff --git a/packages/components/src/InvalidObject/icon-404.scss b/packages/components/src/InvalidObject/icon-404.scss deleted file mode 100644 index 4fe5b46dd..000000000 --- a/packages/components/src/InvalidObject/icon-404.scss +++ /dev/null @@ -1,7 +0,0 @@ -.Icon404 { - height: 150px; - .cls-1 { fill:#fff; } - .cls-1,.cls-3{ fill-rule:evenodd;} - .cls-2{ opacity:0.5;} - .cls-4{ mask:url(#mask); } -} \ No newline at end of file diff --git a/packages/components/src/InvalidObject/icon-404.tsx b/packages/components/src/InvalidObject/icon-404.tsx deleted file mode 100644 index 4f3b05415..000000000 --- a/packages/components/src/InvalidObject/icon-404.tsx +++ /dev/null @@ -1,210 +0,0 @@ -import React from 'react'; - -import './icon-404.scss'; -const Icon404: React.FunctionComponent = () => ( - // eslint-disable-next-line max-len - - - - - - - - - - - 404path-not-found - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -); - -export default Icon404; diff --git a/packages/components/src/InvalidObject/index.ts b/packages/components/src/InvalidObject/index.ts index 0c666724c..ffba6507e 100644 --- a/packages/components/src/InvalidObject/index.ts +++ b/packages/components/src/InvalidObject/index.ts @@ -1,3 +1,3 @@ +export * from '@patternfly/react-component-groups/dist/dynamic/InvalidObject'; export { default } from './InvalidObject'; export { default as InvalidObject } from './InvalidObject'; -export { default as Icon404 } from './icon-404'; diff --git a/packages/components/src/InvalidObject/invalidObject.scss b/packages/components/src/InvalidObject/invalidObject.scss deleted file mode 100644 index f1f49f918..000000000 --- a/packages/components/src/InvalidObject/invalidObject.scss +++ /dev/null @@ -1,15 +0,0 @@ -@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss'; - -.ins-c-component_invalid-component { - display: flex; - justify-content: center; - flex-direction: column; - align-items: center; - text-align: center; - - .ins-c-text__sorry { max-width: 70%; } - - h1, svg { @include rem('margin-bottom', 30px); } - - button { @include rem('font-size', 20px); } -} \ No newline at end of file diff --git a/packages/components/src/SkeletonTable/SkeletonTable.scss b/packages/components/src/SkeletonTable/SkeletonTable.scss deleted file mode 100644 index 57a2b1394..000000000 --- a/packages/components/src/SkeletonTable/SkeletonTable.scss +++ /dev/null @@ -1,3 +0,0 @@ -.ins-c-skeleton-table__dark { - background-color: #1b1d21 !important; -} \ No newline at end of file diff --git a/packages/components/src/SkeletonTable/SkeletonTable.test.js b/packages/components/src/SkeletonTable/SkeletonTable.test.js deleted file mode 100644 index efc9e7f49..000000000 --- a/packages/components/src/SkeletonTable/SkeletonTable.test.js +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; -import { shallow } from 'enzyme'; -import toJson from 'enzyme-to-json'; -import SkeletonTable from './SkeletonTable'; - -describe('SkeletonTable component', () => { - it('should render correctly', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render correctly without rows', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render correctly with static columns', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render correctly with checkboxes', () => { - const wrapper = shallow(); - - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render correctly with radio buttons', () => { - const wrapper = shallow(); - - expect(toJson(wrapper)).toMatchSnapshot(); - }); -}); diff --git a/packages/components/src/SkeletonTable/SkeletonTable.tsx b/packages/components/src/SkeletonTable/SkeletonTable.tsx index 6a638bebc..6a95bf73a 100644 --- a/packages/components/src/SkeletonTable/SkeletonTable.tsx +++ b/packages/components/src/SkeletonTable/SkeletonTable.tsx @@ -1,59 +1,10 @@ -import React, { ReactNode } from 'react'; -import { Caption, Table, TableProps, TableVariant, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table'; -import { Skeleton } from '../Skeleton'; - -import './SkeletonTable.scss'; - -export type SkeletonTableProps = TableProps & { - variant?: TableVariant; - rows?: number; - caption?: ReactNode; -} & ( - | { - columns: ReactNode[]; - } - | { - numberOfColumns: number; - } - ); - -function hasCustomColumns(props: Record): props is SkeletonTableProps & { - columns: ReactNode[]; -} { - return Array.isArray(props.columns); -} - -const SkeletonTable: React.FunctionComponent = (props) => { - const { variant, rows = 5, caption } = props; - const rowCells = hasCustomColumns(props) ? props.columns.length : props.numberOfColumns; - const rowArray = [...new Array(rowCells)]; - const bodyRows = [...new Array(rows)].map((_, index) => ( - - {rowArray.map((_, index) => ( - - - - ))} - - )); - - return ( - - {caption && } - - - {hasCustomColumns(props) - ? props.columns.map((c, index) => ) - : rowArray.map((_, index) => ( - - ))} - - - {bodyRows} -
{caption}
{c} - -
- ); -}; +import React from 'react'; +import SkeletonTablePF, { SkeletonTableProps } from '@patternfly/react-component-groups/dist/dynamic/SkeletonTable'; + +/** + * @deprecated Do not use deprecated SkeletonTable import, the component has been moved to @patternfly/react-component-groups + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +const SkeletonTable: React.FunctionComponent = (props) => ; export default SkeletonTable; diff --git a/packages/components/src/SkeletonTable/__snapshots__/SkeletonTable.test.js.snap b/packages/components/src/SkeletonTable/__snapshots__/SkeletonTable.test.js.snap deleted file mode 100644 index 2948bd94e..000000000 --- a/packages/components/src/SkeletonTable/__snapshots__/SkeletonTable.test.js.snap +++ /dev/null @@ -1,406 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`SkeletonTable component should render correctly 1`] = ` - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
-`; - -exports[`SkeletonTable component should render correctly with checkboxes 1`] = ` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- first - - second -
- - - -
- - - -
- - - -
- - - -
- - - -
-`; - -exports[`SkeletonTable component should render correctly with radio buttons 1`] = ` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- first - - second -
- - - -
- - - -
- - - -
- - - -
- - - -
-`; - -exports[`SkeletonTable component should render correctly with static columns 1`] = ` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- first - - second -
- - - -
- - - -
- - - -
- - - -
- - - -
-`; - -exports[`SkeletonTable component should render correctly without rows 1`] = ` - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- -
- -
- -
- -
-`; diff --git a/packages/components/src/SkeletonTable/index.ts b/packages/components/src/SkeletonTable/index.ts index 7e0a19d05..772d641ff 100644 --- a/packages/components/src/SkeletonTable/index.ts +++ b/packages/components/src/SkeletonTable/index.ts @@ -1,2 +1,3 @@ +export * from '@patternfly/react-component-groups/dist/dynamic/SkeletonTable'; export { default } from './SkeletonTable'; export { default as SkeletonTable } from './SkeletonTable'; diff --git a/packages/components/src/TagCount/TagCount.test.js b/packages/components/src/TagCount/TagCount.test.js deleted file mode 100644 index 51165bd21..000000000 --- a/packages/components/src/TagCount/TagCount.test.js +++ /dev/null @@ -1,21 +0,0 @@ -import React from 'react'; -import { shallow } from 'enzyme'; -import toJson from 'enzyme-to-json'; -import TagCount from './TagCount'; - -describe('TagCount component', () => { - it('should render a disabled tag count with count 0', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render a tag count with no value', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); - - it('should render a tag count of 11', () => { - const wrapper = shallow(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); -}); diff --git a/packages/components/src/TagCount/TagCount.tsx b/packages/components/src/TagCount/TagCount.tsx index 96a06dc84..a7d6a6331 100644 --- a/packages/components/src/TagCount/TagCount.tsx +++ b/packages/components/src/TagCount/TagCount.tsx @@ -1,25 +1,16 @@ import React from 'react'; -import classNames from 'classnames'; -import { Button, ButtonProps, Icon } from '@patternfly/react-core'; -import { TagIcon } from '@patternfly/react-icons'; - -import './tagCount.scss'; - +import TagCountPF from '@patternfly/react-component-groups/dist/dynamic/TagCount'; +import { ButtonProps } from '@patternfly/react-core/dist/dynamic/components/Button'; export interface TagCountProps extends ButtonProps { count?: number; onTagClick?: React.MouseEventHandler; className?: string; } -const TagCount: React.FunctionComponent = ({ count, onTagClick = () => undefined, className, ...props }) => { - return ( - - ); -}; +/** + * @deprecated Do not use deprecated TagCount import, the component has been moved to @patternfly/react-component-groups + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +const TagCount: React.FunctionComponent = ({ onTagClick, ...props }) => ; export default TagCount; diff --git a/packages/components/src/TagCount/__snapshots__/TagCount.test.js.snap b/packages/components/src/TagCount/__snapshots__/TagCount.test.js.snap deleted file mode 100644 index 22c172342..000000000 --- a/packages/components/src/TagCount/__snapshots__/TagCount.test.js.snap +++ /dev/null @@ -1,57 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`TagCount component should render a disabled tag count with count 0 1`] = ` - -`; - -exports[`TagCount component should render a tag count of 11 1`] = ` - -`; - -exports[`TagCount component should render a tag count with no value 1`] = ` - -`; diff --git a/packages/components/src/TagCount/index.ts b/packages/components/src/TagCount/index.ts index 6debc1014..1fa8a746f 100644 --- a/packages/components/src/TagCount/index.ts +++ b/packages/components/src/TagCount/index.ts @@ -1,2 +1,3 @@ +export * from './TagCount'; export { default } from './TagCount'; export { default as TagCount } from './TagCount'; diff --git a/packages/components/src/TagCount/tagCount.scss b/packages/components/src/TagCount/tagCount.scss deleted file mode 100644 index 1330a2893..000000000 --- a/packages/components/src/TagCount/tagCount.scss +++ /dev/null @@ -1,9 +0,0 @@ -button.ins-c-tag-count { - color: var(--pf-v5-global--icon--Color--light); - display: flex; - align-content: center; -} - -.ins-c-tag__text { - margin-left: 10px; -} diff --git a/packages/components/src/Truncate/Truncate.tsx b/packages/components/src/Truncate/Truncate.tsx index 3d0a82a9f..c4ffd8f5e 100644 --- a/packages/components/src/Truncate/Truncate.tsx +++ b/packages/components/src/Truncate/Truncate.tsx @@ -1,6 +1,8 @@ import React, { useState } from 'react'; import classNames from 'classnames'; -import { Button, Stack, StackItem } from '@patternfly/react-core'; +import { Button } from '@patternfly/react-core/dist/dynamic/components/Button'; +import { Stack } from '@patternfly/react-core/dist/dynamic/layouts/Stack'; +import { StackItem } from '@patternfly/react-core/dist/dynamic/layouts/Stack'; import sanitizeHtml from 'sanitize-html'; import './truncate.scss'; @@ -19,6 +21,10 @@ export interface TruncateProps { expandOnMouseOver?: boolean; } +/** + * @deprecated Do not use deprecated Truncate import, use an example from @patternfly/react-component-groups migration guide instead + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any const Truncate: React.FunctionComponent = ({ text = '', length = 150, diff --git a/packages/components/src/Unavailable/Unavailable.scss b/packages/components/src/Unavailable/Unavailable.scss deleted file mode 100644 index 24c7779a0..000000000 --- a/packages/components/src/Unavailable/Unavailable.scss +++ /dev/null @@ -1,3 +0,0 @@ -.ins-c-empty-state__unavailable { - svg { color: var(--pf-v5-global--danger-color--100); } -} diff --git a/packages/components/src/Unavailable/Unavailable.test.js b/packages/components/src/Unavailable/Unavailable.test.js deleted file mode 100644 index 84515ad55..000000000 --- a/packages/components/src/Unavailable/Unavailable.test.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { mount } from 'enzyme'; -import toJson from 'enzyme-to-json'; -import Unavailable from './Unavailable'; - -describe('Unavailable component', () => { - it('should render', () => { - const wrapper = mount(); - expect(toJson(wrapper)).toMatchSnapshot(); - }); -}); diff --git a/packages/components/src/Unavailable/Unavailable.tsx b/packages/components/src/Unavailable/Unavailable.tsx index ce2e6fb33..0938f4366 100644 --- a/packages/components/src/Unavailable/Unavailable.tsx +++ b/packages/components/src/Unavailable/Unavailable.tsx @@ -1,22 +1,12 @@ import React from 'react'; -import { EmptyState, EmptyStateBody, EmptyStateHeader, EmptyStateIcon, EmptyStateVariant } from '@patternfly/react-core'; -import { ExclamationCircleIcon } from '@patternfly/react-icons'; -import './Unavailable.scss'; +import UnavailableContent, { UnavailableContentProps } from '@patternfly/react-component-groups/dist/dynamic/UnavailableContent'; -const Unavailable: React.FC = () => { - return ( - - } headingLevel="h5" /> - - Try refreshing the page. If the problem persists, contact your organization administrator or visit our - - {' '} - status page - {' '} - for known outages. - - - ); -}; +/** + * @deprecated Do not use deprecated UnavailableContent import, the component has been moved to @patternfly/react-component-groups + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +const Unavailable: React.FunctionComponent = (props) => ( + +); export default Unavailable; diff --git a/packages/components/src/Unavailable/__snapshots__/Unavailable.test.js.snap b/packages/components/src/Unavailable/__snapshots__/Unavailable.test.js.snap deleted file mode 100644 index 0c09b822a..000000000 --- a/packages/components/src/Unavailable/__snapshots__/Unavailable.test.js.snap +++ /dev/null @@ -1,85 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Unavailable component should render 1`] = ` - - -
-
- - } - titleText="This page is temporarily unavailable" - > -
- -
- - - - - -
-
-
-
- This page is temporarily unavailable -
-
-
-
- -
- Try refreshing the page. If the problem persists, contact your organization administrator or visit our - - - status page - - - for known outages. -
-
-
-
-
-
-`; diff --git a/packages/components/src/Unavailable/index.ts b/packages/components/src/Unavailable/index.ts index debbeb0c8..16510ab38 100644 --- a/packages/components/src/Unavailable/index.ts +++ b/packages/components/src/Unavailable/index.ts @@ -1,2 +1,4 @@ +export * from '@patternfly/react-component-groups/dist/dynamic/UnavailableContent'; +export { UnavailableContentProps as UnavailableProps } from '@patternfly/react-component-groups/dist/dynamic/UnavailableContent'; export { default } from './Unavailable'; export { default as Unavailable } from './Unavailable'; diff --git a/packages/components/src/index.scss b/packages/components/src/index.scss index 2e33cf396..4c33c9e44 100644 --- a/packages/components/src/index.scss +++ b/packages/components/src/index.scss @@ -6,8 +6,6 @@ @import './FilterChips/filter-chips.scss'; @import './FilterHooks/tagFilterHook.scss'; @import './Filters/filter-dropdown.scss'; -@import './InvalidObject/icon-404.scss'; -@import './InvalidObject/invalidObject.scss'; @import './Main/main.scss'; @import './Maintenance/maintenance.scss'; @import './PageHeader/page-header.scss'; @@ -19,8 +17,6 @@ @import './Spinner/spinner.scss'; @import './TabLayout/tab-layout.scss'; @import './TableToolbar/TableToolbar.scss'; -@import './TagCount/tagCount.scss'; @import './TagModal/tagModal.scss'; @import './TreeTable/styles.scss'; @import './Truncate/truncate.scss'; -@import './Unavailable/Unavailable.scss'; diff --git a/packages/docs/components/navigation/components-navigation.json b/packages/docs/components/navigation/components-navigation.json index 5906ad333..46c23f121 100644 --- a/packages/docs/components/navigation/components-navigation.json +++ b/packages/docs/components/navigation/components-navigation.json @@ -233,7 +233,6 @@ { "group": "InvalidObject", "items": [ - "icon-404", "InvalidObject" ] },