@doyourjob/gravity-ui-page-constructor 5.31.280 → 5.31.282

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.
@@ -6,7 +6,7 @@ unpredictable css rules order in build */
6
6
  justify-content: center;
7
7
  padding: 0 24px;
8
8
  border-radius: 12px;
9
- background: #001a2b;
9
+ background: var(--g-color-base-brand);
10
10
  color: #ffffff;
11
11
  height: 44px;
12
12
  font-size: 15px;
@@ -23,7 +23,7 @@ unpredictable css rules order in build */
23
23
  }
24
24
  .pc-header-minify-button_outline {
25
25
  background: rgba(5, 43, 66, 0.05);
26
- color: #001a2b;
26
+ color: var(--g-color-base-brand);
27
27
  }
28
28
  @media (hover: hover) and (pointer: fine) {
29
29
  .pc-header-minify-button:hover {
@@ -3,7 +3,7 @@ unpredictable css rules order in build */
3
3
  .pc-header-minify-block {
4
4
  position: relative;
5
5
  z-index: 1;
6
- color: #001a2b;
6
+ color: var(--g-color-base-brand);
7
7
  }
8
8
  .pc-header-minify-block_header-space {
9
9
  padding-top: var(--header-height);
@@ -9,9 +9,9 @@ const grid_1 = require("../../grid");
9
9
  const utils_2 = require("../../utils");
10
10
  const Button_1 = tslib_1.__importDefault(require("./Button/Button"));
11
11
  const b = (0, utils_2.block)('header-minify-block');
12
- const colSizes = { all: 12, md: 9 };
12
+ const DEFAULT_COL_SIZES = { all: 12, md: 9 };
13
13
  const HeaderMinifyBlock = (props) => {
14
- const { title, description, buttons, image, video, headerSpace, verticalOffset, verticalOffsetTop, verticalOffsetBottom, } = props;
14
+ const { title, description, buttons, image, video, headerSpace, verticalOffset, verticalOffsetTop, verticalOffsetBottom, colSizes = DEFAULT_COL_SIZES, } = props;
15
15
  return (react_1.default.createElement("header", { className: b({
16
16
  ['header-space']: headerSpace,
17
17
  'vertical-offset': verticalOffset,
@@ -8,6 +8,11 @@ export declare const HeaderMinifyProperties: {
8
8
  contentType: string;
9
9
  inputType: string;
10
10
  };
11
+ colSizes: {
12
+ type: string;
13
+ additionalProperties: boolean;
14
+ properties: {};
15
+ };
11
16
  buttons: {
12
17
  type: string;
13
18
  items: {
@@ -63,6 +68,11 @@ export declare const HeaderMinifyBlock: {
63
68
  contentType: string;
64
69
  inputType: string;
65
70
  };
71
+ colSizes: {
72
+ type: string;
73
+ additionalProperties: boolean;
74
+ properties: {};
75
+ };
66
76
  buttons: {
67
77
  type: string;
68
78
  items: {
@@ -12,6 +12,7 @@ exports.HeaderMinifyProperties = {
12
12
  contentType: 'yfm',
13
13
  inputType: 'textarea',
14
14
  },
15
+ colSizes: common_1.containerSizesObject,
15
16
  buttons: {
16
17
  type: 'array',
17
18
  items: {
@@ -253,6 +253,7 @@ export interface HeaderMinifyBlockProps {
253
253
  title: string;
254
254
  description?: string;
255
255
  buttons?: HeaderMinifyButtonProps[];
256
+ colSizes?: GridColumnSizesType;
256
257
  image?: string;
257
258
  video?: string;
258
259
  headerSpace?: boolean;
@@ -6,7 +6,7 @@ unpredictable css rules order in build */
6
6
  justify-content: center;
7
7
  padding: 0 24px;
8
8
  border-radius: 12px;
9
- background: #001a2b;
9
+ background: var(--g-color-base-brand);
10
10
  color: #ffffff;
11
11
  height: 44px;
12
12
  font-size: 15px;
@@ -23,7 +23,7 @@ unpredictable css rules order in build */
23
23
  }
24
24
  .pc-header-minify-button_outline {
25
25
  background: rgba(5, 43, 66, 0.05);
26
- color: #001a2b;
26
+ color: var(--g-color-base-brand);
27
27
  }
28
28
  @media (hover: hover) and (pointer: fine) {
29
29
  .pc-header-minify-button:hover {
@@ -3,7 +3,7 @@ unpredictable css rules order in build */
3
3
  .pc-header-minify-block {
4
4
  position: relative;
5
5
  z-index: 1;
6
- color: #001a2b;
6
+ color: var(--g-color-base-brand);
7
7
  }
8
8
  .pc-header-minify-block_header-space {
9
9
  padding-top: var(--header-height);
@@ -6,9 +6,9 @@ import { block } from '../../utils';
6
6
  import Button from './Button/Button';
7
7
  import './HeaderMinify.css';
8
8
  const b = block('header-minify-block');
9
- const colSizes = { all: 12, md: 9 };
9
+ const DEFAULT_COL_SIZES = { all: 12, md: 9 };
10
10
  export const HeaderMinifyBlock = (props) => {
11
- const { title, description, buttons, image, video, headerSpace, verticalOffset, verticalOffsetTop, verticalOffsetBottom, } = props;
11
+ const { title, description, buttons, image, video, headerSpace, verticalOffset, verticalOffsetTop, verticalOffsetBottom, colSizes = DEFAULT_COL_SIZES, } = props;
12
12
  return (React.createElement("header", { className: b({
13
13
  ['header-space']: headerSpace,
14
14
  'vertical-offset': verticalOffset,
@@ -8,6 +8,11 @@ export declare const HeaderMinifyProperties: {
8
8
  contentType: string;
9
9
  inputType: string;
10
10
  };
11
+ colSizes: {
12
+ type: string;
13
+ additionalProperties: boolean;
14
+ properties: {};
15
+ };
11
16
  buttons: {
12
17
  type: string;
13
18
  items: {
@@ -63,6 +68,11 @@ export declare const HeaderMinifyBlock: {
63
68
  contentType: string;
64
69
  inputType: string;
65
70
  };
71
+ colSizes: {
72
+ type: string;
73
+ additionalProperties: boolean;
74
+ properties: {};
75
+ };
66
76
  buttons: {
67
77
  type: string;
68
78
  items: {
@@ -1,4 +1,4 @@
1
- import { BlockBaseProps } from '../../schema/validators/common';
1
+ import { BlockBaseProps, containerSizesObject } from '../../schema/validators/common';
2
2
  export const HeaderMinifyProperties = {
3
3
  title: {
4
4
  type: 'string',
@@ -9,6 +9,7 @@ export const HeaderMinifyProperties = {
9
9
  contentType: 'yfm',
10
10
  inputType: 'textarea',
11
11
  },
12
+ colSizes: containerSizesObject,
12
13
  buttons: {
13
14
  type: 'array',
14
15
  items: {
@@ -253,6 +253,7 @@ export interface HeaderMinifyBlockProps {
253
253
  title: string;
254
254
  description?: string;
255
255
  buttons?: HeaderMinifyButtonProps[];
256
+ colSizes?: GridColumnSizesType;
256
257
  image?: string;
257
258
  video?: string;
258
259
  headerSpace?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.280",
3
+ "version": "5.31.282",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {