@openfin/web-utils 0.40.63 → 0.41.1
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.
|
@@ -9,7 +9,6 @@ declare const mixin: (Base: typeof HTMLElement) => {
|
|
|
9
9
|
src: string | null;
|
|
10
10
|
providerId: string | null;
|
|
11
11
|
contextGroup: string | null;
|
|
12
|
-
allow: string | null;
|
|
13
12
|
accessKey: string;
|
|
14
13
|
readonly accessKeyLabel: string;
|
|
15
14
|
autocapitalize: string;
|
|
@@ -329,7 +328,6 @@ export type OfViewAttributes = {
|
|
|
329
328
|
'of-name': string;
|
|
330
329
|
'of-broker'?: string;
|
|
331
330
|
'forceFrameName'?: string;
|
|
332
|
-
'allow'?: string;
|
|
333
331
|
'src': string;
|
|
334
332
|
};
|
|
335
333
|
type OfViewElementConstructor = ReturnType<typeof mixin>;
|
|
@@ -10,9 +10,6 @@ const mixin = (Base) => class _OfViewElement extends Base {
|
|
|
10
10
|
if (!this.#iframe) {
|
|
11
11
|
this.#iframe = document.createElement('iframe');
|
|
12
12
|
this.#iframe.src = this.src;
|
|
13
|
-
if (this.allow) {
|
|
14
|
-
this.#iframe.allow = this.allow;
|
|
15
|
-
}
|
|
16
13
|
this.#iframe.style.height = '100%';
|
|
17
14
|
this.#iframe.style.width = '100%';
|
|
18
15
|
this.#iframe.style.border = 'none';
|
|
@@ -90,14 +87,6 @@ const mixin = (Base) => class _OfViewElement extends Base {
|
|
|
90
87
|
this.setAttribute('of-context-group', val);
|
|
91
88
|
}
|
|
92
89
|
}
|
|
93
|
-
get allow() {
|
|
94
|
-
return this.getAttribute('allow');
|
|
95
|
-
}
|
|
96
|
-
set allow(val) {
|
|
97
|
-
if (val) {
|
|
98
|
-
this.setAttribute('allow', val);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
90
|
static get observedAttributes() {
|
|
102
91
|
return ['name'];
|
|
103
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/web-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"watch": "npm run dev -- --watch",
|
|
25
25
|
"ci:prepublish": "of-npm prepublish",
|
|
26
26
|
"ci:postpublish": "of-npm postpublish",
|
|
27
|
-
"ci:publish": "npm publish"
|
|
28
|
-
"version:update": "of-npm version --bump patch '$MAJOR.$RMAJOR.$PATCH'"
|
|
27
|
+
"ci:publish": "npm publish"
|
|
29
28
|
},
|
|
30
29
|
"author": "",
|
|
31
30
|
"license": "SEE LICENSE IN LICENSE.md",
|