Skip to content

Commit

Permalink
Upgrade EUI to v80.0.0 (#157939)
Browse files Browse the repository at this point in the history
## Summary

`@elastic/eui@79.0.1` ⏩ `@elastic/eui@80.0.0`

---

## [`80.0.0`](https://github.com/elastic/eui/tree/v80.0.0)

- Improved the contrast ratio of meta labels within
`EuiSelectableTemplateSitewide` to meet WCAG AA guidelines.
([#6761](elastic/eui#6761))
- Added `vulnerabilityManagementApp` glyph to `EuiIcon`
([#6762](elastic/eui#6762))
- Added `logoVulnerabilityManagement` icon to `EuiIcon`
([#6763](elastic/eui#6763))
- Added `onPanelChange` callback to `EuiContextMenu` to provide consumer
access to `panelId` and `direction`.
([#6767](elastic/eui#6767))

**Bug fixes**

- Fixed `EuiComboBox` so `append` and `prepend` icon buttons are full
height and vertically centered.
([#6766](elastic/eui#6766))
- Improved the uniformity of dropdown components by hiding the dropdown
icon of disabled `EuiComboBox`s.
([#6768](elastic/eui#6768))

**Breaking changes**

- `EuiFieldNumber` now defaults the `step` prop to `"any"`
([#6760](elastic/eui#6760))
- EUI now globally resets a default Chromium browser style that was
decreasing the opacity of disabled `select` items.
([#6768](elastic/eui#6768))

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
tkajtoch and kibanamachine authored May 18, 2023
1 parent e6ee79b commit b754a2d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 75 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@elastic/datemath": "5.0.3",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.6.0-canary.3",
"@elastic/ems-client": "8.4.0",
"@elastic/eui": "79.0.1",
"@elastic/eui": "80.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "1.2.1",
"@elastic/numeral": "^2.5.1",
Expand Down

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

2 changes: 1 addition & 1 deletion src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ 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.4.0': ['Elastic License 2.0'],
'@elastic/eui@79.0.1': ['SSPL-1.0 OR Elastic License 2.0'],
'@elastic/eui@80.0.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
};
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class DecimalDegreesForm extends Component<Props, State> {
onChange={this._onLatChange}
isInvalid={isLatInvalid}
data-test-subj="latitudeInput"
step="any" // Browsers will validate decimals as invalid otherwise
/>
</EuiFormRow>

Expand All @@ -108,7 +107,6 @@ export class DecimalDegreesForm extends Component<Props, State> {
onChange={this._onLonChange}
isInvalid={isLonInvalid}
data-test-subj="longitudeInput"
step="any" // Browsers will validate decimals as invalid otherwise
/>
</EuiFormRow>

Expand All @@ -126,7 +124,6 @@ export class DecimalDegreesForm extends Component<Props, State> {
onChange={this._onZoomChange}
isInvalid={isZoomInvalid}
data-test-subj="zoomInput"
step="any" // Browsers will validate decimals as invalid otherwise
/>
</EuiFormRow>

Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/functional/services/ml/settings_calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function MachineLearningSettingsCalendarProvider(

async assertJobSelectionEnabled(expectedValue: boolean) {
const isEnabled = await testSubjects.isEnabled(
'mlCalendarJobSelection > comboBoxToggleListButton'
'mlCalendarJobSelection > comboBoxSearchInput'
);
expect(isEnabled).to.eql(
expectedValue,
Expand All @@ -159,7 +159,7 @@ export function MachineLearningSettingsCalendarProvider(

async assertJobGroupSelectionEnabled(expectedValue: boolean) {
const isEnabled = await testSubjects.isEnabled(
'mlCalendarJobGroupSelection > comboBoxToggleListButton'
'mlCalendarJobGroupSelection > comboBoxSearchInput'
);
expect(isEnabled).to.eql(
expectedValue,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1543,10 +1543,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@79.0.1":
version "79.0.1"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-79.0.1.tgz#bb723c961f438df41f5b92292b59c204cd795558"
integrity sha512-xCB8a2DaiAIg1qsFgegmXT5niKhL6LKqhD0fCc1ut+BZDPq4XvqagwOdmYRvP9IpYDcS6sP+F89JVF0kaQsXXw==
"@elastic/eui@80.0.0":
version "80.0.0"
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-80.0.0.tgz#33e1df8a3f193fb6a7a4f7e52a3028983856ba3a"
integrity sha512-0xWizIQ/kH9N2n9zOficqXPdRbVxCpHez2ZErnvISAEOneJ6401usI7fILGKrrvR+uyiYnNybfaP3H8HcgDa+g==
dependencies:
"@types/chroma-js" "^2.0.0"
"@types/lodash" "^4.14.160"
Expand Down

0 comments on commit b754a2d

Please sign in to comment.