kibana/packages/kbn-ui-shared-deps-npm
Trevor Pierce 83d9644b74
Upgrade EUI to v86.0.0 (#163088)
`85.1.0` ➡️ `86.0.0`

⚠️ The biggest change in this PR is migrating the `react-beautiful-dnd`
dependency to it's open-source forked successor, `@hello-pangea/dnd`.
This new fork has better typescript support and additionally supports
both React 17 and React 18.

## [`86.0.0`](https://github.com/elastic/eui/tree/v86.0.0)

- Added React 18 support (StrictMode not yet supported).
([#7012](https://github.com/elastic/eui/pull/7012))

**Deprecations**

- Deprecated `euiPaletteComplimentary`; Use `euiPaletteComplementary`
instead. ([#6992](https://github.com/elastic/eui/pull/6992))

**Breaking changes**

- Replaced the underlying drag-and-drop library from
`react-beautiful-dnd` to its fork `@hello-pangea/dnd`
([#7012](https://github.com/elastic/eui/pull/7012))
([#7012](https://github.com/elastic/eui/pull/7012))
- No code updates are needed if using only `<EuiDragDropContext>`,
`<EuiDroppable>` and `<EuiDraggable>` with no direct imports from
`react-beautiful-dnd`. In case you were importing things from
`react-beautiful-dnd` and using them together with EUI components, you
need to switch to `@hello-pangea/dnd` which has cross-compatible API.

---------

Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co>
Co-authored-by: Tomasz Kajtoch <tomek@kajto.ch>
Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
Co-authored-by: Drew Tate <andrew.tate@elastic.co>
2023-08-14 15:45:09 -05:00
..
src Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
BUILD.bazel Upgrade EUI to v86.0.0 (#163088) 2023-08-14 15:45:09 -05:00
index.js Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.mdx docs(NA): adds @kbn/ui-shared-deps-npm into ops devdocs (#132761) 2022-05-25 19:28:40 -07:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
webpack.config.js Upgrade EUI to v86.0.0 (#163088) 2023-08-14 15:45:09 -05:00

---
id: kibDevDocsOpsUiSharedDepsNpm
slug: /kibana-dev-docs/ops/ui-shared-deps-npm
title: "@kbn/ui-shared-deps-npm"
description: A package to share single instances of npm external packages across bundles
date: 2022-05-24
tags: ['kibana', 'dev', 'contributor', 'operations', 'ui', 'shared', 'deps', 'npm']
---

This is a package of shared dependencies that must only have a single instance and are from the NPM external to 
the Kibana repository. To consume them, import the package and merge the `externals` export into your webpack 
externals config so that all references to the supported modules will be remapped to use the global versions.