@doyourjob/gravity-ui-page-constructor 5.31.149 → 5.31.151

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.
Files changed (29) hide show
  1. package/build/cjs/blocks/Table/Table.css +3 -0
  2. package/build/cjs/blocks/Table/Table.js +16 -2
  3. package/build/cjs/blocks/Table/schema.d.ts +4 -0
  4. package/build/cjs/blocks/Table/schema.js +3 -0
  5. package/build/cjs/constructor-items.d.ts +1 -1
  6. package/build/cjs/models/constructor-items/blocks.d.ts +2 -1
  7. package/build/cjs/models/constructor-items/sub-blocks.d.ts +1 -0
  8. package/build/cjs/sub-blocks/LayoutItem/LayoutItem.css +12 -0
  9. package/build/cjs/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
  10. package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js +6 -2
  11. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +4 -0
  12. package/build/cjs/sub-blocks/LayoutItem/schema.js +3 -0
  13. package/build/esm/blocks/Table/Table.css +3 -0
  14. package/build/esm/blocks/Table/Table.js +16 -2
  15. package/build/esm/blocks/Table/schema.d.ts +4 -0
  16. package/build/esm/blocks/Table/schema.js +4 -1
  17. package/build/esm/constructor-items.d.ts +1 -1
  18. package/build/esm/models/constructor-items/blocks.d.ts +2 -1
  19. package/build/esm/models/constructor-items/sub-blocks.d.ts +1 -0
  20. package/build/esm/sub-blocks/LayoutItem/LayoutItem.css +12 -0
  21. package/build/esm/sub-blocks/LayoutItem/LayoutItem.d.ts +1 -1
  22. package/build/esm/sub-blocks/LayoutItem/LayoutItem.js +6 -2
  23. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +4 -0
  24. package/build/esm/sub-blocks/LayoutItem/schema.js +3 -0
  25. package/package.json +1 -1
  26. package/schema/index.js +1 -1
  27. package/server/models/constructor-items/blocks.d.ts +2 -1
  28. package/server/models/constructor-items/sub-blocks.d.ts +1 -0
  29. package/widget/index.js +1 -1
@@ -14,6 +14,9 @@ unpredictable css rules order in build */
14
14
  .pc-table-block__description {
15
15
  margin: 12px 32px 0 0;
16
16
  }
17
+ *[dir=rtl] .pc-table-block__description {
18
+ margin: 12px 0 0 32px;
19
+ }
17
20
  .pc-table-block__bottomObject {
18
21
  margin-top: 24px;
19
22
  }
@@ -10,8 +10,22 @@ const utils_1 = require("../../utils");
10
10
  const b = (0, utils_1.block)('table-block');
11
11
  const bTable = (0, utils_1.block)('table');
12
12
  const bScrollbar = (0, utils_1.block)('table-scrollbar');
13
+ function getTitleVariant(titleSize) {
14
+ switch (titleSize) {
15
+ case 'xs':
16
+ return 'header-1';
17
+ case 's':
18
+ return 'header-2';
19
+ case 'l':
20
+ case 'xl':
21
+ return 'display-3';
22
+ case 'm':
23
+ default:
24
+ return 'display-2';
25
+ }
26
+ }
13
27
  const TableBlock = (props) => {
14
- const { title, table, description, links = [], buttons = [] } = props;
28
+ const { title, titleSize, table, description, links = [], buttons = [] } = props;
15
29
  const tableRef = (0, react_1.useRef)(null);
16
30
  (0, react_1.useEffect)(() => {
17
31
  var _a;
@@ -43,7 +57,7 @@ const TableBlock = (props) => {
43
57
  react_1.default.createElement(grid_1.Grid, { className: b('content') },
44
58
  react_1.default.createElement(grid_1.Row, { className: b('row') },
45
59
  react_1.default.createElement(grid_1.Col, { className: b('lhs'), sizes: { [grid_1.GridColumnSize.Md]: 3, [grid_1.GridColumnSize.All]: 12 }, alignSelf: grid_1.GridColumnAlignSelf.Start },
46
- react_1.default.createElement(uikit_1.Text, { variant: "display-2" }, title),
60
+ react_1.default.createElement(uikit_1.Text, { variant: getTitleVariant(titleSize) }, title),
47
61
  description && (react_1.default.createElement("div", { className: b('description') },
48
62
  react_1.default.createElement(uikit_1.Text, { variant: "body-2" },
49
63
  react_1.default.createElement(components_1.HTML, null, description)))),
@@ -7,6 +7,10 @@ export declare const TableBlock: {
7
7
  type: string;
8
8
  contentType: string;
9
9
  };
10
+ titleSize: {
11
+ type: string;
12
+ enum: string[];
13
+ };
10
14
  description: {
11
15
  type: string;
12
16
  };
@@ -10,6 +10,9 @@ exports.TableBlock = {
10
10
  properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { title: {
11
11
  type: 'string',
12
12
  contentType: 'text',
13
+ }, titleSize: {
14
+ type: 'string',
15
+ enum: common_1.titleTextSize,
13
16
  }, description: {
14
17
  type: 'string',
15
18
  }, links: (0, utils_1.filteredArray)(common_1.LinkProps), buttons: (0, utils_1.filteredArray)(common_1.ButtonBlock), table: {
@@ -53,7 +53,7 @@ export declare const subBlockMap: {
53
53
  "price-detailed": (props: import("./models").PriceDetailedProps) => JSX.Element;
54
54
  "media-card": ({ border, analyticsEvents, label, ...mediaProps }: import("./models").MediaCardProps) => JSX.Element;
55
55
  "banner-card": (props: import("./models").BannerCardProps) => JSX.Element;
56
- "layout-item": ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, }: import("./models").LayoutItemProps) => JSX.Element;
56
+ "layout-item": ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, paddingBottom, }: import("./models").LayoutItemProps) => JSX.Element;
57
57
  "background-card": (props: import("./models").BackgroundCardProps) => JSX.Element;
58
58
  "basic-card": import("react").MemoExoticComponent<(props: import("./models").BasicCardProps) => JSX.Element>;
59
59
  content: (props: import("./sub-blocks/Content/Content").ContentProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ButtonSize } from '@gravity-ui/uikit';
3
3
  import { GridColumnSize, GridColumnSizesType, IndentValue } from '../../grid/types';
4
4
  import { BlockBackgroundType, ThemeSupporting } from '../../utils';
5
5
  import { AnalyticsEventsBase } from '../common';
6
- import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, MediaView, ReportFileType, TagProps, TextSize, TextTheme, Themable, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, WithBorder, YandexFormProps } from './common';
6
+ import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, MediaView, ReportFileType, TagProps, TextSize, TextTheme, Themable, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, TitleTextSize, WithBorder, YandexFormProps } from './common';
7
7
  import { BannerCardProps, HubspotFormProps, SubBlock, SubBlockModels } from './sub-blocks';
8
8
  export declare enum BlockType {
9
9
  AdvantagesBlock = "advantages-block",
@@ -394,6 +394,7 @@ export interface TableBlockProps {
394
394
  description?: string;
395
395
  links?: LinkProps[];
396
396
  buttons?: ButtonProps[];
397
+ titleSize?: TitleTextSize;
397
398
  }
398
399
  export interface FormWallBlockProps {
399
400
  formData: FormBlockHubspotData;
@@ -181,6 +181,7 @@ export interface LayoutItemProps extends ClassNameProps, CardLayoutProps, Analyt
181
181
  jumpOnHover?: boolean;
182
182
  backgroundColor?: string;
183
183
  background?: ThemeSupporting<ImageObjectProps>;
184
+ paddingBottom?: 's' | 'm' | 'l' | 'xl';
184
185
  }
185
186
  export interface ImageCardProps extends CardBaseProps, CardLayoutProps, Omit<ContentBlockProps, 'colSizes' | 'centered' | 'controlPosition'> {
186
187
  image: ThemeSupporting<ImageProps>;
@@ -9,6 +9,18 @@ unpredictable css rules order in build */
9
9
  .pc-layout-item_with-image {
10
10
  padding: 16px;
11
11
  }
12
+ .pc-layout-item_paddingBottom_s {
13
+ padding-bottom: 80px;
14
+ }
15
+ .pc-layout-item_paddingBottom_m {
16
+ padding-bottom: 160px;
17
+ }
18
+ .pc-layout-item_paddingBottom_l {
19
+ padding-bottom: 240px;
20
+ }
21
+ .pc-layout-item_paddingBottom_xl {
22
+ padding-bottom: 320px;
23
+ }
12
24
  .pc-layout-item__wrap {
13
25
  margin-bottom: 16px;
14
26
  }
@@ -1,3 +1,3 @@
1
1
  import { LayoutItemProps } from '../../models';
2
- declare const LayoutItem: ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, }: LayoutItemProps) => JSX.Element;
2
+ declare const LayoutItem: ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, paddingBottom, }: LayoutItemProps) => JSX.Element;
3
3
  export default LayoutItem;
@@ -12,7 +12,7 @@ const Content_1 = tslib_1.__importDefault(require("../Content/Content"));
12
12
  const utils_3 = require("./utils");
13
13
  const b = (0, utils_2.block)('layout-item');
14
14
  const LayoutItem = (_a) => {
15
- var { title, afterTitle, summary, rightSpace = true } = _a, _b = _a.content, { links } = _b, content = tslib_1.__rest(_b, ["links"]), { metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition = 'content', label, jumpOnHover, background, backgroundColor } = _a;
15
+ var { title, afterTitle, summary, rightSpace = true } = _a, _b = _a.content, { links } = _b, content = tslib_1.__rest(_b, ["links"]), { metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition = 'content', label, jumpOnHover, background, backgroundColor, paddingBottom } = _a;
16
16
  const normalizedLinks = (0, react_1.useMemo)(() => (0, utils_3.getLayoutItemLinks)(links), [links]);
17
17
  const areControlsInFooter = controlPosition === 'footer';
18
18
  const theme = (0, theme_1.useTheme)();
@@ -35,7 +35,11 @@ const LayoutItem = (_a) => {
35
35
  return (react_1.default.createElement(components_1.Media, Object.assign({}, mediaWithMicrodata, fullscreenMediaProps, { className: b('media', { border }, mediaClassName), analyticsEvents: analyticsEvents })));
36
36
  })) : (react_1.default.createElement(components_1.Media, Object.assign({}, themedMedia, { className: b('media', { border }), analyticsEvents: analyticsEvents })));
37
37
  };
38
- return (react_1.default.createElement("div", { className: b({ jumpOnHover, 'with-image': Boolean(background || backgroundColor) }, className) },
38
+ return (react_1.default.createElement("div", { className: b({
39
+ jumpOnHover,
40
+ paddingBottom,
41
+ 'with-image': Boolean(background || backgroundColor),
42
+ }, className) },
39
43
  react_1.default.createElement(components_1.BackgroundImage, Object.assign({ className: b('image') }, backgroundProps, { style: { backgroundColor } })),
40
44
  label && react_1.default.createElement(components_1.Tag, Object.assign({}, label)),
41
45
  (title || afterTitle) && (react_1.default.createElement("div", { className: b('wrap', { right: rightSpace }) },
@@ -748,6 +748,10 @@ export declare const LayoutItem: {
748
748
  backgroundColor: {
749
749
  type: string;
750
750
  };
751
+ paddingBottom: {
752
+ type: string;
753
+ enum: string[];
754
+ };
751
755
  controlPosition: {
752
756
  type: string;
753
757
  enum: string[];
@@ -71,5 +71,8 @@ exports.LayoutItem = {
71
71
  type: 'boolean',
72
72
  }, background: (0, common_1.withTheme)(schema_1.ImageObjectProps), backgroundColor: {
73
73
  type: 'string',
74
+ }, paddingBottom: {
75
+ type: 'string',
76
+ enum: ['s', 'm', 'l', 'xl'],
74
77
  } }),
75
78
  };
@@ -14,6 +14,9 @@ unpredictable css rules order in build */
14
14
  .pc-table-block__description {
15
15
  margin: 12px 32px 0 0;
16
16
  }
17
+ *[dir=rtl] .pc-table-block__description {
18
+ margin: 12px 0 0 32px;
19
+ }
17
20
  .pc-table-block__bottomObject {
18
21
  margin-top: 24px;
19
22
  }
@@ -7,8 +7,22 @@ import './Table.css';
7
7
  const b = block('table-block');
8
8
  const bTable = block('table');
9
9
  const bScrollbar = block('table-scrollbar');
10
+ function getTitleVariant(titleSize) {
11
+ switch (titleSize) {
12
+ case 'xs':
13
+ return 'header-1';
14
+ case 's':
15
+ return 'header-2';
16
+ case 'l':
17
+ case 'xl':
18
+ return 'display-3';
19
+ case 'm':
20
+ default:
21
+ return 'display-2';
22
+ }
23
+ }
10
24
  export const TableBlock = (props) => {
11
- const { title, table, description, links = [], buttons = [] } = props;
25
+ const { title, titleSize, table, description, links = [], buttons = [] } = props;
12
26
  const tableRef = useRef(null);
13
27
  useEffect(() => {
14
28
  var _a;
@@ -40,7 +54,7 @@ export const TableBlock = (props) => {
40
54
  React.createElement(Grid, { className: b('content') },
41
55
  React.createElement(Row, { className: b('row') },
42
56
  React.createElement(Col, { className: b('lhs'), sizes: { [GridColumnSize.Md]: 3, [GridColumnSize.All]: 12 }, alignSelf: GridColumnAlignSelf.Start },
43
- React.createElement(Text, { variant: "display-2" }, title),
57
+ React.createElement(Text, { variant: getTitleVariant(titleSize) }, title),
44
58
  description && (React.createElement("div", { className: b('description') },
45
59
  React.createElement(Text, { variant: "body-2" },
46
60
  React.createElement(HTML, null, description)))),
@@ -7,6 +7,10 @@ export declare const TableBlock: {
7
7
  type: string;
8
8
  contentType: string;
9
9
  };
10
+ titleSize: {
11
+ type: string;
12
+ enum: string[];
13
+ };
10
14
  description: {
11
15
  type: string;
12
16
  };
@@ -1,4 +1,4 @@
1
- import { BaseProps, BlockBaseProps, ButtonBlock, JustifyProps, LinkProps, } from '../../schema/validators/common';
1
+ import { BaseProps, BlockBaseProps, ButtonBlock, JustifyProps, LinkProps, titleTextSize, } from '../../schema/validators/common';
2
2
  import { filteredArray } from '../../schema/validators/utils';
3
3
  export const TableBlock = {
4
4
  'table-block': {
@@ -7,6 +7,9 @@ export const TableBlock = {
7
7
  properties: Object.assign(Object.assign({}, BlockBaseProps), { title: {
8
8
  type: 'string',
9
9
  contentType: 'text',
10
+ }, titleSize: {
11
+ type: 'string',
12
+ enum: titleTextSize,
10
13
  }, description: {
11
14
  type: 'string',
12
15
  }, links: filteredArray(LinkProps), buttons: filteredArray(ButtonBlock), table: {
@@ -53,7 +53,7 @@ export declare const subBlockMap: {
53
53
  "price-detailed": (props: import("./models").PriceDetailedProps) => JSX.Element;
54
54
  "media-card": ({ border, analyticsEvents, label, ...mediaProps }: import("./models").MediaCardProps) => JSX.Element;
55
55
  "banner-card": (props: import("./models").BannerCardProps) => JSX.Element;
56
- "layout-item": ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, }: import("./models").LayoutItemProps) => JSX.Element;
56
+ "layout-item": ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, paddingBottom, }: import("./models").LayoutItemProps) => JSX.Element;
57
57
  "background-card": (props: import("./models").BackgroundCardProps) => JSX.Element;
58
58
  "basic-card": import("react").MemoExoticComponent<(props: import("./models").BasicCardProps) => JSX.Element>;
59
59
  content: (props: import("./sub-blocks/Content/Content").ContentProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ButtonSize } from '@gravity-ui/uikit';
3
3
  import { GridColumnSize, GridColumnSizesType, IndentValue } from '../../grid/types';
4
4
  import { BlockBackgroundType, ThemeSupporting } from '../../utils';
5
5
  import { AnalyticsEventsBase } from '../common';
6
- import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, MediaView, ReportFileType, TagProps, TextSize, TextTheme, Themable, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, WithBorder, YandexFormProps } from './common';
6
+ import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, MediaView, ReportFileType, TagProps, TextSize, TextTheme, Themable, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, TitleTextSize, WithBorder, YandexFormProps } from './common';
7
7
  import { BannerCardProps, HubspotFormProps, SubBlock, SubBlockModels } from './sub-blocks';
8
8
  export declare enum BlockType {
9
9
  AdvantagesBlock = "advantages-block",
@@ -394,6 +394,7 @@ export interface TableBlockProps {
394
394
  description?: string;
395
395
  links?: LinkProps[];
396
396
  buttons?: ButtonProps[];
397
+ titleSize?: TitleTextSize;
397
398
  }
398
399
  export interface FormWallBlockProps {
399
400
  formData: FormBlockHubspotData;
@@ -181,6 +181,7 @@ export interface LayoutItemProps extends ClassNameProps, CardLayoutProps, Analyt
181
181
  jumpOnHover?: boolean;
182
182
  backgroundColor?: string;
183
183
  background?: ThemeSupporting<ImageObjectProps>;
184
+ paddingBottom?: 's' | 'm' | 'l' | 'xl';
184
185
  }
185
186
  export interface ImageCardProps extends CardBaseProps, CardLayoutProps, Omit<ContentBlockProps, 'colSizes' | 'centered' | 'controlPosition'> {
186
187
  image: ThemeSupporting<ImageProps>;
@@ -9,6 +9,18 @@ unpredictable css rules order in build */
9
9
  .pc-layout-item_with-image {
10
10
  padding: 16px;
11
11
  }
12
+ .pc-layout-item_paddingBottom_s {
13
+ padding-bottom: 80px;
14
+ }
15
+ .pc-layout-item_paddingBottom_m {
16
+ padding-bottom: 160px;
17
+ }
18
+ .pc-layout-item_paddingBottom_l {
19
+ padding-bottom: 240px;
20
+ }
21
+ .pc-layout-item_paddingBottom_xl {
22
+ padding-bottom: 320px;
23
+ }
12
24
  .pc-layout-item__wrap {
13
25
  margin-bottom: 16px;
14
26
  }
@@ -1,4 +1,4 @@
1
1
  import { LayoutItemProps } from '../../models';
2
2
  import './LayoutItem.css';
3
- declare const LayoutItem: ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, }: LayoutItemProps) => JSX.Element;
3
+ declare const LayoutItem: ({ title, afterTitle, summary, rightSpace, content: { links, ...content }, metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition, label, jumpOnHover, background, backgroundColor, paddingBottom, }: LayoutItemProps) => JSX.Element;
4
4
  export default LayoutItem;
@@ -11,7 +11,7 @@ import { getLayoutItemLinks, hasFullscreen, showFullscreenIcon } from './utils';
11
11
  import './LayoutItem.css';
12
12
  const b = block('layout-item');
13
13
  const LayoutItem = (_a) => {
14
- var { title, afterTitle, summary, rightSpace = true } = _a, _b = _a.content, { links } = _b, content = __rest(_b, ["links"]), { metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition = 'content', label, jumpOnHover, background, backgroundColor } = _a;
14
+ var { title, afterTitle, summary, rightSpace = true } = _a, _b = _a.content, { links } = _b, content = __rest(_b, ["links"]), { metaInfo, media, mediaLink, border, fullscreen, icon, className, analyticsEvents, controlPosition = 'content', label, jumpOnHover, background, backgroundColor, paddingBottom } = _a;
15
15
  const normalizedLinks = useMemo(() => getLayoutItemLinks(links), [links]);
16
16
  const areControlsInFooter = controlPosition === 'footer';
17
17
  const theme = useTheme();
@@ -34,7 +34,11 @@ const LayoutItem = (_a) => {
34
34
  return (React.createElement(Media, Object.assign({}, mediaWithMicrodata, fullscreenMediaProps, { className: b('media', { border }, mediaClassName), analyticsEvents: analyticsEvents })));
35
35
  })) : (React.createElement(Media, Object.assign({}, themedMedia, { className: b('media', { border }), analyticsEvents: analyticsEvents })));
36
36
  };
37
- return (React.createElement("div", { className: b({ jumpOnHover, 'with-image': Boolean(background || backgroundColor) }, className) },
37
+ return (React.createElement("div", { className: b({
38
+ jumpOnHover,
39
+ paddingBottom,
40
+ 'with-image': Boolean(background || backgroundColor),
41
+ }, className) },
38
42
  React.createElement(BackgroundImage, Object.assign({ className: b('image') }, backgroundProps, { style: { backgroundColor } })),
39
43
  label && React.createElement(Tag, Object.assign({}, label)),
40
44
  (title || afterTitle) && (React.createElement("div", { className: b('wrap', { right: rightSpace }) },
@@ -748,6 +748,10 @@ export declare const LayoutItem: {
748
748
  backgroundColor: {
749
749
  type: string;
750
750
  };
751
+ paddingBottom: {
752
+ type: string;
753
+ enum: string[];
754
+ };
751
755
  controlPosition: {
752
756
  type: string;
753
757
  enum: string[];
@@ -67,5 +67,8 @@ export const LayoutItem = {
67
67
  type: 'boolean',
68
68
  }, background: withTheme(ImageObjectProps), backgroundColor: {
69
69
  type: 'string',
70
+ }, paddingBottom: {
71
+ type: 'string',
72
+ enum: ['s', 'm', 'l', 'xl'],
70
73
  } }),
71
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.149",
3
+ "version": "5.31.151",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {