@blocklet/launcher-ux 2.6.28 → 2.6.29

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.
@@ -229,14 +229,13 @@ function Component({
229
229
  did,
230
230
  baseUrl: bundleSource?.store
231
231
  });
232
- } else {
232
+ } else if (blockletStoreURL) {
233
233
  blockletURL = getBlockletUrlOnStore({
234
234
  did,
235
235
  baseUrl: blockletStoreURL
236
236
  });
237
237
  }
238
238
  props = {
239
- component: 'a',
240
239
  href: blockletURL
241
240
  };
242
241
  }
@@ -247,12 +246,7 @@ function Component({
247
246
  borderRadius: '4px',
248
247
  px: 1,
249
248
  py: 0.5,
250
- minHeight: 44,
251
- cursor: 'pointer',
252
- '&:hover': {
253
- backgroundColor: 'action.hover',
254
- borderRadius: '4px'
255
- }
249
+ minHeight: 44
256
250
  },
257
251
  target: "_blank",
258
252
  ...props,
@@ -250,14 +250,13 @@ function Component(_ref3) {
250
250
  did,
251
251
  baseUrl: bundleSource === null || bundleSource === void 0 ? void 0 : bundleSource.store
252
252
  });
253
- } else {
253
+ } else if (blockletStoreURL) {
254
254
  blockletURL = (0, _util2.getBlockletUrlOnStore)({
255
255
  did,
256
256
  baseUrl: blockletStoreURL
257
257
  });
258
258
  }
259
259
  props = {
260
- component: 'a',
261
260
  href: blockletURL
262
261
  };
263
262
  }
@@ -268,12 +267,7 @@ function Component(_ref3) {
268
267
  borderRadius: '4px',
269
268
  px: 1,
270
269
  py: 0.5,
271
- minHeight: 44,
272
- cursor: 'pointer',
273
- '&:hover': {
274
- backgroundColor: 'action.hover',
275
- borderRadius: '4px'
276
- }
270
+ minHeight: 44
277
271
  },
278
272
  target: "_blank"
279
273
  }, props), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-ux",
3
- "version": "2.6.28",
3
+ "version": "2.6.29",
4
4
  "description": "Launcher UX lib",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@arcblock/ux": "^3.2.14",
57
- "@blocklet/launcher-util": "2.6.28",
57
+ "@blocklet/launcher-util": "2.6.29",
58
58
  "@blocklet/payment-react": "^1.23.2",
59
59
  "@emotion/styled": "^11.14.1",
60
60
  "@mui/icons-material": "^7.2.0",
@@ -93,5 +93,5 @@
93
93
  "require": "./lib/use-mobile/index.js"
94
94
  }
95
95
  },
96
- "gitHead": "f9de6cc4bed89b85af823127686e9a0f4442a1df"
96
+ "gitHead": "283d0404a611c58310e28032e39c912914a456e7"
97
97
  }