@dreamcommerce/aurora 2.20.3-6 → 2.20.3-7

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.
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
 
14
- var ColorPickerNewWithContext = /*#__PURE__*/React__default['default'].memo(function (_ref) {
14
+ var ColorPickerNewWithContext = function ColorPickerNewWithContext(_ref) {
15
15
  var id = _ref.id,
16
16
  name = _ref.name,
17
17
  initialColor = _ref.initialColor,
@@ -66,13 +66,7 @@ var ColorPickerNewWithContext = /*#__PURE__*/React__default['default'].memo(func
66
66
  name: name,
67
67
  colorVariables: colorVariables
68
68
  }));
69
- }, function (prevProps, nextProps) {
70
- if (prevProps.initialColor === nextProps.initialColor) {
71
- return true;
72
- }
73
-
74
- return false;
75
- });
69
+ };
76
70
 
77
71
  exports.default = ColorPickerNewWithContext;
78
72
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { IColorPickerNewProps } from './types';
3
- declare const ColorPickerNewWithContext: React.MemoExoticComponent<({ id, name, initialColor, colorVariables, onChange, onCancel, onSave }: IColorPickerNewProps) => JSX.Element>;
2
+ declare const ColorPickerNewWithContext: ({ id, name, initialColor, colorVariables, onChange, onCancel, onSave }: IColorPickerNewProps) => JSX.Element;
4
3
  export default ColorPickerNewWithContext;
@@ -3,7 +3,7 @@ import { ColorPickerNewContext } from './context.js';
3
3
  import ColorPickerNewPure from './components/pure_color_picker.js';
4
4
  import useColorPicker from './hooks/use_color_picker.js';
5
5
 
6
- var ColorPickerNewWithContext = /*#__PURE__*/React.memo(function (_ref) {
6
+ var ColorPickerNewWithContext = function ColorPickerNewWithContext(_ref) {
7
7
  var id = _ref.id,
8
8
  name = _ref.name,
9
9
  initialColor = _ref.initialColor,
@@ -58,13 +58,7 @@ var ColorPickerNewWithContext = /*#__PURE__*/React.memo(function (_ref) {
58
58
  name: name,
59
59
  colorVariables: colorVariables
60
60
  }));
61
- }, function (prevProps, nextProps) {
62
- if (prevProps.initialColor === nextProps.initialColor) {
63
- return true;
64
- }
65
-
66
- return false;
67
- });
61
+ };
68
62
 
69
63
  export default ColorPickerNewWithContext;
70
64
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "2.20.3-6",
5
+ "version": "2.20.3-7",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",