Commit graph

3136 commits

Author SHA1 Message Date
Stratoula Kalafateli
807da63c61
[ES|QL] Fetch the query columns utils (#182338)
## Summary

Revives this https://github.com/elastic/kibana/pull/181969

To do so, I had to create a new package `search-types` and move the
types I need there.

The Discovery team can take it from here.

Note: It also does a cleanup on the types I move, some of them were
declared twice.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-05-06 10:51:40 +02:00
Cee Chen
31e8c54cee
Upgrade EUI to v94.2.1 (#182023)
`v94.1.0-backport.0`  `v94.2.1-backport.0`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

##
[`v94.2.1-backport.0`](https://github.com/elastic/eui/releases/v94.2.1-backport.0)

**This is a backport release only intended for use by Kibana.**

- Reverted the `EuiFlexGroup`/`EuiFlexItem` `component` prop feature due
to Kibana typing issues

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

**Bug fixes**

- Fixed an `EuiTabbedContent` edge case bug that occurred when updated
with a completely different set of `tabs`
([#7713](https://github.com/elastic/eui/pull/7713))
- Fixed the `@storybook/test` dependency to be listed in
`devDependencies` and not `dependencies`
([#7719](https://github.com/elastic/eui/pull/7719))

## [`v94.2.0`](https://github.com/elastic/eui/releases/v94.2.0)

- Updated `getDefaultEuiMarkdownPlugins()` to allow excluding the
following plugins in addition to `tooltip`:
([#7676](https://github.com/elastic/eui/pull/7676))
  - `checkbox`
  - `linkValidator`
  - `lineBreaks`
  - `emoji`
- Updated `EuiSelectable`'s `isPreFiltered` prop to allow passing a
configuration object, which allows disabling search highlighting in
addition to search filtering
([#7683](https://github.com/elastic/eui/pull/7683))
- Updated `EuiFlexGroup` and `EuiFlexItem` prop types to support passing
any valid React component type to the `component` prop and ensure proper
type checking of the extra props forwarded to the `component`.
([#7688](https://github.com/elastic/eui/pull/7688))
- Updated `EuiSearchBar` to allow the `@` special character in query
string searches ([#7702](https://github.com/elastic/eui/pull/7702))
- Added a new, optional `optionMatcher` prop to `EuiSelectable` and
`EuiComboBox` allowing passing a custom option matcher function to these
components and controlling option filtering for given search string
([#7709](https://github.com/elastic/eui/pull/7709))

**Bug fixes**

- Fixed an `EuiPageTemplate` bug where prop updates would not cascade
down to child sections
([#7648](https://github.com/elastic/eui/pull/7648))
- To cascade props down to the sidebar, `EuiPageTemplate` now explicitly
requires using the `EuiPageTemplate.Sidebar` rather than
`EuiPageSidebar`
- Fixed `EuiFieldNumber`'s typing to accept an icon configuration shape
([#7666](https://github.com/elastic/eui/pull/7666))
- Fixed `EuiFieldText` and `EuiFieldNumber` to render the correct
paddings for icon shapes set to `side: 'right'`
([#7666](https://github.com/elastic/eui/pull/7666))
- Fixed `EuiFieldText` and `EuiFieldNumber` to fully ignore
`icon`/`prepend`/`append` when `controlOnly` is set to true
([#7666](https://github.com/elastic/eui/pull/7666))
- Fixed `EuiColorPicker`'s input not setting the correct right padding
for the number of icons displayed
([#7666](https://github.com/elastic/eui/pull/7666))
- Visual fixes for `EuiRange`s with `showInput`:
([#7678](https://github.com/elastic/eui/pull/7678))
  - Longer `append`/`prepend` labels no longer cause a background bug
  - Inputs can no longer overwhelm the actual range in width
- Fixed a visual text alignment regression in `EuiTableRowCell`s with
the `row` header scope
([#7681](https://github.com/elastic/eui/pull/7681))
- Fixed `toolTipProps` type on `EuiSuperUpdateButton` to use
`Partial<EuiToolTipProps>`
([#7692](https://github.com/elastic/eui/pull/7692))
- Fixes missing prop type for `popperProps` on `EuiDatePicker`
([#7694](https://github.com/elastic/eui/pull/7694))
- Fixed a focus bug with `EuiDataGrid`s with `leadingControlColumns`
when moving columns to the left/right
([#7701](https://github.com/elastic/eui/pull/7701))
([#7698](https://github.com/elastic/eui/pull/7698))
- Fixed `EuiSuperDatePicker` to validate date string with respect of
locale on `EuiAbsoluteTab`.
([#7705](https://github.com/elastic/eui/pull/7705))
- Fixed a visual bug with `EuiSuperDatePicker`'s absolute tab on small
mobile screens ([#7708](https://github.com/elastic/eui/pull/7708))
- Fixed i18n of empty and loading state messages for the
`FieldValueSelectionFilter` component
([#7718](https://github.com/elastic/eui/pull/7718))

**Dependency updates**

- Updated `@hello-pangea/dnd` to v16.6.0
([#7599](https://github.com/elastic/eui/pull/7599))
- Updated `remark-rehype` to v8.1.0
([#7601](https://github.com/elastic/eui/pull/7601))

**Accessibility**

- Improved `EuiBasicTable` and `EuiInMemoryTable`'s selection checkboxes
to have unique aria-labels per row
([#7672](https://github.com/elastic/eui/pull/7672))
- Added `aria-valuetext` attributes to `EuiRange`s with tick labels for
improved screen reader UX
([#7675](https://github.com/elastic/eui/pull/7675))
- Updated `EuiAccordion` to keep focus on accordion trigger instead of
moving to content on click/keypress
([#7696](https://github.com/elastic/eui/pull/7696))
- Added `aria-disabled` attribute to `EuiHorizontalSteps` when status is
"disabled" ([#7699](https://github.com/elastic/eui/pull/7699))

---------

Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co>
2024-05-03 09:27:19 -07:00
Bhavya RM
8d5341f4a5
Update axe-core to latest version (#182525)
Updating axe-core to 4.9.0 the latest version
2024-05-03 21:04:43 +05:30
Aleh Zasypkin
9f0deb36ad
chore: bump xml-crypto from 5.0.0 to 6.0.0. (#182553)
## Summary

Bump `xml-crypto` from `5.0.0` to `6.0.0`.
2024-05-03 14:13:14 +02:00
Larry Gregory
de75523495
Add resolutions for protobufjs (#182424) 2024-05-03 05:45:51 -04:00
Marco Antonio Ghiani
747ecea18a
[Discover] Create Discover Shared plugin and features registry (#181952)
## 📓 Summary

Closes #181528 
Closes #181976 

**N.B.** This work was initially reviewed on a separate PR at
https://github.com/tonyghiani/kibana/pull/1.

This implementation aims to have a stateful layer that allows the
management of dependencies between Discover and other plugins, reducing
the need for a direct dependency.

Although the initial thought was to have a plugin to register features
for Discover, there might be other cases in future where we need to
prevent cyclic dependencies.
With this in mind, I created the plugin as a more generic solution to
hold stateful logic as a communication layer for Discover <-> Plugins.

## Discover Shared

Based on some recurring naming in the Kibana codebase, `discover_shared`
felt like the right place for owning these dependencies and exposing
Discover functionalities to the external world.
It is initially pretty simple and only exposes a registry for the
Discover features, but might be a good place to implement other upcoming
concepts related to Discover.

Also, this plugin should ideally never depend on other solution plugins
and keep its dependencies to a bare minimum of packages and core/data
services.

```mermaid
flowchart TD

A(Discover) -- Get --> E[DiscoverShared]
B(Logs Explorer) -- Set --> E[DiscoverShared]
C(Security) -- Set --> E[DiscoverShared]
D(Any app) -- Set --> E[DiscoverShared]
```

## DiscoverFeaturesService

This service initializes and exposes a strictly typed registry to allow
consumer apps to register additional features and Discover and retrieve
them.

The **README** file explains a real use case of when we'd need to use it
and how to do that step-by-step.

Although it introduces a more nested folder structure, I decided to
implement the service as a client-service and expose it through the
plugin lifecycle methods to provide the necessary flexibility we might
need:
- We don't know yet if any of the features we register will be done on
the setup/start steps, so having the registry available in both places
opens the door to any case we face.
- The service is client-only on purpose. My opinion is that if we ever
need to register features such as server services or anything else, it
should be scoped to a similar service dedicated for the server lifecycle
and its environment.
It should never be possible to register the ObsAIAssistant
presentational component from the server, as it should not be permitted
to register a server service in the client registry.
A server DiscoverFeaturesService is not required yet for any feature, so
I left it out to avoid overcomplicating the implementation.

## FeaturesRegistry

To have a strictly typed utility that suggests the available features on
a registry and adheres to a base contract, the registry exposed on the
DiscoverFeaturesService is an instance of the `FeaturesRegistry` class,
which implements the registration/retrieval logic such that:
- If a feature is already registered, is not possible to override it and
an error is thrown to notify the user of the collision.
- In case we need to react to registry changes, is possible to subscribe
to the registry or obtain it as an observable for more complex
scenarios.

The FeaturesRegistry already takes care of the required logic for the
registry, so that `DiscoverFeaturesService`is left with the
responsibility of instantiating/exposing an instance and provide the set
of allowed features.

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2024-05-03 11:27:32 +02:00
Aleh Zasypkin
c8d7f42b2b
chore: bump ejs from 3.1.8 to 3.1.10. (#182331)
## Summary

Bump `ejs` from `3.1.8` to `3.1.10`. While looking at other packages
that depend on `ejs` noticed `apidoc-markdown` that is only used by ML
team, so assigned ownership in Rennovate as well (cc @elastic/ml-ui).

```shell
npm ls ejs
kibana@8.15.0 /kibana
├─┬ apidoc-markdown@7.3.2
│ └── ejs@3.1.10 deduped
└── ejs@3.1.10
```
2024-05-02 12:33:25 +02:00
Dmitrii Shevchenko
36ecb80cba
[Security Solution] Added the rule_source field to the rule schemas (#181581)
**Resolves: https://github.com/elastic/kibana/issues/180121**
**Resolves: https://github.com/elastic/kibana/issues/180122**
**Resolves: https://github.com/elastic/kibana/issues/180124**

## Summary

As part of the preparatory changes for the work in Milestone 3, we want
to add the new `rule_source` field to the API schema.

- Added `rule_source` as an **optional** property to `RuleResponse`, by
introducing it as an optional property in the `ResponseFields` schema.
- For now, all endpoints should return `undefined` for the `rule_source`
field.
- Added `rule_source` as an **optional** property to `RuleToImport`,
which defines the schema of required and accepted fields when importing
a rule.
- For now, the new `rule_source` field should be ignored in the endpoint
logic.
- Added the `ruleSource` field to the `BaseRuleParams` schema, as an
optional field.
- Implemented a Zod transformation from `snake_case` to `camelCase` for
object keys to reduce code duplication.
2024-05-02 12:05:38 +02:00
Kurt
126410ccfb
Upgrade Markdown-it to 14.1.0 (#182244)
## Summary

Upgrade `markdown-it` to `14.1.0` in `main`
2024-05-01 13:18:21 -04:00
renovate[bot]
6dab9ae6fe
Update dependency elastic-apm-node to ^4.5.3 (main) (#182236) 2024-05-01 09:14:39 -07:00
Cauê Marcondes
97e0f419bf
[Assets] Creating Assets data access plugin (#182108)
Create an empty assets data access plugin so we can start registering
the services(APIs) that will be used to fetch assets type documents.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-30 08:15:23 -07:00
Marta Bondyra
e9c63bb554
Update dependency @elastic/charts to v64.1.0 (main) (#182087)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
[`64.0.2` ->
`64.1.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/64.0.2/64.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@elastic%2fcharts/64.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@elastic%2fcharts/64.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@elastic%2fcharts/64.0.2/64.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@elastic%2fcharts/64.0.2/64.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>elastic/elastic-charts (@&#8203;elastic/charts)</summary>

###
[`v64.1.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6410-2024-03-13)

[Compare
Source](https://togithub.com/elastic/elastic-charts/compare/v64.0.2...v64.1.0)

##### Features

- **theme:** move annotation default styles to `Theme`
([#&#8203;2357](https://togithub.com/elastic/elastic-charts/issues/2357))
([fe19ae2](fe19ae2cec))

####
[64.0.2](https://togithub.com/elastic/elastic-charts/compare/v64.0.1...v64.0.2)
(2024-03-12)

##### Bug Fixes

- **bullet:** full circle overlapping tick labels
([#&#8203;2350](https://togithub.com/elastic/elastic-charts/issues/2350))
([edbff68](edbff68173))
- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to ^93.3.0
([#&#8203;2356](https://togithub.com/elastic/elastic-charts/issues/2356))
([cf9ce81](cf9ce81c08))
- **deps:** update dependency
[@&#8203;playwright/test](https://togithub.com/playwright/test) to
^1.42.1
([#&#8203;2354](https://togithub.com/elastic/elastic-charts/issues/2354))
([03581bc](03581bc44f))

####
[64.0.1](https://togithub.com/elastic/elastic-charts/compare/v64.0.0...v64.0.1)
(2024-03-10)

##### Bug Fixes

- **bullet:** add a11y summary and debugState
([#&#8203;2352](https://togithub.com/elastic/elastic-charts/issues/2352))
([49a1b35](49a1b358b2))
- **deps:** update dependency
[@&#8203;elastic/eui](https://togithub.com/elastic/eui) to ^93.2.0
([#&#8203;2343](https://togithub.com/elastic/elastic-charts/issues/2343))
([0701985](0701985a47))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 14:53:41 +02:00
Coen Warmer
d83a7370f9
[Maintenance] Move Asset Manager, Metrics Data Access to /x-pack/plugins/observability_solution (#181970)
## Summary

Title says it all.
2024-04-30 05:38:30 -07:00
Bhavya RM
3a65e17d78
[a11y] Remove jext-axe and supporting code from kibana (#180694)
Removing jest-axe and supporting code from Kibana because this library
(not regularly updated anymore and used only in one test file) is
blocking me from updating axe-core.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-25 22:24:18 +05:30
Nathan Reese
60ab2cfe95
PresentationPanel props hidePanelChrome (#181473)
### Changes
1. adds `hidePanelChrome` parameter to `ReactEmbeddableRenderer`. When
true, embeddable is rendered without `PresentationPanel` wrapper
2. Removes `embeddable-explorer` plugin
3. Moves Embeddable developer example into embeddable_examples plugin
4. Creates new examples that demonstrate how to use
`ReactEmbeddableRenderer`
<img width="600" alt="Screenshot 2024-04-23 at 5 19 18 PM"
src="5167a2a4-1968-42e6-92f7-4577c9cda3c6">

Follow-up work to narrow scope of this PR
1. add key concepts to embeddable overview
2. add "Register new embeddable type" tab that details how to create a
new embeddable and shows how you can add embeddable examples to
dashboard
3. group embeddable examples into a single item in "Add panel" menu - to
show best practices of how to keep menu clean
4. remove class based example embeddables

### Test instructions
1. start kibana with `yarn start --run-examples`
5. Open kibana menu and click "Developer examples"
6. Click "Embeddables" card and run examples

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-24 14:05:19 -06:00
Pierre Gayvallet
0f3ecf739e
[Security into Core] expose userProfile service from Core (#180372)
## Summary

Fix https://github.com/elastic/kibana/issues/178932

- Introduce the new `userProfile` core service, both on the browser and
server-side.

- Have the security plugin register its API to Core for re-exposition

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-24 01:20:05 -07:00
renovate[bot]
2ea506e30b
Update babel (main) (#181248)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/cli](https://babel.dev/docs/en/next/babel-cli)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-cli))
| [`^7.23.9` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2fcli/7.23.9/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcli/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcli/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcli/7.23.9/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcli/7.23.9/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core))
| [`^7.24.0` ->
`^7.24.4`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.24.0/7.24.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/eslint-parser](https://babel.dev/)
([source](https://togithub.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser))
| [`^7.23.10` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2feslint-parser/7.23.10/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2feslint-parser/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2feslint-parser/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2feslint-parser/7.23.10/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2feslint-parser/7.23.10/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/generator](https://babel.dev/docs/en/next/babel-generator)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-generator))
| [`^7.23.6` ->
`^7.24.4`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.23.6/7.24.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fgenerator/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fgenerator/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fgenerator/7.23.6/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fgenerator/7.23.6/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/parser](https://babel.dev/docs/en/next/babel-parser)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-parser))
| [`^7.24.0` ->
`^7.24.4`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.24.0/7.24.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fparser/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fparser/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fparser/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fparser/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-class-properties](https://babel.dev/docs/en/next/babel-plugin-transform-class-properties)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-properties))
| [`^7.23.3` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-class-properties/7.23.3/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-class-properties/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-class-properties/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-class-properties/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-class-properties/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-numeric-separator](https://babel.dev/docs/en/next/babel-plugin-transform-numeric-separator)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-numeric-separator))
| [`^7.23.4` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-numeric-separator/7.23.4/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-numeric-separator/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-numeric-separator/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-numeric-separator/7.23.4/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-numeric-separator/7.23.4/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/plugin-transform-runtime](https://babel.dev/docs/en/next/babel-plugin-transform-runtime)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime))
| [`^7.24.0` ->
`^7.24.3`](https://renovatebot.com/diffs/npm/@babel%2fplugin-transform-runtime/7.24.0/7.24.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fplugin-transform-runtime/7.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fplugin-transform-runtime/7.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fplugin-transform-runtime/7.24.0/7.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fplugin-transform-runtime/7.24.0/7.24.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/preset-env](https://babel.dev/docs/en/next/babel-preset-env)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-env))
| [`^7.24.0` ->
`^7.24.4`](https://renovatebot.com/diffs/npm/@babel%2fpreset-env/7.24.0/7.24.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-env/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-env/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-env/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-env/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/preset-react](https://babel.dev/docs/en/next/babel-preset-react)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-react))
| [`^7.23.3` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2fpreset-react/7.23.3/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-react/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-react/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-react/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-react/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@babel/preset-typescript](https://babel.dev/docs/en/next/babel-preset-typescript)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-typescript))
| [`^7.23.3` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2fpreset-typescript/7.23.3/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-typescript/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-typescript/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-typescript/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-typescript/7.23.3/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-runtime))
| [`^7.24.0` ->
`^7.24.4`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.24.0/7.24.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fruntime/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fruntime/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fruntime/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fruntime/7.24.0/7.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-traverse))
| [`^7.24.0` ->
`^7.24.1`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.24.0/7.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftraverse/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftraverse/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftraverse/7.24.0/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftraverse/7.24.0/7.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/types](https://babel.dev/docs/en/next/babel-types)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-types))
| [`7.21.2` ->
`7.24.0`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.21.2/7.24.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2ftypes/7.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2ftypes/7.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2ftypes/7.21.2/7.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2ftypes/7.21.2/7.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/cli)</summary>

###
[`v7.24.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7241-2024-03-19)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.9...v7.24.1)

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16350](https://togithub.com/babel/babel/pull/16350) Fix
decorated class computed keys ordering
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;16344](https://togithub.com/babel/babel/pull/16344) Fix
decorated class static field private access
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-json-modules`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#&#8203;16329](https://togithub.com/babel/babel/pull/16329) Respect
`moduleName` for `@babel/runtime/regenerator` imports
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-class-properties`
- [#&#8203;16331](https://togithub.com/babel/babel/pull/16331) Fix
decorator memoiser binding kind
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`,
`babel-helper-replace-supers`, `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`
- [#&#8203;16325](https://togithub.com/babel/babel/pull/16325) Fix
decorator evaluation private environment
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 📝 Documentation

- [#&#8203;16319](https://togithub.com/babel/babel/pull/16319) Update
SECURITY.md
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-code-frame`, `babel-highlight`
- [#&#8203;16359](https://togithub.com/babel/babel/pull/16359) Replace
`chalk` with `picocolors`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-fixtures`, `babel-helpers`,
`babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-preset-flow`
- [#&#8203;16352](https://togithub.com/babel/babel/pull/16352) Run Babel
transform tests on old node if possible
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`,
`babel-preset-env`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-standalone`
- [#&#8203;16323](https://togithub.com/babel/babel/pull/16323) Allow
separate helpers to be excluded in Babel 8
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-module-imports`,
`babel-plugin-proposal-import-wasm-source`,
`babel-plugin-proposal-json-modules`,
`babel-plugin-proposal-record-and-tuple`,
`babel-plugin-transform-react-jsx-development`,
`babel-plugin-transform-react-jsx`
- [#&#8203;16349](https://togithub.com/babel/babel/pull/16349) Support
merging imports in import injector
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`,
`babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`,
`babel-plugin-external-helpers`,
`babel-plugin-proposal-async-do-expressions`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-do-expressions`,
`babel-plugin-proposal-duplicate-named-capturing-groups-regex`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-proposal-export-default-from`,
`babel-plugin-proposal-function-bind`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-proposal-import-attributes-to-assertions`,
`babel-plugin-proposal-import-defer`,
`babel-plugin-proposal-import-wasm-source`,
`babel-plugin-proposal-json-modules`,
`babel-plugin-proposal-optional-chaining-assign`,
`babel-plugin-proposal-partial-application`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-proposal-record-and-tuple`,
`babel-plugin-proposal-regexp-modifiers`,
`babel-plugin-proposal-throw-expressions`,
`babel-plugin-syntax-async-do-expressions`,
`babel-plugin-syntax-decimal`, `babel-plugin-syntax-decorators`,
`babel-plugin-syntax-destructuring-private`,
`babel-plugin-syntax-do-expressions`,
`babel-plugin-syntax-explicit-resource-management`,
`babel-plugin-syntax-export-default-from`, `babel-plugin-syntax-flow`,
`babel-plugin-syntax-function-bind`,
`babel-plugin-syntax-function-sent`,
`babel-plugin-syntax-import-assertions`,
`babel-plugin-syntax-import-attributes`,
`babel-plugin-syntax-import-defer`,
`babel-plugin-syntax-import-reflection`,
`babel-plugin-syntax-import-source`, `babel-plugin-syntax-jsx`,
`babel-plugin-syntax-module-blocks`,
`babel-plugin-syntax-optional-chaining-assign`,
`babel-plugin-syntax-partial-application`,
`babel-plugin-syntax-pipeline-operator`,
`babel-plugin-syntax-record-and-tuple`,
`babel-plugin-syntax-throw-expressions`,
`babel-plugin-syntax-typescript`,
`babel-plugin-transform-arrow-functions`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-async-to-generator`,
`babel-plugin-transform-block-scoped-functions`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-computed-properties`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-dotall-regex`,
`babel-plugin-transform-duplicate-keys`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-exponentiation-operator`,
`babel-plugin-transform-export-namespace-from`,
`babel-plugin-transform-flow-comments`,
`babel-plugin-transform-flow-strip-types`,
`babel-plugin-transform-for-of`, `babel-plugin-transform-function-name`,
`babel-plugin-transform-instanceof`, `babel-plugin-transform-jscript`,
`babel-plugin-transform-json-strings`,
`babel-plugin-transform-literals`,
`babel-plugin-transform-logical-assignment-operators`,
`babel-plugin-transform-member-expression-literals`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-modules-umd`,
`babel-plugin-transform-new-target`,
`babel-plugin-transform-nullish-coalescing-operator`,
`babel-plugin-transform-numeric-separator`,
`babel-plugin-transform-object-assign`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-object-set-prototype-of-to-assign`,
`babel-plugin-transform-object-super`,
`babel-plugin-transform-optional-catch-binding`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-methods`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-property-literals`,
`babel-plugin-transform-property-mutators`,
`babel-plugin-transform-proto-to-assign`,
`babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-display-name`,
`babel-plugin-transform-react-inline-elements`,
`babel-plugin-transform-react-jsx-compat`,
`babel-plugin-transform-react-jsx-self`,
`babel-plugin-transform-react-jsx-source`,
`babel-plugin-transform-react-pure-annotations`,
`babel-plugin-transform-regenerator`,
`babel-plugin-transform-reserved-words`,
`babel-plugin-transform-runtime`,
`babel-plugin-transform-shorthand-properties`,
`babel-plugin-transform-spread`, `babel-plugin-transform-sticky-regex`,
`babel-plugin-transform-strict-mode`,
`babel-plugin-transform-template-literals`,
`babel-plugin-transform-typeof-symbol`,
`babel-plugin-transform-typescript`,
`babel-plugin-transform-unicode-escapes`,
`babel-plugin-transform-unicode-property-regex`,
`babel-plugin-transform-unicode-regex`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`
- [#&#8203;16332](https://togithub.com/babel/babel/pull/16332) Test
Babel 7 plugins compatibility with Babel 8 core
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-plugin-transform-object-rest-spread`,
`babel-preset-env`
- [#&#8203;16318](https://togithub.com/babel/babel/pull/16318) \[babel
8] Fix `@babel/compat-data` package.json
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🔬 Output optimization

- `babel-helper-replace-supers`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-parameters`,
`babel-plugin-transform-runtime`
- [#&#8203;16345](https://togithub.com/babel/babel/pull/16345) Optimize
the use of `assertThisInitialized` after `super()`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`
- [#&#8203;16343](https://togithub.com/babel/babel/pull/16343) Use
simpler `assertThisInitialized` more often
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-object-rest-spread`, `babel-traverse`
- [#&#8203;16342](https://togithub.com/babel/babel/pull/16342) Consider
well-known and registered symbols as literals
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-plugin-external-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-function-bind`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-flow-comments`,
`babel-plugin-transform-flow-strip-types`,
`babel-plugin-transform-function-name`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`,
`babel-plugin-transform-spread`, `babel-plugin-transform-typescript`,
`babel-preset-env`
- [#&#8203;16326](https://togithub.com/babel/babel/pull/16326) Reduce
the use of class names
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

<details>
<summary>babel/babel (@&#8203;babel/eslint-parser)</summary>

###
[`v7.24.1`](https://togithub.com/babel/babel/compare/v7.23.10...v7.24.1)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.10...v7.24.1)

</details>

<details>
<summary>babel/babel (@&#8203;babel/parser)</summary>

### [`v7.24.4`](https://togithub.com/babel/babel/releases/tag/v7.24.4)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.1...v7.24.4)

#### v7.24.4 (2024-04-03)

Thanks [@&#8203;Dunqing](https://togithub.com/Dunqing),
[@&#8203;luiscubal](https://togithub.com/luiscubal), and
[@&#8203;samualtnorman](https://togithub.com/samualtnorman) for your
first PRs!

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;16403](https://togithub.com/babel/babel/pull/16403) Forbid
initializerless using ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-runtime-corejs3`
- [#&#8203;16388](https://togithub.com/babel/babel/pull/16388) Ensure
decorators are callable
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-generator`
- [#&#8203;16402](https://togithub.com/babel/babel/pull/16402) fix:
Correctly prints `{ [key in Bar]? }`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- [#&#8203;16394](https://togithub.com/babel/babel/pull/16394) fix:
Correctly generate `TSMappedType`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-compat-data`,
`babel-plugin-bugfix-firefox-class-in-computed-class-key`,
`babel-preset-env`
- [#&#8203;16390](https://togithub.com/babel/babel/pull/16390) Create
bugfix plugin for classes in computed keys in Firefox
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16387](https://togithub.com/babel/babel/pull/16387) fix:
support mutated outer decorated class binding
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;16385](https://togithub.com/babel/babel/pull/16385) fix:
Decorators when `super()` exists and `protoInit` is not needed
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
- [#&#8203;16384](https://togithub.com/babel/babel/pull/16384) fix:
Transform scoping for `for X` in loop
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- [#&#8203;16368](https://togithub.com/babel/babel/pull/16368) fix:
Capture `let` when the `for` body is not a block
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-core`, `babel-plugin-transform-block-scoped-functions`,
`babel-plugin-transform-block-scoping`
- [#&#8203;16363](https://togithub.com/babel/babel/pull/16363) Fix
incorrect function hoisting in some case statements
([@&#8203;luiscubal](https://togithub.com/luiscubal))

##### Committers: 7

-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
-   Dunqing ([@&#8203;Dunqing](https://togithub.com/Dunqing))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   Luís Reis ([@&#8203;luiscubal](https://togithub.com/luiscubal))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- Samual Norman
([@&#8203;samualtnorman](https://togithub.com/samualtnorman))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)

### [`v7.24.1`](https://togithub.com/babel/babel/releases/tag/v7.24.1)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.0...v7.24.1)

#### v7.24.1 (2024-03-19)

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16350](https://togithub.com/babel/babel/pull/16350) Fix
decorated class computed keys ordering
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;16344](https://togithub.com/babel/babel/pull/16344) Fix
decorated class static field private access
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-json-modules`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#&#8203;16329](https://togithub.com/babel/babel/pull/16329) Respect
`moduleName` for `@babel/runtime/regenerator` imports
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-class-properties`
- [#&#8203;16331](https://togithub.com/babel/babel/pull/16331) Fix
decorator memoiser binding kind
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`,
`babel-helper-replace-supers`, `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`
- [#&#8203;16325](https://togithub.com/babel/babel/pull/16325) Fix
decorator evaluation private environment
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 📝 Documentation

- [#&#8203;16319](https://togithub.com/babel/babel/pull/16319) Update
SECURITY.md
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-code-frame`, `babel-highlight`
- [#&#8203;16359](https://togithub.com/babel/babel/pull/16359) Replace
`chalk` with `picocolors`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-fixtures`, `babel-helpers`,
`babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-preset-flow`
- [#&#8203;16352](https://togithub.com/babel/babel/pull/16352) Run Babel
transform tests on old node if possible
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-module-imports`,
`babel-plugin-proposal-import-wasm-source`,
`babel-plugin-proposal-json-modules`,
`babel-plugin-proposal-record-and-tuple`,
`babel-plugin-transform-react-jsx-development`,
`babel-plugin-transform-react-jsx`
- [#&#8203;16349](https://togithub.com/babel/babel/pull/16349) Support
merging imports in import injector
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   Other
- [#&#8203;16332](https://togithub.com/babel/babel/pull/16332) Test
Babel 7 plugins compatibility with Babel 8 core
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🔬 Output optimization

- `babel-helper-replace-supers`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-parameters`,
`babel-plugin-transform-runtime`
- [#&#8203;16345](https://togithub.com/babel/babel/pull/16345) Optimize
the use of `assertThisInitialized` after `super()`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`
- [#&#8203;16343](https://togithub.com/babel/babel/pull/16343) Use
simpler `assertThisInitialized` more often
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-object-rest-spread`, `babel-traverse`
- [#&#8203;16342](https://togithub.com/babel/babel/pull/16342) Consider
well-known and registered symbols as literals
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-plugin-external-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-function-bind`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-flow-comments`,
`babel-plugin-transform-flow-strip-types`,
`babel-plugin-transform-function-name`,
`babel-plugin-transform-modules-systemjs`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-property-in-object`,
`babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`,
`babel-plugin-transform-spread`, `babel-plugin-transform-typescript`,
`babel-preset-env`
- [#&#8203;16326](https://togithub.com/babel/babel/pull/16326) Reduce
the use of class names
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### Committers: 4

-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-04-23 10:56:45 -05:00
renovate[bot]
14f2d95fd0
Update dependency elastic-apm-node to ^4.5.2 (main) (#181241)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [elastic-apm-node](https://togithub.com/elastic/apm-agent-nodejs) |
[`^4.5.0` ->
`^4.5.2`](https://renovatebot.com/diffs/npm/elastic-apm-node/4.5.0/4.5.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/elastic-apm-node/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/elastic-apm-node/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/elastic-apm-node/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/elastic-apm-node/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>elastic/apm-agent-nodejs (elastic-apm-node)</summary>

###
[`v4.5.2`](https://togithub.com/elastic/apm-agent-nodejs/releases/tag/v4.5.2)

[Compare
Source](https://togithub.com/elastic/apm-agent-nodejs/compare/v4.5.0...v4.5.2)

For more information, please see the
[changelog](https://www.elastic.co/guide/en/apm/agent/nodejs/current/release-notes-4.x.html#release-notes-4.5.2).

##### Elastic APM Node.js agent layer ARNs

|Region|ARN|
|------|---|

|af-south-1|arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-east-1|arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-northeast-1|arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-northeast-2|arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-northeast-3|arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-south-1|arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-southeast-1|arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-southeast-2|arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ap-southeast-3|arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|ca-central-1|arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-central-1|arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-north-1|arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-south-1|arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-west-1|arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-west-2|arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|eu-west-3|arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|me-south-1|arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|sa-east-1|arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|us-east-1|arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|us-east-2|arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|us-west-1|arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

|us-west-2|arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-node-ver-4-5-2:1|

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDpza2lwIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-04-22 09:48:47 +02:00
Saarika Bhasi
439f4a8876
[ML] Support adding inference_id in a flyout (#180330)
## Summary

* Creates a new package - ` @kbn/inference_integration_flyout` 
* Above package has implementation for adding new inference endpoint id,
including Elastic, third party integration and instructions to upload
via Eland python client, in a flyout.
* The above package is used for supporting semantic_text feature and is
accessed via`add a new inference endpoint` button

## Screen Recording


dbd36634-bd4a-49f1-b1d5-d7b6c90444bc


### Checklist


- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-21 21:20:28 -04:00
Cee Chen
cbc68cd40c
Upgrade EUI to v94.1.0 (major EuiTable refactors) (#180514)
`v93.6.0`  `v94.1.0`

> [!important]
> 👋 Hello everyone - this is a special release containing `EuiTable`'s
conversion to Emotion, several long-overdue cleanups and breaking
changes, and one or two fun new features. First, let's address the big
questions:

### Q: I'm listed as a codeowner, how much should I manually QA/review?

Answer: It depends on what exactly in your code changed, but _in
general_ I would strongly suggest at least pulling this branch down and
doing a quick visual smoke test of all tables (_note: **not**
datagrids_) in your apps/plugins. You should not expect to see any major
visual regressions.

If your table contained any kind of custom styling or behavior (e.g.
custom CSS, etc.) I **strongly** recommend taking more time to QA
thoroughly to ensure your table still looks and behaves as expected.
Teams with very manual or specific updates will be flagged below in
comment threads.

### Q: When do I need to review by?

This PR will be merged **after** 8.14FF. Because this upgrade touches so
many files and teams, we're aiming for asking for an admin merge by EOD
4/18 regardless of full approval status.

As always, you're welcome to ping us after merge if you find any issues
later ([see our
FAQ](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)),
as you will have until 8.15FF to catch any bugs.

### Q: What breaking changes were made, and why?

Here's a quick shortlist of all the changes made that affected the
majority of the commits in this PR:

#### <u>Removed several top-level table props</u>
- The `responsive` prop has been removed in favor of the new
`responsiveBreakpoint` prop (same `false` behavior as before)
- The following props were removed from basic and in-memory tables:
  - `hasActions`, `isSelectable`, and `isExpandable`
- These props were not used for functionality and were only used for
styling tables in mobile/responsive views, which is not a best practice
pattern we wanted for our APIs. Mobile tables are now styled correctly
without needing consumers to pass these extra props.
  - `textOnly`
- This prop was unused and had no meaningful impact on tables or table
content.

#### Removed hidden mobile vs. desktop DOM

Previously, EUI would set classes that applied `display: none` CSS for
content that was hidden for mobile vs. desktop. This is no longer the
case, and content that only displays for mobile or only displays for
desktop will no longer render to the DOM at all if the table is not in
that responsive state.

This is both more performant when rendering large quantities of
cells/content, and simpler to write test assertions for when comparing
what the user actually sees vs. what the DOM ‘sees’.
(c3eeb08441e4b6efe6505e7cddaa87b540ddb259,
78cefcd954a7b46eaccd05e431b5e24dc86071a3)

#### Removed direct usages of table `className`s

EuiTable `classNames` no longer have any styles attached to them, so
some instances where Kibana usages were applying the `className` for
styles have been replaced with direct component usage or removed
entirely (86ce80b61f).

#### Custom table cell styles

Any custom CSS for table cells was previously being applied to the inner
`div.euiTableCellContent` wrapper. As of this latest release, the
`className` and `css` props will now be applied directly to the outer
`td.euiTableRowCell` element. If you were targeting custom styles table
cells, please re-QA your styles to ensure everything still looks as
expected.

---

<details open><summary>Full changelog (click to collapse)</summary>

##
[`v94.1.0-backport.0`](https://github.com/elastic/eui/releases/v94.1.0-backport.0)

**This is a backport release only intended for use by Kibana.**

**Bug fixes**

- Fixed a visual text alignment regression in `EuiTableRowCell`s with
the `row` header scope
([#7681](https://github.com/elastic/eui/pull/7681))

**Accessibility**

- Improved `EuiBasicTable` and `EuiInMemoryTable`'s selection checkboxes
to have unique aria-labels per row
([#7672](https://github.com/elastic/eui/pull/7672))

## [`v94.1.0`](https://github.com/elastic/eui/releases/v94.1.0)

- Updated `EuiTableHeaderCell` to show a subdued `sortable` icon for
columns that are not currently sorted but can be
([#7656](https://github.com/elastic/eui/pull/7656))
- Updated `EuiBasicTable` and `EuiInMemoryTable`'s
`columns[].actions[]`'s to pass back click events to `onClick` callbacks
as the second callback
([#7667](https://github.com/elastic/eui/pull/7667))

## [`v94.0.0`](https://github.com/elastic/eui/releases/v94.0.0)

- Updated `EuiTable`, `EuiBasicTable`, and `EuiInMemoryTable` with a new
`responsiveBreakpoint` prop, which allows customizing the point at which
the table collapses into a mobile-friendly view with cards
([#7625](https://github.com/elastic/eui/pull/7625))
- Updated `EuiProvider`'s `componentDefaults` prop to allow configuring
`EuiTable.responsiveBreakpoint`
([#7625](https://github.com/elastic/eui/pull/7625))

**Bug fixes**

- `EuiBasicTable` & `EuiInMemoryTable` `isPrimary` actions are now
correctly shown on mobile views
([#7640](https://github.com/elastic/eui/pull/7640))
- Table `mobileOptions`:
([#7642](https://github.com/elastic/eui/pull/7642))
- `mobileOptions.align` is now respected instead of all cells being
forced to left alignment
- `textTruncate` and `textOnly` are now respected even if a `render`
function is not passed

**Breaking changes**

- Removed unused `EuiTableHeaderButton` component
([#7621](https://github.com/elastic/eui/pull/7621))
- Removed the `responsive` prop from `EuiTable`, `EuiBasicTable`, and
`EuiInMemoryTable`. Use the new `responsiveBreakpoint` prop instead
([#7625](https://github.com/elastic/eui/pull/7625))
- The following props are no longer needed by `EuiBasicTable` or
`EuiInMemoryTable` for responsive table behavior to work correctly, and
can be removed: ([#7632](https://github.com/elastic/eui/pull/7632))
  - `isSelectable`
  - `isExpandable`
  - `hasActions`
- Removed the `showOnHover` prop from `EuiTableRowCell` /
`EuiBasicTable`/`EuiInMemoryTable`'s `columns` API. Use the new actions
`columns[].actions[].showOnHover` API instead.
([#7640](https://github.com/elastic/eui/pull/7640))
- Removed top-level `textOnly` prop from `EuiBasicTable` and
`EuiInMemoryTable`. Use `columns[].textOnly` instead.
([#7642](https://github.com/elastic/eui/pull/7642))

**DOM changes**

- `EuiTable` mobile headers no longer render in the DOM when not visible
(previously rendered with `display: none`). This may affect DOM testing
assertions. ([#7625](https://github.com/elastic/eui/pull/7625))
- `EuiTableRowCell` now applies passed `className`s to the parent `<td>`
element, instead of to the inner cell content `<div>`.
([#7631](https://github.com/elastic/eui/pull/7631))
- `EuiTableRow`s rendered by basic and memory tables now only render a
`.euiTableRow-isSelectable` className if the selection checkbox is not
disabled ([#7632](https://github.com/elastic/eui/pull/7632))
- `EuiTableRowCell`s with `textOnly` set to `false` will no longer
attempt to apply the `.euiTableCellContent__text` className to child
elements. ([#7641](https://github.com/elastic/eui/pull/7641))
- `EuiTableRowCell` no longer renders mobile headers to the DOM unless
the current table is displaying its responsive view.
([#7642](https://github.com/elastic/eui/pull/7642))
- `EuiTableHeaderCell` and `EuiTableRowCell` will no longer render in
the DOM at all on mobile if their columns' `mobileOptions.show` is set
to `false`. ([#7642](https://github.com/elastic/eui/pull/7642))
- `EuiTableHeaderCell` and `EuiTableRowCell` will no longer render in
the DOM at all on desktop if their columns' `mobileOptions.only` is set
to `true`. ([#7642](https://github.com/elastic/eui/pull/7642))

**CSS-in-JS conversions**

- Converted `EuiTable`, `EuiTableRow`, `EuiTableRowCell`, and all other
table subcomponents to Emotion
([#7654](https://github.com/elastic/eui/pull/7654))
- Removed the following `EuiTable` Sass variables:
([#7654](https://github.com/elastic/eui/pull/7654))
  - `$euiTableCellContentPadding`
  - `$euiTableCellContentPaddingCompressed`
  - `$euiTableCellCheckboxWidth`
  - `$euiTableHoverColor`
  - `$euiTableSelectedColor`
  - `$euiTableHoverSelectedColor`
  - `$euiTableActionsBorderColor`
  - `$euiTableHoverClickableColor`
  - `$euiTableFocusClickableColor`
- Removed the following `EuiTable` Sass mixins:
([#7654](https://github.com/elastic/eui/pull/7654))
  - `euiTableActionsBackgroundMobile`
  - `euiTableCellCheckbox`
  - `euiTableCell`
</details>
2024-04-19 00:05:48 +01:00
Sébastien Loix
5be49cac39
[Stateful sidenav] Remove analytics IA group (#181132) 2024-04-18 16:12:16 +01:00
Jean-Louis Leysens
29fb11b358
[HTTP/OAS] @kbn/router-to-openapispec (#180683)
## Summary

Introduces a new package for generating OAS from Kibana's routers. This
first iteration includes:

* E2E conversion of Core's `Router` and `CoreVersionedRouter` routes
into a single OAS document (not written to disk or shared anywhere
yet...)
* Support for
[`$ref`](https://swagger.io/docs/specification/using-ref/?sbsearch=%24ref)
by introducing the `meta.id` field `@kbn/config-schema`'s base type.
This is intended to be used only response/request schemas initially.

## TODO

- [x] More unit tests

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-17 04:03:16 -07:00
Dzmitry Lemechko
5942fb9fef
[chore] bump chromedriver to 123 (#181002)
## Summary

Updating chromedriver to support running tests on Chrome v124
2024-04-17 11:28:37 +02:00
Rachel Shen
9579635c25
[Share Modal Redesign] Reporting Refactor Modals (#180009)
## Summary

This PR refactors https://github.com/elastic/kibana/pull/179206 to have
each export type be registered in Reporting and then passed into the
share plugin.

This PR is focused on the redesign in terms of the export modals. Test
refactoring will be done in a separate PR.
Partially closes https://github.com/elastic/kibana-team/issues/753

- [x] Need to refactor this PR to include @eokoneyo's general modal
component
- [x] Lens needs to have Export with all three report type options - to
avoid circular dependencies move the Lens CSV stuff into the reporting
plugin vs having it in Lens
- [x] Canvas should not be affected by these changes (so the old
share/reporting code has to stay for canvas)
https://github.com/elastic/kibana/issues/151523 to keep in mind for the
redesign

Failed tests will be covered in this PR
https://github.com/elastic/kibana/pull/180406


### TO TEST 

Mark `share.new_version.enabled: true` in your kibana.dev.yml


### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))

---------

Co-authored-by: Eyo Okon Eyo <eyo.eyo@elastic.co>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2024-04-16 15:01:44 -07:00
Kevin Lacabane
66587d8940
[Obs AI Assistant] ai assistant system connector (#179980)
## Summary

Creates a system connector that can call the observability ai assistant
to execute actions on behalf of user. The connector is tagged as tech
preview.

The connector can be triggered when an alert fires. Connector can be
configured with an initial message to the assistant which generates an
answer and triggers potential actions on the assistant side. The current
experimental scenario is to ask the assistant to generate a report of
the alert that fired (by initially providing some context in the first
message), recalling any information/potential resolutions of previous
occurrences stored in the knowledge base and also including other active
alerts that may be related. One last step that can be asked to the
assistant is to trigger an action, currently only sending the report (or
any other message) to a preconfigured slack webhook is supported.

## Testing
_Note: when asked to send a message to another connector (in our case
slack), we'll try to include a link to the generated conversation. It is
only possible to generate this link if
[server.publicBaseUrl](https://www.elastic.co/guide/en/kibana/current/settings.html#server-publicBaseUrl)
is correctly set in kibana settings._

- Create a slack webhook connector
- Get slack webhook. I can share one and invite you to the workspace, or
if you want to create one:
    - create personal workspace at https://slack.com/signin#workspaces
    - create an app for that workspace at https://api.slack.com/apps
- under Features > OAuth & Permissions > Scopes > Bot Token Scopes, add
`incoming-webhook` permission
    - install the app
    - webhook url is available under Features > Incoming Webhooks
- Create a rule that can be triggered with available documents and
attach observability AI assistant connector. (I use `Error Count
Threshold` and generate errors via `node scripts/synthtrace
many_errors.ts --live`)
- configure the connector with one genai connector and a message with
instructions. Example:
```
High error count alert has triggered. Execute the following steps:
  - create a graph of the error count for the service impacted by the alert for the last 24h
  - to help troubleshoot recall past occurrences of this alarm, also any other active alerts. Generate a report with all the found informations and send it to slack connector as a single message. Also include the link to this conversation in the report
```
- Track alert status and verify connector was executed. You should get a
slack notification sent by the assistant, and a new conversation will be
stored

TODO
- unit/integration tests - see
https://github.com/elastic/kibana/pull/168369 for reference
implementation
- documentation

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2024-04-15 22:22:06 +02:00
Rodney Norris
308f514a45
[Search] Introduced Notebooks view for console (#180400)
## Summary

This PR adds the search-notebooks plugin and a python notebook renderer
to the persistent console.

### Screenshots
Console Closed
<img width="1418" alt="image"
src="8e2e2934-a19f-4204-8a31-1e8eab7fd20f">
Notebooks:
<img width="1418" alt="image"
src="bf9d40ad-352d-482e-8d84-f426c3026c69">
<img width="1418" alt="image"
src="fcf8cac2-4640-49e8-9bce-94a5a853383f">

Console View
<img width="1418" alt="image"
src="9230d1c2-3987-41f8-aa86-77a20509b8c0">

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-04-15 11:10:28 -05:00
Sid
195265cb81
Upgrades undici from 5.28.3 to 5.28.4 (#180486)
## Summary

Upgrades `undici` from v5.28.3 to v5.28.4.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-04-11 13:58:51 +02:00
Sander Philipse
1fa7a69fb6
Move shared index management types to package (#179932)
## Summary

This moves a number of types that are used outside of the index
management plugin to a package so we can avoid cyclical dependencies in
the work we're doing to add semantic text as a mapping type. That will
depend on the ML plugin, which has dependencies that themselves depend
on a few types from index management. I split this into a separate PR
for ease of reviewing.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2024-04-10 17:48:06 +02:00
Kurt
ba2c27c95a
Upgrading express from 4.17.3 --> 4.19.2 (#180373)
## Summary

Upgrading `express` from 4.17.3. to 4.19.2


[Changelog](https://github.com/expressjs/express/compare/4.17.3...4.19.2)
2024-04-10 08:13:17 -04:00
Cee Chen
459ed573b6
Upgrade EUI to v93.6.0 (#180316)
`v93.5.2`  `v93.6.0`

---

## [`v93.6.0`](https://github.com/elastic/eui/releases/v93.6.0)

- Updated `EuiBreadcrumb` styles to improve visual distinction of
clickable breadcrumbs
([#7615](https://github.com/elastic/eui/pull/7615))

**Deprecations**

- Deprecated `color` prop on `EuiBreadcrumb`
([#7615](https://github.com/elastic/eui/pull/7615))

**Bug fixes**

- Fixed `EuiComboBox` to correctly select full matches within groups via
the `Enter` key ([#7658](https://github.com/elastic/eui/pull/7658))

**Accessibility**

- Updated `EuiHeaderBreadcrumb` styles to ensure min. required color
contrast ([#7643](https://github.com/elastic/eui/pull/7643))
- `EuiSuperSelect` now correctly reads out parent `EuiFormRow` labels to
screen readers ([#7650](https://github.com/elastic/eui/pull/7650))
- `EuiSuperSelect` now more closely mimics native `<select>` behavior in
its keyboard behavior and navigation
([#7650](https://github.com/elastic/eui/pull/7650))
- `EuiSuperSelect` no longer strands keyboard focus on close
([#7650](https://github.com/elastic/eui/pull/7650))
- `EuiSuperSelect` now correctly allows keyboard navigating past
disabled options in the middle of the options list
([#7650](https://github.com/elastic/eui/pull/7650))
2024-04-09 14:49:25 -07:00
Clint Andrew Hall
15dea75d52
[dx] Tweak profiling to include the webpack visualization from CI (#180335) 2024-04-09 12:03:35 -04:00
Steph Milovic
29fe28539b
[Security solution] LangChain Streaming (#174126) 2024-04-05 09:53:50 -06:00
Clint Andrew Hall
4059af12e1
[dx][webpack] Output two additional and helpful visualizations of webpack stats (#180099)
As titled. Run `node scripts/build_kibana_platform_plugins.js --dist
--profile --focus=[PLUGIN]` and view the `target` directory for two
additional visualizations of webpack stats.

## Statoscope
>Statoscope is a toolkit for analyzing (with UI-base report) and
validate stats of your bundle.
>
>Learn more on [Statoscope: A Course Of Intensive Therapy For Your
Bundle](https://www.smashingmagazine.com/2022/02/statoscope-course-intensive-therapy-bundle/).

https://github.com/statoscope/statoscope

<img width="1981" alt="Screenshot 2024-04-04 at 7 22 57 PM"
src="38128335-e852-4ccc-9aa5-b5fefbf5e6a2">

Statoscope has been incredibly useful in determining _why_ a module,
library or chunk exists, as well as any duplicates.

## Webpack Visualizer

One of the defacto standards for stats analysis, automatically generated
when profiling.

<img width="2336" alt="Screenshot 2024-04-04 at 7 27 30 PM"
src="7c6aca0c-a8f2-42fa-9972-bf396aaebe75">

---------

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2024-04-04 20:48:37 -07:00
Rodney Norris
f385496a40
[Search] introduce notebooks plugin (#179870)
## Summary

Introduced the search_notebooks plugin which has a set of default python
notebooks that can be served to the frontend via API endpoints.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-04-04 14:16:11 -05:00
Eyo O. Eyo
03696a4561
Share Modal (#179037)
## Summary

This PR is based off of https://github.com/elastic/kibana/pull/176617,
which in turn builds off of the generic tabbed modal component created
here https://github.com/elastic/kibana/pull/176261.
Partially addresses https://github.com/elastic/kibana-team/issues/753

The PR introduces an alternate way of sharing a dashboard by
consolidating the existing share options into a single place.

## TO TEST
Set `share.new_version.enabled: true `in your kibana.dev.yml in order to
see these changes.
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios


Co-authored-by: rshen91 <rshen@elastic.co>
2024-04-04 09:06:14 -07:00
Alejandro Fernández Haro
947dac2846
Upgrade elasticsearch-js to 8.13.0 (#179747) 2024-04-03 08:56:29 -07:00
Sébastien Loix
43de4b5d57
[Stateful sidenav] Update static definitions (#179043) 2024-04-03 15:43:21 +01:00
Jeramy Soucy
b6670ae48a
Upgrade webpack-dev-middleware@5.3.3→5.3.4 (#179738)
## Summary

Upgrades development dependency `webpack-dev-middleware` from v5.3.3 to
v5.3.4.
2024-04-02 11:28:24 +02:00
Cee Chen
1ba10aa76d
Upgrade EUI to v93.5.2 (#179749)
`v93.5.1`  `v93.5.2`

---

## [`v93.5.2`](https://github.com/elastic/eui/releases/v93.5.2)

**Dependency updates**

- Updated `react-virtualized-auto-sizer` to 1.0.24
([#7598](https://github.com/elastic/eui/pull/7598))
- Updated `react-window` to 1.8.10
([#7600](https://github.com/elastic/eui/pull/7600))

**CSS-in-JS conversions**

- Updated EUI's internal style memoization/performance utility to have
configurable error/warning levels via `setEuiDevProviderWarning`
([#7626](https://github.com/elastic/eui/pull/7626))
2024-04-01 13:02:35 -05:00
Walter Rafelsberger
bb33a8e78b
[ML] AIOps: Move code from plugins/aiops/common to packages. (#179178)
## Summary

This moves code from `plugins/aiops/common` to packages. The `aiops`
plugin will from now on have only a `server` and `public` directory.
This is in preparation for additional AIOps related public APIs and to
avoid cyclic dependency problems for other consuming plugins.

- Package `@kbn/aiops-utils` was renamed to `@kbn/aiops-common`.
- For each AIOps feature a package was created:
`@kbn/aiops-change-point-detection`, `@kbn/aiops-log-pattern-analysis`
and `@kbn/aiops-log-rate-analysis`.

### Checklist

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2024-03-28 18:40:36 +01:00
Cauê Marcondes
aadfa5dffd
[UX/Maps] Fixing APM data view id (#179257)
closes https://github.com/elastic/kibana/issues/177461

UX fix:
<img width="813" alt="Screenshot 2024-03-22 at 14 03 58"
src="48352560-d5c4-4258-8bfe-5b8dc6e4bf41">

Maps Obs layer
<img width="1325" alt="Screenshot 2024-03-22 at 16 11 31"
src="a68bbef3-a30a-45e4-987f-b472ee0db394">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-28 12:14:32 +00:00
Nathan Reese
c8bfea57c1
[dashboard] decouple "link to library" and "unlink from library" actions from AttributeService (#178584)
There are 2 paths for decoupling from AttributeService
1. replace existing actions with new actions that use
`HasLibraryTransforms` interface. Update all embeddables to implement
`HasLibraryTransforms` interfaces.
2. Rename existing actions as `legacy`. Create new actions that use
`HasLibraryTransforms` interface. Provide a reference implementation for
new actions. Convert embeddables to new `HasLibraryTransforms` interface
as the embeddables get converted to react embeddables.

Option 2 was chosen to limit scope and gradually convert embeddables to
`HasLibraryTransforms` interface.

This PR:
1. Remove `@kbn/presentation-library` package. Interfaces in this
package have been rolled into `@kbn/presentation-publishing` package.
2. Rename existing interface as `HasLegacyLibraryTransforms`
3. Create new interface `HasLibraryTransforms` 
4. Rename `AddToLibraryAction` action to `LegacyAddToLibraryAction`.
Modify action to use `HasLegacyLibraryTransforms` interface and guards.
5. Rename `UnlinkFromLibraryAction` action to
`LegacyUnlinkFromLibraryAction`. Modify action to use
`HasLegacyLibraryTransforms` interface and guards.
6. Rename `LibraryNotificationAction` action to
`LegacyLibraryNotificationAction`. Modify action to use
`LegacyUnlinkFromLibraryAction`.
7. Create new `AddToLibraryAction`. Code action to use
`HasLibraryTransforms` interface.
8. Create new `UnlinkFromLibraryAction`. Code action to use
`HasLibraryTransforms` interface.
9. Create new `LibraryNotificationAction`. Code action to use
`UnlinkFromLibraryAction` action.
10. Update MapEmbeddable to implement `HasLibraryTransforms` interface
so that Map embeddable can be used to test new actions.

### Test
1. install sample web logs
2. create new dashboard
3. Click "Add panel" and select "Maps".
4. Click "Save and return".
5. Save dashboard. Inspect dashboard saved object. Verify panel is
by-value and contains `attributes` in `panelsJSON`
<img width="300" alt="Screenshot 2024-03-22 at 2 49 56 PM"
src="49189613-f7c4-435d-88ab-d9c8ceb1575f">
6. Go back to dashboard and open context menu. Click "more" and then
click "Save to library".
7. Save dashboard. Inspect dashboard saved object. Verify panel is
by-reference and does not contain `attributes` in `panelsJSON`.
<img width="300" alt="Screenshot 2024-03-22 at 2 52 19 PM"
src="e3b2eace-a48d-4dd0-a771-f22436d72935">
8. Go to maps listing page. Verify map is displayed in listing page.
Open map and verify it opens. Add some new layers and save map.
11. Go back to dashboard. Verify map contains new layers added to saved
object.
12. Open context menu. Click "more" and then click "Unlink from
library".
13. Save dashboard and verify map panel is now by-value again.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-27 16:27:03 -06:00
Marco Liberati
fb19e57a4e
[ES|QL] New @kbn/esql-services package (#179029)
## Summary

Closes https://github.com/elastic/kibana/issues/172649

This PR extracts the ES|QL service like "validation", "autocomplete",
"code_action" (quick fixes) and some other services into a separate
package `@kbn/esql-validation-autocomplete` which has no tie with Monaco
editor anymore.

All the AST and grammar logic has been encapsulated into a single
`@kbn/esql-ast` package who contains the `getAst` function together with
the `parser` and `lexer`.

## Validation enhancements

The validation API has been enhanced to gracefully degrade whenever
callbacks are not provided, via the `ignoreOnMissingCallback` option.
Tests are included as well for this scenario.

### Example plugin

An example plugin app has been developed to show to to use the
validation API

<img width="500" alt="Screenshot 2024-03-22 at 17 45 38"
src="ebc172d3-ee61-4f3a-9e42-dcb9b15c7e69">

The app starts with a missing callback:

<img width="855" alt="Screenshot 2024-03-22 at 17 36 22"
src="c9b81370-8a10-487d-b22f-2359e1365a54">

Toggling the ignore option will hide the index error due to the lack of
`getSources` callback:

<img width="816" alt="Screenshot 2024-03-22 at 17 28 17"
src="931f4e5f-3ad6-46f7-97ca-63d7bb66646b">

Warnings are shown as well when detected:

<img width="807" alt="Screenshot 2024-03-22 at 17 35 56"
src="5e3e0537-cba2-475f-946b-0302867384ca">

#### Code snippet

The example app produces a copyable code snippet of the current
configuration of the validator:

![Code
snippet](https://private-user-images.githubusercontent.com/924948/316838987-fd16da58-8790-40b2-851d-b92aca1811dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE0NTY0MzUsIm5iZiI6MTcxMTQ1NjEzNSwicGF0aCI6Ii85MjQ5NDgvMzE2ODM4OTg3LWZkMTZkYTU4LTg3OTAtNDBiMi04NTFkLWI5MmFjYTE4MTFkYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMyNlQxMjI4NTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDhhOGRlMjZjMzZhN2NjNTdkYWMxYTNjOWVkNTA3NDk5NGViOTg2NWEzMTAyZGM4MGYyOTQ0YjQ2N2Q3ZDI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.H-3r_B57NK1-rS8UbR_bxlNtAMQ0flFGtW0oTIiOlr0)

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-27 14:39:48 +01:00
Jeramy Soucy
7391431ae7
Upgrade tar@6.1.15→6.2.1 (#179462)
## Summary

Upgrades `tar` from v6.1.15 to v6.2.1, and @types/tar from from v6.1.5
to v6.1.11.
2024-03-27 09:14:10 -04:00
renovate[bot]
a8d65dc6ca
Update dependency elastic-apm-node to ^4.5.0 (main) (#179081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2024-03-26 09:34:17 -07:00
Cee Chen
8eb2fbd805
Upgrade EUI to v93.5.1 (#179363)
`v93.4.0`  `v93.5.1`

---

## [`v93.5.1`](https://github.com/elastic/eui/releases/v93.5.1)

**Bug fixes**

- Fixed unvirtualized `EuiSelectable`s to not cause Jest/jsdom errors on
active option change ([#7618](https://github.com/elastic/eui/pull/7618))

## [`v93.5.0`](https://github.com/elastic/eui/releases/v93.5.0)

- `EuiHeaderLinks` now accepts a `children` render function that will be
passed a `closeMobilePopover` callback, allowing consumers to close the
mobile popover by its content
([#7603](https://github.com/elastic/eui/pull/7603))
- Updated `EuiSelectable` to support scrolling list containers when
`listProps.isVirtualization` is set to `false`
([#7609](https://github.com/elastic/eui/pull/7609))

**Bug fixes**

- Fixed `EuiIconTip`'s default `aria-label` text to be i18n tokenizable
([#7606](https://github.com/elastic/eui/pull/7606))
- Fixed `EuiTextArea`'s CSS box model to no longer render a few extra
pixels of strut height
([#7607](https://github.com/elastic/eui/pull/7607))

**Dependency updates**

- Updated `@types/refractor` to v3.4.0
([#7590](https://github.com/elastic/eui/pull/7590))
- Updated `@types/lodash` to v4.14.202
([#7591](https://github.com/elastic/eui/pull/7591))
- Removed `@types/resize-observer-browser` dependency. `ResizeObserver`
types should already be baked in to Typescript as of 4.2+
([#7592](https://github.com/elastic/eui/pull/7592))
- Updated `classnames` to v2.5.1
([#7593](https://github.com/elastic/eui/pull/7593))
- Updated `@types/numeral` to v2.0.5
([#7594](https://github.com/elastic/eui/pull/7594))
- Updated `@types/react-window` to 1.8.8
([#7597](https://github.com/elastic/eui/pull/7597))
- Updated `prop-types` to v15.18.1
([#7602](https://github.com/elastic/eui/pull/7602))
- Removed `prop-types` as a peer dependency, per package recommendation
([#7602](https://github.com/elastic/eui/pull/7602))

**Accessibility**

- `EuiIcons` no longer apply `aria-hidden` to empty icons, as long as a
valid title or label is provided to the icon. In particular, this is
intended to improve the accessibility of loading `EuiIconTip`s.
([#7606](https://github.com/elastic/eui/pull/7606))
2024-03-26 08:44:31 -07:00
Nick Partridge
af5645247e
[Lens] Replace expression_gauge from Goal to Bullet (#177766)
## Summary

Migrates the Lens `Bullet Horizontal` and `Bullet Vertical` charts to the new design. Adds the `Semi-circular Gauge`, `Arc Gauge` and `Circular Gauge` chart types to Lens. See comparison between old and new designs below.

### Horizontal Bullet

<img width="891" alt="image"
src="18c3ec03-203f-4058-a543-4c7bde58dfd2">

### Vertical Bullet

<img width="736" alt="image"
src="f3da410a-8003-4647-8027-f6a13416aa38">

### Semi-circular Gauge

<img width="870" alt="image"
src="b1b3cc1b-1155-4fac-8ae7-fb1992fdfa99">

### Arc Gauge

<img width="849" alt="image"
src="bf552604-44cf-4db8-819d-a4d1558fc679">

### Circular Gauge

<img width="846" alt="image"
src="19ee5dc3-fd86-434c-ad62-6063361f60e5">
2024-03-26 08:42:13 -07:00
Sander Philipse
a64642b58c
[Search] Create connectors plugin (#178663)
## Summary

Creates a new search-connectors-plugin that houses some shared stateful
code for connectors. Right now this houses just images and a list of
connector types. In the futures this will also house API calls.


### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 06:56:16 -07:00
dkirchan
7b11832ea5
[Securitry][Buildkite] Moved dev dependencies to the correct section (#178392)
## Summary

Moved dev dependencies to the correct section
2024-03-26 13:53:50 +01:00
Søren Louv-Jansen
bb72b3e8e9
[ObsAiAssistant] Move AI Assistant Management plugin to x-pack (#179235)
This PR moves the AI Assistant Management plugin into x-pack to
co-locate it with the other assistant plugins and to make it possible to
statically import from the other assistant plugins. This is not
currently possible because the Management plugin is in OSS and the other
plugins are in xpack.
2024-03-25 08:36:36 -05:00