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 v37.1.1 #108210

Merged
merged 22 commits into from
Aug 16, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary.14",
"@elastic/ems-client": "7.14.0",
"@elastic/eui": "36.1.0",
"@elastic/eui": "37.1.1",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "^9.0.1-kibana3",
"@elastic/maki": "6.3.0",
Expand Down
2 changes: 2 additions & 0 deletions src/core/public/i18n/__snapshots__/i18n_service.test.tsx.snap

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

10 changes: 10 additions & 0 deletions src/core/public/i18n/i18n_eui_mapping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,16 @@ export const getEuiContextMapping = (): EuiTokensObject => {
description: 'Descending size label',
}
),
'euiDatePopoverButton.invalidTitle': ({ title }: EuiValues) =>
i18n.translate('core.euiDatePopoverButton.invalidTitle', {
defaultMessage: 'Invalid date: {title}',
values: { title },
}),
'euiDatePopoverButton.outdatedTitle': ({ title }: EuiValues) =>
i18n.translate('core.euiDatePopoverButton.outdatedTitle', {
defaultMessage: 'Update needed: {title}',
values: { title },
}),
'euiFieldPassword.showPassword': i18n.translate('core.euiFieldPassword.showPassword', {
defaultMessage:
'Show password as plain text. Note: this will visually expose your password on the screen.',
Expand Down
2 changes: 1 addition & 1 deletion src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const LICENSE_OVERRIDES = {
'@mapbox/[email protected]': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
'[email protected]': ['(GPL-2.0 OR MIT)'], // GPL-2.0* https://github.com/taozhi8833998/node-sql-parser
'@elastic/[email protected]': ['Elastic License 2.0'],
'@elastic/eui@36.0.0': ['SSPL-1.0 OR Elastic License 2.0'],
'@elastic/eui@37.1.1': ['SSPL-1.0 OR Elastic License 2.0'],

// TODO can be removed if the https://github.com/jindw/xmldom/issues/239 is released
'[email protected]': ['MIT'],
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 @@ -28,8 +28,8 @@ import {
import { cleanKibana } from '../../tasks/common';

const ABSOLUTE_DATE = {
endTime: '2019-08-01T20:33:29.186Z',
startTime: '2019-08-01T20:03:29.186Z',
endTime: 'Aug 1, 2019 @ 20:33:29.186',
startTime: 'Aug 1, 2019 @ 20:03:29.186',
};

const RULE_ID = '5a4a0460-d822-11eb-8962-bfd4aff0a9b3';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ import { TIMELINE } from '../../screens/create_new_case';
import { cleanKibana } from '../../tasks/common';

const ABSOLUTE_DATE = {
endTime: '2019-08-01T20:33:29.186Z',
endTime: 'Aug 1, 2019 @ 20:33:29.186',
endTimeTimeline: '2019-08-02T21:03:29.186Z',
endTimeTimelineFormatted: 'Aug 2, 2019 @ 21:03:29.186',
newEndTimeTyped: 'Aug 01, 2019 @ 15:03:29.186',
newStartTimeTyped: 'Aug 01, 2019 @ 14:33:29.186',
startTime: '2019-08-01T20:03:29.186Z',
startTime: 'Aug 1, 2019 @ 20:03:29.186',
startTimeTimeline: '2019-08-02T20:03:29.186Z',
startTimeTimelineFormatted: 'Aug 2, 2019 @ 20:03:29.186',
firefoxEndTimeTyped: '2019-08-01T15:03:29',
firefoxStartTimeTyped: '2019-08-01T14:33:29',
};
Expand Down Expand Up @@ -122,12 +124,12 @@ describe('url state', () => {
cy.get(DATE_PICKER_START_DATE_POPOVER_BUTTON_TIMELINE).should(
'have.attr',
'title',
ABSOLUTE_DATE.startTimeTimeline
ABSOLUTE_DATE.startTimeTimelineFormatted
);
cy.get(DATE_PICKER_END_DATE_POPOVER_BUTTON_TIMELINE).should(
'have.attr',
'title',
ABSOLUTE_DATE.endTimeTimeline
ABSOLUTE_DATE.endTimeTimelineFormatted
);
});

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1466,10 +1466,10 @@
resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314"
integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ==

"@elastic/eui@36.1.0":
version "36.1.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-36.1.0.tgz#99946e193bc9d1616f52cbd16e1a5bc196bd450f"
integrity sha512-j09Kv5K9YBkb9NkM3+cGparJeYfjLfwyypG27UYvSOLCpOYxS3bPycwmD7QrzPjoTqH+HHzDanHSwJMp6ttabA==
"@elastic/eui@37.1.1":
version "37.1.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-37.1.1.tgz#06bd1e1908b8b56525107a3eca42af036b950ab5"
integrity sha512-wEehwi9Ei81ydl8ExDuALbzDH6dgaHqKSlv/3Pmm+BcuW8FW4ctr8K5YPSJ7+5hdOdG0Bps5nnIpCDEinXSsLw==
dependencies:
"@types/chroma-js" "^2.0.0"
"@types/lodash" "^4.14.160"
Expand Down