@arcblock/ux 2.9.11 → 2.9.12
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/es/NFTDisplay/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function NFTDisplay({
|
|
|
145
145
|
return state.fallback ? state.fallback?.() : /*#__PURE__*/_jsx(ReactSVG, {
|
|
146
146
|
src: url,
|
|
147
147
|
beforeInjection: svg => {
|
|
148
|
-
svg.setAttribute('style', 'pointer-events: none');
|
|
148
|
+
svg.setAttribute('style', 'pointer-events: none; width: 100%; height: 100%;');
|
|
149
149
|
},
|
|
150
150
|
afterInjection: safeOnLoad,
|
|
151
151
|
onError: error => {
|
package/lib/NFTDisplay/index.js
CHANGED
|
@@ -163,7 +163,7 @@ function NFTDisplay(_ref) {
|
|
|
163
163
|
return state.fallback ? (_state$fallback = state.fallback) === null || _state$fallback === void 0 ? void 0 : _state$fallback.call(state) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSvg.ReactSVG, {
|
|
164
164
|
src: url,
|
|
165
165
|
beforeInjection: svg => {
|
|
166
|
-
svg.setAttribute('style', 'pointer-events: none');
|
|
166
|
+
svg.setAttribute('style', 'pointer-events: none; width: 100%; height: 100%;');
|
|
167
167
|
},
|
|
168
168
|
afterInjection: safeOnLoad,
|
|
169
169
|
onError: error => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/ux",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.12",
|
|
4
4
|
"description": "Common used react components for arcblock products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -340,11 +340,11 @@
|
|
|
340
340
|
"peerDependencies": {
|
|
341
341
|
"react": ">=18.1.0"
|
|
342
342
|
},
|
|
343
|
-
"gitHead": "
|
|
343
|
+
"gitHead": "9338ecd08b81f0ff693ef449d6e454ec5b0808ef",
|
|
344
344
|
"dependencies": {
|
|
345
345
|
"@arcblock/did-motif": "^1.1.13",
|
|
346
|
-
"@arcblock/icons": "^2.9.
|
|
347
|
-
"@arcblock/react-hooks": "^2.9.
|
|
346
|
+
"@arcblock/icons": "^2.9.12",
|
|
347
|
+
"@arcblock/react-hooks": "^2.9.12",
|
|
348
348
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
349
349
|
"@emotion/react": "^11.10.4",
|
|
350
350
|
"@emotion/styled": "^11.10.4",
|
package/src/NFTDisplay/index.js
CHANGED
|
@@ -142,7 +142,7 @@ function NFTDisplay({
|
|
|
142
142
|
<ReactSVG
|
|
143
143
|
src={url}
|
|
144
144
|
beforeInjection={(svg) => {
|
|
145
|
-
svg.setAttribute('style', 'pointer-events: none');
|
|
145
|
+
svg.setAttribute('style', 'pointer-events: none; width: 100%; height: 100%;');
|
|
146
146
|
}}
|
|
147
147
|
afterInjection={safeOnLoad}
|
|
148
148
|
onError={(error) => {
|