@iconify/react
Advanced tools
Comparing version
@@ -29,9 +29,2 @@ import { IconifyIcon } from '@iconify/types'; | ||
/** | ||
* Storage types | ||
* | ||
* @deprecated This type is not used anymore | ||
*/ | ||
declare type BrowserStorageType = 'local' | 'session'; | ||
/** | ||
* Get SVG attributes and content from icon + customisations | ||
@@ -58,16 +51,2 @@ * | ||
/** | ||
* Disable cache | ||
* | ||
* @deprecated No longer used | ||
*/ | ||
export declare function disableCache(storage: IconifyBrowserCacheType): void; | ||
/** | ||
* Enable cache | ||
* | ||
* @deprecated No longer used | ||
*/ | ||
export declare function enableCache(storage: IconifyBrowserCacheType): void; | ||
/** | ||
* Signature for getAPIConfig | ||
@@ -190,19 +169,2 @@ */ | ||
/** | ||
* Interface for exported functions | ||
* | ||
* @deprecated This type is not used anymore | ||
*/ | ||
export declare interface IconifyBrowserCacheFunctions { | ||
enableCache: (storage: IconifyBrowserCacheType) => void; | ||
disableCache: (storage: IconifyBrowserCacheType) => void; | ||
} | ||
/** | ||
* Cache types | ||
* | ||
* @deprecated This type is not used anymore | ||
*/ | ||
export declare type IconifyBrowserCacheType = BrowserStorageType | 'all'; | ||
/** | ||
* Interface for exported builder functions | ||
@@ -339,8 +301,2 @@ */ | ||
/** | ||
* Older, badly named, version of iconLoaded() | ||
* | ||
* @deprecated | ||
*/ | ||
iconExists: (name: string) => boolean; | ||
/** | ||
* Get icon data with all properties | ||
@@ -371,5 +327,3 @@ * | ||
*/ | ||
declare function iconLoaded(name: string): boolean; | ||
export { iconLoaded as iconExists } | ||
export { iconLoaded } | ||
export declare function iconLoaded(name: string): boolean; | ||
@@ -376,0 +330,0 @@ /** |
@@ -1696,18 +1696,2 @@ 'use client'; | ||
/** | ||
* Enable cache | ||
* | ||
* @deprecated No longer used | ||
*/ | ||
function enableCache(storage) { | ||
// | ||
} | ||
/** | ||
* Disable cache | ||
* | ||
* @deprecated No longer used | ||
*/ | ||
function disableCache(storage) { | ||
// | ||
} | ||
/** | ||
* Initialise stuff | ||
@@ -1904,2 +1888,2 @@ */ | ||
export { Icon, InlineIcon, _api, addAPIProvider, addCollection, addIcon, iconToSVG as buildIcon, calculateSize, disableCache, enableCache, getIcon, iconLoaded as iconExists, iconLoaded, listIcons, loadIcon, loadIcons, replaceIDs, setCustomIconLoader, setCustomIconsLoader }; | ||
export { Icon, InlineIcon, _api, addAPIProvider, addCollection, addIcon, iconToSVG as buildIcon, calculateSize, getIcon, iconLoaded, listIcons, loadIcon, loadIcons, replaceIDs, setCustomIconLoader, setCustomIconsLoader }; |
@@ -6,3 +6,6 @@ { | ||
"type": "module", | ||
"version": "5.2.1", | ||
"version": "6.0.0", | ||
"publishConfig": { | ||
"tag": "next" | ||
}, | ||
"license": "MIT", | ||
@@ -9,0 +12,0 @@ "bugs": "https://github.com/iconify/iconify/issues", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
192318
-1.34%5811
-1.29%