@tecof/theme-editor 0.0.12 → 0.0.14
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.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +67 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +68 -24
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +26 -3
- package/package.json +4 -2
package/dist/styles.css
CHANGED
|
@@ -926,10 +926,21 @@
|
|
|
926
926
|
width: 48px;
|
|
927
927
|
height: 48px;
|
|
928
928
|
border-radius: 10px;
|
|
929
|
-
|
|
929
|
+
overflow: hidden;
|
|
930
930
|
background: #f4f4f5;
|
|
931
931
|
flex-shrink: 0;
|
|
932
|
-
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.tecof-upload-file-thumb .tecof-picture-wrapper {
|
|
935
|
+
width: 100%;
|
|
936
|
+
height: 100%;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.tecof-upload-file-thumb .tecof-picture-wrapper img {
|
|
940
|
+
width: 100%;
|
|
941
|
+
height: 100%;
|
|
942
|
+
object-fit: cover;
|
|
943
|
+
display: block;
|
|
933
944
|
}
|
|
934
945
|
|
|
935
946
|
.tecof-upload-file-icon {
|
|
@@ -1281,9 +1292,21 @@
|
|
|
1281
1292
|
.tecof-upload-gallery-thumb {
|
|
1282
1293
|
width: 100%;
|
|
1283
1294
|
aspect-ratio: 1;
|
|
1284
|
-
object-fit: cover;
|
|
1285
1295
|
border-radius: 6px;
|
|
1286
1296
|
margin-bottom: 6px;
|
|
1297
|
+
overflow: hidden;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.tecof-upload-gallery-thumb .tecof-picture-wrapper {
|
|
1301
|
+
width: 100%;
|
|
1302
|
+
height: 100%;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
.tecof-upload-gallery-thumb .tecof-picture-wrapper img {
|
|
1306
|
+
width: 100%;
|
|
1307
|
+
height: 100%;
|
|
1308
|
+
object-fit: cover;
|
|
1309
|
+
display: block;
|
|
1287
1310
|
}
|
|
1288
1311
|
|
|
1289
1312
|
.tecof-upload-gallery-file-name {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecof/theme-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "React theme editor library for Tecof projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
43
|
"dev": "tsup src/index.ts --watch --dts --format esm,cjs",
|
|
44
|
+
"dev:preview": "vite --config playground/vite.config.ts",
|
|
44
45
|
"build": "tsup src/index.ts --dts --format esm,cjs && cat node_modules/filepond/dist/filepond.min.css node_modules/filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.css node_modules/filepond-plugin-image-edit/dist/filepond-plugin-image-edit.css src/doka.min.css src/styles.css > dist/styles.css",
|
|
45
46
|
"lint": "eslint .",
|
|
46
47
|
"test": "vitest",
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"@storybook/react-vite": "^8.0.0",
|
|
61
62
|
"@types/react": "^19.0.0",
|
|
62
63
|
"@types/react-dom": "^19.0.0",
|
|
64
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
63
65
|
"browser-image-compression": "^2.0.2",
|
|
64
66
|
"eslint": "^9.0.0",
|
|
65
67
|
"filepond": "^4.32.12",
|
|
@@ -79,4 +81,4 @@
|
|
|
79
81
|
"vaul": "^1.1.2",
|
|
80
82
|
"vitest": "^3.0.0"
|
|
81
83
|
}
|
|
82
|
-
}
|
|
84
|
+
}
|