@illuma-ai/icons 1.1.0 → 2.0.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.
@@ -1,11 +1,12 @@
1
1
  import { FILE_ICONS, FileIconName, FileIconData } from './icons.generated';
2
+ /** Generic fallback for unknown/other file types (Office 365 mark). */
2
3
  export declare const DEFAULT_FILE_ICON: FileIconName;
3
4
  export interface ResolvedFileIcon extends FileIconData {
4
5
  readonly name: FileIconName;
5
6
  }
6
7
  /**
7
8
  * Resolve a file's icon from its filename and/or MIME type. Resolution order:
8
- * exact extension → exact MIME → MIME category → {@link DEFAULT_FILE_ICON}.
9
+ * exact extension → exact MIME → {@link DEFAULT_FILE_ICON}.
9
10
  *
10
11
  * @param input filename (e.g. `report.docx`) or bare extension (`docx`)
11
12
  * @param mimeType optional MIME type to disambiguate extension-less inputs