[Feature]: Icon map as global object or UMD
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
The icon map is currently available as: amd module, commonjs module, es module and typescript. This makes it hard to integrate into legacy web applications that need updated look and feel but do not use a module bundler.
One idea is to bundle the icon map as a global object, i.e. window.fabric.fileTypesIconMap. Another common pattern in the JavaScript community is the Universal Module Definition (UMD) that exports to either a amd, cjs or global object, depending on what module api is available in the environment.
Have you discussed this feature with our team
No response
Additional context
No response
Validations
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Priority
None
@Hotell do you have any insight about this? Would it be something feasible for us to do?
@gabbsmo what type of icon map are you referring ? this seems to be v8 related -> @fluentui/react-file-type-icons can you verify ?
You are right, it is that npm package.
no assignees
Gentle ping that this issue needs attention.