@apexcura/core 0.0.18-Beta → 0.0.18-Beta10
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.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +10 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -27,6 +27,9 @@ type FormExecutorProps = {
|
|
|
27
27
|
placement?: string;
|
|
28
28
|
profileImageClassName?: string;
|
|
29
29
|
value?: string | number | boolean | any[] | null | object;
|
|
30
|
+
message?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
30
33
|
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
31
34
|
weekrange?: boolean;
|
|
32
35
|
img?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ type FormExecutorProps = {
|
|
|
27
27
|
placement?: string;
|
|
28
28
|
profileImageClassName?: string;
|
|
29
29
|
value?: string | number | boolean | any[] | null | object;
|
|
30
|
+
message?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
30
33
|
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
31
34
|
weekrange?: boolean;
|
|
32
35
|
img?: string;
|
package/dist/index.js
CHANGED
|
@@ -379,6 +379,14 @@ var ElementExecutor = (props) => {
|
|
|
379
379
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
380
380
|
}
|
|
381
381
|
);
|
|
382
|
+
case "alert":
|
|
383
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
384
|
+
import_ui_components.NotificationAlert,
|
|
385
|
+
{
|
|
386
|
+
...elementProps,
|
|
387
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
388
|
+
}
|
|
389
|
+
);
|
|
382
390
|
default:
|
|
383
391
|
return null;
|
|
384
392
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -32,7 +32,8 @@ import {
|
|
|
32
32
|
LineChart,
|
|
33
33
|
BarChart,
|
|
34
34
|
DivContainer,
|
|
35
|
-
ColorPickerElement
|
|
35
|
+
ColorPickerElement,
|
|
36
|
+
NotificationAlert
|
|
36
37
|
} from "@apexcura/ui-components";
|
|
37
38
|
import moment from "moment";
|
|
38
39
|
|
|
@@ -376,6 +377,14 @@ var ElementExecutor = (props) => {
|
|
|
376
377
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
377
378
|
}
|
|
378
379
|
);
|
|
380
|
+
case "alert":
|
|
381
|
+
return /* @__PURE__ */ React.createElement(
|
|
382
|
+
NotificationAlert,
|
|
383
|
+
{
|
|
384
|
+
...elementProps,
|
|
385
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
386
|
+
}
|
|
387
|
+
);
|
|
379
388
|
default:
|
|
380
389
|
return null;
|
|
381
390
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.18-
|
|
3
|
+
"version": "0.0.18-Beta10",
|
|
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.16-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.16-Beta11",
|
|
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",
|