@salutejs/plasma-b2c 1.413.0-canary.1470.11193231082.0 → 1.413.0-canary.1470.11195366738.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/Combobox/Combobox.js +1 -38
- package/css/cjs/components/Combobox/Combobox.js +0 -26
- package/css/cjs/components/Combobox/Combobox.js.map +1 -1
- package/css/es/components/Combobox/Combobox.js +0 -26
- package/css/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Combobox/Combobox.js +1 -39
- package/package.json +3 -3
@@ -6,42 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.Combobox = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
8
|
var _Combobox = /*#__PURE__*/require("./Combobox.config");
|
9
|
-
// import React from 'react';
|
10
|
-
|
11
9
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.comboboxNewConfig, _Combobox.config);
|
12
|
-
var Combobox = exports.Combobox = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
13
|
-
|
14
|
-
// type PropsFromConfig = 'view' | 'size' | 'labelPlacement' | 'disabled' | 'readOnly';
|
15
|
-
//
|
16
|
-
// type ComboboxType = <T extends ItemOption>(
|
17
|
-
// props: Omit<ComboboxProps<T>, PropsFromConfig> &
|
18
|
-
// Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig> & { ref?: ForwardedRef<HTMLInputElement> },
|
19
|
-
// ) => ReactElement;
|
20
|
-
//
|
21
|
-
// const Combobox = ComboboxComponent as ComboboxType;
|
22
|
-
|
23
|
-
// const items = [
|
24
|
-
// {
|
25
|
-
// value: 'north_america',
|
26
|
-
// label: 'Северная Америка',
|
27
|
-
// name: 'dima',
|
28
|
-
// },
|
29
|
-
// {
|
30
|
-
// value: 'north_america',
|
31
|
-
// label: 'Северная Америка',
|
32
|
-
// name: 'dima',
|
33
|
-
// },
|
34
|
-
// ];
|
35
|
-
//
|
36
|
-
// const Func = () => {
|
37
|
-
// return (
|
38
|
-
// <Combobox
|
39
|
-
// items={items}
|
40
|
-
// renderItem={(item) => {
|
41
|
-
// console.log(item);
|
42
|
-
//
|
43
|
-
// return <div>123</div>;
|
44
|
-
// }}
|
45
|
-
// />
|
46
|
-
// );
|
47
|
-
// };
|
10
|
+
var Combobox = exports.Combobox = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -8,31 +8,5 @@ var Combobox_config = require('./Combobox.config.js');
|
|
8
8
|
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.comboboxNewConfig, Combobox_config.config);
|
9
9
|
var Combobox = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
10
|
|
11
|
-
// const items = [
|
12
|
-
// {
|
13
|
-
// value: 'north_america',
|
14
|
-
// label: 'Северная Америка',
|
15
|
-
// name: 'dima',
|
16
|
-
// },
|
17
|
-
// {
|
18
|
-
// value: 'north_america',
|
19
|
-
// label: 'Северная Америка',
|
20
|
-
// name: 'dima',
|
21
|
-
// },
|
22
|
-
// ];
|
23
|
-
//
|
24
|
-
// const Func = () => {
|
25
|
-
// return (
|
26
|
-
// <Combobox
|
27
|
-
// items={items}
|
28
|
-
// renderItem={(item) => {
|
29
|
-
// console.log(item);
|
30
|
-
//
|
31
|
-
// return <div>123</div>;
|
32
|
-
// }}
|
33
|
-
// />
|
34
|
-
// );
|
35
|
-
// };
|
36
|
-
|
37
11
|
exports.Combobox = Combobox;
|
38
12
|
//# sourceMappingURL=Combobox.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.
|
1
|
+
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst Combobox = component(mergedConfig);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","Combobox","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,QAAQ,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
@@ -4,31 +4,5 @@ import { config } from './Combobox.config.js';
|
|
4
4
|
var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
|
5
5
|
var Combobox = /*#__PURE__*/component(mergedConfig);
|
6
6
|
|
7
|
-
// const items = [
|
8
|
-
// {
|
9
|
-
// value: 'north_america',
|
10
|
-
// label: 'Северная Америка',
|
11
|
-
// name: 'dima',
|
12
|
-
// },
|
13
|
-
// {
|
14
|
-
// value: 'north_america',
|
15
|
-
// label: 'Северная Америка',
|
16
|
-
// name: 'dima',
|
17
|
-
// },
|
18
|
-
// ];
|
19
|
-
//
|
20
|
-
// const Func = () => {
|
21
|
-
// return (
|
22
|
-
// <Combobox
|
23
|
-
// items={items}
|
24
|
-
// renderItem={(item) => {
|
25
|
-
// console.log(item);
|
26
|
-
//
|
27
|
-
// return <div>123</div>;
|
28
|
-
// }}
|
29
|
-
// />
|
30
|
-
// );
|
31
|
-
// };
|
32
|
-
|
33
7
|
export { Combobox };
|
34
8
|
//# sourceMappingURL=Combobox.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.
|
1
|
+
{"version":3,"file":"Combobox.js","sources":["../../../../src-css/components/Combobox/Combobox.ts"],"sourcesContent":["import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Combobox.config';\n\nconst mergedConfig = mergeConfig(comboboxNewConfig, config);\nconst Combobox = component(mergedConfig);\n\nexport { Combobox };\n"],"names":["mergedConfig","mergeConfig","comboboxNewConfig","config","Combobox","component"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,iBAAiB,EAAEC,MAAM,CAAC,CAAA;AAC3D,IAAMC,QAAQ,gBAAGC,SAAS,CAACL,YAAY;;;;"}
|
@@ -1,43 +1,5 @@
|
|
1
1
|
import { comboboxNewConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
-
|
3
|
-
// import React from 'react';
|
4
2
|
import { config } from './Combobox.config';
|
5
3
|
var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
|
6
4
|
var Combobox = /*#__PURE__*/component(mergedConfig);
|
7
|
-
|
8
|
-
// type PropsFromConfig = 'view' | 'size' | 'labelPlacement' | 'disabled' | 'readOnly';
|
9
|
-
//
|
10
|
-
// type ComboboxType = <T extends ItemOption>(
|
11
|
-
// props: Omit<ComboboxProps<T>, PropsFromConfig> &
|
12
|
-
// Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig> & { ref?: ForwardedRef<HTMLInputElement> },
|
13
|
-
// ) => ReactElement;
|
14
|
-
//
|
15
|
-
// const Combobox = ComboboxComponent as ComboboxType;
|
16
|
-
|
17
|
-
export { Combobox };
|
18
|
-
|
19
|
-
// const items = [
|
20
|
-
// {
|
21
|
-
// value: 'north_america',
|
22
|
-
// label: 'Северная Америка',
|
23
|
-
// name: 'dima',
|
24
|
-
// },
|
25
|
-
// {
|
26
|
-
// value: 'north_america',
|
27
|
-
// label: 'Северная Америка',
|
28
|
-
// name: 'dima',
|
29
|
-
// },
|
30
|
-
// ];
|
31
|
-
//
|
32
|
-
// const Func = () => {
|
33
|
-
// return (
|
34
|
-
// <Combobox
|
35
|
-
// items={items}
|
36
|
-
// renderItem={(item) => {
|
37
|
-
// console.log(item);
|
38
|
-
//
|
39
|
-
// return <div>123</div>;
|
40
|
-
// }}
|
41
|
-
// />
|
42
|
-
// );
|
43
|
-
// };
|
5
|
+
export { Combobox };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-b2c",
|
3
|
-
"version": "1.413.0-canary.1470.
|
3
|
+
"version": "1.413.0-canary.1470.11195366738.0",
|
4
4
|
"description": "Salute Design System / React UI kit for business-related web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@salutejs/plasma-core": "1.180.0",
|
46
46
|
"@salutejs/plasma-hope": "1.313.0",
|
47
|
-
"@salutejs/plasma-new-hope": "0.162.0-canary.1470.
|
47
|
+
"@salutejs/plasma-new-hope": "0.162.0-canary.1470.11195366738.0",
|
48
48
|
"@salutejs/plasma-themes": "0.18.0",
|
49
49
|
"@salutejs/plasma-tokens-b2c": "0.52.0",
|
50
50
|
"@salutejs/plasma-tokens-web": "1.57.0",
|
@@ -109,5 +109,5 @@
|
|
109
109
|
"react"
|
110
110
|
],
|
111
111
|
"sideEffects": false,
|
112
|
-
"gitHead": "
|
112
|
+
"gitHead": "033115794830920995f8d67065ecd19535d44f77"
|
113
113
|
}
|