@hh.ru/magritte-ui-select 10.4.4 → 10.4.6
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/SelectBottomSheet.js +1 -1
- package/SelectDrop.js +1 -1
- package/SelectEmptyHint.js +1 -1
- package/SelectError.js +1 -1
- package/SelectOption.js +1 -1
- package/index.css +44 -44
- package/package.json +19 -19
package/SelectBottomSheet.js
CHANGED
|
@@ -23,7 +23,7 @@ import '@hh.ru/magritte-ui-typography';
|
|
|
23
23
|
import '@hh.ru/magritte-ui-checkable-card/CheckableCardElement';
|
|
24
24
|
import '@hh.ru/magritte-ui-checkbox-radio';
|
|
25
25
|
|
|
26
|
-
var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_10-4-
|
|
26
|
+
var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_10-4-6","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-4-6","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-6","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-6","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-6","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-6","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-4-6","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-4-6","error-wrapper":"magritte-error-wrapper___P7jYg_10-4-6","errorWrapper":"magritte-error-wrapper___P7jYg_10-4-6"};
|
|
27
27
|
|
|
28
28
|
const SelectOptionDefault = ({ data, input, type, }) => {
|
|
29
29
|
if (type === 'delimiter') {
|
package/SelectDrop.js
CHANGED
|
@@ -19,7 +19,7 @@ import '@hh.ru/magritte-ui-checkable-card/CheckableCardElement';
|
|
|
19
19
|
import '@hh.ru/magritte-ui-checkbox-radio';
|
|
20
20
|
import '@hh.ru/magritte-ui-icon/icon';
|
|
21
21
|
|
|
22
|
-
var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-
|
|
22
|
+
var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-6","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-6","select-drop-container":"magritte-select-drop-container___hee1p_10-4-6","selectDropContainer":"magritte-select-drop-container___hee1p_10-4-6","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-4-6","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-4-6","select-drop":"magritte-select-drop___jn4O-_10-4-6","selectDrop":"magritte-select-drop___jn4O-_10-4-6","select-drop-header":"magritte-select-drop-header___fMmio_10-4-6","selectDropHeader":"magritte-select-drop-header___fMmio_10-4-6","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-4-6","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-4-6","label-option-plain":"magritte-label-option-plain___BvBH8_10-4-6","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-4-6","loading":"magritte-loading___AMiuq_10-4-6","hint":"magritte-hint___6qaFl_10-4-6"};
|
|
23
23
|
|
|
24
24
|
const SelectOptionDefault = ({ data, input, type, plain, }) => {
|
|
25
25
|
if (type === 'delimiter') {
|
package/SelectEmptyHint.js
CHANGED
|
@@ -6,7 +6,7 @@ import { VSpacing } from '@hh.ru/magritte-ui-spacing';
|
|
|
6
6
|
import { Title } from '@hh.ru/magritte-ui-title';
|
|
7
7
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
8
8
|
|
|
9
|
-
var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_10-4-
|
|
9
|
+
var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_10-4-6","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-4-6","icon":"magritte-icon___F0GQx_10-4-6","icon-init":"magritte-icon-init___GWK-V_10-4-6","iconInit":"magritte-icon-init___GWK-V_10-4-6","icon-search":"magritte-icon-search___ZsqO-_10-4-6","iconSearch":"magritte-icon-search___ZsqO-_10-4-6"};
|
|
10
10
|
|
|
11
11
|
const SelectEmptyHint = ({ title, titleElement, description, type }) => {
|
|
12
12
|
return (jsxs("div", { className: styles.selectEmptyHint, children: [type === 'init' && (jsx("div", { className: classnames(styles.icon, styles.iconInit), children: jsx(MagnifierOutlinedSize24, {}) })), type === 'emptySearch' && (jsx("div", { className: classnames(styles.icon, styles.iconSearch), children: jsx(EmojiHalfsadOutlinedSize24, {}) })), jsx(VSpacing, { default: 32 }), jsx(Title, { Element: titleElement, size: "small", children: title }), jsx(VSpacing, { default: 8 }), Boolean(description) && (jsx(Text, { typography: "paragraph-2-regular", style: "secondary", children: description }))] }));
|
package/SelectError.js
CHANGED
|
@@ -7,7 +7,7 @@ import { VSpacing } from '@hh.ru/magritte-ui-spacing';
|
|
|
7
7
|
import { Title } from '@hh.ru/magritte-ui-title';
|
|
8
8
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
9
9
|
|
|
10
|
-
var styles = {"error-container":"magritte-error-container___t9B5w_10-4-
|
|
10
|
+
var styles = {"error-container":"magritte-error-container___t9B5w_10-4-6","errorContainer":"magritte-error-container___t9B5w_10-4-6"};
|
|
11
11
|
|
|
12
12
|
const SelectError = ({ innerErrorTrls, reload, }) => {
|
|
13
13
|
const { isMobile } = useBreakpoint();
|
package/SelectOption.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Radio, Checkbox } from '@hh.ru/magritte-ui-checkbox-radio';
|
|
|
9
9
|
import { CheckOutlinedSize24 } from '@hh.ru/magritte-ui-icon/icon';
|
|
10
10
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
11
11
|
|
|
12
|
-
var styles = {"select-option-label":"magritte-select-option-label___bYo2l_10-4-
|
|
12
|
+
var styles = {"select-option-label":"magritte-select-option-label___bYo2l_10-4-6","selectOptionLabel":"magritte-select-option-label___bYo2l_10-4-6","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-4-6","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-4-6","select-delimiter":"magritte-select-delimiter___WyeR6_10-4-6","selectDelimiter":"magritte-select-delimiter___WyeR6_10-4-6"};
|
|
13
13
|
|
|
14
14
|
const CheckableComponent = ({ type, value, checked, name, onChange, 'data-qa': dataQa, }) => {
|
|
15
15
|
if (type === 'label') {
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.magritte-error-container___t9B5w_10-4-
|
|
1
|
+
.magritte-error-container___t9B5w_10-4-6{
|
|
2
2
|
display:flex;
|
|
3
3
|
flex-direction:column;
|
|
4
4
|
align-items:center;
|
|
@@ -6,96 +6,96 @@
|
|
|
6
6
|
justify-content:center;
|
|
7
7
|
}
|
|
8
8
|
@media (min-width: 1020px){
|
|
9
|
-
body.magritte-old-layout .magritte-error-container___t9B5w_10-4-
|
|
9
|
+
body.magritte-old-layout .magritte-error-container___t9B5w_10-4-6{
|
|
10
10
|
min-height:320px;
|
|
11
11
|
height:auto;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
@media (min-width: 1024px){
|
|
15
|
-
body:not(.magritte-old-layout) .magritte-error-container___t9B5w_10-4-
|
|
15
|
+
body:not(.magritte-old-layout) .magritte-error-container___t9B5w_10-4-6{
|
|
16
16
|
min-height:320px;
|
|
17
17
|
height:auto;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.magritte-select-option-label___bYo2l_10-4-
|
|
21
|
+
.magritte-select-option-label___bYo2l_10-4-6{
|
|
22
22
|
display:flex;
|
|
23
23
|
max-height:56px;
|
|
24
24
|
}
|
|
25
|
-
.magritte-select-option-label_desktop___bceen_10-4-
|
|
25
|
+
.magritte-select-option-label_desktop___bceen_10-4-6{
|
|
26
26
|
max-height:24px;
|
|
27
27
|
}
|
|
28
|
-
.magritte-select-delimiter___WyeR6_10-4-
|
|
28
|
+
.magritte-select-delimiter___WyeR6_10-4-6{
|
|
29
29
|
padding-left:16px;
|
|
30
30
|
padding-top:12px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
:root{
|
|
34
|
-
--magritte-static-space-400-v21-4-
|
|
34
|
+
--magritte-static-space-400-v21-4-1:16px;
|
|
35
35
|
}
|
|
36
|
-
.magritte-select-bottom-sheet___1RZDJ_10-4-
|
|
36
|
+
.magritte-select-bottom-sheet___1RZDJ_10-4-6{
|
|
37
37
|
display:flex;
|
|
38
38
|
flex-direction:column;
|
|
39
|
-
padding:0 var(--magritte-static-space-400-v21-4-
|
|
39
|
+
padding:0 var(--magritte-static-space-400-v21-4-1);
|
|
40
40
|
padding-bottom:16px;
|
|
41
41
|
}
|
|
42
|
-
.magritte-select-bottom-sheet_checkbox___hwTgo_10-4-
|
|
43
|
-
.magritte-select-bottom-sheet_radio___qvFFV_10-4-
|
|
42
|
+
.magritte-select-bottom-sheet_checkbox___hwTgo_10-4-6,
|
|
43
|
+
.magritte-select-bottom-sheet_radio___qvFFV_10-4-6{
|
|
44
44
|
gap:12px;
|
|
45
45
|
}
|
|
46
|
-
.magritte-full-screen-placeholder___zPC8k_10-4-
|
|
46
|
+
.magritte-full-screen-placeholder___zPC8k_10-4-6{
|
|
47
47
|
display:flex;
|
|
48
48
|
flex-direction:column;
|
|
49
49
|
align-items:center;
|
|
50
50
|
height:100%;
|
|
51
51
|
justify-content:center;
|
|
52
52
|
}
|
|
53
|
-
.magritte-error-wrapper___P7jYg_10-4-
|
|
53
|
+
.magritte-error-wrapper___P7jYg_10-4-6{
|
|
54
54
|
height:100%;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
:root{
|
|
58
|
-
--magritte-static-space-300-v21-4-
|
|
59
|
-
--magritte-static-space-600-v21-4-
|
|
58
|
+
--magritte-static-space-300-v21-4-1:12px;
|
|
59
|
+
--magritte-static-space-600-v21-4-1:24px;
|
|
60
60
|
}
|
|
61
|
-
.magritte-select-drop-container-wrapper___OHM0q_10-4-
|
|
61
|
+
.magritte-select-drop-container-wrapper___OHM0q_10-4-6{
|
|
62
62
|
display:flex;
|
|
63
63
|
flex-direction:column;
|
|
64
64
|
}
|
|
65
|
-
.magritte-select-drop-container___hee1p_10-4-
|
|
65
|
+
.magritte-select-drop-container___hee1p_10-4-6{
|
|
66
66
|
display:flex;
|
|
67
67
|
flex-direction:column;
|
|
68
|
-
padding:var(--magritte-static-space-300-v21-4-
|
|
69
|
-
margin:calc(-1 * var(--magritte-static-space-300-v21-4-
|
|
68
|
+
padding:var(--magritte-static-space-300-v21-4-1);
|
|
69
|
+
margin:calc(-1 * var(--magritte-static-space-300-v21-4-1));
|
|
70
70
|
}
|
|
71
|
-
.magritte-select-drop-container_plain___766zl_10-4-
|
|
72
|
-
padding:var(--magritte-static-space-600-v21-4-
|
|
73
|
-
margin:calc(-1 * var(--magritte-static-space-600-v21-4-
|
|
71
|
+
.magritte-select-drop-container_plain___766zl_10-4-6{
|
|
72
|
+
padding:var(--magritte-static-space-600-v21-4-1);
|
|
73
|
+
margin:calc(-1 * var(--magritte-static-space-600-v21-4-1));
|
|
74
74
|
}
|
|
75
|
-
.magritte-select-drop___jn4O-_10-4-
|
|
75
|
+
.magritte-select-drop___jn4O-_10-4-6{
|
|
76
76
|
display:flex;
|
|
77
77
|
flex-direction:column;
|
|
78
78
|
gap:8px;
|
|
79
79
|
}
|
|
80
|
-
.magritte-select-drop-header___fMmio_10-4-
|
|
80
|
+
.magritte-select-drop-header___fMmio_10-4-6{
|
|
81
81
|
display:flex;
|
|
82
82
|
flex-direction:column;
|
|
83
83
|
margin-bottom:8px;
|
|
84
84
|
}
|
|
85
|
-
.magritte-select-drop_plain___VL8Fz_10-4-
|
|
85
|
+
.magritte-select-drop_plain___VL8Fz_10-4-6{
|
|
86
86
|
gap:16px;
|
|
87
87
|
}
|
|
88
|
-
.magritte-label-option-plain___BvBH8_10-4-
|
|
88
|
+
.magritte-label-option-plain___BvBH8_10-4-6{
|
|
89
89
|
display:flex;
|
|
90
90
|
justify-content:center;
|
|
91
91
|
}
|
|
92
|
-
.magritte-loading___AMiuq_10-4-
|
|
92
|
+
.magritte-loading___AMiuq_10-4-6{
|
|
93
93
|
display:flex;
|
|
94
94
|
align-items:center;
|
|
95
95
|
height:150px;
|
|
96
96
|
justify-content:center;
|
|
97
97
|
}
|
|
98
|
-
.magritte-hint___6qaFl_10-4-
|
|
98
|
+
.magritte-hint___6qaFl_10-4-6{
|
|
99
99
|
display:flex;
|
|
100
100
|
flex-direction:column;
|
|
101
101
|
align-items:center;
|
|
@@ -104,25 +104,25 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
:root{
|
|
107
|
-
--magritte-color-background-secondary-v21-4-
|
|
108
|
-
--magritte-color-background-accent-secondary-v21-4-
|
|
109
|
-
--magritte-color-icon-tertiary-v21-4-
|
|
110
|
-
--magritte-color-icon-accent-v21-4-
|
|
107
|
+
--magritte-color-background-secondary-v21-4-1:#F1F4F9;
|
|
108
|
+
--magritte-color-background-accent-secondary-v21-4-1:#EDF6FF;
|
|
109
|
+
--magritte-color-icon-tertiary-v21-4-1:#AABBCA;
|
|
110
|
+
--magritte-color-icon-accent-v21-4-1:#0070ff;
|
|
111
111
|
}
|
|
112
112
|
.magritte-night-theme{
|
|
113
|
-
--magritte-color-background-secondary-v21-4-
|
|
114
|
-
--magritte-color-background-accent-secondary-v21-4-
|
|
115
|
-
--magritte-color-icon-tertiary-v21-4-
|
|
116
|
-
--magritte-color-icon-accent-v21-4-
|
|
113
|
+
--magritte-color-background-secondary-v21-4-1:#303030;
|
|
114
|
+
--magritte-color-background-accent-secondary-v21-4-1:#222D3D;
|
|
115
|
+
--magritte-color-icon-tertiary-v21-4-1:#767676;
|
|
116
|
+
--magritte-color-icon-accent-v21-4-1:#5e9eff;
|
|
117
117
|
}
|
|
118
|
-
.magritte-select-empty-hint___B39XJ_10-4-
|
|
118
|
+
.magritte-select-empty-hint___B39XJ_10-4-6{
|
|
119
119
|
display:flex;
|
|
120
120
|
flex-direction:column;
|
|
121
121
|
justify-content:center;
|
|
122
122
|
align-content:center;
|
|
123
123
|
align-items:center;
|
|
124
124
|
}
|
|
125
|
-
.magritte-icon___F0GQx_10-4-
|
|
125
|
+
.magritte-icon___F0GQx_10-4-6{
|
|
126
126
|
display:flex;
|
|
127
127
|
align-items:center;
|
|
128
128
|
justify-content:center;
|
|
@@ -130,11 +130,11 @@
|
|
|
130
130
|
height:48px;
|
|
131
131
|
border-radius:50%;
|
|
132
132
|
}
|
|
133
|
-
.magritte-icon-init___GWK-V_10-4-
|
|
134
|
-
background-color:var(--magritte-color-background-accent-secondary-v21-4-
|
|
135
|
-
--magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-4-
|
|
133
|
+
.magritte-icon-init___GWK-V_10-4-6{
|
|
134
|
+
background-color:var(--magritte-color-background-accent-secondary-v21-4-1);
|
|
135
|
+
--magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-4-1);
|
|
136
136
|
}
|
|
137
|
-
.magritte-icon-search___ZsqO-_10-4-
|
|
138
|
-
background-color:var(--magritte-color-background-secondary-v21-4-
|
|
139
|
-
--magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-4-
|
|
137
|
+
.magritte-icon-search___ZsqO-_10-4-6{
|
|
138
|
+
background-color:var(--magritte-color-background-secondary-v21-4-1);
|
|
139
|
+
--magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-4-1);
|
|
140
140
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-select",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -31,24 +31,24 @@
|
|
|
31
31
|
"@hh.ru/magritte-common-fuzzy-search": "1.0.5",
|
|
32
32
|
"@hh.ru/magritte-common-keyboard": "4.1.0",
|
|
33
33
|
"@hh.ru/magritte-common-use-multiple-refs": "1.1.5",
|
|
34
|
-
"@hh.ru/magritte-ui-action-bar": "3.0.
|
|
35
|
-
"@hh.ru/magritte-ui-bottom-sheet": "7.1.
|
|
34
|
+
"@hh.ru/magritte-ui-action-bar": "3.0.12",
|
|
35
|
+
"@hh.ru/magritte-ui-bottom-sheet": "7.1.14",
|
|
36
36
|
"@hh.ru/magritte-ui-breakpoint": "5.0.0",
|
|
37
|
-
"@hh.ru/magritte-ui-button": "5.3.
|
|
38
|
-
"@hh.ru/magritte-ui-button-stack": "2.1.
|
|
39
|
-
"@hh.ru/magritte-ui-cell": "4.2.
|
|
40
|
-
"@hh.ru/magritte-ui-checkable-card": "3.0.
|
|
41
|
-
"@hh.ru/magritte-ui-checkbox-radio": "3.0.
|
|
42
|
-
"@hh.ru/magritte-ui-drop": "9.0.
|
|
43
|
-
"@hh.ru/magritte-ui-icon": "10.2.
|
|
44
|
-
"@hh.ru/magritte-ui-input": "7.2.
|
|
45
|
-
"@hh.ru/magritte-ui-loader": "1.3.
|
|
46
|
-
"@hh.ru/magritte-ui-navigation-bar": "9.0.
|
|
47
|
-
"@hh.ru/magritte-ui-spacing": "2.0.
|
|
48
|
-
"@hh.ru/magritte-ui-theme-provider": "1.1.
|
|
49
|
-
"@hh.ru/magritte-ui-title": "6.1.
|
|
50
|
-
"@hh.ru/magritte-ui-trigger": "3.1.
|
|
51
|
-
"@hh.ru/magritte-ui-typography": "3.0.
|
|
37
|
+
"@hh.ru/magritte-ui-button": "5.3.2",
|
|
38
|
+
"@hh.ru/magritte-ui-button-stack": "2.1.52",
|
|
39
|
+
"@hh.ru/magritte-ui-cell": "4.2.4",
|
|
40
|
+
"@hh.ru/magritte-ui-checkable-card": "3.0.82",
|
|
41
|
+
"@hh.ru/magritte-ui-checkbox-radio": "3.0.48",
|
|
42
|
+
"@hh.ru/magritte-ui-drop": "9.0.2",
|
|
43
|
+
"@hh.ru/magritte-ui-icon": "10.2.2",
|
|
44
|
+
"@hh.ru/magritte-ui-input": "7.2.4",
|
|
45
|
+
"@hh.ru/magritte-ui-loader": "1.3.29",
|
|
46
|
+
"@hh.ru/magritte-ui-navigation-bar": "9.0.4",
|
|
47
|
+
"@hh.ru/magritte-ui-spacing": "2.0.46",
|
|
48
|
+
"@hh.ru/magritte-ui-theme-provider": "1.1.43",
|
|
49
|
+
"@hh.ru/magritte-ui-title": "6.1.7",
|
|
50
|
+
"@hh.ru/magritte-ui-trigger": "3.1.3",
|
|
51
|
+
"@hh.ru/magritte-ui-typography": "3.0.34"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "bb2cc4bead8878b27ed2de03e1cbdeffc706f517"
|
|
54
54
|
}
|