@salutejs/sdds-dfa 0.179.0-canary.1588.11975454374.0 → 0.180.0-canary.1534.12008935759.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -84,6 +84,7 @@ import type { DistributivePick } from '@salutejs/plasma-new-hope';
84
84
  import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
85
85
  import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
86
86
  import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
87
+ import { DragEvent as DragEvent_2 } from 'react';
87
88
  import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components';
88
89
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
89
90
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -93,6 +94,8 @@ import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
93
94
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
94
95
  import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
95
96
  import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
97
+ import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
98
+ import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
96
99
  import { dsplL } from '@salutejs/sdds-themes/tokens';
97
100
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
98
101
  import { dsplM } from '@salutejs/sdds-themes/tokens';
@@ -100,6 +103,7 @@ import { dsplMBold } from '@salutejs/sdds-themes/tokens';
100
103
  import { dsplS } from '@salutejs/sdds-themes/tokens';
101
104
  import { dsplSBold } from '@salutejs/sdds-themes/tokens';
102
105
  import type { FC } from 'react';
106
+ import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
103
107
  import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
104
108
  import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
105
109
  import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
@@ -218,6 +222,7 @@ import { TooltipProps } from '@salutejs/plasma-new-hope/styled-components';
218
222
  import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
219
223
  import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
220
224
  import { useToast } from '@salutejs/plasma-new-hope/styled-components';
225
+ import { ValidatorReturnType } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
221
226
  import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
222
227
  import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
223
228
 
@@ -1198,7 +1203,6 @@ size: {
1198
1203
  l: PolymorphicClassName;
1199
1204
  };
1200
1205
  }> & {
1201
- noWrap?: boolean | undefined;
1202
1206
  breakWord?: boolean | undefined;
1203
1207
  color?: string | undefined;
1204
1208
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1213,7 +1217,6 @@ size: {
1213
1217
  m: PolymorphicClassName;
1214
1218
  };
1215
1219
  }> & {
1216
- noWrap?: boolean | undefined;
1217
1220
  breakWord?: boolean | undefined;
1218
1221
  color?: string | undefined;
1219
1222
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1228,7 +1231,6 @@ size: {
1228
1231
  s: PolymorphicClassName;
1229
1232
  };
1230
1233
  }> & {
1231
- noWrap?: boolean | undefined;
1232
1234
  breakWord?: boolean | undefined;
1233
1235
  color?: string | undefined;
1234
1236
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1243,7 +1245,6 @@ size: {
1243
1245
  xs: PolymorphicClassName;
1244
1246
  };
1245
1247
  }> & {
1246
- noWrap?: boolean | undefined;
1247
1248
  breakWord?: boolean | undefined;
1248
1249
  color?: string | undefined;
1249
1250
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1258,7 +1259,6 @@ size: {
1258
1259
  xxs: PolymorphicClassName;
1259
1260
  };
1260
1261
  }> & {
1261
- noWrap?: boolean | undefined;
1262
1262
  breakWord?: boolean | undefined;
1263
1263
  color?: string | undefined;
1264
1264
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1838,13 +1838,45 @@ default: PolymorphicClassName;
1838
1838
  hoverIndex?: number | undefined;
1839
1839
  } & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "view" | "size"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1840
1840
 
1841
+ // @public (undocumented)
1842
+ export const Dropzone: FunctionComponent<PropsType< {
1843
+ view: {
1844
+ default: PolymorphicClassName;
1845
+ };
1846
+ size: {
1847
+ m: PolymorphicClassName;
1848
+ };
1849
+ disabled: {
1850
+ true: PolymorphicClassName;
1851
+ };
1852
+ }> & {
1853
+ multiple?: boolean | undefined;
1854
+ title?: string | undefined;
1855
+ description?: string | undefined;
1856
+ icon?: ReactNode;
1857
+ iconPlacement?: "top" | "left" | undefined;
1858
+ size?: string | undefined;
1859
+ view?: string | undefined;
1860
+ disabled?: boolean | undefined;
1861
+ stretch?: boolean | undefined;
1862
+ onDragEnter?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1863
+ onDragLeave?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1864
+ onDragOver?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1865
+ validator?: ((files: File[]) => ValidatorReturnType) | undefined;
1866
+ onDrop?: FileProcessHandler | undefined;
1867
+ onChoseFiles?: FileProcessHandler | undefined;
1868
+ } & InputHTMLAttributes_2<HTMLInputElement> & RefAttributes<HTMLInputElement>>;
1869
+
1870
+ export { dropzoneClasses }
1871
+
1872
+ export { dropzoneTokens }
1873
+
1841
1874
  // @public (undocumented)
1842
1875
  export const DsplL: FunctionComponent<PropsType< {
1843
1876
  size: {
1844
1877
  l: PolymorphicClassName;
1845
1878
  };
1846
1879
  }> & {
1847
- noWrap?: boolean | undefined;
1848
1880
  breakWord?: boolean | undefined;
1849
1881
  color?: string | undefined;
1850
1882
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1859,7 +1891,6 @@ size: {
1859
1891
  m: PolymorphicClassName;
1860
1892
  };
1861
1893
  }> & {
1862
- noWrap?: boolean | undefined;
1863
1894
  breakWord?: boolean | undefined;
1864
1895
  color?: string | undefined;
1865
1896
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1874,7 +1905,6 @@ size: {
1874
1905
  s: PolymorphicClassName;
1875
1906
  };
1876
1907
  }> & {
1877
- noWrap?: boolean | undefined;
1878
1908
  breakWord?: boolean | undefined;
1879
1909
  color?: string | undefined;
1880
1910
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1908,7 +1938,6 @@ size: {
1908
1938
  h1: PolymorphicClassName;
1909
1939
  };
1910
1940
  }> & {
1911
- noWrap?: boolean | undefined;
1912
1941
  breakWord?: boolean | undefined;
1913
1942
  color?: string | undefined;
1914
1943
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1923,7 +1952,6 @@ size: {
1923
1952
  h2: PolymorphicClassName;
1924
1953
  };
1925
1954
  }> & {
1926
- noWrap?: boolean | undefined;
1927
1955
  breakWord?: boolean | undefined;
1928
1956
  color?: string | undefined;
1929
1957
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1938,7 +1966,6 @@ size: {
1938
1966
  h3: PolymorphicClassName;
1939
1967
  };
1940
1968
  }> & {
1941
- noWrap?: boolean | undefined;
1942
1969
  breakWord?: boolean | undefined;
1943
1970
  color?: string | undefined;
1944
1971
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1953,7 +1980,6 @@ size: {
1953
1980
  h4: PolymorphicClassName;
1954
1981
  };
1955
1982
  }> & {
1956
- noWrap?: boolean | undefined;
1957
1983
  breakWord?: boolean | undefined;
1958
1984
  color?: string | undefined;
1959
1985
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1968,7 +1994,6 @@ size: {
1968
1994
  h5: PolymorphicClassName;
1969
1995
  };
1970
1996
  }> & {
1971
- noWrap?: boolean | undefined;
1972
1997
  breakWord?: boolean | undefined;
1973
1998
  color?: string | undefined;
1974
1999
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5422,7 +5447,6 @@ size: {
5422
5447
  l: PolymorphicClassName;
5423
5448
  };
5424
5449
  }> & {
5425
- noWrap?: boolean | undefined;
5426
5450
  breakWord?: boolean | undefined;
5427
5451
  color?: string | undefined;
5428
5452
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5437,7 +5461,6 @@ size: {
5437
5461
  m: PolymorphicClassName;
5438
5462
  };
5439
5463
  }> & {
5440
- noWrap?: boolean | undefined;
5441
5464
  breakWord?: boolean | undefined;
5442
5465
  color?: string | undefined;
5443
5466
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5452,7 +5475,6 @@ size: {
5452
5475
  s: PolymorphicClassName;
5453
5476
  };
5454
5477
  }> & {
5455
- noWrap?: boolean | undefined;
5456
5478
  breakWord?: boolean | undefined;
5457
5479
  color?: string | undefined;
5458
5480
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5467,7 +5489,6 @@ size: {
5467
5489
  xs: PolymorphicClassName;
5468
5490
  };
5469
5491
  }> & {
5470
- noWrap?: boolean | undefined;
5471
5492
  breakWord?: boolean | undefined;
5472
5493
  color?: string | undefined;
5473
5494
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,17 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
9
+ };
10
+ size: {
11
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ };
13
+ disabled: {
14
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
15
+ };
16
+ };
17
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2, _templateObject3;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 'm'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-solid-card);\n ", ": var(--surface-solid-card-hover);\n ", ": var(--overlay-soft);\n ", ": var(--outline-solid-secondary);\n ", ": var(--outline-solid-secondary-hover);\n ", ": var(--outline-accent);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n "])), _styledComponents.dropzoneTokens.background, _styledComponents.dropzoneTokens.backgroundHover, _styledComponents.dropzoneTokens.overlayColorActive, _styledComponents.dropzoneTokens.borderColor, _styledComponents.dropzoneTokens.borderColorHover, _styledComponents.dropzoneTokens.borderColorActive, _styledComponents.dropzoneTokens.titleColor, _styledComponents.dropzoneTokens.descriptionColor)
18
+ },
19
+ size: {
20
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-bold-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n "])), _styledComponents.dropzoneTokens.padding, _styledComponents.dropzoneTokens.borderRadius, _styledComponents.dropzoneTokens.contentGap, _styledComponents.dropzoneTokens.titleWrapperGap, _styledComponents.dropzoneTokens.titleWrapperGapColumn, _styledComponents.dropzoneTokens.titleFontFamily, _styledComponents.dropzoneTokens.titleFontSize, _styledComponents.dropzoneTokens.titleFontStyle, _styledComponents.dropzoneTokens.titleFontWeight, _styledComponents.dropzoneTokens.titleLetterSpacing, _styledComponents.dropzoneTokens.titleLineHeight, _styledComponents.dropzoneTokens.descriptionFontFamily, _styledComponents.dropzoneTokens.descriptionFontSize, _styledComponents.dropzoneTokens.descriptionFontStyle, _styledComponents.dropzoneTokens.descriptionFontWeight, _styledComponents.dropzoneTokens.descriptionLetterSpacing, _styledComponents.dropzoneTokens.descriptionLineHeight)
21
+ },
22
+ disabled: {
23
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.dropzoneTokens.disabledOpacity)
24
+ }
25
+ }
26
+ };
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ export declare const Dropzone: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
3
+ view: {
4
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
5
+ };
6
+ size: {
7
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
+ };
9
+ disabled: {
10
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
+ };
12
+ }> & {
13
+ multiple?: boolean | undefined;
14
+ title?: string | undefined;
15
+ description?: string | undefined;
16
+ icon?: import("react").ReactNode;
17
+ iconPlacement?: "top" | "left" | undefined;
18
+ size?: string | undefined;
19
+ view?: string | undefined;
20
+ disabled?: boolean | undefined;
21
+ stretch?: boolean | undefined;
22
+ onDragEnter?: ((event: import("react").DragEvent<HTMLDivElement>) => void) | undefined;
23
+ onDragLeave?: ((event: import("react").DragEvent<HTMLDivElement>) => void) | undefined;
24
+ onDragOver?: ((event: import("react").DragEvent<HTMLDivElement>) => void) | undefined;
25
+ validator?: ((files: File[]) => import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").ValidatorReturnType) | undefined;
26
+ onDrop?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler | undefined;
27
+ onChoseFiles?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler | undefined;
28
+ } & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Dropzone = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _Dropzone = /*#__PURE__*/require("./Dropzone.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.dropzoneConfig, _Dropzone.config);
10
+ var Dropzone = exports.Dropzone = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -0,0 +1,2 @@
1
+ export { Dropzone } from './Dropzone';
2
+ export { dropzoneTokens, dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Dropzone", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Dropzone.Dropzone;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "dropzoneClasses", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _styledComponents.dropzoneClasses;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "dropzoneTokens", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _styledComponents.dropzoneTokens;
22
+ }
23
+ });
24
+ var _Dropzone = /*#__PURE__*/require("./Dropzone");
25
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
@@ -4,7 +4,6 @@ export declare const BodyM: import("react").FunctionComponent<import("@salutejs/
4
4
  m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
5
5
  };
6
6
  }> & {
7
- noWrap?: boolean | undefined;
8
7
  breakWord?: boolean | undefined;
9
8
  color?: string | undefined;
10
9
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -13,7 +12,6 @@ export declare const BodyL: import("react").FunctionComponent<import("@salutejs/
13
12
  l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
13
  };
15
14
  }> & {
16
- noWrap?: boolean | undefined;
17
15
  breakWord?: boolean | undefined;
18
16
  color?: string | undefined;
19
17
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -22,7 +20,6 @@ export declare const BodyS: import("react").FunctionComponent<import("@salutejs/
22
20
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
21
  };
24
22
  }> & {
25
- noWrap?: boolean | undefined;
26
23
  breakWord?: boolean | undefined;
27
24
  color?: string | undefined;
28
25
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -31,7 +28,6 @@ export declare const BodyXS: import("react").FunctionComponent<import("@salutejs
31
28
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
32
29
  };
33
30
  }> & {
34
- noWrap?: boolean | undefined;
35
31
  breakWord?: boolean | undefined;
36
32
  color?: string | undefined;
37
33
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -40,7 +36,6 @@ export declare const BodyXXS: import("react").FunctionComponent<import("@salutej
40
36
  xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
41
37
  };
42
38
  }> & {
43
- noWrap?: boolean | undefined;
44
39
  breakWord?: boolean | undefined;
45
40
  color?: string | undefined;
46
41
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -49,7 +44,6 @@ export declare const DsplM: import("react").FunctionComponent<import("@salutejs/
49
44
  m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
50
45
  };
51
46
  }> & {
52
- noWrap?: boolean | undefined;
53
47
  breakWord?: boolean | undefined;
54
48
  color?: string | undefined;
55
49
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -58,7 +52,6 @@ export declare const DsplL: import("react").FunctionComponent<import("@salutejs/
58
52
  l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
59
53
  };
60
54
  }> & {
61
- noWrap?: boolean | undefined;
62
55
  breakWord?: boolean | undefined;
63
56
  color?: string | undefined;
64
57
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -67,7 +60,6 @@ export declare const DsplS: import("react").FunctionComponent<import("@salutejs/
67
60
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
68
61
  };
69
62
  }> & {
70
- noWrap?: boolean | undefined;
71
63
  breakWord?: boolean | undefined;
72
64
  color?: string | undefined;
73
65
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -76,7 +68,6 @@ export declare const H1: import("react").FunctionComponent<import("@salutejs/pla
76
68
  h1: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
77
69
  };
78
70
  }> & {
79
- noWrap?: boolean | undefined;
80
71
  breakWord?: boolean | undefined;
81
72
  color?: string | undefined;
82
73
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -85,7 +76,6 @@ export declare const H2: import("react").FunctionComponent<import("@salutejs/pla
85
76
  h2: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
86
77
  };
87
78
  }> & {
88
- noWrap?: boolean | undefined;
89
79
  breakWord?: boolean | undefined;
90
80
  color?: string | undefined;
91
81
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -94,7 +84,6 @@ export declare const H3: import("react").FunctionComponent<import("@salutejs/pla
94
84
  h3: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
95
85
  };
96
86
  }> & {
97
- noWrap?: boolean | undefined;
98
87
  breakWord?: boolean | undefined;
99
88
  color?: string | undefined;
100
89
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -103,7 +92,6 @@ export declare const H4: import("react").FunctionComponent<import("@salutejs/pla
103
92
  h4: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
104
93
  };
105
94
  }> & {
106
- noWrap?: boolean | undefined;
107
95
  breakWord?: boolean | undefined;
108
96
  color?: string | undefined;
109
97
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -112,7 +100,6 @@ export declare const H5: import("react").FunctionComponent<import("@salutejs/pla
112
100
  h5: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
113
101
  };
114
102
  }> & {
115
- noWrap?: boolean | undefined;
116
103
  breakWord?: boolean | undefined;
117
104
  color?: string | undefined;
118
105
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -121,7 +108,6 @@ export declare const TextM: import("react").FunctionComponent<import("@salutejs/
121
108
  m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
122
109
  };
123
110
  }> & {
124
- noWrap?: boolean | undefined;
125
111
  breakWord?: boolean | undefined;
126
112
  color?: string | undefined;
127
113
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -130,7 +116,6 @@ export declare const TextL: import("react").FunctionComponent<import("@salutejs/
130
116
  l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
131
117
  };
132
118
  }> & {
133
- noWrap?: boolean | undefined;
134
119
  breakWord?: boolean | undefined;
135
120
  color?: string | undefined;
136
121
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -139,7 +124,6 @@ export declare const TextS: import("react").FunctionComponent<import("@salutejs/
139
124
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
140
125
  };
141
126
  }> & {
142
- noWrap?: boolean | undefined;
143
127
  breakWord?: boolean | undefined;
144
128
  color?: string | undefined;
145
129
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -148,7 +132,6 @@ export declare const TextXS: import("react").FunctionComponent<import("@salutejs
148
132
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
149
133
  };
150
134
  }> & {
151
- noWrap?: boolean | undefined;
152
135
  breakWord?: boolean | undefined;
153
136
  color?: string | undefined;
154
137
  } & import("@salutejs/plasma-new-hope/styled-components").SpacingProps & import("@salutejs/plasma-new-hope/types/components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,20 @@
1
+ var _templateObject, _templateObject2, _templateObject3;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import { css, dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
4
+ export var config = {
5
+ defaults: {
6
+ view: 'default',
7
+ size: 'm'
8
+ },
9
+ variations: {
10
+ view: {
11
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-solid-card);\n ", ": var(--surface-solid-card-hover);\n ", ": var(--overlay-soft);\n ", ": var(--outline-solid-secondary);\n ", ": var(--outline-solid-secondary-hover);\n ", ": var(--outline-accent);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n "])), dropzoneTokens.background, dropzoneTokens.backgroundHover, dropzoneTokens.overlayColorActive, dropzoneTokens.borderColor, dropzoneTokens.borderColorHover, dropzoneTokens.borderColorActive, dropzoneTokens.titleColor, dropzoneTokens.descriptionColor)
12
+ },
13
+ size: {
14
+ m: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-bold-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n "])), dropzoneTokens.padding, dropzoneTokens.borderRadius, dropzoneTokens.contentGap, dropzoneTokens.titleWrapperGap, dropzoneTokens.titleWrapperGapColumn, dropzoneTokens.titleFontFamily, dropzoneTokens.titleFontSize, dropzoneTokens.titleFontStyle, dropzoneTokens.titleFontWeight, dropzoneTokens.titleLetterSpacing, dropzoneTokens.titleLineHeight, dropzoneTokens.descriptionFontFamily, dropzoneTokens.descriptionFontSize, dropzoneTokens.descriptionFontStyle, dropzoneTokens.descriptionFontWeight, dropzoneTokens.descriptionLetterSpacing, dropzoneTokens.descriptionLineHeight)
15
+ },
16
+ disabled: {
17
+ "true": /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), dropzoneTokens.disabledOpacity)
18
+ }
19
+ }
20
+ };
@@ -0,0 +1,4 @@
1
+ import { dropzoneConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './Dropzone.config';
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(dropzoneConfig, config);
4
+ export var Dropzone = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,2 @@
1
+ export { Dropzone } from './Dropzone';
2
+ export { dropzoneTokens, dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
package/es/index.js CHANGED
@@ -52,5 +52,6 @@ export * from './components/EmptyState';
52
52
  export * from './components/Attach';
53
53
  export * from './components/ViewContainer';
54
54
  export * from './components/NumberInput';
55
+ export * from './components/Dropzone';
55
56
  export * from './mixins';
56
57
  export * from './tokens';
package/index.d.ts CHANGED
@@ -52,5 +52,6 @@ export * from './components/EmptyState';
52
52
  export * from './components/Attach';
53
53
  export * from './components/ViewContainer';
54
54
  export * from './components/NumberInput';
55
+ export * from './components/Dropzone';
55
56
  export * from './mixins';
56
57
  export * from './tokens';
package/index.js CHANGED
@@ -597,6 +597,17 @@ Object.keys(_NumberInput).forEach(function (key) {
597
597
  }
598
598
  });
599
599
  });
600
+ var _Dropzone = /*#__PURE__*/require("./components/Dropzone");
601
+ Object.keys(_Dropzone).forEach(function (key) {
602
+ if (key === "default" || key === "__esModule") return;
603
+ if (key in exports && exports[key] === _Dropzone[key]) return;
604
+ Object.defineProperty(exports, key, {
605
+ enumerable: true,
606
+ get: function get() {
607
+ return _Dropzone[key];
608
+ }
609
+ });
610
+ });
600
611
  var _mixins = /*#__PURE__*/require("./mixins");
601
612
  Object.keys(_mixins).forEach(function (key) {
602
613
  if (key === "default" || key === "__esModule") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-dfa",
3
- "version": "0.179.0-canary.1588.11975454374.0",
3
+ "version": "0.180.0-canary.1534.12008935759.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS DFA web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "directory": "packages/sdds-dfa"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.198.0-canary.1588.11975454374.0",
22
+ "@salutejs/plasma-new-hope": "0.199.0-canary.1534.12008935759.0",
23
23
  "@salutejs/sdds-themes": "0.27.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -37,10 +37,10 @@
37
37
  "@babel/preset-typescript": "7.24.1",
38
38
  "@microsoft/api-extractor": "7.38.3",
39
39
  "@salutejs/plasma-colors": "0.13.0",
40
- "@salutejs/plasma-core": "1.186.0",
41
- "@salutejs/plasma-cy-utils": "0.117.0",
40
+ "@salutejs/plasma-core": "1.187.0-canary.1534.12008935759.0",
41
+ "@salutejs/plasma-cy-utils": "0.118.0-canary.1534.12008935759.0",
42
42
  "@salutejs/plasma-icons": "1.209.0-dev.0",
43
- "@salutejs/plasma-sb-utils": "0.184.0",
43
+ "@salutejs/plasma-sb-utils": "0.185.0-canary.1534.12008935759.0",
44
44
  "@storybook/addon-docs": "7.6.17",
45
45
  "@storybook/addon-essentials": "7.6.17",
46
46
  "@storybook/addons": "7.6.17",
@@ -95,5 +95,5 @@
95
95
  "Anton Vinogradov"
96
96
  ],
97
97
  "sideEffects": false,
98
- "gitHead": "0772da1d6df20a8b9b664db5f9427952bf207188"
98
+ "gitHead": "c5b7b16381ac4434a5b9919b53640d6ccaf85ccb"
99
99
  }
@@ -84,6 +84,7 @@ import type { DistributivePick } from '@salutejs/plasma-new-hope';
84
84
  import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
85
85
  import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
86
86
  import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
87
+ import { DragEvent as DragEvent_2 } from 'react';
87
88
  import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components';
88
89
  import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
89
90
  import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -93,6 +94,8 @@ import type { DropdownNewProps } from '@salutejs/plasma-new-hope';
93
94
  import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
94
95
  import { DropdownPlacement } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
95
96
  import { DropdownTrigger } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
97
+ import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
98
+ import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
96
99
  import { dsplL } from '@salutejs/sdds-themes/tokens';
97
100
  import { dsplLBold } from '@salutejs/sdds-themes/tokens';
98
101
  import { dsplM } from '@salutejs/sdds-themes/tokens';
@@ -100,6 +103,7 @@ import { dsplMBold } from '@salutejs/sdds-themes/tokens';
100
103
  import { dsplS } from '@salutejs/sdds-themes/tokens';
101
104
  import { dsplSBold } from '@salutejs/sdds-themes/tokens';
102
105
  import type { FC } from 'react';
106
+ import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
103
107
  import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
104
108
  import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
105
109
  import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
@@ -218,6 +222,7 @@ import { TooltipProps } from '@salutejs/plasma-new-hope/styled-components';
218
222
  import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
219
223
  import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
220
224
  import { useToast } from '@salutejs/plasma-new-hope/styled-components';
225
+ import { ValidatorReturnType } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
221
226
  import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
222
227
  import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
223
228
 
@@ -1198,7 +1203,6 @@ size: {
1198
1203
  l: PolymorphicClassName;
1199
1204
  };
1200
1205
  }> & {
1201
- noWrap?: boolean | undefined;
1202
1206
  breakWord?: boolean | undefined;
1203
1207
  color?: string | undefined;
1204
1208
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1213,7 +1217,6 @@ size: {
1213
1217
  m: PolymorphicClassName;
1214
1218
  };
1215
1219
  }> & {
1216
- noWrap?: boolean | undefined;
1217
1220
  breakWord?: boolean | undefined;
1218
1221
  color?: string | undefined;
1219
1222
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1228,7 +1231,6 @@ size: {
1228
1231
  s: PolymorphicClassName;
1229
1232
  };
1230
1233
  }> & {
1231
- noWrap?: boolean | undefined;
1232
1234
  breakWord?: boolean | undefined;
1233
1235
  color?: string | undefined;
1234
1236
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1243,7 +1245,6 @@ size: {
1243
1245
  xs: PolymorphicClassName;
1244
1246
  };
1245
1247
  }> & {
1246
- noWrap?: boolean | undefined;
1247
1248
  breakWord?: boolean | undefined;
1248
1249
  color?: string | undefined;
1249
1250
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1258,7 +1259,6 @@ size: {
1258
1259
  xxs: PolymorphicClassName;
1259
1260
  };
1260
1261
  }> & {
1261
- noWrap?: boolean | undefined;
1262
1262
  breakWord?: boolean | undefined;
1263
1263
  color?: string | undefined;
1264
1264
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1838,13 +1838,45 @@ default: PolymorphicClassName;
1838
1838
  hoverIndex?: number | undefined;
1839
1839
  } & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "view" | "size"> & React_2.RefAttributes<HTMLButtonElement>) => React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | null;
1840
1840
 
1841
+ // @public (undocumented)
1842
+ export const Dropzone: FunctionComponent<PropsType< {
1843
+ view: {
1844
+ default: PolymorphicClassName;
1845
+ };
1846
+ size: {
1847
+ m: PolymorphicClassName;
1848
+ };
1849
+ disabled: {
1850
+ true: PolymorphicClassName;
1851
+ };
1852
+ }> & {
1853
+ multiple?: boolean | undefined;
1854
+ title?: string | undefined;
1855
+ description?: string | undefined;
1856
+ icon?: ReactNode;
1857
+ iconPlacement?: "top" | "left" | undefined;
1858
+ size?: string | undefined;
1859
+ view?: string | undefined;
1860
+ disabled?: boolean | undefined;
1861
+ stretch?: boolean | undefined;
1862
+ onDragEnter?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1863
+ onDragLeave?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1864
+ onDragOver?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
1865
+ validator?: ((files: File[]) => ValidatorReturnType) | undefined;
1866
+ onDrop?: FileProcessHandler | undefined;
1867
+ onChoseFiles?: FileProcessHandler | undefined;
1868
+ } & InputHTMLAttributes_2<HTMLInputElement> & RefAttributes<HTMLInputElement>>;
1869
+
1870
+ export { dropzoneClasses }
1871
+
1872
+ export { dropzoneTokens }
1873
+
1841
1874
  // @public (undocumented)
1842
1875
  export const DsplL: FunctionComponent<PropsType< {
1843
1876
  size: {
1844
1877
  l: PolymorphicClassName;
1845
1878
  };
1846
1879
  }> & {
1847
- noWrap?: boolean | undefined;
1848
1880
  breakWord?: boolean | undefined;
1849
1881
  color?: string | undefined;
1850
1882
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1859,7 +1891,6 @@ size: {
1859
1891
  m: PolymorphicClassName;
1860
1892
  };
1861
1893
  }> & {
1862
- noWrap?: boolean | undefined;
1863
1894
  breakWord?: boolean | undefined;
1864
1895
  color?: string | undefined;
1865
1896
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1874,7 +1905,6 @@ size: {
1874
1905
  s: PolymorphicClassName;
1875
1906
  };
1876
1907
  }> & {
1877
- noWrap?: boolean | undefined;
1878
1908
  breakWord?: boolean | undefined;
1879
1909
  color?: string | undefined;
1880
1910
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1908,7 +1938,6 @@ size: {
1908
1938
  h1: PolymorphicClassName;
1909
1939
  };
1910
1940
  }> & {
1911
- noWrap?: boolean | undefined;
1912
1941
  breakWord?: boolean | undefined;
1913
1942
  color?: string | undefined;
1914
1943
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1923,7 +1952,6 @@ size: {
1923
1952
  h2: PolymorphicClassName;
1924
1953
  };
1925
1954
  }> & {
1926
- noWrap?: boolean | undefined;
1927
1955
  breakWord?: boolean | undefined;
1928
1956
  color?: string | undefined;
1929
1957
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1938,7 +1966,6 @@ size: {
1938
1966
  h3: PolymorphicClassName;
1939
1967
  };
1940
1968
  }> & {
1941
- noWrap?: boolean | undefined;
1942
1969
  breakWord?: boolean | undefined;
1943
1970
  color?: string | undefined;
1944
1971
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1953,7 +1980,6 @@ size: {
1953
1980
  h4: PolymorphicClassName;
1954
1981
  };
1955
1982
  }> & {
1956
- noWrap?: boolean | undefined;
1957
1983
  breakWord?: boolean | undefined;
1958
1984
  color?: string | undefined;
1959
1985
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -1968,7 +1994,6 @@ size: {
1968
1994
  h5: PolymorphicClassName;
1969
1995
  };
1970
1996
  }> & {
1971
- noWrap?: boolean | undefined;
1972
1997
  breakWord?: boolean | undefined;
1973
1998
  color?: string | undefined;
1974
1999
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5422,7 +5447,6 @@ size: {
5422
5447
  l: PolymorphicClassName;
5423
5448
  };
5424
5449
  }> & {
5425
- noWrap?: boolean | undefined;
5426
5450
  breakWord?: boolean | undefined;
5427
5451
  color?: string | undefined;
5428
5452
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5437,7 +5461,6 @@ size: {
5437
5461
  m: PolymorphicClassName;
5438
5462
  };
5439
5463
  }> & {
5440
- noWrap?: boolean | undefined;
5441
5464
  breakWord?: boolean | undefined;
5442
5465
  color?: string | undefined;
5443
5466
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5452,7 +5475,6 @@ size: {
5452
5475
  s: PolymorphicClassName;
5453
5476
  };
5454
5477
  }> & {
5455
- noWrap?: boolean | undefined;
5456
5478
  breakWord?: boolean | undefined;
5457
5479
  color?: string | undefined;
5458
5480
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
@@ -5467,7 +5489,6 @@ size: {
5467
5489
  xs: PolymorphicClassName;
5468
5490
  };
5469
5491
  }> & {
5470
- noWrap?: boolean | undefined;
5471
5492
  breakWord?: boolean | undefined;
5472
5493
  color?: string | undefined;
5473
5494
  } & SpacingProps & BoldProps & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;