@select-org/select-post-builder 1.0.5 → 1.0.6

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
@@ -243,21 +243,6 @@ declare module '@tiptap/core' {
243
243
  }
244
244
 
245
245
 
246
- declare module '@tiptap/core' {
247
- interface Commands<ReturnType> {
248
- smartMediaUpload: {
249
- insertMediaWithUpload: (params: {
250
- source: File | Blob | string;
251
- type: MediaNodeTypes;
252
- mediaType?: MediaItemType;
253
- caption?: string;
254
- searchFrom?: ImageSearchFrom;
255
- }) => ReturnType;
256
- };
257
- }
258
- }
259
-
260
-
261
246
  declare module '@tiptap/core' {
262
247
  interface Commands<ReturnType> {
263
248
  iframe: {
@@ -274,6 +259,21 @@ declare module '@tiptap/core' {
274
259
  }
275
260
 
276
261
 
262
+ declare module '@tiptap/core' {
263
+ interface Commands<ReturnType> {
264
+ smartMediaUpload: {
265
+ insertMediaWithUpload: (params: {
266
+ source: File | Blob | string;
267
+ type: MediaNodeTypes;
268
+ mediaType?: MediaItemType;
269
+ caption?: string;
270
+ searchFrom?: ImageSearchFrom;
271
+ }) => ReturnType;
272
+ };
273
+ }
274
+ }
275
+
276
+
277
277
  declare module '@tiptap/core' {
278
278
  interface Commands<ReturnType> {
279
279
  linkPreview: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@select-org/select-post-builder",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "A reusable, extensible **Post Builder widget** for the Select platform and beyond. Designed to ensure functional parity across web and mobile clients, while enabling rapid iteration and consistent UX.",
5
5
  "homepage": "https://github.com/supereffective/select-post-builder#readme",
6
6
  "bugs": {
@@ -14,9 +14,13 @@
14
14
  "author": "",
15
15
  "private": false,
16
16
  "type": "module",
17
- "main": "dist/post-builder.cjs",
18
- "module": "dist/post-builder.js",
19
- "umd:main": "dist/post-builder.umd.cjs",
17
+ "main": "dist/post-builder.js",
18
+ "exports": {
19
+ ".": {
20
+ "import": "./dist/post-builder.js"
21
+ },
22
+ "./style.css": "./dist/post-builder.css"
23
+ },
20
24
  "types": "dist/index.d.ts",
21
25
  "files": [
22
26
  "dist"