Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "adding filetypeicon for campaign item",
"packageName": "@fluentui/react-file-type-icons",
"email": "caperez@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "updating to latest fabric CDN url",
"packageName": "@fluentui/style-utilities",
"email": "caperez@microsoft.com",
"dependentChangeType": "patch"
}
4 changes: 3 additions & 1 deletion packages/react-file-type-icons/src/FileIconType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export enum FileIconType {
portfolio = 20,
album = 21,
listForm = 22,
campaign = 23,
}

export type FileIconTypeInput =
Expand All @@ -52,4 +53,5 @@ export type FileIconTypeInput =
| 19
| 20
| 21
| 22;
| 22
| 23;
1 change: 1 addition & 0 deletions packages/react-file-type-icons/src/FileTypeIconMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ export const FileTypeIconMap: { [key: string]: { extensions?: string[] } } = {
spo: {
extensions: ['aspx'],
},
spocampaign: {},
sponews: {},
spreadsheet: {
extensions: ['odc', 'ods', 'gsheet', 'numbers', 'tsv'],
Expand Down
4 changes: 4 additions & 0 deletions packages/react-file-type-icons/src/getFileTypeIconProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const PLANNER = 'planner';
const PORTFOLIO = 'portfolio';
const ALBUM = 'album';
const LIST_FORM = 'listform';
const CAMPAIGN = 'spocampaign';

export const DEFAULT_ICON_SIZE: FileTypeIconSize = 16;
export type FileTypeIconSize = 16 | 20 | 24 | 32 | 40 | 48 | 64 | 96;
Expand Down Expand Up @@ -167,6 +168,9 @@ export function getFileTypeIconNameFromExtensionOrType(
case FileIconType.listForm:
iconBaseName = LIST_FORM;
break;
case FileIconType.campaign:
iconBaseName = CAMPAIGN;
break;
}
}
return iconBaseName || GENERIC_FILE;
Expand Down
2 changes: 1 addition & 1 deletion packages/style-utilities/etc/style-utilities.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export { DefaultPalette }
export const EdgeChromiumHighContrastSelector = "@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)";

// @public (undocumented)
export const FLUENT_CDN_BASE_URL = "https://res.cdn.office.net/files/fabric-cdn-prod_20251107.003";
export const FLUENT_CDN_BASE_URL = "https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001";

// @public
export function focusClear(): IRawStyle;
Expand Down
2 changes: 1 addition & 1 deletion packages/style-utilities/src/cdn.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const FLUENT_CDN_BASE_URL = 'https://res.cdn.office.net/files/fabric-cdn-prod_20251107.003';
export const FLUENT_CDN_BASE_URL = 'https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001';