techsbcn-storybook 0.12.8 → 0.12.9

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.
@@ -136,7 +136,7 @@ var SearchComponent = function SearchComponent(props) {
136
136
  }, React__default.createElement(material.Grid, {
137
137
  item: true,
138
138
  xs: props.actions ? 6 : 12,
139
- md: 4
139
+ md: props.searchBar ? 4 : props.actions ? 6 : 12
140
140
  }, React__default.createElement(material.Box, {
141
141
  px: 1,
142
142
  className: (props.enableAfter ? 'main-background-color-after' : '') + " title"
@@ -191,10 +191,10 @@ var SearchComponent = function SearchComponent(props) {
191
191
  }))) : React__default.createElement(material.Box, {
192
192
  ml: "auto",
193
193
  className: "wrapper-actions"
194
- }, ActionsList(props.actions)))), React__default.createElement(material.Grid, {
194
+ }, ActionsList(props.actions)))), (props.searchBar || props.filters || props.actions) && React__default.createElement(material.Grid, {
195
195
  item: true,
196
196
  xs: 12,
197
- md: props.actions ? 8 : 7
197
+ md: props.actions && props.searchBar ? 8 : props.actions ? 6 : 7
198
198
  }, React__default.createElement(material.Box, {
199
199
  display: "flex",
200
200
  alignItems: "center"