@hh.ru/magritte-ui-select 10.0.16 → 10.0.18

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-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_10-0-16","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-0-16","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-0-16","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-0-16","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-0-16","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-0-16","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-0-16","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-0-16","error-wrapper":"magritte-error-wrapper___P7jYg_10-0-16","errorWrapper":"magritte-error-wrapper___P7jYg_10-0-16"};
27
+ var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_10-0-18","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_10-0-18","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-0-18","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_10-0-18","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_10-0-18","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_10-0-18","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_10-0-18","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_10-0-18","error-wrapper":"magritte-error-wrapper___P7jYg_10-0-18","errorWrapper":"magritte-error-wrapper___P7jYg_10-0-18"};
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-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-0-16","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-0-16","select-drop-container":"magritte-select-drop-container___hee1p_10-0-16","selectDropContainer":"magritte-select-drop-container___hee1p_10-0-16","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-0-16","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-0-16","select-drop":"magritte-select-drop___jn4O-_10-0-16","selectDrop":"magritte-select-drop___jn4O-_10-0-16","select-drop-header":"magritte-select-drop-header___fMmio_10-0-16","selectDropHeader":"magritte-select-drop-header___fMmio_10-0-16","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-0-16","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-0-16","label-option-plain":"magritte-label-option-plain___BvBH8_10-0-16","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-0-16","loading":"magritte-loading___AMiuq_10-0-16","hint":"magritte-hint___6qaFl_10-0-16"};
22
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_10-0-18","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_10-0-18","select-drop-container":"magritte-select-drop-container___hee1p_10-0-18","selectDropContainer":"magritte-select-drop-container___hee1p_10-0-18","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_10-0-18","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_10-0-18","select-drop":"magritte-select-drop___jn4O-_10-0-18","selectDrop":"magritte-select-drop___jn4O-_10-0-18","select-drop-header":"magritte-select-drop-header___fMmio_10-0-18","selectDropHeader":"magritte-select-drop-header___fMmio_10-0-18","select-drop_plain":"magritte-select-drop_plain___VL8Fz_10-0-18","selectDropPlain":"magritte-select-drop_plain___VL8Fz_10-0-18","label-option-plain":"magritte-label-option-plain___BvBH8_10-0-18","labelOptionPlain":"magritte-label-option-plain___BvBH8_10-0-18","loading":"magritte-loading___AMiuq_10-0-18","hint":"magritte-hint___6qaFl_10-0-18"};
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-0-16","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-0-16","icon":"magritte-icon___F0GQx_10-0-16","icon-init":"magritte-icon-init___GWK-V_10-0-16","iconInit":"magritte-icon-init___GWK-V_10-0-16","icon-search":"magritte-icon-search___ZsqO-_10-0-16","iconSearch":"magritte-icon-search___ZsqO-_10-0-16"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_10-0-18","selectEmptyHint":"magritte-select-empty-hint___B39XJ_10-0-18","icon":"magritte-icon___F0GQx_10-0-18","icon-init":"magritte-icon-init___GWK-V_10-0-18","iconInit":"magritte-icon-init___GWK-V_10-0-18","icon-search":"magritte-icon-search___ZsqO-_10-0-18","iconSearch":"magritte-icon-search___ZsqO-_10-0-18"};
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-0-16","errorContainer":"magritte-error-container___t9B5w_10-0-16"};
10
+ var styles = {"error-container":"magritte-error-container___t9B5w_10-0-18","errorContainer":"magritte-error-container___t9B5w_10-0-18"};
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-0-16","selectOptionLabel":"magritte-select-option-label___bYo2l_10-0-16","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-0-16","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-0-16","select-delimiter":"magritte-select-delimiter___WyeR6_10-0-16","selectDelimiter":"magritte-select-delimiter___WyeR6_10-0-16"};
12
+ var styles = {"select-option-label":"magritte-select-option-label___bYo2l_10-0-18","selectOptionLabel":"magritte-select-option-label___bYo2l_10-0-18","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_10-0-18","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_10-0-18","select-delimiter":"magritte-select-delimiter___WyeR6_10-0-18","selectDelimiter":"magritte-select-delimiter___WyeR6_10-0-18"};
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-0-16{
1
+ .magritte-error-container___t9B5w_10-0-18{
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-0-16{
9
+ body.magritte-old-layout .magritte-error-container___t9B5w_10-0-18{
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-0-16{
15
+ body:not(.magritte-old-layout) .magritte-error-container___t9B5w_10-0-18{
16
16
  min-height:320px;
17
17
  height:auto;
18
18
  }
19
19
  }
20
20
 
21
- .magritte-select-option-label___bYo2l_10-0-16{
21
+ .magritte-select-option-label___bYo2l_10-0-18{
22
22
  display:flex;
23
23
  max-height:56px;
24
24
  }
25
- .magritte-select-option-label_desktop___bceen_10-0-16{
25
+ .magritte-select-option-label_desktop___bceen_10-0-18{
26
26
  max-height:24px;
27
27
  }
28
- .magritte-select-delimiter___WyeR6_10-0-16{
28
+ .magritte-select-delimiter___WyeR6_10-0-18{
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-0-16{
36
+ .magritte-select-bottom-sheet___1RZDJ_10-0-18{
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-0-16,
43
- .magritte-select-bottom-sheet_radio___qvFFV_10-0-16{
42
+ .magritte-select-bottom-sheet_checkbox___hwTgo_10-0-18,
43
+ .magritte-select-bottom-sheet_radio___qvFFV_10-0-18{
44
44
  gap:12px;
45
45
  }
46
- .magritte-full-screen-placeholder___zPC8k_10-0-16{
46
+ .magritte-full-screen-placeholder___zPC8k_10-0-18{
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-0-16{
53
+ .magritte-error-wrapper___P7jYg_10-0-18{
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-0-16{
61
+ .magritte-select-drop-container-wrapper___OHM0q_10-0-18{
62
62
  display:flex;
63
63
  flex-direction:column;
64
64
  }
65
- .magritte-select-drop-container___hee1p_10-0-16{
65
+ .magritte-select-drop-container___hee1p_10-0-18{
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-0-16{
71
+ .magritte-select-drop-container_plain___766zl_10-0-18{
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-0-16{
75
+ .magritte-select-drop___jn4O-_10-0-18{
76
76
  display:flex;
77
77
  flex-direction:column;
78
78
  gap:8px;
79
79
  }
80
- .magritte-select-drop-header___fMmio_10-0-16{
80
+ .magritte-select-drop-header___fMmio_10-0-18{
81
81
  display:flex;
82
82
  flex-direction:column;
83
83
  margin-bottom:8px;
84
84
  }
85
- .magritte-select-drop_plain___VL8Fz_10-0-16{
85
+ .magritte-select-drop_plain___VL8Fz_10-0-18{
86
86
  gap:16px;
87
87
  }
88
- .magritte-label-option-plain___BvBH8_10-0-16{
88
+ .magritte-label-option-plain___BvBH8_10-0-18{
89
89
  display:flex;
90
90
  justify-content:center;
91
91
  }
92
- .magritte-loading___AMiuq_10-0-16{
92
+ .magritte-loading___AMiuq_10-0-18{
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-0-16{
98
+ .magritte-hint___6qaFl_10-0-18{
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-0-16{
118
+ .magritte-select-empty-hint___B39XJ_10-0-18{
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-0-16{
125
+ .magritte-icon___F0GQx_10-0-18{
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-0-16{
133
+ .magritte-icon-init___GWK-V_10-0-18{
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-0-16{
137
+ .magritte-icon-search___ZsqO-_10-0-18{
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.0.16",
3
+ "version": "10.0.18",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -31,25 +31,25 @@
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": "4.4.33",
35
- "@hh.ru/magritte-ui-action-bar": "3.0.7",
36
- "@hh.ru/magritte-ui-bottom-sheet": "7.1.0",
34
+ "@hh.ru/magritte-ui-action": "4.4.34",
35
+ "@hh.ru/magritte-ui-action-bar": "3.0.8",
36
+ "@hh.ru/magritte-ui-bottom-sheet": "7.1.2",
37
37
  "@hh.ru/magritte-ui-breakpoint": "5.0.0",
38
- "@hh.ru/magritte-ui-button": "5.2.27",
39
- "@hh.ru/magritte-ui-button-stack": "2.1.47",
40
- "@hh.ru/magritte-ui-cell": "4.1.9",
41
- "@hh.ru/magritte-ui-checkable-card": "3.0.76",
42
- "@hh.ru/magritte-ui-checkbox-radio": "3.0.43",
38
+ "@hh.ru/magritte-ui-button": "5.2.28",
39
+ "@hh.ru/magritte-ui-button-stack": "2.1.48",
40
+ "@hh.ru/magritte-ui-cell": "4.1.10",
41
+ "@hh.ru/magritte-ui-checkable-card": "3.0.77",
42
+ "@hh.ru/magritte-ui-checkbox-radio": "3.0.44",
43
43
  "@hh.ru/magritte-ui-drop": "8.0.4",
44
- "@hh.ru/magritte-ui-icon": "10.0.0",
45
- "@hh.ru/magritte-ui-input": "7.1.17",
46
- "@hh.ru/magritte-ui-loader": "1.3.25",
47
- "@hh.ru/magritte-ui-navigation-bar": "8.0.0",
44
+ "@hh.ru/magritte-ui-icon": "10.1.0",
45
+ "@hh.ru/magritte-ui-input": "7.1.18",
46
+ "@hh.ru/magritte-ui-loader": "1.3.26",
47
+ "@hh.ru/magritte-ui-navigation-bar": "8.0.1",
48
48
  "@hh.ru/magritte-ui-spacing": "2.0.43",
49
49
  "@hh.ru/magritte-ui-theme-provider": "1.1.41",
50
50
  "@hh.ru/magritte-ui-title": "6.1.4",
51
- "@hh.ru/magritte-ui-trigger": "3.0.30",
51
+ "@hh.ru/magritte-ui-trigger": "3.0.31",
52
52
  "@hh.ru/magritte-ui-typography": "3.0.31"
53
53
  },
54
- "gitHead": "701d9de63f5201fe61f21bbc9f0252a59201c9e3"
54
+ "gitHead": "20f33b3e2dcb9c74daecd73cfc489a5ea93beed4"
55
55
  }