@micromag/element-webview 0.4.4 → 0.4.6
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/assets/css/styles.css +1 -1
- package/es/index.js +1 -1
- package/es/styles.css +1 -1
- package/package.json +5 -5
package/assets/css/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.container{height:100%;position:relative;width:100%}.container .iframe{display:block;height:100%;width:100%}.container .top{display:-ms-flexbox;display:flex;left:0;position:absolute;right:0;top:0;width:100%;-ms-flex-pack:end;justify-content:flex-end;padding:5px}.container .
|
|
1
|
+
.micromag-element-webview-container{height:100%;position:relative;width:100%}.micromag-element-webview-container .micromag-element-webview-iframe{display:block;height:100%;width:100%}.micromag-element-webview-container .micromag-element-webview-top{display:-ms-flexbox;display:flex;left:0;position:absolute;right:0;top:0;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:5px}.micromag-element-webview-container .micromag-element-webview-close{display:inline-block;display:-ms-flexbox;display:flex;height:32px;position:relative;width:32px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;color:#222;cursor:pointer;-webkit-filter:invert(100%);filter:invert(100%);font-family:inherit;justify-content:center;padding:0}.micromag-element-webview-container .micromag-element-webview-icon{line-height:1;margin:0;padding:0;width:1em}
|
package/es/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useIntl } from 'react-intl';
|
|
|
5
5
|
import { Close } from '@micromag/core/components';
|
|
6
6
|
import Button from '@micromag/element-button';
|
|
7
7
|
|
|
8
|
-
var styles = {"container":"container","iframe":"iframe","top":"top","close":"close"};
|
|
8
|
+
var styles = {"container":"micromag-element-webview-container","iframe":"micromag-element-webview-iframe","top":"micromag-element-webview-top","close":"micromag-element-webview-close"};
|
|
9
9
|
|
|
10
10
|
function WebView(_ref) {
|
|
11
11
|
var _ref$url = _ref.url,
|
package/es/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.container{height:100%;position:relative;width:100%}.container .iframe{display:block;height:100%;width:100%}.container .top{display:-ms-flexbox;display:flex;left:0;position:absolute;right:0;top:0;width:100%;-ms-flex-pack:end;justify-content:flex-end;padding:5px}.container .
|
|
1
|
+
.micromag-element-webview-container{height:100%;position:relative;width:100%}.micromag-element-webview-container .micromag-element-webview-iframe{display:block;height:100%;width:100%}.micromag-element-webview-container .micromag-element-webview-top{display:-ms-flexbox;display:flex;left:0;position:absolute;right:0;top:0;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:5px}.micromag-element-webview-container .micromag-element-webview-close{display:inline-block;display:-ms-flexbox;display:flex;height:32px;position:relative;width:32px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;color:#222;cursor:pointer;-webkit-filter:invert(100%);filter:invert(100%);font-family:inherit;justify-content:center;padding:0}.micromag-element-webview-container .micromag-element-webview-icon{line-height:1;margin:0;padding:0;width:1em}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-webview",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@babel/runtime": "^7.
|
|
63
|
-
"@micromag/core": "^0.4.
|
|
64
|
-
"@micromag/element-button": "^0.4.
|
|
62
|
+
"@babel/runtime": "^7.28.6",
|
|
63
|
+
"@micromag/core": "^0.4.6",
|
|
64
|
+
"@micromag/element-button": "^0.4.6",
|
|
65
65
|
"classnames": "^2.2.6",
|
|
66
66
|
"lodash": "^4.17.23",
|
|
67
67
|
"react-intl": "^8.1.3",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
"access": "public",
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "cf8440c2851b864167a1f545aa56551d55473263",
|
|
75
75
|
"types": "es/index.d.ts"
|
|
76
76
|
}
|