@abtnode/ux 1.16.17-beta-7ec31a60 → 1.16.17-beta-8cacb9b3

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.
@@ -26,7 +26,7 @@ import Button from '@arcblock/ux/lib/Button';
26
26
  import Alert from '@arcblock/ux/lib/Alert';
27
27
  import AnimationWaiter from '@arcblock/ux/lib/AnimationWaiter';
28
28
  import ResultMessage from '@blocklet/launcher-layout/lib/launch-result-message';
29
- import { getDisplayName, isComponentBlocklet, isFreeBlocklet, getSharedConfigObj, hasStartEngine } from '@blocklet/meta/lib/util';
29
+ import { getDisplayName, isFreeBlocklet, getSharedConfigObj, hasStartEngine } from '@blocklet/meta/lib/util';
30
30
  import urlPathFriendly from '@blocklet/meta/lib/url-path-friendly';
31
31
  import Toast from '@arcblock/ux/lib/Toast';
32
32
  import { useNodeContext } from '../../contexts/node';
@@ -714,9 +714,6 @@ export default function AddComponent({
714
714
  extraFilter: allBlocklets => {
715
715
  // only use blocklets that are component
716
716
  return allBlocklets?.filter(x => {
717
- if (!isComponentBlocklet(x)) {
718
- return false;
719
- }
720
717
  if ((blocklet.children || []).some(y => y.meta.did === x.did)) {
721
718
  return false;
722
719
  }
@@ -724,9 +724,6 @@ function AddComponent(_ref2) {
724
724
  extraFilter: allBlocklets => {
725
725
  // only use blocklets that are component
726
726
  return allBlocklets === null || allBlocklets === void 0 ? void 0 : allBlocklets.filter(x => {
727
- if (!(0, _util.isComponentBlocklet)(x)) {
728
- return false;
729
- }
730
727
  if ((blocklet.children || []).some(y => y.meta.did === x.did)) {
731
728
  return false;
732
729
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.17-beta-7ec31a60",
3
+ "version": "1.16.17-beta-8cacb9b3",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,9 +27,9 @@
27
27
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/auth": "1.16.17-beta-7ec31a60",
31
- "@abtnode/constant": "1.16.17-beta-7ec31a60",
32
- "@abtnode/util": "1.16.17-beta-7ec31a60",
30
+ "@abtnode/auth": "1.16.17-beta-8cacb9b3",
31
+ "@abtnode/constant": "1.16.17-beta-8cacb9b3",
32
+ "@abtnode/util": "1.16.17-beta-8cacb9b3",
33
33
  "@ahooksjs/use-url-state": "^3.5.1",
34
34
  "@arcblock/did": "^1.18.91",
35
35
  "@arcblock/did-connect": "^2.7.24",
@@ -39,10 +39,10 @@
39
39
  "@arcblock/react-hooks": "^2.7.24",
40
40
  "@arcblock/terminal": "^2.7.24",
41
41
  "@arcblock/ux": "^2.7.24",
42
- "@blocklet/constant": "1.16.17-beta-7ec31a60",
42
+ "@blocklet/constant": "1.16.17-beta-8cacb9b3",
43
43
  "@blocklet/launcher-layout": "2.2.19",
44
44
  "@blocklet/list": "^0.12.43",
45
- "@blocklet/meta": "1.16.17-beta-7ec31a60",
45
+ "@blocklet/meta": "1.16.17-beta-8cacb9b3",
46
46
  "@blocklet/ui-react": "^2.7.24",
47
47
  "@blocklet/uploader": "^0.0.19",
48
48
  "@emotion/react": "^11.10.4",
@@ -100,7 +100,7 @@
100
100
  "babel-plugin-inline-react-svg": "^1.1.2",
101
101
  "glob": "^10.3.3"
102
102
  },
103
- "gitHead": "622bb131130d28c3fc554dcb5dc9d72b7da3fba2",
103
+ "gitHead": "0e3266f543b6d419a004ca94ee9efb572e3d9809",
104
104
  "exports": {
105
105
  ".": {
106
106
  "import": "./es/index.js",