-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Conversation
💔 Build Failed |
@@ -32,7 +31,7 @@ export const FontPicker: FunctionComponent<Props> = props => { | |||
<EuiSuperSelect | |||
compressed | |||
options={displayedFonts.map(font => ({ | |||
value: font.value, | |||
value: font.value as FontValue, |
There was a problem hiding this comment.
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?
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 = [ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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={''} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
💔 Build Failed |
This PR contains the following updates:
11.0.1
->11.3.1
Release Notes
elastic/eui
v11.3.1
Compare Source
Bug fixes
EuiBadge
conflicts with providing bothiconOnClick
andonClick
(#1994)EuiColorPicker
onBlur
andonFocus
callbacks (#1993)EuiIcon
again so that webpack can build dynamic require contexts (#1998)EuiFormControlLayout
(#1996)EuiSuperSelect
TS definitions (#1995)v11.3.0
Compare Source
EuiTableRowHeaderCheckbox
to TS (#1973)EuiFieldText
'scompressed
prop (#1977)EuiTableRowCellCheckbox
to TS (#1964)caniuse-lite
version resolution (#1970)EuiInMemoryTable
sorting
prop and remove columns after sorting is applied (#1972)onToggle
callback toEuiAccordion
(#1974)options
defaultProps
value fromEuiSuperSelect
(#1975)EuiDelayRender
(#1876)EuiColorPicker
with custom, customizable component (#1914)jsx-a11y
eslint
plugin and rules to match Kibana (#1952)EuiCopy
beforeMessage
prop to acceptnode
instead of juststring
(#1952)Bug fixes
test-unit
script on Windows (#1971)EuiGlobalToastList
toasttitle
(#1978)EuiButton
'scolor="text"
option (#1980)EuiTable
TS def file (#1986)EuiToggle
pointer events for those using icons only (#1991)v11.2.1
Compare Source
Bug fixes
EuiToast
title
(#1962)v11.2.0
Compare Source
EuiFormControlLayoutCustomIcon
to TS (#1956)EuiStepNumber
to TS (#1893)EuiFormControlLayoutClearButton
to TS (#1922)data-test-subj
property toEuiDraggable
andEuiDroppable
(#1943)EuiSuperSelect
(#1907)EuiIcon
to use Slack's updated branding (#1954)compile-icons
script to format icon components with Prettier (#1955)Bug fixes
v11.1.0
Compare Source
pretty_interval
to TS (#1920)relative_options
to TS (#1921)EuiFlexItem
when gutter inEuiFlexGrid
is set to none. (#1941)appSecurityAnalytics
inEuiIcon
with an updated SVG (#1948)Bug fixes
l
inEuiButton
(#1936)EuiSelect
browser event inconsistencies by normalizingmouseup
propagation (#1926)children
as a required prop forEuiOverlayMask
(#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.
This PR has been generated by Renovate Bot. View repository job log here.