Skip to content

Commit

Permalink
Merge branch 'main' into super-date-picker/refresh-units
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Feb 6, 2024
2 parents 8c231b8 + 70634a0 commit ad62cc6
Show file tree
Hide file tree
Showing 84 changed files with 2,922 additions and 2,698 deletions.
25 changes: 25 additions & 0 deletions changelogs/CHANGELOG_2024.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## [`v93.0.0`](https://github.com/elastic/eui/releases/v93.0.0)

**Bug fixes**

- Fixed `EuiTextTruncate` component to clean up timer from side effect on unmount ([#7495](https://github.com/elastic/eui/pull/7495))

**Breaking changes**

- Removed deprecated `anchorClassName` prop from `EuiPopover`. Use `className` instead ([#7488](https://github.com/elastic/eui/pull/7488))
- Removed deprecated `buttonRef` prop from `EuiPopover`. Use `popoverRef` instead ([#7488](https://github.com/elastic/eui/pull/7488))
- Removed deprecated `toolTipTitle` and `toolTipPosition` props from `EuiContextMenuItem`. Use `toolTipProps.title` and `toolTipProps.position` instead ([#7489](https://github.com/elastic/eui/pull/7489))
- Removed deprecated internal `setSelection` ref method from `EuiInMemoryTable` and `EuiBasicTable`. Use the new controlled `selection.selected` prop API instead. ([#7491](https://github.com/elastic/eui/pull/7491))
- `EuiTourStep`'s `className` and `style` props now apply to the anchoring element instead of to the popover panel, to match `EuiPopover` behavior. ([#7497](https://github.com/elastic/eui/pull/7497))
- Convert your existing usages to `panelClassName` and `panelStyle` respectively instead.

**Performance**

- Improved the amount of recomputed styles being generated by `EuiCode` and `EuiCodeBlock` ([#7486](https://github.com/elastic/eui/pull/7486))

**CSS-in-JS conversions**

- Converted `EuiSearchBar` to Emotion ([#7490](https://github.com/elastic/eui/pull/7490))
- Converted `EuiEmptyPrompt` to Emotion ([#7494](https://github.com/elastic/eui/pull/7494))
- Added `euiBorderColor` and `useEuiBorderColorCSS` style utilities ([#7494](https://github.com/elastic/eui/pull/7494))

## [`v92.2.1`](https://github.com/elastic/eui/releases/v92.2.1)

**Bug fixes**
Expand Down
3 changes: 0 additions & 3 deletions changelogs/upcoming/7486.md

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/upcoming/7488.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/upcoming/7489.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/upcoming/7495.md

This file was deleted.

5 changes: 5 additions & 0 deletions changelogs/upcoming/7496.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Updated `EuiHighlight` to accept an array of `search` strings, which allows highlighting multiple, separate words within its children. This new type and behavior *only* works if `highlightAll` is also set to true.

**Bug fixes**

- Fixed `EuiHighlight` to not parse `search` strings as regexes
1 change: 1 addition & 0 deletions changelogs/upcoming/7502.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated `EuiSuperDatePicker` with a new `canRoundRelativeUnits` prop, which defaults to true (current behavior). To preserve displaying the unit that users select for relative time, set this to false.
188 changes: 94 additions & 94 deletions i18ntokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 664,
"line": 657,
"column": 10,
"index": 17148
"index": 16964
},
"end": {
"line": 668,
"line": 661,
"column": 12,
"index": 17351
"index": 17167
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -59,14 +59,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 677,
"line": 670,
"column": 12,
"index": 17548
"index": 17364
},
"end": {
"line": 681,
"line": 674,
"column": 14,
"index": 17827
"index": 17643
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -77,14 +77,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 685,
"line": 678,
"column": 12,
"index": 17899
"index": 17715
},
"end": {
"line": 689,
"line": 682,
"column": 14,
"index": 18139
"index": 17955
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -95,14 +95,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 694,
"line": 687,
"column": 10,
"index": 18215
"index": 18031
},
"end": {
"line": 698,
"line": 691,
"column": 12,
"index": 18399
"index": 18215
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -113,14 +113,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 740,
"line": 733,
"column": 6,
"index": 19397
"index": 19213
},
"end": {
"line": 740,
"line": 733,
"column": 77,
"index": 19468
"index": 19284
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -131,14 +131,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 1136,
"line": 1129,
"column": 8,
"index": 31279
"index": 31095
},
"end": {
"line": 1136,
"line": 1129,
"column": 79,
"index": 31350
"index": 31166
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand All @@ -149,14 +149,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 1361,
"line": 1354,
"column": 8,
"index": 37925
"index": 37741
},
"end": {
"line": 1365,
"line": 1358,
"column": 9,
"index": 38084
"index": 37900
}
},
"filepath": "src/components/basic_table/basic_table.tsx"
Expand Down Expand Up @@ -437,14 +437,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 55,
"line": 56,
"column": 49,
"index": 1750
"index": 1816
},
"end": {
"line": 61,
"line": 62,
"column": 3,
"index": 1905
"index": 1971
}
},
"filepath": "src/components/code/code_block_full_screen.tsx"
Expand All @@ -455,14 +455,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 55,
"line": 56,
"column": 49,
"index": 1750
"index": 1816
},
"end": {
"line": 61,
"line": 62,
"column": 3,
"index": 1905
"index": 1971
}
},
"filepath": "src/components/code/code_block_full_screen.tsx"
Expand Down Expand Up @@ -5729,14 +5729,14 @@
"highlighting": "string",
"loc": {
"start": {
"line": 695,
"line": 682,
"column": 16,
"index": 20476
"index": 20150
},
"end": {
"line": 698,
"line": 685,
"column": 18,
"index": 20670
"index": 20344
}
},
"filepath": "src/components/popover/popover.tsx"
Expand Down Expand Up @@ -6767,6 +6767,60 @@
},
"filepath": "src/components/toast/toast.tsx"
},
{
"token": "euiTourFooter.endTour",
"defString": "End tour",
"highlighting": "string",
"loc": {
"start": {
"line": 95,
"column": 14,
"index": 2888
},
"end": {
"line": 102,
"column": 15,
"index": 3156
}
},
"filepath": "src/components/tour/_tour_footer.tsx"
},
{
"token": "euiTourFooter.skipTour",
"defString": "Skip tour",
"highlighting": "string",
"loc": {
"start": {
"line": 95,
"column": 14,
"index": 2888
},
"end": {
"line": 102,
"column": 15,
"index": 3156
}
},
"filepath": "src/components/tour/_tour_footer.tsx"
},
{
"token": "euiTourFooter.closeTour",
"defString": "Close tour",
"highlighting": "string",
"loc": {
"start": {
"line": 95,
"column": 14,
"index": 2888
},
"end": {
"line": 102,
"column": 15,
"index": 3156
}
},
"filepath": "src/components/tour/_tour_footer.tsx"
},
{
"token": "euiTourStepIndicator.isActive",
"defString": "active",
Expand Down Expand Up @@ -6839,60 +6893,6 @@
},
"filepath": "src/components/tour/tour_step_indicator.tsx"
},
{
"token": "euiTourStep.endTour",
"defString": "End tour",
"highlighting": "string",
"loc": {
"start": {
"line": 256,
"column": 10,
"index": 6776
},
"end": {
"line": 263,
"column": 11,
"index": 7010
}
},
"filepath": "src/components/tour/tour_step.tsx"
},
{
"token": "euiTourStep.skipTour",
"defString": "Skip tour",
"highlighting": "string",
"loc": {
"start": {
"line": 256,
"column": 10,
"index": 6776
},
"end": {
"line": 263,
"column": 11,
"index": 7010
}
},
"filepath": "src/components/tour/tour_step.tsx"
},
{
"token": "euiTourStep.closeTour",
"defString": "Close tour",
"highlighting": "string",
"loc": {
"start": {
"line": 256,
"column": 10,
"index": 6776
},
"end": {
"line": 263,
"column": 11,
"index": 7010
}
},
"filepath": "src/components/tour/tour_step.tsx"
},
{
"token": "euiTreeView.listNavigationInstructions",
"defString": "You can quickly navigate this list using arrow keys.",
Expand Down
Loading

0 comments on commit ad62cc6

Please sign in to comment.