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 11.3.2 #38262

Merged
merged 28 commits into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
90ad3f6
eui 11.3.1
thompsongl Jun 6, 2019
6f28938
EuiSuperSelect TS updates
thompsongl Jun 6, 2019
07f2cf4
EuiColorPicker updates
thompsongl Jun 6, 2019
72ebfeb
EuiBadge updates
thompsongl Jun 6, 2019
93e166d
a11y updates
thompsongl Jun 6, 2019
1a77c6f
i18n service updates
thompsongl Jun 6, 2019
9c05c3e
remove unused translations
thompsongl Jun 6, 2019
910996d
move valueOfSelected logic to private method
thompsongl Jun 6, 2019
51cff3a
update EuiColorPicker class name
thompsongl Jun 6, 2019
8bd1547
Merge branch 'master' into eui/11.3
thompsongl Jun 6, 2019
6878c00
Updated canvas storyshots
cqliu1 Jun 6, 2019
e1229eb
Merge pull request #1 from cqliu1/eui/11.3-PATCH
thompsongl Jun 6, 2019
2329124
Merge branch 'master' into eui/11.3
thompsongl Jun 7, 2019
dd5310b
Merge branch 'eui/11.3' of https://github.com/thompsongl/kibana into …
thompsongl Jun 7, 2019
513f796
Merge branch 'master' into eui/11.3
thompsongl Jun 7, 2019
e5b38f6
Merge branch 'master' into eui/11.3
thompsongl Jun 10, 2019
55cfac0
i18n fixes; maps color selection position
thompsongl Jun 10, 2019
2f7f83c
Merge branch 'master' into eui/11.3
thompsongl Jun 11, 2019
0359858
update canvas storyshots
thompsongl Jun 11, 2019
859bcd5
i18n snapshot updates
thompsongl Jun 11, 2019
32a0d1b
Merge branch 'master' into eui/11.3
thompsongl Jun 12, 2019
9beaafa
snapshot updates
thompsongl Jun 12, 2019
4dbf040
Merge branch 'master' into eui/11.3
thompsongl Jun 12, 2019
f2d8f6a
Merge branch 'master' into eui/11.3
thompsongl Jun 14, 2019
b1d381d
11.3.2
thompsongl Jun 14, 2019
c045941
maps colorpicker
thompsongl Jun 14, 2019
a2be37e
space avatar colorpicker
thompsongl Jun 14, 2019
1674a72
Merge branch 'master' into eui/11.3
thompsongl Jun 14, 2019
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 @@ -104,7 +104,7 @@
"@babel/register": "7.4.4",
"@elastic/charts": "^4.2.6",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.3",
Expand Down
13 changes: 11 additions & 2 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.

62 changes: 54 additions & 8 deletions src/core/public/i18n/i18n_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ export class I18nService {
'Screen reader announcement that functionality is available in the page document',
}
),
'euiCardSelect.select': i18n.translate('core.euiCardSelect.select', {
defaultMessage: 'Select',
description: 'Displayed button text when a card option can be selected.',
}),
'euiCardSelect.selected': i18n.translate('core.euiCardSelect.selected', {
defaultMessage: 'Unavailable',
description: 'Displayed button text when a card option is selected.',
}),
'euiCardSelect.unavailable': i18n.translate('core.euiCardSelect.unavailable', {
defaultMessage: 'Selected',
description: 'Displayed button text when a card option is unavailable.',
}),
'euiCodeBlock.copyButton': i18n.translate('core.euiCodeBlock.copyButton', {
defaultMessage: 'Copy',
description: 'ARIA label for a button that copies source code text to the clipboard',
Expand All @@ -89,15 +101,22 @@ export class I18nService {
'ARIA label and tooltip content describing a button that expands an actions menu',
}
),
'euiColorPicker.colorSelectionLabel': ({ colorValue }: EuiValues) =>
i18n.translate('core.euiColorPicker.colorSelectionLabel', {
defaultMessage: 'Color selection is {colorValue}',
values: { colorValue },
'euiColorPicker.screenReaderAnnouncement': i18n.translate(
'core.euiColorPicker.screenReaderAnnouncement',
{
defaultMessage:
'A popup with a range of selectable colors opened. Tab forward to cycle through colors choices or press escape to close this popup.',
description:
'Message when the color picker popover is opened. Describes the interaction with the elements in the popover.',
}
),
'euiColorPicker.swatchAriaLabel': ({ swatch }: EuiValues) =>
i18n.translate('core.euiColorPicker.swatchAriaLabel', {
defaultMessage: 'Select {swatch} as the color',
values: { swatch },
description:
'Screen reader text to describe the action and hex value of the selectable option',
}),
'euiColorPicker.transparentColor': i18n.translate('core.euiColorPicker.transparentColor', {
defaultMessage: 'transparent',
description: 'Describes a color that is fully transparent',
}),
'euiComboBoxOptionsList.allOptionsSelected': i18n.translate(
'core.euiComboBoxOptionsList.allOptionsSelected',
{
Expand Down Expand Up @@ -144,6 +163,11 @@ export class I18nService {
values: { children },
description: 'ARIA label, `children` is the human-friendly value of an option',
}),
'euiFilterButton.filterBadge': ({ count, hasActiveFilters }: EuiValues) =>
i18n.translate('core.euiFilterButton.filterBadge', {
defaultMessage: '${count} ${filterCountLabel} filters',
values: { count, filterCountLabel: hasActiveFilters ? 'active' : 'available' },
}),
'euiForm.addressFormErrors': i18n.translate('core.euiForm.addressFormErrors', {
defaultMessage: 'Please address the errors in your form.',
}),
Expand All @@ -168,6 +192,9 @@ export class I18nService {
defaultMessage: 'Open navigation menu',
}
),
'euiHue.label': i18n.translate('core.euiHue.label', {
defaultMessage: 'Select the HSV color mode "hue" value',
}),
'euiModal.closeModal': i18n.translate('core.euiModal.closeModal', {
defaultMessage: 'Closes this modal window',
}),
Expand All @@ -193,6 +220,16 @@ export class I18nService {
defaultMessage: 'You are in a popup. To exit this popup, hit Escape.',
}
),
'euiSaturation.roleDescription': i18n.translate('core.euiSaturation.roleDescription', {
defaultMessage: 'HSV color mode saturation and value selection',
}),
'euiSaturation.screenReaderAnnouncement': i18n.translate(
'core.euiSaturation.screenReaderAnnouncement',
{
defaultMessage:
'Use the arrow keys to navigate the square color gradient. The coordinates resulting from each key press will be used to calculate HSV color mode "saturation" and "value" numbers, in the range of 0 to 1. Left and right decrease and increase (respectively) the "saturation" value. Up and down decrease and increase (respectively) the "value" value.',
}
),
'euiSelectable.loadingOptions': i18n.translate('core.euiSelectable.loadingOptions', {
defaultMessage: 'Loading options',
description: 'Placeholder message while data is asynchronously loaded',
Expand All @@ -207,6 +244,9 @@ export class I18nService {
values={{ searchValue }}
/>
),
'euiStat.loadingText': () => (
<FormattedMessage id="core.euiStat.loadingText" defaultMessage="Statistic is loading" />
),
'euiStep.completeStep': i18n.translate('core.euiStep.completeStep', {
defaultMessage: 'Step',
description:
Expand Down Expand Up @@ -260,6 +300,12 @@ export class I18nService {
defaultMessage: 'Rows per page',
description: 'Displayed in a button that toggles a table pagination menu',
}),
'euiTablePagination.rowsPerPageOption': ({ rowsPerPage }: EuiValues) =>
i18n.translate('core.euiTablePagination.rowsPerPageOption', {
defaultMessage: '{rowsPerPage} rows',
description: 'Displayed in a button that toggles the number of visible rows',
values: { rowsPerPage },
}),
'euiTableSortMobile.sorting': i18n.translate('core.euiTableSortMobile.sorting', {
defaultMessage: 'Sorting',
description: 'Displayed in a button that toggles a table sorting menu',
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 @@ -12,7 +12,7 @@
.tvbColorPicker__swatch {
// SASSTODO: Replace with EUI component
// sass-lint:disable-block placeholder-in-extend
@extend .euiColorPicker__swatch;
@extend .euiColorPickerSwatch;
}

.tvbColorPicker__swatch-empty {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"react": "^16.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"react": "^16.8.0"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"react": "^16.8.0"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"react": "^16.8.0",
"react-dom": "^16.8.0"
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"@babel/register": "7.4.4",
"@babel/runtime": "7.4.5",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "11.0.1",
"@elastic/eui": "11.3.2",
"@elastic/javascript-typescript-langserver": "^0.1.28",
"@elastic/lsp-extension": "^0.1.1",
"@elastic/node-crypto": "^1.0.0",
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 @@ -8,7 +8,6 @@ import {
EuiFlexGroup,
EuiFlexItem,
EuiFormRow,
// @ts-ignore
EuiSuperSelect,
EuiText
} from '@elastic/eui';
Expand Down

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

Loading