@salutejs/sdds-finportal 0.162.0-canary.1550.11777193712.0 → 0.162.0-canary.1553.11776288397.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +61 -68
- package/components/Combobox/Combobox.d.ts +12 -12
- package/components/Combobox/index.d.ts +12 -12
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +47 -54
- package/es/components/Select/Select.config.js +22 -30
- package/package.json +6 -6
- package/temp/sdds-finportal.api.md +61 -68
@@ -5,45 +5,37 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.config = void 0;
|
7
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, _templateObject15, _templateObject16, _templateObject17
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17;
|
9
9
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
12
12
|
view: 'default',
|
13
|
-
|
14
|
-
|
15
|
-
chipView: 'default'
|
13
|
+
chipView: 'default',
|
14
|
+
size: 'm'
|
16
15
|
},
|
17
16
|
variations: {
|
18
|
-
view: {
|
19
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-transparent-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--inverse-text-secondary);\n ", ": var(--inverse-text-secondary-hover);\n ", ": var(--inverse-text-secondary-hover);\n ", ": var(--surface-solid-default);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--surface-solid-default-hover);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.textFieldColor, _styledComponents.selectTokens.textFieldPlaceholderColor, _styledComponents.selectTokens.textFieldPlaceholderColorFocus, _styledComponents.selectTokens.textFieldBackgroundColor, _styledComponents.selectTokens.textFieldBackgroundColorFocus, _styledComponents.selectTokens.textFieldTextBeforeColor, _styledComponents.selectTokens.textFieldTextAfterColor, _styledComponents.selectTokens.textFieldLabelColor, _styledComponents.selectTokens.textFieldLeftHelperColor, _styledComponents.selectTokens.textFieldFocusColor, _styledComponents.selectTokens.textFieldContentSlotColor, _styledComponents.selectTokens.textFieldContentSlotColorHover, _styledComponents.selectTokens.textFieldContentSlotColorActive, _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
20
|
-
positive: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-transparent-positive);\n ", ": var(--surface-transparent-positive-active);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n ", ": var(--text-positive);\n ", ": var(--text-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ":var(--surface-positive);\n ", ":var(--surface-positive-hover);\n ", ":var(--surface-positive-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.textFieldColor, _styledComponents.selectTokens.textFieldPlaceholderColor, _styledComponents.selectTokens.textFieldPlaceholderColorFocus, _styledComponents.selectTokens.textFieldBackgroundColor, _styledComponents.selectTokens.textFieldBackgroundColorFocus, _styledComponents.selectTokens.textFieldTextBeforeColor, _styledComponents.selectTokens.textFieldTextAfterColor, _styledComponents.selectTokens.textFieldLabelColor, _styledComponents.selectTokens.textFieldLeftHelperColor, _styledComponents.selectTokens.textFieldFocusColor, _styledComponents.selectTokens.textFieldContentSlotColor, _styledComponents.selectTokens.textFieldContentSlotColorHover, _styledComponents.selectTokens.textFieldContentSlotColorActive, _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
21
|
-
warning: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-transparent-warning);\n ", ": var(--surface-transparent-warning-active);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n ", ": var(--text-warning);\n ", ": var(--text-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ":var(--surface-warning);\n ", ":var(--surface-warning-hover);\n ", ":var(--surface-warning-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.textFieldColor, _styledComponents.selectTokens.textFieldPlaceholderColor, _styledComponents.selectTokens.textFieldPlaceholderColorFocus, _styledComponents.selectTokens.textFieldBackgroundColor, _styledComponents.selectTokens.textFieldBackgroundColorFocus, _styledComponents.selectTokens.textFieldTextBeforeColor, _styledComponents.selectTokens.textFieldTextAfterColor, _styledComponents.selectTokens.textFieldLabelColor, _styledComponents.selectTokens.textFieldLeftHelperColor, _styledComponents.selectTokens.textFieldFocusColor, _styledComponents.selectTokens.textFieldContentSlotColor, _styledComponents.selectTokens.textFieldContentSlotColorHover, _styledComponents.selectTokens.textFieldContentSlotColorActive, _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
22
|
-
negative: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-transparent-negative);\n ", ": var(--surface-transparent-negative-active);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n ", ": var(--text-negative);\n ", ": var(--text-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ":var(--surface-negative);\n ", ": var(--surface-negative-hover);\n ", ":var(--surface-negative-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.textFieldColor, _styledComponents.selectTokens.textFieldPlaceholderColor, _styledComponents.selectTokens.textFieldPlaceholderColorFocus, _styledComponents.selectTokens.textFieldBackgroundColor, _styledComponents.selectTokens.textFieldBackgroundColorFocus, _styledComponents.selectTokens.textFieldTextBeforeColor, _styledComponents.selectTokens.textFieldTextAfterColor, _styledComponents.selectTokens.textFieldLabelColor, _styledComponents.selectTokens.textFieldLeftHelperColor, _styledComponents.selectTokens.textFieldFocusColor, _styledComponents.selectTokens.textFieldContentSlotColor, _styledComponents.selectTokens.textFieldContentSlotColorHover, _styledComponents.selectTokens.textFieldContentSlotColorActive, _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
23
|
-
accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-accent-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
24
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-primary-active);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
25
|
-
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-primary-active);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": var(--surface-clear);\n ", ": var(--surface-clear);\n ", ": var(--surface-clear);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
26
|
-
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-active);\n ", ":var(--on-light-surface-transparent-deep);\n ", ":var(--on-light-surface-transparent-deep-hover);\n ", ":var(--on-light-surface-transparent-deep-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
27
|
-
black: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-active);\n ", ":var(--on-light-surface-solid-default);\n ", ":var(--on-light-surface-solid-default-hover);\n ", ": var(--on-light-surface-solid-default-active);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.itemBackgroundHover),
|
28
|
-
white: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-text-primary-hover);\n ", ": var(--on-light-text-primary-active);\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-light-text-secondary-hover);\n ", ": var(--on-light-text-secondary-active);\n ", ":var(--on-dark-surface-solid-default);\n ", ":var(--on-dark-surface-solid-default-hover);\n ", ":var(--on-dark-surface-solid-default-active);\n\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n "])), _styledComponents.selectTokens.buttonColor, _styledComponents.selectTokens.buttonColorHover, _styledComponents.selectTokens.buttonColorActive, _styledComponents.selectTokens.buttonArrowColor, _styledComponents.selectTokens.buttonArrowColorHover, _styledComponents.selectTokens.buttonArrowColorActive, _styledComponents.selectTokens.buttonBackgroundColor, _styledComponents.selectTokens.buttonBackgroundColorHover, _styledComponents.selectTokens.buttonBackgroundColorActive, _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover)
|
29
|
-
},
|
30
17
|
size: {
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
18
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n\n ", ": 1rem;\n ", ": 0.5rem 0.5rem 0.5rem 0.375rem;\n ", ": 0.25rem 0.5rem 0.25rem 0.375rem;\n ", ": 0.375rem;\n ", ": 1rem;\n ", ": 1rem;\n ", ": 0 0.25rem 0 0;\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 ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--text-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-secondary);\n\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 1.25rem;\n ", ": 0.375rem;\n ", ": 0.625rem;\n ", ": 0.25rem;\n ", ": 0rem;\n ", ": 0.75rem;\n\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.375rem;\n ", ": 2rem;\n ", ": 0.75rem 0 0.75rem;\n ", ": 0.5rem 0 0.625rem;\n ", ": 0.5rem 0 0.25rem;\n\n ", ": 0.375rem;\n\n ", ": 0;\n\n ", ": 0.25rem;\n\n ", ": 1rem;\n ", ": 1rem;\n "])), _styledComponents.selectTokens.padding, _styledComponents.selectTokens.borderRadius, _styledComponents.selectTokens.focusOffset, _styledComponents.selectTokens.itemHeight, _styledComponents.selectTokens.itemPadding, _styledComponents.selectTokens.itemPaddingTight, _styledComponents.selectTokens.itemBorderRadius, _styledComponents.selectTokens.itemIconSize, _styledComponents.selectTokens.itemIconSizeTight, _styledComponents.selectTokens.itemIconMargin, _styledComponents.selectTokens.fontFamily, _styledComponents.selectTokens.fontSize, _styledComponents.selectTokens.fontStyle, _styledComponents.selectTokens.fontWeight, _styledComponents.selectTokens.fontLetterSpacing, _styledComponents.selectTokens.fontLineHeight, _styledComponents.selectTokens.labelFontFamily, _styledComponents.selectTokens.labelFontSize, _styledComponents.selectTokens.labelFontStyle, _styledComponents.selectTokens.labelFontWeight, _styledComponents.selectTokens.labelFontLetterSpacing, _styledComponents.selectTokens.labelFontLineHeight, _styledComponents.selectTokens.helperTextFontFamily, _styledComponents.selectTokens.helperTextFontSize, _styledComponents.selectTokens.helperTextFontStyle, _styledComponents.selectTokens.helperTextFontWeight, _styledComponents.selectTokens.helperTextFontLetterSpacing, _styledComponents.selectTokens.helperTextFontLineHeight, _styledComponents.selectTokens.checkboxTriggerSize, _styledComponents.selectTokens.checkboxTriggerSizeTight, _styledComponents.selectTokens.checkboxTriggerBorderRadius, _styledComponents.selectTokens.checkboxTriggerBorderRadiusTight, _styledComponents.selectTokens.checkboxFillColor, _styledComponents.selectTokens.checkboxIconColor, _styledComponents.selectTokens.checkboxTriggerBorderColor, _styledComponents.selectTokens.indicatorSize, _styledComponents.selectTokens.chipGap, _styledComponents.selectTokens.chipBorderRadius, _styledComponents.selectTokens.chipHeight, _styledComponents.selectTokens.chipPaddingRight, _styledComponents.selectTokens.chipPaddingLeft, _styledComponents.selectTokens.chipClearContentMarginLeft, _styledComponents.selectTokens.chipClearContentMarginRight, _styledComponents.selectTokens.chipCloseIconSize, _styledComponents.selectTokens.targetButtonArrowMargin, _styledComponents.selectTokens.targetTextfieldArrowMargin, _styledComponents.selectTokens.targetHeight, _styledComponents.selectTokens.targetButtonPadding, _styledComponents.selectTokens.targetTextfieldPadding, _styledComponents.selectTokens.targetTextfieldChipPadding, _styledComponents.selectTokens.labelOffset, _styledComponents.selectTokens.innerLabelGap, _styledComponents.selectTokens.helperTextOffset, _styledComponents.selectTokens.spinnerSize, _styledComponents.selectTokens.spinnerSizeTight),
|
19
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 0.625rem;\n ", ": 0.125rem;\n\n ", ": 1.5rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.675rem;\n ", ": 0.25rem 0.75rem 0.25rem 0.675rem;\n ", ": 0.5rem;\n ", ": 1.5rem;\n ", ": 1rem;\n ", ": 0 0.375rem 0 0;\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-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 ", ": 1.25rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.25rem;\n ", ": var(--text-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-secondary);\n\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 1.75rem;\n ", ": 0.5rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0rem;\n ", ": 0.75rem;\n\n ", ": 0 -0.125rem 0 0.25rem;\n ", ": 0 0 0 0.375rem;\n ", ": 2.5rem;\n ", ": 1rem 0 1rem;\n ", ": 0.75rem 0 0.875rem;\n ", ": 0.75rem 0 0.25rem;\n\n ", ": 0.5rem;\n\n ", ": 0;\n\n ", ": 0.25rem;\n\n ", ": 1.5rem;\n ", ": 1rem;\n "])), _styledComponents.selectTokens.padding, _styledComponents.selectTokens.borderRadius, _styledComponents.selectTokens.focusOffset, _styledComponents.selectTokens.itemHeight, _styledComponents.selectTokens.itemPadding, _styledComponents.selectTokens.itemPaddingTight, _styledComponents.selectTokens.itemBorderRadius, _styledComponents.selectTokens.itemIconSize, _styledComponents.selectTokens.itemIconSizeTight, _styledComponents.selectTokens.itemIconMargin, _styledComponents.selectTokens.fontFamily, _styledComponents.selectTokens.fontSize, _styledComponents.selectTokens.fontStyle, _styledComponents.selectTokens.fontWeight, _styledComponents.selectTokens.fontLetterSpacing, _styledComponents.selectTokens.fontLineHeight, _styledComponents.selectTokens.labelFontFamily, _styledComponents.selectTokens.labelFontSize, _styledComponents.selectTokens.labelFontStyle, _styledComponents.selectTokens.labelFontWeight, _styledComponents.selectTokens.labelFontLetterSpacing, _styledComponents.selectTokens.labelFontLineHeight, _styledComponents.selectTokens.helperTextFontFamily, _styledComponents.selectTokens.helperTextFontSize, _styledComponents.selectTokens.helperTextFontStyle, _styledComponents.selectTokens.helperTextFontWeight, _styledComponents.selectTokens.helperTextFontLetterSpacing, _styledComponents.selectTokens.helperTextFontLineHeight, _styledComponents.selectTokens.checkboxTriggerSize, _styledComponents.selectTokens.checkboxTriggerSizeTight, _styledComponents.selectTokens.checkboxTriggerBorderRadius, _styledComponents.selectTokens.checkboxTriggerBorderRadiusTight, _styledComponents.selectTokens.checkboxFillColor, _styledComponents.selectTokens.checkboxIconColor, _styledComponents.selectTokens.checkboxTriggerBorderColor, _styledComponents.selectTokens.indicatorSize, _styledComponents.selectTokens.chipGap, _styledComponents.selectTokens.chipBorderRadius, _styledComponents.selectTokens.chipHeight, _styledComponents.selectTokens.chipPaddingRight, _styledComponents.selectTokens.chipPaddingLeft, _styledComponents.selectTokens.chipClearContentMarginLeft, _styledComponents.selectTokens.chipClearContentMarginRight, _styledComponents.selectTokens.chipCloseIconSize, _styledComponents.selectTokens.targetButtonArrowMargin, _styledComponents.selectTokens.targetTextfieldArrowMargin, _styledComponents.selectTokens.targetHeight, _styledComponents.selectTokens.targetButtonPadding, _styledComponents.selectTokens.targetTextfieldPadding, _styledComponents.selectTokens.targetTextfieldChipPadding, _styledComponents.selectTokens.labelOffset, _styledComponents.selectTokens.innerLabelGap, _styledComponents.selectTokens.helperTextOffset, _styledComponents.selectTokens.spinnerSize, _styledComponents.selectTokens.spinnerSizeTight),
|
20
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 0.75rem;\n ", ": 0.125rem;\n\n ", ": 1.5rem;\n ", ": 0.75rem 0.75rem 0.75rem 0.75rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.75rem;\n ", ": 0.625rem;\n ", ": 0 0.375rem 0 0;\n ", ": 1.5rem;\n ", ": 1.5rem;\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-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-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 ", ": 1.25rem;\n ", ": 1.25rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n ", ": var(--text-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-secondary);\n\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.375rem;\n ", ": 2.25rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n ", ": 0.5rem;\n ", ": 0rem;\n ", ": 1rem;\n\n ", ": 0 -0.125rem 0 0.375rem;\n ", ": 0 0 0 0.625rem;\n ", ": 3rem;\n ", ": 1.25rem 0 1.25rem;\n ", ": 0.875rem 0 1rem;\n ", ": 0.875rem 0 0.25rem;\n\n ", ": 0.625rem;\n\n ", ": 0.125rem;\n\n ", ": 0.25rem;\n\n ", ": 1.5rem;\n ", ": 1.5rem;\n "])), _styledComponents.selectTokens.padding, _styledComponents.selectTokens.borderRadius, _styledComponents.selectTokens.focusOffset, _styledComponents.selectTokens.itemHeight, _styledComponents.selectTokens.itemPadding, _styledComponents.selectTokens.itemPaddingTight, _styledComponents.selectTokens.itemBorderRadius, _styledComponents.selectTokens.itemIconMargin, _styledComponents.selectTokens.itemIconSize, _styledComponents.selectTokens.itemIconSizeTight, _styledComponents.selectTokens.fontFamily, _styledComponents.selectTokens.fontSize, _styledComponents.selectTokens.fontStyle, _styledComponents.selectTokens.fontWeight, _styledComponents.selectTokens.fontLetterSpacing, _styledComponents.selectTokens.fontLineHeight, _styledComponents.selectTokens.labelFontFamily, _styledComponents.selectTokens.labelFontSize, _styledComponents.selectTokens.labelFontStyle, _styledComponents.selectTokens.labelFontWeight, _styledComponents.selectTokens.labelFontLetterSpacing, _styledComponents.selectTokens.labelFontLineHeight, _styledComponents.selectTokens.helperTextFontFamily, _styledComponents.selectTokens.helperTextFontSize, _styledComponents.selectTokens.helperTextFontStyle, _styledComponents.selectTokens.helperTextFontWeight, _styledComponents.selectTokens.helperTextFontLetterSpacing, _styledComponents.selectTokens.helperTextFontLineHeight, _styledComponents.selectTokens.checkboxTriggerSize, _styledComponents.selectTokens.checkboxTriggerSizeTight, _styledComponents.selectTokens.checkboxTriggerBorderRadius, _styledComponents.selectTokens.checkboxTriggerBorderRadiusTight, _styledComponents.selectTokens.checkboxFillColor, _styledComponents.selectTokens.checkboxIconColor, _styledComponents.selectTokens.checkboxTriggerBorderColor, _styledComponents.selectTokens.indicatorSize, _styledComponents.selectTokens.chipGap, _styledComponents.selectTokens.chipBorderRadius, _styledComponents.selectTokens.chipHeight, _styledComponents.selectTokens.chipPaddingRight, _styledComponents.selectTokens.chipPaddingLeft, _styledComponents.selectTokens.chipClearContentMarginLeft, _styledComponents.selectTokens.chipClearContentMarginRight, _styledComponents.selectTokens.chipCloseIconSize, _styledComponents.selectTokens.targetButtonArrowMargin, _styledComponents.selectTokens.targetTextfieldArrowMargin, _styledComponents.selectTokens.targetHeight, _styledComponents.selectTokens.targetButtonPadding, _styledComponents.selectTokens.targetTextfieldPadding, _styledComponents.selectTokens.targetTextfieldChipPadding, _styledComponents.selectTokens.labelOffset, _styledComponents.selectTokens.innerLabelGap, _styledComponents.selectTokens.helperTextOffset, _styledComponents.selectTokens.spinnerSize, _styledComponents.selectTokens.spinnerSizeTight),
|
21
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 0.875rem;\n ", ": 0.125rem;\n\n ", ": 1.5rem;\n ", ": 1rem 1rem 1rem 0.875rem;\n ", ": 0.75rem 1rem 0.75rem 0.875rem;\n ", ": 0.75rem;\n ", ": 0 0.5rem 0 0;\n ", ": 1.5rem;\n ", ": 1.5rem;\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-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-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 ", ": 1.25rem;\n ", ": 1.25rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n ", ": var(--text-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-secondary);\n\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 2.75rem;\n ", ": 0.75rem;\n ", ": 1rem;\n ", ": 0.625rem;\n ", ": 0rem;\n ", ": 1rem;\n\n ", ": 0 -0.125rem 0 0.5rem;\n ", ": 0 0 0 0.75rem;\n ", ": 3.5rem;\n ", ": 1.5rem 0 1.5rem;\n ", ": 1rem 0 1.125rem;\n ", ": 1rem 0 0.25rem;\n\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 0.25rem;\n\n ", ": 1.5rem;\n ", ": 1.5rem;\n "])), _styledComponents.selectTokens.padding, _styledComponents.selectTokens.borderRadius, _styledComponents.selectTokens.focusOffset, _styledComponents.selectTokens.itemHeight, _styledComponents.selectTokens.itemPadding, _styledComponents.selectTokens.itemPaddingTight, _styledComponents.selectTokens.itemBorderRadius, _styledComponents.selectTokens.itemIconMargin, _styledComponents.selectTokens.itemIconSize, _styledComponents.selectTokens.itemIconSizeTight, _styledComponents.selectTokens.fontFamily, _styledComponents.selectTokens.fontSize, _styledComponents.selectTokens.fontStyle, _styledComponents.selectTokens.fontWeight, _styledComponents.selectTokens.fontLetterSpacing, _styledComponents.selectTokens.fontLineHeight, _styledComponents.selectTokens.labelFontFamily, _styledComponents.selectTokens.labelFontSize, _styledComponents.selectTokens.labelFontStyle, _styledComponents.selectTokens.labelFontWeight, _styledComponents.selectTokens.labelFontLetterSpacing, _styledComponents.selectTokens.labelFontLineHeight, _styledComponents.selectTokens.helperTextFontFamily, _styledComponents.selectTokens.helperTextFontSize, _styledComponents.selectTokens.helperTextFontStyle, _styledComponents.selectTokens.helperTextFontWeight, _styledComponents.selectTokens.helperTextFontLetterSpacing, _styledComponents.selectTokens.helperTextFontLineHeight, _styledComponents.selectTokens.checkboxTriggerSize, _styledComponents.selectTokens.checkboxTriggerSizeTight, _styledComponents.selectTokens.checkboxTriggerBorderRadius, _styledComponents.selectTokens.checkboxTriggerBorderRadiusTight, _styledComponents.selectTokens.checkboxFillColor, _styledComponents.selectTokens.checkboxIconColor, _styledComponents.selectTokens.checkboxTriggerBorderColor, _styledComponents.selectTokens.indicatorSize, _styledComponents.selectTokens.chipGap, _styledComponents.selectTokens.chipBorderRadius, _styledComponents.selectTokens.chipHeight, _styledComponents.selectTokens.chipPaddingRight, _styledComponents.selectTokens.chipPaddingLeft, _styledComponents.selectTokens.chipClearContentMarginLeft, _styledComponents.selectTokens.chipClearContentMarginRight, _styledComponents.selectTokens.chipCloseIconSize, _styledComponents.selectTokens.targetButtonArrowMargin, _styledComponents.selectTokens.targetTextfieldArrowMargin, _styledComponents.selectTokens.targetHeight, _styledComponents.selectTokens.targetButtonPadding, _styledComponents.selectTokens.targetTextfieldPadding, _styledComponents.selectTokens.targetTextfieldChipPadding, _styledComponents.selectTokens.labelOffset, _styledComponents.selectTokens.innerLabelGap, _styledComponents.selectTokens.helperTextOffset, _styledComponents.selectTokens.spinnerSize, _styledComponents.selectTokens.spinnerSizeTight)
|
35
22
|
},
|
36
|
-
|
37
|
-
|
38
|
-
|
23
|
+
view: {
|
24
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--inverse-text-secondary);\n ", ": var(--inverse-text-secondary-hover);\n ", ": var(--inverse-text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-solid-default);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--surface-transparent-primary);\n ", ": var(--surface-transparent-secondary);\n "])), _styledComponents.selectTokens.helperTextColor, _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetTextfieldArrowColor, _styledComponents.selectTokens.targetTextfieldArrowColorHover, _styledComponents.selectTokens.targetTextfieldArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive, _styledComponents.selectTokens.targetTextfieldBackgroundColor, _styledComponents.selectTokens.targetTextfieldBackgroundColorOpened),
|
25
|
+
positive: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-positive);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ":var(--surface-positive);\n ", ":var(--surface-positive-hover);\n ", ":var(--surface-positive-active);\n ", ": var(--surface-transparent-positive);\n ", ": var(--surface-transparent-positive-active);\n "])), _styledComponents.selectTokens.helperTextColor, _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetTextfieldArrowColor, _styledComponents.selectTokens.targetTextfieldArrowColorHover, _styledComponents.selectTokens.targetTextfieldArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive, _styledComponents.selectTokens.targetTextfieldBackgroundColor, _styledComponents.selectTokens.targetTextfieldBackgroundColorOpened),
|
26
|
+
warning: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-warning);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ":var(--surface-warning);\n ", ":var(--surface-warning-hover);\n ", ":var(--surface-warning-active);\n ", ": var(--surface-transparent-warning);\n ", ": var(--surface-transparent-warning-active);\n "])), _styledComponents.selectTokens.helperTextColor, _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetTextfieldArrowColor, _styledComponents.selectTokens.targetTextfieldArrowColorHover, _styledComponents.selectTokens.targetTextfieldArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive, _styledComponents.selectTokens.targetTextfieldBackgroundColor, _styledComponents.selectTokens.targetTextfieldBackgroundColorOpened),
|
27
|
+
negative: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ":var(--surface-negative);\n ", ": var(--surface-negative-hover);\n ", ":var(--surface-negative-active);\n ", ": var(--surface-transparent-negative);\n ", ": var(--surface-transparent-negative-active);\n "])), _styledComponents.selectTokens.helperTextColor, _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetTextfieldArrowColor, _styledComponents.selectTokens.targetTextfieldArrowColorHover, _styledComponents.selectTokens.targetTextfieldArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive, _styledComponents.selectTokens.targetTextfieldBackgroundColor, _styledComponents.selectTokens.targetTextfieldBackgroundColorOpened),
|
28
|
+
accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-accent-active);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive),
|
29
|
+
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-primary-active);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-hover);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--surface-transparent-secondary-active);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive),
|
30
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-primary-active);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": var(--surface-clear);\n ", ": var(--surface-clear);\n ", ": var(--surface-clear);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive),
|
31
|
+
dark: /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-active);\n ", ":var(--on-light-surface-transparent-deep);\n ", ":var(--on-light-surface-transparent-deep-hover);\n ", ":var(--on-light-surface-transparent-deep-active);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive),
|
32
|
+
black: /*#__PURE__*/(0, _styledComponents.css)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--on-dark-text-secondary);\n ", ": var(--on-dark-text-secondary-hover);\n ", ": var(--on-dark-text-secondary-active);\n ", ":var(--on-light-surface-solid-default);\n ", ":var(--on-light-surface-solid-default-hover);\n ", ": var(--on-light-surface-solid-default-active);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive),
|
33
|
+
white: /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--on-light-text-primary);\n ", ": var(--on-light-text-primary-hover);\n ", ": var(--on-light-text-primary-active);\n ", ": var(--on-light-text-secondary);\n ", ": var(--on-light-text-secondary-hover);\n ", ": var(--on-light-text-secondary-active);\n ", ":var(--on-dark-surface-solid-default);\n ", ":var(--on-dark-surface-solid-default-hover);\n ", ":var(--on-dark-surface-solid-default-active);\n "])), _styledComponents.selectTokens.itemBackgroundHover, _styledComponents.selectTokens.disclosureIconColor, _styledComponents.selectTokens.disclosureIconColorHover, _styledComponents.selectTokens.targetButtonColor, _styledComponents.selectTokens.targetButtonColorHover, _styledComponents.selectTokens.targetButtonColorActive, _styledComponents.selectTokens.targetButtonArrowColor, _styledComponents.selectTokens.targetButtonArrowColorHover, _styledComponents.selectTokens.targetButtonArrowColorActive, _styledComponents.selectTokens.targetButtonBackgroundColor, _styledComponents.selectTokens.targetButtonBackgroundColorHover, _styledComponents.selectTokens.targetButtonBackgroundColorActive)
|
39
34
|
},
|
40
35
|
chipView: {
|
41
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
42
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(
|
43
|
-
accent: /*#__PURE__*/(0, _styledComponents.css)(
|
44
|
-
},
|
45
|
-
disabled: {
|
46
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.selectTokens.textFieldDisabledOpacity)
|
36
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--surface-solid-default-active);\n "])), _styledComponents.selectTokens.chipColor, _styledComponents.selectTokens.chipBackground, _styledComponents.selectTokens.chipBackgroundHover, _styledComponents.selectTokens.chipBackgroundActive),
|
37
|
+
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--surface-transparent-secondary-active);\n "])), _styledComponents.selectTokens.chipColor, _styledComponents.selectTokens.chipBackground, _styledComponents.selectTokens.chipBackgroundHover, _styledComponents.selectTokens.chipBackgroundActive),
|
38
|
+
accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-accent-active);\n "])), _styledComponents.selectTokens.chipColor, _styledComponents.selectTokens.chipBackground, _styledComponents.selectTokens.chipBackgroundHover, _styledComponents.selectTokens.chipBackgroundActive)
|
47
39
|
}
|
48
40
|
}
|
49
41
|
};
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import type { SelectProps as SelectPropsNewHope } from '@salutejs/plasma-new-hope/styled-components';
|
2
2
|
import React from 'react';
|
3
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope
|
3
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "view" | "size" | "chipView"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
};
|
4
10
|
view: {
|
5
11
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
12
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -13,24 +19,11 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
13
19
|
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
20
|
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
21
|
};
|
16
|
-
size: {
|
17
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
-
};
|
22
|
-
labelPlacement: {
|
23
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
-
};
|
26
22
|
chipView: {
|
27
23
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
24
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
25
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
26
|
};
|
31
|
-
disabled: {
|
32
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
|
-
};
|
34
27
|
}> & (({
|
35
28
|
target?: "textfield-like" | undefined;
|
36
29
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -42,33 +35,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
42
35
|
multiselect?: false | undefined;
|
43
36
|
separator?: undefined;
|
44
37
|
} & {
|
45
|
-
value
|
38
|
+
value: any;
|
46
39
|
onChange?: ((value: any) => void) | undefined;
|
47
40
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
48
41
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
|
+
status?: "warning" | "success" | "error" | undefined;
|
49
43
|
placeholder?: string | undefined;
|
50
44
|
helperText?: string | undefined;
|
51
45
|
disabled?: boolean | undefined;
|
52
|
-
items?: import("@salutejs/plasma-new-hope/
|
53
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
46
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
47
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
48
|
+
hasItems?: boolean | undefined;
|
54
49
|
children?: undefined;
|
50
|
+
isOpen?: boolean | undefined;
|
55
51
|
isTargetAmount?: boolean | undefined;
|
56
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
57
|
-
placement?: ("
|
52
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
53
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
58
54
|
label?: string | undefined;
|
59
55
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
60
56
|
variant?: "normal" | "tight" | undefined;
|
61
57
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
62
58
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
63
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
64
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
59
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
60
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
65
61
|
closeAfterSelect?: boolean | undefined;
|
66
62
|
size?: string | undefined;
|
67
63
|
view?: string | undefined;
|
68
64
|
chipView?: string | undefined;
|
69
|
-
status?: "warning" | "success" | "error" | undefined;
|
70
|
-
hasItems?: boolean | undefined;
|
71
|
-
isOpen?: boolean | undefined;
|
72
65
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
73
66
|
target?: "textfield-like" | undefined;
|
74
67
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -80,33 +73,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
80
73
|
multiselect?: true | undefined;
|
81
74
|
separator?: string | undefined;
|
82
75
|
} & {
|
83
|
-
value
|
76
|
+
value: any;
|
84
77
|
onChange?: ((value: any) => void) | undefined;
|
85
78
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
86
79
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
80
|
+
status?: "warning" | "success" | "error" | undefined;
|
87
81
|
placeholder?: string | undefined;
|
88
82
|
helperText?: string | undefined;
|
89
83
|
disabled?: boolean | undefined;
|
90
|
-
items?: import("@salutejs/plasma-new-hope/
|
91
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
84
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
85
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
86
|
+
hasItems?: boolean | undefined;
|
92
87
|
children?: undefined;
|
88
|
+
isOpen?: boolean | undefined;
|
93
89
|
isTargetAmount?: boolean | undefined;
|
94
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
95
|
-
placement?: ("
|
90
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
91
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
96
92
|
label?: string | undefined;
|
97
93
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
98
94
|
variant?: "normal" | "tight" | undefined;
|
99
95
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
100
96
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
101
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
102
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
97
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
98
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
103
99
|
closeAfterSelect?: boolean | undefined;
|
104
100
|
size?: string | undefined;
|
105
101
|
view?: string | undefined;
|
106
102
|
chipView?: string | undefined;
|
107
|
-
status?: "warning" | "success" | "error" | undefined;
|
108
|
-
hasItems?: boolean | undefined;
|
109
|
-
isOpen?: boolean | undefined;
|
110
103
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
111
104
|
target?: "button-like" | undefined;
|
112
105
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -118,33 +111,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
118
111
|
multiselect?: false | undefined;
|
119
112
|
separator?: undefined;
|
120
113
|
} & {
|
121
|
-
value
|
114
|
+
value: any;
|
122
115
|
onChange?: ((value: any) => void) | undefined;
|
123
116
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
124
117
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
118
|
+
status?: "warning" | "success" | "error" | undefined;
|
125
119
|
placeholder?: string | undefined;
|
126
120
|
helperText?: string | undefined;
|
127
121
|
disabled?: boolean | undefined;
|
128
|
-
items?: import("@salutejs/plasma-new-hope/
|
129
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
122
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
123
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
124
|
+
hasItems?: boolean | undefined;
|
130
125
|
children?: undefined;
|
126
|
+
isOpen?: boolean | undefined;
|
131
127
|
isTargetAmount?: boolean | undefined;
|
132
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
133
|
-
placement?: ("
|
128
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
129
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
134
130
|
label?: string | undefined;
|
135
131
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
136
132
|
variant?: "normal" | "tight" | undefined;
|
137
133
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
138
134
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
139
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
140
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
135
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
136
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
141
137
|
closeAfterSelect?: boolean | undefined;
|
142
138
|
size?: string | undefined;
|
143
139
|
view?: string | undefined;
|
144
140
|
chipView?: string | undefined;
|
145
|
-
status?: "warning" | "success" | "error" | undefined;
|
146
|
-
hasItems?: boolean | undefined;
|
147
|
-
isOpen?: boolean | undefined;
|
148
141
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
149
142
|
target?: "button-like" | undefined;
|
150
143
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -156,32 +149,32 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope<im
|
|
156
149
|
multiselect?: true | undefined;
|
157
150
|
separator?: string | undefined;
|
158
151
|
} & {
|
159
|
-
value
|
152
|
+
value: any;
|
160
153
|
onChange?: ((value: any) => void) | undefined;
|
161
154
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
162
155
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
156
|
+
status?: "warning" | "success" | "error" | undefined;
|
163
157
|
placeholder?: string | undefined;
|
164
158
|
helperText?: string | undefined;
|
165
159
|
disabled?: boolean | undefined;
|
166
|
-
items?: import("@salutejs/plasma-new-hope/
|
167
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
160
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
161
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
162
|
+
hasItems?: boolean | undefined;
|
168
163
|
children?: undefined;
|
164
|
+
isOpen?: boolean | undefined;
|
169
165
|
isTargetAmount?: boolean | undefined;
|
170
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
171
|
-
placement?: ("
|
166
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
167
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
172
168
|
label?: string | undefined;
|
173
169
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
174
170
|
variant?: "normal" | "tight" | undefined;
|
175
171
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
176
172
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
177
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
178
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
173
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
174
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
179
175
|
closeAfterSelect?: boolean | undefined;
|
180
176
|
size?: string | undefined;
|
181
177
|
view?: string | undefined;
|
182
178
|
chipView?: string | undefined;
|
183
|
-
status?: "warning" | "success" | "error" | undefined;
|
184
|
-
hasItems?: boolean | undefined;
|
185
|
-
isOpen?: boolean | undefined;
|
186
179
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React.RefAttributes<HTMLButtonElement>>;
|
187
180
|
export { Select };
|