Skip to content

Commit 434d200

Browse files
committed
Merge branch 'ekso-beta-badge' of https://github.com/ek-so/eui into ekso-beta-badge
2 parents 960e954 + aefac66 commit 434d200

26 files changed

Lines changed: 244 additions & 111 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## [`v99.0.0`](https://github.com/elastic/eui/releases/v99.0.0)
2+
3+
- Added two new icons: `createGenericJob` and `createGeoJob` ([#8248](https://github.com/elastic/eui/pull/8248))
4+
- Added new icon `section` ([#8261](https://github.com/elastic/eui/pull/8261))
5+
6+
**Bug fixes**
7+
8+
- Ensures that the `values` of `EuiI18n` used in `EuiPagination` use `key` attributes to prevent potential ["unique key" warnings](https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key). ([#8243](https://github.com/elastic/eui/pull/8243))
9+
10+
**Breaking changes**
11+
12+
- Removed `EuiPopover`'s deprecated `hasDragDrop` prop. Use `usePortal` on any child `EuiDraggable` instead ([#8256](https://github.com/elastic/eui/pull/8256))
13+

packages/eui/i18ntokens.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5808,7 +5808,7 @@
58085808
"end": {
58095809
"line": 165,
58105810
"column": 12,
5811-
"index": 4729
5811+
"index": 4762
58125812
}
58135813
},
58145814
"filepath": "src/components/pagination/pagination.tsx"
@@ -5821,12 +5821,12 @@
58215821
"start": {
58225822
"line": 210,
58235823
"column": 12,
5824-
"index": 5723
5824+
"index": 5756
58255825
},
58265826
"end": {
58275827
"line": 215,
58285828
"column": 13,
5829-
"index": 5947
5829+
"index": 5980
58305830
}
58315831
},
58325832
"filepath": "src/components/pagination/pagination.tsx"
@@ -5839,12 +5839,12 @@
58395839
"start": {
58405840
"line": 251,
58415841
"column": 12,
5842-
"index": 6982
5842+
"index": 7015
58435843
},
58445844
"end": {
58455845
"line": 259,
58465846
"column": 13,
5847-
"index": 7289
5847+
"index": 7322
58485848
}
58495849
},
58505850
"filepath": "src/components/pagination/pagination.tsx"
@@ -5857,12 +5857,12 @@
58575857
"start": {
58585858
"line": 306,
58595859
"column": 20,
5860-
"index": 8472
5860+
"index": 8505
58615861
},
58625862
"end": {
58635863
"line": 306,
58645864
"column": 60,
5865-
"index": 8512
5865+
"index": 8545
58665866
}
58675867
},
58685868
"filepath": "src/components/pagination/pagination.tsx"
@@ -5875,12 +5875,12 @@
58755875
"start": {
58765876
"line": 307,
58775877
"column": 20,
5878-
"index": 8534
5878+
"index": 8567
58795879
},
58805880
"end": {
58815881
"line": 307,
58825882
"column": 60,
5883-
"index": 8574
5883+
"index": 8607
58845884
}
58855885
},
58865886
"filepath": "src/components/pagination/pagination.tsx"
@@ -5893,12 +5893,12 @@
58935893
"start": {
58945894
"line": 308,
58955895
"column": 18,
5896-
"index": 8594
5896+
"index": 8627
58975897
},
58985898
"end": {
58995899
"line": 308,
59005900
"column": 54,
5901-
"index": 8630
5901+
"index": 8663
59025902
}
59035903
},
59045904
"filepath": "src/components/pagination/pagination.tsx"
@@ -5911,12 +5911,12 @@
59115911
"start": {
59125912
"line": 309,
59135913
"column": 26,
5914-
"index": 8658
5914+
"index": 8691
59155915
},
59165916
"end": {
59175917
"line": 309,
59185918
"column": 78,
5919-
"index": 8710
5919+
"index": 8743
59205920
}
59215921
},
59225922
"filepath": "src/components/pagination/pagination.tsx"
@@ -5929,12 +5929,12 @@
59295929
"start": {
59305930
"line": 310,
59315931
"column": 23,
5932-
"index": 8735
5932+
"index": 8768
59335933
},
59345934
"end": {
59355935
"line": 310,
59365936
"column": 75,
5937-
"index": 8787
5937+
"index": 8820
59385938
}
59395939
},
59405940
"filepath": "src/components/pagination/pagination.tsx"
@@ -5945,14 +5945,14 @@
59455945
"highlighting": "string",
59465946
"loc": {
59475947
"start": {
5948-
"line": 700,
5948+
"line": 692,
59495949
"column": 16,
5950-
"index": 20852
5950+
"index": 20560
59515951
},
59525952
"end": {
5953-
"line": 703,
5953+
"line": 695,
59545954
"column": 18,
5955-
"index": 21046
5955+
"index": 20754
59565956
}
59575957
},
59585958
"filepath": "src/components/popover/popover.tsx"

packages/eui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@elastic/eui",
33
"description": "Elastic UI Component Library",
4-
"version": "98.2.1",
4+
"version": "99.0.0",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"main": "lib",
77
"module": "es",

packages/eui/src-docs/src/components/guide_page/versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"euiVersions": [
3+
"99.0.0",
34
"98.2.1",
45
"98.2.0",
56
"98.1.0",

packages/eui/src-docs/src/views/icon/icons.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export const iconTypes = [
234234
'save',
235235
'scale',
236236
'search',
237+
'section',
237238
'securitySignal',
238239
'securitySignalDetected',
239240
'securitySignalResolved',

packages/eui/src-docs/src/views/icon/ml.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ const iconTypes = [
1919
'createPopulationJob',
2020
'regressionJob',
2121
'createSingleMetricJob',
22+
'createGenericJob',
23+
'createGeoJob',
2224
];
2325

2426
export default () => (

packages/eui/src-docs/src/views/package/changelog_years.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"years": [
3+
2025,
34
2024,
45
2023,
56
2022,

packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,6 +1922,50 @@ exports[`EuiIcon props type createAdvancedJob is rendered 1`] = `
19221922
</svg>
19231923
`;
19241924

1925+
exports[`EuiIcon props type createGenericJob is rendered 1`] = `
1926+
<svg
1927+
aria-hidden="true"
1928+
class="euiIcon emotion-euiIcon-m-app-isLoaded"
1929+
data-icon-type="createGenericJob"
1930+
data-is-loaded="true"
1931+
height="32"
1932+
role="img"
1933+
viewBox="0 0 32 32"
1934+
width="32"
1935+
xmlns="http://www.w3.org/2000/svg"
1936+
>
1937+
<path
1938+
d="M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16h-2c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14v2Z"
1939+
/>
1940+
<path
1941+
class="euiIcon__fillSecondary"
1942+
d="M17 15h6v2h-6v6h-2v-6H9v-2h6V9h2v6Zm15 15v2H20v-2h12Zm0-8H20v2h12v-2Zm0 4v2H20v-2h12Z"
1943+
/>
1944+
</svg>
1945+
`;
1946+
1947+
exports[`EuiIcon props type createGeoJob is rendered 1`] = `
1948+
<svg
1949+
aria-hidden="true"
1950+
class="euiIcon emotion-euiIcon-m-app-isLoaded"
1951+
data-icon-type="createGeoJob"
1952+
data-is-loaded="true"
1953+
height="32"
1954+
role="img"
1955+
viewBox="0 0 32 32"
1956+
width="32"
1957+
xmlns="http://www.w3.org/2000/svg"
1958+
>
1959+
<path
1960+
d="M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16h-2c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14v2Z"
1961+
/>
1962+
<path
1963+
class="euiIcon__fillSecondary"
1964+
d="M23 15h-6V9h-2v6H9v2h6v6h2v-6h6v-2Zm-1 9.196C22 27.329 25.427 32 27 32s5-4.67 5-7.804V24a5 5 0 1 0-10 .096v.1ZM27 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"
1965+
/>
1966+
</svg>
1967+
`;
1968+
19251969
exports[`EuiIcon props type createMultiMetricJob is rendered 1`] = `
19261970
<svg
19271971
aria-hidden="true"
@@ -9002,6 +9046,24 @@ exports[`EuiIcon props type searchProfilerApp is rendered 1`] = `
90029046
</svg>
90039047
`;
90049048

9049+
exports[`EuiIcon props type section is rendered 1`] = `
9050+
<svg
9051+
aria-hidden="true"
9052+
class="euiIcon emotion-euiIcon-m-isLoaded"
9053+
data-icon-type="section"
9054+
data-is-loaded="true"
9055+
height="16"
9056+
role="img"
9057+
viewBox="0 0 16 16"
9058+
width="16"
9059+
xmlns="http://www.w3.org/2000/svg"
9060+
>
9061+
<path
9062+
d="M1.5 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm1.5.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5ZM1.5 4a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5H7a.5.5 0 0 0 .5-.5v-4A.5.5 0 0 0 7 4H1.5Zm7 .5A.5.5 0 0 1 9 4h5.5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H9a.5.5 0 0 1-.5-.5v-4Zm-7 5.5a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-13Z"
9063+
/>
9064+
</svg>
9065+
`;
9066+
90059067
exports[`EuiIcon props type securityAnalyticsApp is rendered 1`] = `
90069068
<svg
90079069
aria-hidden="true"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the Elastic License
4+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
5+
* in compliance with, at your election, the Elastic License 2.0 or the Server
6+
* Side Public License, v 1.
7+
*/
8+
9+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
10+
11+
import * as React from 'react';
12+
import type { SVGProps } from 'react';
13+
interface SVGRProps {
14+
title?: string;
15+
titleId?: string;
16+
}
17+
const EuiIconMlCreateGenericJob = ({
18+
title,
19+
titleId,
20+
...props
21+
}: SVGProps<SVGSVGElement> & SVGRProps) => (
22+
<svg
23+
xmlns="http://www.w3.org/2000/svg"
24+
width={32}
25+
height={32}
26+
viewBox="0 0 32 32"
27+
aria-labelledby={titleId}
28+
{...props}
29+
>
30+
{title ? <title id={titleId}>{title}</title> : null}
31+
<path d="M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16h-2c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14v2Z" />
32+
<path
33+
d="M17 15h6v2h-6v6h-2v-6H9v-2h6V9h2v6Zm15 15v2H20v-2h12Zm0-8H20v2h12v-2Zm0 4v2H20v-2h12Z"
34+
className="euiIcon__fillSecondary"
35+
/>
36+
</svg>
37+
);
38+
export const icon = EuiIconMlCreateGenericJob;
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the Elastic License
4+
* 2.0 and the Server Side Public License, v 1; you may not use this file except
5+
* in compliance with, at your election, the Elastic License 2.0 or the Server
6+
* Side Public License, v 1.
7+
*/
8+
9+
// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
10+
11+
import * as React from 'react';
12+
import type { SVGProps } from 'react';
13+
interface SVGRProps {
14+
title?: string;
15+
titleId?: string;
16+
}
17+
const EuiIconMlCreateGeoJob = ({
18+
title,
19+
titleId,
20+
...props
21+
}: SVGProps<SVGSVGElement> & SVGRProps) => (
22+
<svg
23+
xmlns="http://www.w3.org/2000/svg"
24+
width={32}
25+
height={32}
26+
viewBox="0 0 32 32"
27+
aria-labelledby={titleId}
28+
{...props}
29+
>
30+
{title ? <title id={titleId}>{title}</title> : null}
31+
<path d="M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16h-2c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14v2Z" />
32+
<path
33+
d="M23 15h-6V9h-2v6H9v2h6v6h2v-6h6v-2Zm-1 9.196C22 27.329 25.427 32 27 32s5-4.67 5-7.804V24a5 5 0 1 0-10 .096v.1ZM27 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"
34+
className="euiIcon__fillSecondary"
35+
/>
36+
</svg>
37+
);
38+
export const icon = EuiIconMlCreateGeoJob;

0 commit comments

Comments
 (0)