@teselagen/ui 0.3.28 → 0.3.29

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/index.cjs.js CHANGED
@@ -77420,6 +77420,7 @@ function withSelectTableRecords(_tableFormName, propName = "selectTableRecords")
77420
77420
  );
77421
77421
  }
77422
77422
  __name(withSelectTableRecords, "withSelectTableRecords");
77423
+ const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
77423
77424
  function genericCommandFactory(config) {
77424
77425
  const out = {};
77425
77426
  for (const cmdId in config.commandDefs) {
@@ -78684,6 +78685,7 @@ exports.getTagsAndTagOptions = getTagsAndTagOptions;
78684
78685
  exports.getTextFromEl = getTextFromEl;
78685
78686
  exports.hotkeysById = hotkeysById;
78686
78687
  exports.inventoryIcon = inventoryIcon;
78688
+ exports.isSafari = isSafari;
78687
78689
  exports.keyboardIcon = keyboardIcon;
78688
78690
  exports.mergeSchemas = mergeSchemas;
78689
78691
  exports.moleculeIcon = moleculeIcon;
package/index.es.js CHANGED
@@ -77402,6 +77402,7 @@ function withSelectTableRecords(_tableFormName, propName = "selectTableRecords")
77402
77402
  );
77403
77403
  }
77404
77404
  __name(withSelectTableRecords, "withSelectTableRecords");
77405
+ const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
77405
77406
  function genericCommandFactory(config) {
77406
77407
  const out = {};
77407
77408
  for (const cmdId in config.commandDefs) {
@@ -78667,6 +78668,7 @@ export {
78667
78668
  getTextFromEl,
78668
78669
  hotkeysById,
78669
78670
  inventoryIcon,
78671
+ isSafari,
78670
78672
  keyboardIcon,
78671
78673
  mergeSchemas,
78672
78674
  moleculeIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ui",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
package/src/index.js CHANGED
@@ -63,6 +63,7 @@ export { default as pureNoFunc } from "./utils/pureNoFunc";
63
63
  export * from "./utils/tagUtils";
64
64
  export * from "./utils/hotkeyUtils";
65
65
  export * from "./utils/menuUtils";
66
+ export * from "./utils/browserUtils";
66
67
  export * from "./utils/commandUtils";
67
68
  export * from "./utils/commandControls";
68
69
 
@@ -0,0 +1 @@
1
+ export const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);