@burger-editor/blocks 4.0.0-alpha.7 → 4.0.0-alpha.70

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.
Files changed (4) hide show
  1. package/README.md +77 -57
  2. package/dist/index.js +1167 -417
  3. package/package.json +13 -9
  4. package/types.d.ts +3 -2
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@burger-editor/blocks",
3
- "version": "4.0.0-alpha.7",
3
+ "version": "4.0.0-alpha.70",
4
4
  "description": "BurgerEditor Blocks",
5
5
  "author": "D-ZERO",
6
6
  "license": "(MIT OR Apache-2.0)",
7
7
  "repository": {
8
- "url": "https://github.com/d-zero-dev/BurgerEditor.git"
8
+ "type": "git",
9
+ "url": "https://github.com/d-zero-dev/BurgerEditor.git",
10
+ "directory": "packages/@burger-editor/blocks"
9
11
  },
10
12
  "publishConfig": {
11
13
  "access": "public"
@@ -22,20 +24,22 @@
22
24
  "types.d.ts"
23
25
  ],
24
26
  "scripts": {
25
- "build": "rollup -c",
26
- "prebuild": "tsc",
27
+ "build": "npx run-p build:check build:build",
28
+ "build:build": "rollup -c",
29
+ "build:check": "npx tsc",
27
30
  "dev": "rollup -c -w"
28
31
  },
29
32
  "dependencies": {
30
- "@burger-editor/core": "4.0.0-alpha.7",
31
- "@burger-editor/utils": "4.0.0-alpha.7",
32
- "trix": "2.1.15"
33
+ "@burger-editor/core": "4.0.0-alpha.70",
34
+ "@burger-editor/utils": "4.0.0-alpha.70",
35
+ "@d-zero/shared": "0.21.1"
33
36
  },
34
37
  "devDependencies": {
38
+ "@burger-editor/custom-element": "4.0.0-alpha.70",
35
39
  "@types/google.maps": "3.58.1",
36
- "rollup": "4.44.1",
40
+ "rollup": "4.59.0",
37
41
  "rollup-plugin-esbuild": "6.2.1",
38
42
  "rollup-plugin-string": "3.0.0"
39
43
  },
40
- "gitHead": "724c366f9b97f94128ef808caf77b0339791aa42"
44
+ "gitHead": "522c1c4116ee40a4d3a462010101d1efc97c3c7d"
41
45
  }
package/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import type { BlockTemplate, ItemSeed } from '@burger-editor/core';
1
+ import type { BlockCatalog, ItemSeed } from '@burger-editor/core';
2
2
 
3
- declare const blocks: Record<string, BlockTemplate>;
3
+ declare const defaultCatalog: BlockCatalog;
4
+ declare const legacyCatalog: BlockCatalog;
4
5
  declare const items: Record<string, ItemSeed>;
5
6
 
6
7
  declare const generalCSS: string;