@commercetools-uikit/rich-text-utils 19.26.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,12 +30,11 @@ var slateHyperscript = require('slate-hyperscript');
30
30
  var parse = require('style-to-object');
31
31
  var isEmpty$2 = require('lodash/isEmpty');
32
32
  var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
33
- var react = require('react');
34
33
  var slateReact = require('slate-react');
35
34
  var isUrl = require('is-url');
36
35
  var jsxRuntime = require('@emotion/react/jsx-runtime');
37
36
  var _someInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/some');
38
- require('prop-types');
37
+ var react = require('react');
39
38
  var inputUtils = require('@commercetools-uikit/input-utils');
40
39
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
41
40
  var _styled = require('@emotion/styled/base');
@@ -864,7 +863,6 @@ const HiddenInput = props => {
864
863
  tabIndex: props.readOnly ? 0 : -1
865
864
  });
866
865
  };
867
- HiddenInput.propTypes = {};
868
866
  HiddenInput.displayName = 'HiddenInput';
869
867
  var HiddenInput$1 = HiddenInput;
870
868
 
@@ -1310,7 +1308,6 @@ const RichTextBodyButton = props => {
1310
1308
  children: props.children
1311
1309
  }));
1312
1310
  };
1313
- RichTextBodyButton.propTypes = {};
1314
1311
  RichTextBodyButton.displayName = 'RichTextInputButton';
1315
1312
  var Button = RichTextBodyButton;
1316
1313
 
@@ -1409,7 +1406,6 @@ const Dropdown = _ref2 => {
1409
1406
  }
1410
1407
  });
1411
1408
  };
1412
- Dropdown.propTypes = {};
1413
1409
  Dropdown.displayName = 'Dropdown';
1414
1410
  var Dropdown$1 = Dropdown;
1415
1411
 
@@ -1535,7 +1531,6 @@ const MarkButton = props => {
1535
1531
  children: props.children
1536
1532
  });
1537
1533
  };
1538
- MarkButton.propTypes = {};
1539
1534
  const BlockButton = props => {
1540
1535
  const editor = slateReact.useSlate();
1541
1536
  return jsxRuntime.jsx(Button, {
@@ -1550,7 +1545,6 @@ const BlockButton = props => {
1550
1545
  children: props.children
1551
1546
  });
1552
1547
  };
1553
- BlockButton.propTypes = {};
1554
1548
 
1555
1549
  const _excluded = ["styles"];
1556
1550
  function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1584,7 +1578,6 @@ const MoreStylesDropdownItem = props => {
1584
1578
  })
1585
1579
  }));
1586
1580
  };
1587
- MoreStylesDropdownItem.propTypes = {};
1588
1581
  MoreStylesDropdownItem.displayName = 'MoreStylesDropdownItem';
1589
1582
  const DropdownLabel = props => {
1590
1583
  return jsxRuntime.jsxs(Inline__default["default"], {
@@ -1615,7 +1608,6 @@ const StylesDropdownItem = props => {
1615
1608
  })
1616
1609
  }));
1617
1610
  };
1618
- StylesDropdownItem.propTypes = {};
1619
1611
  StylesDropdownItem.displayName = 'StylesDropdownItem';
1620
1612
  const tooltipStyles = {
1621
1613
  body: {
@@ -1873,7 +1865,7 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
1873
1865
  var RichTextEditorBody$1 = RichTextEditorBody;
1874
1866
 
1875
1867
  // NOTE: This string will be replaced on build time with the package version.
1876
- var version = "19.26.0";
1868
+ var version = "20.0.0";
1877
1869
 
1878
1870
  exports.Element = Element;
1879
1871
  exports.HiddenInput = HiddenInput$1;