@dotss/ui 1.6.0 → 1.6.1

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": "@dotss/ui",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "React UI components for Dotss",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "author": "connectingthedots <admin@thedotscorp.com>",
45
- "homepage": "https://main--65f7af68437d3918eba05c9b.chromatic.com/",
45
+ "homepage": "https://ui.tictoccroc.com",
46
46
  "repository": {
47
47
  "type": "git",
48
48
  "url": "https://github.com/thedotscorp/dotss.git",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){return window!=null&&window.matchMedia?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1}exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){return typeof window>"u"||!(window!=null&&window.matchMedia)?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}exports.default=e;
@@ -1,5 +1,5 @@
1
1
  function e() {
2
- return window != null && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1;
2
+ return typeof window > "u" || !(window != null && window.matchMedia) ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
3
3
  }
4
4
  export {
5
5
  e as default