@sberbusiness/triplex-next-mcp-server 1.44.0-beta → 1.45.0-beta
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/README.md +7 -6
- package/bundle/components/AlertContext.md +11 -8
- package/bundle/components/AlertProcess.md +13 -10
- package/bundle/components/Badge.md +6 -3
- package/bundle/components/Button.md +46 -43
- package/bundle/components/ButtonDropdownExtended.md +3 -2
- package/bundle/components/ButtonIcon.md +7 -4
- package/bundle/components/Calendar.md +62 -59
- package/bundle/components/Caption.md +26 -23
- package/bundle/components/Checkbox.md +32 -29
- package/bundle/components/CheckboxTreeExtended.md +9 -5
- package/bundle/components/Chip.md +44 -41
- package/bundle/components/CodeText.md +26 -23
- package/bundle/components/Col.md +1 -2
- package/bundle/components/CollapsibleTree.md +8 -5
- package/bundle/components/Dropdown.md +33 -28
- package/bundle/components/EmptyView.md +12 -5
- package/bundle/components/FooterPage.md +6 -2
- package/bundle/components/FormField.md +44 -41
- package/bundle/components/FormGroup.md +192 -52
- package/bundle/components/Header.md +491 -211
- package/bundle/components/HeaderPage.md +6 -2
- package/bundle/components/ImageGallery.md +33 -34
- package/bundle/components/ImageGalleryExtended.md +33 -34
- package/bundle/components/Island.md +16 -13
- package/bundle/components/LightBox.md +14 -12
- package/bundle/components/Link.md +211 -96
- package/bundle/components/ListActionItem.md +7 -4
- package/bundle/components/ListItem.md +11 -8
- package/bundle/components/ListItemControlsButton.md +16 -13
- package/bundle/components/ListItemControlsButtonDropdown.md +9 -6
- package/bundle/components/ListItemSelectable.md +7 -4
- package/bundle/components/ListMasterFooter.md +8 -5
- package/bundle/components/ListMasterHeader.md +8 -5
- package/bundle/components/ListSortableItem.md +11 -8
- package/bundle/components/ListTableItem.md +7 -4
- package/bundle/components/LoaderMiddle.md +7 -4
- package/bundle/components/LoaderScreen.md +11 -8
- package/bundle/components/LoaderSmall.md +7 -4
- package/bundle/components/Marker.md +184 -69
- package/bundle/components/MarkerStatus.md +206 -88
- package/bundle/components/MaskedField.md +2 -4
- package/bundle/components/MasterTable.md +602 -0
- package/bundle/components/ModalWindow.md +7 -4
- package/bundle/components/MultiselectField.md +2183 -132
- package/bundle/components/Notification.md +12 -9
- package/bundle/components/Overlay.md +9 -4
- package/bundle/components/Page.md +2 -2
- package/bundle/components/Pagination.md +15 -8
- package/bundle/components/Row.md +1 -1
- package/bundle/components/SelectExtendedField.md +3 -3
- package/bundle/components/SelectField.md +466 -148
- package/bundle/components/SliderExtended.md +39 -36
- package/bundle/components/SmallInput.md +194 -51
- package/bundle/components/Suggest.md +535 -99
- package/bundle/components/SwipeableArea.md +428 -79
- package/bundle/components/TableBasic.md +19 -11
- package/bundle/components/TabsExtended.md +24 -21
- package/bundle/components/Tag.md +6 -2
- package/bundle/components/Text.md +28 -25
- package/bundle/components/TextField.md +3 -4
- package/bundle/components/ThemeProvider.md +50 -1
- package/bundle/components/Title.md +26 -23
- package/bundle/components/Tooltip.md +24 -21
- package/bundle/components/TopOverlay.md +7 -4
- package/bundle/guides/codestyle.md +3 -0
- package/bundle/guides/context.md +84 -12
- package/bundle/guides/guidelines.md +321 -0
- package/bundle/guides/template.md +22 -12
- package/bundle/manifest.json +31 -14
- package/bundle/release-notes/1.45.0.mdx +117 -0
- package/bundle/release-notes/1.46.0.mdx +7 -0
- package/bundle/tokens.json +6362 -0
- package/dist/index.js +177 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
component: HeaderPage
|
|
3
3
|
category: Page
|
|
4
4
|
related: [Page, BodyPage, FooterPage, Header, Island, LightBox]
|
|
5
|
-
tokens:
|
|
5
|
+
tokens:
|
|
6
|
+
- HeaderPage.StickyShadow
|
|
6
7
|
stories: stories/Page/HeaderPage/HeaderPage.stories.tsx
|
|
7
8
|
version: "1.0"
|
|
8
9
|
---
|
|
@@ -52,9 +53,12 @@ version: "1.0"
|
|
|
52
53
|
|
|
53
54
|
## Дизайн-токены
|
|
54
55
|
|
|
56
|
+
Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
|
|
57
|
+
«Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/HeaderPage.ts`.
|
|
58
|
+
|
|
55
59
|
| Токен | Назначение |
|
|
56
60
|
|---|---|
|
|
57
|
-
|
|
|
61
|
+
| `HeaderPage.StickyShadow` | Тень прилипшего заголовка (когда `sticky` и заголовок коснулся верхней границы, `data-stuck="true"`). |
|
|
58
62
|
|
|
59
63
|
Внешний вид карточки наследуется от `Island` (`EIslandType.TYPE_1`). Радиус верхних углов при
|
|
60
64
|
прилипании плавно обнуляется через CSS-переменную `--r-top` (управляется хуком
|
|
@@ -2,21 +2,18 @@
|
|
|
2
2
|
component: ImageGallery
|
|
3
3
|
category: ImageGallery
|
|
4
4
|
related: [ImageGalleryExtended, MobileView, LightBox]
|
|
5
|
-
tokens:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"--triplex-next-ImageGallery-Dot_Background_Active",
|
|
18
|
-
"--triplex-next-ImageGallery-Thumb_Mask_Background"
|
|
19
|
-
]
|
|
5
|
+
tokens:
|
|
6
|
+
- ImageGallery.Accent_Color
|
|
7
|
+
- ImageGallery.Arrow_Background_Default
|
|
8
|
+
- ImageGallery.Arrow_Background_Hover
|
|
9
|
+
- ImageGallery.Arrow_Background_Active
|
|
10
|
+
- ImageGallery.Arrow_BorderColor_Default
|
|
11
|
+
- ImageGallery.Arrow_BorderColor_Hover
|
|
12
|
+
- ImageGallery.Arrow_BorderColor_Active
|
|
13
|
+
- ImageGallery.Dot_Background_Default
|
|
14
|
+
- ImageGallery.Dot_Background_Hover
|
|
15
|
+
- ImageGallery.Dot_Background_Active
|
|
16
|
+
- ImageGallery.Thumb_Mask_Background
|
|
20
17
|
stories: stories/ImageGallery/ImageGallery.stories.tsx
|
|
21
18
|
version: "1.0"
|
|
22
19
|
---
|
|
@@ -88,28 +85,29 @@ controlled-only контейнера `ImageGalleryExtended`. Изображен
|
|
|
88
85
|
|
|
89
86
|
## Дизайн-токены
|
|
90
87
|
|
|
88
|
+
Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
|
|
89
|
+
«Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/ImageGallery.ts`.
|
|
90
|
+
|
|
91
91
|
Собственных стилей и `.less`-файлов у `ImageGallery` нет — вся отрисовка
|
|
92
92
|
делегируется частям `ImageGalleryExtended`. Перечисленные токены принадлежат
|
|
93
|
-
семейству и используются через эти части
|
|
94
|
-
|
|
93
|
+
семейству и используются через эти части — группа `ImageGallery` намеренно
|
|
94
|
+
делится обоими семействами.
|
|
95
95
|
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
--triplex-next-ImageGallery-Thumb_Mask_Background
|
|
96
|
+
```text
|
|
97
|
+
ImageGallery.Accent_Color
|
|
98
|
+
|
|
99
|
+
ImageGallery.Arrow_Background_Default
|
|
100
|
+
ImageGallery.Arrow_Background_Hover
|
|
101
|
+
ImageGallery.Arrow_Background_Active
|
|
102
|
+
ImageGallery.Arrow_BorderColor_Default
|
|
103
|
+
ImageGallery.Arrow_BorderColor_Hover
|
|
104
|
+
ImageGallery.Arrow_BorderColor_Active
|
|
105
|
+
|
|
106
|
+
ImageGallery.Dot_Background_Default
|
|
107
|
+
ImageGallery.Dot_Background_Hover
|
|
108
|
+
ImageGallery.Dot_Background_Active
|
|
109
|
+
|
|
110
|
+
ImageGallery.Thumb_Mask_Background
|
|
113
111
|
```
|
|
114
112
|
|
|
115
113
|
Runtime CSS-переменная высоты крупной картинки
|
|
@@ -195,6 +193,7 @@ Runtime CSS-переменная высоты крупной картинки
|
|
|
195
193
|
| Дата | Изменение |
|
|
196
194
|
|---|---|
|
|
197
195
|
| 2026-05-28 | Создан документ |
|
|
196
|
+
| 2026-08-31 | Удалены неиспользуемые токены `Arrow_Background_Disabled` и `Arrow_BorderColor_Disabled`: неактивная стрелка скрывается (`display: none`), красить нечем |
|
|
198
197
|
|
|
199
198
|
---
|
|
200
199
|
|
|
@@ -2,21 +2,18 @@
|
|
|
2
2
|
component: ImageGalleryExtended
|
|
3
3
|
category: ImageGalleryExtended
|
|
4
4
|
related: [ImageGallery, MobileView, LightBox]
|
|
5
|
-
tokens:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"--triplex-next-ImageGallery-Dot_Background_Active",
|
|
18
|
-
"--triplex-next-ImageGallery-Thumb_Mask_Background"
|
|
19
|
-
]
|
|
5
|
+
tokens:
|
|
6
|
+
- ImageGallery.Accent_Color
|
|
7
|
+
- ImageGallery.Arrow_Background_Default
|
|
8
|
+
- ImageGallery.Arrow_Background_Hover
|
|
9
|
+
- ImageGallery.Arrow_Background_Active
|
|
10
|
+
- ImageGallery.Arrow_BorderColor_Default
|
|
11
|
+
- ImageGallery.Arrow_BorderColor_Hover
|
|
12
|
+
- ImageGallery.Arrow_BorderColor_Active
|
|
13
|
+
- ImageGallery.Dot_Background_Default
|
|
14
|
+
- ImageGallery.Dot_Background_Hover
|
|
15
|
+
- ImageGallery.Dot_Background_Active
|
|
16
|
+
- ImageGallery.Thumb_Mask_Background
|
|
20
17
|
stories: stories/ImageGalleryExtended/ImageGalleryExtended.stories.tsx
|
|
21
18
|
version: "1.0"
|
|
22
19
|
---
|
|
@@ -123,26 +120,27 @@ child `.Main`, чтобы стрелки позиционировались по
|
|
|
123
120
|
|
|
124
121
|
## Дизайн-токены
|
|
125
122
|
|
|
126
|
-
|
|
123
|
+
Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
|
|
124
|
+
«Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/ImageGallery.ts`.
|
|
125
|
+
|
|
126
|
+
Токены живут в общей с `ImageGallery` группе `ImageGallery`
|
|
127
127
|
(семейства делят визуальный язык).
|
|
128
128
|
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
--triplex-next-ImageGallery-Thumb_Mask_Background
|
|
129
|
+
```text
|
|
130
|
+
ImageGallery.Accent_Color
|
|
131
|
+
|
|
132
|
+
ImageGallery.Arrow_Background_Default
|
|
133
|
+
ImageGallery.Arrow_Background_Hover
|
|
134
|
+
ImageGallery.Arrow_Background_Active
|
|
135
|
+
ImageGallery.Arrow_BorderColor_Default
|
|
136
|
+
ImageGallery.Arrow_BorderColor_Hover
|
|
137
|
+
ImageGallery.Arrow_BorderColor_Active
|
|
138
|
+
|
|
139
|
+
ImageGallery.Dot_Background_Default
|
|
140
|
+
ImageGallery.Dot_Background_Hover
|
|
141
|
+
ImageGallery.Dot_Background_Active
|
|
142
|
+
|
|
143
|
+
ImageGallery.Thumb_Mask_Background
|
|
146
144
|
```
|
|
147
145
|
|
|
148
146
|
Runtime CSS-переменные (задаются компонентом через `style`, **не** дизайн-токены,
|
|
@@ -172,7 +170,7 @@ Runtime CSS-переменные (задаются компонентом чер
|
|
|
172
170
|
change при изменении.
|
|
173
171
|
- **Render-функции** `.Nav` и `.Thumbnails` — контракт; форма объекта состояния
|
|
174
172
|
фиксирована.
|
|
175
|
-
- Токены
|
|
173
|
+
- Токены лежат в группе `ImageGallery`, а не `ImageGalleryExtended` —
|
|
176
174
|
переименование сломает темизацию у потребителей обоих семейств.
|
|
177
175
|
|
|
178
176
|
---
|
|
@@ -248,6 +246,7 @@ API (экспортируются из barrel ради композиции, н
|
|
|
248
246
|
| Дата | Изменение |
|
|
249
247
|
|---|---|
|
|
250
248
|
| 2026-05-28 | Создан документ |
|
|
249
|
+
| 2026-08-31 | Удалены неиспользуемые токены `Arrow_Background_Disabled` и `Arrow_BorderColor_Disabled`: неактивная стрелка скрывается (`display: none`), красить нечем |
|
|
251
250
|
|
|
252
251
|
---
|
|
253
252
|
|
|
@@ -3,12 +3,12 @@ component: Island
|
|
|
3
3
|
category: Layout
|
|
4
4
|
related: [IslandAccordion, IslandWidget, LoaderScreen, ModalWindow]
|
|
5
5
|
tokens:
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
6
|
+
- Island.Type1_Background
|
|
7
|
+
- Island.Type1_Shadow
|
|
8
|
+
- Island.Type2_Background
|
|
9
|
+
- Island.Type2_Shadow
|
|
10
|
+
- Island.Type3_Background
|
|
11
|
+
- Island.Type3_Shadow
|
|
12
12
|
stories: stories/Island/Island.stories.tsx
|
|
13
13
|
version: "1.0"
|
|
14
14
|
---
|
|
@@ -126,13 +126,16 @@ version: "1.0"
|
|
|
126
126
|
|
|
127
127
|
## Дизайн-токены
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
|
|
130
|
+
«Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/Island.ts`.
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
Island.Type1_Background
|
|
134
|
+
Island.Type1_Shadow
|
|
135
|
+
Island.Type2_Background
|
|
136
|
+
Island.Type2_Shadow
|
|
137
|
+
Island.Type3_Background
|
|
138
|
+
Island.Type3_Shadow
|
|
136
139
|
```
|
|
137
140
|
|
|
138
141
|
Значения задаются в `src/components/DesignTokens/components/Island.ts`. `Type1_Shadow` и
|
|
@@ -3,10 +3,9 @@ component: LightBox
|
|
|
3
3
|
category: LightBox
|
|
4
4
|
related: [Page, TopOverlay, Portal, FocusTrapExtended, LoaderScreen, Button, ModalWindow]
|
|
5
5
|
tokens:
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
- --triplex-next-scroll-width
|
|
6
|
+
- LightBox.Backdrop_Background
|
|
7
|
+
- LightBox.Content_Background
|
|
8
|
+
- LightBox.SideOverlay_Background
|
|
10
9
|
stories: stories/LightBox/LightBox.stories.tsx
|
|
11
10
|
version: "1.0"
|
|
12
11
|
---
|
|
@@ -88,16 +87,19 @@ version: "1.0"
|
|
|
88
87
|
|
|
89
88
|
## Дизайн-токены
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
|
|
91
|
+
«Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/LightBox.ts`.
|
|
92
|
+
|
|
93
|
+
```text
|
|
94
|
+
LightBox.Backdrop_Background
|
|
95
|
+
LightBox.Content_Background
|
|
96
|
+
LightBox.SideOverlay_Background
|
|
96
97
|
```
|
|
97
98
|
|
|
98
|
-
|
|
99
|
-
`
|
|
100
|
-
|
|
99
|
+
Ширина скроллбара — не токен: `addClassNameWithScrollbarWidth` вешает на `<html>` класс
|
|
100
|
+
`scroll-{0|15|16|17}`, а `styles/LightBoxScroll.module.less` объявляет по нему локальную
|
|
101
|
+
css-переменную `--lightBox-scroll-width`, которую вычитают из ширины оверлеев. Ширины размеров
|
|
102
|
+
(`664/864/1064/1264`) заданы LESS-константами `@lightBox-content-max-width-*`.
|
|
101
103
|
|
|
102
104
|
---
|
|
103
105
|
|