@salutejs/plasma-asdk 0.259.0 → 0.260.0-canary.1719.12929292229.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/CHANGELOG.md +143 -0
- package/package.json +3 -3
- package/temp/plasma-asdk.api.md +596 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,146 @@
|
|
1
|
+
# 0.259.0 (23 января 2025)
|
2
|
+
|
3
|
+
## Функциональные изменения в компонентах
|
4
|
+
|
5
|
+
### Rating
|
6
|
+
|
7
|
+
* исправлена логика расчета отображаемого значения
|
8
|
+
|
9
|
+
**Before**: <img width="521" alt="image" src="https://github.com/user-attachments/assets/187e7764-1a7d-440a-a027-66d9ab131401" />
|
10
|
+
|
11
|
+
**After**: <img width="517" alt="image" src="https://github.com/user-attachments/assets/23f56b4f-3ead-45fd-9d6b-3a0d3c8cba3f" />
|
12
|
+
|
13
|
+
[PR](https://github.com/salute-developers/plasma/pull/1685)
|
14
|
+
|
15
|
+
### Note
|
16
|
+
|
17
|
+
* добавлен новый компонент Note
|
18
|
+
|
19
|
+
<img width="454" alt="image" src="https://github.com/user-attachments/assets/01230e8f-117c-46ec-b50f-8427e648049a" />
|
20
|
+
|
21
|
+
[PR](https://github.com/salute-developers/plasma/pull/1681)
|
22
|
+
|
23
|
+
### Flow
|
24
|
+
|
25
|
+
Универсальный контейнер для упорядоченного размещения вложенных компонентов (например, медиафайлы, карточки или блоки текста).
|
26
|
+
|
27
|
+
[PR](https://github.com/salute-developers/plasma/pull/1657)
|
28
|
+
|
29
|
+
### NumberInput
|
30
|
+
|
31
|
+
* исправлен баг, позволявший ввести число с точкой в конце, больше максимального значения или ниже минимального значения
|
32
|
+
* добавлено свойство `precision`, определяющее кол-во знаков после запятой
|
33
|
+
* добавлены тесты на эти кейсы
|
34
|
+
|
35
|
+
[PR](https://github.com/salute-developers/plasma/pull/1699)
|
36
|
+
|
37
|
+
### DatePicker
|
38
|
+
|
39
|
+
* добавлена возможность указать место раскрытия календаря
|
40
|
+
|
41
|
+
**After**: <img width="620" alt="image" src="https://github.com/user-attachments/assets/06764c3a-c58d-46a9-a027-49715ebe91e4" />
|
42
|
+
|
43
|
+
[PR](https://github.com/salute-developers/plasma/pull/1697)
|
44
|
+
|
45
|
+
### Avatar
|
46
|
+
|
47
|
+
* добавлен блок для отображения дополнительного контента в виде badge или counter
|
48
|
+
|
49
|
+
**After**: <img width="127" alt="image" src="https://github.com/user-attachments/assets/9e795ffb-4d81-44d5-8959-63234db209b8" /> <img width="116" alt="image" src="https://github.com/user-attachments/assets/452d8c47-44a4-4a75-b3a7-d7a43381469b" />
|
50
|
+
|
51
|
+
[PR](https://github.com/salute-developers/plasma/pull/1696)
|
52
|
+
|
53
|
+
* поля ввода даты становятся независимыми после выбора полной даты в DatePickerRange
|
54
|
+
* добавлено свойство `closeAfterDateSelect`, позволяющее закрыть календарь после выбора даты
|
55
|
+
|
56
|
+
[PR](https://github.com/salute-developers/plasma/pull/1702)
|
57
|
+
|
58
|
+
### Slider
|
59
|
+
|
60
|
+
* Изменен отступ между иконкой слева и label при горизонтальном слайдере
|
61
|
+
|
62
|
+
[PR](https://github.com/salute-developers/plasma/pull/1703)
|
63
|
+
|
64
|
+
### ThemeBuilder
|
65
|
+
|
66
|
+
Добавлена валидация при создании токена / редактировании токена:
|
67
|
+
|
68
|
+
* Проверка, что токен называется в CamelCase нотации
|
69
|
+
* Название токена не должно превышвать 32 символа
|
70
|
+
* Название не должно начинаться с название подгруппы, в которой он создаётся
|
71
|
+
* В названии не должно быть зарезервированных слов "onDark", "onLight", "inverse"
|
72
|
+
* Значение обычного цвета теперь поддерживается только в HEX и HEXA форматах
|
73
|
+
* Значение градиента допускается только в полном описании: linear|radial-gradient (<угол / радиус>, <цвет> <позиция>, <цвет> <позиция>)
|
74
|
+
|
75
|
+
[PR](https://github.com/salute-developers/plasma/pull/1690)
|
76
|
+
|
77
|
+
### Cell
|
78
|
+
|
79
|
+
* добавлена возможность передачи `restProps` в компоненты `CellTextbox`
|
80
|
+
* исправлен пример для `CellTextbox`
|
81
|
+
|
82
|
+
### Checkbox
|
83
|
+
|
84
|
+
* исправлена ширина кликабельной области `label` по умолчанию (`singleLine=false`)
|
85
|
+
* добавлена `story` для длинного названия + `singleLine`
|
86
|
+
* добавлен тест на клик по `label` и тест для свойства `singleLine`
|
87
|
+
|
88
|
+
### Radiobox
|
89
|
+
|
90
|
+
* исправлена ширина кликабельной области `label` по умолчанию (`singleLine=false`)
|
91
|
+
|
92
|
+
[PR](https://github.com/salute-developers/plasma/pull/1701)
|
93
|
+
|
94
|
+
### TextField, Autocomplete, TextArea, Combobox, Select
|
95
|
+
|
96
|
+
* исправлен размер иконки trigger для hint
|
97
|
+
* добавлено отображение Hint внутри TextField-like компонент
|
98
|
+
|
99
|
+
<img width="1080" alt="image" src="https://github.com/user-attachments/assets/99ab8bf7-b1b0-422b-a9e8-9fec18134833" />
|
100
|
+
|
101
|
+
[PR](https://github.com/salute-developers/plasma/pull/1706)
|
102
|
+
|
103
|
+
### Combobox, Select, Dropdown
|
104
|
+
|
105
|
+
* добавлена возможность задавать направление раскрытия вложенных дропдаунов
|
106
|
+
|
107
|
+
<img width="420" alt="image" src="https://github.com/user-attachments/assets/1ada8d53-f6ed-4ea7-a921-d433ddd273a0" />
|
108
|
+
|
109
|
+
[PR](https://github.com/salute-developers/plasma/pull/1709)
|
110
|
+
|
111
|
+
### Button, IconButton
|
112
|
+
|
113
|
+
* актуализированы примеры документации для свойств: `size`, `view`
|
114
|
+
|
115
|
+
[PR](https://github.com/salute-developers/plasma/pull/1668)
|
116
|
+
|
117
|
+
### Tree
|
118
|
+
|
119
|
+
* перенесен внешний css из rc-tree в локальную сборку
|
120
|
+
|
121
|
+
[PR](https://github.com/salute-developers/plasma/pull/1710)
|
122
|
+
|
123
|
+
### Tokens
|
124
|
+
|
125
|
+
* актуализированы токены для конфигураций компонентов
|
126
|
+
|
127
|
+
[PR](https://github.com/salute-developers/plasma/pull/1646)
|
128
|
+
|
129
|
+
### Autocomplete, Select, Combobox
|
130
|
+
|
131
|
+
* добавлены новые токены для более детальной кастомизации
|
132
|
+
* исправлен токен жирности шрифта для `button-like` варианта `Select`;
|
133
|
+
|
134
|
+
[PR](https://github.com/salute-developers/plasma/pull/1675)
|
135
|
+
|
136
|
+
### Dropdown
|
137
|
+
|
138
|
+
* добавлен токен `itemMargin`
|
139
|
+
* добавлен токен `disclosureIconColor`
|
140
|
+
|
141
|
+
[PR](https://github.com/salute-developers/plasma/pull/1705)
|
142
|
+
|
143
|
+
|
1
144
|
# 0.247.0 (26 декабря 2024)
|
2
145
|
|
3
146
|
## Функциональные изменения в компонентах
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-asdk",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.260.0-canary.1719.12929292229.0",
|
4
4
|
"description": "Salute Design System / React UI kit for Assistant web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/plasma-asdk"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.248.0-canary.1719.12929292229.0",
|
23
23
|
"@salutejs/plasma-tokens": "1.108.0",
|
24
24
|
"@salutejs/plasma-tokens-b2b": "1.45.0",
|
25
25
|
"@salutejs/plasma-typo": "0.41.0"
|
@@ -97,5 +97,5 @@
|
|
97
97
|
"Fanil Zubairov"
|
98
98
|
],
|
99
99
|
"sideEffects": false,
|
100
|
-
"gitHead": "
|
100
|
+
"gitHead": "c2015bb6435c9c799dc45927ca1f9e5635331a05"
|
101
101
|
}
|
@@ -0,0 +1,596 @@
|
|
1
|
+
## API Report File for "@salutejs/plasma-asdk"
|
2
|
+
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
4
|
+
|
5
|
+
```ts
|
6
|
+
|
7
|
+
/// <reference types="react" />
|
8
|
+
|
9
|
+
import { AnchorHTMLAttributes } from 'react';
|
10
|
+
import { AsProps } from '@salutejs/plasma-new-hope/styled-components';
|
11
|
+
import { BaseboxProps } from '@salutejs/plasma-new-hope/styled-components';
|
12
|
+
import { BoldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Typography.types';
|
13
|
+
import { ButtonHTMLAttributes } from 'react';
|
14
|
+
import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
|
15
|
+
import { ComponentProps } from 'react';
|
16
|
+
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
17
|
+
import { FunctionComponent } from 'react';
|
18
|
+
import { HTMLAttributes } from 'react';
|
19
|
+
import { HtmlHTMLAttributes } from 'react';
|
20
|
+
import { ImageProps } from '@salutejs/plasma-new-hope';
|
21
|
+
import { InputHTMLAttributes } from '@salutejs/plasma-new-hope/styled-components';
|
22
|
+
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
|
23
|
+
import { PolymorphicClassName } from '@salutejs/plasma-new-hope/types/engines/types';
|
24
|
+
import { PropsType } from '@salutejs/plasma-new-hope/types/engines/types';
|
25
|
+
import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
26
|
+
import { default as React_2 } from 'react';
|
27
|
+
import { ReactNode } from 'react';
|
28
|
+
import { RefAttributes } from 'react';
|
29
|
+
import { SpacingProps } from '@salutejs/plasma-new-hope/styled-components';
|
30
|
+
import { SSRProvider } from '@salutejs/plasma-new-hope/styled-components';
|
31
|
+
import { StyledComponent } from 'styled-components';
|
32
|
+
import { SubtitleProps } from '@salutejs/plasma-new-hope/styled-components';
|
33
|
+
import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
|
34
|
+
import { TypographyOldProps } from '@salutejs/plasma-new-hope/types/components/Typography/Old/TypographyOld';
|
35
|
+
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
36
|
+
|
37
|
+
// @public (undocumented)
|
38
|
+
export const Body1: FunctionComponent<PropsType< {
|
39
|
+
size: {
|
40
|
+
body1: PolymorphicClassName;
|
41
|
+
};
|
42
|
+
}> & {
|
43
|
+
noWrap?: boolean | undefined;
|
44
|
+
breakWord?: boolean | undefined;
|
45
|
+
color?: string | undefined;
|
46
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
47
|
+
|
48
|
+
// @public (undocumented)
|
49
|
+
export const Body2: FunctionComponent<PropsType< {
|
50
|
+
size: {
|
51
|
+
body2: PolymorphicClassName;
|
52
|
+
};
|
53
|
+
}> & {
|
54
|
+
noWrap?: boolean | undefined;
|
55
|
+
breakWord?: boolean | undefined;
|
56
|
+
color?: string | undefined;
|
57
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
58
|
+
|
59
|
+
// @public (undocumented)
|
60
|
+
export const BodyL: FunctionComponent<PropsType< {
|
61
|
+
size: {
|
62
|
+
l: PolymorphicClassName;
|
63
|
+
};
|
64
|
+
}> & {
|
65
|
+
noWrap?: boolean | undefined;
|
66
|
+
breakWord?: boolean | undefined;
|
67
|
+
color?: string | undefined;
|
68
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
69
|
+
|
70
|
+
// @public (undocumented)
|
71
|
+
export const BodyM: FunctionComponent<PropsType< {
|
72
|
+
size: {
|
73
|
+
m: PolymorphicClassName;
|
74
|
+
};
|
75
|
+
}> & {
|
76
|
+
noWrap?: boolean | undefined;
|
77
|
+
breakWord?: boolean | undefined;
|
78
|
+
color?: string | undefined;
|
79
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
80
|
+
|
81
|
+
// @public (undocumented)
|
82
|
+
export const BodyS: FunctionComponent<PropsType< {
|
83
|
+
size: {
|
84
|
+
s: PolymorphicClassName;
|
85
|
+
};
|
86
|
+
}> & {
|
87
|
+
noWrap?: boolean | undefined;
|
88
|
+
breakWord?: boolean | undefined;
|
89
|
+
color?: string | undefined;
|
90
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
91
|
+
|
92
|
+
// @public (undocumented)
|
93
|
+
export const BodyXS: FunctionComponent<PropsType< {
|
94
|
+
size: {
|
95
|
+
xs: PolymorphicClassName;
|
96
|
+
};
|
97
|
+
}> & {
|
98
|
+
noWrap?: boolean | undefined;
|
99
|
+
breakWord?: boolean | undefined;
|
100
|
+
color?: string | undefined;
|
101
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
102
|
+
|
103
|
+
// @public (undocumented)
|
104
|
+
export const BodyXXS: FunctionComponent<PropsType< {
|
105
|
+
size: {
|
106
|
+
xxs: PolymorphicClassName;
|
107
|
+
};
|
108
|
+
}> & {
|
109
|
+
noWrap?: boolean | undefined;
|
110
|
+
breakWord?: boolean | undefined;
|
111
|
+
color?: string | undefined;
|
112
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
113
|
+
|
114
|
+
// @public
|
115
|
+
export const Button: FunctionComponent<PropsType< {
|
116
|
+
view: {
|
117
|
+
default: PolymorphicClassName;
|
118
|
+
primary: PolymorphicClassName;
|
119
|
+
accent: PolymorphicClassName;
|
120
|
+
secondary: PolymorphicClassName;
|
121
|
+
clear: PolymorphicClassName;
|
122
|
+
success: PolymorphicClassName;
|
123
|
+
warning: PolymorphicClassName;
|
124
|
+
critical: PolymorphicClassName;
|
125
|
+
dark: PolymorphicClassName;
|
126
|
+
black: PolymorphicClassName;
|
127
|
+
white: PolymorphicClassName;
|
128
|
+
};
|
129
|
+
size: {
|
130
|
+
xl: PolymorphicClassName;
|
131
|
+
xlr: PolymorphicClassName;
|
132
|
+
l: PolymorphicClassName;
|
133
|
+
lr: PolymorphicClassName;
|
134
|
+
m: PolymorphicClassName;
|
135
|
+
mr: PolymorphicClassName;
|
136
|
+
s: PolymorphicClassName;
|
137
|
+
sr: PolymorphicClassName;
|
138
|
+
xs: PolymorphicClassName;
|
139
|
+
xsr: PolymorphicClassName;
|
140
|
+
xxs: PolymorphicClassName;
|
141
|
+
};
|
142
|
+
disabled: {
|
143
|
+
true: PolymorphicClassName;
|
144
|
+
};
|
145
|
+
focused: {
|
146
|
+
true: PolymorphicClassName;
|
147
|
+
};
|
148
|
+
stretching: {
|
149
|
+
auto: PolymorphicClassName;
|
150
|
+
filled: PolymorphicClassName;
|
151
|
+
fixed: PolymorphicClassName;
|
152
|
+
};
|
153
|
+
}> & ((Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps<any> & {
|
154
|
+
text?: string | undefined;
|
155
|
+
contentLeft?: ReactNode;
|
156
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
157
|
+
isLoading?: boolean | undefined;
|
158
|
+
loader?: ReactNode;
|
159
|
+
stretch?: boolean | undefined;
|
160
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
161
|
+
square?: boolean | undefined;
|
162
|
+
focused?: boolean | undefined;
|
163
|
+
disabled?: boolean | undefined;
|
164
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
165
|
+
view?: string | undefined;
|
166
|
+
size?: string | undefined;
|
167
|
+
outlined?: boolean | undefined;
|
168
|
+
shiftLeft?: boolean | undefined;
|
169
|
+
shiftRight?: boolean | undefined;
|
170
|
+
blur?: "small" | "large" | "medium" | undefined;
|
171
|
+
} & {
|
172
|
+
value?: string | number | undefined;
|
173
|
+
contentRight?: undefined;
|
174
|
+
} & RefAttributes<HTMLButtonElement>) | (Omit<ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<AnchorHTMLAttributes<HTMLElement>, "type"> & AsProps<any> & {
|
175
|
+
text?: string | undefined;
|
176
|
+
contentLeft?: ReactNode;
|
177
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
178
|
+
isLoading?: boolean | undefined;
|
179
|
+
loader?: ReactNode;
|
180
|
+
stretch?: boolean | undefined;
|
181
|
+
stretching?: ("fixed" | "auto" | "filled") | undefined;
|
182
|
+
square?: boolean | undefined;
|
183
|
+
focused?: boolean | undefined;
|
184
|
+
disabled?: boolean | undefined;
|
185
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
186
|
+
view?: string | undefined;
|
187
|
+
size?: string | undefined;
|
188
|
+
outlined?: boolean | undefined;
|
189
|
+
shiftLeft?: boolean | undefined;
|
190
|
+
shiftRight?: boolean | undefined;
|
191
|
+
blur?: "small" | "large" | "medium" | undefined;
|
192
|
+
} & {
|
193
|
+
value?: undefined;
|
194
|
+
contentRight?: ReactNode;
|
195
|
+
} & RefAttributes<HTMLButtonElement>))>;
|
196
|
+
|
197
|
+
// @public (undocumented)
|
198
|
+
export const Button1: FunctionComponent<PropsType< {
|
199
|
+
size: {
|
200
|
+
button1: PolymorphicClassName;
|
201
|
+
};
|
202
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
203
|
+
|
204
|
+
// @public (undocumented)
|
205
|
+
export const Button2: FunctionComponent<PropsType< {
|
206
|
+
size: {
|
207
|
+
button2: PolymorphicClassName;
|
208
|
+
};
|
209
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
210
|
+
|
211
|
+
// Warning: (ae-forgotten-export) The symbol "ButtonComponent" needs to be exported by the entry point index.d.ts
|
212
|
+
//
|
213
|
+
// @public (undocumented)
|
214
|
+
export type ButtonProps = typeof ButtonComponent;
|
215
|
+
|
216
|
+
// @public (undocumented)
|
217
|
+
export const Caption: FunctionComponent<PropsType< {
|
218
|
+
size: {
|
219
|
+
m: PolymorphicClassName;
|
220
|
+
};
|
221
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
222
|
+
|
223
|
+
// @public
|
224
|
+
export const Checkbox: FunctionComponent<PropsType< {
|
225
|
+
size: {
|
226
|
+
s: PolymorphicClassName;
|
227
|
+
m: PolymorphicClassName;
|
228
|
+
};
|
229
|
+
view: {
|
230
|
+
accent: PolymorphicClassName;
|
231
|
+
};
|
232
|
+
disabled: {
|
233
|
+
true: PolymorphicClassName;
|
234
|
+
};
|
235
|
+
focused: {
|
236
|
+
true: PolymorphicClassName;
|
237
|
+
};
|
238
|
+
}> & CheckboxProps_2 & RefAttributes<HTMLInputElement>>;
|
239
|
+
|
240
|
+
// Warning: (ae-forgotten-export) The symbol "CheckboxComponent" needs to be exported by the entry point index.d.ts
|
241
|
+
//
|
242
|
+
// @public (undocumented)
|
243
|
+
export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
|
244
|
+
|
245
|
+
// @public (undocumented)
|
246
|
+
export const DsplL: FunctionComponent<PropsType< {
|
247
|
+
size: {
|
248
|
+
l: PolymorphicClassName;
|
249
|
+
};
|
250
|
+
}> & {
|
251
|
+
noWrap?: boolean | undefined;
|
252
|
+
breakWord?: boolean | undefined;
|
253
|
+
color?: string | undefined;
|
254
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
255
|
+
|
256
|
+
// @public (undocumented)
|
257
|
+
export const DsplM: FunctionComponent<PropsType< {
|
258
|
+
size: {
|
259
|
+
m: PolymorphicClassName;
|
260
|
+
};
|
261
|
+
}> & {
|
262
|
+
noWrap?: boolean | undefined;
|
263
|
+
breakWord?: boolean | undefined;
|
264
|
+
color?: string | undefined;
|
265
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
266
|
+
|
267
|
+
// @public (undocumented)
|
268
|
+
export const DsplS: FunctionComponent<PropsType< {
|
269
|
+
size: {
|
270
|
+
s: PolymorphicClassName;
|
271
|
+
};
|
272
|
+
}> & {
|
273
|
+
noWrap?: boolean | undefined;
|
274
|
+
breakWord?: boolean | undefined;
|
275
|
+
color?: string | undefined;
|
276
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
277
|
+
|
278
|
+
// @public (undocumented)
|
279
|
+
export const Footnote1: FunctionComponent<PropsType< {
|
280
|
+
size: {
|
281
|
+
footnote1: PolymorphicClassName;
|
282
|
+
};
|
283
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
284
|
+
|
285
|
+
// @public (undocumented)
|
286
|
+
export const Footnote2: FunctionComponent<PropsType< {
|
287
|
+
size: {
|
288
|
+
footnote2: PolymorphicClassName;
|
289
|
+
};
|
290
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
291
|
+
|
292
|
+
// @public (undocumented)
|
293
|
+
export const H1: FunctionComponent<PropsType< {
|
294
|
+
size: {
|
295
|
+
h1: PolymorphicClassName;
|
296
|
+
};
|
297
|
+
}> & {
|
298
|
+
noWrap?: boolean | undefined;
|
299
|
+
breakWord?: boolean | undefined;
|
300
|
+
color?: string | undefined;
|
301
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
302
|
+
|
303
|
+
// @public (undocumented)
|
304
|
+
export const H2: FunctionComponent<PropsType< {
|
305
|
+
size: {
|
306
|
+
h2: PolymorphicClassName;
|
307
|
+
};
|
308
|
+
}> & {
|
309
|
+
noWrap?: boolean | undefined;
|
310
|
+
breakWord?: boolean | undefined;
|
311
|
+
color?: string | undefined;
|
312
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
313
|
+
|
314
|
+
// @public (undocumented)
|
315
|
+
export const H3: FunctionComponent<PropsType< {
|
316
|
+
size: {
|
317
|
+
h3: PolymorphicClassName;
|
318
|
+
};
|
319
|
+
}> & {
|
320
|
+
noWrap?: boolean | undefined;
|
321
|
+
breakWord?: boolean | undefined;
|
322
|
+
color?: string | undefined;
|
323
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
324
|
+
|
325
|
+
// @public (undocumented)
|
326
|
+
export const H4: FunctionComponent<PropsType< {
|
327
|
+
size: {
|
328
|
+
h4: PolymorphicClassName;
|
329
|
+
};
|
330
|
+
}> & {
|
331
|
+
noWrap?: boolean | undefined;
|
332
|
+
breakWord?: boolean | undefined;
|
333
|
+
color?: string | undefined;
|
334
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
335
|
+
|
336
|
+
// @public (undocumented)
|
337
|
+
export const H5: FunctionComponent<PropsType< {
|
338
|
+
size: {
|
339
|
+
h5: PolymorphicClassName;
|
340
|
+
};
|
341
|
+
}> & {
|
342
|
+
noWrap?: boolean | undefined;
|
343
|
+
breakWord?: boolean | undefined;
|
344
|
+
color?: string | undefined;
|
345
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
346
|
+
|
347
|
+
// @public (undocumented)
|
348
|
+
export const HeaderArrow: FunctionComponent<PropsType<Variants> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
349
|
+
arrow?: "back" | "minimize" | undefined;
|
350
|
+
iconSize?: "s" | "m" | "xxs" | "xs" | "l" | "xl" | "xxl" | undefined;
|
351
|
+
} & RefAttributes<HTMLDivElement>>;
|
352
|
+
|
353
|
+
// @public
|
354
|
+
export const HeaderContent: ({ children, ...rest }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
355
|
+
|
356
|
+
// Warning: (ae-forgotten-export) The symbol "HeaderLogoProps" needs to be exported by the entry point index.d.ts
|
357
|
+
//
|
358
|
+
// @public (undocumented)
|
359
|
+
export const HeaderLogo: FunctionComponent<PropsType<Variants> & HeaderLogoProps & RefAttributes<HTMLDivElement>>;
|
360
|
+
|
361
|
+
// @public (undocumented)
|
362
|
+
export const HeaderRoot: FunctionComponent<PropsType< {
|
363
|
+
view: {
|
364
|
+
default: PolymorphicClassName;
|
365
|
+
primary: PolymorphicClassName;
|
366
|
+
};
|
367
|
+
size: {
|
368
|
+
l: PolymorphicClassName;
|
369
|
+
m: PolymorphicClassName;
|
370
|
+
s: PolymorphicClassName;
|
371
|
+
};
|
372
|
+
}> & HtmlHTMLAttributes<HTMLDivElement> & {
|
373
|
+
size?: string | undefined;
|
374
|
+
gradientColor?: string | undefined;
|
375
|
+
view?: string | undefined;
|
376
|
+
} & RefAttributes<HTMLDivElement>>;
|
377
|
+
|
378
|
+
// @public
|
379
|
+
export const HeaderTitle: ({ children, ...rest }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
380
|
+
|
381
|
+
// @public (undocumented)
|
382
|
+
export const HeaderTitleWrapper: FunctionComponent<PropsType<Variants> & HTMLAttributes<HTMLDivElement> & {
|
383
|
+
label?: string | undefined;
|
384
|
+
title?: string | undefined;
|
385
|
+
subTitle?: string | undefined;
|
386
|
+
caption?: string | undefined;
|
387
|
+
children?: ReactNode;
|
388
|
+
withBigTitle?: boolean | undefined;
|
389
|
+
} & RefAttributes<HTMLDivElement>>;
|
390
|
+
|
391
|
+
// @public (undocumented)
|
392
|
+
export const Headline1: FunctionComponent<PropsType< {
|
393
|
+
size: {
|
394
|
+
headline1: PolymorphicClassName;
|
395
|
+
};
|
396
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
397
|
+
|
398
|
+
// @public (undocumented)
|
399
|
+
export const Headline2: FunctionComponent<PropsType< {
|
400
|
+
size: {
|
401
|
+
headline2: PolymorphicClassName;
|
402
|
+
};
|
403
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
404
|
+
|
405
|
+
// @public (undocumented)
|
406
|
+
export const Headline3: FunctionComponent<PropsType< {
|
407
|
+
size: {
|
408
|
+
headline3: PolymorphicClassName;
|
409
|
+
};
|
410
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
411
|
+
|
412
|
+
// @public (undocumented)
|
413
|
+
export const Headline4: FunctionComponent<PropsType< {
|
414
|
+
size: {
|
415
|
+
headline4: PolymorphicClassName;
|
416
|
+
};
|
417
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
418
|
+
|
419
|
+
// @public (undocumented)
|
420
|
+
export const Headline5: FunctionComponent<PropsType< {
|
421
|
+
size: {
|
422
|
+
headline5: PolymorphicClassName;
|
423
|
+
};
|
424
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
425
|
+
|
426
|
+
// @public
|
427
|
+
export const Link: FunctionComponent<PropsType< {
|
428
|
+
view: {
|
429
|
+
default: PolymorphicClassName;
|
430
|
+
primary: PolymorphicClassName;
|
431
|
+
};
|
432
|
+
disabled: {
|
433
|
+
true: PolymorphicClassName;
|
434
|
+
};
|
435
|
+
focused: {
|
436
|
+
true: PolymorphicClassName;
|
437
|
+
};
|
438
|
+
}> & AnchorHTMLAttributes<HTMLAnchorElement> & LinkCustomProps & RefAttributes<HTMLAnchorElement>>;
|
439
|
+
|
440
|
+
// @public (undocumented)
|
441
|
+
export const P1: FunctionComponent<PropsType< {
|
442
|
+
size: {
|
443
|
+
paragraph1: PolymorphicClassName;
|
444
|
+
};
|
445
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
446
|
+
|
447
|
+
// @public (undocumented)
|
448
|
+
export const P2: FunctionComponent<PropsType< {
|
449
|
+
size: {
|
450
|
+
paragraph2: PolymorphicClassName;
|
451
|
+
};
|
452
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
453
|
+
|
454
|
+
// @public
|
455
|
+
export const Radiobox: FunctionComponent<PropsType< {
|
456
|
+
size: {
|
457
|
+
s: PolymorphicClassName;
|
458
|
+
m: PolymorphicClassName;
|
459
|
+
};
|
460
|
+
view: {
|
461
|
+
accent: PolymorphicClassName;
|
462
|
+
};
|
463
|
+
disabled: {
|
464
|
+
true: PolymorphicClassName;
|
465
|
+
};
|
466
|
+
focused: {
|
467
|
+
true: PolymorphicClassName;
|
468
|
+
};
|
469
|
+
}> & Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate"> & RefAttributes<HTMLInputElement>>;
|
470
|
+
|
471
|
+
// Warning: (ae-forgotten-export) The symbol "RadioboxComponent" needs to be exported by the entry point index.d.ts
|
472
|
+
//
|
473
|
+
// @public (undocumented)
|
474
|
+
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
475
|
+
|
476
|
+
export { RadioGroup }
|
477
|
+
|
478
|
+
// @public
|
479
|
+
export const Spinner: StyledComponent<FunctionComponent<PropsType< {
|
480
|
+
view: {
|
481
|
+
accent: PolymorphicClassName;
|
482
|
+
};
|
483
|
+
}> & ((HTMLAttributes<HTMLDivElement> & {
|
484
|
+
width?: undefined;
|
485
|
+
height?: undefined;
|
486
|
+
size?: string | undefined;
|
487
|
+
view?: string | undefined;
|
488
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
|
489
|
+
width: number;
|
490
|
+
height: number;
|
491
|
+
size?: undefined; /**
|
492
|
+
* @deprecated
|
493
|
+
*/
|
494
|
+
view?: string | undefined;
|
495
|
+
} & RefAttributes<HTMLDivElement>) | (HTMLAttributes<HTMLDivElement> & {
|
496
|
+
width: string;
|
497
|
+
height: string;
|
498
|
+
size?: undefined;
|
499
|
+
view?: string | undefined;
|
500
|
+
} & RefAttributes<HTMLDivElement>))>, any, {}, never>;
|
501
|
+
|
502
|
+
// @public (undocumented)
|
503
|
+
export type SpinnerProps = HTMLAttributes<HTMLDivElement> & {
|
504
|
+
size?: string | number;
|
505
|
+
view?: string;
|
506
|
+
color?: string;
|
507
|
+
deviceScale?: number;
|
508
|
+
};
|
509
|
+
|
510
|
+
export { SSRProvider }
|
511
|
+
|
512
|
+
// @public (undocumented)
|
513
|
+
export const Subtitle: FunctionComponent<PropsType< {
|
514
|
+
size: {
|
515
|
+
m: PolymorphicClassName;
|
516
|
+
};
|
517
|
+
}> & SubtitleProps & RefAttributes<HTMLDivElement>>;
|
518
|
+
|
519
|
+
// @public (undocumented)
|
520
|
+
export const Switch: FunctionComponent<PropsType< {
|
521
|
+
size: {
|
522
|
+
m: PolymorphicClassName;
|
523
|
+
};
|
524
|
+
toggleSize: {
|
525
|
+
l: PolymorphicClassName;
|
526
|
+
};
|
527
|
+
view: {
|
528
|
+
default: PolymorphicClassName;
|
529
|
+
};
|
530
|
+
disabled: {
|
531
|
+
true: PolymorphicClassName;
|
532
|
+
};
|
533
|
+
focused: {
|
534
|
+
true: PolymorphicClassName;
|
535
|
+
};
|
536
|
+
}> & SwitchProps_2 & RefAttributes<HTMLInputElement>>;
|
537
|
+
|
538
|
+
// Warning: (ae-forgotten-export) The symbol "SwitchComponent" needs to be exported by the entry point index.d.ts
|
539
|
+
//
|
540
|
+
// @public (undocumented)
|
541
|
+
export type SwitchProps = ComponentProps<typeof SwitchComponent>;
|
542
|
+
|
543
|
+
// @public (undocumented)
|
544
|
+
export const TextL: FunctionComponent<PropsType< {
|
545
|
+
size: {
|
546
|
+
l: PolymorphicClassName;
|
547
|
+
};
|
548
|
+
}> & {
|
549
|
+
noWrap?: boolean | undefined;
|
550
|
+
breakWord?: boolean | undefined;
|
551
|
+
color?: string | undefined;
|
552
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
553
|
+
|
554
|
+
// @public (undocumented)
|
555
|
+
export const TextM: FunctionComponent<PropsType< {
|
556
|
+
size: {
|
557
|
+
m: PolymorphicClassName;
|
558
|
+
};
|
559
|
+
}> & {
|
560
|
+
noWrap?: boolean | undefined;
|
561
|
+
breakWord?: boolean | undefined;
|
562
|
+
color?: string | undefined;
|
563
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
564
|
+
|
565
|
+
// @public (undocumented)
|
566
|
+
export const TextS: FunctionComponent<PropsType< {
|
567
|
+
size: {
|
568
|
+
s: PolymorphicClassName;
|
569
|
+
};
|
570
|
+
}> & {
|
571
|
+
noWrap?: boolean | undefined;
|
572
|
+
breakWord?: boolean | undefined;
|
573
|
+
color?: string | undefined;
|
574
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
575
|
+
|
576
|
+
// @public (undocumented)
|
577
|
+
export const TextXS: FunctionComponent<PropsType< {
|
578
|
+
size: {
|
579
|
+
xs: PolymorphicClassName;
|
580
|
+
};
|
581
|
+
}> & {
|
582
|
+
noWrap?: boolean | undefined;
|
583
|
+
breakWord?: boolean | undefined;
|
584
|
+
color?: string | undefined;
|
585
|
+
} & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
586
|
+
|
587
|
+
// @public (undocumented)
|
588
|
+
export const Underline: FunctionComponent<PropsType< {
|
589
|
+
size: {
|
590
|
+
m: PolymorphicClassName;
|
591
|
+
};
|
592
|
+
}> & TypographyOldProps & RefAttributes<HTMLDivElement>>;
|
593
|
+
|
594
|
+
// (No @packageDocumentation comment for this package)
|
595
|
+
|
596
|
+
```
|