@mochabug/adapt-react 1.0.1-rc.23 → 1.0.1-rc.26
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.
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import "@mochabug/adapt-web/core";
|
|
3
3
|
import { forwardRef, useLayoutEffect, useRef } from "react";
|
|
4
|
-
// Ensure custom element is registered
|
|
5
|
-
void AdaptAutomationElement;
|
|
6
4
|
/**
|
|
7
5
|
* React component for embedding Adapt automations.
|
|
8
6
|
* Renders `<adapt-automation>` custom element and syncs non-serializable properties via ref.
|
package/dist/esm/AdaptCap.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import "@mochabug/adapt-web/cap";
|
|
3
3
|
import { forwardRef, useLayoutEffect, useRef } from "react";
|
|
4
|
-
// Ensure custom element is registered
|
|
5
|
-
void AdaptCapElement;
|
|
6
4
|
/**
|
|
7
5
|
* React component for Cap.js proof-of-work challenges.
|
|
8
6
|
* Renders `<adapt-cap>` custom element and syncs non-serializable properties via ref.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AdaptAutomationElement,
|
|
1
|
+
import type { AdaptAutomationElement, AdaptError, AdaptTheme, AdaptWebClientOptions, ForkDisplay, Output, PersistOptions, SignalValue, StatusJson, StatusText } from "@mochabug/adapt-web/core";
|
|
2
|
+
import "@mochabug/adapt-web/core";
|
|
2
3
|
declare module "react" {
|
|
3
4
|
namespace JSX {
|
|
4
5
|
interface IntrinsicElements {
|
package/dist/types/AdaptCap.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AutomationClient } from "@mochabug/adapt-core";
|
|
2
|
-
import { AdaptCapElement,
|
|
2
|
+
import type { AdaptCapElement, CapWidgetI18n } from "@mochabug/adapt-web/cap";
|
|
3
|
+
import "@mochabug/adapt-web/cap";
|
|
3
4
|
declare module "react" {
|
|
4
5
|
namespace JSX {
|
|
5
6
|
interface IntrinsicElements {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adapt-react",
|
|
3
|
-
"version": "1.0.1-rc.
|
|
3
|
+
"version": "1.0.1-rc.26",
|
|
4
4
|
"description": "React component for Adapt automation platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/esm/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "^19.2.14",
|
|
44
44
|
"react": "^19.2.4",
|
|
45
|
-
"typescript": "^
|
|
45
|
+
"typescript": "^6.0.2"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@mochabug/adapt-web": "^1.0.1-rc.
|
|
48
|
+
"@mochabug/adapt-web": "^1.0.1-rc.26"
|
|
49
49
|
}
|
|
50
50
|
}
|