@spur.us/monocle-react 0.0.10 → 0.0.14

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Monocle-React
2
+
3
+ The `monocle-react` package is currently in closed beta.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Monocle } from "@spur.us/monocle";
2
+ import { Monocle } from "@spur.us/monocle-types";
3
3
  interface MonocoleProviderProps {
4
4
  children: React.ReactNode;
5
5
  instance?: Monocle;
@@ -1 +1 @@
1
- {"version":3,"file":"MonocleProvider.js","sourceRoot":"","sources":["../src/MonocleProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAQvC,IAAM,eAAe,GAAG,UAAC,EAA6C;QAA3C,QAAQ,cAAA,EAAE,QAAQ,cAAA;IAC3C,SAAS,CAAC,QAAQ,EAAE,sDAAsD,CAAC,CAAC;IAC5E,OAAO,CACL,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,IAAI,IAAI,GAAI,CACzE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"MonocleProvider.js","sourceRoot":"","sources":["../src/MonocleProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAOvC,IAAM,eAAe,GAAG,UAAC,EAA6C;QAA3C,QAAQ,cAAA,EAAE,QAAQ,cAAA;IAC3C,SAAS,CAAC,QAAQ,EAAE,sDAAsD,CAAC,CAAC;IAC5E,OAAO,CACL,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,IAAI,IAAI,GAAI,CACzE,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/dist/hooks.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Monocle } from "@spur.us/monocle";
1
+ import { Monocle } from "@spur.us/monocle-types";
2
2
  export declare const useMonocle: () => Monocle;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spur.us/monocle-react",
3
- "version": "0.0.10",
3
+ "version": "0.0.14",
4
4
  "description": "",
5
5
  "author": "Spur <support@spur.us> (https://spur.us/)",
6
6
  "main": "./dist/index.js",
@@ -22,10 +22,10 @@
22
22
  "lint": "eslint ./src --ext .ts"
23
23
  },
24
24
  "peerDependencies": {
25
- "react": ">=16",
26
- "@spur.us/monocle": "^0.0.4"
25
+ "react": ">=16"
27
26
  },
28
27
  "dependencies": {
28
+ "@spur.us/monocle-types": "^0.0.13",
29
29
  "hoist-non-react-statics": "^3.3.2",
30
30
  "tiny-invariant": "^1.2.0"
31
31
  },