@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.
Files changed (76) hide show
  1. package/README.md +7 -6
  2. package/bundle/components/AlertContext.md +11 -8
  3. package/bundle/components/AlertProcess.md +13 -10
  4. package/bundle/components/Badge.md +6 -3
  5. package/bundle/components/Button.md +46 -43
  6. package/bundle/components/ButtonDropdownExtended.md +3 -2
  7. package/bundle/components/ButtonIcon.md +7 -4
  8. package/bundle/components/Calendar.md +62 -59
  9. package/bundle/components/Caption.md +26 -23
  10. package/bundle/components/Checkbox.md +32 -29
  11. package/bundle/components/CheckboxTreeExtended.md +9 -5
  12. package/bundle/components/Chip.md +44 -41
  13. package/bundle/components/CodeText.md +26 -23
  14. package/bundle/components/Col.md +1 -2
  15. package/bundle/components/CollapsibleTree.md +8 -5
  16. package/bundle/components/Dropdown.md +33 -28
  17. package/bundle/components/EmptyView.md +12 -5
  18. package/bundle/components/FooterPage.md +6 -2
  19. package/bundle/components/FormField.md +44 -41
  20. package/bundle/components/FormGroup.md +192 -52
  21. package/bundle/components/Header.md +491 -211
  22. package/bundle/components/HeaderPage.md +6 -2
  23. package/bundle/components/ImageGallery.md +33 -34
  24. package/bundle/components/ImageGalleryExtended.md +33 -34
  25. package/bundle/components/Island.md +16 -13
  26. package/bundle/components/LightBox.md +14 -12
  27. package/bundle/components/Link.md +211 -96
  28. package/bundle/components/ListActionItem.md +7 -4
  29. package/bundle/components/ListItem.md +11 -8
  30. package/bundle/components/ListItemControlsButton.md +16 -13
  31. package/bundle/components/ListItemControlsButtonDropdown.md +9 -6
  32. package/bundle/components/ListItemSelectable.md +7 -4
  33. package/bundle/components/ListMasterFooter.md +8 -5
  34. package/bundle/components/ListMasterHeader.md +8 -5
  35. package/bundle/components/ListSortableItem.md +11 -8
  36. package/bundle/components/ListTableItem.md +7 -4
  37. package/bundle/components/LoaderMiddle.md +7 -4
  38. package/bundle/components/LoaderScreen.md +11 -8
  39. package/bundle/components/LoaderSmall.md +7 -4
  40. package/bundle/components/Marker.md +184 -69
  41. package/bundle/components/MarkerStatus.md +206 -88
  42. package/bundle/components/MaskedField.md +2 -4
  43. package/bundle/components/MasterTable.md +602 -0
  44. package/bundle/components/ModalWindow.md +7 -4
  45. package/bundle/components/MultiselectField.md +2183 -132
  46. package/bundle/components/Notification.md +12 -9
  47. package/bundle/components/Overlay.md +9 -4
  48. package/bundle/components/Page.md +2 -2
  49. package/bundle/components/Pagination.md +15 -8
  50. package/bundle/components/Row.md +1 -1
  51. package/bundle/components/SelectExtendedField.md +3 -3
  52. package/bundle/components/SelectField.md +466 -148
  53. package/bundle/components/SliderExtended.md +39 -36
  54. package/bundle/components/SmallInput.md +194 -51
  55. package/bundle/components/Suggest.md +535 -99
  56. package/bundle/components/SwipeableArea.md +428 -79
  57. package/bundle/components/TableBasic.md +19 -11
  58. package/bundle/components/TabsExtended.md +24 -21
  59. package/bundle/components/Tag.md +6 -2
  60. package/bundle/components/Text.md +28 -25
  61. package/bundle/components/TextField.md +3 -4
  62. package/bundle/components/ThemeProvider.md +50 -1
  63. package/bundle/components/Title.md +26 -23
  64. package/bundle/components/Tooltip.md +24 -21
  65. package/bundle/components/TopOverlay.md +7 -4
  66. package/bundle/guides/codestyle.md +3 -0
  67. package/bundle/guides/context.md +84 -12
  68. package/bundle/guides/guidelines.md +321 -0
  69. package/bundle/guides/template.md +22 -12
  70. package/bundle/manifest.json +31 -14
  71. package/bundle/release-notes/1.45.0.mdx +117 -0
  72. package/bundle/release-notes/1.46.0.mdx +7 -0
  73. package/bundle/tokens.json +6362 -0
  74. package/dist/index.js +177 -28
  75. package/dist/index.js.map +1 -1
  76. 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: [--triplex-next-HeaderPage-StickyShadow]
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
- | `--triplex-next-HeaderPage-StickyShadow` | Тень прилипшего заголовка (когда `sticky` и заголовок коснулся верхней границы, `data-stuck="true"`). |
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
- "--triplex-next-ImageGallery-Accent_Color",
7
- "--triplex-next-ImageGallery-Arrow_Background_Default",
8
- "--triplex-next-ImageGallery-Arrow_Background_Hover",
9
- "--triplex-next-ImageGallery-Arrow_Background_Active",
10
- "--triplex-next-ImageGallery-Arrow_Background_Disabled",
11
- "--triplex-next-ImageGallery-Arrow_BorderColor_Default",
12
- "--triplex-next-ImageGallery-Arrow_BorderColor_Hover",
13
- "--triplex-next-ImageGallery-Arrow_BorderColor_Active",
14
- "--triplex-next-ImageGallery-Arrow_BorderColor_Disabled",
15
- "--triplex-next-ImageGallery-Dot_Background_Default",
16
- "--triplex-next-ImageGallery-Dot_Background_Hover",
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
- `--triplex-next-ImageGallery-` намеренно делится обоими семействами).
93
+ семейству и используются через эти части — группа `ImageGallery` намеренно
94
+ делится обоими семействами.
95
95
 
96
- ```
97
- --triplex-next-ImageGallery-Accent_Color
98
-
99
- --triplex-next-ImageGallery-Arrow_Background_Default
100
- --triplex-next-ImageGallery-Arrow_Background_Hover
101
- --triplex-next-ImageGallery-Arrow_Background_Active
102
- --triplex-next-ImageGallery-Arrow_Background_Disabled
103
- --triplex-next-ImageGallery-Arrow_BorderColor_Default
104
- --triplex-next-ImageGallery-Arrow_BorderColor_Hover
105
- --triplex-next-ImageGallery-Arrow_BorderColor_Active
106
- --triplex-next-ImageGallery-Arrow_BorderColor_Disabled
107
-
108
- --triplex-next-ImageGallery-Dot_Background_Default
109
- --triplex-next-ImageGallery-Dot_Background_Hover
110
- --triplex-next-ImageGallery-Dot_Background_Active
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
- "--triplex-next-ImageGallery-Accent_Color",
7
- "--triplex-next-ImageGallery-Arrow_Background_Default",
8
- "--triplex-next-ImageGallery-Arrow_Background_Hover",
9
- "--triplex-next-ImageGallery-Arrow_Background_Active",
10
- "--triplex-next-ImageGallery-Arrow_Background_Disabled",
11
- "--triplex-next-ImageGallery-Arrow_BorderColor_Default",
12
- "--triplex-next-ImageGallery-Arrow_BorderColor_Hover",
13
- "--triplex-next-ImageGallery-Arrow_BorderColor_Active",
14
- "--triplex-next-ImageGallery-Arrow_BorderColor_Disabled",
15
- "--triplex-next-ImageGallery-Dot_Background_Default",
16
- "--triplex-next-ImageGallery-Dot_Background_Hover",
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
- Токены используют общий с `ImageGallery` префикс `--triplex-next-ImageGallery-`
123
+ Переопределяются через `ThemeProvider` (prop `tokens`) — см. `ThemeProvider-ai.md` →
124
+ «Как переопределять токены». Значения по умолчанию — `src/components/DesignTokens/components/ImageGallery.ts`.
125
+
126
+ Токены живут в общей с `ImageGallery` группе `ImageGallery`
127
127
  (семейства делят визуальный язык).
128
128
 
129
- ```
130
- --triplex-next-ImageGallery-Accent_Color
131
-
132
- --triplex-next-ImageGallery-Arrow_Background_Default
133
- --triplex-next-ImageGallery-Arrow_Background_Hover
134
- --triplex-next-ImageGallery-Arrow_Background_Active
135
- --triplex-next-ImageGallery-Arrow_Background_Disabled
136
- --triplex-next-ImageGallery-Arrow_BorderColor_Default
137
- --triplex-next-ImageGallery-Arrow_BorderColor_Hover
138
- --triplex-next-ImageGallery-Arrow_BorderColor_Active
139
- --triplex-next-ImageGallery-Arrow_BorderColor_Disabled
140
-
141
- --triplex-next-ImageGallery-Dot_Background_Default
142
- --triplex-next-ImageGallery-Dot_Background_Hover
143
- --triplex-next-ImageGallery-Dot_Background_Active
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
- - Токены используют префикс `ImageGallery-`, а не `ImageGalleryExtended-` —
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
- - --triplex-next-Island-Type1_Background
7
- - --triplex-next-Island-Type1_Shadow
8
- - --triplex-next-Island-Type2_Background
9
- - --triplex-next-Island-Type2_Shadow
10
- - --triplex-next-Island-Type3_Background
11
- - --triplex-next-Island-Type3_Shadow
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
- --triplex-next-Island-Type1_Background
131
- --triplex-next-Island-Type1_Shadow
132
- --triplex-next-Island-Type2_Background
133
- --triplex-next-Island-Type2_Shadow
134
- --triplex-next-Island-Type3_Background
135
- --triplex-next-Island-Type3_Shadow
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
- - --triplex-next-LightBox-Backdrop_Background
7
- - --triplex-next-LightBox-Content_Background
8
- - --triplex-next-LightBox-SideOverlay_Background
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
- ```css
92
- --triplex-next-LightBox-Backdrop_Background
93
- --triplex-next-LightBox-Content_Background
94
- --triplex-next-LightBox-SideOverlay_Background
95
- --triplex-next-scroll-width
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
- `--triplex-next-scroll-width` — глобальная переменная ширины скроллбара, проставляется утилитой
99
- `addClassNameWithScrollbarWidth` при открытии лайтбокса. Ширины размеров (`664/864/1064/1264`)
100
- заданы LESS-константами `@lightBox-content-max-width-*`.
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