@yoopta/code 4.7.0 → 4.7.1-rc.0

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.
@@ -1,5 +1,5 @@
1
1
  import { YooptaPlugin } from '@yoopta/editor';
2
- import { CodeElementProps, CodePluginBlockOptions } from '../types';
3
- declare const Code: YooptaPlugin<"code", CodeElementProps, CodePluginBlockOptions>;
2
+ import { CodeElementMap, CodePluginBlockOptions } from '../types';
3
+ declare const Code: YooptaPlugin<CodeElementMap, CodePluginBlockOptions>;
4
4
  export { Code };
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAsB,MAAM,UAAU,CAAC;AASxF,QAAA,MAAM,IAAI,gEA6DR,CAAC;AAWH,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAoB,sBAAsB,EAAsB,MAAM,UAAU,CAAC;AASxG,QAAA,MAAM,IAAI,sDA8DR,CAAC;AAWH,OAAO,EAAE,IAAI,EAAE,CAAC"}
package/dist/types.d.ts CHANGED
@@ -8,4 +8,7 @@ export type CodeElementProps = {
8
8
  };
9
9
  export type CodePluginBlockOptions = {};
10
10
  export type CodeElement = SlateElement<'code', CodeElementProps>;
11
+ export type CodeElementMap = {
12
+ code: CodeElement;
13
+ };
11
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AACxC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,EAGpC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AACxC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,OAAO,aAAa,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,OAAO,UAAU,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,EAGpC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoopta/code",
3
- "version": "4.7.0",
3
+ "version": "4.7.1-rc.0",
4
4
  "description": "Code plugin with syntax highlighting for Yoopta Editor",
5
5
  "author": "Darginec05 <devopsbanda@gmail.com>",
6
6
  "homepage": "https://github.com/Darginec05/Editor-Yoopta#readme",
@@ -69,5 +69,5 @@
69
69
  "devDependencies": {
70
70
  "check-peer-dependencies": "^4.3.0"
71
71
  },
72
- "gitHead": "4addd117eaf75c456f2e050f84a806945d1f2722"
72
+ "gitHead": "63bfe2afb5f9d7b3a8c49584d0ac8bdc5b2dcf1f"
73
73
  }