@vkzstudio/muza-ui 1.0.18 → 1.0.20

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.
@@ -1,5 +1,4 @@
1
- interface FileItemProps {
2
- file: File;
1
+ interface FileItemBaseProps {
3
2
  uploaded?: boolean;
4
3
  progress?: number;
5
4
  size?: 'sm' | 'base' | 'lg';
@@ -10,6 +9,17 @@ interface FileItemProps {
10
9
  onDelete: () => void;
11
10
  onError?: (error: string, file?: File) => void;
12
11
  }
13
- export declare const FileItem: ({ file, uploaded, progress, size, disabled, readOnly, note, error, onDelete, onError, }: FileItemProps) => import("react/jsx-runtime").JSX.Element;
12
+ interface FileItemFileProps extends FileItemBaseProps {
13
+ source: 'file';
14
+ file: File;
15
+ }
16
+ interface FileItemUrlProps extends FileItemBaseProps {
17
+ source: 'url';
18
+ url: string;
19
+ name: string;
20
+ type?: string;
21
+ }
22
+ type FileItemProps = FileItemFileProps | FileItemUrlProps;
23
+ export declare const FileItem: (props: FileItemProps) => import("react/jsx-runtime").JSX.Element;
14
24
  export {};
15
25
  //# sourceMappingURL=FileItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileItem.tsx"],"names":[],"mappings":"AA4CA,UAAU,aAAa;IACrB,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CAC/C;AAyDD,eAAO,MAAM,QAAQ,GAAI,yFAWtB,aAAa,4CAmJf,CAAA"}
1
+ {"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileItem.tsx"],"names":[],"mappings":"AA4CA,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CAC/C;AAED,UAAU,iBAAkB,SAAQ,iBAAiB;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,IAAI,CAAA;CACX;AAED,UAAU,gBAAiB,SAAQ,iBAAiB;IAClD,MAAM,EAAE,KAAK,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,KAAK,aAAa,GAAG,iBAAiB,GAAG,gBAAgB,CAAA;AA2DzD,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,4CA6L5C,CAAA"}
@@ -1,21 +1,21 @@
1
- import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { cva as k } from "class-variance-authority";
4
- import { useMuzaTranslations as w } from "../../translations/TranslationContext.js";
5
- import { cn as i } from "../../utils/cn.js";
6
- import { GalleryOutline as N, CloseCircleBold as z, DownloadMinimalisticBold as L, TrashBinTrashBold as U } from "@solar-icons/react-perf";
7
- import { Typography as f } from "../Typography/Typography.js";
8
- const B = (a, l, t) => {
9
- let r = null, e = null;
1
+ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import { cva as z } from "class-variance-authority";
4
+ import { useMuzaTranslations as L } from "../../translations/TranslationContext.js";
5
+ import { cn as l } from "../../utils/cn.js";
6
+ import { GalleryOutline as B, CloseCircleBold as C, DownloadMinimalisticBold as R, TrashBinTrashBold as j } from "@solar-icons/react-perf";
7
+ import { Typography as b } from "../Typography/Typography.js";
8
+ const E = (e, a, t) => {
9
+ let r = null, o = null;
10
10
  try {
11
- r = URL.createObjectURL(a), e = document.createElement("a"), e.href = r, e.download = a.name, e.style.display = "none", document.body.appendChild(e), e.click();
11
+ r = URL.createObjectURL(e), o = document.createElement("a"), o.href = r, o.download = e.name, o.style.display = "none", document.body.appendChild(o), o.click();
12
12
  } catch (d) {
13
- const n = d instanceof Error ? d.message : t ?? "Download failed";
14
- console.error("Download failed:", d), l == null || l(n, a);
13
+ const s = d instanceof Error ? d.message : t ?? "Download failed";
14
+ console.error("Download failed:", d), a == null || a(s, e);
15
15
  } finally {
16
- e && document.body.contains(e) && document.body.removeChild(e), r && URL.revokeObjectURL(r);
16
+ o && document.body.contains(o) && document.body.removeChild(o), r && URL.revokeObjectURL(r);
17
17
  }
18
- }, C = k(
18
+ }, O = z(
19
19
  [
20
20
  "flex flex-1 items-center gap-sm rounded-full border transition-colors",
21
21
  "relative pr-comp-input-p-hor pl-comp-input-p-hor",
@@ -60,126 +60,140 @@ const B = (a, l, t) => {
60
60
  size: "base"
61
61
  }
62
62
  }
63
- ), b = i([
63
+ ), h = l([
64
64
  "relative h-fit w-fit border-none rounded-full focus-visible-default",
65
65
  "before:absolute before:inset-[-3px]",
66
66
  "bg-none cursor-pointer disabled:cursor-not-allowed",
67
67
  "text-comp-file-upload-icon-def-secondary",
68
68
  "disabled:text-comp-file-upload-icon-def-disabled"
69
- ]), D = ({
70
- file: a,
71
- uploaded: l,
72
- progress: t,
73
- size: r,
74
- disabled: e,
75
- readOnly: d = !1,
76
- note: n,
77
- error: c,
78
- onDelete: h,
79
- onError: v
80
- }) => {
81
- const s = w(), [x, g] = m.useState(!1), y = m.useMemo(() => e ? "disabled" : c ? "error" : typeof t == "number" && t > 0 ? "loading" : "default", [e, c, t]), p = m.useMemo(() => {
82
- if (a.type.startsWith("image/"))
83
- return URL.createObjectURL(a);
84
- }, [a]);
85
- return m.useEffect(() => {
86
- g(!1);
87
- }, [a]), /* @__PURE__ */ u("li", { className: "flex flex-col gap-sm", children: [
88
- /* @__PURE__ */ u(
69
+ ]), I = /\.(jpe?g|png|gif|webp|svg|bmp|ico|avif|tiff?)$/i, G = (e) => {
70
+ const {
71
+ uploaded: a,
72
+ progress: t,
73
+ size: r,
74
+ disabled: o,
75
+ readOnly: d = !1,
76
+ note: s,
77
+ error: c,
78
+ onDelete: x,
79
+ onError: k
80
+ } = e, m = L(), [g, y] = f.useState(!1), v = e.source === "file" ? e.file.name : e.name, w = e.source === "url" ? (e.type ?? "").startsWith("image/") || I.test(e.name) : e.file.type.startsWith("image/"), n = e.source === "file" ? e.file : e.url, U = f.useMemo(() => o ? "disabled" : c ? "error" : typeof t == "number" && t > 0 ? "loading" : "default", [o, c, t]), u = f.useMemo(() => {
81
+ if (w)
82
+ return typeof n == "string" ? n : URL.createObjectURL(n);
83
+ }, [w, n]);
84
+ return f.useEffect(() => y(!1), [n]), /* @__PURE__ */ p("li", { className: "flex flex-col gap-sm", children: [
85
+ /* @__PURE__ */ p(
89
86
  "div",
90
87
  {
91
- className: i(
92
- C({
93
- variant: y,
88
+ className: l(
89
+ O({
90
+ variant: U,
94
91
  size: r
95
92
  })
96
93
  ),
97
94
  children: [
98
- p && !x && /* @__PURE__ */ o(
95
+ u && !g && /* @__PURE__ */ i(
99
96
  "img",
100
97
  {
101
- src: p,
102
- alt: a.name,
98
+ src: u,
99
+ alt: v,
103
100
  width: 24,
104
101
  height: 24,
105
- onError: () => g(!0),
106
- className: i("size-icon-medium shrink-0 rounded-xs object-cover", {
107
- "opacity-50 saturate-0": e
102
+ onError: () => y(!0),
103
+ className: l("size-icon-medium shrink-0 rounded-xs object-cover", {
104
+ "opacity-50 saturate-0": o
108
105
  })
109
106
  }
110
107
  ),
111
- p && x && /* @__PURE__ */ o(
112
- N,
108
+ u && g && /* @__PURE__ */ i(
109
+ B,
113
110
  {
114
- className: i(
111
+ className: l(
115
112
  "text-icon-dark-secondary size-icon-medium shrink-0",
116
113
  {
117
- "opacity-50": e
114
+ "opacity-50": o
118
115
  }
119
116
  )
120
117
  }
121
118
  ),
122
- /* @__PURE__ */ o(
123
- f,
119
+ /* @__PURE__ */ i(
120
+ b,
124
121
  {
125
122
  className: "flex-grow truncate",
126
123
  component: "span",
127
124
  size: "sm",
128
125
  fixY: !0,
129
- children: a.name
126
+ children: v
130
127
  }
131
128
  ),
132
- !l && /* @__PURE__ */ o(
129
+ !a && /* @__PURE__ */ i(
133
130
  "button",
134
131
  {
135
- disabled: e,
136
- onClick: h,
137
- "aria-label": s.fileUpload.deleteButtonAriaLabel,
138
- className: i(
139
- b,
132
+ disabled: o,
133
+ onClick: x,
134
+ "aria-label": m.fileUpload.deleteButtonAriaLabel,
135
+ className: l(
136
+ h,
140
137
  "text-comp-file-upload-icon-def-secondary",
141
138
  "hover:text-comp-file-upload-icon-def-hover",
142
139
  "focus-visible:text-comp-file-upload-icon-def-focused",
143
140
  "disabled:text-comp-file-upload-icon-def-disabled"
144
141
  ),
145
- children: /* @__PURE__ */ o(z, { className: "size-icon-medium" })
142
+ children: /* @__PURE__ */ i(C, { className: "size-icon-medium" })
146
143
  }
147
144
  ),
148
- l && /* @__PURE__ */ u("div", { className: "flex gap-xl", children: [
149
- /* @__PURE__ */ o(
145
+ a && /* @__PURE__ */ p("div", { className: "flex gap-xl", children: [
146
+ /* @__PURE__ */ i(
150
147
  "button",
151
148
  {
152
- disabled: e,
153
- onClick: () => B(a, v, s.fileUpload.downloadError),
154
- "aria-label": s.fileUpload.downloadButtonAriaLabel,
155
- className: i(
156
- b,
149
+ disabled: o,
150
+ onClick: () => e.source === "url" ? (() => {
151
+ try {
152
+ const N = new URL(
153
+ e.url,
154
+ window.location.origin
155
+ );
156
+ ["http:", "https:", "blob:"].includes(N.protocol) && window.open(
157
+ N.href,
158
+ "_blank",
159
+ "noopener,noreferrer"
160
+ );
161
+ } catch {
162
+ }
163
+ })() : E(
164
+ e.file,
165
+ k,
166
+ m.fileUpload.downloadError
167
+ ),
168
+ "aria-label": m.fileUpload.downloadButtonAriaLabel,
169
+ className: l(
170
+ h,
157
171
  "text-comp-file-upload-icon-brand-def",
158
172
  "hover:text-comp-file-upload-icon-brand-hover",
159
173
  "focus-visible:text-comp-file-upload-icon-brand-focused",
160
174
  "disabled:text-comp-file-upload-icon-brand-disabled"
161
175
  ),
162
- children: /* @__PURE__ */ o(L, { className: "size-icon-medium" })
176
+ children: /* @__PURE__ */ i(R, { className: "size-icon-medium" })
163
177
  }
164
178
  ),
165
- !d && /* @__PURE__ */ o(
179
+ !d && /* @__PURE__ */ i(
166
180
  "button",
167
181
  {
168
- disabled: e,
169
- onClick: h,
170
- "aria-label": s.fileUpload.deleteButtonAriaLabel,
171
- className: i(
172
- b,
182
+ disabled: o,
183
+ onClick: x,
184
+ "aria-label": m.fileUpload.deleteButtonAriaLabel,
185
+ className: l(
186
+ h,
173
187
  "text-comp-file-upload-icon-error-def",
174
188
  "hover:text-comp-file-upload-icon-error-hover",
175
189
  "focus-visible:text-comp-file-upload-icon-error-focused",
176
190
  "disabled:text-comp-file-upload-icon-error-disabled"
177
191
  ),
178
- children: /* @__PURE__ */ o(U, { className: "size-icon-medium" })
192
+ children: /* @__PURE__ */ i(j, { className: "size-icon-medium" })
179
193
  }
180
194
  )
181
195
  ] }),
182
- typeof t == "number" && t !== 0 && /* @__PURE__ */ o(
196
+ typeof t == "number" && t !== 0 && /* @__PURE__ */ i(
183
197
  "div",
184
198
  {
185
199
  style: { width: `${t}%` },
@@ -189,19 +203,19 @@ const B = (a, l, t) => {
189
203
  ]
190
204
  }
191
205
  ),
192
- n && /* @__PURE__ */ o(
193
- f,
206
+ s && /* @__PURE__ */ i(
207
+ b,
194
208
  {
195
209
  size: "sm",
196
210
  component: "span",
197
211
  variant: "body",
198
212
  weight: "regular",
199
213
  className: "text-comp-input-text-secondary",
200
- children: n
214
+ children: s
201
215
  }
202
216
  ),
203
- c && /* @__PURE__ */ o(
204
- f,
217
+ c && /* @__PURE__ */ i(
218
+ b,
205
219
  {
206
220
  size: "sm",
207
221
  component: "span",
@@ -214,5 +228,5 @@ const B = (a, l, t) => {
214
228
  ] });
215
229
  };
216
230
  export {
217
- D as FileItem
231
+ G as FileItem
218
232
  };
@@ -6,6 +6,20 @@ declare const fileUploadVariants: (props?: ({
6
6
  isDragActive?: boolean | null | undefined;
7
7
  disabled?: boolean | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ /**
10
+ * Represents a remote file that is already uploaded and accessible via URL.
11
+ * Used to display previously-uploaded files without re-fetching them as `File` objects.
12
+ */
13
+ export interface PreselectedUrl {
14
+ /** Direct URL to the file. */
15
+ url: string;
16
+ /** Display name for the file. */
17
+ name: string;
18
+ /** MIME type — if starts with `"image/"`, shows thumbnail. Falls back to extension sniffing from name. */
19
+ type?: string;
20
+ /** File size in bytes (for display). */
21
+ size?: number;
22
+ }
9
23
  /**
10
24
  * Props for the FileUpload component.
11
25
  * Extends standard div attributes except `onDrop`, `onError`, and `onChange`
@@ -85,6 +99,10 @@ export interface FileUploadProps extends Omit<React.HTMLAttributes<HTMLDivElemen
85
99
  onDelete?: (file: File, index: number) => void;
86
100
  /** Fires when the file list changes. Receives the updated array of all files. */
87
101
  onChange?: (files: File[]) => void;
102
+ /** Already-uploaded files to display via URL, without needing `File` objects. @default [] */
103
+ preselectedUrls?: PreselectedUrl[];
104
+ /** Fires when a URL-backed item is deleted. Receives the item and its index in the `preselectedUrls` array. */
105
+ onDeleteUrl?: (item: PreselectedUrl, index: number) => void;
88
106
  }
89
107
  declare const FileUpload: React.ForwardRefExoticComponent<FileUploadProps & React.RefAttributes<HTMLDivElement>>;
90
108
  export { FileUpload };
@@ -1 +1 @@
1
- {"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,KAAK,eAAe,EAAe,MAAM,gBAAgB,CAAA;AASlE,QAAA,MAAM,kBAAkB;;;;8EAoCvB,CAAA;AAgBD;;;;GAIG;AACH,MAAM,WAAW,eACf,SAAQ,IAAI,CACR,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,QAAQ,GAAG,SAAS,GAAG,UAAU,CAClC,EACD,IAAI,CAAC,YAAY,CAAC,OAAO,kBAAkB,CAAC,EAAE,cAAc,CAAC;IAC/D,kFAAkF;IAClF,MAAM,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,EAAE,KAAK,IAAI,CAAA;IACxC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gHAAgH;IAChH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,0EAA0E;IAC1E,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sFAAsF;IACtF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,KAAK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