@alfalab/core-components-input-autocomplete 9.0.0 → 9.0.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.
Files changed (35) hide show
  1. package/Component.js +1 -1
  2. package/Component.mobile.js +10 -8
  3. package/autocomplete-field/Component.js +2 -2
  4. package/autocomplete-field/index.css +2 -2
  5. package/autocomplete-field/index.js +1 -1
  6. package/autocomplete-mobile-field/Component.js +2 -2
  7. package/autocomplete-mobile-field/index.css +8 -8
  8. package/autocomplete-mobile-field/index.js +1 -1
  9. package/cssm/Component.mobile.js +8 -6
  10. package/esm/Component.js +1 -1
  11. package/esm/Component.mobile.js +10 -8
  12. package/esm/autocomplete-field/Component.js +2 -2
  13. package/esm/autocomplete-field/index.css +2 -2
  14. package/esm/autocomplete-field/index.js +1 -1
  15. package/esm/autocomplete-mobile-field/Component.js +2 -2
  16. package/esm/autocomplete-mobile-field/index.css +8 -8
  17. package/esm/autocomplete-mobile-field/index.js +1 -1
  18. package/esm/index.js +1 -1
  19. package/esm/mobile.css +4 -4
  20. package/esm/mobile.js +1 -1
  21. package/esm/{tslib.es6-e57054c9.d.ts → tslib.es6-745dbd99.d.ts} +0 -0
  22. package/esm/{tslib.es6-e57054c9.js → tslib.es6-745dbd99.js} +0 -0
  23. package/index.js +1 -1
  24. package/mobile.css +4 -4
  25. package/mobile.js +1 -1
  26. package/modern/Component.mobile.js +2 -2
  27. package/modern/autocomplete-field/Component.js +1 -1
  28. package/modern/autocomplete-field/index.css +2 -2
  29. package/modern/autocomplete-mobile-field/Component.js +1 -1
  30. package/modern/autocomplete-mobile-field/index.css +8 -8
  31. package/modern/mobile.css +4 -4
  32. package/package.json +3 -3
  33. package/send-stats.js +1 -1
  34. /package/{tslib.es6-7eb75557.d.ts → tslib.es6-eeefd70a.d.ts} +0 -0
  35. /package/{tslib.es6-7eb75557.js → tslib.es6-eeefd70a.js} +0 -0
package/Component.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('./tslib.es6-7eb75557.js');
5
+ var tslib_es6 = require('./tslib.es6-eeefd70a.js');
6
6
  var React = require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('./tslib.es6-7eb75557.js');
5
+ var tslib_es6 = require('./tslib.es6-eeefd70a.js');
6
6
  var React = require('react');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  var cn = require('classnames');
@@ -21,7 +21,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultLegacy(mergeRefs);
21
21
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
22
22
  var throttle__default = /*#__PURE__*/_interopDefaultLegacy(throttle);
23
23
 
24
- var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_jyi7b","footer":"input-autocomplete__footer_jyi7b"};
24
+ var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_1gxtm","footer":"input-autocomplete__footer_1gxtm"};
25
25
  require('./mobile.css')
26
26
 
27
27
  var SELECTED = [];
@@ -41,12 +41,14 @@ var InputAutocompleteMobile = React__default['default'].forwardRef(function (_a,
41
41
  var handleOpen = function (payload) {
42
42
  setBottomSheetVisibility(Boolean(payload.open));
43
43
  };
44
- var handleOptionsListTouchMove = React.useMemo(function () { return throttle__default['default'](function () {
45
- var input = bottomSheetInputRef.current;
46
- if (input && document.activeElement === input) {
47
- input.blur();
48
- }
49
- }, 300); }, []);
44
+ var handleOptionsListTouchMove = React.useMemo(function () {
45
+ return throttle__default['default'](function () {
46
+ var input = bottomSheetInputRef.current;
47
+ if (input && document.activeElement === input) {
48
+ input.blur();
49
+ }
50
+ }, 300);
51
+ }, []);
50
52
  var handleChange = function () {
51
53
  setBottomSheetVisibility(false);
52
54
  onChange(filter);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../tslib.es6-7eb75557.js');
5
+ var tslib_es6 = require('../tslib.es6-eeefd70a.js');
6
6
  var React = require('react');
7
7
  var mergeRefs = require('react-merge-refs');
8
8
  var cn = require('classnames');
@@ -14,7 +14,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var mergeRefs__default = /*#__PURE__*/_interopDefaultLegacy(mergeRefs);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
16
16
 
17
- var styles = {"arrow":"input-autocomplete__arrow_hhu17","error":"input-autocomplete__error_hhu17"};
17
+ var styles = {"arrow":"input-autocomplete__arrow_1eh5g","error":"input-autocomplete__error_1eh5g"};
18
18
  require('./index.css')
19
19
 
20
20
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: uhnd1 */
2
- .input-autocomplete__arrow_hhu17.input-autocomplete__error_hhu17 ~ * {
1
+ /* hash: jq0nr */
2
+ .input-autocomplete__arrow_1eh5g.input-autocomplete__error_1eh5g ~ * {
3
3
  display: none;
4
4
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../tslib.es6-7eb75557.js');
5
+ require('../tslib.es6-eeefd70a.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../tslib.es6-7eb75557.js');
5
+ var tslib_es6 = require('../tslib.es6-eeefd70a.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var coreComponentsFormControl = require('@alfalab/core-components-form-control');
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
15
15
 
16
- var styles = {"component":"input-autocomplete__component_1jd5j","field":"input-autocomplete__field_1jd5j","disabled":"input-autocomplete__disabled_1jd5j","placeholder":"input-autocomplete__placeholder_1jd5j","contentWrapper":"input-autocomplete__contentWrapper_1jd5j","value":"input-autocomplete__value_1jd5j","focusVisible":"input-autocomplete__focusVisible_1jd5j"};
16
+ var styles = {"component":"input-autocomplete__component_mdu4o","field":"input-autocomplete__field_mdu4o","disabled":"input-autocomplete__disabled_mdu4o","placeholder":"input-autocomplete__placeholder_mdu4o","contentWrapper":"input-autocomplete__contentWrapper_mdu4o","value":"input-autocomplete__value_mdu4o","focusVisible":"input-autocomplete__focusVisible_mdu4o"};
17
17
  require('./index.css')
18
18
 
19
19
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 9frxz */
1
+ /* hash: 1rqjh */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -15,20 +15,20 @@
15
15
  --focus-color: var(--color-light-border-link);
16
16
  --disabled-cursor: not-allowed;
17
17
  }
18
- .input-autocomplete__component_1jd5j {
18
+ .input-autocomplete__component_mdu4o {
19
19
  width: 100%;
20
20
  outline: none;
21
21
  }
22
- .input-autocomplete__field_1jd5j:not(.input-autocomplete__disabled_1jd5j) {
22
+ .input-autocomplete__field_mdu4o:not(.input-autocomplete__disabled_mdu4o) {
23
23
  cursor: pointer;
24
24
  }
25
- .input-autocomplete__disabled_1jd5j {
25
+ .input-autocomplete__disabled_mdu4o {
26
26
  cursor: var(--disabled-cursor);
27
27
  }
28
- .input-autocomplete__placeholder_1jd5j {
28
+ .input-autocomplete__placeholder_mdu4o {
29
29
  color: var(--color-light-text-secondary);
30
30
  }
31
- .input-autocomplete__contentWrapper_1jd5j {
31
+ .input-autocomplete__contentWrapper_mdu4o {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -38,12 +38,12 @@
38
38
  overflow: hidden;
39
39
  width: 100%;
40
40
  }
41
- .input-autocomplete__value_1jd5j {
41
+ .input-autocomplete__value_mdu4o {
42
42
  overflow: hidden;
43
43
  text-overflow: ellipsis;
44
44
  text-align: left;
45
45
  }
46
- .input-autocomplete__focusVisible_1jd5j {
46
+ .input-autocomplete__focusVisible_mdu4o {
47
47
  outline: 2px solid var(--focus-color);
48
48
  outline-offset: 2px;
49
49
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../tslib.es6-7eb75557.js');
5
+ require('../tslib.es6-eeefd70a.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-form-control');
@@ -41,12 +41,14 @@ var InputAutocompleteMobile = React__default['default'].forwardRef(function (_a,
41
41
  var handleOpen = function (payload) {
42
42
  setBottomSheetVisibility(Boolean(payload.open));
43
43
  };
44
- var handleOptionsListTouchMove = React.useMemo(function () { return throttle__default['default'](function () {
45
- var input = bottomSheetInputRef.current;
46
- if (input && document.activeElement === input) {
47
- input.blur();
48
- }
49
- }, 300); }, []);
44
+ var handleOptionsListTouchMove = React.useMemo(function () {
45
+ return throttle__default['default'](function () {
46
+ var input = bottomSheetInputRef.current;
47
+ if (input && document.activeElement === input) {
48
+ input.blur();
49
+ }
50
+ }, 300);
51
+ }, []);
50
52
  var handleChange = function () {
51
53
  setBottomSheetVisibility(false);
52
54
  onChange(filter);
package/esm/Component.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-e57054c9.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-745dbd99.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-e57054c9.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-745dbd99.js';
2
2
  import React, { useState, useRef, useMemo } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
@@ -10,7 +10,7 @@ import '@alfalab/core-components-form-control/esm';
10
10
  import '@alfalab/hooks';
11
11
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
12
12
 
13
- var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_jyi7b","footer":"input-autocomplete__footer_jyi7b"};
13
+ var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_1gxtm","footer":"input-autocomplete__footer_1gxtm"};
14
14
  require('./mobile.css')
15
15
 
16
16
  var SELECTED = [];
@@ -30,12 +30,14 @@ var InputAutocompleteMobile = React.forwardRef(function (_a, ref) {
30
30
  var handleOpen = function (payload) {
31
31
  setBottomSheetVisibility(Boolean(payload.open));
32
32
  };
33
- var handleOptionsListTouchMove = useMemo(function () { return throttle(function () {
34
- var input = bottomSheetInputRef.current;
35
- if (input && document.activeElement === input) {
36
- input.blur();
37
- }
38
- }, 300); }, []);
33
+ var handleOptionsListTouchMove = useMemo(function () {
34
+ return throttle(function () {
35
+ var input = bottomSheetInputRef.current;
36
+ if (input && document.activeElement === input) {
37
+ input.blur();
38
+ }
39
+ }, 300);
40
+ }, []);
39
41
  var handleChange = function () {
40
42
  setBottomSheetVisibility(false);
41
43
  onChange(filter);
@@ -1,10 +1,10 @@
1
- import { a as __assign } from '../tslib.es6-e57054c9.js';
1
+ import { a as __assign } from '../tslib.es6-745dbd99.js';
2
2
  import React, { useRef, useCallback } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { Input } from '@alfalab/core-components-input/esm';
6
6
 
7
- var styles = {"arrow":"input-autocomplete__arrow_hhu17","error":"input-autocomplete__error_hhu17"};
7
+ var styles = {"arrow":"input-autocomplete__arrow_1eh5g","error":"input-autocomplete__error_1eh5g"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: uhnd1 */
2
- .input-autocomplete__arrow_hhu17.input-autocomplete__error_hhu17 ~ * {
1
+ /* hash: jq0nr */
2
+ .input-autocomplete__arrow_1eh5g.input-autocomplete__error_1eh5g ~ * {
3
3
  display: none;
4
4
  }
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-e57054c9.js';
1
+ import '../tslib.es6-745dbd99.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -1,10 +1,10 @@
1
- import { _ as __rest, a as __assign } from '../tslib.es6-e57054c9.js';
1
+ import { _ as __rest, a as __assign } from '../tslib.es6-745dbd99.js';
2
2
  import React, { useState, useRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { FormControl } from '@alfalab/core-components-form-control/esm';
5
5
  import { useFocus } from '@alfalab/hooks';
6
6
 
7
- var styles = {"component":"input-autocomplete__component_1jd5j","field":"input-autocomplete__field_1jd5j","disabled":"input-autocomplete__disabled_1jd5j","placeholder":"input-autocomplete__placeholder_1jd5j","contentWrapper":"input-autocomplete__contentWrapper_1jd5j","value":"input-autocomplete__value_1jd5j","focusVisible":"input-autocomplete__focusVisible_1jd5j"};
7
+ var styles = {"component":"input-autocomplete__component_mdu4o","field":"input-autocomplete__field_mdu4o","disabled":"input-autocomplete__disabled_mdu4o","placeholder":"input-autocomplete__placeholder_mdu4o","contentWrapper":"input-autocomplete__contentWrapper_mdu4o","value":"input-autocomplete__value_mdu4o","focusVisible":"input-autocomplete__focusVisible_mdu4o"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 9frxz */
1
+ /* hash: 1rqjh */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -15,20 +15,20 @@
15
15
  --focus-color: var(--color-light-border-link);
16
16
  --disabled-cursor: not-allowed;
17
17
  }
18
- .input-autocomplete__component_1jd5j {
18
+ .input-autocomplete__component_mdu4o {
19
19
  width: 100%;
20
20
  outline: none;
21
21
  }
22
- .input-autocomplete__field_1jd5j:not(.input-autocomplete__disabled_1jd5j) {
22
+ .input-autocomplete__field_mdu4o:not(.input-autocomplete__disabled_mdu4o) {
23
23
  cursor: pointer;
24
24
  }
25
- .input-autocomplete__disabled_1jd5j {
25
+ .input-autocomplete__disabled_mdu4o {
26
26
  cursor: var(--disabled-cursor);
27
27
  }
28
- .input-autocomplete__placeholder_1jd5j {
28
+ .input-autocomplete__placeholder_mdu4o {
29
29
  color: var(--color-light-text-secondary);
30
30
  }
31
- .input-autocomplete__contentWrapper_1jd5j {
31
+ .input-autocomplete__contentWrapper_mdu4o {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -38,12 +38,12 @@
38
38
  overflow: hidden;
39
39
  width: 100%;
40
40
  }
41
- .input-autocomplete__value_1jd5j {
41
+ .input-autocomplete__value_mdu4o {
42
42
  overflow: hidden;
43
43
  text-overflow: ellipsis;
44
44
  text-align: left;
45
45
  }
46
- .input-autocomplete__focusVisible_1jd5j {
46
+ .input-autocomplete__focusVisible_mdu4o {
47
47
  outline: 2px solid var(--focus-color);
48
48
  outline-offset: 2px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-e57054c9.js';
1
+ import '../tslib.es6-745dbd99.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-form-control/esm';
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-e57054c9.js';
1
+ import './tslib.es6-745dbd99.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 14s6b */
1
+ /* hash: u0jm1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,13 +11,13 @@
11
11
  --gap-xs: 8px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .input-autocomplete__bottomSheetInput_jyi7b {
14
+ .input-autocomplete__bottomSheetInput_1gxtm {
15
15
  padding: 0 var(--gap-xs) var(--gap-xs);
16
16
  box-sizing: border-box;
17
17
  }
18
- .input-autocomplete__footer_jyi7b {
18
+ .input-autocomplete__footer_1gxtm {
19
19
  display: flex
20
20
  }
21
- .input-autocomplete__footer_jyi7b > button + button {
21
+ .input-autocomplete__footer_1gxtm > button + button {
22
22
  margin-left: var(--gap-m);
23
23
  }
package/esm/mobile.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-e57054c9.js';
1
+ import './tslib.es6-745dbd99.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-7eb75557.js');
5
+ require('./tslib.es6-eeefd70a.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 14s6b */
1
+ /* hash: u0jm1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,13 +11,13 @@
11
11
  --gap-xs: 8px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .input-autocomplete__bottomSheetInput_jyi7b {
14
+ .input-autocomplete__bottomSheetInput_1gxtm {
15
15
  padding: 0 var(--gap-xs) var(--gap-xs);
16
16
  box-sizing: border-box;
17
17
  }
18
- .input-autocomplete__footer_jyi7b {
18
+ .input-autocomplete__footer_1gxtm {
19
19
  display: flex
20
20
  }
21
- .input-autocomplete__footer_jyi7b > button + button {
21
+ .input-autocomplete__footer_1gxtm > button + button {
22
22
  margin-left: var(--gap-m);
23
23
  }
package/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-7eb75557.js');
5
+ require('./tslib.es6-eeefd70a.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
@@ -9,7 +9,7 @@ import '@alfalab/core-components-form-control/modern';
9
9
  import '@alfalab/hooks';
10
10
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
11
11
 
12
- var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_jyi7b","footer":"input-autocomplete__footer_jyi7b"};
12
+ var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_1gxtm","footer":"input-autocomplete__footer_1gxtm"};
13
13
  require('./mobile.css')
14
14
 
15
15
  const SELECTED = [];
@@ -25,7 +25,7 @@ const InputAutocompleteMobile = React.forwardRef(({ Input: Input$1, bottomSheetP
25
25
  onOpen({ open: isOpen, name });
26
26
  }
27
27
  };
28
- const handleOpen = payload => {
28
+ const handleOpen = (payload) => {
29
29
  setBottomSheetVisibility(Boolean(payload.open));
30
30
  };
31
31
  const handleOptionsListTouchMove = useMemo(() => throttle(() => {
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { Input } from '@alfalab/core-components-input/modern';
5
5
 
6
- var styles = {"arrow":"input-autocomplete__arrow_hhu17","error":"input-autocomplete__error_hhu17"};
6
+ var styles = {"arrow":"input-autocomplete__arrow_1eh5g","error":"input-autocomplete__error_1eh5g"};
7
7
  require('./index.css')
8
8
 
9
9
  const AutocompleteField = ({ label, labelView = 'inner', placeholder, size, Arrow, Input: Input$1 = Input, value, error, success, hint, disabled, readOnly, onInput, inputProps = {}, innerProps, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: uhnd1 */
2
- .input-autocomplete__arrow_hhu17.input-autocomplete__error_hhu17 ~ * {
1
+ /* hash: jq0nr */
2
+ .input-autocomplete__arrow_1eh5g.input-autocomplete__error_1eh5g ~ * {
3
3
  display: none;
4
4
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { FormControl } from '@alfalab/core-components-form-control/modern';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
 
6
- var styles = {"component":"input-autocomplete__component_1jd5j","field":"input-autocomplete__field_1jd5j","disabled":"input-autocomplete__disabled_1jd5j","placeholder":"input-autocomplete__placeholder_1jd5j","contentWrapper":"input-autocomplete__contentWrapper_1jd5j","value":"input-autocomplete__value_1jd5j","focusVisible":"input-autocomplete__focusVisible_1jd5j"};
6
+ var styles = {"component":"input-autocomplete__component_mdu4o","field":"input-autocomplete__field_mdu4o","disabled":"input-autocomplete__disabled_mdu4o","placeholder":"input-autocomplete__placeholder_mdu4o","contentWrapper":"input-autocomplete__contentWrapper_mdu4o","value":"input-autocomplete__value_mdu4o","focusVisible":"input-autocomplete__focusVisible_mdu4o"};
7
7
  require('./index.css')
8
8
 
9
9
  const AutocompleteMobileField = ({ size = 'm', open, error, hint, disabled, label, labelView = 'inner', placeholder, value, innerProps, dataTestId, fieldClassName, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 9frxz */
1
+ /* hash: 1rqjh */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -15,20 +15,20 @@
15
15
  --focus-color: var(--color-light-border-link);
16
16
  --disabled-cursor: not-allowed;
17
17
  }
18
- .input-autocomplete__component_1jd5j {
18
+ .input-autocomplete__component_mdu4o {
19
19
  width: 100%;
20
20
  outline: none;
21
21
  }
22
- .input-autocomplete__field_1jd5j:not(.input-autocomplete__disabled_1jd5j) {
22
+ .input-autocomplete__field_mdu4o:not(.input-autocomplete__disabled_mdu4o) {
23
23
  cursor: pointer;
24
24
  }
25
- .input-autocomplete__disabled_1jd5j {
25
+ .input-autocomplete__disabled_mdu4o {
26
26
  cursor: var(--disabled-cursor);
27
27
  }
28
- .input-autocomplete__placeholder_1jd5j {
28
+ .input-autocomplete__placeholder_mdu4o {
29
29
  color: var(--color-light-text-secondary);
30
30
  }
31
- .input-autocomplete__contentWrapper_1jd5j {
31
+ .input-autocomplete__contentWrapper_mdu4o {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -38,12 +38,12 @@
38
38
  overflow: hidden;
39
39
  width: 100%;
40
40
  }
41
- .input-autocomplete__value_1jd5j {
41
+ .input-autocomplete__value_mdu4o {
42
42
  overflow: hidden;
43
43
  text-overflow: ellipsis;
44
44
  text-align: left;
45
45
  }
46
- .input-autocomplete__focusVisible_1jd5j {
46
+ .input-autocomplete__focusVisible_mdu4o {
47
47
  outline: 2px solid var(--focus-color);
48
48
  outline-offset: 2px;
49
49
  }
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 14s6b */
1
+ /* hash: u0jm1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,13 +11,13 @@
11
11
  --gap-xs: 8px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .input-autocomplete__bottomSheetInput_jyi7b {
14
+ .input-autocomplete__bottomSheetInput_1gxtm {
15
15
  padding: 0 var(--gap-xs) var(--gap-xs);
16
16
  box-sizing: border-box;
17
17
  }
18
- .input-autocomplete__footer_jyi7b {
18
+ .input-autocomplete__footer_1gxtm {
19
19
  display: flex
20
20
  }
21
- .input-autocomplete__footer_jyi7b > button + button {
21
+ .input-autocomplete__footer_1gxtm > button + button {
22
22
  margin-left: var(--gap-m);
23
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-input-autocomplete",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "dependencies": {
20
20
  "@alfalab/core-components-button": "^7.0.0",
21
21
  "@alfalab/core-components-form-control": "^9.0.0",
22
- "@alfalab/core-components-input": "^11.0.0",
23
- "@alfalab/core-components-select": "^13.0.0",
22
+ "@alfalab/core-components-input": "^11.0.1",
23
+ "@alfalab/core-components-select": "^13.0.2",
24
24
  "@alfalab/hooks": "^1.4.1",
25
25
  "classnames": "^2.3.1",
26
26
  "lodash.throttle": "^4.1.1",
package/send-stats.js CHANGED
@@ -55,7 +55,7 @@ async function main() {
55
55
  };
56
56
 
57
57
  return new Promise((resolve, reject) => {
58
- const req = http.request(options, res => {
58
+ const req = http.request(options, (res) => {
59
59
  res.on('end', () => {
60
60
  resolve();
61
61
  });