@redneckz/wildless-cms-uni-blocks 0.14.975 → 0.14.976
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +16 -11
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/GalleryLayout/utils.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/bundle/model/HeadlineType.d.ts +15 -8
- package/dist/components/GalleryLayout/utils.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +15 -10
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/dist/model/HeadlineType.d.ts +15 -8
- package/lib/components/GalleryLayout/utils.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +15 -10
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/lib/model/HeadlineType.d.ts +15 -8
- package/mobile/bundle/bundle.umd.js +16 -11
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/GalleryLayout/utils.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/bundle/model/HeadlineType.d.ts +15 -8
- package/mobile/dist/components/GalleryLayout/utils.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +15 -10
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/dist/model/HeadlineType.d.ts +15 -8
- package/mobile/lib/components/GalleryLayout/utils.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +15 -10
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -2
- package/mobile/lib/model/HeadlineType.d.ts +15 -8
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +26 -17
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -5
- package/mobile/src/model/HeadlineType.ts +16 -8
- package/package.json +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +16 -7
- package/src/components/ProductBlock/ProductBlock.tsx +26 -17
- package/src/components/ProductBlock/ProductBlockContent.ts +2 -5
- package/src/model/HeadlineType.ts +16 -8
|
@@ -46,26 +46,34 @@ export type AdditionalDescriptionProps = {
|
|
|
46
46
|
additionalDescription?: string;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
export type
|
|
50
|
-
/** @title Динамическое описание по значению
|
|
51
|
-
|
|
49
|
+
export type DynamicTextProps = {
|
|
50
|
+
/** @title Динамическое описание по значению query-параметра */
|
|
51
|
+
dynamicQueryParamText?: DynamicText;
|
|
52
52
|
/** @title Справочник значений */
|
|
53
|
-
|
|
53
|
+
dynamicTextSource?: JSONRefObject;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export type HeadlineCommonProps = TitleProps &
|
|
57
57
|
DescriptionProps &
|
|
58
58
|
AlignProps &
|
|
59
59
|
AdditionalDescriptionProps &
|
|
60
|
-
|
|
60
|
+
DynamicTextProps;
|
|
61
61
|
|
|
62
62
|
export type HeadlineProps = HeadlineCommonProps & {
|
|
63
63
|
headlineVersion?: HeadlineVersion;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
export type
|
|
67
|
-
/** @title
|
|
68
|
-
|
|
66
|
+
export type DynamicText = {
|
|
67
|
+
/** @title query-параметр */
|
|
68
|
+
queryParam?: string;
|
|
69
69
|
/** @title Заменяемый текст */
|
|
70
70
|
value?: string;
|
|
71
|
+
/** @title Тип текста, где будет произведена замена */
|
|
72
|
+
textType?: TextType;
|
|
71
73
|
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @title Тип текста
|
|
77
|
+
* @enumNames ["Описание", "Заголовок"]
|
|
78
|
+
*/
|
|
79
|
+
export type TextType = 'description' | 'title';
|