@yoopta/headings 4.8.2 → 4.8.3

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/dist/index.d.ts CHANGED
@@ -9,27 +9,9 @@ declare module 'slate' {
9
9
  }
10
10
  }
11
11
  declare const Headings: {
12
- HeadingOne: import("@yoopta/editor").YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
13
- display: {
14
- title: string;
15
- description: string;
16
- };
17
- shortcuts: string[];
18
- }>;
19
- HeadingTwo: import("@yoopta/editor").YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
20
- display: {
21
- title: string;
22
- description: string;
23
- };
24
- shortcuts: string[];
25
- }>;
26
- HeadingThree: import("@yoopta/editor").YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
27
- display: {
28
- title: string;
29
- description: string;
30
- };
31
- shortcuts: string[];
32
- }>;
12
+ HeadingOne: import("@yoopta/editor").YooptaPlugin<Record<"heading-one", HeadingOneElement>, Record<string, unknown>>;
13
+ HeadingTwo: import("@yoopta/editor").YooptaPlugin<Record<"heading-two", HeadingTwoElement>, Record<string, unknown>>;
14
+ HeadingThree: import("@yoopta/editor").YooptaPlugin<Record<"heading-three", HeadingThreeElement>, Record<string, unknown>>;
33
15
  };
34
16
  export { HeadingOneCommands, HeadingTwoCommands, HeadingThreeCommands } from './commands';
35
17
  export default Headings;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACpF,OAAO,cAAc,CAAC;AAEtB,OAAO,QAAQ,OAAO,CAAC;IACrB,UAAU,WAAW;QACnB,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;KACtE;CACF;AAED,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;CAIb,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE1F,eAAe,QAAQ,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACpF,OAAO,cAAc,CAAC;AAEtB,OAAO,QAAQ,OAAO,CAAC;IACrB,UAAU,WAAW;QACnB,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;KACtE;CACF;AAED,QAAA,MAAM,QAAQ;;;;CAIb,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE1F,eAAe,QAAQ,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import { YooptaPlugin } from '@yoopta/editor';
2
- declare const HeadingOne: YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
3
- display: {
4
- title: string;
5
- description: string;
6
- };
7
- shortcuts: string[];
8
- }>;
2
+ import { HeadingOneElement } from '../types';
3
+ declare const HeadingOne: YooptaPlugin<Record<"heading-one", HeadingOneElement>, Record<string, unknown>>;
9
4
  export { HeadingOne };
10
5
  //# sourceMappingURL=HeadingOne.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeadingOne.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingOne.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA4D,MAAM,gBAAgB,CAAC;AAkBxG,QAAA,MAAM,UAAU;;;;;;EAmCd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"HeadingOne.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingOne.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA4D,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAiB7C,QAAA,MAAM,UAAU,iFAmCd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import { YooptaPlugin } from '@yoopta/editor';
2
- declare const HeadingThree: YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
3
- display: {
4
- title: string;
5
- description: string;
6
- };
7
- shortcuts: string[];
8
- }>;
2
+ import { HeadingThreeElement } from '../types';
3
+ declare const HeadingThree: YooptaPlugin<Record<"heading-three", HeadingThreeElement>, Record<string, unknown>>;
9
4
  export { HeadingThree };
10
5
  //# sourceMappingURL=HeadingThree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeadingThree.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingThree.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAwBxG,QAAA,MAAM,YAAY;;;;;;EAmChB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"HeadingThree.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingThree.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAuB/C,QAAA,MAAM,YAAY,qFAmChB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,10 +1,5 @@
1
1
  import { YooptaPlugin } from '@yoopta/editor';
2
- declare const HeadingTwo: YooptaPlugin<Record<string, import("@yoopta/editor").SlateElement<string, any>>, {
3
- display: {
4
- title: string;
5
- description: string;
6
- };
7
- shortcuts: string[];
8
- }>;
2
+ import { HeadingTwoElement } from '../types';
3
+ declare const HeadingTwo: YooptaPlugin<Record<"heading-two", HeadingTwoElement>, Record<string, unknown>>;
9
4
  export { HeadingTwo };
10
5
  //# sourceMappingURL=HeadingTwo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeadingTwo.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingTwo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAkBxG,QAAA,MAAM,UAAU;;;;;;EAmCd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"HeadingTwo.d.ts","sourceRoot":"","sources":["../../src/plugin/HeadingTwo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAExG,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAiB7C,QAAA,MAAM,UAAU,iFAmCd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoopta/headings",
3
- "version": "4.8.2",
3
+ "version": "4.8.3",
4
4
  "description": "Headings plugin for Yoopta Editor",
5
5
  "author": "Darginec05 <devopsbanda@gmail.com>",
6
6
  "homepage": "https://github.com/Darginec05/Editor-Yoopta#readme",
@@ -39,5 +39,5 @@
39
39
  "bugs": {
40
40
  "url": "https://github.com/Darginec05/Editor-Yoopta/issues"
41
41
  },
42
- "gitHead": "130161a4859888b173c897741be1953e3de99d8e"
42
+ "gitHead": "e117efde935e4eb4dae924c35bcfb307c8bf1412"
43
43
  }