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

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/package.json CHANGED
@@ -1,27 +1,23 @@
1
1
  {
2
2
  "name": "@select-org/select-post-builder",
3
- "version": "1.0.6",
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
- "homepage": "https://github.com/supereffective/select-post-builder#readme",
6
- "bugs": {
7
- "url": "https://github.com/supereffective/select-post-builder/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/supereffective/select-post-builder.git"
12
- },
13
- "license": "ISC",
14
- "author": "",
15
- "private": false,
16
- "type": "module",
17
- "main": "dist/post-builder.js",
3
+ "version": "1.0.7",
4
+ "description": "A reusable, extensible Post Builder widget for the Select platform and beyond.",
5
+ "main": "./dist/post-builder.cjs.js",
6
+ "module": "./dist/post-builder.js",
7
+ "types": "./dist/index.d.ts",
18
8
  "exports": {
19
9
  ".": {
20
- "import": "./dist/post-builder.js"
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/post-builder.js",
12
+ "require": "./dist/post-builder.cjs.js",
13
+ "default": "./dist/post-builder.js"
21
14
  },
22
15
  "./style.css": "./dist/post-builder.css"
23
16
  },
24
- "types": "dist/index.d.ts",
17
+ "sideEffects": [
18
+ "*.css",
19
+ "./dist/post-builder.css"
20
+ ],
25
21
  "files": [
26
22
  "dist"
27
23
  ],
@@ -33,6 +29,10 @@
33
29
  "preview": "vite preview",
34
30
  "test": "echo \"Error: no test specified\" && exit 1"
35
31
  },
32
+ "peerDependencies": {
33
+ "react": "^17.0.2 || ^18.0.0",
34
+ "react-dom": "^17.0.2 || ^18.0.0"
35
+ },
36
36
  "dependencies": {
37
37
  "@fontsource-variable/montserrat": "^5.2.8",
38
38
  "@radix-ui/react-aspect-ratio": "^1.1.7",
@@ -117,9 +117,5 @@
117
117
  "typescript-eslint": "^8.44.1",
118
118
  "vite": "^7.1.7",
119
119
  "vite-plugin-dts": "^4.5.4"
120
- },
121
- "peerDependencies": {
122
- "react": "^17 || ^18 || ^19",
123
- "react-dom": "^17 || ^18 || ^19"
124
120
  }
125
121
  }