diff --git a/CHANGELOG.md b/CHANGELOG.md index 34e3088f57d5..e510049b4c5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `12.0.0`. +- Tweaked `SuperDatePicker` to make the start/end date selection more obvious ([#2049](https://github.com/elastic/eui/pull/2049)) ## [`12.0.0`](https://github.com/elastic/eui/tree/v12.0.0) diff --git a/src-docs/src/views/horizontal_rule/horizontal_rule_example.js b/src-docs/src/views/horizontal_rule/horizontal_rule_example.js index 6938db5d8e3a..026873ced8e0 100644 --- a/src-docs/src/views/horizontal_rule/horizontal_rule_example.js +++ b/src-docs/src/views/horizontal_rule/horizontal_rule_example.js @@ -14,8 +14,8 @@ import HorizontalRuleMargin from './horizontal_rule_margin'; const horizontalRuleMarginSource = require('!!raw-loader!./horizontal_rule_margin'); const horizontalRuleMarginHtml = renderToHtml(HorizontalRuleMargin); -const horizontalRuleSnippet = ``; -const horizontalRuleMarginSnippet = ``; +const horizontalRuleSnippet = ''; +const horizontalRuleMarginSnippet = ''; export const HorizontalRuleExample = { title: 'Horizontal Rule', diff --git a/src-docs/src/views/spacer/spacer_example.js b/src-docs/src/views/spacer/spacer_example.js index 756ceaa8e5a8..a3845f5210dd 100644 --- a/src-docs/src/views/spacer/spacer_example.js +++ b/src-docs/src/views/spacer/spacer_example.js @@ -15,7 +15,7 @@ import Spacer from './spacer'; const spacerSource = require('!!raw-loader!./spacer'); const spacerHtml = renderToHtml(Spacer); -const spacerSnippet = ``; +const spacerSnippet = ''; export const SpacerExample = { title: 'Spacer', diff --git a/src/components/date_picker/super_date_picker/date_popover/date_popover_button.js b/src/components/date_picker/super_date_picker/date_popover/date_popover_button.js index 7bd2165d653b..5cd920d60a41 100644 --- a/src/components/date_picker/super_date_picker/date_popover/date_popover_button.js +++ b/src/components/date_picker/super_date_picker/date_popover/date_popover_button.js @@ -62,6 +62,9 @@ export function EuiDatePopoverButton(props) { panelPaddingSize="none" ownFocus {...rest}> + {/* + {position === 'start' ? 'Start' : 'End'} date + */}