@atlaskit/quick-search 8.0.15 → 8.1.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,15 @@
1
1
  # @atlaskit/quick-search
2
2
 
3
+ ## 8.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 8.0.15
4
14
 
5
15
  ### Patch Changes
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/quick-search",
3
- "version": "8.0.15"
3
+ "version": "8.1.0"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/quick-search",
3
- "version": "8.0.15"
3
+ "version": "8.1.0"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/quick-search",
3
- "version": "8.0.15"
3
+ "version": "8.1.0"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/quick-search",
3
- "version": "8.0.15",
3
+ "version": "8.1.0",
4
4
  "description": "A quick-search component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -22,12 +22,12 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@atlaskit/analytics": "^8.0.0",
26
- "@atlaskit/avatar": "^21.2.0",
27
- "@atlaskit/item": "^12.0.0",
28
- "@atlaskit/spinner": "^15.4.0",
29
- "@atlaskit/theme": "^12.4.0",
30
- "@atlaskit/tokens": "^1.2.6",
25
+ "@atlaskit/analytics": "^8.1.0",
26
+ "@atlaskit/avatar": "^21.3.0",
27
+ "@atlaskit/item": "^12.1.0",
28
+ "@atlaskit/spinner": "^15.5.0",
29
+ "@atlaskit/theme": "^12.5.0",
30
+ "@atlaskit/tokens": "^1.3.0",
31
31
  "@babel/runtime": "^7.0.0",
32
32
  "keycode": "^2.1.7"
33
33
  },
@@ -36,10 +36,10 @@
36
36
  "styled-components": "^3.2.6"
37
37
  },
38
38
  "devDependencies": {
39
- "@atlaskit/avatar": "^21.2.0",
39
+ "@atlaskit/avatar": "^21.3.0",
40
40
  "@atlaskit/docs": "*",
41
- "@atlaskit/drawer": "^7.4.0",
42
- "@atlaskit/icon": "^21.11.0",
41
+ "@atlaskit/drawer": "^7.5.0",
42
+ "@atlaskit/icon": "^21.12.0",
43
43
  "@atlaskit/navigation": "^37.0.0",
44
44
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
45
45
  "enzyme": "^3.10.0",
@@ -1,263 +0,0 @@
1
- ## API Report File for "@atlaskit/quick-search"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { ComponentType } from 'react';
8
- import { default as React_2 } from 'react';
9
- import { ReactNode } from 'react';
10
-
11
- // @public (undocumented)
12
- export class AkNavigationItem extends React_2.PureComponent<Props_2> {
13
- // (undocumented)
14
- static defaultProps: Partial<Props_2>;
15
- // (undocumented)
16
- render(): JSX.Element;
17
- }
18
-
19
- // @public (undocumented)
20
- export class AkSearch extends React_2.PureComponent<Props_4> {
21
- // (undocumented)
22
- static defaultProps: Partial<Props_4>;
23
- // (undocumented)
24
- inputRef?: React_2.Ref<any>;
25
- // (undocumented)
26
- onInputKeyDown: (event: React_2.KeyboardEvent<HTMLInputElement>) => void;
27
- // (undocumented)
28
- render(): JSX.Element;
29
- // (undocumented)
30
- renderInputControls: () => JSX.Element | null;
31
- // (undocumented)
32
- setInputRef: (ref: React_2.Ref<any>) => void;
33
- }
34
-
35
- // @public (undocumented)
36
- type AnalyticsData = Object;
37
-
38
- // @public (undocumented)
39
- export type CancelableEvent = KeyboardEvent | MouseEvent | React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLElement>;
40
-
41
- // @public (undocumented)
42
- type CommonResultProps = {
43
- resultId: number | string;
44
- type?: string;
45
- avatarUrl?: string;
46
- avatar?: ReactNode;
47
- elemAfter?: ReactNode;
48
- selectedIcon?: ReactNode;
49
- href?: string;
50
- target?: string;
51
- isCompact?: boolean;
52
- onClick?: (resultData: ResultData) => void;
53
- analyticsData?: (() => AnalyticsData) | AnalyticsData;
54
- };
55
-
56
- // @public
57
- export class ContainerResult extends React_2.PureComponent<ContainerResultProps> {
58
- // (undocumented)
59
- getAvatar: () => {};
60
- // (undocumented)
61
- render(): JSX.Element;
62
- }
63
-
64
- // @public (undocumented)
65
- export type ContainerResultProps = CommonResultProps & {
66
- name: React_2.ReactNode;
67
- caption?: string;
68
- isPrivate?: boolean;
69
- subText?: React_2.ReactNode;
70
- };
71
-
72
- // @public (undocumented)
73
- const _default: React_2.ComponentClass<Props_3, any>;
74
- export { _default as AkQuickSearch }
75
- export { _default as QuickSearch }
76
-
77
- // @public (undocumented)
78
- type DefaultProps = {
79
- context: ResultContextType;
80
- };
81
-
82
- // @public
83
- export class ObjectResult extends React_2.PureComponent<ObjectResultProps> {
84
- // (undocumented)
85
- getAvatar: () => {};
86
- // (undocumented)
87
- getSubtext(): null | undefined | {};
88
- // (undocumented)
89
- render(): JSX.Element;
90
- }
91
-
92
- // @public (undocumented)
93
- export type ObjectResultProps = CommonResultProps & {
94
- name: React_2.ReactNode;
95
- caption?: string;
96
- containerName?: React_2.ReactNode;
97
- isPrivate?: boolean;
98
- objectKey?: React_2.ReactNode;
99
- };
100
-
101
- // @public (undocumented)
102
- export class PersonResult extends React_2.PureComponent<PersonResultProps> {
103
- // (undocumented)
104
- static defaultProps: Partial<PersonResultProps>;
105
- // (undocumented)
106
- getAvatar: () => {};
107
- // (undocumented)
108
- getMention: () => string | undefined;
109
- // (undocumented)
110
- render(): JSX.Element;
111
- }
112
-
113
- // @public (undocumented)
114
- export type PersonResultProps = CommonResultProps & {
115
- name: React_2.ReactNode;
116
- mentionName?: string;
117
- mentionPrefix?: string;
118
- presenceMessage?: React_2.ReactNode;
119
- presenceState?: 'busy' | 'offline' | 'online' | null;
120
- };
121
-
122
- // @public (undocumented)
123
- type Props = {
124
- title: React_2.ReactNode;
125
- children?: React_2.ReactNode;
126
- };
127
-
128
- // @public (undocumented)
129
- type Props_2 = {
130
- caption?: string;
131
- href?: string;
132
- target?: string;
133
- icon?: React_2.ReactNode;
134
- isCompact?: boolean;
135
- isSelected?: boolean;
136
- isMouseSelected?: boolean;
137
- onClick?(e: MouseEvent): void;
138
- onMouseEnter?: (e: MouseEvent) => void;
139
- onMouseLeave?: (e: MouseEvent) => void;
140
- subText?: React_2.ReactNode;
141
- text?: React_2.ReactNode;
142
- textAfter?: React_2.ReactNode;
143
- selectedIcon?: React_2.ReactNode;
144
- linkComponent?: React_2.ComponentType;
145
- };
146
-
147
- // @public (undocumented)
148
- type Props_3 = {
149
- children: React_2.ReactNode;
150
- isLoading?: boolean;
151
- onSearchBlur?: (event: React_2.FocusEvent<HTMLInputElement>) => void;
152
- onSearchInput?: (event: React_2.FormEvent<HTMLInputElement>, isAutocompleted?: boolean) => void;
153
- onSearchKeyDown?: (event: React_2.KeyboardEvent<HTMLInputElement>) => void;
154
- onSearchSubmit?: (event: React_2.KeyboardEvent<HTMLInputElement>) => void;
155
- placeholder?: string;
156
- value?: string;
157
- selectedResultId?: SelectedResultId;
158
- onSelectedResultIdChanged?: (id: SelectedResultId) => void;
159
- firePrivateAnalyticsEvent?: (eventName: string, eventData: Object) => void;
160
- linkComponent?: React_2.ComponentType<any>;
161
- inputControls?: React_2.ReactNode;
162
- autocompleteText?: string;
163
- };
164
-
165
- // @public (undocumented)
166
- type Props_4 = {
167
- children?: React_2.ReactNode;
168
- inputControls?: React_2.ReactNode;
169
- isLoading?: boolean;
170
- onBlur?: (event: React_2.FocusEvent<HTMLInputElement>) => void;
171
- onInput?: (event: React_2.FormEvent<HTMLInputElement>) => void;
172
- onKeyDown?: (event: React_2.KeyboardEvent<HTMLInputElement>) => void;
173
- placeholder?: string;
174
- value?: string;
175
- autocompleteText?: string;
176
- };
177
-
178
- declare namespace quickSearchResultTypes {
179
- export {
180
- ContainerResult,
181
- ObjectResult,
182
- PersonResult,
183
- ResultBase
184
- }
185
- }
186
- export { quickSearchResultTypes }
187
-
188
- // @public (undocumented)
189
- export const ResultBase: (props: ResultBaseProps) => JSX.Element;
190
-
191
- // @public (undocumented)
192
- class ResultBase_2 extends React_2.PureComponent<DefaultProps & ResultBaseProps> {
193
- // (undocumented)
194
- componentDidMount(): void;
195
- // (undocumented)
196
- componentDidUpdate(): void;
197
- // (undocumented)
198
- componentWillUnmount(): void;
199
- // (undocumented)
200
- static defaultProps: Partial<ResultBaseProps>;
201
- // (undocumented)
202
- getAnalyticsData(): AnalyticsData;
203
- // (undocumented)
204
- handleClick: (e: MouseEvent) => void;
205
- // (undocumented)
206
- handleMouseEnter: (event: MouseEvent) => void;
207
- // (undocumented)
208
- handleMouseLeave: () => void;
209
- // (undocumented)
210
- registerResult(): void;
211
- // (undocumented)
212
- render(): JSX.Element;
213
- // (undocumented)
214
- state: {
215
- isMouseSelected: boolean;
216
- };
217
- }
218
-
219
- // @public (undocumented)
220
- export type ResultBaseProps = CommonResultProps & {
221
- type: string;
222
- text: React_2.ReactNode;
223
- subText?: React_2.ReactNode;
224
- caption?: string;
225
- icon?: React_2.ReactNode;
226
- context?: ResultContextType;
227
- };
228
-
229
- // @public (undocumented)
230
- type ResultContextType = {
231
- registerResult: (result: ResultBase_2) => void;
232
- unregisterResult: (result: ResultBase_2) => void;
233
- onMouseEnter: (resultData: ResultData) => void;
234
- onMouseLeave: () => void;
235
- sendAnalytics?: (eventName: string, eventData: Object) => void;
236
- getIndex: (resultId: ResultId) => null | number;
237
- linkComponent?: ComponentType;
238
- };
239
-
240
- // @public (undocumented)
241
- export type ResultData = {
242
- resultId: ResultId;
243
- type: string;
244
- event: CancelableEvent;
245
- };
246
-
247
- // @public (undocumented)
248
- type ResultId = number | string;
249
-
250
- // @public (undocumented)
251
- class ResultItemGroup extends React_2.Component<Props> {
252
- // (undocumented)
253
- render(): JSX.Element;
254
- }
255
- export { ResultItemGroup as AkNavigationItemGroup }
256
- export { ResultItemGroup }
257
-
258
- // @public (undocumented)
259
- type SelectedResultId = ResultId | null;
260
-
261
- // (No @packageDocumentation comment for this package)
262
-
263
- ```