@apexcura/core 0.0.16-Beta56 → 0.0.16-Beta58
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +10 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -308,6 +308,14 @@ var ElementExecutor = (props) => {
|
|
|
308
308
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
309
309
|
}
|
|
310
310
|
);
|
|
311
|
+
case "otp":
|
|
312
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
313
|
+
import_ui_components.OtpElement,
|
|
314
|
+
{
|
|
315
|
+
...elementProps,
|
|
316
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
317
|
+
}
|
|
318
|
+
);
|
|
311
319
|
default:
|
|
312
320
|
return null;
|
|
313
321
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,8 @@ import {
|
|
|
23
23
|
DropDownGroup,
|
|
24
24
|
FileUpload,
|
|
25
25
|
TabsElement,
|
|
26
|
-
Upload
|
|
26
|
+
Upload,
|
|
27
|
+
OtpElement
|
|
27
28
|
} from "@apexcura/ui-components";
|
|
28
29
|
|
|
29
30
|
// src/services/http-service.tsx
|
|
@@ -296,6 +297,14 @@ var ElementExecutor = (props) => {
|
|
|
296
297
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
297
298
|
}
|
|
298
299
|
);
|
|
300
|
+
case "otp":
|
|
301
|
+
return /* @__PURE__ */ React.createElement(
|
|
302
|
+
OtpElement,
|
|
303
|
+
{
|
|
304
|
+
...elementProps,
|
|
305
|
+
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
306
|
+
}
|
|
307
|
+
);
|
|
299
308
|
default:
|
|
300
309
|
return null;
|
|
301
310
|
}
|
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-Beta58",
|
|
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-Beta60",
|
|
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",
|