-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Bumping EUI to version 67.1.8 #141279
Bumping EUI to version 67.1.8 #141279
Conversation
…UI to EuiButtonColor.
… where the EUI versions were out of sync
…o return an empty string instead of undefined when the label is unavailable
…is was renamed in PR #6150
…EuiCard Emotion conversions. Updated snapshots for EuiTooltip as it now contains the new EuiToolTipAnchor component that replaced the tooltip anchor styles
…escriptionList, EuiButtonIcon, and EuiBadge Emotion conversions.
…List, EuiButton, and EuiBadge Emotion conversions. Updated snapshots for EuiTooltip as if now contains the new EuiTooltipAnchor component that replaced the tooltop anchor styles
…ion conversion.
…ion conversion.
…and EuiButton Emotion conversions. Updated snapshots for EuiTooltip as it now contains the new EuiTooltipAnchor component that replaced the tooltip anchor styles.
…EuiButton Emotion conversions.
…iBadge, EuiButtonIcon, and EuiCard Emotion conversions. Updated snapshots for EuiToolTtip as it now contains the new EuiTooltipAnchor component that replaced the tooltip anchor styles
…lor'] as it was removed in PR #6150
…t a generic button to prevent undefined click event errors
…EuiCard Emotion conversions
…ut has been converted to Emotion and the Sass styles are no longer available in EUI
…allOut has been converted to Emotion and the Sass styles are no longer available in EUI
… conversions. Updated snapshots in server_status.test.tsx to render EuiBadge before checking the snapshots to reduce the snapshot churn caused by Emotion. Updated tests that target EuiButton to simulate click events to target a generic button to prevent undefined click event errors
…-ref HEAD~1..HEAD --fix'
…rade-67.1.2 Pulling in code from main branch
…into eui-upgrade-67.1.2 Pull code from working branch
…llOut mixin as the component has been converted to Emotion and is no longer available for use.
Updated snaphshots to account for EuiBadge, EuiDescriptionList, EuiFlyout, and EuiCard Emotion conversions. Updated snapshots for EuiTooltip as it now contains the new EuiTooltipAnchor component that replaced the tooltip anchor styles. Updated tests that target EuiButton to simulate click events to target a generic button element to prevent undefined click event errors
…mulate click events to target a generic button to prevent undefined click event errors
…et EuiButton to simulate click events. Instead, these tests now target a generic button element to prevent undefined click event errors
…rade-67.1.2 Merge main
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.
Vega specs which add scrolls don't work correctly.
Check this spec:
Open
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"background": "white",
"autosize": {"type": "pad", "resize": true, "contains": "padding"},
"padding": 5,
"data": [
{
"name": "source_0",
"url": {
"%context%": true,
"index": "kibana_sample_data_ecommerce",
"body": {
"size": 384,
"_source": ["customer_first_name", "total_unique_products"]
}
},
"format": {"property": "hits.hits", "type": "json", "parse": {}},
"transform": [
{
"type": "formula",
"expr": "datum[\"_source\"] && datum[\"_source\"][\"customer_first_name\"]",
"as": "_source.customer_first_name"
},
{
"type": "formula",
"expr": "datum[\"_source\"] && datum[\"_source\"][\"total_unique_products\"]",
"as": "_source.total_unique_products"
},
{
"type": "stack",
"groupby": ["_source", "_source\\.customer_first_name"],
"field": "_source\\.total_unique_products",
"sort": {
"field": ["_source\\.customer_first_name"],
"order": ["descending"]
},
"as": [
"_source.total_unique_products_start",
"_source.total_unique_products_end"
],
"offset": "zero"
},
{
"type": "filter",
"expr": "isValid(datum[\"_source.total_unique_products\"]) && isFinite(+datum[\"_source.total_unique_products\"])"
}
]
},
{
"name": "column_domain",
"source": "source_0",
"transform": [
{"type": "aggregate", "groupby": ["_source\\.customer_first_name"]}
]
}
],
"signals": [
{"name": "x_step", "value": 20},
{
"name": "child_width",
"update": "bandspace(domain('x').length, 0.1, 0.05) * x_step"
},
{"name": "child_height", "value": 200}
],
"layout": {
"padding": 20,
"titleAnchor": {"column": "end"},
"offset": {"columnTitle": 10},
"columns": {"signal": "length(data('column_domain'))"},
"bounds": "full",
"align": "all"
},
"marks": [
{
"name": "column-title",
"type": "group",
"role": "column-title",
"title": {
"text": "_source.customer_first_name",
"style": "guide-title",
"orient": "bottom",
"offset": 10
}
},
{
"name": "row_header",
"type": "group",
"role": "row-header",
"encode": {"update": {"height": {"signal": "child_height"}}},
"axes": [
{
"scale": "y",
"orient": "left",
"grid": false,
"title": "STL Average Throughput elements/sec,",
"tickCount": 5,
"labelOverlap": true,
"zindex": 0
}
]
},
{
"name": "column_footer",
"type": "group",
"role": "column-footer",
"from": {"data": "column_domain"},
"sort": {
"field": "datum[\"_source.customer_first_name\"]",
"order": "ascending"
},
"title": {
"text": {
"signal": "isValid(parent[\"_source.customer_first_name\"]) ? parent[\"_source.customer_first_name\"] : \"\"+parent[\"_source.customer_first_name\"]"
},
"style": "guide-label",
"frame": "group",
"orient": "bottom",
"offset": 10
},
"encode": {"update": {"width": {"signal": "child_width"}}}
},
{
"name": "cell",
"type": "group",
"style": "cell",
"from": {
"facet": {
"name": "facet",
"data": "source_0",
"groupby": ["_source\\.customer_first_name"]
}
},
"sort": {
"field": ["datum[\"_source.customer_first_name\"]"],
"order": ["ascending"]
},
"encode": {
"update": {
"width": {"signal": "child_width"},
"height": {"signal": "child_height"}
}
},
"marks": [
{
"type": "group",
"from": {
"facet": {
"data": "facet",
"name": "stack_group_child_main",
"groupby": ["_source"],
"aggregate": {
"fields": [
"_source\\.total_unique_products_start",
"_source\\.total_unique_products_start",
"_source\\.total_unique_products_end",
"_source\\.total_unique_products_end"
],
"ops": ["min", "max", "min", "max"]
}
}
},
"encode": {
"update": {
"x": {"scale": "x", "field": "_source"},
"width": {"scale": "x", "band": 1},
"y": {
"signal": "min(scale('y',datum[\"min__source.total_unique_products_start\"]),scale('y',datum[\"max__source.total_unique_products_start\"]),scale('y',datum[\"min__source.total_unique_products_end\"]),scale('y',datum[\"max__source.total_unique_products_end\"]))"
},
"y2": {
"signal": "max(scale('y',datum[\"min__source.total_unique_products_start\"]),scale('y',datum[\"max__source.total_unique_products_start\"]),scale('y',datum[\"min__source.total_unique_products_end\"]),scale('y',datum[\"max__source.total_unique_products_end\"]))"
},
"clip": {"value": true},
"cornerRadius": {"value": 5}
}
},
"marks": [
{
"type": "group",
"encode": {
"update": {
"y": {"field": {"group": "y"}, "mult": -1},
"width": {"field": {"group": "width"}}
}
},
"marks": [
{
"name": "child_marks",
"type": "rect",
"style": ["bar"],
"from": {"data": "stack_group_child_main"},
"encode": {
"update": {
"tooltip": {
"signal": "{\"_source.\": isValid(datum[\"_source\"]) ? datum[\"_source\"] : \"\"+datum[\"_source\"], \"_source.total_unique_products\": format(datum[\"_source.total_unique_products\"], \"\"), \"_source.customer_first_name\": isValid(datum[\"_source.customer_first_name\"]) ? datum[\"_source.customer_first_name\"] : \"\"+datum[\"_source.customer_first_name\"]}"
},
"fill": {
"scale": "color",
"field": "_source\\.customer_first_name"
},
"ariaRoleDescription": {"value": "bar"},
"description": {
"signal": "\"_source.: \" + (isValid(datum[\"_source\"]) ? datum[\"_source\"] : \"\"+datum[\"_source\"]) + \"; _source.total_unique_products: \" + (format(datum[\"_source.total_unique_products\"], \"\")) + \"; _source.customer_first_name: \" + (isValid(datum[\"_source.customer_first_name\"]) ? datum[\"_source.customer_first_name\"] : \"\"+datum[\"_source.customer_first_name\"])"
},
"width": {"field": {"group": "width"}},
"y": {
"scale": "y",
"field": "_source\\.total_unique_products_end"
},
"y2": {
"scale": "y",
"field": "_source\\.total_unique_products_start"
}
}
}
}
]
}
]
}
],
"axes": [
{
"scale": "y",
"orient": "left",
"tickCount": 5,
"gridScale": "x",
"grid": true,
"domain": false,
"labels": false,
"aria": false,
"maxExtent": 0,
"minExtent": 0,
"ticks": false,
"zindex": 0
}
]
}
],
"scales": [
{
"name": "x",
"type": "band",
"domain": {"data": "source_0", "field": "_source", "sort": true},
"range": {"step": {"signal": "x_step"}},
"paddingInner": 0.1,
"paddingOuter": 0.05
},
{
"name": "y",
"type": "linear",
"domain": {
"data": "source_0",
"fields": [
"_source\\.total_unique_products_start",
"_source\\.total_unique_products_end"
]
},
"range": [{"signal": "child_height"}, 0],
"nice": true,
"zero": true
},
{
"name": "color",
"type": "ordinal",
"domain": {
"data": "source_0",
"field": "_source\\.customer_first_name",
"sort": true
},
"range": {"scheme": "tableau20"}
}
],
"legends": [
{
"fill": "color",
"symbolType": "square",
"title": "_source.customer_first_name"
}
],
"config": {"style": {"cell": {"stroke": "transparent"}}}
}
This is how it should be(main)
This is how it looks on this PR (no scrollbars, autosize on resizing the panel doesn't work)
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.
rules alerts area LGTM
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.
c605cbd has fixed the Logs issue, thanks!
@stratoula this sounds similar to Andrew's finding. Would this be the same change you're referring to? Also, do you mind telling me how I can find the view you're referencing? |
@breehall Go to Visualize, Create a new visualization and click Custom Visualization There copy paste the spec I sent you. |
…ScrollStyles not to present the scroll bars in Vega Vis
…rade-67.1.2 Pulling main
@stratoula I just pushed a change for this. Do you mind verifying that you see the scroll bars on your end? This is what I'm able to see now: |
…ave been included in the actual class name
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.
✅
@elasticmachine merge upstream |
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.
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Summary
eui@64.0.4 ⏩ eui@67.1.8
67.1.8
Bug fixes
EuiCard
not correctly mergingcss
on its childicon
s (#6341)EuiCheckableCard
not settingcss
on the correct DOM node (#6341)EuiModal
s containingEuiBasicTable
s tall enough to scroll (#6343)67.1.7
Bug fixes
EuiBetaBadge
to always respect itsanchorProps
values, including when there is no tooltip content (#6326)enabled
option to the<EuiInMemoryTable />
executeQueryOptions
prop. This option prevents the Query from being executed when controlled by the consumer. (#6284)hint
prop to the<EuiSearchBar />
. This prop lets the consumer render a hint below the search bar that will be displayed on focus. (#6319)hasDragDrop
prop toEuiPopover
. Use this prop if your popover containsEuiDragDropContext
. (#6329)EuiModal
to not cause scroll-jumping issues on modal open (#6327)EuiPageTemplate
not recognizing childEuiPageSidebar
s/EuiPageTemplate.Sidebar
s withcss
props (#6324)EuiTour
where passing anypanelProps
would cause the beacon to disappear (#6298)EuiBreadcrumbs
'sbreadcrumbs
array not respectingtruncate
overrides (#6280)67.1.6
Bug fixes
EuiButton
not correctly passingtextProps
for children inside fragments or i18n components (#6332)EuiButton
not correctly respectingminWidth={0}
(#6332)67.1.5
Bug fixes
EuiButton
's cursor style when the button is disabled (#6323)67.1.4
Bug fixes
EuiHeader
CSS using removedEuiOverlayMask
class modifiers (#6293)67.1.3
Bug fixes
EuiOverlayMask
to set a[data-relative-to-header=above|below]
attribute to replace the--aboveHeader
and--belowHeader
classNames removed in its Emotion conversion67.1.2
Bug fixes
EuiFlyout
not correctly merging passedcss
(#6248)EuiNotificationEvent
not correctly merging passedclassName
s (#6248)EuiAvatar
to no longer mutate the object passed to itsstyle
prop (#6251)67.1.1
Bug fixes
EuiDataGrid
's broken fullscreen mode when nested within anEuiAccordion
(#6235)EuiPageSection
not correctly mergingcontentProps.css
(#6239)EuiPageHeaderContent
not correctly merging passedclassName
s (#6239)EuiAccordion
not correctly mergingbuttonProps.css
andarrowProps.css
(#6239)EuiProgress
not correctly merginglabelProps.css
(#6239)EuiImage
not correctly mergingwrapperProps.css
(#6239)CSS-in-JS conversions
EuiFlyout
to Emotion; Removed$euiFlyoutBorder
and$euiFlyoutPaddingModifiers
(#6213)67.1.0
EuiProvider
(#6216)EuiBadge
's disabled styling to matchEuiButton
(#6224)custom_component
search filter type for the EuiSearchBar. This new type gives the consumer control to render the search filter dropdown. (#6226)Bug fixes
Query.toESQuery()
to generate bool queries instead of relying on match query logic, to work with non-text fields (#6220)EuiInMemoryTable
's internal state tracking to include changes ofsorting.sort
values (#6228)EuiButton
whereiconSize
was not being applied (#6230)CSS-in-JS conversions
EuiBadge
to Emotion (#6224)67.0.0
EuiSuggest
to accept theisPreFiltered
prop (#5930)EuiOverlayMask
to useEuiPortal
(#6090)EuiToolTipPopover
to be a function component (#6104)EuiToolTipAnchor
andEuiToolTipArrow
components (#6104)component
prop toEuiPageSection
, allowing overriding of the defaultsection
tag (#6192)Bug fixes
EuiProvider
cache is not configured. (#6202)className
andrest
props were not being passed to theEuiNotificationEvent
(#6208)componentProps
throwing type errors on thecss
prop (#6211)Deprecations
@deprecated
flags toEuiPageContent_Deprecated
,EuiPageContentBody_Deprecated
,EuiPageContentHeader_Deprecated
,EuiPageContentHeaderSection_Deprecated
,EuiPageSideBar_Deprecated
andEuiPageTemplate_Deprecated
, which will provide helpful hints to IDEs that support jsdoc flags. Consumers will have until August 2023 to migrate from these deprecated components. (#6194)Breaking changes
onClick
prop fromEuiOverlayMask
. Use a nestedEuiFocusTrap
instead. (#6090)euiCallOutColor
Sass mixin (#6201)CSS-in-JS conversions
EuiOverlayMask
to Emotion (#6090)EuiToolTip
to Emotion styling (#6104)EuiPagination
,EuiPaginationButton
, andEuiPaginationButtonArrow
to Emotion (#6109)66.0.0
gutterSize
prop toEuiDescriptionList
(#6175)tooltipText
as an optional prop onEuiListGroupItem
(#6186)Bug fixes
EuiHeaderSectionItem
to not render if empty (#6158)useEuiTheme
's return value, supporting React's shallow prop comparison optimizations (#6165)EuiPageSidebar
bug where inline styles were not correctly updating (#6191)Breaking changes
.euiIEFlexWrapFix
global className andinternetExplorerOnly()
Sass mixin, as IE is no longer a supported browser (#6154)65.0.2
Bug fixes
EuiDataGrid
cell popover shadows in Safari (#6163)EuiIcon
from loading icons asynchronously (#6166)65.0.1
Note: this version contains a bug preventing its usage, fixed in
65.0.2
Bug fixes
EuiDescriptionListTitle
whenEuiDescriptionList
is compressed (#6160)65.0.0
Note: this version contains a bug preventing its usage, fixed in
65.0.2
anchorProps
to allow passing more props to the anchoring wrapper inEuiToolTip
andEuiBetaBadge
(#6110)hollow
styleEuiBetaBadge
(#6110)selectable
EuiCard
s (#6110)ghost
colors to becolorMode = 'dark'
themedtext
buttons (#6150)ButtonColor
andButtonSize
types to prefixed versionsEuiButtonColor
andEuiButtonSize
(#6150)Deprecations
ghost
color forEuiButton
,EuiButtonIcon
,EuiButtonEmpty
(#6150)Breaking changes
EuiButtonIconColor
andEuiButtonEmptyColor
types, useEuiButtonIconProps['color']
andEuiButtonEmptyProps['color']
instead (#6150)ghost
color fromEuiButtonGroup
(#6150)CSS-in-JS conversions
euiHasBetaBadge()
Sass mixin (#6110)EuiCard
,EuiCheckableCard
to Emotion, removed$euiCheckableCardPadding
,$euiCardSpacing
,$euiCardBottomNodeHeight
,$euiCardSelectButtonBorders
,$euiCardSelectButtonBackgrounds
, and$euiCardPaddingModifiers
(#6110)EuiButton
to Emotion (#6150)EuiButtonIcon
,EuiButtonEmpty
,EuiButtonGroup
(#6150)64.0.5
Note: this release is a backport containing changes originally made in
67.1.0
,67.1.1
, and67.1.2
Bug fixes
EuiInMemoryTable
's internal state tracking to include changes ofsorting.sort
values (#6228)EuiDataGrid
's broken fullscreen mode when nested within anEuiAccordion
(#6235)EuiAvatar
to no longer mutate the object passed to itsstyle
prop (#6251)