@salutejs/sdds-scan 0.368.0-next-sbcom.0 → 0.368.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.js.map +1 -1
- package/dist/css/cjs/components/Autocomplete/{Autocomplete.config_1p3z3mz.css → Autocomplete.config_1f06qjk.css} +2 -2
- package/dist/css/cjs/components/Autocomplete/Autocomplete.css +12 -12
- package/dist/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/dist/css/{es/components/Breadcrumbs/Breadcrumbs.config_1r3qndf.css → cjs/components/Breadcrumbs/Breadcrumbs.config_1w8a1hv.css} +2 -2
- package/dist/css/cjs/components/Breadcrumbs/Breadcrumbs.css +3 -3
- package/dist/css/cjs/components/Button/Button.js +1 -2
- package/dist/css/cjs/components/Button/Button.js.map +1 -1
- package/dist/css/cjs/components/Calendar/Calendar.config.js +1 -1
- package/dist/css/cjs/components/Calendar/Calendar.config.js.map +1 -1
- package/dist/css/{es/components/Calendar/Calendar.config_1ga2uh5.css → cjs/components/Calendar/Calendar.config_13qlc3k.css} +3 -3
- package/dist/css/cjs/components/Calendar/Calendar.css +10 -10
- package/dist/css/cjs/components/Calendar/CalendarDouble.config.js +1 -1
- package/dist/css/cjs/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/dist/css/{es/components/Calendar/CalendarDouble.config_1v82k0v.css → cjs/components/Calendar/CalendarDouble.config_xlc8a.css} +3 -3
- package/dist/css/cjs/components/Combobox/Combobox.config.js +1 -1
- package/dist/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
- package/dist/css/cjs/components/Combobox/{Combobox.config_1b7q9ma.css → Combobox.config_1elyaeu.css} +2 -2
- package/dist/css/cjs/components/Combobox/Combobox.css +15 -15
- package/dist/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
- package/dist/css/cjs/components/DatePicker/DatePicker.config.js.map +1 -1
- package/dist/css/{es/components/DatePicker/DatePicker.config_1h3wvgj.css → cjs/components/DatePicker/DatePicker.config_i899sd.css} +3 -3
- package/dist/css/cjs/components/DatePicker/DatePicker.css +10 -10
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/dist/css/cjs/components/DateTimePicker/{DateTimePicker.config_gqaofa.css → DateTimePicker.config_m6m2l.css} +6 -6
- package/dist/css/cjs/components/DateTimePicker/DateTimePicker.css +13 -13
- package/dist/css/cjs/components/Notification/Notification.js +4 -2
- package/dist/css/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/css/cjs/components/NumberFormat/NumberFormat.css +18 -18
- package/dist/css/cjs/components/Select/Select.config.js +1 -1
- package/dist/css/cjs/components/Select/Select.config.js.map +1 -1
- package/dist/css/cjs/components/Select/{Select.config_17y6cyw.css → Select.config_4rotw5.css} +2 -2
- package/dist/css/cjs/components/Select/Select.css +21 -21
- package/dist/css/cjs/components/Spinner/Spinner.config.js +9 -18
- package/dist/css/cjs/components/Spinner/Spinner.config.js.map +1 -1
- package/dist/css/cjs/components/Spinner/Spinner.config_1sal5bb.css +8 -0
- package/dist/css/cjs/components/Spinner/Spinner.css +8 -15
- package/dist/css/cjs/components/Spinner/Spinner.js +0 -3
- package/dist/css/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/css/cjs/components/TextField/TextField.config.js +1 -1
- package/dist/css/cjs/components/TextField/TextField.config.js.map +1 -1
- package/dist/css/cjs/components/TextField/{TextField.config_1bsk9f0.css → TextField.config_1ahnpc0.css} +2 -2
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
- package/dist/css/cjs/components/TextFieldGroup/{TextFieldGroup.config_1pl0lc1.css → TextFieldGroup.config_103fro3.css} +2 -2
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.css +7 -7
- package/dist/css/cjs/index.css +122 -129
- package/dist/css/es/components/Autocomplete/Autocomplete.config.js +1 -1
- package/dist/css/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
- package/dist/css/es/components/Autocomplete/{Autocomplete.config_1p3z3mz.css → Autocomplete.config_1f06qjk.css} +2 -2
- package/dist/css/es/components/Autocomplete/Autocomplete.css +12 -12
- package/dist/css/es/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
- package/dist/css/es/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/dist/css/{cjs/components/Breadcrumbs/Breadcrumbs.config_1r3qndf.css → es/components/Breadcrumbs/Breadcrumbs.config_1w8a1hv.css} +2 -2
- package/dist/css/es/components/Breadcrumbs/Breadcrumbs.css +3 -3
- package/dist/css/es/components/Button/Button.js +1 -2
- package/dist/css/es/components/Button/Button.js.map +1 -1
- package/dist/css/es/components/Calendar/Calendar.config.js +1 -1
- package/dist/css/es/components/Calendar/Calendar.config.js.map +1 -1
- package/dist/css/{cjs/components/Calendar/Calendar.config_1ga2uh5.css → es/components/Calendar/Calendar.config_13qlc3k.css} +3 -3
- package/dist/css/es/components/Calendar/Calendar.css +10 -10
- package/dist/css/es/components/Calendar/CalendarDouble.config.js +1 -1
- package/dist/css/es/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/dist/css/{cjs/components/Calendar/CalendarDouble.config_1v82k0v.css → es/components/Calendar/CalendarDouble.config_xlc8a.css} +3 -3
- package/dist/css/es/components/Combobox/Combobox.config.js +1 -1
- package/dist/css/es/components/Combobox/Combobox.config.js.map +1 -1
- package/dist/css/es/components/Combobox/{Combobox.config_1b7q9ma.css → Combobox.config_1elyaeu.css} +2 -2
- package/dist/css/es/components/Combobox/Combobox.css +15 -15
- package/dist/css/es/components/DatePicker/DatePicker.config.js +1 -1
- package/dist/css/es/components/DatePicker/DatePicker.config.js.map +1 -1
- package/dist/css/{cjs/components/DatePicker/DatePicker.config_1h3wvgj.css → es/components/DatePicker/DatePicker.config_i899sd.css} +3 -3
- package/dist/css/es/components/DatePicker/DatePicker.css +10 -10
- package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js +1 -1
- package/dist/css/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/dist/css/es/components/DateTimePicker/{DateTimePicker.config_gqaofa.css → DateTimePicker.config_m6m2l.css} +6 -6
- package/dist/css/es/components/DateTimePicker/DateTimePicker.css +13 -13
- package/dist/css/es/components/Notification/Notification.js +4 -2
- package/dist/css/es/components/Notification/Notification.js.map +1 -1
- package/dist/css/es/components/NumberFormat/NumberFormat.css +18 -18
- package/dist/css/es/components/Select/Select.config.js +1 -1
- package/dist/css/es/components/Select/Select.config.js.map +1 -1
- package/dist/css/es/components/Select/{Select.config_17y6cyw.css → Select.config_4rotw5.css} +2 -2
- package/dist/css/es/components/Select/Select.css +21 -21
- package/dist/css/es/components/Spinner/Spinner.config.js +9 -18
- package/dist/css/es/components/Spinner/Spinner.config.js.map +1 -1
- package/dist/css/es/components/Spinner/Spinner.config_1sal5bb.css +8 -0
- package/dist/css/es/components/Spinner/Spinner.css +8 -15
- package/dist/css/es/components/Spinner/Spinner.js +0 -3
- package/dist/css/es/components/Spinner/Spinner.js.map +1 -1
- package/dist/css/es/components/TextField/TextField.config.js +1 -1
- package/dist/css/es/components/TextField/TextField.config.js.map +1 -1
- package/dist/css/es/components/TextField/{TextField.config_1bsk9f0.css → TextField.config_1ahnpc0.css} +2 -2
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
- package/dist/css/es/components/TextFieldGroup/{TextFieldGroup.config_1pl0lc1.css → TextFieldGroup.config_103fro3.css} +2 -2
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.css +7 -7
- package/dist/css/es/index.css +122 -129
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +2 -2
- package/dist/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.config.js +2 -2
- package/dist/styled-components/cjs/components/Button/Button.js +1 -2
- package/dist/styled-components/cjs/components/Calendar/Calendar.config.js +2 -4
- package/dist/styled-components/cjs/components/Calendar/CalendarDouble.config.js +2 -4
- package/dist/styled-components/cjs/components/Combobox/Combobox.config.js +2 -2
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +2 -4
- package/dist/styled-components/cjs/components/DateTimePicker/DateTimePicker.config.js +2 -7
- package/dist/styled-components/cjs/components/Notification/Notification.js +3 -2
- package/dist/styled-components/cjs/components/Select/Select.config.js +2 -2
- package/dist/styled-components/cjs/components/Spinner/Spinner.config.js +8 -31
- package/dist/styled-components/cjs/components/Spinner/Spinner.js +15 -4
- package/dist/styled-components/cjs/components/TextField/TextField.config.js +2 -2
- package/dist/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.config.js +2 -2
- package/dist/styled-components/cjs/components/Tokens/Typography/Typography.styles.js +23 -23
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +2 -2
- package/dist/styled-components/es/components/Breadcrumbs/Breadcrumbs.config.js +3 -3
- package/dist/styled-components/es/components/Button/Button.js +1 -2
- package/dist/styled-components/es/components/Calendar/Calendar.config.js +2 -4
- package/dist/styled-components/es/components/Calendar/CalendarDouble.config.js +2 -4
- package/dist/styled-components/es/components/Combobox/Combobox.config.js +2 -2
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +2 -4
- package/dist/styled-components/es/components/DateTimePicker/DateTimePicker.config.js +2 -7
- package/dist/styled-components/es/components/Notification/Notification.js +3 -2
- package/dist/styled-components/es/components/Select/Select.config.js +2 -2
- package/dist/styled-components/es/components/Spinner/Spinner.config.js +9 -32
- package/dist/styled-components/es/components/Spinner/Spinner.js +7 -1
- package/dist/styled-components/es/components/TextField/TextField.config.js +2 -2
- package/dist/styled-components/es/components/TextFieldGroup/TextFieldGroup.config.js +2 -2
- 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/Note/Note.d.ts +1 -0
- package/types/components/Notification/Notification.d.ts +2 -1
- package/types/components/Spinner/Spinner.config.d.ts +0 -9
- package/types/components/Spinner/Spinner.d.ts +38 -26
- package/types/components/Spinner/index.d.ts +1 -1
- package/types/components/Tokens/Typography/Typography.styles.d.ts +2 -2
- package/dist/css/cjs/components/Spinner/Spinner.config_eyrgsm.css +0 -15
- package/dist/css/es/components/Spinner/Spinner.config_eyrgsm.css +0 -15
package/README.md
CHANGED
|
@@ -1,256 +1,169 @@
|
|
|
1
|
-
# SDDS
|
|
1
|
+
# Библиотека компонентов для вертикали SDDS SCAN
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/salute-developers/plasma/blob/master/LICENSE.txt)
|
|
4
|
+
[](https://www.npmjs.com/package/@salutejs/sdds-scan)
|
|
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-scan/) — гайды, список компонентов с примерами и API
|
|
18
|
+
- [Подключение в Next.js](https://plasma.sberdevices.ru/sdds-scan/next/)
|
|
19
|
+
- [Changelog](https://plasma.sberdevices.ru/changelog/?vertical=SDDSScan&platform=React&version=0.367.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-scan @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-scan';
|
|
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-scan` | предсобранный CSS | нет |
|
|
50
|
+
| `@salutejs/sdds-scan/styled-components` | styled-components | `styled-components@5.3.1` |
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
```jsx
|
|
53
|
+
import { Button } from '@salutejs/sdds-scan';
|
|
54
|
+
// или
|
|
52
55
|
import { Button } from '@salutejs/sdds-scan/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-scan 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_scan__light` и `sdds_scan__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_scan__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_scan__light } from '@salutejs/sdds-themes';
|
|
136
90
|
|
|
137
|
-
|
|
91
|
+
const Theme = createGlobalStyle(sdds_scan__light);
|
|
138
92
|
|
|
139
|
-
|
|
140
|
-
@import '@salutejs/sdss-themes/css/sdds_scan__dark.css';
|
|
93
|
+
// вызовите <Theme /> в корне приложения
|
|
141
94
|
```
|
|
142
95
|
|
|
96
|
+
Переключение темы в рантайме и подключение через css-модули описаны в [документации](https://plasma.sberdevices.ru/sdds-scan/).
|
|
97
|
+
|
|
98
|
+
## Использование компонентов
|
|
99
|
+
|
|
143
100
|
```jsx
|
|
144
|
-
|
|
101
|
+
// App.tsx
|
|
145
102
|
import { Button, BodyL } from '@salutejs/sdds-scan';
|
|
103
|
+
import '@salutejs/sdds-themes/css/sdds_scan__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 SCAN!</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-scan/styled-components';
|
|
167
|
-
import { sdds_scan__light } from '@salutejs/sdds-themes';
|
|
115
|
+
Дизайн-токены доступны в виде js-переменных:
|
|
168
116
|
|
|
169
|
-
|
|
117
|
+
- базовый набор — из `@salutejs/sdds-themes/tokens`
|
|
118
|
+
- уникальные токены темы — из `@salutejs/sdds-themes/tokens/sdds_scan`.
|
|
170
119
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
<>
|
|
174
|
-
<Theme />
|
|
175
|
-
<BodyL>Hello world</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-scan', '@salutejs/plasma-new-hope', '@salutejs/plasma-icons'],
|
|
134
|
+
};
|
|
193
135
|
```
|
|
194
136
|
|
|
195
|
-
|
|
137
|
+
Подробности — в [гайде по Next.js](https://plasma.sberdevices.ru/sdds-scan/next/).
|
|
196
138
|
|
|
197
|
-
|
|
139
|
+
## MCP-сервер для AI-агентов
|
|
198
140
|
|
|
199
|
-
|
|
200
|
-
- Непосредственно из темы `@salutejs/sdds-themes/tokens/sdds-scan` (следует использовать, когда необходимо импортировать уникальные токены, которые используются только в этой теме)
|
|
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.349.0` — нужная указывается параметром `--version`.
|
|
229
142
|
|
|
230
|
-
|
|
231
|
-
```
|
|
143
|
+
Библиотека предоставляет [MCP-сервер](https://plasma.sberdevices.ru/sdds-scan/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-scan
|
|
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-scan": {
|
|
162
|
+
"command": "npx",
|
|
163
|
+
"args": ["-y", "@salutejs/sdds-mcp@latest", "--lib", "sdds-scan"]
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
256
167
|
```
|
|
168
|
+
|
|
169
|
+
Подробности и список инструментов — в [гайде по MCP](https://plasma.sberdevices.ru/sdds-scan/how-to-mcp/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.config.js","sources":["../../../../../src-css/components/Autocomplete/Autocomplete.config.ts"],"sourcesContent":["import { css, autocompleteTokens as tokens } from '@salutejs/plasma-new-hope/css';\nimport {\n bodyM,\n bodyS,\n bodyXS,\n surfaceAccent,\n surfaceNegative,\n surfacePositive,\n surfaceSolidCard,\n surfaceSolidCardBrightness,\n surfaceTransparentNegative,\n surfaceTransparentNegativeActive,\n surfaceTransparentPositive,\n surfaceTransparentPositiveActive,\n surfaceTransparentPrimary,\n surfaceTransparentSecondary,\n surfaceTransparentTertiary,\n surfaceTransparentWarning,\n surfaceTransparentWarningActive,\n surfaceWarning,\n textAccent,\n textNegative,\n textPositive,\n textPrimary,\n textSecondary,\n textSecondaryActive,\n textSecondaryHover,\n textTertiary,\n textWarning,\n} from '@salutejs/sdds-themes/tokens/sdds_scan';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n default: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textPrimary};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentPrimary};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentSecondary};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textSecondary};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};\n ${tokens.textFieldDividerColorHover}: ${textSecondary};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n positive: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textPositive};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textPositive};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textPositive};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentPositive};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentPositiveActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textPositive};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfacePositive};\n ${tokens.textFieldDividerColorHover}: ${surfacePositive};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n warning: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textWarning};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textWarning};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textWarning};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentWarning};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentWarningActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textWarning};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceWarning};\n ${tokens.textFieldDividerColorHover}: ${surfaceWarning};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n negative: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textNegative};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textNegative};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textNegative};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentNegative};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentNegativeActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textNegative};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceNegative};\n ${tokens.textFieldDividerColorHover}: ${surfaceNegative};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n },\n size: {\n m: css`\n ${tokens.textFieldHeight}: 3rem;\n ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem;\n ${tokens.textFieldBorderRadius}: 0.75rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.125rem 0.375rem -0.125rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.125rem -0.125rem -0.125rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.125rem -0.438rem -0.125rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: ${bodyM.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyM.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyM.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyM.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.625rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyM.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyM.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyM.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyM.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.312rem -2.813rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.312rem -2.188rem auto auto;\n\n ${tokens.textFieldLeftHelperPadding}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldLabelInnerPadding}: 0.375rem 0 0.125rem 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.375rem 0 0.375rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.5rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.375rem auto auto -0.75rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.6875rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.25rem auto auto -0.875rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.25rem -0.875rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.25rem -2.488rem auto auto;\n\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.875rem 0.875rem 0.875rem 0.875rem;\n ${tokens.itemBorderRadius}: 0.625rem;\n\n ${tokens.itemFontFamily}: ${bodyM.fontFamily};\n ${tokens.itemFontSize}: ${bodyM.fontSize};\n ${tokens.itemFontStyle}: ${bodyM.fontStyle};\n ${tokens.itemFontWeight}: ${bodyM.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.emptyStatePadding}: 1.625rem 0.875rem 0.875rem 0.875rem;\n ${tokens.emptyStateGap}: 0.375rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.375rem;\n `,\n s: css`\n ${tokens.textFieldHeight}: 2.5rem;\n ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem;\n ${tokens.textFieldBorderRadius}: 0.625rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.1875rem -0.438rem -0.1875rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.5rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.062rem -2.688rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.062rem -2.188rem auto auto;\n\n ${tokens.textFieldLeftHelperPadding}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.375rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.238rem auto auto;\n\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.6875rem 0.75rem;\n ${tokens.itemBorderRadius}: 0.5rem;\n\n ${tokens.itemFontFamily}: ${bodyS.fontFamily};\n ${tokens.itemFontSize}: ${bodyS.fontSize};\n ${tokens.itemFontStyle}: ${bodyS.fontStyle};\n ${tokens.itemFontWeight}: ${bodyS.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.emptyStatePadding}: 1.375rem 0.625rem 0.625rem 0.625rem;\n ${tokens.emptyStateGap}: 0.25rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.25rem;\n `,\n },\n labelPlacement: {\n inner: css`\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};\n `,\n outer: css``,\n },\n hintView: {\n default: css`\n ${tokens.textFieldTooltipBackgroundColor}: ${surfaceSolidCardBrightness};\n ${tokens.textFieldTooltipBoxShadow}: 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));\n ${tokens.textFieldTooltipColor}: ${textPrimary};\n ${tokens.textFieldTooltipArrowBackground}: ${surfaceSolidCard};\n `,\n },\n hintSize: {\n m: css`\n ${tokens.textFieldTooltipPaddingTop}: 0.6875rem;\n ${tokens.textFieldTooltipPaddingRight}: 0.875rem;\n ${tokens.textFieldTooltipPaddingBottom}: 0.6875rem;\n ${tokens.textFieldTooltipPaddingLeft}: 0.875rem;\n\n ${tokens.textFieldTooltipMinHeight}: 2.5rem;\n ${tokens.textFieldTooltipBorderRadius}: 0.625rem;\n\n ${tokens.textFieldTooltipTextFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldTooltipTextFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldTooltipTextFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldTooltipTextFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldTooltipContentLeftMargin}: 0.375rem;\n\n ${tokens.textFieldTooltipArrowMaskWidth}: 1.25rem;\n ${tokens.textFieldTooltipArrowMaskHeight}: 1.25rem;\n ${tokens.textFieldTooltipArrowMaskImage}: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==\");\n ${tokens.textFieldTooltipArrowHeight}: 0.5rem;\n ${tokens.textFieldTooltipArrowEdgeMargin}: 0.625rem;\n `,\n s: css`\n ${tokens.textFieldTooltipPaddingTop}: 0.5rem;\n ${tokens.textFieldTooltipPaddingRight}: 0.75rem;\n ${tokens.textFieldTooltipPaddingBottom}: 0.5rem;\n ${tokens.textFieldTooltipPaddingLeft}: 0.75rem;\n\n ${tokens.textFieldTooltipMinHeight}: 2rem;\n ${tokens.textFieldTooltipBorderRadius}: 0.5rem;\n\n ${tokens.textFieldTooltipTextFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldTooltipTextFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldTooltipTextFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldTooltipTextFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldTooltipContentLeftMargin}: 0.25rem;\n\n ${tokens.textFieldTooltipArrowMaskWidth}: 1rem;\n ${tokens.textFieldTooltipArrowMaskHeight}: 1rem;\n ${tokens.textFieldTooltipArrowMaskImage}: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+\");\n ${tokens.textFieldTooltipArrowHeight}: 0.375rem;\n ${tokens.textFieldTooltipArrowEdgeMargin}: 0.5625rem;\n `,\n },\n disabled: {\n true: css`\n ${tokens.textFieldDisabledOpacity}: 0.4;\n `,\n },\n readOnly: {\n true: css`\n ${tokens.textFieldColorReadOnly}: ${textPrimary};\n ${tokens.textFieldReadOnlyOpacity}: 0.1;\n ${tokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;\n ${tokens.textFieldBackgroundColorReadOnly}: ${surfaceTransparentPrimary};\n ${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};\n ${tokens.textFieldLeftHelperColorReadOnly}: ${textSecondary};\n ${tokens.textFieldLabelColorReadOnly}: ${textPrimary};\n ${tokens.textFieldDividerColorReadOnly}: ${surfaceTransparentPrimary};\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","labelPlacement","variations","default","positive","warning","negative","m","s","inner","outer","hintView","hintSize","disabled","true","readOnly"],"mappings":";;;;AA+BO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE;GACnB;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EAAO,UAyCN;AACDC,MAAAA,QAAQ,EAAA,SAyCP;AACDC,MAAAA,OAAO,EAAA,UAyCN;AACDC,MAAAA,QAAQ,EAAA;KA0CX;AACDN,IAAAA,IAAI,EAAE;AACFO,MAAAA,CAAC,EAAA,UA0EA;AACDC,MAAAA,CAAC,EAAA;KA2EJ;AACDP,IAAAA,cAAc,EAAE;AACZQ,MAAAA,KAAK,EAAA,UAQJ;AACDC,MAAAA,KAAK,EAAA;KACR;AACDC,IAAAA,QAAQ,EAAE;MACNR,SAAAA,EAAO;KAMV;AACDS,IAAAA,QAAQ,EAAE;AACNL,MAAAA,CAAC,EAAA,UAuBA;AACDC,MAAAA,CAAC,EAAA;KAwBJ;AACDK,IAAAA,QAAQ,EAAE;MACNC,MAAAA,EAAI;KAGP;AACDC,IAAAA,QAAQ,EAAE;MACND,MAAAA,EAAI;AAUR;AACJ;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"Autocomplete.config.js","sources":["../../../../../src-css/components/Autocomplete/Autocomplete.config.ts"],"sourcesContent":["import { css, autocompleteTokens as tokens } from '@salutejs/plasma-new-hope/css';\nimport {\n bodyM,\n bodyS,\n bodyXS,\n surfaceAccent,\n surfaceNegative,\n surfacePositive,\n surfaceSolidCard,\n surfaceSolidCardBrightness,\n surfaceTransparentNegative,\n surfaceTransparentNegativeActive,\n surfaceTransparentPositive,\n surfaceTransparentPositiveActive,\n surfaceTransparentPrimary,\n surfaceTransparentSecondary,\n surfaceTransparentTertiary,\n surfaceTransparentWarning,\n surfaceTransparentWarningActive,\n surfaceWarning,\n textAccent,\n textNegative,\n textPositive,\n textPrimary,\n textSecondary,\n textSecondaryActive,\n textSecondaryHover,\n textTertiary,\n textWarning,\n} from '@salutejs/sdds-themes/tokens/sdds_scan';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n default: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textPrimary};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textTertiary};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentPrimary};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentSecondary};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textSecondary};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceTransparentTertiary};\n ${tokens.textFieldDividerColorHover}: ${textSecondary};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n positive: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textPositive};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textPositive};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textPositive};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentPositive};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentPositiveActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textPositive};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfacePositive};\n ${tokens.textFieldDividerColorHover}: ${surfacePositive};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n warning: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textWarning};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textWarning};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textWarning};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentWarning};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentWarningActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textWarning};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceWarning};\n ${tokens.textFieldDividerColorHover}: ${surfaceWarning};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n negative: css`\n ${tokens.textFieldColor}: ${textPrimary};\n ${tokens.textFieldClearColor}: ${textNegative};\n\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};\n ${tokens.textFieldClearPlaceholderColor}: ${textNegative};\n ${tokens.textFieldClearPlaceholderColorFocus}: ${textNegative};\n\n ${tokens.textFieldBackgroundColor}: ${surfaceTransparentNegative};\n ${tokens.textFieldBackgroundColorFocus}: ${surfaceTransparentNegativeActive};\n ${tokens.textFieldCaretColor}: ${textAccent};\n ${tokens.textFieldTextBeforeColor}: ${textTertiary};\n ${tokens.textFieldTextAfterColor}: ${textTertiary};\n ${tokens.textFieldLabelColor}: ${textPrimary};\n ${tokens.textFieldLeftHelperColor}: ${textNegative};\n ${tokens.textFieldFocusColor}: ${textAccent};\n\n ${tokens.textFieldContentSlotColor}: ${textSecondary};\n ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};\n ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};\n\n ${tokens.focusColor}: ${surfaceAccent};\n ${tokens.textFieldIndicatorColor}: ${surfaceNegative};\n ${tokens.textFieldOptionalColor}: ${textTertiary};\n\n ${tokens.textFieldDividerColor}: ${surfaceNegative};\n ${tokens.textFieldDividerColorHover}: ${surfaceNegative};\n ${tokens.textFieldDividerColorFocus}: ${surfaceAccent};\n\n ${tokens.background}: ${surfaceSolidCard};\n ${tokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n ${tokens.itemBackground}: transparent;\n ${tokens.itemBackgroundHover}: ${surfaceTransparentSecondary};\n ${tokens.itemColor}: ${textPrimary};\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: ${textPrimary};\n\n ${tokens.textFieldHintIconColor}: ${textSecondary};\n `,\n },\n size: {\n m: css`\n ${tokens.textFieldHeight}: 3rem;\n ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem;\n ${tokens.textFieldBorderRadius}: 0.75rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.125rem 0.375rem -0.125rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.125rem -0.125rem -0.125rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.125rem -0.438rem -0.125rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: ${bodyM.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyM.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyM.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyM.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.625rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyM.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyM.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyM.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyM.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.312rem -2.813rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.312rem -2.188rem auto auto;\n\n ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldLabelInnerPadding}: 0.375rem 0 0.125rem 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.375rem 0 0.375rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.5rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.375rem auto auto -0.75rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.6875rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.25rem auto auto -0.875rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.25rem -0.875rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.25rem -2.488rem auto auto;\n\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.875rem 0.875rem 0.875rem 0.875rem;\n ${tokens.itemBorderRadius}: 0.625rem;\n\n ${tokens.itemFontFamily}: ${bodyM.fontFamily};\n ${tokens.itemFontSize}: ${bodyM.fontSize};\n ${tokens.itemFontStyle}: ${bodyM.fontStyle};\n ${tokens.itemFontWeight}: ${bodyM.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyM.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyM.lineHeight};\n\n ${tokens.emptyStatePadding}: 1.625rem 0.875rem 0.875rem 0.875rem;\n ${tokens.emptyStateGap}: 0.375rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.375rem;\n `,\n s: css`\n ${tokens.textFieldHeight}: 2.5rem;\n ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem;\n ${tokens.textFieldBorderRadius}: 0.625rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.1875rem -0.438rem -0.1875rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.438rem -0.438rem -0.438rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.5rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.062rem -2.688rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.062rem -2.188rem auto auto;\n\n ${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLeftHelperFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLeftHelperFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLeftHelperFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLeftHelperLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLeftHelperLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.375rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.238rem auto auto;\n\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.6875rem 0.75rem;\n ${tokens.itemBorderRadius}: 0.5rem;\n\n ${tokens.itemFontFamily}: ${bodyS.fontFamily};\n ${tokens.itemFontSize}: ${bodyS.fontSize};\n ${tokens.itemFontStyle}: ${bodyS.fontStyle};\n ${tokens.itemFontWeight}: ${bodyS.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.emptyStatePadding}: 1.375rem 0.625rem 0.625rem 0.625rem;\n ${tokens.emptyStateGap}: 0.25rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.25rem;\n `,\n },\n labelPlacement: {\n inner: css`\n ${tokens.textFieldPlaceholderColor}: ${textSecondary};\n ${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};\n `,\n outer: css``,\n },\n hintView: {\n default: css`\n ${tokens.textFieldTooltipBackgroundColor}: ${surfaceSolidCardBrightness};\n ${tokens.textFieldTooltipBoxShadow}: 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));\n ${tokens.textFieldTooltipColor}: ${textPrimary};\n ${tokens.textFieldTooltipArrowBackground}: ${surfaceSolidCard};\n `,\n },\n hintSize: {\n m: css`\n ${tokens.textFieldTooltipPaddingTop}: 0.6875rem;\n ${tokens.textFieldTooltipPaddingRight}: 0.875rem;\n ${tokens.textFieldTooltipPaddingBottom}: 0.6875rem;\n ${tokens.textFieldTooltipPaddingLeft}: 0.875rem;\n\n ${tokens.textFieldTooltipMinHeight}: 2.5rem;\n ${tokens.textFieldTooltipBorderRadius}: 0.625rem;\n\n ${tokens.textFieldTooltipTextFontFamily}: ${bodyS.fontFamily};\n ${tokens.textFieldTooltipTextFontSize}: ${bodyS.fontSize};\n ${tokens.textFieldTooltipTextFontStyle}: ${bodyS.fontStyle};\n ${tokens.textFieldTooltipTextFontWeight}: ${bodyS.fontWeight};\n ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyS.letterSpacing};\n ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyS.lineHeight};\n\n ${tokens.textFieldTooltipContentLeftMargin}: 0.375rem;\n\n ${tokens.textFieldTooltipArrowMaskWidth}: 1.25rem;\n ${tokens.textFieldTooltipArrowMaskHeight}: 1.25rem;\n ${tokens.textFieldTooltipArrowMaskImage}: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==\");\n ${tokens.textFieldTooltipArrowHeight}: 0.5rem;\n ${tokens.textFieldTooltipArrowEdgeMargin}: 0.625rem;\n `,\n s: css`\n ${tokens.textFieldTooltipPaddingTop}: 0.5rem;\n ${tokens.textFieldTooltipPaddingRight}: 0.75rem;\n ${tokens.textFieldTooltipPaddingBottom}: 0.5rem;\n ${tokens.textFieldTooltipPaddingLeft}: 0.75rem;\n\n ${tokens.textFieldTooltipMinHeight}: 2rem;\n ${tokens.textFieldTooltipBorderRadius}: 0.5rem;\n\n ${tokens.textFieldTooltipTextFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldTooltipTextFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldTooltipTextFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldTooltipTextFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldTooltipTextFontLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldTooltipTextFontLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldTooltipContentLeftMargin}: 0.25rem;\n\n ${tokens.textFieldTooltipArrowMaskWidth}: 1rem;\n ${tokens.textFieldTooltipArrowMaskHeight}: 1rem;\n ${tokens.textFieldTooltipArrowMaskImage}: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+\");\n ${tokens.textFieldTooltipArrowHeight}: 0.375rem;\n ${tokens.textFieldTooltipArrowEdgeMargin}: 0.5625rem;\n `,\n },\n disabled: {\n true: css`\n ${tokens.textFieldDisabledOpacity}: 0.4;\n `,\n },\n readOnly: {\n true: css`\n ${tokens.textFieldColorReadOnly}: ${textPrimary};\n ${tokens.textFieldReadOnlyOpacity}: 0.1;\n ${tokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;\n ${tokens.textFieldBackgroundColorReadOnly}: ${surfaceTransparentPrimary};\n ${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};\n ${tokens.textFieldLeftHelperColorReadOnly}: ${textSecondary};\n ${tokens.textFieldLabelColorReadOnly}: ${textPrimary};\n ${tokens.textFieldDividerColorReadOnly}: ${surfaceTransparentPrimary};\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","labelPlacement","variations","default","positive","warning","negative","m","s","inner","outer","hintView","hintSize","disabled","true","readOnly"],"mappings":";;;;AA+BO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE;GACnB;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EAAO,UAyCN;AACDC,MAAAA,QAAQ,EAAA,SAyCP;AACDC,MAAAA,OAAO,EAAA,UAyCN;AACDC,MAAAA,QAAQ,EAAA;KA0CX;AACDN,IAAAA,IAAI,EAAE;AACFO,MAAAA,CAAC,EAAA,UA0EA;AACDC,MAAAA,CAAC,EAAA;KA2EJ;AACDP,IAAAA,cAAc,EAAE;AACZQ,MAAAA,KAAK,EAAA,UAQJ;AACDC,MAAAA,KAAK,EAAA;KACR;AACDC,IAAAA,QAAQ,EAAE;MACNR,SAAAA,EAAO;KAMV;AACDS,IAAAA,QAAQ,EAAE;AACNL,MAAAA,CAAC,EAAA,UAuBA;AACDC,MAAAA,CAAC,EAAA;KAwBJ;AACDK,IAAAA,QAAQ,EAAE;MACNC,MAAAA,EAAI;KAGP;AACDC,IAAAA,QAAQ,EAAE;MACND,MAAAA,EAAI;AAUR;AACJ;AACJ;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
.p23ewyp{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5F5);--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,#F5F5F547);--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,#0DA8AB);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-positive,#24B23E);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#0DA8AB);--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,#0DA8AB);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F547);--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,#0DA8AB);--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,#F5F5F5F5);--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,#F5F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
3
3
|
.w19hpt9v{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5F5);--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,#F5F5F547);--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,#0DA8AB);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-warning,#FF7024);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#0DA8AB);--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,#0DA8AB);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F547);--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,#0DA8AB);--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,#F5F5F5F5);--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,#F5F5F5F5);--plasma-autocomplete-textfield__hint-icon-color:var(--text-secondary,#F5F5F58F);}
|
|
4
4
|
.nsso48m{--plasma-autocomplete-textfield-color:var(--text-primary,#F5F5F5F5);--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,#F5F5F547);--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,#0DA8AB);--plasma-autocomplete-textfield-before-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-after-text-color:var(--text-tertiary,#F5F5F547);--plasma-autocomplete-textfield-label-color:var(--text-primary,#F5F5F5F5);--plasma-autocomplete-textfield-left-helper-color:var(--text-negative,#FF3D51);--plasma-autocomplete-textfield-focus-color:var(--text-accent,#0DA8AB);--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,#0DA8AB);--plasma-autocomplete-textfield-indicator-color:var(--surface-negative,#FF293E);--plasma-autocomplete-textfield-optional-color:var(--text-tertiary,#F5F5F547);--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,#0DA8AB);--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,#F5F5F5F5);--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,#F5F5F5F5);--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-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.625rem;--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-
|
|
6
|
-
.sfonypc{--plasma-autocomplete-textfield-height:2.5rem;--plasma-autocomplete-textfield-padding:0.6875rem 0.875rem 0.6875rem 0.875rem;--plasma-autocomplete-textfield-border-radius:0.625rem;--plasma-autocomplete-textfield-left-content-margin:-0.1875rem 0.25rem -0.1875rem -0.125rem;--plasma-autocomplete-textfield-right-content-margin:-0.1875rem -0.125rem -0.1875rem 0.75rem;--plasma-autocomplete-textfield-right-content-with-hint-margin:-0.1875rem -0.438rem -0.1875rem 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-s-font-family);--plasma-autocomplete-textfield-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-textfield-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-textfield-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-textfield-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-textfield-line-height:var(--plasma-typo-body-s-line-height);--plasma-autocomplete-textfield-label-offset:0.5rem;--plasma-autocomplete-textfield-clear-label-offset:0.25rem;--plasma-autocomplete-textfield-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-autocomplete-textfield-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-textfield-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-textfield-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-textfield-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-textfield-label-line-height:var(--plasma-typo-body-s-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.062rem -2.688rem auto auto;--plasma-autocomplete-textfield__clear-hint-inner-label-placement-offset:0.062rem -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-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.625rem;--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
|
+
.sfonypc{--plasma-autocomplete-textfield-height:2.5rem;--plasma-autocomplete-textfield-padding:0.6875rem 0.875rem 0.6875rem 0.875rem;--plasma-autocomplete-textfield-border-radius:0.625rem;--plasma-autocomplete-textfield-left-content-margin:-0.1875rem 0.25rem -0.1875rem -0.125rem;--plasma-autocomplete-textfield-right-content-margin:-0.1875rem -0.125rem -0.1875rem 0.75rem;--plasma-autocomplete-textfield-right-content-with-hint-margin:-0.1875rem -0.438rem -0.1875rem 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-s-font-family);--plasma-autocomplete-textfield-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-textfield-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-textfield-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-textfield-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-textfield-line-height:var(--plasma-typo-body-s-line-height);--plasma-autocomplete-textfield-label-offset:0.5rem;--plasma-autocomplete-textfield-clear-label-offset:0.25rem;--plasma-autocomplete-textfield-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-autocomplete-textfield-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-textfield-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-textfield-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-textfield-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-textfield-label-line-height:var(--plasma-typo-body-s-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.062rem -2.688rem auto auto;--plasma-autocomplete-textfield__clear-hint-inner-label-placement-offset:0.062rem -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.3125rem 0 0 0;--plasma-autocomplete-textfield-placement-inner-content-padding:1.0625rem 0 0.3125rem 0;--plasma-autocomplete-textfield-indicator-size-inner:0.375rem;--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.3125rem auto auto -0.6875rem;--plasma-autocomplete-textfield-indicator-label-placement-inner-right:0 0 auto auto;--plasma-autocomplete-textfield-indicator-label-placement-outer-right:0.25rem -0.625rem auto auto;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner:1.063rem auto auto -0.75rem;--plasma-autocomplete-textfield-clear-indicator-label-placement-inner-right:1.063rem -0.75rem auto auto;--plasma-autocomplete-textfield-clear-indicator-hint-placement-inner-right:1.063rem -2.238rem auto auto;--plasma-autocomplete-border-radius:0.625rem;--plasma-autocomplete-padding:0.125rem;--plasma-autocomplete-item-padding:0.6875rem 0.75rem;--plasma-autocomplete-item-border-radius:0.5rem;--plasma-autocomplete-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-autocomplete-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-autocomplete-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-autocomplete-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-autocomplete-item-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-autocomplete-item-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-autocomplete-empty-state-padding:1.375rem 0.625rem 0.625rem 0.625rem;--plasma-autocomplete-empty-state-gap:0.25rem;--plasma-autocomplete-infinite-loader-spinner-size:1.5rem;--plasma-autocomplete-infinite-loader-gap:0.25rem;}
|
|
7
7
|
.i16l59bm{--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);}
|
|
8
8
|
|
|
9
9
|
.d53l11i{--plasma-autocomplete-textfield__tooltip-background-color:var(--surface-solid-card-brightness,#262626FF);--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,#F5F5F5F5);--plasma-autocomplete-textfield__tooltip-arrow-background:var(--surface-solid-card,#171717);}
|