@imposium-hub/components 1.36.3 → 1.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Util.ts CHANGED
@@ -167,6 +167,7 @@ export const isObjEmpty = (obj : any) => {
167
167
  };
168
168
 
169
169
  export const validateAssetMimetype = (file : File) : boolean => {
170
+
170
171
  const [fileType, fileFormat] = file.type.split('/');
171
172
  const nameSegments = file.name.split('.');
172
173
  const extension = nameSegments[nameSegments.length - 1];
@@ -201,6 +202,7 @@ export const validateAssetMimetype = (file : File) : boolean => {
201
202
  export const isFont = (mimeType, extension) => {
202
203
 
203
204
  const accepted = [
205
+ 'font',
204
206
  'otf',
205
207
  'sfnt',
206
208
  'ttf',