feat(EmptyState): Add rule to move EmptyStateHeader into EmptyState #671
check-pr.yml
on: pull_request
test
/
unit-tests
29s
test
/
error-tests
43s
Annotations
10 errors and 14 warnings
test / error-tests:
test/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx#L526
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx#L549
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/DualListSelector/examples/DualListSelectorComposable.tsx#L142
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/DualListSelector/examples/DualListSelectorComposableTree.tsx#L261
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateBasic.tsx#L14
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateCustomIconColor.tsx#L8
The color prop on EmptyStateIcon has been removed. We suggest using the new status prop on EmptyState to apply colors to the icon
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateCustomIconColor.tsx#L8
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateExtraLarge.tsx#L15
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateExtraSmall.tsx#L13
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / error-tests:
test/packages/react-core/src/components/EmptyState/examples/EmptyStateLarge.tsx#L15
EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState
|
test / unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test / unit-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test / error-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test / error-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksBasic.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksExpandableVerticalWithSubsection.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksVertical.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksVerticalWithLabel.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksWithCenteredList.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/JumpLinks/examples/JumpLinksWithLabel.tsx#L2
The markup for JumpLinksItem has changed, as it now uses our Button component internally. Additionally, the `onClick` prop type has been updated to just `React.MouseEvent` (previously `React.MouseEvent<HTMLAnchorElement>`)
|
test / error-tests:
test/packages/react-core/src/components/Page/examples/PageGroupSection.tsx#L105
Classes from the `variant` prop will now only be applied to PageSection when the `type` prop has a value of "default"
|
test / error-tests:
test/packages/react-core/src/components/Page/examples/PageGroupSection.tsx#L107
Classes from the `variant` prop will now only be applied to PageSection when the `type` prop has a value of "default"
|
test / error-tests:
test/packages/react-core/src/components/Page/examples/PageGroupSection.tsx#L108
Classes from the `variant` prop will now only be applied to PageSection when the `type` prop has a value of "default"
|
test / error-tests:
test/packages/react-core/src/components/Page/examples/PageHorizontalNav.tsx#L38
Classes from the `variant` prop will now only be applied to PageSection when the `type` prop has a value of "default"
|