@floegence/redevplugin-ui 0.6.10 → 0.6.14
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/contracts.gen.d.ts +9 -9
- package/dist/contracts.gen.js +9 -9
- package/dist/openapi.gen.d.ts +2 -2
- package/dist/surface.js +10 -7
- package/package.json +2 -2
package/dist/contracts.gen.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export declare const redevPluginContractVersions: {
|
|
|
42
42
|
readonly host_capability_signature_schema_version: "host-capability-signature-v1";
|
|
43
43
|
readonly host_capability_notices_schema_version: "host-capability-notices-v1";
|
|
44
44
|
readonly error_codes_schema_version: "error-codes-v6";
|
|
45
|
-
readonly performance_contract_version: "performance-contract-
|
|
46
|
-
readonly performance_evidence_schema_version: "performance-evidence-
|
|
45
|
+
readonly performance_contract_version: "performance-contract-v4";
|
|
46
|
+
readonly performance_evidence_schema_version: "performance-evidence-v4";
|
|
47
47
|
readonly contract_registry_version: "contract-registry-v2";
|
|
48
48
|
readonly platform_package_set_schema_version: "platform-package-set-v1";
|
|
49
49
|
readonly platform_package_publication_schema_version: "platform-package-publication-v1";
|
|
@@ -66,7 +66,7 @@ export declare const redevPluginContractArtifacts: readonly [{
|
|
|
66
66
|
readonly id: "compatibility-manifest-schema";
|
|
67
67
|
readonly path: "spec/plugin/compatibility-manifest-v8.schema.json";
|
|
68
68
|
readonly version: "compatibility-manifest-v8";
|
|
69
|
-
readonly sha256: "
|
|
69
|
+
readonly sha256: "fe966f66e23a6d7558156608f269d08fbe57d8bca16514f1d095445cea697189";
|
|
70
70
|
}, {
|
|
71
71
|
readonly id: "contract-registry-schema";
|
|
72
72
|
readonly path: "spec/plugin/contract-registry-v2.schema.json";
|
|
@@ -154,14 +154,14 @@ export declare const redevPluginContractArtifacts: readonly [{
|
|
|
154
154
|
readonly sha256: "13951c0f6831ba28647774368c76a817868aeb7984628e2cf3dc4ad1b54f8284";
|
|
155
155
|
}, {
|
|
156
156
|
readonly id: "performance-contract";
|
|
157
|
-
readonly path: "spec/plugin/performance-contract-
|
|
158
|
-
readonly version: "performance-contract-
|
|
159
|
-
readonly sha256: "
|
|
157
|
+
readonly path: "spec/plugin/performance-contract-v4.json";
|
|
158
|
+
readonly version: "performance-contract-v4";
|
|
159
|
+
readonly sha256: "aedc50ed8899346140965dc46e8adf2048c47bcf6c146c3b7a51646eda7725e1";
|
|
160
160
|
}, {
|
|
161
161
|
readonly id: "performance-evidence-schema";
|
|
162
|
-
readonly path: "spec/plugin/performance-evidence-
|
|
163
|
-
readonly version: "performance-evidence-
|
|
164
|
-
readonly sha256: "
|
|
162
|
+
readonly path: "spec/plugin/performance-evidence-v4.schema.json";
|
|
163
|
+
readonly version: "performance-evidence-v4";
|
|
164
|
+
readonly sha256: "f51ba9d425f0e40bc4f2db7ed26454e7575b14ffb6937a06dc01b8e7a66b3f61";
|
|
165
165
|
}, {
|
|
166
166
|
readonly id: "platform-package-publication-schema";
|
|
167
167
|
readonly path: "spec/plugin/platform-package-publication-v1.schema.json";
|
package/dist/contracts.gen.js
CHANGED
|
@@ -43,8 +43,8 @@ export const redevPluginContractVersions = {
|
|
|
43
43
|
"host_capability_signature_schema_version": "host-capability-signature-v1",
|
|
44
44
|
"host_capability_notices_schema_version": "host-capability-notices-v1",
|
|
45
45
|
"error_codes_schema_version": "error-codes-v6",
|
|
46
|
-
"performance_contract_version": "performance-contract-
|
|
47
|
-
"performance_evidence_schema_version": "performance-evidence-
|
|
46
|
+
"performance_contract_version": "performance-contract-v4",
|
|
47
|
+
"performance_evidence_schema_version": "performance-evidence-v4",
|
|
48
48
|
"contract_registry_version": "contract-registry-v2",
|
|
49
49
|
"platform_package_set_schema_version": "platform-package-set-v1",
|
|
50
50
|
"platform_package_publication_schema_version": "platform-package-publication-v1",
|
|
@@ -62,7 +62,7 @@ export const redevPluginContractArtifacts = [
|
|
|
62
62
|
id: "compatibility-manifest-schema",
|
|
63
63
|
path: "spec/plugin/compatibility-manifest-v8.schema.json",
|
|
64
64
|
version: "compatibility-manifest-v8",
|
|
65
|
-
sha256: "
|
|
65
|
+
sha256: "fe966f66e23a6d7558156608f269d08fbe57d8bca16514f1d095445cea697189",
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
id: "contract-registry-schema",
|
|
@@ -168,15 +168,15 @@ export const redevPluginContractArtifacts = [
|
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
id: "performance-contract",
|
|
171
|
-
path: "spec/plugin/performance-contract-
|
|
172
|
-
version: "performance-contract-
|
|
173
|
-
sha256: "
|
|
171
|
+
path: "spec/plugin/performance-contract-v4.json",
|
|
172
|
+
version: "performance-contract-v4",
|
|
173
|
+
sha256: "aedc50ed8899346140965dc46e8adf2048c47bcf6c146c3b7a51646eda7725e1",
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
id: "performance-evidence-schema",
|
|
177
|
-
path: "spec/plugin/performance-evidence-
|
|
178
|
-
version: "performance-evidence-
|
|
179
|
-
sha256: "
|
|
177
|
+
path: "spec/plugin/performance-evidence-v4.schema.json",
|
|
178
|
+
version: "performance-evidence-v4",
|
|
179
|
+
sha256: "f51ba9d425f0e40bc4f2db7ed26454e7575b14ffb6937a06dc01b8e7a66b3f61",
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
id: "platform-package-publication-schema",
|
package/dist/openapi.gen.d.ts
CHANGED
|
@@ -2772,9 +2772,9 @@ export interface components {
|
|
|
2772
2772
|
/** @constant */
|
|
2773
2773
|
error_codes_schema_version: "error-codes-v6";
|
|
2774
2774
|
/** @constant */
|
|
2775
|
-
performance_contract_version: "performance-contract-
|
|
2775
|
+
performance_contract_version: "performance-contract-v4";
|
|
2776
2776
|
/** @constant */
|
|
2777
|
-
performance_evidence_schema_version: "performance-evidence-
|
|
2777
|
+
performance_evidence_schema_version: "performance-evidence-v4";
|
|
2778
2778
|
/** @constant */
|
|
2779
2779
|
contract_registry_version: "contract-registry-v2";
|
|
2780
2780
|
/** @constant */
|
package/dist/surface.js
CHANGED
|
@@ -3521,7 +3521,7 @@ export class PluginSurfaceSlot {
|
|
|
3521
3521
|
});
|
|
3522
3522
|
this.#adoptOpening(lease);
|
|
3523
3523
|
this.#opening = host;
|
|
3524
|
-
|
|
3524
|
+
setSurfacePresentation(host.element, "opening");
|
|
3525
3525
|
this.element.append(host.element);
|
|
3526
3526
|
try {
|
|
3527
3527
|
await this.#openHostUntilCancelled(host, controller, lease);
|
|
@@ -3532,7 +3532,7 @@ export class PluginSurfaceSlot {
|
|
|
3532
3532
|
}
|
|
3533
3533
|
this.#opening = undefined;
|
|
3534
3534
|
this.#active = host;
|
|
3535
|
-
|
|
3535
|
+
setSurfacePresentation(host.element, "ready");
|
|
3536
3536
|
this.#setState("ready");
|
|
3537
3537
|
return host;
|
|
3538
3538
|
}
|
|
@@ -3602,7 +3602,7 @@ export class PluginSurfaceSlot {
|
|
|
3602
3602
|
if (existing)
|
|
3603
3603
|
return existing;
|
|
3604
3604
|
this.#pendingRetirements.add(host);
|
|
3605
|
-
|
|
3605
|
+
setSurfacePresentation(host.element, "retiring");
|
|
3606
3606
|
const closing = Promise.resolve().then(async () => {
|
|
3607
3607
|
try {
|
|
3608
3608
|
const result = await host.close();
|
|
@@ -3706,10 +3706,13 @@ export class PluginSurfaceSlot {
|
|
|
3706
3706
|
throw new PluginBridgeError("PLUGIN_BRIDGE_DISPOSED", "Plugin surface slot is disposed");
|
|
3707
3707
|
}
|
|
3708
3708
|
}
|
|
3709
|
-
function
|
|
3710
|
-
|
|
3711
|
-
element.
|
|
3712
|
-
element.
|
|
3709
|
+
function setSurfacePresentation(element, state) {
|
|
3710
|
+
const ready = state === "ready";
|
|
3711
|
+
element.hidden = state === "retiring";
|
|
3712
|
+
element.inert = !ready;
|
|
3713
|
+
element.setAttribute("aria-hidden", ready ? "false" : "true");
|
|
3714
|
+
element.style.visibility = state === "opening" ? "hidden" : "";
|
|
3715
|
+
element.style.pointerEvents = ready ? "" : "none";
|
|
3713
3716
|
}
|
|
3714
3717
|
function isSurfaceInteractionMessage(value) {
|
|
3715
3718
|
if (!hasExactKeys(value, [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floegence/redevplugin-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@floegence/redevplugin-contracts": "0.6.
|
|
35
|
+
"@floegence/redevplugin-contracts": "0.6.14"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|