@synerise/ds-search 0.6.2 → 0.6.6

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.
@@ -7,12 +7,12 @@ export var openDropdownAnimation = keyframes(["0%{opacity:0;overflow:hidden;}50%
7
7
  export var SearchInputWrapper = styled.div.withConfig({
8
8
  displayName: "Searchstyles__SearchInputWrapper",
9
9
  componentId: "sc-1w8jj1b-0"
10
- })(["position:relative;direction:rtl;overflow-x:hidden;height:32px;"]);
10
+ })(["position:relative;direction:rtl;overflow-x:hidden;overflow-y:hidden;height:32px;"]);
11
11
  export var SearchWrapper = styled.div.withConfig({
12
12
  displayName: "Searchstyles__SearchWrapper",
13
13
  componentId: "sc-1w8jj1b-1"
14
14
  })(["", ";position:relative;direction:rtl;"], function (props) {
15
- return !!props.width && "\n ".concat(props.inputOpen ? "width:".concat(props.width, "px;") : "width:32px", ";\n ");
15
+ return !!props.width && "\n " + (props.inputOpen ? "width:" + props.width + "px;" : "width:32px") + ";\n ";
16
16
  });
17
17
  export var LeftSide = styled.span.withConfig({
18
18
  displayName: "Searchstyles__LeftSide",
@@ -54,7 +54,7 @@ export var SearchInner = styled.div.withConfig({
54
54
  displayName: "Searchstyles__SearchInner",
55
55
  componentId: "sc-1w8jj1b-7"
56
56
  })(["direction:ltr;margin-bottom:0;", " input::placeholder{line-height:1.29;}"], function (props) {
57
- return (props.hasValue || props.alwaysHighlight) && "\n input, input:hover{\n box-shadow: inset 0 0 0 1px ".concat(props.theme.palette['blue-600'], ";\n border-color: ").concat(props.theme.palette['blue-600'], ";\n background-color: ").concat(props.theme.palette['blue-050'], ";\n }\n \n ");
57
+ return (props.hasValue || props.alwaysHighlight) && "\n input, input:hover{\n box-shadow: inset 0 0 0 1px " + props.theme.palette['blue-600'] + ";\n border-color: " + props.theme.palette['blue-600'] + ";\n background-color: " + props.theme.palette['blue-050'] + ";\n }\n \n ";
58
58
  });
59
59
  export var SearchInputContent = styled.div.withConfig({
60
60
  displayName: "Searchstyles__SearchInputContent",
@@ -62,7 +62,7 @@ export var SearchInputContent = styled.div.withConfig({
62
62
  })(["overflow:hidden;direction:rtl;transition:width ", "s ease-in-out;width:0;input{opacity:0;height:32px;}input.ant-input{transition:padding-left 0s ease-in-out !important;}&.is-open{width:100%;overflow:visible;input{color:", ";padding-left:", ";padding-right:30px;opacity:1;}}"], ANIMATION_DURATION, function (props) {
63
63
  return props.theme.palette['grey-700'];
64
64
  }, function (props) {
65
- return props.filterLabel && props.offset ? "".concat(Math.round(props.offset + LABEL_LEFT_OFFSET), "px") : '12px';
65
+ return props.filterLabel && props.offset ? Math.round(props.offset + LABEL_LEFT_OFFSET) + "px" : '12px';
66
66
  });
67
67
  export var ClearButton = styled.div.withConfig({
68
68
  displayName: "Searchstyles__ClearButton",
@@ -74,7 +74,7 @@ export var SearchDropdownContent = styled.div.withConfig({
74
74
  })(["position:absolute;top:40px;background:", ";max-height:", ";direction:ltr;opacity:0;display:none;border-radius:3px;box-shadow:0 16px 32px 0 rgba(35,41,54,0.1);box-sizing:border-box;transition:opacity 0.5s ease-in-out,width 0.5s ease-in-out;.ps__rail-y{.ps__thumb-y{transform:translateX(1px) !important;}}"], function (props) {
75
75
  return props.theme.palette.white;
76
76
  }, function (props) {
77
- return "".concat(props.maxHeight, "px");
77
+ return props.maxHeight + "px";
78
78
  });
79
79
  export var MenuHeader = styled.div.withConfig({
80
80
  displayName: "Searchstyles__MenuHeader",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-search",
3
- "version": "0.6.2",
3
+ "version": "0.6.6",
4
4
  "description": "Search UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,11 +32,11 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.16.1",
36
- "@synerise/ds-dropdown": "^0.17.2",
37
- "@synerise/ds-menu": "^0.11.1",
38
- "@synerise/ds-scrollbar": "^0.4.1",
39
- "@synerise/ds-typography": "^0.12.1",
35
+ "@synerise/ds-button": "^0.16.2",
36
+ "@synerise/ds-dropdown": "^0.17.4",
37
+ "@synerise/ds-menu": "^0.11.2",
38
+ "@synerise/ds-scrollbar": "^0.4.2",
39
+ "@synerise/ds-typography": "^0.12.2",
40
40
  "@synerise/ds-utils": "^0.19.0",
41
41
  "react-onclickoutside": "^6.9.0",
42
42
  "react-window": "^1.8.5"
@@ -49,5 +49,5 @@
49
49
  "@types/react-onclickoutside": "^6.7.3",
50
50
  "@types/react-window": "^1.8.2"
51
51
  },
52
- "gitHead": "8e667a88a48d774c550ff4766de71c4aab01f5a9"
52
+ "gitHead": "bb2277982fe50eba6d21afa9961fcdd3f213f398"
53
53
  }