@atlaskit/smart-hooks 2.1.0 → 2.2.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
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/smart-hooks
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4fd26afe1912d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4fd26afe1912d) -
8
+ Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
9
+
3
10
  ## 2.1.0
4
11
 
5
12
  ### Minor Changes
@@ -21,7 +21,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
21
21
  source: '@atlaskit/smart-hooks/use-user-recommendations',
22
22
  attributes: _objectSpread({
23
23
  packageName: "@atlaskit/smart-hooks",
24
- packageVersion: "2.0.0"
24
+ packageVersion: "2.1.0"
25
25
  }, attributes)
26
26
  };
27
27
  };
@@ -10,7 +10,7 @@ const createEvent = (eventType, action, actionSubject, attributes = {}) => ({
10
10
  source: '@atlaskit/smart-hooks/use-user-recommendations',
11
11
  attributes: {
12
12
  packageName: "@atlaskit/smart-hooks",
13
- packageVersion: "2.0.0",
13
+ packageVersion: "2.1.0",
14
14
  ...attributes
15
15
  }
16
16
  });
@@ -15,7 +15,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
15
15
  source: '@atlaskit/smart-hooks/use-user-recommendations',
16
16
  attributes: _objectSpread({
17
17
  packageName: "@atlaskit/smart-hooks",
18
- packageVersion: "2.0.0"
18
+ packageVersion: "2.1.0"
19
19
  }, attributes)
20
20
  };
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl';
2
2
  import { type UserSearchItem } from '@atlaskit/smart-common';
3
3
  import { type OptionData } from '@atlaskit/user-picker';
4
- declare const _default: (recommendations: UserSearchItem[], intl: IntlShape) => OptionData[];
5
4
  export default _default;
5
+ declare function _default(recommendations: UserSearchItem[], intl: IntlShape): OptionData[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-hooks",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -17,13 +17,13 @@
17
17
  "team": "Search Platform: Search Experience"
18
18
  },
19
19
  "dependencies": {
20
- "@atlaskit/afm-i18n-platform-smart-experiences-smart-hooks": "2.7.0",
20
+ "@atlaskit/afm-i18n-platform-smart-experiences-smart-hooks": "2.202.0",
21
21
  "@atlaskit/analytics-gas-types": "^6.0.0",
22
22
  "@atlaskit/analytics-listeners": "^11.1.0",
23
23
  "@atlaskit/analytics-next": "^12.3.0",
24
24
  "@atlaskit/smart-common": "^3.0.0",
25
25
  "@atlaskit/ufo": "^1.0.0",
26
- "@atlaskit/user-picker": "^13.7.0",
26
+ "@atlaskit/user-picker": "^13.8.0",
27
27
  "@babel/runtime": "^7.0.0",
28
28
  "lodash": "^4.17.21",
29
29
  "memoize-one": "^6.0.0",