@udecode/plate-toolbar
Advanced tools
Comparing version 3.0.1 to 3.1.0
# @udecode/plate-toolbar | ||
## 3.1.0 | ||
### Minor Changes | ||
- [#980](https://github.com/udecode/plate/pull/980) [`a1600e5f`](https://github.com/udecode/plate/commit/a1600e5f8cf1a1b4aa6a88048063431ecafbf766) Thanks [@cungminh2710](https://github.com/cungminh2710)! - `BalloonToolbar` – New prop: `portalElement` used to customize the `Portal` container | ||
### Patch Changes | ||
- Updated dependencies [[`03f2acdd`](https://github.com/udecode/plate/commit/03f2acdd1b34d1e4e574bcf296ae5b4796930c9a)]: | ||
- @udecode/plate-styled-components@3.1.0 | ||
## 3.0.1 | ||
@@ -4,0 +15,0 @@ |
@@ -26,3 +26,4 @@ import { ReactNode } from 'react'; | ||
arrow?: boolean; | ||
portalElement?: Element; | ||
} | ||
//# sourceMappingURL=BalloonToolbar.types.d.ts.map |
@@ -231,3 +231,4 @@ import { createStyles, PortalBody } from '@udecode/plate-styled-components'; | ||
theme = 'dark', | ||
arrow = false | ||
arrow = false, | ||
portalElement | ||
} = props; | ||
@@ -255,2 +256,3 @@ const ref = React.useRef(null); | ||
return /*#__PURE__*/jsx(PortalBody, { | ||
element: portalElement, | ||
children: /*#__PURE__*/jsx(_StyledToolbarBase$1, { | ||
@@ -257,0 +259,0 @@ ref: ref, |
@@ -261,3 +261,4 @@ 'use strict'; | ||
theme = 'dark', | ||
arrow = false | ||
arrow = false, | ||
portalElement | ||
} = props; | ||
@@ -285,2 +286,3 @@ const ref = React__namespace.useRef(null); | ||
return /*#__PURE__*/jsxRuntime.jsx(plateStyledComponents.PortalBody, { | ||
element: portalElement, | ||
children: /*#__PURE__*/jsxRuntime.jsx(_StyledToolbarBase$1, { | ||
@@ -287,0 +289,0 @@ ref: ref, |
{ | ||
"name": "@udecode/plate-toolbar", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "Toolbar UI for Plate", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@udecode/plate-core": "1.0.0", | ||
"@udecode/plate-styled-components": "3.0.1", | ||
"@udecode/plate-styled-components": "3.1.0", | ||
"react-use": "^17.1.1" | ||
@@ -41,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
117808
1134
+ Added@udecode/plate-styled-components@3.1.0(transitive)
- Removed@udecode/plate-styled-components@3.0.1(transitive)