@tiptap/extension-placeholder 3.30.2 → 3.30.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.cjs CHANGED
@@ -1,34 +1,17 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- Placeholder: () => import_extensions2.Placeholder,
24
- default: () => index_default
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
25
4
  });
26
- module.exports = __toCommonJS(index_exports);
27
- var import_extensions = require("@tiptap/extensions");
28
- var import_extensions2 = require("@tiptap/extensions");
29
- var index_default = import_extensions.Placeholder;
30
- // Annotate the CommonJS export names for ESM import in node:
31
- 0 && (module.exports = {
32
- Placeholder
5
+ let _tiptap_extensions = require("@tiptap/extensions");
6
+ //#region src/index.ts
7
+ var src_default = _tiptap_extensions.Placeholder;
8
+ //#endregion
9
+ Object.defineProperty(exports, "Placeholder", {
10
+ enumerable: true,
11
+ get: function() {
12
+ return _tiptap_extensions.Placeholder;
13
+ }
33
14
  });
15
+ exports.default = src_default;
16
+
34
17
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA4B;AAG5B,IAAAA,qBAA4B;AAE5B,IAAO,gBAAQ;","names":["import_extensions"]}
1
+ {"version":3,"file":"index.cjs","names":["Placeholder"],"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";;;;;;AAKA,IAAA,cAAeA,mBAAAA"}
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { Placeholder } from '@tiptap/extensions';
2
- export { Placeholder, PlaceholderOptions, Placeholder as default } from '@tiptap/extensions';
1
+ import { Placeholder, Placeholder as Placeholder$1, PlaceholderOptions } from "@tiptap/extensions";
2
+ export { Placeholder, type PlaceholderOptions, Placeholder$1 as default };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Placeholder } from '@tiptap/extensions';
2
- export { Placeholder, PlaceholderOptions, Placeholder as default } from '@tiptap/extensions';
1
+ import { Placeholder, Placeholder as Placeholder$1, PlaceholderOptions } from "@tiptap/extensions";
2
+ export { Placeholder, type PlaceholderOptions, Placeholder$1 as default };
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
- // src/index.ts
2
- import { Placeholder } from "@tiptap/extensions";
3
- import { Placeholder as Placeholder2 } from "@tiptap/extensions";
4
- var index_default = Placeholder;
5
- export {
6
- Placeholder2 as Placeholder,
7
- index_default as default
8
- };
1
+ import { Placeholder, Placeholder as Placeholder$1 } from "@tiptap/extensions";
2
+ //#region src/index.ts
3
+ var src_default = Placeholder$1;
4
+ //#endregion
5
+ export { Placeholder, src_default as default };
6
+
9
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";AAAA,SAAS,mBAAmB;AAG5B,SAAS,eAAAA,oBAAmB;AAE5B,IAAO,gBAAQ;","names":["Placeholder"]}
1
+ {"version":3,"file":"index.js","names":["Placeholder"],"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";;AAKA,IAAA,cAAeA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiptap/extension-placeholder",
3
- "version": "3.30.2",
3
+ "version": "3.30.3",
4
4
  "description": "placeholder extension for tiptap",
5
5
  "keywords": [
6
6
  "tiptap",
@@ -39,12 +39,12 @@
39
39
  }
40
40
  },
41
41
  "devDependencies": {
42
- "@tiptap/extensions": "^3.30.2"
42
+ "@tiptap/extensions": "^3.30.3"
43
43
  },
44
44
  "peerDependencies": {
45
- "@tiptap/extensions": "3.30.2"
45
+ "@tiptap/extensions": "3.30.3"
46
46
  },
47
47
  "scripts": {
48
- "build": "tsup"
48
+ "build": "vp pack"
49
49
  }
50
50
  }