@salutejs/plasma-web 1.619.0-next-sbcom.0 → 1.619.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -64
- package/dist/css/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/dist/css/cjs/components/Combobox/Combobox.css +0 -6
- package/dist/css/cjs/components/Combobox/Combobox.js +1 -7
- package/dist/css/cjs/components/Combobox/Combobox.js.map +1 -1
- package/dist/css/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/css/cjs/index.css +0 -12
- package/dist/css/cjs/index.js +7 -23
- package/dist/css/cjs/index.js.map +1 -1
- package/dist/css/es/_virtual/_rollupPluginBabelHelpers.js +1 -60
- package/dist/css/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/dist/css/es/components/Combobox/Combobox.css +0 -6
- package/dist/css/es/components/Combobox/Combobox.js +1 -7
- package/dist/css/es/components/Combobox/Combobox.js.map +1 -1
- package/dist/css/es/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/css/es/index.css +0 -12
- package/dist/css/es/index.js +1 -5
- package/dist/css/es/index.js.map +1 -1
- package/dist/styled-components/cjs/components/Combobox/Combobox.js +1 -7
- package/dist/styled-components/cjs/components/Combobox/index.js +3 -24
- package/dist/styled-components/cjs/components/Dropdown/index.js +3 -24
- package/dist/styled-components/es/components/Combobox/Combobox.js +1 -7
- package/dist/styled-components/es/components/Combobox/index.js +0 -1
- package/dist/styled-components/es/components/Dropdown/index.js +0 -5
- package/package.json +9 -9
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/components/Combobox/Combobox.d.ts +2 -7
- package/types/components/Combobox/index.d.ts +1 -2
- package/types/components/Dropdown/Dropdown.d.ts +36 -43
- package/types/components/Dropdown/index.d.ts +0 -5
- package/types/components/Select/Select.d.ts +64 -80
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.config.js +0 -25
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.config.js.map +0 -1
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.config_g6rh1c.css +0 -5
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.css +0 -5
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.js +0 -27
- package/dist/css/cjs/components/Combobox/Legacy/Combobox.js.map +0 -1
- package/dist/css/cjs/components/Dropdown/components/DropdownItem.js +0 -71
- package/dist/css/cjs/components/Dropdown/components/DropdownItem.js.map +0 -1
- package/dist/css/cjs/components/Dropdown/components/DropdownList.js +0 -16
- package/dist/css/cjs/components/Dropdown/components/DropdownList.js.map +0 -1
- package/dist/css/cjs/components/Dropdown/components/DropdownOld.config.js +0 -25
- package/dist/css/cjs/components/Dropdown/components/DropdownOld.config.js.map +0 -1
- package/dist/css/cjs/components/Dropdown/components/DropdownOld.config_1sm61um.css +0 -5
- package/dist/css/cjs/components/Dropdown/components/DropdownPopup.css +0 -5
- package/dist/css/cjs/components/Dropdown/components/DropdownPopup.js +0 -41
- package/dist/css/cjs/components/Dropdown/components/DropdownPopup.js.map +0 -1
- package/dist/css/es/components/Combobox/Legacy/Combobox.config.js +0 -21
- package/dist/css/es/components/Combobox/Legacy/Combobox.config.js.map +0 -1
- package/dist/css/es/components/Combobox/Legacy/Combobox.config_g6rh1c.css +0 -5
- package/dist/css/es/components/Combobox/Legacy/Combobox.css +0 -5
- package/dist/css/es/components/Combobox/Legacy/Combobox.js +0 -18
- package/dist/css/es/components/Combobox/Legacy/Combobox.js.map +0 -1
- package/dist/css/es/components/Dropdown/components/DropdownItem.js +0 -61
- package/dist/css/es/components/Dropdown/components/DropdownItem.js.map +0 -1
- package/dist/css/es/components/Dropdown/components/DropdownList.js +0 -8
- package/dist/css/es/components/Dropdown/components/DropdownList.js.map +0 -1
- package/dist/css/es/components/Dropdown/components/DropdownOld.config.js +0 -21
- package/dist/css/es/components/Dropdown/components/DropdownOld.config.js.map +0 -1
- package/dist/css/es/components/Dropdown/components/DropdownOld.config_1sm61um.css +0 -5
- package/dist/css/es/components/Dropdown/components/DropdownPopup.css +0 -5
- package/dist/css/es/components/Dropdown/components/DropdownPopup.js +0 -33
- package/dist/css/es/components/Dropdown/components/DropdownPopup.js.map +0 -1
- package/dist/styled-components/cjs/components/Combobox/Legacy/Combobox.config.js +0 -359
- package/dist/styled-components/cjs/components/Combobox/Legacy/Combobox.js +0 -44
- package/dist/styled-components/cjs/components/Combobox/Legacy/index.js +0 -31
- package/dist/styled-components/cjs/components/Dropdown/components/DropdownItem.js +0 -214
- package/dist/styled-components/cjs/components/Dropdown/components/DropdownList.js +0 -22
- package/dist/styled-components/cjs/components/Dropdown/components/DropdownOld.config.js +0 -147
- package/dist/styled-components/cjs/components/Dropdown/components/DropdownPopup.js +0 -170
- package/dist/styled-components/es/components/Combobox/Legacy/Combobox.config.js +0 -349
- package/dist/styled-components/es/components/Combobox/Legacy/Combobox.js +0 -14
- package/dist/styled-components/es/components/Combobox/Legacy/index.js +0 -1
- package/dist/styled-components/es/components/Dropdown/components/DropdownItem.js +0 -150
- package/dist/styled-components/es/components/Dropdown/components/DropdownList.js +0 -7
- package/dist/styled-components/es/components/Dropdown/components/DropdownOld.config.js +0 -137
- package/dist/styled-components/es/components/Dropdown/components/DropdownPopup.js +0 -119
- package/types/components/Combobox/Legacy/Combobox.config.d.ts +0 -17
- package/types/components/Combobox/Legacy/Combobox.d.ts +0 -60
- package/types/components/Combobox/Legacy/index.d.ts +0 -1
- package/types/components/Dropdown/components/DropdownItem.d.ts +0 -20
- package/types/components/Dropdown/components/DropdownList.d.ts +0 -1
- package/types/components/Dropdown/components/DropdownOld.config.d.ts +0 -17
- package/types/components/Dropdown/components/DropdownPopup.d.ts +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownItem.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownItem.tsx"],"sourcesContent":["import React, { forwardRef, SyntheticEvent } from 'react';\nimport { DropdownItemProps } from '@salutejs/plasma-hope';\nimport { component, dropdownItemOldConfig, mergeConfig } from '@salutejs/plasma-new-hope/css';\nimport styled from 'styled-components';\nimport { IconDone } from '@salutejs/plasma-icons';\nimport { accent } from '@salutejs/plasma-core';\n\nconst mergedItemConfig = mergeConfig(dropdownItemOldConfig);\nexport const DropdownNewHopeItem = component(mergedItemConfig);\n\nconst StyledCheck = styled(IconDone)`\n margin-left: auto;\n pointer-events: none;\n margin-right: -0.5rem;\n`;\n\nexport const DropdownItem = forwardRef<HTMLDivElement, DropdownItemProps>((props, ref) => {\n const {\n value,\n label,\n color,\n contentLeft,\n isActive,\n isHovered,\n index,\n onClick,\n onHover,\n onFocus,\n items,\n isDisabled,\n style,\n ...rest\n } = props;\n\n const handleClick = (e: SyntheticEvent<Element, Event>) => {\n if (onClick) {\n onClick({ value, label, color, contentLeft }, e);\n }\n };\n\n const handleHover = () => {\n if (onHover) {\n onHover(index);\n }\n };\n\n return (\n <DropdownNewHopeItem\n {...(rest as any)}\n value={value}\n text={label}\n ref={ref}\n style={{ ...style, color }}\n contentLeft={contentLeft}\n contentRight={isActive ? <StyledCheck size=\"s\" color={accent} /> : undefined}\n onClick={handleClick}\n onMouseOver={handleHover}\n onFocus={onFocus}\n disabled={isDisabled}\n />\n );\n});\n"],"names":["mergedItemConfig","mergeConfig","dropdownItemOldConfig","DropdownNewHopeItem","component","StyledCheck","styled","IconDone","_templateObject","_taggedTemplateLiteral","DropdownItem","forwardRef","props","ref","value","label","color","contentLeft","isActive","index","onClick","onHover","onFocus","isDisabled","style","rest","_objectWithoutProperties","_excluded","handleClick","e","handleHover","React","createElement","_extends","text","_objectSpread","contentRight","_StyledCheck","size","accent","undefined","onMouseOver","disabled"],"mappings":";;;;;;;;;;;;;;;;;;AAOA,IAAMA,gBAAgB,gBAAGC,eAAW,CAACC,yBAAqB,CAAC,CAAA;IAC9CC,mBAAmB,gBAAGC,aAAS,CAACJ,gBAAgB,EAAC;AAE9D,IAAMK,WAAW,gBAAGC,uBAAM,CAACC,oBAAQ,CAAC,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,+CAAA,CAInC,CAAA,mFAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEM,IAAMC,YAAY,gBAAGC,gBAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtF,EAAA,IACIC,KAAK,GAcLF,KAAK,CAdLE,KAAK,CAAA;IACLC,KAAK,GAaLH,KAAK,CAbLG,KAAK,CAAA;IACLC,KAAK,GAYLJ,KAAK,CAZLI,KAAK,CAAA;IACLC,WAAW,GAWXL,KAAK,CAXLK,WAAW,CAAA;IACXC,QAAQ,GAURN,KAAK,CAVLM,QAAQ,CAAA;IAERC,KAAK,GAQLP,KAAK,CARLO,KAAK,CAAA;IACLC,OAAO,GAOPR,KAAK,CAPLQ,OAAO,CAAA;IACPC,OAAO,GAMPT,KAAK,CANLS,OAAO,CAAA;IACPC,OAAO,GAKPV,KAAK,CALLU,OAAO,CAAA;IAEPC,UAAU,GAGVX,KAAK,CAHLW,UAAU,CAAA;IACVC,KAAK,GAELZ,KAAK,CAFLY,KAAK,CAAA;AACFC,IAAAA,IAAI,GAAAC,iDAAA,CACPd,KAAK,EAAAe,SAAA,EAAA;AAET,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,CAAiC,EAAK;AACvD,IAAA,IAAIT,OAAO,EAAE;AACTA,MAAAA,OAAO,CAAC;AAAEN,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,WAAW,EAAXA,WAAAA;OAAa,EAAEY,CAAC,CAAC,CAAA;AACpD,KAAA;GACH,CAAA;AAED,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAS;AACtB,IAAA,IAAIT,OAAO,EAAE;MACTA,OAAO,CAACF,KAAK,CAAC,CAAA;AAClB,KAAA;GACH,CAAA;EAED,oBACIY,sBAAA,CAAAC,aAAA,CAAC7B,mBAAmB,EAAA8B,iCAAA,KACXR,IAAI,EAAA;AACTX,IAAAA,KAAK,EAAEA,KAAM;AACboB,IAAAA,IAAI,EAAEnB,KAAM;AACZF,IAAAA,GAAG,EAAEA,GAAI;AACTW,IAAAA,KAAK,EAAAW,uCAAA,CAAAA,uCAAA,KAAOX,KAAK,CAAA,EAAA,EAAA,EAAA;AAAER,MAAAA,KAAK,EAALA,KAAAA;KAAQ,CAAA;AAC3BC,IAAAA,WAAW,EAAEA,WAAY;IACzBmB,YAAY,EAAElB,QAAQ,GAAAmB,YAAA,KAAAA,YAAA,gBAAGN,sBAAA,CAAAC,aAAA,CAAC3B,WAAW,EAAA;AAACiC,MAAAA,IAAI,EAAC,GAAG;AAACtB,MAAAA,KAAK,EAAEuB,iBAAAA;KAAS,CAAC,IAAGC,SAAU;AAC7EpB,IAAAA,OAAO,EAAEQ,WAAY;AACrBa,IAAAA,WAAW,EAAEX,WAAY;AACzBR,IAAAA,OAAO,EAAEA,OAAQ;AACjBoB,IAAAA,QAAQ,EAAEnB,UAAAA;AAAW,GAAA,CACxB,CAAC,CAAA;AAEV,CAAC;;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
|
-
var styled = require('styled-components');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
11
|
-
|
|
12
|
-
var _templateObject;
|
|
13
|
-
var DropdownList = /*#__PURE__*/styled__default.default.ul(_templateObject || (_templateObject = /*#__PURE__*/_rollupPluginBabelHelpers.taggedTemplateLiteral(["\n margin: 0;\n padding: 0;\n"])));
|
|
14
|
-
|
|
15
|
-
exports.DropdownList = DropdownList;
|
|
16
|
-
//# sourceMappingURL=DropdownList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownList.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownList.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const DropdownList = styled.ul`\n margin: 0;\n padding: 0;\n`;\n"],"names":["DropdownList","styled","ul","_templateObject","_taggedTemplateLiteral"],"mappings":";;;;;;;;;;;;AAEaA,IAAAA,YAAY,gBAAGC,uBAAM,CAACC,EAAE,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,+CAAA,CAGpC,CAAA,qCAAA,CAAA,CAAA,CAAA;;;;"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
require('./DropdownOld.config_1sm61um.css');
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var config = {
|
|
7
|
-
defaults: {
|
|
8
|
-
view: 'default',
|
|
9
|
-
size: 'm'
|
|
10
|
-
},
|
|
11
|
-
variations: {
|
|
12
|
-
size: {
|
|
13
|
-
xs: "xy53zv1",
|
|
14
|
-
s: "s1vd6y5w",
|
|
15
|
-
m: "m10ep19h",
|
|
16
|
-
l: "lq36nb2"
|
|
17
|
-
},
|
|
18
|
-
view: {
|
|
19
|
-
"default": "d148hya0"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
exports.config = config;
|
|
25
|
-
//# sourceMappingURL=DropdownOld.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownOld.config.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownOld.config.ts"],"sourcesContent":["import { css, dropdownOldTokens as dropdownTokens } from '@salutejs/plasma-new-hope/css';\n\nconst dropdownSizeCommon = `\n ${dropdownTokens.width}: 100%;\n ${dropdownTokens.height}: auto;\n ${dropdownTokens.borderRadius}: 0.5rem;\n ${dropdownTokens.paddingTop}: 0.125rem;\n ${dropdownTokens.paddingRight}: 0.0625rem;\n ${dropdownTokens.paddingBottom}: 0.125rem;\n ${dropdownTokens.paddingLeft}: 0.125rem;\n`;\n\nconst dropdownItemSizeCommon = `\n ${dropdownTokens.itemWidth}: auto;\n ${dropdownTokens.itemHeight}: auto;\n ${dropdownTokens.itemMarginTop}: 0;\n ${dropdownTokens.itemMarginRight}: 0;\n ${dropdownTokens.itemMarginBottom}: 0;\n ${dropdownTokens.itemMarginLeft}: 0;\n`;\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n },\n variations: {\n size: {\n xs: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.5625rem;\n ${dropdownTokens.itemPaddingRight}: 0.5rem;\n ${dropdownTokens.itemPaddingBottom}: 0.5625rem;\n ${dropdownTokens.itemPaddingLeft}: 0.5rem;\n ${dropdownTokens.itemBorderRadius}: 0.375rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-xs-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-xs-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.6875rem;\n ${dropdownTokens.itemPaddingRight}: 0.75rem;\n ${dropdownTokens.itemPaddingBottom}: 0.6875rem;\n ${dropdownTokens.itemPaddingLeft}: 0.75rem;\n ${dropdownTokens.itemBorderRadius}: 0.5rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-s-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-s-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-s-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-s-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n m: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.875rem;\n ${dropdownTokens.itemPaddingRight}: 0.875rem;\n ${dropdownTokens.itemPaddingBottom}: 0.875rem;\n ${dropdownTokens.itemPaddingLeft}: 0.875rem;\n ${dropdownTokens.itemBorderRadius}: 0.625rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-m-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-m-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-m-line-height);\n `,\n l: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 1.0625rem;\n ${dropdownTokens.itemPaddingRight}: 1rem;\n ${dropdownTokens.itemPaddingBottom}: 1.0625rem;\n ${dropdownTokens.itemPaddingLeft}: 1rem;\n ${dropdownTokens.itemBorderRadius}: 0.75rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-l-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-l-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-l-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-l-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-l-line-height);\n `,\n },\n view: {\n default: css`\n ${dropdownTokens.disabledOpacity}: 0.4;\n ${dropdownTokens.background}: var(--surface-solid-card-brightness);\n // TODO: #1131 Вернуть токен --shadow-down-soft-s\n ${dropdownTokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n\n ${dropdownTokens.itemBackground}: transparent;\n ${dropdownTokens.itemBackgroundHover}: var(--surface-transparent-secondary);\n ${dropdownTokens.itemBackgroundSelected}: inherit;\n ${dropdownTokens.itemColorSelected}: inherit;\n ${dropdownTokens.itemBackgroundSelectedHover}: inherit;\n ${dropdownTokens.itemColorSelectedHover}: inherit;\n ${dropdownTokens.itemColor}: var(--text-primary);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","xs","s","m","l","default"],"mappings":";;;;AAqBO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;AACFE,MAAAA,EAAE,EAgBD,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,CAAC,EAAA,SAAA;KAiBJ;AACDN,IAAAA,IAAI,EAAE;MACFO,SAAO,EAAA,UAAA;AAcX,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.xy53zv1{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.5625rem;--plasma-dropdown-item-padding-right:0.5rem;--plasma-dropdown-item-padding-bottom:0.5625rem;--plasma-dropdown-item-padding-left:0.5rem;--plasma-dropdown-item-border-radius:0.375rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.s1vd6y5w{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.6875rem;--plasma-dropdown-item-padding-right:0.75rem;--plasma-dropdown-item-padding-bottom:0.6875rem;--plasma-dropdown-item-padding-left:0.75rem;--plasma-dropdown-item-border-radius:0.5rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-s-line-height);}
|
|
3
|
-
.m10ep19h{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.875rem;--plasma-dropdown-item-padding-right:0.875rem;--plasma-dropdown-item-padding-bottom:0.875rem;--plasma-dropdown-item-padding-left:0.875rem;--plasma-dropdown-item-border-radius:0.625rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-m-line-height);}
|
|
4
|
-
.lq36nb2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:1.0625rem;--plasma-dropdown-item-padding-right:1rem;--plasma-dropdown-item-padding-bottom:1.0625rem;--plasma-dropdown-item-padding-left:1rem;--plasma-dropdown-item-border-radius:0.75rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-l-line-height);}
|
|
5
|
-
.d148hya0{--plasma-dropdown-disabled-opacity:0.4;--plasma-dropdown-background:var(--surface-solid-card-brightness);--plasma-dropdown-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-dropdown-item-background:transparent;--plasma-dropdown-item-background-hover:var(--surface-transparent-secondary);--plasma-dropdown-item-background-selected:inherit;--plasma-dropdown-item-color-selected:inherit;--plasma-dropdown-item-background-selected-hover:inherit;--plasma-dropdown-item-color-selected-hover:inherit;--plasma-dropdown-item-color:var(--text-primary);}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.DropdownOld_config_1sm61um_xy53zv1__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.5625rem;--plasma-dropdown-item-padding-right:0.5rem;--plasma-dropdown-item-padding-bottom:0.5625rem;--plasma-dropdown-item-padding-left:0.5rem;--plasma-dropdown-item-border-radius:0.375rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.DropdownOld_config_1sm61um_s1vd6y5w__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.6875rem;--plasma-dropdown-item-padding-right:0.75rem;--plasma-dropdown-item-padding-bottom:0.6875rem;--plasma-dropdown-item-padding-left:0.75rem;--plasma-dropdown-item-border-radius:0.5rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-s-line-height);}
|
|
3
|
-
.DropdownOld_config_1sm61um_m10ep19h__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.875rem;--plasma-dropdown-item-padding-right:0.875rem;--plasma-dropdown-item-padding-bottom:0.875rem;--plasma-dropdown-item-padding-left:0.875rem;--plasma-dropdown-item-border-radius:0.625rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-m-line-height);}
|
|
4
|
-
.DropdownOld_config_1sm61um_lq36nb2__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:1.0625rem;--plasma-dropdown-item-padding-right:1rem;--plasma-dropdown-item-padding-bottom:1.0625rem;--plasma-dropdown-item-padding-left:1rem;--plasma-dropdown-item-border-radius:0.75rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-l-line-height);}
|
|
5
|
-
.DropdownOld_config_1sm61um_d148hya0__8f0d29f2{--plasma-dropdown-disabled-opacity:0.4;--plasma-dropdown-background:var(--surface-solid-card-brightness);--plasma-dropdown-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-dropdown-item-background:transparent;--plasma-dropdown-item-background-hover:var(--surface-transparent-secondary);--plasma-dropdown-item-background-selected:inherit;--plasma-dropdown-item-color-selected:inherit;--plasma-dropdown-item-background-selected-hover:inherit;--plasma-dropdown-item-color-selected-hover:inherit;--plasma-dropdown-item-color:var(--text-primary);}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var css = require('@salutejs/plasma-new-hope/css');
|
|
8
|
-
var DropdownOld_config = require('./DropdownOld.config.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
13
|
-
|
|
14
|
-
var _excluded = ["trigger", "children", "opened", "isOpen", "disclosure", "onToggle", "placement", "offsetTop"];
|
|
15
|
-
var mergedConfig = /*#__PURE__*/css.mergeConfig(css.dropdownOldConfig, DropdownOld_config.config);
|
|
16
|
-
var DropdownNewHope = /*#__PURE__*/css.component(mergedConfig);
|
|
17
|
-
var DropdownPopup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
18
|
-
var trigger = props.trigger,
|
|
19
|
-
children = props.children,
|
|
20
|
-
opened = props.opened,
|
|
21
|
-
isOpen = props.isOpen,
|
|
22
|
-
disclosure = props.disclosure,
|
|
23
|
-
onToggle = props.onToggle,
|
|
24
|
-
placement = props.placement,
|
|
25
|
-
offsetTop = props.offsetTop,
|
|
26
|
-
rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
|
|
27
|
-
var offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;
|
|
28
|
-
return /*#__PURE__*/React__default.default.createElement(DropdownNewHope, _rollupPluginBabelHelpers.extends({}, rest, {
|
|
29
|
-
ref: ref,
|
|
30
|
-
onToggle: onToggle,
|
|
31
|
-
target: disclosure,
|
|
32
|
-
opened: opened,
|
|
33
|
-
isOpen: isOpen,
|
|
34
|
-
trigger: trigger,
|
|
35
|
-
placement: placement,
|
|
36
|
-
offset: [offsetAtTop, 0]
|
|
37
|
-
}), children);
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
exports.DropdownPopup = DropdownPopup;
|
|
41
|
-
//# sourceMappingURL=DropdownPopup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownPopup.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownPopup.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { DropdownPopupProps } from '@salutejs/plasma-hope';\nimport { component, dropdownOldConfig, mergeConfig } from '@salutejs/plasma-new-hope/css';\n\nimport { config } from './DropdownOld.config';\n\nconst mergedConfig = mergeConfig(dropdownOldConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\nexport const DropdownPopup = forwardRef<HTMLDivElement, DropdownPopupProps>((props, ref) => {\n const { trigger, children, opened, isOpen, disclosure, onToggle, placement, offsetTop, ...rest } = props;\n\n const offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;\n\n return (\n <DropdownNewHope\n {...rest}\n ref={ref}\n onToggle={onToggle}\n target={disclosure}\n opened={opened}\n isOpen={isOpen}\n trigger={trigger}\n placement={placement}\n offset={[offsetAtTop, 0]}\n >\n {children}\n </DropdownNewHope>\n );\n});\n"],"names":["mergedConfig","mergeConfig","dropdownOldConfig","config","DropdownNewHope","component","DropdownPopup","forwardRef","props","ref","trigger","children","opened","isOpen","disclosure","onToggle","placement","offsetTop","rest","_objectWithoutProperties","_excluded","offsetAtTop","React","createElement","_extends","target","offset"],"mappings":";;;;;;;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,eAAW,CAACC,qBAAiB,EAAEC,yBAAM,CAAC,CAAA;AAC3D,IAAMC,eAAe,gBAAGC,aAAS,CAACL,YAAY,CAAC,CAAA;AAExC,IAAMM,aAAa,gBAAGC,gBAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACxF,EAAA,IAAQC,OAAO,GAAoFF,KAAK,CAAhGE,OAAO;IAAEC,QAAQ,GAA0EH,KAAK,CAAvFG,QAAQ;IAAEC,MAAM,GAAkEJ,KAAK,CAA7EI,MAAM;IAAEC,MAAM,GAA0DL,KAAK,CAArEK,MAAM;IAAEC,UAAU,GAA8CN,KAAK,CAA7DM,UAAU;IAAEC,QAAQ,GAAoCP,KAAK,CAAjDO,QAAQ;IAAEC,SAAS,GAAyBR,KAAK,CAAvCQ,SAAS;IAAEC,SAAS,GAAcT,KAAK,CAA5BS,SAAS;AAAKC,IAAAA,IAAI,GAAAC,iDAAA,CAAKX,KAAK,EAAAY,SAAA,CAAA,CAAA;EAExG,IAAMC,WAAW,GAAG,OAAOJ,SAAS,KAAK,QAAQ,GAAGA,SAAS,GAAG,CAAC,CAAA;EAEjE,oBACIK,sBAAA,CAAAC,aAAA,CAACnB,eAAe,EAAAoB,iCAAA,KACRN,IAAI,EAAA;AACRT,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,MAAM,EAAEX,UAAW;AACnBF,IAAAA,MAAM,EAAEA,MAAO;AACfC,IAAAA,MAAM,EAAEA,MAAO;AACfH,IAAAA,OAAO,EAAEA,OAAQ;AACjBM,IAAAA,SAAS,EAAEA,SAAU;AACrBU,IAAAA,MAAM,EAAE,CAACL,WAAW,EAAE,CAAC,CAAA;AAAE,GAAA,CAAA,EAExBV,QACY,CAAC,CAAA;AAE1B,CAAC;;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import './Combobox.config_g6rh1c.css';
|
|
2
|
-
var config = {
|
|
3
|
-
defaults: {
|
|
4
|
-
view: 'default',
|
|
5
|
-
size: 'm'
|
|
6
|
-
},
|
|
7
|
-
variations: {
|
|
8
|
-
size: {
|
|
9
|
-
xs: "x1m2v3ds",
|
|
10
|
-
s: "snjir4d",
|
|
11
|
-
m: "m8yng6k",
|
|
12
|
-
l: "l1t5xra2"
|
|
13
|
-
},
|
|
14
|
-
view: {
|
|
15
|
-
"default": "d1i24k0f"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { config };
|
|
21
|
-
//# sourceMappingURL=Combobox.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.config.js","sources":["../../../../../../src-css/components/Combobox/Legacy/Combobox.config.ts"],"sourcesContent":["import { css, comboboxOldTokens as comboboxTokens } from '@salutejs/plasma-new-hope/css';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n },\n variations: {\n size: {\n xs: css`\n ${comboboxTokens.width}: 100%;\n ${comboboxTokens.height}: auto;\n ${comboboxTokens.borderRadius}: 0.5rem;\n ${comboboxTokens.paddingTop}: 0.125rem;\n ${comboboxTokens.paddingRight}: 0.125rem;\n ${comboboxTokens.paddingBottom}: 0.125rem;\n ${comboboxTokens.paddingLeft}: 0.125rem;\n\n ${comboboxTokens.dividerColor}: var(--surface-transparent-tertiary);\n ${comboboxTokens.dividerHeight}: 0.063rem;\n ${comboboxTokens.dividerMarginTop}: 0;\n ${comboboxTokens.dividerMarginRight}: 0.5rem;\n ${comboboxTokens.dividerMarginBottom}: 0;\n ${comboboxTokens.dividerMarginLeft}: 0.375rem;\n\n ${comboboxTokens.itemWidth}: auto;\n ${comboboxTokens.itemHeight}: 1rem;\n ${comboboxTokens.itemPaddingTop}: 0.5rem;\n ${comboboxTokens.itemPaddingRight}: 0.5rem;\n ${comboboxTokens.itemPaddingBottom}: 0.5rem;\n ${comboboxTokens.itemPaddingLeft}: 0.375rem;\n ${comboboxTokens.itemBorderRadius}: 0.375rem;\n ${comboboxTokens.itemContentLeftWidth}: 1.25rem;\n ${comboboxTokens.itemFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${comboboxTokens.itemFontSize}: var(--plasma-typo-body-xs-font-size);\n ${comboboxTokens.itemFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${comboboxTokens.itemFontWeightBold}: var(--plasma-typo-body-xs-font-weight);\n ${comboboxTokens.itemFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${comboboxTokens.itemFontLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${comboboxTokens.chipGap}: 0.25rem;\n ${comboboxTokens.chipBorderRadius}: 0.125rem;\n ${comboboxTokens.chipWidth}: auto;\n ${comboboxTokens.chipHeight}: 1.25rem;\n ${comboboxTokens.chipPadding}: 0 0.375rem 0 0.625rem;\n ${comboboxTokens.chipClearContentMarginLeft}: 0.25rem;\n ${comboboxTokens.chipClearContentMarginRight}: 0rem;\n ${comboboxTokens.chipCloseIconSize}: 0.75rem;\n ${comboboxTokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${comboboxTokens.chipFontSize}: var(--plasma-typo-body-xs-font-size);\n ${comboboxTokens.chipFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${comboboxTokens.chipFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${comboboxTokens.chipLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${comboboxTokens.chipLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${comboboxTokens.targetArrowRight}: 0.5rem;\n ${comboboxTokens.targetHeight}: 2rem;\n ${comboboxTokens.targetWidth}: 100%;\n ${comboboxTokens.targetRadius}: 0.5rem;\n ${comboboxTokens.targetPadding}: 0 2.5rem 0 0.75rem;\n ${comboboxTokens.targetPaddingHasChips}: 0 2.625rem 0 0.375rem;\n ${comboboxTokens.targetPaddingWithInput}: 0 2.625rem 0 0.625rem;\n ${comboboxTokens.targetInnerTop}: 0.5rem;\n ${comboboxTokens.targetLabelInnerTop}: 0.375rem;\n ${comboboxTokens.targetFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${comboboxTokens.targetFontSize}: var(--plasma-typo-body-xs-font-size);\n ${comboboxTokens.targetFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${comboboxTokens.targetFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${comboboxTokens.targetLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${comboboxTokens.targetLineHeight}: var(--plasma-typo-body-xs-line-height);\n ${comboboxTokens.targetLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${comboboxTokens.targetLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);\n ${comboboxTokens.targetLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${comboboxTokens.targetLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${comboboxTokens.targetLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${comboboxTokens.targetLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${comboboxTokens.width}: 100%;\n ${comboboxTokens.height}: auto;\n ${comboboxTokens.borderRadius}: 0.625rem;\n ${comboboxTokens.paddingTop}: 0.125rem;\n ${comboboxTokens.paddingRight}: 0.125rem;\n ${comboboxTokens.paddingBottom}: 0.125rem;\n ${comboboxTokens.paddingLeft}: 0.125rem;\n\n ${comboboxTokens.dividerColor}: var(--surface-transparent-tertiary);\n ${comboboxTokens.dividerHeight}: 0.063rem;\n ${comboboxTokens.dividerMarginTop}: 0;\n ${comboboxTokens.dividerMarginRight}: 0.75rem;\n ${comboboxTokens.dividerMarginBottom}: 0;\n ${comboboxTokens.dividerMarginLeft}: 0.75rem;\n\n ${comboboxTokens.itemWidth}: auto;\n ${comboboxTokens.itemHeight}: 1.5rem;\n ${comboboxTokens.itemPaddingTop}: 0.5rem;\n ${comboboxTokens.itemPaddingRight}: 0.75rem;\n ${comboboxTokens.itemPaddingBottom}: 0.5rem;\n ${comboboxTokens.itemPaddingLeft}: 0.75rem;\n ${comboboxTokens.itemBorderRadius}: 0.5rem;\n ${comboboxTokens.itemContentLeftWidth}: 1.75rem;\n ${comboboxTokens.itemFontFamily}: var(--plasma-typo-body-s-font-family);\n ${comboboxTokens.itemFontSize}: var(--plasma-typo-body-s-font-size);\n ${comboboxTokens.itemFontStyle}: var(--plasma-typo-body-s-font-style);\n ${comboboxTokens.itemFontWeightBold}: var(--plasma-typo-body-s-font-weight);\n ${comboboxTokens.itemFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${comboboxTokens.itemFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${comboboxTokens.chipGap}: 0.25rem;\n ${comboboxTokens.chipBorderRadius}: 0.25rem;\n ${comboboxTokens.chipWidth}: auto;\n ${comboboxTokens.chipHeight}: 1.75rem;\n ${comboboxTokens.chipPadding}: 0 0.5rem 0 0.75rem;\n ${comboboxTokens.chipClearContentMarginLeft}: 0.375rem;\n ${comboboxTokens.chipClearContentMarginRight}: 0rem;\n ${comboboxTokens.chipCloseIconSize}: 0.75rem;\n ${comboboxTokens.chipFontFamily}: var(--plasma-typo-body-s-font-family);\n ${comboboxTokens.chipFontSize}: var(--plasma-typo-body-s-font-size);\n ${comboboxTokens.chipFontStyle}: var(--plasma-typo-body-s-font-style);\n ${comboboxTokens.chipFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${comboboxTokens.chipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${comboboxTokens.chipLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${comboboxTokens.targetArrowRight}: 0.75rem;\n ${comboboxTokens.targetHeight}: 2.5rem;\n ${comboboxTokens.targetWidth}: 100%;\n ${comboboxTokens.targetRadius}: 0.625rem;\n ${comboboxTokens.targetPadding}: 0 3rem 0 1rem;\n ${comboboxTokens.targetPaddingHasChips}: 0 3.125rem 0 0.375rem;\n ${comboboxTokens.targetPaddingWithInput}: 0 3.125rem 0 0.625rem;\n ${comboboxTokens.targetInnerTop}: 0.5rem;\n ${comboboxTokens.targetLabelInnerTop}: 0.375rem;\n ${comboboxTokens.targetFontFamily}: var(--plasma-typo-body-s-font-family);\n ${comboboxTokens.targetFontSize}: var(--plasma-typo-body-s-font-size);\n ${comboboxTokens.targetFontStyle}: var(--plasma-typo-body-s-font-style);\n ${comboboxTokens.targetFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${comboboxTokens.targetLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${comboboxTokens.targetLineHeight}: var(--plasma-typo-body-s-line-height);\n ${comboboxTokens.targetLabelInnerFontFamily}: var(--plasma-typo-body-xxs-font-family);\n ${comboboxTokens.targetLabelInnerFontSize}: var(--plasma-typo-body-xxs-font-size);\n ${comboboxTokens.targetLabelInnerFontStyle}: var(--plasma-typo-body-xxs-font-style);\n ${comboboxTokens.targetLabelInnerFontWeight}: var(--plasma-typo-body-xxs-font-weight);\n ${comboboxTokens.targetLabelInnerLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);\n ${comboboxTokens.targetLabelInnerLineHeight}: var(--plasma-typo-body-xxs-line-height);\n `,\n m: css`\n ${comboboxTokens.width}: 100%;\n ${comboboxTokens.height}: auto;\n ${comboboxTokens.borderRadius}: 0.75rem;\n ${comboboxTokens.paddingTop}: 0.125rem;\n ${comboboxTokens.paddingRight}: 0.125rem;\n ${comboboxTokens.paddingBottom}: 0.125rem;\n ${comboboxTokens.paddingLeft}: 0.125rem;\n\n ${comboboxTokens.dividerColor}: var(--surface-transparent-tertiary);\n ${comboboxTokens.dividerHeight}: 0.063rem;\n ${comboboxTokens.dividerMarginTop}: 0;\n ${comboboxTokens.dividerMarginRight}: 0.875rem;\n ${comboboxTokens.dividerMarginBottom}: 0;\n ${comboboxTokens.dividerMarginLeft}: 0.875rem;\n\n ${comboboxTokens.itemWidth}: auto;\n ${comboboxTokens.itemHeight}: 1.5rem;\n ${comboboxTokens.itemPaddingTop}: 0.75rem;\n ${comboboxTokens.itemPaddingRight}: 0.875rem;\n ${comboboxTokens.itemPaddingBottom}: 0.75rem;\n ${comboboxTokens.itemPaddingLeft}: 0.875rem;\n ${comboboxTokens.itemBorderRadius}: 0.625rem;\n ${comboboxTokens.itemContentLeftWidth}: 1.75rem;\n ${comboboxTokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);\n ${comboboxTokens.itemFontSize}: var(--plasma-typo-body-m-font-size);\n ${comboboxTokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);\n ${comboboxTokens.itemFontWeightBold}: var(--plasma-typo-body-m-font-weight);\n ${comboboxTokens.itemFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${comboboxTokens.itemFontLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${comboboxTokens.chipGap}: 0.25rem;\n ${comboboxTokens.chipBorderRadius}: 0.375rem;\n ${comboboxTokens.chipWidth}: auto;\n ${comboboxTokens.chipHeight}: 2.25rem;\n ${comboboxTokens.chipPadding}: 0 0.875rem 0 0.625rem;\n ${comboboxTokens.chipClearContentMarginLeft}: 0.5rem;\n ${comboboxTokens.chipClearContentMarginRight}: 0rem;\n ${comboboxTokens.chipCloseIconSize}: 1rem;\n ${comboboxTokens.chipFontFamily}: var(--plasma-typo-body-m-font-family);\n ${comboboxTokens.chipFontSize}: var(--plasma-typo-body-m-font-size);\n ${comboboxTokens.chipFontStyle}: var(--plasma-typo-body-m-font-style);\n ${comboboxTokens.chipFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${comboboxTokens.chipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${comboboxTokens.chipLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${comboboxTokens.targetArrowRight}: 0.875rem;\n ${comboboxTokens.targetHeight}: 3rem;\n ${comboboxTokens.targetWidth}: 100%;\n ${comboboxTokens.targetRadius}: 0.75rem;\n ${comboboxTokens.targetPadding}: 0 3.25rem 0 1.25rem;\n ${comboboxTokens.targetPaddingHasChips}: 0 3.375rem 0 0.375rem;\n ${comboboxTokens.targetPaddingWithInput}: 0 3.375rem 0 0.625rem;\n ${comboboxTokens.targetInnerTop}: 0.5rem;\n ${comboboxTokens.targetLabelInnerTop}: 0.375rem;\n ${comboboxTokens.targetFontFamily}: var(--plasma-typo-body-m-font-family);\n ${comboboxTokens.targetFontSize}: var(--plasma-typo-body-m-font-size);\n ${comboboxTokens.targetFontStyle}: var(--plasma-typo-body-m-font-style);\n ${comboboxTokens.targetFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${comboboxTokens.targetLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${comboboxTokens.targetLineHeight}: var(--plasma-typo-body-m-line-height);\n ${comboboxTokens.targetLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${comboboxTokens.targetLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);\n ${comboboxTokens.targetLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${comboboxTokens.targetLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${comboboxTokens.targetLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${comboboxTokens.targetLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n l: css`\n ${comboboxTokens.width}: 100%;\n ${comboboxTokens.height}: auto;\n ${comboboxTokens.borderRadius}: 0.875rem;\n ${comboboxTokens.paddingTop}: 0.125rem;\n ${comboboxTokens.paddingRight}: 0.125rem;\n ${comboboxTokens.paddingBottom}: 0.125rem;\n ${comboboxTokens.paddingLeft}: 0.125rem;\n\n ${comboboxTokens.dividerColor}: var(--surface-transparent-tertiary);\n ${comboboxTokens.dividerHeight}: 0.063rem;\n ${comboboxTokens.dividerMarginTop}: 0;\n ${comboboxTokens.dividerMarginRight}: 1rem;\n ${comboboxTokens.dividerMarginBottom}: 0;\n ${comboboxTokens.dividerMarginLeft}: 1rem;\n\n ${comboboxTokens.itemWidth}: auto;\n ${comboboxTokens.itemHeight}: 1.5rem;\n ${comboboxTokens.itemPaddingTop}: 1rem;\n ${comboboxTokens.itemPaddingRight}: 1rem;\n ${comboboxTokens.itemPaddingBottom}: 1rem;\n ${comboboxTokens.itemPaddingLeft}: 1rem;\n ${comboboxTokens.itemBorderRadius}: 0.75rem;\n ${comboboxTokens.itemContentLeftWidth}: 1.875rem;\n ${comboboxTokens.itemFontFamily}: var(--plasma-typo-body-l-font-family);\n ${comboboxTokens.itemFontSize}: var(--plasma-typo-body-l-font-size);\n ${comboboxTokens.itemFontStyle}: var(--plasma-typo-body-l-font-style);\n ${comboboxTokens.itemFontWeightBold}: var(--plasma-typo-body-l-font-weight);\n ${comboboxTokens.itemFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${comboboxTokens.itemFontLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${comboboxTokens.chipGap}: 0.25rem;\n ${comboboxTokens.chipBorderRadius}: 0.5rem;\n ${comboboxTokens.chipWidth}: auto;\n ${comboboxTokens.chipHeight}: 2.75rem;\n ${comboboxTokens.chipPadding}: 0 0.75rem 0 1rem;\n ${comboboxTokens.chipClearContentMarginLeft}: 0.625rem;\n ${comboboxTokens.chipClearContentMarginRight}: 0rem;\n ${comboboxTokens.chipCloseIconSize}: 1rem;\n ${comboboxTokens.chipFontFamily}: var(--plasma-typo-body-m-font-family);\n ${comboboxTokens.chipFontSize}: var(--plasma-typo-body-m-font-size);\n ${comboboxTokens.chipFontStyle}: var(--plasma-typo-body-m-font-style);\n ${comboboxTokens.chipFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${comboboxTokens.chipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${comboboxTokens.chipLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${comboboxTokens.targetArrowRight}: 1rem;\n ${comboboxTokens.targetHeight}: 3.5rem;\n ${comboboxTokens.targetWidth}: 100%;\n ${comboboxTokens.targetRadius}: 0.875rem;\n ${comboboxTokens.targetPadding}: 0 3.5rem 0 1.5rem;\n ${comboboxTokens.targetPaddingHasChips}: 0 3.625rem 0 0.375rem;\n ${comboboxTokens.targetPaddingWithInput}: 0 3.625rem 0 0.625rem;\n ${comboboxTokens.targetInnerTop}: 0.5rem;\n ${comboboxTokens.targetLabelInnerTop}: 0.375rem;\n ${comboboxTokens.targetFontFamily}: var(--plasma-typo-body-l-font-family);\n ${comboboxTokens.targetFontSize}: var(--plasma-typo-body-l-font-size);\n ${comboboxTokens.targetFontStyle}: var(--plasma-typo-body-l-font-style);\n ${comboboxTokens.targetFontWeight}: var(--plasma-typo-body-l-font-weight);\n ${comboboxTokens.targetLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${comboboxTokens.targetLineHeight}: var(--plasma-typo-body-l-line-height);\n ${comboboxTokens.targetLabelInnerFontFamily}: var(--plasma-typo-body-s-font-family);\n ${comboboxTokens.targetLabelInnerFontSize}: var(--plasma-typo-body-s-font-size);\n ${comboboxTokens.targetLabelInnerFontStyle}: var(--plasma-typo-body-s-font-style);\n ${comboboxTokens.targetLabelInnerFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${comboboxTokens.targetLabelInnerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${comboboxTokens.targetLabelInnerLineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n },\n view: {\n default: css`\n ${comboboxTokens.targetColor}: var(--text-primary);\n ${comboboxTokens.targetLabelColor}: var(--text-secondary);\n ${comboboxTokens.targetArrowColor}: var(--text-secondary);\n ${comboboxTokens.targetBorderColor}: var(--text-tertiary);\n ${comboboxTokens.targetBorderColorHover}: var(--text-tertiary-hover);\n ${comboboxTokens.targetBorderColorActive}: var(--text-tertiary-active);\n ${comboboxTokens.targetBorderColorOpen}: var(--text-accent);\n\n ${comboboxTokens.background}: var(--surface-solid-card-brightness);\n ${comboboxTokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04); /* TODO: Забирать из токена --shadow-down-soft-s */\n\n ${comboboxTokens.itemBackground}: transparent;\n ${comboboxTokens.itemBackgroundHover}: var(--surface-transparent-secondary);\n ${comboboxTokens.itemBackgroundSelectedHover}: var(--surface-transparent-secondary);\n ${comboboxTokens.itemColor}: var(--text-primary);\n ${comboboxTokens.itemContentLeftColor}: var(--text-accent);\n\n ${comboboxTokens.chipCloseIconColor}: var(--text-secondary);\n ${comboboxTokens.chipColor}: var(--text-primary);\n ${comboboxTokens.chipBackground}: var(--surface-transparent-secondary);\n ${comboboxTokens.chipColorHover}: var(--text-primary);\n ${comboboxTokens.chipBackgroundHover}: var(--surface-transparent-secondary-hover);\n ${comboboxTokens.chipColorActive}: var(--text-primary);\n ${comboboxTokens.chipBackgroundActive}: var(--surface-transparent-secondary-active);\n ${comboboxTokens.chipBackgroundReadOnly}: var(--surface-transparent-secondary);\n ${comboboxTokens.chipColorReadOnly}: var(--text-primary);\n ${comboboxTokens.chipBackgroundReadOnlyHover}: var(--surface-transparent-secondary);\n ${comboboxTokens.chipColorReadOnlyHover}: var(--text-primary);\n ${comboboxTokens.chipOpacityReadonly}: 0.72;\n\n ${comboboxTokens.disabledOpacity}: 0.4;\n ${comboboxTokens.focusColor}: var(--surface-accent);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","xs","s","m","l","default"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;AACFE,MAAAA,EAAE,EAmED,UAAA;AACDC,MAAAA,CAAC,EAmEA,SAAA;AACDC,MAAAA,CAAC,EAmEA,SAAA;AACDC,MAAAA,CAAC,EAAA,UAAA;KAoEJ;AACDN,IAAAA,IAAI,EAAE;MACFO,SAAO,EAAA,UAAA;AAkCX,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.x1m2v3ds{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.5rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.5rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.375rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.5rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.375rem;--plasma-combobox-old-item-border-radius:0.375rem;--plasma-combobox-old-item-content-left-width:1.25rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.125rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.25rem;--plasma-combobox-old-chip-padding:0 0.375rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.25rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-arrow-right:0.5rem;--plasma-combobox-old-target-height:2rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.5rem;--plasma-combobox-old-target-padding:0 2.5rem 0 0.75rem;--plasma-combobox-old-target-padding-has-chips:0 2.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 2.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.snjir4d{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.625rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.75rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.75rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.75rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.75rem;--plasma-combobox-old-item-border-radius:0.5rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.25rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.75rem;--plasma-combobox-old-chip-padding:0 0.5rem 0 0.75rem;--plasma-combobox-old-chip-clear-content-margin-left:0.375rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-arrow-right:0.75rem;--plasma-combobox-old-target-height:2.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.625rem;--plasma-combobox-old-target-padding:0 3rem 0 1rem;--plasma-combobox-old-target-padding-has-chips:0 3.125rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.125rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xxs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xxs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xxs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xxs-line-height);}
|
|
3
|
-
.m8yng6k{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.75rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.875rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.875rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.75rem;--plasma-combobox-old-item-padding-right:0.875rem;--plasma-combobox-old-item-padding-bottom:0.75rem;--plasma-combobox-old-item-padding-left:0.875rem;--plasma-combobox-old-item-border-radius:0.625rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.375rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.25rem;--plasma-combobox-old-chip-padding:0 0.875rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.5rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:0.875rem;--plasma-combobox-old-target-height:3rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.75rem;--plasma-combobox-old-target-padding:0 3.25rem 0 1.25rem;--plasma-combobox-old-target-padding-has-chips:0 3.375rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.375rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
4
|
-
.l1t5xra2{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.875rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:1rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:1rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:1rem;--plasma-combobox-old-item-padding-right:1rem;--plasma-combobox-old-item-padding-bottom:1rem;--plasma-combobox-old-item-padding-left:1rem;--plasma-combobox-old-item-border-radius:0.75rem;--plasma-combobox-old-item-content-left-width:1.875rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-l-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.5rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.75rem;--plasma-combobox-old-chip-padding:0 0.75rem 0 1rem;--plasma-combobox-old-chip-clear-content-margin-left:0.625rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:1rem;--plasma-combobox-old-target-height:3.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.875rem;--plasma-combobox-old-target-padding:0 3.5rem 0 1.5rem;--plasma-combobox-old-target-padding-has-chips:0 3.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-l-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-s-line-height);}
|
|
5
|
-
.d1i24k0f{--plasma-combobox-old-target-color:var(--text-primary);--plasma-combobox-old-target-label-color:var(--text-secondary);--plasma-combobox-old-target-arrow-color:var(--text-secondary);--plasma-combobox-old-target-border-color:var(--text-tertiary);--plasma-combobox-old-target-border-color-hover:var(--text-tertiary-hover);--plasma-combobox-old-target-border-color-active:var(--text-tertiary-active);--plasma-combobox-old-target-border-color-open:var(--text-accent);--plasma-combobox-old-background:var(--surface-solid-card-brightness);--plasma-combobox-old-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-combobox-old-item-background:transparent;--plasma-combobox-old-item-background-hover:var(--surface-transparent-secondary);--plasma-combobox-old-item-background-selected-hover:var(--surface-transparent-secondary);--plasma-combobox-old-item-color:var(--text-primary);--plasma-combobox-old-item-content-left-color:var(--text-accent);--plasma-combobox-old-chip-close-icon-color:var(--text-secondary);--plasma-combobox-old-chip-color:var(--text-primary);--plasma-combobox-old-chip-background:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-hover:var(--text-primary);--plasma-combobox-old-chip-background-hover:var(--surface-transparent-secondary-hover);--plasma-combobox-old-chip-color-active:var(--text-primary);--plasma-combobox-old-chip-background-active:var(--surface-transparent-secondary-active);--plasma-combobox-old-chip-background-readonly:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-readonly:var(--text-primary);--plasma-combobox-old-chip-background-readonly-hover:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-readonly-hover:var(--text-primary);--plasma-combobox-old-chip-opacity-readonly:0.72;--plasma-combobox-old-disabled-opacity:0.4;--plasma-combobox-old-focus-color:var(--surface-accent);}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.Combobox_config_g6rh1c_x1m2v3ds__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.5rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.5rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.375rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.5rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.375rem;--plasma-combobox-old-item-border-radius:0.375rem;--plasma-combobox-old-item-content-left-width:1.25rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.125rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.25rem;--plasma-combobox-old-chip-padding:0 0.375rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.25rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-arrow-right:0.5rem;--plasma-combobox-old-target-height:2rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.5rem;--plasma-combobox-old-target-padding:0 2.5rem 0 0.75rem;--plasma-combobox-old-target-padding-has-chips:0 2.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 2.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-xs-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.Combobox_config_g6rh1c_snjir4d__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.625rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.75rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.75rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.5rem;--plasma-combobox-old-item-padding-right:0.75rem;--plasma-combobox-old-item-padding-bottom:0.5rem;--plasma-combobox-old-item-padding-left:0.75rem;--plasma-combobox-old-item-border-radius:0.5rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.25rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:1.75rem;--plasma-combobox-old-chip-padding:0 0.5rem 0 0.75rem;--plasma-combobox-old-chip-clear-content-margin-left:0.375rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:0.75rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-arrow-right:0.75rem;--plasma-combobox-old-target-height:2.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.625rem;--plasma-combobox-old-target-padding:0 3rem 0 1rem;--plasma-combobox-old-target-padding-has-chips:0 3.125rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.125rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-s-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xxs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xxs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xxs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xxs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xxs-line-height);}
|
|
3
|
-
.Combobox_config_g6rh1c_m8yng6k__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.75rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:0.875rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:0.875rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:0.75rem;--plasma-combobox-old-item-padding-right:0.875rem;--plasma-combobox-old-item-padding-bottom:0.75rem;--plasma-combobox-old-item-padding-left:0.875rem;--plasma-combobox-old-item-border-radius:0.625rem;--plasma-combobox-old-item-content-left-width:1.75rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.375rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.25rem;--plasma-combobox-old-chip-padding:0 0.875rem 0 0.625rem;--plasma-combobox-old-chip-clear-content-margin-left:0.5rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:0.875rem;--plasma-combobox-old-target-height:3rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.75rem;--plasma-combobox-old-target-padding:0 3.25rem 0 1.25rem;--plasma-combobox-old-target-padding-has-chips:0 3.375rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.375rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-xs-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-xs-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-xs-line-height);}
|
|
4
|
-
.Combobox_config_g6rh1c_l1t5xra2__76a3a875{--plasma-combobox-old-width:100%;--plasma-combobox-old-height:auto;--plasma-combobox-old-border-radius:0.875rem;--plasma-combobox-old-padding-top:0.125rem;--plasma-combobox-old-padding-right:0.125rem;--plasma-combobox-old-padding-bottom:0.125rem;--plasma-combobox-old-padding-left:0.125rem;--plasma-combobox-old-divider-color:var(--surface-transparent-tertiary);--plasma-combobox-old-divider-height:0.063rem;--plasma-combobox-old-divider-margin-top:0;--plasma-combobox-old-divider-margin-right:1rem;--plasma-combobox-old-divider-margin-bottom:0;--plasma-combobox-old-divider-margin-left:1rem;--plasma-combobox-old-item-width:auto;--plasma-combobox-old-item-height:1.5rem;--plasma-combobox-old-item-padding-top:1rem;--plasma-combobox-old-item-padding-right:1rem;--plasma-combobox-old-item-padding-bottom:1rem;--plasma-combobox-old-item-padding-left:1rem;--plasma-combobox-old-item-border-radius:0.75rem;--plasma-combobox-old-item-content-left-width:1.875rem;--plasma-combobox-old-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-old-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-old-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-old-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-combobox-old-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-old-item-font-weight:var(--plasma-typo-body-l-line-height);--plasma-combobox-old-chip-gap:0.25rem;--plasma-combobox-old-chip-border-radius:0.5rem;--plasma-combobox-old-chip-width:auto;--plasma-combobox-old-chip-height:2.75rem;--plasma-combobox-old-chip-padding:0 0.75rem 0 1rem;--plasma-combobox-old-chip-clear-content-margin-left:0.625rem;--plasma-combobox-old-chip-clear-content-margin-right:0rem;--plasma-combobox-old-chip-close-icon-size:1rem;--plasma-combobox-old-chip-font-family:var(--plasma-typo-body-m-font-family);--plasma-combobox-old-chip-font-size:var(--plasma-typo-body-m-font-size);--plasma-combobox-old-chip-font-style:var(--plasma-typo-body-m-font-style);--plasma-combobox-old-chip-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-combobox-old-chip-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-combobox-old-chip-line-height:var(--plasma-typo-body-m-line-height);--plasma-combobox-old-target-arrow-right:1rem;--plasma-combobox-old-target-height:3.5rem;--plasma-combobox-old-target-width:100%;--plasma-combobox-old-target-radius:0.875rem;--plasma-combobox-old-target-padding:0 3.5rem 0 1.5rem;--plasma-combobox-old-target-padding-has-chips:0 3.625rem 0 0.375rem;--plasma-combobox-old-target-with-input:0 3.625rem 0 0.625rem;--plasma-combobox-old-target-inner-top:0.5rem;--plasma-combobox-old-target-label-inner-top:0.375rem;--plasma-combobox-old-target-font-family:var(--plasma-typo-body-l-font-family);--plasma-combobox-old-target-font-size:var(--plasma-typo-body-l-font-size);--plasma-combobox-old-target-font-style:var(--plasma-typo-body-l-font-style);--plasma-combobox-old-target-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-combobox-old-target-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-combobox-old-target-line-height:var(--plasma-typo-body-l-line-height);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-s-font-family);--plasma-combobox-old-target-label-inner-font-family:var(--plasma-typo-body-s-font-size);--plasma-combobox-old-target-label-inner-font-style:var(--plasma-typo-body-s-font-style);--plasma-combobox-old-target-label-inner-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-combobox-old-target-label-inner-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-combobox-old-target-label-inner-line-height:var(--plasma-typo-body-s-line-height);}
|
|
5
|
-
.Combobox_config_g6rh1c_d1i24k0f__76a3a875{--plasma-combobox-old-target-color:var(--text-primary);--plasma-combobox-old-target-label-color:var(--text-secondary);--plasma-combobox-old-target-arrow-color:var(--text-secondary);--plasma-combobox-old-target-border-color:var(--text-tertiary);--plasma-combobox-old-target-border-color-hover:var(--text-tertiary-hover);--plasma-combobox-old-target-border-color-active:var(--text-tertiary-active);--plasma-combobox-old-target-border-color-open:var(--text-accent);--plasma-combobox-old-background:var(--surface-solid-card-brightness);--plasma-combobox-old-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-combobox-old-item-background:transparent;--plasma-combobox-old-item-background-hover:var(--surface-transparent-secondary);--plasma-combobox-old-item-background-selected-hover:var(--surface-transparent-secondary);--plasma-combobox-old-item-color:var(--text-primary);--plasma-combobox-old-item-content-left-color:var(--text-accent);--plasma-combobox-old-chip-close-icon-color:var(--text-secondary);--plasma-combobox-old-chip-color:var(--text-primary);--plasma-combobox-old-chip-background:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-hover:var(--text-primary);--plasma-combobox-old-chip-background-hover:var(--surface-transparent-secondary-hover);--plasma-combobox-old-chip-color-active:var(--text-primary);--plasma-combobox-old-chip-background-active:var(--surface-transparent-secondary-active);--plasma-combobox-old-chip-background-readonly:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-readonly:var(--text-primary);--plasma-combobox-old-chip-background-readonly-hover:var(--surface-transparent-secondary);--plasma-combobox-old-chip-color-readonly-hover:var(--text-primary);--plasma-combobox-old-chip-opacity-readonly:0.72;--plasma-combobox-old-disabled-opacity:0.4;--plasma-combobox-old-focus-color:var(--surface-accent);}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { component, mergeConfig, comboboxItemConfig, comboboxDividerConfig, comboboxFooterConfig, comboboxGroupConfig, comboboxHeaderConfig, comboboxOldConfig } from '@salutejs/plasma-new-hope/css';
|
|
2
|
-
import { config } from './Combobox.config.js';
|
|
3
|
-
|
|
4
|
-
var mergedConfig = /*#__PURE__*/mergeConfig(comboboxOldConfig, config);
|
|
5
|
-
var Combobox = /*#__PURE__*/component(mergedConfig);
|
|
6
|
-
var mergedItemConfig = /*#__PURE__*/mergeConfig(comboboxItemConfig);
|
|
7
|
-
var ComboboxItem = /*#__PURE__*/component(mergedItemConfig);
|
|
8
|
-
var mergedDividerConfig = /*#__PURE__*/mergeConfig(comboboxDividerConfig);
|
|
9
|
-
var ComboboxDivider = /*#__PURE__*/component(mergedDividerConfig);
|
|
10
|
-
var mergedFooterConfig = /*#__PURE__*/mergeConfig(comboboxFooterConfig);
|
|
11
|
-
var ComboboxFooter = /*#__PURE__*/component(mergedFooterConfig);
|
|
12
|
-
var mergedGroupConfig = /*#__PURE__*/mergeConfig(comboboxGroupConfig);
|
|
13
|
-
var ComboboxGroup = /*#__PURE__*/component(mergedGroupConfig);
|
|
14
|
-
var mergedHeaderConfig = /*#__PURE__*/mergeConfig(comboboxHeaderConfig);
|
|
15
|
-
var ComboboxHeader = /*#__PURE__*/component(mergedHeaderConfig);
|
|
16
|
-
|
|
17
|
-
export { Combobox, ComboboxDivider, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxItem };
|
|
18
|
-
//# sourceMappingURL=Combobox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../../../src-css/components/Combobox/Legacy/Combobox.ts"],"sourcesContent":["import {\n comboboxOldConfig,\n comboboxItemConfig,\n comboboxDividerConfig,\n comboboxFooterConfig,\n comboboxGroupConfig,\n comboboxHeaderConfig,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope/css';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxOldConfig, config);\nexport const Combobox = component(mergedConfig);\n\nconst mergedItemConfig = mergeConfig(comboboxItemConfig);\nexport const ComboboxItem = component(mergedItemConfig);\n\nconst mergedDividerConfig = mergeConfig(comboboxDividerConfig);\nexport const ComboboxDivider = component(mergedDividerConfig);\n\nconst mergedFooterConfig = mergeConfig(comboboxFooterConfig);\nexport const ComboboxFooter = component(mergedFooterConfig);\n\nconst mergedGroupConfig = mergeConfig(comboboxGroupConfig);\nexport const ComboboxGroup = component(mergedGroupConfig);\n\nconst mergedHeaderConfig = mergeConfig(comboboxHeaderConfig);\nexport const ComboboxHeader = component(mergedHeaderConfig);\n"],"names":["mergedConfig","mergeConfig","comboboxOldConfig","config","Combobox","component","mergedItemConfig","comboboxItemConfig","ComboboxItem","mergedDividerConfig","comboboxDividerConfig","ComboboxDivider","mergedFooterConfig","comboboxFooterConfig","ComboboxFooter","mergedGroupConfig","comboboxGroupConfig","ComboboxGroup","mergedHeaderConfig","comboboxHeaderConfig","ComboboxHeader"],"mappings":";;;AAaA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;IAC9CC,QAAQ,gBAAGC,SAAS,CAACL,YAAY,EAAC;AAE/C,IAAMM,gBAAgB,gBAAGL,WAAW,CAACM,kBAAkB,CAAC,CAAA;IAC3CC,YAAY,gBAAGH,SAAS,CAACC,gBAAgB,EAAC;AAEvD,IAAMG,mBAAmB,gBAAGR,WAAW,CAACS,qBAAqB,CAAC,CAAA;IACjDC,eAAe,gBAAGN,SAAS,CAACI,mBAAmB,EAAC;AAE7D,IAAMG,kBAAkB,gBAAGX,WAAW,CAACY,oBAAoB,CAAC,CAAA;IAC/CC,cAAc,gBAAGT,SAAS,CAACO,kBAAkB,EAAC;AAE3D,IAAMG,iBAAiB,gBAAGd,WAAW,CAACe,mBAAmB,CAAC,CAAA;IAC7CC,aAAa,gBAAGZ,SAAS,CAACU,iBAAiB,EAAC;AAEzD,IAAMG,kBAAkB,gBAAGjB,WAAW,CAACkB,oBAAoB,CAAC,CAAA;IAC/CC,cAAc,gBAAGf,SAAS,CAACa,kBAAkB;;;;"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2, taggedTemplateLiteral as _taggedTemplateLiteral } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React, { forwardRef } from 'react';
|
|
3
|
-
import { component, mergeConfig, dropdownItemOldConfig } from '@salutejs/plasma-new-hope/css';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { IconDone } from '@salutejs/plasma-icons';
|
|
6
|
-
import { accent } from '@salutejs/plasma-core';
|
|
7
|
-
|
|
8
|
-
var _excluded = ["value", "label", "color", "contentLeft", "isActive", "isHovered", "index", "onClick", "onHover", "onFocus", "items", "isDisabled", "style"];
|
|
9
|
-
var _templateObject, _StyledCheck;
|
|
10
|
-
var mergedItemConfig = /*#__PURE__*/mergeConfig(dropdownItemOldConfig);
|
|
11
|
-
var DropdownNewHopeItem = /*#__PURE__*/component(mergedItemConfig);
|
|
12
|
-
var StyledCheck = /*#__PURE__*/styled(IconDone)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n margin-left: auto;\n pointer-events: none;\n margin-right: -0.5rem;\n"])));
|
|
13
|
-
var DropdownItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
14
|
-
var value = props.value,
|
|
15
|
-
label = props.label,
|
|
16
|
-
color = props.color,
|
|
17
|
-
contentLeft = props.contentLeft,
|
|
18
|
-
isActive = props.isActive,
|
|
19
|
-
index = props.index,
|
|
20
|
-
onClick = props.onClick,
|
|
21
|
-
onHover = props.onHover,
|
|
22
|
-
onFocus = props.onFocus,
|
|
23
|
-
isDisabled = props.isDisabled,
|
|
24
|
-
style = props.style,
|
|
25
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
26
|
-
var handleClick = function handleClick(e) {
|
|
27
|
-
if (onClick) {
|
|
28
|
-
onClick({
|
|
29
|
-
value: value,
|
|
30
|
-
label: label,
|
|
31
|
-
color: color,
|
|
32
|
-
contentLeft: contentLeft
|
|
33
|
-
}, e);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
var handleHover = function handleHover() {
|
|
37
|
-
if (onHover) {
|
|
38
|
-
onHover(index);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
return /*#__PURE__*/React.createElement(DropdownNewHopeItem, _extends({}, rest, {
|
|
42
|
-
value: value,
|
|
43
|
-
text: label,
|
|
44
|
-
ref: ref,
|
|
45
|
-
style: _objectSpread2(_objectSpread2({}, style), {}, {
|
|
46
|
-
color: color
|
|
47
|
-
}),
|
|
48
|
-
contentLeft: contentLeft,
|
|
49
|
-
contentRight: isActive ? _StyledCheck || (_StyledCheck = /*#__PURE__*/React.createElement(StyledCheck, {
|
|
50
|
-
size: "s",
|
|
51
|
-
color: accent
|
|
52
|
-
})) : undefined,
|
|
53
|
-
onClick: handleClick,
|
|
54
|
-
onMouseOver: handleHover,
|
|
55
|
-
onFocus: onFocus,
|
|
56
|
-
disabled: isDisabled
|
|
57
|
-
}));
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
export { DropdownItem, DropdownNewHopeItem };
|
|
61
|
-
//# sourceMappingURL=DropdownItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownItem.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownItem.tsx"],"sourcesContent":["import React, { forwardRef, SyntheticEvent } from 'react';\nimport { DropdownItemProps } from '@salutejs/plasma-hope';\nimport { component, dropdownItemOldConfig, mergeConfig } from '@salutejs/plasma-new-hope/css';\nimport styled from 'styled-components';\nimport { IconDone } from '@salutejs/plasma-icons';\nimport { accent } from '@salutejs/plasma-core';\n\nconst mergedItemConfig = mergeConfig(dropdownItemOldConfig);\nexport const DropdownNewHopeItem = component(mergedItemConfig);\n\nconst StyledCheck = styled(IconDone)`\n margin-left: auto;\n pointer-events: none;\n margin-right: -0.5rem;\n`;\n\nexport const DropdownItem = forwardRef<HTMLDivElement, DropdownItemProps>((props, ref) => {\n const {\n value,\n label,\n color,\n contentLeft,\n isActive,\n isHovered,\n index,\n onClick,\n onHover,\n onFocus,\n items,\n isDisabled,\n style,\n ...rest\n } = props;\n\n const handleClick = (e: SyntheticEvent<Element, Event>) => {\n if (onClick) {\n onClick({ value, label, color, contentLeft }, e);\n }\n };\n\n const handleHover = () => {\n if (onHover) {\n onHover(index);\n }\n };\n\n return (\n <DropdownNewHopeItem\n {...(rest as any)}\n value={value}\n text={label}\n ref={ref}\n style={{ ...style, color }}\n contentLeft={contentLeft}\n contentRight={isActive ? <StyledCheck size=\"s\" color={accent} /> : undefined}\n onClick={handleClick}\n onMouseOver={handleHover}\n onFocus={onFocus}\n disabled={isDisabled}\n />\n );\n});\n"],"names":["mergedItemConfig","mergeConfig","dropdownItemOldConfig","DropdownNewHopeItem","component","StyledCheck","styled","IconDone","_templateObject","_taggedTemplateLiteral","DropdownItem","forwardRef","props","ref","value","label","color","contentLeft","isActive","index","onClick","onHover","onFocus","isDisabled","style","rest","_objectWithoutProperties","_excluded","handleClick","e","handleHover","React","createElement","_extends","text","_objectSpread","contentRight","_StyledCheck","size","accent","undefined","onMouseOver","disabled"],"mappings":";;;;;;;;;AAOA,IAAMA,gBAAgB,gBAAGC,WAAW,CAACC,qBAAqB,CAAC,CAAA;IAC9CC,mBAAmB,gBAAGC,SAAS,CAACJ,gBAAgB,EAAC;AAE9D,IAAMK,WAAW,gBAAGC,MAAM,CAACC,QAAQ,CAAC,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,sBAAA,CAInC,CAAA,mFAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEM,IAAMC,YAAY,gBAAGC,UAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtF,EAAA,IACIC,KAAK,GAcLF,KAAK,CAdLE,KAAK,CAAA;IACLC,KAAK,GAaLH,KAAK,CAbLG,KAAK,CAAA;IACLC,KAAK,GAYLJ,KAAK,CAZLI,KAAK,CAAA;IACLC,WAAW,GAWXL,KAAK,CAXLK,WAAW,CAAA;IACXC,QAAQ,GAURN,KAAK,CAVLM,QAAQ,CAAA;IAERC,KAAK,GAQLP,KAAK,CARLO,KAAK,CAAA;IACLC,OAAO,GAOPR,KAAK,CAPLQ,OAAO,CAAA;IACPC,OAAO,GAMPT,KAAK,CANLS,OAAO,CAAA;IACPC,OAAO,GAKPV,KAAK,CALLU,OAAO,CAAA;IAEPC,UAAU,GAGVX,KAAK,CAHLW,UAAU,CAAA;IACVC,KAAK,GAELZ,KAAK,CAFLY,KAAK,CAAA;AACFC,IAAAA,IAAI,GAAAC,wBAAA,CACPd,KAAK,EAAAe,SAAA,EAAA;AAET,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,CAAiC,EAAK;AACvD,IAAA,IAAIT,OAAO,EAAE;AACTA,MAAAA,OAAO,CAAC;AAAEN,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,WAAW,EAAXA,WAAAA;OAAa,EAAEY,CAAC,CAAC,CAAA;AACpD,KAAA;GACH,CAAA;AAED,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAS;AACtB,IAAA,IAAIT,OAAO,EAAE;MACTA,OAAO,CAACF,KAAK,CAAC,CAAA;AAClB,KAAA;GACH,CAAA;EAED,oBACIY,KAAA,CAAAC,aAAA,CAAC7B,mBAAmB,EAAA8B,QAAA,KACXR,IAAI,EAAA;AACTX,IAAAA,KAAK,EAAEA,KAAM;AACboB,IAAAA,IAAI,EAAEnB,KAAM;AACZF,IAAAA,GAAG,EAAEA,GAAI;AACTW,IAAAA,KAAK,EAAAW,cAAA,CAAAA,cAAA,KAAOX,KAAK,CAAA,EAAA,EAAA,EAAA;AAAER,MAAAA,KAAK,EAALA,KAAAA;KAAQ,CAAA;AAC3BC,IAAAA,WAAW,EAAEA,WAAY;IACzBmB,YAAY,EAAElB,QAAQ,GAAAmB,YAAA,KAAAA,YAAA,gBAAGN,KAAA,CAAAC,aAAA,CAAC3B,WAAW,EAAA;AAACiC,MAAAA,IAAI,EAAC,GAAG;AAACtB,MAAAA,KAAK,EAAEuB,MAAAA;KAAS,CAAC,IAAGC,SAAU;AAC7EpB,IAAAA,OAAO,EAAEQ,WAAY;AACrBa,IAAAA,WAAW,EAAEX,WAAY;AACzBR,IAAAA,OAAO,EAAEA,OAAQ;AACjBoB,IAAAA,QAAQ,EAAEnB,UAAAA;AAAW,GAAA,CACxB,CAAC,CAAA;AAEV,CAAC;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { taggedTemplateLiteral as _taggedTemplateLiteral } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
|
|
4
|
-
var _templateObject;
|
|
5
|
-
var DropdownList = /*#__PURE__*/styled.ul(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n margin: 0;\n padding: 0;\n"])));
|
|
6
|
-
|
|
7
|
-
export { DropdownList };
|
|
8
|
-
//# sourceMappingURL=DropdownList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownList.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownList.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const DropdownList = styled.ul`\n margin: 0;\n padding: 0;\n`;\n"],"names":["DropdownList","styled","ul","_templateObject","_taggedTemplateLiteral"],"mappings":";;;;AAEaA,IAAAA,YAAY,gBAAGC,MAAM,CAACC,EAAE,CAAAC,eAAA,KAAAA,eAAA,gBAAAC,sBAAA,CAGpC,CAAA,qCAAA,CAAA,CAAA,CAAA;;;;"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import './DropdownOld.config_1sm61um.css';
|
|
2
|
-
var config = {
|
|
3
|
-
defaults: {
|
|
4
|
-
view: 'default',
|
|
5
|
-
size: 'm'
|
|
6
|
-
},
|
|
7
|
-
variations: {
|
|
8
|
-
size: {
|
|
9
|
-
xs: "xy53zv1",
|
|
10
|
-
s: "s1vd6y5w",
|
|
11
|
-
m: "m10ep19h",
|
|
12
|
-
l: "lq36nb2"
|
|
13
|
-
},
|
|
14
|
-
view: {
|
|
15
|
-
"default": "d148hya0"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { config };
|
|
21
|
-
//# sourceMappingURL=DropdownOld.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownOld.config.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownOld.config.ts"],"sourcesContent":["import { css, dropdownOldTokens as dropdownTokens } from '@salutejs/plasma-new-hope/css';\n\nconst dropdownSizeCommon = `\n ${dropdownTokens.width}: 100%;\n ${dropdownTokens.height}: auto;\n ${dropdownTokens.borderRadius}: 0.5rem;\n ${dropdownTokens.paddingTop}: 0.125rem;\n ${dropdownTokens.paddingRight}: 0.0625rem;\n ${dropdownTokens.paddingBottom}: 0.125rem;\n ${dropdownTokens.paddingLeft}: 0.125rem;\n`;\n\nconst dropdownItemSizeCommon = `\n ${dropdownTokens.itemWidth}: auto;\n ${dropdownTokens.itemHeight}: auto;\n ${dropdownTokens.itemMarginTop}: 0;\n ${dropdownTokens.itemMarginRight}: 0;\n ${dropdownTokens.itemMarginBottom}: 0;\n ${dropdownTokens.itemMarginLeft}: 0;\n`;\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n },\n variations: {\n size: {\n xs: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.5625rem;\n ${dropdownTokens.itemPaddingRight}: 0.5rem;\n ${dropdownTokens.itemPaddingBottom}: 0.5625rem;\n ${dropdownTokens.itemPaddingLeft}: 0.5rem;\n ${dropdownTokens.itemBorderRadius}: 0.375rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-xs-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-xs-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.6875rem;\n ${dropdownTokens.itemPaddingRight}: 0.75rem;\n ${dropdownTokens.itemPaddingBottom}: 0.6875rem;\n ${dropdownTokens.itemPaddingLeft}: 0.75rem;\n ${dropdownTokens.itemBorderRadius}: 0.5rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-s-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-s-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-s-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-s-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n m: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 0.875rem;\n ${dropdownTokens.itemPaddingRight}: 0.875rem;\n ${dropdownTokens.itemPaddingBottom}: 0.875rem;\n ${dropdownTokens.itemPaddingLeft}: 0.875rem;\n ${dropdownTokens.itemBorderRadius}: 0.625rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-m-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-m-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-m-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-m-line-height);\n `,\n l: css`\n ${dropdownSizeCommon};\n\n ${dropdownItemSizeCommon};\n ${dropdownTokens.itemPaddingTop}: 1.0625rem;\n ${dropdownTokens.itemPaddingRight}: 1rem;\n ${dropdownTokens.itemPaddingBottom}: 1.0625rem;\n ${dropdownTokens.itemPaddingLeft}: 1rem;\n ${dropdownTokens.itemBorderRadius}: 0.75rem;\n\n ${dropdownTokens.itemFontFamily}: var(--plasma-typo-body-l-font-family);\n ${dropdownTokens.itemFontSize}: var(--plasma-typo-body-l-font-size);\n ${dropdownTokens.itemFontStyle}: var(--plasma-typo-body-l-font-style);\n ${dropdownTokens.itemFontWeightBold}: var(--plasma-typo-body-l-font-weight);\n ${dropdownTokens.itemFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${dropdownTokens.itemFontLineHeight}: var(--plasma-typo-body-l-line-height);\n `,\n },\n view: {\n default: css`\n ${dropdownTokens.disabledOpacity}: 0.4;\n ${dropdownTokens.background}: var(--surface-solid-card-brightness);\n // TODO: #1131 Вернуть токен --shadow-down-soft-s\n ${dropdownTokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);\n\n ${dropdownTokens.itemBackground}: transparent;\n ${dropdownTokens.itemBackgroundHover}: var(--surface-transparent-secondary);\n ${dropdownTokens.itemBackgroundSelected}: inherit;\n ${dropdownTokens.itemColorSelected}: inherit;\n ${dropdownTokens.itemBackgroundSelectedHover}: inherit;\n ${dropdownTokens.itemColorSelectedHover}: inherit;\n ${dropdownTokens.itemColor}: var(--text-primary);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","xs","s","m","l","default"],"mappings":"AAqBO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;AACFE,MAAAA,EAAE,EAgBD,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,CAAC,EAAA,SAAA;KAiBJ;AACDN,IAAAA,IAAI,EAAE;MACFO,SAAO,EAAA,UAAA;AAcX,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.xy53zv1{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.5625rem;--plasma-dropdown-item-padding-right:0.5rem;--plasma-dropdown-item-padding-bottom:0.5625rem;--plasma-dropdown-item-padding-left:0.5rem;--plasma-dropdown-item-border-radius:0.375rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.s1vd6y5w{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.6875rem;--plasma-dropdown-item-padding-right:0.75rem;--plasma-dropdown-item-padding-bottom:0.6875rem;--plasma-dropdown-item-padding-left:0.75rem;--plasma-dropdown-item-border-radius:0.5rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-s-line-height);}
|
|
3
|
-
.m10ep19h{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.875rem;--plasma-dropdown-item-padding-right:0.875rem;--plasma-dropdown-item-padding-bottom:0.875rem;--plasma-dropdown-item-padding-left:0.875rem;--plasma-dropdown-item-border-radius:0.625rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-m-line-height);}
|
|
4
|
-
.lq36nb2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:1.0625rem;--plasma-dropdown-item-padding-right:1rem;--plasma-dropdown-item-padding-bottom:1.0625rem;--plasma-dropdown-item-padding-left:1rem;--plasma-dropdown-item-border-radius:0.75rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-l-line-height);}
|
|
5
|
-
.d148hya0{--plasma-dropdown-disabled-opacity:0.4;--plasma-dropdown-background:var(--surface-solid-card-brightness);--plasma-dropdown-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-dropdown-item-background:transparent;--plasma-dropdown-item-background-hover:var(--surface-transparent-secondary);--plasma-dropdown-item-background-selected:inherit;--plasma-dropdown-item-color-selected:inherit;--plasma-dropdown-item-background-selected-hover:inherit;--plasma-dropdown-item-color-selected-hover:inherit;--plasma-dropdown-item-color:var(--text-primary);}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
.DropdownOld_config_1sm61um_xy53zv1__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.5625rem;--plasma-dropdown-item-padding-right:0.5rem;--plasma-dropdown-item-padding-bottom:0.5625rem;--plasma-dropdown-item-padding-left:0.5rem;--plasma-dropdown-item-border-radius:0.375rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-xs-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-xs-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-xs-line-height);}
|
|
2
|
-
.DropdownOld_config_1sm61um_s1vd6y5w__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.6875rem;--plasma-dropdown-item-padding-right:0.75rem;--plasma-dropdown-item-padding-bottom:0.6875rem;--plasma-dropdown-item-padding-left:0.75rem;--plasma-dropdown-item-border-radius:0.5rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-s-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-s-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-s-line-height);}
|
|
3
|
-
.DropdownOld_config_1sm61um_m10ep19h__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:0.875rem;--plasma-dropdown-item-padding-right:0.875rem;--plasma-dropdown-item-padding-bottom:0.875rem;--plasma-dropdown-item-padding-left:0.875rem;--plasma-dropdown-item-border-radius:0.625rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-m-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-m-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-m-line-height);}
|
|
4
|
-
.DropdownOld_config_1sm61um_lq36nb2__8f0d29f2{--plasma-dropdown-width:100%;--plasma-dropdown-height:auto;--plasma-dropdown-border-radius:0.5rem;--plasma-dropdown-padding-top:0.125rem;--plasma-dropdown-padding-right:0.0625rem;--plasma-dropdown-padding-bottom:0.125rem;--plasma-dropdown-padding-left:0.125rem;--plasma-dropdown-item-width:auto;--plasma-dropdown-item-height:auto;--plasma-dropdown-item-margin-top:0;--plasma-dropdown-item-margin-right:0;--plasma-dropdown-item-margin-bottom:0;--plasma-dropdown-item-margin-left:0;--plasma-dropdown-item-padding-top:1.0625rem;--plasma-dropdown-item-padding-right:1rem;--plasma-dropdown-item-padding-bottom:1.0625rem;--plasma-dropdown-item-padding-left:1rem;--plasma-dropdown-item-border-radius:0.75rem;--plasma-dropdown-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-dropdown-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-dropdown-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-typo-body-l-font-weight);--plasma-dropdown-item-line-height:var(--plasma-typo-body-l-letter-spacing);--plasma-dropdown-item-font-weight:var(--plasma-typo-body-l-line-height);}
|
|
5
|
-
.DropdownOld_config_1sm61um_d148hya0__8f0d29f2{--plasma-dropdown-disabled-opacity:0.4;--plasma-dropdown-background:var(--surface-solid-card-brightness);--plasma-dropdown-box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);--plasma-dropdown-item-background:transparent;--plasma-dropdown-item-background-hover:var(--surface-transparent-secondary);--plasma-dropdown-item-background-selected:inherit;--plasma-dropdown-item-color-selected:inherit;--plasma-dropdown-item-background-selected-hover:inherit;--plasma-dropdown-item-color-selected-hover:inherit;--plasma-dropdown-item-color:var(--text-primary);}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React, { forwardRef } from 'react';
|
|
3
|
-
import { component, mergeConfig, dropdownOldConfig } from '@salutejs/plasma-new-hope/css';
|
|
4
|
-
import { config } from './DropdownOld.config.js';
|
|
5
|
-
|
|
6
|
-
var _excluded = ["trigger", "children", "opened", "isOpen", "disclosure", "onToggle", "placement", "offsetTop"];
|
|
7
|
-
var mergedConfig = /*#__PURE__*/mergeConfig(dropdownOldConfig, config);
|
|
8
|
-
var DropdownNewHope = /*#__PURE__*/component(mergedConfig);
|
|
9
|
-
var DropdownPopup = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
10
|
-
var trigger = props.trigger,
|
|
11
|
-
children = props.children,
|
|
12
|
-
opened = props.opened,
|
|
13
|
-
isOpen = props.isOpen,
|
|
14
|
-
disclosure = props.disclosure,
|
|
15
|
-
onToggle = props.onToggle,
|
|
16
|
-
placement = props.placement,
|
|
17
|
-
offsetTop = props.offsetTop,
|
|
18
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
19
|
-
var offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;
|
|
20
|
-
return /*#__PURE__*/React.createElement(DropdownNewHope, _extends({}, rest, {
|
|
21
|
-
ref: ref,
|
|
22
|
-
onToggle: onToggle,
|
|
23
|
-
target: disclosure,
|
|
24
|
-
opened: opened,
|
|
25
|
-
isOpen: isOpen,
|
|
26
|
-
trigger: trigger,
|
|
27
|
-
placement: placement,
|
|
28
|
-
offset: [offsetAtTop, 0]
|
|
29
|
-
}), children);
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
export { DropdownPopup };
|
|
33
|
-
//# sourceMappingURL=DropdownPopup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownPopup.js","sources":["../../../../../../src-css/components/Dropdown/components/DropdownPopup.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { DropdownPopupProps } from '@salutejs/plasma-hope';\nimport { component, dropdownOldConfig, mergeConfig } from '@salutejs/plasma-new-hope/css';\n\nimport { config } from './DropdownOld.config';\n\nconst mergedConfig = mergeConfig(dropdownOldConfig, config);\nconst DropdownNewHope = component(mergedConfig);\n\nexport const DropdownPopup = forwardRef<HTMLDivElement, DropdownPopupProps>((props, ref) => {\n const { trigger, children, opened, isOpen, disclosure, onToggle, placement, offsetTop, ...rest } = props;\n\n const offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;\n\n return (\n <DropdownNewHope\n {...rest}\n ref={ref}\n onToggle={onToggle}\n target={disclosure}\n opened={opened}\n isOpen={isOpen}\n trigger={trigger}\n placement={placement}\n offset={[offsetAtTop, 0]}\n >\n {children}\n </DropdownNewHope>\n );\n});\n"],"names":["mergedConfig","mergeConfig","dropdownOldConfig","config","DropdownNewHope","component","DropdownPopup","forwardRef","props","ref","trigger","children","opened","isOpen","disclosure","onToggle","placement","offsetTop","rest","_objectWithoutProperties","_excluded","offsetAtTop","React","createElement","_extends","target","offset"],"mappings":";;;;;;AAMA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,eAAe,gBAAGC,SAAS,CAACL,YAAY,CAAC,CAAA;AAExC,IAAMM,aAAa,gBAAGC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACxF,EAAA,IAAQC,OAAO,GAAoFF,KAAK,CAAhGE,OAAO;IAAEC,QAAQ,GAA0EH,KAAK,CAAvFG,QAAQ;IAAEC,MAAM,GAAkEJ,KAAK,CAA7EI,MAAM;IAAEC,MAAM,GAA0DL,KAAK,CAArEK,MAAM;IAAEC,UAAU,GAA8CN,KAAK,CAA7DM,UAAU;IAAEC,QAAQ,GAAoCP,KAAK,CAAjDO,QAAQ;IAAEC,SAAS,GAAyBR,KAAK,CAAvCQ,SAAS;IAAEC,SAAS,GAAcT,KAAK,CAA5BS,SAAS;AAAKC,IAAAA,IAAI,GAAAC,wBAAA,CAAKX,KAAK,EAAAY,SAAA,CAAA,CAAA;EAExG,IAAMC,WAAW,GAAG,OAAOJ,SAAS,KAAK,QAAQ,GAAGA,SAAS,GAAG,CAAC,CAAA;EAEjE,oBACIK,KAAA,CAAAC,aAAA,CAACnB,eAAe,EAAAoB,QAAA,KACRN,IAAI,EAAA;AACRT,IAAAA,GAAG,EAAEA,GAAI;AACTM,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,MAAM,EAAEX,UAAW;AACnBF,IAAAA,MAAM,EAAEA,MAAO;AACfC,IAAAA,MAAM,EAAEA,MAAO;AACfH,IAAAA,OAAO,EAAEA,OAAQ;AACjBM,IAAAA,SAAS,EAAEA,SAAU;AACrBU,IAAAA,MAAM,EAAE,CAACL,WAAW,EAAE,CAAC,CAAA;AAAE,GAAA,CAAA,EAExBV,QACY,CAAC,CAAA;AAE1B,CAAC;;;;"}
|