ublo-lib 1.1.5 → 1.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.
@@ -1,6 +1,5 @@
1
1
  .filters {
2
2
  width: 100%;
3
- max-width: 1100px;
4
3
  display: flex;
5
4
  justify-content: center;
6
5
  flex-wrap: wrap;
@@ -82,6 +82,7 @@ const MagicBox = ({
82
82
  React.useEffect(() => {
83
83
  if (stay) {
84
84
  refreshFilters();
85
+ setCurrentStep(0);
85
86
  }
86
87
  }, [refreshFilters, stay]);
87
88
  const showFilter = stay && filters && values;
@@ -99,7 +100,6 @@ const MagicBox = ({
99
100
  values: values,
100
101
  setValues: setValues
101
102
  }), _jsxs(Button, {
102
- className: css.confirm,
103
103
  onClick: () => setCurrentStep(1),
104
104
  disabled: !isValid,
105
105
  children: [message(lang, "confirm"), _jsx(Icons.Search, {})]
@@ -2,14 +2,18 @@
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
5
+ background-color: var(--ds-grey-200, #efefef);
5
6
  }
6
7
 
7
8
  .top {
8
- padding: 50px 0;
9
+ width: 100%;
10
+ max-width: 1100px;
9
11
  display: flex;
10
12
  flex-direction: column;
11
- background-color: var(--ds-grey-200, #efefef);
13
+ margin: 0 auto;
14
+ padding: 50px 0;
12
15
  }
16
+
13
17
  @media (min-width: 992px) {
14
18
  .top {
15
19
  padding: 100px 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.1.5",
3
+ "version": "1.1.8",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.1.0",
6
6
  "next": "^12.0.0",