@gravity-ui/page-constructor 1.15.1 → 1.15.3
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,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.15.3](https://github.com/gravity-ui/page-constructor/compare/v1.15.2...v1.15.3) (2023-02-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fullscreen icon hide ([#141](https://github.com/gravity-ui/page-constructor/issues/141)) ([dfec755](https://github.com/gravity-ui/page-constructor/commit/dfec75544102299d0f82b72dbb5f334759a63cb0))
|
|
9
|
+
|
|
10
|
+
## [1.15.2](https://github.com/gravity-ui/page-constructor/compare/v1.15.1...v1.15.2) (2023-02-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add layout item to card stories ([#143](https://github.com/gravity-ui/page-constructor/issues/143)) ([078c7f2](https://github.com/gravity-ui/page-constructor/commit/078c7f24e1e6a620ad57b929f08dd703092463f5))
|
|
16
|
+
|
|
3
17
|
## [1.15.1](https://github.com/gravity-ui/page-constructor/compare/v1.15.0...v1.15.1) (2023-02-10)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -5,8 +5,8 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
5
5
|
const utils_1 = require("../../../utils");
|
|
6
6
|
const ToggleArrow_1 = tslib_1.__importDefault(require("../../../components/ToggleArrow/ToggleArrow"));
|
|
7
7
|
const b = (0, utils_1.block)('slider-block-arrow');
|
|
8
|
-
const Arrow = ({ type, handleClick, className, size = 16 }) => (react_1.default.createElement("div", { className: b({ type }, className)
|
|
9
|
-
react_1.default.createElement("button", { className: b('button') },
|
|
8
|
+
const Arrow = ({ type, handleClick, className, size = 16 }) => (react_1.default.createElement("div", { className: b({ type }, className) },
|
|
9
|
+
react_1.default.createElement("button", { className: b('button'), onClick: () => handleClick && handleClick(type) },
|
|
10
10
|
react_1.default.createElement("div", { className: b('icon-wrapper') },
|
|
11
11
|
react_1.default.createElement(ToggleArrow_1.default, { size: size, type: 'horizontal', iconType: "navigation", className: b('icon') })))));
|
|
12
12
|
exports.default = Arrow;
|
|
@@ -179,11 +179,7 @@ unpredictable css rules order in build */
|
|
|
179
179
|
}
|
|
180
180
|
.pc-SliderBlock_type_media-card .slick-arrow {
|
|
181
181
|
display: none;
|
|
182
|
-
height: 100%;
|
|
183
182
|
width: 64px;
|
|
184
|
-
top: 0;
|
|
185
|
-
}
|
|
186
|
-
.pc-SliderBlock_type_media-card .slick-arrow button {
|
|
187
183
|
top: 50%;
|
|
188
184
|
transform: translate(0, -50%);
|
|
189
185
|
}
|
|
@@ -3,8 +3,8 @@ import { block } from '../../../utils';
|
|
|
3
3
|
import ToggleArrow from '../../../components/ToggleArrow/ToggleArrow';
|
|
4
4
|
import './Arrow.css';
|
|
5
5
|
const b = block('slider-block-arrow');
|
|
6
|
-
const Arrow = ({ type, handleClick, className, size = 16 }) => (React.createElement("div", { className: b({ type }, className)
|
|
7
|
-
React.createElement("button", { className: b('button') },
|
|
6
|
+
const Arrow = ({ type, handleClick, className, size = 16 }) => (React.createElement("div", { className: b({ type }, className) },
|
|
7
|
+
React.createElement("button", { className: b('button'), onClick: () => handleClick && handleClick(type) },
|
|
8
8
|
React.createElement("div", { className: b('icon-wrapper') },
|
|
9
9
|
React.createElement(ToggleArrow, { size: size, type: 'horizontal', iconType: "navigation", className: b('icon') })))));
|
|
10
10
|
export default Arrow;
|
|
@@ -179,11 +179,7 @@ unpredictable css rules order in build */
|
|
|
179
179
|
}
|
|
180
180
|
.pc-SliderBlock_type_media-card .slick-arrow {
|
|
181
181
|
display: none;
|
|
182
|
-
height: 100%;
|
|
183
182
|
width: 64px;
|
|
184
|
-
top: 0;
|
|
185
|
-
}
|
|
186
|
-
.pc-SliderBlock_type_media-card .slick-arrow button {
|
|
187
183
|
top: 50%;
|
|
188
184
|
transform: translate(0, -50%);
|
|
189
185
|
}
|