bonsaif-ui 0.1.164 → 0.1.166

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.
@@ -0,0 +1,11 @@
1
+ import { BonsaifIconProps, BonsaifIconSize } from './createIcon';
2
+ import { FileTypeIconKind } from './fileTypeIconMeta';
3
+ export type FileTypeIconProps = BonsaifIconProps & {
4
+ kind: FileTypeIconKind;
5
+ /** Aplica `FILE_TYPE_ICON_COLOR[kind]` si no pasas className de color. */
6
+ colored?: boolean;
7
+ /** `sm` 16 · `md` 20 · `lg` 24 · `xl` 32, o px. */
8
+ size?: BonsaifIconSize;
9
+ };
10
+ export default function FileTypeIcon({ kind, colored, className, size, ...props }: FileTypeIconProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=FileTypeIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileTypeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FileTypeIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAmCtE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAyC5B,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,GAAG;IACjD,IAAI,EAAE,gBAAgB,CAAC;IACvB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,OAAc,EACd,SAAc,EACd,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAKnB"}
@@ -0,0 +1,20 @@
1
+ import { ReactNode, SVGProps } from 'react';
2
+ /** Tamaño del icono: preset o píxeles. */
3
+ export type BonsaifIconSize = number | "sm" | "md" | "lg" | "xl";
4
+ export declare function resolveIconSizePx(size?: BonsaifIconSize): number | undefined;
5
+ export type BonsaifIconProps = SVGProps<SVGSVGElement> & {
6
+ /** Accesible title; si falta, el SVG queda `aria-hidden`. */
7
+ title?: string;
8
+ /**
9
+ * Tamaño del icono. Presets: `sm` 16 · `md` 20 · `lg` 24 · `xl` 32,
10
+ * o un número en píxeles. Sin `size`, usa `1em` (hereda del texto) / className.
11
+ */
12
+ size?: BonsaifIconSize;
13
+ };
14
+ /**
15
+ * Factory para iconos Bonsaif: viewBox 24×24 fijo, `currentColor`, tamaño vía `size` o className.
16
+ */
17
+ export declare function createIcon(displayName: string, children: ReactNode): import('react').ForwardRefExoticComponent<Omit<BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
18
+ /** Variante relleno (carpetas / badges de archivo). */
19
+ export declare function createFilledIcon(displayName: string, children: ReactNode): import('react').ForwardRefExoticComponent<Omit<BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
20
+ //# sourceMappingURL=createIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/createIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtF,0CAA0C;AAC1C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AASjE,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAG5E;AAED,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IACvD,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAWF;;GAEG;AACH,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,2HA6BlE;AAED,uDAAuD;AACvD,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,2HAyBxE"}
@@ -0,0 +1,42 @@
1
+ /** Carpeta clásica rellena (tab + cuerpo). */
2
+ export declare const FileFolderIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
3
+ export declare const FilePdfIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
4
+ export declare const FileDocIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
5
+ export declare const FileDocxIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
6
+ export declare const FileTxtIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
7
+ /** @deprecated alias de FileDocxIcon */
8
+ export declare const FileWordIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
9
+ export declare const FileCsvIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
10
+ export declare const FileXlsIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
11
+ export declare const FileXlsxIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
12
+ /** @deprecated alias de FileXlsxIcon */
13
+ export declare const FileExcelIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
14
+ export declare const FilePptIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
15
+ export declare const FilePptxIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
16
+ /** @deprecated alias de FilePptxIcon */
17
+ export declare const FilePowerpointIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
18
+ export declare const FileFigIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
19
+ export declare const FileAiIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
20
+ export declare const FilePsdIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
21
+ export declare const FileInddIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
22
+ export declare const FileAepIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
23
+ export declare const FileSvgIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
24
+ export declare const FileMp3Icon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
25
+ export declare const FileWavIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
26
+ export declare const FileAudioIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
27
+ export declare const FileMp4Icon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
28
+ export declare const FileMpegIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
29
+ export declare const FileAviIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
30
+ export declare const FileMkvIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
31
+ export declare const FileVideoIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
32
+ export declare const FileZipIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
33
+ export declare const FileRarIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
34
+ export declare const FileImgIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
35
+ export declare const FileJpgIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
36
+ export declare const FilePngIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
37
+ /** @deprecated alias de FileImgIcon */
38
+ export declare const FileImageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
39
+ export declare const FileCodeIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
40
+ export declare const FileDocfyIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
41
+ export declare const FileGenericIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').BonsaifIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
42
+ //# sourceMappingURL=fileIcons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileIcons.d.ts","sourceRoot":"","sources":["../../../src/components/icons/fileIcons.tsx"],"names":[],"mappings":"AAgDA,8CAA8C;AAC9C,eAAO,MAAM,cAAc,gJAM1B,CAAC;AAGF,eAAO,MAAM,WAAW,gJAAwC,CAAC;AACjE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,YAAY,gJAAyC,CAAC;AACnE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,wCAAwC;AACxC,eAAO,MAAM,YAAY,gJAAe,CAAC;AAGzC,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,YAAY,gJAAyC,CAAC;AACnE,wCAAwC;AACxC,eAAO,MAAM,aAAa,gJAAe,CAAC;AAG1C,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,YAAY,gJAAyC,CAAC;AACnE,wCAAwC;AACxC,eAAO,MAAM,kBAAkB,gJAAe,CAAC;AAG/C,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,UAAU,gJAAsC,CAAC;AAC9D,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,YAAY,gJAAyC,CAAC;AACnE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAGhE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,aAAa,gJAQzB,CAAC;AAGF,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,YAAY,gJAAyC,CAAC;AACnE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,aAAa,gJAQzB,CAAC;AAGF,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAGhE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,eAAO,MAAM,WAAW,gJAAuC,CAAC;AAChE,uCAAuC;AACvC,eAAO,MAAM,aAAa,gJAAc,CAAC;AAGzC,eAAO,MAAM,YAAY,gJAexB,CAAC;AAEF,eAAO,MAAM,aAAa,gJASzB,CAAC;AAEF,eAAO,MAAM,eAAe,gJAA4C,CAAC"}
@@ -0,0 +1,8 @@
1
+ export type FileTypeIconKind = "folder" | "pdf" | "doc" | "docx" | "txt" | "csv" | "xls" | "xlsx" | "ppt" | "pptx" | "fig" | "ai" | "psd" | "indd" | "aep" | "svg" | "mp3" | "wav" | "audio" | "mp4" | "mpeg" | "avi" | "mkv" | "video" | "zip" | "rar" | "img" | "jpg" | "png" | "code" | "docfy" | "generic"
2
+ /** Aliases legacy */
3
+ | "word" | "excel" | "powerpoint" | "image";
4
+ /** Colores sugeridos (estilo Drive / Material). */
5
+ export declare const FILE_TYPE_ICON_COLOR: Record<FileTypeIconKind, string>;
6
+ /** Todos los kinds (sin aliases) para galerías / docs. */
7
+ export declare const FILE_TYPE_ICON_KINDS: FileTypeIconKind[];
8
+ //# sourceMappingURL=fileTypeIconMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileTypeIconMeta.d.ts","sourceRoot":"","sources":["../../../src/components/icons/fileTypeIconMeta.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,KAAK,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,MAAM,GACN,KAAK,GACL,IAAI,GACJ,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,OAAO,GACP,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,OAAO,GACP,SAAS;AACX,qBAAqB;GACnB,MAAM,GACN,OAAO,GACP,YAAY,GACZ,OAAO,CAAC;AAEZ,mDAAmD;AACnD,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAqCjE,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,oBAAoB,EAAE,gBAAgB,EAiClD,CAAC"}
@@ -0,0 +1,8 @@
1
+ export { createFilledIcon, createIcon, resolveIconSizePx, } from './createIcon';
2
+ export type { BonsaifIconProps, BonsaifIconSize } from './createIcon';
3
+ export { FileAepIcon, FileAiIcon, FileAudioIcon, FileAviIcon, FileCodeIcon, FileCsvIcon, FileDocIcon, FileDocfyIcon, FileDocxIcon, FileExcelIcon, FileFigIcon, FileFolderIcon, FileGenericIcon, FileImageIcon, FileImgIcon, FileInddIcon, FileJpgIcon, FileMkvIcon, FileMp3Icon, FileMp4Icon, FileMpegIcon, FilePdfIcon, FilePngIcon, FilePowerpointIcon, FilePptIcon, FilePptxIcon, FilePsdIcon, FileRarIcon, FileSvgIcon, FileTxtIcon, FileVideoIcon, FileWavIcon, FileWordIcon, FileXlsIcon, FileXlsxIcon, FileZipIcon, } from './fileIcons';
4
+ export { default as FileTypeIcon } from './FileTypeIcon';
5
+ export type { FileTypeIconProps } from './FileTypeIcon';
6
+ export { FILE_TYPE_ICON_COLOR, FILE_TYPE_ICON_KINDS } from './fileTypeIconMeta';
7
+ export type { FileTypeIconKind } from './fileTypeIconMeta';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EACL,WAAW,EACX,UAAU,EACV,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,GACZ,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAChF,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export { BonsaifButton } from './BonsaifButton';
2
2
  export type { BonsaifButtonProps } from './BonsaifButton';
3
3
  export * from './composition';
4
+ export * from './icons';
4
5
  export * from './ui';
5
6
  export { default as AuthShell } from './layout/AuthShell';
6
7
  export type { AuthShellNavItem, AuthShellProps, AuthShellUser } from './layout/AuthShell';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,cAAc,eAAe,CAAC;AAC9B,cAAc,MAAM,CAAC;AACrB,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BonsaifUIToaster.d.ts","sourceRoot":"","sources":["../../../src/components/notifications/BonsaifUIToaster.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,wBAAwB,CAAC;AAkChC,KAAK,qBAAqB,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AAE5D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,QAA0B,GAC3B,EAAE,qBAAqB,2CAQvB"}
1
+ {"version":3,"file":"BonsaifUIToaster.d.ts","sourceRoot":"","sources":["../../../src/components/notifications/BonsaifUIToaster.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,wBAAwB,CAAC;AAkChC,KAAK,qBAAqB,GAAG,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AAE5D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,QAA0B,GAC3B,EAAE,qBAAqB,2CAmBvB"}
@@ -4,6 +4,8 @@ export type VideoPlayerProps = {
4
4
  title?: string;
5
5
  downloadName?: string;
6
6
  className?: string;
7
+ /** Usa include cuando el video requiere sesión (p. ej. proxy autenticado). */
8
+ fetchCredentials?: RequestCredentials;
7
9
  };
8
- export default function VideoPlayer({ src, poster, title, downloadName, className, }: VideoPlayerProps): import("react/jsx-runtime").JSX.Element;
10
+ export default function VideoPlayer({ src, poster, title, downloadName, className, fetchCredentials, }: VideoPlayerProps): import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=VideoPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/VideoPlayer.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAcF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,GAAG,EACH,MAAM,EACN,KAAe,EACf,YAAY,EACZ,SAAS,GACV,EAAE,gBAAgB,2CA8JlB"}
1
+ {"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/VideoPlayer.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,kBAAkB,CAAC;CACvC,CAAC;AAcF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,GAAG,EACH,MAAM,EACN,KAAe,EACf,YAAY,EACZ,SAAS,EACT,gBAAyB,GAC1B,EAAE,gBAAgB,2CAqOlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bonsaif-ui",
3
- "version": "0.1.164",
3
+ "version": "0.1.166",
4
4
  "description": "Reusable Bonsaif UI components for Bonsaif applications.",
5
5
  "type": "module",
6
6
  "author": "Bonsaif",