@oyat/editor 1.7.3 → 1.7.5
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/components/editor/editor-kit.d.ts +1 -605
- package/dist/components/editor/editor-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/block-placeholder-kit.d.ts +1 -14
- package/dist/components/editor/plugins/block-placeholder-kit.d.ts.map +1 -1
- package/dist/components/editor/plugins/emoji-kit.d.ts +6 -0
- package/dist/components/editor/plugins/emoji-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/exit-break-kit.d.ts +1 -4
- package/dist/components/editor/plugins/exit-break-kit.d.ts.map +1 -1
- package/dist/components/ui/block-context-menu.d.ts.map +1 -1
- package/dist/components/ui/block-suggestion.d.ts.map +1 -1
- package/dist/components/ui/emoji-node.d.ts +3 -0
- package/dist/components/ui/emoji-node.d.ts.map +1 -0
- package/dist/components/ui/mark-toolbar-button.d.ts.map +1 -1
- package/dist/components/ui/slash-node.d.ts.map +1 -1
- package/dist/components/ui/table-node.d.ts.map +1 -1
- package/dist/components/ui/turn-into-toolbar-button.d.ts +9 -2
- package/dist/components/ui/turn-into-toolbar-button.d.ts.map +1 -1
- package/dist/index.js +837 -827
- package/dist/index.js.map +1 -1
- package/package.json +22 -9
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export declare const ExitBreakKit:
|
|
2
|
-
insert: (options: Omit<import('platejs').InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
3
|
-
insertBefore: (options: Omit<import('platejs').InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
4
|
-
}>, {}>>[];
|
|
1
|
+
export declare const ExitBreakKit: any[];
|
|
5
2
|
//# sourceMappingURL=exit-break-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exit-break-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/exit-break-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"exit-break-kit.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/plugins/exit-break-kit.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,OAOxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-context-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"block-context-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,yTAqL3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-suggestion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAU/D,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,eAAe,EAKrB,MAAM,SAAS,CAAC;AAKjB,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"block-suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/block-suggestion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAU/D,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,eAAe,EAKrB,MAAM,SAAS,CAAC;AAKjB,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AAGpD,OAAO,EACL,KAAK,QAAQ,EAId,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAqCD,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,MAAM,EACN,UAAU,GACX,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAChC,2CAkLA;AAED,eAAO,MAAM,oBAAoB,GAC/B,iBAAiB,SAAS,CAAC,QAAQ,GAAG,eAAe,CAAC,EAAE,EACxD,WAAW,IAAI,yBA8NhB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,YAAY,kBAAkB,GAAG,WAAW,KAC3C,UAAU,IAAI,kBAAkD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/emoji-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAmBvD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,2CA+CzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mark-toolbar-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"mark-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mark-toolbar-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;CAC3B,2CA0BA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slash-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slash-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"slash-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slash-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAepE,OAAO,EAAE,KAAK,qBAAqB,EAAQ,MAAM,SAAS,CAAC;AA2G3D,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,iBAAiB,CAAC,qBAAqB,CAAC,2CAwChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"table-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqC/B,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EAGtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,iBAAiB,EAavB,MAAM,eAAe,CAAC;AAsCvB,eAAO,MAAM,YAAY,+GAqDxB,CAAC;AA2TF,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,2CAiDrC;AAuCD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAgHA;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,2CAGrD"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
|
|
2
|
-
export declare const turnIntoItems: {
|
|
2
|
+
export declare const turnIntoItems: ({
|
|
3
3
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
keywords: string[];
|
|
5
5
|
label: string;
|
|
6
6
|
value: string;
|
|
7
|
-
|
|
7
|
+
description?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
description: string;
|
|
10
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
keywords: string[];
|
|
12
|
+
label: string;
|
|
13
|
+
value: "callout";
|
|
14
|
+
})[];
|
|
8
15
|
export declare function TurnIntoToolbarButton(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
16
|
//# sourceMappingURL=turn-into-toolbar-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turn-into-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/turn-into-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"turn-into-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/turn-into-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAiCvE,eAAO,MAAM,aAAa;;;;;;;;;;;;IA8DzB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CA8D7D"}
|