@atlaskit/link-picker 1.37.0 → 1.37.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.
Files changed (120) hide show
  1. package/.eslintrc.js +22 -22
  2. package/CHANGELOG.md +12 -0
  3. package/LICENSE.md +6 -8
  4. package/compass.yml +0 -1
  5. package/dist/cjs/common/generic-error-svg/index.js +4 -1
  6. package/dist/cjs/common/generic-error-svg/styled.js +4 -0
  7. package/dist/cjs/common/ui/empty-state/index.js +3 -1
  8. package/dist/cjs/common/ui/min-height-container/index.js +4 -1
  9. package/dist/cjs/common/ui/min-height-container/styled.js +3 -0
  10. package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +17 -11
  11. package/dist/cjs/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  12. package/dist/cjs/ui/index.js +5 -3
  13. package/dist/cjs/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  14. package/dist/cjs/ui/link-picker/form-footer/feature-discovery/styled.js +4 -0
  15. package/dist/cjs/ui/link-picker/form-footer/index.js +30 -24
  16. package/dist/cjs/ui/link-picker/form-footer/styled.js +5 -0
  17. package/dist/cjs/ui/link-picker/index.js +8 -4
  18. package/dist/cjs/ui/link-picker/search-results/index.js +7 -3
  19. package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +1 -0
  20. package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +21 -10
  21. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
  22. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  23. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +4 -0
  24. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +6 -0
  25. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  26. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/styled.js +29 -3
  27. package/dist/cjs/ui/link-picker/search-results/link-search-list/styled.js +9 -0
  28. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +38 -33
  29. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/styles.js +20 -4
  30. package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +3 -0
  31. package/dist/cjs/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  32. package/dist/cjs/ui/link-picker/search-results/styled.js +7 -0
  33. package/dist/cjs/ui/link-picker/styled.js +5 -3
  34. package/dist/cjs/ui/link-picker/text-input/index.js +25 -19
  35. package/dist/cjs/ui/link-picker/text-input/styled.js +6 -0
  36. package/dist/cjs/ui/loader-fallback/index.js +4 -1
  37. package/dist/cjs/ui/loader-fallback/styled.js +3 -0
  38. package/dist/cjs/ui/styled.js +3 -0
  39. package/dist/es2019/common/generic-error-svg/index.js +4 -1
  40. package/dist/es2019/common/generic-error-svg/styled.js +3 -0
  41. package/dist/es2019/common/ui/empty-state/index.js +3 -1
  42. package/dist/es2019/common/ui/min-height-container/index.js +5 -1
  43. package/dist/es2019/common/ui/min-height-container/styled.js +3 -0
  44. package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +15 -9
  45. package/dist/es2019/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  46. package/dist/es2019/ui/index.js +7 -2
  47. package/dist/es2019/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  48. package/dist/es2019/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
  49. package/dist/es2019/ui/link-picker/form-footer/index.js +31 -24
  50. package/dist/es2019/ui/link-picker/form-footer/styled.js +5 -0
  51. package/dist/es2019/ui/link-picker/index.js +9 -3
  52. package/dist/es2019/ui/link-picker/search-results/index.js +8 -2
  53. package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +1 -0
  54. package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +22 -9
  55. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +13 -9
  56. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  57. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
  58. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
  59. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  60. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
  61. package/dist/es2019/ui/link-picker/search-results/link-search-list/styled.js +8 -0
  62. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +35 -28
  63. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
  64. package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +4 -0
  65. package/dist/es2019/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  66. package/dist/es2019/ui/link-picker/search-results/styled.js +6 -0
  67. package/dist/es2019/ui/link-picker/styled.js +12 -9
  68. package/dist/es2019/ui/link-picker/text-input/index.js +27 -20
  69. package/dist/es2019/ui/link-picker/text-input/styled.js +5 -0
  70. package/dist/es2019/ui/loader-fallback/index.js +4 -1
  71. package/dist/es2019/ui/loader-fallback/styled.js +3 -0
  72. package/dist/es2019/ui/styled.js +3 -0
  73. package/dist/esm/common/generic-error-svg/index.js +4 -1
  74. package/dist/esm/common/generic-error-svg/styled.js +3 -0
  75. package/dist/esm/common/ui/empty-state/index.js +3 -1
  76. package/dist/esm/common/ui/min-height-container/index.js +5 -1
  77. package/dist/esm/common/ui/min-height-container/styled.js +3 -0
  78. package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +17 -11
  79. package/dist/esm/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  80. package/dist/esm/ui/index.js +6 -2
  81. package/dist/esm/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  82. package/dist/esm/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
  83. package/dist/esm/ui/link-picker/form-footer/index.js +31 -24
  84. package/dist/esm/ui/link-picker/form-footer/styled.js +5 -0
  85. package/dist/esm/ui/link-picker/index.js +9 -3
  86. package/dist/esm/ui/link-picker/search-results/index.js +8 -2
  87. package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +1 -0
  88. package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +22 -9
  89. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
  90. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  91. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
  92. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
  93. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  94. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
  95. package/dist/esm/ui/link-picker/search-results/link-search-list/styled.js +8 -0
  96. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +39 -32
  97. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
  98. package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +4 -0
  99. package/dist/esm/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  100. package/dist/esm/ui/link-picker/search-results/styled.js +6 -0
  101. package/dist/esm/ui/link-picker/styled.js +5 -2
  102. package/dist/esm/ui/link-picker/text-input/index.js +26 -19
  103. package/dist/esm/ui/link-picker/text-input/styled.js +5 -0
  104. package/dist/esm/ui/loader-fallback/index.js +4 -1
  105. package/dist/esm/ui/loader-fallback/styled.js +3 -0
  106. package/dist/esm/ui/styled.js +3 -0
  107. package/dist/types/common/analytics/index.d.ts +1 -1
  108. package/dist/types/common/ui/empty-state/index.d.ts +1 -1
  109. package/dist/types/controllers/session-provider/index.d.ts +1 -1
  110. package/dist/types/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
  111. package/dist/types/ui/link-picker/search-results/track-tab-viewed/index.d.ts +1 -1
  112. package/dist/types/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
  113. package/dist/types-ts4.5/common/analytics/index.d.ts +1 -1
  114. package/dist/types-ts4.5/common/ui/empty-state/index.d.ts +1 -1
  115. package/dist/types-ts4.5/controllers/session-provider/index.d.ts +1 -1
  116. package/dist/types-ts4.5/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
  117. package/dist/types-ts4.5/ui/link-picker/search-results/track-tab-viewed/index.d.ts +1 -1
  118. package/dist/types-ts4.5/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
  119. package/package.json +147 -147
  120. package/report.api.md +75 -82
package/package.json CHANGED
@@ -1,148 +1,148 @@
1
1
  {
2
- "name": "@atlaskit/link-picker",
3
- "version": "1.37.0",
4
- "description": "Standalone link picker",
5
- "author": "Atlassian Pty Ltd",
6
- "publishConfig": {
7
- "registry": "https://registry.npmjs.org/"
8
- },
9
- "license": "Apache-2.0",
10
- "atlassian": {
11
- "team": "Linking Platform",
12
- "inPublicMirror": false,
13
- "releaseModel": "continuous",
14
- "i18n": true,
15
- "productPushConsumption": [
16
- "jira"
17
- ],
18
- "website": {
19
- "name": "Link Picker"
20
- }
21
- },
22
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
23
- "main": "dist/cjs/index.js",
24
- "module": "dist/esm/index.js",
25
- "module:es2019": "dist/es2019/index.js",
26
- "types": "dist/types/index.d.ts",
27
- "typesVersions": {
28
- ">=4.5 <4.9": {
29
- "*": [
30
- "dist/types-ts4.5/*",
31
- "dist/types-ts4.5/index.d.ts"
32
- ]
33
- }
34
- },
35
- "sideEffects": false,
36
- "atlaskit:src": "src/index.ts",
37
- "af:exports": {
38
- ".": "./src/index.ts"
39
- },
40
- "platform-feature-flags": {
41
- "platform.linking-platform.link-picker.enable-empty-state": {
42
- "type": "boolean"
43
- },
44
- "platform.linking-platform.link-picker.fixed-height-search-results": {
45
- "type": "boolean"
46
- },
47
- "platform.linking-platform.link-picker.enable-jira-create": {
48
- "type": "boolean"
49
- },
50
- "platform.linking-platform.link-picker.remove-dst-empty-state": {
51
- "type": "boolean"
52
- },
53
- "platform.linking-platform.link-picker.translations-map": {
54
- "type": "boolean"
55
- }
56
- },
57
- "scripts": {
58
- "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
59
- },
60
- "dependencies": {
61
- "@atlaskit/analytics-next": "^9.3.0",
62
- "@atlaskit/button": "^17.17.0",
63
- "@atlaskit/empty-state": "^7.8.0",
64
- "@atlaskit/form": "^10.2.0",
65
- "@atlaskit/frontend-utilities": "^2.7.0",
66
- "@atlaskit/heading": "^2.3.0",
67
- "@atlaskit/icon": "^22.3.0",
68
- "@atlaskit/intl-messages-provider": "^1.0.2",
69
- "@atlaskit/linking-common": "^5.7.0",
70
- "@atlaskit/onboarding": "^11.5.0",
71
- "@atlaskit/platform-feature-flags": "^0.2.1",
72
- "@atlaskit/primitives": "^6.4.0",
73
- "@atlaskit/spinner": "^16.1.0",
74
- "@atlaskit/tabs": "^16.1.0",
75
- "@atlaskit/textfield": "^6.3.0",
76
- "@atlaskit/theme": "^12.8.0",
77
- "@atlaskit/tokens": "^1.49.0",
78
- "@atlaskit/tooltip": "^18.4.0",
79
- "@atlaskit/ufo": "^0.2.0",
80
- "@atlaskit/visually-hidden": "^1.3.0",
81
- "@babel/runtime": "^7.0.0",
82
- "@emotion/react": "^11.7.1",
83
- "@react-loosely-lazy/manifest": "^1.0.0",
84
- "date-fns": "^2.17.0",
85
- "react-loosely-lazy": "^1.0.0",
86
- "use-debounce": "^3.4.0",
87
- "uuid": "^3.1.0"
88
- },
89
- "peerDependencies": {
90
- "react": "^16.8.0",
91
- "react-intl-next": "npm:react-intl@^5.18.1"
92
- },
93
- "devDependencies": {
94
- "@af/analytics-codegen": "^0.1.0",
95
- "@af/integration-testing": "*",
96
- "@af/visual-regression": "*",
97
- "@atlaskit/dropdown-menu": "^12.10.0",
98
- "@atlaskit/link-provider": "^1.9.0",
99
- "@atlaskit/link-test-helpers": "^7.0.0",
100
- "@atlaskit/visual-regression": "*",
101
- "@atlassian/feature-flags-test-utils": "*",
102
- "@testing-library/dom": "^8.17.1",
103
- "@testing-library/jest-dom": "^5.16.5",
104
- "@testing-library/react": "^12.1.5",
105
- "@testing-library/react-hooks": "^8.0.1",
106
- "@testing-library/user-event": "^14.4.3",
107
- "fetch-mock": "^8.0.0",
108
- "jest-extended": "^0.11.2",
109
- "lodash": "^4.17.21",
110
- "mockdate": "^3.0.5",
111
- "node-fetch": "^2.6.7",
112
- "prettier": "^3.2.5",
113
- "react-dom": "^16.8.0",
114
- "sinon": "^2.2.0",
115
- "typescript": "~5.4.2"
116
- },
117
- "techstack": {
118
- "@atlassian/frontend": {
119
- "code-structure": [
120
- "tangerine-next"
121
- ],
122
- "import-structure": [
123
- "atlassian-conventions"
124
- ],
125
- "circular-dependencies": [
126
- "file-and-folder-level"
127
- ]
128
- },
129
- "@repo/internal": {
130
- "dom-events": "use-bind-event-listener",
131
- "analytics": [
132
- "analytics-next"
133
- ],
134
- "design-tokens": [
135
- "color",
136
- "spacing"
137
- ],
138
- "imports": [
139
- "import-no-extraneous-disable-for-examples-and-docs"
140
- ]
141
- }
142
- },
143
- "techstackIgnore": {
144
- "stricter": [
145
- "@atlassian/tangerine/project-structure"
146
- ]
147
- }
148
- }
2
+ "name": "@atlaskit/link-picker",
3
+ "version": "1.37.2",
4
+ "description": "Standalone link picker",
5
+ "author": "Atlassian Pty Ltd",
6
+ "publishConfig": {
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "license": "Apache-2.0",
10
+ "atlassian": {
11
+ "team": "Linking Platform",
12
+ "inPublicMirror": false,
13
+ "releaseModel": "continuous",
14
+ "i18n": true,
15
+ "productPushConsumption": [
16
+ "jira"
17
+ ],
18
+ "website": {
19
+ "name": "Link Picker"
20
+ }
21
+ },
22
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
23
+ "main": "dist/cjs/index.js",
24
+ "module": "dist/esm/index.js",
25
+ "module:es2019": "dist/es2019/index.js",
26
+ "types": "dist/types/index.d.ts",
27
+ "typesVersions": {
28
+ ">=4.5 <4.9": {
29
+ "*": [
30
+ "dist/types-ts4.5/*",
31
+ "dist/types-ts4.5/index.d.ts"
32
+ ]
33
+ }
34
+ },
35
+ "sideEffects": false,
36
+ "atlaskit:src": "src/index.ts",
37
+ "af:exports": {
38
+ ".": "./src/index.ts"
39
+ },
40
+ "platform-feature-flags": {
41
+ "platform.linking-platform.link-picker.enable-empty-state": {
42
+ "type": "boolean"
43
+ },
44
+ "platform.linking-platform.link-picker.fixed-height-search-results": {
45
+ "type": "boolean"
46
+ },
47
+ "platform.linking-platform.link-picker.enable-jira-create": {
48
+ "type": "boolean"
49
+ },
50
+ "platform.linking-platform.link-picker.remove-dst-empty-state": {
51
+ "type": "boolean"
52
+ },
53
+ "platform.linking-platform.link-picker.translations-map": {
54
+ "type": "boolean"
55
+ }
56
+ },
57
+ "scripts": {
58
+ "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
59
+ },
60
+ "dependencies": {
61
+ "@atlaskit/analytics-next": "^9.3.0",
62
+ "@atlaskit/button": "^17.22.0",
63
+ "@atlaskit/empty-state": "^7.9.0",
64
+ "@atlaskit/form": "^10.4.0",
65
+ "@atlaskit/frontend-utilities": "^2.7.0",
66
+ "@atlaskit/heading": "^2.4.0",
67
+ "@atlaskit/icon": "^22.4.0",
68
+ "@atlaskit/intl-messages-provider": "^1.0.2",
69
+ "@atlaskit/linking-common": "^5.7.0",
70
+ "@atlaskit/onboarding": "^11.7.0",
71
+ "@atlaskit/platform-feature-flags": "^0.2.1",
72
+ "@atlaskit/primitives": "^8.0.0",
73
+ "@atlaskit/spinner": "^16.2.0",
74
+ "@atlaskit/tabs": "^16.2.0",
75
+ "@atlaskit/textfield": "^6.4.0",
76
+ "@atlaskit/theme": "^12.10.0",
77
+ "@atlaskit/tokens": "^1.51.0",
78
+ "@atlaskit/tooltip": "^18.5.0",
79
+ "@atlaskit/ufo": "^0.2.0",
80
+ "@atlaskit/visually-hidden": "^1.4.0",
81
+ "@babel/runtime": "^7.0.0",
82
+ "@emotion/react": "^11.7.1",
83
+ "@react-loosely-lazy/manifest": "^1.0.0",
84
+ "date-fns": "^2.17.0",
85
+ "react-loosely-lazy": "^1.0.0",
86
+ "use-debounce": "^3.4.0",
87
+ "uuid": "^3.1.0"
88
+ },
89
+ "peerDependencies": {
90
+ "react": "^16.8.0",
91
+ "react-intl-next": "npm:react-intl@^5.18.1"
92
+ },
93
+ "devDependencies": {
94
+ "@af/analytics-codegen": "^0.1.0",
95
+ "@af/integration-testing": "*",
96
+ "@af/visual-regression": "*",
97
+ "@atlaskit/dropdown-menu": "^12.13.0",
98
+ "@atlaskit/link-provider": "^1.11.0",
99
+ "@atlaskit/link-test-helpers": "^7.0.0",
100
+ "@atlaskit/visual-regression": "*",
101
+ "@atlassian/feature-flags-test-utils": "*",
102
+ "@testing-library/dom": "^8.17.1",
103
+ "@testing-library/jest-dom": "^6.4.5",
104
+ "@testing-library/react": "^12.1.5",
105
+ "@testing-library/react-hooks": "^8.0.1",
106
+ "@testing-library/user-event": "^14.4.3",
107
+ "fetch-mock": "^8.0.0",
108
+ "jest-extended": "^0.11.2",
109
+ "lodash": "^4.17.21",
110
+ "mockdate": "^3.0.5",
111
+ "node-fetch": "^2.6.7",
112
+ "prettier": "^3.2.5",
113
+ "react-dom": "^16.8.0",
114
+ "sinon": "^2.2.0",
115
+ "typescript": "~5.4.2"
116
+ },
117
+ "techstack": {
118
+ "@atlassian/frontend": {
119
+ "code-structure": [
120
+ "tangerine-next"
121
+ ],
122
+ "import-structure": [
123
+ "atlassian-conventions"
124
+ ],
125
+ "circular-dependencies": [
126
+ "file-and-folder-level"
127
+ ]
128
+ },
129
+ "@repo/internal": {
130
+ "dom-events": "use-bind-event-listener",
131
+ "analytics": [
132
+ "analytics-next"
133
+ ],
134
+ "design-tokens": [
135
+ "color",
136
+ "spacing"
137
+ ],
138
+ "imports": [
139
+ "import-no-extraneous-disable-for-examples-and-docs"
140
+ ]
141
+ }
142
+ },
143
+ "techstackIgnore": {
144
+ "stricter": [
145
+ "@atlassian/tangerine/project-structure"
146
+ ]
147
+ }
148
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/link-picker"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -27,125 +28,117 @@ import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
27
28
  export type LinkInputType = 'manual' | 'typeAhead';
28
29
 
29
30
  // @public (undocumented)
30
- export const LinkPicker: React_2.MemoExoticComponent<
31
- (props: LinkPickerProps) => jsx.JSX.Element
32
- >;
31
+ export const LinkPicker: React_2.MemoExoticComponent<(props: LinkPickerProps) => jsx.JSX.Element>;
33
32
 
34
33
  // @public (undocumented)
35
34
  export interface LinkPickerPlugin {
36
- action?: LinkPickerPluginAction;
37
- emptyStateNoResults?: LinkPickerPluginEmptyStateNoResults;
38
- errorFallback?: LinkPickerPluginErrorFallback;
39
- meta?: {
40
- source?: string;
41
- };
42
- // (undocumented)
43
- resolve: (
44
- state: LinkPickerState,
45
- ) => AsyncGenerator<ResolveResult, ResolveResult> | Promise<ResolveResult>;
46
- tabKey?: string;
47
- tabTitle?: string;
48
- UNSAFE_onActivation?: () => void;
35
+ action?: LinkPickerPluginAction;
36
+ emptyStateNoResults?: LinkPickerPluginEmptyStateNoResults;
37
+ errorFallback?: LinkPickerPluginErrorFallback;
38
+ meta?: {
39
+ source?: string;
40
+ };
41
+ // (undocumented)
42
+ resolve: (
43
+ state: LinkPickerState,
44
+ ) => AsyncGenerator<ResolveResult, ResolveResult> | Promise<ResolveResult>;
45
+ tabKey?: string;
46
+ tabTitle?: string;
47
+ UNSAFE_onActivation?: () => void;
49
48
  }
50
49
 
51
50
  // @public (undocumented)
52
51
  export interface LinkPickerPluginAction {
53
- // (undocumented)
54
- callback: () => void;
55
- // (undocumented)
56
- label: MessageDescriptor | string;
52
+ // (undocumented)
53
+ callback: () => void;
54
+ // (undocumented)
55
+ label: MessageDescriptor | string;
57
56
  }
58
57
 
59
58
  // @public (undocumented)
60
59
  export type LinkPickerPluginEmptyStateNoResults = () => ReactNode;
61
60
 
62
61
  // @public (undocumented)
63
- export type LinkPickerPluginErrorFallback = (
64
- error: unknown,
65
- retry: () => void,
66
- ) => ReactNode;
62
+ export type LinkPickerPluginErrorFallback = (error: unknown, retry: () => void) => ReactNode;
67
63
 
68
64
  // @public (undocumented)
69
65
  export interface LinkPickerProps {
70
- component?: React.ComponentType<
71
- Partial<LinkPickerProps> & {
72
- children: React.ReactElement;
73
- }
74
- >;
75
- disableWidth?: boolean;
76
- displayText?: null | string;
77
- // (undocumented)
78
- featureFlags?: Record<string, unknown>;
79
- hideDisplayText?: boolean;
80
- isLoadingPlugins?: boolean;
81
- onCancel: () => void;
82
- onContentResize?: () => void;
83
- onSubmit: (
84
- arg: OnSubmitParameter,
85
- analytic?: UIAnalyticsEvent | null,
86
- ) => void;
87
- paddingBottom?: string;
88
- paddingLeft?: string;
89
- paddingRight?: string;
90
- paddingTop?: string;
91
- plugins?: LinkPickerPlugin[];
92
- url?: string;
66
+ component?: React.ComponentType<
67
+ Partial<LinkPickerProps> & {
68
+ children: React.ReactElement;
69
+ }
70
+ >;
71
+ disableWidth?: boolean;
72
+ displayText?: null | string;
73
+ // (undocumented)
74
+ featureFlags?: Record<string, unknown>;
75
+ hideDisplayText?: boolean;
76
+ isLoadingPlugins?: boolean;
77
+ onCancel: () => void;
78
+ onContentResize?: () => void;
79
+ onSubmit: (arg: OnSubmitParameter, analytic?: UIAnalyticsEvent | null) => void;
80
+ paddingBottom?: string;
81
+ paddingLeft?: string;
82
+ paddingRight?: string;
83
+ paddingTop?: string;
84
+ plugins?: LinkPickerPlugin[];
85
+ url?: string;
93
86
  }
94
87
 
95
88
  // @public (undocumented)
96
89
  export interface LinkPickerState {
97
- query: string;
90
+ query: string;
98
91
  }
99
92
 
100
93
  // @public (undocumented)
101
94
  export interface LinkSearchListItemData {
102
- container?: string;
103
- icon:
104
- | React.ComponentType<{
105
- alt: string;
106
- }>
107
- | string;
108
- iconAlt: MessageDescriptor | string;
109
- lastUpdatedDate?: Date;
110
- lastViewedDate?: Date;
111
- meta?: {
112
- source?: string;
113
- };
114
- name: string;
115
- objectId: string;
116
- prefetch?: boolean;
117
- url: string;
95
+ container?: string;
96
+ icon:
97
+ | React.ComponentType<{
98
+ alt: string;
99
+ }>
100
+ | string;
101
+ iconAlt: MessageDescriptor | string;
102
+ lastUpdatedDate?: Date;
103
+ lastViewedDate?: Date;
104
+ meta?: {
105
+ source?: string;
106
+ };
107
+ name: string;
108
+ objectId: string;
109
+ prefetch?: boolean;
110
+ url: string;
118
111
  }
119
112
 
120
113
  // @public (undocumented)
121
114
  interface Meta {
122
- inputMethod: LinkInputType;
115
+ inputMethod: LinkInputType;
123
116
  }
124
117
 
125
118
  // @public (undocumented)
126
119
  interface OnSubmitParameter {
127
- displayText: null | string;
128
- meta: Meta;
129
- rawUrl?: string;
130
- title: null | string;
131
- url: string;
120
+ displayText: null | string;
121
+ meta: Meta;
122
+ rawUrl?: string;
123
+ title: null | string;
124
+ url: string;
132
125
  }
133
126
 
134
127
  // @public (undocumented)
135
128
  interface ResolveResult {
136
- // (undocumented)
137
- data: LinkSearchListItemData[];
129
+ // (undocumented)
130
+ data: LinkSearchListItemData[];
138
131
  }
139
132
 
140
133
  // @public (undocumented)
141
134
  export class UnauthenticatedError extends Error {
142
- constructor(iconUrl: string, authUrl: string, description: string);
143
- // (undocumented)
144
- authUrl: string;
145
- // (undocumented)
146
- description: string;
147
- // (undocumented)
148
- iconUrl: string;
135
+ constructor(iconUrl: string, authUrl: string, description: string);
136
+ // (undocumented)
137
+ authUrl: string;
138
+ // (undocumented)
139
+ description: string;
140
+ // (undocumented)
141
+ iconUrl: string;
149
142
  }
150
143
 
151
144
  // (No @packageDocumentation comment for this package)
@@ -159,8 +152,8 @@ export class UnauthenticatedError extends Error {
159
152
 
160
153
  ```json
161
154
  {
162
- "react": "^16.8.0",
163
- "react-intl-next": "npm:react-intl@^5.18.1"
155
+ "react": "^16.8.0",
156
+ "react-intl-next": "npm:react-intl@^5.18.1"
164
157
  }
165
158
  ```
166
159