@doyourjob/gravity-ui-page-constructor 5.31.161 → 5.31.162

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.
@@ -65,6 +65,9 @@ unpredictable css rules order in build */
65
65
  .pc-button-block_size_xl {
66
66
  --btn-image-margin: 25px;
67
67
  }
68
+ .pc-button-block_size_xl.pc-button-block_theme_youtube, .pc-button-block_size_xl.pc-button-block_theme_spotify, .pc-button-block_size_xl.pc-button-block_theme_apple-podcasts {
69
+ --_--padding: 16px;
70
+ }
68
71
  .pc-button-block_width_max .pc-button-block__text {
69
72
  width: 100%;
70
73
  }
@@ -43,15 +43,15 @@ const Button = (props) => {
43
43
  image = undefined;
44
44
  }
45
45
  if (theme === 'youtube') {
46
- icon = react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.Youtube, size: 24, qa: utils_2.ICON_QA });
46
+ icon = (react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.Youtube, size: size === 'xl' ? 32 : 24, qa: utils_2.ICON_QA }));
47
47
  image = undefined;
48
48
  }
49
49
  if (theme === 'spotify') {
50
- icon = react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.Spotify, size: 24, qa: utils_2.ICON_QA });
50
+ icon = (react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.Spotify, size: size === 'xl' ? 32 : 24, qa: utils_2.ICON_QA }));
51
51
  image = undefined;
52
52
  }
53
53
  if (theme === 'apple-podcasts') {
54
- icon = react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.ApplePodcasts, size: 24, qa: utils_2.ICON_QA });
54
+ icon = (react_1.default.createElement(uikit_1.Icon, { className: b('icon'), data: icons_1.ApplePodcasts, size: size === 'xl' ? 32 : 24, qa: utils_2.ICON_QA }));
55
55
  image = undefined;
56
56
  }
57
57
  const buttonTheme = theme === 'scale' ? 'accent' : theme;
@@ -4,6 +4,6 @@ exports.Spotify = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const svg_1 = require("../utils/svg");
7
- const Spotify = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "-7 -8 36 40.5", width: "36", height: "40.5", fill: "currentColor" }, svg_1.a11yHiddenSvgProps, props),
7
+ const Spotify = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "-6 -7 33.6 37.8", width: "33.6", height: "37.8", fill: "currentColor" }, svg_1.a11yHiddenSvgProps, props),
8
8
  react_1.default.createElement("path", { xmlns: "http://www.w3.org/2000/svg", d: "M12.4756 0.00963214C5.85363 -0.253368 0.272632 4.90163 0.00963213 11.5236C-0.253368 18.1466 4.90163 23.7276 11.5246 23.9896C18.1466 24.2526 23.7276 19.0976 23.9906 12.4756C24.2536 5.85363 19.0976 0.271632 12.4756 0.00963214ZM17.5416 17.5886C17.4475 17.7536 17.2917 17.8745 17.1086 17.9247C16.9254 17.975 16.7298 17.9505 16.5646 17.8566C14.9782 16.9539 13.2345 16.3611 11.4266 16.1096C9.61962 15.853 7.78031 15.9423 6.00663 16.3726C5.82562 16.4078 5.63804 16.3718 5.48285 16.2722C5.32766 16.1727 5.21679 16.0171 5.17328 15.8379C5.12978 15.6588 5.15697 15.4697 5.24922 15.3101C5.34146 15.1504 5.49167 15.0324 5.66863 14.9806C7.61863 14.5066 9.62363 14.4096 11.6266 14.6906C13.6296 14.9726 15.5296 15.6186 17.2736 16.6106C17.3554 16.6572 17.4273 16.7195 17.485 16.7939C17.5428 16.8683 17.5853 16.9533 17.6102 17.0441C17.6351 17.1349 17.6418 17.2298 17.6301 17.3232C17.6183 17.4166 17.5883 17.5068 17.5416 17.5886ZM19.1186 14.4386C19.0606 14.5463 18.9818 14.6414 18.8869 14.7186C18.7921 14.7958 18.6829 14.8535 18.5656 14.8885C18.4484 14.9234 18.3254 14.9348 18.2038 14.9222C18.0821 14.9095 17.9642 14.873 17.8566 14.8146C15.9988 13.8102 13.9763 13.1465 11.8846 12.8546C9.79353 12.5586 7.66633 12.6392 5.60363 13.0926C5.48412 13.1191 5.36054 13.1218 5.24 13.1004C5.11946 13.079 5.00433 13.0341 4.9012 12.9681C4.79807 12.9022 4.70899 12.8165 4.63905 12.716C4.5691 12.6155 4.51969 12.5022 4.49363 12.3826C4.46713 12.2631 4.46449 12.1395 4.48586 12.019C4.50722 11.8985 4.55218 11.7833 4.61814 11.6802C4.68411 11.5771 4.76978 11.488 4.87025 11.418C4.97073 11.3481 5.08402 11.2987 5.20363 11.2726C7.48265 10.7707 9.83326 10.682 12.1436 11.0106C14.4551 11.3316 16.6902 12.0649 18.7426 13.1756C19.1946 13.4206 19.3626 13.9856 19.1186 14.4386ZM20.8666 10.8876C20.7262 11.1572 20.4845 11.3601 20.1946 11.4516C19.9047 11.5431 19.5904 11.5158 19.3206 11.3756C17.1573 10.2509 14.8176 9.50414 12.4026 9.16763C9.98839 8.82521 7.53338 8.89793 5.14363 9.38263C4.84747 9.43894 4.54104 9.37627 4.29076 9.20822C4.04047 9.04017 3.86649 8.78026 3.80651 8.48481C3.74653 8.18937 3.80537 7.88219 3.9703 7.62984C4.13523 7.37749 4.39296 7.20028 4.68763 7.13663C7.33244 6.5998 10.0495 6.51863 12.7216 6.89663C15.3946 7.26972 17.9841 8.09661 20.3786 9.34163C20.9396 9.63363 21.1586 10.3256 20.8666 10.8876Z", fill: "currentColor" })));
9
9
  exports.Spotify = Spotify;
@@ -65,6 +65,9 @@ unpredictable css rules order in build */
65
65
  .pc-button-block_size_xl {
66
66
  --btn-image-margin: 25px;
67
67
  }
68
+ .pc-button-block_size_xl.pc-button-block_theme_youtube, .pc-button-block_size_xl.pc-button-block_theme_spotify, .pc-button-block_size_xl.pc-button-block_theme_apple-podcasts {
69
+ --_--padding: 16px;
70
+ }
68
71
  .pc-button-block_width_max .pc-button-block__text {
69
72
  width: 100%;
70
73
  }
@@ -42,15 +42,15 @@ const Button = (props) => {
42
42
  image = undefined;
43
43
  }
44
44
  if (theme === 'youtube') {
45
- icon = React.createElement(Icon, { className: b('icon'), data: Youtube, size: 24, qa: ICON_QA });
45
+ icon = (React.createElement(Icon, { className: b('icon'), data: Youtube, size: size === 'xl' ? 32 : 24, qa: ICON_QA }));
46
46
  image = undefined;
47
47
  }
48
48
  if (theme === 'spotify') {
49
- icon = React.createElement(Icon, { className: b('icon'), data: Spotify, size: 24, qa: ICON_QA });
49
+ icon = (React.createElement(Icon, { className: b('icon'), data: Spotify, size: size === 'xl' ? 32 : 24, qa: ICON_QA }));
50
50
  image = undefined;
51
51
  }
52
52
  if (theme === 'apple-podcasts') {
53
- icon = React.createElement(Icon, { className: b('icon'), data: ApplePodcasts, size: 24, qa: ICON_QA });
53
+ icon = (React.createElement(Icon, { className: b('icon'), data: ApplePodcasts, size: size === 'xl' ? 32 : 24, qa: ICON_QA }));
54
54
  image = undefined;
55
55
  }
56
56
  const buttonTheme = theme === 'scale' ? 'accent' : theme;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { a11yHiddenSvgProps } from '../utils/svg';
3
- export const Spotify = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "-7 -8 36 40.5", width: "36", height: "40.5", fill: "currentColor" }, a11yHiddenSvgProps, props),
3
+ export const Spotify = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "-6 -7 33.6 37.8", width: "33.6", height: "37.8", fill: "currentColor" }, a11yHiddenSvgProps, props),
4
4
  React.createElement("path", { xmlns: "http://www.w3.org/2000/svg", d: "M12.4756 0.00963214C5.85363 -0.253368 0.272632 4.90163 0.00963213 11.5236C-0.253368 18.1466 4.90163 23.7276 11.5246 23.9896C18.1466 24.2526 23.7276 19.0976 23.9906 12.4756C24.2536 5.85363 19.0976 0.271632 12.4756 0.00963214ZM17.5416 17.5886C17.4475 17.7536 17.2917 17.8745 17.1086 17.9247C16.9254 17.975 16.7298 17.9505 16.5646 17.8566C14.9782 16.9539 13.2345 16.3611 11.4266 16.1096C9.61962 15.853 7.78031 15.9423 6.00663 16.3726C5.82562 16.4078 5.63804 16.3718 5.48285 16.2722C5.32766 16.1727 5.21679 16.0171 5.17328 15.8379C5.12978 15.6588 5.15697 15.4697 5.24922 15.3101C5.34146 15.1504 5.49167 15.0324 5.66863 14.9806C7.61863 14.5066 9.62363 14.4096 11.6266 14.6906C13.6296 14.9726 15.5296 15.6186 17.2736 16.6106C17.3554 16.6572 17.4273 16.7195 17.485 16.7939C17.5428 16.8683 17.5853 16.9533 17.6102 17.0441C17.6351 17.1349 17.6418 17.2298 17.6301 17.3232C17.6183 17.4166 17.5883 17.5068 17.5416 17.5886ZM19.1186 14.4386C19.0606 14.5463 18.9818 14.6414 18.8869 14.7186C18.7921 14.7958 18.6829 14.8535 18.5656 14.8885C18.4484 14.9234 18.3254 14.9348 18.2038 14.9222C18.0821 14.9095 17.9642 14.873 17.8566 14.8146C15.9988 13.8102 13.9763 13.1465 11.8846 12.8546C9.79353 12.5586 7.66633 12.6392 5.60363 13.0926C5.48412 13.1191 5.36054 13.1218 5.24 13.1004C5.11946 13.079 5.00433 13.0341 4.9012 12.9681C4.79807 12.9022 4.70899 12.8165 4.63905 12.716C4.5691 12.6155 4.51969 12.5022 4.49363 12.3826C4.46713 12.2631 4.46449 12.1395 4.48586 12.019C4.50722 11.8985 4.55218 11.7833 4.61814 11.6802C4.68411 11.5771 4.76978 11.488 4.87025 11.418C4.97073 11.3481 5.08402 11.2987 5.20363 11.2726C7.48265 10.7707 9.83326 10.682 12.1436 11.0106C14.4551 11.3316 16.6902 12.0649 18.7426 13.1756C19.1946 13.4206 19.3626 13.9856 19.1186 14.4386ZM20.8666 10.8876C20.7262 11.1572 20.4845 11.3601 20.1946 11.4516C19.9047 11.5431 19.5904 11.5158 19.3206 11.3756C17.1573 10.2509 14.8176 9.50414 12.4026 9.16763C9.98839 8.82521 7.53338 8.89793 5.14363 9.38263C4.84747 9.43894 4.54104 9.37627 4.29076 9.20822C4.04047 9.04017 3.86649 8.78026 3.80651 8.48481C3.74653 8.18937 3.80537 7.88219 3.9703 7.62984C4.13523 7.37749 4.39296 7.20028 4.68763 7.13663C7.33244 6.5998 10.0495 6.51863 12.7216 6.89663C15.3946 7.26972 17.9841 8.09661 20.3786 9.34163C20.9396 9.63363 21.1586 10.3256 20.8666 10.8876Z", fill: "currentColor" })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.161",
3
+ "version": "5.31.162",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {