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

Upgrade EUI to v30.1.1 #81499

Merged
merged 57 commits into from
Oct 30, 2020
Merged
Show file tree
Hide file tree
Changes from 51 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
0d75e52
eui to v30.0.0
thompsongl Oct 20, 2020
dfe5a94
removed unused RecentLinks component
thompsongl Oct 20, 2020
b92ca41
update compressed -> display prop
thompsongl Oct 20, 2020
bbe8196
euiformrow compressed -> display
thompsongl Oct 21, 2020
7bb4a58
euipopover remove withtitle
thompsongl Oct 21, 2020
be159da
euibuttongroup prop updates
thompsongl Oct 21, 2020
59a872f
remove euibuttontoggle
thompsongl Oct 21, 2020
b0e0bdf
src snapshot updates
thompsongl Oct 21, 2020
a381fc8
tutorial euibuttongroup update
thompsongl Oct 21, 2020
4f32a79
x-pack snapshot updates
thompsongl Oct 21, 2020
15aa325
euibuttongroup test updates
thompsongl Oct 21, 2020
ccd4abf
Merge branch 'master' into eui/30
thompsongl Oct 21, 2020
53a0ff6
TODO
thompsongl Oct 22, 2020
30a91a1
Merge branch 'master' into eui/30
thompsongl Oct 22, 2020
eeb458f
misc. js file updates
thompsongl Oct 22, 2020
7741960
remove euinavdrawer scss references
thompsongl Oct 22, 2020
c9246a6
Merge branch 'master' into eui/30
thompsongl Oct 22, 2020
e560527
translation removals
thompsongl Oct 22, 2020
79ae2be
more x-pack snapshot updates
thompsongl Oct 22, 2020
ab3e4d3
update data-test-subj lookup
thompsongl Oct 22, 2020
d2074a7
icons logoAMP -> logoObservability
thompsongl Oct 22, 2020
6694842
cypress selector updates
thompsongl Oct 22, 2020
b759765
Merge branch 'master' into eui/30
thompsongl Oct 26, 2020
4ffdce6
update euibuttontoggle onchange, test interaction
thompsongl Oct 26, 2020
139f26d
Fix auto-update toggle in Visualize
Oct 26, 2020
4f893e8
some more change -> click test updates
thompsongl Oct 26, 2020
56859e8
idtoselectedmap change
thompsongl Oct 26, 2020
28cd573
Fix feature table button group
Oct 26, 2020
00127e2
Remove empty SASS file
Oct 26, 2020
41c4974
Fix feature table button group II
Oct 26, 2020
42f7a89
Using `compressed` to also dictate dual range row
Oct 26, 2020
a99b77a
Merge branch 'eui/30' of https://github.com/thompsongl/kibana into eu…
Oct 26, 2020
31f60ba
Fix a few security labels
Oct 26, 2020
3e13950
An ML fix
Oct 26, 2020
1e8f34d
Apply suggestions from code review
thompsongl Oct 26, 2020
efd938e
remove unused translation
thompsongl Oct 26, 2020
7c4e507
update view_type_toggle snapshot
thompsongl Oct 26, 2020
675af94
Merge branch 'master' into eui/30
thompsongl Oct 26, 2020
cfdf68f
more snapshot updates
thompsongl Oct 26, 2020
2ea39e6
Merge branch 'master' into eui/30
thompsongl Oct 27, 2020
82c00dc
eui to 30.1.0
thompsongl Oct 27, 2020
1c42a49
undo temp ts-ignore
thompsongl Oct 27, 2020
626fda7
more x-pack snapshot updates
thompsongl Oct 27, 2020
d37167c
Merge branch 'master' into eui/30
thompsongl Oct 27, 2020
b9366d7
eui to 30.1.1
thompsongl Oct 28, 2020
4401f4d
update feature privilege text
thompsongl Oct 28, 2020
b8237d4
Update x-pack/plugins/security/public/management/roles/edit_role/priv…
thompsongl Oct 28, 2020
073b436
reuse i18n token
thompsongl Oct 28, 2020
0d549a2
Adapt log entry action button to new `minWidth` prop
weltenwort Oct 28, 2020
5755a9b
Merge branch 'eui/30' of https://github.com/thompsongl/kibana into eu…
thompsongl Oct 28, 2020
ffda0f5
clean up label
thompsongl Oct 28, 2020
7f90de5
Merge branch 'master' into eui/30
thompsongl Oct 29, 2020
108b364
Merge branch 'master' into eui/30
thompsongl Oct 30, 2020
2d0d7dc
Combine auto apply strings into one
cchaos Oct 30, 2020
5e4ec31
Merge branch 'eui/30' of https://github.com/thompsongl/kibana into eu…
thompsongl Oct 30, 2020
aef2787
ternary fix
thompsongl Oct 30, 2020
c2af254
cases status useCallback
thompsongl Oct 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,16 @@
"**/grunt-*/**",
"x-pack/typescript",
"@elastic/eui/rehype-react",
"@elastic/eui/remark-parse",
"@elastic/eui/remark-rehype",
"@elastic/eui/remark-rehype/**"
"@elastic/eui/remark-rehype/**",
"@elastic/eui/unified"
]
},
"dependencies": {
"@elastic/datemath": "5.0.3",
"@elastic/elasticsearch": "7.10.0-rc.1",
"@elastic/eui": "29.5.0",
"@elastic/eui": "30.1.1",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "^2.5.0",
"@elastic/request-crypto": "1.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-ui-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@elastic/eui": "29.5.0",
"@elastic/eui": "30.1.1",
"@kbn/babel-preset": "1.0.0",
"@kbn/optimizer": "1.0.0",
"babel-loader": "^8.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-ui-shared-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@elastic/charts": "24.0.0",
"@elastic/eui": "29.5.0",
"@elastic/eui": "30.1.1",
"@elastic/numeral": "^2.5.0",
"@kbn/i18n": "1.0.0",
"@kbn/monaco": "1.0.0",
Expand Down
52 changes: 0 additions & 52 deletions src/core/public/chrome/ui/header/recent_links.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function NumberInputOption<ParamName extends string>({
'data-test-subj': dataTestSubj,
}: NumberInputOptionProps<ParamName>) {
return (
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth compressed>
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth display="rowCompressed">
<EuiFieldNumber
data-test-subj={dataTestSubj}
disabled={disabled}
Expand Down
8 changes: 7 additions & 1 deletion src/plugins/charts/public/static/components/range.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ function RangeOption<ParamName extends string>({
}
};
return (
<EuiFormRow label={label} fullWidth={true} isInvalid={!isValidState} error={error} compressed>
<EuiFormRow
label={label}
fullWidth={true}
isInvalid={!isValidState}
error={error}
display="rowCompressed"
>
<EuiRange
compressed
fullWidth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function RequiredNumberInputOption<ParamName extends string>({
);

return (
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth compressed>
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth display="rowCompressed">
<EuiFieldNumber
compressed
fullWidth
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/charts/public/static/components/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function SelectOption<ParamName extends string, ValidParamValues extends string

return (
<EuiFormRow
compressed
display="rowCompressed"
fullWidth
helpText={helpText}
id={id}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/charts/public/static/components/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function SwitchOption<ParamName extends string>({
setValue,
}: SwitchOptionProps<ParamName>) {
return (
<EuiFormRow fullWidth={true} compressed={true}>
<EuiFormRow fullWidth={true} display="rowCompressed">
<EuiToolTip content={tooltip} delay="long" position="right">
<EuiSwitch
compressed={true}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/charts/public/static/components/text_input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function TextInputOption<ParamName extends string>({
setValue,
}: TextInputOptionProps<ParamName>) {
return (
<EuiFormRow helpText={helpText} label={label} fullWidth compressed>
<EuiFormRow helpText={helpText} label={label} fullWidth display="rowCompressed">
<EuiFieldText
compressed
fullWidth
Expand Down

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

1 change: 0 additions & 1 deletion src/plugins/data/public/ui/filter_bar/filter_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ function FilterBarUI(props: Props) {
isOpen={isAddFilterPopoverOpen}
closePopover={() => setIsAddFilterPopoverOpen(false)}
anchorPosition="downLeft"
withTitle
panelPaddingSize="none"
ownFocus={true}
initialFocus=".filterEditor__hiddenItem"
Expand Down
1 change: 0 additions & 1 deletion src/plugins/data/public/ui/filter_bar/filter_item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ export function FilterItem(props: Props) {
}}
button={badge}
anchorPosition="downLeft"
withTitle={true}
panelPaddingSize="none"
>
<EuiContextMenu initialPanelId={0} panels={getPanels()} />
Expand Down
1 change: 0 additions & 1 deletion src/plugins/data/public/ui/filter_bar/filter_options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ class FilterOptionsUI extends Component<Props, State> {
}
anchorPosition="rightUp"
panelPaddingSize="none"
withTitle
repositionOnScroll
>
<EuiPopoverTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export function QueryLanguageSwitcher(props: Props) {
button={button}
isOpen={isPopoverOpen}
closePopover={() => setIsPopoverOpen(false)}
withTitle
repositionOnScroll
>
<EuiPopoverTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function ActionBar({
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem>
<EuiFormRow displayOnly>
<EuiFormRow display="center">
{isSuccessor ? (
<FormattedMessage
id="discover.context.olderDocumentsDescription"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export function DiscoverFieldSearch({ onChange, value, types }: Props) {
legend={legend}
options={toggleButtons(id)}
idSelected={`${id}-${values[id]}`}
onChange={(optionId) => handleValueChange(id, optionId.replace(`${id}-`, ''))}
onChange={(optionId: string) => handleValueChange(id, optionId.replace(`${id}-`, ''))}
buttonSize="compressed"
isFullWidth
data-test-subj={`${id}ButtonGroup`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export const PanelOptionsMenu: React.FC<PanelOptionsMenuProps> = ({
panelPaddingSize="none"
anchorPosition="downRight"
data-test-subj={open ? 'embeddablePanelContextMenuOpen' : 'embeddablePanelContextMenuClosed'}
withTitle
>
<EuiContextMenu initialPanelId="mainMenu" panels={panelDescriptor ? [panelDescriptor] : []} />
</EuiPopover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export class PanelOptionsMenu extends React.Component<PanelOptionsMenuProps, Sta
? 'embeddablePanelContextMenuOpen'
: 'embeddablePanelContextMenuClosed'
}
withTitle
>
<EuiContextMenu
initialPanelId="mainMenu"
Expand Down

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

Loading