@hh.ru/magritte-ui-select 10.4.7 → 10.4.8

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.
@@ -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-7","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-4-7","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-7","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-7","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-7","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-7","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_10-4-7","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_10-4-7","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-4-7","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-4-7","error-wrapper":"magritte-error-wrapper___P7jYg_10-4-7","errorWrapper":"magritte-error-wrapper___P7jYg_10-4-7"};
26
+ var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_10-4-8","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-4-8","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-8","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-4-8","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-8","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-4-8","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_10-4-8","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_10-4-8","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-4-8","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-4-8","error-wrapper":"magritte-error-wrapper___P7jYg_10-4-8","errorWrapper":"magritte-error-wrapper___P7jYg_10-4-8"};
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-7","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-7","select-drop-container":"magritte-select-drop-container___hee1p_10-4-7","selectDropContainer":"magritte-select-drop-container___hee1p_10-4-7","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-4-7","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-4-7","select-drop":"magritte-select-drop___jn4O-_10-4-7","selectDrop":"magritte-select-drop___jn4O-_10-4-7","select-drop-header":"magritte-select-drop-header___fMmio_10-4-7","selectDropHeader":"magritte-select-drop-header___fMmio_10-4-7","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-4-7","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-4-7","label-option-plain":"magritte-label-option-plain___BvBH8_10-4-7","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-4-7","loading":"magritte-loading___AMiuq_10-4-7","hint":"magritte-hint___6qaFl_10-4-7"};
22
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-8","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-4-8","select-drop-container":"magritte-select-drop-container___hee1p_10-4-8","selectDropContainer":"magritte-select-drop-container___hee1p_10-4-8","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-4-8","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-4-8","select-drop":"magritte-select-drop___jn4O-_10-4-8","selectDrop":"magritte-select-drop___jn4O-_10-4-8","select-drop-header":"magritte-select-drop-header___fMmio_10-4-8","selectDropHeader":"magritte-select-drop-header___fMmio_10-4-8","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-4-8","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-4-8","label-option-plain":"magritte-label-option-plain___BvBH8_10-4-8","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-4-8","loading":"magritte-loading___AMiuq_10-4-8","hint":"magritte-hint___6qaFl_10-4-8"};
23
23
 
24
24
  const SelectOptionDefault = ({ data, input, type, plain, }) => {
25
25
  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_10-4-7","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-4-7","icon":"magritte-icon___F0GQx_10-4-7","icon-init":"magritte-icon-init___GWK-V_10-4-7","iconInit":"magritte-icon-init___GWK-V_10-4-7","icon-search":"magritte-icon-search___ZsqO-_10-4-7","iconSearch":"magritte-icon-search___ZsqO-_10-4-7"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_10-4-8","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-4-8","icon":"magritte-icon___F0GQx_10-4-8","icon-init":"magritte-icon-init___GWK-V_10-4-8","iconInit":"magritte-icon-init___GWK-V_10-4-8","icon-search":"magritte-icon-search___ZsqO-_10-4-8","iconSearch":"magritte-icon-search___ZsqO-_10-4-8"};
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-7","errorContainer":"magritte-error-container___t9B5w_10-4-7"};
10
+ var styles = {"error-container":"magritte-error-container___t9B5w_10-4-8","errorContainer":"magritte-error-container___t9B5w_10-4-8"};
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-7","selectOptionLabel":"magritte-select-option-label___bYo2l_10-4-7","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-4-7","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-4-7","select-delimiter":"magritte-select-delimiter___WyeR6_10-4-7","selectDelimiter":"magritte-select-delimiter___WyeR6_10-4-7"};
12
+ var styles = {"select-option-label":"magritte-select-option-label___bYo2l_10-4-8","selectOptionLabel":"magritte-select-option-label___bYo2l_10-4-8","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-4-8","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-4-8","select-delimiter":"magritte-select-delimiter___WyeR6_10-4-8","selectDelimiter":"magritte-select-delimiter___WyeR6_10-4-8"};
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-7{
1
+ .magritte-error-container___t9B5w_10-4-8{
2
2
  display:flex;
3
3
  flex-direction:column;
4
4
  align-items:center;
@@ -6,99 +6,99 @@
6
6
  justify-content:center;
7
7
  }
8
8
  @media (min-width: 1020px){
9
- body.magritte-old-layout .magritte-error-container___t9B5w_10-4-7{
9
+ body.magritte-old-layout .magritte-error-container___t9B5w_10-4-8{
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-7{
15
+ body:not(.magritte-old-layout) .magritte-error-container___t9B5w_10-4-8{
16
16
  min-height:320px;
17
17
  height:auto;
18
18
  }
19
19
  }
20
20
 
21
- .magritte-select-option-label___bYo2l_10-4-7{
21
+ .magritte-select-option-label___bYo2l_10-4-8{
22
22
  display:flex;
23
23
  max-height:56px;
24
24
  }
25
- .magritte-select-option-label_desktop___bceen_10-4-7{
25
+ .magritte-select-option-label_desktop___bceen_10-4-8{
26
26
  max-height:24px;
27
27
  }
28
- .magritte-select-delimiter___WyeR6_10-4-7{
28
+ .magritte-select-delimiter___WyeR6_10-4-8{
29
29
  padding-left:16px;
30
30
  padding-top:12px;
31
31
  }
32
32
 
33
33
  :root{
34
- --magritte-static-space-400-v21-4-1:16px;
34
+ --magritte-static-space-400-v21-4-2:16px;
35
35
  }
36
- .magritte-select-bottom-sheet___1RZDJ_10-4-7{
36
+ .magritte-select-bottom-sheet___1RZDJ_10-4-8{
37
37
  display:flex;
38
38
  flex-direction:column;
39
- padding:0 var(--magritte-static-space-400-v21-4-1);
39
+ padding:0 var(--magritte-static-space-400-v21-4-2);
40
40
  padding-bottom:16px;
41
41
  }
42
- .magritte-select-bottom-sheet_checkbox___hwTgo_10-4-7,
43
- .magritte-select-bottom-sheet_radio___qvFFV_10-4-7{
42
+ .magritte-select-bottom-sheet_checkbox___hwTgo_10-4-8,
43
+ .magritte-select-bottom-sheet_radio___qvFFV_10-4-8{
44
44
  gap:12px;
45
45
  }
46
- .magritte-select-bottom-sheet_without-header___KOKVh_10-4-7{
46
+ .magritte-select-bottom-sheet_without-header___KOKVh_10-4-8{
47
47
  padding-top:16px;
48
48
  }
49
- .magritte-full-screen-placeholder___zPC8k_10-4-7{
49
+ .magritte-full-screen-placeholder___zPC8k_10-4-8{
50
50
  display:flex;
51
51
  flex-direction:column;
52
52
  align-items:center;
53
53
  height:100%;
54
54
  justify-content:center;
55
55
  }
56
- .magritte-error-wrapper___P7jYg_10-4-7{
56
+ .magritte-error-wrapper___P7jYg_10-4-8{
57
57
  height:100%;
58
58
  }
59
59
 
60
60
  :root{
61
- --magritte-static-space-300-v21-4-1:12px;
62
- --magritte-static-space-600-v21-4-1:24px;
61
+ --magritte-static-space-300-v21-4-2:12px;
62
+ --magritte-static-space-600-v21-4-2:24px;
63
63
  }
64
- .magritte-select-drop-container-wrapper___OHM0q_10-4-7{
64
+ .magritte-select-drop-container-wrapper___OHM0q_10-4-8{
65
65
  display:flex;
66
66
  flex-direction:column;
67
67
  }
68
- .magritte-select-drop-container___hee1p_10-4-7{
68
+ .magritte-select-drop-container___hee1p_10-4-8{
69
69
  display:flex;
70
70
  flex-direction:column;
71
- padding:var(--magritte-static-space-300-v21-4-1);
72
- margin:calc(-1 * var(--magritte-static-space-300-v21-4-1));
71
+ padding:var(--magritte-static-space-300-v21-4-2);
72
+ margin:calc(-1 * var(--magritte-static-space-300-v21-4-2));
73
73
  }
74
- .magritte-select-drop-container_plain___766zl_10-4-7{
75
- padding:var(--magritte-static-space-600-v21-4-1);
76
- margin:calc(-1 * var(--magritte-static-space-600-v21-4-1));
74
+ .magritte-select-drop-container_plain___766zl_10-4-8{
75
+ padding:var(--magritte-static-space-600-v21-4-2);
76
+ margin:calc(-1 * var(--magritte-static-space-600-v21-4-2));
77
77
  }
78
- .magritte-select-drop___jn4O-_10-4-7{
78
+ .magritte-select-drop___jn4O-_10-4-8{
79
79
  display:flex;
80
80
  flex-direction:column;
81
81
  gap:8px;
82
82
  }
83
- .magritte-select-drop-header___fMmio_10-4-7{
83
+ .magritte-select-drop-header___fMmio_10-4-8{
84
84
  display:flex;
85
85
  flex-direction:column;
86
86
  margin-bottom:8px;
87
87
  }
88
- .magritte-select-drop_plain___VL8Fz_10-4-7{
88
+ .magritte-select-drop_plain___VL8Fz_10-4-8{
89
89
  gap:16px;
90
90
  }
91
- .magritte-label-option-plain___BvBH8_10-4-7{
91
+ .magritte-label-option-plain___BvBH8_10-4-8{
92
92
  display:flex;
93
93
  justify-content:center;
94
94
  }
95
- .magritte-loading___AMiuq_10-4-7{
95
+ .magritte-loading___AMiuq_10-4-8{
96
96
  display:flex;
97
97
  align-items:center;
98
98
  height:150px;
99
99
  justify-content:center;
100
100
  }
101
- .magritte-hint___6qaFl_10-4-7{
101
+ .magritte-hint___6qaFl_10-4-8{
102
102
  display:flex;
103
103
  flex-direction:column;
104
104
  align-items:center;
@@ -107,25 +107,25 @@
107
107
  }
108
108
 
109
109
  :root{
110
- --magritte-color-background-secondary-v21-4-1:#F1F4F9;
111
- --magritte-color-background-accent-secondary-v21-4-1:#EDF6FF;
112
- --magritte-color-icon-tertiary-v21-4-1:#AABBCA;
113
- --magritte-color-icon-accent-v21-4-1:#0070ff;
110
+ --magritte-color-background-secondary-v21-4-2:#F1F4F9;
111
+ --magritte-color-background-accent-secondary-v21-4-2:#EDF6FF;
112
+ --magritte-color-icon-tertiary-v21-4-2:#AABBCA;
113
+ --magritte-color-icon-accent-v21-4-2:#0070ff;
114
114
  }
115
115
  .magritte-night-theme{
116
- --magritte-color-background-secondary-v21-4-1:#303030;
117
- --magritte-color-background-accent-secondary-v21-4-1:#222D3D;
118
- --magritte-color-icon-tertiary-v21-4-1:#767676;
119
- --magritte-color-icon-accent-v21-4-1:#5e9eff;
116
+ --magritte-color-background-secondary-v21-4-2:#303030;
117
+ --magritte-color-background-accent-secondary-v21-4-2:#222D3D;
118
+ --magritte-color-icon-tertiary-v21-4-2:#767676;
119
+ --magritte-color-icon-accent-v21-4-2:#5e9eff;
120
120
  }
121
- .magritte-select-empty-hint___B39XJ_10-4-7{
121
+ .magritte-select-empty-hint___B39XJ_10-4-8{
122
122
  display:flex;
123
123
  flex-direction:column;
124
124
  justify-content:center;
125
125
  align-content:center;
126
126
  align-items:center;
127
127
  }
128
- .magritte-icon___F0GQx_10-4-7{
128
+ .magritte-icon___F0GQx_10-4-8{
129
129
  display:flex;
130
130
  align-items:center;
131
131
  justify-content:center;
@@ -133,11 +133,11 @@
133
133
  height:48px;
134
134
  border-radius:50%;
135
135
  }
136
- .magritte-icon-init___GWK-V_10-4-7{
137
- background-color:var(--magritte-color-background-accent-secondary-v21-4-1);
138
- --magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-4-1);
136
+ .magritte-icon-init___GWK-V_10-4-8{
137
+ background-color:var(--magritte-color-background-accent-secondary-v21-4-2);
138
+ --magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v21-4-2);
139
139
  }
140
- .magritte-icon-search___ZsqO-_10-4-7{
141
- background-color:var(--magritte-color-background-secondary-v21-4-1);
142
- --magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-4-1);
140
+ .magritte-icon-search___ZsqO-_10-4-8{
141
+ background-color:var(--magritte-color-background-secondary-v21-4-2);
142
+ --magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v21-4-2);
143
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-select",
3
- "version": "10.4.7",
3
+ "version": "10.4.8",
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.12",
35
- "@hh.ru/magritte-ui-bottom-sheet": "7.1.14",
34
+ "@hh.ru/magritte-ui-action-bar": "3.0.13",
35
+ "@hh.ru/magritte-ui-bottom-sheet": "7.1.15",
36
36
  "@hh.ru/magritte-ui-breakpoint": "5.0.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"
37
+ "@hh.ru/magritte-ui-button": "5.3.3",
38
+ "@hh.ru/magritte-ui-button-stack": "2.1.53",
39
+ "@hh.ru/magritte-ui-cell": "4.2.5",
40
+ "@hh.ru/magritte-ui-checkable-card": "3.0.83",
41
+ "@hh.ru/magritte-ui-checkbox-radio": "3.0.49",
42
+ "@hh.ru/magritte-ui-drop": "9.0.3",
43
+ "@hh.ru/magritte-ui-icon": "11.0.0",
44
+ "@hh.ru/magritte-ui-input": "7.2.5",
45
+ "@hh.ru/magritte-ui-loader": "1.3.30",
46
+ "@hh.ru/magritte-ui-navigation-bar": "9.0.5",
47
+ "@hh.ru/magritte-ui-spacing": "2.0.47",
48
+ "@hh.ru/magritte-ui-theme-provider": "1.1.44",
49
+ "@hh.ru/magritte-ui-title": "6.1.8",
50
+ "@hh.ru/magritte-ui-trigger": "3.1.4",
51
+ "@hh.ru/magritte-ui-typography": "3.0.35"
52
52
  },
53
- "gitHead": "816d1718aad976e6b1ecb9dda140ddc256265e51"
53
+ "gitHead": "e402cc9c3a1c6f84ffa5651e51290e4194e564d6"
54
54
  }