@hh.ru/magritte-ui-select 13.0.31 → 13.0.32

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.
@@ -37,7 +37,7 @@ import './internal/useDataProvider.js';
37
37
  import './useSearchState.js';
38
38
  import './internal/SearchStateContext.js';
39
39
 
40
- var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-0-31","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-31","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-31","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-31"};
40
+ var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-0-32","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-32","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-32","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-32"};
41
41
 
42
42
  const ACTION_BAR_DEFAULT_PROPS = BOTTOM_SHEET_ACTION_BAR_DEFAULTS;
43
43
  const SelectBottomSheetComponentRenderFunc = ({ children, footer, header, ...props }, ref) => {
package/SelectDrop.js CHANGED
@@ -36,7 +36,7 @@ import '@hh.ru/magritte-ui-spacing';
36
36
  import '@hh.ru/magritte-ui-title';
37
37
  import '@hh.ru/magritte-ui-typography';
38
38
 
39
- var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-31","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-31","select-drop-container":"magritte-select-drop-container___hee1p_13-0-31","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-31","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-31","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-31","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-31","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-31","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-31","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-31"};
39
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-32","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-32","select-drop-container":"magritte-select-drop-container___hee1p_13-0-32","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-32","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-32","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-32","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-32","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-32","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-32","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-32"};
40
40
 
41
41
  const DROP_PLACEMENT = ["bottom-left", "top-left", "bottom-right", "top-right"];
42
42
  const ACTION_BAR_DEFAULT_PROPS = SELECT_DROP_ACTION_BAR_DEFAULTS;
@@ -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_13-0-31","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-31","icon":"magritte-icon___F0GQx_13-0-31","icon-empty":"magritte-icon-empty___sAFRT_13-0-31","iconEmpty":"magritte-icon-empty___sAFRT_13-0-31","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-31","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-31"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_13-0-32","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-32","icon":"magritte-icon___F0GQx_13-0-32","icon-empty":"magritte-icon-empty___sAFRT_13-0-32","iconEmpty":"magritte-icon-empty___sAFRT_13-0-32","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-32","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-32"};
10
10
 
11
11
  const SelectEmptyHint = (props) => {
12
12
  const { type = "init", title, children } = props;
package/SelectOptions.js CHANGED
@@ -30,7 +30,7 @@ import '@hh.ru/magritte-common-data-provider';
30
30
  import './internal/useDataProvider.js';
31
31
  import './internal/SearchStateContext.js';
32
32
 
33
- var styles = {"options":"magritte-options___E0JN-_13-0-31","options_plain":"magritte-options_plain___-ihU5_13-0-31","optionsPlain":"magritte-options_plain___-ihU5_13-0-31","options_desktop":"magritte-options_desktop___gz7kx_13-0-31","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-31","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-31","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-31"};
33
+ var styles = {"options":"magritte-options___E0JN-_13-0-32","options_plain":"magritte-options_plain___-ihU5_13-0-32","optionsPlain":"magritte-options_plain___-ihU5_13-0-32","options_desktop":"magritte-options_desktop___gz7kx_13-0-32","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-32","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-32","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-32"};
34
34
 
35
35
  const SelectOptions = ({
36
36
  type = "checkbox",
@@ -28,7 +28,7 @@ import './internal/SelectDataProvider.js';
28
28
  import '@hh.ru/magritte-common-data-provider';
29
29
  import './internal/useDataProvider.js';
30
30
 
31
- var styles = {"anchor":"magritte-anchor___0KOBD_13-0-31","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-31","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-31","default-view":"magritte-default-view___3ptpo_13-0-31","defaultView":"magritte-default-view___3ptpo_13-0-31","input-view":"magritte-input-view___ZeEKh_13-0-31","inputView":"magritte-input-view___ZeEKh_13-0-31","hidden-view":"magritte-hidden-view___stvzX_13-0-31","hiddenView":"magritte-hidden-view___stvzX_13-0-31"};
31
+ var styles = {"anchor":"magritte-anchor___0KOBD_13-0-32","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-32","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-32","default-view":"magritte-default-view___3ptpo_13-0-32","defaultView":"magritte-default-view___3ptpo_13-0-32","input-view":"magritte-input-view___ZeEKh_13-0-32","inputView":"magritte-input-view___ZeEKh_13-0-32","hidden-view":"magritte-hidden-view___stvzX_13-0-32","hiddenView":"magritte-hidden-view___stvzX_13-0-32"};
32
32
 
33
33
  const SelectSearchTriggerComponent = ({
34
34
  "aria-label": ariaLabel,
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- .magritte-error-container___ICGpQ_13-0-31{
1
+ .magritte-error-container___ICGpQ_13-0-32{
2
2
  display:flex;
3
3
  flex-direction:column;
4
4
  align-items:center;
@@ -7,19 +7,19 @@
7
7
  text-align:center;
8
8
  }
9
9
  @media (min-width: 1020px){
10
- body.magritte-old-layout .magritte-error-container___ICGpQ_13-0-31{
10
+ body.magritte-old-layout .magritte-error-container___ICGpQ_13-0-32{
11
11
  min-height:320px;
12
12
  height:auto;
13
13
  }
14
14
  }
15
15
  @media (min-width: 1024px){
16
- body:not(.magritte-old-layout) .magritte-error-container___ICGpQ_13-0-31{
16
+ body:not(.magritte-old-layout) .magritte-error-container___ICGpQ_13-0-32{
17
17
  min-height:320px;
18
18
  height:auto;
19
19
  }
20
20
  }
21
21
 
22
- .magritte-content-placeholder___rOCxd_13-0-31{
22
+ .magritte-content-placeholder___rOCxd_13-0-32{
23
23
  display:flex;
24
24
  flex-direction:column;
25
25
  align-items:center;
@@ -27,29 +27,29 @@
27
27
  height:100%;
28
28
  text-align:center;
29
29
  }
30
- .magritte-select-bottom-sheet_without-header___KOKVh_13-0-31{
30
+ .magritte-select-bottom-sheet_without-header___KOKVh_13-0-32{
31
31
  padding-top:16px;
32
32
  }
33
33
 
34
- .magritte-select-drop-container-wrapper___OHM0q_13-0-31{
34
+ .magritte-select-drop-container-wrapper___OHM0q_13-0-32{
35
35
  display:flex;
36
36
  flex-direction:column;
37
37
  }
38
- .magritte-select-drop-container___hee1p_13-0-31{
38
+ .magritte-select-drop-container___hee1p_13-0-32{
39
39
  display:flex;
40
40
  flex-direction:column;
41
41
  padding:12px;
42
42
  margin:calc(-1 * 12px);
43
43
  }
44
- .magritte-select-drop-container_plain___766zl_13-0-31{
44
+ .magritte-select-drop-container_plain___766zl_13-0-32{
45
45
  padding:24px;
46
46
  margin:calc(-1 * 24px);
47
47
  }
48
- .magritte-select-drop-container_with-footer___6wp-L_13-0-31{
48
+ .magritte-select-drop-container_with-footer___6wp-L_13-0-32{
49
49
  margin-bottom:0;
50
50
  padding-bottom:0;
51
51
  }
52
- .magritte-select-drop-loading___KsNuw_13-0-31{
52
+ .magritte-select-drop-loading___KsNuw_13-0-32{
53
53
  display:flex;
54
54
  align-items:center;
55
55
  height:150px;
@@ -74,7 +74,7 @@
74
74
  --magritte-color-background-accent-secondary-v26-0-2:#F1F4F7;
75
75
  --magritte-color-icon-accent-v26-0-2:#7195AF;
76
76
  }
77
- .magritte-select-empty-hint___B39XJ_13-0-31{
77
+ .magritte-select-empty-hint___B39XJ_13-0-32{
78
78
  display:flex;
79
79
  flex-direction:column;
80
80
  align-items:center;
@@ -83,18 +83,18 @@
83
83
  text-align:center;
84
84
  }
85
85
  @media (min-width: 1020px){
86
- body.magritte-old-layout .magritte-select-empty-hint___B39XJ_13-0-31{
86
+ body.magritte-old-layout .magritte-select-empty-hint___B39XJ_13-0-32{
87
87
  min-height:320px;
88
88
  height:auto;
89
89
  }
90
90
  }
91
91
  @media (min-width: 1024px){
92
- body:not(.magritte-old-layout) .magritte-select-empty-hint___B39XJ_13-0-31{
92
+ body:not(.magritte-old-layout) .magritte-select-empty-hint___B39XJ_13-0-32{
93
93
  min-height:320px;
94
94
  height:auto;
95
95
  }
96
96
  }
97
- .magritte-icon___F0GQx_13-0-31{
97
+ .magritte-icon___F0GQx_13-0-32{
98
98
  display:flex;
99
99
  align-items:center;
100
100
  justify-content:center;
@@ -102,11 +102,11 @@
102
102
  height:48px;
103
103
  border-radius:50%;
104
104
  }
105
- .magritte-icon-empty___sAFRT_13-0-31{
105
+ .magritte-icon-empty___sAFRT_13-0-32{
106
106
  background-color:var(--magritte-color-background-accent-secondary-v26-0-2);
107
107
  --magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v26-0-2);
108
108
  }
109
- .magritte-icon-empty-search___O0pus_13-0-31{
109
+ .magritte-icon-empty-search___O0pus_13-0-32{
110
110
  background-color:var(--magritte-color-background-secondary-v26-0-2);
111
111
  --magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v26-0-2);
112
112
  }
@@ -114,74 +114,74 @@
114
114
  :root{
115
115
  --magritte-color-component-input-stroke-state-accent-focused-accessible-v26-0-2:#0070ff7a;
116
116
  }
117
- .magritte-select-option-plain___u9kSx_13-0-31{
117
+ .magritte-select-option-plain___u9kSx_13-0-32{
118
118
  border-radius:8px;
119
119
  }
120
- .magritte-select-option-plain___u9kSx_13-0-31.focus-visible{
120
+ .magritte-select-option-plain___u9kSx_13-0-32.focus-visible{
121
121
  outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v26-0-2) solid 4px;
122
122
  }
123
123
  @media (min-width: 1020px){
124
- body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-0-31:hover{
124
+ body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-0-32:hover{
125
125
  cursor:default;
126
126
  }
127
127
  }
128
128
  @media (min-width: 1024px){
129
- body:not(.magritte-old-layout) .magritte-select-option-plain___u9kSx_13-0-31:hover{
129
+ body:not(.magritte-old-layout) .magritte-select-option-plain___u9kSx_13-0-32:hover{
130
130
  cursor:default;
131
131
  }
132
132
  }
133
133
  @media (min-width: 1020px){
134
- body.magritte-old-layout .magritte-select-option-plain_active___ynHQP_13-0-31:hover{
134
+ body.magritte-old-layout .magritte-select-option-plain_active___ynHQP_13-0-32:hover{
135
135
  cursor:pointer;
136
136
  }
137
137
  }
138
138
  @media (min-width: 1024px){
139
- body:not(.magritte-old-layout) .magritte-select-option-plain_active___ynHQP_13-0-31:hover{
139
+ body:not(.magritte-old-layout) .magritte-select-option-plain_active___ynHQP_13-0-32:hover{
140
140
  cursor:pointer;
141
141
  }
142
142
  }
143
- .magritte-select-label-option___wyUhk_13-0-31{
143
+ .magritte-select-label-option___wyUhk_13-0-32{
144
144
  display:flex;
145
145
  justify-content:center;
146
146
  }
147
- .magritte-select-delimiter___SsBtb_13-0-31{
147
+ .magritte-select-delimiter___SsBtb_13-0-32{
148
148
  padding-left:16px;
149
149
  padding-top:12px;
150
150
  }
151
151
 
152
- .magritte-options___E0JN-_13-0-31{
152
+ .magritte-options___E0JN-_13-0-32{
153
153
  display:flex;
154
154
  flex-direction:column;
155
155
  padding:0 16px;
156
156
  padding-bottom:16px;
157
157
  gap:12px;
158
158
  }
159
- .magritte-options_plain___-ihU5_13-0-31{
159
+ .magritte-options_plain___-ihU5_13-0-32{
160
160
  gap:0;
161
161
  }
162
- .magritte-options_desktop___gz7kx_13-0-31{
162
+ .magritte-options_desktop___gz7kx_13-0-32{
163
163
  gap:8px;
164
164
  padding:0;
165
165
  }
166
- .magritte-options_desktop-plain___L0WIC_13-0-31{
166
+ .magritte-options_desktop-plain___L0WIC_13-0-32{
167
167
  gap:16px;
168
168
  }
169
169
 
170
- .magritte-select-layout___3THUn_13-0-31{
170
+ .magritte-select-layout___3THUn_13-0-32{
171
171
  display:contents;
172
172
  }
173
173
 
174
- .magritte-anchor___0KOBD_13-0-31{
174
+ .magritte-anchor___0KOBD_13-0-32{
175
175
  position:relative;
176
176
  width:fit-content;
177
177
  }
178
- .magritte-anchor-stretched___h7y6m_13-0-31{
178
+ .magritte-anchor-stretched___h7y6m_13-0-32{
179
179
  width:100%;
180
180
  }
181
- .magritte-default-view___3ptpo_13-0-31{
181
+ .magritte-default-view___3ptpo_13-0-32{
182
182
  min-width:0;
183
183
  }
184
- .magritte-input-view___ZeEKh_13-0-31{
184
+ .magritte-input-view___ZeEKh_13-0-32{
185
185
  position:absolute;
186
186
  top:0;
187
187
  left:0;
@@ -189,6 +189,6 @@
189
189
  display:flex;
190
190
  min-width:0;
191
191
  }
192
- .magritte-hidden-view___stvzX_13-0-31{
192
+ .magritte-hidden-view___stvzX_13-0-32{
193
193
  visibility:hidden;
194
194
  }
@@ -10,7 +10,7 @@ import { useVisibility } from '../useVisibility.js';
10
10
  import '@hh.ru/magritte-internal-slot-registry';
11
11
  import './VisibilityContext.js';
12
12
 
13
- var styles = {"select-layout":"magritte-select-layout___3THUn_13-0-31","selectLayout":"magritte-select-layout___3THUn_13-0-31"};
13
+ var styles = {"select-layout":"magritte-select-layout___3THUn_13-0-32","selectLayout":"magritte-select-layout___3THUn_13-0-32"};
14
14
 
15
15
  const CLOSED_BY_USER_KEYS = [keyboardKeys.Escape, keyboardKeys.Enter, keyboardKeys.Space];
16
16
  const FocusWithinContext = createContext(false);
@@ -11,7 +11,7 @@ import { OptionControl } from './OptionControl.js';
11
11
  import { Text } from '@hh.ru/magritte-ui-typography';
12
12
  import '@hh.ru/magritte-ui-checkbox-radio';
13
13
 
14
- var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-0-31","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-31","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-31","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-31","select-label-option":"magritte-select-label-option___wyUhk_13-0-31","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-31","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-31","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-31"};
14
+ var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-0-32","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-32","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-32","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-32","select-label-option":"magritte-select-label-option___wyUhk_13-0-32","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-32","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-32","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-32"};
15
15
 
16
16
  const OptionLayoutComponentDefault = ({
17
17
  data,
@@ -20,7 +20,7 @@ import '../useVisibility.js';
20
20
  import './VisibilityContext.js';
21
21
  import './ConfigContext.js';
22
22
 
23
- var styles = {"error-container":"magritte-error-container___ICGpQ_13-0-31","errorContainer":"magritte-error-container___ICGpQ_13-0-31"};
23
+ var styles = {"error-container":"magritte-error-container___ICGpQ_13-0-32","errorContainer":"magritte-error-container___ICGpQ_13-0-32"};
24
24
 
25
25
  const SelectError = () => {
26
26
  const { isMobile } = useBreakpoint();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-select",
3
- "version": "13.0.31",
3
+ "version": "13.0.32",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -40,7 +40,7 @@
40
40
  "@hh.ru/magritte-design-tokens": "26.0.2",
41
41
  "@hh.ru/magritte-internal-slot-registry": "1.1.2",
42
42
  "@hh.ru/magritte-ui-action-bar": "5.4.27",
43
- "@hh.ru/magritte-ui-bottom-sheet": "9.4.54",
43
+ "@hh.ru/magritte-ui-bottom-sheet": "9.4.55",
44
44
  "@hh.ru/magritte-ui-breakpoint": "6.1.3",
45
45
  "@hh.ru/magritte-ui-button": "7.3.9",
46
46
  "@hh.ru/magritte-ui-card": "8.7.7",
@@ -49,7 +49,7 @@
49
49
  "@hh.ru/magritte-ui-checkbox-radio": "4.1.41",
50
50
  "@hh.ru/magritte-ui-drop": "12.3.64",
51
51
  "@hh.ru/magritte-ui-icon": "15.1.6",
52
- "@hh.ru/magritte-ui-input": "9.4.54",
52
+ "@hh.ru/magritte-ui-input": "9.4.55",
53
53
  "@hh.ru/magritte-ui-loader": "4.1.7",
54
54
  "@hh.ru/magritte-ui-mock-component": "1.1.9",
55
55
  "@hh.ru/magritte-ui-nav-bar": "2.0.23",
@@ -58,5 +58,5 @@
58
58
  "@hh.ru/magritte-ui-trigger": "4.3.50",
59
59
  "@hh.ru/magritte-ui-typography": "5.3.17"
60
60
  },
61
- "gitHead": "5c3c2c1bf7101bd746688b009408e18f03fe200a"
61
+ "gitHead": "51c32c8cee9bb273937378996ab89aeb50d9aa48"
62
62
  }