@gravity-ui/page-constructor 1.10.2-alpha.0 → 1.10.2-alpha.1
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/build/cjs/blocks/Share/Share.css +1 -1
- package/build/cjs/components/Image/Image.js +2 -1
- package/build/cjs/icons/Linkedin.js +1 -1
- package/build/esm/blocks/Share/Share.css +1 -1
- package/build/esm/components/Image/Image.js +2 -1
- package/build/esm/icons/Linkedin.js +1 -1
- package/package.json +3 -3
|
@@ -40,7 +40,7 @@ unpredictable css rules order in build */
|
|
|
40
40
|
background-color: var(--yc-color-telegram);
|
|
41
41
|
}
|
|
42
42
|
.pc-share-block__item_type_linkedin {
|
|
43
|
-
background-color:
|
|
43
|
+
background-color: var(--yc-color-linkedin);
|
|
44
44
|
}
|
|
45
45
|
.pc-share-block__item.pc-share-block__item:before {
|
|
46
46
|
border-radius: 100%;
|
|
@@ -26,8 +26,9 @@ const Image = (props) => {
|
|
|
26
26
|
react_1.default.createElement("source", { srcSet: mobile, media: `(max-width: ${constants_1.BREAKPOINTS.sm}px)` }))),
|
|
27
27
|
tablet && (react_1.default.createElement(react_1.Fragment, null,
|
|
28
28
|
!disableWebp && (react_1.default.createElement("source", { srcSet: checkWebP(tablet), type: "image/webp", media: `(max-width: ${constants_1.BREAKPOINTS.md}px)` })),
|
|
29
|
+
"]",
|
|
29
30
|
react_1.default.createElement("source", { srcSet: tablet, media: `(max-width: ${constants_1.BREAKPOINTS.md}px)` }))),
|
|
30
|
-
|
|
31
|
+
imageSrc && !disableWebp && react_1.default.createElement("source", { srcSet: checkWebP(imageSrc), type: "image/webp" }),
|
|
31
32
|
react_1.default.createElement("img", { className: className, src: imageSrc, alt: alt, style: style, onClick: onClick, onError: () => setImgLoadingError(true) })));
|
|
32
33
|
};
|
|
33
34
|
exports.default = Image;
|
|
@@ -5,5 +5,5 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
6
|
const svg_1 = require("../utils/svg");
|
|
7
7
|
const Linkedin = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor" }, svg_1.a11yHiddenSvgProps, props),
|
|
8
|
-
react_1.default.createElement("path", { d: "
|
|
8
|
+
react_1.default.createElement("path", { d: "M21.3779 19.3506H17.7796V13.7149C17.7796 12.371 17.7556 10.641 15.908 10.641C14.0339 10.641 13.7471 12.1053 13.7471 13.6171V19.3503H10.1487V7.76094H13.6032V9.34475H13.6515C13.9972 8.7536 14.4968 8.2673 15.097 7.93763C15.6972 7.60796 16.3756 7.44726 17.0599 7.47266C20.707 7.47266 21.3794 9.8718 21.3794 12.9929L21.3779 19.3506ZM6.08857 6.17675C5.67556 6.17682 5.2718 6.05442 4.92836 5.82501C4.58492 5.5956 4.31722 5.26949 4.1591 4.88792C4.00097 4.50633 3.95956 4.08644 4.04005 3.68132C4.12055 3.2762 4.31936 2.90406 4.61135 2.61194C4.90333 2.31983 5.27537 2.12085 5.68043 2.0402C6.08549 1.95954 6.50536 2.00084 6.88696 2.15883C7.26854 2.31683 7.59472 2.58444 7.82423 2.92782C8.05375 3.27122 8.1763 3.67496 8.17637 4.088C8.17642 4.36226 8.12246 4.63383 8.01757 4.88721C7.91267 5.14061 7.75889 5.37086 7.56502 5.56482C7.37114 5.75877 7.14098 5.91264 6.88765 6.01764C6.63431 6.12264 6.36278 6.1767 6.08857 6.17675ZM7.88774 19.3506H4.28561V7.76094H7.88774V19.3506Z" })));
|
|
9
9
|
exports.Linkedin = Linkedin;
|
|
@@ -40,7 +40,7 @@ unpredictable css rules order in build */
|
|
|
40
40
|
background-color: var(--yc-color-telegram);
|
|
41
41
|
}
|
|
42
42
|
.pc-share-block__item_type_linkedin {
|
|
43
|
-
background-color:
|
|
43
|
+
background-color: var(--yc-color-linkedin);
|
|
44
44
|
}
|
|
45
45
|
.pc-share-block__item.pc-share-block__item:before {
|
|
46
46
|
border-radius: 100%;
|
|
@@ -23,8 +23,9 @@ const Image = (props) => {
|
|
|
23
23
|
React.createElement("source", { srcSet: mobile, media: `(max-width: ${BREAKPOINTS.sm}px)` }))),
|
|
24
24
|
tablet && (React.createElement(Fragment, null,
|
|
25
25
|
!disableWebp && (React.createElement("source", { srcSet: checkWebP(tablet), type: "image/webp", media: `(max-width: ${BREAKPOINTS.md}px)` })),
|
|
26
|
+
"]",
|
|
26
27
|
React.createElement("source", { srcSet: tablet, media: `(max-width: ${BREAKPOINTS.md}px)` }))),
|
|
27
|
-
|
|
28
|
+
imageSrc && !disableWebp && React.createElement("source", { srcSet: checkWebP(imageSrc), type: "image/webp" }),
|
|
28
29
|
React.createElement("img", { className: className, src: imageSrc, alt: alt, style: style, onClick: onClick, onError: () => setImgLoadingError(true) })));
|
|
29
30
|
};
|
|
30
31
|
export default Image;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { a11yHiddenSvgProps } from '../utils/svg';
|
|
3
3
|
export const Linkedin = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", fill: "currentColor" }, a11yHiddenSvgProps, props),
|
|
4
|
-
React.createElement("path", { d: "
|
|
4
|
+
React.createElement("path", { d: "M21.3779 19.3506H17.7796V13.7149C17.7796 12.371 17.7556 10.641 15.908 10.641C14.0339 10.641 13.7471 12.1053 13.7471 13.6171V19.3503H10.1487V7.76094H13.6032V9.34475H13.6515C13.9972 8.7536 14.4968 8.2673 15.097 7.93763C15.6972 7.60796 16.3756 7.44726 17.0599 7.47266C20.707 7.47266 21.3794 9.8718 21.3794 12.9929L21.3779 19.3506ZM6.08857 6.17675C5.67556 6.17682 5.2718 6.05442 4.92836 5.82501C4.58492 5.5956 4.31722 5.26949 4.1591 4.88792C4.00097 4.50633 3.95956 4.08644 4.04005 3.68132C4.12055 3.2762 4.31936 2.90406 4.61135 2.61194C4.90333 2.31983 5.27537 2.12085 5.68043 2.0402C6.08549 1.95954 6.50536 2.00084 6.88696 2.15883C7.26854 2.31683 7.59472 2.58444 7.82423 2.92782C8.05375 3.27122 8.1763 3.67496 8.17637 4.088C8.17642 4.36226 8.12246 4.63383 8.01757 4.88721C7.91267 5.14061 7.75889 5.37086 7.56502 5.56482C7.37114 5.75877 7.14098 5.91264 6.88765 6.01764C6.63431 6.12264 6.36278 6.1767 6.08857 6.17675ZM7.88774 19.3506H4.28561V7.76094H7.88774V19.3506Z" })));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/page-constructor",
|
|
3
|
-
"version": "1.10.2-alpha.
|
|
3
|
+
"version": "1.10.2-alpha.1",
|
|
4
4
|
"description": "Gravity UI Page Constructor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": "^16.0.0 || ^17.0.0",
|
|
61
|
-
"@gravity-ui/uikit": "^3.0
|
|
61
|
+
"@gravity-ui/uikit": "^3.11.0",
|
|
62
62
|
"@doc-tools/transform": "^2.6.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@gravity-ui/prettier-config": "^1.0.1",
|
|
70
70
|
"@gravity-ui/stylelint-config": "^1.0.0",
|
|
71
71
|
"@gravity-ui/tsconfig": "^1.0.0",
|
|
72
|
-
"@gravity-ui/uikit": "^3.
|
|
72
|
+
"@gravity-ui/uikit": "^3.11.0",
|
|
73
73
|
"@storybook/addon-actions": "^6.3.12",
|
|
74
74
|
"@storybook/addon-essentials": "^6.5.10",
|
|
75
75
|
"@storybook/addon-knobs": "^6.3.1",
|