@alfalab/core-components-input-autocomplete 11.3.2 → 11.3.3

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.
@@ -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_y38s8","error":"input-autocomplete__error_y38s8"};
17
+ var styles = {"arrow":"input-autocomplete__arrow_1iz5s","error":"input-autocomplete__error_1iz5s"};
18
18
  require('./index.css')
19
19
 
20
20
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1fm23 */
2
- .input-autocomplete__arrow_y38s8.input-autocomplete__error_y38s8 ~ * {
1
+ /* hash: 8sbfr */
2
+ .input-autocomplete__arrow_1iz5s.input-autocomplete__error_1iz5s ~ * {
3
3
  display: none;
4
4
  }
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var styles = {"component":"input-autocomplete__component_gk6j8","field":"input-autocomplete__field_gk6j8","disabled":"input-autocomplete__disabled_gk6j8","placeholder":"input-autocomplete__placeholder_gk6j8","contentWrapper":"input-autocomplete__contentWrapper_gk6j8","value":"input-autocomplete__value_gk6j8","focusVisible":"input-autocomplete__focusVisible_gk6j8"};
18
+ var styles = {"component":"input-autocomplete__component_159sa","field":"input-autocomplete__field_159sa","disabled":"input-autocomplete__disabled_159sa","placeholder":"input-autocomplete__placeholder_159sa","contentWrapper":"input-autocomplete__contentWrapper_159sa","value":"input-autocomplete__value_159sa","focusVisible":"input-autocomplete__focusVisible_159sa"};
19
19
  require('./index.css')
20
20
 
21
21
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: oy06a */
1
+ /* hash: o9g43 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -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_gk6j8 {
21
+ } .input-autocomplete__component_159sa {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_gk6j8:not(.input-autocomplete__disabled_gk6j8) {
24
+ } .input-autocomplete__field_159sa:not(.input-autocomplete__disabled_159sa) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_gk6j8 {
26
+ } .input-autocomplete__disabled_159sa {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_gk6j8 {
28
+ } .input-autocomplete__placeholder_159sa {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_gk6j8 {
30
+ } .input-autocomplete__contentWrapper_159sa {
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_gk6j8 {
39
+ } .input-autocomplete__value_159sa {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_gk6j8 {
43
+ } .input-autocomplete__focusVisible_159sa {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
@@ -4,7 +4,7 @@ import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { InputDesktop } from '@alfalab/core-components-input/esm/desktop';
6
6
 
7
- var styles = {"arrow":"input-autocomplete__arrow_y38s8","error":"input-autocomplete__error_y38s8"};
7
+ var styles = {"arrow":"input-autocomplete__arrow_1iz5s","error":"input-autocomplete__error_1iz5s"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1fm23 */
2
- .input-autocomplete__arrow_y38s8.input-autocomplete__error_y38s8 ~ * {
1
+ /* hash: 8sbfr */
2
+ .input-autocomplete__arrow_1iz5s.input-autocomplete__error_1iz5s ~ * {
3
3
  display: none;
4
4
  }
@@ -6,7 +6,7 @@ import { ClearButton } from '@alfalab/core-components-input/esm/shared';
6
6
  import { getDataTestId } from '@alfalab/core-components-shared/esm';
7
7
  import { useFocus } from '@alfalab/hooks';
8
8
 
9
- var styles = {"component":"input-autocomplete__component_gk6j8","field":"input-autocomplete__field_gk6j8","disabled":"input-autocomplete__disabled_gk6j8","placeholder":"input-autocomplete__placeholder_gk6j8","contentWrapper":"input-autocomplete__contentWrapper_gk6j8","value":"input-autocomplete__value_gk6j8","focusVisible":"input-autocomplete__focusVisible_gk6j8"};
9
+ var styles = {"component":"input-autocomplete__component_159sa","field":"input-autocomplete__field_159sa","disabled":"input-autocomplete__disabled_159sa","placeholder":"input-autocomplete__placeholder_159sa","contentWrapper":"input-autocomplete__contentWrapper_159sa","value":"input-autocomplete__value_159sa","focusVisible":"input-autocomplete__focusVisible_159sa"};
10
10
  require('./index.css')
11
11
 
12
12
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: oy06a */
1
+ /* hash: o9g43 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -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_gk6j8 {
21
+ } .input-autocomplete__component_159sa {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_gk6j8:not(.input-autocomplete__disabled_gk6j8) {
24
+ } .input-autocomplete__field_159sa:not(.input-autocomplete__disabled_159sa) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_gk6j8 {
26
+ } .input-autocomplete__disabled_159sa {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_gk6j8 {
28
+ } .input-autocomplete__placeholder_159sa {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_gk6j8 {
30
+ } .input-autocomplete__contentWrapper_159sa {
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_gk6j8 {
39
+ } .input-autocomplete__value_159sa {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_gk6j8 {
43
+ } .input-autocomplete__focusVisible_159sa {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
@@ -12,7 +12,7 @@ import '@alfalab/core-components-input/esm/shared';
12
12
  import '@alfalab/core-components-shared/esm';
13
13
  import '@alfalab/hooks';
14
14
 
15
- var styles = {"input":"input-autocomplete__input_1w78l"};
15
+ var styles = {"input":"input-autocomplete__input_ttx2c"};
16
16
  require('./mobile.css')
17
17
 
18
18
  var InputAutocompleteMobile = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1mhwa */
1
+ /* hash: sqrb5 */
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 */
@@ -14,6 +14,6 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .input-autocomplete__input_1w78l {
17
+ } .input-autocomplete__input_ttx2c {
18
18
  width: auto;
19
19
  }
@@ -23,7 +23,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
23
23
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
24
24
  var throttle__default = /*#__PURE__*/_interopDefaultCompat(throttle);
25
25
 
26
- var styles = {"input":"input-autocomplete__input_1w78l"};
26
+ var styles = {"input":"input-autocomplete__input_ttx2c"};
27
27
  require('./mobile.css')
28
28
 
29
29
  var InputAutocompleteMobile = React__default.default.forwardRef(function (_a, ref) {
package/mobile/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1mhwa */
1
+ /* hash: sqrb5 */
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 */
@@ -14,6 +14,6 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .input-autocomplete__input_1w78l {
17
+ } .input-autocomplete__input_ttx2c {
18
18
  width: auto;
19
19
  }
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { InputDesktop } from '@alfalab/core-components-input/modern/desktop';
5
5
 
6
- const styles = {"arrow":"input-autocomplete__arrow_y38s8","error":"input-autocomplete__error_y38s8"};
6
+ const styles = {"arrow":"input-autocomplete__arrow_1iz5s","error":"input-autocomplete__error_1iz5s"};
7
7
  require('./index.css')
8
8
 
9
9
  const AutocompleteField = ({ label, labelView = 'inner', placeholder, size, Arrow, Input = InputDesktop, value, error, success, hint, disabled, readOnly, onInput, inputProps = {}, innerProps, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1fm23 */
2
- .input-autocomplete__arrow_y38s8.input-autocomplete__error_y38s8 ~ * {
1
+ /* hash: 8sbfr */
2
+ .input-autocomplete__arrow_1iz5s.input-autocomplete__error_1iz5s ~ * {
3
3
  display: none;
4
4
  }
@@ -5,7 +5,7 @@ import { ClearButton } from '@alfalab/core-components-input/modern/shared';
5
5
  import { getDataTestId } from '@alfalab/core-components-shared/modern';
6
6
  import { useFocus } from '@alfalab/hooks';
7
7
 
8
- const styles = {"component":"input-autocomplete__component_gk6j8","field":"input-autocomplete__field_gk6j8","disabled":"input-autocomplete__disabled_gk6j8","placeholder":"input-autocomplete__placeholder_gk6j8","contentWrapper":"input-autocomplete__contentWrapper_gk6j8","value":"input-autocomplete__value_gk6j8","focusVisible":"input-autocomplete__focusVisible_gk6j8"};
8
+ const styles = {"component":"input-autocomplete__component_159sa","field":"input-autocomplete__field_159sa","disabled":"input-autocomplete__disabled_159sa","placeholder":"input-autocomplete__placeholder_159sa","contentWrapper":"input-autocomplete__contentWrapper_159sa","value":"input-autocomplete__value_159sa","focusVisible":"input-autocomplete__focusVisible_159sa"};
9
9
  require('./index.css')
10
10
 
11
11
  const AutocompleteMobileField = ({ size = 'm', open, disabled, value, innerProps, dataTestId, fieldClassName, labelView = 'inner', placeholder, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, FormControlComponent, rightAddons, error, readOnly, clear, onClear, onInput, colors = 'default', ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: oy06a */
1
+ /* hash: o9g43 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -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_gk6j8 {
21
+ } .input-autocomplete__component_159sa {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_gk6j8:not(.input-autocomplete__disabled_gk6j8) {
24
+ } .input-autocomplete__field_159sa:not(.input-autocomplete__disabled_159sa) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_gk6j8 {
26
+ } .input-autocomplete__disabled_159sa {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_gk6j8 {
28
+ } .input-autocomplete__placeholder_159sa {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_gk6j8 {
30
+ } .input-autocomplete__contentWrapper_159sa {
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_gk6j8 {
39
+ } .input-autocomplete__value_159sa {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_gk6j8 {
43
+ } .input-autocomplete__focusVisible_159sa {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
@@ -11,7 +11,7 @@ import '@alfalab/core-components-input/modern/shared';
11
11
  import '@alfalab/core-components-shared/modern';
12
12
  import '@alfalab/hooks';
13
13
 
14
- const styles = {"input":"input-autocomplete__input_1w78l"};
14
+ const styles = {"input":"input-autocomplete__input_ttx2c"};
15
15
  require('./mobile.css')
16
16
 
17
17
  const InputAutocompleteMobile = React.forwardRef(({ Input, value, name, Arrow = null, label, placeholder = '', size = 's', open: openProp, onInput, onOpen, multiple, inputProps, isBottomSheet = true, dataTestId, transitionProps, onCancel, onApply, title, ...restProps }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1mhwa */
1
+ /* hash: sqrb5 */
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 */
@@ -14,6 +14,6 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .input-autocomplete__input_1w78l {
17
+ } .input-autocomplete__input_ttx2c {
18
18
  width: auto;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-input-autocomplete",
3
- "version": "11.3.2",
3
+ "version": "11.3.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,11 +14,11 @@
14
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-form-control": "^12.0.2",
18
- "@alfalab/core-components-input": "^14.1.0",
17
+ "@alfalab/core-components-form-control": "^12.0.3",
18
+ "@alfalab/core-components-input": "^14.1.1",
19
19
  "@alfalab/core-components-popover": "^6.2.1",
20
- "@alfalab/core-components-select": "^17.1.0",
21
- "@alfalab/core-components-shared": "^0.9.0",
20
+ "@alfalab/core-components-select": "^17.1.1",
21
+ "@alfalab/core-components-shared": "^0.9.1",
22
22
  "@alfalab/core-components-mq": "^4.2.0",
23
23
  "@alfalab/hooks": "^1.13.0",
24
24
  "classnames": "^2.3.1",