@geekapps/silo-elements-nextjs 0.1.2 → 0.1.4

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/types.d.ts CHANGED
@@ -53,16 +53,20 @@ interface ImageUploaderProps extends BaseUploaderProps {
53
53
  showPreview?: boolean;
54
54
  /** Accept string (default: image/*) */
55
55
  accept?: string;
56
- /** Image processing pipeline options */
56
+ /** Image processing pipeline options (fixed, not editable by user) */
57
57
  image?: ImageUploadOptions;
58
+ /** Show format/optimize controls so the end-user can configure the pipeline */
59
+ showImageOptions?: boolean;
58
60
  }
59
61
  interface VideoUploaderProps extends BaseUploaderProps {
60
62
  /** Show video preview after selection */
61
63
  showPreview?: boolean;
62
64
  /** Accept string (default: video/*) */
63
65
  accept?: string;
64
- /** Video processing pipeline options */
66
+ /** Video processing pipeline options (fixed, not editable by user) */
65
67
  video?: VideoUploadOptions;
68
+ /** Show codec/resolution/features controls so the end-user can configure the pipeline */
69
+ showVideoOptions?: boolean;
66
70
  }
67
71
  interface FileUploaderProps extends BaseUploaderProps {
68
72
  /** Accepted MIME types or extensions */
@@ -75,6 +79,10 @@ interface FileUploaderProps extends BaseUploaderProps {
75
79
  image?: ImageUploadOptions;
76
80
  /** Video processing options (applied to video files in batch) */
77
81
  video?: VideoUploadOptions;
82
+ /** Show format/optimize controls so the end-user can configure the image pipeline */
83
+ showImageOptions?: boolean;
84
+ /** Show codec/resolution/features controls so the end-user can configure the video pipeline */
85
+ showVideoOptions?: boolean;
78
86
  }
79
87
  interface MediaUploaderProps extends BaseUploaderProps {
80
88
  /** Which tabs to show */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekapps/silo-elements-nextjs",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Silo UI elements — beautiful, customizable upload components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,10 +22,10 @@
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": ">=19.0.0",
25
- "react-dom": ">=19.0.0"
25
+ "react-dom": ">=19.0.0",
26
+ "@geekapps/silo-nextjs": ">=0.0.5"
26
27
  },
27
28
  "dependencies": {
28
- "@geekapps/silo-nextjs": "^0.0.4",
29
29
  "dashjs": "^5.2.0",
30
30
  "gsap": "^3.15.0",
31
31
  "hls.js": "^1.6.16",