@foxford/ui 2.109.0 → 2.110.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/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/Avatar.js.map +1 -1
- package/components/Avatar/Avatar.mjs +1 -1
- package/components/Avatar/Avatar.mjs.map +1 -1
- package/components/Avatar/sizes.js +1 -1
- package/components/Avatar/sizes.js.map +1 -1
- package/components/Avatar/sizes.mjs +1 -1
- package/components/Avatar/sizes.mjs.map +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/Chip.js.map +1 -1
- package/components/Chip/Chip.mjs +1 -1
- package/components/Chip/Chip.mjs.map +1 -1
- package/components/Chip/sizes.js +2 -0
- package/components/Chip/sizes.js.map +1 -0
- package/components/Chip/sizes.mjs +2 -0
- package/components/Chip/sizes.mjs.map +1 -0
- package/components/Chip/style.js +1 -1
- package/components/Chip/style.js.map +1 -1
- package/components/Chip/style.mjs +1 -1
- package/components/Chip/style.mjs.map +1 -1
- package/components/Dropdown/Dropdown.js +1 -1
- package/components/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/Dropdown.mjs +1 -1
- package/components/Dropdown/Dropdown.mjs.map +1 -1
- package/components/Indicator/constants.js +1 -1
- package/components/Indicator/constants.js.map +1 -1
- package/components/Indicator/constants.mjs +1 -1
- package/components/Indicator/constants.mjs.map +1 -1
- package/dts/index.d.ts +383 -233
- package/package.json +2 -2
- package/components/Chip/constants.js +0 -2
- package/components/Chip/constants.js.map +0 -1
- package/components/Chip/constants.mjs +0 -2
- package/components/Chip/constants.mjs.map +0 -1
package/dts/index.d.ts
CHANGED
|
@@ -896,8 +896,8 @@ type CSSColor = RGB | RGBA | HEX | CSSGlobalValue | 'currentcolor' | 'transparen
|
|
|
896
896
|
type CSSBorderStyle = CSSGlobalValue | 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
|
897
897
|
type CSSVerticalAlign = CSSGlobalValue | 'baseline' | 'sub' | 'super' | 'text-top' | 'text-bottom' | 'middle' | 'top' | 'bottom';
|
|
898
898
|
type CSSFontWeight = CSSGlobalValue | 'normal' | 'bold' | 'lighter' | 'bolder' | number;
|
|
899
|
-
type Size$
|
|
900
|
-
type SizeValue$1 = Size$
|
|
899
|
+
type Size$r = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
900
|
+
type SizeValue$1 = Size$r | CSSGlobalValue | number;
|
|
901
901
|
type Breakpoint$1 = 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';
|
|
902
902
|
type Orientation = 'landscape' | 'portrait';
|
|
903
903
|
type Color = keyof typeof ColorNames | CSSColor;
|
|
@@ -959,7 +959,7 @@ interface ToolbarControl<T = Record<string, unknown>> {
|
|
|
959
959
|
type PlaygroundToolbar<T = Record<string, unknown>> = Record<string, ToolbarControl<T>[] | ToolbarControl<T>[][]>;
|
|
960
960
|
type WrappedComponentProps = {
|
|
961
961
|
preset?: ThemePreset;
|
|
962
|
-
sizes?: Partial<Record<Size$
|
|
962
|
+
sizes?: Partial<Record<Size$r, React.CSSProperties>>;
|
|
963
963
|
palette?: Partial<Record<ColorPaletteKey, Color>>;
|
|
964
964
|
};
|
|
965
965
|
type WithMergedPropsOptions<T extends WrappedComponentProps> = {
|
|
@@ -991,21 +991,21 @@ declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
|
|
|
991
991
|
/**
|
|
992
992
|
* Value for breakpoint
|
|
993
993
|
*/
|
|
994
|
-
type PossibleValues = number | Size$
|
|
994
|
+
type PossibleValues = number | Size$r | 'auto' | 'initial' | 'inherit' | boolean;
|
|
995
995
|
type PropsProperties = 'size' | 'fontSize' | 'height' | 'width' | 'top' | 'right' | 'bottom' | 'left' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'fluid';
|
|
996
996
|
type CalcProperty = (_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null;
|
|
997
997
|
type CssProperty = string | CalcProperty;
|
|
998
998
|
type ResponsiveKeys = '' | 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
|
|
999
999
|
type ResponsiveNamedProperty<T extends PropsProperties, V extends PossibleValues = PossibleValues> = Partial<Record<`${T}${ResponsiveKeys}`, V>>;
|
|
1000
|
-
type ResponsiveProperty<V = number | Size$
|
|
1001
|
-
declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size$
|
|
1000
|
+
type ResponsiveProperty<V = number | Size$r> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
|
|
1001
|
+
declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size$r, number>) => () => () => FlattenSimpleInterpolation | null;
|
|
1002
1002
|
interface ResponsiveNamedPropertyPayload<T extends PropsProperties> {
|
|
1003
1003
|
sizes: ResponsiveNamedProperty<T>;
|
|
1004
1004
|
cssProperty: CssProperty;
|
|
1005
1005
|
sizing?: null | string;
|
|
1006
1006
|
customSizeHandler?: (_value: PossibleValues) => PossibleValues;
|
|
1007
1007
|
sort?: (_a: string, _b: string) => number;
|
|
1008
|
-
predefinedSizes?: Record<Size$
|
|
1008
|
+
predefinedSizes?: Record<Size$r, number>;
|
|
1009
1009
|
}
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Миксин для генерации media запросов
|
|
@@ -1106,7 +1106,7 @@ interface ExpandButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
|
1106
1106
|
/** Кастомные цвета */
|
|
1107
1107
|
palette?: Partial<Record<keyof ExpandButtonPalette, Color>>;
|
|
1108
1108
|
}
|
|
1109
|
-
interface TextProps extends ResponsiveSizeProps<Size$
|
|
1109
|
+
interface TextProps extends ResponsiveSizeProps<Size$r, SizeValue$1>, ResponsiveMarginProps,
|
|
1110
1110
|
/** @deprecated */
|
|
1111
1111
|
DisplayProperty, ColorProperty, Omit<React.HTMLAttributes<HTMLElement>, 'color'>, Omit<React.BlockquoteHTMLAttributes<HTMLElement>, 'color'>, Omit<React.LabelHTMLAttributes<HTMLElement>, 'color'> {
|
|
1112
1112
|
/** Применение присета стилей и размеров */
|
|
@@ -2879,11 +2879,11 @@ type IconISOCode =
|
|
|
2879
2879
|
| 'af'
|
|
2880
2880
|
|
|
2881
2881
|
type SizeIcon = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
2882
|
-
type Size$
|
|
2883
|
-
type Margin$
|
|
2882
|
+
type Size$q = SizeIcon | number | 'inherit';
|
|
2883
|
+
type Margin$h = number | string;
|
|
2884
2884
|
type IconNameDefault = 'book' | 'blackBoard' | 'burger' | 'eye' | 'email' | 'sort' | 'unsort' | 'person' | 'diamond' | 'diamondFilled' | 'infoInverse' | 'list' | 'login' | 'logout' | 'fire' | 'camps' | 'cart' | 'clock' | 'clockFilled' | 'courses' | 'discount' | 'externat' | 'headphones' | 'page' | 'priceTag' | 'phone' | 'prof' | 'star' | 'settings' | 'student' | 'target' | 'textbook' | 'trophy' | 'message' | 'wallet' | 'edit' | 'copy' | 'print' | 'objective' | 'present' | 'coins' | 'calendar' | 'calendar_simple' | 'chevronDown' | 'chevronUp' | 'chevronRight' | 'chevronLeft' | 'cross' | 'dialog' | 'dropDownArrow' | 'externalLink' | 'file' | 'fileBordered' | 'lessons' | 'pencil' | 'phoneNoFill' | 'radioChecked' | 'radioNotChecked' | 'search' | 'tasks' | 'tinyCross' | 'sharpCross' | 'plus' | 'plusThin' | 'play' | 'reload' | 'checkCircle' | 'info' | 'check' | 'home' | 'questionFilled' | 'document' | 'cancel' | 'playPause' | 'video';
|
|
2885
2885
|
type IconName = IconName$1 | IconNameDefault | IconISOCode;
|
|
2886
|
-
interface IconBaseProps extends ResponsiveSizeProps<SizeIcon, Size$
|
|
2886
|
+
interface IconBaseProps extends ResponsiveSizeProps<SizeIcon, Size$q>, ResponsiveMarginProps {
|
|
2887
2887
|
/**
|
|
2888
2888
|
* Версия компонента: v3 ("brand") или v2 ("default").
|
|
2889
2889
|
*
|
|
@@ -2920,37 +2920,37 @@ interface IconBaseProps extends ResponsiveSizeProps<SizeIcon, Size$p>, Responsiv
|
|
|
2920
2920
|
*
|
|
2921
2921
|
* @general
|
|
2922
2922
|
* @default 'inherit' */
|
|
2923
|
-
size?: Size$
|
|
2923
|
+
size?: Size$q | [DESKTOP: Size$q, TABLET: Size$q, MOBILE: Size$q] | [XL: Size$q, L: Size$q, M: Size$q, S: Size$q, XS: Size$q, XXS: Size$q];
|
|
2924
2924
|
/**
|
|
2925
2925
|
* Размер для XXS брейкпоинта.
|
|
2926
2926
|
*
|
|
2927
2927
|
* @default undefined */
|
|
2928
|
-
sizeXXS?: Size$
|
|
2928
|
+
sizeXXS?: Size$q;
|
|
2929
2929
|
/**
|
|
2930
2930
|
* Размер для XS брейкпоинта.
|
|
2931
2931
|
*
|
|
2932
2932
|
* @default undefined */
|
|
2933
|
-
sizeXS?: Size$
|
|
2933
|
+
sizeXS?: Size$q;
|
|
2934
2934
|
/**
|
|
2935
2935
|
* Размер для S брейкпоинта.
|
|
2936
2936
|
*
|
|
2937
2937
|
* @default undefined */
|
|
2938
|
-
sizeS?: Size$
|
|
2938
|
+
sizeS?: Size$q;
|
|
2939
2939
|
/**
|
|
2940
2940
|
* Размер для M брейкпоинта.
|
|
2941
2941
|
*
|
|
2942
2942
|
* @default undefined */
|
|
2943
|
-
sizeM?: Size$
|
|
2943
|
+
sizeM?: Size$q;
|
|
2944
2944
|
/**
|
|
2945
2945
|
* Размер для L брейкпоинта.
|
|
2946
2946
|
*
|
|
2947
2947
|
* @default undefined */
|
|
2948
|
-
sizeL?: Size$
|
|
2948
|
+
sizeL?: Size$q;
|
|
2949
2949
|
/**
|
|
2950
2950
|
* Размер для XL брейкпоинта.
|
|
2951
2951
|
*
|
|
2952
2952
|
* @default undefined */
|
|
2953
|
-
sizeXL?: Size$
|
|
2953
|
+
sizeXL?: Size$q;
|
|
2954
2954
|
/**
|
|
2955
2955
|
* Модификация размеров.
|
|
2956
2956
|
*
|
|
@@ -2964,37 +2964,37 @@ interface IconBaseProps extends ResponsiveSizeProps<SizeIcon, Size$p>, Responsiv
|
|
|
2964
2964
|
*
|
|
2965
2965
|
* @general
|
|
2966
2966
|
* @default undefined */
|
|
2967
|
-
margin?: Margin$
|
|
2967
|
+
margin?: Margin$h | [DESKTOP: Margin$h, TABLET: Margin$h, MOBILE: Margin$h] | [XL: Margin$h, L: Margin$h, M: Margin$h, S: Margin$h, XS: Margin$h, XXS: Margin$h];
|
|
2968
2968
|
/**
|
|
2969
2969
|
* Отступ для XXS брейкпоинта.
|
|
2970
2970
|
*
|
|
2971
2971
|
* @default undefined */
|
|
2972
|
-
marginXXS?: Margin$
|
|
2972
|
+
marginXXS?: Margin$h;
|
|
2973
2973
|
/**
|
|
2974
2974
|
* Отступ для XS брейкпоинта.
|
|
2975
2975
|
*
|
|
2976
2976
|
* @default undefined */
|
|
2977
|
-
marginXS?: Margin$
|
|
2977
|
+
marginXS?: Margin$h;
|
|
2978
2978
|
/**
|
|
2979
2979
|
* Отступ для S брейкпоинта.
|
|
2980
2980
|
*
|
|
2981
2981
|
* @default undefined */
|
|
2982
|
-
marginS?: Margin$
|
|
2982
|
+
marginS?: Margin$h;
|
|
2983
2983
|
/**
|
|
2984
2984
|
* Отступ для M брейкпоинта.
|
|
2985
2985
|
*
|
|
2986
2986
|
* @default undefined */
|
|
2987
|
-
marginM?: Margin$
|
|
2987
|
+
marginM?: Margin$h;
|
|
2988
2988
|
/**
|
|
2989
2989
|
* Отступ для L брейкпоинта.
|
|
2990
2990
|
*
|
|
2991
2991
|
* @default undefined */
|
|
2992
|
-
marginL?: Margin$
|
|
2992
|
+
marginL?: Margin$h;
|
|
2993
2993
|
/**
|
|
2994
2994
|
* Отступ для XL брейкпоинта.
|
|
2995
2995
|
*
|
|
2996
2996
|
* @default undefined */
|
|
2997
|
-
marginXL?: Margin$
|
|
2997
|
+
marginXL?: Margin$h;
|
|
2998
2998
|
/** @ignore @deprecated */
|
|
2999
2999
|
as?: React.ElementType;
|
|
3000
3000
|
}
|
|
@@ -3080,10 +3080,10 @@ interface Location extends Path {
|
|
|
3080
3080
|
key: Key;
|
|
3081
3081
|
}
|
|
3082
3082
|
|
|
3083
|
-
type Size$
|
|
3084
|
-
type SizeValue = Size$
|
|
3085
|
-
type Margin$
|
|
3086
|
-
interface AnchorProps extends ResponsiveSizeProps<Size$
|
|
3083
|
+
type Size$p = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
3084
|
+
type SizeValue = Size$p | 'initial' | 'inherit' | 'unset' | 'revert' | 'revert-layer' | number;
|
|
3085
|
+
type Margin$g = number | string;
|
|
3086
|
+
interface AnchorProps extends ResponsiveSizeProps<Size$p, SizeValue>, ResponsiveMarginProps,
|
|
3087
3087
|
/** @deprecated Use palette */
|
|
3088
3088
|
ColorProperty<'color'>,
|
|
3089
3089
|
/** @deprecated Use children as function */
|
|
@@ -3213,7 +3213,7 @@ DisplayProperty {
|
|
|
3213
3213
|
*
|
|
3214
3214
|
* @general
|
|
3215
3215
|
* @default undefined */
|
|
3216
|
-
sizes?: Partial<Record<Size$
|
|
3216
|
+
sizes?: Partial<Record<Size$p, React.CSSProperties>>;
|
|
3217
3217
|
/**
|
|
3218
3218
|
* Внешние отступы.
|
|
3219
3219
|
*
|
|
@@ -3221,37 +3221,37 @@ DisplayProperty {
|
|
|
3221
3221
|
*
|
|
3222
3222
|
* @general
|
|
3223
3223
|
* @default undefined */
|
|
3224
|
-
margin?: Margin$
|
|
3224
|
+
margin?: Margin$g | [DESKTOP: Margin$g, TABLET: Margin$g, MOBILE: Margin$g] | [XL: Margin$g, L: Margin$g, M: Margin$g, S: Margin$g, XS: Margin$g, XXS: Margin$g];
|
|
3225
3225
|
/**
|
|
3226
3226
|
* Отступ для XXS брейкпоинта.
|
|
3227
3227
|
*
|
|
3228
3228
|
* @default undefined */
|
|
3229
|
-
marginXXS?: Margin$
|
|
3229
|
+
marginXXS?: Margin$g;
|
|
3230
3230
|
/**
|
|
3231
3231
|
* Отступ для XS брейкпоинта.
|
|
3232
3232
|
*
|
|
3233
3233
|
* @default undefined */
|
|
3234
|
-
marginXS?: Margin$
|
|
3234
|
+
marginXS?: Margin$g;
|
|
3235
3235
|
/**
|
|
3236
3236
|
* Отступ для S брейкпоинта.
|
|
3237
3237
|
*
|
|
3238
3238
|
* @default undefined */
|
|
3239
|
-
marginS?: Margin$
|
|
3239
|
+
marginS?: Margin$g;
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Отступ для M брейкпоинта.
|
|
3242
3242
|
*
|
|
3243
3243
|
* @default undefined */
|
|
3244
|
-
marginM?: Margin$
|
|
3244
|
+
marginM?: Margin$g;
|
|
3245
3245
|
/**
|
|
3246
3246
|
* Отступ для L брейкпоинта.
|
|
3247
3247
|
*
|
|
3248
3248
|
* @default undefined */
|
|
3249
|
-
marginL?: Margin$
|
|
3249
|
+
marginL?: Margin$g;
|
|
3250
3250
|
/**
|
|
3251
3251
|
* Отступ для XL брейкпоинта.
|
|
3252
3252
|
*
|
|
3253
3253
|
* @default undefined */
|
|
3254
|
-
marginXL?: Margin$
|
|
3254
|
+
marginXL?: Margin$g;
|
|
3255
3255
|
/** @ignore @deprecated */
|
|
3256
3256
|
replace?: boolean;
|
|
3257
3257
|
/** @ignore */
|
|
@@ -3276,9 +3276,9 @@ DisplayProperty {
|
|
|
3276
3276
|
*/
|
|
3277
3277
|
declare const Anchor: <C extends React.ElementType = "a">(props: PolymorphicPropsWithRef<C, AnchorProps>) => React.ReactElement | null;
|
|
3278
3278
|
|
|
3279
|
-
type Size$
|
|
3280
|
-
type Margin$
|
|
3281
|
-
interface ButtonBaseProps extends ResponsiveSizeProps<Size$
|
|
3279
|
+
type Size$o = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
3280
|
+
type Margin$f = number | string;
|
|
3281
|
+
interface ButtonBaseProps extends ResponsiveSizeProps<Size$o>, ResponsiveMarginProps, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>,
|
|
3282
3282
|
/** @deprecated */
|
|
3283
3283
|
ColorProperty,
|
|
3284
3284
|
/** @deprecated */
|
|
@@ -3449,43 +3449,43 @@ ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
|
|
|
3449
3449
|
*
|
|
3450
3450
|
* @general
|
|
3451
3451
|
* @default 'm' */
|
|
3452
|
-
size?: Size$
|
|
3452
|
+
size?: Size$o | [DESKTOP: Size$o, TABLET: Size$o, MOBILE: Size$o] | [XL: Size$o, L: Size$o, M: Size$o, S: Size$o, XS: Size$o, XXS: Size$o];
|
|
3453
3453
|
/**
|
|
3454
3454
|
* Размер для XXS брейкпоинта.
|
|
3455
3455
|
*
|
|
3456
3456
|
* @default undefined */
|
|
3457
|
-
sizeXXS?: Size$
|
|
3457
|
+
sizeXXS?: Size$o;
|
|
3458
3458
|
/**
|
|
3459
3459
|
* Размер для XS брейкпоинта.
|
|
3460
3460
|
*
|
|
3461
3461
|
* @default undefined */
|
|
3462
|
-
sizeXS?: Size$
|
|
3462
|
+
sizeXS?: Size$o;
|
|
3463
3463
|
/**
|
|
3464
3464
|
* Размер для S брейкпоинта.
|
|
3465
3465
|
*
|
|
3466
3466
|
* @default undefined */
|
|
3467
|
-
sizeS?: Size$
|
|
3467
|
+
sizeS?: Size$o;
|
|
3468
3468
|
/**
|
|
3469
3469
|
* Размер для M брейкпоинта.
|
|
3470
3470
|
*
|
|
3471
3471
|
* @default undefined */
|
|
3472
|
-
sizeM?: Size$
|
|
3472
|
+
sizeM?: Size$o;
|
|
3473
3473
|
/**
|
|
3474
3474
|
* Размер для L брейкпоинта.
|
|
3475
3475
|
*
|
|
3476
3476
|
* @default undefined */
|
|
3477
|
-
sizeL?: Size$
|
|
3477
|
+
sizeL?: Size$o;
|
|
3478
3478
|
/**
|
|
3479
3479
|
* Размер для XL брейкпоинта.
|
|
3480
3480
|
*
|
|
3481
3481
|
* @default undefined */
|
|
3482
|
-
sizeXL?: Size$
|
|
3482
|
+
sizeXL?: Size$o;
|
|
3483
3483
|
/**
|
|
3484
3484
|
* Модификация размеров.
|
|
3485
3485
|
*
|
|
3486
3486
|
* @general
|
|
3487
3487
|
* @default undefined */
|
|
3488
|
-
sizes?: Partial<Record<Size$
|
|
3488
|
+
sizes?: Partial<Record<Size$o, React.CSSProperties>>;
|
|
3489
3489
|
/**
|
|
3490
3490
|
* Внешние отступы.
|
|
3491
3491
|
*
|
|
@@ -3493,37 +3493,37 @@ ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
|
|
|
3493
3493
|
*
|
|
3494
3494
|
* @general
|
|
3495
3495
|
* @default undefined */
|
|
3496
|
-
margin?: Margin$
|
|
3496
|
+
margin?: Margin$f | [DESKTOP: Margin$f, TABLET: Margin$f, MOBILE: Margin$f] | [XL: Margin$f, L: Margin$f, M: Margin$f, S: Margin$f, XS: Margin$f, XXS: Margin$f];
|
|
3497
3497
|
/**
|
|
3498
3498
|
* Отступ для XXS брейкпоинта.
|
|
3499
3499
|
*
|
|
3500
3500
|
* @default undefined */
|
|
3501
|
-
marginXXS?: Margin$
|
|
3501
|
+
marginXXS?: Margin$f;
|
|
3502
3502
|
/**
|
|
3503
3503
|
* Отступ для XS брейкпоинта.
|
|
3504
3504
|
*
|
|
3505
3505
|
* @default undefined */
|
|
3506
|
-
marginXS?: Margin$
|
|
3506
|
+
marginXS?: Margin$f;
|
|
3507
3507
|
/**
|
|
3508
3508
|
* Отступ для S брейкпоинта.
|
|
3509
3509
|
*
|
|
3510
3510
|
* @default undefined */
|
|
3511
|
-
marginS?: Margin$
|
|
3511
|
+
marginS?: Margin$f;
|
|
3512
3512
|
/**
|
|
3513
3513
|
* Отступ для M брейкпоинта.
|
|
3514
3514
|
*
|
|
3515
3515
|
* @default undefined */
|
|
3516
|
-
marginM?: Margin$
|
|
3516
|
+
marginM?: Margin$f;
|
|
3517
3517
|
/**
|
|
3518
3518
|
* Отступ для L брейкпоинта.
|
|
3519
3519
|
*
|
|
3520
3520
|
* @default undefined */
|
|
3521
|
-
marginL?: Margin$
|
|
3521
|
+
marginL?: Margin$f;
|
|
3522
3522
|
/**
|
|
3523
3523
|
* Отступ для XL брейкпоинта.
|
|
3524
3524
|
*
|
|
3525
3525
|
* @default undefined */
|
|
3526
|
-
marginXL?: Margin$
|
|
3526
|
+
marginXL?: Margin$f;
|
|
3527
3527
|
/** @ignore */
|
|
3528
3528
|
primary?: boolean;
|
|
3529
3529
|
/** @ignore */
|
|
@@ -3614,9 +3614,9 @@ interface AlertProps extends BaseProps {
|
|
|
3614
3614
|
|
|
3615
3615
|
declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
|
|
3616
3616
|
|
|
3617
|
-
type Size$
|
|
3618
|
-
type Margin$
|
|
3619
|
-
interface ArrowProps extends ResponsiveSizeProps<Size$
|
|
3617
|
+
type Size$n = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
3618
|
+
type Margin$e = number | string;
|
|
3619
|
+
interface ArrowProps extends ResponsiveSizeProps<Size$n, SizeValue$1>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Версия компонента: v3 ("brand") или v2 ("default").
|
|
3622
3622
|
*
|
|
@@ -3698,43 +3698,43 @@ interface ArrowProps extends ResponsiveSizeProps<Size$m, SizeValue$1>, Responsiv
|
|
|
3698
3698
|
*
|
|
3699
3699
|
* @general
|
|
3700
3700
|
* @default 'l' */
|
|
3701
|
-
size?: Size$
|
|
3701
|
+
size?: Size$n | [DESKTOP: Size$n, TABLET: Size$n, MOBILE: Size$n] | [XL: Size$n, L: Size$n, M: Size$n, S: Size$n, XS: Size$n, XXS: Size$n];
|
|
3702
3702
|
/**
|
|
3703
3703
|
* Размер для XXS брейкпоинта.
|
|
3704
3704
|
*
|
|
3705
3705
|
* @default undefined */
|
|
3706
|
-
sizeXXS?: Size$
|
|
3706
|
+
sizeXXS?: Size$n;
|
|
3707
3707
|
/**
|
|
3708
3708
|
* Размер для XS брейкпоинта.
|
|
3709
3709
|
*
|
|
3710
3710
|
* @default undefined */
|
|
3711
|
-
sizeXS?: Size$
|
|
3711
|
+
sizeXS?: Size$n;
|
|
3712
3712
|
/**
|
|
3713
3713
|
* Размер для S брейкпоинта.
|
|
3714
3714
|
*
|
|
3715
3715
|
* @default undefined */
|
|
3716
|
-
sizeS?: Size$
|
|
3716
|
+
sizeS?: Size$n;
|
|
3717
3717
|
/**
|
|
3718
3718
|
* Размер для M брейкпоинта.
|
|
3719
3719
|
*
|
|
3720
3720
|
* @default undefined */
|
|
3721
|
-
sizeM?: Size$
|
|
3721
|
+
sizeM?: Size$n;
|
|
3722
3722
|
/**
|
|
3723
3723
|
* Размер для L брейкпоинта.
|
|
3724
3724
|
*
|
|
3725
3725
|
* @default undefined */
|
|
3726
|
-
sizeL?: Size$
|
|
3726
|
+
sizeL?: Size$n;
|
|
3727
3727
|
/**
|
|
3728
3728
|
* Размер для XL брейкпоинта.
|
|
3729
3729
|
*
|
|
3730
3730
|
* @default undefined */
|
|
3731
|
-
sizeXL?: Size$
|
|
3731
|
+
sizeXL?: Size$n;
|
|
3732
3732
|
/**
|
|
3733
3733
|
* Модификация размеров.
|
|
3734
3734
|
*
|
|
3735
3735
|
* @general
|
|
3736
3736
|
* @default undefined */
|
|
3737
|
-
sizes?: Partial<Record<Size$
|
|
3737
|
+
sizes?: Partial<Record<Size$n, React.CSSProperties>>;
|
|
3738
3738
|
/**
|
|
3739
3739
|
* Внешние отступы.
|
|
3740
3740
|
*
|
|
@@ -3742,37 +3742,37 @@ interface ArrowProps extends ResponsiveSizeProps<Size$m, SizeValue$1>, Responsiv
|
|
|
3742
3742
|
*
|
|
3743
3743
|
* @general
|
|
3744
3744
|
* @default undefined */
|
|
3745
|
-
margin?: Margin$
|
|
3745
|
+
margin?: Margin$e | [DESKTOP: Margin$e, TABLET: Margin$e, MOBILE: Margin$e] | [XL: Margin$e, L: Margin$e, M: Margin$e, S: Margin$e, XS: Margin$e, XXS: Margin$e];
|
|
3746
3746
|
/**
|
|
3747
3747
|
* Отступ для XXS брейкпоинта.
|
|
3748
3748
|
*
|
|
3749
3749
|
* @default undefined */
|
|
3750
|
-
marginXXS?: Margin$
|
|
3750
|
+
marginXXS?: Margin$e;
|
|
3751
3751
|
/**
|
|
3752
3752
|
* Отступ для XS брейкпоинта.
|
|
3753
3753
|
*
|
|
3754
3754
|
* @default undefined */
|
|
3755
|
-
marginXS?: Margin$
|
|
3755
|
+
marginXS?: Margin$e;
|
|
3756
3756
|
/**
|
|
3757
3757
|
* Отступ для S брейкпоинта.
|
|
3758
3758
|
*
|
|
3759
3759
|
* @default undefined */
|
|
3760
|
-
marginS?: Margin$
|
|
3760
|
+
marginS?: Margin$e;
|
|
3761
3761
|
/**
|
|
3762
3762
|
* Отступ для M брейкпоинта.
|
|
3763
3763
|
*
|
|
3764
3764
|
* @default undefined */
|
|
3765
|
-
marginM?: Margin$
|
|
3765
|
+
marginM?: Margin$e;
|
|
3766
3766
|
/**
|
|
3767
3767
|
* Отступ для L брейкпоинта.
|
|
3768
3768
|
*
|
|
3769
3769
|
* @default undefined */
|
|
3770
|
-
marginL?: Margin$
|
|
3770
|
+
marginL?: Margin$e;
|
|
3771
3771
|
/**
|
|
3772
3772
|
* Отступ для XL брейкпоинта.
|
|
3773
3773
|
*
|
|
3774
3774
|
* @default undefined */
|
|
3775
|
-
marginXL?: Margin$
|
|
3775
|
+
marginXL?: Margin$e;
|
|
3776
3776
|
/** @ignore */
|
|
3777
3777
|
inverse?: boolean;
|
|
3778
3778
|
/** @ignore @deprecated */
|
|
@@ -3789,8 +3789,8 @@ interface ArrowProps extends ResponsiveSizeProps<Size$m, SizeValue$1>, Responsiv
|
|
|
3789
3789
|
*/
|
|
3790
3790
|
declare const Arrow: React.ForwardRefExoticComponent<ArrowProps>;
|
|
3791
3791
|
|
|
3792
|
-
type Size$
|
|
3793
|
-
interface InputCheckboxProps extends ResponsiveSizeProps<Size$
|
|
3792
|
+
type Size$m = 'xl' | 'l' | 'm' | 's' | 'xs';
|
|
3793
|
+
interface InputCheckboxProps extends ResponsiveSizeProps<Size$m>, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'children'> {
|
|
3794
3794
|
/**
|
|
3795
3795
|
* Текущее состояние контрола (использование включает контролируемый режим).
|
|
3796
3796
|
*
|
|
@@ -3867,43 +3867,43 @@ interface InputCheckboxProps extends ResponsiveSizeProps<Size$l>, Omit<React.Com
|
|
|
3867
3867
|
*
|
|
3868
3868
|
* @general
|
|
3869
3869
|
* @default 'm' */
|
|
3870
|
-
size?: Size$
|
|
3870
|
+
size?: Size$m | [DESKTOP: Size$m, TABLET: Size$m, MOBILE: Size$m] | [XL: Size$m, L: Size$m, M: Size$m, S: Size$m, XS: Size$m, XXS: Size$m];
|
|
3871
3871
|
/**
|
|
3872
3872
|
* Размер для XXS брейкпоинта.
|
|
3873
3873
|
*
|
|
3874
3874
|
* @default undefined */
|
|
3875
|
-
sizeXXS?: Size$
|
|
3875
|
+
sizeXXS?: Size$m;
|
|
3876
3876
|
/**
|
|
3877
3877
|
* Размер для XS брейкпоинта.
|
|
3878
3878
|
*
|
|
3879
3879
|
* @default undefined */
|
|
3880
|
-
sizeXS?: Size$
|
|
3880
|
+
sizeXS?: Size$m;
|
|
3881
3881
|
/**
|
|
3882
3882
|
* Размер для S брейкпоинта.
|
|
3883
3883
|
*
|
|
3884
3884
|
* @default undefined */
|
|
3885
|
-
sizeS?: Size$
|
|
3885
|
+
sizeS?: Size$m;
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Размер для M брейкпоинта.
|
|
3888
3888
|
*
|
|
3889
3889
|
* @default undefined */
|
|
3890
|
-
sizeM?: Size$
|
|
3890
|
+
sizeM?: Size$m;
|
|
3891
3891
|
/**
|
|
3892
3892
|
* Размер для L брейкпоинта.
|
|
3893
3893
|
*
|
|
3894
3894
|
* @default undefined */
|
|
3895
|
-
sizeL?: Size$
|
|
3895
|
+
sizeL?: Size$m;
|
|
3896
3896
|
/**
|
|
3897
3897
|
* Размер для XL брейкпоинта.
|
|
3898
3898
|
*
|
|
3899
3899
|
* @default undefined */
|
|
3900
|
-
sizeXL?: Size$
|
|
3900
|
+
sizeXL?: Size$m;
|
|
3901
3901
|
/**
|
|
3902
3902
|
* Модификация размеров.
|
|
3903
3903
|
*
|
|
3904
3904
|
* @general
|
|
3905
3905
|
* @default undefined */
|
|
3906
|
-
sizes?: Partial<Record<Size$
|
|
3906
|
+
sizes?: Partial<Record<Size$m, React.CSSProperties>>;
|
|
3907
3907
|
/** @ignore @deprecated */
|
|
3908
3908
|
onColored?: boolean;
|
|
3909
3909
|
}
|
|
@@ -3952,8 +3952,8 @@ declare enum SizeInput {
|
|
|
3952
3952
|
xs = 140
|
|
3953
3953
|
}
|
|
3954
3954
|
|
|
3955
|
-
type Size$
|
|
3956
|
-
interface TextareaBaseProps extends ResponsiveSizeProps<Size$
|
|
3955
|
+
type Size$l = 'l' | 'm' | 's' | 'xs';
|
|
3956
|
+
interface TextareaBaseProps extends ResponsiveSizeProps<Size$l>, ResponsiveMarginProps, ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
|
|
3957
3957
|
/**
|
|
3958
3958
|
* Автоматически адаптировать число строк под контент.
|
|
3959
3959
|
*
|
|
@@ -4108,7 +4108,7 @@ type ArrowBadgePalette = {
|
|
|
4108
4108
|
color: CSSColor;
|
|
4109
4109
|
backgroundColor: CSSColor;
|
|
4110
4110
|
};
|
|
4111
|
-
interface ArrowBadgeProps extends ResponsiveSizeProps<Size$
|
|
4111
|
+
interface ArrowBadgeProps extends ResponsiveSizeProps<Size$r, SizeValue$1>, ResponsiveMarginProps,
|
|
4112
4112
|
/** @deprecated Use palette */
|
|
4113
4113
|
ColorProperty<'color'>,
|
|
4114
4114
|
/** @deprecated Use palette */
|
|
@@ -4150,9 +4150,9 @@ ColorProperty<'backgroundColor'>, Omit<React.ComponentPropsWithRef<'div'>, 'colo
|
|
|
4150
4150
|
*/
|
|
4151
4151
|
declare const ArrowBadge: React.ForwardRefExoticComponent<ArrowBadgeProps>;
|
|
4152
4152
|
|
|
4153
|
-
type Size$
|
|
4154
|
-
type Margin$
|
|
4155
|
-
interface TabProps extends ResponsiveSizeProps<Size$
|
|
4153
|
+
type Size$k = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
|
|
4154
|
+
type Margin$d = number | string;
|
|
4155
|
+
interface TabProps extends ResponsiveSizeProps<Size$k, SizeValue$1>, ResponsiveMarginProps,
|
|
4156
4156
|
/** @deprecated Use palette */
|
|
4157
4157
|
ColorProperty<'color'>,
|
|
4158
4158
|
/** @deprecated Use palette */
|
|
@@ -4243,43 +4243,43 @@ ColorProperty<'borderColor'>, Omit<React.ComponentPropsWithRef<'button'>, 'color
|
|
|
4243
4243
|
*
|
|
4244
4244
|
* @general
|
|
4245
4245
|
* @default 'm' */
|
|
4246
|
-
size?: Size$
|
|
4246
|
+
size?: Size$k | [DESKTOP: Size$k, TABLET: Size$k, MOBILE: Size$k] | [XL: Size$k, L: Size$k, M: Size$k, S: Size$k, XS: Size$k, XXS: Size$k];
|
|
4247
4247
|
/**
|
|
4248
4248
|
* Размер для XXS брейкпоинта.
|
|
4249
4249
|
*
|
|
4250
4250
|
* @default undefined */
|
|
4251
|
-
sizeXXS?: Size$
|
|
4251
|
+
sizeXXS?: Size$k;
|
|
4252
4252
|
/**
|
|
4253
4253
|
* Размер для XS брейкпоинта.
|
|
4254
4254
|
*
|
|
4255
4255
|
* @default undefined */
|
|
4256
|
-
sizeXS?: Size$
|
|
4256
|
+
sizeXS?: Size$k;
|
|
4257
4257
|
/**
|
|
4258
4258
|
* Размер для S брейкпоинта.
|
|
4259
4259
|
*
|
|
4260
4260
|
* @default undefined */
|
|
4261
|
-
sizeS?: Size$
|
|
4261
|
+
sizeS?: Size$k;
|
|
4262
4262
|
/**
|
|
4263
4263
|
* Размер для M брейкпоинта.
|
|
4264
4264
|
*
|
|
4265
4265
|
* @default undefined */
|
|
4266
|
-
sizeM?: Size$
|
|
4266
|
+
sizeM?: Size$k;
|
|
4267
4267
|
/**
|
|
4268
4268
|
* Размер для L брейкпоинта.
|
|
4269
4269
|
*
|
|
4270
4270
|
* @default undefined */
|
|
4271
|
-
sizeL?: Size$
|
|
4271
|
+
sizeL?: Size$k;
|
|
4272
4272
|
/**
|
|
4273
4273
|
* Размер для XL брейкпоинта.
|
|
4274
4274
|
*
|
|
4275
4275
|
* @default undefined */
|
|
4276
|
-
sizeXL?: Size$
|
|
4276
|
+
sizeXL?: Size$k;
|
|
4277
4277
|
/**
|
|
4278
4278
|
* Модификация размеров.
|
|
4279
4279
|
*
|
|
4280
4280
|
* @general
|
|
4281
4281
|
* @default undefined */
|
|
4282
|
-
sizes?: Partial<Record<Size$
|
|
4282
|
+
sizes?: Partial<Record<Size$k, React.CSSProperties>>;
|
|
4283
4283
|
/**
|
|
4284
4284
|
* Внешние отступы.
|
|
4285
4285
|
*
|
|
@@ -4287,37 +4287,37 @@ ColorProperty<'borderColor'>, Omit<React.ComponentPropsWithRef<'button'>, 'color
|
|
|
4287
4287
|
*
|
|
4288
4288
|
* @general
|
|
4289
4289
|
* @default undefined */
|
|
4290
|
-
margin?: Margin$
|
|
4290
|
+
margin?: Margin$d | [DESKTOP: Margin$d, TABLET: Margin$d, MOBILE: Margin$d] | [XL: Margin$d, L: Margin$d, M: Margin$d, S: Margin$d, XS: Margin$d, XXS: Margin$d];
|
|
4291
4291
|
/**
|
|
4292
4292
|
* Отступ для XXS брейкпоинта.
|
|
4293
4293
|
*
|
|
4294
4294
|
* @default undefined */
|
|
4295
|
-
marginXXS?: Margin$
|
|
4295
|
+
marginXXS?: Margin$d;
|
|
4296
4296
|
/**
|
|
4297
4297
|
* Отступ для XS брейкпоинта.
|
|
4298
4298
|
*
|
|
4299
4299
|
* @default undefined */
|
|
4300
|
-
marginXS?: Margin$
|
|
4300
|
+
marginXS?: Margin$d;
|
|
4301
4301
|
/**
|
|
4302
4302
|
* Отступ для S брейкпоинта.
|
|
4303
4303
|
*
|
|
4304
4304
|
* @default undefined */
|
|
4305
|
-
marginS?: Margin$
|
|
4305
|
+
marginS?: Margin$d;
|
|
4306
4306
|
/**
|
|
4307
4307
|
* Отступ для M брейкпоинта.
|
|
4308
4308
|
*
|
|
4309
4309
|
* @default undefined */
|
|
4310
|
-
marginM?: Margin$
|
|
4310
|
+
marginM?: Margin$d;
|
|
4311
4311
|
/**
|
|
4312
4312
|
* Отступ для L брейкпоинта.
|
|
4313
4313
|
*
|
|
4314
4314
|
* @default undefined */
|
|
4315
|
-
marginL?: Margin$
|
|
4315
|
+
marginL?: Margin$d;
|
|
4316
4316
|
/**
|
|
4317
4317
|
* Отступ для XL брейкпоинта.
|
|
4318
4318
|
*
|
|
4319
4319
|
* @default undefined */
|
|
4320
|
-
marginXL?: Margin$
|
|
4320
|
+
marginXL?: Margin$d;
|
|
4321
4321
|
/** @ignore */
|
|
4322
4322
|
compact?: boolean;
|
|
4323
4323
|
/** @ignore */
|
|
@@ -4342,7 +4342,7 @@ type BadgePalette = {
|
|
|
4342
4342
|
color: CSSColor;
|
|
4343
4343
|
backgroundColor: CSSColor;
|
|
4344
4344
|
};
|
|
4345
|
-
interface BadgeProps extends ResponsiveSizeProps<Size$
|
|
4345
|
+
interface BadgeProps extends ResponsiveSizeProps<Size$r, SizeValue$1>, ResponsiveMarginProps,
|
|
4346
4346
|
/** @deprecated Use palette */
|
|
4347
4347
|
ColorProperty,
|
|
4348
4348
|
/** @deprecated Use children as function */
|
|
@@ -4395,9 +4395,9 @@ DisplayProperty, Omit<React.ComponentPropsWithRef<'div'>, 'color' | 'children'>
|
|
|
4395
4395
|
*/
|
|
4396
4396
|
declare const Badge: React.ForwardRefExoticComponent<BadgeProps>;
|
|
4397
4397
|
|
|
4398
|
-
type Size$
|
|
4399
|
-
type Margin$
|
|
4400
|
-
interface IconButtonBaseProps extends ResponsiveSizeProps<Size$
|
|
4398
|
+
type Size$j = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs';
|
|
4399
|
+
type Margin$c = number | string;
|
|
4400
|
+
interface IconButtonBaseProps extends ResponsiveSizeProps<Size$j>, ResponsiveMarginProps {
|
|
4401
4401
|
/**
|
|
4402
4402
|
* Кастомные цвета.
|
|
4403
4403
|
*
|
|
@@ -4455,43 +4455,43 @@ interface IconButtonBaseProps extends ResponsiveSizeProps<Size$i>, ResponsiveMar
|
|
|
4455
4455
|
*
|
|
4456
4456
|
* @general
|
|
4457
4457
|
* @default 'm' */
|
|
4458
|
-
size?: Size$
|
|
4458
|
+
size?: Size$j | [DESKTOP: Size$j, TABLET: Size$j, MOBILE: Size$j] | [XL: Size$j, L: Size$j, M: Size$j, S: Size$j, XS: Size$j, XXS: Size$j];
|
|
4459
4459
|
/**
|
|
4460
4460
|
* Размер для XXS брейкпоинта.
|
|
4461
4461
|
*
|
|
4462
4462
|
* @default undefined */
|
|
4463
|
-
sizeXXS?: Size$
|
|
4463
|
+
sizeXXS?: Size$j;
|
|
4464
4464
|
/**
|
|
4465
4465
|
* Размер для XS брейкпоинта.
|
|
4466
4466
|
*
|
|
4467
4467
|
* @default undefined */
|
|
4468
|
-
sizeXS?: Size$
|
|
4468
|
+
sizeXS?: Size$j;
|
|
4469
4469
|
/**
|
|
4470
4470
|
* Размер для S брейкпоинта.
|
|
4471
4471
|
*
|
|
4472
4472
|
* @default undefined */
|
|
4473
|
-
sizeS?: Size$
|
|
4473
|
+
sizeS?: Size$j;
|
|
4474
4474
|
/**
|
|
4475
4475
|
* Размер для M брейкпоинта.
|
|
4476
4476
|
*
|
|
4477
4477
|
* @default undefined */
|
|
4478
|
-
sizeM?: Size$
|
|
4478
|
+
sizeM?: Size$j;
|
|
4479
4479
|
/**
|
|
4480
4480
|
* Размер для L брейкпоинта.
|
|
4481
4481
|
*
|
|
4482
4482
|
* @default undefined */
|
|
4483
|
-
sizeL?: Size$
|
|
4483
|
+
sizeL?: Size$j;
|
|
4484
4484
|
/**
|
|
4485
4485
|
* Размер для XL брейкпоинта.
|
|
4486
4486
|
*
|
|
4487
4487
|
* @default undefined */
|
|
4488
|
-
sizeXL?: Size$
|
|
4488
|
+
sizeXL?: Size$j;
|
|
4489
4489
|
/**
|
|
4490
4490
|
* Модификация размеров.
|
|
4491
4491
|
*
|
|
4492
4492
|
* @general
|
|
4493
4493
|
* @default undefined */
|
|
4494
|
-
sizes?: Partial<Record<Size$
|
|
4494
|
+
sizes?: Partial<Record<Size$j, React.CSSProperties>>;
|
|
4495
4495
|
/**
|
|
4496
4496
|
* Внешние отступы.
|
|
4497
4497
|
*
|
|
@@ -4499,37 +4499,37 @@ interface IconButtonBaseProps extends ResponsiveSizeProps<Size$i>, ResponsiveMar
|
|
|
4499
4499
|
*
|
|
4500
4500
|
* @general
|
|
4501
4501
|
* @default undefined */
|
|
4502
|
-
margin?: Margin$
|
|
4502
|
+
margin?: Margin$c | [DESKTOP: Margin$c, TABLET: Margin$c, MOBILE: Margin$c] | [XL: Margin$c, L: Margin$c, M: Margin$c, S: Margin$c, XS: Margin$c, XXS: Margin$c];
|
|
4503
4503
|
/**
|
|
4504
4504
|
* Отступ для XXS брейкпоинта.
|
|
4505
4505
|
*
|
|
4506
4506
|
* @default undefined */
|
|
4507
|
-
marginXXS?: Margin$
|
|
4507
|
+
marginXXS?: Margin$c;
|
|
4508
4508
|
/**
|
|
4509
4509
|
* Отступ для XS брейкпоинта.
|
|
4510
4510
|
*
|
|
4511
4511
|
* @default undefined */
|
|
4512
|
-
marginXS?: Margin$
|
|
4512
|
+
marginXS?: Margin$c;
|
|
4513
4513
|
/**
|
|
4514
4514
|
* Отступ для S брейкпоинта.
|
|
4515
4515
|
*
|
|
4516
4516
|
* @default undefined */
|
|
4517
|
-
marginS?: Margin$
|
|
4517
|
+
marginS?: Margin$c;
|
|
4518
4518
|
/**
|
|
4519
4519
|
* Отступ для M брейкпоинта.
|
|
4520
4520
|
*
|
|
4521
4521
|
* @default undefined */
|
|
4522
|
-
marginM?: Margin$
|
|
4522
|
+
marginM?: Margin$c;
|
|
4523
4523
|
/**
|
|
4524
4524
|
* Отступ для L брейкпоинта.
|
|
4525
4525
|
*
|
|
4526
4526
|
* @default undefined */
|
|
4527
|
-
marginL?: Margin$
|
|
4527
|
+
marginL?: Margin$c;
|
|
4528
4528
|
/**
|
|
4529
4529
|
* Отступ для XL брейкпоинта.
|
|
4530
4530
|
*
|
|
4531
4531
|
* @default undefined */
|
|
4532
|
-
marginXL?: Margin$
|
|
4532
|
+
marginXL?: Margin$c;
|
|
4533
4533
|
}
|
|
4534
4534
|
type IconButtonProps = IconButtonBaseProps & Omit<React.ComponentPropsWithRef<'button'>, keyof IconButtonBaseProps>;
|
|
4535
4535
|
|
|
@@ -4772,14 +4772,14 @@ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps> & {
|
|
|
4772
4772
|
Component: typeof TooltipComponent;
|
|
4773
4773
|
};
|
|
4774
4774
|
|
|
4775
|
-
type Size$
|
|
4775
|
+
type Size$i = 'xl' | 'l' | 'm' | 's' | 'xs';
|
|
4776
4776
|
type Layout$5 = 'vertical' | 'horizontal';
|
|
4777
4777
|
type PopoverComponentPalette = {
|
|
4778
4778
|
color: CSSColor;
|
|
4779
4779
|
backgroundColor: CSSColor;
|
|
4780
4780
|
shadowColor: CSSColor;
|
|
4781
4781
|
};
|
|
4782
|
-
interface PopoverComponentBaseProps extends ResponsiveSizeProps<Size$
|
|
4782
|
+
interface PopoverComponentBaseProps extends ResponsiveSizeProps<Size$i>, ResponsiveLayoutProps<Layout$5> {
|
|
4783
4783
|
/**
|
|
4784
4784
|
* Кастомные цвета.
|
|
4785
4785
|
*
|
|
@@ -4890,9 +4890,9 @@ type PopoverComponentProps = PopoverComponentBaseProps & Omit<React.ComponentPro
|
|
|
4890
4890
|
|
|
4891
4891
|
declare const PopoverComponent: React.ForwardRefExoticComponent<PopoverComponentProps>;
|
|
4892
4892
|
|
|
4893
|
-
type Size$
|
|
4893
|
+
type Size$h = 's' | 'xl' | 'l' | 'm' | 'xs';
|
|
4894
4894
|
type Layout$4 = 'vertical' | 'horizontal';
|
|
4895
|
-
interface PopoverBaseProps extends ResponsiveSizeProps<Size$
|
|
4895
|
+
interface PopoverBaseProps extends ResponsiveSizeProps<Size$h>, ResponsiveLayoutProps<Layout$4> {
|
|
4896
4896
|
/**
|
|
4897
4897
|
* Кастомные цвета.
|
|
4898
4898
|
*
|
|
@@ -5108,43 +5108,43 @@ interface PopoverBaseProps extends ResponsiveSizeProps<Size$g>, ResponsiveLayout
|
|
|
5108
5108
|
*
|
|
5109
5109
|
* @general
|
|
5110
5110
|
* @default 's' */
|
|
5111
|
-
size?: Size$
|
|
5111
|
+
size?: Size$h | [DESKTOP: Size$h, TABLET: Size$h, MOBILE: Size$h] | [XL: Size$h, L: Size$h, M: Size$h, S: Size$h, XS: Size$h, XXS: Size$h];
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Размер для XXS брейкпоинта.
|
|
5114
5114
|
*
|
|
5115
5115
|
* @default undefined */
|
|
5116
|
-
sizeXXS?: Size$
|
|
5116
|
+
sizeXXS?: Size$h;
|
|
5117
5117
|
/**
|
|
5118
5118
|
* Размер для XS брейкпоинта.
|
|
5119
5119
|
*
|
|
5120
5120
|
* @default undefined */
|
|
5121
|
-
sizeXS?: Size$
|
|
5121
|
+
sizeXS?: Size$h;
|
|
5122
5122
|
/**
|
|
5123
5123
|
* Размер для S брейкпоинта.
|
|
5124
5124
|
*
|
|
5125
5125
|
* @default undefined */
|
|
5126
|
-
sizeS?: Size$
|
|
5126
|
+
sizeS?: Size$h;
|
|
5127
5127
|
/**
|
|
5128
5128
|
* Размер для M брейкпоинта.
|
|
5129
5129
|
*
|
|
5130
5130
|
* @default undefined */
|
|
5131
|
-
sizeM?: Size$
|
|
5131
|
+
sizeM?: Size$h;
|
|
5132
5132
|
/**
|
|
5133
5133
|
* Размер для L брейкпоинта.
|
|
5134
5134
|
*
|
|
5135
5135
|
* @default undefined */
|
|
5136
|
-
sizeL?: Size$
|
|
5136
|
+
sizeL?: Size$h;
|
|
5137
5137
|
/**
|
|
5138
5138
|
* Размер для XL брейкпоинта.
|
|
5139
5139
|
*
|
|
5140
5140
|
* @default undefined */
|
|
5141
|
-
sizeXL?: Size$
|
|
5141
|
+
sizeXL?: Size$h;
|
|
5142
5142
|
/**
|
|
5143
5143
|
* Модификация размеров.
|
|
5144
5144
|
*
|
|
5145
5145
|
* @general
|
|
5146
5146
|
* @default undefined */
|
|
5147
|
-
sizes?: Partial<Record<Size$
|
|
5147
|
+
sizes?: Partial<Record<Size$h, React.CSSProperties>>;
|
|
5148
5148
|
/**
|
|
5149
5149
|
* Вариант шаблона лейаута.
|
|
5150
5150
|
*
|
|
@@ -5358,9 +5358,9 @@ interface SkeletonProps extends ResponsiveMarginProps, React.ComponentPropsWithR
|
|
|
5358
5358
|
*/
|
|
5359
5359
|
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps>;
|
|
5360
5360
|
|
|
5361
|
-
type Size$
|
|
5362
|
-
type Margin$
|
|
5363
|
-
interface ListItemProps extends ResponsiveSizeProps<Size$
|
|
5361
|
+
type Size$g = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
5362
|
+
type Margin$b = number | string;
|
|
5363
|
+
interface ListItemProps extends ResponsiveSizeProps<Size$g>, ResponsiveMarginProps {
|
|
5364
5364
|
/**
|
|
5365
5365
|
* Компонент рутового элемента.
|
|
5366
5366
|
*
|
|
@@ -5509,43 +5509,43 @@ interface ListItemProps extends ResponsiveSizeProps<Size$f>, ResponsiveMarginPro
|
|
|
5509
5509
|
*
|
|
5510
5510
|
* @general
|
|
5511
5511
|
* @default 's' */
|
|
5512
|
-
size?: Size$
|
|
5512
|
+
size?: Size$g | [DESKTOP: Size$g, TABLET: Size$g, MOBILE: Size$g] | [XL: Size$g, L: Size$g, M: Size$g, S: Size$g, XS: Size$g, XXS: Size$g];
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Размер для XXS брейкпоинта.
|
|
5515
5515
|
*
|
|
5516
5516
|
* @default undefined */
|
|
5517
|
-
sizeXXS?: Size$
|
|
5517
|
+
sizeXXS?: Size$g;
|
|
5518
5518
|
/**
|
|
5519
5519
|
* Размер для XS брейкпоинта.
|
|
5520
5520
|
*
|
|
5521
5521
|
* @default undefined */
|
|
5522
|
-
sizeXS?: Size$
|
|
5522
|
+
sizeXS?: Size$g;
|
|
5523
5523
|
/**
|
|
5524
5524
|
* Размер для S брейкпоинта.
|
|
5525
5525
|
*
|
|
5526
5526
|
* @default undefined */
|
|
5527
|
-
sizeS?: Size$
|
|
5527
|
+
sizeS?: Size$g;
|
|
5528
5528
|
/**
|
|
5529
5529
|
* Размер для M брейкпоинта.
|
|
5530
5530
|
*
|
|
5531
5531
|
* @default undefined */
|
|
5532
|
-
sizeM?: Size$
|
|
5532
|
+
sizeM?: Size$g;
|
|
5533
5533
|
/**
|
|
5534
5534
|
* Размер для L брейкпоинта.
|
|
5535
5535
|
*
|
|
5536
5536
|
* @default undefined */
|
|
5537
|
-
sizeL?: Size$
|
|
5537
|
+
sizeL?: Size$g;
|
|
5538
5538
|
/**
|
|
5539
5539
|
* Размер для XL брейкпоинта.
|
|
5540
5540
|
*
|
|
5541
5541
|
* @default undefined */
|
|
5542
|
-
sizeXL?: Size$
|
|
5542
|
+
sizeXL?: Size$g;
|
|
5543
5543
|
/**
|
|
5544
5544
|
* Модификация размеров.
|
|
5545
5545
|
*
|
|
5546
5546
|
* @general
|
|
5547
5547
|
* @default undefined */
|
|
5548
|
-
sizes?: Partial<Record<Size$
|
|
5548
|
+
sizes?: Partial<Record<Size$g, React.CSSProperties>>;
|
|
5549
5549
|
/**
|
|
5550
5550
|
* Внешние отступы.
|
|
5551
5551
|
*
|
|
@@ -5553,37 +5553,37 @@ interface ListItemProps extends ResponsiveSizeProps<Size$f>, ResponsiveMarginPro
|
|
|
5553
5553
|
*
|
|
5554
5554
|
* @general
|
|
5555
5555
|
* @default undefined */
|
|
5556
|
-
margin?: Margin$
|
|
5556
|
+
margin?: Margin$b | [DESKTOP: Margin$b, TABLET: Margin$b, MOBILE: Margin$b] | [XL: Margin$b, L: Margin$b, M: Margin$b, S: Margin$b, XS: Margin$b, XXS: Margin$b];
|
|
5557
5557
|
/**
|
|
5558
5558
|
* Отступ для XXS брейкпоинта.
|
|
5559
5559
|
*
|
|
5560
5560
|
* @default undefined */
|
|
5561
|
-
marginXXS?: Margin$
|
|
5561
|
+
marginXXS?: Margin$b;
|
|
5562
5562
|
/**
|
|
5563
5563
|
* Отступ для XS брейкпоинта.
|
|
5564
5564
|
*
|
|
5565
5565
|
* @default undefined */
|
|
5566
|
-
marginXS?: Margin$
|
|
5566
|
+
marginXS?: Margin$b;
|
|
5567
5567
|
/**
|
|
5568
5568
|
* Отступ для S брейкпоинта.
|
|
5569
5569
|
*
|
|
5570
5570
|
* @default undefined */
|
|
5571
|
-
marginS?: Margin$
|
|
5571
|
+
marginS?: Margin$b;
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Отступ для M брейкпоинта.
|
|
5574
5574
|
*
|
|
5575
5575
|
* @default undefined */
|
|
5576
|
-
marginM?: Margin$
|
|
5576
|
+
marginM?: Margin$b;
|
|
5577
5577
|
/**
|
|
5578
5578
|
* Отступ для L брейкпоинта.
|
|
5579
5579
|
*
|
|
5580
5580
|
* @default undefined */
|
|
5581
|
-
marginL?: Margin$
|
|
5581
|
+
marginL?: Margin$b;
|
|
5582
5582
|
/**
|
|
5583
5583
|
* Отступ для XL брейкпоинта.
|
|
5584
5584
|
*
|
|
5585
5585
|
* @default undefined */
|
|
5586
|
-
marginXL?: Margin$
|
|
5586
|
+
marginXL?: Margin$b;
|
|
5587
5587
|
}
|
|
5588
5588
|
|
|
5589
5589
|
/**
|
|
@@ -5603,7 +5603,7 @@ type IndicatorPalette = {
|
|
|
5603
5603
|
backgroundColor: CSSColor;
|
|
5604
5604
|
shadowColor: CSSColor;
|
|
5605
5605
|
};
|
|
5606
|
-
interface IndicatorProps extends ResponsiveSizeProps<Size$
|
|
5606
|
+
interface IndicatorProps extends ResponsiveSizeProps<Size$r, SizeValue$1>, ResponsiveMarginProps, React.ComponentPropsWithRef<'span'> {
|
|
5607
5607
|
/** Custom colors */
|
|
5608
5608
|
palette?: Partial<Record<keyof IndicatorPalette, Color>>;
|
|
5609
5609
|
/** Text content */
|
|
@@ -5642,10 +5642,10 @@ interface IndicatorProps extends ResponsiveSizeProps<Size$q, SizeValue$1>, Respo
|
|
|
5642
5642
|
*/
|
|
5643
5643
|
declare const Indicator: React.ForwardRefExoticComponent<IndicatorProps>;
|
|
5644
5644
|
|
|
5645
|
-
type Margin$
|
|
5646
|
-
type Size$
|
|
5647
|
-
type AvatarSize = Size$
|
|
5648
|
-
interface AvatarProps extends ResponsiveSizeProps<Size$
|
|
5645
|
+
type Margin$a = number | string;
|
|
5646
|
+
type Size$f = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs' | 'xxxxs';
|
|
5647
|
+
type AvatarSize = Size$f | 'sm' | number;
|
|
5648
|
+
interface AvatarProps extends ResponsiveSizeProps<Size$f, AvatarSize>, ResponsiveMarginProps,
|
|
5649
5649
|
/** @deprecated Use palette */
|
|
5650
5650
|
ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
|
|
5651
5651
|
/**
|
|
@@ -5748,7 +5748,7 @@ ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
|
|
|
5748
5748
|
*
|
|
5749
5749
|
* @general
|
|
5750
5750
|
* @default undefined */
|
|
5751
|
-
sizes?: Partial<Record<Size$
|
|
5751
|
+
sizes?: Partial<Record<Size$f, React.CSSProperties>>;
|
|
5752
5752
|
/**
|
|
5753
5753
|
* Внешние отступы.
|
|
5754
5754
|
*
|
|
@@ -5756,37 +5756,37 @@ ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
|
|
|
5756
5756
|
*
|
|
5757
5757
|
* @general
|
|
5758
5758
|
* @default undefined */
|
|
5759
|
-
margin?: Margin$
|
|
5759
|
+
margin?: Margin$a | [DESKTOP: Margin$a, TABLET: Margin$a, MOBILE: Margin$a] | [XL: Margin$a, L: Margin$a, M: Margin$a, S: Margin$a, XS: Margin$a, XXS: Margin$a];
|
|
5760
5760
|
/**
|
|
5761
5761
|
* Отступ для XXS брейкпоинта.
|
|
5762
5762
|
*
|
|
5763
5763
|
* @default undefined */
|
|
5764
|
-
marginXXS?: Margin$
|
|
5764
|
+
marginXXS?: Margin$a;
|
|
5765
5765
|
/**
|
|
5766
5766
|
* Отступ для XS брейкпоинта.
|
|
5767
5767
|
*
|
|
5768
5768
|
* @default undefined */
|
|
5769
|
-
marginXS?: Margin$
|
|
5769
|
+
marginXS?: Margin$a;
|
|
5770
5770
|
/**
|
|
5771
5771
|
* Отступ для S брейкпоинта.
|
|
5772
5772
|
*
|
|
5773
5773
|
* @default undefined */
|
|
5774
|
-
marginS?: Margin$
|
|
5774
|
+
marginS?: Margin$a;
|
|
5775
5775
|
/**
|
|
5776
5776
|
* Отступ для M брейкпоинта.
|
|
5777
5777
|
*
|
|
5778
5778
|
* @default undefined */
|
|
5779
|
-
marginM?: Margin$
|
|
5779
|
+
marginM?: Margin$a;
|
|
5780
5780
|
/**
|
|
5781
5781
|
* Отступ для L брейкпоинта.
|
|
5782
5782
|
*
|
|
5783
5783
|
* @default undefined */
|
|
5784
|
-
marginL?: Margin$
|
|
5784
|
+
marginL?: Margin$a;
|
|
5785
5785
|
/**
|
|
5786
5786
|
* Отступ для XL брейкпоинта.
|
|
5787
5787
|
*
|
|
5788
5788
|
* @default undefined */
|
|
5789
|
-
marginXL?: Margin$
|
|
5789
|
+
marginXL?: Margin$a;
|
|
5790
5790
|
}
|
|
5791
5791
|
|
|
5792
5792
|
/**
|
|
@@ -5799,113 +5799,263 @@ ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
|
|
|
5799
5799
|
*/
|
|
5800
5800
|
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps>;
|
|
5801
5801
|
|
|
5802
|
-
type
|
|
5803
|
-
type
|
|
5804
|
-
|
|
5805
|
-
backgroundColor: CSSColor;
|
|
5806
|
-
borderColor: CSSColor;
|
|
5807
|
-
colorHover: CSSColor;
|
|
5808
|
-
backgroundColorHover: CSSColor;
|
|
5809
|
-
borderColorHover: CSSColor;
|
|
5810
|
-
colorDisabled: CSSColor;
|
|
5811
|
-
backgroundColorDisabled: CSSColor;
|
|
5812
|
-
borderColorDisabled: CSSColor;
|
|
5813
|
-
};
|
|
5814
|
-
interface ChipProps extends ResponsiveSizeProps<ChipSize>, ResponsiveMarginProps, React.RefAttributes<HTMLElement>, Omit<React.ButtonHTMLAttributes<HTMLElement>, 'children'> {
|
|
5802
|
+
type Size$e = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
|
|
5803
|
+
type Margin$9 = number | string;
|
|
5804
|
+
interface ChipProps extends ResponsiveSizeProps<Size$e>, ResponsiveMarginProps {
|
|
5815
5805
|
/**
|
|
5816
|
-
*
|
|
5817
|
-
*
|
|
5818
|
-
|
|
5806
|
+
* Компонент рутового элемента.
|
|
5807
|
+
*
|
|
5808
|
+
* @general
|
|
5809
|
+
* @default 'div' */
|
|
5810
|
+
component?: ComponentElementType;
|
|
5811
|
+
/**
|
|
5812
|
+
* Кастомные цвета.
|
|
5813
|
+
*
|
|
5814
|
+
* @general
|
|
5815
|
+
* @default {} */
|
|
5816
|
+
palette?: {
|
|
5817
|
+
color?: Color;
|
|
5818
|
+
backgroundColor?: Color;
|
|
5819
|
+
borderColor?: Color;
|
|
5820
|
+
colorHover?: Color;
|
|
5821
|
+
backgroundColorHover?: Color;
|
|
5822
|
+
borderColorHover?: Color;
|
|
5823
|
+
colorActive?: Color;
|
|
5824
|
+
backgroundColorActive?: Color;
|
|
5825
|
+
borderColorActive?: Color;
|
|
5826
|
+
colorActiveHover?: Color;
|
|
5827
|
+
backgroundColorActiveHover?: Color;
|
|
5828
|
+
borderColorActiveHover?: Color;
|
|
5829
|
+
colorDisabled?: Color;
|
|
5830
|
+
backgroundColorDisabled?: Color;
|
|
5831
|
+
borderColorDisabled?: Color;
|
|
5832
|
+
};
|
|
5819
5833
|
/**
|
|
5820
|
-
*
|
|
5834
|
+
* Кастомный рутовый блок.
|
|
5835
|
+
*
|
|
5836
|
+
* Использование компонента только как контейнера.
|
|
5837
|
+
*
|
|
5838
|
+
* @slot
|
|
5821
5839
|
* @default undefined */
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5840
|
+
root?: React.ReactElement | ((props: {
|
|
5841
|
+
titleProps: TextProps;
|
|
5842
|
+
descriptionProps: TextProps;
|
|
5843
|
+
iconProps: IconProps;
|
|
5844
|
+
iconButtonProps: IconButtonProps;
|
|
5845
|
+
avatarProps: AvatarProps;
|
|
5846
|
+
indicatorProps: IndicatorProps;
|
|
5826
5847
|
}) => React.ReactNode);
|
|
5827
5848
|
/**
|
|
5828
|
-
*
|
|
5849
|
+
* Кастомный контентный блок.
|
|
5850
|
+
*
|
|
5851
|
+
* @slot
|
|
5829
5852
|
* @default undefined */
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
textProps?: TextProps;
|
|
5853
|
+
content?: React.ReactElement | ((contentProps: {
|
|
5854
|
+
titleProps: TextProps;
|
|
5855
|
+
descriptionProps: TextProps;
|
|
5856
|
+
}) => React.ReactNode);
|
|
5835
5857
|
/**
|
|
5836
|
-
*
|
|
5858
|
+
* Основной контент.
|
|
5859
|
+
*
|
|
5860
|
+
* Если передана строка или число используется встроенная типографика.
|
|
5861
|
+
*
|
|
5862
|
+
* @slot
|
|
5837
5863
|
* @default undefined */
|
|
5838
|
-
|
|
5839
|
-
/**
|
|
5840
|
-
* Пропсы типографики для дополнительного текста
|
|
5841
|
-
* @default {} */
|
|
5842
|
-
captionProps?: TextProps;
|
|
5864
|
+
title?: React.ReactNode | ((titleProps: TextProps) => React.ReactNode);
|
|
5843
5865
|
/**
|
|
5844
|
-
*
|
|
5866
|
+
* Дополнительный контент.
|
|
5867
|
+
*
|
|
5868
|
+
* Если передана строка или число используется встроенная типографика.
|
|
5869
|
+
*
|
|
5870
|
+
* @slot
|
|
5845
5871
|
* @default undefined */
|
|
5846
|
-
|
|
5847
|
-
/**
|
|
5848
|
-
* Пропсы для иконок
|
|
5849
|
-
* @default {} */
|
|
5850
|
-
iconProps?: IconProps;
|
|
5851
|
-
/**
|
|
5852
|
-
* Пропсы для аватара.
|
|
5853
|
-
* Для рендера нужно передать `avatarProps.src` или `avatarProps.text`
|
|
5854
|
-
* @default {} */
|
|
5855
|
-
avatarProps?: AvatarProps;
|
|
5872
|
+
description?: React.ReactNode | ((descriptionProps: TextProps) => React.ReactNode);
|
|
5856
5873
|
/**
|
|
5857
|
-
*
|
|
5858
|
-
*
|
|
5859
|
-
* @
|
|
5860
|
-
|
|
5874
|
+
* Дополнительные элементы слева.
|
|
5875
|
+
*
|
|
5876
|
+
* @slot
|
|
5877
|
+
* @default undefined */
|
|
5878
|
+
addonLeft?: React.ReactElement | ((props: {
|
|
5879
|
+
iconProps: IconProps;
|
|
5880
|
+
iconButtonProps: IconButtonProps;
|
|
5881
|
+
avatarProps: AvatarProps;
|
|
5882
|
+
indicatorProps: IndicatorProps;
|
|
5883
|
+
}) => React.ReactNode);
|
|
5861
5884
|
/**
|
|
5862
|
-
*
|
|
5863
|
-
*
|
|
5864
|
-
* @
|
|
5865
|
-
|
|
5885
|
+
* Дополнительные элементы справа.
|
|
5886
|
+
*
|
|
5887
|
+
* @slot
|
|
5888
|
+
* @default undefined */
|
|
5889
|
+
addonRight?: React.ReactElement | ((props: {
|
|
5890
|
+
iconProps: IconProps;
|
|
5891
|
+
iconButtonProps: IconButtonProps;
|
|
5892
|
+
avatarProps: AvatarProps;
|
|
5893
|
+
indicatorProps: IndicatorProps;
|
|
5894
|
+
}) => React.ReactNode);
|
|
5866
5895
|
/**
|
|
5867
|
-
* Вариант цветовой
|
|
5896
|
+
* Вариант цветовой схемы.
|
|
5897
|
+
*
|
|
5898
|
+
* @general
|
|
5868
5899
|
* @default true */
|
|
5869
5900
|
primary?: boolean;
|
|
5870
5901
|
/**
|
|
5871
|
-
* Вариант цветовой
|
|
5902
|
+
* Вариант цветовой схемы.
|
|
5903
|
+
*
|
|
5904
|
+
* @general
|
|
5872
5905
|
* @default false */
|
|
5873
5906
|
secondary?: boolean;
|
|
5874
5907
|
/**
|
|
5875
|
-
* Вариант цветовой
|
|
5908
|
+
* Вариант цветовой схемы.
|
|
5909
|
+
*
|
|
5910
|
+
* @general
|
|
5876
5911
|
* @default false */
|
|
5877
5912
|
outline?: boolean;
|
|
5878
5913
|
/**
|
|
5879
|
-
* Вариант цветовой
|
|
5914
|
+
* Вариант цветовой схемы.
|
|
5915
|
+
*
|
|
5916
|
+
* @general
|
|
5880
5917
|
* @default false */
|
|
5881
5918
|
black?: boolean;
|
|
5882
5919
|
/**
|
|
5883
|
-
*
|
|
5920
|
+
* Вариант цветовой схемы.
|
|
5921
|
+
*
|
|
5922
|
+
* @general
|
|
5884
5923
|
* @default false */
|
|
5885
5924
|
contrast?: boolean;
|
|
5886
5925
|
/**
|
|
5887
|
-
*
|
|
5888
|
-
*
|
|
5926
|
+
* Вариант цветовой схемы.
|
|
5927
|
+
*
|
|
5928
|
+
* Интерактивность будет отключена если рутовый элемент поддерживает атрибут.
|
|
5929
|
+
*
|
|
5930
|
+
* @general
|
|
5931
|
+
* @default false */
|
|
5889
5932
|
disabled?: boolean;
|
|
5890
5933
|
/**
|
|
5891
|
-
* Активное визуальное
|
|
5934
|
+
* Активное визуальное состояние.
|
|
5935
|
+
*
|
|
5892
5936
|
* @default false */
|
|
5893
5937
|
active?: boolean;
|
|
5938
|
+
/**
|
|
5939
|
+
* Размер.
|
|
5940
|
+
*
|
|
5941
|
+
* Использование кортежей включает применение размеров в зависимости от ширины вьюпорта.
|
|
5942
|
+
*
|
|
5943
|
+
* @general
|
|
5944
|
+
* @default 'm' */
|
|
5945
|
+
size?: Size$e | [DESKTOP: Size$e, TABLET: Size$e, MOBILE: Size$e] | [XL: Size$e, L: Size$e, M: Size$e, S: Size$e, XS: Size$e, XXS: Size$e];
|
|
5946
|
+
/**
|
|
5947
|
+
* Размер для XXS брейкпоинта.
|
|
5948
|
+
*
|
|
5949
|
+
* @default undefined */
|
|
5950
|
+
sizeXXS?: Size$e;
|
|
5951
|
+
/**
|
|
5952
|
+
* Размер для XS брейкпоинта.
|
|
5953
|
+
*
|
|
5954
|
+
* @default undefined */
|
|
5955
|
+
sizeXS?: Size$e;
|
|
5956
|
+
/**
|
|
5957
|
+
* Размер для S брейкпоинта.
|
|
5958
|
+
*
|
|
5959
|
+
* @default undefined */
|
|
5960
|
+
sizeS?: Size$e;
|
|
5961
|
+
/**
|
|
5962
|
+
* Размер для M брейкпоинта.
|
|
5963
|
+
*
|
|
5964
|
+
* @default undefined */
|
|
5965
|
+
sizeM?: Size$e;
|
|
5966
|
+
/**
|
|
5967
|
+
* Размер для L брейкпоинта.
|
|
5968
|
+
*
|
|
5969
|
+
* @default undefined */
|
|
5970
|
+
sizeL?: Size$e;
|
|
5971
|
+
/**
|
|
5972
|
+
* Размер для XL брейкпоинта.
|
|
5973
|
+
*
|
|
5974
|
+
* @default undefined */
|
|
5975
|
+
sizeXL?: Size$e;
|
|
5976
|
+
/**
|
|
5977
|
+
* Модификация размеров.
|
|
5978
|
+
*
|
|
5979
|
+
* @general
|
|
5980
|
+
* @default undefined */
|
|
5981
|
+
sizes?: Partial<Record<Size$e, React.CSSProperties>>;
|
|
5982
|
+
/**
|
|
5983
|
+
* Внешние отступы.
|
|
5984
|
+
*
|
|
5985
|
+
* Использование кортежей включает применение отступов в зависимости от ширины вьюпорта.
|
|
5986
|
+
*
|
|
5987
|
+
* @general
|
|
5988
|
+
* @default undefined */
|
|
5989
|
+
margin?: Margin$9 | [DESKTOP: Margin$9, TABLET: Margin$9, MOBILE: Margin$9] | [XL: Margin$9, L: Margin$9, M: Margin$9, S: Margin$9, XS: Margin$9, XXS: Margin$9];
|
|
5990
|
+
/**
|
|
5991
|
+
* Отступ для XXS брейкпоинта.
|
|
5992
|
+
*
|
|
5993
|
+
* @default undefined */
|
|
5994
|
+
marginXXS?: Margin$9;
|
|
5995
|
+
/**
|
|
5996
|
+
* Отступ для XS брейкпоинта.
|
|
5997
|
+
*
|
|
5998
|
+
* @default undefined */
|
|
5999
|
+
marginXS?: Margin$9;
|
|
6000
|
+
/**
|
|
6001
|
+
* Отступ для S брейкпоинта.
|
|
6002
|
+
*
|
|
6003
|
+
* @default undefined */
|
|
6004
|
+
marginS?: Margin$9;
|
|
6005
|
+
/**
|
|
6006
|
+
* Отступ для M брейкпоинта.
|
|
6007
|
+
*
|
|
6008
|
+
* @default undefined */
|
|
6009
|
+
marginM?: Margin$9;
|
|
6010
|
+
/**
|
|
6011
|
+
* Отступ для L брейкпоинта.
|
|
6012
|
+
*
|
|
6013
|
+
* @default undefined */
|
|
6014
|
+
marginL?: Margin$9;
|
|
6015
|
+
/**
|
|
6016
|
+
* Отступ для XL брейкпоинта.
|
|
6017
|
+
*
|
|
6018
|
+
* @default undefined */
|
|
6019
|
+
marginXL?: Margin$9;
|
|
5894
6020
|
/** @ignore */
|
|
5895
6021
|
cursor?: string;
|
|
6022
|
+
/** @deprecated @ignore */
|
|
6023
|
+
children?: React.ReactNode | ((props: {
|
|
6024
|
+
textProps: TextProps;
|
|
6025
|
+
captionProps: TextProps;
|
|
6026
|
+
discardButtonProps: IconButtonProps;
|
|
6027
|
+
}) => React.ReactNode);
|
|
6028
|
+
/** @deprecated @ignore */
|
|
6029
|
+
text?: React.ReactNode;
|
|
6030
|
+
/** @deprecated @ignore */
|
|
6031
|
+
textProps?: TextProps;
|
|
6032
|
+
/** @deprecated @ignore */
|
|
6033
|
+
caption?: React.ReactNode;
|
|
6034
|
+
/** @deprecated @ignore */
|
|
6035
|
+
captionProps?: TextProps;
|
|
6036
|
+
/** @deprecated @ignore */
|
|
6037
|
+
icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
|
|
6038
|
+
/** @deprecated @ignore */
|
|
6039
|
+
iconProps?: IconProps;
|
|
6040
|
+
/** @deprecated @ignore */
|
|
6041
|
+
avatarProps?: AvatarProps;
|
|
6042
|
+
/** @deprecated @ignore */
|
|
6043
|
+
indicatorProps?: IndicatorProps;
|
|
6044
|
+
/** @deprecated @ignore */
|
|
6045
|
+
discardButtonProps?: Partial<IconButtonProps>;
|
|
5896
6046
|
}
|
|
5897
6047
|
|
|
5898
6048
|
/**
|
|
5899
6049
|
*
|
|
5900
|
-
*
|
|
6050
|
+
* *v1.0.0*
|
|
5901
6051
|
*
|
|
5902
|
-
*
|
|
6052
|
+
* Компонент для представления данных, атрибутов или действий в компактной форме.
|
|
5903
6053
|
*
|
|
5904
|
-
*
|
|
6054
|
+
* Полиморфный компонент.
|
|
5905
6055
|
*
|
|
5906
|
-
*
|
|
6056
|
+
* Можно передать "ref" и атрибуты выбранного HTML-элемента (по умолчанию \<div\>).
|
|
5907
6057
|
*/
|
|
5908
|
-
declare const Chip: React.
|
|
6058
|
+
declare const Chip: <C extends React.ElementType = "div">(props: PolymorphicPropsWithRef<C, ChipProps>) => React.ReactElement | null;
|
|
5909
6059
|
|
|
5910
6060
|
type MenuComponentSize = 'l' | 'm' | 's' | 'fluid';
|
|
5911
6061
|
type MenuComponentPalette = {
|
|
@@ -8172,7 +8322,7 @@ declare function useScrollLock(params: ScrollLockParams): void;
|
|
|
8172
8322
|
|
|
8173
8323
|
declare const vAlign: (align: "top" | "middle" | "bottom" | "text-top" | "text-bottom" | "baseline") => styled_components.FlattenSimpleInterpolation;
|
|
8174
8324
|
|
|
8175
|
-
declare function buildMediaQuery(value: number | Size$
|
|
8325
|
+
declare function buildMediaQuery(value: number | Size$r | 'auto' | 'initial' | 'inherit' | boolean, property: string | ((_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null), screenQueryFunction: typeof screenXs, sizing: null | string, sizes?: Record<Size$r, number>): ReturnType<typeof css>;
|
|
8176
8326
|
declare const desktopFirst: (a: string, b: string) => number;
|
|
8177
8327
|
declare const mobileFirst: (a: string, b: string) => number;
|
|
8178
8328
|
|
|
@@ -11033,4 +11183,4 @@ declare const MediaProvider: (props: React.PropsWithChildren<{
|
|
|
11033
11183
|
*/
|
|
11034
11184
|
declare const useMediaMatchers: () => Partial<Record<MediaMatcherId, boolean>>;
|
|
11035
11185
|
|
|
11036
|
-
export { Accordion, type AccordionItemProps, type AccordionProps, ActionBtn, type ActionBtnProps, AddElement, type AddElementProps, Alert, type AlertProps, Amount, type AmountProps, Anchor, type AnchorProps, Arrow, ArrowBadge, type ArrowBadgeProps, type ArrowProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BaseProps, type Breakpoint$1 as Breakpoint, Button, type ButtonProps, COUNTRY_DATA, type CSSBorderStyle, type CSSColor, type CSSFontWeight, type CSSGlobalValue, type CSSUnit, type CSSVerticalAlign, CURRENCY_MAP, Checkbox, type CheckboxProps, Chip, type ChipProps, type Color, ColorNames, type ColorPaletteKey, type ComponentElementType, Container, type ContainerProps, ContextMenu, type ContextMenuMultiLevelProps, type ContextMenuProps, CurrencyCodes, DEFAULT_MASK, Dialog, type DialogComponentProps, type DialogProps, type DividerProps, type DomTarget, Dropdown, type DropdownProps, FormLabel, type FormLabelProps, type HEX, INITIAL_MASK, Icon, IconButton, type IconButtonProps, type IconISOCode, type IconName, type IconProps, Indicator, type IndicatorProps, Input, type InputCheckboxProps, type InputMaskOptions, type InputMaskState, type InputPhoneProps, type InputProps, type InputRadioProps, type KeysOfUnion, ListItem, type ListItemProps, Media, MediaMediator, type MediaProps, MediaProvider, Menu, type MenuComponentProps, type MenuContainerProps, type MenuDividerProps, type MenuListProps, type MenuProps, Modal, type ModalProps, Notification, type NotificationProps, type Nullable, type Orientation, Paper, type PaperProps, type PlaygroundToolbar, type PolymorphicProps, type PolymorphicPropsWithRef, type PolymorphicRef, Popover, type PopoverComponentProps, type PopoverProps, Progress, ProgressCircle$1 as ProgressCircle, type ProgressCircleProps$1 as ProgressCircleProps, ProgressLine, type ProgressLineProps, type ProgressProps, type ProgressSegmentedProps, type RGB, type RGBA, Radio, type RadioProps, type ResponsiveLayoutInterpolationProps, type ResponsiveLayoutProps, type ResponsivePositionProps, type ResponsivePropKey, type ResponsiveProps, type ResponsiveSizeInterpolationProps, type ResponsiveSizeProps, withThemeScrollable as Scrollable, type ScrollableProps, Section, type SectionProps, Select, type SelectProps, Separator, type SeparatorProps, type Size$
|
|
11186
|
+
export { Accordion, type AccordionItemProps, type AccordionProps, ActionBtn, type ActionBtnProps, AddElement, type AddElementProps, Alert, type AlertProps, Amount, type AmountProps, Anchor, type AnchorProps, Arrow, ArrowBadge, type ArrowBadgeProps, type ArrowProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BaseProps, type Breakpoint$1 as Breakpoint, Button, type ButtonProps, COUNTRY_DATA, type CSSBorderStyle, type CSSColor, type CSSFontWeight, type CSSGlobalValue, type CSSUnit, type CSSVerticalAlign, CURRENCY_MAP, Checkbox, type CheckboxProps, Chip, type ChipProps, type Color, ColorNames, type ColorPaletteKey, type ComponentElementType, Container, type ContainerProps, ContextMenu, type ContextMenuMultiLevelProps, type ContextMenuProps, CurrencyCodes, DEFAULT_MASK, Dialog, type DialogComponentProps, type DialogProps, type DividerProps, type DomTarget, Dropdown, type DropdownProps, FormLabel, type FormLabelProps, type HEX, INITIAL_MASK, Icon, IconButton, type IconButtonProps, type IconISOCode, type IconName, type IconProps, Indicator, type IndicatorProps, Input, type InputCheckboxProps, type InputMaskOptions, type InputMaskState, type InputPhoneProps, type InputProps, type InputRadioProps, type KeysOfUnion, ListItem, type ListItemProps, Media, MediaMediator, type MediaProps, MediaProvider, Menu, type MenuComponentProps, type MenuContainerProps, type MenuDividerProps, type MenuListProps, type MenuProps, Modal, type ModalProps, Notification, type NotificationProps, type Nullable, type Orientation, Paper, type PaperProps, type PlaygroundToolbar, type PolymorphicProps, type PolymorphicPropsWithRef, type PolymorphicRef, Popover, type PopoverComponentProps, type PopoverProps, Progress, ProgressCircle$1 as ProgressCircle, type ProgressCircleProps$1 as ProgressCircleProps, ProgressLine, type ProgressLineProps, type ProgressProps, type ProgressSegmentedProps, type RGB, type RGBA, Radio, type RadioProps, type ResponsiveLayoutInterpolationProps, type ResponsiveLayoutProps, type ResponsivePositionProps, type ResponsivePropKey, type ResponsiveProps, type ResponsiveSizeInterpolationProps, type ResponsiveSizeProps, withThemeScrollable as Scrollable, type ScrollableProps, Section, type SectionProps, Select, type SelectProps, Separator, type SeparatorProps, type Size$r as Size, type SizeValue$1 as SizeValue, Skeleton, type SkeletonProps, Spacer, type SpacerProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Switcher, type SwitcherProps, Tab, TabList, type TabListPanelProps, type TabListProps, type TabListTabProps, type TabProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextEllipseProps, type TextHeadingProps, type TextProps, Textarea, type TextareaProps, type Theme, type ThemeMode, type ThemeName, type ThemePreset, ThemeProvider, type ToolbarControl, Tooltip, type TooltipComponentProps, type TooltipProps, type WithMergedPropsOptions, type WithThemePreset, type WrappedComponentProps, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, desktopFirst, getDarkHoverColor, getDarkStrongHoverColor, getLightHoverColor, getLightStrongHoverColor, hexToRgbA, isHex, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, useClickOutside, useMediaMatchers, useScrollLock, useScrollMonitor, vAlign };
|