@hh.ru/magritte-ui-select 13.0.11 → 13.0.12

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-11","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-11","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-11","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-11"};
38
+ var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-0-12","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-0-12","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-12","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-0-12"};
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-11","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-11","select-drop-container":"magritte-select-drop-container___hee1p_13-0-11","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-11","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-11","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-11","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-11","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-11","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-11","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-11"};
38
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-12","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-0-12","select-drop-container":"magritte-select-drop-container___hee1p_13-0-12","selectDropContainer":"magritte-select-drop-container___hee1p_13-0-12","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-0-12","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-0-12","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-0-12","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-0-12","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-0-12","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-0-12"};
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-11","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-11","icon":"magritte-icon___F0GQx_13-0-11","icon-empty":"magritte-icon-empty___sAFRT_13-0-11","iconEmpty":"magritte-icon-empty___sAFRT_13-0-11","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-11","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-11"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_13-0-12","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-0-12","icon":"magritte-icon___F0GQx_13-0-12","icon-empty":"magritte-icon-empty___sAFRT_13-0-12","iconEmpty":"magritte-icon-empty___sAFRT_13-0-12","icon-empty-search":"magritte-icon-empty-search___O0pus_13-0-12","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-0-12"};
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-11","options_plain":"magritte-options_plain___-ihU5_13-0-11","optionsPlain":"magritte-options_plain___-ihU5_13-0-11","options_desktop":"magritte-options_desktop___gz7kx_13-0-11","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-11","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-11","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-11"};
33
+ var styles = {"options":"magritte-options___E0JN-_13-0-12","options_plain":"magritte-options_plain___-ihU5_13-0-12","optionsPlain":"magritte-options_plain___-ihU5_13-0-12","options_desktop":"magritte-options_desktop___gz7kx_13-0-12","optionsDesktop":"magritte-options_desktop___gz7kx_13-0-12","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-0-12","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-0-12"};
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-11","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-11","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-11","default-view":"magritte-default-view___3ptpo_13-0-11","defaultView":"magritte-default-view___3ptpo_13-0-11","input-view":"magritte-input-view___ZeEKh_13-0-11","inputView":"magritte-input-view___ZeEKh_13-0-11","hidden-view":"magritte-hidden-view___stvzX_13-0-11","hiddenView":"magritte-hidden-view___stvzX_13-0-11"};
31
+ var styles = {"anchor":"magritte-anchor___0KOBD_13-0-12","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-0-12","anchorStretched":"magritte-anchor-stretched___h7y6m_13-0-12","default-view":"magritte-default-view___3ptpo_13-0-12","defaultView":"magritte-default-view___3ptpo_13-0-12","input-view":"magritte-input-view___ZeEKh_13-0-12","inputView":"magritte-input-view___ZeEKh_13-0-12","hidden-view":"magritte-hidden-view___stvzX_13-0-12","hiddenView":"magritte-hidden-view___stvzX_13-0-12"};
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-11{
1
+ .magritte-error-container___ICGpQ_13-0-12{
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-11{
10
+ body.magritte-old-layout .magritte-error-container___ICGpQ_13-0-12{
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-11{
16
+ body:not(.magritte-old-layout) .magritte-error-container___ICGpQ_13-0-12{
17
17
  min-height:320px;
18
18
  height:auto;
19
19
  }
20
20
  }
21
21
 
22
- .magritte-content-placeholder___rOCxd_13-0-11{
22
+ .magritte-content-placeholder___rOCxd_13-0-12{
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-11{
30
+ .magritte-select-bottom-sheet_without-header___KOKVh_13-0-12{
31
31
  padding-top:16px;
32
32
  }
33
33
 
34
- .magritte-select-drop-container-wrapper___OHM0q_13-0-11{
34
+ .magritte-select-drop-container-wrapper___OHM0q_13-0-12{
35
35
  display:flex;
36
36
  flex-direction:column;
37
37
  }
38
- .magritte-select-drop-container___hee1p_13-0-11{
38
+ .magritte-select-drop-container___hee1p_13-0-12{
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-11{
44
+ .magritte-select-drop-container_plain___766zl_13-0-12{
45
45
  padding:24px;
46
46
  margin:calc(-1 * 24px);
47
47
  }
48
- .magritte-select-drop-container_with-footer___6wp-L_13-0-11{
48
+ .magritte-select-drop-container_with-footer___6wp-L_13-0-12{
49
49
  margin-bottom:0;
50
50
  padding-bottom:0;
51
51
  }
52
- .magritte-select-drop-loading___KsNuw_13-0-11{
52
+ .magritte-select-drop-loading___KsNuw_13-0-12{
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-11{
77
+ .magritte-select-empty-hint___B39XJ_13-0-12{
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-11{
86
+ body.magritte-old-layout .magritte-select-empty-hint___B39XJ_13-0-12{
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-11{
92
+ body:not(.magritte-old-layout) .magritte-select-empty-hint___B39XJ_13-0-12{
93
93
  min-height:320px;
94
94
  height:auto;
95
95
  }
96
96
  }
97
- .magritte-icon___F0GQx_13-0-11{
97
+ .magritte-icon___F0GQx_13-0-12{
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-11{
105
+ .magritte-icon-empty___sAFRT_13-0-12{
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-11{
109
+ .magritte-icon-empty-search___O0pus_13-0-12{
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-11{
117
+ .magritte-select-option-plain___u9kSx_13-0-12{
118
118
  border-radius:8px;
119
119
  }
120
- .magritte-select-option-plain___u9kSx_13-0-11.focus-visible{
120
+ .magritte-select-option-plain___u9kSx_13-0-12.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-11:hover{
124
+ body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-0-12: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-11:hover{
129
+ body:not(.magritte-old-layout) .magritte-select-option-plain___u9kSx_13-0-12: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-11:hover{
134
+ body.magritte-old-layout .magritte-select-option-plain_active___ynHQP_13-0-12: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-11:hover{
139
+ body:not(.magritte-old-layout) .magritte-select-option-plain_active___ynHQP_13-0-12:hover{
140
140
  cursor:pointer;
141
141
  }
142
142
  }
143
- .magritte-select-label-option___wyUhk_13-0-11{
143
+ .magritte-select-label-option___wyUhk_13-0-12{
144
144
  display:flex;
145
145
  justify-content:center;
146
146
  }
147
- .magritte-select-delimiter___SsBtb_13-0-11{
147
+ .magritte-select-delimiter___SsBtb_13-0-12{
148
148
  padding-left:16px;
149
149
  padding-top:12px;
150
150
  }
151
151
 
152
- .magritte-options___E0JN-_13-0-11{
152
+ .magritte-options___E0JN-_13-0-12{
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-11{
159
+ .magritte-options_plain___-ihU5_13-0-12{
160
160
  gap:0;
161
161
  }
162
- .magritte-options_desktop___gz7kx_13-0-11{
162
+ .magritte-options_desktop___gz7kx_13-0-12{
163
163
  gap:8px;
164
164
  padding:0;
165
165
  }
166
- .magritte-options_desktop-plain___L0WIC_13-0-11{
166
+ .magritte-options_desktop-plain___L0WIC_13-0-12{
167
167
  gap:16px;
168
168
  }
169
169
 
170
- .magritte-select-layout___3THUn_13-0-11{
170
+ .magritte-select-layout___3THUn_13-0-12{
171
171
  display:contents;
172
172
  }
173
173
 
174
- .magritte-anchor___0KOBD_13-0-11{
174
+ .magritte-anchor___0KOBD_13-0-12{
175
175
  position:relative;
176
176
  width:fit-content;
177
177
  }
178
- .magritte-anchor-stretched___h7y6m_13-0-11{
178
+ .magritte-anchor-stretched___h7y6m_13-0-12{
179
179
  width:100%;
180
180
  }
181
- .magritte-default-view___3ptpo_13-0-11{
181
+ .magritte-default-view___3ptpo_13-0-12{
182
182
  min-width:0;
183
183
  }
184
- .magritte-input-view___ZeEKh_13-0-11{
184
+ .magritte-input-view___ZeEKh_13-0-12{
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-11{
192
+ .magritte-hidden-view___stvzX_13-0-12{
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-11","selectLayout":"magritte-select-layout___3THUn_13-0-11"};
13
+ var styles = {"select-layout":"magritte-select-layout___3THUn_13-0-12","selectLayout":"magritte-select-layout___3THUn_13-0-12"};
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-11","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-11","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-11","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-11","select-label-option":"magritte-select-label-option___wyUhk_13-0-11","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-11","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-11","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-11"};
14
+ var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-0-12","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-0-12","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-0-12","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-0-12","select-label-option":"magritte-select-label-option___wyUhk_13-0-12","selectLabelOption":"magritte-select-label-option___wyUhk_13-0-12","select-delimiter":"magritte-select-delimiter___SsBtb_13-0-12","selectDelimiter":"magritte-select-delimiter___SsBtb_13-0-12"};
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-11","errorContainer":"magritte-error-container___ICGpQ_13-0-11"};
23
+ var styles = {"error-container":"magritte-error-container___ICGpQ_13-0-12","errorContainer":"magritte-error-container___ICGpQ_13-0-12"};
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.11",
3
+ "version": "13.0.12",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -35,7 +35,7 @@
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.18",
38
- "@hh.ru/magritte-ui-bottom-sheet": "9.4.35",
38
+ "@hh.ru/magritte-ui-bottom-sheet": "9.4.36",
39
39
  "@hh.ru/magritte-ui-breakpoint": "6.1.1",
40
40
  "@hh.ru/magritte-ui-button": "7.3.0",
41
41
  "@hh.ru/magritte-ui-card": "8.7.0",
@@ -44,7 +44,7 @@
44
44
  "@hh.ru/magritte-ui-checkbox-radio": "4.1.34",
45
45
  "@hh.ru/magritte-ui-drop": "12.3.54",
46
46
  "@hh.ru/magritte-ui-icon": "15.0.3",
47
- "@hh.ru/magritte-ui-input": "9.4.42",
47
+ "@hh.ru/magritte-ui-input": "9.4.43",
48
48
  "@hh.ru/magritte-ui-loader": "4.1.0",
49
49
  "@hh.ru/magritte-ui-mock-component": "1.1.7",
50
50
  "@hh.ru/magritte-ui-nav-bar": "2.0.13",
@@ -53,5 +53,5 @@
53
53
  "@hh.ru/magritte-ui-trigger": "4.3.40",
54
54
  "@hh.ru/magritte-ui-typography": "5.3.12"
55
55
  },
56
- "gitHead": "908702cc0743dad7b2875c13c8f7abd8b3ceb011"
56
+ "gitHead": "a367d4996b3f6b94fc101056fb4ad4f328b2a67b"
57
57
  }