mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Upgrade EUI to v28.4.0 (#77098)
* eui to 28.4.0 * euiselectableoption fixes * src snapshot updates * x-pack snapshot updates * htmlidgenerator mock * merge resolution * clean up * snapshot update * prevent api changes
This commit is contained in:
parent
e61120b038
commit
e5b302eeee
27 changed files with 82 additions and 89 deletions
|
@ -128,7 +128,7 @@
|
|||
"@babel/register": "^7.10.5",
|
||||
"@elastic/datemath": "5.0.3",
|
||||
"@elastic/elasticsearch": "7.9.0-rc.2",
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"@elastic/good": "8.1.1-kibana2",
|
||||
"@elastic/numeral": "^2.5.0",
|
||||
"@elastic/request-crypto": "1.1.4",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@elastic/charts": "21.1.2",
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"@elastic/numeral": "^2.5.0",
|
||||
"@kbn/i18n": "1.0.0",
|
||||
"@kbn/monaco": "1.0.0",
|
||||
|
|
|
@ -658,6 +658,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
@ -911,6 +912,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
@ -1200,6 +1202,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
@ -1450,6 +1453,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
@ -1652,6 +1656,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
@ -2875,6 +2880,7 @@ exports[`CollapsibleNav renders the default nav 3`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
|
|
@ -5734,6 +5734,7 @@ exports[`Header renders 1`] = `
|
|||
aria-controls="mockId"
|
||||
aria-expanded={true}
|
||||
className="euiAccordion__button euiAccordion__buttonReverse euiCollapsibleNavGroup__heading"
|
||||
id="mockId"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
|
|
@ -196,7 +196,7 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
|
|||
>
|
||||
<input
|
||||
aria-label="Filter for a visualization type"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
data-test-subj="filterVisType"
|
||||
placeholder="Filter"
|
||||
type="search"
|
||||
|
@ -517,7 +517,7 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
|
|||
<EuiValidatableControl>
|
||||
<input
|
||||
aria-label="Filter for a visualization type"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
data-test-subj="filterVisType"
|
||||
onChange={[Function]}
|
||||
onKeyUp={[Function]}
|
||||
|
@ -1109,7 +1109,7 @@ exports[`NewVisModal should render as expected 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-label="Filter for a visualization type"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
data-test-subj="filterVisType"
|
||||
placeholder="Filter"
|
||||
type="search"
|
||||
|
@ -1408,7 +1408,7 @@ exports[`NewVisModal should render as expected 1`] = `
|
|||
<EuiValidatableControl>
|
||||
<input
|
||||
aria-label="Filter for a visualization type"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
data-test-subj="filterVisType"
|
||||
onChange={[Function]}
|
||||
onKeyUp={[Function]}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"build": "rm -rf './target' && tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"@kbn/plugin-helpers": "1.0.0",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"build": "rm -rf './target' && tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"react": "^16.12.0",
|
||||
"typescript": "4.0.2"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"build": "rm -rf './target' && tsc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"@kbn/plugin-helpers": "1.0.0",
|
||||
"react": "^16.12.0",
|
||||
"typescript": "4.0.2"
|
||||
|
|
|
@ -275,7 +275,7 @@
|
|||
"@babel/runtime": "^7.11.2",
|
||||
"@elastic/datemath": "5.0.3",
|
||||
"@elastic/ems-client": "7.9.3",
|
||||
"@elastic/eui": "28.2.0",
|
||||
"@elastic/eui": "28.4.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/node-crypto": "1.2.1",
|
||||
"@elastic/numeral": "^2.5.0",
|
||||
|
|
|
@ -11,6 +11,12 @@ import { mountWithTheme } from '../../../../utils/testHelpers';
|
|||
import { Stackframe as StackframeComponent } from '../Stackframe';
|
||||
import stacktracesMock from './stacktraces.json';
|
||||
|
||||
jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => {
|
||||
return {
|
||||
htmlIdGenerator: () => () => `generated-id`,
|
||||
};
|
||||
});
|
||||
|
||||
describe('Stackframe', () => {
|
||||
describe('when stackframe has source lines', () => {
|
||||
let wrapper: ReactWrapper;
|
||||
|
|
|
@ -177,6 +177,7 @@ exports[`Stackframe when stackframe has source lines should render correctly 1`]
|
|||
aria-controls="test"
|
||||
aria-expanded={false}
|
||||
className="euiAccordion__button"
|
||||
id="generated-id"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
|
|
@ -48,12 +48,10 @@ exports[`Storyshots arguments/Palette default 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
readOnly={false}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -32,11 +32,9 @@ exports[`Storyshots components/FontPicker default 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
/>
|
||||
<div
|
||||
|
@ -99,11 +97,9 @@ exports[`Storyshots components/FontPicker with value 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -38,12 +38,10 @@ exports[`Storyshots components/Color/PalettePicker clearable 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
readOnly={false}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
None
|
||||
|
@ -115,12 +113,10 @@ exports[`Storyshots components/Color/PalettePicker default 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
readOnly={false}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -199,12 +195,10 @@ exports[`Storyshots components/Color/PalettePicker interactive 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
readOnly={false}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -57,7 +57,7 @@ exports[`Storyshots components/SavedElementsModal no custom elements 1`] = `
|
|||
className="euiFormControlLayout__childrenWrapper"
|
||||
>
|
||||
<input
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
onChange={[Function]}
|
||||
onKeyUp={[Function]}
|
||||
placeholder="Find element"
|
||||
|
@ -197,7 +197,7 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = `
|
|||
className="euiFormControlLayout__childrenWrapper"
|
||||
>
|
||||
<input
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
onChange={[Function]}
|
||||
onKeyUp={[Function]}
|
||||
placeholder="Find element"
|
||||
|
@ -628,7 +628,7 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = `
|
|||
className="euiFormControlLayout__childrenWrapper"
|
||||
>
|
||||
<input
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
onChange={[Function]}
|
||||
onKeyUp={[Function]}
|
||||
placeholder="Find element"
|
||||
|
|
|
@ -48,11 +48,9 @@ exports[`Storyshots components/TextStylePicker default 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
/>
|
||||
<div
|
||||
|
@ -529,11 +527,9 @@ exports[`Storyshots components/TextStylePicker interactive 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="undefined generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onClick={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
/>
|
||||
<div
|
||||
|
|
|
@ -127,13 +127,11 @@ Array [
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -479,13 +477,11 @@ Array [
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -780,13 +776,11 @@ Array [
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -1057,13 +1051,11 @@ Array [
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -17,6 +17,7 @@ exports[`Storyshots components/Variables/VarConfig default 1`] = `
|
|||
aria-controls="accordion-variables"
|
||||
aria-expanded={false}
|
||||
className="euiAccordion__button"
|
||||
id="generated-id"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
|
|
|
@ -22,7 +22,7 @@ exports[`Storyshots components/WorkpadTemplates default 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
defaultValue=""
|
||||
onKeyUp={[Function]}
|
||||
placeholder="Find template"
|
||||
|
|
|
@ -332,13 +332,11 @@ exports[`Storyshots arguments/ContainerStyle extended 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -804,13 +802,11 @@ exports[`Storyshots arguments/ContainerStyle/components border form 1`] = `
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
@ -1288,13 +1284,11 @@ exports[`Storyshots arguments/ContainerStyle/components extended template 1`] =
|
|||
<button
|
||||
aria-haspopup="true"
|
||||
aria-labelledby="generated-id generated-id"
|
||||
aria-selected={true}
|
||||
className="euiSuperSelectControl euiSuperSelectControl--compressed"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -51,7 +51,6 @@ export const ActionList: FC<{
|
|||
}, [recordedActions]);
|
||||
|
||||
const options: EuiSelectableOption[] = Object.values(recordedActions).map((recordedAction) => ({
|
||||
id: recordedAction.id,
|
||||
key: recordedAction.id,
|
||||
label: recordedAction.action.type,
|
||||
checked: recordedAction.id === selectedAction?.id ? 'on' : undefined,
|
||||
|
@ -59,8 +58,8 @@ export const ActionList: FC<{
|
|||
|
||||
const onChange: (selectedOptions: EuiSelectableOption[]) => void = (selectedOptions) => {
|
||||
selectedOptions.forEach((option) => {
|
||||
if (option && option.checked && option.id) {
|
||||
const selected = recordedActions[option.id];
|
||||
if (option && option.checked && option.key) {
|
||||
const selected = recordedActions[option.key];
|
||||
|
||||
if (selected) {
|
||||
setSelectedAction(selected);
|
||||
|
|
|
@ -66,7 +66,7 @@ exports[`SearchBar supports keyboard shortcuts 1`] = `
|
|||
aria-haspopup="listbox"
|
||||
aria-label="Filter options"
|
||||
autocomplete="off"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed euiSelectableSearch euiSelectableTemplateSitewide__search"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed euiFieldSearch-isClearable euiSelectableSearch euiSelectableTemplateSitewide__search"
|
||||
data-test-subj="header-search"
|
||||
placeholder="Search Elastic"
|
||||
type="search"
|
||||
|
|
|
@ -27,7 +27,7 @@ export type FieldProps = {
|
|||
name: string;
|
||||
};
|
||||
|
||||
type FieldOptions = Array<EuiSelectableOption<{ value: string }>>;
|
||||
type FieldOption = EuiSelectableOption<{ value: string }>;
|
||||
|
||||
function sortByLabel(a: EuiSelectableOption, b: EuiSelectableOption): number {
|
||||
return a.label.localeCompare(b.label);
|
||||
|
@ -68,7 +68,7 @@ interface Props {
|
|||
interface State {
|
||||
isPopoverOpen: boolean;
|
||||
checkedFields: string[];
|
||||
options?: FieldOptions;
|
||||
options?: FieldOption[];
|
||||
prevFields?: FieldProps[];
|
||||
prevSelectedFields?: FieldProps[];
|
||||
}
|
||||
|
@ -107,15 +107,13 @@ export class AddTooltipFieldPopover extends Component<Props, State> {
|
|||
});
|
||||
};
|
||||
|
||||
_onSelect = (selectableOptions: EuiSelectableOption[]) => {
|
||||
// EUI team to remove casting: https://github.com/elastic/eui/issues/3966
|
||||
const options = selectableOptions as FieldOptions;
|
||||
_onSelect = (options: FieldOption[]) => {
|
||||
const checkedFields: string[] = options
|
||||
.filter((option) => {
|
||||
return option.checked === 'on';
|
||||
})
|
||||
.map((option) => {
|
||||
return option.value!;
|
||||
return option.value;
|
||||
});
|
||||
|
||||
this.setState({
|
||||
|
@ -156,7 +154,7 @@ export class AddTooltipFieldPopover extends Component<Props, State> {
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
<EuiSelectable
|
||||
<EuiSelectable<FieldOption>
|
||||
searchable
|
||||
searchProps={{ compressed: true }}
|
||||
options={this.state.options}
|
||||
|
|
|
@ -122,6 +122,7 @@ exports[`Paginated Table Component rendering it renders the default load more ta
|
|||
},
|
||||
"euiCardSpacing": "16px",
|
||||
"euiCheckBoxSize": "16px",
|
||||
"euiCheckboxBorderRadius": "4px",
|
||||
"euiCodeBlockAdditionColor": "#54b399",
|
||||
"euiCodeBlockAttributeColor": "inherit",
|
||||
"euiCodeBlockBackgroundColor": "#25262e",
|
||||
|
@ -267,6 +268,7 @@ exports[`Paginated Table Component rendering it renders the default load more ta
|
|||
"euiFormBorderColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
||||
"euiFormBorderDisabledColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
||||
"euiFormBorderOpaqueColor": "#ffffff",
|
||||
"euiFormControlBorderRadius": 0,
|
||||
"euiFormControlBoxShadow": "0 1px 1px -1px rgba(0, 0, 0, 0.19999999999999996) 0 3px 2px -2px rgba(0, 0, 0, 0.19999999999999996)",
|
||||
"euiFormControlCompressedBorderRadius": "2px",
|
||||
"euiFormControlCompressedHeight": "32px",
|
||||
|
|
|
@ -122,6 +122,7 @@ exports[`NoteCardBody renders correctly against snapshot 1`] = `
|
|||
},
|
||||
"euiCardSpacing": "16px",
|
||||
"euiCheckBoxSize": "16px",
|
||||
"euiCheckboxBorderRadius": "4px",
|
||||
"euiCodeBlockAdditionColor": "#54b399",
|
||||
"euiCodeBlockAttributeColor": "inherit",
|
||||
"euiCodeBlockBackgroundColor": "#25262e",
|
||||
|
@ -267,6 +268,7 @@ exports[`NoteCardBody renders correctly against snapshot 1`] = `
|
|||
"euiFormBorderColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
||||
"euiFormBorderDisabledColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
||||
"euiFormBorderOpaqueColor": "#ffffff",
|
||||
"euiFormControlBorderRadius": 0,
|
||||
"euiFormControlBoxShadow": "0 1px 1px -1px rgba(0, 0, 0, 0.19999999999999996) 0 3px 2px -2px rgba(0, 0, 0, 0.19999999999999996)",
|
||||
"euiFormControlCompressedBorderRadius": "2px",
|
||||
"euiFormControlCompressedHeight": "32px",
|
||||
|
|
|
@ -16,7 +16,7 @@ exports[`CertificatesSearch renders expected elements for valid props 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-label="Search certificates"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth"
|
||||
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
|
||||
data-test-subj="uptimeCertSearch"
|
||||
placeholder="Search certificates"
|
||||
type="search"
|
||||
|
|
73
yarn.lock
73
yarn.lock
|
@ -1226,25 +1226,23 @@
|
|||
tabbable "^1.1.0"
|
||||
uuid "^3.1.0"
|
||||
|
||||
"@elastic/eui@28.2.0":
|
||||
version "28.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-28.2.0.tgz#0c89c7adc27d4ac918191af8237a2634a26d0637"
|
||||
integrity sha512-ovVkwbwcJLs87ycaof5pyTGjpuPH2sN38k2e+c3IiZjoeGAqWZJouptQguoKYglCyayxoBUV3TAE82m+qyxCnA==
|
||||
"@elastic/eui@28.4.0":
|
||||
version "28.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-28.4.0.tgz#6b3b6b5e8b602d009410a97c26e22093846f708a"
|
||||
integrity sha512-4iXo5fNx4qqeI+Tj5EJ0qHRhyi8KTLaqeQJCWg9Vy7N83ap6kp6s7X6D6qYUHqdmOdJH9QZYuYIpRUi3TQEJNg==
|
||||
dependencies:
|
||||
"@types/chroma-js" "^2.0.0"
|
||||
"@types/lodash" "^4.14.116"
|
||||
"@types/numeral" "^0.0.25"
|
||||
"@types/react-beautiful-dnd" "^12.1.2"
|
||||
"@types/react-input-autosize" "^2.0.2"
|
||||
"@types/lodash" "^4.14.160"
|
||||
"@types/numeral" "^0.0.28"
|
||||
"@types/react-beautiful-dnd" "^13.0.0"
|
||||
"@types/react-input-autosize" "^2.2.0"
|
||||
"@types/react-virtualized-auto-sizer" "^1.0.0"
|
||||
"@types/react-window" "^1.8.1"
|
||||
"@types/react-window" "^1.8.2"
|
||||
"@types/vfile-message" "^2.0.0"
|
||||
chroma-js "^2.0.4"
|
||||
classnames "^2.2.5"
|
||||
chroma-js "^2.1.0"
|
||||
classnames "^2.2.6"
|
||||
highlight.js "^9.12.0"
|
||||
html "^1.0.0"
|
||||
keymirror "^0.1.1"
|
||||
lodash "^4.17.11"
|
||||
lodash "^4.17.20"
|
||||
numeral "^2.0.6"
|
||||
prop-types "^15.6.0"
|
||||
react-ace "^7.0.5"
|
||||
|
@ -1262,12 +1260,11 @@
|
|||
remark-highlight.js "^5.2.0"
|
||||
remark-parse "^7.0.2"
|
||||
remark-rehype "^7.0.0"
|
||||
resize-observer-polyfill "^1.5.0"
|
||||
tabbable "^3.0.0"
|
||||
text-diff "^1.0.1"
|
||||
unified "^8.4.2"
|
||||
uuid "^3.1.0"
|
||||
vfile "^4.1.1"
|
||||
uuid "^8.3.0"
|
||||
vfile "^4.2.0"
|
||||
|
||||
"@elastic/filesaver@1.1.2":
|
||||
version "1.1.2"
|
||||
|
@ -4130,11 +4127,16 @@
|
|||
"@types/node" "*"
|
||||
"@types/webpack" "*"
|
||||
|
||||
"@types/lodash@^4.14.116", "@types/lodash@^4.14.159":
|
||||
"@types/lodash@^4.14.159":
|
||||
version "4.14.159"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.159.tgz#61089719dc6fdd9c5cb46efc827f2571d1517065"
|
||||
integrity sha512-gF7A72f7WQN33DpqOWw9geApQPh4M3PxluMtaHxWHXEGSN12/WbcEk/eNSqWNQcQhF66VSZ06vCF94CrHwXJDg==
|
||||
|
||||
"@types/lodash@^4.14.160":
|
||||
version "4.14.161"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.161.tgz#a21ca0777dabc6e4f44f3d07f37b765f54188b18"
|
||||
integrity sha512-EP6O3Jkr7bXvZZSZYlsgt5DIjiGr0dXP1/jVEwVLTFgg0d+3lWVQkRavYVQszV7dYUwvg0B8R0MBDpcmXg7XIA==
|
||||
|
||||
"@types/log-symbols@^2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/log-symbols/-/log-symbols-2.0.0.tgz#7919e2ec3c8d13879bfdcab310dd7a3f7fc9466d"
|
||||
|
@ -4308,10 +4310,10 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/npmlog/-/npmlog-4.1.2.tgz#d070fe6a6b78755d1092a3dc492d34c3d8f871c4"
|
||||
integrity sha512-4QQmOF5KlwfxJ5IGXFIudkeLCdMABz03RcUXu+LCb24zmln8QW6aDjuGl4d4XPVLf2j+FnjelHTP7dvceAFbhA==
|
||||
|
||||
"@types/numeral@^0.0.25":
|
||||
version "0.0.25"
|
||||
resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-0.0.25.tgz#b6f55062827a4787fe4ab151cf3412a468e65271"
|
||||
integrity sha512-ShHzHkYD+Ldw3eyttptCpUhF1/mkInWwasQkCNXZHOsJMJ/UMa8wXrxSrTJaVk0r4pLK/VnESVM0wFsfQzNEKQ==
|
||||
"@types/numeral@^0.0.28":
|
||||
version "0.0.28"
|
||||
resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-0.0.28.tgz#e43928f0bda10b169b6f7ecf99e3ddf836b8ebe4"
|
||||
integrity sha512-Sjsy10w6XFHDktJJdXzBJmoondAKW+LcGpRFH+9+zXEDj0cOH8BxJuZA9vUDSMAzU1YRJlsPKmZEEiTYDlICLw==
|
||||
|
||||
"@types/object-hash@^1.3.0":
|
||||
version "1.3.0"
|
||||
|
@ -4442,10 +4444,10 @@
|
|||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-beautiful-dnd@^12.1.2":
|
||||
version "12.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-beautiful-dnd/-/react-beautiful-dnd-12.1.2.tgz#dfd1bdb072e92c1363e5f7a4c1842eaf95f77b21"
|
||||
integrity sha512-h+0mA4cHmzL4BhyCniB6ZSSZhfO9LpXXbnhdAfa2k7klS03woiOT+Dh5AchY6eoQXk3vQVtqn40YY3u+MwFs8A==
|
||||
"@types/react-beautiful-dnd@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-beautiful-dnd/-/react-beautiful-dnd-13.0.0.tgz#e60d3d965312fcf1516894af92dc3e9249587db4"
|
||||
integrity sha512-by80tJ8aTTDXT256Gl+RfLRtFjYbUWOnZuEigJgNsJrSEGxvFe5eY6k3g4VIvf0M/6+xoLgfYWoWonlOo6Wqdg==
|
||||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
|
@ -4470,10 +4472,10 @@
|
|||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-input-autosize@^2.0.2":
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-input-autosize/-/react-input-autosize-2.0.2.tgz#6ccdfb100c21b6096c1a04c3c3fac196b0ce61c1"
|
||||
integrity sha512-QzewaD5kog7c6w5e3dretb+50oM8RDdDvVumQKCtPjI6VHyR8lA/HxCiTrv5l9Vgbi4NCitYuix/NorOevlrng==
|
||||
"@types/react-input-autosize@^2.2.0":
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-input-autosize/-/react-input-autosize-2.2.0.tgz#d62b07567088e547500f4693ae25dce0639c1b4e"
|
||||
integrity sha512-8NO64XLmdRKUHeteXnweVnXuuSQr5HMSa4vRyNBUKOeZlimvgHPMtRchFHVHO9k7VpDoufCFYMJ6XHJ44qMTBQ==
|
||||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
|
@ -4567,7 +4569,7 @@
|
|||
"@types/prop-types" "*"
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-window@^1.8.1":
|
||||
"@types/react-window@^1.8.2":
|
||||
version "1.8.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-window/-/react-window-1.8.2.tgz#a5a6b2762ce73ffaab7911ee1397cf645f2459fe"
|
||||
integrity sha512-gP1xam68Wc4ZTAee++zx6pTdDAH08rAkQrWm4B4F/y6hhmlT9Mgx2q8lTCXnrPHXsr15XjRN9+K2DLKcz44qEQ==
|
||||
|
@ -8493,7 +8495,7 @@ chroma-js@^1.4.1:
|
|||
resolved "https://registry.yarnpkg.com/chroma-js/-/chroma-js-1.4.1.tgz#eb2d9c4d1ff24616be84b35119f4d26f8205f134"
|
||||
integrity sha512-jTwQiT859RTFN/vIf7s+Vl/Z2LcMrvMv3WUFmd/4u76AdlFC0NTNgqEEFPcRiHmAswPsMiQEDZLM8vX8qXpZNQ==
|
||||
|
||||
chroma-js@^2.0.4, chroma-js@^2.1.0:
|
||||
chroma-js@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/chroma-js/-/chroma-js-2.1.0.tgz#c0be48a21fe797ef8965608c1c4f911ef2da49d5"
|
||||
integrity sha512-uiRdh4ZZy+UTPSrAdp8hqEdVb1EllLtTHOt5TMaOjJUvi+O54/83Fc5K2ld1P+TJX+dw5B+8/sCgzI6eaur/lg==
|
||||
|
@ -29152,6 +29154,11 @@ uuid@^3.0.0, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3, uuid@^3.4.0:
|
|||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
|
||||
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
|
||||
|
||||
uuid@^8.3.0:
|
||||
version "8.3.0"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.0.tgz#ab738085ca22dc9a8c92725e459b1d507df5d6ea"
|
||||
integrity sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==
|
||||
|
||||
v8-compile-cache@2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe"
|
||||
|
@ -29657,7 +29664,7 @@ vfile@^4.0.0:
|
|||
unist-util-stringify-position "^2.0.0"
|
||||
vfile-message "^2.0.0"
|
||||
|
||||
vfile@^4.1.1:
|
||||
vfile@^4.2.0:
|
||||
version "4.2.0"
|
||||
resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.2.0.tgz#26c78ac92eb70816b01d4565e003b7e65a2a0e01"
|
||||
integrity sha512-a/alcwCvtuc8OX92rqqo7PflxiCgXRFjdyoGVuYV+qbgCb0GgZJRvIgCD4+U/Kl1yhaRsaTwksF88xbPyGsgpw==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue