mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
Upgrade EUI to v104.0.2 (#224855)
`103.1.0` ⏩ `104.0.2` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes - updates flat tooltip prop usages on **EuiCopy** to use new `tooltipProp` ## Package updates ### `@elastic/eui` ## [`v104.0.2`](https://github.com/elastic/eui/releases/v104.0.2) **Bug fixes** - Fixed missing JSON token exports for `euiColorBackgroundBaseInteractiveSelectHover` and `euiColorBorderStrongText` ([#8819](https://github.com/elastic/eui/pull/8819)) ## [`v104.0.1`](https://github.com/elastic/eui/releases/v104.0.1) **Bug fixes** - Fixed a wrong path in the module declaration for the JSON token exports that would trigger typescript errors ([#8818](https://github.com/elastic/eui/pull/8818)) ## [`v104.0.0`](https://github.com/elastic/eui/releases/v104.0.0) - Added data vis text color tokens: ([#8793](https://github.com/elastic/eui/pull/8793)) - `colors.vis.euiColorVisText0` - `colors.vis.euiColorVisText1` - `colors.vis.euiColorVisText2` - `colors.vis.euiColorVisText3` - `colors.vis.euiColorVisText4` - `colors.vis.euiColorVisText5` - `colors.vis.euiColorVisText6` - `colors.vis.euiColorVisText7` - `colors.vis.euiColorVisText8` - `colors.vis.euiColorVisText9` - Updated and aligned background hover styles for `EuiTable` and `EuiDataGrid` ([#8769](https://github.com/elastic/eui/pull/8769)) **Deprecations** - Deprecated `euiPaletteForLightBackground` and `euiPaletteForDarkBackground` palettes. Use the newly added data vis color tokens instead. ([#8793](https://github.com/elastic/eui/pull/8793)) **Breaking changes** - Removed tokens: ([#8793](https://github.com/elastic/eui/pull/8793)) - `colors.vis.euiColorVisAsTextLight1` - `colors.vis.euiColorVisAsTextLight0` - `colors.vis.euiColorVisAsTextLight2` - `colors.vis.euiColorVisAsTextLight3` - `colors.vis.euiColorVisAsTextLight4` - `colors.vis.euiColorVisAsTextLight5` - `colors.vis.euiColorVisAsTextLight6` - `colors.vis.euiColorVisAsTextDark1` - `colors.vis.euiColorVisAsTextDark0` - `colors.vis.euiColorVisAsTextDark2` - `colors.vis.euiColorVisAsTextDark3` - `colors.vis.euiColorVisAsTextDark4` - `colors.vis.euiColorVisAsTextDark5` - `colors.vis.euiColorVisAsTextDark6` - Removed `xl` size from `EuiTabs` ([#8762](https://github.com/elastic/eui/pull/8762)) - Added `tooltipProps` to `EuiCopy` which replaces spreading all props to `EuiToolTip` ([#8758](https://github.com/elastic/eui/pull/8758)) <!--ONMERGE {"backportTargets":["8.19"]} ONMERGE--> --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
1ce76ecf01
commit
efedad1b3e
7 changed files with 36 additions and 28 deletions
|
@ -127,9 +127,9 @@
|
|||
"@elastic/ecs": "^8.11.5",
|
||||
"@elastic/elasticsearch": "9.0.2",
|
||||
"@elastic/ems-client": "8.6.3",
|
||||
"@elastic/eui": "103.1.0",
|
||||
"@elastic/eui-amsterdam": "npm:@elastic/eui@103.1.0-amsterdam.0",
|
||||
"@elastic/eui-theme-borealis": "2.0.0",
|
||||
"@elastic/eui": "104.0.2",
|
||||
"@elastic/eui-amsterdam": "npm:@elastic/eui@104.0.0-amsterdam.0",
|
||||
"@elastic/eui-theme-borealis": "3.0.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/monaco-esql": "^3.1.2",
|
||||
"@elastic/node-crypto": "^1.2.3",
|
||||
|
|
|
@ -88,11 +88,11 @@ 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.6.3': ['Elastic License 2.0'],
|
||||
'@elastic/eui@103.1.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
|
||||
'@elastic/eui-amsterdam@103.1.0-amsterdam.0': [
|
||||
'@elastic/eui@104.0.2': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
|
||||
'@elastic/eui-amsterdam@104.0.0-amsterdam.0': [
|
||||
'Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0',
|
||||
],
|
||||
'@elastic/eui-theme-borealis@2.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
|
||||
'@elastic/eui-theme-borealis@3.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'],
|
||||
'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry
|
||||
'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary
|
||||
'@bufbuild/protobuf@2.5.2': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause)
|
||||
|
|
|
@ -298,7 +298,7 @@ export function QueryList({
|
|||
<EuiFlexItem grow={false}>
|
||||
<EuiCopy
|
||||
textToCopy={item.queryString}
|
||||
content={i18n.translate('esqlEditor.query.esqlQueriesCopy', {
|
||||
beforeMessage={i18n.translate('esqlEditor.query.esqlQueriesCopy', {
|
||||
defaultMessage: 'Copy query to clipboard',
|
||||
})}
|
||||
>
|
||||
|
|
|
@ -140,7 +140,10 @@ class ReportingPanelContentUi extends Component<Props, State, WithEuiThemeProps>
|
|||
return <ErrorUrlTooLongPanel isUnsaved={false} />;
|
||||
}
|
||||
return (
|
||||
<EuiCopy textToCopy={this.state.absoluteUrl} anchorClassName="eui-displayBlock">
|
||||
<EuiCopy
|
||||
textToCopy={this.state.absoluteUrl}
|
||||
tooltipProps={{ anchorClassName: 'eui-displayBlock' }}
|
||||
>
|
||||
{(copy) => (
|
||||
<EuiButton
|
||||
color={isUnsaved ? 'warning' : 'primary'}
|
||||
|
|
|
@ -411,7 +411,7 @@ class UrlPanelContentComponent extends Component<UrlPanelContentProps, State, Wi
|
|||
<EuiCopy
|
||||
beforeMessage={this.state.showWarningButton ? this.props.snapshotShareWarning : undefined}
|
||||
textToCopy={this.state.url || ''}
|
||||
anchorClassName="eui-displayBlock"
|
||||
tooltipProps={{ anchorClassName: 'eui-displayBlock' }}
|
||||
>
|
||||
{(copy) => (
|
||||
<EuiButton
|
||||
|
|
|
@ -35,7 +35,12 @@ export const DetailPanelCopy = ({
|
|||
|
||||
const props: DetailPanelListItemProps = {
|
||||
copy: (
|
||||
<EuiCopy textToCopy={textToCopy} display={display}>
|
||||
<EuiCopy
|
||||
textToCopy={textToCopy}
|
||||
tooltipProps={{
|
||||
display,
|
||||
}}
|
||||
>
|
||||
{(copy) => (
|
||||
<EuiButtonIcon
|
||||
css={styles.copyButton}
|
||||
|
|
36
yarn.lock
36
yarn.lock
|
@ -2167,12 +2167,12 @@
|
|||
resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-2.0.0.tgz#dba9f302c3a611440c88d7c34371a86e6f2285ae"
|
||||
integrity sha512-AIhCyMfRNz80CdKZEllVW4VgqfXQgv3wE875lt228MAmwd3tAwNh0mROp8++kWb0WJoLAYW4vypw873AMWqyEw==
|
||||
|
||||
"@elastic/eui-amsterdam@npm:@elastic/eui@103.1.0-amsterdam.0":
|
||||
version "103.1.0-amsterdam.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-103.1.0-amsterdam.0.tgz#d4c0969258ceb22cd85257e81c9a5c182c63faab"
|
||||
integrity sha512-fMSfoR0QOS15DGlLLvx+z2hica5PEPwMycklSd3waYeegjABA21o9VsMILBZNtVkrvMMVGIjNRd1KFv6GYW9aA==
|
||||
"@elastic/eui-amsterdam@npm:@elastic/eui@104.0.0-amsterdam.0":
|
||||
version "104.0.0-amsterdam.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-104.0.0-amsterdam.0.tgz#9eb69d025bf50367dbed544f21c6d2adedc2dd45"
|
||||
integrity sha512-mXZL4+TdFtfBYnB4GV3FMNgZTlywG4YFuqsUgE55ncdepsMRButzralO+i/8usdMIEFMmkEsUM8k/xgjxGQqWA==
|
||||
dependencies:
|
||||
"@elastic/eui-theme-common" "1.2.1"
|
||||
"@elastic/eui-theme-common" "2.0.0"
|
||||
"@elastic/prismjs-esql" "^1.1.0"
|
||||
"@hello-pangea/dnd" "^16.6.0"
|
||||
"@types/lodash" "^4.14.202"
|
||||
|
@ -2208,26 +2208,26 @@
|
|||
uuid "^8.3.0"
|
||||
vfile "^4.2.1"
|
||||
|
||||
"@elastic/eui-theme-borealis@2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-2.0.0.tgz#e4c834f0dd08fe006b3f24b6bdf095f81d883ba4"
|
||||
integrity sha512-tFp4Ol7ey4Qp/f3mupiXU/Cjj5fYRXiVauvYSOuJdOmoEoqC1gOVk8VXoKAcc/YJzQVk6hz4lXhvgs64DERGyA==
|
||||
"@elastic/eui-theme-borealis@3.0.0":
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-3.0.0.tgz#fa8ccbfff3c6d5cefb21bf650ab4dc98e3d66c22"
|
||||
integrity sha512-KikBddzMXegz9jIhkWBCTe38TUwKi6BgFamIXrsUpZKZe2pJQfrsqv+E3Nqexj0qYj+XKVL+KaBKTfPcOa6uZA==
|
||||
|
||||
"@elastic/eui-theme-common@1.2.1":
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-1.2.1.tgz#958b546d7832c6a17eb691d72de66deee933aede"
|
||||
integrity sha512-fbFHjanNXau0RCvJcakhZPvJwD/L2LN8tEOlVS5T6P8uhGhpDYFC7WxQAqGbkaAA8Z7Xgalad8705WOtsjqtlg==
|
||||
"@elastic/eui-theme-common@2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-2.0.0.tgz#248973f7161924943a2d6ad96c2ea82f0ca332f4"
|
||||
integrity sha512-cLgC0Y/ugS/5nGeU3e4lQzM9+ObOaoMzNLv/kM5Tnjdezmrgt+6xeVxiBOEe64S99pXbjfSF6u3d/y4YloNOhg==
|
||||
dependencies:
|
||||
"@types/lodash" "^4.14.202"
|
||||
chroma-js "^2.4.2"
|
||||
lodash "^4.17.21"
|
||||
|
||||
"@elastic/eui@103.1.0":
|
||||
version "103.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-103.1.0.tgz#187aed22593f76d16f1ab13c575dd41027cb40d8"
|
||||
integrity sha512-X7JLLNXa5A3Ksd4akJ7bJ6ou+/jC/qxcUCPZOSUGaQodgw1EghdiSoUakILnWHl6MiOqzwlsXCHyMCaMTTG7/w==
|
||||
"@elastic/eui@104.0.2":
|
||||
version "104.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-104.0.2.tgz#0182e71148d0977ae291b1a595407cbac2e26ce3"
|
||||
integrity sha512-hNqadmHpCH9J64JiaMblF6DVpq8f57I+rT9GzSsT2e4PT05uyKm8iPo7054WSst5vOI0aF/cx6rYtmCN8qFPlw==
|
||||
dependencies:
|
||||
"@elastic/eui-theme-common" "1.2.1"
|
||||
"@elastic/eui-theme-common" "2.0.0"
|
||||
"@elastic/prismjs-esql" "^1.1.0"
|
||||
"@hello-pangea/dnd" "^16.6.0"
|
||||
"@types/lodash" "^4.14.202"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue