Skip to content

Commit

Permalink
chore: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed Jun 10, 2024
2 parents f03c094 + 4d35ae2 commit 94b64fd
Show file tree
Hide file tree
Showing 95 changed files with 319 additions and 312 deletions.
4 changes: 4 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"settingsInheritedFrom": "ibm-mend-config/mend-config@main",
"minSeverityLevel": "NONE"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"postinstall": "husky"
},
"resolutions": {
"@types/react": "~18.2.33",
"@types/react": "~18.3.0",
"@types/prop-types": "15.7.12",
"ast-types": "^0.14.0",
"node-sass": "^9.0.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-is": "~18.2.0"
"react": "~18.3.0",
"react-dom": "~18.3.0",
"react-is": "~18.3.0"
},
"devDependencies": {
"@babel/core": "^7.18.2",
Expand All @@ -53,7 +53,7 @@
"@percy/playwright": "^1.0.4",
"@playwright/test": "^1.36.2",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^15.0.0",
"@testing-library/react": "^15.0.6",
"@testing-library/user-event": "^14.4.3",
"@types/react-is": "~18.2.0",
"accessibility-checker": "^3.1.48",
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/components/ComboBox/ComboBox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import {
generateGenericItem,
} from '../ListBox/test-helpers';
import ComboBox from '../ComboBox';
import { act } from 'react-dom/test-utils';
import { act } from 'react';

import { Slug } from '../Slug';

const findInputNode = () => screen.getByRole('combobox');
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export type CalRef = {
plugins: [];
clickOpens: any;
};
interface DatePickerProps {
export interface DatePickerProps {
/**
* Flatpickr prop passthrough enables direct date input, and when set to false,
* we must clear dates manually by resetting the value prop to empty string making it a controlled input.
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/DatePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* LICENSE file in the root directory of this source tree.
*/

import DatePicker from './DatePicker';
import DatePicker, { type DatePickerProps } from './DatePicker';

export {
default as DatePickerSkeleton,
type DatePickerSkeletonProps,
} from './DatePicker.Skeleton';
export default DatePicker;
export { DatePicker };
export { DatePicker, type DatePickerProps };
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type ReactNodeLike =

export type func = (...args: any[]) => any;

interface DatePickerInputProps
export interface DatePickerInputProps
extends Omit<ReactAttr<HTMLInputElement>, ExcludedAttributes> {
/**
* The type of the date picker:
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/DatePickerInput/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import DatePickerInput from './DatePickerInput';
import DatePickerInput, { type DatePickerInputProps } from './DatePickerInput';
export default DatePickerInput;
export { DatePickerInput };
export { DatePickerInput, type DatePickerInputProps };
6 changes: 0 additions & 6 deletions packages/react/src/components/Dropdown/Dropdown.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,22 @@ export default {

const items = [
{
id: 'option-0',
text: 'Lorem, ipsum dolor sit amet consectetur adipisicing elit.',
},
{
id: 'option-1',
text: 'Option 1',
},
{
id: 'option-2',
text: 'Option 2',
},
{
id: 'option-3',
text: 'Option 3 - a disabled item',
disabled: true,
},
{
id: 'option-4',
text: 'Option 4',
},
{
id: 'option-5',
text: 'Option 5',
},
];
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/components/Tabs/Tabs-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Tabs, Tab, TabPanel, TabPanels, TabList } from './Tabs';
import { act } from 'react-dom/test-utils';
import { act } from 'react';

import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import * as hooks from '../../internal/useMatchMedia';
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/UIShell/HeaderMenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const HeaderMenuItem: HeaderMenuItemComponent = forwardRef(
</li>
);
}
);
) as HeaderMenuItemComponent;

HeaderMenuItem.displayName = 'HeaderMenuItem';
HeaderMenuItem.propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/UIShell/SideNavLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const SideNavLink: SideNavLinkComponent = forwardRef(function SideNavLink<
</Link>
</SideNavItem>
);
});
}) as SideNavLinkComponent;

SideNavLink.displayName = 'SideNavLink';
SideNavLink.propTypes = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

import { render } from '@testing-library/react';
import React from 'react';
import { act } from 'react-dom/test-utils';
import { act } from 'react';

import { HeaderContainer } from '../';

describe('HeaderContainer', () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/internal/__tests__/useMatchMedia-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

import { render } from '@testing-library/react';
import React from 'react';
import { act } from 'react-dom/test-utils';
import { act } from 'react';

import { useMatchMedia } from '../useMatchMedia';

describe('useMatchMedia', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"autoprefixer": "^10.4.7",
"browserslist-config-carbon": "^11.2.0",
"css": "^3.0.0",
"cssnano": "^6.0.0",
"cssnano": "^7.0.0",
"lodash.isequal": "^4.5.0",
"postcss": "^8.4.14",
"postcss-flexbugs-fixes": "^5.0.2",
Expand Down
Loading

0 comments on commit 94b64fd

Please sign in to comment.