@elastic/eui 65.0.2 → 66.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +24 -196
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +24 -196
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/basic_table/basic_table.js +13 -2
- package/es/components/basic_table/in_memory_table.js +13 -2
- package/es/components/card/card.styles.js +2 -2
- package/es/components/combo_box/combo_box.js +2 -15
- package/es/components/datagrid/body/data_grid_body.js +17 -6
- package/es/components/datagrid/body/data_grid_cell.js +29 -12
- package/es/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/es/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/es/components/datagrid/data_grid.js +17 -6
- package/es/components/datagrid/utils/in_memory.js +17 -6
- package/es/components/description_list/description_list.js +11 -3
- package/es/components/description_list/description_list_context.js +2 -1
- package/es/components/description_list/description_list_description.js +3 -1
- package/es/components/description_list/description_list_description.styles.js +5 -2
- package/es/components/description_list/description_list_title.js +3 -2
- package/es/components/description_list/description_list_title.styles.js +7 -3
- package/es/components/description_list/description_list_types.js +2 -1
- package/es/components/form/field_search/field_search.js +6 -16
- package/es/components/form/range/range_input.js +1 -1
- package/es/components/header/header_section/header_section_item.js +4 -3
- package/es/components/icon/icon.js +1 -9
- package/es/components/list_group/list_group.js +7 -1
- package/es/components/list_group/list_group_item.js +10 -3
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/es/components/modal/modal.js +1 -3
- package/es/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/es/components/page/page_sidebar/page_sidebar.js +5 -1
- package/es/components/table/table_row_cell.js +4 -6
- package/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/es/global_styling/mixins/_typography.js +1 -1
- package/es/services/theme/hooks.js +11 -16
- package/eui.d.ts +29 -10
- package/i18ntokens.json +18 -18
- package/lib/components/basic_table/basic_table.js +13 -2
- package/lib/components/basic_table/in_memory_table.js +13 -2
- package/lib/components/card/card.styles.js +2 -2
- package/lib/components/combo_box/combo_box.js +2 -15
- package/lib/components/datagrid/body/data_grid_body.js +17 -6
- package/lib/components/datagrid/body/data_grid_cell.js +29 -12
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/lib/components/datagrid/data_grid.js +17 -6
- package/lib/components/datagrid/utils/in_memory.js +17 -6
- package/lib/components/description_list/description_list.js +11 -3
- package/lib/components/description_list/description_list_context.js +2 -1
- package/lib/components/description_list/description_list_description.js +3 -1
- package/lib/components/description_list/description_list_description.styles.js +5 -2
- package/lib/components/description_list/description_list_title.js +3 -2
- package/lib/components/description_list/description_list_title.styles.js +7 -3
- package/lib/components/description_list/description_list_types.js +4 -2
- package/lib/components/form/field_search/field_search.js +6 -16
- package/lib/components/form/range/range_input.js +1 -1
- package/lib/components/header/header_section/header_section_item.js +4 -3
- package/lib/components/icon/icon.js +1 -9
- package/lib/components/list_group/list_group.js +7 -1
- package/lib/components/list_group/list_group_item.js +10 -3
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/lib/components/modal/modal.js +1 -3
- package/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/lib/components/page/page_sidebar/page_sidebar.js +5 -1
- package/lib/components/table/table_row_cell.js +4 -6
- package/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/lib/global_styling/mixins/_typography.js +1 -1
- package/lib/services/theme/hooks.js +10 -15
- package/optimize/es/components/card/card.styles.js +2 -2
- package/optimize/es/components/combo_box/combo_box.js +2 -15
- package/optimize/es/components/description_list/description_list.js +5 -2
- package/optimize/es/components/description_list/description_list_context.js +2 -1
- package/optimize/es/components/description_list/description_list_description.js +3 -1
- package/optimize/es/components/description_list/description_list_description.styles.js +5 -2
- package/optimize/es/components/description_list/description_list_title.js +3 -2
- package/optimize/es/components/description_list/description_list_title.styles.js +7 -3
- package/optimize/es/components/description_list/description_list_types.js +2 -1
- package/optimize/es/components/form/field_search/field_search.js +6 -16
- package/optimize/es/components/form/range/range_input.js +1 -1
- package/optimize/es/components/header/header_section/header_section_item.js +4 -3
- package/optimize/es/components/icon/icon.js +1 -9
- package/optimize/es/components/list_group/list_group_item.js +3 -2
- package/optimize/es/components/modal/modal.js +1 -3
- package/optimize/es/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/optimize/es/components/page/page_sidebar/page_sidebar.js +5 -1
- package/optimize/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/optimize/es/global_styling/mixins/_typography.js +1 -1
- package/optimize/es/services/theme/hooks.js +11 -16
- package/optimize/lib/components/card/card.styles.js +2 -2
- package/optimize/lib/components/combo_box/combo_box.js +2 -15
- package/optimize/lib/components/description_list/description_list.js +5 -2
- package/optimize/lib/components/description_list/description_list_context.js +2 -1
- package/optimize/lib/components/description_list/description_list_description.js +3 -1
- package/optimize/lib/components/description_list/description_list_description.styles.js +5 -2
- package/optimize/lib/components/description_list/description_list_title.js +3 -2
- package/optimize/lib/components/description_list/description_list_title.styles.js +7 -3
- package/optimize/lib/components/description_list/description_list_types.js +4 -2
- package/optimize/lib/components/form/field_search/field_search.js +6 -16
- package/optimize/lib/components/form/range/range_input.js +1 -1
- package/optimize/lib/components/header/header_section/header_section_item.js +4 -3
- package/optimize/lib/components/icon/icon.js +1 -9
- package/optimize/lib/components/list_group/list_group_item.js +3 -2
- package/optimize/lib/components/modal/modal.js +1 -3
- package/optimize/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/optimize/lib/components/page/page_sidebar/page_sidebar.js +5 -1
- package/optimize/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/optimize/lib/global_styling/mixins/_typography.js +1 -1
- package/optimize/lib/services/theme/hooks.js +10 -15
- package/package.json +1 -1
- package/src/components/badge/_badge.scss +0 -5
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
- package/src/components/filter_group/_filter_group.scss +3 -1
- package/src/components/flex/_flex_group.scss +2 -11
- package/src/components/flex/_flex_item.scss +0 -6
- package/src/components/form/field_search/_field_search.scss +0 -5
- package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +0 -3
- package/src/components/form/form_row/_form_row.scss +0 -1
- package/src/components/header/header_section/_header_section_item.scss +1 -1
- package/src/components/list_group/_list_group_item.scss +3 -25
- package/src/components/modal/_modal.scss +5 -20
- package/src/components/page/page_content/_page_content.scss +0 -1
- package/src/components/table/_responsive.scss +0 -1
- package/src/components/table/_table.scss +0 -5
- package/src/global_styling/mixins/_form.scss +0 -4
- package/src/global_styling/mixins/_helpers.scss +0 -8
- package/src/global_styling/mixins/_typography.scss +1 -5
- package/src/global_styling/utility/_index.scss +0 -1
- package/test-env/components/basic_table/basic_table.js +13 -2
- package/test-env/components/basic_table/in_memory_table.js +13 -2
- package/test-env/components/card/card.styles.js +2 -2
- package/test-env/components/combo_box/combo_box.js +2 -15
- package/test-env/components/datagrid/body/data_grid_body.js +17 -6
- package/test-env/components/datagrid/body/data_grid_cell.js +29 -12
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +17 -6
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -6
- package/test-env/components/datagrid/data_grid.js +17 -6
- package/test-env/components/datagrid/utils/in_memory.js +17 -6
- package/test-env/components/description_list/description_list.js +11 -3
- package/test-env/components/description_list/description_list_context.js +2 -1
- package/test-env/components/description_list/description_list_description.js +3 -1
- package/test-env/components/description_list/description_list_description.styles.js +5 -2
- package/test-env/components/description_list/description_list_title.js +3 -2
- package/test-env/components/description_list/description_list_title.styles.js +7 -3
- package/test-env/components/description_list/description_list_types.js +4 -2
- package/test-env/components/form/field_search/field_search.js +6 -16
- package/test-env/components/form/range/range_input.js +1 -1
- package/test-env/components/header/header_section/header_section_item.js +4 -3
- package/test-env/components/list_group/list_group.js +7 -1
- package/test-env/components/list_group/list_group_item.js +10 -3
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
- package/test-env/components/modal/modal.js +1 -3
- package/test-env/components/observer/mutation_observer/mutation_observer.js +1 -1
- package/test-env/components/page/page_sidebar/page_sidebar.js +5 -1
- package/test-env/components/table/table_row_cell.js +4 -6
- package/test-env/components/tabs/tabbed_content/tabbed_content.js +2 -19
- package/test-env/global_styling/mixins/_typography.js +1 -1
- package/test-env/services/theme/hooks.js +10 -15
- package/src/global_styling/utility/_utility.scss +0 -15
|
@@ -1226,6 +1226,11 @@ EuiBasicTable.propTypes = {
|
|
|
1226
1226
|
*/
|
|
1227
1227
|
sortable: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.func.isRequired]),
|
|
1228
1228
|
isExpander: PropTypes.bool,
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
1232
|
+
* long text correctly.
|
|
1233
|
+
*/
|
|
1229
1234
|
textOnly: PropTypes.bool,
|
|
1230
1235
|
|
|
1231
1236
|
/**
|
|
@@ -1572,11 +1577,17 @@ EuiBasicTable.propTypes = {
|
|
|
1572
1577
|
tableLayout: PropTypes.oneOf(["fixed", "auto"]),
|
|
1573
1578
|
|
|
1574
1579
|
/**
|
|
1575
|
-
* Applied to table cells
|
|
1580
|
+
* Applied to table cells. Any cell using a render function will set this to be false.
|
|
1581
|
+
*
|
|
1582
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
1583
|
+
* long text correctly.
|
|
1576
1584
|
*/
|
|
1577
1585
|
|
|
1578
1586
|
/**
|
|
1579
|
-
* Applied to table cells
|
|
1587
|
+
* Applied to table cells. Any cell using a render function will set this to be false.
|
|
1588
|
+
*
|
|
1589
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
1590
|
+
* long text correctly.
|
|
1580
1591
|
*/
|
|
1581
1592
|
textOnly: PropTypes.bool
|
|
1582
1593
|
};
|
|
@@ -657,6 +657,11 @@ EuiInMemoryTable.propTypes = {
|
|
|
657
657
|
*/
|
|
658
658
|
sortable: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.func.isRequired]),
|
|
659
659
|
isExpander: PropTypes.bool,
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
663
|
+
* long text correctly.
|
|
664
|
+
*/
|
|
660
665
|
textOnly: PropTypes.bool,
|
|
661
666
|
|
|
662
667
|
/**
|
|
@@ -930,11 +935,17 @@ EuiInMemoryTable.propTypes = {
|
|
|
930
935
|
tableLayout: PropTypes.oneOf(["fixed", "auto"]),
|
|
931
936
|
|
|
932
937
|
/**
|
|
933
|
-
* Applied to table cells
|
|
938
|
+
* Applied to table cells. Any cell using a render function will set this to be false.
|
|
939
|
+
*
|
|
940
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
941
|
+
* long text correctly.
|
|
934
942
|
*/
|
|
935
943
|
|
|
936
944
|
/**
|
|
937
|
-
* Applied to table cells
|
|
945
|
+
* Applied to table cells. Any cell using a render function will set this to be false.
|
|
946
|
+
*
|
|
947
|
+
* Creates a text wrapper around cell content that helps word break or truncate
|
|
948
|
+
* long text correctly.
|
|
938
949
|
*/
|
|
939
950
|
textOnly: PropTypes.bool,
|
|
940
951
|
message: PropTypes.node,
|
|
@@ -84,14 +84,14 @@ export var euiCardStyles = function euiCardStyles(euiThemeContext, paddingSize,
|
|
|
84
84
|
euiCard__description: /*#__PURE__*/css(logicalCSS('margin-top', halfSpacing), ";;label:euiCard__description;"),
|
|
85
85
|
euiCard__footer: /*#__PURE__*/css("flex-grow:0;", logicalCSS('width', '100%'), ";", logicalCSS('margin-top', spacing), ";;label:euiCard__footer;"),
|
|
86
86
|
top: {
|
|
87
|
-
euiCard__top: /*#__PURE__*/css("flex-grow:0;font-size:0;position:relative;", logicalCSS('
|
|
87
|
+
euiCard__top: /*#__PURE__*/css("flex-grow:0;font-size:0;position:relative;", logicalCSS('margin-bottom', spacing), ";;label:euiCard__top;"),
|
|
88
88
|
layout: {
|
|
89
89
|
vertical: /*#__PURE__*/css(logicalCSS('width', '100%'), ";;label:vertical;"),
|
|
90
90
|
horizontal: /*#__PURE__*/css(logicalCSS('width', 'auto'), ";;label:horizontal;")
|
|
91
91
|
},
|
|
92
92
|
disabled: _ref2
|
|
93
93
|
},
|
|
94
|
-
euiCard__image: /*#__PURE__*/css("position:relative;overflow:hidden;", logicalCSS('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", logicalCSS('left', "-".concat(paddingAmount)), ";", logicalCSS('top', "-".concat(paddingAmount)), ";", logicalCSS('margin-bottom', "-".concat(paddingAmount)), ";",
|
|
94
|
+
euiCard__image: /*#__PURE__*/css("position:relative;overflow:hidden;", logicalCSS('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", logicalCSS('left', "-".concat(paddingAmount)), ";", logicalCSS('top', "-".concat(paddingAmount)), ";", logicalCSS('margin-bottom', "-".concat(paddingAmount)), ";", logicalCSS('border-top-left-radius', "calc(".concat(euiTheme.border.radius.medium, " - ").concat(euiTheme.border.width.thin, ")")), " ", logicals['border-top-right-radius'], ":calc(", euiTheme.border.radius.medium, " - ", euiTheme.border.width.thin, ");", color === 'transparent' ? "border-radius: ".concat(euiTheme.border.radius.medium, ";") : undefined, " img{", logicalCSS('width', '100%'), ";};label:euiCard__image;"),
|
|
95
95
|
icon: {
|
|
96
96
|
euiCard__icon: /*#__PURE__*/css(";label:euiCard__icon;"),
|
|
97
97
|
withImage: /*#__PURE__*/css("position:absolute;", logicalCSS('top', '50%'), ";", logicalCSS('left', '50%'), ";transform:translate(-50%, calc(-50% + -", paddingAmount, "))!important;;label:withImage;"),
|
|
@@ -93,17 +93,9 @@ export var EuiComboBox = /*#__PURE__*/function (_Component) {
|
|
|
93
93
|
_defineProperty(_assertThisInitialized(_this), "comboBoxRefInstance", null);
|
|
94
94
|
|
|
95
95
|
_defineProperty(_assertThisInitialized(_this), "comboBoxRefCallback", function (ref) {
|
|
96
|
-
// IE11 doesn't support the `relatedTarget` event property for blur events
|
|
97
|
-
// but does add it for focusout. React doesn't support `onFocusOut` so here we are.
|
|
98
|
-
if (_this.comboBoxRefInstance) {
|
|
99
|
-
_this.comboBoxRefInstance.removeEventListener('focusout', _this.onContainerBlur);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
96
|
_this.comboBoxRefInstance = ref;
|
|
103
97
|
|
|
104
98
|
if (_this.comboBoxRefInstance) {
|
|
105
|
-
_this.comboBoxRefInstance.addEventListener('focusout', _this.onContainerBlur);
|
|
106
|
-
|
|
107
99
|
var comboBoxBounds = _this.comboBoxRefInstance.getBoundingClientRect();
|
|
108
100
|
|
|
109
101
|
_this.setState({
|
|
@@ -412,13 +404,7 @@ export var EuiComboBox = /*#__PURE__*/function (_Component) {
|
|
|
412
404
|
|
|
413
405
|
_defineProperty(_assertThisInitialized(_this), "onContainerBlur", function (event) {
|
|
414
406
|
// close the options list, unless the user clicked on an option
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* FireFox returns `relatedTarget` as `null` for security reasons, but provides a proprietary `explicitOriginalTarget`.
|
|
418
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/Event/explicitOriginalTarget
|
|
419
|
-
*/
|
|
420
|
-
var focusEvent = event;
|
|
421
|
-
var relatedTarget = focusEvent.relatedTarget || focusEvent.explicitOriginalTarget;
|
|
407
|
+
var relatedTarget = event.relatedTarget;
|
|
422
408
|
|
|
423
409
|
var focusedInOptionsList = relatedTarget && _this.listRefInstance && _this.listRefInstance.contains(relatedTarget);
|
|
424
410
|
|
|
@@ -863,6 +849,7 @@ export var EuiComboBox = /*#__PURE__*/function (_Component) {
|
|
|
863
849
|
className: classes,
|
|
864
850
|
"data-test-subj": dataTestSubj,
|
|
865
851
|
onKeyDown: this.onKeyDown,
|
|
852
|
+
onBlur: this.onContainerBlur,
|
|
866
853
|
ref: this.comboBoxRefCallback
|
|
867
854
|
}), ___EmotionJSX(EuiComboBoxInput, {
|
|
868
855
|
autoSizeInputRef: this.autoSizeInputRefCallback,
|
|
@@ -680,7 +680,13 @@ EuiDataGridBody.propTypes = {
|
|
|
680
680
|
* Pass-through ref reference specifically for targeting
|
|
681
681
|
* instances where the item content is rendered as a `button`
|
|
682
682
|
*/
|
|
683
|
-
buttonRef: PropTypes.any
|
|
683
|
+
buttonRef: PropTypes.any,
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
687
|
+
* By default the text will be same as the label text.
|
|
688
|
+
*/
|
|
689
|
+
toolTipText: PropTypes.string
|
|
684
690
|
}).isRequired]),
|
|
685
691
|
|
|
686
692
|
/**
|
|
@@ -724,7 +730,8 @@ EuiDataGridBody.propTypes = {
|
|
|
724
730
|
}),
|
|
725
731
|
onClick: PropTypes.func,
|
|
726
732
|
wrapText: PropTypes.bool,
|
|
727
|
-
buttonRef: PropTypes.any
|
|
733
|
+
buttonRef: PropTypes.any,
|
|
734
|
+
toolTipText: PropTypes.string
|
|
728
735
|
}).isRequired]),
|
|
729
736
|
|
|
730
737
|
/**
|
|
@@ -768,7 +775,8 @@ EuiDataGridBody.propTypes = {
|
|
|
768
775
|
}),
|
|
769
776
|
onClick: PropTypes.func,
|
|
770
777
|
wrapText: PropTypes.bool,
|
|
771
|
-
buttonRef: PropTypes.any
|
|
778
|
+
buttonRef: PropTypes.any,
|
|
779
|
+
toolTipText: PropTypes.string
|
|
772
780
|
}).isRequired]),
|
|
773
781
|
|
|
774
782
|
/**
|
|
@@ -812,7 +820,8 @@ EuiDataGridBody.propTypes = {
|
|
|
812
820
|
}),
|
|
813
821
|
onClick: PropTypes.func,
|
|
814
822
|
wrapText: PropTypes.bool,
|
|
815
|
-
buttonRef: PropTypes.any
|
|
823
|
+
buttonRef: PropTypes.any,
|
|
824
|
+
toolTipText: PropTypes.string
|
|
816
825
|
}).isRequired]),
|
|
817
826
|
|
|
818
827
|
/**
|
|
@@ -856,7 +865,8 @@ EuiDataGridBody.propTypes = {
|
|
|
856
865
|
}),
|
|
857
866
|
onClick: PropTypes.func,
|
|
858
867
|
wrapText: PropTypes.bool,
|
|
859
|
-
buttonRef: PropTypes.any
|
|
868
|
+
buttonRef: PropTypes.any,
|
|
869
|
+
toolTipText: PropTypes.string
|
|
860
870
|
}).isRequired]),
|
|
861
871
|
|
|
862
872
|
/**
|
|
@@ -900,7 +910,8 @@ EuiDataGridBody.propTypes = {
|
|
|
900
910
|
}),
|
|
901
911
|
onClick: PropTypes.func,
|
|
902
912
|
wrapText: PropTypes.bool,
|
|
903
|
-
buttonRef: PropTypes.any
|
|
913
|
+
buttonRef: PropTypes.any,
|
|
914
|
+
toolTipText: PropTypes.string
|
|
904
915
|
}).isRequired)
|
|
905
916
|
}).isRequired]),
|
|
906
917
|
|
|
@@ -286,7 +286,13 @@ EuiDataGridCellContent.propTypes = {
|
|
|
286
286
|
* Pass-through ref reference specifically for targeting
|
|
287
287
|
* instances where the item content is rendered as a `button`
|
|
288
288
|
*/
|
|
289
|
-
buttonRef: PropTypes.any
|
|
289
|
+
buttonRef: PropTypes.any,
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
293
|
+
* By default the text will be same as the label text.
|
|
294
|
+
*/
|
|
295
|
+
toolTipText: PropTypes.string
|
|
290
296
|
}).isRequired]),
|
|
291
297
|
|
|
292
298
|
/**
|
|
@@ -330,7 +336,8 @@ EuiDataGridCellContent.propTypes = {
|
|
|
330
336
|
}),
|
|
331
337
|
onClick: PropTypes.func,
|
|
332
338
|
wrapText: PropTypes.bool,
|
|
333
|
-
buttonRef: PropTypes.any
|
|
339
|
+
buttonRef: PropTypes.any,
|
|
340
|
+
toolTipText: PropTypes.string
|
|
334
341
|
}).isRequired]),
|
|
335
342
|
|
|
336
343
|
/**
|
|
@@ -374,7 +381,8 @@ EuiDataGridCellContent.propTypes = {
|
|
|
374
381
|
}),
|
|
375
382
|
onClick: PropTypes.func,
|
|
376
383
|
wrapText: PropTypes.bool,
|
|
377
|
-
buttonRef: PropTypes.any
|
|
384
|
+
buttonRef: PropTypes.any,
|
|
385
|
+
toolTipText: PropTypes.string
|
|
378
386
|
}).isRequired]),
|
|
379
387
|
|
|
380
388
|
/**
|
|
@@ -418,7 +426,8 @@ EuiDataGridCellContent.propTypes = {
|
|
|
418
426
|
}),
|
|
419
427
|
onClick: PropTypes.func,
|
|
420
428
|
wrapText: PropTypes.bool,
|
|
421
|
-
buttonRef: PropTypes.any
|
|
429
|
+
buttonRef: PropTypes.any,
|
|
430
|
+
toolTipText: PropTypes.string
|
|
422
431
|
}).isRequired]),
|
|
423
432
|
|
|
424
433
|
/**
|
|
@@ -462,7 +471,8 @@ EuiDataGridCellContent.propTypes = {
|
|
|
462
471
|
}),
|
|
463
472
|
onClick: PropTypes.func,
|
|
464
473
|
wrapText: PropTypes.bool,
|
|
465
|
-
buttonRef: PropTypes.any
|
|
474
|
+
buttonRef: PropTypes.any,
|
|
475
|
+
toolTipText: PropTypes.string
|
|
466
476
|
}).isRequired]),
|
|
467
477
|
|
|
468
478
|
/**
|
|
@@ -506,7 +516,8 @@ EuiDataGridCellContent.propTypes = {
|
|
|
506
516
|
}),
|
|
507
517
|
onClick: PropTypes.func,
|
|
508
518
|
wrapText: PropTypes.bool,
|
|
509
|
-
buttonRef: PropTypes.any
|
|
519
|
+
buttonRef: PropTypes.any,
|
|
520
|
+
toolTipText: PropTypes.string
|
|
510
521
|
}).isRequired)
|
|
511
522
|
}).isRequired]),
|
|
512
523
|
|
|
@@ -1332,7 +1343,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1332
1343
|
}),
|
|
1333
1344
|
onClick: PropTypes.func,
|
|
1334
1345
|
wrapText: PropTypes.bool,
|
|
1335
|
-
buttonRef: PropTypes.any
|
|
1346
|
+
buttonRef: PropTypes.any,
|
|
1347
|
+
toolTipText: PropTypes.string
|
|
1336
1348
|
}).isRequired]),
|
|
1337
1349
|
|
|
1338
1350
|
/**
|
|
@@ -1376,7 +1388,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1376
1388
|
}),
|
|
1377
1389
|
onClick: PropTypes.func,
|
|
1378
1390
|
wrapText: PropTypes.bool,
|
|
1379
|
-
buttonRef: PropTypes.any
|
|
1391
|
+
buttonRef: PropTypes.any,
|
|
1392
|
+
toolTipText: PropTypes.string
|
|
1380
1393
|
}).isRequired]),
|
|
1381
1394
|
|
|
1382
1395
|
/**
|
|
@@ -1420,7 +1433,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1420
1433
|
}),
|
|
1421
1434
|
onClick: PropTypes.func,
|
|
1422
1435
|
wrapText: PropTypes.bool,
|
|
1423
|
-
buttonRef: PropTypes.any
|
|
1436
|
+
buttonRef: PropTypes.any,
|
|
1437
|
+
toolTipText: PropTypes.string
|
|
1424
1438
|
}).isRequired]),
|
|
1425
1439
|
|
|
1426
1440
|
/**
|
|
@@ -1464,7 +1478,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1464
1478
|
}),
|
|
1465
1479
|
onClick: PropTypes.func,
|
|
1466
1480
|
wrapText: PropTypes.bool,
|
|
1467
|
-
buttonRef: PropTypes.any
|
|
1481
|
+
buttonRef: PropTypes.any,
|
|
1482
|
+
toolTipText: PropTypes.string
|
|
1468
1483
|
}).isRequired]),
|
|
1469
1484
|
|
|
1470
1485
|
/**
|
|
@@ -1508,7 +1523,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1508
1523
|
}),
|
|
1509
1524
|
onClick: PropTypes.func,
|
|
1510
1525
|
wrapText: PropTypes.bool,
|
|
1511
|
-
buttonRef: PropTypes.any
|
|
1526
|
+
buttonRef: PropTypes.any,
|
|
1527
|
+
toolTipText: PropTypes.string
|
|
1512
1528
|
}).isRequired]),
|
|
1513
1529
|
|
|
1514
1530
|
/**
|
|
@@ -1552,7 +1568,8 @@ EuiDataGridCell.propTypes = {
|
|
|
1552
1568
|
}),
|
|
1553
1569
|
onClick: PropTypes.func,
|
|
1554
1570
|
wrapText: PropTypes.bool,
|
|
1555
|
-
buttonRef: PropTypes.any
|
|
1571
|
+
buttonRef: PropTypes.any,
|
|
1572
|
+
toolTipText: PropTypes.string
|
|
1556
1573
|
}).isRequired)
|
|
1557
1574
|
}).isRequired]),
|
|
1558
1575
|
|
|
@@ -352,7 +352,13 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
352
352
|
* Pass-through ref reference specifically for targeting
|
|
353
353
|
* instances where the item content is rendered as a `button`
|
|
354
354
|
*/
|
|
355
|
-
buttonRef: PropTypes.any
|
|
355
|
+
buttonRef: PropTypes.any,
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
359
|
+
* By default the text will be same as the label text.
|
|
360
|
+
*/
|
|
361
|
+
toolTipText: PropTypes.string
|
|
356
362
|
}).isRequired]),
|
|
357
363
|
|
|
358
364
|
/**
|
|
@@ -396,7 +402,8 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
396
402
|
}),
|
|
397
403
|
onClick: PropTypes.func,
|
|
398
404
|
wrapText: PropTypes.bool,
|
|
399
|
-
buttonRef: PropTypes.any
|
|
405
|
+
buttonRef: PropTypes.any,
|
|
406
|
+
toolTipText: PropTypes.string
|
|
400
407
|
}).isRequired]),
|
|
401
408
|
|
|
402
409
|
/**
|
|
@@ -440,7 +447,8 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
440
447
|
}),
|
|
441
448
|
onClick: PropTypes.func,
|
|
442
449
|
wrapText: PropTypes.bool,
|
|
443
|
-
buttonRef: PropTypes.any
|
|
450
|
+
buttonRef: PropTypes.any,
|
|
451
|
+
toolTipText: PropTypes.string
|
|
444
452
|
}).isRequired]),
|
|
445
453
|
|
|
446
454
|
/**
|
|
@@ -484,7 +492,8 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
484
492
|
}),
|
|
485
493
|
onClick: PropTypes.func,
|
|
486
494
|
wrapText: PropTypes.bool,
|
|
487
|
-
buttonRef: PropTypes.any
|
|
495
|
+
buttonRef: PropTypes.any,
|
|
496
|
+
toolTipText: PropTypes.string
|
|
488
497
|
}).isRequired]),
|
|
489
498
|
|
|
490
499
|
/**
|
|
@@ -528,7 +537,8 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
528
537
|
}),
|
|
529
538
|
onClick: PropTypes.func,
|
|
530
539
|
wrapText: PropTypes.bool,
|
|
531
|
-
buttonRef: PropTypes.any
|
|
540
|
+
buttonRef: PropTypes.any,
|
|
541
|
+
toolTipText: PropTypes.string
|
|
532
542
|
}).isRequired]),
|
|
533
543
|
|
|
534
544
|
/**
|
|
@@ -572,7 +582,8 @@ EuiDataGridHeaderCell.propTypes = {
|
|
|
572
582
|
}),
|
|
573
583
|
onClick: PropTypes.func,
|
|
574
584
|
wrapText: PropTypes.bool,
|
|
575
|
-
buttonRef: PropTypes.any
|
|
585
|
+
buttonRef: PropTypes.any,
|
|
586
|
+
toolTipText: PropTypes.string
|
|
576
587
|
}).isRequired)
|
|
577
588
|
}).isRequired]),
|
|
578
589
|
|
|
@@ -311,7 +311,13 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
311
311
|
* Pass-through ref reference specifically for targeting
|
|
312
312
|
* instances where the item content is rendered as a `button`
|
|
313
313
|
*/
|
|
314
|
-
buttonRef: PropTypes.any
|
|
314
|
+
buttonRef: PropTypes.any,
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
318
|
+
* By default the text will be same as the label text.
|
|
319
|
+
*/
|
|
320
|
+
toolTipText: PropTypes.string
|
|
315
321
|
}).isRequired]),
|
|
316
322
|
|
|
317
323
|
/**
|
|
@@ -355,7 +361,8 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
355
361
|
}),
|
|
356
362
|
onClick: PropTypes.func,
|
|
357
363
|
wrapText: PropTypes.bool,
|
|
358
|
-
buttonRef: PropTypes.any
|
|
364
|
+
buttonRef: PropTypes.any,
|
|
365
|
+
toolTipText: PropTypes.string
|
|
359
366
|
}).isRequired]),
|
|
360
367
|
|
|
361
368
|
/**
|
|
@@ -399,7 +406,8 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
399
406
|
}),
|
|
400
407
|
onClick: PropTypes.func,
|
|
401
408
|
wrapText: PropTypes.bool,
|
|
402
|
-
buttonRef: PropTypes.any
|
|
409
|
+
buttonRef: PropTypes.any,
|
|
410
|
+
toolTipText: PropTypes.string
|
|
403
411
|
}).isRequired]),
|
|
404
412
|
|
|
405
413
|
/**
|
|
@@ -443,7 +451,8 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
443
451
|
}),
|
|
444
452
|
onClick: PropTypes.func,
|
|
445
453
|
wrapText: PropTypes.bool,
|
|
446
|
-
buttonRef: PropTypes.any
|
|
454
|
+
buttonRef: PropTypes.any,
|
|
455
|
+
toolTipText: PropTypes.string
|
|
447
456
|
}).isRequired]),
|
|
448
457
|
|
|
449
458
|
/**
|
|
@@ -487,7 +496,8 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
487
496
|
}),
|
|
488
497
|
onClick: PropTypes.func,
|
|
489
498
|
wrapText: PropTypes.bool,
|
|
490
|
-
buttonRef: PropTypes.any
|
|
499
|
+
buttonRef: PropTypes.any,
|
|
500
|
+
toolTipText: PropTypes.string
|
|
491
501
|
}).isRequired]),
|
|
492
502
|
|
|
493
503
|
/**
|
|
@@ -531,7 +541,8 @@ EuiDataGridHeaderRow.propTypes = {
|
|
|
531
541
|
}),
|
|
532
542
|
onClick: PropTypes.func,
|
|
533
543
|
wrapText: PropTypes.bool,
|
|
534
|
-
buttonRef: PropTypes.any
|
|
544
|
+
buttonRef: PropTypes.any,
|
|
545
|
+
toolTipText: PropTypes.string
|
|
535
546
|
}).isRequired)
|
|
536
547
|
}).isRequired]),
|
|
537
548
|
|
|
@@ -603,7 +603,13 @@ EuiDataGrid.propTypes = {
|
|
|
603
603
|
* Pass-through ref reference specifically for targeting
|
|
604
604
|
* instances where the item content is rendered as a `button`
|
|
605
605
|
*/
|
|
606
|
-
buttonRef: PropTypes.any
|
|
606
|
+
buttonRef: PropTypes.any,
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
610
|
+
* By default the text will be same as the label text.
|
|
611
|
+
*/
|
|
612
|
+
toolTipText: PropTypes.string
|
|
607
613
|
}).isRequired]),
|
|
608
614
|
|
|
609
615
|
/**
|
|
@@ -647,7 +653,8 @@ EuiDataGrid.propTypes = {
|
|
|
647
653
|
}),
|
|
648
654
|
onClick: PropTypes.func,
|
|
649
655
|
wrapText: PropTypes.bool,
|
|
650
|
-
buttonRef: PropTypes.any
|
|
656
|
+
buttonRef: PropTypes.any,
|
|
657
|
+
toolTipText: PropTypes.string
|
|
651
658
|
}).isRequired]),
|
|
652
659
|
|
|
653
660
|
/**
|
|
@@ -691,7 +698,8 @@ EuiDataGrid.propTypes = {
|
|
|
691
698
|
}),
|
|
692
699
|
onClick: PropTypes.func,
|
|
693
700
|
wrapText: PropTypes.bool,
|
|
694
|
-
buttonRef: PropTypes.any
|
|
701
|
+
buttonRef: PropTypes.any,
|
|
702
|
+
toolTipText: PropTypes.string
|
|
695
703
|
}).isRequired]),
|
|
696
704
|
|
|
697
705
|
/**
|
|
@@ -735,7 +743,8 @@ EuiDataGrid.propTypes = {
|
|
|
735
743
|
}),
|
|
736
744
|
onClick: PropTypes.func,
|
|
737
745
|
wrapText: PropTypes.bool,
|
|
738
|
-
buttonRef: PropTypes.any
|
|
746
|
+
buttonRef: PropTypes.any,
|
|
747
|
+
toolTipText: PropTypes.string
|
|
739
748
|
}).isRequired]),
|
|
740
749
|
|
|
741
750
|
/**
|
|
@@ -779,7 +788,8 @@ EuiDataGrid.propTypes = {
|
|
|
779
788
|
}),
|
|
780
789
|
onClick: PropTypes.func,
|
|
781
790
|
wrapText: PropTypes.bool,
|
|
782
|
-
buttonRef: PropTypes.any
|
|
791
|
+
buttonRef: PropTypes.any,
|
|
792
|
+
toolTipText: PropTypes.string
|
|
783
793
|
}).isRequired]),
|
|
784
794
|
|
|
785
795
|
/**
|
|
@@ -823,7 +833,8 @@ EuiDataGrid.propTypes = {
|
|
|
823
833
|
}),
|
|
824
834
|
onClick: PropTypes.func,
|
|
825
835
|
wrapText: PropTypes.bool,
|
|
826
|
-
buttonRef: PropTypes.any
|
|
836
|
+
buttonRef: PropTypes.any,
|
|
837
|
+
toolTipText: PropTypes.string
|
|
827
838
|
}).isRequired)
|
|
828
839
|
}).isRequired]),
|
|
829
840
|
|
|
@@ -409,7 +409,13 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
409
409
|
* Pass-through ref reference specifically for targeting
|
|
410
410
|
* instances where the item content is rendered as a `button`
|
|
411
411
|
*/
|
|
412
|
-
buttonRef: PropTypes.any
|
|
412
|
+
buttonRef: PropTypes.any,
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
416
|
+
* By default the text will be same as the label text.
|
|
417
|
+
*/
|
|
418
|
+
toolTipText: PropTypes.string
|
|
413
419
|
}).isRequired]),
|
|
414
420
|
|
|
415
421
|
/**
|
|
@@ -453,7 +459,8 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
453
459
|
}),
|
|
454
460
|
onClick: PropTypes.func,
|
|
455
461
|
wrapText: PropTypes.bool,
|
|
456
|
-
buttonRef: PropTypes.any
|
|
462
|
+
buttonRef: PropTypes.any,
|
|
463
|
+
toolTipText: PropTypes.string
|
|
457
464
|
}).isRequired]),
|
|
458
465
|
|
|
459
466
|
/**
|
|
@@ -497,7 +504,8 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
497
504
|
}),
|
|
498
505
|
onClick: PropTypes.func,
|
|
499
506
|
wrapText: PropTypes.bool,
|
|
500
|
-
buttonRef: PropTypes.any
|
|
507
|
+
buttonRef: PropTypes.any,
|
|
508
|
+
toolTipText: PropTypes.string
|
|
501
509
|
}).isRequired]),
|
|
502
510
|
|
|
503
511
|
/**
|
|
@@ -541,7 +549,8 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
541
549
|
}),
|
|
542
550
|
onClick: PropTypes.func,
|
|
543
551
|
wrapText: PropTypes.bool,
|
|
544
|
-
buttonRef: PropTypes.any
|
|
552
|
+
buttonRef: PropTypes.any,
|
|
553
|
+
toolTipText: PropTypes.string
|
|
545
554
|
}).isRequired]),
|
|
546
555
|
|
|
547
556
|
/**
|
|
@@ -585,7 +594,8 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
585
594
|
}),
|
|
586
595
|
onClick: PropTypes.func,
|
|
587
596
|
wrapText: PropTypes.bool,
|
|
588
|
-
buttonRef: PropTypes.any
|
|
597
|
+
buttonRef: PropTypes.any,
|
|
598
|
+
toolTipText: PropTypes.string
|
|
589
599
|
}).isRequired]),
|
|
590
600
|
|
|
591
601
|
/**
|
|
@@ -629,7 +639,8 @@ EuiDataGridInMemoryRenderer.propTypes = {
|
|
|
629
639
|
}),
|
|
630
640
|
onClick: PropTypes.func,
|
|
631
641
|
wrapText: PropTypes.bool,
|
|
632
|
-
buttonRef: PropTypes.any
|
|
642
|
+
buttonRef: PropTypes.any,
|
|
643
|
+
toolTipText: PropTypes.string
|
|
633
644
|
}).isRequired)
|
|
634
645
|
}).isRequired]),
|
|
635
646
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _excluded = ["align", "children", "className", "compressed", "descriptionProps", "listItems", "textStyle", "titleProps", "type"];
|
|
1
|
+
var _excluded = ["align", "children", "className", "compressed", "descriptionProps", "listItems", "textStyle", "titleProps", "type", "gutterSize"];
|
|
2
2
|
|
|
3
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
|
|
@@ -36,6 +36,8 @@ export var EuiDescriptionList = function EuiDescriptionList(_ref) {
|
|
|
36
36
|
titleProps = _ref.titleProps,
|
|
37
37
|
_ref$type = _ref.type,
|
|
38
38
|
type = _ref$type === void 0 ? 'row' : _ref$type,
|
|
39
|
+
_ref$gutterSize = _ref.gutterSize,
|
|
40
|
+
gutterSize = _ref$gutterSize === void 0 ? 'm' : _ref$gutterSize,
|
|
39
41
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
40
42
|
|
|
41
43
|
var euiTheme = useEuiTheme();
|
|
@@ -61,7 +63,8 @@ export var EuiDescriptionList = function EuiDescriptionList(_ref) {
|
|
|
61
63
|
type: type,
|
|
62
64
|
compressed: compressed,
|
|
63
65
|
textStyle: textStyle,
|
|
64
|
-
align: align
|
|
66
|
+
align: align,
|
|
67
|
+
gutterSize: gutterSize
|
|
65
68
|
}
|
|
66
69
|
}, ___EmotionJSX("dl", _extends({
|
|
67
70
|
className: classes,
|
|
@@ -119,5 +122,10 @@ EuiDescriptionList.propTypes = {
|
|
|
119
122
|
"aria-label": PropTypes.string,
|
|
120
123
|
"data-test-subj": PropTypes.string,
|
|
121
124
|
css: PropTypes.any
|
|
122
|
-
})
|
|
125
|
+
}),
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Vertical spacing added between `EuiDescriptionList` elements
|
|
129
|
+
*/
|
|
130
|
+
gutterSize: PropTypes.any
|
|
123
131
|
};
|
|
@@ -42,7 +42,8 @@ export var EuiDescriptionListDescription = function EuiDescriptionListDescriptio
|
|
|
42
42
|
type = _useContext.type,
|
|
43
43
|
textStyle = _useContext.textStyle,
|
|
44
44
|
compressed = _useContext.compressed,
|
|
45
|
-
align = _useContext.align
|
|
45
|
+
align = _useContext.align,
|
|
46
|
+
gutterSize = _useContext.gutterSize;
|
|
46
47
|
|
|
47
48
|
var theme = useEuiTheme();
|
|
48
49
|
var styles = euiDescriptionListDescriptionStyles(theme);
|
|
@@ -59,6 +60,7 @@ export var EuiDescriptionListDescription = function EuiDescriptionListDescriptio
|
|
|
59
60
|
conditionalStyles.push(styles.left);
|
|
60
61
|
}
|
|
61
62
|
|
|
63
|
+
conditionalStyles.push(styles[gutterSize]);
|
|
62
64
|
break;
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -22,7 +22,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
22
22
|
|
|
23
23
|
export var euiDescriptionListDescriptionStyles = function euiDescriptionListDescriptionStyles(euiThemeContext) {
|
|
24
24
|
var euiTheme = euiThemeContext.euiTheme;
|
|
25
|
-
var columnDisplay = "\n ".concat(logicalCSS('width', '50%'), "
|
|
25
|
+
var columnDisplay = "\n ".concat(logicalCSS('width', '50%'), "\n ").concat(logicalCSS('padding-left', euiTheme.size.s), "\n ");
|
|
26
26
|
return {
|
|
27
27
|
euiDescriptionList__description: /*#__PURE__*/css(";label:euiDescriptionList__description;"),
|
|
28
28
|
// Types
|
|
@@ -42,6 +42,9 @@ export var euiDescriptionListDescriptionStyles = function euiDescriptionListDesc
|
|
|
42
42
|
normal: /*#__PURE__*/css(euiFontSize(euiThemeContext, 's'), ";;label:normal;")
|
|
43
43
|
},
|
|
44
44
|
// Column types should align description text to the left when EuiDecriptionList is centered
|
|
45
|
-
left: /*#__PURE__*/css(logicalTextAlignCSS('left'), ";;label:left;")
|
|
45
|
+
left: /*#__PURE__*/css(logicalTextAlignCSS('left'), ";;label:left;"),
|
|
46
|
+
// Gutter
|
|
47
|
+
s: /*#__PURE__*/css("&:not(:first-of-type){", logicalCSS('margin-top', euiTheme.size.s), ";};label:s;"),
|
|
48
|
+
m: /*#__PURE__*/css("&:not(:first-of-type){", logicalCSS('margin-top', euiTheme.size.base), ";};label:m;")
|
|
46
49
|
};
|
|
47
50
|
};
|
|
@@ -42,7 +42,8 @@ export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
|
|
|
42
42
|
type = _useContext.type,
|
|
43
43
|
textStyle = _useContext.textStyle,
|
|
44
44
|
compressed = _useContext.compressed,
|
|
45
|
-
align = _useContext.align
|
|
45
|
+
align = _useContext.align,
|
|
46
|
+
gutterSize = _useContext.gutterSize;
|
|
46
47
|
|
|
47
48
|
var theme = useEuiTheme();
|
|
48
49
|
var styles = euiDescriptionListTitleStyles(theme);
|
|
@@ -62,7 +63,7 @@ export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
|
|
|
62
63
|
break;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
var cssStyles = [styles.euiDescriptionList__title, styles[type]].concat(_toConsumableArray(conditionalStyles));
|
|
66
|
+
var cssStyles = [styles.euiDescriptionList__title, styles[type], styles[gutterSize]].concat(_toConsumableArray(conditionalStyles));
|
|
66
67
|
var classes = classNames('euiDescriptionList__title', className);
|
|
67
68
|
return ___EmotionJSX("dt", _extends({
|
|
68
69
|
className: classes,
|