@gravity-ui/page-constructor 1.9.1-alpha.0 → 1.9.1-alpha.2
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/Banner/schema.d.ts +0 -12
- package/build/cjs/blocks/Banner/schema.js +0 -2
- package/build/cjs/blocks/CardLayout/schema.d.ts +0 -8
- package/build/cjs/blocks/CardLayout/schema.js +1 -2
- package/build/cjs/blocks/Companies/schema.d.ts +0 -2
- package/build/cjs/blocks/Companies/schema.js +0 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +0 -6
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +0 -7
- package/build/cjs/blocks/ExtendedFeatures/schema.js +1 -4
- package/build/cjs/blocks/Header/schema.d.ts +0 -16
- package/build/cjs/blocks/Header/schema.js +0 -5
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +0 -11
- package/build/cjs/blocks/Icons/schema.d.ts +0 -6
- package/build/cjs/blocks/Icons/schema.js +0 -2
- package/build/cjs/blocks/Info/schema.d.ts +0 -10
- package/build/cjs/blocks/Info/schema.js +0 -2
- package/build/cjs/blocks/LinkTable/schema.d.ts +0 -2
- package/build/cjs/blocks/Media/schema.d.ts +0 -9
- package/build/cjs/blocks/Media/schema.js +1 -3
- package/build/cjs/blocks/Preview/schema.d.ts +0 -2
- package/build/cjs/blocks/Preview/schema.js +0 -4
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +0 -7
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -4
- package/build/cjs/blocks/Questions/schema.d.ts +0 -5
- package/build/cjs/blocks/Questions/schema.js +0 -2
- package/build/cjs/blocks/Security/schema.d.ts +0 -2
- package/build/cjs/blocks/Security/schema.js +0 -2
- package/build/cjs/blocks/Simple/schema.d.ts +0 -3
- package/build/cjs/blocks/Simple/schema.js +0 -1
- package/build/cjs/blocks/Slider/schema.d.ts +0 -7
- package/build/cjs/blocks/Slider/schema.js +0 -2
- package/build/cjs/blocks/Table/schema.d.ts +0 -4
- package/build/cjs/blocks/Table/schema.js +0 -3
- package/build/cjs/blocks/Tabs/schema.d.ts +0 -10
- package/build/cjs/blocks/Tabs/schema.js +0 -2
- package/build/cjs/components/Author/schema.d.ts +0 -3
- package/build/cjs/components/Image/schema.d.ts +0 -2
- package/build/cjs/components/Image/schema.js +0 -2
- package/build/cjs/components/index.d.ts +1 -2
- package/build/cjs/components/index.js +2 -4
- package/build/cjs/components/navigation/components/Header/Header.d.ts +3 -3
- package/build/cjs/components/navigation/components/Logo/Logo.d.ts +2 -2
- package/build/cjs/components/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -1
- package/build/cjs/components/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/cjs/components/navigation/components/NavigationItem/NavigationItem.d.ts +2 -2
- package/build/cjs/components/navigation/components/NavigationPopup/NavigationPopup.d.ts +2 -2
- package/build/cjs/components/navigation/components/SocialIcon/SocialIcon.d.ts +3 -3
- package/build/cjs/components/navigation/containers/Layout/Layout.d.ts +2 -2
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +2 -2
- package/build/cjs/models/navigation.d.ts +25 -25
- package/build/cjs/schema/index.d.ts +0 -2
- package/build/cjs/schema/validators/common.d.ts +0 -17
- package/build/cjs/schema/validators/common.js +0 -11
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +0 -5
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +0 -4
- package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +0 -8
- package/build/cjs/sub-blocks/CardWithImage/schema.js +1 -4
- package/build/cjs/sub-blocks/Content/schema.d.ts +0 -8
- package/build/cjs/sub-blocks/Content/schema.js +1 -3
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/NewsCard/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/NewsCard/schema.js +0 -1
- package/build/cjs/sub-blocks/Partner/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/Partner/schema.js +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +0 -8
- package/build/cjs/sub-blocks/Quote/schema.d.ts +0 -4
- package/build/cjs/sub-blocks/Quote/schema.js +0 -1
- package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +0 -2
- package/build/cjs/sub-blocks/TutorialCard/schema.js +0 -2
- package/build/esm/blocks/Banner/schema.d.ts +0 -12
- package/build/esm/blocks/Banner/schema.js +0 -2
- package/build/esm/blocks/CardLayout/schema.d.ts +0 -8
- package/build/esm/blocks/CardLayout/schema.js +1 -2
- package/build/esm/blocks/Companies/schema.d.ts +0 -2
- package/build/esm/blocks/Companies/schema.js +0 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +0 -6
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +0 -7
- package/build/esm/blocks/ExtendedFeatures/schema.js +1 -4
- package/build/esm/blocks/Header/schema.d.ts +0 -16
- package/build/esm/blocks/Header/schema.js +0 -5
- package/build/esm/blocks/HeaderSlider/schema.d.ts +0 -11
- package/build/esm/blocks/Icons/schema.d.ts +0 -6
- package/build/esm/blocks/Icons/schema.js +0 -2
- package/build/esm/blocks/Info/schema.d.ts +0 -10
- package/build/esm/blocks/Info/schema.js +0 -2
- package/build/esm/blocks/LinkTable/schema.d.ts +0 -2
- package/build/esm/blocks/Media/schema.d.ts +0 -9
- package/build/esm/blocks/Media/schema.js +1 -3
- package/build/esm/blocks/Preview/schema.d.ts +0 -2
- package/build/esm/blocks/Preview/schema.js +0 -4
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +0 -7
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -4
- package/build/esm/blocks/Questions/schema.d.ts +0 -5
- package/build/esm/blocks/Questions/schema.js +0 -2
- package/build/esm/blocks/Security/schema.d.ts +0 -2
- package/build/esm/blocks/Security/schema.js +0 -2
- package/build/esm/blocks/Simple/schema.d.ts +0 -3
- package/build/esm/blocks/Simple/schema.js +0 -1
- package/build/esm/blocks/Slider/schema.d.ts +0 -7
- package/build/esm/blocks/Slider/schema.js +0 -2
- package/build/esm/blocks/Table/schema.d.ts +0 -4
- package/build/esm/blocks/Table/schema.js +0 -3
- package/build/esm/blocks/Tabs/schema.d.ts +0 -10
- package/build/esm/blocks/Tabs/schema.js +0 -2
- package/build/esm/components/Author/schema.d.ts +0 -3
- package/build/esm/components/Image/schema.d.ts +0 -2
- package/build/esm/components/Image/schema.js +0 -2
- package/build/esm/components/index.d.ts +1 -2
- package/build/esm/components/index.js +1 -2
- package/build/esm/components/navigation/components/Header/Header.d.ts +3 -3
- package/build/esm/components/navigation/components/Logo/Logo.d.ts +2 -2
- package/build/esm/components/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -1
- package/build/esm/components/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/esm/components/navigation/components/NavigationItem/NavigationItem.d.ts +2 -2
- package/build/esm/components/navigation/components/NavigationPopup/NavigationPopup.d.ts +2 -2
- package/build/esm/components/navigation/components/SocialIcon/SocialIcon.d.ts +3 -3
- package/build/esm/components/navigation/containers/Layout/Layout.d.ts +2 -2
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +2 -2
- package/build/esm/models/navigation.d.ts +25 -25
- package/build/esm/schema/index.d.ts +0 -2
- package/build/esm/schema/validators/common.d.ts +0 -17
- package/build/esm/schema/validators/common.js +0 -11
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +0 -5
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +0 -4
- package/build/esm/sub-blocks/CardWithImage/schema.d.ts +0 -8
- package/build/esm/sub-blocks/CardWithImage/schema.js +1 -4
- package/build/esm/sub-blocks/Content/schema.d.ts +0 -8
- package/build/esm/sub-blocks/Content/schema.js +1 -3
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +0 -1
- package/build/esm/sub-blocks/NewsCard/schema.d.ts +0 -1
- package/build/esm/sub-blocks/NewsCard/schema.js +0 -1
- package/build/esm/sub-blocks/Partner/schema.d.ts +0 -1
- package/build/esm/sub-blocks/Partner/schema.js +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +0 -8
- package/build/esm/sub-blocks/Quote/schema.d.ts +0 -4
- package/build/esm/sub-blocks/Quote/schema.js +0 -1
- package/build/esm/sub-blocks/TutorialCard/schema.d.ts +0 -2
- package/build/esm/sub-blocks/TutorialCard/schema.js +0 -2
- package/package.json +1 -1
- package/server/models/navigation.d.ts +25 -25
|
@@ -12,12 +12,10 @@ export const InfoBlock = {
|
|
|
12
12
|
required: ['title', 'sectionsTitle'],
|
|
13
13
|
properties: Object.assign(Object.assign({}, BaseProps), { title: {
|
|
14
14
|
type: 'string',
|
|
15
|
-
content: 'text',
|
|
16
15
|
}, backgroundColor: withTheme({
|
|
17
16
|
type: 'string',
|
|
18
17
|
}), sectionsTitle: {
|
|
19
18
|
type: 'string',
|
|
20
|
-
content: 'text',
|
|
21
19
|
}, buttons: filteredArray(ButtonBlock), theme: ThemeProps, links: filteredArray(LinkProps), leftContent: ContentProps, rightContent: ContentProps }),
|
|
22
20
|
},
|
|
23
21
|
};
|
|
@@ -10,7 +10,6 @@ export declare const LinkTableBlock: {
|
|
|
10
10
|
properties: {
|
|
11
11
|
text: {
|
|
12
12
|
type: string;
|
|
13
|
-
content: string;
|
|
14
13
|
};
|
|
15
14
|
textSize: {
|
|
16
15
|
type: string;
|
|
@@ -45,7 +44,6 @@ export declare const LinkTableBlock: {
|
|
|
45
44
|
properties: {
|
|
46
45
|
text: {
|
|
47
46
|
type: string;
|
|
48
|
-
content: string;
|
|
49
47
|
};
|
|
50
48
|
url: {
|
|
51
49
|
type: string;
|
|
@@ -91,7 +91,6 @@ export declare const Media: {
|
|
|
91
91
|
};
|
|
92
92
|
text: {
|
|
93
93
|
type: string;
|
|
94
|
-
content: string;
|
|
95
94
|
};
|
|
96
95
|
};
|
|
97
96
|
};
|
|
@@ -146,7 +145,6 @@ export declare const MediaBlock: {
|
|
|
146
145
|
properties: {
|
|
147
146
|
text: {
|
|
148
147
|
type: string;
|
|
149
|
-
content: string;
|
|
150
148
|
};
|
|
151
149
|
textSize: {
|
|
152
150
|
type: string;
|
|
@@ -161,16 +159,13 @@ export declare const MediaBlock: {
|
|
|
161
159
|
};
|
|
162
160
|
} | {
|
|
163
161
|
type: string;
|
|
164
|
-
content: string;
|
|
165
162
|
})[];
|
|
166
163
|
};
|
|
167
164
|
additionalInfo: {
|
|
168
165
|
type: string;
|
|
169
|
-
content: string;
|
|
170
166
|
};
|
|
171
167
|
description: {
|
|
172
168
|
type: string;
|
|
173
|
-
content: string;
|
|
174
169
|
};
|
|
175
170
|
size: {
|
|
176
171
|
type: string;
|
|
@@ -308,7 +303,6 @@ export declare const MediaBlock: {
|
|
|
308
303
|
};
|
|
309
304
|
text: {
|
|
310
305
|
type: string;
|
|
311
|
-
content: string;
|
|
312
306
|
};
|
|
313
307
|
};
|
|
314
308
|
};
|
|
@@ -356,7 +350,6 @@ export declare const MediaBlock: {
|
|
|
356
350
|
properties: {
|
|
357
351
|
text: {
|
|
358
352
|
type: string;
|
|
359
|
-
content: string;
|
|
360
353
|
};
|
|
361
354
|
url: {
|
|
362
355
|
type: string;
|
|
@@ -392,7 +385,6 @@ export declare const MediaBlock: {
|
|
|
392
385
|
};
|
|
393
386
|
alt: {
|
|
394
387
|
type: string;
|
|
395
|
-
content: string;
|
|
396
388
|
};
|
|
397
389
|
};
|
|
398
390
|
})[];
|
|
@@ -511,7 +503,6 @@ export declare const MediaBlock: {
|
|
|
511
503
|
properties: {
|
|
512
504
|
text: {
|
|
513
505
|
type: string;
|
|
514
|
-
content: string;
|
|
515
506
|
};
|
|
516
507
|
url: {
|
|
517
508
|
type: string;
|
|
@@ -11,13 +11,11 @@ export const MediaBlock = {
|
|
|
11
11
|
additionalProperties: false,
|
|
12
12
|
required: ['title', 'media'],
|
|
13
13
|
properties: Object.assign(Object.assign(Object.assign({}, BlockBaseProps), AnimatableProps), { title: {
|
|
14
|
-
oneOf: [{ type: 'string'
|
|
14
|
+
oneOf: [{ type: 'string' }, TitleProps],
|
|
15
15
|
}, additionalInfo: {
|
|
16
16
|
type: 'string',
|
|
17
|
-
content: 'yfm',
|
|
18
17
|
}, description: {
|
|
19
18
|
type: 'string',
|
|
20
|
-
content: 'yfm',
|
|
21
19
|
}, size: {
|
|
22
20
|
type: 'string',
|
|
23
21
|
enum: contentSizes,
|
|
@@ -8,11 +8,9 @@ const PreviewContentItem = {
|
|
|
8
8
|
properties: {
|
|
9
9
|
title: {
|
|
10
10
|
type: 'string',
|
|
11
|
-
content: 'text',
|
|
12
11
|
},
|
|
13
12
|
description: {
|
|
14
13
|
type: 'string',
|
|
15
|
-
content: 'yfm',
|
|
16
14
|
},
|
|
17
15
|
},
|
|
18
16
|
};
|
|
@@ -35,10 +33,8 @@ export const PreviewBlock = {
|
|
|
35
33
|
required: ['title', 'items'],
|
|
36
34
|
properties: Object.assign(Object.assign(Object.assign({}, BaseProps), AnimatableProps), { title: {
|
|
37
35
|
type: 'string',
|
|
38
|
-
content: 'text',
|
|
39
36
|
}, description: {
|
|
40
37
|
type: 'string',
|
|
41
|
-
content: 'text',
|
|
42
38
|
}, direction: {
|
|
43
39
|
type: 'string',
|
|
44
40
|
enum: mediaDirection,
|
|
@@ -4,11 +4,9 @@ export declare const PromoFeaturesItem: {
|
|
|
4
4
|
properties: {
|
|
5
5
|
title: {
|
|
6
6
|
type: string;
|
|
7
|
-
content: string;
|
|
8
7
|
};
|
|
9
8
|
text: {
|
|
10
9
|
type: string;
|
|
11
|
-
content: string;
|
|
12
10
|
};
|
|
13
11
|
theme: {
|
|
14
12
|
enum: string[];
|
|
@@ -106,7 +104,6 @@ export declare const PromoFeaturesItem: {
|
|
|
106
104
|
};
|
|
107
105
|
text: {
|
|
108
106
|
type: string;
|
|
109
|
-
content: string;
|
|
110
107
|
};
|
|
111
108
|
};
|
|
112
109
|
};
|
|
@@ -163,7 +160,6 @@ export declare const PromoFeaturesBlock: {
|
|
|
163
160
|
properties: {
|
|
164
161
|
text: {
|
|
165
162
|
type: string;
|
|
166
|
-
content: string;
|
|
167
163
|
};
|
|
168
164
|
textSize: {
|
|
169
165
|
type: string;
|
|
@@ -178,12 +174,10 @@ export declare const PromoFeaturesBlock: {
|
|
|
178
174
|
};
|
|
179
175
|
} | {
|
|
180
176
|
type: string;
|
|
181
|
-
content: string;
|
|
182
177
|
})[];
|
|
183
178
|
};
|
|
184
179
|
description: {
|
|
185
180
|
type: string;
|
|
186
|
-
content: string;
|
|
187
181
|
};
|
|
188
182
|
theme: {
|
|
189
183
|
enum: string[];
|
|
@@ -209,7 +203,6 @@ export declare const PromoFeaturesBlock: {
|
|
|
209
203
|
properties: {
|
|
210
204
|
text: {
|
|
211
205
|
type: string;
|
|
212
|
-
content: string;
|
|
213
206
|
};
|
|
214
207
|
url: {
|
|
215
208
|
type: string;
|
|
@@ -7,11 +7,9 @@ export const PromoFeaturesItem = {
|
|
|
7
7
|
properties: {
|
|
8
8
|
title: {
|
|
9
9
|
type: 'string',
|
|
10
|
-
content: 'text',
|
|
11
10
|
},
|
|
12
11
|
text: {
|
|
13
12
|
type: 'string',
|
|
14
|
-
content: 'yfm',
|
|
15
13
|
},
|
|
16
14
|
theme: {
|
|
17
15
|
enum: ['accent', 'accent-light', 'primary'],
|
|
@@ -24,10 +22,9 @@ export const PromoFeaturesBlock = {
|
|
|
24
22
|
additionalProperties: false,
|
|
25
23
|
required: ['items'],
|
|
26
24
|
properties: Object.assign(Object.assign(Object.assign({}, BlockBaseProps), AnimatableProps), { title: {
|
|
27
|
-
oneOf: [{ type: 'string'
|
|
25
|
+
oneOf: [{ type: 'string' }, TitleProps],
|
|
28
26
|
}, description: {
|
|
29
27
|
type: 'string',
|
|
30
|
-
content: 'text',
|
|
31
28
|
}, theme: {
|
|
32
29
|
enum: ['grey', 'default'],
|
|
33
30
|
}, items: filteredArray(PromoFeaturesItem) }),
|
|
@@ -22,7 +22,6 @@ export declare const QuestionsBlock: {
|
|
|
22
22
|
properties: {
|
|
23
23
|
text: {
|
|
24
24
|
type: string;
|
|
25
|
-
content: string;
|
|
26
25
|
};
|
|
27
26
|
textSize: {
|
|
28
27
|
type: string;
|
|
@@ -37,16 +36,13 @@ export declare const QuestionsBlock: {
|
|
|
37
36
|
};
|
|
38
37
|
} | {
|
|
39
38
|
type: string;
|
|
40
|
-
content: string;
|
|
41
39
|
})[];
|
|
42
40
|
};
|
|
43
41
|
text: {
|
|
44
42
|
type: string;
|
|
45
|
-
content: string;
|
|
46
43
|
};
|
|
47
44
|
additionalInfo: {
|
|
48
45
|
type: string;
|
|
49
|
-
content: string;
|
|
50
46
|
};
|
|
51
47
|
links: {
|
|
52
48
|
type: string;
|
|
@@ -77,7 +73,6 @@ export declare const QuestionsBlock: {
|
|
|
77
73
|
properties: {
|
|
78
74
|
text: {
|
|
79
75
|
type: string;
|
|
80
|
-
content: string;
|
|
81
76
|
};
|
|
82
77
|
url: {
|
|
83
78
|
type: string;
|
|
@@ -12,7 +12,6 @@ export declare const SecurityBlock: {
|
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
14
|
type: string;
|
|
15
|
-
content: string;
|
|
16
15
|
};
|
|
17
16
|
media: {
|
|
18
17
|
type: string;
|
|
@@ -107,7 +106,6 @@ export declare const SecurityBlock: {
|
|
|
107
106
|
};
|
|
108
107
|
text: {
|
|
109
108
|
type: string;
|
|
110
|
-
content: string;
|
|
111
109
|
};
|
|
112
110
|
};
|
|
113
111
|
};
|
|
@@ -10,7 +10,6 @@ export const SecurityBlock = {
|
|
|
10
10
|
type: 'string',
|
|
11
11
|
}, title: {
|
|
12
12
|
type: 'string',
|
|
13
|
-
content: 'text',
|
|
14
13
|
}, media: Media, points: filteredArray({
|
|
15
14
|
type: 'object',
|
|
16
15
|
properties: {
|
|
@@ -19,7 +18,6 @@ export const SecurityBlock = {
|
|
|
19
18
|
},
|
|
20
19
|
text: {
|
|
21
20
|
type: 'string',
|
|
22
|
-
content: 'text',
|
|
23
21
|
},
|
|
24
22
|
link: _.pick(LinkProps, ['text', 'url']),
|
|
25
23
|
},
|
|
@@ -19,7 +19,6 @@ export declare const SimpleBlock: {
|
|
|
19
19
|
properties: {
|
|
20
20
|
text: {
|
|
21
21
|
type: string;
|
|
22
|
-
content: string;
|
|
23
22
|
};
|
|
24
23
|
url: {
|
|
25
24
|
type: string;
|
|
@@ -42,7 +41,6 @@ export declare const SimpleBlock: {
|
|
|
42
41
|
properties: {
|
|
43
42
|
text: {
|
|
44
43
|
type: string;
|
|
45
|
-
content: string;
|
|
46
44
|
};
|
|
47
45
|
textSize: {
|
|
48
46
|
type: string;
|
|
@@ -58,7 +56,6 @@ export declare const SimpleBlock: {
|
|
|
58
56
|
};
|
|
59
57
|
description: {
|
|
60
58
|
type: string;
|
|
61
|
-
content: string;
|
|
62
59
|
};
|
|
63
60
|
};
|
|
64
61
|
};
|
|
@@ -5,7 +5,6 @@ export const SimpleBlock = {
|
|
|
5
5
|
required: ['title', 'description'],
|
|
6
6
|
properties: Object.assign(Object.assign(Object.assign({ title: TitleProps, description: {
|
|
7
7
|
type: 'string',
|
|
8
|
-
content: 'yfm',
|
|
9
8
|
} }, BlockBaseProps), AnimatableProps), { children: ChildrenProps }),
|
|
10
9
|
},
|
|
11
10
|
};
|
|
@@ -7,7 +7,6 @@ export declare const SliderProps: {
|
|
|
7
7
|
};
|
|
8
8
|
description: {
|
|
9
9
|
type: string;
|
|
10
|
-
content: string;
|
|
11
10
|
};
|
|
12
11
|
title: {
|
|
13
12
|
type: string;
|
|
@@ -16,7 +15,6 @@ export declare const SliderProps: {
|
|
|
16
15
|
properties: {
|
|
17
16
|
text: {
|
|
18
17
|
type: string;
|
|
19
|
-
content: string;
|
|
20
18
|
};
|
|
21
19
|
textSize: {
|
|
22
20
|
type: string;
|
|
@@ -58,7 +56,6 @@ export declare const SliderProps: {
|
|
|
58
56
|
properties: {
|
|
59
57
|
text: {
|
|
60
58
|
type: string;
|
|
61
|
-
content: string;
|
|
62
59
|
};
|
|
63
60
|
size: {
|
|
64
61
|
type: string;
|
|
@@ -116,7 +113,6 @@ export declare const SliderBlock: {
|
|
|
116
113
|
};
|
|
117
114
|
description: {
|
|
118
115
|
type: string;
|
|
119
|
-
content: string;
|
|
120
116
|
};
|
|
121
117
|
title: {
|
|
122
118
|
type: string;
|
|
@@ -125,7 +121,6 @@ export declare const SliderBlock: {
|
|
|
125
121
|
properties: {
|
|
126
122
|
text: {
|
|
127
123
|
type: string;
|
|
128
|
-
content: string;
|
|
129
124
|
};
|
|
130
125
|
textSize: {
|
|
131
126
|
type: string;
|
|
@@ -167,7 +162,6 @@ export declare const SliderBlock: {
|
|
|
167
162
|
properties: {
|
|
168
163
|
text: {
|
|
169
164
|
type: string;
|
|
170
|
-
content: string;
|
|
171
165
|
};
|
|
172
166
|
size: {
|
|
173
167
|
type: string;
|
|
@@ -218,7 +212,6 @@ export declare const SliderBlock: {
|
|
|
218
212
|
properties: {
|
|
219
213
|
text: {
|
|
220
214
|
type: string;
|
|
221
|
-
content: string;
|
|
222
215
|
};
|
|
223
216
|
url: {
|
|
224
217
|
type: string;
|
|
@@ -33,7 +33,6 @@ const DisclaimerProps = {
|
|
|
33
33
|
properties: {
|
|
34
34
|
text: {
|
|
35
35
|
type: 'string',
|
|
36
|
-
content: 'text',
|
|
37
36
|
},
|
|
38
37
|
size: {
|
|
39
38
|
type: 'string',
|
|
@@ -50,7 +49,6 @@ export const SliderProps = {
|
|
|
50
49
|
},
|
|
51
50
|
description: {
|
|
52
51
|
type: 'string',
|
|
53
|
-
content: 'text',
|
|
54
52
|
},
|
|
55
53
|
title: TitleProps,
|
|
56
54
|
randomOrder: {
|
|
@@ -5,7 +5,6 @@ export declare const TableBlock: {
|
|
|
5
5
|
properties: {
|
|
6
6
|
title: {
|
|
7
7
|
type: string;
|
|
8
|
-
content: string;
|
|
9
8
|
};
|
|
10
9
|
table: {
|
|
11
10
|
additionalProperties: boolean;
|
|
@@ -17,7 +16,6 @@ export declare const TableBlock: {
|
|
|
17
16
|
type: string;
|
|
18
17
|
items: {
|
|
19
18
|
type: string[];
|
|
20
|
-
content: string;
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
21
|
};
|
|
@@ -25,7 +23,6 @@ export declare const TableBlock: {
|
|
|
25
23
|
type: string;
|
|
26
24
|
items: {
|
|
27
25
|
type: string;
|
|
28
|
-
content: string;
|
|
29
26
|
};
|
|
30
27
|
};
|
|
31
28
|
justify: {
|
|
@@ -50,7 +47,6 @@ export declare const TableBlock: {
|
|
|
50
47
|
properties: {
|
|
51
48
|
text: {
|
|
52
49
|
type: string;
|
|
53
|
-
content: string;
|
|
54
50
|
};
|
|
55
51
|
url: {
|
|
56
52
|
type: string;
|
|
@@ -5,7 +5,6 @@ export const TableBlock = {
|
|
|
5
5
|
required: ['title', 'table'],
|
|
6
6
|
properties: Object.assign(Object.assign({}, BlockBaseProps), { title: {
|
|
7
7
|
type: 'string',
|
|
8
|
-
content: 'text',
|
|
9
8
|
}, table: {
|
|
10
9
|
additionalProperties: false,
|
|
11
10
|
required: ['content'],
|
|
@@ -15,14 +14,12 @@ export const TableBlock = {
|
|
|
15
14
|
type: 'array',
|
|
16
15
|
items: {
|
|
17
16
|
type: ['string', 'number'],
|
|
18
|
-
content: 'text',
|
|
19
17
|
},
|
|
20
18
|
},
|
|
21
19
|
}, legend: {
|
|
22
20
|
type: 'array',
|
|
23
21
|
items: {
|
|
24
22
|
type: 'string',
|
|
25
|
-
content: 'yfm',
|
|
26
23
|
},
|
|
27
24
|
}, justify: {
|
|
28
25
|
type: 'array',
|
|
@@ -8,7 +8,6 @@ export declare const tabsItem: {
|
|
|
8
8
|
};
|
|
9
9
|
caption: {
|
|
10
10
|
type: string;
|
|
11
|
-
content: string;
|
|
12
11
|
};
|
|
13
12
|
media: {
|
|
14
13
|
oneOf: ({
|
|
@@ -102,7 +101,6 @@ export declare const tabsItem: {
|
|
|
102
101
|
};
|
|
103
102
|
text: {
|
|
104
103
|
type: string;
|
|
105
|
-
content: string;
|
|
106
104
|
};
|
|
107
105
|
};
|
|
108
106
|
};
|
|
@@ -157,7 +155,6 @@ export declare const tabsItem: {
|
|
|
157
155
|
properties: {
|
|
158
156
|
text: {
|
|
159
157
|
type: string;
|
|
160
|
-
content: string;
|
|
161
158
|
};
|
|
162
159
|
url: {
|
|
163
160
|
type: string;
|
|
@@ -209,7 +206,6 @@ export declare const tabsItem: {
|
|
|
209
206
|
properties: {
|
|
210
207
|
text: {
|
|
211
208
|
type: string;
|
|
212
|
-
content: string;
|
|
213
209
|
};
|
|
214
210
|
textSize: {
|
|
215
211
|
type: string;
|
|
@@ -224,16 +220,13 @@ export declare const tabsItem: {
|
|
|
224
220
|
};
|
|
225
221
|
} | {
|
|
226
222
|
type: string;
|
|
227
|
-
content: string;
|
|
228
223
|
})[];
|
|
229
224
|
} | undefined;
|
|
230
225
|
text?: {
|
|
231
226
|
type: string;
|
|
232
|
-
content: string;
|
|
233
227
|
} | undefined;
|
|
234
228
|
additionalInfo?: {
|
|
235
229
|
type: string;
|
|
236
|
-
content: string;
|
|
237
230
|
} | undefined;
|
|
238
231
|
size?: {
|
|
239
232
|
type: string;
|
|
@@ -279,7 +272,6 @@ export declare const TabsBlock: {
|
|
|
279
272
|
properties: {
|
|
280
273
|
text: {
|
|
281
274
|
type: string;
|
|
282
|
-
content: string;
|
|
283
275
|
};
|
|
284
276
|
textSize: {
|
|
285
277
|
type: string;
|
|
@@ -295,7 +287,6 @@ export declare const TabsBlock: {
|
|
|
295
287
|
};
|
|
296
288
|
description: {
|
|
297
289
|
type: string;
|
|
298
|
-
content: string;
|
|
299
290
|
};
|
|
300
291
|
tabsColSizes: {};
|
|
301
292
|
direction: {
|
|
@@ -323,7 +314,6 @@ export declare const TabsBlock: {
|
|
|
323
314
|
properties: {
|
|
324
315
|
text: {
|
|
325
316
|
type: string;
|
|
326
|
-
content: string;
|
|
327
317
|
};
|
|
328
318
|
url: {
|
|
329
319
|
type: string;
|
|
@@ -12,7 +12,6 @@ export const tabsItem = {
|
|
|
12
12
|
type: 'string',
|
|
13
13
|
}, caption: {
|
|
14
14
|
type: 'string',
|
|
15
|
-
content: 'text',
|
|
16
15
|
}, media: withTheme({
|
|
17
16
|
type: 'object',
|
|
18
17
|
properties: MediaProps,
|
|
@@ -26,7 +25,6 @@ export const TabsBlock = {
|
|
|
26
25
|
required: ['title', 'items'],
|
|
27
26
|
properties: Object.assign(Object.assign({}, BlockBaseProps), { title: TitleProps, description: {
|
|
28
27
|
type: 'string',
|
|
29
|
-
content: 'text',
|
|
30
28
|
}, tabsColSizes: containerSizesArray.reduce((acc, size) => (Object.assign(Object.assign({}, acc), { [size]: sizeNumber })), {}), direction: {
|
|
31
29
|
type: 'string',
|
|
32
30
|
enum: mediaDirection,
|
|
@@ -10,11 +10,9 @@ export declare const author: {
|
|
|
10
10
|
properties: {
|
|
11
11
|
firstName: {
|
|
12
12
|
type: string;
|
|
13
|
-
content: string;
|
|
14
13
|
};
|
|
15
14
|
secondName: {
|
|
16
15
|
type: string;
|
|
17
|
-
content: string;
|
|
18
16
|
};
|
|
19
17
|
avatar: {
|
|
20
18
|
type: string;
|
|
@@ -22,7 +20,6 @@ export declare const author: {
|
|
|
22
20
|
};
|
|
23
21
|
description: {
|
|
24
22
|
type: string;
|
|
25
|
-
content: string;
|
|
26
23
|
};
|
|
27
24
|
};
|
|
28
25
|
};
|
|
@@ -18,7 +18,6 @@ export declare const ImageDeviceProps: {
|
|
|
18
18
|
};
|
|
19
19
|
alt: {
|
|
20
20
|
type: string;
|
|
21
|
-
content: string;
|
|
22
21
|
};
|
|
23
22
|
disableCompress: {
|
|
24
23
|
type: string;
|
|
@@ -36,7 +35,6 @@ export declare const ImageObjectProps: {
|
|
|
36
35
|
};
|
|
37
36
|
alt: {
|
|
38
37
|
type: string;
|
|
39
|
-
content: string;
|
|
40
38
|
};
|
|
41
39
|
disableCompress: {
|
|
42
40
|
type: string;
|
|
@@ -16,7 +16,6 @@ export const ImageDeviceProps = {
|
|
|
16
16
|
},
|
|
17
17
|
alt: {
|
|
18
18
|
type: 'string',
|
|
19
|
-
content: 'text',
|
|
20
19
|
},
|
|
21
20
|
disableCompress: {
|
|
22
21
|
type: 'boolean',
|
|
@@ -34,7 +33,6 @@ export const ImageObjectProps = {
|
|
|
34
33
|
},
|
|
35
34
|
alt: {
|
|
36
35
|
type: 'string',
|
|
37
|
-
content: 'text',
|
|
38
36
|
},
|
|
39
37
|
disableCompress: {
|
|
40
38
|
type: 'boolean',
|
|
@@ -33,6 +33,5 @@ export { default as OverflowScroller } from './OverflowScroller/OverflowScroller
|
|
|
33
33
|
export { default as Author } from './Author/Author';
|
|
34
34
|
export { default as RouterLink } from './RouterLink/RouterLink';
|
|
35
35
|
export { default as HTML } from './HTML/HTML';
|
|
36
|
-
export
|
|
37
|
-
export * as Navigation from './navigation/components/index';
|
|
36
|
+
export * from './navigation/components/index';
|
|
38
37
|
export type { RouterLinkProps } from './RouterLink/RouterLink';
|
|
@@ -33,5 +33,4 @@ export { default as OverflowScroller } from './OverflowScroller/OverflowScroller
|
|
|
33
33
|
export { default as Author } from './Author/Author';
|
|
34
34
|
export { default as RouterLink } from './RouterLink/RouterLink';
|
|
35
35
|
export { default as HTML } from './HTML/HTML';
|
|
36
|
-
export
|
|
37
|
-
export * as Navigation from './navigation/components/index';
|
|
36
|
+
export * from './navigation/components/index';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { HeaderDataProps, NavigationLogoProps } from '../../../../models';
|
|
3
3
|
import './Header.css';
|
|
4
4
|
export interface HeaderProps {
|
|
5
|
-
logo:
|
|
6
|
-
data:
|
|
5
|
+
logo: NavigationLogoProps;
|
|
6
|
+
data: HeaderDataProps;
|
|
7
7
|
}
|
|
8
8
|
export declare const Header: React.FC<HeaderProps>;
|
|
9
9
|
export default Header;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { NavigationLogoProps } from '../../../../models';
|
|
3
3
|
import './Logo.css';
|
|
4
|
-
export interface LogoProps extends
|
|
4
|
+
export interface LogoProps extends NavigationLogoProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
declare const Logo: React.FC<LogoProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { NavigationItemProps as NavigationItemModel } from '../../../../models/navigation';
|
|
3
3
|
import './MobileNavigation.css';
|
|
4
4
|
export interface MobileNavigationProps {
|
|
5
5
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { NavigationDropdownItemProps, NavigationItemProps as NavigationItemModel } from '../../../../models/navigation';
|
|
3
3
|
import './Navigation.css';
|
|
4
4
|
export interface NavigationProps {
|
|
5
5
|
links: NavigationItemModel[];
|
|
@@ -9,7 +9,7 @@ export interface NavigationProps {
|
|
|
9
9
|
highlightActiveItem?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export interface NavigationDropdownProps {
|
|
12
|
-
data:
|
|
12
|
+
data: NavigationDropdownItemProps;
|
|
13
13
|
onClick: MouseEventHandler;
|
|
14
14
|
isActive: boolean;
|
|
15
15
|
position: number;
|