@onehat/ui 0.3.347 → 0.3.349

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.347",
3
+ "version": "0.3.349",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -692,6 +692,7 @@ export function ComboComponent(props) {
692
692
  'disablePrint',
693
693
  'selectorId',
694
694
  'selectorSelected',
695
+ 'usePermissions',
695
696
  ]);
696
697
  const WhichGrid = isEditor ? WindowedGridEditor : Grid;
697
698
  grid = <WhichGrid
@@ -273,6 +273,7 @@ function TagComponent(props) {
273
273
  onGridSave={onGridSave}
274
274
  onGridDelete={onGridDelete}
275
275
  tooltip={tooltip}
276
+ usePermissions={props.usePermissions}
276
277
  {..._combo}
277
278
  />}
278
279
  </Column>
@@ -1580,17 +1580,16 @@ export const commonApplicationMimeTypes = [
1580
1580
  'application/gzip',
1581
1581
  'application/javascript',
1582
1582
  'application/json',
1583
- 'application/msword',
1583
+ 'application/msword', // .doc
1584
1584
  'application/pdf',
1585
1585
  'application/SGML',
1586
1586
  'application/sql',
1587
1587
  'application/vnd.adobe.xdp+xml',
1588
- 'application/vnd.ms-excel',
1589
- 'application/vnd.ms-excel.*',
1590
- 'application/vnd.ms-office.*',
1591
- 'application/vnd.ms-powerpoint',
1592
- 'application/vnd.ms-word.*',
1593
- 'application/vnd.openxmlformats*',
1588
+ 'application/vnd.ms-excel', // .xls
1589
+ 'application/vnd.ms-powerpoint', // .ppt
1590
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx
1591
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
1592
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
1594
1593
  'application/xml',
1595
1594
  'application/zip',
1596
1595
  ];