Skip to content

Commit f23294b

Browse files
committed
chore(deps): Update components to use new JSX transform
1 parent ece9e07 commit f23294b

File tree

536 files changed

+728
-1149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

536 files changed

+728
-1149
lines changed

packages/react-charts/src/victory/components/ChartLabel/ChartLabel.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { render } from '@testing-library/react';
32
import { ChartLabel } from './ChartLabel';
43

packages/react-charts/src/victory/components/ChartLabel/ChartLabel.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import hoistNonReactStatics from 'hoist-non-react-statics';
32
import defaults from 'lodash/defaults';
43
import {
@@ -54,7 +53,7 @@ export interface ChartLabelProps extends VictoryLabelProps {
5453
*/
5554
className?: string;
5655
/**
57-
* Labels that apply to an entire data series will recieve the entire series as `data` instead of an individual datum
56+
* Labels that apply to an entire data series will receive the entire series as `data` instead of an individual datum
5857
* prop.
5958
*/
6059
data?: any[];
@@ -111,7 +110,7 @@ export interface ChartLabelProps extends VictoryLabelProps {
111110
/**
112111
* The labelPlacement prop is used to specify the placement of labels relative to the data point they represent.
113112
* This prop may be given as “vertical”, “parallel” or “perpendicular”. This props is particularly useful in polar
114-
* charts, where it may be desireable to position a label either parallel or perpendicular to its corresponding angle.
113+
* charts, where it may be desirable to position a label either parallel or perpendicular to its corresponding angle.
115114
* When this prop is not set, perpendicular label placement will be used for polar charts, and vertical label
116115
* placement will be used for cartesian charts.
117116
*

packages/react-core/src/components/AboutModal/AboutModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import backgroundImage from '@patternfly/react-tokens/dist/esm/c_about_modal_box_BackgroundImage';
43
import { AboutModalBoxContent } from './AboutModalBoxContent';

packages/react-core/src/components/AboutModal/AboutModalBox.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
43

packages/react-core/src/components/AboutModal/AboutModalBoxBrand.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
43

packages/react-core/src/components/AboutModal/AboutModalBoxCloseButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
43
import { Button } from '../Button';

packages/react-core/src/components/AboutModal/AboutModalBoxContent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
43
import contentStyles from '@patternfly/react-styles/css/components/Content/content';

packages/react-core/src/components/AboutModal/AboutModalBoxHeader.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { css } from '@patternfly/react-styles';
32
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
43
import { Title } from '../Title';

packages/react-core/src/components/AboutModal/__tests__/AboutModal.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as React from 'react';
2-
31
import { render, screen } from '@testing-library/react';
42
import userEvent from '@testing-library/user-event';
53

packages/react-core/src/components/AboutModal/__tests__/AboutModalBox.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { render } from '@testing-library/react';
32
import { AboutModalBox } from '../AboutModalBox';
43

0 commit comments

Comments
 (0)