@salutejs/sdds-platform-ai 0.369.0-next-sbcom.0 → 0.369.0
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 +96 -183
- package/dist/css/cjs/components/Autocomplete/Autocomplete.config.js +1 -1
- package/dist/css/cjs/components/Autocomplete/{Autocomplete.config_1wd7zdk.css → Autocomplete.config_1ijtnnk.css} +1 -1
- package/dist/css/cjs/components/Autocomplete/Autocomplete.css +11 -11
- package/dist/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/css/cjs/components/Button/Button.js +1 -2
- package/dist/css/cjs/components/Calendar/Calendar.css +16 -16
- package/dist/css/cjs/components/Calendar/CalendarBase.config.js +1 -1
- package/dist/css/cjs/components/Calendar/{CalendarBase.config_1k59uop.css → CalendarBase.config_1w4tdbc.css} +6 -6
- package/dist/css/cjs/components/Calendar/CalendarDouble.config.js +1 -1
- package/dist/css/{es/components/Calendar/CalendarDouble.config_10mhe0h.css → cjs/components/Calendar/CalendarDouble.config_1dbhk3v.css} +6 -6
- package/dist/css/cjs/components/Combobox/Combobox.config.js +1 -1
- package/dist/css/{es/components/Combobox/Combobox.config_q21ilf.css → cjs/components/Combobox/Combobox.config_1lvw5zc.css} +1 -1
- package/dist/css/cjs/components/Combobox/Combobox.css +14 -14
- package/dist/css/cjs/components/DatePicker/DatePicker.clear.config.js +1 -1
- package/dist/css/cjs/components/DatePicker/{DatePicker.clear.config_8ro9n8.css → DatePicker.clear.config_h9ivpp.css} +1 -1
- package/dist/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
- package/dist/css/{es/components/DatePicker/DatePicker.config_vlr1uz.css → cjs/components/DatePicker/DatePicker.config_1fox353.css} +2 -2
- package/dist/css/cjs/components/DatePicker/DatePicker.css +18 -18
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/{es/components/DateTimePicker/DateTimePicker.config_1xock4l.css → cjs/components/DateTimePicker/DateTimePicker.config_6w26a8.css} +2 -2
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.css +9 -9
- package/dist/css/cjs/components/Mask/Mask.css +19 -17
- package/dist/css/cjs/components/Notification/Notification.js +4 -2
- package/dist/css/cjs/components/Select/Select.config.js +1 -1
- package/dist/css/cjs/components/Select/{Select.config_1duop7k.css → Select.config_y816ld.css} +1 -1
- package/dist/css/cjs/components/Select/Select.css +20 -20
- package/dist/css/cjs/components/Spinner/Spinner.config.js +8 -17
- package/dist/css/cjs/components/Spinner/Spinner.config_1pvnqtk.css +6 -0
- package/dist/css/cjs/components/Spinner/Spinner.css +6 -14
- package/dist/css/cjs/components/Spinner/Spinner.js +0 -3
- package/dist/css/cjs/components/TextField/TextField.config.js +18 -16
- package/dist/css/cjs/components/TextField/TextField.config_1v2em35.css +21 -0
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/css/cjs/components/TextFieldGroup/{TextFieldGroup.config_86nlge.css → TextFieldGroup.config_14jpfof.css} +1 -1
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.css +6 -6
- package/dist/css/cjs/index.css +127 -133
- package/dist/css/es/components/Autocomplete/Autocomplete.config.js +1 -1
- package/dist/css/es/components/Autocomplete/{Autocomplete.config_1wd7zdk.css → Autocomplete.config_1ijtnnk.css} +1 -1
- package/dist/css/es/components/Autocomplete/Autocomplete.css +11 -11
- package/dist/css/es/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/css/es/components/Button/Button.js +1 -2
- package/dist/css/es/components/Calendar/Calendar.css +16 -16
- package/dist/css/es/components/Calendar/CalendarBase.config.js +1 -1
- package/dist/css/es/components/Calendar/{CalendarBase.config_1k59uop.css → CalendarBase.config_1w4tdbc.css} +6 -6
- package/dist/css/es/components/Calendar/CalendarDouble.config.js +1 -1
- package/dist/css/{cjs/components/Calendar/CalendarDouble.config_10mhe0h.css → es/components/Calendar/CalendarDouble.config_1dbhk3v.css} +6 -6
- package/dist/css/es/components/Combobox/Combobox.config.js +1 -1
- package/dist/css/{cjs/components/Combobox/Combobox.config_q21ilf.css → es/components/Combobox/Combobox.config_1lvw5zc.css} +1 -1
- package/dist/css/es/components/Combobox/Combobox.css +14 -14
- package/dist/css/es/components/DatePicker/DatePicker.clear.config.js +1 -1
- package/dist/css/es/components/DatePicker/{DatePicker.clear.config_8ro9n8.css → DatePicker.clear.config_h9ivpp.css} +1 -1
- package/dist/css/es/components/DatePicker/DatePicker.config.js +1 -1
- package/dist/css/{cjs/components/DatePicker/DatePicker.config_vlr1uz.css → es/components/DatePicker/DatePicker.config_1fox353.css} +2 -2
- package/dist/css/es/components/DatePicker/DatePicker.css +18 -18
- package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/{cjs/components/DateTimePicker/DateTimePicker.config_1xock4l.css → es/components/DateTimePicker/DateTimePicker.config_6w26a8.css} +2 -2
- package/dist/css/es/components/DateTimePicker/DateTimePicker.css +9 -9
- package/dist/css/es/components/Mask/Mask.css +19 -17
- package/dist/css/es/components/Notification/Notification.js +4 -2
- package/dist/css/es/components/Select/Select.config.js +1 -1
- package/dist/css/es/components/Select/{Select.config_1duop7k.css → Select.config_y816ld.css} +1 -1
- package/dist/css/es/components/Select/Select.css +20 -20
- package/dist/css/es/components/Spinner/Spinner.config.js +8 -17
- package/dist/css/es/components/Spinner/Spinner.config_1pvnqtk.css +6 -0
- package/dist/css/es/components/Spinner/Spinner.css +6 -14
- package/dist/css/es/components/Spinner/Spinner.js +0 -3
- package/dist/css/es/components/TextField/TextField.config.js +18 -16
- package/dist/css/es/components/TextField/TextField.config_1v2em35.css +21 -0
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/css/es/components/TextFieldGroup/{TextFieldGroup.config_86nlge.css → TextFieldGroup.config_14jpfof.css} +1 -1
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.css +6 -6
- package/dist/css/es/index.css +127 -133
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +1 -1
- package/dist/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/styled-components/cjs/components/Button/Button.js +1 -2
- package/dist/styled-components/cjs/components/Calendar/CalendarBase.config.js +2 -7
- package/dist/styled-components/cjs/components/Calendar/CalendarDouble.config.js +2 -7
- package/dist/styled-components/cjs/components/Combobox/Combobox.config.js +1 -1
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.clear.config.js +2 -2
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +2 -3
- package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +2 -3
- package/dist/styled-components/cjs/components/Notification/Notification.js +3 -2
- package/dist/styled-components/cjs/components/Select/Select.config.js +1 -1
- package/dist/styled-components/cjs/components/Spinner/Spinner.config.js +6 -32
- package/dist/styled-components/cjs/components/Spinner/Spinner.js +15 -4
- package/dist/styled-components/cjs/components/TextField/TextField.config.js +175 -10
- package/dist/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/styled-components/cjs/components/Tokens/Typography/Typography.styles.js +23 -23
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +1 -1
- package/dist/styled-components/es/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/styled-components/es/components/Button/Button.js +1 -2
- package/dist/styled-components/es/components/Calendar/CalendarBase.config.js +2 -7
- package/dist/styled-components/es/components/Calendar/CalendarDouble.config.js +2 -7
- package/dist/styled-components/es/components/Combobox/Combobox.config.js +1 -1
- package/dist/styled-components/es/components/DatePicker/DatePicker.clear.config.js +2 -2
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +2 -3
- package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +2 -3
- package/dist/styled-components/es/components/Notification/Notification.js +3 -2
- package/dist/styled-components/es/components/Select/Select.config.js +1 -1
- package/dist/styled-components/es/components/Spinner/Spinner.config.js +9 -34
- package/dist/styled-components/es/components/Spinner/Spinner.js +7 -1
- package/dist/styled-components/es/components/TextField/TextField.config.js +175 -10
- package/dist/styled-components/es/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/styled-components/es/components/Tokens/Typography/Typography.styles.js +18 -18
- package/package.json +9 -9
- package/types/components/Avatar/Avatar.d.ts +4 -4
- package/types/components/Combobox/Combobox.d.ts +8 -0
- package/types/components/Mask/Mask.d.ts +16 -0
- package/types/components/Note/Note.d.ts +1 -0
- package/types/components/Notification/Notification.d.ts +2 -1
- package/types/components/Spinner/Spinner.config.d.ts +0 -10
- package/types/components/Spinner/Spinner.d.ts +38 -27
- package/types/components/Spinner/index.d.ts +1 -1
- package/types/components/TextField/TextField.config.d.ts +2 -0
- package/types/components/TextField/TextField.d.ts +2 -0
- package/types/components/Tokens/Typography/Typography.styles.d.ts +2 -2
- package/dist/css/cjs/components/Spinner/Spinner.config_1gs0iyd.css +0 -14
- package/dist/css/cjs/components/TextField/TextField.config_ey52jl.css +0 -19
- package/dist/css/es/components/Spinner/Spinner.config_1gs0iyd.css +0 -14
- package/dist/css/es/components/TextField/TextField.config_ey52jl.css +0 -19
package/README.md
CHANGED
|
@@ -1,256 +1,169 @@
|
|
|
1
|
-
# SDDS
|
|
1
|
+
# Библиотека компонентов для вертикали SDDS PLATFORM AI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/salute-developers/plasma/blob/master/LICENSE.txt)
|
|
4
|
+
[](https://www.npmjs.com/package/@salutejs/sdds-platform-ai)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://www.npmjs.com/package/@salutejs/sdds-themes)
|
|
4
7
|
|
|
5
|
-
|
|
8
|
+
Реализация компонентов для создания веб-приложений.
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
Компоненты реализованы с помощью [React](https://react.dev/) и поставляются в двух вариантах:
|
|
8
11
|
|
|
9
|
-
-
|
|
10
|
-
- [styled-components](https://styled-components.com/)
|
|
12
|
+
- на предсобранном CSS,
|
|
13
|
+
- на [styled-components](https://styled-components.com/).
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
## Ссылки
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
- [Документация](https://plasma.sberdevices.ru/sdds-platform-ai/) — гайды, список компонентов с примерами и API
|
|
18
|
+
- [Подключение в Next.js](https://plasma.sberdevices.ru/sdds-platform-ai/next/)
|
|
19
|
+
- [Changelog](https://plasma.sberdevices.ru/changelog/?vertical=SDDSPlatformAI&platform=React&version=0.368.0)
|
|
20
|
+
- [Задать вопрос или сообщить о проблеме](https://github.com/salute-developers/plasma/issues)
|
|
21
|
+
|
|
22
|
+
## Установка
|
|
23
|
+
|
|
24
|
+
Требуются `react` и `react-dom` версии `16.13.1` или выше:
|
|
15
25
|
|
|
16
26
|
```bash
|
|
27
|
+
$ npm install --save react react-dom
|
|
17
28
|
$ npm install --save @salutejs/sdds-platform-ai @salutejs/sdds-themes
|
|
18
29
|
```
|
|
19
30
|
|
|
20
|
-
|
|
31
|
+
Дальнейшие шаги зависят от выбранного [варианта поставки](#варианты-поставки).
|
|
32
|
+
|
|
33
|
+
Для варианта на styled-components:
|
|
21
34
|
|
|
22
35
|
```bash
|
|
23
36
|
$ npm install --save styled-components@5.3.1
|
|
24
37
|
```
|
|
25
38
|
|
|
26
|
-
|
|
39
|
+
CSS-вариант дополнительных зависимостей не требует.
|
|
27
40
|
|
|
28
|
-
|
|
41
|
+
## Варианты поставки
|
|
29
42
|
|
|
30
|
-
|
|
31
|
-
import styled from 'styled-components';
|
|
32
|
-
import { Button } from '@salutejs/sdds-platform-ai';
|
|
33
|
-
import { textAccent } from '@salutejs/sdds-themes/tokens';
|
|
43
|
+
> **Примечание:** CSS-вариант является поставкой по умолчанию.
|
|
34
44
|
|
|
35
|
-
|
|
36
|
-
const StyledP = styled.p`
|
|
37
|
-
color: ${textAccent};
|
|
38
|
-
`;
|
|
45
|
+
Один и тот же набор компонентов доступен из двух точек входа:
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</>
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
```
|
|
47
|
+
| Точка входа | Реализация | Дополнительные зависимости |
|
|
48
|
+
| ------------------------------------------------ | ----------------- | --------------------------- |
|
|
49
|
+
| `@salutejs/sdds-platform-ai` | предсобранный CSS | нет |
|
|
50
|
+
| `@salutejs/sdds-platform-ai/styled-components` | styled-components | `styled-components@5.3.1` |
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
```jsx
|
|
53
|
+
import { Button } from '@salutejs/sdds-platform-ai';
|
|
54
|
+
// или
|
|
52
55
|
import { Button } from '@salutejs/sdds-platform-ai/styled-components';
|
|
53
56
|
```
|
|
54
57
|
|
|
55
58
|
## Подключение шрифтов
|
|
56
59
|
|
|
57
|
-
Типографическая система основана на фирменных
|
|
60
|
+
Типографическая система основана на фирменных шрифтах, они поставляются с CDN.
|
|
58
61
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
Для использования типографической системы необходимо загрузить два `css` файла в зависимости от используемых шрифтов в теме.
|
|
62
|
-
|
|
63
|
-
### Create react app
|
|
64
|
-
|
|
65
|
-
Добавить внутрь тега `head`.
|
|
62
|
+
Добавьте два css-файла внутрь тега `<head>`.
|
|
66
63
|
|
|
67
64
|
```html
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
<link rel="stylesheet" href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansText.0.2.0.css" />
|
|
71
|
-
<link
|
|
72
|
-
rel="stylesheet"
|
|
73
|
-
href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansDisplay.0.2.0.css"
|
|
74
|
-
/>
|
|
75
|
-
<title>Wep App</title>
|
|
76
|
-
</head>
|
|
77
|
-
<body>
|
|
78
|
-
...
|
|
79
|
-
</body>
|
|
80
|
-
</html>
|
|
65
|
+
<link rel="stylesheet" href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansText.0.2.0.css" />
|
|
66
|
+
<link rel="stylesheet" href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansDisplay.0.2.0.css" />
|
|
81
67
|
```
|
|
82
68
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
```tsx
|
|
86
|
-
import Head from 'next/head';
|
|
69
|
+
## Подключение темы
|
|
87
70
|
|
|
88
|
-
|
|
71
|
+
Тема подключается один раз в корне приложения.
|
|
89
72
|
|
|
90
|
-
|
|
91
|
-
return (
|
|
92
|
-
<>
|
|
93
|
-
<Head>
|
|
94
|
-
<title>Create Next App with sdds-platform-ai components</title>
|
|
95
|
-
<link
|
|
96
|
-
rel="stylesheet"
|
|
97
|
-
href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansText.0.2.0.css"
|
|
98
|
-
/>
|
|
99
|
-
<link
|
|
100
|
-
rel="stylesheet"
|
|
101
|
-
href="https://cdn-app.sberdevices.ru/shared-static/0.0.0/styles/SBSansDisplay.0.2.0.css"
|
|
102
|
-
/>
|
|
103
|
-
</Head>
|
|
104
|
-
<div>
|
|
105
|
-
<main>
|
|
106
|
-
<div>
|
|
107
|
-
<H2> Salute </H2>
|
|
108
|
-
<Button text="Hello" />
|
|
109
|
-
</div>
|
|
110
|
-
</main>
|
|
111
|
-
</div>
|
|
112
|
-
</>
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
```
|
|
73
|
+
> **Примечание:** Для [Next.js](https://nextjs.org/) — в `pages/_app.tsx`.
|
|
116
74
|
|
|
117
|
-
|
|
75
|
+
Тема включает в себя цветовые и типографические токены.
|
|
118
76
|
|
|
119
|
-
|
|
77
|
+
Доступны светлая и тёмная темы — `sdds_platform_ai__light` и `sdds_platform_ai__dark`.
|
|
120
78
|
|
|
121
|
-
|
|
122
|
-
- Если вы используете [Next.js](https://nextjs.org/), создайте файл `pages/_app.tsx` и подключите стили в нем.
|
|
79
|
+
### Через импорт css-файла
|
|
123
80
|
|
|
124
|
-
|
|
81
|
+
```jsx
|
|
82
|
+
import '@salutejs/sdds-themes/css/sdds_platform_ai__light.css';
|
|
83
|
+
```
|
|
125
84
|
|
|
126
|
-
|
|
85
|
+
### Через styled-components
|
|
127
86
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</li>
|
|
132
|
-
<li>
|
|
133
|
-
<a href="https://vite.dev/guide/features.html#css-pre-processors">vite</a>
|
|
134
|
-
</li>
|
|
135
|
-
</ul>
|
|
87
|
+
```jsx
|
|
88
|
+
import { createGlobalStyle } from 'styled-components';
|
|
89
|
+
import { sdds_platform_ai__light } from '@salutejs/sdds-themes';
|
|
136
90
|
|
|
137
|
-
|
|
91
|
+
const Theme = createGlobalStyle(sdds_platform_ai__light);
|
|
138
92
|
|
|
139
|
-
|
|
140
|
-
@import '@salutejs/sdss-themes/css/sdds_platform_ai__light.css';
|
|
93
|
+
// вызовите <Theme /> в корне приложения
|
|
141
94
|
```
|
|
142
95
|
|
|
96
|
+
Переключение темы в рантайме и подключение через css-модули описаны в [документации](https://plasma.sberdevices.ru/sdds-platform-ai/).
|
|
97
|
+
|
|
98
|
+
## Использование компонентов
|
|
99
|
+
|
|
143
100
|
```jsx
|
|
144
|
-
|
|
101
|
+
// App.tsx
|
|
145
102
|
import { Button, BodyL } from '@salutejs/sdds-platform-ai';
|
|
103
|
+
import '@salutejs/sdds-themes/css/sdds_platform_ai__light.css';
|
|
146
104
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
const App = () => {
|
|
105
|
+
export const App = () => {
|
|
150
106
|
return (
|
|
151
107
|
<>
|
|
152
|
-
<BodyL>Hello
|
|
153
|
-
<Button
|
|
108
|
+
<BodyL>Hello, SDDS PLATFORM AI!</BodyL>
|
|
109
|
+
<Button>Кнопка</Button>
|
|
154
110
|
</>
|
|
155
111
|
);
|
|
156
112
|
};
|
|
157
|
-
|
|
158
|
-
export default App;
|
|
159
113
|
```
|
|
160
114
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
```jsx
|
|
164
|
-
import React from 'react';
|
|
165
|
-
import { createGlobalStyle } from 'styled-components';
|
|
166
|
-
import { Button, BodyL } from '@salutejs/sdds-platform-ai/styled-components';
|
|
167
|
-
import { sdds_platform_ai__light } from '@salutejs/sdds-themes';
|
|
115
|
+
Дизайн-токены доступны в виде js-переменных:
|
|
168
116
|
|
|
169
|
-
|
|
117
|
+
- базовый набор — из `@salutejs/sdds-themes/tokens`
|
|
118
|
+
- уникальные токены темы — из `@salutejs/sdds-themes/tokens/sdds_platform_ai`.
|
|
170
119
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
<>
|
|
174
|
-
<Theme />
|
|
175
|
-
<BodyL>Hello Platform-AI</BodyL>
|
|
176
|
-
<Button text="This is themed button" />
|
|
177
|
-
</>
|
|
178
|
-
);
|
|
179
|
-
};
|
|
120
|
+
```jsx
|
|
121
|
+
import { textAccent } from '@salutejs/sdds-themes/tokens';
|
|
180
122
|
|
|
181
|
-
|
|
123
|
+
<p style={{ color: textAccent }}>Пример использования токена</p>;
|
|
182
124
|
```
|
|
183
125
|
|
|
184
|
-
##
|
|
126
|
+
## SSR и Next.js
|
|
185
127
|
|
|
186
|
-
|
|
128
|
+
- Библиотека поддерживает React Server Components (App Router) **только** при **явном** использовании директивы `'use client'` в модулях, импортирующих компоненты.
|
|
129
|
+
- Для CSS-варианта поставки добавьте пакеты в `transpilePackages` в `next.config.js`:
|
|
187
130
|
|
|
188
131
|
```js
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export const backgroundPrimary = 'var(--background-primary, #000000)';
|
|
132
|
+
const nextConfig = {
|
|
133
|
+
transpilePackages: ['@salutejs/sdds-platform-ai', '@salutejs/plasma-new-hope', '@salutejs/plasma-icons'],
|
|
134
|
+
};
|
|
193
135
|
```
|
|
194
136
|
|
|
195
|
-
|
|
137
|
+
Подробности — в [гайде по Next.js](https://plasma.sberdevices.ru/sdds-platform-ai/next/).
|
|
196
138
|
|
|
197
|
-
|
|
139
|
+
## MCP-сервер для AI-агентов
|
|
198
140
|
|
|
199
|
-
|
|
200
|
-
- Непосредственно из темы `@salutejs/sdds-themes/tokens/sdds-platform-ai` (следует использовать, когда необходимо импортировать уникальные токены, которые используются только в этой теме)
|
|
201
|
-
|
|
202
|
-
### Использование
|
|
203
|
-
|
|
204
|
-
```jsx
|
|
205
|
-
import React from 'react';
|
|
206
|
-
import styled from 'styled-components';
|
|
207
|
-
import { textAccent, backgroundPrimary, textL } from '@salutejs/sdds-themes/tokens';
|
|
208
|
-
|
|
209
|
-
const AppStyled = styled.div`
|
|
210
|
-
padding: 2rem;
|
|
211
|
-
color: ${textAccent};
|
|
212
|
-
background-color: ${backgroundPrimary};
|
|
213
|
-
`;
|
|
214
|
-
|
|
215
|
-
const Container = styled.div`
|
|
216
|
-
${textL};
|
|
217
|
-
margin: 1rem;
|
|
218
|
-
`;
|
|
219
|
-
|
|
220
|
-
const App = () => {
|
|
221
|
-
return (
|
|
222
|
-
<AppStyled>
|
|
223
|
-
<Container>
|
|
224
|
-
<span>Hello world</span>
|
|
225
|
-
</Container>
|
|
226
|
-
</AppStyled>
|
|
227
|
-
);
|
|
228
|
-
};
|
|
141
|
+
> **Примечание**: Поддерживаются версии библиотеки начиная с `0.343.0` — нужная указывается параметром `--version`.
|
|
229
142
|
|
|
230
|
-
|
|
231
|
-
```
|
|
143
|
+
Библиотека предоставляет [MCP-сервер](https://plasma.sberdevices.ru/sdds-platform-ai/how-to-mcp/) `@salutejs/sdds-mcp` — через него LLM-агент (Claude Code, Cursor и др.) получает актуальную документацию:
|
|
232
144
|
|
|
233
|
-
|
|
145
|
+
- список компонентов
|
|
146
|
+
- описание props
|
|
147
|
+
- примеры использования
|
|
148
|
+
- токены и гайды.
|
|
234
149
|
|
|
235
|
-
|
|
150
|
+
Сервер работает по `stdio`:
|
|
236
151
|
|
|
237
|
-
```
|
|
238
|
-
|
|
152
|
+
```bash
|
|
153
|
+
npx -y @salutejs/sdds-mcp@latest --lib sdds-platform-ai
|
|
239
154
|
```
|
|
240
155
|
|
|
241
|
-
|
|
156
|
+
Если агент настраивается через конфигурацию, используйте шаблон:
|
|
242
157
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
fontWeight: 'var(--plasma-typo-dspl-l-font-weight)',
|
|
253
|
-
letterSpacing: 'var(--plasma-typo-dspl-l-letter-spacing)',
|
|
254
|
-
lineHeight: 'var(--plasma-typo-dspl-l-line-height)',
|
|
255
|
-
} as unknown) as CSSObject;
|
|
158
|
+
```json
|
|
159
|
+
{
|
|
160
|
+
"mcpServers": {
|
|
161
|
+
"sdds-platform-ai": {
|
|
162
|
+
"command": "npx",
|
|
163
|
+
"args": ["-y", "@salutejs/sdds-mcp@latest", "--lib", "sdds-platform-ai"]
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
256
167
|
```
|
|
168
|
+
|
|
169
|
+
Подробности и список инструментов — в [гайде по MCP](https://plasma.sberdevices.ru/sdds-platform-ai/how-to-mcp/).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.p23ewyp{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-positive,#1A9E3233);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-positive-active,#1A9E3224);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-positive,#1A9E32);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-positive,#1A9E32);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
3
3
|
.w19hpt9v{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-warning,#FA5F0533);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-warning-active,#FA5F0524);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-warning,#FA5F05);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-warning,#FA5F05);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
4
4
|
.nsso48m{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-negative,#FF293E33);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-negative-active,#FF293E24);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
5
|
-
.m1lgbia2{--plasma-autocomplete-textfield-height:3rem;--plasma-autocomplete-textfield-padding:0.875rem 1rem 0.875rem 1rem;--plasma-autocomplete-textfield-border-radius:0.75rem;--plasma-autocomplete-textfield-border-width:0.0625rem;--plasma-autocomplete-textfield-left-content-margin:-0.125rem 0.375rem -0.125rem -0.125rem;--plasma-autocomplete-textfield-right-content-margin:-0.125rem -0.125rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-right-content-with-hint-margin:-0.125rem -0.438rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-content-right-wrapper-gap:0.25rem;--plasma-autocomplete-textfield-content-right-wrapper-margin:-0.438rem -0.438rem -0.438rem 0;--plasma-autocomplete-textfield-before-text-margin:0 0.25rem 0 0;--plasma-autocomplete-textfield-after-text-margin:0 0 0 0.25rem;--plasma-autocomplete-textfield-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield-label-offset:0.25rem;--plasma-autocomplete-textfield-clear-label-offset:0.25rem;--plasma-autocomplete-textfield-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield__hint-margin:-0.688rem -0.5rem;--plasma-autocomplete-textfield__hint-target-size:2.375rem;--plasma-autocomplete-textfield__hint-inner-label-placement-offset:0.312rem -2.813rem auto auto;--plasma-autocomplete-textfield__clear-hint-inner-label-placement-offset:0.312rem -2.188rem auto auto;--plasma-autocomplete-textfield-left-helper-
|
|
5
|
+
.m1lgbia2{--plasma-autocomplete-textfield-height:3rem;--plasma-autocomplete-textfield-padding:0.875rem 1rem 0.875rem 1rem;--plasma-autocomplete-textfield-border-radius:0.75rem;--plasma-autocomplete-textfield-border-width:0.0625rem;--plasma-autocomplete-textfield-left-content-margin:-0.125rem 0.375rem -0.125rem -0.125rem;--plasma-autocomplete-textfield-right-content-margin:-0.125rem -0.125rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-right-content-with-hint-margin:-0.125rem -0.438rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-content-right-wrapper-gap:0.25rem;--plasma-autocomplete-textfield-content-right-wrapper-margin:-0.438rem -0.438rem -0.438rem 0;--plasma-autocomplete-textfield-before-text-margin:0 0.25rem 0 0;--plasma-autocomplete-textfield-after-text-margin:0 0 0 0.25rem;--plasma-autocomplete-textfield-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield-label-offset:0.25rem;--plasma-autocomplete-textfield-clear-label-offset:0.25rem;--plasma-autocomplete-textfield-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield__hint-margin:-0.688rem -0.5rem;--plasma-autocomplete-textfield__hint-target-size:2.375rem;--plasma-autocomplete-textfield__hint-inner-label-placement-offset:0.312rem -2.813rem auto auto;--plasma-autocomplete-textfield__clear-hint-inner-label-placement-offset:0.312rem -2.188rem auto auto;--plasma-autocomplete-textfield-left-helper-offset:0.25rem 0 0 0;--plasma-autocomplete-textfield-left-helper-font-family:var(--plasma-typo-body-xs-font-family);--plasma-autocomplete-textfield-left-helper-font-size:var(--plasma-typo-body-xs-font-size);--plasma-autocomplete-textfield-left-helper-font-style:var(--plasma-typo-body-xs-font-style);--plasma-autocomplete-textfield-left-helper-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-autocomplete-textfield-left-helper-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-autocomplete-textfield-left-helper-line-height:var(--plasma-typo-body-xs-line-height);--plasma-autocomplete-textfield-placement-inner-label-padding:0.375rem 0 0.125rem 0;--plasma-autocomplete-textfield-placement-inner-content-padding:1.375rem 0 0.375rem 0;--plasma-autocomplete-textfield-indicator-size-inner:0.5rem;--plasma-autocomplete-textfield-indicator-size-outer:0.375rem;--plasma-autocomplete-textfield-indicator-label-placement-inner:0 0 0 0;--plasma-autocomplete-textfield-indicator-label-placement-outer:0.375rem auto auto -0.75rem;--plasma-autocomplete-textfield-indicator-label-placement-inner-right:0 0 auto auto;--plasma-autocomplete-textfield-indicator-label-placement-outer-right:0.25rem -0.6875rem auto auto;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner:1.25rem auto auto -0.875rem;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner-right:1.25rem -0.875rem auto auto;--plasma-autocomplete-textfield-clear-indicator-hint-placement-inner-right:1.25rem -2.488rem auto auto;--plasma-autocomplete-border-radius:0.75rem;--plasma-autocomplete-padding:0.125rem;--plasma-autocomplete-item-padding:0.875rem 0.875rem 0.875rem 0.875rem;--plasma-autocomplete-item-border-radius:0.625rem;--plasma-autocomplete-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-item-font-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-item-font-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-empty-state-padding:1.625rem 0.875rem 0.875rem 0.875rem;--plasma-autocomplete-empty-state-gap:0.375rem;--plasma-autocomplete-infinite-loader-spinner-size:1.5rem;--plasma-autocomplete-infinite-loader-gap:0.375rem;}
|
|
6
6
|
.ifonypc{--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placement-inner-label-font-family:var(--plasma-typo-body-xs-font-family);--plasma-autocomplete-textfield-placement-inner-label-font-size:var(--plasma-typo-body-xs-font-size);--plasma-autocomplete-textfield-placement-inner-label-font-style:var(--plasma-typo-body-xs-font-style);--plasma-autocomplete-textfield-placement-inner-label-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-autocomplete-textfield-placement-inner-label-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-autocomplete-textfield-placement-inner-label-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
7
7
|
|
|
8
8
|
.duxefna{--plasma-autocomplete-textfield__tooltip-background-color:var(--surface-solid-card-brightness,#252525FF);--plasma-autocomplete-textfield__tooltip-box-shadow:var(--shadow-down-hard-m,0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08));--plasma-autocomplete-textfield__tooltip-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__tooltip-arrow-background:var(--surface-solid-card,#171717);}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
.
|
|
1
|
+
.Autocomplete_config_1ijtnnk_d15witju__f3763b15{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-card,#FFFFFF0F);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-card-active,#FFFFFF0A);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-border-color:var(--outline-transparent-primary,#FFFFFF1F);--plasma-autocomplete-textfield-border-color-hover:var(--outline-transparent-primary-hover,#FFFFFF4D);--plasma-autocomplete-textfield-border-color-focus:var(--outline-solid-default,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-transparent-tertiary,#FFFFFF33);--plasma-autocomplete-textfield-divider-color-hover:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
2
|
+
.Autocomplete_config_1ijtnnk_p23ewyp__f3763b15{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-positive,#1A9E3233);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-positive-active,#1A9E3224);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-positive,#1A9E32);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-positive,#1A9E32);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
3
|
+
.Autocomplete_config_1ijtnnk_w19hpt9v__f3763b15{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-warning,#FA5F0533);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-warning-active,#FA5F0524);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-warning,#FA5F05);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-warning,#FA5F05);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
4
|
+
.Autocomplete_config_1ijtnnk_nsso48m__f3763b15{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-clear-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placeholder-color-focus:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-clear-placeholder-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-clear-placeholder-color-focus:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-background-color:var(--surface-transparent-negative,#FF293E33);--plasma-autocomplete-textfield-background-color-focus:var(--surface-transparent-negative-active,#FF293E24);--plasma-autocomplete-textfield-caret-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#24B23E);--plasma-autocomplete-textfield-content-slot-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-content-slot-color-hover:var(--text-secondary-hover,#F5F5F5FF);--plasma-autocomplete-textfield-content-slot-color-active:var(--text-secondary-active,#F5F5F5AB);--plasma-autocomplete-focus-color:var(--surface-accent,#1A9E32);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F548);--plasma-autocomplete-textfield-divider-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-divider-color-hover:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-divider-color-focus:var(--surface-accent,#1A9E32);--plasma-autocomplete-background:var(--surface-solid-card,#171717);--plasma-autocomplete-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-autocomplete-item-background:transparent;--plasma-autocomplete-item-background-hover:var(--surface-transparent-secondary,#FFFFFF1F);--plasma-autocomplete-item-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-content-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-textfield-content-right-slot-color:--plasma-autocomplete-textfield-color;--plasma-autocomplete-infinite-loader-spinner-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
5
|
+
.Autocomplete_config_1ijtnnk_m1lgbia2__f3763b15{--plasma-autocomplete-textfield-height:3rem;--plasma-autocomplete-textfield-padding:0.875rem 1rem 0.875rem 1rem;--plasma-autocomplete-textfield-border-radius:0.75rem;--plasma-autocomplete-textfield-border-width:0.0625rem;--plasma-autocomplete-textfield-left-content-margin:-0.125rem 0.375rem -0.125rem -0.125rem;--plasma-autocomplete-textfield-right-content-margin:-0.125rem -0.125rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-right-content-with-hint-margin:-0.125rem -0.438rem -0.125rem 0.75rem;--plasma-autocomplete-textfield-content-right-wrapper-gap:0.25rem;--plasma-autocomplete-textfield-content-right-wrapper-margin:-0.438rem -0.438rem -0.438rem 0;--plasma-autocomplete-textfield-before-text-margin:0 0.25rem 0 0;--plasma-autocomplete-textfield-after-text-margin:0 0 0 0.25rem;--plasma-autocomplete-textfield-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield-label-offset:0.25rem;--plasma-autocomplete-textfield-clear-label-offset:0.25rem;--plasma-autocomplete-textfield-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-textfield-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-textfield-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-textfield-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-textfield-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-textfield-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-textfield__hint-margin:-0.688rem -0.5rem;--plasma-autocomplete-textfield__hint-target-size:2.375rem;--plasma-autocomplete-textfield__hint-inner-label-placement-offset:0.312rem -2.813rem auto auto;--plasma-autocomplete-textfield__clear-hint-inner-label-placement-offset:0.312rem -2.188rem auto auto;--plasma-autocomplete-textfield-left-helper-offset:0.25rem 0 0 0;--plasma-autocomplete-textfield-left-helper-font-family:var(--plasma-typo-body-xs-font-family);--plasma-autocomplete-textfield-left-helper-font-size:var(--plasma-typo-body-xs-font-size);--plasma-autocomplete-textfield-left-helper-font-style:var(--plasma-typo-body-xs-font-style);--plasma-autocomplete-textfield-left-helper-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-autocomplete-textfield-left-helper-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-autocomplete-textfield-left-helper-line-height:var(--plasma-typo-body-xs-line-height);--plasma-autocomplete-textfield-placement-inner-label-padding:0.375rem 0 0.125rem 0;--plasma-autocomplete-textfield-placement-inner-content-padding:1.375rem 0 0.375rem 0;--plasma-autocomplete-textfield-indicator-size-inner:0.5rem;--plasma-autocomplete-textfield-indicator-size-outer:0.375rem;--plasma-autocomplete-textfield-indicator-label-placement-inner:0 0 0 0;--plasma-autocomplete-textfield-indicator-label-placement-outer:0.375rem auto auto -0.75rem;--plasma-autocomplete-textfield-indicator-label-placement-inner-right:0 0 auto auto;--plasma-autocomplete-textfield-indicator-label-placement-outer-right:0.25rem -0.6875rem auto auto;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner:1.25rem auto auto -0.875rem;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner-right:1.25rem -0.875rem auto auto;--plasma-autocomplete-textfield-clear-indicator-hint-placement-inner-right:1.25rem -2.488rem auto auto;--plasma-autocomplete-border-radius:0.75rem;--plasma-autocomplete-padding:0.125rem;--plasma-autocomplete-item-padding:0.875rem 0.875rem 0.875rem 0.875rem;--plasma-autocomplete-item-border-radius:0.625rem;--plasma-autocomplete-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-autocomplete-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-autocomplete-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-autocomplete-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-autocomplete-item-font-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-autocomplete-item-font-line-height:var(--plasma-typo-body-m-line-height);--plasma-autocomplete-empty-state-padding:1.625rem 0.875rem 0.875rem 0.875rem;--plasma-autocomplete-empty-state-gap:0.375rem;--plasma-autocomplete-infinite-loader-spinner-size:1.5rem;--plasma-autocomplete-infinite-loader-gap:0.375rem;}
|
|
6
|
+
.Autocomplete_config_1ijtnnk_ifonypc__f3763b15{--plasma-autocomplete-textfield-placeholder-color:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-placement-inner-label-font-family:var(--plasma-typo-body-xs-font-family);--plasma-autocomplete-textfield-placement-inner-label-font-size:var(--plasma-typo-body-xs-font-size);--plasma-autocomplete-textfield-placement-inner-label-font-style:var(--plasma-typo-body-xs-font-style);--plasma-autocomplete-textfield-placement-inner-label-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-autocomplete-textfield-placement-inner-label-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-autocomplete-textfield-placement-inner-label-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
8
|
+
.Autocomplete_config_1ijtnnk_duxefna__f3763b15{--plasma-autocomplete-textfield__tooltip-background-color:var(--surface-solid-card-brightness,#252525FF);--plasma-autocomplete-textfield__tooltip-box-shadow:var(--shadow-down-hard-m,0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08));--plasma-autocomplete-textfield__tooltip-color:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield__tooltip-arrow-background:var(--surface-solid-card,#171717);}
|
|
9
|
+
.Autocomplete_config_1ijtnnk_m53l11i__f3763b15{--plasma-autocomplete-textfield__tooltip-padding-top:0.6875rem;--plasma-autocomplete-textfield__tooltip-padding-right:0.875rem;--plasma-autocomplete-textfield__tooltip-padding-bottom:0.6875rem;--plasma-autocomplete-textfield__tooltip-padding-left:0.875rem;--plasma-autocomplete-textfield__tooltip-min-height:2.5rem;--plasma-autocomplete-textfield__tooltip-border-radius:0.625rem;--plasma-autocomplete-textfield__tooltip-text-font-family:var(--plasma-typo-body-s-font-family);--plasma-autocomplete-textfield__tooltip-text-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-textfield__tooltip-text-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-textfield__tooltip-text-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-textfield__tooltip-text-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-textfield__tooltip-text-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-autocomplete-textfield__tooltip-content-left-margin:0.375rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-width:1.25rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-height:1.25rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");--plasma-autocomplete-textfield__tooltip-arrow-height:0.5rem;--plasma-autocomplete-textfield__tooltip-arrow-edge-margin:0.625rem;}
|
|
10
|
+
.Autocomplete_config_1ijtnnk_s13hmuvi__f3763b15{--plasma-autocomplete-textfield__tooltip-padding-top:0.5rem;--plasma-autocomplete-textfield__tooltip-padding-right:0.75rem;--plasma-autocomplete-textfield__tooltip-padding-bottom:0.5rem;--plasma-autocomplete-textfield__tooltip-padding-left:0.75rem;--plasma-autocomplete-textfield__tooltip-min-height:2rem;--plasma-autocomplete-textfield__tooltip-border-radius:0.5rem;--plasma-autocomplete-textfield__tooltip-text-font-family:var(--plasma-typo-body-xs-font-family);--plasma-autocomplete-textfield__tooltip-text-font-size:var(--plasma-typo-body-xs-font-size);--plasma-autocomplete-textfield__tooltip-text-font-style:var(--plasma-typo-body-xs-font-style);--plasma-autocomplete-textfield__tooltip-text-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-autocomplete-textfield__tooltip-text-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-autocomplete-textfield__tooltip-text-font-line-height:var(--plasma-typo-body-xs-line-height);--plasma-autocomplete-textfield__tooltip-content-left-margin:0.25rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-width:1rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-height:1rem;--plasma-autocomplete-textfield__tooltip-arrow-mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");--plasma-autocomplete-textfield__tooltip-arrow-height:0.375rem;--plasma-autocomplete-textfield__tooltip-arrow-edge-margin:0.5625rem;}
|
|
11
|
+
.Autocomplete_config_1ijtnnk_t1rats1y__f3763b15{--plasma-autocomplete-textfield-disabled-opacity:0.4;}
|
|
12
|
+
.Autocomplete_config_1ijtnnk_tzs7164__f3763b15{--plasma-autocomplete-textfield-color-readonly:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-readonly-opacity:1;--plasma-autocomplete-textfield-content-right-slot-opacity-readonly:0.4;--plasma-autocomplete-textfield-bg-color-readonly:var(--surface-transparent-card,#FFFFFF0F);--plasma-autocomplete-textfield-border-color-readonly:var(--outline-transparent-primary,#FFFFFF1F);--plasma-autocomplete-textfield-placeholder-color-readonly:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-left-helper-color-readonly:var(--text-secondary,#F5F5F58F);--plasma-autocomplete-textfield-label-color-readonly:var(--text-primary,#F5F5F5);--plasma-autocomplete-textfield-divider-color-readonly:var(--surface-transparent-primary,#FFFFFF0F);}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var css = require('@salutejs/plasma-new-hope/css');
|
|
6
|
-
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
|
7
6
|
var Button_config = require('./Button.config.js');
|
|
8
7
|
|
|
9
8
|
var mergedConfig = /*#__PURE__*/css.mergeConfig(css.buttonConfig, Button_config.config);
|
|
@@ -11,6 +10,6 @@ var ButtonComponent = /*#__PURE__*/css.component(mergedConfig);
|
|
|
11
10
|
/**
|
|
12
11
|
* Кнопка.
|
|
13
12
|
*/
|
|
14
|
-
var Button = /*#__PURE__*/
|
|
13
|
+
var Button = /*#__PURE__*/css.makePolymorphic(ButtonComponent, 'button');
|
|
15
14
|
|
|
16
15
|
exports.Button = Button;
|