@cloud-ru/uikit-product-site-section 0.23.3
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/CHANGELOG.md +1406 -0
- package/LICENSE +201 -0
- package/README.md +335 -0
- package/package.json +70 -0
- package/src/components/SectionAccordion/SectionAccordion.tsx +99 -0
- package/src/components/SectionAccordion/index.ts +1 -0
- package/src/components/SectionAccordion/styles.module.scss +13 -0
- package/src/components/SectionAccordion/types.ts +11 -0
- package/src/components/SectionAccordion/utils.ts +29 -0
- package/src/components/SectionBasic/SectionBasic.tsx +157 -0
- package/src/components/SectionBasic/index.ts +1 -0
- package/src/components/SectionBasic/styles.module.scss +88 -0
- package/src/components/SectionBenefits/SectionBenefits.tsx +163 -0
- package/src/components/SectionBenefits/components/CardNumeric/CardNumeric.tsx +17 -0
- package/src/components/SectionBenefits/components/CardNumeric/index.ts +1 -0
- package/src/components/SectionBenefits/components/CardNumeric/styles.module.scss +6 -0
- package/src/components/SectionBenefits/components/index.ts +1 -0
- package/src/components/SectionBenefits/index.ts +1 -0
- package/src/components/SectionBenefits/styles.module.scss +15 -0
- package/src/components/SectionBenefits/types.ts +91 -0
- package/src/components/SectionBenefitsBanner/SectionBenefitsBanner.tsx +91 -0
- package/src/components/SectionBenefitsBanner/index.ts +1 -0
- package/src/components/SectionBenefitsBanner/styles.module.scss +119 -0
- package/src/components/SectionBenefitsBanner/types.ts +42 -0
- package/src/components/SectionBenefitsBanner/utils.ts +15 -0
- package/src/components/SectionBlogCarousel/SectionBlogCarousel.tsx +22 -0
- package/src/components/SectionBlogCarousel/index.ts +1 -0
- package/src/components/SectionBlogCarousel/utils.ts +29 -0
- package/src/components/SectionCaseCarousel/SectionCaseCarousel.tsx +22 -0
- package/src/components/SectionCaseCarousel/index.ts +1 -0
- package/src/components/SectionCaseCarousel/styles.module.scss +3 -0
- package/src/components/SectionCaseCarousel/utils.ts +24 -0
- package/src/components/SectionCatalog/SectionCatalog.tsx +105 -0
- package/src/components/SectionCatalog/constants.ts +5 -0
- package/src/components/SectionCatalog/index.ts +1 -0
- package/src/components/SectionCatalog/styles.module.scss +45 -0
- package/src/components/SectionClientsCarousel/SectionClientsCarousel.tsx +23 -0
- package/src/components/SectionClientsCarousel/index.ts +1 -0
- package/src/components/SectionClientsCarousel/utils.ts +29 -0
- package/src/components/SectionContent/SectionContent.tsx +98 -0
- package/src/components/SectionContent/index.ts +1 -0
- package/src/components/SectionContent/styles.module.scss +70 -0
- package/src/components/SectionContentList/SectionContentList.tsx +99 -0
- package/src/components/SectionContentList/index.ts +1 -0
- package/src/components/SectionContentList/styles.module.scss +56 -0
- package/src/components/SectionContentTabs/SectionContentTabs.tsx +156 -0
- package/src/components/SectionContentTabs/index.ts +1 -0
- package/src/components/SectionContentTabs/styles.module.scss +85 -0
- package/src/components/SectionExpertsCarousel/SectionExpertsCarousel.tsx +18 -0
- package/src/components/SectionExpertsCarousel/constants.ts +2 -0
- package/src/components/SectionExpertsCarousel/index.ts +1 -0
- package/src/components/SectionExpertsCarousel/types.ts +6 -0
- package/src/components/SectionLeading/SectionLeading.tsx +116 -0
- package/src/components/SectionLeading/index.ts +1 -0
- package/src/components/SectionLeading/styles.module.scss +30 -0
- package/src/components/SectionLeading/utils.ts +11 -0
- package/src/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.tsx +23 -0
- package/src/components/SectionMarketplaceCarousel/index.ts +1 -0
- package/src/components/SectionMarketplaceCarousel/utils.ts +33 -0
- package/src/components/SectionMedia/SectionMedia.tsx +57 -0
- package/src/components/SectionMedia/index.ts +1 -0
- package/src/components/SectionMedia/styles.module.scss +9 -0
- package/src/components/SectionPersonalManager/SectionPersonalManager.tsx +135 -0
- package/src/components/SectionPersonalManager/index.ts +1 -0
- package/src/components/SectionPersonalManager/styles.module.scss +146 -0
- package/src/components/SectionPersonalManager/utils.ts +15 -0
- package/src/components/SectionPromoList/SectionPromoList.tsx +66 -0
- package/src/components/SectionPromoList/index.ts +1 -0
- package/src/components/SectionPromoList/styles.module.scss +52 -0
- package/src/components/SectionSocial/SectionSocial.tsx +66 -0
- package/src/components/SectionSocial/constants.ts +5 -0
- package/src/components/SectionSocial/index.ts +1 -0
- package/src/components/SectionSocial/styles.module.scss +4 -0
- package/src/components/SectionTable/SectionTable.tsx +46 -0
- package/src/components/SectionTable/index.ts +1 -0
- package/src/components/SectionTable/styles.module.scss +19 -0
- package/src/components/index.ts +19 -0
- package/src/constants.ts +4 -0
- package/src/helperComponents/BenefitItem/BenefitItem.tsx +34 -0
- package/src/helperComponents/BenefitItem/index.ts +1 -0
- package/src/helperComponents/BenefitItem/styles.module.scss +34 -0
- package/src/helperComponents/BenefitItem/utils.ts +28 -0
- package/src/helperComponents/CardClient/CardClient.tsx +15 -0
- package/src/helperComponents/CardClient/index.ts +1 -0
- package/src/helperComponents/CardClient/styles.module.scss +25 -0
- package/src/helperComponents/CardLeading/CardLeading.tsx +29 -0
- package/src/helperComponents/CardLeading/index.ts +2 -0
- package/src/helperComponents/CardLeading/styles.module.scss +43 -0
- package/src/helperComponents/CardLeading/types.ts +12 -0
- package/src/helperComponents/CardLeading/utils.ts +28 -0
- package/src/helperComponents/CardSocial/CardSocial.tsx +105 -0
- package/src/helperComponents/CardSocial/index.ts +1 -0
- package/src/helperComponents/CardSocial/styles.module.scss +48 -0
- package/src/helperComponents/CardSocial/utils.ts +13 -0
- package/src/helperComponents/Expert/Expert.tsx +28 -0
- package/src/helperComponents/Expert/index.ts +1 -0
- package/src/helperComponents/Expert/styles.module.scss +39 -0
- package/src/helperComponents/PromoList/PromoList.tsx +26 -0
- package/src/helperComponents/PromoList/index.ts +1 -0
- package/src/helperComponents/PromoList/styles.module.scss +46 -0
- package/src/helperComponents/SectionButton/SectionButton.tsx +19 -0
- package/src/helperComponents/SectionButton/index.tsx +1 -0
- package/src/helperComponents/SectionButton/types.ts +9 -0
- package/src/helperComponents/SectionCarousel/SectionCarousel.tsx +109 -0
- package/src/helperComponents/SectionCarousel/index.ts +2 -0
- package/src/helperComponents/SectionCarousel/styles.module.scss +8 -0
- package/src/helperComponents/SectionCarousel/types.ts +42 -0
- package/src/helperComponents/SectionCarousel/utils.ts +10 -0
- package/src/helperComponents/SectionCatalogFooter/SectionCatalogFooter.tsx +29 -0
- package/src/helperComponents/SectionCatalogFooter/index.ts +1 -0
- package/src/helperComponents/SectionCatalogFooter/styles.module.scss +10 -0
- package/src/helperComponents/SectionTitle/SectionTitle.tsx +72 -0
- package/src/helperComponents/SectionTitle/constants.ts +5 -0
- package/src/helperComponents/SectionTitle/index.ts +1 -0
- package/src/helperComponents/SectionTitle/styles.module.scss +33 -0
- package/src/helperComponents/SectionTitle/types.ts +7 -0
- package/src/helperComponents/SectionTitle/utils.ts +83 -0
- package/src/helperComponents/index.ts +10 -0
- package/src/index.ts +2 -0
- package/src/types.ts +23 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2023 Cloud technology Limited (Ltd.)
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
# Site Section
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
`npm i @cloud-ru/uikit-product-site-section`
|
|
6
|
+
|
|
7
|
+
[//]: DOCUMENTATION_SECTION_START
|
|
8
|
+
[//]: THIS_SECTION_IS_AUTOGENERATED_PLEASE_DONT_EDIT_IT
|
|
9
|
+
## SectionAccordion
|
|
10
|
+
### Props
|
|
11
|
+
| name | type | default value | description |
|
|
12
|
+
|------|------|---------------|-------------|
|
|
13
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
14
|
+
| items* | `AccordionItem[]` | - | Массив айтемов |
|
|
15
|
+
| title* | `string` | - | Название секции |
|
|
16
|
+
| selectionMode | "single" \| "multiple" | multiple | |
|
|
17
|
+
| expandedDefault | `string \| string[]` | - | |
|
|
18
|
+
| onExpandedChange | `((value?: string) => void) \| ((value?: string[]) => void)` | - | |
|
|
19
|
+
| id | `string` | - | id секции |
|
|
20
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
21
|
+
| outline | `boolean` | - | Внешний бордер для блоков |
|
|
22
|
+
| className | `string` | - | CSS-класс |
|
|
23
|
+
## SectionBasic
|
|
24
|
+
### Props
|
|
25
|
+
| name | type | default value | description |
|
|
26
|
+
|------|------|---------------|-------------|
|
|
27
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
28
|
+
| title | `string` | - | Название секции |
|
|
29
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
30
|
+
| description | `string` | - | Описание секции |
|
|
31
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | m | Размер шрифтов заголовка и подзаголовка |
|
|
32
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
33
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
34
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
35
|
+
| id | `string` | - | id секции |
|
|
36
|
+
| tabBarItems | `TabBarItem[]` | - | Массив табов |
|
|
37
|
+
| filterItems | `FieldSelectProps[]` | - | Массив фильтров |
|
|
38
|
+
| pagination | `PaginationProps` | - | Настройки пагинации |
|
|
39
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | neutral-background1-level | Цвет фона |
|
|
40
|
+
| className | `string` | - | CSS-класс |
|
|
41
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
42
|
+
## SectionBenefits
|
|
43
|
+
### Props
|
|
44
|
+
| name | type | default value | description |
|
|
45
|
+
|------|------|---------------|-------------|
|
|
46
|
+
| content* | `ContentBasicTab[] \| CardBasicArray \| ContentInfoTab[] \| CardInfoArray \| ContentNumericTab[] \| CardNumericArray \| ContentProductTab[] \| CardProductArray` | - | |
|
|
47
|
+
| type* | "basic" \| "info" \| "numeric" \| "product" | - | |
|
|
48
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
49
|
+
| columnsConfig* | `ColumnsConfig` | - | Конфигурация настройки колонок для разных layoutType |
|
|
50
|
+
| id | `string` | - | id секции |
|
|
51
|
+
| title | `string` | - | Название секции |
|
|
52
|
+
| subtitle | `string` | - | Название подзаголовка секции |
|
|
53
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона секции |
|
|
54
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
55
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
56
|
+
| description | `string` | - | Описание секции |
|
|
57
|
+
| note | `string` | - | Текст нижней сноски |
|
|
58
|
+
| buttons | `SectionButtonProps[]` | - | |
|
|
59
|
+
| buttonsAlign | "left" \| "center" | left | Выравнивание кнопок по горизонтали |
|
|
60
|
+
| tabBarItems | `TabBarItem[]` | - | |
|
|
61
|
+
| outline | `boolean` | - | |
|
|
62
|
+
## SectionBenefitsBanner
|
|
63
|
+
### Props
|
|
64
|
+
| name | type | default value | description |
|
|
65
|
+
|------|------|---------------|-------------|
|
|
66
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
67
|
+
| items* | `ItemProps[]` | - | Выгоды |
|
|
68
|
+
| title | `string` | - | Заголовок |
|
|
69
|
+
| titleTag | enum Tag: `"span"`, `"h1"`, `"h2"`, `"h3"`, `"h4"`, `"h5"`, `"h6"`, `"div"`, `"label"`, `"p"` | h3 | Тэг заголовка |
|
|
70
|
+
| description | `string \| string[]` | - | Описание под баннером |
|
|
71
|
+
| className | `string` | - | CSS класс |
|
|
72
|
+
| appearance | "decor" \| "brand" \| "graphite" | brand | |
|
|
73
|
+
| color | enum ColorType: `"neutral"`, `"white"`, `"violet"`, `"blue"` | - | |
|
|
74
|
+
| backgroundType | "color" \| "image" | color | |
|
|
75
|
+
| backgroundImage | `string` | - | |
|
|
76
|
+
## SectionBlogCarousel
|
|
77
|
+
### Props
|
|
78
|
+
| name | type | default value | description |
|
|
79
|
+
|------|------|---------------|-------------|
|
|
80
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
81
|
+
| items* | `BlogCarouselItem[]` | - | Массив айтемов |
|
|
82
|
+
| title | `string` | - | Название секции |
|
|
83
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
84
|
+
| description | `string` | - | Описание секции |
|
|
85
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
86
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
87
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
88
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
89
|
+
| id | `string` | - | id секции |
|
|
90
|
+
| className | `string` | - | CSS - класснейм |
|
|
91
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
92
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
93
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
94
|
+
| infiniteScroll | `boolean` | false | Цикличная прокрутка |
|
|
95
|
+
## SectionCaseCarousel
|
|
96
|
+
### Props
|
|
97
|
+
| name | type | default value | description |
|
|
98
|
+
|------|------|---------------|-------------|
|
|
99
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
100
|
+
| items* | `CaseItem[]` | - | Массив айтемов |
|
|
101
|
+
| title | `string` | - | Название секции |
|
|
102
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
103
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
104
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
105
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
106
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
107
|
+
| id | `string` | - | id секции |
|
|
108
|
+
| className | `string` | - | CSS - класснейм |
|
|
109
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
110
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
111
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
112
|
+
| infiniteScroll | `boolean` | false | Цикличная прокрутка |
|
|
113
|
+
## SectionCatalog
|
|
114
|
+
### Props
|
|
115
|
+
| name | type | default value | description |
|
|
116
|
+
|------|------|---------------|-------------|
|
|
117
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
118
|
+
| categories* | `ProductCategory[]` | - | Список продуктов по категориям |
|
|
119
|
+
| title* | `string` | - | Заголовок |
|
|
120
|
+
| id | `string` | - | id секции |
|
|
121
|
+
| className | `string` | - | CSS-класс |
|
|
122
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
123
|
+
| selectedCategory | `string` | - | Выбранная категория продуктов |
|
|
124
|
+
| onCategorySelect | `(category: string) => void` | - | Колбек смены выбранной категории продуктов |
|
|
125
|
+
| footer | `FooterItem[]` | - | Список элементов для футера в каталоге |
|
|
126
|
+
## SectionClientsCarousel
|
|
127
|
+
### Props
|
|
128
|
+
| name | type | default value | description |
|
|
129
|
+
|------|------|---------------|-------------|
|
|
130
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
131
|
+
| items* | `CardClientProps[]` | - | Массив айтемов |
|
|
132
|
+
| title | `string` | - | Название секции |
|
|
133
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
134
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
135
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
136
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
137
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
138
|
+
| id | `string` | - | id секции |
|
|
139
|
+
| className | `string` | - | CSS - класснейм |
|
|
140
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
141
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
142
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
143
|
+
| infiniteScroll | `boolean` | false | Цикличная прокрутка |
|
|
144
|
+
## SectionContent
|
|
145
|
+
### Props
|
|
146
|
+
| name | type | default value | description |
|
|
147
|
+
|------|------|---------------|-------------|
|
|
148
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
149
|
+
| id | `string` | - | id секции |
|
|
150
|
+
| className | `string` | - | CSS-класс |
|
|
151
|
+
| title | `string` | - | Заголовок |
|
|
152
|
+
| description | `string` | - | Описание |
|
|
153
|
+
| button | `Omit<ButtonFilledProps, "size" \| "fullWidth">` | - | Кнопка действия |
|
|
154
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | neutral-background1-level | Цвет фона |
|
|
155
|
+
| contentPosition | "left" \| "right" | left | Местоположение контента в секции |
|
|
156
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
157
|
+
| onPlay | `() => void` | - | |
|
|
158
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
159
|
+
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
160
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
161
|
+
## SectionContentList
|
|
162
|
+
### Props
|
|
163
|
+
| name | type | default value | description |
|
|
164
|
+
|------|------|---------------|-------------|
|
|
165
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
166
|
+
| id | `string` | - | id секции |
|
|
167
|
+
| className | `string` | - | CSS-класс |
|
|
168
|
+
| title | `string` | - | Заголовок |
|
|
169
|
+
| description | `string` | - | Описание |
|
|
170
|
+
| items | `Item[]` | - | Список элементов |
|
|
171
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
172
|
+
| contentPosition | "left" \| "right" | left | Местоположение контента в секции |
|
|
173
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
174
|
+
| onPlay | `() => void` | - | |
|
|
175
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
176
|
+
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
177
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
178
|
+
## SectionContentTabs
|
|
179
|
+
### Props
|
|
180
|
+
| name | type | default value | description |
|
|
181
|
+
|------|------|---------------|-------------|
|
|
182
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
183
|
+
| tabs* | `TabItem[]` | - | Список вкладок |
|
|
184
|
+
| id | `string` | - | id секции |
|
|
185
|
+
| className | `string` | - | CSS-класс |
|
|
186
|
+
| title | `string` | - | Заголовок |
|
|
187
|
+
| activeTab | `string` | - | Выбранная вкладок |
|
|
188
|
+
| onActiveTabChange | `() => void` | - | колбэк на смену вкладки |
|
|
189
|
+
| button | `Omit<ButtonFilledProps, "size" \| "fullWidth">` | - | Кнопка действия |
|
|
190
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
191
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
192
|
+
## SectionExpertsCarousel
|
|
193
|
+
### Props
|
|
194
|
+
| name | type | default value | description |
|
|
195
|
+
|------|------|---------------|-------------|
|
|
196
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
197
|
+
| items* | `ExpertDetails[]` | - | Массив айтемов |
|
|
198
|
+
| title | `string` | - | Название секции |
|
|
199
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
200
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
201
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
202
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
203
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
204
|
+
| id | `string` | - | id секции |
|
|
205
|
+
| className | `string` | - | CSS - класснейм |
|
|
206
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
207
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
208
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
209
|
+
| infiniteScroll | `boolean` | false | Цикличная прокрутка |
|
|
210
|
+
## SectionLeading
|
|
211
|
+
### Props
|
|
212
|
+
| name | type | default value | description |
|
|
213
|
+
|------|------|---------------|-------------|
|
|
214
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
215
|
+
| items* | `CardLeadingItem[]` | - | Массив айтемов |
|
|
216
|
+
| title | `string` | - | Название секции |
|
|
217
|
+
| description | `string` | - | Описание секции |
|
|
218
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | m | Размер шрифтов заголовка и подзаголовка |
|
|
219
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
220
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
221
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
222
|
+
| id | `string` | - | id секции |
|
|
223
|
+
| footerDescription | `string` | - | Описание секции |
|
|
224
|
+
| className | `string` | - | CSS - класснейм |
|
|
225
|
+
## SectionMarketplaceCarousel
|
|
226
|
+
### Props
|
|
227
|
+
| name | type | default value | description |
|
|
228
|
+
|------|------|---------------|-------------|
|
|
229
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
230
|
+
| items* | `CardMarketplaceProps[]` | - | Массив айтемов |
|
|
231
|
+
| title | `string` | - | Название секции |
|
|
232
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
233
|
+
| description | `string` | - | Описание секции |
|
|
234
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
235
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
236
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
237
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
238
|
+
| id | `string` | - | id секции |
|
|
239
|
+
| className | `string` | - | CSS - класснейм |
|
|
240
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
241
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
242
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
243
|
+
| infiniteScroll | `boolean` | false | Цикличная прокрутка |
|
|
244
|
+
## SectionMedia
|
|
245
|
+
### Props
|
|
246
|
+
| name | type | default value | description |
|
|
247
|
+
|------|------|---------------|-------------|
|
|
248
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
249
|
+
| title | `string` | - | Название секции |
|
|
250
|
+
| description | `string` | - | Описание секции |
|
|
251
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
252
|
+
| id | `string` | - | id секции |
|
|
253
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
254
|
+
| onPlay | `() => void` | - | |
|
|
255
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
256
|
+
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
257
|
+
## SectionPersonalManager
|
|
258
|
+
### Props
|
|
259
|
+
| name | type | default value | description |
|
|
260
|
+
|------|------|---------------|-------------|
|
|
261
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
262
|
+
| onGetConsultationClick* | `() => void` | - | Хэндлер клика по кнопке "Получить консультацию" |
|
|
263
|
+
| manager* | `{ img: string; title?: string; text?: string; }` | - | |
|
|
264
|
+
| id | `string` | - | id секции |
|
|
265
|
+
| title | `string` | - | |
|
|
266
|
+
| description | `string` | - | |
|
|
267
|
+
| card | `{ title: string; text: string; }` | - | |
|
|
268
|
+
| benefits | `Pick<CardBasicProps, "title" \| "icon">[]` | - | |
|
|
269
|
+
| withoutBenefits | `boolean` | - | |
|
|
270
|
+
| className | `string` | - | CSS-класс |
|
|
271
|
+
## SectionPromoList
|
|
272
|
+
### Props
|
|
273
|
+
| name | type | default value | description |
|
|
274
|
+
|------|------|---------------|-------------|
|
|
275
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
276
|
+
| rightList* | `PromoListProps` | - | Элементы правого списка |
|
|
277
|
+
| leftList* | `PromoListProps` | - | Элементы левого списка |
|
|
278
|
+
| image* | `string` | - | Ссылка на изображение |
|
|
279
|
+
| title* | `string` | - | Заголовок |
|
|
280
|
+
| id | `string` | - | id секции |
|
|
281
|
+
| className | `string` | - | CSS-класс |
|
|
282
|
+
| description | `string` | - | Описание |
|
|
283
|
+
## SectionSocial
|
|
284
|
+
### Props
|
|
285
|
+
| name | type | default value | description |
|
|
286
|
+
|------|------|---------------|-------------|
|
|
287
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
288
|
+
| cards* | `Omit<CardSocialProps, "layoutType">[]` | - | |
|
|
289
|
+
| title | `string` | - | Название секции Заголовок |
|
|
290
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
291
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
292
|
+
| id | `string` | - | id секции |
|
|
293
|
+
| className | `string` | - | CSS-класс |
|
|
294
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
295
|
+
| gap | "s" \| "m" \| "l" \| "xs" | s | Размер отступов сетки |
|
|
296
|
+
## SectionTable
|
|
297
|
+
### Props
|
|
298
|
+
| name | type | default value | description |
|
|
299
|
+
|------|------|---------------|-------------|
|
|
300
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
301
|
+
| rows* | `Cell[][]` | - | |
|
|
302
|
+
| id | `string` | - | id секции |
|
|
303
|
+
| className | `string` | - | CSS-класс |
|
|
304
|
+
| title | `string` | - | Заголовок |
|
|
305
|
+
| subtitle | `string` | - | Подзаголовок |
|
|
306
|
+
| description | `string` | - | Описание |
|
|
307
|
+
| withHeader | `boolean` | - | |
|
|
308
|
+
## SectionCarousel
|
|
309
|
+
### Props
|
|
310
|
+
| name | type | default value | description |
|
|
311
|
+
|------|------|---------------|-------------|
|
|
312
|
+
| maxItemsPerPage* | `number` | - | Максимальное количество айтемов на слайде |
|
|
313
|
+
| itemMinWidth* | `number` | - | Минимальная ширина айтема |
|
|
314
|
+
| children* | `ReactElement<any, string \| JSXElementConstructor<any>>[]` | - | Массив повторяющихся айтмов, из которых состоят слайды карусели |
|
|
315
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
316
|
+
| title | `string` | - | Название секции |
|
|
317
|
+
| subtitle | `string` | - | Подзаголовок секции |
|
|
318
|
+
| titleLink | `PickLinkProps<(<T extends ElementType = "a">({ text, className, textMode, size, purpose, appearance, insideText, truncateVariant, as, ...rest }: LinkProps<T>) => Element), "onClick" \| "appearance" \| "href" \| "target" \| "textMode">` | - | Ссылка в названии |
|
|
319
|
+
| description | `string` | - | Описание секции |
|
|
320
|
+
| titleSectionSize | enum Size: `"s"`, `"m"`, `"l"` | - | Размер шрифтов заголовка и подзаголовка |
|
|
321
|
+
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
322
|
+
| subtitleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег подзаголовка |
|
|
323
|
+
| titleAlign | "left" \| "center" | - | Выравнивание текста |
|
|
324
|
+
| id | `string` | - | id секции |
|
|
325
|
+
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | neutral-background1-level | Цвет фона |
|
|
326
|
+
| className | `string` | - | CSS - класснейм |
|
|
327
|
+
| autoSwipe | `number` | 9 | Автоматическое переключение слайдов в секундах |
|
|
328
|
+
| gap | `string` | var(--dimension-2m) | Расстояние между айтемами |
|
|
329
|
+
| infiniteScroll | `boolean` | true | Цикличная прокрутка |
|
|
330
|
+
| moreButton | `{ label?: string; href?: string; onClick: MouseEventHandler<HTMLElement>; 'data-test-id'?: string; }` | - | Кнопка внизу секции |
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
[//]: DOCUMENTATION_SECTION_END
|
|
334
|
+
|
|
335
|
+
[Changelog](./CHANGELOG.md)
|
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cloud-ru/uikit-product-site-section",
|
|
3
|
+
"title": "Site Section",
|
|
4
|
+
"version": "0.23.3",
|
|
5
|
+
"sideEffects": [
|
|
6
|
+
"*.css",
|
|
7
|
+
"*.woff",
|
|
8
|
+
"*.woff2"
|
|
9
|
+
],
|
|
10
|
+
"description": "",
|
|
11
|
+
"types": "./dist/esm/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
"import": "./dist/esm/index.js",
|
|
14
|
+
"require": "./dist/cjs/index.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/esm",
|
|
18
|
+
"dist/cjs",
|
|
19
|
+
"src",
|
|
20
|
+
"./CHANGELOG.md",
|
|
21
|
+
"./LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://gitverse.ru/cloud-ru-tech/uikit-product/-/tree/master/packages/site-section",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://gitverse.ru/cloud-ru-tech/uikit-product.git",
|
|
27
|
+
"directory": "packages/site-section"
|
|
28
|
+
},
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "Akhremenko Grigorii",
|
|
31
|
+
"url": "https://github.com/AGrigorii"
|
|
32
|
+
},
|
|
33
|
+
"license": "Apache-2.0",
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@cloud-ru/uikit-product-icons": "15.1.1",
|
|
40
|
+
"@cloud-ru/uikit-product-mobile-fields": "0.11.24",
|
|
41
|
+
"@cloud-ru/uikit-product-site-cards": "0.11.3",
|
|
42
|
+
"@cloud-ru/uikit-product-site-case-card": "0.4.2",
|
|
43
|
+
"@cloud-ru/uikit-product-site-grid": "0.1.3",
|
|
44
|
+
"@cloud-ru/uikit-product-site-layout": "0.2.2",
|
|
45
|
+
"@cloud-ru/uikit-product-site-media": "0.1.32",
|
|
46
|
+
"@cloud-ru/uikit-product-site-rich-text": "0.2.10",
|
|
47
|
+
"@cloud-ru/uikit-product-site-table": "0.2.11",
|
|
48
|
+
"@cloud-ru/uikit-product-utils": "7.0.0",
|
|
49
|
+
"@snack-uikit/accordion": "0.11.0",
|
|
50
|
+
"@snack-uikit/button": "0.19.7",
|
|
51
|
+
"@snack-uikit/card": "0.16.25",
|
|
52
|
+
"@snack-uikit/carousel": "0.6.0",
|
|
53
|
+
"@snack-uikit/link": "0.17.0",
|
|
54
|
+
"@snack-uikit/pagination": "0.10.2",
|
|
55
|
+
"@snack-uikit/tabs": "0.9.3",
|
|
56
|
+
"@snack-uikit/typography": "0.8.4",
|
|
57
|
+
"@snack-uikit/utils": "3.7.0",
|
|
58
|
+
"classnames": "2.5.1",
|
|
59
|
+
"lodash.debounce": "4.0.8",
|
|
60
|
+
"uncontrollable": "8.0.4"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@sbercloud/figma-tokens-cloud-platform": "17.7.6",
|
|
64
|
+
"@types/lodash.debounce": "4.0.9"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@cloud-ru/uikit-product-locale": "*"
|
|
68
|
+
},
|
|
69
|
+
"gitHead": "e8bd79bc92b26a8f52611972eec98a867536ccd3"
|
|
70
|
+
}
|