@easyv/react-components 0.3.4 → 0.3.5

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.
@@ -7,6 +7,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
7
7
  import { LinearColorPanel } from "../LinearColorPicker";
8
8
  import { PureColorPanel } from "../PureColorPicker";
9
9
  import { PuresColorPanel } from "../PuresColorPicker";
10
+ import { RangeColorPanel } from "../RangeColorPicker";
10
11
  import ColorTypeTabs from "./ColorTypeTab";
11
12
  import { jsx as _jsx } from "react/jsx-runtime";
12
13
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -64,6 +65,15 @@ export default function MixedPanel(_ref) {
64
65
  onChangeComplete: handleChangeComplete('linear')
65
66
  });
66
67
  }
68
+ case 'range':
69
+ {
70
+ return /*#__PURE__*/_jsx(RangeColorPanel, {
71
+ disabledAlpha: disabledAlpha,
72
+ value: value['range'],
73
+ onChange: handleChange('range'),
74
+ onChangeComplete: handleChangeComplete('range')
75
+ });
76
+ }
67
77
  default:
68
78
  {
69
79
  console.error('unknown color picker type');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/react-components",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "a react component library base on arco design",
5
5
  "license": "MIT",
6
6
  "sideEffects": [