@hh.ru/magritte-ui-select 10.3.4 → 10.3.5
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 +24 -24
- package/package.json +7 -7
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-3-
|
|
26
|
+
var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_10-3-5","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-3-5","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-3-5","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-3-5","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-3-5","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-3-5","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-3-5","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-3-5","error-wrapper":"magritte-error-wrapper___P7jYg_10-3-5","errorWrapper":"magritte-error-wrapper___P7jYg_10-3-5"};
|
|
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-3-
|
|
22
|
+
var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-3-5","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-3-5","select-drop-container":"magritte-select-drop-container___hee1p_10-3-5","selectDropContainer":"magritte-select-drop-container___hee1p_10-3-5","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-3-5","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-3-5","select-drop":"magritte-select-drop___jn4O-_10-3-5","selectDrop":"magritte-select-drop___jn4O-_10-3-5","select-drop-header":"magritte-select-drop-header___fMmio_10-3-5","selectDropHeader":"magritte-select-drop-header___fMmio_10-3-5","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-3-5","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-3-5","label-option-plain":"magritte-label-option-plain___BvBH8_10-3-5","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-3-5","loading":"magritte-loading___AMiuq_10-3-5","hint":"magritte-hint___6qaFl_10-3-5"};
|
|
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-3-
|
|
9
|
+
var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_10-3-5","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-3-5","icon":"magritte-icon___F0GQx_10-3-5","icon-init":"magritte-icon-init___GWK-V_10-3-5","iconInit":"magritte-icon-init___GWK-V_10-3-5","icon-search":"magritte-icon-search___ZsqO-_10-3-5","iconSearch":"magritte-icon-search___ZsqO-_10-3-5"};
|
|
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-3-
|
|
10
|
+
var styles = {"error-container":"magritte-error-container___t9B5w_10-3-5","errorContainer":"magritte-error-container___t9B5w_10-3-5"};
|
|
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-3-
|
|
12
|
+
var styles = {"select-option-label":"magritte-select-option-label___bYo2l_10-3-5","selectOptionLabel":"magritte-select-option-label___bYo2l_10-3-5","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-3-5","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-3-5","select-delimiter":"magritte-select-delimiter___WyeR6_10-3-5","selectDelimiter":"magritte-select-delimiter___WyeR6_10-3-5"};
|
|
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-3-
|
|
1
|
+
.magritte-error-container___t9B5w_10-3-5{
|
|
2
2
|
display:flex;
|
|
3
3
|
flex-direction:column;
|
|
4
4
|
align-items:center;
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
justify-content:center;
|
|
7
7
|
}
|
|
8
8
|
@media (min-width: 1020px){
|
|
9
|
-
body.magritte-old-layout .magritte-error-container___t9B5w_10-3-
|
|
9
|
+
body.magritte-old-layout .magritte-error-container___t9B5w_10-3-5{
|
|
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-3-
|
|
15
|
+
body:not(.magritte-old-layout) .magritte-error-container___t9B5w_10-3-5{
|
|
16
16
|
min-height:320px;
|
|
17
17
|
height:auto;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.magritte-select-option-label___bYo2l_10-3-
|
|
21
|
+
.magritte-select-option-label___bYo2l_10-3-5{
|
|
22
22
|
display:flex;
|
|
23
23
|
max-height:56px;
|
|
24
24
|
}
|
|
25
|
-
.magritte-select-option-label_desktop___bceen_10-3-
|
|
25
|
+
.magritte-select-option-label_desktop___bceen_10-3-5{
|
|
26
26
|
max-height:24px;
|
|
27
27
|
}
|
|
28
|
-
.magritte-select-delimiter___WyeR6_10-3-
|
|
28
|
+
.magritte-select-delimiter___WyeR6_10-3-5{
|
|
29
29
|
padding-left:16px;
|
|
30
30
|
padding-top:12px;
|
|
31
31
|
}
|
|
@@ -33,24 +33,24 @@
|
|
|
33
33
|
:root{
|
|
34
34
|
--magritte-static-space-400-v21-3-2:16px;
|
|
35
35
|
}
|
|
36
|
-
.magritte-select-bottom-sheet___1RZDJ_10-3-
|
|
36
|
+
.magritte-select-bottom-sheet___1RZDJ_10-3-5{
|
|
37
37
|
display:flex;
|
|
38
38
|
flex-direction:column;
|
|
39
39
|
padding:0 var(--magritte-static-space-400-v21-3-2);
|
|
40
40
|
padding-bottom:16px;
|
|
41
41
|
}
|
|
42
|
-
.magritte-select-bottom-sheet_checkbox___hwTgo_10-3-
|
|
43
|
-
.magritte-select-bottom-sheet_radio___qvFFV_10-3-
|
|
42
|
+
.magritte-select-bottom-sheet_checkbox___hwTgo_10-3-5,
|
|
43
|
+
.magritte-select-bottom-sheet_radio___qvFFV_10-3-5{
|
|
44
44
|
gap:12px;
|
|
45
45
|
}
|
|
46
|
-
.magritte-full-screen-placeholder___zPC8k_10-3-
|
|
46
|
+
.magritte-full-screen-placeholder___zPC8k_10-3-5{
|
|
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-3-
|
|
53
|
+
.magritte-error-wrapper___P7jYg_10-3-5{
|
|
54
54
|
height:100%;
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,44 +58,44 @@
|
|
|
58
58
|
--magritte-static-space-300-v21-3-2:12px;
|
|
59
59
|
--magritte-static-space-600-v21-3-2:24px;
|
|
60
60
|
}
|
|
61
|
-
.magritte-select-drop-container-wrapper___OHM0q_10-3-
|
|
61
|
+
.magritte-select-drop-container-wrapper___OHM0q_10-3-5{
|
|
62
62
|
display:flex;
|
|
63
63
|
flex-direction:column;
|
|
64
64
|
}
|
|
65
|
-
.magritte-select-drop-container___hee1p_10-3-
|
|
65
|
+
.magritte-select-drop-container___hee1p_10-3-5{
|
|
66
66
|
display:flex;
|
|
67
67
|
flex-direction:column;
|
|
68
68
|
padding:var(--magritte-static-space-300-v21-3-2);
|
|
69
69
|
margin:calc(-1 * var(--magritte-static-space-300-v21-3-2));
|
|
70
70
|
}
|
|
71
|
-
.magritte-select-drop-container_plain___766zl_10-3-
|
|
71
|
+
.magritte-select-drop-container_plain___766zl_10-3-5{
|
|
72
72
|
padding:var(--magritte-static-space-600-v21-3-2);
|
|
73
73
|
margin:calc(-1 * var(--magritte-static-space-600-v21-3-2));
|
|
74
74
|
}
|
|
75
|
-
.magritte-select-drop___jn4O-_10-3-
|
|
75
|
+
.magritte-select-drop___jn4O-_10-3-5{
|
|
76
76
|
display:flex;
|
|
77
77
|
flex-direction:column;
|
|
78
78
|
gap:8px;
|
|
79
79
|
}
|
|
80
|
-
.magritte-select-drop-header___fMmio_10-3-
|
|
80
|
+
.magritte-select-drop-header___fMmio_10-3-5{
|
|
81
81
|
display:flex;
|
|
82
82
|
flex-direction:column;
|
|
83
83
|
margin-bottom:8px;
|
|
84
84
|
}
|
|
85
|
-
.magritte-select-drop_plain___VL8Fz_10-3-
|
|
85
|
+
.magritte-select-drop_plain___VL8Fz_10-3-5{
|
|
86
86
|
gap:16px;
|
|
87
87
|
}
|
|
88
|
-
.magritte-label-option-plain___BvBH8_10-3-
|
|
88
|
+
.magritte-label-option-plain___BvBH8_10-3-5{
|
|
89
89
|
display:flex;
|
|
90
90
|
justify-content:center;
|
|
91
91
|
}
|
|
92
|
-
.magritte-loading___AMiuq_10-3-
|
|
92
|
+
.magritte-loading___AMiuq_10-3-5{
|
|
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-3-
|
|
98
|
+
.magritte-hint___6qaFl_10-3-5{
|
|
99
99
|
display:flex;
|
|
100
100
|
flex-direction:column;
|
|
101
101
|
align-items:center;
|
|
@@ -115,14 +115,14 @@
|
|
|
115
115
|
--magritte-color-icon-tertiary-v21-3-2:#767676;
|
|
116
116
|
--magritte-color-icon-accent-v21-3-2:#5e9eff;
|
|
117
117
|
}
|
|
118
|
-
.magritte-select-empty-hint___B39XJ_10-3-
|
|
118
|
+
.magritte-select-empty-hint___B39XJ_10-3-5{
|
|
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-3-
|
|
125
|
+
.magritte-icon___F0GQx_10-3-5{
|
|
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-3-
|
|
133
|
+
.magritte-icon-init___GWK-V_10-3-5{
|
|
134
134
|
background-color:var(--magritte-color-background-accent-secondary-v21-3-2);
|
|
135
135
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-3-2);
|
|
136
136
|
}
|
|
137
|
-
.magritte-icon-search___ZsqO-_10-3-
|
|
137
|
+
.magritte-icon-search___ZsqO-_10-3-5{
|
|
138
138
|
background-color:var(--magritte-color-background-secondary-v21-3-2);
|
|
139
139
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-3-2);
|
|
140
140
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-select",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.5",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -31,11 +31,11 @@
|
|
|
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.10",
|
|
35
|
+
"@hh.ru/magritte-ui-bottom-sheet": "7.1.9",
|
|
36
36
|
"@hh.ru/magritte-ui-breakpoint": "5.0.0",
|
|
37
|
-
"@hh.ru/magritte-ui-button": "5.
|
|
38
|
-
"@hh.ru/magritte-ui-button-stack": "2.1.
|
|
37
|
+
"@hh.ru/magritte-ui-button": "5.3.0",
|
|
38
|
+
"@hh.ru/magritte-ui-button-stack": "2.1.50",
|
|
39
39
|
"@hh.ru/magritte-ui-cell": "4.2.1",
|
|
40
40
|
"@hh.ru/magritte-ui-checkable-card": "3.0.79",
|
|
41
41
|
"@hh.ru/magritte-ui-checkbox-radio": "3.0.45",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@hh.ru/magritte-ui-spacing": "2.0.44",
|
|
48
48
|
"@hh.ru/magritte-ui-theme-provider": "1.1.41",
|
|
49
49
|
"@hh.ru/magritte-ui-title": "6.1.5",
|
|
50
|
-
"@hh.ru/magritte-ui-trigger": "3.1.
|
|
50
|
+
"@hh.ru/magritte-ui-trigger": "3.1.1",
|
|
51
51
|
"@hh.ru/magritte-ui-typography": "3.0.32"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "78609f29e7428876de6b59448fe962f157a9e47f"
|
|
54
54
|
}
|