@select-org/select-post-builder 1.0.0 → 1.0.1
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 +285 -0
- package/dist/post-builder.cjs +586 -0
- package/dist/post-builder.css +1 -0
- package/dist/post-builder.js +47421 -0
- package/dist/post-builder.umd.cjs +586 -0
- package/dist/vite.svg +1 -0
- package/package.json +107 -3
- package/.github/workflows/release-package.yml +0 -33
- package/index.js +0 -1
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@select-org/select-post-builder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
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": {
|
|
@@ -12,9 +12,113 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"author": "",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"private": false,
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "dist/post-builder.cjs",
|
|
18
|
+
"module": "dist/post-builder.js",
|
|
19
|
+
"umd:main": "dist/post-builder.umd.cjs",
|
|
20
|
+
"types": "dist/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
17
24
|
"scripts": {
|
|
25
|
+
"dev": "vite",
|
|
26
|
+
"build": "vite build",
|
|
27
|
+
"lint": "eslint . --ext .ts,.tsx",
|
|
28
|
+
"format": "prettier --write 'src/**/*.{ts,tsx,css,scss,md}'",
|
|
29
|
+
"preview": "vite preview",
|
|
18
30
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@fontsource-variable/montserrat": "^5.2.8",
|
|
34
|
+
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
35
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
36
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
37
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
38
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
39
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
40
|
+
"@radix-ui/react-progress": "^1.1.7",
|
|
41
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
42
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
43
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
44
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
45
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
46
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
47
|
+
"@tailwindcss/vite": "^4.1.13",
|
|
48
|
+
"@tiptap/core": "^3.6.2",
|
|
49
|
+
"@tiptap/extension-bubble-menu": "^3.6.6",
|
|
50
|
+
"@tiptap/extension-collaboration": "^3.7.2",
|
|
51
|
+
"@tiptap/extension-document": "^3.6.2",
|
|
52
|
+
"@tiptap/extension-drag-handle": "^3.7.2",
|
|
53
|
+
"@tiptap/extension-drag-handle-react": "^3.7.2",
|
|
54
|
+
"@tiptap/extension-file-handler": "^3.6.5",
|
|
55
|
+
"@tiptap/extension-image": "^3.6.2",
|
|
56
|
+
"@tiptap/extension-mention": "^3.6.7",
|
|
57
|
+
"@tiptap/extension-node-range": "^3.7.2",
|
|
58
|
+
"@tiptap/extension-subscript": "^3.6.5",
|
|
59
|
+
"@tiptap/extension-superscript": "^3.6.5",
|
|
60
|
+
"@tiptap/extension-text-align": "^3.6.5",
|
|
61
|
+
"@tiptap/extensions": "^3.6.2",
|
|
62
|
+
"@tiptap/react": "^3.6.2",
|
|
63
|
+
"@tiptap/starter-kit": "^3.6.2",
|
|
64
|
+
"@tiptap/suggestion": "^3.6.6",
|
|
65
|
+
"@tiptap/y-tiptap": "^3.0.0",
|
|
66
|
+
"@types/lodash-es": "^4.17.12",
|
|
67
|
+
"axios": "^1.12.2",
|
|
68
|
+
"axios-retry": "^4.5.0",
|
|
69
|
+
"class-variance-authority": "^0.7.1",
|
|
70
|
+
"clsx": "^2.1.1",
|
|
71
|
+
"dompurify": "^3.3.0",
|
|
72
|
+
"js-cookie": "^3.0.5",
|
|
73
|
+
"lodash-es": "^4.17.21",
|
|
74
|
+
"lucide-react": "^0.544.0",
|
|
75
|
+
"marked": "^16.3.0",
|
|
76
|
+
"match-sorter": "^8.1.0",
|
|
77
|
+
"next-themes": "^0.4.6",
|
|
78
|
+
"react-infinite-scroll-component": "^6.1.0",
|
|
79
|
+
"react-resizable-panels": "^3.0.6",
|
|
80
|
+
"sonner": "^2.0.7",
|
|
81
|
+
"tailwind-merge": "^3.3.1",
|
|
82
|
+
"tailwindcss": "^4.1.13",
|
|
83
|
+
"tippy.js": "^6.3.7",
|
|
84
|
+
"turndown": "^7.2.1",
|
|
85
|
+
"uuid": "^13.0.0",
|
|
86
|
+
"y-protocols": "^1.0.6",
|
|
87
|
+
"yjs": "^13.6.27",
|
|
88
|
+
"zustand": "^5.0.8"
|
|
89
|
+
},
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@eslint/js": "^9.36.0",
|
|
92
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
93
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
94
|
+
"@types/js-cookie": "^3.0.6",
|
|
95
|
+
"@types/node": "^24.5.2",
|
|
96
|
+
"@types/react": "^17.0.56",
|
|
97
|
+
"@types/react-dom": "^17.0.17",
|
|
98
|
+
"@types/turndown": "^5.0.5",
|
|
99
|
+
"@vitejs/plugin-react": "^5.0.3",
|
|
100
|
+
"ajv": "^8.17.1",
|
|
101
|
+
"autoprefixer": "^10.4.21",
|
|
102
|
+
"eslint": "^9.36.0",
|
|
103
|
+
"eslint-config-prettier": "^10.1.8",
|
|
104
|
+
"eslint-plugin-react-dom": "^2.0.2",
|
|
105
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
106
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
107
|
+
"eslint-plugin-react-x": "^2.0.2",
|
|
108
|
+
"globals": "^16.4.0",
|
|
109
|
+
"postcss": "^8.5.6",
|
|
110
|
+
"postcss-prefix-selector": "^2.1.1",
|
|
111
|
+
"prettier": "^3.6.2",
|
|
112
|
+
"react": "^17.0.2",
|
|
113
|
+
"react-dom": "^17.0.2",
|
|
114
|
+
"tw-animate-css": "^1.4.0",
|
|
115
|
+
"typescript": "~5.8.3",
|
|
116
|
+
"typescript-eslint": "^8.44.1",
|
|
117
|
+
"vite": "^7.1.7",
|
|
118
|
+
"vite-plugin-dts": "^4.5.4"
|
|
119
|
+
},
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"react": "^17 || ^18 || ^19",
|
|
122
|
+
"react-dom": "^17 || ^18 || ^19"
|
|
19
123
|
}
|
|
20
124
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: Node.js Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types: [created]
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v5
|
|
12
|
-
- uses: actions/setup-node@v4
|
|
13
|
-
with:
|
|
14
|
-
node-version: 20
|
|
15
|
-
- run: npm ci
|
|
16
|
-
- run: npm test
|
|
17
|
-
|
|
18
|
-
publish-gpr:
|
|
19
|
-
needs: build
|
|
20
|
-
runs-on: ubuntu-latest
|
|
21
|
-
permissions:
|
|
22
|
-
packages: write
|
|
23
|
-
contents: read
|
|
24
|
-
steps:
|
|
25
|
-
- uses: actions/checkout@v5
|
|
26
|
-
- uses: actions/setup-node@v4
|
|
27
|
-
with:
|
|
28
|
-
node-version: 20
|
|
29
|
-
registry-url: https://npm.pkg.github.com/
|
|
30
|
-
- run: npm ci
|
|
31
|
-
- run: npm publish
|
|
32
|
-
env:
|
|
33
|
-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("Hello, World!");
|