@fluentui/react-file-type-icons
Advanced tools
Comparing version 8.8.6 to 8.8.7
# Change Log - @fluentui/react-file-type-icons | ||
This log was last generated on Fri, 27 Jan 2023 07:36:27 GMT and should not be manually modified. | ||
This log was last generated on Mon, 30 Jan 2023 07:35:29 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [8.8.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-file-type-icons_v8.8.7) | ||
Mon, 30 Jan 2023 07:35:29 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-file-type-icons_v8.8.6..@fluentui/react-file-type-icons_v8.8.7) | ||
### Patches | ||
- Update CDN information for filetype icons, new icons for loop and clipchamp ([PR #26276](https://github.com/microsoft/fluentui/pull/26276) by caperez@microsoft.com) | ||
## [8.8.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-file-type-icons_v8.8.6) | ||
Fri, 27 Jan 2023 07:36:27 GMT | ||
Fri, 27 Jan 2023 07:37:51 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-file-type-icons_v8.8.5..@fluentui/react-file-type-icons_v8.8.6) | ||
@@ -11,0 +20,0 @@ |
@@ -51,2 +51,5 @@ define(["require", "exports"], function (require, exports) { | ||
}, | ||
clipchamp: { | ||
extensions: ['clipchamp'], | ||
}, | ||
code: { | ||
@@ -53,0 +56,0 @@ extensions: [ |
import type { IIconOptions } from '@fluentui/style-utilities'; | ||
export declare const DEFAULT_BASE_URL = "https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/"; | ||
export declare const DEFAULT_BASE_URL = "https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/"; | ||
export declare const ICON_SIZES: number[]; | ||
export declare function initializeFileTypeIcons(baseUrl?: string, options?: Partial<IIconOptions>): void; |
@@ -7,3 +7,3 @@ define(["require", "exports", "react", "@fluentui/style-utilities", "./FileTypeIconMap"], function (require, exports, React, style_utilities_1, FileTypeIconMap_1) { | ||
var SVG_SUFFIX = '_svg'; | ||
exports.DEFAULT_BASE_URL = 'https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/'; | ||
exports.DEFAULT_BASE_URL = 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/'; | ||
exports.ICON_SIZES = [16, 20, 24, 32, 40, 48, 64, 96]; | ||
@@ -10,0 +10,0 @@ function initializeFileTypeIcons(baseUrl, options) { |
@@ -50,2 +50,5 @@ "use strict"; | ||
}, | ||
clipchamp: { | ||
extensions: ['clipchamp'], | ||
}, | ||
code: { | ||
@@ -52,0 +55,0 @@ extensions: [ |
import type { IIconOptions } from '@fluentui/style-utilities'; | ||
export declare const DEFAULT_BASE_URL = "https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/"; | ||
export declare const DEFAULT_BASE_URL = "https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/"; | ||
export declare const ICON_SIZES: number[]; | ||
export declare function initializeFileTypeIcons(baseUrl?: string, options?: Partial<IIconOptions>): void; |
@@ -9,3 +9,3 @@ "use strict"; | ||
var SVG_SUFFIX = '_svg'; | ||
exports.DEFAULT_BASE_URL = 'https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/'; | ||
exports.DEFAULT_BASE_URL = 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/'; | ||
exports.ICON_SIZES = [16, 20, 24, 32, 40, 48, 64, 96]; | ||
@@ -12,0 +12,0 @@ function initializeFileTypeIcons(baseUrl, options) { |
@@ -47,2 +47,5 @@ /** | ||
}, | ||
clipchamp: { | ||
extensions: ['clipchamp'], | ||
}, | ||
code: { | ||
@@ -49,0 +52,0 @@ extensions: [ |
import type { IIconOptions } from '@fluentui/style-utilities'; | ||
export declare const DEFAULT_BASE_URL = "https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/"; | ||
export declare const DEFAULT_BASE_URL = "https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/"; | ||
export declare const ICON_SIZES: number[]; | ||
export declare function initializeFileTypeIcons(baseUrl?: string, options?: Partial<IIconOptions>): void; |
@@ -6,3 +6,3 @@ import * as React from 'react'; | ||
var SVG_SUFFIX = '_svg'; | ||
export var DEFAULT_BASE_URL = 'https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20221015.001/assets/item-types/'; | ||
export var DEFAULT_BASE_URL = 'https://res-1.cdn.office.net/files/fabric-cdn-prod_20230106.001/assets/item-types/'; | ||
export var ICON_SIZES = [16, 20, 24, 32, 40, 48, 64, 96]; | ||
@@ -9,0 +9,0 @@ export function initializeFileTypeIcons(baseUrl, options) { |
{ | ||
"name": "@fluentui/react-file-type-icons", | ||
"version": "8.8.6", | ||
"version": "8.8.7", | ||
"description": "Fluent UI React file type icon set.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
@@ -15,10 +15,10 @@ # @fluentui/react-file-type-icons | ||
// Register icons and pull the fonts from the default SharePoint cdn. | ||
// Register icons and pull the fonts from the default Microsoft Fluent CDN: | ||
initializeFileTypeIcons(); | ||
// ...or, register icons and pull the fonts from your own cdn: | ||
// Or register icons and pull the fonts from a different CDN or folder path: | ||
initializeFileTypeIcons('https://my.cdn.com/path/to/icons/'); | ||
``` | ||
**NOTE:** Do not use the `item-types-fluent` icon set that was previously uploaded to the Fabric CDN; it is deprecated. | ||
**NOTE:** Proceed carefully if you override the default CDN location, whose contents may not match the registered file type icons and supported extensions. Do not use the `item-types-fluent` icon set that was previously uploaded to the Fluent CDN; it's deprecated. | ||
@@ -25,0 +25,0 @@ ## Usage in code |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
353502
5717