@hh.ru/magritte-ui-select 13.0.38 → 13.0.39

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