@salutejs/sdds-serv 0.357.0-next-sbcom.0 → 0.357.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/dist/ai/css/cjs/components/_ai/Answer/Answer.config.js +26 -0
- package/dist/ai/css/cjs/components/_ai/Answer/Answer.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Answer/Answer.config_ssng5u.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Answer/Answer.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Answer/Answer.js +13 -0
- package/dist/ai/css/cjs/components/_ai/Answer/Answer.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.config.js +27 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.config_15ch87v.css +7 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.css +7 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.js +13 -0
- package/dist/ai/css/cjs/components/_ai/Container/Container.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.config.js +32 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.config_18fd5c8.css +12 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.css +12 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.js +13 -0
- package/dist/ai/css/cjs/components/_ai/Header/Header.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.config.js +26 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.config_nd9kvy.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.js +13 -0
- package/dist/ai/css/cjs/components/_ai/Input/Input.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.config.js +26 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.config_1ylbm3k.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.css +6 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.js +13 -0
- package/dist/ai/css/cjs/components/_ai/Markdown/Markdown.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.config.js +36 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.config.js.map +1 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.config_7pe2ik.css +13 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.css +13 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.js +13 -0
- package/dist/ai/css/cjs/components/_ai/UserMessage/UserMessage.js.map +1 -0
- package/dist/ai/css/cjs/index.css +55 -0
- package/dist/ai/css/cjs/index.js +26 -0
- package/dist/ai/css/cjs/index.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.config.js +22 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.config_ssng5u.css +6 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.css +6 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.js +8 -0
- package/dist/ai/css/es/components/_ai/Answer/Answer.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Container/Container.config.js +23 -0
- package/dist/ai/css/es/components/_ai/Container/Container.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Container/Container.config_15ch87v.css +7 -0
- package/dist/ai/css/es/components/_ai/Container/Container.css +7 -0
- package/dist/ai/css/es/components/_ai/Container/Container.js +8 -0
- package/dist/ai/css/es/components/_ai/Container/Container.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Header/Header.config.js +28 -0
- package/dist/ai/css/es/components/_ai/Header/Header.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Header/Header.config_18fd5c8.css +12 -0
- package/dist/ai/css/es/components/_ai/Header/Header.css +12 -0
- package/dist/ai/css/es/components/_ai/Header/Header.js +8 -0
- package/dist/ai/css/es/components/_ai/Header/Header.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Input/Input.config.js +22 -0
- package/dist/ai/css/es/components/_ai/Input/Input.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Input/Input.config_nd9kvy.css +6 -0
- package/dist/ai/css/es/components/_ai/Input/Input.css +6 -0
- package/dist/ai/css/es/components/_ai/Input/Input.js +8 -0
- package/dist/ai/css/es/components/_ai/Input/Input.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.config.js +22 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.config_1ylbm3k.css +6 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.css +6 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.js +8 -0
- package/dist/ai/css/es/components/_ai/Markdown/Markdown.js.map +1 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.config.js +32 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.config.js.map +1 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.config_7pe2ik.css +13 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.css +13 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.js +8 -0
- package/dist/ai/css/es/components/_ai/UserMessage/UserMessage.js.map +1 -0
- package/dist/ai/css/es/index.css +55 -0
- package/dist/ai/css/es/index.js +7 -0
- package/dist/ai/css/es/index.js.map +1 -0
- package/dist/ai/emotion/cjs/components/_ai/Answer/Answer.config.js +258 -0
- package/dist/ai/emotion/cjs/components/_ai/Answer/Answer.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/Answer/index.js +18 -0
- package/dist/ai/emotion/cjs/components/_ai/Container/Container.config.js +138 -0
- package/dist/ai/emotion/cjs/components/_ai/Container/Container.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/Container/index.js +18 -0
- package/dist/ai/emotion/cjs/components/_ai/Header/Header.config.js +231 -0
- package/dist/ai/emotion/cjs/components/_ai/Header/Header.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/Header/index.js +18 -0
- package/dist/ai/emotion/cjs/components/_ai/Input/Input.config.js +326 -0
- package/dist/ai/emotion/cjs/components/_ai/Input/Input.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/Input/index.js +18 -0
- package/dist/ai/emotion/cjs/components/_ai/Markdown/Markdown.config.js +93 -0
- package/dist/ai/emotion/cjs/components/_ai/Markdown/Markdown.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/Markdown/index.js +18 -0
- package/dist/ai/emotion/cjs/components/_ai/UserMessage/UserMessage.config.js +397 -0
- package/dist/ai/emotion/cjs/components/_ai/UserMessage/UserMessage.js +22 -0
- package/dist/ai/emotion/cjs/components/_ai/UserMessage/index.js +18 -0
- package/dist/ai/emotion/cjs/index.js +23 -0
- package/dist/ai/emotion/es/components/_ai/Answer/Answer.config.js +248 -0
- package/dist/ai/emotion/es/components/_ai/Answer/Answer.js +4 -0
- package/dist/ai/emotion/es/components/_ai/Answer/index.js +1 -0
- package/dist/ai/emotion/es/components/_ai/Container/Container.config.js +128 -0
- package/dist/ai/emotion/es/components/_ai/Container/Container.js +4 -0
- package/dist/ai/emotion/es/components/_ai/Container/index.js +1 -0
- package/dist/ai/emotion/es/components/_ai/Header/Header.config.js +221 -0
- package/dist/ai/emotion/es/components/_ai/Header/Header.js +4 -0
- package/dist/ai/emotion/es/components/_ai/Header/index.js +1 -0
- package/dist/ai/emotion/es/components/_ai/Input/Input.config.js +316 -0
- package/dist/ai/emotion/es/components/_ai/Input/Input.js +4 -0
- package/dist/ai/emotion/es/components/_ai/Input/index.js +1 -0
- package/dist/ai/emotion/es/components/_ai/Markdown/Markdown.config.js +83 -0
- package/dist/ai/emotion/es/components/_ai/Markdown/Markdown.js +4 -0
- package/dist/ai/emotion/es/components/_ai/Markdown/index.js +1 -0
- package/dist/ai/emotion/es/components/_ai/UserMessage/UserMessage.config.js +387 -0
- package/dist/ai/emotion/es/components/_ai/UserMessage/UserMessage.js +4 -0
- package/dist/ai/emotion/es/components/_ai/UserMessage/index.js +1 -0
- package/dist/ai/emotion/es/index.js +6 -0
- package/dist/ai/styled-components/cjs/components/_ai/Answer/Answer.config.js +258 -0
- package/dist/ai/styled-components/cjs/components/_ai/Answer/Answer.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/Answer/index.js +18 -0
- package/dist/ai/styled-components/cjs/components/_ai/Container/Container.config.js +138 -0
- package/dist/ai/styled-components/cjs/components/_ai/Container/Container.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/Container/index.js +18 -0
- package/dist/ai/styled-components/cjs/components/_ai/Header/Header.config.js +231 -0
- package/dist/ai/styled-components/cjs/components/_ai/Header/Header.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/Header/index.js +18 -0
- package/dist/ai/styled-components/cjs/components/_ai/Input/Input.config.js +326 -0
- package/dist/ai/styled-components/cjs/components/_ai/Input/Input.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/Input/index.js +18 -0
- package/dist/ai/styled-components/cjs/components/_ai/Markdown/Markdown.config.js +93 -0
- package/dist/ai/styled-components/cjs/components/_ai/Markdown/Markdown.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/Markdown/index.js +18 -0
- package/dist/ai/styled-components/cjs/components/_ai/UserMessage/UserMessage.config.js +397 -0
- package/dist/ai/styled-components/cjs/components/_ai/UserMessage/UserMessage.js +22 -0
- package/dist/ai/styled-components/cjs/components/_ai/UserMessage/index.js +18 -0
- package/dist/ai/styled-components/cjs/index.js +23 -0
- package/dist/ai/styled-components/es/components/_ai/Answer/Answer.config.js +248 -0
- package/dist/ai/styled-components/es/components/_ai/Answer/Answer.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/Answer/index.js +1 -0
- package/dist/ai/styled-components/es/components/_ai/Container/Container.config.js +128 -0
- package/dist/ai/styled-components/es/components/_ai/Container/Container.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/Container/index.js +1 -0
- package/dist/ai/styled-components/es/components/_ai/Header/Header.config.js +221 -0
- package/dist/ai/styled-components/es/components/_ai/Header/Header.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/Header/index.js +1 -0
- package/dist/ai/styled-components/es/components/_ai/Input/Input.config.js +316 -0
- package/dist/ai/styled-components/es/components/_ai/Input/Input.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/Input/index.js +1 -0
- package/dist/ai/styled-components/es/components/_ai/Markdown/Markdown.config.js +83 -0
- package/dist/ai/styled-components/es/components/_ai/Markdown/Markdown.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/Markdown/index.js +1 -0
- package/dist/ai/styled-components/es/components/_ai/UserMessage/UserMessage.config.js +387 -0
- package/dist/ai/styled-components/es/components/_ai/UserMessage/UserMessage.js +4 -0
- package/dist/ai/styled-components/es/components/_ai/UserMessage/index.js +1 -0
- package/dist/ai/styled-components/es/index.js +6 -0
- 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_1wg59f8.css +15 -0
- package/dist/css/cjs/components/Autocomplete/Autocomplete.css +14 -14
- 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_14hj0z6.css +18 -0
- package/dist/css/cjs/components/Combobox/Combobox.css +17 -17
- package/dist/css/cjs/components/Mask/Mask.css +42 -42
- 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_1voyfk8.css +24 -0
- package/dist/css/cjs/components/Select/Select.css +23 -23
- package/dist/css/cjs/components/TextField/TextField.clear.config.js +1 -1
- package/dist/css/cjs/components/TextField/TextField.clear.config.js.map +1 -1
- package/dist/css/cjs/components/TextField/TextField.clear.config_lfk4f.css +22 -0
- 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_1szcbc1.css +22 -0
- 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_1epvsxk.css → TextFieldGroup.config_k97yvi.css} +4 -4
- package/dist/css/cjs/components/TextFieldGroup/TextFieldGroup.css +9 -9
- package/dist/css/cjs/index.css +112 -112
- 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_1wg59f8.css +15 -0
- package/dist/css/es/components/Autocomplete/Autocomplete.css +14 -14
- 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_14hj0z6.css +18 -0
- package/dist/css/es/components/Combobox/Combobox.css +17 -17
- package/dist/css/es/components/Mask/Mask.css +42 -42
- 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_1voyfk8.css +24 -0
- package/dist/css/es/components/Select/Select.css +23 -23
- package/dist/css/es/components/TextField/TextField.clear.config.js +1 -1
- package/dist/css/es/components/TextField/TextField.clear.config.js.map +1 -1
- package/dist/css/es/components/TextField/TextField.clear.config_lfk4f.css +22 -0
- 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_1szcbc1.css +22 -0
- 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_1epvsxk.css → TextFieldGroup.config_k97yvi.css} +4 -4
- package/dist/css/es/components/TextFieldGroup/TextFieldGroup.css +9 -9
- package/dist/css/es/index.css +112 -112
- package/dist/emotion/cjs/ai.js +23 -0
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +265 -264
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +401 -400
- package/dist/emotion/cjs/components/Select/Select.config.js +491 -490
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +415 -414
- package/dist/emotion/cjs/components/TextField/TextField.config.js +424 -423
- package/dist/emotion/cjs/components/TextFieldGroup/TextFieldGroup.config.js +105 -104
- package/dist/emotion/es/ai.js +6 -0
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +265 -264
- package/dist/emotion/es/components/Combobox/Combobox.config.js +401 -400
- package/dist/emotion/es/components/Select/Select.config.js +491 -490
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +415 -414
- package/dist/emotion/es/components/TextField/TextField.config.js +424 -423
- package/dist/emotion/es/components/TextFieldGroup/TextFieldGroup.config.js +105 -104
- package/dist/styled-components/cjs/ai.js +23 -0
- package/dist/styled-components/cjs/components/Autocomplete/Autocomplete.config.js +265 -264
- package/dist/styled-components/cjs/components/Combobox/Combobox.config.js +401 -400
- package/dist/styled-components/cjs/components/Select/Select.config.js +491 -490
- package/dist/styled-components/cjs/components/TextField/TextField.clear.config.js +415 -414
- package/dist/styled-components/cjs/components/TextField/TextField.config.js +424 -423
- package/dist/styled-components/cjs/components/TextFieldGroup/TextFieldGroup.config.js +105 -104
- package/dist/styled-components/es/ai.js +6 -0
- package/dist/styled-components/es/components/Autocomplete/Autocomplete.config.js +265 -264
- package/dist/styled-components/es/components/Combobox/Combobox.config.js +401 -400
- package/dist/styled-components/es/components/Select/Select.config.js +491 -490
- package/dist/styled-components/es/components/TextField/TextField.clear.config.js +415 -414
- package/dist/styled-components/es/components/TextField/TextField.config.js +424 -423
- package/dist/styled-components/es/components/TextFieldGroup/TextFieldGroup.config.js +105 -104
- package/package.json +33 -19
- package/types/ai.d.ts +6 -0
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
- package/types/components/Avatar/Avatar.d.ts +4 -4
- package/types/components/CodeArea/CodeArea.d.ts +4 -44
- package/types/components/Combobox/Combobox.d.ts +16 -8
- package/types/components/DatePicker/DatePicker.d.ts +8 -0
- package/types/components/DateTimePicker/DateTimePicker.d.ts +8 -0
- package/types/components/Mask/Mask.d.ts +16 -0
- package/types/components/Rating/Rating.d.ts +1 -0
- package/types/components/Select/Select.d.ts +32 -16
- package/types/components/Slider/Slider.d.ts +6 -6
- package/types/components/Tabs/TabItem.d.ts +2 -2
- package/types/components/TextField/TextField.d.ts +32 -0
- package/types/components/TextFieldSlider/TextFieldSlider.d.ts +8 -0
- package/types/components/TimePicker/TimePicker.d.ts +2 -0
- package/types/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/types/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/types/components/_ai/Answer/Answer.config.d.ts +18 -0
- package/types/components/_ai/Answer/Answer.d.ts +35 -0
- package/types/components/_ai/Answer/index.d.ts +1 -0
- package/types/components/_ai/Container/Container.config.d.ts +19 -0
- package/types/components/_ai/Container/Container.d.ts +38 -0
- package/types/components/_ai/Container/index.d.ts +1 -0
- package/types/components/_ai/Header/Header.config.d.ts +24 -0
- package/types/components/_ai/Header/Header.d.ts +53 -0
- package/types/components/_ai/Header/index.d.ts +1 -0
- package/types/components/_ai/Input/Input.config.d.ts +18 -0
- package/types/components/_ai/Input/Input.d.ts +35 -0
- package/types/components/_ai/Input/index.d.ts +1 -0
- package/types/components/_ai/Markdown/Markdown.config.d.ts +18 -0
- package/types/components/_ai/Markdown/Markdown.d.ts +35 -0
- package/types/components/_ai/Markdown/index.d.ts +1 -0
- package/types/components/_ai/UserMessage/UserMessage.config.d.ts +28 -0
- package/types/components/_ai/UserMessage/UserMessage.d.ts +62 -0
- package/types/components/_ai/UserMessage/index.d.ts +1 -0
- package/dist/css/cjs/components/Autocomplete/Autocomplete.config_utaqwg.css +0 -15
- package/dist/css/cjs/components/Combobox/Combobox.config_1xuwmzj.css +0 -18
- package/dist/css/cjs/components/Select/Select.config_xa636n.css +0 -24
- package/dist/css/cjs/components/TextField/TextField.clear.config_1rp41vj.css +0 -22
- package/dist/css/cjs/components/TextField/TextField.config_spc8kn.css +0 -22
- package/dist/css/es/components/Autocomplete/Autocomplete.config_utaqwg.css +0 -15
- package/dist/css/es/components/Combobox/Combobox.config_1xuwmzj.css +0 -18
- package/dist/css/es/components/Select/Select.config_xa636n.css +0 -24
- package/dist/css/es/components/TextField/TextField.clear.config_1rp41vj.css +0 -22
- package/dist/css/es/components/TextField/TextField.config_spc8kn.css +0 -22
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
import { css, userMessageTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
|
|
2
|
+
import { bodyL, bodyM, bodyS, bodyXS, surfaceSolidCard, surfaceSolidSecondary, surfaceSolidTertiary, surfaceTransparentAccent, surfaceTransparentNegative, surfaceTransparentPositive, surfaceTransparentPrimary, surfaceTransparentPrimaryActive, surfaceTransparentPrimaryHover, surfaceTransparentTertiary, surfaceTransparentTertiaryActive, surfaceTransparentTertiaryHover, surfaceTransparentWarning, textAccent, textPrimary, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_serv';
|
|
3
|
+
export const config = {
|
|
4
|
+
defaults: {
|
|
5
|
+
view: 'default',
|
|
6
|
+
size: 'm',
|
|
7
|
+
fileContnentVew: 'default'
|
|
8
|
+
},
|
|
9
|
+
variations: {
|
|
10
|
+
view: {
|
|
11
|
+
default: css`
|
|
12
|
+
${tokens.backgroundColor}: ${surfaceSolidCard};
|
|
13
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
14
|
+
|
|
15
|
+
${tokens.caretColor}: ${textAccent};
|
|
16
|
+
${tokens.textColor}: ${textPrimary};
|
|
17
|
+
|
|
18
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
19
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
20
|
+
|
|
21
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
22
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
23
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
24
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
25
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
26
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
27
|
+
`,
|
|
28
|
+
secondary: css`
|
|
29
|
+
${tokens.backgroundColor}: ${surfaceSolidSecondary};
|
|
30
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
31
|
+
|
|
32
|
+
${tokens.caretColor}: ${textAccent};
|
|
33
|
+
${tokens.textColor}: ${textPrimary};
|
|
34
|
+
|
|
35
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
36
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
37
|
+
|
|
38
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
39
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
40
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
41
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
42
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
43
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
44
|
+
`,
|
|
45
|
+
accent: css`
|
|
46
|
+
${tokens.backgroundColor}: ${surfaceTransparentAccent};
|
|
47
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
48
|
+
|
|
49
|
+
${tokens.caretColor}: ${textAccent};
|
|
50
|
+
${tokens.textColor}: ${textPrimary};
|
|
51
|
+
|
|
52
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
53
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
54
|
+
|
|
55
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
56
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
57
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
58
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
59
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
60
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
61
|
+
`,
|
|
62
|
+
positive: css`
|
|
63
|
+
${tokens.backgroundColor}: ${surfaceTransparentPositive};
|
|
64
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
65
|
+
|
|
66
|
+
${tokens.caretColor}: ${textAccent};
|
|
67
|
+
${tokens.textColor}: ${textPrimary};
|
|
68
|
+
|
|
69
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
70
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
71
|
+
|
|
72
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
73
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
74
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
75
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
76
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
77
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
78
|
+
`,
|
|
79
|
+
negative: css`
|
|
80
|
+
${tokens.backgroundColor}: ${surfaceTransparentNegative};
|
|
81
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
82
|
+
|
|
83
|
+
${tokens.caretColor}: ${textAccent};
|
|
84
|
+
${tokens.textColor}: ${textPrimary};
|
|
85
|
+
|
|
86
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
87
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
88
|
+
|
|
89
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
90
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
91
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
92
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
93
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
94
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
95
|
+
`,
|
|
96
|
+
warning: css`
|
|
97
|
+
${tokens.backgroundColor}: ${surfaceTransparentWarning};
|
|
98
|
+
${tokens.backgroundColorEditing}: ${surfaceSolidTertiary};
|
|
99
|
+
|
|
100
|
+
${tokens.caretColor}: ${textAccent};
|
|
101
|
+
${tokens.textColor}: ${textPrimary};
|
|
102
|
+
|
|
103
|
+
${tokens.fileItemTitleColor}: ${textPrimary};
|
|
104
|
+
${tokens.fileItemSubtitleColor}: ${textSecondary};
|
|
105
|
+
|
|
106
|
+
${tokens.scrollbarThumbBackgroundColor}: ${surfaceTransparentTertiary};
|
|
107
|
+
${tokens.scrollbarThumbBackgroundColorHover}: ${surfaceTransparentTertiaryHover};
|
|
108
|
+
${tokens.scrollbarThumbBackgroundColorActive}: ${surfaceTransparentTertiaryActive};
|
|
109
|
+
${tokens.scrollbarTrackBackgroundColor}: ${surfaceTransparentPrimary};
|
|
110
|
+
${tokens.scrollbarTrackBackgroundColorActive}: ${surfaceTransparentPrimaryActive};
|
|
111
|
+
${tokens.scrollbarTrackBackgroundColorHover}: ${surfaceTransparentPrimaryHover};
|
|
112
|
+
`
|
|
113
|
+
},
|
|
114
|
+
size: {
|
|
115
|
+
xl: css`
|
|
116
|
+
${tokens.bubblePadding}: 1.313rem 1.125rem;
|
|
117
|
+
${tokens.bubbleBorderRadius}: 1rem;
|
|
118
|
+
${tokens.bubbleGap}: 1rem;
|
|
119
|
+
|
|
120
|
+
${tokens.textAreaHeight}: 1.375rem;
|
|
121
|
+
${tokens.textAreaMinHeight}: 1.375rem;
|
|
122
|
+
|
|
123
|
+
${tokens.scrollbarWidth}: 0.188rem;
|
|
124
|
+
${tokens.scrollbarBorderWidth}: 0.063rem;
|
|
125
|
+
|
|
126
|
+
${tokens.textFontFamily}: ${bodyL.fontFamily};
|
|
127
|
+
${tokens.textFontSize}: ${bodyL.fontSize};
|
|
128
|
+
${tokens.textFontStyle}: ${bodyL.fontStyle};
|
|
129
|
+
${tokens.textFontWeight}: ${bodyL.fontWeight};
|
|
130
|
+
${tokens.textLetterSpacing}: ${bodyL.letterSpacing};
|
|
131
|
+
${tokens.textLineHeight}: ${bodyL.lineHeight};
|
|
132
|
+
|
|
133
|
+
${tokens.actionsGap}: 0.5rem;
|
|
134
|
+
${tokens.actionsEditingGap}: 0.125rem;
|
|
135
|
+
${tokens.actionsMarginTop}: 0.75rem;
|
|
136
|
+
|
|
137
|
+
${tokens.attachmentMaxWidth}: 13.75rem;
|
|
138
|
+
|
|
139
|
+
${tokens.fileContentBorderRadius}: 1rem;
|
|
140
|
+
${tokens.fileContentPadding}: 0.75rem 0.875rem;
|
|
141
|
+
${tokens.fileContentGap}: 0.75rem;
|
|
142
|
+
${tokens.fileContentMarginBottom}: 0.625rem;
|
|
143
|
+
|
|
144
|
+
${tokens.fileItemHeight}: 2.5rem;
|
|
145
|
+
${tokens.fileItemGap}: 0.75rem;
|
|
146
|
+
${tokens.fileItemTextboxGap}: 0.125rem;
|
|
147
|
+
|
|
148
|
+
${tokens.fileItemTitleFontFamily}: ${bodyL.fontFamily};
|
|
149
|
+
${tokens.fileItemTitleFontSize}: ${bodyL.fontSize};
|
|
150
|
+
${tokens.fileItemTitleFontStyle}: ${bodyL.fontStyle};
|
|
151
|
+
${tokens.fileItemTitleFontWeight}: ${bodyL.fontWeight};
|
|
152
|
+
${tokens.fileItemTitleLetterSpacing}: ${bodyL.letterSpacing};
|
|
153
|
+
${tokens.fileItemTitleLineHeight}: ${bodyL.lineHeight};
|
|
154
|
+
|
|
155
|
+
${tokens.fileItemSubtitleFontFamily}: ${bodyXS.fontFamily};
|
|
156
|
+
${tokens.fileItemSubtitleFontSize}: ${bodyXS.fontSize};
|
|
157
|
+
${tokens.fileItemSubtitleFontStyle}: ${bodyXS.fontStyle};
|
|
158
|
+
${tokens.fileItemSubtitleFontWeight}: ${bodyXS.fontWeight};
|
|
159
|
+
${tokens.fileItemSubtitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
160
|
+
${tokens.fileItemSubtitleLineHeight}: ${bodyXS.lineHeight};
|
|
161
|
+
|
|
162
|
+
${tokens.fileThumbSize}: 2.5rem;
|
|
163
|
+
${tokens.fileThumbRadius}: 0.625rem;
|
|
164
|
+
|
|
165
|
+
${tokens.imageContentBorderRadius}: 1rem;
|
|
166
|
+
`,
|
|
167
|
+
l: css`
|
|
168
|
+
${tokens.bubblePadding}: 1.063rem 1rem;
|
|
169
|
+
${tokens.bubbleBorderRadius}: 0.875rem;
|
|
170
|
+
${tokens.bubbleGap}: 1rem;
|
|
171
|
+
|
|
172
|
+
${tokens.textAreaHeight}: 1.375rem;
|
|
173
|
+
${tokens.textAreaMinHeight}: 1.375rem;
|
|
174
|
+
|
|
175
|
+
${tokens.scrollbarWidth}: 0.188rem;
|
|
176
|
+
${tokens.scrollbarBorderWidth}: 0.063rem;
|
|
177
|
+
|
|
178
|
+
${tokens.textFontFamily}: ${bodyL.fontFamily};
|
|
179
|
+
${tokens.textFontSize}: ${bodyL.fontSize};
|
|
180
|
+
${tokens.textFontStyle}: ${bodyL.fontStyle};
|
|
181
|
+
${tokens.textFontWeight}: ${bodyL.fontWeight};
|
|
182
|
+
${tokens.textLetterSpacing}: ${bodyL.letterSpacing};
|
|
183
|
+
${tokens.textLineHeight}: ${bodyL.lineHeight};
|
|
184
|
+
|
|
185
|
+
${tokens.actionsGap}: 0.5rem;
|
|
186
|
+
${tokens.actionsEditingGap}: 0.125rem;
|
|
187
|
+
${tokens.actionsMarginTop}: 0.75rem;
|
|
188
|
+
|
|
189
|
+
${tokens.attachmentMaxWidth}: 13.75rem;
|
|
190
|
+
|
|
191
|
+
${tokens.fileContentBorderRadius}: 0.875rem;
|
|
192
|
+
${tokens.fileContentPadding}: 0.5rem 0.625rem;
|
|
193
|
+
${tokens.fileContentGap}: 0.625rem;
|
|
194
|
+
${tokens.fileContentMarginBottom}: 0.625rem;
|
|
195
|
+
|
|
196
|
+
${tokens.fileItemHeight}: 2.5rem;
|
|
197
|
+
${tokens.fileItemGap}: 0.625rem;
|
|
198
|
+
${tokens.fileItemTextboxGap}: 0.125rem;
|
|
199
|
+
|
|
200
|
+
${tokens.fileItemTitleFontFamily}: ${bodyM.fontFamily};
|
|
201
|
+
${tokens.fileItemTitleFontSize}: ${bodyM.fontSize};
|
|
202
|
+
${tokens.fileItemTitleFontStyle}: ${bodyM.fontStyle};
|
|
203
|
+
${tokens.fileItemTitleFontWeight}: ${bodyM.fontWeight};
|
|
204
|
+
${tokens.fileItemTitleLetterSpacing}: ${bodyM.letterSpacing};
|
|
205
|
+
${tokens.fileItemTitleLineHeight}: ${bodyM.lineHeight};
|
|
206
|
+
|
|
207
|
+
${tokens.fileItemSubtitleFontFamily}: ${bodyXS.fontFamily};
|
|
208
|
+
${tokens.fileItemSubtitleFontSize}: ${bodyXS.fontSize};
|
|
209
|
+
${tokens.fileItemSubtitleFontStyle}: ${bodyXS.fontStyle};
|
|
210
|
+
${tokens.fileItemSubtitleFontWeight}: ${bodyXS.fontWeight};
|
|
211
|
+
${tokens.fileItemSubtitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
212
|
+
${tokens.fileItemSubtitleLineHeight}: ${bodyXS.lineHeight};
|
|
213
|
+
|
|
214
|
+
${tokens.fileThumbSize}: 2.25rem;
|
|
215
|
+
${tokens.fileThumbRadius}: 0.375rem;
|
|
216
|
+
|
|
217
|
+
${tokens.imageContentBorderRadius}: 0.875rem;
|
|
218
|
+
`,
|
|
219
|
+
m: css`
|
|
220
|
+
${tokens.bubblePadding}: 0.875rem;
|
|
221
|
+
${tokens.bubbleBorderRadius}: 0.75rem;
|
|
222
|
+
${tokens.bubbleGap}: 0.875rem;
|
|
223
|
+
|
|
224
|
+
${tokens.textAreaHeight}: 1.25rem;
|
|
225
|
+
${tokens.textAreaMinHeight}: 1.25rem;
|
|
226
|
+
|
|
227
|
+
${tokens.scrollbarWidth}: 0.188rem;
|
|
228
|
+
${tokens.scrollbarBorderWidth}: 0.063rem;
|
|
229
|
+
|
|
230
|
+
${tokens.textFontFamily}: ${bodyM.fontFamily};
|
|
231
|
+
${tokens.textFontSize}: ${bodyM.fontSize};
|
|
232
|
+
${tokens.textFontStyle}: ${bodyM.fontStyle};
|
|
233
|
+
${tokens.textFontWeight}: ${bodyM.fontWeight};
|
|
234
|
+
${tokens.textLetterSpacing}: ${bodyM.letterSpacing};
|
|
235
|
+
${tokens.textLineHeight}: ${bodyM.lineHeight};
|
|
236
|
+
|
|
237
|
+
${tokens.actionsGap}: 0.5rem;
|
|
238
|
+
${tokens.actionsEditingGap}: 0.125rem;
|
|
239
|
+
${tokens.actionsMarginTop}: 0.75rem;
|
|
240
|
+
|
|
241
|
+
${tokens.attachmentMaxWidth}: 10rem;
|
|
242
|
+
|
|
243
|
+
${tokens.fileContentBorderRadius}: 0.75rem;
|
|
244
|
+
${tokens.fileContentPadding}: 0.438rem 0.5rem;
|
|
245
|
+
${tokens.fileContentGap}: 0.5rem;
|
|
246
|
+
${tokens.fileContentMarginBottom}: 0.5rem;
|
|
247
|
+
|
|
248
|
+
${tokens.fileItemHeight}: 2.5rem;
|
|
249
|
+
${tokens.fileItemGap}: 0.5rem;
|
|
250
|
+
${tokens.fileItemTextboxGap}: 0.125rem;
|
|
251
|
+
|
|
252
|
+
${tokens.fileItemTitleFontFamily}: ${bodyS.fontFamily};
|
|
253
|
+
${tokens.fileItemTitleFontSize}: ${bodyS.fontSize};
|
|
254
|
+
${tokens.fileItemTitleFontStyle}: ${bodyS.fontStyle};
|
|
255
|
+
${tokens.fileItemTitleFontWeight}: ${bodyS.fontWeight};
|
|
256
|
+
${tokens.fileItemTitleLetterSpacing}: ${bodyS.letterSpacing};
|
|
257
|
+
${tokens.fileItemTitleLineHeight}: ${bodyS.lineHeight};
|
|
258
|
+
|
|
259
|
+
${tokens.fileItemSubtitleFontFamily}: ${bodyXS.fontFamily};
|
|
260
|
+
${tokens.fileItemSubtitleFontSize}: ${bodyXS.fontSize};
|
|
261
|
+
${tokens.fileItemSubtitleFontStyle}: ${bodyXS.fontStyle};
|
|
262
|
+
${tokens.fileItemSubtitleFontWeight}: ${bodyXS.fontWeight};
|
|
263
|
+
${tokens.fileItemSubtitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
264
|
+
${tokens.fileItemSubtitleLineHeight}: ${bodyXS.lineHeight};
|
|
265
|
+
|
|
266
|
+
${tokens.fileThumbSize}: 2rem;
|
|
267
|
+
${tokens.fileThumbRadius}: 0.375rem;
|
|
268
|
+
|
|
269
|
+
${tokens.imageContentBorderRadius}: 0.75rem;
|
|
270
|
+
`,
|
|
271
|
+
s: css`
|
|
272
|
+
${tokens.bubblePadding}: 0.688rem 0.75rem;
|
|
273
|
+
${tokens.bubbleBorderRadius}: 0.625rem;
|
|
274
|
+
${tokens.bubbleGap}: 0.875rem;
|
|
275
|
+
|
|
276
|
+
${tokens.textAreaHeight}: 1.125rem;
|
|
277
|
+
${tokens.textAreaMinHeight}: 1.125rem;
|
|
278
|
+
|
|
279
|
+
${tokens.scrollbarWidth}: 0.188rem;
|
|
280
|
+
${tokens.scrollbarBorderWidth}: 0.063rem;
|
|
281
|
+
|
|
282
|
+
${tokens.textFontFamily}: ${bodyS.fontFamily};
|
|
283
|
+
${tokens.textFontSize}: ${bodyS.fontSize};
|
|
284
|
+
${tokens.textFontStyle}: ${bodyS.fontStyle};
|
|
285
|
+
${tokens.textFontWeight}: ${bodyS.fontWeight};
|
|
286
|
+
${tokens.textLetterSpacing}: ${bodyS.letterSpacing};
|
|
287
|
+
${tokens.textLineHeight}: ${bodyS.lineHeight};
|
|
288
|
+
|
|
289
|
+
${tokens.actionsGap}: 0.5rem;
|
|
290
|
+
${tokens.actionsEditingGap}: 0.125rem;
|
|
291
|
+
${tokens.actionsMarginTop}: 0.75rem;
|
|
292
|
+
|
|
293
|
+
${tokens.attachmentMaxWidth}: 10rem;
|
|
294
|
+
|
|
295
|
+
${tokens.fileContentBorderRadius}: 0.625rem;
|
|
296
|
+
${tokens.fileContentPadding}: 0.313rem 0.375rem;
|
|
297
|
+
${tokens.fileContentGap}: 0.375rem;
|
|
298
|
+
${tokens.fileContentMarginBottom}: 0.375rem;
|
|
299
|
+
|
|
300
|
+
${tokens.fileItemHeight}: 1.875rem;
|
|
301
|
+
${tokens.fileItemGap}: 0.375rem;
|
|
302
|
+
${tokens.fileItemTextboxGap}: 0.125rem;
|
|
303
|
+
|
|
304
|
+
${tokens.fileItemTitleFontFamily}: ${bodyXS.fontFamily};
|
|
305
|
+
${tokens.fileItemTitleFontSize}: ${bodyXS.fontSize};
|
|
306
|
+
${tokens.fileItemTitleFontStyle}: ${bodyXS.fontStyle};
|
|
307
|
+
${tokens.fileItemTitleFontWeight}: ${bodyXS.fontWeight};
|
|
308
|
+
${tokens.fileItemTitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
309
|
+
${tokens.fileItemTitleLineHeight}: ${bodyXS.lineHeight};
|
|
310
|
+
|
|
311
|
+
${tokens.fileItemSubtitleFontFamily}: ${bodyXS.fontFamily};
|
|
312
|
+
${tokens.fileItemSubtitleFontSize}: ${bodyXS.fontSize};
|
|
313
|
+
${tokens.fileItemSubtitleFontStyle}: ${bodyXS.fontStyle};
|
|
314
|
+
${tokens.fileItemSubtitleFontWeight}: ${bodyXS.fontWeight};
|
|
315
|
+
${tokens.fileItemSubtitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
316
|
+
${tokens.fileItemSubtitleLineHeight}: ${bodyXS.lineHeight};
|
|
317
|
+
|
|
318
|
+
${tokens.fileThumbSize}: 1.75rem;
|
|
319
|
+
${tokens.fileThumbRadius}: 0.25rem;
|
|
320
|
+
|
|
321
|
+
${tokens.imageContentBorderRadius}: 0.625rem;
|
|
322
|
+
`,
|
|
323
|
+
xs: css`
|
|
324
|
+
${tokens.bubblePadding}: 0.563rem 0.625rem;
|
|
325
|
+
${tokens.bubbleBorderRadius}: 0.5rem;
|
|
326
|
+
${tokens.bubbleGap}: 0.625rem;
|
|
327
|
+
|
|
328
|
+
${tokens.textAreaHeight}: 1.125rem;
|
|
329
|
+
${tokens.textAreaMinHeight}: 1.125rem;
|
|
330
|
+
|
|
331
|
+
${tokens.scrollbarWidth}: 0.188rem;
|
|
332
|
+
${tokens.scrollbarBorderWidth}: 0.063rem;
|
|
333
|
+
|
|
334
|
+
${tokens.textFontFamily}: ${bodyXS.fontFamily};
|
|
335
|
+
${tokens.textFontSize}: ${bodyXS.fontSize};
|
|
336
|
+
${tokens.textFontStyle}: ${bodyXS.fontStyle};
|
|
337
|
+
${tokens.textFontWeight}: ${bodyXS.fontWeight};
|
|
338
|
+
${tokens.textLetterSpacing}: ${bodyXS.letterSpacing};
|
|
339
|
+
${tokens.textLineHeight}: ${bodyXS.lineHeight};
|
|
340
|
+
|
|
341
|
+
${tokens.actionsGap}: 0.5rem;
|
|
342
|
+
${tokens.actionsEditingGap}: 0.125rem;
|
|
343
|
+
${tokens.actionsMarginTop}: 0.625rem;
|
|
344
|
+
|
|
345
|
+
${tokens.attachmentMaxWidth}: 10rem;
|
|
346
|
+
|
|
347
|
+
${tokens.fileContentBorderRadius}: 0.5rem;
|
|
348
|
+
${tokens.fileContentPadding}: 0.188rem 0.25rem;
|
|
349
|
+
${tokens.fileContentGap}: 0.25rem;
|
|
350
|
+
${tokens.fileContentMarginBottom}: 0.25rem;
|
|
351
|
+
|
|
352
|
+
${tokens.fileItemHeight}: 1.875rem;
|
|
353
|
+
${tokens.fileItemGap}: 0.375rem;
|
|
354
|
+
${tokens.fileItemTextboxGap}: 0.125rem;
|
|
355
|
+
|
|
356
|
+
${tokens.fileItemTitleFontFamily}: ${bodyXS.fontFamily};
|
|
357
|
+
${tokens.fileItemTitleFontSize}: ${bodyXS.fontSize};
|
|
358
|
+
${tokens.fileItemTitleFontStyle}: ${bodyXS.fontStyle};
|
|
359
|
+
${tokens.fileItemTitleFontWeight}: ${bodyXS.fontWeight};
|
|
360
|
+
${tokens.fileItemTitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
361
|
+
${tokens.fileItemTitleLineHeight}: ${bodyXS.lineHeight};
|
|
362
|
+
|
|
363
|
+
${tokens.fileItemSubtitleFontFamily}: ${bodyXS.fontFamily};
|
|
364
|
+
${tokens.fileItemSubtitleFontSize}: ${bodyXS.fontSize};
|
|
365
|
+
${tokens.fileItemSubtitleFontStyle}: ${bodyXS.fontStyle};
|
|
366
|
+
${tokens.fileItemSubtitleFontWeight}: ${bodyXS.fontWeight};
|
|
367
|
+
${tokens.fileItemSubtitleLetterSpacing}: ${bodyXS.letterSpacing};
|
|
368
|
+
${tokens.fileItemSubtitleLineHeight}: ${bodyXS.lineHeight};
|
|
369
|
+
|
|
370
|
+
${tokens.fileThumbSize}: 1.75rem;
|
|
371
|
+
${tokens.fileThumbRadius}: 0.25rem;
|
|
372
|
+
|
|
373
|
+
${tokens.imageContentBorderRadius}: 0.5rem;
|
|
374
|
+
`
|
|
375
|
+
},
|
|
376
|
+
attachmentsView: {
|
|
377
|
+
default: css`
|
|
378
|
+
${tokens.fileContentBackgroundColor}: ${surfaceSolidCard};
|
|
379
|
+
${tokens.imageBorderColor}: ${surfaceSolidCard};
|
|
380
|
+
`,
|
|
381
|
+
secondary: css`
|
|
382
|
+
${tokens.fileContentBackgroundColor}: ${surfaceSolidSecondary};
|
|
383
|
+
${tokens.imageBorderColor}: ${surfaceSolidSecondary};
|
|
384
|
+
`
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { component, mergeConfig, userMessageConfig } from '@salutejs/plasma-new-hope/styled-components';
|
|
2
|
+
import { config } from './UserMessage.config';
|
|
3
|
+
export const userMessageMergedConfig = mergeConfig(userMessageConfig, config);
|
|
4
|
+
export const UserMessage = component(userMessageMergedConfig);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './UserMessage';
|
|
@@ -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';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n default: css`\n ${tokens.textFieldColor}: var(--text-primary);\n ${tokens.textFieldClearColor}: var(--text-primary);\n\n ${tokens.textFieldPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);\n ${tokens.textFieldClearPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-tertiary);\n\n ${tokens.textFieldBackgroundColor}: var(--surface-transparent-primary);\n ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.textFieldCaretColor}: var(--text-accent);\n ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);\n ${tokens.textFieldTextAfterColor}: var(--text-tertiary);\n ${tokens.textFieldLabelColor}: var(--text-primary);\n ${tokens.textFieldLeftHelperColor}: var(--text-secondary);\n ${tokens.textFieldFocusColor}: var(--text-accent);\n\n ${tokens.textFieldContentSlotColor}: var(--text-secondary);\n ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);\n ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);\n\n ${tokens.focusColor}: var(--surface-accent);\n ${tokens.textFieldIndicatorColor}: var(--surface-negative);\n ${tokens.textFieldOptionalColor}: var(--text-tertiary);\n\n ${tokens.textFieldDividerColor}: var(--surface-transparent-tertiary);\n ${tokens.textFieldDividerColorHover}: var(--text-secondary);\n ${tokens.textFieldDividerColorFocus}: var(--surface-accent);\n\n ${tokens.background}: var(--surface-solid-card);\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}: var(--surface-transparent-secondary);\n ${tokens.itemColor}: var(--text-primary);\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);\n\n ${tokens.textFieldHintIconColor}: var(--text-secondary);\n `,\n positive: css`\n ${tokens.textFieldColor}: var(--text-primary);\n ${tokens.textFieldClearColor}: var(--text-positive);\n\n ${tokens.textFieldPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);\n ${tokens.textFieldClearPlaceholderColor}: var(--text-positive);\n ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-positive);\n\n ${tokens.textFieldBackgroundColor}: var(--surface-transparent-positive);\n ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-positive-active);\n ${tokens.textFieldCaretColor}: var(--text-accent);\n ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);\n ${tokens.textFieldTextAfterColor}: var(--text-tertiary);\n ${tokens.textFieldLabelColor}: var(--text-primary);\n ${tokens.textFieldLeftHelperColor}: var(--text-positive);\n ${tokens.textFieldFocusColor}: var(--text-accent);\n\n ${tokens.textFieldContentSlotColor}: var(--text-secondary);\n ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);\n ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);\n\n ${tokens.focusColor}: var(--surface-accent);\n ${tokens.textFieldIndicatorColor}: var(--surface-negative);\n ${tokens.textFieldOptionalColor}: var(--text-tertiary);\n\n ${tokens.textFieldDividerColor}: var(--surface-positive);\n ${tokens.textFieldDividerColorHover}: var(--surface-positive);\n ${tokens.textFieldDividerColorFocus}: var(--surface-accent);\n\n ${tokens.background}: var(--surface-solid-card);\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}: var(--surface-transparent-secondary);\n ${tokens.itemColor}: var(--text-primary);\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);\n\n ${tokens.textFieldHintIconColor}: var(--text-secondary);\n `,\n warning: css`\n ${tokens.textFieldColor}: var(--text-primary);\n ${tokens.textFieldClearColor}: var(--text-warning);\n\n ${tokens.textFieldPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);\n ${tokens.textFieldClearPlaceholderColor}: var(--text-warning);\n ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-warning);\n\n ${tokens.textFieldBackgroundColor}: var(--surface-transparent-warning);\n ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-warning-active);\n ${tokens.textFieldCaretColor}: var(--text-accent);\n ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);\n ${tokens.textFieldTextAfterColor}: var(--text-tertiary);\n ${tokens.textFieldLabelColor}: var(--text-primary);\n ${tokens.textFieldLeftHelperColor}: var(--text-warning);\n ${tokens.textFieldFocusColor}: var(--text-accent);\n\n ${tokens.textFieldContentSlotColor}: var(--text-secondary);\n ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);\n ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);\n\n ${tokens.focusColor}: var(--surface-accent);\n ${tokens.textFieldIndicatorColor}: var(--surface-negative);\n ${tokens.textFieldOptionalColor}: var(--text-tertiary);\n\n ${tokens.textFieldDividerColor}: var(--surface-warning);\n ${tokens.textFieldDividerColorHover}: var(--surface-warning);\n ${tokens.textFieldDividerColorFocus}: var(--surface-accent);\n\n ${tokens.background}: var(--surface-solid-card);\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}: var(--surface-transparent-secondary);\n ${tokens.itemColor}: var(--text-primary);\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);\n\n ${tokens.textFieldHintIconColor}: var(--text-secondary);\n `,\n negative: css`\n ${tokens.textFieldColor}: var(--text-primary);\n ${tokens.textFieldClearColor}: var(--text-negative);\n\n ${tokens.textFieldPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);\n ${tokens.textFieldClearPlaceholderColor}: var(--text-negative);\n ${tokens.textFieldClearPlaceholderColorFocus}: var(--text-negative);\n\n ${tokens.textFieldBackgroundColor}: var(--surface-transparent-negative);\n ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-negative-active);\n ${tokens.textFieldCaretColor}: var(--text-accent);\n ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);\n ${tokens.textFieldTextAfterColor}: var(--text-tertiary);\n ${tokens.textFieldLabelColor}: var(--text-primary);\n ${tokens.textFieldLeftHelperColor}: var(--text-negative);\n ${tokens.textFieldFocusColor}: var(--text-accent);\n\n ${tokens.textFieldContentSlotColor}: var(--text-secondary);\n ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);\n ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);\n\n ${tokens.focusColor}: var(--surface-accent);\n ${tokens.textFieldIndicatorColor}: var(--surface-negative);\n ${tokens.textFieldOptionalColor}: var(--text-tertiary);\n\n ${tokens.textFieldDividerColor}: var(--surface-negative);\n ${tokens.textFieldDividerColorHover}: var(--surface-negative);\n ${tokens.textFieldDividerColorFocus}: var(--surface-accent);\n\n ${tokens.background}: var(--surface-solid-card);\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}: var(--surface-transparent-secondary);\n ${tokens.itemColor}: var(--text-primary);\n\n ${tokens.textFieldContentSlotColor}: ${tokens.textFieldColor};\n ${tokens.textFieldContentSlotRightColor}: ${tokens.textFieldColor};\n ${tokens.infiniteLoaderSpinnerColor}: var(--text-primary);\n\n ${tokens.textFieldHintIconColor}: var(--text-secondary);\n `,\n },\n size: {\n l: css`\n ${tokens.textFieldHeight}: 3.5rem;\n ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem;\n ${tokens.textFieldBorderRadius}: 0.875rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.5rem -0.0625rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.438rem -0.0625rem 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}: var(--plasma-typo-body-l-font-family);\n ${tokens.textFieldFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.textFieldFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.textFieldFontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.textFieldLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textFieldLabelOffset}: 0.75rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.563rem -2.938rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.563rem -2.188rem auto auto;\n\n ${tokens.textFieldLeftHelperPadding}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textFieldLabelInnerPadding}: 0.5625rem 0 0.125rem 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.5rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.5rem auto auto -0.75rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.5rem -2.488rem auto auto;\n\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 1.0625rem 1rem;\n ${tokens.itemBorderRadius}: 0.75rem;\n\n ${tokens.itemFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.itemFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.itemFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.itemFontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.itemFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.itemFontLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.emptyStatePadding}: 2rem 1rem 1rem 1rem;\n ${tokens.emptyStateGap}: 0.5rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.5rem;\n `,\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}: var(--plasma-typo-body-m-font-family);\n ${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.textFieldLabelOffset}: 0.625rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-m-line-height);\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}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);\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}: var(--plasma-typo-body-m-font-family);\n ${tokens.itemFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.itemFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.itemFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.itemFontLineHeight}: var(--plasma-typo-body-m-line-height);\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}: var(--plasma-typo-body-s-font-family);\n ${tokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.textFieldLabelOffset}: 0.5rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-s-line-height);\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}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);\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}: var(--plasma-typo-body-s-font-family);\n ${tokens.itemFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.itemFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.itemFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.itemFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.itemFontLineHeight}: var(--plasma-typo-body-s-line-height);\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 xs: css`\n ${tokens.textFieldHeight}: 2rem;\n ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem;\n ${tokens.textFieldBorderRadius}: 0.5rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.25rem -0.0625rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.688rem -0.0625rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.688rem -0.688rem -0.688rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textFieldLabelOffset}: 0.375rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textFieldHintMargin}: -0.75rem -0.625rem -0.75rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: -0.188rem -2.1875rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: -0.188rem -1.938rem auto auto;\n\n ${tokens.textFieldLeftHelperPadding}: 0.25rem 0 0 0;\n ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);\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.25rem auto auto -0.625rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.125rem -0.6875rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 0.813rem auto auto -0.625rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 0.813rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 0.813rem -1.988rem auto auto;\n\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.5625rem 0.5rem;\n ${tokens.itemBorderRadius}: 0.5rem;\n\n ${tokens.itemFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.itemFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.itemFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.itemFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.itemFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.itemFontLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.emptyStatePadding}: 1rem 0.5rem 0.5rem 0.5rem;\n ${tokens.emptyStateGap}: 0.25rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1rem;\n ${tokens.infiniteLoaderGap}: 0.25rem;\n `,\n },\n labelPlacement: {\n inner: css`\n ${tokens.textFieldPlaceholderColor}: var(--text-secondary);\n ${tokens.textFieldLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n outer: css``,\n },\n hintView: {\n default: css`\n ${tokens.textFieldTooltipBackgroundColor}: var(--surface-solid-card-brightness);\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}: var(--text-primary);\n ${tokens.textFieldTooltipArrowBackground}: var(--surface-solid-card);\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}: var(--plasma-typo-body-s-font-family);\n ${tokens.textFieldTooltipTextFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.textFieldTooltipTextFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.textFieldTooltipTextFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.textFieldTooltipTextFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.textFieldTooltipTextFontLineHeight}: var(--plasma-typo-body-s-line-height);\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}: var(--plasma-typo-body-xs-font-family);\n ${tokens.textFieldTooltipTextFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.textFieldTooltipTextFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.textFieldTooltipTextFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.textFieldTooltipTextFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.textFieldTooltipTextFontLineHeight}: var(--plasma-typo-body-xs-line-height);\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}: var(--text-primary);\n ${tokens.textFieldReadOnlyOpacity}: 0.1;\n ${tokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;\n ${tokens.textFieldBackgroundColorReadOnly}: var(--surface-transparent-primary);\n ${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);\n ${tokens.textFieldLeftHelperColorReadOnly}: var(--text-secondary);\n ${tokens.textFieldLabelColorReadOnly}: var(--text-primary);\n ${tokens.textFieldDividerColorReadOnly}: var(--surface-transparent-primary);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","labelPlacement","variations","default","positive","warning","negative","l","m","s","xs","inner","outer","hintView","hintSize","disabled","true","readOnly"],"mappings":";;;;AAEO,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,SA0EA;AACDC,MAAAA,CAAC,EAAA,UA0EA;AACDC,MAAAA,EAAE,EAAA;KA2EL;AACDT,IAAAA,cAAc,EAAE;AACZU,MAAAA,KAAK,EAAA,SAQJ;AACDC,MAAAA,KAAK,EAAA;KACR;AACDC,IAAAA,QAAQ,EAAE;MACNV,SAAAA,EAAO;KAMV;AACDW,IAAAA,QAAQ,EAAE;AACNN,MAAAA,CAAC,EAAA,SAuBA;AACDC,MAAAA,CAAC,EAAA;KAwBJ;AACDM,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 bodyL,\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_serv';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\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 l: css`\n ${tokens.textFieldHeight}: 3.5rem;\n ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem;\n ${tokens.textFieldBorderRadius}: 0.875rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.5rem -0.0625rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.438rem -0.0625rem 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}: ${bodyL.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyL.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyL.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyL.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyL.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyL.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.75rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyL.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyL.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyL.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyL.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyL.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyL.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.688rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: 0.563rem -2.938rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: 0.563rem -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.5625rem 0 0.125rem 0;\n ${tokens.textFieldContentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0;\n\n ${tokens.textFieldIndicatorSizeInner}: 0.5rem;\n ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;\n ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;\n ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.5rem auto auto -0.75rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 1.5rem -2.488rem auto auto;\n\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 1.0625rem 1rem;\n ${tokens.itemBorderRadius}: 0.75rem;\n\n ${tokens.itemFontFamily}: ${bodyL.fontFamily};\n ${tokens.itemFontSize}: ${bodyL.fontSize};\n ${tokens.itemFontStyle}: ${bodyL.fontStyle};\n ${tokens.itemFontWeight}: ${bodyL.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyL.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyL.lineHeight};\n\n ${tokens.emptyStatePadding}: 2rem 1rem 1rem 1rem;\n ${tokens.emptyStateGap}: 0.5rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1.5rem;\n ${tokens.infiniteLoaderGap}: 0.5rem;\n `,\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 xs: css`\n ${tokens.textFieldHeight}: 2rem;\n ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem;\n ${tokens.textFieldBorderRadius}: 0.5rem;\n\n ${tokens.textFieldLeftContentMargin}: -0.0625rem 0.25rem -0.0625rem -0.125rem;\n ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;\n ${tokens.textFieldRightContentWithHintMargin}: -0.0625rem -0.688rem -0.0625rem 0.75rem;\n\n ${tokens.textFieldContentRightWrapperGap}: 0.25rem;\n ${tokens.textFieldContentRightWrapperMargin}: -0.688rem -0.688rem -0.688rem 0;\n\n ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;\n ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;\n\n ${tokens.textFieldFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldLabelOffset}: 0.375rem;\n ${tokens.textFieldClearLabelOffset}: 0.25rem;\n ${tokens.textFieldLabelFontFamily}: ${bodyXS.fontFamily};\n ${tokens.textFieldLabelFontSize}: ${bodyXS.fontSize};\n ${tokens.textFieldLabelFontStyle}: ${bodyXS.fontStyle};\n ${tokens.textFieldLabelFontWeight}: ${bodyXS.fontWeight};\n ${tokens.textFieldLabelLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.textFieldLabelLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.textFieldHintMargin}: -0.75rem -0.625rem -0.75rem -0.5rem;\n ${tokens.textFieldHintTargetSize}: 2.375rem;\n ${tokens.textFieldHintInnerLabelPlacementOffset}: -0.188rem -2.1875rem auto auto;\n ${tokens.textFieldClearHintInnerLabelPlacementOffset}: -0.188rem -1.938rem 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.25rem auto auto -0.625rem;\n ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;\n ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.125rem -0.6875rem auto auto;\n ${tokens.textFieldClearIndicatorLabelPlacementInner}: 0.813rem auto auto -0.625rem;\n ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 0.813rem -0.625rem auto auto;\n ${tokens.textFieldClearIndicatorHintInnerRight}: 0.813rem -1.988rem auto auto;\n\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.padding}: 0.125rem;\n ${tokens.itemPadding}: 0.5625rem 0.5rem;\n ${tokens.itemBorderRadius}: 0.5rem;\n\n ${tokens.itemFontFamily}: ${bodyXS.fontFamily};\n ${tokens.itemFontSize}: ${bodyXS.fontSize};\n ${tokens.itemFontStyle}: ${bodyXS.fontStyle};\n ${tokens.itemFontWeight}: ${bodyXS.fontWeight};\n ${tokens.itemFontLetterSpacing}: ${bodyXS.letterSpacing};\n ${tokens.itemFontLineHeight}: ${bodyXS.lineHeight};\n\n ${tokens.emptyStatePadding}: 1rem 0.5rem 0.5rem 0.5rem;\n ${tokens.emptyStateGap}: 0.25rem;\n\n ${tokens.infiniteLoaderSpinnerSize}: 1rem;\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","l","m","s","xs","inner","outer","hintView","hintSize","disabled","true","readOnly"],"mappings":";;;;AAgCO,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,SA0EA;AACDC,MAAAA,CAAC,EAAA,UA0EA;AACDC,MAAAA,EAAE,EAAA;KA2EL;AACDT,IAAAA,cAAc,EAAE;AACZU,MAAAA,KAAK,EAAA,SAQJ;AACDC,MAAAA,KAAK,EAAA;KACR;AACDC,IAAAA,QAAQ,EAAE;MACNV,SAAAA,EAAO;KAMV;AACDW,IAAAA,QAAQ,EAAE;AACNN,MAAAA,CAAC,EAAA,SAuBA;AACDC,MAAAA,CAAC,EAAA;KAwBJ;AACDM,IAAAA,QAAQ,EAAE;MACNC,MAAAA,EAAI;KAGP;AACDC,IAAAA,QAAQ,EAAE;MACND,MAAAA,EAAI;AAUR;AACJ;AACJ;;;;"}
|