@ai-matrx/media 0.1.0 → 0.2.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/dist/react.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { SVGProps, HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
3
- import { b as MediaRefLike, l as MediaUploadOptions, i as MediaUploadEntry, f as MediaActionKind } from './use-media-upload-VjUhqbyY.cjs';
3
+ import { MediaRefLike, MediaUploadOptions, MediaActionKind } from './index.cjs';
4
+ import { M as MediaUploadEntry } from './use-media-upload-v5Uq9Ruq.cjs';
4
5
 
5
6
  /**
6
7
  * src/react/cn.ts — conditional class join with last-wins Tailwind conflict
@@ -44,6 +45,12 @@ declare function VolumeXIcon(props: MediaIconProps): react.JSX.Element;
44
45
  declare function XIcon(props: MediaIconProps): react.JSX.Element;
45
46
  declare function AlertCircleIcon(props: MediaIconProps): react.JSX.Element;
46
47
  declare function CheckCircle2Icon(props: MediaIconProps): react.JSX.Element;
48
+ declare function GlobeIcon(props: MediaIconProps): react.JSX.Element;
49
+ declare function Link2Icon(props: MediaIconProps): react.JSX.Element;
50
+ declare function Settings2Icon(props: MediaIconProps): react.JSX.Element;
51
+ declare function SpinnerIcon(props: MediaIconProps): react.JSX.Element;
52
+ declare function PlusIcon(props: MediaIconProps): react.JSX.Element;
53
+ declare function SearchIcon(props: MediaIconProps): react.JSX.Element;
47
54
 
48
55
  /**
49
56
  * src/react/file-icon.tsx — icon tile for any file or folder.
@@ -307,4 +314,4 @@ interface MediaLightboxProps {
307
314
  }
308
315
  declare function MediaLightbox({ open, onClose, mediaRef, fileName, alt, as, actions, hideUnavailableActions, headerExtra, className, }: MediaLightboxProps): react.JSX.Element | null;
309
316
 
310
- export { AlertCircleIcon, ArchiveIcon, BracesIcon, CheckCircle2Icon, CheckIcon, CodeIcon, CopyIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, FileAudioIcon, FileCodeIcon, FileIcon, type FileIconProps, FileJsonIcon, FileSpreadsheetIcon, FileTextIcon, FileTypeIcon, FileUploadDropzone, type FileUploadDropzoneActions, type FileUploadDropzoneProps, FileVideoIcon, FolderIcon, FolderOpenIcon, ImageIcon, ImageOffIcon, InlineMediaRef, type InlineMediaRefFit, type InlineMediaRefProps, type InlineMediaRefSize, MediaActionToolbar, type MediaActionToolbarProps, type MediaDropzoneOptions, type MediaDropzoneState, type MediaIconProps, MediaLightbox, type MediaLightboxProps, MediaThumbnail, type MediaThumbnailProps, MusicIcon, PackageBoxIcon, PenToolIcon, Share2Icon, SubtitlesIcon, UploadIcon, UploadProgressList, type UploadProgressListProps, VideoIcon, VideoOffIcon, VolumeXIcon, XIcon, cn, formatFileSize, useMediaDropzone };
317
+ export { AlertCircleIcon, ArchiveIcon, BracesIcon, CheckCircle2Icon, CheckIcon, CodeIcon, CopyIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, FileAudioIcon, FileCodeIcon, FileIcon, type FileIconProps, FileJsonIcon, FileSpreadsheetIcon, FileTextIcon, FileTypeIcon, FileUploadDropzone, type FileUploadDropzoneActions, type FileUploadDropzoneProps, FileVideoIcon, FolderIcon, FolderOpenIcon, GlobeIcon, ImageIcon, ImageOffIcon, InlineMediaRef, type InlineMediaRefFit, type InlineMediaRefProps, type InlineMediaRefSize, Link2Icon, MediaActionToolbar, type MediaActionToolbarProps, type MediaDropzoneOptions, type MediaDropzoneState, type MediaIconProps, MediaLightbox, type MediaLightboxProps, MediaThumbnail, type MediaThumbnailProps, MusicIcon, PackageBoxIcon, PenToolIcon, PlusIcon, SearchIcon, Settings2Icon, Share2Icon, SpinnerIcon, SubtitlesIcon, UploadIcon, UploadProgressList, type UploadProgressListProps, VideoIcon, VideoOffIcon, VolumeXIcon, XIcon, cn, formatFileSize, useMediaDropzone };
package/dist/react.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { SVGProps, HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
3
- import { b as MediaRefLike, l as MediaUploadOptions, i as MediaUploadEntry, f as MediaActionKind } from './use-media-upload-VjUhqbyY.js';
3
+ import { MediaRefLike, MediaUploadOptions, MediaActionKind } from './index.js';
4
+ import { M as MediaUploadEntry } from './use-media-upload-Dg2HSvTq.js';
4
5
 
5
6
  /**
6
7
  * src/react/cn.ts — conditional class join with last-wins Tailwind conflict
@@ -44,6 +45,12 @@ declare function VolumeXIcon(props: MediaIconProps): react.JSX.Element;
44
45
  declare function XIcon(props: MediaIconProps): react.JSX.Element;
45
46
  declare function AlertCircleIcon(props: MediaIconProps): react.JSX.Element;
46
47
  declare function CheckCircle2Icon(props: MediaIconProps): react.JSX.Element;
48
+ declare function GlobeIcon(props: MediaIconProps): react.JSX.Element;
49
+ declare function Link2Icon(props: MediaIconProps): react.JSX.Element;
50
+ declare function Settings2Icon(props: MediaIconProps): react.JSX.Element;
51
+ declare function SpinnerIcon(props: MediaIconProps): react.JSX.Element;
52
+ declare function PlusIcon(props: MediaIconProps): react.JSX.Element;
53
+ declare function SearchIcon(props: MediaIconProps): react.JSX.Element;
47
54
 
48
55
  /**
49
56
  * src/react/file-icon.tsx — icon tile for any file or folder.
@@ -307,4 +314,4 @@ interface MediaLightboxProps {
307
314
  }
308
315
  declare function MediaLightbox({ open, onClose, mediaRef, fileName, alt, as, actions, hideUnavailableActions, headerExtra, className, }: MediaLightboxProps): react.JSX.Element | null;
309
316
 
310
- export { AlertCircleIcon, ArchiveIcon, BracesIcon, CheckCircle2Icon, CheckIcon, CodeIcon, CopyIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, FileAudioIcon, FileCodeIcon, FileIcon, type FileIconProps, FileJsonIcon, FileSpreadsheetIcon, FileTextIcon, FileTypeIcon, FileUploadDropzone, type FileUploadDropzoneActions, type FileUploadDropzoneProps, FileVideoIcon, FolderIcon, FolderOpenIcon, ImageIcon, ImageOffIcon, InlineMediaRef, type InlineMediaRefFit, type InlineMediaRefProps, type InlineMediaRefSize, MediaActionToolbar, type MediaActionToolbarProps, type MediaDropzoneOptions, type MediaDropzoneState, type MediaIconProps, MediaLightbox, type MediaLightboxProps, MediaThumbnail, type MediaThumbnailProps, MusicIcon, PackageBoxIcon, PenToolIcon, Share2Icon, SubtitlesIcon, UploadIcon, UploadProgressList, type UploadProgressListProps, VideoIcon, VideoOffIcon, VolumeXIcon, XIcon, cn, formatFileSize, useMediaDropzone };
317
+ export { AlertCircleIcon, ArchiveIcon, BracesIcon, CheckCircle2Icon, CheckIcon, CodeIcon, CopyIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, FileAudioIcon, FileCodeIcon, FileIcon, type FileIconProps, FileJsonIcon, FileSpreadsheetIcon, FileTextIcon, FileTypeIcon, FileUploadDropzone, type FileUploadDropzoneActions, type FileUploadDropzoneProps, FileVideoIcon, FolderIcon, FolderOpenIcon, GlobeIcon, ImageIcon, ImageOffIcon, InlineMediaRef, type InlineMediaRefFit, type InlineMediaRefProps, type InlineMediaRefSize, Link2Icon, MediaActionToolbar, type MediaActionToolbarProps, type MediaDropzoneOptions, type MediaDropzoneState, type MediaIconProps, MediaLightbox, type MediaLightboxProps, MediaThumbnail, type MediaThumbnailProps, MusicIcon, PackageBoxIcon, PenToolIcon, PlusIcon, SearchIcon, Settings2Icon, Share2Icon, SpinnerIcon, SubtitlesIcon, UploadIcon, UploadProgressList, type UploadProgressListProps, VideoIcon, VideoOffIcon, VolumeXIcon, XIcon, cn, formatFileSize, useMediaDropzone };
package/dist/react.js CHANGED
@@ -243,6 +243,43 @@ function CheckCircle2Icon(props) {
243
243
  /* @__PURE__ */ jsx("path", { d: "m9 11 3 3L22 4" })
244
244
  ] });
245
245
  }
246
+ function GlobeIcon(props) {
247
+ return /* @__PURE__ */ jsxs("svg", { ...svgProps(props), children: [
248
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
249
+ /* @__PURE__ */ jsx("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
250
+ /* @__PURE__ */ jsx("path", { d: "M2 12h20" })
251
+ ] });
252
+ }
253
+ function Link2Icon(props) {
254
+ return /* @__PURE__ */ jsxs("svg", { ...svgProps(props), children: [
255
+ /* @__PURE__ */ jsx("path", { d: "M9 17H7A5 5 0 0 1 7 7h2" }),
256
+ /* @__PURE__ */ jsx("path", { d: "M15 7h2a5 5 0 1 1 0 10h-2" }),
257
+ /* @__PURE__ */ jsx("line", { x1: "8", x2: "16", y1: "12", y2: "12" })
258
+ ] });
259
+ }
260
+ function Settings2Icon(props) {
261
+ return /* @__PURE__ */ jsxs("svg", { ...svgProps(props), children: [
262
+ /* @__PURE__ */ jsx("path", { d: "M20 7h-9" }),
263
+ /* @__PURE__ */ jsx("path", { d: "M14 17H5" }),
264
+ /* @__PURE__ */ jsx("circle", { cx: "17", cy: "17", r: "3" }),
265
+ /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "3" })
266
+ ] });
267
+ }
268
+ function SpinnerIcon(props) {
269
+ return /* @__PURE__ */ jsx("svg", { ...svgProps(props), children: /* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }) });
270
+ }
271
+ function PlusIcon(props) {
272
+ return /* @__PURE__ */ jsxs("svg", { ...svgProps(props), children: [
273
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
274
+ /* @__PURE__ */ jsx("path", { d: "M12 5v14" })
275
+ ] });
276
+ }
277
+ function SearchIcon(props) {
278
+ return /* @__PURE__ */ jsxs("svg", { ...svgProps(props), children: [
279
+ /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
280
+ /* @__PURE__ */ jsx("path", { d: "m21 21-4.3-4.3" })
281
+ ] });
282
+ }
246
283
 
247
284
  // src/core/file-kind.ts
248
285
  var ROWS = [
@@ -2096,16 +2133,22 @@ export {
2096
2133
  FileVideoIcon,
2097
2134
  FolderIcon,
2098
2135
  FolderOpenIcon,
2136
+ GlobeIcon,
2099
2137
  ImageIcon,
2100
2138
  ImageOffIcon,
2101
2139
  InlineMediaRef,
2140
+ Link2Icon,
2102
2141
  MediaActionToolbar,
2103
2142
  MediaLightbox,
2104
2143
  MediaThumbnail,
2105
2144
  MusicIcon,
2106
2145
  PackageBoxIcon,
2107
2146
  PenToolIcon,
2147
+ PlusIcon,
2148
+ SearchIcon,
2149
+ Settings2Icon,
2108
2150
  Share2Icon,
2151
+ SpinnerIcon,
2109
2152
  SubtitlesIcon,
2110
2153
  UploadIcon,
2111
2154
  UploadProgressList,