@foxford/ui 2.87.2 → 2.89.0-beta-1917b0e-20251209

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/dts/index.d.ts CHANGED
@@ -883,8 +883,8 @@ type CSSColor = RGB | RGBA | HEX | CSSGlobalValue | 'currentcolor' | 'transparen
883
883
  type CSSBorderStyle = CSSGlobalValue | 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
884
884
  type CSSVerticalAlign = CSSGlobalValue | 'baseline' | 'sub' | 'super' | 'text-top' | 'text-bottom' | 'middle' | 'top' | 'bottom';
885
885
  type CSSFontWeight = CSSGlobalValue | 'normal' | 'bold' | 'lighter' | 'bolder' | number;
886
- type Size$j = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
887
- type SizeValue = Size$j | CSSGlobalValue | number;
886
+ type Size$k = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
887
+ type SizeValue = Size$k | CSSGlobalValue | number;
888
888
  type Breakpoint = 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
889
889
  type Color = keyof typeof ColorNames | CSSColor;
890
890
  type ColorPaletteKey = 'color' | `color${string}` | `${string}Color` | `${string}Color${string}`;
@@ -979,21 +979,21 @@ declare const adultDarkTheme: DefaultTheme;
979
979
  /**
980
980
  * Value for breakpoint
981
981
  */
982
- type PossibleValues = number | Size$j | 'auto' | 'initial' | 'inherit' | boolean;
982
+ type PossibleValues = number | Size$k | 'auto' | 'initial' | 'inherit' | boolean;
983
983
  type PropsProperties = 'size' | 'fontSize' | 'height' | 'width' | 'top' | 'right' | 'bottom' | 'left' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'fluid';
984
984
  type CalcProperty = (_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null;
985
985
  type CssProperty = string | CalcProperty;
986
986
  type ResponsiveKeys = '' | 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
987
987
  type ResponsiveNamedProperty<T extends PropsProperties, V extends PossibleValues = PossibleValues> = Partial<Record<`${T}${ResponsiveKeys}`, V>>;
988
- type ResponsiveProperty<V = number | Size$j> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
989
- declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size$j, number>) => () => () => FlattenSimpleInterpolation | null;
988
+ type ResponsiveProperty<V = number | Size$k> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
989
+ declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size$k, number>) => () => () => FlattenSimpleInterpolation | null;
990
990
  interface ResponsiveNamedPropertyPayload<T extends PropsProperties> {
991
991
  sizes: ResponsiveNamedProperty<T>;
992
992
  cssProperty: CssProperty;
993
993
  sizing?: null | string;
994
994
  customSizeHandler?: (_value: PossibleValues) => PossibleValues;
995
995
  sort?: (_a: string, _b: string) => number;
996
- predefinedSizes?: Record<Size$j, number>;
996
+ predefinedSizes?: Record<Size$k, number>;
997
997
  }
998
998
  /**
999
999
  * Миксин для генерации media запросов
@@ -1094,7 +1094,7 @@ interface ExpandButtonProps extends React.ComponentPropsWithoutRef<'button'> {
1094
1094
  /** Кастомные цвета */
1095
1095
  palette?: Partial<Record<keyof ExpandButtonPalette, Color>>;
1096
1096
  }
1097
- interface TextProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps,
1097
+ interface TextProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps,
1098
1098
  /** @deprecated */
1099
1099
  DisplayProperty, ColorProperty, Omit<React.HTMLAttributes<HTMLElement>, 'color'>, Omit<React.BlockquoteHTMLAttributes<HTMLElement>, 'color'>, Omit<React.LabelHTMLAttributes<HTMLElement>, 'color'> {
1100
1100
  /** Применение присета стилей и размеров */
@@ -1171,7 +1171,7 @@ declare const Text: React.ForwardRefExoticComponent<TextProps> & {
1171
1171
  type IconPackIconName = Uncapitalize<keyof typeof IconPack>;
1172
1172
  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';
1173
1173
  type IconName = IconPackIconName | IconNameDefault;
1174
- interface IconProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'span'>, 'children'> {
1174
+ interface IconProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'span'>, 'children'> {
1175
1175
  /** UI: brand (v3), or default (v2) */
1176
1176
  preset?: ThemePreset;
1177
1177
  /** Icon color */
@@ -1275,7 +1275,7 @@ type AnchorPalette = {
1275
1275
  colorHover: CSSColor;
1276
1276
  colorDisabled: CSSColor;
1277
1277
  };
1278
- interface AnchorProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'a'>, 'color' | 'children'>,
1278
+ interface AnchorProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'a'>, 'color' | 'children'>,
1279
1279
  /** @deprecated Use palette */
1280
1280
  ColorProperty<'color'>,
1281
1281
  /** @deprecated Use children as function */
@@ -1334,9 +1334,9 @@ DisplayProperty {
1334
1334
  */
1335
1335
  declare const Anchor: React.ForwardRefExoticComponent<AnchorProps>;
1336
1336
 
1337
- type Size$i = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
1338
- type Margin$a = number | string;
1339
- interface ButtonBaseProps extends ResponsiveSizeProps<Size$i>, ResponsiveMarginProps, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>,
1337
+ type Size$j = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
1338
+ type Margin$b = number | string;
1339
+ interface ButtonBaseProps extends ResponsiveSizeProps<Size$j>, ResponsiveMarginProps, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>,
1340
1340
  /** @deprecated */
1341
1341
  ColorProperty,
1342
1342
  /** @deprecated */
@@ -1501,43 +1501,43 @@ ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
1501
1501
  *
1502
1502
  * @general
1503
1503
  * @default 'm' */
1504
- size?: Size$i | [DESKTOP: Size$i, TABLET: Size$i, MOBILE: Size$i] | [XL: Size$i, L: Size$i, M: Size$i, S: Size$i, XS: Size$i, XXS: Size$i];
1504
+ 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];
1505
1505
  /**
1506
1506
  * Размер для XXS брейкпоинта.
1507
1507
  *
1508
1508
  * @default undefined */
1509
- sizeXXS?: Size$i;
1509
+ sizeXXS?: Size$j;
1510
1510
  /**
1511
1511
  * Размер для XS брейкпоинта.
1512
1512
  *
1513
1513
  * @default undefined */
1514
- sizeXS?: Size$i;
1514
+ sizeXS?: Size$j;
1515
1515
  /**
1516
1516
  * Размер для S брейкпоинта.
1517
1517
  *
1518
1518
  * @default undefined */
1519
- sizeS?: Size$i;
1519
+ sizeS?: Size$j;
1520
1520
  /**
1521
1521
  * Размер для M брейкпоинта.
1522
1522
  *
1523
1523
  * @default undefined */
1524
- sizeM?: Size$i;
1524
+ sizeM?: Size$j;
1525
1525
  /**
1526
1526
  * Размер для L брейкпоинта.
1527
1527
  *
1528
1528
  * @default undefined */
1529
- sizeL?: Size$i;
1529
+ sizeL?: Size$j;
1530
1530
  /**
1531
1531
  * Размер для XL брейкпоинта.
1532
1532
  *
1533
1533
  * @default undefined */
1534
- sizeXL?: Size$i;
1534
+ sizeXL?: Size$j;
1535
1535
  /**
1536
1536
  * Модификация размеров.
1537
1537
  *
1538
1538
  * @general
1539
1539
  * @default undefined */
1540
- sizes?: Partial<Record<Size$i, React.CSSProperties>>;
1540
+ sizes?: Partial<Record<Size$j, React.CSSProperties>>;
1541
1541
  /**
1542
1542
  * Внешние отступы.
1543
1543
  *
@@ -1545,37 +1545,37 @@ ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
1545
1545
  *
1546
1546
  * @general
1547
1547
  * @default undefined */
1548
- 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];
1548
+ 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];
1549
1549
  /**
1550
1550
  * Отступ для XXS брейкпоинта.
1551
1551
  *
1552
1552
  * @default undefined */
1553
- marginXXS?: Margin$a;
1553
+ marginXXS?: Margin$b;
1554
1554
  /**
1555
1555
  * Отступ для XS брейкпоинта.
1556
1556
  *
1557
1557
  * @default undefined */
1558
- marginXS?: Margin$a;
1558
+ marginXS?: Margin$b;
1559
1559
  /**
1560
1560
  * Отступ для S брейкпоинта.
1561
1561
  *
1562
1562
  * @default undefined */
1563
- marginS?: Margin$a;
1563
+ marginS?: Margin$b;
1564
1564
  /**
1565
1565
  * Отступ для M брейкпоинта.
1566
1566
  *
1567
1567
  * @default undefined */
1568
- marginM?: Margin$a;
1568
+ marginM?: Margin$b;
1569
1569
  /**
1570
1570
  * Отступ для L брейкпоинта.
1571
1571
  *
1572
1572
  * @default undefined */
1573
- marginL?: Margin$a;
1573
+ marginL?: Margin$b;
1574
1574
  /**
1575
1575
  * Отступ для XL брейкпоинта.
1576
1576
  *
1577
1577
  * @default undefined */
1578
- marginXL?: Margin$a;
1578
+ marginXL?: Margin$b;
1579
1579
  /** @ignore */
1580
1580
  primary?: boolean;
1581
1581
  /** @ignore */
@@ -1666,9 +1666,9 @@ interface AlertProps extends BaseProps {
1666
1666
 
1667
1667
  declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
1668
1668
 
1669
- type Size$h = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
1670
- type Margin$9 = number | string;
1671
- interface ArrowProps extends ResponsiveSizeProps<Size$h, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
1669
+ type Size$i = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
1670
+ type Margin$a = number | string;
1671
+ interface ArrowProps extends ResponsiveSizeProps<Size$i, SizeValue>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
1672
1672
  /**
1673
1673
  * Версия компонента: v3 ("brand") или v2 ("default").
1674
1674
  *
@@ -1750,43 +1750,43 @@ interface ArrowProps extends ResponsiveSizeProps<Size$h, SizeValue>, ResponsiveM
1750
1750
  *
1751
1751
  * @general
1752
1752
  * @default 'l' */
1753
- 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];
1753
+ size?: Size$i | [DESKTOP: Size$i, TABLET: Size$i, MOBILE: Size$i] | [XL: Size$i, L: Size$i, M: Size$i, S: Size$i, XS: Size$i, XXS: Size$i];
1754
1754
  /**
1755
1755
  * Размер для XXS брейкпоинта.
1756
1756
  *
1757
1757
  * @default undefined */
1758
- sizeXXS?: Size$h;
1758
+ sizeXXS?: Size$i;
1759
1759
  /**
1760
1760
  * Размер для XS брейкпоинта.
1761
1761
  *
1762
1762
  * @default undefined */
1763
- sizeXS?: Size$h;
1763
+ sizeXS?: Size$i;
1764
1764
  /**
1765
1765
  * Размер для S брейкпоинта.
1766
1766
  *
1767
1767
  * @default undefined */
1768
- sizeS?: Size$h;
1768
+ sizeS?: Size$i;
1769
1769
  /**
1770
1770
  * Размер для M брейкпоинта.
1771
1771
  *
1772
1772
  * @default undefined */
1773
- sizeM?: Size$h;
1773
+ sizeM?: Size$i;
1774
1774
  /**
1775
1775
  * Размер для L брейкпоинта.
1776
1776
  *
1777
1777
  * @default undefined */
1778
- sizeL?: Size$h;
1778
+ sizeL?: Size$i;
1779
1779
  /**
1780
1780
  * Размер для XL брейкпоинта.
1781
1781
  *
1782
1782
  * @default undefined */
1783
- sizeXL?: Size$h;
1783
+ sizeXL?: Size$i;
1784
1784
  /**
1785
1785
  * Модификация размеров.
1786
1786
  *
1787
1787
  * @general
1788
1788
  * @default undefined */
1789
- sizes?: Partial<Record<Size$h, React.CSSProperties>>;
1789
+ sizes?: Partial<Record<Size$i, React.CSSProperties>>;
1790
1790
  /**
1791
1791
  * Внешние отступы.
1792
1792
  *
@@ -1794,37 +1794,37 @@ interface ArrowProps extends ResponsiveSizeProps<Size$h, SizeValue>, ResponsiveM
1794
1794
  *
1795
1795
  * @general
1796
1796
  * @default undefined */
1797
- 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];
1797
+ 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];
1798
1798
  /**
1799
1799
  * Отступ для XXS брейкпоинта.
1800
1800
  *
1801
1801
  * @default undefined */
1802
- marginXXS?: Margin$9;
1802
+ marginXXS?: Margin$a;
1803
1803
  /**
1804
1804
  * Отступ для XS брейкпоинта.
1805
1805
  *
1806
1806
  * @default undefined */
1807
- marginXS?: Margin$9;
1807
+ marginXS?: Margin$a;
1808
1808
  /**
1809
1809
  * Отступ для S брейкпоинта.
1810
1810
  *
1811
1811
  * @default undefined */
1812
- marginS?: Margin$9;
1812
+ marginS?: Margin$a;
1813
1813
  /**
1814
1814
  * Отступ для M брейкпоинта.
1815
1815
  *
1816
1816
  * @default undefined */
1817
- marginM?: Margin$9;
1817
+ marginM?: Margin$a;
1818
1818
  /**
1819
1819
  * Отступ для L брейкпоинта.
1820
1820
  *
1821
1821
  * @default undefined */
1822
- marginL?: Margin$9;
1822
+ marginL?: Margin$a;
1823
1823
  /**
1824
1824
  * Отступ для XL брейкпоинта.
1825
1825
  *
1826
1826
  * @default undefined */
1827
- marginXL?: Margin$9;
1827
+ marginXL?: Margin$a;
1828
1828
  /** @ignore */
1829
1829
  inverse?: boolean;
1830
1830
  /** @ignore @deprecated */
@@ -1839,8 +1839,8 @@ interface ArrowProps extends ResponsiveSizeProps<Size$h, SizeValue>, ResponsiveM
1839
1839
  */
1840
1840
  declare const Arrow: React.ForwardRefExoticComponent<ArrowProps>;
1841
1841
 
1842
- type Size$g = 'xl' | 'l' | 'm' | 's' | 'xs';
1843
- interface InputCheckboxProps extends ResponsiveSizeProps<Size$g>, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'children'> {
1842
+ type Size$h = 'xl' | 'l' | 'm' | 's' | 'xs';
1843
+ interface InputCheckboxProps extends ResponsiveSizeProps<Size$h>, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'children'> {
1844
1844
  /**
1845
1845
  * Текущее состояние контрола (использование включает контролируемый режим).
1846
1846
  *
@@ -1917,43 +1917,43 @@ interface InputCheckboxProps extends ResponsiveSizeProps<Size$g>, Omit<React.Com
1917
1917
  *
1918
1918
  * @general
1919
1919
  * @default 'm' */
1920
- 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];
1920
+ 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];
1921
1921
  /**
1922
1922
  * Размер для XXS брейкпоинта.
1923
1923
  *
1924
1924
  * @default undefined */
1925
- sizeXXS?: Size$g;
1925
+ sizeXXS?: Size$h;
1926
1926
  /**
1927
1927
  * Размер для XS брейкпоинта.
1928
1928
  *
1929
1929
  * @default undefined */
1930
- sizeXS?: Size$g;
1930
+ sizeXS?: Size$h;
1931
1931
  /**
1932
1932
  * Размер для S брейкпоинта.
1933
1933
  *
1934
1934
  * @default undefined */
1935
- sizeS?: Size$g;
1935
+ sizeS?: Size$h;
1936
1936
  /**
1937
1937
  * Размер для M брейкпоинта.
1938
1938
  *
1939
1939
  * @default undefined */
1940
- sizeM?: Size$g;
1940
+ sizeM?: Size$h;
1941
1941
  /**
1942
1942
  * Размер для L брейкпоинта.
1943
1943
  *
1944
1944
  * @default undefined */
1945
- sizeL?: Size$g;
1945
+ sizeL?: Size$h;
1946
1946
  /**
1947
1947
  * Размер для XL брейкпоинта.
1948
1948
  *
1949
1949
  * @default undefined */
1950
- sizeXL?: Size$g;
1950
+ sizeXL?: Size$h;
1951
1951
  /**
1952
1952
  * Модификация размеров.
1953
1953
  *
1954
1954
  * @general
1955
1955
  * @default undefined */
1956
- sizes?: Partial<Record<Size$g, React.CSSProperties>>;
1956
+ sizes?: Partial<Record<Size$h, React.CSSProperties>>;
1957
1957
  /** @ignore @deprecated */
1958
1958
  onColored?: boolean;
1959
1959
  }
@@ -2002,8 +2002,8 @@ declare enum SizeInput {
2002
2002
  xs = 140
2003
2003
  }
2004
2004
 
2005
- type Size$f = 'l' | 'm' | 's' | 'xs';
2006
- interface TextareaBaseProps extends ResponsiveSizeProps<Size$f>, ResponsiveMarginProps, ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
2005
+ type Size$g = 'l' | 'm' | 's' | 'xs';
2006
+ interface TextareaBaseProps extends ResponsiveSizeProps<Size$g>, ResponsiveMarginProps, ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
2007
2007
  /**
2008
2008
  * Автоматически адаптировать число строк под контент.
2009
2009
  *
@@ -2158,7 +2158,7 @@ type ArrowBadgePalette = {
2158
2158
  color: CSSColor;
2159
2159
  backgroundColor: CSSColor;
2160
2160
  };
2161
- interface ArrowBadgeProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps,
2161
+ interface ArrowBadgeProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps,
2162
2162
  /** @deprecated Use palette */
2163
2163
  ColorProperty<'color'>,
2164
2164
  /** @deprecated Use palette */
@@ -2200,9 +2200,9 @@ ColorProperty<'backgroundColor'>, Omit<React.ComponentPropsWithRef<'div'>, 'colo
2200
2200
  */
2201
2201
  declare const ArrowBadge: React.ForwardRefExoticComponent<ArrowBadgeProps>;
2202
2202
 
2203
- type Size$e = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
2204
- type Margin$8 = number | string;
2205
- interface TabProps extends ResponsiveSizeProps<Size$e, SizeValue>, ResponsiveMarginProps,
2203
+ type Size$f = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
2204
+ type Margin$9 = number | string;
2205
+ interface TabProps extends ResponsiveSizeProps<Size$f, SizeValue>, ResponsiveMarginProps,
2206
2206
  /** @deprecated Use palette */
2207
2207
  ColorProperty<'color'>,
2208
2208
  /** @deprecated Use palette */
@@ -2293,43 +2293,43 @@ ColorProperty<'borderColor'>, Omit<React.ComponentPropsWithRef<'button'>, 'color
2293
2293
  *
2294
2294
  * @general
2295
2295
  * @default 'm' */
2296
- 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];
2296
+ size?: Size$f | [DESKTOP: Size$f, TABLET: Size$f, MOBILE: Size$f] | [XL: Size$f, L: Size$f, M: Size$f, S: Size$f, XS: Size$f, XXS: Size$f];
2297
2297
  /**
2298
2298
  * Размер для XXS брейкпоинта.
2299
2299
  *
2300
2300
  * @default undefined */
2301
- sizeXXS?: Size$e;
2301
+ sizeXXS?: Size$f;
2302
2302
  /**
2303
2303
  * Размер для XS брейкпоинта.
2304
2304
  *
2305
2305
  * @default undefined */
2306
- sizeXS?: Size$e;
2306
+ sizeXS?: Size$f;
2307
2307
  /**
2308
2308
  * Размер для S брейкпоинта.
2309
2309
  *
2310
2310
  * @default undefined */
2311
- sizeS?: Size$e;
2311
+ sizeS?: Size$f;
2312
2312
  /**
2313
2313
  * Размер для M брейкпоинта.
2314
2314
  *
2315
2315
  * @default undefined */
2316
- sizeM?: Size$e;
2316
+ sizeM?: Size$f;
2317
2317
  /**
2318
2318
  * Размер для L брейкпоинта.
2319
2319
  *
2320
2320
  * @default undefined */
2321
- sizeL?: Size$e;
2321
+ sizeL?: Size$f;
2322
2322
  /**
2323
2323
  * Размер для XL брейкпоинта.
2324
2324
  *
2325
2325
  * @default undefined */
2326
- sizeXL?: Size$e;
2326
+ sizeXL?: Size$f;
2327
2327
  /**
2328
2328
  * Модификация размеров.
2329
2329
  *
2330
2330
  * @general
2331
2331
  * @default undefined */
2332
- sizes?: Partial<Record<Size$e, React.CSSProperties>>;
2332
+ sizes?: Partial<Record<Size$f, React.CSSProperties>>;
2333
2333
  /**
2334
2334
  * Внешние отступы.
2335
2335
  *
@@ -2337,37 +2337,37 @@ ColorProperty<'borderColor'>, Omit<React.ComponentPropsWithRef<'button'>, 'color
2337
2337
  *
2338
2338
  * @general
2339
2339
  * @default undefined */
2340
- margin?: Margin$8 | [DESKTOP: Margin$8, TABLET: Margin$8, MOBILE: Margin$8] | [XL: Margin$8, L: Margin$8, M: Margin$8, S: Margin$8, XS: Margin$8, XXS: Margin$8];
2340
+ 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];
2341
2341
  /**
2342
2342
  * Отступ для XXS брейкпоинта.
2343
2343
  *
2344
2344
  * @default undefined */
2345
- marginXXS?: Margin$8;
2345
+ marginXXS?: Margin$9;
2346
2346
  /**
2347
2347
  * Отступ для XS брейкпоинта.
2348
2348
  *
2349
2349
  * @default undefined */
2350
- marginXS?: Margin$8;
2350
+ marginXS?: Margin$9;
2351
2351
  /**
2352
2352
  * Отступ для S брейкпоинта.
2353
2353
  *
2354
2354
  * @default undefined */
2355
- marginS?: Margin$8;
2355
+ marginS?: Margin$9;
2356
2356
  /**
2357
2357
  * Отступ для M брейкпоинта.
2358
2358
  *
2359
2359
  * @default undefined */
2360
- marginM?: Margin$8;
2360
+ marginM?: Margin$9;
2361
2361
  /**
2362
2362
  * Отступ для L брейкпоинта.
2363
2363
  *
2364
2364
  * @default undefined */
2365
- marginL?: Margin$8;
2365
+ marginL?: Margin$9;
2366
2366
  /**
2367
2367
  * Отступ для XL брейкпоинта.
2368
2368
  *
2369
2369
  * @default undefined */
2370
- marginXL?: Margin$8;
2370
+ marginXL?: Margin$9;
2371
2371
  /** @ignore */
2372
2372
  compact?: boolean;
2373
2373
  /** @ignore */
@@ -2392,7 +2392,7 @@ type BadgePalette = {
2392
2392
  color: CSSColor;
2393
2393
  backgroundColor: CSSColor;
2394
2394
  };
2395
- interface BadgeProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps,
2395
+ interface BadgeProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps,
2396
2396
  /** @deprecated Use palette */
2397
2397
  ColorProperty,
2398
2398
  /** @deprecated Use children as function */
@@ -2445,9 +2445,9 @@ DisplayProperty, Omit<React.ComponentPropsWithRef<'div'>, 'color' | 'children'>
2445
2445
  */
2446
2446
  declare const Badge: React.ForwardRefExoticComponent<BadgeProps>;
2447
2447
 
2448
- type Size$d = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs';
2449
- type Margin$7 = number | string;
2450
- interface IconButtonBaseProps extends ResponsiveSizeProps<Size$d>, ResponsiveMarginProps {
2448
+ type Size$e = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs';
2449
+ type Margin$8 = number | string;
2450
+ interface IconButtonBaseProps extends ResponsiveSizeProps<Size$e>, ResponsiveMarginProps {
2451
2451
  /**
2452
2452
  * Кастомные цвета.
2453
2453
  *
@@ -2505,43 +2505,43 @@ interface IconButtonBaseProps extends ResponsiveSizeProps<Size$d>, ResponsiveMar
2505
2505
  *
2506
2506
  * @general
2507
2507
  * @default 'm' */
2508
- size?: Size$d | [DESKTOP: Size$d, TABLET: Size$d, MOBILE: Size$d] | [XL: Size$d, L: Size$d, M: Size$d, S: Size$d, XS: Size$d, XXS: Size$d];
2508
+ 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];
2509
2509
  /**
2510
2510
  * Размер для XXS брейкпоинта.
2511
2511
  *
2512
2512
  * @default undefined */
2513
- sizeXXS?: Size$d;
2513
+ sizeXXS?: Size$e;
2514
2514
  /**
2515
2515
  * Размер для XS брейкпоинта.
2516
2516
  *
2517
2517
  * @default undefined */
2518
- sizeXS?: Size$d;
2518
+ sizeXS?: Size$e;
2519
2519
  /**
2520
2520
  * Размер для S брейкпоинта.
2521
2521
  *
2522
2522
  * @default undefined */
2523
- sizeS?: Size$d;
2523
+ sizeS?: Size$e;
2524
2524
  /**
2525
2525
  * Размер для M брейкпоинта.
2526
2526
  *
2527
2527
  * @default undefined */
2528
- sizeM?: Size$d;
2528
+ sizeM?: Size$e;
2529
2529
  /**
2530
2530
  * Размер для L брейкпоинта.
2531
2531
  *
2532
2532
  * @default undefined */
2533
- sizeL?: Size$d;
2533
+ sizeL?: Size$e;
2534
2534
  /**
2535
2535
  * Размер для XL брейкпоинта.
2536
2536
  *
2537
2537
  * @default undefined */
2538
- sizeXL?: Size$d;
2538
+ sizeXL?: Size$e;
2539
2539
  /**
2540
2540
  * Модификация размеров.
2541
2541
  *
2542
2542
  * @general
2543
2543
  * @default undefined */
2544
- sizes?: Partial<Record<Size$d, React.CSSProperties>>;
2544
+ sizes?: Partial<Record<Size$e, React.CSSProperties>>;
2545
2545
  /**
2546
2546
  * Внешние отступы.
2547
2547
  *
@@ -2549,37 +2549,37 @@ interface IconButtonBaseProps extends ResponsiveSizeProps<Size$d>, ResponsiveMar
2549
2549
  *
2550
2550
  * @general
2551
2551
  * @default undefined */
2552
- margin?: Margin$7 | [DESKTOP: Margin$7, TABLET: Margin$7, MOBILE: Margin$7] | [XL: Margin$7, L: Margin$7, M: Margin$7, S: Margin$7, XS: Margin$7, XXS: Margin$7];
2552
+ margin?: Margin$8 | [DESKTOP: Margin$8, TABLET: Margin$8, MOBILE: Margin$8] | [XL: Margin$8, L: Margin$8, M: Margin$8, S: Margin$8, XS: Margin$8, XXS: Margin$8];
2553
2553
  /**
2554
2554
  * Отступ для XXS брейкпоинта.
2555
2555
  *
2556
2556
  * @default undefined */
2557
- marginXXS?: Margin$7;
2557
+ marginXXS?: Margin$8;
2558
2558
  /**
2559
2559
  * Отступ для XS брейкпоинта.
2560
2560
  *
2561
2561
  * @default undefined */
2562
- marginXS?: Margin$7;
2562
+ marginXS?: Margin$8;
2563
2563
  /**
2564
2564
  * Отступ для S брейкпоинта.
2565
2565
  *
2566
2566
  * @default undefined */
2567
- marginS?: Margin$7;
2567
+ marginS?: Margin$8;
2568
2568
  /**
2569
2569
  * Отступ для M брейкпоинта.
2570
2570
  *
2571
2571
  * @default undefined */
2572
- marginM?: Margin$7;
2572
+ marginM?: Margin$8;
2573
2573
  /**
2574
2574
  * Отступ для L брейкпоинта.
2575
2575
  *
2576
2576
  * @default undefined */
2577
- marginL?: Margin$7;
2577
+ marginL?: Margin$8;
2578
2578
  /**
2579
2579
  * Отступ для XL брейкпоинта.
2580
2580
  *
2581
2581
  * @default undefined */
2582
- marginXL?: Margin$7;
2582
+ marginXL?: Margin$8;
2583
2583
  }
2584
2584
  type IconButtonProps = IconButtonBaseProps & Omit<React.ComponentPropsWithRef<'button'>, keyof IconButtonBaseProps>;
2585
2585
 
@@ -2822,14 +2822,14 @@ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps> & {
2822
2822
  Component: typeof TooltipComponent;
2823
2823
  };
2824
2824
 
2825
- type Size$c = 'xl' | 'l' | 'm' | 's' | 'xs';
2826
- type Layout$4 = 'vertical' | 'horizontal';
2825
+ type Size$d = 'xl' | 'l' | 'm' | 's' | 'xs';
2826
+ type Layout$5 = 'vertical' | 'horizontal';
2827
2827
  type PopoverComponentPalette = {
2828
2828
  color: CSSColor;
2829
2829
  backgroundColor: CSSColor;
2830
2830
  shadowColor: CSSColor;
2831
2831
  };
2832
- interface PopoverComponentBaseProps extends ResponsiveSizeProps<Size$c>, ResponsiveLayoutProps<Layout$4> {
2832
+ interface PopoverComponentBaseProps extends ResponsiveSizeProps<Size$d>, ResponsiveLayoutProps<Layout$5> {
2833
2833
  /**
2834
2834
  * Кастомные цвета.
2835
2835
  *
@@ -2940,9 +2940,9 @@ type PopoverComponentProps = PopoverComponentBaseProps & Omit<React.ComponentPro
2940
2940
 
2941
2941
  declare const PopoverComponent: React.ForwardRefExoticComponent<PopoverComponentProps>;
2942
2942
 
2943
- type Size$b = 's' | 'xl' | 'l' | 'm' | 'xs';
2944
- type Layout$3 = 'vertical' | 'horizontal';
2945
- interface PopoverBaseProps extends ResponsiveSizeProps<Size$b>, ResponsiveLayoutProps<Layout$3> {
2943
+ type Size$c = 's' | 'xl' | 'l' | 'm' | 'xs';
2944
+ type Layout$4 = 'vertical' | 'horizontal';
2945
+ interface PopoverBaseProps extends ResponsiveSizeProps<Size$c>, ResponsiveLayoutProps<Layout$4> {
2946
2946
  /**
2947
2947
  * Кастомные цвета.
2948
2948
  *
@@ -3158,43 +3158,43 @@ interface PopoverBaseProps extends ResponsiveSizeProps<Size$b>, ResponsiveLayout
3158
3158
  *
3159
3159
  * @general
3160
3160
  * @default 's' */
3161
- size?: Size$b | [DESKTOP: Size$b, TABLET: Size$b, MOBILE: Size$b] | [XL: Size$b, L: Size$b, M: Size$b, S: Size$b, XS: Size$b, XXS: Size$b];
3161
+ size?: Size$c | [DESKTOP: Size$c, TABLET: Size$c, MOBILE: Size$c] | [XL: Size$c, L: Size$c, M: Size$c, S: Size$c, XS: Size$c, XXS: Size$c];
3162
3162
  /**
3163
3163
  * Размер для XXS брейкпоинта.
3164
3164
  *
3165
3165
  * @default undefined */
3166
- sizeXXS?: Size$b;
3166
+ sizeXXS?: Size$c;
3167
3167
  /**
3168
3168
  * Размер для XS брейкпоинта.
3169
3169
  *
3170
3170
  * @default undefined */
3171
- sizeXS?: Size$b;
3171
+ sizeXS?: Size$c;
3172
3172
  /**
3173
3173
  * Размер для S брейкпоинта.
3174
3174
  *
3175
3175
  * @default undefined */
3176
- sizeS?: Size$b;
3176
+ sizeS?: Size$c;
3177
3177
  /**
3178
3178
  * Размер для M брейкпоинта.
3179
3179
  *
3180
3180
  * @default undefined */
3181
- sizeM?: Size$b;
3181
+ sizeM?: Size$c;
3182
3182
  /**
3183
3183
  * Размер для L брейкпоинта.
3184
3184
  *
3185
3185
  * @default undefined */
3186
- sizeL?: Size$b;
3186
+ sizeL?: Size$c;
3187
3187
  /**
3188
3188
  * Размер для XL брейкпоинта.
3189
3189
  *
3190
3190
  * @default undefined */
3191
- sizeXL?: Size$b;
3191
+ sizeXL?: Size$c;
3192
3192
  /**
3193
3193
  * Модификация размеров.
3194
3194
  *
3195
3195
  * @general
3196
3196
  * @default undefined */
3197
- sizes?: Partial<Record<Size$b, React.CSSProperties>>;
3197
+ sizes?: Partial<Record<Size$c, React.CSSProperties>>;
3198
3198
  /**
3199
3199
  * Вариант шаблона лейаута.
3200
3200
  *
@@ -3202,37 +3202,37 @@ interface PopoverBaseProps extends ResponsiveSizeProps<Size$b>, ResponsiveLayout
3202
3202
  *
3203
3203
  * @general
3204
3204
  * @default 'vertical' */
3205
- layout?: Layout$3 | [DESKTOP: Layout$3, TABLET: Layout$3, MOBILE: Layout$3] | [XL: Layout$3, L: Layout$3, M: Layout$3, S: Layout$3, XS: Layout$3, XXS: Layout$3];
3205
+ layout?: Layout$4 | [DESKTOP: Layout$4, TABLET: Layout$4, MOBILE: Layout$4] | [XL: Layout$4, L: Layout$4, M: Layout$4, S: Layout$4, XS: Layout$4, XXS: Layout$4];
3206
3206
  /**
3207
3207
  * Лейаут для XXS брейкпоинта.
3208
3208
  *
3209
3209
  * @default undefined */
3210
- layoutXXS?: Layout$3;
3210
+ layoutXXS?: Layout$4;
3211
3211
  /**
3212
3212
  * Лейаут для XS брейкпоинта.
3213
3213
  *
3214
3214
  * @default undefined */
3215
- layoutXS?: Layout$3;
3215
+ layoutXS?: Layout$4;
3216
3216
  /**
3217
3217
  * Лейаут для S брейкпоинта.
3218
3218
  *
3219
3219
  * @default undefined */
3220
- layoutS?: Layout$3;
3220
+ layoutS?: Layout$4;
3221
3221
  /**
3222
3222
  * Лейаут для M брейкпоинта.
3223
3223
  *
3224
3224
  * @default undefined */
3225
- layoutM?: Layout$3;
3225
+ layoutM?: Layout$4;
3226
3226
  /**
3227
3227
  * Лейаут для L брейкпоинта.
3228
3228
  *
3229
3229
  * @default undefined */
3230
- layoutL?: Layout$3;
3230
+ layoutL?: Layout$4;
3231
3231
  /**
3232
3232
  * Лейаут для XL брейкпоинта.
3233
3233
  *
3234
3234
  * @default undefined */
3235
- layoutXL?: Layout$3;
3235
+ layoutXL?: Layout$4;
3236
3236
  /**
3237
3237
  * Кастомный рутовый блок.
3238
3238
  *
@@ -3369,7 +3369,7 @@ type ListItemPalette = {
3369
3369
  backgroundColorHover: CSSColor;
3370
3370
  mediaPlaceholderColor: CSSColor;
3371
3371
  };
3372
- interface ListItemProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps, Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'title'>, Omit<React.ButtonHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type'>, Omit<React.AnchorHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type' | 'media'> {
3372
+ interface ListItemProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps, Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'title'>, Omit<React.ButtonHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type'>, Omit<React.AnchorHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type' | 'media'> {
3373
3373
  /** Root node type */
3374
3374
  as?: React.ElementType;
3375
3375
  /** Main text content or render function */
@@ -3447,7 +3447,7 @@ type IndicatorPalette = {
3447
3447
  backgroundColor: CSSColor;
3448
3448
  shadowColor: CSSColor;
3449
3449
  };
3450
- interface IndicatorProps extends ResponsiveSizeProps<Size$j, SizeValue>, ResponsiveMarginProps, React.ComponentPropsWithRef<'span'> {
3450
+ interface IndicatorProps extends ResponsiveSizeProps<Size$k, SizeValue>, ResponsiveMarginProps, React.ComponentPropsWithRef<'span'> {
3451
3451
  /** Custom colors */
3452
3452
  palette?: Partial<Record<keyof IndicatorPalette, Color>>;
3453
3453
  /** Text content */
@@ -3492,7 +3492,7 @@ type AvatarPalette = {
3492
3492
  shadowColor: CSSColor;
3493
3493
  };
3494
3494
  type AvatarSize = SizeValue | 'sm';
3495
- interface AvatarProps extends ResponsiveSizeProps<Size$j, AvatarSize>, ResponsiveMarginProps,
3495
+ interface AvatarProps extends ResponsiveSizeProps<Size$k, AvatarSize>, ResponsiveMarginProps,
3496
3496
  /** @deprecated Use palette */
3497
3497
  ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
3498
3498
  /** UI: brand (v3), or default (v2) */
@@ -3803,14 +3803,14 @@ declare const Menu: React.ForwardRefExoticComponent<MenuProps> & {
3803
3803
  Divider: typeof MenuDivider;
3804
3804
  };
3805
3805
 
3806
- type Size$a = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
3807
- type Layout$2 = 'vertical' | 'horizontal' | 'vertical-reverse' | 'horizontal-reverse';
3806
+ type Size$b = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
3807
+ type Layout$3 = 'vertical' | 'horizontal' | 'vertical-reverse' | 'horizontal-reverse';
3808
3808
  type DialogComponentPalette = {
3809
3809
  color: CSSColor;
3810
3810
  backgroundColor: CSSColor;
3811
3811
  shadowColor: CSSColor;
3812
3812
  };
3813
- interface DialogComponentBaseProps extends ResponsiveSizeProps<Size$a>, ResponsiveLayoutProps<Layout$2> {
3813
+ interface DialogComponentBaseProps extends ResponsiveSizeProps<Size$b>, ResponsiveLayoutProps<Layout$3> {
3814
3814
  /**
3815
3815
  * Кнопка закрытия.
3816
3816
  *
@@ -3980,10 +3980,10 @@ type DialogComponentProps = DialogComponentBaseProps & Omit<React.ComponentProps
3980
3980
 
3981
3981
  declare const DialogComponent: React.ForwardRefExoticComponent<DialogComponentProps>;
3982
3982
 
3983
- type Size$9 = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
3984
- type Layout$1 = 'vertical' | 'horizontal' | 'vertical-reverse' | 'horizontal-reverse';
3983
+ type Size$a = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
3984
+ type Layout$2 = 'vertical' | 'horizontal' | 'vertical-reverse' | 'horizontal-reverse';
3985
3985
  type Position = 'center' | 'top-center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'left' | 'right';
3986
- interface DialogBaseProps extends ResponsiveSizeProps<Size$9>, ResponsiveLayoutProps<Layout$1>, ResponsivePositionProps<Position> {
3986
+ interface DialogBaseProps extends ResponsiveSizeProps<Size$a>, ResponsiveLayoutProps<Layout$2>, ResponsivePositionProps<Position> {
3987
3987
  /**
3988
3988
  * Открыто диалоговое окно.
3989
3989
  *
@@ -4281,43 +4281,43 @@ interface DialogBaseProps extends ResponsiveSizeProps<Size$9>, ResponsiveLayoutP
4281
4281
  *
4282
4282
  * @general
4283
4283
  * @default 's' */
4284
- size?: Size$9 | [DESKTOP: Size$9, TABLET: Size$9, MOBILE: Size$9] | [XL: Size$9, L: Size$9, M: Size$9, S: Size$9, XS: Size$9, XXS: Size$9];
4284
+ size?: Size$a | [DESKTOP: Size$a, TABLET: Size$a, MOBILE: Size$a] | [XL: Size$a, L: Size$a, M: Size$a, S: Size$a, XS: Size$a, XXS: Size$a];
4285
4285
  /**
4286
4286
  * Размер для XXS брейкпоинта.
4287
4287
  *
4288
4288
  * @default undefined */
4289
- sizeXXS?: Size$9;
4289
+ sizeXXS?: Size$a;
4290
4290
  /**
4291
4291
  * Размер для XS брейкпоинта.
4292
4292
  *
4293
4293
  * @default undefined */
4294
- sizeXS?: Size$9;
4294
+ sizeXS?: Size$a;
4295
4295
  /**
4296
4296
  * Размер для S брейкпоинта.
4297
4297
  *
4298
4298
  * @default undefined */
4299
- sizeS?: Size$9;
4299
+ sizeS?: Size$a;
4300
4300
  /**
4301
4301
  * Размер для M брейкпоинта.
4302
4302
  *
4303
4303
  * @default undefined */
4304
- sizeM?: Size$9;
4304
+ sizeM?: Size$a;
4305
4305
  /**
4306
4306
  * Размер для L брейкпоинта.
4307
4307
  *
4308
4308
  * @default undefined */
4309
- sizeL?: Size$9;
4309
+ sizeL?: Size$a;
4310
4310
  /**
4311
4311
  * Размер для XL брейкпоинта.
4312
4312
  *
4313
4313
  * @default undefined */
4314
- sizeXL?: Size$9;
4314
+ sizeXL?: Size$a;
4315
4315
  /**
4316
4316
  * Модификация размеров.
4317
4317
  *
4318
4318
  * @general
4319
4319
  * @default undefined */
4320
- sizes?: Partial<Record<Size$9, React.CSSProperties>>;
4320
+ sizes?: Partial<Record<Size$a, React.CSSProperties>>;
4321
4321
  /**
4322
4322
  * Вариант шаблона лейаута.
4323
4323
  *
@@ -4325,37 +4325,37 @@ interface DialogBaseProps extends ResponsiveSizeProps<Size$9>, ResponsiveLayoutP
4325
4325
  *
4326
4326
  * @general
4327
4327
  * @default 'vertical' */
4328
- layout?: Layout$1 | [DESKTOP: Layout$1, TABLET: Layout$1, MOBILE: Layout$1] | [XL: Layout$1, L: Layout$1, M: Layout$1, S: Layout$1, XS: Layout$1, XXS: Layout$1];
4328
+ layout?: Layout$2 | [DESKTOP: Layout$2, TABLET: Layout$2, MOBILE: Layout$2] | [XL: Layout$2, L: Layout$2, M: Layout$2, S: Layout$2, XS: Layout$2, XXS: Layout$2];
4329
4329
  /**
4330
4330
  * Лейаут для XXS брейкпоинта.
4331
4331
  *
4332
4332
  * @default undefined */
4333
- layoutXXS?: Layout$1;
4333
+ layoutXXS?: Layout$2;
4334
4334
  /**
4335
4335
  * Лейаут для XS брейкпоинта.
4336
4336
  *
4337
4337
  * @default undefined */
4338
- layoutXS?: Layout$1;
4338
+ layoutXS?: Layout$2;
4339
4339
  /**
4340
4340
  * Лейаут для S брейкпоинта.
4341
4341
  *
4342
4342
  * @default undefined */
4343
- layoutS?: Layout$1;
4343
+ layoutS?: Layout$2;
4344
4344
  /**
4345
4345
  * Лейаут для M брейкпоинта.
4346
4346
  *
4347
4347
  * @default undefined */
4348
- layoutM?: Layout$1;
4348
+ layoutM?: Layout$2;
4349
4349
  /**
4350
4350
  * Лейаут для L брейкпоинта.
4351
4351
  *
4352
4352
  * @default undefined */
4353
- layoutL?: Layout$1;
4353
+ layoutL?: Layout$2;
4354
4354
  /**
4355
4355
  * Лейаут для XL брейкпоинта.
4356
4356
  *
4357
4357
  * @default undefined */
4358
- layoutXL?: Layout$1;
4358
+ layoutXL?: Layout$2;
4359
4359
  /**
4360
4360
  * Позиция диалога.
4361
4361
  *
@@ -4413,58 +4413,223 @@ declare const Dialog: React.ForwardRefExoticComponent<DialogProps> & {
4413
4413
  Component: typeof DialogComponent;
4414
4414
  };
4415
4415
 
4416
- type NotificationSize = 'l' | 'm' | 's';
4416
+ type Margin$7 = number | string;
4417
+ type Size$9 = 'l' | 'm' | 's';
4417
4418
  type NotificationStatus = 'system' | 'info' | 'success' | 'error' | 'warning';
4418
- type NotificationPalette = {
4419
- color: CSSColor;
4420
- backgroundColor: CSSColor;
4421
- };
4422
- interface NotificationProps extends ResponsiveSizeProps<NotificationSize>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
4419
+ type Layout$1 = 'vertical' | 'horizontal';
4420
+ interface NotificationProps extends ResponsiveSizeProps<Size$9>, ResponsiveLayoutProps<Layout$1>, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'div'>, 'children' | 'title'> {
4423
4421
  /**
4424
- * Пропсы для кнопки действия.
4425
- * Для рендера нужно передать "onClick"
4426
- */
4427
- actionButtonProps?: ButtonProps;
4422
+ * Отображение иконки слева.
4423
+ *
4424
+ * @general
4425
+ * @default false */
4426
+ withIcon?: boolean;
4428
4427
  /**
4429
- * Пропсы для компонента ссылки.
4430
- * Для рендера нужно передать "to" (будет использован `theme.link`)
4431
- * или "href" (будет использован нативный \<a\> элемент)
4432
- */
4433
- anchorProps?: AnchorProps;
4434
- /** Контент будет отображаться колонкой */
4435
- contentDirectionColumn?: boolean;
4428
+ * Кастомные цвета.
4429
+ *
4430
+ * @general
4431
+ * @default {} */
4432
+ palette?: {
4433
+ color?: Color;
4434
+ backgroundColor?: Color;
4435
+ };
4436
4436
  /**
4437
- * Пропсы для кнопки с иконкой "close".
4438
- * Для рендера нужно передать "onClick"
4439
- */
4440
- discardButtonProps?: Partial<IconButtonProps>;
4441
- /** Пропсы для иконки слева */
4442
- iconProps?: IconProps;
4443
- /** Не показывать иконку слева */
4444
- hideIcon?: boolean;
4445
- /** Кастомные цвета */
4446
- palette?: Partial<Record<keyof NotificationPalette, Color>>;
4447
- /** Цветовая схема */
4437
+ * Статус, в зависимости от значения которого меняется цветовая схема.
4438
+ *
4439
+ * @general
4440
+ * @default 'system' */
4448
4441
  status?: NotificationStatus;
4449
- /** Основной контент */
4450
- text?: React.ReactNode;
4451
- /** Пропсы типографики для основного текста */
4452
- textProps?: TextProps;
4453
- /** Контент заголовка */
4454
- title?: React.ReactNode;
4455
- /** Пропсы типографики для заголовка */
4456
- titleProps?: TextProps;
4442
+ /**
4443
+ * Иконка слева.
4444
+ *
4445
+ * По умолчанию используется иконка infoCircle.
4446
+ *
4447
+ * @slot
4448
+ * @default undefined */
4449
+ icon?: React.ReactNode | ((iconProps: IconProps) => React.ReactNode);
4450
+ /**
4451
+ * Заголовок.
4452
+ *
4453
+ * Если передана строка или число используется встроенная типографика.
4454
+ *
4455
+ * @slot
4456
+ * @default undefined */
4457
+ title?: React.ReactNode | ((titleProps: TextProps) => React.ReactNode);
4458
+ /**
4459
+ * Основной текст.
4460
+ *
4461
+ * Если передана строка или число используется встроенная типографика.
4462
+ *
4463
+ * @slot
4464
+ * @default undefined */
4465
+ text?: React.ReactNode | ((textProps: TextProps) => React.ReactNode);
4466
+ /**
4467
+ * Дополнительные элементы.
4468
+ *
4469
+ * @slot
4470
+ * @default undefined */
4471
+ addon?: React.ReactNode | ((addonProps: {
4472
+ anchorProps: AnchorProps;
4473
+ buttonProps: ButtonProps;
4474
+ }) => React.ReactNode);
4475
+ /**
4476
+ * Кнопка закрытия.
4477
+ *
4478
+ * @slot
4479
+ * @default undefined */
4480
+ discardButton?: React.ReactNode | ((discardButtonProps: IconButtonProps) => React.ReactNode);
4481
+ /**
4482
+ * Кастомный рутовый блок.
4483
+ *
4484
+ * @slot
4485
+ * @default undefined */
4486
+ children?: React.ReactNode | ((rootProps: {
4487
+ iconProps: IconProps;
4488
+ titleProps: TextProps;
4489
+ textProps: TextProps;
4490
+ buttonProps: ButtonProps;
4491
+ anchorProps: AnchorProps;
4492
+ discardButtonProps: IconButtonProps;
4493
+ }) => React.ReactNode);
4494
+ /**
4495
+ * Кастомный блок с основным контентом.
4496
+ *
4497
+ * @slot
4498
+ * @default undefined */
4499
+ content?: React.ReactNode | ((contentProps: {
4500
+ titleProps: TextProps;
4501
+ textProps: TextProps;
4502
+ }) => React.ReactNode);
4503
+ /**
4504
+ * Размер.
4505
+ *
4506
+ * Использование кортежей включает применение размеров в зависимости от ширины вьюпорта.
4507
+ *
4508
+ * @general
4509
+ * @default 'm' */
4510
+ size?: Size$9 | [DESKTOP: Size$9, TABLET: Size$9, MOBILE: Size$9] | [XL: Size$9, L: Size$9, M: Size$9, S: Size$9, XS: Size$9, XXS: Size$9];
4511
+ /**
4512
+ * Размер для XXS брейкпоинта.
4513
+ *
4514
+ * @default undefined */
4515
+ sizeXXS?: Size$9;
4516
+ /**
4517
+ * Размер для XS брейкпоинта.
4518
+ *
4519
+ * @default undefined */
4520
+ sizeXS?: Size$9;
4521
+ /**
4522
+ * Размер для S брейкпоинта.
4523
+ *
4524
+ * @default undefined */
4525
+ sizeS?: Size$9;
4526
+ /**
4527
+ * Размер для M брейкпоинта.
4528
+ *
4529
+ * @default undefined */
4530
+ sizeM?: Size$9;
4531
+ /**
4532
+ * Размер для L брейкпоинта.
4533
+ *
4534
+ * @default undefined */
4535
+ sizeL?: Size$9;
4536
+ /**
4537
+ * Размер для XL брейкпоинта.
4538
+ *
4539
+ * @default undefined */
4540
+ sizeXL?: Size$9;
4541
+ /**
4542
+ * Модификация размеров.
4543
+ *
4544
+ * @general
4545
+ * @default undefined */
4546
+ sizes?: Partial<Record<Size$9, React.CSSProperties>>;
4547
+ /**
4548
+ * Вариант шаблона лейаута.
4549
+ *
4550
+ * Использование кортежей включает применение шаблонов в зависимости от ширины вьюпорта.
4551
+ *
4552
+ * @general
4553
+ * @default 'horizontal' */
4554
+ layout?: Layout$1 | [DESKTOP: Layout$1, TABLET: Layout$1, MOBILE: Layout$1] | [XL: Layout$1, L: Layout$1, M: Layout$1, S: Layout$1, XS: Layout$1, XXS: Layout$1];
4555
+ /**
4556
+ * Лейаут для XXS брейкпоинта.
4557
+ *
4558
+ * @default undefined */
4559
+ layoutXXS?: Layout$1;
4560
+ /**
4561
+ * Лейаут для XS брейкпоинта.
4562
+ *
4563
+ * @default undefined */
4564
+ layoutXS?: Layout$1;
4565
+ /**
4566
+ * Лейаут для S брейкпоинта.
4567
+ *
4568
+ * @default undefined */
4569
+ layoutS?: Layout$1;
4570
+ /**
4571
+ * Лейаут для M брейкпоинта.
4572
+ *
4573
+ * @default undefined */
4574
+ layoutM?: Layout$1;
4575
+ /**
4576
+ * Лейаут для L брейкпоинта.
4577
+ *
4578
+ * @default undefined */
4579
+ layoutL?: Layout$1;
4580
+ /**
4581
+ * Лейаут для XL брейкпоинта.
4582
+ *
4583
+ * @default undefined */
4584
+ layoutXL?: Layout$1;
4585
+ /**
4586
+ * Внешние отступы.
4587
+ *
4588
+ * Использование кортежей включает применение отступов в зависимости от ширины вьюпорта.
4589
+ *
4590
+ * @general
4591
+ * @default undefined */
4592
+ margin?: Margin$7 | [DESKTOP: Margin$7, TABLET: Margin$7, MOBILE: Margin$7] | [XL: Margin$7, L: Margin$7, M: Margin$7, S: Margin$7, XS: Margin$7, XXS: Margin$7];
4593
+ /**
4594
+ * Отступ для XXS брейкпоинта.
4595
+ *
4596
+ * @default undefined */
4597
+ marginXXS?: Margin$7;
4598
+ /**
4599
+ * Отступ для XS брейкпоинта.
4600
+ *
4601
+ * @default undefined */
4602
+ marginXS?: Margin$7;
4603
+ /**
4604
+ * Отступ для S брейкпоинта.
4605
+ *
4606
+ * @default undefined */
4607
+ marginS?: Margin$7;
4608
+ /**
4609
+ * Отступ для M брейкпоинта.
4610
+ *
4611
+ * @default undefined */
4612
+ marginM?: Margin$7;
4613
+ /**
4614
+ * Отступ для L брейкпоинта.
4615
+ *
4616
+ * @default undefined */
4617
+ marginL?: Margin$7;
4618
+ /**
4619
+ * Отступ для XL брейкпоинта.
4620
+ *
4621
+ * @default undefined */
4622
+ marginXL?: Margin$7;
4457
4623
  }
4458
4624
 
4459
4625
  /**
4460
4626
  *
4461
- * Компонент поддерживает все атрибуты \<div\> элемента.
4627
+ * *v1.0.0*
4462
4628
  *
4463
- * Можно передать "ref", который будет ассоциирован с рутовым элементом.
4629
+ * Компонент для отображения информационных сообщений, встроенных в интерфейс.
4464
4630
  *
4465
- * Поддерживаются пропсы определения размеров и внешних отступов в зависимости от ширины вьюпорта.
4631
+ * Поддерживается "ref" и все нативные атрибуты \<div\> элемента.
4466
4632
  *
4467
- * Полный интерфейс можно посмотреть [тут](https://github.com/foxford/ui/blob/master/packages/ui/src/components/Notification/types.ts).
4468
4633
  */
4469
4634
  declare const Notification: React.ForwardRefExoticComponent<NotificationProps>;
4470
4635
 
@@ -5668,7 +5833,7 @@ declare const useScrollMonitor: ({ target, scrollThrottleMS, scrollEndDebounceMS
5668
5833
 
5669
5834
  declare const vAlign: (align: "top" | "middle" | "bottom" | "text-top" | "text-bottom" | "baseline") => styled_components.FlattenSimpleInterpolation;
5670
5835
 
5671
- declare function buildMediaQuery(value: number | Size$j | '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$j, number>): ReturnType<typeof css>;
5836
+ declare function buildMediaQuery(value: number | Size$k | '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$k, number>): ReturnType<typeof css>;
5672
5837
  declare const desktopFirst: (a: string, b: string) => number;
5673
5838
  declare const mobileFirst: (a: string, b: string) => number;
5674
5839
 
@@ -8265,4 +8430,4 @@ type AspectRatioProps = AspectRatioBaseProps & Omit<React.ComponentPropsWithRef<
8265
8430
  */
8266
8431
  declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps>;
8267
8432
 
8268
- export { Accordion, type AccordionItemProps, type AccordionProps, ActionBtn, type ActionBtnProps, Alert, type AlertProps, Amount, type AmountProps, Anchor, Arrow, ArrowBadge, type ArrowBadgeProps, type ArrowProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BaseProps, type 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, 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 IconName, type IconProps, Indicator, type IndicatorProps, Input, type InputCheckboxProps, type InputMaskOptions, type InputMaskState, type InputPhoneProps, type InputProps, type InputRadioProps, type KeysOfUnion, ListItem, type ListItemProps, Menu, type MenuComponentProps, type MenuContainerProps, type MenuDividerProps, type MenuListProps, type MenuProps, Modal, type ModalProps, Notification, type NotificationProps, type Nullable, Paper, type PaperProps, type PlaygroundToolbar, 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$j as Size, type 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 WithThemePreset, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, desktopFirst, 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, useScrollMonitor, vAlign };
8433
+ export { Accordion, type AccordionItemProps, type AccordionProps, ActionBtn, type ActionBtnProps, Alert, type AlertProps, Amount, type AmountProps, Anchor, Arrow, ArrowBadge, type ArrowBadgeProps, type ArrowProps, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, Badge, type BadgeProps, type BaseProps, type 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, 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 IconName, type IconProps, Indicator, type IndicatorProps, Input, type InputCheckboxProps, type InputMaskOptions, type InputMaskState, type InputPhoneProps, type InputProps, type InputRadioProps, type KeysOfUnion, ListItem, type ListItemProps, Menu, type MenuComponentProps, type MenuContainerProps, type MenuDividerProps, type MenuListProps, type MenuProps, Modal, type ModalProps, Notification, type NotificationProps, type Nullable, Paper, type PaperProps, type PlaygroundToolbar, 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$k as Size, type 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 WithThemePreset, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, desktopFirst, 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, useScrollMonitor, vAlign };