@salutejs/plasma-web 1.401.0-canary.1418.10942866373.0 → 1.401.0-canary.1437.10948458812.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +225 -195
- package/components/Attach/Attach.config.d.ts +27 -0
- package/components/Attach/Attach.config.js +36 -0
- package/components/Attach/Attach.d.ts +224 -0
- package/components/Attach/Attach.js +14 -0
- package/components/Attach/index.d.ts +1 -0
- package/components/{Mask → Attach}/index.js +3 -3
- package/components/Cell/Cell.d.ts +2 -2
- package/components/TextField/TextField.d.ts +5 -11
- package/components/TextField/TextField.js +2 -2
- package/css/cjs/components/Attach/Attach.config.js +35 -0
- package/css/cjs/components/Attach/Attach.config.js.map +1 -0
- package/css/cjs/components/Attach/Attach.config_1abu8vf.css +14 -0
- package/css/cjs/components/Attach/Attach.css +14 -0
- package/css/cjs/components/Attach/Attach.js +16 -0
- package/css/cjs/components/Attach/Attach.js.map +1 -0
- package/css/cjs/components/TextField/TextField.js +0 -1
- package/css/cjs/components/TextField/TextField.js.map +1 -1
- package/css/cjs/index.css +15 -0
- package/css/cjs/index.js +2 -2
- package/css/es/components/Attach/Attach.config.js +31 -0
- package/css/es/components/Attach/Attach.config.js.map +1 -0
- package/css/es/components/Attach/Attach.config_1abu8vf.css +14 -0
- package/css/es/components/Attach/Attach.css +14 -0
- package/css/es/components/Attach/Attach.js +12 -0
- package/css/es/components/Attach/Attach.js.map +1 -0
- package/css/es/components/TextField/TextField.js +1 -1
- package/css/es/components/TextField/TextField.js.map +1 -1
- package/css/es/index.css +15 -0
- package/css/es/index.js +1 -1
- package/css/index.d.ts +2 -2
- package/es/components/Attach/Attach.config.js +30 -0
- package/es/components/Attach/Attach.js +8 -0
- package/es/components/Attach/index.js +1 -0
- package/es/components/TextField/TextField.js +1 -1
- package/es/index.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/package.json +3 -3
- package/temp/plasma-web.api.md +225 -195
- package/components/Mask/Mask.d.ts +0 -190
- package/components/Mask/Mask.js +0 -9
- package/components/Mask/index.d.ts +0 -1
- package/css/cjs/components/Mask/Mask.js +0 -11
- package/css/cjs/components/Mask/Mask.js.map +0 -1
- package/css/es/components/Mask/Mask.js +0 -7
- package/css/es/components/Mask/Mask.js.map +0 -1
- package/es/components/Mask/Mask.js +0 -3
- package/es/components/Mask/index.js +0 -1
- /package/css/cjs/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
- /package/css/es/components/{Mask/Mask.css → TextField/TextField.css} +0 -0
@@ -0,0 +1,36 @@
|
|
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, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
|
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
|
+
focused: 'true',
|
14
|
+
size: 'm'
|
15
|
+
},
|
16
|
+
variations: {
|
17
|
+
view: {
|
18
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-secondary);\n ", ": var(--surface-solid-default);\n ", ": var(", ");\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(", ");\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
19
|
+
accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-accent);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
20
|
+
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(", ");\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(", ");\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
21
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
22
|
+
success: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-positive);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive-active);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-positive-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
23
|
+
warning: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-warning);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-warning-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
24
|
+
critical: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--surface-negative);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative-active);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-negative-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
25
|
+
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-light-surface-transparent-deep);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-transparent-deep-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
26
|
+
black: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-light-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-light-surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor),
|
27
|
+
white: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default-hover);\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": transparent;\n\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(", ");\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default-hover);\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default-active);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n ", ": var(", ");\n ", ": var(--text-primary-hover);\n ", ": var(--surface-clear);\n ", ": var(--text-primary-active);\n ", ": var(--surface-clear);\n\n ", ": 0.4;\n ", ": var(--surface-accent);\n "])), _styledComponents.attachTokens.buttonColor, _styledComponents.attachTokens.buttonValueColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonLoadingBackgroundColor, _styledComponents.attachTokens.buttonBackgroundColor, _styledComponents.attachTokens.buttonColorHover, _styledComponents.attachTokens.buttonBackgroundColorHover, _styledComponents.attachTokens.buttonColorActive, _styledComponents.attachTokens.buttonBackgroundColorActive, _styledComponents.attachTokens.buttonDisabledOpacity, _styledComponents.attachTokens.buttonFocusColor, _styledComponents.attachTokens.cellColor, _styledComponents.attachTokens.cellLabelColor, _styledComponents.attachTokens.cellTitleColor, _styledComponents.attachTokens.cellSubtitleColor, _styledComponents.attachTokens.cellBackgroundColor, _styledComponents.attachTokens.iconButtonColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonBackgroundColor, _styledComponents.attachTokens.iconButtonColorHover, _styledComponents.attachTokens.iconButtonBackgroundColorHover, _styledComponents.attachTokens.iconButtonColorActive, _styledComponents.attachTokens.iconButtonBackgroundColorActive, _styledComponents.attachTokens.iconButtonDisabledOpacity, _styledComponents.attachTokens.iconButtonFocusColor, _styledComponents.attachTokens.iconButtonCancelColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelLoadingBackgroundColor, _styledComponents.attachTokens.iconButtonCancelBackgroundColor, _styledComponents.attachTokens.iconButtonCancelColorHover, _styledComponents.attachTokens.iconButtonCancelBackgroundColorHover, _styledComponents.attachTokens.iconButtonCancelColorActive, _styledComponents.attachTokens.iconButtonCancelBackgroundColorActive, _styledComponents.attachTokens.iconButtonCancelDisabledOpacity, _styledComponents.attachTokens.iconButtonCancelFocusColor)
|
28
|
+
},
|
29
|
+
size: {
|
30
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.5rem;\n\n ", ": 3.5rem;\n ", ": 12.5rem;\n ", ": 1.5rem;\n ", ": 0.875rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.5rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.5rem;\n ", ": 0 0 0 0.25rem;\n\n ", ": fit-content;\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 3.5rem;\n ", ": 3.5rem;\n ", ": 1.5rem;\n ", ": 0.875rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n "])), _styledComponents.attachTokens.horizontalGap, _styledComponents.attachTokens.verticalGap, _styledComponents.attachTokens.buttonHeight, _styledComponents.attachTokens.buttonWidth, _styledComponents.attachTokens.buttonPadding, _styledComponents.attachTokens.buttonRadius, _styledComponents.attachTokens.buttonFontFamily, _styledComponents.attachTokens.buttonFontSize, _styledComponents.attachTokens.buttonFontStyle, _styledComponents.attachTokens.buttonFontWeight, _styledComponents.attachTokens.buttonLetterSpacing, _styledComponents.attachTokens.buttonLineHeight, _styledComponents.attachTokens.buttonSpinnerSize, _styledComponents.attachTokens.buttonSpinnerColor, _styledComponents.attachTokens.buttonLeftContentMargin, _styledComponents.attachTokens.buttonRightContentMargin, _styledComponents.attachTokens.buttonValueMargin, _styledComponents.attachTokens.cellWidth, _styledComponents.attachTokens.cellPadding, _styledComponents.attachTokens.cellPaddingLeftContent, _styledComponents.attachTokens.cellPaddingContent, _styledComponents.attachTokens.cellPaddingRightContent, _styledComponents.attachTokens.cellTextboxGap, _styledComponents.attachTokens.cellGap, _styledComponents.attachTokens.cellLabelFontFamily, _styledComponents.attachTokens.cellLabelFontSize, _styledComponents.attachTokens.cellLabelFontStyle, _styledComponents.attachTokens.cellLabelFontWeight, _styledComponents.attachTokens.cellLabelLetterSpacing, _styledComponents.attachTokens.cellLabelLineHeight, _styledComponents.attachTokens.cellTitleFontFamily, _styledComponents.attachTokens.cellTitleFontSize, _styledComponents.attachTokens.cellTitleFontStyle, _styledComponents.attachTokens.cellTitleFontWeight, _styledComponents.attachTokens.cellTitleLetterSpacing, _styledComponents.attachTokens.cellTitleLineHeight, _styledComponents.attachTokens.cellSubtitleFontFamily, _styledComponents.attachTokens.cellSubtitleFontSize, _styledComponents.attachTokens.cellSubtitleFontStyle, _styledComponents.attachTokens.cellSubtitleFontWeight, _styledComponents.attachTokens.cellSubtitleLetterSpacing, _styledComponents.attachTokens.cellSubtitleLineHeight, _styledComponents.attachTokens.iconButtonHeight, _styledComponents.attachTokens.iconButtonWidth, _styledComponents.attachTokens.iconButtonPadding, _styledComponents.attachTokens.iconButtonRadius, _styledComponents.attachTokens.iconButtonFontFamily, _styledComponents.attachTokens.iconButtonFontSize, _styledComponents.attachTokens.iconButtonFontStyle, _styledComponents.attachTokens.iconButtonFontWeight, _styledComponents.attachTokens.iconButtonLetterSpacing, _styledComponents.attachTokens.iconButtonLineHeight, _styledComponents.attachTokens.iconButtonSpinnerSize, _styledComponents.attachTokens.iconButtonSpinnerColor, _styledComponents.attachTokens.iconButtonCancelHeight, _styledComponents.attachTokens.iconButtonCancelWidth, _styledComponents.attachTokens.iconButtonCancelPadding, _styledComponents.attachTokens.iconButtonCancelRadius, _styledComponents.attachTokens.iconButtonCancelFontFamily, _styledComponents.attachTokens.iconButtonCancelFontSize, _styledComponents.attachTokens.iconButtonCancelFontStyle, _styledComponents.attachTokens.iconButtonCancelFontWeight, _styledComponents.attachTokens.iconButtonCancelLetterSpacing, _styledComponents.attachTokens.iconButtonCancelLineHeight, _styledComponents.attachTokens.iconButtonCancelSpinnerSize, _styledComponents.attachTokens.iconButtonCancelSpinnerColor),
|
31
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.25rem;\n ", ": 0.5rem;\n\n ", ": 3rem;\n ", ": 11.25rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.375rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.375rem;\n ", ": 0 0 0 0.25rem;\n\n ", ": fit-content;\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.375rem;\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\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-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\n ", ": 3rem;\n ", ": 3rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n "])), _styledComponents.attachTokens.horizontalGap, _styledComponents.attachTokens.verticalGap, _styledComponents.attachTokens.buttonHeight, _styledComponents.attachTokens.buttonWidth, _styledComponents.attachTokens.buttonPadding, _styledComponents.attachTokens.buttonRadius, _styledComponents.attachTokens.buttonFontFamily, _styledComponents.attachTokens.buttonFontSize, _styledComponents.attachTokens.buttonFontStyle, _styledComponents.attachTokens.buttonFontWeight, _styledComponents.attachTokens.buttonLetterSpacing, _styledComponents.attachTokens.buttonLineHeight, _styledComponents.attachTokens.buttonSpinnerSize, _styledComponents.attachTokens.buttonSpinnerColor, _styledComponents.attachTokens.buttonLeftContentMargin, _styledComponents.attachTokens.buttonRightContentMargin, _styledComponents.attachTokens.buttonValueMargin, _styledComponents.attachTokens.cellWidth, _styledComponents.attachTokens.cellPadding, _styledComponents.attachTokens.cellPaddingLeftContent, _styledComponents.attachTokens.cellPaddingContent, _styledComponents.attachTokens.cellPaddingRightContent, _styledComponents.attachTokens.cellTextboxGap, _styledComponents.attachTokens.cellGap, _styledComponents.attachTokens.cellLabelFontFamily, _styledComponents.attachTokens.cellLabelFontSize, _styledComponents.attachTokens.cellLabelFontStyle, _styledComponents.attachTokens.cellLabelFontWeight, _styledComponents.attachTokens.cellLabelLetterSpacing, _styledComponents.attachTokens.cellLabelLineHeight, _styledComponents.attachTokens.cellTitleFontFamily, _styledComponents.attachTokens.cellTitleFontSize, _styledComponents.attachTokens.cellTitleFontStyle, _styledComponents.attachTokens.cellTitleFontWeight, _styledComponents.attachTokens.cellTitleLetterSpacing, _styledComponents.attachTokens.cellTitleLineHeight, _styledComponents.attachTokens.cellSubtitleFontFamily, _styledComponents.attachTokens.cellSubtitleFontSize, _styledComponents.attachTokens.cellSubtitleFontStyle, _styledComponents.attachTokens.cellSubtitleFontWeight, _styledComponents.attachTokens.cellSubtitleLetterSpacing, _styledComponents.attachTokens.cellSubtitleLineHeight, _styledComponents.attachTokens.iconButtonHeight, _styledComponents.attachTokens.iconButtonWidth, _styledComponents.attachTokens.iconButtonPadding, _styledComponents.attachTokens.iconButtonRadius, _styledComponents.attachTokens.iconButtonFontFamily, _styledComponents.attachTokens.iconButtonFontSize, _styledComponents.attachTokens.iconButtonFontStyle, _styledComponents.attachTokens.iconButtonFontWeight, _styledComponents.attachTokens.iconButtonLetterSpacing, _styledComponents.attachTokens.iconButtonLineHeight, _styledComponents.attachTokens.iconButtonSpinnerSize, _styledComponents.attachTokens.iconButtonSpinnerColor, _styledComponents.attachTokens.iconButtonCancelHeight, _styledComponents.attachTokens.iconButtonCancelWidth, _styledComponents.attachTokens.iconButtonCancelPadding, _styledComponents.attachTokens.iconButtonCancelRadius, _styledComponents.attachTokens.iconButtonCancelFontFamily, _styledComponents.attachTokens.iconButtonCancelFontSize, _styledComponents.attachTokens.iconButtonCancelFontStyle, _styledComponents.attachTokens.iconButtonCancelFontWeight, _styledComponents.attachTokens.iconButtonCancelLetterSpacing, _styledComponents.attachTokens.iconButtonCancelLineHeight, _styledComponents.attachTokens.iconButtonCancelSpinnerSize, _styledComponents.attachTokens.iconButtonCancelSpinnerColor),
|
32
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 2.5rem;\n ", ": 11.25rem;\n ", ": 1rem;\n ", ": 0.625rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n\n ", ": fit-content;\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.375rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-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\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\n ", ": 0.625rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1.375rem;\n ", ": inherit;\n\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n "])), _styledComponents.attachTokens.horizontalGap, _styledComponents.attachTokens.verticalGap, _styledComponents.attachTokens.buttonHeight, _styledComponents.attachTokens.buttonWidth, _styledComponents.attachTokens.buttonPadding, _styledComponents.attachTokens.buttonRadius, _styledComponents.attachTokens.buttonFontFamily, _styledComponents.attachTokens.buttonFontSize, _styledComponents.attachTokens.buttonFontStyle, _styledComponents.attachTokens.buttonFontWeight, _styledComponents.attachTokens.buttonLetterSpacing, _styledComponents.attachTokens.buttonLineHeight, _styledComponents.attachTokens.buttonSpinnerSize, _styledComponents.attachTokens.buttonSpinnerColor, _styledComponents.attachTokens.buttonLeftContentMargin, _styledComponents.attachTokens.buttonRightContentMargin, _styledComponents.attachTokens.buttonValueMargin, _styledComponents.attachTokens.cellWidth, _styledComponents.attachTokens.cellPadding, _styledComponents.attachTokens.cellPaddingLeftContent, _styledComponents.attachTokens.cellPaddingContent, _styledComponents.attachTokens.cellPaddingRightContent, _styledComponents.attachTokens.cellTextboxGap, _styledComponents.attachTokens.cellGap, _styledComponents.attachTokens.cellLabelFontFamily, _styledComponents.attachTokens.cellLabelFontSize, _styledComponents.attachTokens.cellLabelFontStyle, _styledComponents.attachTokens.cellLabelFontWeight, _styledComponents.attachTokens.cellLabelLetterSpacing, _styledComponents.attachTokens.cellLabelLineHeight, _styledComponents.attachTokens.cellTitleFontFamily, _styledComponents.attachTokens.cellTitleFontSize, _styledComponents.attachTokens.cellTitleFontStyle, _styledComponents.attachTokens.cellTitleFontWeight, _styledComponents.attachTokens.cellTitleLetterSpacing, _styledComponents.attachTokens.cellTitleLineHeight, _styledComponents.attachTokens.cellSubtitleFontFamily, _styledComponents.attachTokens.cellSubtitleFontSize, _styledComponents.attachTokens.cellSubtitleFontStyle, _styledComponents.attachTokens.cellSubtitleFontWeight, _styledComponents.attachTokens.cellSubtitleLetterSpacing, _styledComponents.attachTokens.cellSubtitleLineHeight, _styledComponents.attachTokens.iconButtonHeight, _styledComponents.attachTokens.iconButtonWidth, _styledComponents.attachTokens.iconButtonPadding, _styledComponents.attachTokens.iconButtonRadius, _styledComponents.attachTokens.iconButtonFontFamily, _styledComponents.attachTokens.iconButtonFontSize, _styledComponents.attachTokens.iconButtonFontStyle, _styledComponents.attachTokens.iconButtonFontWeight, _styledComponents.attachTokens.iconButtonLetterSpacing, _styledComponents.attachTokens.iconButtonLineHeight, _styledComponents.attachTokens.iconButtonSpinnerSize, _styledComponents.attachTokens.iconButtonSpinnerColor, _styledComponents.attachTokens.iconButtonCancelHeight, _styledComponents.attachTokens.iconButtonCancelWidth, _styledComponents.attachTokens.iconButtonCancelPadding, _styledComponents.attachTokens.iconButtonCancelRadius, _styledComponents.attachTokens.iconButtonCancelFontFamily, _styledComponents.attachTokens.iconButtonCancelFontSize, _styledComponents.attachTokens.iconButtonCancelFontStyle, _styledComponents.attachTokens.iconButtonCancelFontWeight, _styledComponents.attachTokens.iconButtonCancelLetterSpacing, _styledComponents.attachTokens.iconButtonCancelLineHeight, _styledComponents.attachTokens.iconButtonCancelSpinnerSize, _styledComponents.attachTokens.iconButtonCancelSpinnerColor),
|
33
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": 0.25rem;\n\n ", ": 2rem;\n ", ": 10rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n\n ", ": 0 0.25rem 0 -0.125rem;\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.25rem;\n\n ", ": fit-content;\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n\n ", ": 0.125rem;\n ", ": 0.25rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": inherit;\n "])), _styledComponents.attachTokens.horizontalGap, _styledComponents.attachTokens.verticalGap, _styledComponents.attachTokens.buttonHeight, _styledComponents.attachTokens.buttonWidth, _styledComponents.attachTokens.buttonPadding, _styledComponents.attachTokens.buttonRadius, _styledComponents.attachTokens.buttonFontFamily, _styledComponents.attachTokens.buttonFontSize, _styledComponents.attachTokens.buttonFontStyle, _styledComponents.attachTokens.buttonFontWeight, _styledComponents.attachTokens.buttonLetterSpacing, _styledComponents.attachTokens.buttonLineHeight, _styledComponents.attachTokens.buttonSpinnerSize, _styledComponents.attachTokens.buttonSpinnerColor, _styledComponents.attachTokens.buttonLeftContentMargin, _styledComponents.attachTokens.buttonRightContentMargin, _styledComponents.attachTokens.buttonValueMargin, _styledComponents.attachTokens.cellWidth, _styledComponents.attachTokens.cellPadding, _styledComponents.attachTokens.cellPaddingLeftContent, _styledComponents.attachTokens.cellPaddingContent, _styledComponents.attachTokens.cellPaddingRightContent, _styledComponents.attachTokens.cellTextboxGap, _styledComponents.attachTokens.cellGap, _styledComponents.attachTokens.cellLabelFontFamily, _styledComponents.attachTokens.cellLabelFontSize, _styledComponents.attachTokens.cellLabelFontStyle, _styledComponents.attachTokens.cellLabelFontWeight, _styledComponents.attachTokens.cellLabelLetterSpacing, _styledComponents.attachTokens.cellLabelLineHeight, _styledComponents.attachTokens.cellTitleFontFamily, _styledComponents.attachTokens.cellTitleFontSize, _styledComponents.attachTokens.cellTitleFontStyle, _styledComponents.attachTokens.cellTitleFontWeight, _styledComponents.attachTokens.cellTitleLetterSpacing, _styledComponents.attachTokens.cellTitleLineHeight, _styledComponents.attachTokens.cellSubtitleFontFamily, _styledComponents.attachTokens.cellSubtitleFontSize, _styledComponents.attachTokens.cellSubtitleFontStyle, _styledComponents.attachTokens.cellSubtitleFontWeight, _styledComponents.attachTokens.cellSubtitleLetterSpacing, _styledComponents.attachTokens.cellSubtitleLineHeight, _styledComponents.attachTokens.iconButtonHeight, _styledComponents.attachTokens.iconButtonWidth, _styledComponents.attachTokens.iconButtonPadding, _styledComponents.attachTokens.iconButtonRadius, _styledComponents.attachTokens.iconButtonFontFamily, _styledComponents.attachTokens.iconButtonFontSize, _styledComponents.attachTokens.iconButtonFontStyle, _styledComponents.attachTokens.iconButtonFontWeight, _styledComponents.attachTokens.iconButtonLetterSpacing, _styledComponents.attachTokens.iconButtonLineHeight, _styledComponents.attachTokens.iconButtonSpinnerSize, _styledComponents.attachTokens.iconButtonSpinnerColor, _styledComponents.attachTokens.iconButtonCancelHeight, _styledComponents.attachTokens.iconButtonCancelWidth, _styledComponents.attachTokens.iconButtonCancelPadding, _styledComponents.attachTokens.iconButtonCancelRadius, _styledComponents.attachTokens.iconButtonCancelFontFamily, _styledComponents.attachTokens.iconButtonCancelFontSize, _styledComponents.attachTokens.iconButtonCancelFontStyle, _styledComponents.attachTokens.iconButtonCancelFontWeight, _styledComponents.attachTokens.iconButtonCancelLetterSpacing, _styledComponents.attachTokens.iconButtonCancelLineHeight, _styledComponents.attachTokens.iconButtonCancelSpinnerSize, _styledComponents.attachTokens.iconButtonCancelSpinnerColor)
|
34
|
+
}
|
35
|
+
}
|
36
|
+
};
|
@@ -0,0 +1,224 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
/**
|
3
|
+
* Компонент, позволяющий прикрепить локальный файл
|
4
|
+
*/
|
5
|
+
export declare const Attach: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
6
|
+
view: {
|
7
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
success: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
warning: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
critical: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
dark: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
|
+
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
+
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
};
|
18
|
+
size: {
|
19
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
+
};
|
24
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
25
|
+
text?: string | undefined;
|
26
|
+
contentLeft?: import("react").ReactNode;
|
27
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
28
|
+
isLoading?: boolean | undefined;
|
29
|
+
loader?: import("react").ReactNode;
|
30
|
+
stretch?: boolean | undefined;
|
31
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
32
|
+
square?: boolean | undefined;
|
33
|
+
focused?: boolean | undefined;
|
34
|
+
disabled?: boolean | undefined;
|
35
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
36
|
+
view?: string | undefined;
|
37
|
+
size?: string | undefined;
|
38
|
+
outlined?: boolean | undefined;
|
39
|
+
shiftLeft?: boolean | undefined;
|
40
|
+
shiftRight?: boolean | undefined;
|
41
|
+
blur?: "small" | "medium" | "large" | undefined;
|
42
|
+
} & {
|
43
|
+
value?: string | number | undefined;
|
44
|
+
contentRight?: undefined;
|
45
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
46
|
+
buttonType?: "button" | undefined;
|
47
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
48
|
+
text?: string | undefined;
|
49
|
+
contentLeft?: import("react").ReactNode;
|
50
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
51
|
+
isLoading?: boolean | undefined;
|
52
|
+
loader?: import("react").ReactNode;
|
53
|
+
stretch?: boolean | undefined;
|
54
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
55
|
+
square?: boolean | undefined;
|
56
|
+
focused?: boolean | undefined;
|
57
|
+
disabled?: boolean | undefined;
|
58
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
59
|
+
view?: string | undefined;
|
60
|
+
size?: string | undefined;
|
61
|
+
outlined?: boolean | undefined;
|
62
|
+
shiftLeft?: boolean | undefined;
|
63
|
+
shiftRight?: boolean | undefined;
|
64
|
+
blur?: "small" | "medium" | "large" | undefined;
|
65
|
+
} & {
|
66
|
+
value?: string | number | undefined;
|
67
|
+
contentRight?: undefined;
|
68
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
69
|
+
buttonType?: "button" | undefined;
|
70
|
+
} & {
|
71
|
+
value?: undefined;
|
72
|
+
contentRight?: import("react").ReactNode;
|
73
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
74
|
+
text?: string | undefined;
|
75
|
+
contentLeft?: import("react").ReactNode;
|
76
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
77
|
+
isLoading?: boolean | undefined;
|
78
|
+
loader?: import("react").ReactNode;
|
79
|
+
stretch?: boolean | undefined;
|
80
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
81
|
+
square?: boolean | undefined;
|
82
|
+
focused?: boolean | undefined;
|
83
|
+
disabled?: boolean | undefined;
|
84
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
85
|
+
view?: string | undefined;
|
86
|
+
size?: string | undefined;
|
87
|
+
outlined?: boolean | undefined;
|
88
|
+
shiftLeft?: boolean | undefined;
|
89
|
+
shiftRight?: boolean | undefined;
|
90
|
+
blur?: "small" | "medium" | "large" | undefined;
|
91
|
+
} & {
|
92
|
+
value?: string | number | undefined;
|
93
|
+
contentRight?: undefined;
|
94
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
95
|
+
buttonType?: "iconButton" | undefined;
|
96
|
+
icon?: import("react").ReactNode;
|
97
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
98
|
+
text?: string | undefined;
|
99
|
+
contentLeft?: import("react").ReactNode;
|
100
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
101
|
+
isLoading?: boolean | undefined;
|
102
|
+
loader?: import("react").ReactNode;
|
103
|
+
stretch?: boolean | undefined;
|
104
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
105
|
+
square?: boolean | undefined;
|
106
|
+
focused?: boolean | undefined;
|
107
|
+
disabled?: boolean | undefined;
|
108
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
109
|
+
view?: string | undefined;
|
110
|
+
size?: string | undefined;
|
111
|
+
outlined?: boolean | undefined;
|
112
|
+
shiftLeft?: boolean | undefined;
|
113
|
+
shiftRight?: boolean | undefined;
|
114
|
+
blur?: "small" | "medium" | "large" | undefined;
|
115
|
+
} & {
|
116
|
+
value?: string | number | undefined;
|
117
|
+
contentRight?: undefined;
|
118
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
119
|
+
buttonType?: "iconButton" | undefined;
|
120
|
+
icon?: import("react").ReactNode;
|
121
|
+
} & {
|
122
|
+
value?: undefined;
|
123
|
+
contentRight?: import("react").ReactNode;
|
124
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
125
|
+
text?: string | undefined;
|
126
|
+
contentLeft?: import("react").ReactNode;
|
127
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
128
|
+
isLoading?: boolean | undefined;
|
129
|
+
loader?: import("react").ReactNode;
|
130
|
+
stretch?: boolean | undefined;
|
131
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
132
|
+
square?: boolean | undefined;
|
133
|
+
focused?: boolean | undefined;
|
134
|
+
disabled?: boolean | undefined;
|
135
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
136
|
+
view?: string | undefined;
|
137
|
+
size?: string | undefined;
|
138
|
+
outlined?: boolean | undefined;
|
139
|
+
shiftLeft?: boolean | undefined;
|
140
|
+
shiftRight?: boolean | undefined;
|
141
|
+
blur?: "small" | "medium" | "large" | undefined;
|
142
|
+
} & {
|
143
|
+
value?: undefined;
|
144
|
+
contentRight?: import("react").ReactNode;
|
145
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
146
|
+
buttonType?: "button" | undefined;
|
147
|
+
} & {
|
148
|
+
value?: string | number | undefined;
|
149
|
+
contentRight?: undefined;
|
150
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
151
|
+
text?: string | undefined;
|
152
|
+
contentLeft?: import("react").ReactNode;
|
153
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
154
|
+
isLoading?: boolean | undefined;
|
155
|
+
loader?: import("react").ReactNode;
|
156
|
+
stretch?: boolean | undefined;
|
157
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
158
|
+
square?: boolean | undefined;
|
159
|
+
focused?: boolean | undefined;
|
160
|
+
disabled?: boolean | undefined;
|
161
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
162
|
+
view?: string | undefined;
|
163
|
+
size?: string | undefined;
|
164
|
+
outlined?: boolean | undefined;
|
165
|
+
shiftLeft?: boolean | undefined;
|
166
|
+
shiftRight?: boolean | undefined;
|
167
|
+
blur?: "small" | "medium" | "large" | undefined;
|
168
|
+
} & {
|
169
|
+
value?: undefined;
|
170
|
+
contentRight?: import("react").ReactNode;
|
171
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
172
|
+
buttonType?: "button" | undefined;
|
173
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
174
|
+
text?: string | undefined;
|
175
|
+
contentLeft?: import("react").ReactNode;
|
176
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
177
|
+
isLoading?: boolean | undefined;
|
178
|
+
loader?: import("react").ReactNode;
|
179
|
+
stretch?: boolean | undefined;
|
180
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
181
|
+
square?: boolean | undefined;
|
182
|
+
focused?: boolean | undefined;
|
183
|
+
disabled?: boolean | undefined;
|
184
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
185
|
+
view?: string | undefined;
|
186
|
+
size?: string | undefined;
|
187
|
+
outlined?: boolean | undefined;
|
188
|
+
shiftLeft?: boolean | undefined;
|
189
|
+
shiftRight?: boolean | undefined;
|
190
|
+
blur?: "small" | "medium" | "large" | undefined;
|
191
|
+
} & {
|
192
|
+
value?: undefined;
|
193
|
+
contentRight?: import("react").ReactNode;
|
194
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
195
|
+
buttonType?: "iconButton" | undefined;
|
196
|
+
icon?: import("react").ReactNode;
|
197
|
+
} & {
|
198
|
+
value?: string | number | undefined;
|
199
|
+
contentRight?: undefined;
|
200
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & {
|
201
|
+
text?: string | undefined;
|
202
|
+
contentLeft?: import("react").ReactNode;
|
203
|
+
contentPlacing?: ("default" | "relaxed") | undefined;
|
204
|
+
isLoading?: boolean | undefined;
|
205
|
+
loader?: import("react").ReactNode;
|
206
|
+
stretch?: boolean | undefined;
|
207
|
+
stretching?: ("auto" | "fixed" | "filled") | undefined;
|
208
|
+
square?: boolean | undefined;
|
209
|
+
focused?: boolean | undefined;
|
210
|
+
disabled?: boolean | undefined;
|
211
|
+
pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
|
212
|
+
view?: string | undefined;
|
213
|
+
size?: string | undefined;
|
214
|
+
outlined?: boolean | undefined;
|
215
|
+
shiftLeft?: boolean | undefined;
|
216
|
+
shiftRight?: boolean | undefined;
|
217
|
+
blur?: "small" | "medium" | "large" | undefined;
|
218
|
+
} & {
|
219
|
+
value?: undefined;
|
220
|
+
contentRight?: import("react").ReactNode;
|
221
|
+
} & import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types").BaseAttachProps & {
|
222
|
+
buttonType?: "iconButton" | undefined;
|
223
|
+
icon?: import("react").ReactNode;
|
224
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Attach = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _Attach = /*#__PURE__*/require("./Attach.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.attachConfig, _Attach.config);
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Компонент, позволяющий прикрепить локальный файл
|
13
|
+
*/
|
14
|
+
var Attach = exports.Attach = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Attach } from './Attach';
|
@@ -3,10 +3,10 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
Object.defineProperty(exports, "
|
6
|
+
Object.defineProperty(exports, "Attach", {
|
7
7
|
enumerable: true,
|
8
8
|
get: function get() {
|
9
|
-
return
|
9
|
+
return _Attach.Attach;
|
10
10
|
}
|
11
11
|
});
|
12
|
-
var
|
12
|
+
var _Attach = /*#__PURE__*/require("./Attach");
|
@@ -14,7 +14,7 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
14
14
|
};
|
15
15
|
}> & (({
|
16
16
|
size?: string | undefined;
|
17
|
-
view
|
17
|
+
view?: string | undefined;
|
18
18
|
contentLeft?: import("react").ReactNode;
|
19
19
|
contentRight?: import("react").ReactNode;
|
20
20
|
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
@@ -29,7 +29,7 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
|
|
29
29
|
children?: undefined;
|
30
30
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
31
31
|
size?: string | undefined;
|
32
|
-
view
|
32
|
+
view?: string | undefined;
|
33
33
|
contentLeft?: import("react").ReactNode;
|
34
34
|
contentRight?: import("react").ReactNode;
|
35
35
|
alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { TextFieldProps as TextFieldPropsOld } from '@salutejs/plasma-hope';
|
3
|
-
|
3
|
+
declare const TextFieldComponent: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
4
|
view: {
|
5
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
6
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -45,8 +45,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
45
45
|
} & {
|
46
46
|
chips?: undefined;
|
47
47
|
onChangeChips?: undefined;
|
48
|
-
enumerationType?: "plain" | undefined;
|
49
|
-
/**
|
48
|
+
enumerationType?: "plain" | undefined; /**
|
50
49
|
* Флаг обязательности поля
|
51
50
|
*/
|
52
51
|
onSearch?: ((value: string, event?: React.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
@@ -71,9 +70,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
71
70
|
optional?: false | undefined;
|
72
71
|
} & {
|
73
72
|
enumerationType: "chip";
|
74
|
-
onSearch?: undefined;
|
75
|
-
* Флаг обязательности поля
|
76
|
-
*/
|
73
|
+
onSearch?: undefined;
|
77
74
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
78
75
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
79
76
|
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
@@ -98,8 +95,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
98
95
|
} & {
|
99
96
|
chips?: undefined;
|
100
97
|
onChangeChips?: undefined;
|
101
|
-
enumerationType?: "plain" | undefined;
|
102
|
-
/**
|
98
|
+
enumerationType?: "plain" | undefined; /**
|
103
99
|
* Флаг обязательности поля
|
104
100
|
*/
|
105
101
|
onSearch?: ((value: string, event?: React.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
@@ -124,9 +120,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
124
120
|
required?: false | undefined;
|
125
121
|
} & {
|
126
122
|
enumerationType: "chip";
|
127
|
-
onSearch?: undefined;
|
128
|
-
* Флаг обязательности поля
|
129
|
-
*/
|
123
|
+
onSearch?: undefined;
|
130
124
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
131
125
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
132
126
|
} & Omit<import("@salutejs/plasma-new-hope/types/types").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>))>;
|
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
5
5
|
value: true
|
6
6
|
});
|
7
|
-
exports.
|
7
|
+
exports.TextField = void 0;
|
8
8
|
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
9
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
10
10
|
var _TextField = /*#__PURE__*/require("./TextField.config");
|
@@ -15,7 +15,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
15
15
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
16
16
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
17
17
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.textFieldConfig, _TextField.config);
|
18
|
-
var TextFieldComponent =
|
18
|
+
var TextFieldComponent = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
19
19
|
var statusToView = {
|
20
20
|
success: 'positive',
|
21
21
|
warning: 'warning',
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import './Attach.config_1abu8vf.css';
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'default',
|
9
|
+
focused: 'true',
|
10
|
+
size: 'm'
|
11
|
+
},
|
12
|
+
variations: {
|
13
|
+
view: {
|
14
|
+
"default": "dh2upgr",
|
15
|
+
accent: "a8wsq7j",
|
16
|
+
secondary: "s5x2wim",
|
17
|
+
clear: "c7t1r9b",
|
18
|
+
success: "savuac0",
|
19
|
+
warning: "w1xds7bq",
|
20
|
+
critical: "c5nbujf",
|
21
|
+
dark: "drovqmd",
|
22
|
+
black: "b1r56d65",
|
23
|
+
white: "w106agwf"
|
24
|
+
},
|
25
|
+
size: {
|
26
|
+
l: "l1x8glsz",
|
27
|
+
m: "m1gytn7q",
|
28
|
+
s: "s19ojacu",
|
29
|
+
xs: "x7sr79d"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
};
|
33
|
+
|
34
|
+
exports.config = config;
|
35
|
+
//# sourceMappingURL=Attach.config.js.map
|