@apexcura/core 0.0.16-Beta310 → 0.0.16-Beta312
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/index.js +8 -0
- package/dist/index.mjs +10 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -371,6 +371,14 @@ var ElementExecutor = (props) => {
|
|
|
371
371
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
372
372
|
}
|
|
373
373
|
);
|
|
374
|
+
case "color-picker":
|
|
375
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
376
|
+
import_ui_components.ColorPickerElement,
|
|
377
|
+
{
|
|
378
|
+
...elementProps,
|
|
379
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
380
|
+
}
|
|
381
|
+
);
|
|
374
382
|
default:
|
|
375
383
|
return null;
|
|
376
384
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -31,7 +31,8 @@ import {
|
|
|
31
31
|
DoubleBarChart,
|
|
32
32
|
LineChart,
|
|
33
33
|
BarChart,
|
|
34
|
-
DivContainer
|
|
34
|
+
DivContainer,
|
|
35
|
+
ColorPickerElement
|
|
35
36
|
} from "@apexcura/ui-components";
|
|
36
37
|
import moment from "moment";
|
|
37
38
|
|
|
@@ -367,6 +368,14 @@ var ElementExecutor = (props) => {
|
|
|
367
368
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
368
369
|
}
|
|
369
370
|
);
|
|
371
|
+
case "color-picker":
|
|
372
|
+
return /* @__PURE__ */ React.createElement(
|
|
373
|
+
ColorPickerElement,
|
|
374
|
+
{
|
|
375
|
+
...elementProps,
|
|
376
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
377
|
+
}
|
|
378
|
+
);
|
|
370
379
|
default:
|
|
371
380
|
return null;
|
|
372
381
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.16-
|
|
3
|
+
"version": "0.0.16-Beta312",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"build": "tsup"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@apexcura/ui-components": "^0.0.14-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.14-Beta298",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.2",
|
|
33
33
|
"@testing-library/react": "^15.0.6",
|
|
34
34
|
"@types/react-global-configuration": "^1.3.3",
|