@hh.ru/magritte-ui-select 13.0.4 → 13.0.5

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.
@@ -35,7 +35,7 @@ import './internal/useDataProvider.js';
35
35
  import './useSearchState.js';
36
36
  import './internal/SearchStateContext.js';
37
37
 
38
- var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-0-4","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-4","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-4","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-4"};
38
+ var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-0-5","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-5","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-5","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-5"};
39
39
 
40
40
  const ACTION_BAR_DEFAULT_PROPS = { type: 'vertical', padding: 16, showDivider: false };
41
41
  const SelectBottomSheetComponentRenderFunc = ({ children, footer, header, ...props }, ref) => {
package/SelectDrop.js CHANGED
@@ -35,7 +35,7 @@ import '@hh.ru/magritte-ui-spacing';
35
35
  import '@hh.ru/magritte-ui-title';
36
36
  import '@hh.ru/magritte-ui-typography';
37
37
 
38
- var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-4","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-4","select-drop-container":"magritte-select-drop-container___hee1p_13-0-4","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-4","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-4","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-4","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-4","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-4","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-4","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-4"};
38
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-5","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-5","select-drop-container":"magritte-select-drop-container___hee1p_13-0-5","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-5","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-5","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-5","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-5","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-5","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-5","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-5"};
39
39
 
40
40
  const DROP_PLACEMENT = ['bottom-left', 'top-left', 'bottom-right', 'top-right'];
41
41
  const ACTION_BAR_DEFAULT_PROPS = { type: 'vertical', padding: 0, showDivider: false };
@@ -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-4","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-4","icon":"magritte-icon___F0GQx_13-0-4","icon-empty":"magritte-icon-empty___sAFRT_13-0-4","iconEmpty":"magritte-icon-empty___sAFRT_13-0-4","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-4","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-4"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_13-0-5","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-5","icon":"magritte-icon___F0GQx_13-0-5","icon-empty":"magritte-icon-empty___sAFRT_13-0-5","iconEmpty":"magritte-icon-empty___sAFRT_13-0-5","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-5","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-5"};
10
10
 
11
11
  /** Дефолтное вью подсказки о пустом списке, передаётся в свойства emptyHint/emptySearchHint */
12
12
  const SelectEmptyHint = (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-4","options_plain":"magritte-options_plain___-ihU5_13-0-4","optionsPlain":"magritte-options_plain___-ihU5_13-0-4","options_desktop":"magritte-options_desktop___gz7kx_13-0-4","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-4","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-4","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-4"};
33
+ var styles = {"options":"magritte-options___E0JN-_13-0-5","options_plain":"magritte-options_plain___-ihU5_13-0-5","optionsPlain":"magritte-options_plain___-ihU5_13-0-5","options_desktop":"magritte-options_desktop___gz7kx_13-0-5","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-5","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-5","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-5"};
34
34
 
35
35
  /** Используется для отображения списка опций */
36
36
  const SelectOptions = ({ type = 'checkbox', plain: plainExternal, className, inlineStyle, optionLayoutComponent: OptionLayoutComponentExternal, onOptionSelect: onOptionSelectExternal, 'data-qa': dataQa, }) => {
@@ -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-4","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-4","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-4","default-view":"magritte-default-view___3ptpo_13-0-4","defaultView":"magritte-default-view___3ptpo_13-0-4","input-view":"magritte-input-view___ZeEKh_13-0-4","inputView":"magritte-input-view___ZeEKh_13-0-4","hidden-view":"magritte-hidden-view___stvzX_13-0-4","hiddenView":"magritte-hidden-view___stvzX_13-0-4"};
31
+ var styles = {"anchor":"magritte-anchor___0KOBD_13-0-5","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-5","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-5","default-view":"magritte-default-view___3ptpo_13-0-5","defaultView":"magritte-default-view___3ptpo_13-0-5","input-view":"magritte-input-view___ZeEKh_13-0-5","inputView":"magritte-input-view___ZeEKh_13-0-5","hidden-view":"magritte-hidden-view___stvzX_13-0-5","hiddenView":"magritte-hidden-view___stvzX_13-0-5"};
32
32
 
33
33
  const SelectSearchTriggerComponent = ({ 'aria-label': ariaLabel, 'data-qa': dataQa = 'magritte-select-activator', disabled, maxWidth, stretched, ...triggerProps }, ref) => {
34
34
  const { hasExternalError } = useSelectConfig();
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- .magritte-error-container___ICGpQ_13-0-4{
1
+ .magritte-error-container___ICGpQ_13-0-5{
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-4{
10
+ body.magritte-old-layout .magritte-error-container___ICGpQ_13-0-5{
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-4{
16
+ body:not(.magritte-old-layout) .magritte-error-container___ICGpQ_13-0-5{
17
17
  min-height:320px;
18
18
  height:auto;
19
19
  }
20
20
  }
21
21
 
22
- .magritte-content-placeholder___rOCxd_13-0-4{
22
+ .magritte-content-placeholder___rOCxd_13-0-5{
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-4{
30
+ .magritte-select-bottom-sheet_without-header___KOKVh_13-0-5{
31
31
  padding-top:16px;
32
32
  }
33
33
 
34
- .magritte-select-drop-container-wrapper___OHM0q_13-0-4{
34
+ .magritte-select-drop-container-wrapper___OHM0q_13-0-5{
35
35
  display:flex;
36
36
  flex-direction:column;
37
37
  }
38
- .magritte-select-drop-container___hee1p_13-0-4{
38
+ .magritte-select-drop-container___hee1p_13-0-5{
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-4{
44
+ .magritte-select-drop-container_plain___766zl_13-0-5{
45
45
  padding:24px;
46
46
  margin:calc(-1 * 24px);
47
47
  }
48
- .magritte-select-drop-container_with-footer___6wp-L_13-0-4{
48
+ .magritte-select-drop-container_with-footer___6wp-L_13-0-5{
49
49
  margin-bottom:0;
50
50
  padding-bottom:0;
51
51
  }
52
- .magritte-select-drop-loading___KsNuw_13-0-4{
52
+ .magritte-select-drop-loading___KsNuw_13-0-5{
53
53
  display:flex;
54
54
  align-items:center;
55
55
  height:150px;
@@ -74,7 +74,7 @@
74
74
  --magritte-color-background-accent-secondary-v25-0-1:#F1F4F7;
75
75
  --magritte-color-icon-accent-v25-0-1:#7195AF;
76
76
  }
77
- .magritte-select-empty-hint___B39XJ_13-0-4{
77
+ .magritte-select-empty-hint___B39XJ_13-0-5{
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-4{
86
+ body.magritte-old-layout .magritte-select-empty-hint___B39XJ_13-0-5{
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-4{
92
+ body:not(.magritte-old-layout) .magritte-select-empty-hint___B39XJ_13-0-5{
93
93
  min-height:320px;
94
94
  height:auto;
95
95
  }
96
96
  }
97
- .magritte-icon___F0GQx_13-0-4{
97
+ .magritte-icon___F0GQx_13-0-5{
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-4{
105
+ .magritte-icon-empty___sAFRT_13-0-5{
106
106
  background-color:var(--magritte-color-background-accent-secondary-v25-0-1);
107
107
  --magritte-ui-icon-color-override:var(--magritte-color-icon-accent-v25-0-1);
108
108
  }
109
- .magritte-icon-empty-search___O0pus_13-0-4{
109
+ .magritte-icon-empty-search___O0pus_13-0-5{
110
110
  background-color:var(--magritte-color-background-secondary-v25-0-1);
111
111
  --magritte-ui-icon-color-override:var(--magritte-color-icon-tertiary-v25-0-1);
112
112
  }
@@ -114,74 +114,74 @@
114
114
  :root{
115
115
  --magritte-color-component-input-stroke-state-accent-focused-accessible-v25-0-1:#0070ff7a;
116
116
  }
117
- .magritte-select-option-plain___u9kSx_13-0-4{
117
+ .magritte-select-option-plain___u9kSx_13-0-5{
118
118
  border-radius:8px;
119
119
  }
120
- .magritte-select-option-plain___u9kSx_13-0-4.focus-visible{
120
+ .magritte-select-option-plain___u9kSx_13-0-5.focus-visible{
121
121
  outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v25-0-1) solid 4px;
122
122
  }
123
123
  @media (min-width: 1020px){
124
- body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-0-4:hover{
124
+ body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-0-5: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-4:hover{
129
+ body:not(.magritte-old-layout) .magritte-select-option-plain___u9kSx_13-0-5: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-4:hover{
134
+ body.magritte-old-layout .magritte-select-option-plain_active___ynHQP_13-0-5: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-4:hover{
139
+ body:not(.magritte-old-layout) .magritte-select-option-plain_active___ynHQP_13-0-5:hover{
140
140
  cursor:pointer;
141
141
  }
142
142
  }
143
- .magritte-select-label-option___wyUhk_13-0-4{
143
+ .magritte-select-label-option___wyUhk_13-0-5{
144
144
  display:flex;
145
145
  justify-content:center;
146
146
  }
147
- .magritte-select-delimiter___SsBtb_13-0-4{
147
+ .magritte-select-delimiter___SsBtb_13-0-5{
148
148
  padding-left:16px;
149
149
  padding-top:12px;
150
150
  }
151
151
 
152
- .magritte-options___E0JN-_13-0-4{
152
+ .magritte-options___E0JN-_13-0-5{
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-4{
159
+ .magritte-options_plain___-ihU5_13-0-5{
160
160
  gap:0;
161
161
  }
162
- .magritte-options_desktop___gz7kx_13-0-4{
162
+ .magritte-options_desktop___gz7kx_13-0-5{
163
163
  gap:8px;
164
164
  padding:0;
165
165
  }
166
- .magritte-options_desktop-plain___L0WIC_13-0-4{
166
+ .magritte-options_desktop-plain___L0WIC_13-0-5{
167
167
  gap:16px;
168
168
  }
169
169
 
170
- .magritte-select-layout___3THUn_13-0-4{
170
+ .magritte-select-layout___3THUn_13-0-5{
171
171
  display:contents;
172
172
  }
173
173
 
174
- .magritte-anchor___0KOBD_13-0-4{
174
+ .magritte-anchor___0KOBD_13-0-5{
175
175
  position:relative;
176
176
  width:fit-content;
177
177
  }
178
- .magritte-anchor-stretched___h7y6m_13-0-4{
178
+ .magritte-anchor-stretched___h7y6m_13-0-5{
179
179
  width:100%;
180
180
  }
181
- .magritte-default-view___3ptpo_13-0-4{
181
+ .magritte-default-view___3ptpo_13-0-5{
182
182
  min-width:0;
183
183
  }
184
- .magritte-input-view___ZeEKh_13-0-4{
184
+ .magritte-input-view___ZeEKh_13-0-5{
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-4{
192
+ .magritte-hidden-view___stvzX_13-0-5{
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-4","selectLayout":"magritte-select-layout___3THUn_13-0-4"};
13
+ var styles = {"select-layout":"magritte-select-layout___3THUn_13-0-5","selectLayout":"magritte-select-layout___3THUn_13-0-5"};
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-4","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-4","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-4","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-4","select-label-option":"magritte-select-label-option___wyUhk_13-0-4","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-4","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-4","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-4"};
14
+ var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-0-5","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-5","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-5","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-5","select-label-option":"magritte-select-label-option___wyUhk_13-0-5","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-5","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-5","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-5"};
15
15
 
16
16
  const OptionLayoutComponentDefault = ({ data, type, plain, checked, isMobile, input, }) => {
17
17
  if (type === 'delimiter') {
@@ -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-4","errorContainer":"magritte-error-container___ICGpQ_13-0-4"};
23
+ var styles = {"error-container":"magritte-error-container___ICGpQ_13-0-5","errorContainer":"magritte-error-container___ICGpQ_13-0-5"};
24
24
 
25
25
  /** Ошибка дата-провайдера, показывать решает пикер */
26
26
  const SelectError = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-select",
3
- "version": "13.0.4",
3
+ "version": "13.0.5",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -28,21 +28,21 @@
28
28
  "dependencies": {
29
29
  "@hh.ru/magritte-common-data-provider": "1.3.7",
30
30
  "@hh.ru/magritte-common-fuzzy-search": "1.0.9",
31
- "@hh.ru/magritte-common-keyboard": "4.3.4",
31
+ "@hh.ru/magritte-common-keyboard": "4.3.5",
32
32
  "@hh.ru/magritte-common-use-disabled": "1.0.15",
33
33
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.11",
34
34
  "@hh.ru/magritte-common-use-translation": "3.2.0",
35
35
  "@hh.ru/magritte-design-tokens": "25.0.1",
36
36
  "@hh.ru/magritte-internal-slot-registry": "1.1.0",
37
37
  "@hh.ru/magritte-ui-action-bar": "5.4.16",
38
- "@hh.ru/magritte-ui-bottom-sheet": "9.4.29",
38
+ "@hh.ru/magritte-ui-bottom-sheet": "9.4.30",
39
39
  "@hh.ru/magritte-ui-breakpoint": "6.1.1",
40
40
  "@hh.ru/magritte-ui-button": "7.2.27",
41
- "@hh.ru/magritte-ui-card": "8.6.7",
41
+ "@hh.ru/magritte-ui-card": "8.6.8",
42
42
  "@hh.ru/magritte-ui-cell": "7.2.38",
43
- "@hh.ru/magritte-ui-checkable-card": "5.0.46",
43
+ "@hh.ru/magritte-ui-checkable-card": "5.0.47",
44
44
  "@hh.ru/magritte-ui-checkbox-radio": "4.1.34",
45
- "@hh.ru/magritte-ui-drop": "12.3.51",
45
+ "@hh.ru/magritte-ui-drop": "12.3.52",
46
46
  "@hh.ru/magritte-ui-icon": "15.0.3",
47
47
  "@hh.ru/magritte-ui-input": "9.4.41",
48
48
  "@hh.ru/magritte-ui-loader": "4.0.11",
@@ -50,8 +50,8 @@
50
50
  "@hh.ru/magritte-ui-nav-bar": "2.0.13",
51
51
  "@hh.ru/magritte-ui-spacing": "2.1.27",
52
52
  "@hh.ru/magritte-ui-title": "8.3.10",
53
- "@hh.ru/magritte-ui-trigger": "4.3.36",
53
+ "@hh.ru/magritte-ui-trigger": "4.3.37",
54
54
  "@hh.ru/magritte-ui-typography": "5.3.12"
55
55
  },
56
- "gitHead": "2295b07acd09b3241f5338c4cfd89472bb352b4d"
56
+ "gitHead": "e658aeedfe7e60ec83de2b515c1459f47d5e91ee"
57
57
  }