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

Update dependency @elastic/eui to v11.3.1 - autoclosed #38434

Closed
wants to merge 5 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 7, 2019

This PR contains the following updates:

Package Type Update Change
@elastic/eui dependencies minor 11.0.1 -> 11.3.1

Release Notes

elastic/eui

v11.3.1

Compare Source

Bug fixes

  • Fixed EuiBadge conflicts with providing both iconOnClick and onClick (#​1994)
  • Fixed optional TS definitions for EuiColorPicker onBlur and onFocus callbacks (#​1993)
  • Fixed EuiIcon again so that webpack can build dynamic require contexts (#​1998)
  • Fixed double borders on prepend/append items in EuiFormControlLayout (#​1996)
  • Fixed EuiSuperSelect TS definitions (#​1995)

v11.3.0

Compare Source

  • Converted EuiTableRowHeaderCheckbox to TS (#​1973)
  • Added missing TypeScript definition for EuiFieldText's compressed prop (#​1977)
  • Converted EuiTableRowCellCheckbox to TS (#​1964)
  • Updated caniuse-lite version resolution (#​1970)
  • Added a webpack directive for naming icon chunks (#​1944)
  • Added ability to update EuiInMemoryTable sorting prop and remove columns after sorting is applied (#​1972)
  • Added onToggle callback to EuiAccordion (#​1974)
  • Removed options defaultProps value from EuiSuperSelect (#​1975)
  • Removed TSlint and will perform all linting through ESLint (#​1950)
  • Added new component EuiDelayRender (#​1876)
  • Replaced EuiColorPicker with custom, customizable component (#​1914)
  • Added jsx-a11y eslint plugin and rules to match Kibana (#​1952)
  • Changed EuiCopy beforeMessage prop to accept node instead of just string (#​1952)

Bug fixes

  • Fixed environment setup for running test-unit script on Windows (#​1971)
  • Fixed focus on single selection of EuiComboBox (#​1965)
  • Fixed type mismatch between PropType and TypeScript def for EuiGlobalToastList toast title (#​1978)
  • Fixed missing Typescript definition for EuiButton's color="text" option (#​1980)
  • Fixed Prettier formatting lint error in EuiTable TS def file (#​1986)
  • Fixed not clickable button with svg in Safari (#​1985)
  • Fixed EuiToggle pointer events for those using icons only (#​1991)

v11.2.1

Compare Source

Bug fixes

  • Fixed type mismatch between PropType and TypeScript def for EuiToast title (#​1962)

v11.2.0

Compare Source

  • Converted EuiFormControlLayoutCustomIcon to TS (#​1956)
  • Converted EuiStepNumber to TS (#​1893)
  • Converted EuiFormControlLayoutClearButton to TS (#​1922)
  • Added data-test-subj property to EuiDraggable and EuiDroppable (#​1943)
  • Added type definitions to EuiSuperSelect (#​1907)
  • Updated EuiIcon to use Slack's updated branding (#​1954)
  • Updated compile-icons script to format icon components with Prettier (#​1955)

Bug fixes

  • Addressed a chrome issue where negative letter-spacing can reverse RTL text in SVGs (#​1960)

v11.1.0

Compare Source

  • Converted pretty_interval to TS (#​1920)
  • Converted relative_options to TS (#​1921)
  • Added width to EuiFlexItem when gutter in EuiFlexGrid is set to none. (#​1941)
  • Format all JavaScript files with Prettier through ESLint (#​1906)
  • Replaced appSecurityAnalytics in EuiIcon with an updated SVG (#​1948)

Bug fixes

  • Removed unused prop enum of l in EuiButton (#​1936)
  • Fixed EuiSelect browser event inconsistencies by normalizing mouseup propagation (#​1926)
  • Removed children as a required prop for EuiOverlayMask (#​1937)

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot added release_note:skip Skip the PR/issue when compiling release notes renovate Renovate dependency update with major version updates v7.3.0 v8.0.0 labels Jun 7, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@renovate renovate bot requested review from a team as code owners June 11, 2019 23:55
@@ -32,7 +31,7 @@ export const FontPicker: FunctionComponent<Props> = props => {
<EuiSuperSelect
compressed
options={displayedFonts.map(font => ({
value: font.value,
value: font.value as FontValue,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/kibana-canvas this component states that arbitrary font values are supported, but the props and argument to the onSelect handler states that the value is a FontValue, not that it supports arbitrary strings... Can someone decide if it's better to ignore the fact that this supports arbitrary strings or should we switch away from FontValue for string types?

@renovate
Copy link
Contributor Author

renovate bot commented Jun 11, 2019

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

@@ -145,6 +144,92 @@ export class PrivilegeSpaceForm extends Component<Props, State> {

const hasSelectedSpaces = this.state.selectedSpaceIds.length > 0;

const options = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/kibana-security moving the options to their own definition converted the value properties to string types, rather than using their "const" types of 'basePrivilege_custom' | 'basePrivilege_read' | 'basePrivilege_all '. This is necessary because the valueOfSelected prop is receiving a generic string, and the value of these properties and the valueOfSelected prop much match. Alternatively we could update the valueOfSelected prop to get a 'basePrivilege_custom' | 'basePrivilege_read' | 'basePrivilege_all ' value... thoughts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this change - thanks for the explanation @spalger!

@@ -60,7 +56,6 @@ export const EventsSelect = pure<Props>(({ checkState, timelineId }) => {
itemClassName="eventsSelectItem"
onChange={noop}
options={getEventsSelectOptions()}
valueOfSelected={''}
Copy link
Contributor

@spalger spalger Jun 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elastic/secops The updates to EuiSuperSelect requires that the value properties of the options prop match the type of valueOfSelected. In this usage the options['value'] prop is of type EventsSelectAction or 'select-all' | 'select-none' | 'select-pinned' | 'select-unpinned' | 'pin-selected' | 'unpin-selected', which '' obviously doesn't meet. Can you please verify that removing this prop doesn't break anything?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @spalger , I found some other warning from EUI and some test case failed when I was running this branch, should we fix that in this branch as well?

@elasticmachine
Copy link
Contributor

💔 Build Failed

@spalger
Copy link
Contributor

spalger commented Jun 12, 2019

Looks like this work is already in progress in #38262

BTW, renovate will just reopen this pr if it's closed before #38262 is merged

@spalger spalger mentioned this pull request Jun 12, 2019
@renovate renovate bot changed the title Update dependency @elastic/eui to v11.3.1 Update dependency @elastic/eui to v11.3.1 - autoclosed Jun 14, 2019
@renovate renovate bot closed this Jun 14, 2019
@renovate renovate bot deleted the renovate/elastic-eui-11.x branch June 14, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes renovate Renovate dependency update with major version updates v7.3.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants