diff --git a/src-docs/src/views/spacer/_spacer.scss b/src-docs/src/views/spacer/_spacer.scss index 5e05f9ce448..3489f651ac5 100644 --- a/src-docs/src/views/spacer/_spacer.scss +++ b/src-docs/src/views/spacer/_spacer.scss @@ -3,7 +3,7 @@ background: $guideDemoHighlightColor; } - .euiCodeBlock { + .euiCode { align-self: flex-start; margin-bottom: $euiSize; } diff --git a/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap b/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap index 9e6781fe72e..2b268c5f3c5 100644 --- a/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap +++ b/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap @@ -1,780 +1,247 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`EuiInMemoryTable behavior pagination 1`] = ` - - - } - onChange={[Function]} - pagination={ - Object { - "pageIndex": 1, - "pageSize": 2, - "pageSizeOptions": Array [ - 2, - 4, - 6, - ], - "showPerPageOptions": undefined, - "totalItemCount": 4, - } - } - responsive={true} - tableLayout="fixed" - > +
-
- -
+
+
+
+
+ + + + + + + + -
+
- -
- -
- - -
- -
- -
- - + + description + + +
- - - - - - - - - - - - - + + + + + - - - - - - - - +
+ + name4 + +
+ + +
+
+ Name + +
+ - -
- - - - - - Name - - - - - - description - - - - -
+
-
-
- Name -
-
- - name3 - -
-
+
+
+
+
+
+
+
+ +
+
- - -
- -
- - + Page 2 of 2 + + + +
    +
  • - -
    - -
    - - - - : - 2 - - - } - closePopover={[Function]} - display="inlineBlock" - hasArrow={true} - isOpen={false} - ownFocus={true} - panelPaddingSize="none" - > -
    -
    - - - -
    -
    -
    -
    -
    - + + +
  • +
  • + - - - - -
  • - -
- - - - - - - -
- -
- - -
- - + 2 + + + + + + + +
- - +
+
`; exports[`EuiInMemoryTable empty array 1`] = ` @@ -1832,7 +1299,7 @@ exports[`EuiInMemoryTable with pagination and "show all" page size 1`] = `
{ // this is specifically testing regression against https://github.com/elastic/eui/issues/1007 component.setProps({}); - expect(component).toMatchSnapshot(); + expect(component.render()).toMatchSnapshot(); }); test('pagination with actions column and sorting set to true', async () => { diff --git a/src/components/empty_prompt/__snapshots__/empty_prompt.test.tsx.snap b/src/components/empty_prompt/__snapshots__/empty_prompt.test.tsx.snap index cc265ff7655..d680057508a 100644 --- a/src/components/empty_prompt/__snapshots__/empty_prompt.test.tsx.snap +++ b/src/components/empty_prompt/__snapshots__/empty_prompt.test.tsx.snap @@ -32,7 +32,7 @@ exports[`EuiEmptyPrompt is rendered 1`] = ` class="euiTextColor euiTextColor--subdued" >
Actions @@ -68,7 +68,7 @@ exports[`EuiEmptyPrompt props actions renders alone 1`] = ` class="euiEmptyPrompt__contentInner" >
actions
@@ -91,7 +91,7 @@ exports[`EuiEmptyPrompt props actions renders an array 1`] = ` class="euiEmptyPrompt__contentInner" >
`; -exports[`EuiMarkdownEditor modal with help syntax is rendered 1`] = ` - -
- ", - "surroundWithNewlines": true, - }, - "name": "mdQuote", - }, - "mdTl": Object { - "button": Object { - "iconType": "", - "label": "", - }, - "formatting": Object { - "multiline": true, - "prefix": "- [ ] ", - "surroundWithNewlines": true, - }, - "name": "mdTl", - }, - "mdUl": Object { - "button": Object { - "iconType": "", - "label": "", - }, - "formatting": Object { - "multiline": true, - "prefix": "- ", - "surroundWithNewlines": true, - }, - "name": "mdUl", - }, - "tooltipPlugin": Object { - "button": Object { - "iconType": "editorComment", - "label": "Tooltip", - }, - "formatting": Object { - "prefix": "!{tooltip[", - "suffix": "]()}", - "trimFirst": true, - }, - "helpText": - !{tooltip[anchor text](helpful description)} - , - "name": "tooltipPlugin", - }, - }, - } - } - onClickPreview={[Function]} - uiPlugins={ - Array [ - Object { - "button": Object { - "iconType": "editorComment", - "label": "Tooltip", - }, - "formatting": Object { - "prefix": "!{tooltip[", - "suffix": "]()}", - "trimFirst": true, - }, - "helpText": - !{tooltip[anchor text](helpful description)} - , - "name": "tooltipPlugin", - }, - ] - } - viewMode="editing" - > -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
-
- - !{tooltip[anchor text](helpful description)} - , - "name": "tooltipPlugin", - }, - ] - } - > -
- - -