Skip to content

Commit ad62cc6

Browse files
authored
Merge branch 'main' into super-date-picker/refresh-units
2 parents 8c231b8 + 70634a0 commit ad62cc6

84 files changed

Lines changed: 2922 additions & 2698 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

changelogs/CHANGELOG_2024.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
## [`v93.0.0`](https://github.com/elastic/eui/releases/v93.0.0)
2+
3+
**Bug fixes**
4+
5+
- Fixed `EuiTextTruncate` component to clean up timer from side effect on unmount ([#7495](https://github.com/elastic/eui/pull/7495))
6+
7+
**Breaking changes**
8+
9+
- Removed deprecated `anchorClassName` prop from `EuiPopover`. Use `className` instead ([#7488](https://github.com/elastic/eui/pull/7488))
10+
- Removed deprecated `buttonRef` prop from `EuiPopover`. Use `popoverRef` instead ([#7488](https://github.com/elastic/eui/pull/7488))
11+
- Removed deprecated `toolTipTitle` and `toolTipPosition` props from `EuiContextMenuItem`. Use `toolTipProps.title` and `toolTipProps.position` instead ([#7489](https://github.com/elastic/eui/pull/7489))
12+
- 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))
13+
- `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))
14+
- Convert your existing usages to `panelClassName` and `panelStyle` respectively instead.
15+
16+
**Performance**
17+
18+
- Improved the amount of recomputed styles being generated by `EuiCode` and `EuiCodeBlock` ([#7486](https://github.com/elastic/eui/pull/7486))
19+
20+
**CSS-in-JS conversions**
21+
22+
- Converted `EuiSearchBar` to Emotion ([#7490](https://github.com/elastic/eui/pull/7490))
23+
- Converted `EuiEmptyPrompt` to Emotion ([#7494](https://github.com/elastic/eui/pull/7494))
24+
- Added `euiBorderColor` and `useEuiBorderColorCSS` style utilities ([#7494](https://github.com/elastic/eui/pull/7494))
25+
126
## [`v92.2.1`](https://github.com/elastic/eui/releases/v92.2.1)
227

328
**Bug fixes**

changelogs/upcoming/7486.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/upcoming/7488.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelogs/upcoming/7489.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/upcoming/7495.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/upcoming/7496.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- 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.
2+
3+
**Bug fixes**
4+
5+
- Fixed `EuiHighlight` to not parse `search` strings as regexes

changelogs/upcoming/7502.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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.

i18ntokens.json

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
"highlighting": "string",
4242
"loc": {
4343
"start": {
44-
"line": 664,
44+
"line": 657,
4545
"column": 10,
46-
"index": 17148
46+
"index": 16964
4747
},
4848
"end": {
49-
"line": 668,
49+
"line": 661,
5050
"column": 12,
51-
"index": 17351
51+
"index": 17167
5252
}
5353
},
5454
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -59,14 +59,14 @@
5959
"highlighting": "string",
6060
"loc": {
6161
"start": {
62-
"line": 677,
62+
"line": 670,
6363
"column": 12,
64-
"index": 17548
64+
"index": 17364
6565
},
6666
"end": {
67-
"line": 681,
67+
"line": 674,
6868
"column": 14,
69-
"index": 17827
69+
"index": 17643
7070
}
7171
},
7272
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -77,14 +77,14 @@
7777
"highlighting": "string",
7878
"loc": {
7979
"start": {
80-
"line": 685,
80+
"line": 678,
8181
"column": 12,
82-
"index": 17899
82+
"index": 17715
8383
},
8484
"end": {
85-
"line": 689,
85+
"line": 682,
8686
"column": 14,
87-
"index": 18139
87+
"index": 17955
8888
}
8989
},
9090
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -95,14 +95,14 @@
9595
"highlighting": "string",
9696
"loc": {
9797
"start": {
98-
"line": 694,
98+
"line": 687,
9999
"column": 10,
100-
"index": 18215
100+
"index": 18031
101101
},
102102
"end": {
103-
"line": 698,
103+
"line": 691,
104104
"column": 12,
105-
"index": 18399
105+
"index": 18215
106106
}
107107
},
108108
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -113,14 +113,14 @@
113113
"highlighting": "string",
114114
"loc": {
115115
"start": {
116-
"line": 740,
116+
"line": 733,
117117
"column": 6,
118-
"index": 19397
118+
"index": 19213
119119
},
120120
"end": {
121-
"line": 740,
121+
"line": 733,
122122
"column": 77,
123-
"index": 19468
123+
"index": 19284
124124
}
125125
},
126126
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -131,14 +131,14 @@
131131
"highlighting": "string",
132132
"loc": {
133133
"start": {
134-
"line": 1136,
134+
"line": 1129,
135135
"column": 8,
136-
"index": 31279
136+
"index": 31095
137137
},
138138
"end": {
139-
"line": 1136,
139+
"line": 1129,
140140
"column": 79,
141-
"index": 31350
141+
"index": 31166
142142
}
143143
},
144144
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -149,14 +149,14 @@
149149
"highlighting": "string",
150150
"loc": {
151151
"start": {
152-
"line": 1361,
152+
"line": 1354,
153153
"column": 8,
154-
"index": 37925
154+
"index": 37741
155155
},
156156
"end": {
157-
"line": 1365,
157+
"line": 1358,
158158
"column": 9,
159-
"index": 38084
159+
"index": 37900
160160
}
161161
},
162162
"filepath": "src/components/basic_table/basic_table.tsx"
@@ -437,14 +437,14 @@
437437
"highlighting": "string",
438438
"loc": {
439439
"start": {
440-
"line": 55,
440+
"line": 56,
441441
"column": 49,
442-
"index": 1750
442+
"index": 1816
443443
},
444444
"end": {
445-
"line": 61,
445+
"line": 62,
446446
"column": 3,
447-
"index": 1905
447+
"index": 1971
448448
}
449449
},
450450
"filepath": "src/components/code/code_block_full_screen.tsx"
@@ -455,14 +455,14 @@
455455
"highlighting": "string",
456456
"loc": {
457457
"start": {
458-
"line": 55,
458+
"line": 56,
459459
"column": 49,
460-
"index": 1750
460+
"index": 1816
461461
},
462462
"end": {
463-
"line": 61,
463+
"line": 62,
464464
"column": 3,
465-
"index": 1905
465+
"index": 1971
466466
}
467467
},
468468
"filepath": "src/components/code/code_block_full_screen.tsx"
@@ -5729,14 +5729,14 @@
57295729
"highlighting": "string",
57305730
"loc": {
57315731
"start": {
5732-
"line": 695,
5732+
"line": 682,
57335733
"column": 16,
5734-
"index": 20476
5734+
"index": 20150
57355735
},
57365736
"end": {
5737-
"line": 698,
5737+
"line": 685,
57385738
"column": 18,
5739-
"index": 20670
5739+
"index": 20344
57405740
}
57415741
},
57425742
"filepath": "src/components/popover/popover.tsx"
@@ -6767,6 +6767,60 @@
67676767
},
67686768
"filepath": "src/components/toast/toast.tsx"
67696769
},
6770+
{
6771+
"token": "euiTourFooter.endTour",
6772+
"defString": "End tour",
6773+
"highlighting": "string",
6774+
"loc": {
6775+
"start": {
6776+
"line": 95,
6777+
"column": 14,
6778+
"index": 2888
6779+
},
6780+
"end": {
6781+
"line": 102,
6782+
"column": 15,
6783+
"index": 3156
6784+
}
6785+
},
6786+
"filepath": "src/components/tour/_tour_footer.tsx"
6787+
},
6788+
{
6789+
"token": "euiTourFooter.skipTour",
6790+
"defString": "Skip tour",
6791+
"highlighting": "string",
6792+
"loc": {
6793+
"start": {
6794+
"line": 95,
6795+
"column": 14,
6796+
"index": 2888
6797+
},
6798+
"end": {
6799+
"line": 102,
6800+
"column": 15,
6801+
"index": 3156
6802+
}
6803+
},
6804+
"filepath": "src/components/tour/_tour_footer.tsx"
6805+
},
6806+
{
6807+
"token": "euiTourFooter.closeTour",
6808+
"defString": "Close tour",
6809+
"highlighting": "string",
6810+
"loc": {
6811+
"start": {
6812+
"line": 95,
6813+
"column": 14,
6814+
"index": 2888
6815+
},
6816+
"end": {
6817+
"line": 102,
6818+
"column": 15,
6819+
"index": 3156
6820+
}
6821+
},
6822+
"filepath": "src/components/tour/_tour_footer.tsx"
6823+
},
67706824
{
67716825
"token": "euiTourStepIndicator.isActive",
67726826
"defString": "active",
@@ -6839,60 +6893,6 @@
68396893
},
68406894
"filepath": "src/components/tour/tour_step_indicator.tsx"
68416895
},
6842-
{
6843-
"token": "euiTourStep.endTour",
6844-
"defString": "End tour",
6845-
"highlighting": "string",
6846-
"loc": {
6847-
"start": {
6848-
"line": 256,
6849-
"column": 10,
6850-
"index": 6776
6851-
},
6852-
"end": {
6853-
"line": 263,
6854-
"column": 11,
6855-
"index": 7010
6856-
}
6857-
},
6858-
"filepath": "src/components/tour/tour_step.tsx"
6859-
},
6860-
{
6861-
"token": "euiTourStep.skipTour",
6862-
"defString": "Skip tour",
6863-
"highlighting": "string",
6864-
"loc": {
6865-
"start": {
6866-
"line": 256,
6867-
"column": 10,
6868-
"index": 6776
6869-
},
6870-
"end": {
6871-
"line": 263,
6872-
"column": 11,
6873-
"index": 7010
6874-
}
6875-
},
6876-
"filepath": "src/components/tour/tour_step.tsx"
6877-
},
6878-
{
6879-
"token": "euiTourStep.closeTour",
6880-
"defString": "Close tour",
6881-
"highlighting": "string",
6882-
"loc": {
6883-
"start": {
6884-
"line": 256,
6885-
"column": 10,
6886-
"index": 6776
6887-
},
6888-
"end": {
6889-
"line": 263,
6890-
"column": 11,
6891-
"index": 7010
6892-
}
6893-
},
6894-
"filepath": "src/components/tour/tour_step.tsx"
6895-
},
68966896
{
68976897
"token": "euiTreeView.listNavigationInstructions",
68986898
"defString": "You can quickly navigate this list using arrow keys.",

0 commit comments

Comments
 (0)