@udecode/plate-mention-ui
Advanced tools
Comparing version 6.1.0 to 6.2.0
# @udecode/plate-mention-ui | ||
## 6.2.0 | ||
### Patch Changes | ||
- [#1173](https://github.com/udecode/plate/pull/1173) by [@zbeyens](https://github.com/zbeyens) – Replace `import * as React` by `import React` | ||
## 6.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,3 +0,2 @@ | ||
import * as React from 'react'; | ||
import React__default, { useEffect } from 'react'; | ||
import React, { useEffect } from 'react'; | ||
import { comboboxStore, Combobox } from '@udecode/plate-combobox'; | ||
@@ -37,3 +36,3 @@ import { ELEMENT_MENTION, COMBOBOX_TRIGGER_MENTION, getMentionOnSelectItem } from '@udecode/plate-mention'; | ||
if (activeId !== id) return null; | ||
return /*#__PURE__*/React__default.createElement(Combobox, { | ||
return /*#__PURE__*/React.createElement(Combobox, { | ||
items: items, | ||
@@ -40,0 +39,0 @@ component: component, |
@@ -15,24 +15,3 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
var React__namespace = /*#__PURE__*/_interopNamespace(React); | ||
var _styled__default = /*#__PURE__*/_interopDefaultLegacy(_styled); | ||
@@ -129,3 +108,3 @@ | ||
}); | ||
return /*#__PURE__*/React__namespace.createElement(_StyledSpan, _extends({}, attributes, { | ||
return /*#__PURE__*/React__default['default'].createElement(_StyledSpan, _extends({}, attributes, { | ||
as: as, | ||
@@ -132,0 +111,0 @@ "data-slate-value": element.value, |
{ | ||
"name": "@udecode/plate-mention-ui", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "Media embed UI for Plate", | ||
@@ -35,7 +35,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@udecode/plate-combobox": "6.1.0", | ||
"@udecode/plate-common": "6.1.0", | ||
"@udecode/plate-core": "6.0.0", | ||
"@udecode/plate-mention": "6.1.0", | ||
"@udecode/plate-styled-components": "6.1.0" | ||
"@udecode/plate-combobox": "6.2.0", | ||
"@udecode/plate-common": "6.2.0", | ||
"@udecode/plate-core": "6.2.0", | ||
"@udecode/plate-mention": "6.2.0", | ||
"@udecode/plate-styled-components": "6.2.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40598
262
+ Added@udecode/plate-combobox@6.2.0(transitive)
+ Added@udecode/plate-common@6.2.0(transitive)
+ Added@udecode/plate-core@6.2.0(transitive)
+ Added@udecode/plate-mention@6.2.0(transitive)
+ Added@udecode/plate-popper@6.2.0(transitive)
+ Added@udecode/plate-styled-components@6.2.0(transitive)
- Removed@udecode/plate-combobox@6.1.0(transitive)
- Removed@udecode/plate-common@6.1.0(transitive)
- Removed@udecode/plate-core@6.0.0(transitive)
- Removed@udecode/plate-mention@6.1.0(transitive)
- Removed@udecode/plate-popper@6.1.0(transitive)
- Removed@udecode/plate-styled-components@6.1.0(transitive)
Updated@udecode/plate-common@6.2.0
Updated@udecode/plate-core@6.2.0
Updated@udecode/plate-mention@6.2.0