@atlaskit/quick-search 8.1.4 → 8.1.5
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 +25 -19
- package/dist/cjs/components/QuickSearch.js +3 -5
- package/dist/cjs/components/ResultItem/ResultItem.js +1 -2
- package/dist/cjs/components/ResultItem/ResultItemGroup.js +2 -3
- package/dist/cjs/components/ResultItem/styled.js +8 -16
- package/dist/cjs/components/Results/ContainerResult.js +2 -3
- package/dist/cjs/components/Results/ObjectResult.js +2 -3
- package/dist/cjs/components/Results/PersonResult.js +1 -2
- package/dist/cjs/components/Results/ResultBase.js +3 -5
- package/dist/cjs/components/Search/Search.js +2 -4
- package/dist/cjs/components/Search/styled.js +9 -18
- package/dist/cjs/components/constants.js +6 -12
- package/dist/cjs/components/context.js +2 -4
- package/dist/cjs/components/isReactElement.js +2 -3
- package/dist/types/components/ResultItem/styled.d.ts +7 -7
- package/dist/types/components/Search/styled.d.ts +7 -7
- package/dist/types-ts4.5/components/ResultItem/styled.d.ts +7 -7
- package/dist/types-ts4.5/components/Search/styled.d.ts +7 -7
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
# @atlaskit/quick-search
|
|
2
2
|
|
|
3
|
+
## 8.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 8.1.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
13
|
+
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
8
14
|
|
|
9
15
|
## 8.1.3
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
20
|
- Updated dependencies
|
|
15
21
|
|
|
16
22
|
## 8.1.2
|
|
17
23
|
|
|
18
24
|
### Patch Changes
|
|
19
25
|
|
|
20
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
26
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
21
27
|
|
|
22
28
|
## 8.1.1
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
32
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
27
33
|
|
|
28
34
|
## 8.1.0
|
|
29
35
|
|
|
30
36
|
### Minor Changes
|
|
31
37
|
|
|
32
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
38
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
@@ -39,25 +45,25 @@
|
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
- [`be610dca836`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be610dca836) - [ux] replace deprecated placeholder theme with tokens
|
|
48
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`be610dca836`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be610dca836) - [ux] replace deprecated placeholder theme with tokens
|
|
43
49
|
|
|
44
50
|
## 8.0.14
|
|
45
51
|
|
|
46
52
|
### Patch Changes
|
|
47
53
|
|
|
48
|
-
- [`1378b2a7308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1378b2a7308) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
54
|
+
- [#32031](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32031) [`1378b2a7308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1378b2a7308) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
49
55
|
|
|
50
56
|
## 8.0.13
|
|
51
57
|
|
|
52
58
|
### Patch Changes
|
|
53
59
|
|
|
54
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
60
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
55
61
|
|
|
56
62
|
## 8.0.12
|
|
57
63
|
|
|
58
64
|
### Patch Changes
|
|
59
65
|
|
|
60
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
66
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
61
67
|
|
|
62
68
|
## 8.0.11
|
|
63
69
|
|
|
@@ -69,7 +75,7 @@
|
|
|
69
75
|
|
|
70
76
|
### Patch Changes
|
|
71
77
|
|
|
72
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
78
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
73
79
|
|
|
74
80
|
## 8.0.9
|
|
75
81
|
|
|
@@ -81,14 +87,14 @@
|
|
|
81
87
|
|
|
82
88
|
### Patch Changes
|
|
83
89
|
|
|
84
|
-
- [`ea354666ca2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea354666ca2) - Added testid to default ObjectResult's AvatarImage.
|
|
90
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`ea354666ca2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea354666ca2) - Added testid to default ObjectResult's AvatarImage.
|
|
85
91
|
- Updated dependencies
|
|
86
92
|
|
|
87
93
|
## 8.0.7
|
|
88
94
|
|
|
89
95
|
### Patch Changes
|
|
90
96
|
|
|
91
|
-
- [`524b20aff9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/524b20aff9a) - Update package.jsons to remove unused dependencies. Also excludes tests from some build tsconfigs
|
|
97
|
+
- [#13136](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13136) [`524b20aff9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/524b20aff9a) - Update package.jsons to remove unused dependencies. Also excludes tests from some build tsconfigs
|
|
92
98
|
- [`3c0349f272a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c0349f272a) - Update package.jsons to remove unused dependencies. Also excludes tests from some build tsconfigs
|
|
93
99
|
- [`591d34f966f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/591d34f966f) - Update package.jsons to remove unused dependencies. Also excludes tests from some build tsconfigs
|
|
94
100
|
|
|
@@ -96,20 +102,20 @@
|
|
|
96
102
|
|
|
97
103
|
### Patch Changes
|
|
98
104
|
|
|
99
|
-
- [`7fc13cf50a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7fc13cf50a2) - Fixes interal test referencing a compponent directly.
|
|
105
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`7fc13cf50a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7fc13cf50a2) - Fixes interal test referencing a compponent directly.
|
|
100
106
|
- Updated dependencies
|
|
101
107
|
|
|
102
108
|
## 8.0.5
|
|
103
109
|
|
|
104
110
|
### Patch Changes
|
|
105
111
|
|
|
106
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
112
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
107
113
|
|
|
108
114
|
## 8.0.4
|
|
109
115
|
|
|
110
116
|
### Patch Changes
|
|
111
117
|
|
|
112
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
118
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
113
119
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
114
120
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
115
121
|
|
|
@@ -123,7 +129,7 @@
|
|
|
123
129
|
|
|
124
130
|
### Patch Changes
|
|
125
131
|
|
|
126
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
132
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
127
133
|
|
|
128
134
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
129
135
|
to prevent duplicates of tslib being bundled.
|
|
@@ -138,7 +144,7 @@
|
|
|
138
144
|
|
|
139
145
|
### Major Changes
|
|
140
146
|
|
|
141
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
147
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
142
148
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
143
149
|
|
|
144
150
|
### Patch Changes
|
|
@@ -161,13 +167,13 @@
|
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
- [`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch all packages that are used by confluence that have a broken es2019 dist
|
|
170
|
+
- [#2430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2430) [`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch all packages that are used by confluence that have a broken es2019 dist
|
|
165
171
|
|
|
166
172
|
## 7.8.6
|
|
167
173
|
|
|
168
174
|
### Patch Changes
|
|
169
175
|
|
|
170
|
-
- [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
176
|
+
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
171
177
|
|
|
172
178
|
## 7.8.5
|
|
173
179
|
|
|
@@ -76,7 +76,7 @@ var adjustIndex = function adjustIndex(arrayLength, currentIndex, adjustment) {
|
|
|
76
76
|
// Correct for negative indices
|
|
77
77
|
return adjustedIndex >= 0 ? adjustedIndex : adjustedIndex + arrayLength;
|
|
78
78
|
};
|
|
79
|
-
var QuickSearch = /*#__PURE__*/function (_React$Component) {
|
|
79
|
+
var QuickSearch = exports.QuickSearch = /*#__PURE__*/function (_React$Component) {
|
|
80
80
|
(0, _inherits2.default)(QuickSearch, _React$Component);
|
|
81
81
|
var _super = _createSuper(QuickSearch);
|
|
82
82
|
function QuickSearch(props) {
|
|
@@ -395,7 +395,6 @@ var QuickSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
395
395
|
* `withAnalytics` - Injects analytics firing methods that are picked up by
|
|
396
396
|
* @atlaskit/analytics/AnalyticsListener.
|
|
397
397
|
*/
|
|
398
|
-
exports.QuickSearch = QuickSearch;
|
|
399
398
|
(0, _defineProperty2.default)(QuickSearch, "defaultProps", {
|
|
400
399
|
children: [],
|
|
401
400
|
firePrivateAnalyticsEvent: function firePrivateAnalyticsEvent(_) {},
|
|
@@ -406,7 +405,6 @@ exports.QuickSearch = QuickSearch;
|
|
|
406
405
|
placeholder: 'Search',
|
|
407
406
|
value: ''
|
|
408
407
|
});
|
|
409
|
-
var _default = (0, _decorateWithAnalyticsData.default)(
|
|
408
|
+
var _default = exports.default = (0, _decorateWithAnalyticsData.default)(
|
|
410
409
|
// @ts-ignore
|
|
411
|
-
(0, _analytics.withAnalytics)(QuickSearch, {}, {}));
|
|
412
|
-
exports.default = _default;
|
|
410
|
+
(0, _analytics.withAnalytics)(QuickSearch, {}, {}));
|
|
@@ -15,7 +15,7 @@ var _item = require("@atlaskit/item");
|
|
|
15
15
|
var _styled = require("./styled");
|
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
17
17
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
18
|
-
var ResultItemGroup = /*#__PURE__*/function (_React$Component) {
|
|
18
|
+
var ResultItemGroup = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
19
19
|
(0, _inherits2.default)(ResultItemGroup, _React$Component);
|
|
20
20
|
var _super = _createSuper(ResultItemGroup);
|
|
21
21
|
function ResultItemGroup() {
|
|
@@ -35,5 +35,4 @@ var ResultItemGroup = /*#__PURE__*/function (_React$Component) {
|
|
|
35
35
|
}
|
|
36
36
|
}]);
|
|
37
37
|
return ResultItemGroup;
|
|
38
|
-
}(_react.default.Component);
|
|
39
|
-
exports.default = ResultItemGroup;
|
|
38
|
+
}(_react.default.Component);
|
|
@@ -9,22 +9,14 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
11
11
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
12
|
-
var ResultItemGroupHeader = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-negative-150, -12px)", "var(--ds-space-150, 12px)");
|
|
13
|
-
exports.
|
|
14
|
-
var
|
|
15
|
-
exports.ResultItemGroupTitle = ResultItemGroupTitle;
|
|
16
|
-
var ResultItemAfter = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n min-width: ", ";\n"])), function (_ref) {
|
|
12
|
+
var ResultItemGroupHeader = exports.ResultItemGroupHeader = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-negative-150, -12px)", "var(--ds-space-150, 12px)");
|
|
13
|
+
var ResultItemGroupTitle = exports.ResultItemGroupTitle = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 11px;\n line-height: ", ";\n font-weight: 600;\n"])), "var(--ds-font-lineHeight-100, 16px)");
|
|
14
|
+
var ResultItemAfter = exports.ResultItemAfter = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n min-width: ", ";\n"])), function (_ref) {
|
|
17
15
|
var shouldTakeSpace = _ref.shouldTakeSpace;
|
|
18
16
|
return shouldTakeSpace ? '24px' : 0;
|
|
19
17
|
});
|
|
20
|
-
exports.
|
|
21
|
-
var
|
|
22
|
-
exports.
|
|
23
|
-
var
|
|
24
|
-
exports.
|
|
25
|
-
var ResultItemSubText = _styledComponents.default.span(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 12px;\n color: ", ";\n"])), _colors.N200);
|
|
26
|
-
exports.ResultItemSubText = ResultItemSubText;
|
|
27
|
-
var ResultItemIcon = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: padding 200ms;\n\n > * {\n flex: 1 0 auto;\n }\n\n /* We need to ensure that any image passed in as a child (<img/>, <svg/>\n etc.) receives the correct width, height and border radius. We don't\n currently assume that the image passed in is the correct dimensions, or has\n width / height 100% */\n > img {\n height: ", ";\n width: ", ";\n }\n"])), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)");
|
|
28
|
-
exports.ResultItemIcon = ResultItemIcon;
|
|
29
|
-
var ResultItemTextAfter = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n z-index: 1;\n"])));
|
|
30
|
-
exports.ResultItemTextAfter = ResultItemTextAfter;
|
|
18
|
+
var ResultItemAfterWrapper = exports.ResultItemAfterWrapper = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n"])));
|
|
19
|
+
var ResultItemCaption = exports.ResultItemCaption = _styledComponents.default.span(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: 12px;\n margin-left: ", ";\n"])), _colors.N200, "var(--ds-space-100, 8px)");
|
|
20
|
+
var ResultItemSubText = exports.ResultItemSubText = _styledComponents.default.span(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 12px;\n color: ", ";\n"])), _colors.N200);
|
|
21
|
+
var ResultItemIcon = exports.ResultItemIcon = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: padding 200ms;\n\n > * {\n flex: 1 0 auto;\n }\n\n /* We need to ensure that any image passed in as a child (<img/>, <svg/>\n etc.) receives the correct width, height and border radius. We don't\n currently assume that the image passed in is the correct dimensions, or has\n width / height 100% */\n > img {\n height: ", ";\n width: ", ";\n }\n"])), "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)");
|
|
22
|
+
var ResultItemTextAfter = exports.ResultItemTextAfter = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n z-index: 1;\n"])));
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
23
23
|
/**
|
|
24
24
|
* Generic result type for Atlassian containers.
|
|
25
25
|
*/
|
|
26
|
-
var ContainerResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
|
+
var ContainerResult = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
27
|
(0, _inherits2.default)(ContainerResult, _React$PureComponent);
|
|
28
28
|
var _super = _createSuper(ContainerResult);
|
|
29
29
|
function ContainerResult() {
|
|
@@ -66,5 +66,4 @@ var ContainerResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
66
66
|
}
|
|
67
67
|
}]);
|
|
68
68
|
return ContainerResult;
|
|
69
|
-
}(_react.default.PureComponent);
|
|
70
|
-
exports.default = ContainerResult;
|
|
69
|
+
}(_react.default.PureComponent);
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
23
23
|
/**
|
|
24
24
|
* Generic result type for Atlassian objects.
|
|
25
25
|
*/
|
|
26
|
-
var ObjectResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
|
+
var ObjectResult = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
27
|
(0, _inherits2.default)(ObjectResult, _React$PureComponent);
|
|
28
28
|
var _super = _createSuper(ObjectResult);
|
|
29
29
|
function ObjectResult() {
|
|
@@ -79,5 +79,4 @@ var ObjectResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
79
79
|
}
|
|
80
80
|
}]);
|
|
81
81
|
return ObjectResult;
|
|
82
|
-
}(_react.default.PureComponent);
|
|
83
|
-
exports.default = ObjectResult;
|
|
82
|
+
}(_react.default.PureComponent);
|
|
@@ -20,7 +20,7 @@ var _ResultBase = _interopRequireDefault(require("./ResultBase"));
|
|
|
20
20
|
var _excluded = ["name", "mentionName", "mentionPrefix", "presenceMessage", "presenceState", "type"];
|
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
-
var PersonResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
23
|
+
var PersonResult = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
24
24
|
(0, _inherits2.default)(PersonResult, _React$PureComponent);
|
|
25
25
|
var _super = _createSuper(PersonResult);
|
|
26
26
|
function PersonResult() {
|
|
@@ -68,7 +68,6 @@ var PersonResult = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
68
68
|
}]);
|
|
69
69
|
return PersonResult;
|
|
70
70
|
}(_react.default.PureComponent);
|
|
71
|
-
exports.default = PersonResult;
|
|
72
71
|
(0, _defineProperty2.default)(PersonResult, "defaultProps", {
|
|
73
72
|
mentionPrefix: '@',
|
|
74
73
|
presenceState: null // No presence indicator by default
|
|
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
23
23
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
24
24
|
// context is an optional prop but the component provides a defaultProp. However, TS still complains
|
|
25
25
|
// when you don't pass it. There doesn't seem to be a better way of declaring optional default props.
|
|
26
|
-
var ResultBase = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
|
+
var ResultBase = exports.ResultBase = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
27
|
(0, _inherits2.default)(ResultBase, _React$PureComponent);
|
|
28
28
|
var _super = _createSuper(ResultBase);
|
|
29
29
|
function ResultBase() {
|
|
@@ -151,7 +151,6 @@ var ResultBase = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
151
151
|
}]);
|
|
152
152
|
return ResultBase;
|
|
153
153
|
}(_react.default.PureComponent);
|
|
154
|
-
exports.ResultBase = ResultBase;
|
|
155
154
|
(0, _defineProperty2.default)(ResultBase, "defaultProps", {
|
|
156
155
|
type: 'base',
|
|
157
156
|
context: {
|
|
@@ -167,11 +166,10 @@ exports.ResultBase = ResultBase;
|
|
|
167
166
|
},
|
|
168
167
|
analyticsData: {}
|
|
169
168
|
});
|
|
170
|
-
var _default = function _default(props) {
|
|
169
|
+
var _default = exports.default = function _default(props) {
|
|
171
170
|
return /*#__PURE__*/_react.default.createElement(_context.ResultContext.Consumer, null, function (context) {
|
|
172
171
|
return /*#__PURE__*/_react.default.createElement(ResultBase, (0, _extends2.default)({
|
|
173
172
|
context: context
|
|
174
173
|
}, props));
|
|
175
174
|
});
|
|
176
|
-
};
|
|
177
|
-
exports.default = _default;
|
|
175
|
+
};
|
|
@@ -20,10 +20,9 @@ var _styled = require("./styled");
|
|
|
20
20
|
var _templateObject;
|
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
-
var controlKeys = ['ArrowUp', 'ArrowDown', 'Enter', 'Tab', 'ArrowRight'];
|
|
24
|
-
exports.controlKeys = controlKeys;
|
|
23
|
+
var controlKeys = exports.controlKeys = ['ArrowUp', 'ArrowDown', 'Enter', 'Tab', 'ArrowRight'];
|
|
25
24
|
var SpinnerParent = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 20px;\n margin-left: 10px;\n margin-top: 10px;\n"])));
|
|
26
|
-
var Search = /*#__PURE__*/function (_React$PureComponent) {
|
|
25
|
+
var Search = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
26
|
(0, _inherits2.default)(Search, _React$PureComponent);
|
|
28
27
|
var _super = _createSuper(Search);
|
|
29
28
|
function Search() {
|
|
@@ -87,7 +86,6 @@ var Search = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
87
86
|
}]);
|
|
88
87
|
return Search;
|
|
89
88
|
}(_react.default.PureComponent);
|
|
90
|
-
exports.default = Search;
|
|
91
89
|
(0, _defineProperty2.default)(Search, "defaultProps", {
|
|
92
90
|
isLoading: false,
|
|
93
91
|
onBlur: function onBlur() {},
|
|
@@ -13,24 +13,15 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
var inputRightPadding = "var(--ds-space-200, 16px)";
|
|
16
|
-
var SearchBox = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: sticky;\n top: 0;\n background-color: ", ";\n color: ", ";\n display: flex;\n height: 36px;\n z-index: 10; /* required to keep the search box on top of icons in results when sticky */\n"])), _colors.N0, _colors.N500);
|
|
17
|
-
exports.
|
|
18
|
-
var
|
|
19
|
-
exports.
|
|
20
|
-
var
|
|
21
|
-
exports.SearchFieldBaseInner = SearchFieldBaseInner;
|
|
22
|
-
var SearchInner = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n padding-right: ", ";\n"])), "var(--ds-space-300, 24px)");
|
|
23
|
-
exports.SearchInner = SearchInner;
|
|
24
|
-
var getPlaceholderStyle = function getPlaceholderStyle(style) {
|
|
16
|
+
var SearchBox = exports.SearchBox = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n position: sticky;\n top: 0;\n background-color: ", ";\n color: ", ";\n display: flex;\n height: 36px;\n z-index: 10; /* required to keep the search box on top of icons in results when sticky */\n"])), _colors.N0, _colors.N500);
|
|
17
|
+
var SearchFieldBaseOuter = exports.SearchFieldBaseOuter = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex: 1;\n margin-right: auto;\n padding-bottom: 2px;\n border-bottom: 2px solid ", ";\n"])), _colors.B200);
|
|
18
|
+
var SearchFieldBaseInner = exports.SearchFieldBaseInner = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n align-items: center;\n padding-right: ", "; /* pad search text from FieldBase's isLoading spinner */\n display: flex;\n flex-grow: 1;\n"])), inputRightPadding);
|
|
19
|
+
var SearchInner = exports.SearchInner = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n padding-right: ", ";\n"])), "var(--ds-space-300, 24px)");
|
|
20
|
+
var getPlaceholderStyle = exports.getPlaceholderStyle = function getPlaceholderStyle(style) {
|
|
25
21
|
return (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n &::-webkit-input-placeholder {\n ", ";\n }\n &::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n ", " opacity: 1;\n }\n &::-ms-input-placeholder {\n /* Microsoft Edge */\n ", ";\n }\n &:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n ", " opacity: 1;\n }\n &:-ms-input-placeholder {\n /* Internet Explorer 10-11 */\n ", ";\n }\n"])), style, style, style, style, style);
|
|
26
22
|
};
|
|
27
|
-
exports.
|
|
28
|
-
var
|
|
29
|
-
exports.
|
|
30
|
-
var
|
|
31
|
-
exports.SearchInput = SearchInput;
|
|
32
|
-
var SearchInputTypeAhead = (0, _styledComponents.default)(SearchInput)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n position: absolute;\n width: calc(100% - ", ");\n z-index: -1;\n"])), _colors.N50, inputRightPadding);
|
|
33
|
-
exports.SearchInputTypeAhead = SearchInputTypeAhead;
|
|
34
|
-
var SearchInputControlsContainer = _styledComponents.default.span(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n padding-left: ", ";\n"])), "var(--ds-space-300, 24px)");
|
|
35
|
-
exports.SearchInputControlsContainer = SearchInputControlsContainer;
|
|
23
|
+
var getPlaceholderColor = exports.getPlaceholderColor = (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n"])), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"));
|
|
24
|
+
var SearchInput = exports.SearchInput = _styledComponents.default.input(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n background-color: transparent;\n border: 0;\n color: ", ";\n flex-grow: 1;\n font-size: 1.4em;\n outline: 0;\n // Safari adds 2px margin-left\n margin-left: 0;\n ", ";\n"])), _colors.N500, getPlaceholderStyle(getPlaceholderColor));
|
|
25
|
+
var SearchInputTypeAhead = exports.SearchInputTypeAhead = (0, _styledComponents.default)(SearchInput)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n position: absolute;\n width: calc(100% - ", ");\n z-index: -1;\n"])), _colors.N50, inputRightPadding);
|
|
26
|
+
var SearchInputControlsContainer = exports.SearchInputControlsContainer = _styledComponents.default.span(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n padding-left: ", ";\n"])), "var(--ds-space-300, 24px)");
|
|
36
27
|
SearchInputControlsContainer.displayName = 'SearchInputControlsContainer'; // required for testing
|
|
@@ -5,15 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.QS_ANALYTICS_EV_SUBMIT = exports.QS_ANALYTICS_EV_QUERY_ENTERED = exports.QS_ANALYTICS_EV_OPEN = exports.QS_ANALYTICS_EV_KB_CTRLS_USED = exports.QS_ANALYTICS_EV_CLOSE = exports.ATLASKIT_QUICKSEARCH_NS = void 0;
|
|
7
7
|
/* eslint-disable import/prefer-default-export */
|
|
8
|
-
var ATLASKIT_QUICKSEARCH_NS = 'atlaskit.navigation.quick-search';
|
|
9
|
-
exports.
|
|
10
|
-
var
|
|
11
|
-
exports.
|
|
12
|
-
var
|
|
13
|
-
exports.
|
|
14
|
-
var QS_ANALYTICS_EV_OPEN = "".concat(ATLASKIT_QUICKSEARCH_NS, ".open");
|
|
15
|
-
exports.QS_ANALYTICS_EV_OPEN = QS_ANALYTICS_EV_OPEN;
|
|
16
|
-
var QS_ANALYTICS_EV_QUERY_ENTERED = "".concat(ATLASKIT_QUICKSEARCH_NS, ".query-entered");
|
|
17
|
-
exports.QS_ANALYTICS_EV_QUERY_ENTERED = QS_ANALYTICS_EV_QUERY_ENTERED;
|
|
18
|
-
var QS_ANALYTICS_EV_SUBMIT = "".concat(ATLASKIT_QUICKSEARCH_NS, ".submit");
|
|
19
|
-
exports.QS_ANALYTICS_EV_SUBMIT = QS_ANALYTICS_EV_SUBMIT;
|
|
8
|
+
var ATLASKIT_QUICKSEARCH_NS = exports.ATLASKIT_QUICKSEARCH_NS = 'atlaskit.navigation.quick-search';
|
|
9
|
+
var QS_ANALYTICS_EV_CLOSE = exports.QS_ANALYTICS_EV_CLOSE = "".concat(ATLASKIT_QUICKSEARCH_NS, ".close");
|
|
10
|
+
var QS_ANALYTICS_EV_KB_CTRLS_USED = exports.QS_ANALYTICS_EV_KB_CTRLS_USED = "".concat(ATLASKIT_QUICKSEARCH_NS, ".keyboard-controls-used");
|
|
11
|
+
var QS_ANALYTICS_EV_OPEN = exports.QS_ANALYTICS_EV_OPEN = "".concat(ATLASKIT_QUICKSEARCH_NS, ".open");
|
|
12
|
+
var QS_ANALYTICS_EV_QUERY_ENTERED = exports.QS_ANALYTICS_EV_QUERY_ENTERED = "".concat(ATLASKIT_QUICKSEARCH_NS, ".query-entered");
|
|
13
|
+
var QS_ANALYTICS_EV_SUBMIT = exports.QS_ANALYTICS_EV_SUBMIT = "".concat(ATLASKIT_QUICKSEARCH_NS, ".submit");
|
|
@@ -16,7 +16,5 @@ var defaultState = {
|
|
|
16
16
|
return Number(n);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
var ResultContext = /*#__PURE__*/_react.default.createContext(defaultState);
|
|
20
|
-
exports.
|
|
21
|
-
var SelectedResultIdContext = /*#__PURE__*/_react.default.createContext(null);
|
|
22
|
-
exports.SelectedResultIdContext = SelectedResultIdContext;
|
|
19
|
+
var ResultContext = exports.ResultContext = /*#__PURE__*/_react.default.createContext(defaultState);
|
|
20
|
+
var SelectedResultIdContext = exports.SelectedResultIdContext = /*#__PURE__*/_react.default.createContext(null);
|
|
@@ -8,10 +8,9 @@ exports.default = void 0;
|
|
|
8
8
|
* Heuristically check whether an element is a react element or not.
|
|
9
9
|
* React elements have constructors for their type property but native elements use strings.
|
|
10
10
|
*/
|
|
11
|
-
var _default = function _default(element) {
|
|
11
|
+
var _default = exports.default = function _default(element) {
|
|
12
12
|
var type = element && element.type;
|
|
13
13
|
var hasFunctionAsType = !!type && typeof type === 'function';
|
|
14
14
|
var hasProps = element && element.props;
|
|
15
15
|
return hasFunctionAsType && hasProps;
|
|
16
|
-
};
|
|
17
|
-
exports.default = _default;
|
|
16
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ResultItemGroupHeader: import("styled-components").StyledComponentClass<import("react").
|
|
3
|
-
export declare const ResultItemGroupTitle: import("styled-components").StyledComponentClass<import("react").
|
|
2
|
+
export declare const ResultItemGroupHeader: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
3
|
+
export declare const ResultItemGroupTitle: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
4
4
|
export declare const ResultItemAfter: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
shouldTakeSpace: boolean;
|
|
6
6
|
}, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
7
7
|
shouldTakeSpace: boolean;
|
|
8
8
|
}>;
|
|
9
|
-
export declare const ResultItemAfterWrapper: import("styled-components").StyledComponentClass<import("react").
|
|
10
|
-
export declare const ResultItemCaption: import("styled-components").StyledComponentClass<import("react").
|
|
11
|
-
export declare const ResultItemSubText: import("styled-components").StyledComponentClass<import("react").
|
|
12
|
-
export declare const ResultItemIcon: import("styled-components").StyledComponentClass<import("react").
|
|
13
|
-
export declare const ResultItemTextAfter: import("styled-components").StyledComponentClass<import("react").
|
|
9
|
+
export declare const ResultItemAfterWrapper: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
10
|
+
export declare const ResultItemCaption: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
11
|
+
export declare const ResultItemSubText: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
12
|
+
export declare const ResultItemIcon: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
13
|
+
export declare const ResultItemTextAfter: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SearchBox: import("styled-components").StyledComponentClass<import("react").
|
|
3
|
-
export declare const SearchFieldBaseOuter: import("styled-components").StyledComponentClass<import("react").
|
|
4
|
-
export declare const SearchFieldBaseInner: import("styled-components").StyledComponentClass<import("react").
|
|
5
|
-
export declare const SearchInner: import("styled-components").StyledComponentClass<import("react").
|
|
2
|
+
export declare const SearchBox: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
3
|
+
export declare const SearchFieldBaseOuter: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
4
|
+
export declare const SearchFieldBaseInner: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
5
|
+
export declare const SearchInner: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
6
6
|
export declare const getPlaceholderStyle: (style: any) => import("styled-components").InterpolationValue[];
|
|
7
7
|
export declare const getPlaceholderColor: import("styled-components").InterpolationValue[];
|
|
8
|
-
export declare const SearchInput: import("styled-components").StyledComponentClass<import("react").
|
|
9
|
-
export declare const SearchInputTypeAhead: import("styled-components").StyledComponentClass<import("react").
|
|
10
|
-
export declare const SearchInputControlsContainer: import("styled-components").StyledComponentClass<import("react").
|
|
8
|
+
export declare const SearchInput: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, any, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
9
|
+
export declare const SearchInputTypeAhead: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, any, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
10
|
+
export declare const SearchInputControlsContainer: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ResultItemGroupHeader: import("styled-components").StyledComponentClass<import("react").
|
|
3
|
-
export declare const ResultItemGroupTitle: import("styled-components").StyledComponentClass<import("react").
|
|
2
|
+
export declare const ResultItemGroupHeader: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
3
|
+
export declare const ResultItemGroupTitle: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
4
4
|
export declare const ResultItemAfter: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
shouldTakeSpace: boolean;
|
|
6
6
|
}, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
7
7
|
shouldTakeSpace: boolean;
|
|
8
8
|
}>;
|
|
9
|
-
export declare const ResultItemAfterWrapper: import("styled-components").StyledComponentClass<import("react").
|
|
10
|
-
export declare const ResultItemCaption: import("styled-components").StyledComponentClass<import("react").
|
|
11
|
-
export declare const ResultItemSubText: import("styled-components").StyledComponentClass<import("react").
|
|
12
|
-
export declare const ResultItemIcon: import("styled-components").StyledComponentClass<import("react").
|
|
13
|
-
export declare const ResultItemTextAfter: import("styled-components").StyledComponentClass<import("react").
|
|
9
|
+
export declare const ResultItemAfterWrapper: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
10
|
+
export declare const ResultItemCaption: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
11
|
+
export declare const ResultItemSubText: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
12
|
+
export declare const ResultItemIcon: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
13
|
+
export declare const ResultItemTextAfter: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SearchBox: import("styled-components").StyledComponentClass<import("react").
|
|
3
|
-
export declare const SearchFieldBaseOuter: import("styled-components").StyledComponentClass<import("react").
|
|
4
|
-
export declare const SearchFieldBaseInner: import("styled-components").StyledComponentClass<import("react").
|
|
5
|
-
export declare const SearchInner: import("styled-components").StyledComponentClass<import("react").
|
|
2
|
+
export declare const SearchBox: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
3
|
+
export declare const SearchFieldBaseOuter: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
4
|
+
export declare const SearchFieldBaseInner: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
5
|
+
export declare const SearchInner: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
6
6
|
export declare const getPlaceholderStyle: (style: any) => import("styled-components").InterpolationValue[];
|
|
7
7
|
export declare const getPlaceholderColor: import("styled-components").InterpolationValue[];
|
|
8
|
-
export declare const SearchInput: import("styled-components").StyledComponentClass<import("react").
|
|
9
|
-
export declare const SearchInputTypeAhead: import("styled-components").StyledComponentClass<import("react").
|
|
10
|
-
export declare const SearchInputControlsContainer: import("styled-components").StyledComponentClass<import("react").
|
|
8
|
+
export declare const SearchInput: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, any, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
9
|
+
export declare const SearchInputTypeAhead: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, any, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
10
|
+
export declare const SearchInputControlsContainer: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/quick-search",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.5",
|
|
4
4
|
"description": "A quick-search component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/analytics": "^8.1.0",
|
|
34
|
-
"@atlaskit/avatar": "^21.
|
|
34
|
+
"@atlaskit/avatar": "^21.4.0",
|
|
35
35
|
"@atlaskit/item": "^12.1.0",
|
|
36
|
-
"@atlaskit/spinner": "^
|
|
36
|
+
"@atlaskit/spinner": "^16.0.0",
|
|
37
37
|
"@atlaskit/theme": "^12.6.0",
|
|
38
|
-
"@atlaskit/tokens": "^1.
|
|
38
|
+
"@atlaskit/tokens": "^1.28.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"keycode": "^2.1.7"
|
|
41
41
|
},
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"styled-components": "^3.2.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@atlaskit/avatar": "^21.3.0",
|
|
48
47
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
49
48
|
"enzyme": "^3.10.0",
|
|
50
49
|
"prop-types": "^15.5.10",
|