@hh.ru/magritte-ui-select 9.0.2 → 9.0.4
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 +21 -21
- package/package.json +8 -8
package/SelectBottomSheet.js
CHANGED
|
@@ -24,7 +24,7 @@ import '@hh.ru/magritte-ui-typography';
|
|
|
24
24
|
import '@hh.ru/magritte-ui-checkable-card/CheckableCardElement';
|
|
25
25
|
import '@hh.ru/magritte-ui-checkbox-radio';
|
|
26
26
|
|
|
27
|
-
var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_9-0-
|
|
27
|
+
var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_9-0-4","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_9-0-4","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-4","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-4","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-4","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-4","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_9-0-4","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_9-0-4","error-wrapper":"magritte-error-wrapper___P7jYg_9-0-4","errorWrapper":"magritte-error-wrapper___P7jYg_9-0-4"};
|
|
28
28
|
|
|
29
29
|
const SelectOptionDefault = ({ data, input, type, }) => {
|
|
30
30
|
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":"magritte-select-drop___jn4O-_9-0-
|
|
22
|
+
var styles = {"select-drop":"magritte-select-drop___jn4O-_9-0-4","selectDrop":"magritte-select-drop___jn4O-_9-0-4","select-drop-header":"magritte-select-drop-header___fMmio_9-0-4","selectDropHeader":"magritte-select-drop-header___fMmio_9-0-4","select-drop_plain":"magritte-select-drop_plain___VL8Fz_9-0-4","selectDropPlain":"magritte-select-drop_plain___VL8Fz_9-0-4","label-option-plain":"magritte-label-option-plain___BvBH8_9-0-4","labelOptionPlain":"magritte-label-option-plain___BvBH8_9-0-4","loading":"magritte-loading___AMiuq_9-0-4","hint":"magritte-hint___6qaFl_9-0-4"};
|
|
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_9-0-
|
|
9
|
+
var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_9-0-4","selectEmptyHint":"magritte-select-empty-hint___B39XJ_9-0-4","icon":"magritte-icon___F0GQx_9-0-4","icon-init":"magritte-icon-init___GWK-V_9-0-4","iconInit":"magritte-icon-init___GWK-V_9-0-4","icon-search":"magritte-icon-search___ZsqO-_9-0-4","iconSearch":"magritte-icon-search___ZsqO-_9-0-4"};
|
|
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_9-0-
|
|
10
|
+
var styles = {"error-container":"magritte-error-container___t9B5w_9-0-4","errorContainer":"magritte-error-container___t9B5w_9-0-4"};
|
|
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_9-0-
|
|
12
|
+
var styles = {"select-option-label":"magritte-select-option-label___bYo2l_9-0-4","selectOptionLabel":"magritte-select-option-label___bYo2l_9-0-4","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_9-0-4","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_9-0-4","select-delimiter":"magritte-select-delimiter___WyeR6_9-0-4","selectDelimiter":"magritte-select-delimiter___WyeR6_9-0-4"};
|
|
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_9-0-
|
|
1
|
+
.magritte-error-container___t9B5w_9-0-4{
|
|
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_9-0-
|
|
9
|
+
body.magritte-old-layout .magritte-error-container___t9B5w_9-0-4{
|
|
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_9-0-
|
|
15
|
+
body:not(.magritte-old-layout) .magritte-error-container___t9B5w_9-0-4{
|
|
16
16
|
min-height:320px;
|
|
17
17
|
height:auto;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.magritte-select-option-label___bYo2l_9-0-
|
|
21
|
+
.magritte-select-option-label___bYo2l_9-0-4{
|
|
22
22
|
display:flex;
|
|
23
23
|
max-height:56px;
|
|
24
24
|
}
|
|
25
|
-
.magritte-select-option-label_desktop___bceen_9-0-
|
|
25
|
+
.magritte-select-option-label_desktop___bceen_9-0-4{
|
|
26
26
|
max-height:24px;
|
|
27
27
|
}
|
|
28
|
-
.magritte-select-delimiter___WyeR6_9-0-
|
|
28
|
+
.magritte-select-delimiter___WyeR6_9-0-4{
|
|
29
29
|
padding-left:16px;
|
|
30
30
|
padding-top:12px;
|
|
31
31
|
}
|
|
@@ -33,51 +33,51 @@
|
|
|
33
33
|
:root{
|
|
34
34
|
--magritte-static-space-400-v21-1-0:16px;
|
|
35
35
|
}
|
|
36
|
-
.magritte-select-bottom-sheet___1RZDJ_9-0-
|
|
36
|
+
.magritte-select-bottom-sheet___1RZDJ_9-0-4{
|
|
37
37
|
display:flex;
|
|
38
38
|
flex-direction:column;
|
|
39
39
|
padding:0 var(--magritte-static-space-400-v21-1-0);
|
|
40
40
|
padding-bottom:16px;
|
|
41
41
|
}
|
|
42
|
-
.magritte-select-bottom-sheet_checkbox___hwTgo_9-0-
|
|
43
|
-
.magritte-select-bottom-sheet_radio___qvFFV_9-0-
|
|
42
|
+
.magritte-select-bottom-sheet_checkbox___hwTgo_9-0-4,
|
|
43
|
+
.magritte-select-bottom-sheet_radio___qvFFV_9-0-4{
|
|
44
44
|
gap:12px;
|
|
45
45
|
}
|
|
46
|
-
.magritte-full-screen-placeholder___zPC8k_9-0-
|
|
46
|
+
.magritte-full-screen-placeholder___zPC8k_9-0-4{
|
|
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_9-0-
|
|
53
|
+
.magritte-error-wrapper___P7jYg_9-0-4{
|
|
54
54
|
height:100%;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.magritte-select-drop___jn4O-_9-0-
|
|
57
|
+
.magritte-select-drop___jn4O-_9-0-4{
|
|
58
58
|
display:flex;
|
|
59
59
|
flex-direction:column;
|
|
60
60
|
gap:8px;
|
|
61
61
|
}
|
|
62
|
-
.magritte-select-drop-header___fMmio_9-0-
|
|
62
|
+
.magritte-select-drop-header___fMmio_9-0-4{
|
|
63
63
|
display:flex;
|
|
64
64
|
flex-direction:column;
|
|
65
65
|
margin-bottom:8px;
|
|
66
66
|
}
|
|
67
|
-
.magritte-select-drop_plain___VL8Fz_9-0-
|
|
67
|
+
.magritte-select-drop_plain___VL8Fz_9-0-4{
|
|
68
68
|
gap:16px;
|
|
69
69
|
}
|
|
70
|
-
.magritte-label-option-plain___BvBH8_9-0-
|
|
70
|
+
.magritte-label-option-plain___BvBH8_9-0-4{
|
|
71
71
|
display:flex;
|
|
72
72
|
justify-content:center;
|
|
73
73
|
}
|
|
74
|
-
.magritte-loading___AMiuq_9-0-
|
|
74
|
+
.magritte-loading___AMiuq_9-0-4{
|
|
75
75
|
display:flex;
|
|
76
76
|
align-items:center;
|
|
77
77
|
height:150px;
|
|
78
78
|
justify-content:center;
|
|
79
79
|
}
|
|
80
|
-
.magritte-hint___6qaFl_9-0-
|
|
80
|
+
.magritte-hint___6qaFl_9-0-4{
|
|
81
81
|
display:flex;
|
|
82
82
|
flex-direction:column;
|
|
83
83
|
align-items:center;
|
|
@@ -97,14 +97,14 @@
|
|
|
97
97
|
--magritte-color-icon-tertiary-v21-1-0:#767676;
|
|
98
98
|
--magritte-color-icon-accent-v21-1-0:#5e9eff;
|
|
99
99
|
}
|
|
100
|
-
.magritte-select-empty-hint___B39XJ_9-0-
|
|
100
|
+
.magritte-select-empty-hint___B39XJ_9-0-4{
|
|
101
101
|
display:flex;
|
|
102
102
|
flex-direction:column;
|
|
103
103
|
justify-content:center;
|
|
104
104
|
align-content:center;
|
|
105
105
|
align-items:center;
|
|
106
106
|
}
|
|
107
|
-
.magritte-icon___F0GQx_9-0-
|
|
107
|
+
.magritte-icon___F0GQx_9-0-4{
|
|
108
108
|
display:flex;
|
|
109
109
|
align-items:center;
|
|
110
110
|
justify-content:center;
|
|
@@ -112,11 +112,11 @@
|
|
|
112
112
|
height:48px;
|
|
113
113
|
border-radius:50%;
|
|
114
114
|
}
|
|
115
|
-
.magritte-icon-init___GWK-V_9-0-
|
|
115
|
+
.magritte-icon-init___GWK-V_9-0-4{
|
|
116
116
|
background-color:var(--magritte-color-background-accent-secondary-v21-1-0);
|
|
117
117
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-1-0);
|
|
118
118
|
}
|
|
119
|
-
.magritte-icon-search___ZsqO-_9-0-
|
|
119
|
+
.magritte-icon-search___ZsqO-_9-0-4{
|
|
120
120
|
background-color:var(--magritte-color-background-secondary-v21-1-0);
|
|
121
121
|
--magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-1-0);
|
|
122
122
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-select",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -29,26 +29,26 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@hh.ru/magritte-common-data-provider": "1.1.0",
|
|
31
31
|
"@hh.ru/magritte-common-fuzzy-search": "1.0.5",
|
|
32
|
-
"@hh.ru/magritte-common-keyboard": "4.0
|
|
32
|
+
"@hh.ru/magritte-common-keyboard": "4.1.0",
|
|
33
33
|
"@hh.ru/magritte-common-use-multiple-refs": "1.1.5",
|
|
34
34
|
"@hh.ru/magritte-ui-action": "4.4.24",
|
|
35
35
|
"@hh.ru/magritte-ui-action-bar": "2.2.18",
|
|
36
|
-
"@hh.ru/magritte-ui-bottom-sheet": "5.5.
|
|
36
|
+
"@hh.ru/magritte-ui-bottom-sheet": "5.5.35",
|
|
37
37
|
"@hh.ru/magritte-ui-breakpoint": "5.0.0",
|
|
38
38
|
"@hh.ru/magritte-ui-button": "5.2.17",
|
|
39
39
|
"@hh.ru/magritte-ui-button-stack": "2.1.36",
|
|
40
40
|
"@hh.ru/magritte-ui-cell": "4.0.32",
|
|
41
|
-
"@hh.ru/magritte-ui-checkable-card": "3.0.
|
|
41
|
+
"@hh.ru/magritte-ui-checkable-card": "3.0.65",
|
|
42
42
|
"@hh.ru/magritte-ui-checkbox-radio": "3.0.36",
|
|
43
|
-
"@hh.ru/magritte-ui-drop": "7.2.
|
|
43
|
+
"@hh.ru/magritte-ui-drop": "7.2.15",
|
|
44
44
|
"@hh.ru/magritte-ui-icon": "7.9.12",
|
|
45
45
|
"@hh.ru/magritte-ui-input": "7.1.6",
|
|
46
46
|
"@hh.ru/magritte-ui-loader": "1.3.18",
|
|
47
|
-
"@hh.ru/magritte-ui-navigation-bar": "6.3.
|
|
47
|
+
"@hh.ru/magritte-ui-navigation-bar": "6.3.21",
|
|
48
48
|
"@hh.ru/magritte-ui-spacing": "2.0.39",
|
|
49
49
|
"@hh.ru/magritte-ui-title": "6.0.2",
|
|
50
|
-
"@hh.ru/magritte-ui-trigger": "3.0.
|
|
50
|
+
"@hh.ru/magritte-ui-trigger": "3.0.19",
|
|
51
51
|
"@hh.ru/magritte-ui-typography": "3.0.27"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "d271475c7ce8c1d6fc8b33ed345f1d9a6dcd8835"
|
|
54
54
|
}
|