@atlaskit/smart-hooks 2.0.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,19 @@
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
+
10
+ ## 2.1.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`7f2eb99bad9b3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f2eb99bad9b3) -
15
+ Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
16
+
3
17
  ## 2.0.0
4
18
 
5
19
  ### Major Changes
package/compass.yml ADDED
@@ -0,0 +1,38 @@
1
+ configVersion: 1
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/b1173e00-f1c9-458d-82d8-19f3d47676e7
3
+ name: '@atlaskit/smart-hooks'
4
+ ownerId: ari:cloud:identity::team/8c518cea-39e4-4a9e-976b-2eec1db07eb2 # Search PlEx
5
+ labels:
6
+ - platform-code
7
+ - platform-afm
8
+ typeId: OTHER
9
+ fields:
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ links:
14
+ - name: Root Repository
15
+ type: REPOSITORY
16
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
+ - name: Slack Channel
18
+ type: CHAT_CHANNEL
19
+ url: https://atlassian.enterprise.slack.com/archives/CFG8QANL9 # #help-search-plex
20
+ - name: Smart Hooks
21
+ type: REPOSITORY
22
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/smart-experiences/smart-hooks
23
+ customFields:
24
+ - name: Department
25
+ type: text
26
+ value: Eng - Search PLEX
27
+ - name: Technical Owner
28
+ type: user
29
+ value: ari:cloud:identity::user/712020:bc050a72-a59d-487f-8b54-73358ba67dd0 # David Lyon
30
+ - name: Required Reviewers Opt In
31
+ type: boolean
32
+ value: true
33
+ - name: Reviewer Selection Mechanism
34
+ type: text
35
+ value: random(2)
36
+ - name: Required Reviewer Approvals
37
+ type: number
38
+ value: 1
@@ -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: "1.2.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: "1.2.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: "1.2.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.0.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
- "@atlaskit/analytics-listeners": "^11.0.0",
23
- "@atlaskit/analytics-next": "^12.0.0",
22
+ "@atlaskit/analytics-listeners": "^11.1.0",
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.0.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",
@@ -34,14 +34,14 @@
34
34
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@atlassian/a11y-jest-testing": "^0.12.0",
37
+ "@atlassian/a11y-jest-testing": "^0.13.0",
38
38
  "@testing-library/react": "^16.3.0",
39
39
  "@welldone-software/why-did-you-render": "^6.2.0",
40
40
  "enzyme": "^3.10.0",
41
41
  "fetch-mock": "^8.0.0",
42
42
  "react": "^18.2.0",
43
43
  "react-dom": "^18.2.0",
44
- "react-intl": "^6.6.2",
44
+ "react-intl": "^7.0.0",
45
45
  "wait-for-expect": "^1.2.0"
46
46
  },
47
47
  "techstack": {