Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade EUI to v94.2.1 #182023

Merged
merged 13 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"resolutions": {
"**/@bazel/typescript/protobufjs": "6.11.4",
"**/@hello-pangea/dnd": "16.2.0",
"**/@hello-pangea/dnd": "16.6.0",
"**/@langchain/core": "0.1.53",
"**/@types/node": "20.10.5",
"**/@typescript-eslint/utils": "5.62.0",
Expand Down Expand Up @@ -108,7 +108,7 @@
"@elastic/ecs": "^8.11.1",
"@elastic/elasticsearch": "^8.13.0",
"@elastic/ems-client": "8.5.1",
"@elastic/eui": "94.1.0-backport.0",
"@elastic/eui": "94.2.1-backport.0",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "1.2.1",
"@elastic/numeral": "^2.5.1",
Expand All @@ -134,7 +134,7 @@
"@hapi/hoek": "^9.2.1",
"@hapi/inert": "^6.0.4",
"@hapi/wreck": "^17.1.0",
"@hello-pangea/dnd": "16.2.0",
"@hello-pangea/dnd": "16.6.0",
"@kbn/aad-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/aad",
"@kbn/ace": "link:packages/kbn-ace",
"@kbn/actions-plugin": "link:x-pack/plugins/actions",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@ export const getEuiContextMapping = (): EuiTokensObject => {
'core.euiCollapsibleNavButton.ariaLabelOpen',
{ defaultMessage: 'Open navigation' }
),
'euiCollapsibleNavKibanaSolution.switcherTitle': i18n.translate(
'core.euiCollapsibleNavKibanaSolution.switcherTitle',
{ defaultMessage: 'Solution view' }
),
'euiCollapsibleNavKibanaSolution.switcherAriaLabel': i18n.translate(
'core.euiCollapsibleNavKibanaSolution.switcherAriaLabel',
{ defaultMessage: '- click to switch to another solution' }
),
'euiCollapsibleNavKibanaSolution.groupLabel': i18n.translate(
'core.euiCollapsibleNavKibanaSolution.groupLabel',
{ defaultMessage: 'Navigate to solution' }
),
'euiColorPicker.alphaLabel': i18n.translate('core.euiColorPicker.alphaLabel', {
defaultMessage: 'Alpha channel (opacity) value',
description: 'Label describing color alpha channel',
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ describe('KibanaPageTemplateInner', () => {
test('page sidebar', () => {
const component = shallow(<KibanaPageTemplateInner pageSideBar={<>Test</>} />);
expect(component).toMatchSnapshot();
expect(component.find('EuiPageSidebar')).toHaveLength(1);
expect(component.find('_EuiPageSidebar')).toHaveLength(1);
});
});
2 changes: 1 addition & 1 deletion src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const LICENSE_OVERRIDES = {
'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'@elastic/ems-client@8.5.1': ['Elastic License 2.0'],
'@elastic/eui@94.1.0-backport.0': ['SSPL-1.0 OR Elastic License 2.0'],
'@elastic/eui@94.2.1-backport.0': ['SSPL-1.0 OR Elastic License 2.0'],
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
'@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ export const QueryBarTopRow = React.memo(
fill={props.isDirty}
needsUpdate={props.isDirty}
data-test-subj="querySubmitButton"
// @ts-expect-error Need to fix expecting `children` in EUI
toolTipProps={{
content: props.isDirty ? tooltipDirty : buttonLabelRefresh,
delay: 'long',
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ describe('RoleComboBox', () => {
fullWidth={false}
isClearable={true}
onChange={[Function]}
optionMatcher={[Function]}
options={
Array [
Object {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export const useActionsLogFilter = ({
status={getActionStatus(statusName)}
/>
) as unknown as string,
searchableLabel: statusName,
checked: !isFlyout && statuses?.includes(statusName) ? 'on' : undefined,
'data-test-subj': `${filterName}-filter-option`,
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ describe('of expression', () => {
isInvalid={false}
noSuggestions={true}
onChange={[Function]}
optionMatcher={[Function]}
options={Array []}
placeholder="Select a field"
selectedOptions={
Expand Down Expand Up @@ -90,6 +91,7 @@ describe('of expression', () => {
isInvalid={false}
noSuggestions={false}
onChange={[Function]}
optionMatcher={[Function]}
options={
Array [
Object {
Expand Down