@hh.ru/magritte-ui-select 9.0.7 → 9.0.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.
@@ -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-7","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_9-0-7","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-7","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-7","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-7","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-7","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_9-0-7","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_9-0-7","error-wrapper":"magritte-error-wrapper___P7jYg_9-0-7","errorWrapper":"magritte-error-wrapper___P7jYg_9-0-7"};
27
+ var styles = {"select-bottom-sheet":"magritte-select-bottom-sheet___1RZDJ_9-0-8","selectBottomSheet":"magritte-select-bottom-sheet___1RZDJ_9-0-8","select-bottom-sheet_checkbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-8","selectBottomSheetCheckbox":"magritte-select-bottom-sheet_checkbox___hwTgo_9-0-8","select-bottom-sheet_radio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-8","selectBottomSheetRadio":"magritte-select-bottom-sheet_radio___qvFFV_9-0-8","full-screen-placeholder":"magritte-full-screen-placeholder___zPC8k_9-0-8","fullScreenPlaceholder":"magritte-full-screen-placeholder___zPC8k_9-0-8","error-wrapper":"magritte-error-wrapper___P7jYg_9-0-8","errorWrapper":"magritte-error-wrapper___P7jYg_9-0-8"};
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-7","selectDrop":"magritte-select-drop___jn4O-_9-0-7","select-drop-header":"magritte-select-drop-header___fMmio_9-0-7","selectDropHeader":"magritte-select-drop-header___fMmio_9-0-7","select-drop_plain":"magritte-select-drop_plain___VL8Fz_9-0-7","selectDropPlain":"magritte-select-drop_plain___VL8Fz_9-0-7","label-option-plain":"magritte-label-option-plain___BvBH8_9-0-7","labelOptionPlain":"magritte-label-option-plain___BvBH8_9-0-7","loading":"magritte-loading___AMiuq_9-0-7","hint":"magritte-hint___6qaFl_9-0-7"};
22
+ var styles = {"select-drop":"magritte-select-drop___jn4O-_9-0-8","selectDrop":"magritte-select-drop___jn4O-_9-0-8","select-drop-header":"magritte-select-drop-header___fMmio_9-0-8","selectDropHeader":"magritte-select-drop-header___fMmio_9-0-8","select-drop_plain":"magritte-select-drop_plain___VL8Fz_9-0-8","selectDropPlain":"magritte-select-drop_plain___VL8Fz_9-0-8","label-option-plain":"magritte-label-option-plain___BvBH8_9-0-8","labelOptionPlain":"magritte-label-option-plain___BvBH8_9-0-8","loading":"magritte-loading___AMiuq_9-0-8","hint":"magritte-hint___6qaFl_9-0-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_9-0-7","selectEmptyHint":"magritte-select-empty-hint___B39XJ_9-0-7","icon":"magritte-icon___F0GQx_9-0-7","icon-init":"magritte-icon-init___GWK-V_9-0-7","iconInit":"magritte-icon-init___GWK-V_9-0-7","icon-search":"magritte-icon-search___ZsqO-_9-0-7","iconSearch":"magritte-icon-search___ZsqO-_9-0-7"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_9-0-8","selectEmptyHint":"magritte-select-empty-hint___B39XJ_9-0-8","icon":"magritte-icon___F0GQx_9-0-8","icon-init":"magritte-icon-init___GWK-V_9-0-8","iconInit":"magritte-icon-init___GWK-V_9-0-8","icon-search":"magritte-icon-search___ZsqO-_9-0-8","iconSearch":"magritte-icon-search___ZsqO-_9-0-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_9-0-7","errorContainer":"magritte-error-container___t9B5w_9-0-7"};
10
+ var styles = {"error-container":"magritte-error-container___t9B5w_9-0-8","errorContainer":"magritte-error-container___t9B5w_9-0-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_9-0-7","selectOptionLabel":"magritte-select-option-label___bYo2l_9-0-7","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_9-0-7","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_9-0-7","select-delimiter":"magritte-select-delimiter___WyeR6_9-0-7","selectDelimiter":"magritte-select-delimiter___WyeR6_9-0-7"};
12
+ var styles = {"select-option-label":"magritte-select-option-label___bYo2l_9-0-8","selectOptionLabel":"magritte-select-option-label___bYo2l_9-0-8","select-option-label_desktop":"magritte-select-option-label_desktop___bceen_9-0-8","selectOptionLabelDesktop":"magritte-select-option-label_desktop___bceen_9-0-8","select-delimiter":"magritte-select-delimiter___WyeR6_9-0-8","selectDelimiter":"magritte-select-delimiter___WyeR6_9-0-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_9-0-7{
1
+ .magritte-error-container___t9B5w_9-0-8{
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-7{
9
+ body.magritte-old-layout .magritte-error-container___t9B5w_9-0-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_9-0-7{
15
+ body:not(.magritte-old-layout) .magritte-error-container___t9B5w_9-0-8{
16
16
  min-height:320px;
17
17
  height:auto;
18
18
  }
19
19
  }
20
20
 
21
- .magritte-select-option-label___bYo2l_9-0-7{
21
+ .magritte-select-option-label___bYo2l_9-0-8{
22
22
  display:flex;
23
23
  max-height:56px;
24
24
  }
25
- .magritte-select-option-label_desktop___bceen_9-0-7{
25
+ .magritte-select-option-label_desktop___bceen_9-0-8{
26
26
  max-height:24px;
27
27
  }
28
- .magritte-select-delimiter___WyeR6_9-0-7{
28
+ .magritte-select-delimiter___WyeR6_9-0-8{
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-7{
36
+ .magritte-select-bottom-sheet___1RZDJ_9-0-8{
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-7,
43
- .magritte-select-bottom-sheet_radio___qvFFV_9-0-7{
42
+ .magritte-select-bottom-sheet_checkbox___hwTgo_9-0-8,
43
+ .magritte-select-bottom-sheet_radio___qvFFV_9-0-8{
44
44
  gap:12px;
45
45
  }
46
- .magritte-full-screen-placeholder___zPC8k_9-0-7{
46
+ .magritte-full-screen-placeholder___zPC8k_9-0-8{
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-7{
53
+ .magritte-error-wrapper___P7jYg_9-0-8{
54
54
  height:100%;
55
55
  }
56
56
 
57
- .magritte-select-drop___jn4O-_9-0-7{
57
+ .magritte-select-drop___jn4O-_9-0-8{
58
58
  display:flex;
59
59
  flex-direction:column;
60
60
  gap:8px;
61
61
  }
62
- .magritte-select-drop-header___fMmio_9-0-7{
62
+ .magritte-select-drop-header___fMmio_9-0-8{
63
63
  display:flex;
64
64
  flex-direction:column;
65
65
  margin-bottom:8px;
66
66
  }
67
- .magritte-select-drop_plain___VL8Fz_9-0-7{
67
+ .magritte-select-drop_plain___VL8Fz_9-0-8{
68
68
  gap:16px;
69
69
  }
70
- .magritte-label-option-plain___BvBH8_9-0-7{
70
+ .magritte-label-option-plain___BvBH8_9-0-8{
71
71
  display:flex;
72
72
  justify-content:center;
73
73
  }
74
- .magritte-loading___AMiuq_9-0-7{
74
+ .magritte-loading___AMiuq_9-0-8{
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-7{
80
+ .magritte-hint___6qaFl_9-0-8{
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-7{
100
+ .magritte-select-empty-hint___B39XJ_9-0-8{
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-7{
107
+ .magritte-icon___F0GQx_9-0-8{
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-7{
115
+ .magritte-icon-init___GWK-V_9-0-8{
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-7{
119
+ .magritte-icon-search___ZsqO-_9-0-8{
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.7",
3
+ "version": "9.0.8",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -46,9 +46,9 @@
46
46
  "@hh.ru/magritte-ui-loader": "1.3.19",
47
47
  "@hh.ru/magritte-ui-navigation-bar": "6.3.22",
48
48
  "@hh.ru/magritte-ui-spacing": "2.0.39",
49
- "@hh.ru/magritte-ui-title": "6.0.2",
49
+ "@hh.ru/magritte-ui-title": "6.1.0",
50
50
  "@hh.ru/magritte-ui-trigger": "3.0.20",
51
51
  "@hh.ru/magritte-ui-typography": "3.0.27"
52
52
  },
53
- "gitHead": "84f843887b38c4261b6e32e67b8128cc23b3e598"
53
+ "gitHead": "d1779f837a217bf24fa88baeee590ce7c7fe17a2"
54
54
  }