@arbisoft/react-design-tool 1.0.12 → 1.0.13

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.
package/dist/esm/index.js CHANGED
@@ -606,7 +606,6 @@ var _templateObject$t;
606
606
  var SideBarWrapper$1 = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n background-color: ", ";\n display: flex;\n flex-direction: column;\n width: 100px;\n overflow: auto;\n"])), theme.color.white);
607
607
 
608
608
  var propTypes$y = {
609
- key: PropTypes.string,
610
609
  isSelected: PropTypes.bool,
611
610
  onClick: PropTypes.func,
612
611
  icon: PropTypes.node,
@@ -1878,7 +1877,7 @@ var SideBar = function SideBar(_ref) {
1878
1877
  return null;
1879
1878
  }
1880
1879
  return /*#__PURE__*/React.createElement(SideBarPill, {
1881
- key: item === null || item === void 0 ? void 0 : item.id,
1880
+ key: Date.now(),
1882
1881
  id: item === null || item === void 0 ? void 0 : item.id,
1883
1882
  isSelected: selectedSideBarItem === (item === null || item === void 0 ? void 0 : item.id),
1884
1883
  onClick: function onClick() {
@@ -2211,7 +2210,7 @@ var propTypes$s = {
2211
2210
  paddingRight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
2212
2211
  list: PropTypes.array,
2213
2212
  onSelect: PropTypes.func,
2214
- fontPicker: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
2213
+ fontPicker: PropTypes.any,
2215
2214
  tooltip: PropTypes.string
2216
2215
  };
2217
2216