@salutejs/plasma-new-hope 0.88.0-canary.1233.9420319803.0 → 0.88.0-canary.1233.9437372350.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Chip/Chip.css +5 -5
- package/cjs/components/Chip/Chip.styles.js +1 -1
- package/cjs/components/Chip/Chip.styles.js.map +1 -1
- package/cjs/components/Chip/{Chip.styles_1l2rsrr.css → Chip.styles_1mwwhiw.css} +1 -1
- package/cjs/components/Combobox/Combobox.css +5 -5
- package/cjs/components/Combobox/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/cjs/components/Pagination/Pagination.css +10 -11
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -11
- package/cjs/components/Range/Range.css +5 -5
- package/cjs/components/Select/Select.css +10 -11
- package/cjs/components/Select/Select.js +10 -6
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +2 -0
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/elements/Inner/Inner.css +10 -11
- package/cjs/components/Select/elements/Inner/Inner.js +7 -2
- package/cjs/components/Select/elements/Inner/Inner.js.map +1 -1
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +10 -11
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js +17 -6
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +1 -1
- package/cjs/components/Select/elements/Target/Target.css +10 -11
- package/cjs/components/Select/elements/Target/Target.js +9 -3
- package/cjs/components/Select/elements/Target/Target.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.css +5 -6
- package/cjs/components/Select/elements/Target/elements/Button/Button.js +28 -32
- package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +2 -8
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/{Button.styles_1bweq1y.css → Button.styles_1r519o1.css} +1 -2
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.css +5 -5
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css +5 -5
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +2 -2
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Select/utils/getButtonLabel.js +47 -0
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -0
- package/cjs/components/Slider/Slider.css +5 -5
- package/cjs/components/Slider/components/Double/Double.css +5 -5
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +5 -5
- package/cjs/index.css +10 -11
- package/es/components/Chip/Chip.css +5 -5
- package/es/components/Chip/Chip.styles.js +1 -1
- package/es/components/Chip/Chip.styles.js.map +1 -1
- package/es/components/Chip/{Chip.styles_1l2rsrr.css → Chip.styles_1mwwhiw.css} +1 -1
- package/es/components/Combobox/Combobox.css +5 -5
- package/es/components/Combobox/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/es/components/Pagination/Pagination.css +10 -11
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -11
- package/es/components/Range/Range.css +5 -5
- package/es/components/Select/Select.css +10 -11
- package/es/components/Select/Select.js +10 -6
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +2 -0
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/elements/Inner/Inner.css +10 -11
- package/es/components/Select/elements/Inner/Inner.js +7 -2
- package/es/components/Select/elements/Inner/Inner.js.map +1 -1
- package/es/components/Select/elements/Inner/elements/Item/Item.css +10 -11
- package/es/components/Select/elements/Inner/elements/Item/Item.js +17 -6
- package/es/components/Select/elements/Inner/elements/Item/Item.js.map +1 -1
- package/es/components/Select/elements/Target/Target.css +10 -11
- package/es/components/Select/elements/Target/Target.js +9 -3
- package/es/components/Select/elements/Target/Target.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/Button.css +5 -6
- package/es/components/Select/elements/Target/elements/Button/Button.js +29 -33
- package/es/components/Select/elements/Target/elements/Button/Button.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js +3 -8
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/{Button.styles_1bweq1y.css → Button.styles_1r519o1.css} +1 -2
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.css +5 -5
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css +5 -5
- package/es/components/Select/hooks/useKeyboardNavigation.js +2 -2
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Select/utils/getButtonLabel.js +43 -0
- package/es/components/Select/utils/getButtonLabel.js.map +1 -0
- package/es/components/Slider/Slider.css +5 -5
- package/es/components/Slider/components/Double/Double.css +5 -5
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +5 -5
- package/es/index.css +10 -11
- package/package.json +2 -2
- package/styled-components/cjs/components/Chip/Chip.styles.js +1 -1
- package/styled-components/cjs/components/Select/Select.js +20 -16
- package/styled-components/cjs/components/Select/elements/Inner/Inner.js +7 -2
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +16 -5
- package/styled-components/cjs/components/Select/elements/Target/Target.js +9 -3
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +28 -31
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +3 -6
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +2 -2
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +43 -0
- package/styled-components/cjs/components/Select/utils/index.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -2
- package/styled-components/es/components/Chip/Chip.styles.js +1 -1
- package/styled-components/es/components/Select/Select.js +10 -6
- package/styled-components/es/components/Select/elements/Inner/Inner.js +7 -2
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +16 -5
- package/styled-components/es/components/Select/elements/Target/Target.js +9 -3
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +30 -33
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +2 -5
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +2 -2
- package/styled-components/es/components/Select/utils/getButtonLabel.js +37 -0
- package/styled-components/es/components/Select/utils/index.js +2 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +2 -2
- package/types/components/Chip/Chip.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -8
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +20 -8
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/Inner.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +37 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/Target.d.ts.map +1 -1
- package/types/components/Select/elements/Target/Target.types.d.ts +5 -3
- package/types/components/Select/elements/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +0 -1
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/components/Select/utils/getButtonLabel.d.ts +3 -0
- package/types/components/Select/utils/getButtonLabel.d.ts.map +1 -0
- package/types/components/Select/utils/index.d.ts +1 -0
- package/types/components/Select/utils/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +12 -8
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
@@ -26,6 +26,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
26
26
|
};
|
27
27
|
}> & (({
|
28
28
|
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
29
|
+
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
29
30
|
label?: string | undefined;
|
30
31
|
labelPlacement?: "inner" | "outer" | undefined;
|
31
32
|
placeholder?: string | undefined;
|
@@ -39,16 +40,16 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
39
40
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
40
41
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
41
42
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
42
|
-
|
43
|
+
renderValue?: ((value: string, label: string) => string) | undefined;
|
43
44
|
size?: string | undefined;
|
44
45
|
view?: string | undefined;
|
45
46
|
chipView?: string | undefined;
|
47
|
+
multiselect?: boolean | undefined;
|
46
48
|
isOpen?: boolean | undefined;
|
47
49
|
status?: "error" | "success" | "warning" | undefined;
|
48
50
|
} & {
|
49
51
|
value: string;
|
50
52
|
onChange: (value: string) => void;
|
51
|
-
multiselect?: false | undefined;
|
52
53
|
separator?: undefined;
|
53
54
|
isTargetAmount?: false | undefined;
|
54
55
|
} & {
|
@@ -57,6 +58,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
57
58
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
58
59
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
59
60
|
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
61
|
+
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
60
62
|
label?: string | undefined;
|
61
63
|
labelPlacement?: "inner" | "outer" | undefined;
|
62
64
|
placeholder?: string | undefined;
|
@@ -70,16 +72,16 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
70
72
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
71
73
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
72
74
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
73
|
-
|
75
|
+
renderValue?: ((value: string, label: string) => string) | undefined;
|
74
76
|
size?: string | undefined;
|
75
77
|
view?: string | undefined;
|
76
78
|
chipView?: string | undefined;
|
79
|
+
multiselect?: boolean | undefined;
|
77
80
|
isOpen?: boolean | undefined;
|
78
81
|
status?: "error" | "success" | "warning" | undefined;
|
79
82
|
} & {
|
80
83
|
value: string;
|
81
84
|
onChange: (value: string) => void;
|
82
|
-
multiselect?: false | undefined;
|
83
85
|
separator?: undefined;
|
84
86
|
isTargetAmount?: false | undefined;
|
85
87
|
} & {
|
@@ -88,6 +90,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
88
90
|
contentLeft?: undefined;
|
89
91
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
90
92
|
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
93
|
+
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
91
94
|
label?: string | undefined;
|
92
95
|
labelPlacement?: "inner" | "outer" | undefined;
|
93
96
|
placeholder?: string | undefined;
|
@@ -101,16 +104,16 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
101
104
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
102
105
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
103
106
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
104
|
-
|
107
|
+
renderValue?: ((value: string, label: string) => string) | undefined;
|
105
108
|
size?: string | undefined;
|
106
109
|
view?: string | undefined;
|
107
110
|
chipView?: string | undefined;
|
111
|
+
multiselect?: boolean | undefined;
|
108
112
|
isOpen?: boolean | undefined;
|
109
113
|
status?: "error" | "success" | "warning" | undefined;
|
110
114
|
} & {
|
111
115
|
value: string[];
|
112
116
|
onChange: (value: string[]) => void;
|
113
|
-
multiselect?: true | undefined;
|
114
117
|
separator?: string | undefined;
|
115
118
|
isTargetAmount?: boolean | undefined;
|
116
119
|
} & {
|
@@ -119,6 +122,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
119
122
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
120
123
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
121
124
|
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
125
|
+
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
122
126
|
label?: string | undefined;
|
123
127
|
labelPlacement?: "inner" | "outer" | undefined;
|
124
128
|
placeholder?: string | undefined;
|
@@ -132,16 +136,16 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
132
136
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
133
137
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
134
138
|
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
135
|
-
|
139
|
+
renderValue?: ((value: string, label: string) => string) | undefined;
|
136
140
|
size?: string | undefined;
|
137
141
|
view?: string | undefined;
|
138
142
|
chipView?: string | undefined;
|
143
|
+
multiselect?: boolean | undefined;
|
139
144
|
isOpen?: boolean | undefined;
|
140
145
|
status?: "error" | "success" | "warning" | undefined;
|
141
146
|
} & {
|
142
147
|
value: string[];
|
143
148
|
onChange: (value: string[]) => void;
|
144
|
-
multiselect?: true | undefined;
|
145
149
|
separator?: string | undefined;
|
146
150
|
isTargetAmount?: boolean | undefined;
|
147
151
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|