@alfalab/core-components-input-autocomplete 9.4.5 → 9.4.6

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 (38) hide show
  1. package/Component.mobile.js +1 -1
  2. package/Component.modal.mobile.js +1 -1
  3. package/Component.responsive.js +1 -1
  4. package/autocomplete-field/Component.js +1 -1
  5. package/autocomplete-field/index.css +2 -2
  6. package/autocomplete-mobile-field/Component.js +1 -1
  7. package/autocomplete-mobile-field/index.css +8 -8
  8. package/esm/Component.mobile.js +1 -1
  9. package/esm/Component.modal.mobile.js +1 -1
  10. package/esm/Component.responsive.js +1 -1
  11. package/esm/autocomplete-field/Component.js +1 -1
  12. package/esm/autocomplete-field/index.css +2 -2
  13. package/esm/autocomplete-mobile-field/Component.js +1 -1
  14. package/esm/autocomplete-mobile-field/index.css +8 -8
  15. package/esm/index.js +1 -1
  16. package/esm/mobile.css +4 -4
  17. package/esm/mobile.js +1 -1
  18. package/esm/{mobile.module-9a5f6d76.js → mobile.module-fc605397.js} +1 -1
  19. package/esm/responsive.js +1 -1
  20. package/index.js +1 -1
  21. package/mobile.css +4 -4
  22. package/mobile.js +1 -1
  23. package/{mobile.module-33a6c99e.js → mobile.module-4a636c52.js} +1 -1
  24. package/modern/Component.mobile.js +1 -1
  25. package/modern/Component.modal.mobile.js +1 -1
  26. package/modern/Component.responsive.js +1 -1
  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/index.js +1 -1
  32. package/modern/mobile.css +4 -4
  33. package/modern/mobile.js +1 -1
  34. package/modern/{mobile.module-dc668885.js → mobile.module-58dac562.js} +1 -1
  35. package/modern/responsive.js +1 -1
  36. package/package.json +5 -8
  37. package/responsive.js +1 -1
  38. package/send-stats.js +0 -82
@@ -11,7 +11,7 @@ var coreComponentsButton = require('@alfalab/core-components-button');
11
11
  var coreComponentsInput = require('@alfalab/core-components-input');
12
12
  var coreComponentsSelect = require('@alfalab/core-components-select');
13
13
  var autocompleteMobileField_Component = require('./autocomplete-mobile-field/Component.js');
14
- var mobile_module = require('./mobile.module-33a6c99e.js');
14
+ var mobile_module = require('./mobile.module-4a636c52.js');
15
15
  require('@alfalab/core-components-form-control');
16
16
  require('@alfalab/hooks');
17
17
 
@@ -11,7 +11,7 @@ var coreComponentsButton = require('@alfalab/core-components-button');
11
11
  var coreComponentsInput = require('@alfalab/core-components-input');
12
12
  var mobile = require('@alfalab/core-components-select/mobile');
13
13
  var autocompleteMobileField_Component = require('./autocomplete-mobile-field/Component.js');
14
- var mobile_module = require('./mobile.module-33a6c99e.js');
14
+ var mobile_module = require('./mobile.module-4a636c52.js');
15
15
  require('@alfalab/core-components-form-control');
16
16
  require('@alfalab/hooks');
17
17
 
@@ -16,7 +16,7 @@ require('lodash.throttle');
16
16
  require('@alfalab/core-components-button');
17
17
  require('./autocomplete-mobile-field/Component.js');
18
18
  require('@alfalab/core-components-form-control');
19
- require('./mobile.module-33a6c99e.js');
19
+ require('./mobile.module-4a636c52.js');
20
20
 
21
21
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
22
22
 
@@ -14,7 +14,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"arrow":"input-autocomplete__arrow_112d5","error":"input-autocomplete__error_112d5"};
17
+ var styles = {"arrow":"input-autocomplete__arrow_1sgy1","error":"input-autocomplete__error_1sgy1"};
18
18
  require('./index.css')
19
19
 
20
20
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1g8bo */
2
- .input-autocomplete__arrow_112d5.input-autocomplete__error_112d5 ~ * {
1
+ /* hash: 1b7zv */
2
+ .input-autocomplete__arrow_1sgy1.input-autocomplete__error_1sgy1 ~ * {
3
3
  display: none;
4
4
  }
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"component":"input-autocomplete__component_1nrqd","field":"input-autocomplete__field_1nrqd","disabled":"input-autocomplete__disabled_1nrqd","placeholder":"input-autocomplete__placeholder_1nrqd","contentWrapper":"input-autocomplete__contentWrapper_1nrqd","value":"input-autocomplete__value_1nrqd","focusVisible":"input-autocomplete__focusVisible_1nrqd"};
16
+ var styles = {"component":"input-autocomplete__component_18u1y","field":"input-autocomplete__field_18u1y","disabled":"input-autocomplete__disabled_18u1y","placeholder":"input-autocomplete__placeholder_18u1y","contentWrapper":"input-autocomplete__contentWrapper_18u1y","value":"input-autocomplete__value_18u1y","focusVisible":"input-autocomplete__focusVisible_18u1y"};
17
17
  require('./index.css')
18
18
 
19
19
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: v88g5 */
1
+ /* hash: 108k9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  --focus-color: var(--color-light-border-link);
20
20
  --disabled-cursor: not-allowed;
21
- } .input-autocomplete__component_1nrqd {
21
+ } .input-autocomplete__component_18u1y {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1nrqd:not(.input-autocomplete__disabled_1nrqd) {
24
+ } .input-autocomplete__field_18u1y:not(.input-autocomplete__disabled_18u1y) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1nrqd {
26
+ } .input-autocomplete__disabled_18u1y {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1nrqd {
28
+ } .input-autocomplete__placeholder_18u1y {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1nrqd {
30
+ } .input-autocomplete__contentWrapper_18u1y {
31
31
  font-size: 16px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
@@ -36,11 +36,11 @@
36
36
  text-overflow: ellipsis;
37
37
  overflow: hidden;
38
38
  width: 100%;
39
- } .input-autocomplete__value_1nrqd {
39
+ } .input-autocomplete__value_18u1y {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1nrqd {
43
+ } .input-autocomplete__focusVisible_18u1y {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
@@ -7,7 +7,7 @@ import { Button } from '@alfalab/core-components-button/esm';
7
7
  import { Input } from '@alfalab/core-components-input/esm';
8
8
  import { SelectMobile } from '@alfalab/core-components-select/esm';
9
9
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
10
- import { s as styles } from './mobile.module-9a5f6d76.js';
10
+ import { s as styles } from './mobile.module-fc605397.js';
11
11
  import '@alfalab/core-components-form-control/esm';
12
12
  import '@alfalab/hooks';
13
13
 
@@ -7,7 +7,7 @@ import { Button } from '@alfalab/core-components-button/esm';
7
7
  import { Input } from '@alfalab/core-components-input/esm';
8
8
  import { SelectModalMobile } from '@alfalab/core-components-select/esm/mobile';
9
9
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
10
- import { s as styles } from './mobile.module-9a5f6d76.js';
10
+ import { s as styles } from './mobile.module-fc605397.js';
11
11
  import '@alfalab/core-components-form-control/esm';
12
12
  import '@alfalab/hooks';
13
13
 
@@ -12,7 +12,7 @@ import 'lodash.throttle';
12
12
  import '@alfalab/core-components-button/esm';
13
13
  import './autocomplete-mobile-field/Component.js';
14
14
  import '@alfalab/core-components-form-control/esm';
15
- import './mobile.module-9a5f6d76.js';
15
+ import './mobile.module-fc605397.js';
16
16
 
17
17
  var InputAutocompleteResponsive = forwardRef(function (_a, ref) {
18
18
  var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
@@ -4,7 +4,7 @@ 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_112d5","error":"input-autocomplete__error_112d5"};
7
+ var styles = {"arrow":"input-autocomplete__arrow_1sgy1","error":"input-autocomplete__error_1sgy1"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1g8bo */
2
- .input-autocomplete__arrow_112d5.input-autocomplete__error_112d5 ~ * {
1
+ /* hash: 1b7zv */
2
+ .input-autocomplete__arrow_1sgy1.input-autocomplete__error_1sgy1 ~ * {
3
3
  display: none;
4
4
  }
@@ -4,7 +4,7 @@ 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_1nrqd","field":"input-autocomplete__field_1nrqd","disabled":"input-autocomplete__disabled_1nrqd","placeholder":"input-autocomplete__placeholder_1nrqd","contentWrapper":"input-autocomplete__contentWrapper_1nrqd","value":"input-autocomplete__value_1nrqd","focusVisible":"input-autocomplete__focusVisible_1nrqd"};
7
+ var styles = {"component":"input-autocomplete__component_18u1y","field":"input-autocomplete__field_18u1y","disabled":"input-autocomplete__disabled_18u1y","placeholder":"input-autocomplete__placeholder_18u1y","contentWrapper":"input-autocomplete__contentWrapper_18u1y","value":"input-autocomplete__value_18u1y","focusVisible":"input-autocomplete__focusVisible_18u1y"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: v88g5 */
1
+ /* hash: 108k9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  --focus-color: var(--color-light-border-link);
20
20
  --disabled-cursor: not-allowed;
21
- } .input-autocomplete__component_1nrqd {
21
+ } .input-autocomplete__component_18u1y {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1nrqd:not(.input-autocomplete__disabled_1nrqd) {
24
+ } .input-autocomplete__field_18u1y:not(.input-autocomplete__disabled_18u1y) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1nrqd {
26
+ } .input-autocomplete__disabled_18u1y {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1nrqd {
28
+ } .input-autocomplete__placeholder_18u1y {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1nrqd {
30
+ } .input-autocomplete__contentWrapper_18u1y {
31
31
  font-size: 16px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
@@ -36,11 +36,11 @@
36
36
  text-overflow: ellipsis;
37
37
  overflow: hidden;
38
38
  width: 100%;
39
- } .input-autocomplete__value_1nrqd {
39
+ } .input-autocomplete__value_18u1y {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1nrqd {
43
+ } .input-autocomplete__focusVisible_18u1y {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
package/esm/index.js CHANGED
@@ -13,4 +13,4 @@ import 'lodash.throttle';
13
13
  import '@alfalab/core-components-button/esm';
14
14
  import './autocomplete-mobile-field/Component.js';
15
15
  import '@alfalab/core-components-form-control/esm';
16
- import './mobile.module-9a5f6d76.js';
16
+ import './mobile.module-fc605397.js';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1qiun */
1
+ /* hash: 1liit */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .input-autocomplete__bottomAddonInput_1xlh3 {
19
+ } .input-autocomplete__bottomAddonInput_11po4 {
20
20
  padding: 0 var(--gap-xs) var(--gap-xs);
21
21
  box-sizing: border-box;
22
- } .input-autocomplete__footer_1xlh3 {
22
+ } .input-autocomplete__footer_11po4 {
23
23
  display: flex
24
- } .input-autocomplete__footer_1xlh3 > button + button {
24
+ } .input-autocomplete__footer_11po4 > button + button {
25
25
  margin-left: var(--gap-m);
26
26
  }
package/esm/mobile.js CHANGED
@@ -11,5 +11,5 @@ import '@alfalab/core-components-select/esm';
11
11
  import './autocomplete-mobile-field/Component.js';
12
12
  import '@alfalab/core-components-form-control/esm';
13
13
  import '@alfalab/hooks';
14
- import './mobile.module-9a5f6d76.js';
14
+ import './mobile.module-fc605397.js';
15
15
  import '@alfalab/core-components-select/esm/mobile';
@@ -1,4 +1,4 @@
1
- var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_1xlh3","footer":"input-autocomplete__footer_1xlh3"};
1
+ var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_11po4","footer":"input-autocomplete__footer_11po4"};
2
2
  require('./mobile.css')
3
3
 
4
4
  export { styles as s };
package/esm/responsive.js CHANGED
@@ -13,4 +13,4 @@ import 'lodash.throttle';
13
13
  import '@alfalab/core-components-button/esm';
14
14
  import './autocomplete-mobile-field/Component.js';
15
15
  import '@alfalab/core-components-form-control/esm';
16
- import './mobile.module-9a5f6d76.js';
16
+ import './mobile.module-fc605397.js';
package/index.js CHANGED
@@ -17,7 +17,7 @@ require('lodash.throttle');
17
17
  require('@alfalab/core-components-button');
18
18
  require('./autocomplete-mobile-field/Component.js');
19
19
  require('@alfalab/core-components-form-control');
20
- require('./mobile.module-33a6c99e.js');
20
+ require('./mobile.module-4a636c52.js');
21
21
 
22
22
 
23
23
 
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1qiun */
1
+ /* hash: 1liit */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .input-autocomplete__bottomAddonInput_1xlh3 {
19
+ } .input-autocomplete__bottomAddonInput_11po4 {
20
20
  padding: 0 var(--gap-xs) var(--gap-xs);
21
21
  box-sizing: border-box;
22
- } .input-autocomplete__footer_1xlh3 {
22
+ } .input-autocomplete__footer_11po4 {
23
23
  display: flex
24
- } .input-autocomplete__footer_1xlh3 > button + button {
24
+ } .input-autocomplete__footer_11po4 > button + button {
25
25
  margin-left: var(--gap-m);
26
26
  }
package/mobile.js CHANGED
@@ -15,7 +15,7 @@ require('@alfalab/core-components-select');
15
15
  require('./autocomplete-mobile-field/Component.js');
16
16
  require('@alfalab/core-components-form-control');
17
17
  require('@alfalab/hooks');
18
- require('./mobile.module-33a6c99e.js');
18
+ require('./mobile.module-4a636c52.js');
19
19
  require('@alfalab/core-components-select/mobile');
20
20
 
21
21
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_1xlh3","footer":"input-autocomplete__footer_1xlh3"};
3
+ var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_11po4","footer":"input-autocomplete__footer_11po4"};
4
4
  require('./mobile.css')
5
5
 
6
6
  exports.styles = styles;
@@ -6,7 +6,7 @@ import { Button } from '@alfalab/core-components-button/modern';
6
6
  import { Input } from '@alfalab/core-components-input/modern';
7
7
  import { SelectMobile } from '@alfalab/core-components-select/modern';
8
8
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
9
- import { s as styles } from './mobile.module-dc668885.js';
9
+ import { s as styles } from './mobile.module-58dac562.js';
10
10
  import '@alfalab/core-components-form-control/modern';
11
11
  import '@alfalab/hooks';
12
12
 
@@ -6,7 +6,7 @@ import { Button } from '@alfalab/core-components-button/modern';
6
6
  import { Input } from '@alfalab/core-components-input/modern';
7
7
  import { SelectModalMobile } from '@alfalab/core-components-select/modern/mobile';
8
8
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
9
- import { s as styles } from './mobile.module-dc668885.js';
9
+ import { s as styles } from './mobile.module-58dac562.js';
10
10
  import '@alfalab/core-components-form-control/modern';
11
11
  import '@alfalab/hooks';
12
12
 
@@ -11,7 +11,7 @@ import 'lodash.throttle';
11
11
  import '@alfalab/core-components-button/modern';
12
12
  import './autocomplete-mobile-field/Component.js';
13
13
  import '@alfalab/core-components-form-control/modern';
14
- import './mobile.module-dc668885.js';
14
+ import './mobile.module-58dac562.js';
15
15
 
16
16
  const InputAutocompleteResponsive = forwardRef(({ breakpoint = 1024, ...restProps }, ref) => {
17
17
  const [view] = useMedia([
@@ -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
- const styles = {"arrow":"input-autocomplete__arrow_112d5","error":"input-autocomplete__error_112d5"};
6
+ const styles = {"arrow":"input-autocomplete__arrow_1sgy1","error":"input-autocomplete__error_1sgy1"};
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: 1g8bo */
2
- .input-autocomplete__arrow_112d5.input-autocomplete__error_112d5 ~ * {
1
+ /* hash: 1b7zv */
2
+ .input-autocomplete__arrow_1sgy1.input-autocomplete__error_1sgy1 ~ * {
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
- const styles = {"component":"input-autocomplete__component_1nrqd","field":"input-autocomplete__field_1nrqd","disabled":"input-autocomplete__disabled_1nrqd","placeholder":"input-autocomplete__placeholder_1nrqd","contentWrapper":"input-autocomplete__contentWrapper_1nrqd","value":"input-autocomplete__value_1nrqd","focusVisible":"input-autocomplete__focusVisible_1nrqd"};
6
+ const styles = {"component":"input-autocomplete__component_18u1y","field":"input-autocomplete__field_18u1y","disabled":"input-autocomplete__disabled_18u1y","placeholder":"input-autocomplete__placeholder_18u1y","contentWrapper":"input-autocomplete__contentWrapper_18u1y","value":"input-autocomplete__value_18u1y","focusVisible":"input-autocomplete__focusVisible_18u1y"};
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: v88g5 */
1
+ /* hash: 108k9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  --focus-color: var(--color-light-border-link);
20
20
  --disabled-cursor: not-allowed;
21
- } .input-autocomplete__component_1nrqd {
21
+ } .input-autocomplete__component_18u1y {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1nrqd:not(.input-autocomplete__disabled_1nrqd) {
24
+ } .input-autocomplete__field_18u1y:not(.input-autocomplete__disabled_18u1y) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1nrqd {
26
+ } .input-autocomplete__disabled_18u1y {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1nrqd {
28
+ } .input-autocomplete__placeholder_18u1y {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1nrqd {
30
+ } .input-autocomplete__contentWrapper_18u1y {
31
31
  font-size: 16px;
32
32
  line-height: 20px;
33
33
  font-weight: 400;
@@ -36,11 +36,11 @@
36
36
  text-overflow: ellipsis;
37
37
  overflow: hidden;
38
38
  width: 100%;
39
- } .input-autocomplete__value_1nrqd {
39
+ } .input-autocomplete__value_18u1y {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1nrqd {
43
+ } .input-autocomplete__focusVisible_18u1y {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
package/modern/index.js CHANGED
@@ -12,4 +12,4 @@ import 'lodash.throttle';
12
12
  import '@alfalab/core-components-button/modern';
13
13
  import './autocomplete-mobile-field/Component.js';
14
14
  import '@alfalab/core-components-form-control/modern';
15
- import './mobile.module-dc668885.js';
15
+ import './mobile.module-58dac562.js';
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1qiun */
1
+ /* hash: 1liit */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .input-autocomplete__bottomAddonInput_1xlh3 {
19
+ } .input-autocomplete__bottomAddonInput_11po4 {
20
20
  padding: 0 var(--gap-xs) var(--gap-xs);
21
21
  box-sizing: border-box;
22
- } .input-autocomplete__footer_1xlh3 {
22
+ } .input-autocomplete__footer_11po4 {
23
23
  display: flex
24
- } .input-autocomplete__footer_1xlh3 > button + button {
24
+ } .input-autocomplete__footer_11po4 > button + button {
25
25
  margin-left: var(--gap-m);
26
26
  }
package/modern/mobile.js CHANGED
@@ -10,5 +10,5 @@ import '@alfalab/core-components-select/modern';
10
10
  import './autocomplete-mobile-field/Component.js';
11
11
  import '@alfalab/core-components-form-control/modern';
12
12
  import '@alfalab/hooks';
13
- import './mobile.module-dc668885.js';
13
+ import './mobile.module-58dac562.js';
14
14
  import '@alfalab/core-components-select/modern/mobile';
@@ -1,4 +1,4 @@
1
- const styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_1xlh3","footer":"input-autocomplete__footer_1xlh3"};
1
+ const styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_11po4","footer":"input-autocomplete__footer_11po4"};
2
2
  require('./mobile.css')
3
3
 
4
4
  export { styles as s };
@@ -12,4 +12,4 @@ import 'lodash.throttle';
12
12
  import '@alfalab/core-components-button/modern';
13
13
  import './autocomplete-mobile-field/Component.js';
14
14
  import '@alfalab/core-components-form-control/modern';
15
- import './mobile.module-dc668885.js';
15
+ import './mobile.module-58dac562.js';
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-input-autocomplete",
3
- "version": "9.4.5",
3
+ "version": "9.4.6",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "main": "index.js",
8
8
  "module": "./esm/index.js",
9
- "scripts": {
10
- "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
11
- },
12
9
  "publishConfig": {
13
10
  "access": "public",
14
11
  "directory": "dist"
@@ -17,10 +14,10 @@
17
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
15
  },
19
16
  "dependencies": {
20
- "@alfalab/core-components-button": "^8.5.0",
21
- "@alfalab/core-components-form-control": "^9.0.5",
22
- "@alfalab/core-components-input": "^11.1.17",
23
- "@alfalab/core-components-select": "^14.3.3",
17
+ "@alfalab/core-components-button": "^8.5.1",
18
+ "@alfalab/core-components-form-control": "^9.0.6",
19
+ "@alfalab/core-components-input": "^11.1.18",
20
+ "@alfalab/core-components-select": "^14.3.4",
24
21
  "@alfalab/hooks": "^1.13.0",
25
22
  "classnames": "^2.3.1",
26
23
  "lodash.throttle": "^4.1.1",
package/responsive.js CHANGED
@@ -17,7 +17,7 @@ require('lodash.throttle');
17
17
  require('@alfalab/core-components-button');
18
18
  require('./autocomplete-mobile-field/Component.js');
19
19
  require('@alfalab/core-components-form-control');
20
- require('./mobile.module-33a6c99e.js');
20
+ require('./mobile.module-4a636c52.js');
21
21
 
22
22
 
23
23
 
package/send-stats.js DELETED
@@ -1,82 +0,0 @@
1
- const http = require('http');
2
- const fs = require('fs');
3
- const { promisify } = require('util');
4
- const path = require('path');
5
-
6
- const readFile = promisify(fs.readFile);
7
-
8
- async function main() {
9
- const remoteHost = process.env.NIS_HOST || 'digital';
10
- const remotePort = process.env.NIS_PORT || 80;
11
- const remotePath = process.env.NIS_PATH || '/npm-install-stats/api/install-stats';
12
-
13
- try {
14
- const [_, node, os, arch] =
15
- /node\/v(\d+\.\d+\.\d+) (\w+) (\w+)/.exec(process.env.npm_config_user_agent) || [];
16
- const [__, npm] = /npm\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
17
- const [___, yarn] = /yarn\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
18
-
19
- let ownPackageJson, packageJson;
20
-
21
- try {
22
- const result = await Promise.all([
23
- readFile(path.join(process.cwd(), 'package.json'), 'utf-8'),
24
- readFile(path.join(process.cwd(), '../../../package.json'), 'utf-8'),
25
- ]);
26
-
27
- ownPackageJson = JSON.parse(result[0]);
28
- packageJson = JSON.parse(result[1]);
29
- } catch (err) {
30
- ownPackageJson = '';
31
- packageJson = '';
32
- }
33
-
34
- const data = {
35
- node,
36
- npm,
37
- yarn,
38
- os,
39
- arch,
40
- ownPackageJson: JSON.stringify(ownPackageJson),
41
- packageJson: JSON.stringify(packageJson),
42
- };
43
-
44
- const body = JSON.stringify(data);
45
-
46
- const options = {
47
- host: remoteHost,
48
- port: remotePort,
49
- path: remotePath,
50
- method: 'POST',
51
- headers: {
52
- 'Content-Type': 'application/json',
53
- 'Content-Length': body.length,
54
- },
55
- };
56
-
57
- return new Promise((resolve, reject) => {
58
- const req = http.request(options, (res) => {
59
- res.on('end', () => {
60
- resolve();
61
- });
62
- });
63
-
64
- req.on('error', () => {
65
- reject();
66
- });
67
-
68
- req.write(body);
69
- req.end();
70
- });
71
- } catch (error) {
72
- throw error;
73
- }
74
- }
75
-
76
- main()
77
- .then(() => {
78
- process.exit(0);
79
- })
80
- .catch(() => {
81
- process.exit(0);
82
- });