@hh.ru/magritte-ui-select 13.2.1 → 13.2.2

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-2-1","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-2-1","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-2-1","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-2-1"};
40
+ var styles = {"content-placeholder":"magritte-content-placeholder___rOCxd_13-2-2","contentPlaceholder":"magritte-content-placeholder___rOCxd_13-2-2","select-bottom-sheet_without-header":"magritte-select-bottom-sheet_without-header___KOKVh_13-2-2","selectBottomSheetWithoutHeader":"magritte-select-bottom-sheet_without-header___KOKVh_13-2-2"};
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-2-1","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-2-1","select-drop-container":"magritte-select-drop-container___hee1p_13-2-1","selectDropContainer":"magritte-select-drop-container___hee1p_13-2-1","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-2-1","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-2-1","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-2-1","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-2-1","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-2-1","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-2-1"};
39
+ var styles = {"select-drop-container-wrapper":"magritte-select-drop-container-wrapper___OHM0q_13-2-2","selectDropContainerWrapper":"magritte-select-drop-container-wrapper___OHM0q_13-2-2","select-drop-container":"magritte-select-drop-container___hee1p_13-2-2","selectDropContainer":"magritte-select-drop-container___hee1p_13-2-2","select-drop-container_plain":"magritte-select-drop-container_plain___766zl_13-2-2","selectDropContainerPlain":"magritte-select-drop-container_plain___766zl_13-2-2","select-drop-container_with-footer":"magritte-select-drop-container_with-footer___6wp-L_13-2-2","selectDropContainerWithFooter":"magritte-select-drop-container_with-footer___6wp-L_13-2-2","select-drop-loading":"magritte-select-drop-loading___KsNuw_13-2-2","selectDropLoading":"magritte-select-drop-loading___KsNuw_13-2-2"};
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-2-1","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-2-1","icon":"magritte-icon___F0GQx_13-2-1","icon-empty":"magritte-icon-empty___sAFRT_13-2-1","iconEmpty":"magritte-icon-empty___sAFRT_13-2-1","icon-empty-search":"magritte-icon-empty-search___O0pus_13-2-1","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-2-1"};
9
+ var styles = {"select-empty-hint":"magritte-select-empty-hint___B39XJ_13-2-2","selectEmptyHint":"magritte-select-empty-hint___B39XJ_13-2-2","icon":"magritte-icon___F0GQx_13-2-2","icon-empty":"magritte-icon-empty___sAFRT_13-2-2","iconEmpty":"magritte-icon-empty___sAFRT_13-2-2","icon-empty-search":"magritte-icon-empty-search___O0pus_13-2-2","iconEmptySearch":"magritte-icon-empty-search___O0pus_13-2-2"};
10
10
 
11
11
  const SelectEmptyHint = (props) => {
12
12
  const { type = "init", title, children } = props;
package/SelectOptions.js CHANGED
@@ -31,7 +31,7 @@ import '@hh.ru/magritte-common-data-provider';
31
31
  import './internal/useDataProvider.js';
32
32
  import './internal/SearchStateContext.js';
33
33
 
34
- var styles = {"options":"magritte-options___E0JN-_13-2-1","options_plain":"magritte-options_plain___-ihU5_13-2-1","optionsPlain":"magritte-options_plain___-ihU5_13-2-1","options_desktop":"magritte-options_desktop___gz7kx_13-2-1","optionsDesktop":"magritte-options_desktop___gz7kx_13-2-1","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-2-1","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-2-1"};
34
+ var styles = {"options":"magritte-options___E0JN-_13-2-2","options_plain":"magritte-options_plain___-ihU5_13-2-2","optionsPlain":"magritte-options_plain___-ihU5_13-2-2","options_desktop":"magritte-options_desktop___gz7kx_13-2-2","optionsDesktop":"magritte-options_desktop___gz7kx_13-2-2","options_desktop-plain":"magritte-options_desktop-plain___L0WIC_13-2-2","optionsDesktopPlain":"magritte-options_desktop-plain___L0WIC_13-2-2"};
35
35
 
36
36
  const SelectOptions = ({
37
37
  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-2-1","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-2-1","anchorStretched":"magritte-anchor-stretched___h7y6m_13-2-1","default-view":"magritte-default-view___3ptpo_13-2-1","defaultView":"magritte-default-view___3ptpo_13-2-1","input-view":"magritte-input-view___ZeEKh_13-2-1","inputView":"magritte-input-view___ZeEKh_13-2-1","hidden-view":"magritte-hidden-view___stvzX_13-2-1","hiddenView":"magritte-hidden-view___stvzX_13-2-1"};
31
+ var styles = {"anchor":"magritte-anchor___0KOBD_13-2-2","anchor-stretched":"magritte-anchor-stretched___h7y6m_13-2-2","anchorStretched":"magritte-anchor-stretched___h7y6m_13-2-2","default-view":"magritte-default-view___3ptpo_13-2-2","defaultView":"magritte-default-view___3ptpo_13-2-2","input-view":"magritte-input-view___ZeEKh_13-2-2","inputView":"magritte-input-view___ZeEKh_13-2-2","hidden-view":"magritte-hidden-view___stvzX_13-2-2","hiddenView":"magritte-hidden-view___stvzX_13-2-2"};
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-2-1{
1
+ .magritte-error-container___ICGpQ_13-2-2{
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-2-1{
10
+ body.magritte-old-layout .magritte-error-container___ICGpQ_13-2-2{
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-2-1{
16
+ body:not(.magritte-old-layout) .magritte-error-container___ICGpQ_13-2-2{
17
17
  min-height:320px;
18
18
  height:auto;
19
19
  }
20
20
  }
21
21
 
22
- .magritte-content-placeholder___rOCxd_13-2-1{
22
+ .magritte-content-placeholder___rOCxd_13-2-2{
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-2-1{
30
+ .magritte-select-bottom-sheet_without-header___KOKVh_13-2-2{
31
31
  padding-top:16px;
32
32
  }
33
33
 
34
- .magritte-select-drop-container-wrapper___OHM0q_13-2-1{
34
+ .magritte-select-drop-container-wrapper___OHM0q_13-2-2{
35
35
  display:flex;
36
36
  flex-direction:column;
37
37
  }
38
- .magritte-select-drop-container___hee1p_13-2-1{
38
+ .magritte-select-drop-container___hee1p_13-2-2{
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-2-1{
44
+ .magritte-select-drop-container_plain___766zl_13-2-2{
45
45
  padding:24px;
46
46
  margin:calc(-1 * 24px);
47
47
  }
48
- .magritte-select-drop-container_with-footer___6wp-L_13-2-1{
48
+ .magritte-select-drop-container_with-footer___6wp-L_13-2-2{
49
49
  margin-bottom:0;
50
50
  padding-bottom:0;
51
51
  }
52
- .magritte-select-drop-loading___KsNuw_13-2-1{
52
+ .magritte-select-drop-loading___KsNuw_13-2-2{
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-2-1{
77
+ .magritte-select-empty-hint___B39XJ_13-2-2{
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-2-1{
86
+ body.magritte-old-layout .magritte-select-empty-hint___B39XJ_13-2-2{
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-2-1{
92
+ body:not(.magritte-old-layout) .magritte-select-empty-hint___B39XJ_13-2-2{
93
93
  min-height:320px;
94
94
  height:auto;
95
95
  }
96
96
  }
97
- .magritte-icon___F0GQx_13-2-1{
97
+ .magritte-icon___F0GQx_13-2-2{
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-2-1{
105
+ .magritte-icon-empty___sAFRT_13-2-2{
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-2-1{
109
+ .magritte-icon-empty-search___O0pus_13-2-2{
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,70 +114,70 @@
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-2-1{
117
+ .magritte-select-option-plain___u9kSx_13-2-2{
118
118
  border-radius:8px;
119
119
  }
120
- .magritte-select-option-plain___u9kSx_13-2-1.focus-visible{
120
+ .magritte-select-option-plain___u9kSx_13-2-2.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-2-1:hover{
124
+ body.magritte-old-layout .magritte-select-option-plain___u9kSx_13-2-2: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-2-1:hover{
129
+ body:not(.magritte-old-layout) .magritte-select-option-plain___u9kSx_13-2-2: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-2-1:hover{
134
+ body.magritte-old-layout .magritte-select-option-plain_active___ynHQP_13-2-2: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-2-1:hover{
139
+ body:not(.magritte-old-layout) .magritte-select-option-plain_active___ynHQP_13-2-2:hover{
140
140
  cursor:pointer;
141
141
  }
142
142
  }
143
- .magritte-select-label-option___wyUhk_13-2-1{
143
+ .magritte-select-label-option___wyUhk_13-2-2{
144
144
  display:flex;
145
145
  justify-content:center;
146
146
  }
147
147
 
148
- .magritte-options___E0JN-_13-2-1{
148
+ .magritte-options___E0JN-_13-2-2{
149
149
  display:flex;
150
150
  flex-direction:column;
151
151
  padding:0 16px;
152
152
  padding-bottom:16px;
153
153
  gap:12px;
154
154
  }
155
- .magritte-options_plain___-ihU5_13-2-1{
155
+ .magritte-options_plain___-ihU5_13-2-2{
156
156
  gap:0;
157
157
  }
158
- .magritte-options_desktop___gz7kx_13-2-1{
158
+ .magritte-options_desktop___gz7kx_13-2-2{
159
159
  gap:8px;
160
160
  padding:0;
161
161
  }
162
- .magritte-options_desktop-plain___L0WIC_13-2-1{
162
+ .magritte-options_desktop-plain___L0WIC_13-2-2{
163
163
  gap:16px;
164
164
  }
165
165
 
166
- .magritte-select-layout___3THUn_13-2-1{
166
+ .magritte-select-layout___3THUn_13-2-2{
167
167
  display:contents;
168
168
  }
169
169
 
170
- .magritte-anchor___0KOBD_13-2-1{
170
+ .magritte-anchor___0KOBD_13-2-2{
171
171
  position:relative;
172
172
  width:fit-content;
173
173
  }
174
- .magritte-anchor-stretched___h7y6m_13-2-1{
174
+ .magritte-anchor-stretched___h7y6m_13-2-2{
175
175
  width:100%;
176
176
  }
177
- .magritte-default-view___3ptpo_13-2-1{
177
+ .magritte-default-view___3ptpo_13-2-2{
178
178
  min-width:0;
179
179
  }
180
- .magritte-input-view___ZeEKh_13-2-1{
180
+ .magritte-input-view___ZeEKh_13-2-2{
181
181
  position:absolute;
182
182
  top:0;
183
183
  left:0;
@@ -185,6 +185,6 @@
185
185
  display:flex;
186
186
  min-width:0;
187
187
  }
188
- .magritte-hidden-view___stvzX_13-2-1{
188
+ .magritte-hidden-view___stvzX_13-2-2{
189
189
  visibility:hidden;
190
190
  }
@@ -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-2-1","selectLayout":"magritte-select-layout___3THUn_13-2-1"};
13
+ var styles = {"select-layout":"magritte-select-layout___3THUn_13-2-2","selectLayout":"magritte-select-layout___3THUn_13-2-2"};
14
14
 
15
15
  const CLOSED_BY_USER_KEYS = [keyboardKeys.Escape, keyboardKeys.Enter, keyboardKeys.Space];
16
16
  const FocusWithinContext = createContext(false);
@@ -12,7 +12,7 @@ import { SectionHeader } from '@hh.ru/magritte-ui-section-header';
12
12
  import { OptionControl } from './OptionControl.js';
13
13
  import '@hh.ru/magritte-ui-checkbox-radio';
14
14
 
15
- var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-2-1","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-2-1","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-2-1","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-2-1","select-label-option":"magritte-select-label-option___wyUhk_13-2-1","selectLabelOption":"magritte-select-label-option___wyUhk_13-2-1"};
15
+ var styles = {"select-option-plain":"magritte-select-option-plain___u9kSx_13-2-2","selectOptionPlain":"magritte-select-option-plain___u9kSx_13-2-2","select-option-plain_active":"magritte-select-option-plain_active___ynHQP_13-2-2","selectOptionPlainActive":"magritte-select-option-plain_active___ynHQP_13-2-2","select-label-option":"magritte-select-label-option___wyUhk_13-2-2","selectLabelOption":"magritte-select-label-option___wyUhk_13-2-2"};
16
16
 
17
17
  const OptionLayoutComponentDefault = ({
18
18
  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-2-1","errorContainer":"magritte-error-container___ICGpQ_13-2-1"};
23
+ var styles = {"error-container":"magritte-error-container___ICGpQ_13-2-2","errorContainer":"magritte-error-container___ICGpQ_13-2-2"};
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.2.1",
3
+ "version": "13.2.2",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -40,10 +40,10 @@
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.5.0",
43
- "@hh.ru/magritte-ui-bottom-sheet": "9.5.1",
43
+ "@hh.ru/magritte-ui-bottom-sheet": "9.5.2",
44
44
  "@hh.ru/magritte-ui-breakpoint": "6.1.3",
45
45
  "@hh.ru/magritte-ui-button": "7.4.0",
46
- "@hh.ru/magritte-ui-card": "8.8.0",
46
+ "@hh.ru/magritte-ui-card": "8.8.1",
47
47
  "@hh.ru/magritte-ui-cell": "7.4.0",
48
48
  "@hh.ru/magritte-ui-checkable-card": "5.2.0",
49
49
  "@hh.ru/magritte-ui-checkbox-radio": "4.2.0",
@@ -60,5 +60,5 @@
60
60
  "@hh.ru/magritte-ui-trigger": "4.4.0",
61
61
  "@hh.ru/magritte-ui-typography": "5.3.17"
62
62
  },
63
- "gitHead": "4c4b4997913df9b97af1d6f8ed52c3a7bfe3a4d3"
63
+ "gitHead": "1c7297c0537127715791b6fb1f90c043557fbbd8"
64
64
  }