@tiptap/extension-focus 3.30.1 → 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
- Focus: () => import_extensions2.Focus,
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.Focus;
30
- // Annotate the CommonJS export names for ESM import in node:
31
- 0 && (module.exports = {
32
- Focus
5
+ let _tiptap_extensions = require("@tiptap/extensions");
6
+ //#region src/index.ts
7
+ var src_default = _tiptap_extensions.Focus;
8
+ //#endregion
9
+ Object.defineProperty(exports, "Focus", {
10
+ enumerable: true,
11
+ get: function() {
12
+ return _tiptap_extensions.Focus;
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 { Focus } from '@tiptap/extensions'\n\nexport type { FocusOptions } from '@tiptap/extensions'\nexport { Focus } from '@tiptap/extensions'\n\nexport default Focus\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAsB;AAGtB,IAAAA,qBAAsB;AAEtB,IAAO,gBAAQ;","names":["import_extensions"]}
1
+ {"version":3,"file":"index.cjs","names":["Focus"],"sources":["../src/index.ts"],"sourcesContent":["import { Focus } from '@tiptap/extensions'\n\nexport type { FocusOptions } from '@tiptap/extensions'\nexport { Focus } from '@tiptap/extensions'\n\nexport default Focus\n"],"mappings":";;;;;;AAKA,IAAA,cAAeA,mBAAAA"}
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { Focus } from '@tiptap/extensions';
2
- export { Focus, FocusOptions, Focus as default } from '@tiptap/extensions';
1
+ import { Focus, Focus as Focus$1, FocusOptions } from "@tiptap/extensions";
2
+ export { Focus, type FocusOptions, Focus$1 as default };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Focus } from '@tiptap/extensions';
2
- export { Focus, FocusOptions, Focus as default } from '@tiptap/extensions';
1
+ import { Focus, Focus as Focus$1, FocusOptions } from "@tiptap/extensions";
2
+ export { Focus, type FocusOptions, Focus$1 as default };
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
- // src/index.ts
2
- import { Focus } from "@tiptap/extensions";
3
- import { Focus as Focus2 } from "@tiptap/extensions";
4
- var index_default = Focus;
5
- export {
6
- Focus2 as Focus,
7
- index_default as default
8
- };
1
+ import { Focus, Focus as Focus$1 } from "@tiptap/extensions";
2
+ //#region src/index.ts
3
+ var src_default = Focus$1;
4
+ //#endregion
5
+ export { Focus, 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 { Focus } from '@tiptap/extensions'\n\nexport type { FocusOptions } from '@tiptap/extensions'\nexport { Focus } from '@tiptap/extensions'\n\nexport default Focus\n"],"mappings":";AAAA,SAAS,aAAa;AAGtB,SAAS,SAAAA,cAAa;AAEtB,IAAO,gBAAQ;","names":["Focus"]}
1
+ {"version":3,"file":"index.js","names":["Focus"],"sources":["../src/index.ts"],"sourcesContent":["import { Focus } from '@tiptap/extensions'\n\nexport type { FocusOptions } from '@tiptap/extensions'\nexport { Focus } from '@tiptap/extensions'\n\nexport default Focus\n"],"mappings":";;AAKA,IAAA,cAAeA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiptap/extension-focus",
3
- "version": "3.30.1",
3
+ "version": "3.30.3",
4
4
  "description": "focus 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.1"
42
+ "@tiptap/extensions": "^3.30.3"
43
43
  },
44
44
  "peerDependencies": {
45
- "@tiptap/extensions": "3.30.1"
45
+ "@tiptap/extensions": "3.30.3"
46
46
  },
47
47
  "scripts": {
48
- "build": "tsup"
48
+ "build": "vp pack"
49
49
  }
50
50
  }