@jobber/hooks 1.9.1 → 1.10.0

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
@@ -8,6 +8,17 @@ menu: Changelog
8
8
  All notable changes to this project will be documented in this file.
9
9
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
10
10
 
11
+ # [1.10.0](https://github.com/GetJobber/atlantis/compare/@jobber/hooks@1.9.1...@jobber/hooks@1.10.0) (2022-01-21)
12
+
13
+
14
+ ### Features
15
+
16
+ * **hooks:** Create the hooks index dynamically ([#839](https://github.com/GetJobber/atlantis/issues/839)) ([dc770a8](https://github.com/GetJobber/atlantis/commit/dc770a813268cc2f3d011e2a559761043ae398ab))
17
+
18
+
19
+
20
+
21
+
11
22
  ## [1.9.1](https://github.com/GetJobber/atlantis/compare/@jobber/hooks@1.9.0...@jobber/hooks@1.9.1) (2021-12-15)
12
23
 
13
24
  **Note:** Version bump only for package @jobber/hooks
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./useResizeObserver";
2
- export * from "./useFormState";
3
- export * from "./useOnKeyDown";
1
+ export * from "./useAssert";
4
2
  export * from "./useCollectionQuery";
3
+ export * from "./useFormState";
5
4
  export * from "./useIsMounted";
5
+ export * from "./useOnKeyDown";
6
6
  export * from "./usePasswordStrength";
7
7
  export * from "./useRefocusOnActivator";
8
- export * from "./useAssert";
8
+ export * from "./useResizeObserver";
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@ function __export(m) {
3
3
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
4
  }
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./useResizeObserver"));
7
- __export(require("./useFormState"));
8
- __export(require("./useOnKeyDown"));
6
+ __export(require("./useAssert"));
9
7
  __export(require("./useCollectionQuery"));
8
+ __export(require("./useFormState"));
10
9
  __export(require("./useIsMounted"));
10
+ __export(require("./useOnKeyDown"));
11
11
  __export(require("./usePasswordStrength"));
12
12
  __export(require("./useRefocusOnActivator"));
13
- __export(require("./useAssert"));
13
+ __export(require("./useResizeObserver"));
@@ -1,11 +1,8 @@
1
- /// <reference types="react" />
2
- /// <reference types="@emotion/core" />
3
- /// <reference types="theme-ui" />
4
1
  import calculateStrength from "zxcvbn";
5
2
  export declare function usePasswordStrength(password: string, dictionary?: string[]): {
6
3
  guesses: number;
7
4
  score: calculateStrength.ZXCVBNScore;
8
5
  warning: calculateStrength.ZXCVBNFeedbackWarning;
9
6
  suggestions: string[];
10
- timeToCrack: import("react").ReactText;
7
+ timeToCrack: string | number;
11
8
  };
@@ -0,0 +1 @@
1
+ export * from "./useResizeObserver";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ __export(require("./useResizeObserver"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/hooks",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -40,5 +40,5 @@
40
40
  "@apollo/client": "^3.3.16",
41
41
  "react": "^16.8.6"
42
42
  },
43
- "gitHead": "d471d8a5f9b637db4bf641ee3e169b4e4de12031"
43
+ "gitHead": "0bed1d6c9e1735478cfb4c117289cde4c6d3727c"
44
44
  }