@elastic/eui 39.1.3 → 39.1.4

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/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ## [`master`](https://github.com/elastic/eui/tree/master)
2
2
 
3
- No public interface changes since `39.1.3`.
3
+ No public interface changes since `39.1.4`.
4
+
5
+ ## [`39.1.4`](https://github.com/elastic/eui/tree/v39.1.4)
6
+
7
+ **Deprecations**
8
+
9
+ - Deprecated `PartitionConfig` in favor of inclusion in Charts `theme.partition` ([#5492](https://github.com/elastic/eui/pull/5492)).
4
10
 
5
11
  ## [`39.1.3`](https://github.com/elastic/eui/tree/v39.1.3)
6
12
 
@@ -2174,7 +2180,7 @@ No public interface changes since `39.1.3`.
2174
2180
 
2175
2181
  - Re-enabled `width` property for `EuiTable` cell components ([#2452](https://github.com/elastic/eui/pull/2452))
2176
2182
  - Fixed `EuiNavDrawer` collapse/expand button height issue
2177
- ([#2463](https://github.com/elastic/eui/pull/2463))
2183
+ ([#2463](https://github.com/elastic/eui/pull/2463))
2178
2184
 
2179
2185
  ## [`14.6.0`](https://github.com/elastic/eui/tree/v14.6.0)
2180
2186
 
@@ -2245,7 +2251,7 @@ No public interface changes since `39.1.3`.
2245
2251
 
2246
2252
  - Added `compressed` option to `buttonSize` prop of EuiButtonGroup ([#2343](https://github.com/elastic/eui/pull/2343))
2247
2253
  - Added disabled states to `EuiCard`, `EuiKeyPadMenuItem` and `EuiKeyPadMenuItemButton`
2248
- ([#2333](https://github.com/elastic/eui/pull/2340))
2254
+ ([#2333](https://github.com/elastic/eui/pull/2340))
2249
2255
  - Added missing `compressed` TS definitions to `EuiComboBox`, `EuiCheckboxGroup`, `EuiCheckbox`, `EuiFieldSearch`, `EuiRadioGroup`, `EuiSwitch` ([#2338](https://github.com/elastic/eui/pull/2338))
2250
2256
  - Added auto-margin between `EuiFormRow` and `EuiButton` ([#2338](https://github.com/elastic/eui/pull/2338))
2251
2257
  - Added border to `[readOnly]` inputs ([#2338](https://github.com/elastic/eui/pull/2338))
@@ -3406,7 +3412,7 @@ No public interface changes since `39.1.3`.
3406
3412
 
3407
3413
  - Added `email` icon to `EuiIcon` ([#1331](https://github.com/elastic/eui/pull/1331))
3408
3414
  - Added IBM logo in colour and mono
3409
- ([#1321](https://github.com/elastic/eui/pull/1321))
3415
+ ([#1321](https://github.com/elastic/eui/pull/1321))
3410
3416
  - Added support for nodes as "Action" column headers in `EuiBasicTable`, which was overlooked in the original change in `4.5.0` ([#1312](https://github.com/elastic/eui/pull/1312))
3411
3417
  - Updated `GlobalDatePicker` example to include all Kibana features ([#1219](https://github.com/elastic/eui/pull/1219))
3412
3418
  - Adjusted `EuiDatePickerRange` to allow for deeper customization ([#1219](https://github.com/elastic/eui/pull/1219))
@@ -3658,7 +3664,7 @@ No public interface changes since `39.1.3`.
3658
3664
  **Bug fixes**
3659
3665
 
3660
3666
  - `EuiWrappingPopover` only re-attach anchor element on unmount if anchor element is still attached to DOM
3661
- ([#1114](https://github.com/elastic/eui/pull/1114))
3667
+ ([#1114](https://github.com/elastic/eui/pull/1114))
3662
3668
 
3663
3669
  - Fixed `EuiSeriesChart` overrides `react-vis` classes ([#1123](https://github.com/elastic/eui/pull/1123))
3664
3670
 
@@ -3707,7 +3713,7 @@ No public interface changes since `39.1.3`.
3707
3713
 
3708
3714
  **Experimental breaking change**
3709
3715
 
3710
- - Renamed `EuiXYChart` to `EuiSeriesChart`, `EuiXYChartUtils` to `EuiSeriesChartUtils`, `EuiXYChartAxisUtils` to `EuiSeriesChartAxisUtils`, and `EuiXYChartTextUtils` to `EuiSeriesChartTextUtils` ([#1066](https://github.com/elastic/eui/pull/1066))
3716
+ - Renamed `EuiXYChart` to `EuiSeriesChart`, `EuiXYChartUtils` to `EuiSeriesChartUtils`, `EuiXYChartAxisUtils` to `EuiSeriesChartAxisUtils`, and `EuiXYChartTextUtils` to `EuiSeriesChartTextUtils` ([#1066](https://github.com/elastic/eui/pull/1066))
3711
3717
 
3712
3718
  ## [`3.2.1`](https://github.com/elastic/eui/tree/v3.2.1)
3713
3719
 
@@ -4090,9 +4096,9 @@ No public interface changes since `39.1.3`.
4090
4096
  - `EuiInMemoryTable` pagination state is now reset automatically when a search is executed ([#686](https://github.com/elastic/eui/pull/686))
4091
4097
  - Fixed slow performance of `EuiComboBox` when there are hundreds or thousands of options by virtualizing `EuiComboBoxOptionsList` ([#670](https://github.com/elastic/eui/pull/670))
4092
4098
  - Fixed some text styles ([#683](https://github.com/elastic/eui/pull/683))
4093
- - Fixed font-family of input, textarea, select, and buttons
4094
- - Fixed style of code, pre, and dl’s inside `EuiText`
4095
- - Fixed ghost text color which was being set to a dark gray
4099
+ - Fixed font-family of input, textarea, select, and buttons
4100
+ - Fixed style of code, pre, and dl’s inside `EuiText`
4101
+ - Fixed ghost text color which was being set to a dark gray
4096
4102
 
4097
4103
  **Breaking changes**
4098
4104
 
@@ -4259,7 +4265,7 @@ No public interface changes since `39.1.3`.
4259
4265
  - `EuiInMemoryTable` pass items to BasicTable when message is provided ([#517](https://github.com/elastic/eui/pull/517)).
4260
4266
  - `EuiSearchBox` now passes unused props through to `EuiFieldSearch` ([#514](https://github.com/elastic/eui/pull/514))
4261
4267
  - Change `EuiBasicTable` `noItemsMessage` and `EuiInMemoryTable` `message` propType to node
4262
- instead of just string ([#516](https://github.com/elastic/eui/pull/516))
4268
+ instead of just string ([#516](https://github.com/elastic/eui/pull/516))
4263
4269
 
4264
4270
  ## [`0.0.27`](https://github.com/elastic/eui/tree/v0.0.27)
4265
4271
 
@@ -1,9 +1,9 @@
1
1
  declare module '@elastic/eui/dist/eui_charts_theme' {
2
- import { PartialTheme, LineAnnotationStyle, PartitionConfig } from '@elastic/charts';
3
- import { RecursivePartial } from '@elastic/eui/src/components/common';
2
+ import { PartialTheme, LineAnnotationStyle, RecursivePartial, PartitionConfig } from '@elastic/charts';
4
3
  export interface EuiChartThemeType {
5
4
  lineAnnotation: LineAnnotationStyle;
6
5
  theme: PartialTheme;
6
+ /** DEPRECATED: Use `theme.partition` config instead */
7
7
  partition: RecursivePartial<PartitionConfig>;
8
8
  }
9
9
  export const EUI_CHARTS_THEME_LIGHT: EuiChartThemeType;
@@ -5918,6 +5918,25 @@ function createTheme(colors) {
5918
5918
  progressLine: {
5919
5919
  stroke: colors.euiColorDarkestShade.rgba
5920
5920
  }
5921
+ },
5922
+ partition: {
5923
+ fontFamily: fontFamily,
5924
+ minFontSize: 8,
5925
+ maxFontSize: 16,
5926
+ fillLabel: {
5927
+ valueFont: {
5928
+ fontWeight: 700
5929
+ }
5930
+ },
5931
+ linkLabel: {
5932
+ maxCount: 5,
5933
+ fontSize: 11,
5934
+ textColor: colors.euiTextColor.rgba
5935
+ },
5936
+ outerSizeRatio: 1,
5937
+ circlePadding: 4,
5938
+ sectorLineStroke: colors.euiColorEmptyShade.rgba,
5939
+ sectorLineWidth: 1.5
5921
5940
  }
5922
5941
  }
5923
5942
  };