@gravity-ui/page-constructor 4.20.1 → 4.21.0
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/Table/schema.d.ts +3 -0
- package/build/cjs/blocks/Table/schema.js +3 -1
- package/build/cjs/blocks/Tabs/Tabs.js +2 -2
- package/build/cjs/components/Media/Image/Image.js +2 -2
- package/build/cjs/components/Table/Table.js +5 -3
- package/build/cjs/icons/Minus.d.ts +2 -0
- package/build/cjs/icons/Minus.js +9 -0
- package/build/cjs/icons/Tick.d.ts +2 -0
- package/build/cjs/icons/Tick.js +13 -0
- package/build/cjs/icons/index.d.ts +2 -0
- package/build/cjs/icons/index.js +2 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +1 -0
- package/build/cjs/models/constructor-items/common.d.ts +1 -1
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +8 -0
- package/build/esm/blocks/Table/schema.d.ts +3 -0
- package/build/esm/blocks/Table/schema.js +3 -1
- package/build/esm/blocks/Tabs/Tabs.js +2 -2
- package/build/esm/components/Media/Image/Image.js +2 -2
- package/build/esm/components/Table/Table.js +5 -3
- package/build/esm/icons/Minus.d.ts +2 -0
- package/build/esm/icons/Minus.js +4 -0
- package/build/esm/icons/Tick.d.ts +2 -0
- package/build/esm/icons/Tick.js +8 -0
- package/build/esm/icons/index.d.ts +2 -0
- package/build/esm/icons/index.js +2 -0
- package/build/esm/models/constructor-items/blocks.d.ts +1 -0
- package/build/esm/models/constructor-items/common.d.ts +1 -1
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +8 -0
- package/package.json +2 -2
- package/server/models/constructor-items/blocks.d.ts +1 -0
- package/server/models/constructor-items/common.d.ts +1 -1
- package/widget/index.js +1 -1
|
@@ -37,12 +37,14 @@ exports.TableBlock = {
|
|
|
37
37
|
type: 'string',
|
|
38
38
|
contentType: 'yfm',
|
|
39
39
|
},
|
|
40
|
+
}, hideLegend: {
|
|
41
|
+
type: 'boolean',
|
|
40
42
|
}, justify: {
|
|
41
43
|
type: 'array',
|
|
42
44
|
items: common_1.JustifyProps,
|
|
43
45
|
}, marker: {
|
|
44
46
|
type: 'string',
|
|
45
|
-
enum: ['disk'],
|
|
47
|
+
enum: ['disk', 'tick'],
|
|
46
48
|
} }),
|
|
47
49
|
} }),
|
|
48
50
|
},
|
|
@@ -16,7 +16,7 @@ const sub_blocks_1 = require("../../sub-blocks");
|
|
|
16
16
|
const utils_2 = require("../../utils");
|
|
17
17
|
const b = (0, utils_2.block)('tabs-block');
|
|
18
18
|
const TabsBlock = ({ items, title, description, animated, tabsColSizes, centered, direction = 'media-content', contentSize = 's', }) => {
|
|
19
|
-
var _a;
|
|
19
|
+
var _a, _b;
|
|
20
20
|
const [activeTab, setActiveTab] = (0, react_1.useState)(items[0].tabName);
|
|
21
21
|
const [play, setPlay] = (0, react_1.useState)(false);
|
|
22
22
|
const theme = (0, theme_1.useTheme)();
|
|
@@ -45,7 +45,7 @@ const TabsBlock = ({ items, title, description, animated, tabsColSizes, centered
|
|
|
45
45
|
all: grid_1.GridColumnOrderClasses.Last,
|
|
46
46
|
md: grid_1.GridColumnOrderClasses.First,
|
|
47
47
|
}, className: b('col', { centered: centered }) },
|
|
48
|
-
react_1.default.createElement("div", { ref: ref }, (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (react_1.default.createElement(Media_1.default, Object.assign({}, (0, utils_2.getThemedValue)(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play, height: mediaHeight })))),
|
|
48
|
+
react_1.default.createElement("div", { ref: ref }, (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (react_1.default.createElement(Media_1.default, Object.assign({}, (0, utils_2.getThemedValue)(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play, height: ((_b = activeTabData.media) === null || _b === void 0 ? void 0 : _b.video) && mediaHeight, imageClassName: b('image') })))),
|
|
49
49
|
imageProps && (react_1.default.createElement(react_1.Fragment, null,
|
|
50
50
|
react_1.default.createElement(FullscreenImage_1.default, Object.assign({}, imageProps, { imageClassName: b('image') })))),
|
|
51
51
|
(activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.caption) && react_1.default.createElement("p", { className: b('caption') }, activeTabData.caption)));
|
|
@@ -34,8 +34,8 @@ const Image = (props) => {
|
|
|
34
34
|
});
|
|
35
35
|
if (parallax) {
|
|
36
36
|
const parallaxLevel = 2;
|
|
37
|
-
springSetScrollY({ springScrollY: height && scrollY > height ? height : scrollY });
|
|
38
|
-
parallaxInterpolate = springScrollY.
|
|
37
|
+
springSetScrollY.start({ springScrollY: height && scrollY > height ? height : scrollY });
|
|
38
|
+
parallaxInterpolate = springScrollY.to((value) => `translateY(-${Number(value) / parallaxLevel}px)`);
|
|
39
39
|
}
|
|
40
40
|
const imageClass = b('item', { withVideo: Boolean(video) && !hasVideoFallback }, imageClassName);
|
|
41
41
|
const renderFullscreenImage = (item) => {
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
const uikit_1 = require("@gravity-ui/uikit");
|
|
5
6
|
const __1 = require("../");
|
|
7
|
+
const icons_1 = require("../../icons");
|
|
6
8
|
const utils_1 = require("../../utils");
|
|
7
9
|
function getMarkerId(index) {
|
|
8
10
|
if (isNaN(index)) {
|
|
@@ -13,20 +15,20 @@ function getMarkerId(index) {
|
|
|
13
15
|
const b = (0, utils_1.block)('table');
|
|
14
16
|
class Table extends react_1.default.Component {
|
|
15
17
|
render() {
|
|
16
|
-
const { content, legend, marker = 'disk', className, caption } = this.props;
|
|
18
|
+
const { content, legend, hideLegend, marker = 'disk', className, caption } = this.props;
|
|
17
19
|
if (!content || !content.length || !content[0].length) {
|
|
18
20
|
return null;
|
|
19
21
|
}
|
|
20
22
|
return (react_1.default.createElement("div", { className: b(null, className), role: 'table', "aria-label": caption },
|
|
21
23
|
this.renderTable(content, marker, legend),
|
|
22
|
-
legend && this.renderLegend(legend, marker)));
|
|
24
|
+
legend && !hideLegend && this.renderLegend(legend, marker)));
|
|
23
25
|
}
|
|
24
26
|
renderTable(content, marker, legend) {
|
|
25
27
|
const justify = this.getDefaultJustify(content, this.props.justify);
|
|
26
28
|
return (react_1.default.createElement("div", { className: b('table'), role: 'rowgroup' }, content.map((row, i) => (react_1.default.createElement("div", { key: i, className: b('row'), role: 'row' }, row.map((cell, j) => (react_1.default.createElement("div", { key: j, className: b('cell', { justify: justify[j] }), role: 'cell' }, legend && i && j ? (this.renderMarker(marker, cell)) : (react_1.default.createElement(__1.HTML, null, cell))))))))));
|
|
27
29
|
}
|
|
28
30
|
renderMarker(type, cell) {
|
|
29
|
-
return (react_1.default.createElement("div", { "aria-labelledby": getMarkerId(Number(cell)), className: b('marker', { type, index: String(cell) }) }));
|
|
31
|
+
return (react_1.default.createElement("div", { "aria-labelledby": getMarkerId(Number(cell)), className: b('marker', { type, index: String(cell) }) }, type === 'tick' ? react_1.default.createElement(uikit_1.Icon, { data: Number(cell) === 1 ? icons_1.Tick : icons_1.Minus }) : null));
|
|
30
32
|
}
|
|
31
33
|
renderLegend(legend, marker) {
|
|
32
34
|
return (react_1.default.createElement("div", { className: b('legend') }, legend.map((item, index) => (react_1.default.createElement("div", { key: item, className: b('legend-item') },
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Minus = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const svg_1 = require("../utils/svg");
|
|
7
|
+
const Minus = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "none" }, svg_1.a11yHiddenSvgProps, props),
|
|
8
|
+
react_1.default.createElement("path", { fill: "#B5BFC6", fillRule: "evenodd", d: "M1.969 9c0-.466.378-.844.843-.844h12.376a.844.844 0 0 1 0 1.688H2.812A.844.844 0 0 1 1.97 9Z", clipRule: "evenodd" })));
|
|
9
|
+
exports.Minus = Minus;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Tick = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const svg_1 = require("../utils/svg");
|
|
7
|
+
const Tick = (props) => (react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "none" }, svg_1.a11yHiddenSvgProps, props),
|
|
8
|
+
react_1.default.createElement("g", { clipPath: "url(#a)" },
|
|
9
|
+
react_1.default.createElement("path", { fill: "#37F", fillRule: "evenodd", d: "M15.174 3.86a.844.844 0 0 1 .092 1.19l-6.75 7.874a.843.843 0 0 1-1.238.048L3.341 9.034a.844.844 0 1 1 1.193-1.193l3.293 3.293 6.157-7.183a.844.844 0 0 1 1.19-.092Z", clipRule: "evenodd" })),
|
|
10
|
+
react_1.default.createElement("defs", null,
|
|
11
|
+
react_1.default.createElement("clipPath", { id: "a" },
|
|
12
|
+
react_1.default.createElement("path", { fill: "#fff", d: "M0 0h18v18H0z" })))));
|
|
13
|
+
exports.Tick = Tick;
|
package/build/cjs/icons/index.js
CHANGED
|
@@ -12,3 +12,5 @@ tslib_1.__exportStar(require("./PreviewClose"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./NavigationClose"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./NavigationOpen"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./NavigationArrow"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./Tick"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./Minus"), exports);
|
|
@@ -50,7 +50,7 @@ export type HeaderImageSize = 's' | 'm';
|
|
|
50
50
|
export type HeaderOffset = 'default' | 'large';
|
|
51
51
|
export type Justify = 'start' | 'center' | 'end';
|
|
52
52
|
export type ColumnsCount = 1 | 2 | 3 | 4;
|
|
53
|
-
export type LegendTableMarkerType = 'disk';
|
|
53
|
+
export type LegendTableMarkerType = 'disk' | 'tick';
|
|
54
54
|
export type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';
|
|
55
55
|
export type MediaDirection = 'media-content' | 'content-media';
|
|
56
56
|
export type PriceDescriptionColor = 'cornflower' | 'black';
|
|
@@ -99,6 +99,14 @@ unpredictable css rules order in build */
|
|
|
99
99
|
.pc-hubspot-form .hs-form-field .input select:focus {
|
|
100
100
|
border: 1px solid var(--g-color-line-generic-active);
|
|
101
101
|
}
|
|
102
|
+
.pc-hubspot-form .hs-form-field .input .hs-fieldtype-intl-phone.hs-input .hs-input {
|
|
103
|
+
float: none;
|
|
104
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
105
|
+
width: 100% !important;
|
|
106
|
+
}
|
|
107
|
+
.pc-hubspot-form .hs-form-field .input .hs-fieldtype-intl-phone.hs-input .hs-input + .hs-input {
|
|
108
|
+
margin-top: 10px;
|
|
109
|
+
}
|
|
102
110
|
.pc-hubspot-form .hs-form-field:not(.hs-fieldtype-textarea):not(.hs-fieldtype-booleancheckbox) {
|
|
103
111
|
display: flex;
|
|
104
112
|
flex-wrap: wrap;
|
|
@@ -34,12 +34,14 @@ export const TableBlock = {
|
|
|
34
34
|
type: 'string',
|
|
35
35
|
contentType: 'yfm',
|
|
36
36
|
},
|
|
37
|
+
}, hideLegend: {
|
|
38
|
+
type: 'boolean',
|
|
37
39
|
}, justify: {
|
|
38
40
|
type: 'array',
|
|
39
41
|
items: JustifyProps,
|
|
40
42
|
}, marker: {
|
|
41
43
|
type: 'string',
|
|
42
|
-
enum: ['disk'],
|
|
44
|
+
enum: ['disk', 'tick'],
|
|
43
45
|
} }),
|
|
44
46
|
} }),
|
|
45
47
|
},
|
|
@@ -13,7 +13,7 @@ import { block, getThemedValue } from '../../utils';
|
|
|
13
13
|
import './Tabs.css';
|
|
14
14
|
const b = block('tabs-block');
|
|
15
15
|
export const TabsBlock = ({ items, title, description, animated, tabsColSizes, centered, direction = 'media-content', contentSize = 's', }) => {
|
|
16
|
-
var _a;
|
|
16
|
+
var _a, _b;
|
|
17
17
|
const [activeTab, setActiveTab] = useState(items[0].tabName);
|
|
18
18
|
const [play, setPlay] = useState(false);
|
|
19
19
|
const theme = useTheme();
|
|
@@ -42,7 +42,7 @@ export const TabsBlock = ({ items, title, description, animated, tabsColSizes, c
|
|
|
42
42
|
all: GridColumnOrderClasses.Last,
|
|
43
43
|
md: GridColumnOrderClasses.First,
|
|
44
44
|
}, className: b('col', { centered: centered }) },
|
|
45
|
-
React.createElement("div", { ref: ref }, (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (React.createElement(Media, Object.assign({}, getThemedValue(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play, height: mediaHeight })))),
|
|
45
|
+
React.createElement("div", { ref: ref }, (activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (React.createElement(Media, Object.assign({}, getThemedValue(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play, height: ((_b = activeTabData.media) === null || _b === void 0 ? void 0 : _b.video) && mediaHeight, imageClassName: b('image') })))),
|
|
46
46
|
imageProps && (React.createElement(Fragment, null,
|
|
47
47
|
React.createElement(FullscreenImage, Object.assign({}, imageProps, { imageClassName: b('image') })))),
|
|
48
48
|
(activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.caption) && React.createElement("p", { className: b('caption') }, activeTabData.caption)));
|
|
@@ -31,8 +31,8 @@ const Image = (props) => {
|
|
|
31
31
|
});
|
|
32
32
|
if (parallax) {
|
|
33
33
|
const parallaxLevel = 2;
|
|
34
|
-
springSetScrollY({ springScrollY: height && scrollY > height ? height : scrollY });
|
|
35
|
-
parallaxInterpolate = springScrollY.
|
|
34
|
+
springSetScrollY.start({ springScrollY: height && scrollY > height ? height : scrollY });
|
|
35
|
+
parallaxInterpolate = springScrollY.to((value) => `translateY(-${Number(value) / parallaxLevel}px)`);
|
|
36
36
|
}
|
|
37
37
|
const imageClass = b('item', { withVideo: Boolean(video) && !hasVideoFallback }, imageClassName);
|
|
38
38
|
const renderFullscreenImage = (item) => {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Icon } from '@gravity-ui/uikit';
|
|
2
3
|
import { HTML, YFMWrapper } from '../';
|
|
4
|
+
import { Minus, Tick } from '../../icons';
|
|
3
5
|
import { block } from '../../utils';
|
|
4
6
|
import './Table.css';
|
|
5
7
|
function getMarkerId(index) {
|
|
@@ -11,20 +13,20 @@ function getMarkerId(index) {
|
|
|
11
13
|
const b = block('table');
|
|
12
14
|
export default class Table extends React.Component {
|
|
13
15
|
render() {
|
|
14
|
-
const { content, legend, marker = 'disk', className, caption } = this.props;
|
|
16
|
+
const { content, legend, hideLegend, marker = 'disk', className, caption } = this.props;
|
|
15
17
|
if (!content || !content.length || !content[0].length) {
|
|
16
18
|
return null;
|
|
17
19
|
}
|
|
18
20
|
return (React.createElement("div", { className: b(null, className), role: 'table', "aria-label": caption },
|
|
19
21
|
this.renderTable(content, marker, legend),
|
|
20
|
-
legend && this.renderLegend(legend, marker)));
|
|
22
|
+
legend && !hideLegend && this.renderLegend(legend, marker)));
|
|
21
23
|
}
|
|
22
24
|
renderTable(content, marker, legend) {
|
|
23
25
|
const justify = this.getDefaultJustify(content, this.props.justify);
|
|
24
26
|
return (React.createElement("div", { className: b('table'), role: 'rowgroup' }, content.map((row, i) => (React.createElement("div", { key: i, className: b('row'), role: 'row' }, row.map((cell, j) => (React.createElement("div", { key: j, className: b('cell', { justify: justify[j] }), role: 'cell' }, legend && i && j ? (this.renderMarker(marker, cell)) : (React.createElement(HTML, null, cell))))))))));
|
|
25
27
|
}
|
|
26
28
|
renderMarker(type, cell) {
|
|
27
|
-
return (React.createElement("div", { "aria-labelledby": getMarkerId(Number(cell)), className: b('marker', { type, index: String(cell) }) }));
|
|
29
|
+
return (React.createElement("div", { "aria-labelledby": getMarkerId(Number(cell)), className: b('marker', { type, index: String(cell) }) }, type === 'tick' ? React.createElement(Icon, { data: Number(cell) === 1 ? Tick : Minus }) : null));
|
|
28
30
|
}
|
|
29
31
|
renderLegend(legend, marker) {
|
|
30
32
|
return (React.createElement("div", { className: b('legend') }, legend.map((item, index) => (React.createElement("div", { key: item, className: b('legend-item') },
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { a11yHiddenSvgProps } from '../utils/svg';
|
|
3
|
+
export const Minus = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "none" }, a11yHiddenSvgProps, props),
|
|
4
|
+
React.createElement("path", { fill: "#B5BFC6", fillRule: "evenodd", d: "M1.969 9c0-.466.378-.844.843-.844h12.376a.844.844 0 0 1 0 1.688H2.812A.844.844 0 0 1 1.97 9Z", clipRule: "evenodd" })));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { a11yHiddenSvgProps } from '../utils/svg';
|
|
3
|
+
export const Tick = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", stroke: "none" }, a11yHiddenSvgProps, props),
|
|
4
|
+
React.createElement("g", { clipPath: "url(#a)" },
|
|
5
|
+
React.createElement("path", { fill: "#37F", fillRule: "evenodd", d: "M15.174 3.86a.844.844 0 0 1 .092 1.19l-6.75 7.874a.843.843 0 0 1-1.238.048L3.341 9.034a.844.844 0 1 1 1.193-1.193l3.293 3.293 6.157-7.183a.844.844 0 0 1 1.19-.092Z", clipRule: "evenodd" })),
|
|
6
|
+
React.createElement("defs", null,
|
|
7
|
+
React.createElement("clipPath", { id: "a" },
|
|
8
|
+
React.createElement("path", { fill: "#fff", d: "M0 0h18v18H0z" })))));
|
package/build/esm/icons/index.js
CHANGED
|
@@ -50,7 +50,7 @@ export type HeaderImageSize = 's' | 'm';
|
|
|
50
50
|
export type HeaderOffset = 'default' | 'large';
|
|
51
51
|
export type Justify = 'start' | 'center' | 'end';
|
|
52
52
|
export type ColumnsCount = 1 | 2 | 3 | 4;
|
|
53
|
-
export type LegendTableMarkerType = 'disk';
|
|
53
|
+
export type LegendTableMarkerType = 'disk' | 'tick';
|
|
54
54
|
export type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';
|
|
55
55
|
export type MediaDirection = 'media-content' | 'content-media';
|
|
56
56
|
export type PriceDescriptionColor = 'cornflower' | 'black';
|
|
@@ -99,6 +99,14 @@ unpredictable css rules order in build */
|
|
|
99
99
|
.pc-hubspot-form .hs-form-field .input select:focus {
|
|
100
100
|
border: 1px solid var(--g-color-line-generic-active);
|
|
101
101
|
}
|
|
102
|
+
.pc-hubspot-form .hs-form-field .input .hs-fieldtype-intl-phone.hs-input .hs-input {
|
|
103
|
+
float: none;
|
|
104
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
105
|
+
width: 100% !important;
|
|
106
|
+
}
|
|
107
|
+
.pc-hubspot-form .hs-form-field .input .hs-fieldtype-intl-phone.hs-input .hs-input + .hs-input {
|
|
108
|
+
margin-top: 10px;
|
|
109
|
+
}
|
|
102
110
|
.pc-hubspot-form .hs-form-field:not(.hs-fieldtype-textarea):not(.hs-fieldtype-booleancheckbox) {
|
|
103
111
|
display: flex;
|
|
104
112
|
flex-wrap: wrap;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/page-constructor",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.21.0",
|
|
4
4
|
"description": "Gravity UI Page Constructor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"react-monaco-editor": "^0.53.0",
|
|
94
94
|
"react-player": "^2.9.0",
|
|
95
95
|
"react-slick": "^0.29.0",
|
|
96
|
-
"react-spring": "^9.7.
|
|
96
|
+
"react-spring": "^9.7.2",
|
|
97
97
|
"react-transition-group": "^4.4.2",
|
|
98
98
|
"react-waypoint": "^10.1.0",
|
|
99
99
|
"sanitize-html": "2.6.1",
|
|
@@ -50,7 +50,7 @@ export type HeaderImageSize = 's' | 'm';
|
|
|
50
50
|
export type HeaderOffset = 'default' | 'large';
|
|
51
51
|
export type Justify = 'start' | 'center' | 'end';
|
|
52
52
|
export type ColumnsCount = 1 | 2 | 3 | 4;
|
|
53
|
-
export type LegendTableMarkerType = 'disk';
|
|
53
|
+
export type LegendTableMarkerType = 'disk' | 'tick';
|
|
54
54
|
export type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';
|
|
55
55
|
export type MediaDirection = 'media-content' | 'content-media';
|
|
56
56
|
export type PriceDescriptionColor = 'cornflower' | 'black';
|