(
- } isStacked isSelected={false}>
+ } isStacked isSelected={false}>
Subtext goes here
{' '}
- } isStacked isSelected>
+ } isStacked isSelected>
Subtext goes here
{' '}
- } isStacked isDisabled isSelected={false}>
+ } isStacked isDisabled isSelected={false}>
Subtext goes here
diff --git a/packages/react-core/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx b/packages/react-core/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx
index 9611435f226..d96366d1bbd 100644
--- a/packages/react-core/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx
+++ b/packages/react-core/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx
@@ -1,15 +1,15 @@
import { Tile } from '@patternfly/react-core/deprecated';
-import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
+import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
export const TileStackedWithLargeIcons: React.FunctionComponent = () => (
- } isStacked isDisplayLarge isSelected={false}>
+ } isStacked isDisplayLarge isSelected={false}>
Subtext goes here
{' '}
- } isStacked isDisplayLarge isSelected>
+ } isStacked isDisplayLarge isSelected>
Subtext goes here
{' '}
- } isStacked isDisplayLarge isDisabled isSelected={false}>
+ } isStacked isDisplayLarge isDisabled isSelected={false}>
Subtext goes here
diff --git a/packages/react-core/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx b/packages/react-core/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx
index 82b6fabf720..479a163be4a 100644
--- a/packages/react-core/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx
+++ b/packages/react-core/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx
@@ -1,23 +1,23 @@
import { Flex } from '@patternfly/react-core';
import { Tile } from '@patternfly/react-core/deprecated';
-import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
+import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
export const TileWithExtraContent: React.FunctionComponent = () => (
- } isStacked isSelected={false}>
+ } isStacked isSelected={false}>
This is really really long subtext that goes on for so long that it has to wrap to the next line. This is
really really long subtext that goes on for so long that it has to wrap to the next line.
- } isStacked isSelected>
+ } isStacked isSelected>
This is really really long subtext that goes on for so long that it has to wrap to the next line.
- } isStacked isDisabled isSelected={false}>
+ } isStacked isDisabled isSelected={false}>
Subtext goes here
diff --git a/packages/react-core/src/helpers/constants.ts b/packages/react-core/src/helpers/constants.ts
index 7115fb7aa1d..88770ac5f43 100644
--- a/packages/react-core/src/helpers/constants.ts
+++ b/packages/react-core/src/helpers/constants.ts
@@ -10,11 +10,11 @@ import globalHeightBreakpointLg from '@patternfly/react-tokens/dist/esm/t_global
import globalHeightBreakpointXl from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_height_xl';
import globalHeightBreakpoint2xl from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_height_2xl';
-import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
-import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
-import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
-import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
-import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
+import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
+import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
+import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
+import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
+import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
export const SIDE = { RIGHT: 'right', LEFT: 'left', BOTH: 'both', NONE: 'none' };
@@ -55,9 +55,9 @@ export const globalHeightBreakpoints = {
};
export const statusIcons = {
- success: CheckCircleIcon,
- danger: ExclamationCircleIcon,
- warning: ExclamationTriangleIcon,
- info: InfoCircleIcon,
- custom: BellIcon
+ success: RhUiCheckCircleFillIcon,
+ danger: RhUiErrorFillIcon,
+ warning: RhUiWarningFillIcon,
+ info: RhUiInformationFillIcon,
+ custom: RhUiNotificationFillIcon
};
diff --git a/packages/react-icons/scripts/icons/pfToRhIcons.mjs b/packages/react-icons/scripts/icons/pfToRhIcons.mjs
index 7482c88dd16..fcc85253194 100644
--- a/packages/react-icons/scripts/icons/pfToRhIcons.mjs
+++ b/packages/react-icons/scripts/icons/pfToRhIcons.mjs
@@ -19,18 +19,18 @@ export const pfToRhIcons = {
ArrowRightIcon: { name: 'rh-ui-arrow-right', icon: getIconData('rh-ui-arrow-right') },
ArrowsAltVIcon: { name: 'rh-ui-arrow-up-down', icon: getIconData('rh-ui-arrow-up-down') },
AsleepIcon: { name: 'rh-ui-asleep', icon: getIconData('rh-ui-asleep') },
- AttentionBellIcon: { name: 'rh-ui-attention-bell', icon: getIconData('rh-ui-attention-bell') },
+ AttentionBellIcon: { name: 'rh-ui-attention-bell-fill', icon: getIconData('rh-ui-attention-bell-fill') },
AutomationIcon: { name: 'rh-ui-automation', icon: getIconData('rh-ui-automation') },
BalanceScaleIcon: { name: 'rh-ui-scale-balanced', icon: getIconData('rh-ui-scale-balanced') },
BanIcon: { name: 'rh-ui-ban', icon: getIconData('rh-ui-ban') },
BarsIcon: { name: 'rh-ui-menu-bars', icon: getIconData('rh-ui-menu-bars') },
- BellIcon: { name: 'rh-ui-notification', icon: getIconData('rh-ui-notification') },
+ BellIcon: { name: 'rh-ui-notification-fill', icon: getIconData('rh-ui-notification-fill') },
BlueprintIcon: { name: 'rh-ui-blueprint', icon: getIconData('rh-ui-blueprint') },
BugIcon: { name: 'rh-ui-bug', icon: getIconData('rh-ui-bug') },
BundleIcon: { name: 'rh-ui-cubes', icon: getIconData('rh-ui-cubes') },
CaretDownIcon: { name: 'rh-ui-caret-down', icon: getIconData('rh-ui-caret-down') },
CatalogIcon: { name: 'rh-ui-catalog-alt', icon: getIconData('rh-ui-catalog-alt') },
- CheckCircleIcon: { name: 'rh-ui-check-circle', icon: getIconData('rh-ui-check-circle') },
+ CheckCircleIcon: { name: 'rh-ui-check-circle-fill', icon: getIconData('rh-ui-check-circle-fill') },
CheckIcon: { name: 'rh-ui-check', icon: getIconData('rh-ui-check') },
ClipboardCheckIcon: { name: 'rh-ui-check-clipboard', icon: getIconData('rh-ui-check-clipboard') },
CloudSecurityIcon: { name: 'rh-ui-cloud-security', icon: getIconData('rh-ui-cloud-security') },
@@ -58,8 +58,8 @@ export const pfToRhIcons = {
EllipsisVIcon: { name: 'rh-ui-ellipsis-vertical', icon: getIconData('rh-ui-ellipsis-vertical') },
EnhancementIcon: { name: 'rh-ui-enhancement', icon: getIconData('rh-ui-enhancement') },
EnterpriseIcon: { name: 'rh-ui-enterprise', icon: getIconData('rh-ui-enterprise') },
- ExclamationCircleIcon: { name: 'rh-ui-error', icon: getIconData('rh-ui-error') },
- ExclamationTriangleIcon: { name: 'rh-ui-warning', icon: getIconData('rh-ui-warning') },
+ ExclamationCircleIcon: { name: 'rh-ui-error-fill', icon: getIconData('rh-ui-error-fill') },
+ ExclamationTriangleIcon: { name: 'rh-ui-warning-fill', icon: getIconData('rh-ui-warning-fill') },
ExpandArrowsAltIcon: { name: 'rh-ui-expand-arrows', icon: getIconData('rh-ui-expand-arrows') },
ExpandIcon: { name: 'rh-ui-expand', icon: getIconData('rh-ui-expand') },
ExportIcon: { name: 'rh-ui-export', icon: getIconData('rh-ui-export') },
@@ -77,7 +77,7 @@ export const pfToRhIcons = {
HomeIcon: { name: 'rh-ui-home', icon: getIconData('rh-ui-home') },
ImageIcon: { name: 'rh-ui-image', icon: getIconData('rh-ui-image') },
ImportIcon: { name: 'rh-ui-import', icon: getIconData('rh-ui-import') },
- InfoCircleIcon: { name: 'rh-ui-information', icon: getIconData('rh-ui-information') },
+ InfoCircleIcon: { name: 'rh-ui-information-fill', icon: getIconData('rh-ui-information-fill') },
InfrastructureIcon: { name: 'rh-ui-infrastructure', icon: getIconData('rh-ui-infrastructure') },
InProgressIcon: { name: 'rh-ui-in-progress', icon: getIconData('rh-ui-in-progress') },
IntegrationIcon: { name: 'rh-ui-puzzle-piece', icon: getIconData('rh-ui-puzzle-piece') },
diff --git a/packages/react-integration/demo-app-ts/src/components/demos/FormDemo/FormDemo.tsx b/packages/react-integration/demo-app-ts/src/components/demos/FormDemo/FormDemo.tsx
index 1f7444fe6ce..87dbc137068 100644
--- a/packages/react-integration/demo-app-ts/src/components/demos/FormDemo/FormDemo.tsx
+++ b/packages/react-integration/demo-app-ts/src/components/demos/FormDemo/FormDemo.tsx
@@ -26,7 +26,7 @@ import {
MenuToggle,
MenuToggleElement
} from '@patternfly/react-core';
-import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
+import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
@@ -358,7 +358,7 @@ export class FormDemo extends Component {
/>
}
+ icon={}
variant={isValid ? ValidatedOptions.default : ValidatedOptions.error}
>
{isValid ? 'Please write your age' : 'Age has to be a number'}
diff --git a/packages/react-integration/demo-app-ts/src/components/demos/LabelDemo/LabelDemo.tsx b/packages/react-integration/demo-app-ts/src/components/demos/LabelDemo/LabelDemo.tsx
index 73366479371..03b1e821364 100644
--- a/packages/react-integration/demo-app-ts/src/components/demos/LabelDemo/LabelDemo.tsx
+++ b/packages/react-integration/demo-app-ts/src/components/demos/LabelDemo/LabelDemo.tsx
@@ -1,6 +1,6 @@
import { Label } from '@patternfly/react-core';
import { Component } from 'react';
-import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
+import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
export class LabelDemo extends Component {
componentDidMount() {
@@ -10,9 +10,9 @@ export class LabelDemo extends Component {
render() {
return (
<>
- }>Grey icon{' '}
+ }>Grey icon{' '}
{' '}
- } onClose={() => {}}>
+ } onClose={() => {}}>
Grey icon removeable
{' '}
{' '}
@@ -30,13 +30,13 @@ export class LabelDemo extends Component {
{' '}
- }>
+ }>
Grey icon
{' '}
{' '}
- } onClose={() => {}}>
+ } onClose={() => {}}>
Grey icon removeable
{' '}
{' '}
- }>
+ }>
Blue icon
- } textMaxWidth="150px">
+ } textMaxWidth="150px">
Very very very very long label text that should be truncated
diff --git a/packages/react-integration/demo-app-ts/src/components/demos/LoginPageDemo/LoginPageDemo.tsx b/packages/react-integration/demo-app-ts/src/components/demos/LoginPageDemo/LoginPageDemo.tsx
index 797cc1d5ab3..a0db7446bd2 100644
--- a/packages/react-integration/demo-app-ts/src/components/demos/LoginPageDemo/LoginPageDemo.tsx
+++ b/packages/react-integration/demo-app-ts/src/components/demos/LoginPageDemo/LoginPageDemo.tsx
@@ -11,7 +11,7 @@ import {
ListItem,
ListVariant
} from '@patternfly/react-core';
-import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
+import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
export interface LoginPageDemoState {
showHelperText: boolean;
@@ -59,7 +59,7 @@ export class LoginPageDemo extends Component, Lo
render() {
const helperText = (
<>
-
+
Invalid login credentials.
>
);
diff --git a/packages/react-integration/demo-app-ts/src/components/demos/MenuDemo/MenuDemo.tsx b/packages/react-integration/demo-app-ts/src/components/demos/MenuDemo/MenuDemo.tsx
index 9fe00f979d8..a9b84c0f984 100644
--- a/packages/react-integration/demo-app-ts/src/components/demos/MenuDemo/MenuDemo.tsx
+++ b/packages/react-integration/demo-app-ts/src/components/demos/MenuDemo/MenuDemo.tsx
@@ -21,7 +21,7 @@ import {
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
import LayerGroupIcon from '@patternfly/react-icons/dist/esm/icons/layer-group-icon';
-import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
+import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
import ClipboardIcon from '@patternfly/react-icons/dist/esm/icons/clipboard-icon';
import TableIcon from '@patternfly/react-icons/dist/esm/icons/table-icon';
@@ -462,7 +462,7 @@ export class MenuDemo extends Component {
} actionId="alert" aria-label="Alert" />}
+ actions={} actionId="alert" aria-label="Alert" />}
description="This is a description"
itemId={1}
>
@@ -512,7 +512,7 @@ export class MenuDemo extends Component {
text: 'Item 3',
description: 'Description 3',
itemId: 'item-3',
- action: ,
+ action: ,
actionId: 'bell'
}
];
diff --git a/packages/react-table/src/demos/Table.md b/packages/react-table/src/demos/Table.md
index 19e9f396bc9..ed3dd358a96 100644
--- a/packages/react-table/src/demos/Table.md
+++ b/packages/react-table/src/demos/Table.md
@@ -58,20 +58,19 @@ import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
import SortAmountDownIcon from '@patternfly/react-icons/dist/esm/icons/sort-amount-down-icon';
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
-import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
+import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
import AngleDownIcon from '@patternfly/react-icons/dist/esm/icons/angle-down-icon';
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
-import AttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/attention-bell-icon';
import BlueprintIcon from '@patternfly/react-icons/dist/esm/icons/blueprint-icon';
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
import { rows, columns } from '@patternfly/react-table/dist/esm/demos/sampleData';
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
-import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
+import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
## Demos
diff --git a/packages/react-table/src/demos/examples/TableEmptyStateError.tsx b/packages/react-table/src/demos/examples/TableEmptyStateError.tsx
index ff604e9794f..b0f97485e20 100644
--- a/packages/react-table/src/demos/examples/TableEmptyStateError.tsx
+++ b/packages/react-table/src/demos/examples/TableEmptyStateError.tsx
@@ -1,6 +1,6 @@
import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table';
import { Bullseye, EmptyState, EmptyStateVariant, EmptyStateBody, PageSection } from '@patternfly/react-core';
-import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
+import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
import { DashboardWrapper } from '@patternfly/react-table/dist/esm/demos/DashboardWrapper';
export const TableEmptyStateError: React.FunctionComponent = () => (
@@ -21,7 +21,7 @@ export const TableEmptyStateError: React.FunctionComponent = () => (
|
|