@salutejs/sdds-finportal 0.169.0-canary.1534.11911237435.0 → 0.169.0-canary.1570.11912142107.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +0 -38
- package/es/index.js +0 -1
- package/index.d.ts +0 -1
- package/index.js +0 -11
- package/package.json +6 -6
- package/temp/sdds-finportal.api.md +0 -38
- package/components/Dropzone/Dropzone.config.d.ts +0 -17
- package/components/Dropzone/Dropzone.config.js +0 -26
- package/components/Dropzone/Dropzone.d.ts +0 -28
- package/components/Dropzone/Dropzone.js +0 -10
- package/components/Dropzone/index.d.ts +0 -2
- package/components/Dropzone/index.js +0 -25
- package/es/components/Dropzone/Dropzone.config.js +0 -20
- package/es/components/Dropzone/Dropzone.js +0 -4
- package/es/components/Dropzone/index.js +0 -2
@@ -88,15 +88,12 @@ import type { DistributivePick } from '@salutejs/plasma-new-hope';
|
|
88
88
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
89
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
|
-
import { DragEvent as DragEvent_2 } from 'react';
|
92
91
|
import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
92
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
94
93
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
94
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
97
96
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
98
|
-
import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
|
99
|
-
import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
|
100
97
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
101
98
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
102
99
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -104,7 +101,6 @@ import { dsplMBold } from '@salutejs/sdds-themes/tokens';
|
|
104
101
|
import { dsplS } from '@salutejs/sdds-themes/tokens';
|
105
102
|
import { dsplSBold } from '@salutejs/sdds-themes/tokens';
|
106
103
|
import { FC } from 'react';
|
107
|
-
import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
|
108
104
|
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
109
105
|
import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
|
110
106
|
import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
|
@@ -232,7 +228,6 @@ import { TooltipProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
232
228
|
import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
233
229
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
234
230
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
235
|
-
import { ValidatorReturnType } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
|
236
231
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
237
232
|
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
238
233
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -1256,39 +1251,6 @@ default: PolymorphicClassName;
|
|
1256
1251
|
};
|
1257
1252
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1258
1253
|
|
1259
|
-
// @public (undocumented)
|
1260
|
-
export const Dropzone: FunctionComponent<PropsType< {
|
1261
|
-
view: {
|
1262
|
-
default: PolymorphicClassName;
|
1263
|
-
};
|
1264
|
-
size: {
|
1265
|
-
m: PolymorphicClassName;
|
1266
|
-
};
|
1267
|
-
disabled: {
|
1268
|
-
true: PolymorphicClassName;
|
1269
|
-
};
|
1270
|
-
}> & {
|
1271
|
-
multiple?: boolean | undefined;
|
1272
|
-
title?: string | undefined;
|
1273
|
-
description?: ReactNode;
|
1274
|
-
icon?: ReactNode;
|
1275
|
-
iconPlacement?: "top" | "left" | undefined;
|
1276
|
-
size?: string | undefined;
|
1277
|
-
view?: string | undefined;
|
1278
|
-
disabled?: boolean | undefined;
|
1279
|
-
stretch?: boolean | undefined;
|
1280
|
-
onDragEnter?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1281
|
-
onDragLeave?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1282
|
-
onDragOver?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1283
|
-
validator?: ((files: File[]) => ValidatorReturnType) | undefined;
|
1284
|
-
onDrop?: FileProcessHandler | undefined;
|
1285
|
-
onChoseFiles?: FileProcessHandler | undefined;
|
1286
|
-
} & InputHTMLAttributes_2<HTMLInputElement> & RefAttributes<HTMLInputElement>>;
|
1287
|
-
|
1288
|
-
export { dropzoneClasses }
|
1289
|
-
|
1290
|
-
export { dropzoneTokens }
|
1291
|
-
|
1292
1254
|
// @public (undocumented)
|
1293
1255
|
export const DsplL: FunctionComponent<PropsType< {
|
1294
1256
|
size: {
|
package/es/index.js
CHANGED
@@ -56,6 +56,5 @@ export * from './components/EmptyState';
|
|
56
56
|
export * from './components/Attach';
|
57
57
|
export * from './components/ViewContainer';
|
58
58
|
export * from './components/NumberInput';
|
59
|
-
export * from './components/Dropzone';
|
60
59
|
export * from './mixins';
|
61
60
|
export * from './tokens';
|
package/index.d.ts
CHANGED
@@ -56,6 +56,5 @@ export * from './components/EmptyState';
|
|
56
56
|
export * from './components/Attach';
|
57
57
|
export * from './components/ViewContainer';
|
58
58
|
export * from './components/NumberInput';
|
59
|
-
export * from './components/Dropzone';
|
60
59
|
export * from './mixins';
|
61
60
|
export * from './tokens';
|
package/index.js
CHANGED
@@ -641,17 +641,6 @@ Object.keys(_NumberInput).forEach(function (key) {
|
|
641
641
|
}
|
642
642
|
});
|
643
643
|
});
|
644
|
-
var _Dropzone = /*#__PURE__*/require("./components/Dropzone");
|
645
|
-
Object.keys(_Dropzone).forEach(function (key) {
|
646
|
-
if (key === "default" || key === "__esModule") return;
|
647
|
-
if (key in exports && exports[key] === _Dropzone[key]) return;
|
648
|
-
Object.defineProperty(exports, key, {
|
649
|
-
enumerable: true,
|
650
|
-
get: function get() {
|
651
|
-
return _Dropzone[key];
|
652
|
-
}
|
653
|
-
});
|
654
|
-
});
|
655
644
|
var _mixins = /*#__PURE__*/require("./mixins");
|
656
645
|
Object.keys(_mixins).forEach(function (key) {
|
657
646
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.169.0-canary.
|
3
|
+
"version": "0.169.0-canary.1570.11912142107.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal 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-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.195.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.195.0-canary.1570.11912142107.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.
|
41
|
-
"@salutejs/plasma-cy-utils": "0.
|
40
|
+
"@salutejs/plasma-core": "1.187.0-canary.1570.11912142107.0",
|
41
|
+
"@salutejs/plasma-cy-utils": "0.118.0-canary.1570.11912142107.0",
|
42
42
|
"@salutejs/plasma-icons": "1.208.0",
|
43
|
-
"@salutejs/plasma-sb-utils": "0.
|
43
|
+
"@salutejs/plasma-sb-utils": "0.185.0-canary.1570.11912142107.0",
|
44
44
|
"@storybook/addon-docs": "7.6.17",
|
45
45
|
"@storybook/addon-essentials": "7.6.17",
|
46
46
|
"@storybook/addons": "7.6.17",
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "88bbcf42c88f2351707a2724ad6b372d1cdfbb05"
|
98
98
|
}
|
@@ -88,15 +88,12 @@ import type { DistributivePick } from '@salutejs/plasma-new-hope';
|
|
88
88
|
import { DividerProps } from '@salutejs/plasma-new-hope/styled-components';
|
89
89
|
import { dividerTokens } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DoubleSliderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
|
-
import { DragEvent as DragEvent_2 } from 'react';
|
92
91
|
import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components';
|
93
92
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
94
93
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
95
94
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
96
95
|
import { DropdownNodeSelect } from '@salutejs/plasma-new-hope/styled-components';
|
97
96
|
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
98
|
-
import { dropzoneClasses } from '@salutejs/plasma-new-hope/styled-components';
|
99
|
-
import { dropzoneTokens } from '@salutejs/plasma-new-hope/styled-components';
|
100
97
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
101
98
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
102
99
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -104,7 +101,6 @@ import { dsplMBold } from '@salutejs/sdds-themes/tokens';
|
|
104
101
|
import { dsplS } from '@salutejs/sdds-themes/tokens';
|
105
102
|
import { dsplSBold } from '@salutejs/sdds-themes/tokens';
|
106
103
|
import { FC } from 'react';
|
107
|
-
import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
|
108
104
|
import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
|
109
105
|
import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
|
110
106
|
import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
|
@@ -232,7 +228,6 @@ import { TooltipProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
232
228
|
import { usePopupContext } from '@salutejs/plasma-new-hope/styled-components';
|
233
229
|
import { useSegment } from '@salutejs/plasma-new-hope/styled-components';
|
234
230
|
import { useToast } from '@salutejs/plasma-new-hope/styled-components';
|
235
|
-
import { ValidatorReturnType } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
|
236
231
|
import { Variants } from '@salutejs/plasma-new-hope/types/engines/types';
|
237
232
|
import { ViewContainerCustomProps } from '@salutejs/plasma-new-hope/types/components/ViewContainer/ViewContainer';
|
238
233
|
import { withSkeleton } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -1256,39 +1251,6 @@ default: PolymorphicClassName;
|
|
1256
1251
|
};
|
1257
1252
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1258
1253
|
|
1259
|
-
// @public (undocumented)
|
1260
|
-
export const Dropzone: FunctionComponent<PropsType< {
|
1261
|
-
view: {
|
1262
|
-
default: PolymorphicClassName;
|
1263
|
-
};
|
1264
|
-
size: {
|
1265
|
-
m: PolymorphicClassName;
|
1266
|
-
};
|
1267
|
-
disabled: {
|
1268
|
-
true: PolymorphicClassName;
|
1269
|
-
};
|
1270
|
-
}> & {
|
1271
|
-
multiple?: boolean | undefined;
|
1272
|
-
title?: string | undefined;
|
1273
|
-
description?: ReactNode;
|
1274
|
-
icon?: ReactNode;
|
1275
|
-
iconPlacement?: "top" | "left" | undefined;
|
1276
|
-
size?: string | undefined;
|
1277
|
-
view?: string | undefined;
|
1278
|
-
disabled?: boolean | undefined;
|
1279
|
-
stretch?: boolean | undefined;
|
1280
|
-
onDragEnter?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1281
|
-
onDragLeave?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1282
|
-
onDragOver?: ((event: DragEvent_2<HTMLDivElement>) => void) | undefined;
|
1283
|
-
validator?: ((files: File[]) => ValidatorReturnType) | undefined;
|
1284
|
-
onDrop?: FileProcessHandler | undefined;
|
1285
|
-
onChoseFiles?: FileProcessHandler | undefined;
|
1286
|
-
} & InputHTMLAttributes_2<HTMLInputElement> & RefAttributes<HTMLInputElement>>;
|
1287
|
-
|
1288
|
-
export { dropzoneClasses }
|
1289
|
-
|
1290
|
-
export { dropzoneTokens }
|
1291
|
-
|
1292
1254
|
// @public (undocumented)
|
1293
1255
|
export const DsplL: FunctionComponent<PropsType< {
|
1294
1256
|
size: {
|
@@ -1,17 +0,0 @@
|
|
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
|
-
};
|
@@ -1,26 +0,0 @@
|
|
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 ", ": 0.063rem dashed 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.border, _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
|
-
};
|
@@ -1,28 +0,0 @@
|
|
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?: import("react").ReactNode;
|
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>>;
|
@@ -1,10 +0,0 @@
|
|
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);
|
@@ -1,25 +0,0 @@
|
|
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");
|
@@ -1,20 +0,0 @@
|
|
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 ", ": 0.063rem dashed 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.border, 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
|
-
};
|
@@ -1,4 +0,0 @@
|
|
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);
|