@mieweb/forms-editor 0.1.0

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 ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@mieweb/forms-editor",
3
+ "version": "0.1.0",
4
+ "description": "Embeddable questionnaire form editor component",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./styles.css": "./src/index.css",
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": ["dist", "src/index.css", "README.md"],
17
+ "scripts": {
18
+ "build": "tsup index.js --format esm --external react --external react-dom --external @mieweb/forms-engine --external framer-motion --external js-yaml --external tailwindcss"
19
+ },
20
+ "sideEffects": [
21
+ "*.css",
22
+ "src/index.css"
23
+ ],
24
+ "peerDependencies": {
25
+ "react": ">=18.0.0",
26
+ "react-dom": ">=18.0.0"
27
+ },
28
+ "dependencies": {
29
+ "@mieweb/forms-engine": "0.1.0",
30
+ "framer-motion": "^12.4.2",
31
+ "js-yaml": "^4.1.0"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ }
36
+ }
package/src/index.css ADDED
@@ -0,0 +1,14 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
2
+ @import "tailwindcss";
3
+
4
+ @theme {
5
+ --font-titillium: "Titillium Web", sans-serif;
6
+ }
7
+
8
+ @utility custom-scrollbar {
9
+ @apply [&::-webkit-scrollbar]:w-1.5
10
+ [&::-webkit-scrollbar-track]:rounded-full
11
+ [&::-webkit-scrollbar-track]:bg-gray-100
12
+ [&::-webkit-scrollbar-thumb]:rounded-full
13
+ [&::-webkit-scrollbar-thumb]:bg-gray-500
14
+ }