@hh.ru/magritte-ui-select 12.1.21 → 12.1.23

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.
@@ -24,7 +24,7 @@ import '@hh.ru/magritte-common-use-disabled';
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_12-1-21","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_12-1-21","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_12-1-21","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_12-1-21","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_12-1-21","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_12-1-21","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_12-1-21","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_12-1-21","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_12-1-21","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_12-1-21","error-wrapper":"magritte-error-wrapper___P7jYg_12-1-21","errorWrapper":"magritte-error-wrapper___P7jYg_12-1-21"};
27
+ var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_12-1-23","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_12-1-23","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_12-1-23","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_12-1-23","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_12-1-23","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_12-1-23","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_12-1-23","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_12-1-23","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_12-1-23","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_12-1-23","error-wrapper":"magritte-error-wrapper___P7jYg_12-1-23","errorWrapper":"magritte-error-wrapper___P7jYg_12-1-23"};
28
28
 
29
29
  const SelectOptionDefault = ({ data, input, type, checked, plain, }) => {
30
30
  if (type === 'delimiter') {
package/SelectDrop.js CHANGED
@@ -21,7 +21,7 @@ import '@hh.ru/magritte-common-use-disabled';
21
21
  import '@hh.ru/magritte-ui-checkable-card/CheckableCardElement';
22
22
  import '@hh.ru/magritte-ui-checkbox-radio';
23
23
 
24
- var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_12-1-21","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_12-1-21","select-drop-container":"magritte-select-drop-container___hee1p_12-1-21","selectDropContainer":"magritte-select-drop-container___hee1p_12-1-21","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_12-1-21","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_12-1-21","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_12-1-21","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_12-1-21","select-drop":"magritte-select-drop___jn4O-_12-1-21","selectDrop":"magritte-select-drop___jn4O-_12-1-21","select-drop-header":"magritte-select-drop-header___fMmio_12-1-21","selectDropHeader":"magritte-select-drop-header___fMmio_12-1-21","select-drop_plain":"magritte-select-drop_plain___VL8Fz_12-1-21","selectDropPlain":"magritte-select-drop_plain___VL8Fz_12-1-21","label-option":"magritte-label-option___2N7t9_12-1-21","labelOption":"magritte-label-option___2N7t9_12-1-21","loading":"magritte-loading___AMiuq_12-1-21","hint":"magritte-hint___6qaFl_12-1-21"};
24
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_12-1-23","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_12-1-23","select-drop-container":"magritte-select-drop-container___hee1p_12-1-23","selectDropContainer":"magritte-select-drop-container___hee1p_12-1-23","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_12-1-23","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_12-1-23","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_12-1-23","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_12-1-23","select-drop":"magritte-select-drop___jn4O-_12-1-23","selectDrop":"magritte-select-drop___jn4O-_12-1-23","select-drop-header":"magritte-select-drop-header___fMmio_12-1-23","selectDropHeader":"magritte-select-drop-header___fMmio_12-1-23","select-drop_plain":"magritte-select-drop_plain___VL8Fz_12-1-23","selectDropPlain":"magritte-select-drop_plain___VL8Fz_12-1-23","label-option":"magritte-label-option___2N7t9_12-1-23","labelOption":"magritte-label-option___2N7t9_12-1-23","loading":"magritte-loading___AMiuq_12-1-23","hint":"magritte-hint___6qaFl_12-1-23"};
25
25
 
26
26
  const SelectOptionDefault = ({ data, input, type, plain, checked, }) => {
27
27
  if (type === 'delimiter') {
@@ -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_12-1-21","selectEmptyHint":"magritte-select-empty-hint___B39XJ_12-1-21","icon":"magritte-icon___F0GQx_12-1-21","icon-init":"magritte-icon-init___GWK-V_12-1-21","iconInit":"magritte-icon-init___GWK-V_12-1-21","icon-search":"magritte-icon-search___ZsqO-_12-1-21","iconSearch":"magritte-icon-search___ZsqO-_12-1-21"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_12-1-23","selectEmptyHint":"magritte-select-empty-hint___B39XJ_12-1-23","icon":"magritte-icon___F0GQx_12-1-23","icon-init":"magritte-icon-init___GWK-V_12-1-23","iconInit":"magritte-icon-init___GWK-V_12-1-23","icon-search":"magritte-icon-search___ZsqO-_12-1-23","iconSearch":"magritte-icon-search___ZsqO-_12-1-23"};
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_12-1-21","errorContainer":"magritte-error-container___t9B5w_12-1-21"};
10
+ var styles = {"error-container":"magritte-error-container___t9B5w_12-1-23","errorContainer":"magritte-error-container___t9B5w_12-1-23"};
11
11
 
12
12
  const SelectError = ({ innerErrorTrls, reload, }) => {
13
13
  const { isMobile } = useBreakpoint();
package/SelectModal.js CHANGED
@@ -23,7 +23,7 @@ import '@hh.ru/magritte-common-use-disabled';
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-modal-wrapper":"magritte-select-modal-wrapper___5BhtC_12-1-21","selectModalWrapper":"magritte-select-modal-wrapper___5BhtC_12-1-21","select-modal":"magritte-select-modal___f9wc6_12-1-21","selectModal":"magritte-select-modal___f9wc6_12-1-21","select-modal_plain":"magritte-select-modal_plain___0rP39_12-1-21","selectModalPlain":"magritte-select-modal_plain___0rP39_12-1-21","label-option":"magritte-label-option___kFAuR_12-1-21","labelOption":"magritte-label-option___kFAuR_12-1-21","layer-full-height":"magritte-layer-full-height___cJX-K_12-1-21","layerFullHeight":"magritte-layer-full-height___cJX-K_12-1-21"};
26
+ var styles = {"select-modal-wrapper":"magritte-select-modal-wrapper___5BhtC_12-1-23","selectModalWrapper":"magritte-select-modal-wrapper___5BhtC_12-1-23","select-modal":"magritte-select-modal___f9wc6_12-1-23","selectModal":"magritte-select-modal___f9wc6_12-1-23","select-modal_plain":"magritte-select-modal_plain___0rP39_12-1-23","selectModalPlain":"magritte-select-modal_plain___0rP39_12-1-23","label-option":"magritte-label-option___kFAuR_12-1-23","labelOption":"magritte-label-option___kFAuR_12-1-23","layer-full-height":"magritte-layer-full-height___cJX-K_12-1-23","layerFullHeight":"magritte-layer-full-height___cJX-K_12-1-23"};
27
27
 
28
28
  const SelectOptionDefault = ({ data, input, type, plain, checked, }) => {
29
29
  if (type === 'delimiter') {
package/SelectOption.js CHANGED
@@ -8,7 +8,7 @@ import { CheckableCardElement } from '@hh.ru/magritte-ui-checkable-card/Checkabl
8
8
  import { Radio, Checkbox } from '@hh.ru/magritte-ui-checkbox-radio';
9
9
  import { Text } from '@hh.ru/magritte-ui-typography';
10
10
 
11
- var styles = {"select-option-plain":"magritte-select-option-plain___dfz4a_12-1-21","selectOptionPlain":"magritte-select-option-plain___dfz4a_12-1-21","select-option-plain_active":"magritte-select-option-plain_active___AQSQS_12-1-21","selectOptionPlainActive":"magritte-select-option-plain_active___AQSQS_12-1-21","select-delimiter":"magritte-select-delimiter___WyeR6_12-1-21","selectDelimiter":"magritte-select-delimiter___WyeR6_12-1-21"};
11
+ var styles = {"select-option-plain":"magritte-select-option-plain___dfz4a_12-1-23","selectOptionPlain":"magritte-select-option-plain___dfz4a_12-1-23","select-option-plain_active":"magritte-select-option-plain_active___AQSQS_12-1-23","selectOptionPlainActive":"magritte-select-option-plain_active___AQSQS_12-1-23","select-delimiter":"magritte-select-delimiter___WyeR6_12-1-23","selectDelimiter":"magritte-select-delimiter___WyeR6_12-1-23"};
12
12
 
13
13
  const CheckableComponent = ({ type, value, checked, name, onChange, 'data-qa': dataQa, }) => {
14
14
  if (type === 'label') {
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- .magritte-error-container___t9B5w_12-1-21{
1
+ .magritte-error-container___t9B5w_12-1-23{
2
2
  display:flex;
3
3
  flex-direction:column;
4
4
  align-items:center;
@@ -6,95 +6,95 @@
6
6
  justify-content:center;
7
7
  }
8
8
  @media (min-width: 1020px){
9
- body.magritte-old-layout .magritte-error-container___t9B5w_12-1-21{
9
+ body.magritte-old-layout .magritte-error-container___t9B5w_12-1-23{
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_12-1-21{
15
+ body:not(.magritte-old-layout) .magritte-error-container___t9B5w_12-1-23{
16
16
  min-height:320px;
17
17
  height:auto;
18
18
  }
19
19
  }
20
20
 
21
- .magritte-select-option-plain___dfz4a_12-1-21:hover{
21
+ .magritte-select-option-plain___dfz4a_12-1-23:hover{
22
22
  cursor:default;
23
23
  }
24
- .magritte-select-option-plain_active___AQSQS_12-1-21:hover{
24
+ .magritte-select-option-plain_active___AQSQS_12-1-23:hover{
25
25
  cursor:pointer;
26
26
  }
27
- .magritte-select-delimiter___WyeR6_12-1-21{
27
+ .magritte-select-delimiter___WyeR6_12-1-23{
28
28
  padding-left:16px;
29
29
  padding-top:12px;
30
30
  }
31
31
 
32
- .magritte-select-bottom-sheet___1RZDJ_12-1-21{
32
+ .magritte-select-bottom-sheet___1RZDJ_12-1-23{
33
33
  display:flex;
34
34
  flex-direction:column;
35
35
  padding:0 16px;
36
36
  padding-bottom:16px;
37
37
  }
38
- .magritte-select-bottom-sheet_checkbox___hwTgo_12-1-21,
39
- .magritte-select-bottom-sheet_radio___qvFFV_12-1-21{
38
+ .magritte-select-bottom-sheet_checkbox___hwTgo_12-1-23,
39
+ .magritte-select-bottom-sheet_radio___qvFFV_12-1-23{
40
40
  gap:12px;
41
41
  }
42
- .magritte-select-bottom-sheet_without-header___KOKVh_12-1-21{
42
+ .magritte-select-bottom-sheet_without-header___KOKVh_12-1-23{
43
43
  padding-top:16px;
44
44
  }
45
- .magritte-full-screen-placeholder___zPC8k_12-1-21{
45
+ .magritte-full-screen-placeholder___zPC8k_12-1-23{
46
46
  display:flex;
47
47
  flex-direction:column;
48
48
  align-items:center;
49
49
  height:100%;
50
50
  justify-content:center;
51
51
  }
52
- .magritte-error-wrapper___P7jYg_12-1-21{
52
+ .magritte-error-wrapper___P7jYg_12-1-23{
53
53
  height:100%;
54
54
  }
55
55
 
56
- .magritte-select-drop-container-wrapper___OHM0q_12-1-21{
56
+ .magritte-select-drop-container-wrapper___OHM0q_12-1-23{
57
57
  display:flex;
58
58
  flex-direction:column;
59
59
  }
60
- .magritte-select-drop-container___hee1p_12-1-21{
60
+ .magritte-select-drop-container___hee1p_12-1-23{
61
61
  display:flex;
62
62
  flex-direction:column;
63
63
  padding:12px;
64
64
  margin:calc(-1 * 12px);
65
65
  }
66
- .magritte-select-drop-container_plain___766zl_12-1-21{
66
+ .magritte-select-drop-container_plain___766zl_12-1-23{
67
67
  padding:24px;
68
68
  margin:calc(-1 * 24px);
69
69
  }
70
- .magritte-select-drop-container_with-footer___6wp-L_12-1-21{
70
+ .magritte-select-drop-container_with-footer___6wp-L_12-1-23{
71
71
  margin-bottom:0;
72
72
  padding-bottom:0;
73
73
  }
74
- .magritte-select-drop___jn4O-_12-1-21{
74
+ .magritte-select-drop___jn4O-_12-1-23{
75
75
  display:flex;
76
76
  flex-direction:column;
77
77
  gap:8px;
78
78
  }
79
- .magritte-select-drop-header___fMmio_12-1-21{
79
+ .magritte-select-drop-header___fMmio_12-1-23{
80
80
  display:flex;
81
81
  flex-direction:column;
82
82
  margin-bottom:8px;
83
83
  }
84
- .magritte-select-drop_plain___VL8Fz_12-1-21{
84
+ .magritte-select-drop_plain___VL8Fz_12-1-23{
85
85
  gap:16px;
86
86
  }
87
- .magritte-label-option___2N7t9_12-1-21{
87
+ .magritte-label-option___2N7t9_12-1-23{
88
88
  display:flex;
89
89
  justify-content:center;
90
90
  }
91
- .magritte-loading___AMiuq_12-1-21{
91
+ .magritte-loading___AMiuq_12-1-23{
92
92
  display:flex;
93
93
  align-items:center;
94
94
  height:150px;
95
95
  justify-content:center;
96
96
  }
97
- .magritte-hint___6qaFl_12-1-21{
97
+ .magritte-hint___6qaFl_12-1-23{
98
98
  display:flex;
99
99
  flex-direction:column;
100
100
  align-items:center;
@@ -102,24 +102,24 @@
102
102
  justify-content:center;
103
103
  }
104
104
 
105
- .magritte-select-modal-wrapper___5BhtC_12-1-21{
105
+ .magritte-select-modal-wrapper___5BhtC_12-1-23{
106
106
  display:flex;
107
107
  flex-direction:column;
108
108
  flex-grow:1;
109
109
  }
110
- .magritte-select-modal___f9wc6_12-1-21{
110
+ .magritte-select-modal___f9wc6_12-1-23{
111
111
  display:flex;
112
112
  flex-direction:column;
113
113
  gap:12px;
114
114
  }
115
- .magritte-select-modal_plain___0rP39_12-1-21{
115
+ .magritte-select-modal_plain___0rP39_12-1-23{
116
116
  gap:0;
117
117
  }
118
- .magritte-label-option___kFAuR_12-1-21{
118
+ .magritte-label-option___kFAuR_12-1-23{
119
119
  display:flex;
120
120
  justify-content:center;
121
121
  }
122
- .magritte-layer-full-height___cJX-K_12-1-21{
122
+ .magritte-layer-full-height___cJX-K_12-1-23{
123
123
  display:flex;
124
124
  flex-direction:column;
125
125
  align-items:center;
@@ -147,14 +147,14 @@
147
147
  --magritte-color-icon-tertiary-v23-2-2:#DCE3EB;
148
148
  --magritte-color-icon-accent-v23-2-2:#7195AF;
149
149
  }
150
- .magritte-select-empty-hint___B39XJ_12-1-21{
150
+ .magritte-select-empty-hint___B39XJ_12-1-23{
151
151
  display:flex;
152
152
  flex-direction:column;
153
153
  justify-content:center;
154
154
  align-content:center;
155
155
  align-items:center;
156
156
  }
157
- .magritte-icon___F0GQx_12-1-21{
157
+ .magritte-icon___F0GQx_12-1-23{
158
158
  display:flex;
159
159
  align-items:center;
160
160
  justify-content:center;
@@ -162,11 +162,11 @@
162
162
  height:48px;
163
163
  border-radius:50%;
164
164
  }
165
- .magritte-icon-init___GWK-V_12-1-21{
165
+ .magritte-icon-init___GWK-V_12-1-23{
166
166
  background-color:var(--magritte-color-background-accent-secondary-v23-2-2);
167
167
  --magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v23-2-2);
168
168
  }
169
- .magritte-icon-search___ZsqO-_12-1-21{
169
+ .magritte-icon-search___ZsqO-_12-1-23{
170
170
  background-color:var(--magritte-color-background-secondary-v23-2-2);
171
171
  --magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v23-2-2);
172
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-select",
3
- "version": "12.1.21",
3
+ "version": "12.1.23",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -32,24 +32,24 @@
32
32
  "@hh.ru/magritte-common-use-disabled": "1.0.13",
33
33
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.9",
34
34
  "@hh.ru/magritte-design-tokens": "23.2.2",
35
- "@hh.ru/magritte-ui-action-bar": "5.0.7",
36
- "@hh.ru/magritte-ui-bottom-sheet": "8.2.5",
35
+ "@hh.ru/magritte-ui-action-bar": "5.0.8",
36
+ "@hh.ru/magritte-ui-bottom-sheet": "8.2.7",
37
37
  "@hh.ru/magritte-ui-breakpoint": "6.0.1",
38
38
  "@hh.ru/magritte-ui-button": "6.0.10",
39
39
  "@hh.ru/magritte-ui-button-stack": "2.1.80",
40
40
  "@hh.ru/magritte-ui-cell": "7.0.4",
41
41
  "@hh.ru/magritte-ui-checkable-card": "4.1.4",
42
42
  "@hh.ru/magritte-ui-checkbox-radio": "4.0.10",
43
- "@hh.ru/magritte-ui-drop": "11.1.3",
43
+ "@hh.ru/magritte-ui-drop": "11.1.5",
44
44
  "@hh.ru/magritte-ui-icon": "12.3.4",
45
45
  "@hh.ru/magritte-ui-input": "9.0.12",
46
46
  "@hh.ru/magritte-ui-loader": "2.0.9",
47
- "@hh.ru/magritte-ui-modal": "9.2.3",
47
+ "@hh.ru/magritte-ui-modal": "9.2.5",
48
48
  "@hh.ru/magritte-ui-navigation-bar": "10.0.13",
49
49
  "@hh.ru/magritte-ui-spacing": "2.0.63",
50
50
  "@hh.ru/magritte-ui-title": "7.0.8",
51
51
  "@hh.ru/magritte-ui-trigger": "4.0.12",
52
52
  "@hh.ru/magritte-ui-typography": "4.2.3"
53
53
  },
54
- "gitHead": "d561dadfd6a8237914ba7bc998422be59f5829e5"
54
+ "gitHead": "f11d50914c03d4a4f9395fc61e4ca80c5ea9c5e1"
55
55
  }