@iconify/utils
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -5,2 +5,1 @@ /** | ||
export declare function toBoolean(name: string, value: unknown, defaultValue: boolean): boolean; | ||
//# sourceMappingURL=bool.d.ts.map |
@@ -28,2 +28,1 @@ "use strict"; | ||
exports.toBoolean = toBoolean; | ||
//# sourceMappingURL=bool.js.map |
@@ -8,2 +8,1 @@ import type { FullIconCustomisations } from '../customisations'; | ||
export declare function compare(item1: FullIconCustomisations, item2: FullIconCustomisations, compareDimensions?: boolean): boolean; | ||
//# sourceMappingURL=compare.d.ts.map |
@@ -25,2 +25,1 @@ "use strict"; | ||
exports.compare = compare; | ||
//# sourceMappingURL=compare.js.map |
@@ -33,2 +33,1 @@ /** | ||
export declare function mergeCustomisations(defaults: FullIconCustomisations, item: IconifyIconCustomisations): FullIconCustomisations; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -87,2 +87,1 @@ "use strict"; | ||
exports.mergeCustomisations = mergeCustomisations; | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,1 @@ /** | ||
export declare function rotateFromString(value: string): number; | ||
//# sourceMappingURL=rotate.d.ts.map |
@@ -42,2 +42,1 @@ "use strict"; | ||
exports.rotateFromString = rotateFromString; | ||
//# sourceMappingURL=rotate.js.map |
@@ -17,2 +17,1 @@ import type { IconifyIconCustomisations } from '../customisations'; | ||
export declare function alignmentFromString(custom: IconifyIconCustomisations, align: string): void; | ||
//# sourceMappingURL=shorthand.d.ts.map |
@@ -49,2 +49,1 @@ "use strict"; | ||
exports.alignmentFromString = alignmentFromString; | ||
//# sourceMappingURL=shorthand.js.map |
@@ -8,2 +8,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function expandIconSet(data: IconifyJSON): void; | ||
//# sourceMappingURL=expand.d.ts.map |
@@ -27,2 +27,1 @@ "use strict"; | ||
exports.expandIconSet = expandIconSet; | ||
//# sourceMappingURL=expand.js.map |
@@ -8,2 +8,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function getIconData(data: IconifyJSON, name: string, full: false): IconifyIcon | null; | ||
//# sourceMappingURL=get-icon.d.ts.map |
@@ -47,2 +47,1 @@ "use strict"; | ||
exports.getIconData = getIconData; | ||
//# sourceMappingURL=get-icon.js.map |
@@ -10,2 +10,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function getIcons(data: IconifyJSON, icons: string[], not_found?: boolean): IconifyJSON | null; | ||
//# sourceMappingURL=get-icons.d.ts.map |
@@ -78,2 +78,1 @@ "use strict"; | ||
exports.getIcons = getIcons; | ||
//# sourceMappingURL=get-icons.js.map |
@@ -43,2 +43,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function minifyIconSet(data: IconifyJSON): void; | ||
//# sourceMappingURL=minify.d.ts.map |
@@ -127,2 +127,1 @@ "use strict"; | ||
exports.minifyIconSet = minifyIconSet; | ||
//# sourceMappingURL=minify.js.map |
@@ -21,2 +21,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function parseIconSet(data: IconifyJSON, callback: SplitIconSetCallback, list?: AddIconSetTracking): boolean | string[]; | ||
//# sourceMappingURL=parse.d.ts.map |
@@ -85,2 +85,1 @@ "use strict"; | ||
exports.parseIconSet = parseIconSet; | ||
//# sourceMappingURL=parse.js.map |
@@ -15,2 +15,1 @@ import type { IconifyJSON } from '@iconify/types'; | ||
export declare function validateIconSet(obj: unknown, options?: IconSetValidationOptions): IconifyJSON; | ||
//# sourceMappingURL=validate.d.ts.map |
@@ -276,2 +276,1 @@ "use strict"; | ||
exports.validateIconSet = validateIconSet; | ||
//# sourceMappingURL=validate.js.map |
@@ -22,2 +22,1 @@ import type { IconifyOptional, IconifyDimenisons, IconifyIcon } from '@iconify/types'; | ||
export declare function fullIcon(data: IconifyIcon): FullIconifyIcon; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -39,2 +39,1 @@ "use strict"; | ||
exports.fullIcon = fullIcon; | ||
//# sourceMappingURL=index.js.map |
@@ -7,2 +7,1 @@ import type { IconifyOptional } from '@iconify/types'; | ||
export declare function mergeIconData<T extends IconifyIcon | FullIconifyIcon>(icon: T, alias: IconifyOptional): T; | ||
//# sourceMappingURL=merge.d.ts.map |
@@ -38,2 +38,1 @@ "use strict"; | ||
exports.mergeIconData = mergeIconData; | ||
//# sourceMappingURL=merge.js.map |
@@ -23,2 +23,1 @@ /** | ||
export declare const validateIcon: (icon: IconifyIconName | null, allowSimpleName?: boolean | undefined) => boolean; | ||
//# sourceMappingURL=name.d.ts.map |
@@ -75,2 +75,1 @@ "use strict"; | ||
exports.validateIcon = validateIcon; | ||
//# sourceMappingURL=name.js.map |
@@ -27,2 +27,1 @@ import type { FullIconifyIcon } from '../icon'; | ||
export declare function iconToSVG(icon: FullIconifyIcon, customisations: FullIconCustomisations): IconifyIconBuildResult; | ||
//# sourceMappingURL=build.d.ts.map |
@@ -181,2 +181,1 @@ "use strict"; | ||
exports.iconToSVG = iconToSVG; | ||
//# sourceMappingURL=build.js.map |
@@ -6,2 +6,1 @@ /** | ||
export declare function replaceIDs(body: string, prefix?: string | (() => string)): string; | ||
//# sourceMappingURL=id.d.ts.map |
@@ -58,2 +58,1 @@ "use strict"; | ||
exports.replaceIDs = replaceIDs; | ||
//# sourceMappingURL=id.js.map |
@@ -12,2 +12,1 @@ /** | ||
export declare function calculateSize(size: string | number, ratio: number, precision?: number): string | number; | ||
//# sourceMappingURL=size.d.ts.map |
@@ -61,2 +61,1 @@ "use strict"; | ||
exports.calculateSize = calculateSize; | ||
//# sourceMappingURL=size.js.map |
@@ -5,3 +5,3 @@ { | ||
"author": "Vjacheslav Trushkin", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "bugs": "https://github.com/iconify/iconify/issues", |
@@ -6,4 +6,4 @@ { | ||
"declaration": true, | ||
"declarationMap": true, | ||
"sourceMap": true, | ||
"declarationMap": false, | ||
"sourceMap": false, | ||
"composite": true, | ||
@@ -10,0 +10,0 @@ "strict": true, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109477