@times-components/user-state 0.2.0 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.2](https://github.com/newsuk/times-components/compare/@times-components/user-state@0.3.1...@times-components/user-state@0.3.2) (2022-04-11)
7
+
8
+ **Note:** Version bump only for package @times-components/user-state
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.3.1](https://github.com/newsuk/times-components/compare/@times-components/user-state@0.3.0...@times-components/user-state@0.3.1) (2022-04-11)
15
+
16
+ **Note:** Version bump only for package @times-components/user-state
17
+
18
+
19
+
20
+
21
+
22
+ # [0.3.0](https://github.com/newsuk/times-components/compare/@times-components/user-state@0.2.0...@times-components/user-state@0.3.0) (2022-03-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * **TDP-1413:** removed react native from some components ([#2891](https://github.com/newsuk/times-components/issues/2891)) ([3130586](https://github.com/newsuk/times-components/commit/313058621ff0c6eb5f0ca0bf0d605a8fb1522251))
28
+
29
+
30
+
31
+
32
+
6
33
  # [0.2.0](https://github.com/newsuk/times-components/compare/@times-components/user-state@0.1.69...@times-components/user-state@0.2.0) (2022-02-16)
7
34
 
8
35
 
package/README.md CHANGED
@@ -48,9 +48,6 @@ the fallback.
48
48
  - `subscriber`: Is the user a subscriber
49
49
  - `loggedInOrShared`: Is the user logged in or on a share token (subscriber, RA, RA Expired, share token)
50
50
 
51
- There is a companion tool inside the `@times-components/mocks` for mocking
52
- the `UserState` package and rendering with a specific user state.
53
-
54
51
  ```js
55
52
  // In the test file
56
53
  import { mockUserState } from "@times-components/user-state";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/user-state",
3
- "version": "0.2.0",
3
+ "version": "0.3.2",
4
4
  "description": "Selectively render react components based on current user state",
5
5
  "main": "dist/user-state",
6
6
  "dev": "src/user-state",
@@ -35,8 +35,8 @@
35
35
  "homepage": "https://github.com/newsuk/times-components#readme",
36
36
  "dependencies": {
37
37
  "@storybook/addon-knobs": "5.3.18",
38
- "@times-components/context": "1.2.33",
39
- "@times-components/utils": "6.5.13",
38
+ "@times-components/context": "1.3.0",
39
+ "@times-components/utils": "6.7.0",
40
40
  "prop-types": "15.7.2"
41
41
  },
42
42
  "devDependencies": {
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "1f45f345e9e7e856960d4715bd413b54b2f949c5"
73
+ "gitHead": "6d7884795ab5dfc8923901d3eb1219b0bd23c0b0"
74
74
  }