@atlaskit/quick-search 8.1.7 → 8.1.8
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,11 @@
|
|
|
1
1
|
# @atlaskit/quick-search
|
|
2
2
|
|
|
3
|
+
## 8.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#72162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72162) [`dadc682d36ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dadc682d36ba) - Replace hardcoded values with space tokens
|
|
8
|
+
|
|
3
9
|
## 8.1.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -21,7 +21,7 @@ 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
23
|
var controlKeys = exports.controlKeys = ['ArrowUp', 'ArrowDown', 'Enter', 'Tab', 'ArrowRight'];
|
|
24
|
-
var SpinnerParent = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height:
|
|
24
|
+
var SpinnerParent = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: ", ";\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-250, 20px)", "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)");
|
|
25
25
|
var Search = exports.default = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
26
|
(0, _inherits2.default)(Search, _React$PureComponent);
|
|
27
27
|
var _super = _createSuper(Search);
|
|
@@ -5,9 +5,9 @@ import styled from 'styled-components';
|
|
|
5
5
|
import { SearchBox, SearchFieldBaseInner, SearchInner, SearchInput, SearchFieldBaseOuter, SearchInputControlsContainer, SearchInputTypeAhead } from './styled';
|
|
6
6
|
export const controlKeys = ['ArrowUp', 'ArrowDown', 'Enter', 'Tab', 'ArrowRight'];
|
|
7
7
|
const SpinnerParent = styled.div`
|
|
8
|
-
height: 20px;
|
|
9
|
-
margin-left:
|
|
10
|
-
margin-top:
|
|
8
|
+
height: ${"var(--ds-space-250, 20px)"};
|
|
9
|
+
margin-left: ${"var(--ds-space-150, 12px)"};
|
|
10
|
+
margin-top: ${"var(--ds-space-150, 12px)"};
|
|
11
11
|
`;
|
|
12
12
|
export default class Search extends React.PureComponent {
|
|
13
13
|
constructor(...args) {
|
|
@@ -14,7 +14,7 @@ import Spinner from '@atlaskit/spinner';
|
|
|
14
14
|
import styled from 'styled-components';
|
|
15
15
|
import { SearchBox, SearchFieldBaseInner, SearchInner, SearchInput, SearchFieldBaseOuter, SearchInputControlsContainer, SearchInputTypeAhead } from './styled';
|
|
16
16
|
export var controlKeys = ['ArrowUp', 'ArrowDown', 'Enter', 'Tab', 'ArrowRight'];
|
|
17
|
-
var SpinnerParent = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height:
|
|
17
|
+
var SpinnerParent = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: ", ";\n margin-left: ", ";\n margin-top: ", ";\n"])), "var(--ds-space-250, 20px)", "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)");
|
|
18
18
|
var Search = /*#__PURE__*/function (_React$PureComponent) {
|
|
19
19
|
_inherits(Search, _React$PureComponent);
|
|
20
20
|
var _super = _createSuper(Search);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/quick-search",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.8",
|
|
4
4
|
"description": "A quick-search component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/item": "^12.1.0",
|
|
35
35
|
"@atlaskit/spinner": "^16.0.0",
|
|
36
36
|
"@atlaskit/theme": "^12.6.0",
|
|
37
|
-
"@atlaskit/tokens": "^1.
|
|
37
|
+
"@atlaskit/tokens": "^1.37.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"keycode": "^2.1.7"
|
|
40
40
|
},
|
|
@@ -55,4 +55,4 @@
|
|
|
55
55
|
"af:exports": {
|
|
56
56
|
".": "./src/index.ts"
|
|
57
57
|
}
|
|
58
|
-
}
|
|
58
|
+
}
|