@alfalab/core-components-input-autocomplete 11.0.0 → 11.0.1

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.
@@ -22,7 +22,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
22
22
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
23
23
  var throttle__default = /*#__PURE__*/_interopDefaultCompat(throttle);
24
24
 
25
- var styles = {"input":"input-autocomplete__input_q39f3"};
25
+ var styles = {"input":"input-autocomplete__input_5rq2g"};
26
26
  require('./mobile.css')
27
27
 
28
28
  var InputAutocompleteMobile = React__default.default.forwardRef(function (_a, ref) {
@@ -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_1sl9i","error":"input-autocomplete__error_1sl9i"};
17
+ var styles = {"arrow":"input-autocomplete__arrow_3b1wc","error":"input-autocomplete__error_3b1wc"};
18
18
  require('./index.css')
19
19
 
20
20
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 12uxl */
2
- .input-autocomplete__arrow_1sl9i.input-autocomplete__error_1sl9i ~ * {
1
+ /* hash: rlm24 */
2
+ .input-autocomplete__arrow_3b1wc.input-autocomplete__error_3b1wc ~ * {
3
3
  display: none;
4
4
  }
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"component":"input-autocomplete__component_1o5l0","field":"input-autocomplete__field_1o5l0","disabled":"input-autocomplete__disabled_1o5l0","placeholder":"input-autocomplete__placeholder_1o5l0","contentWrapper":"input-autocomplete__contentWrapper_1o5l0","value":"input-autocomplete__value_1o5l0","focusVisible":"input-autocomplete__focusVisible_1o5l0"};
17
+ var styles = {"component":"input-autocomplete__component_54luj","field":"input-autocomplete__field_54luj","disabled":"input-autocomplete__disabled_54luj","placeholder":"input-autocomplete__placeholder_54luj","contentWrapper":"input-autocomplete__contentWrapper_54luj","value":"input-autocomplete__value_54luj","focusVisible":"input-autocomplete__focusVisible_54luj"};
18
18
  require('./index.css')
19
19
 
20
20
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 11p4o */
1
+ /* hash: ldbx1 */
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_1o5l0 {
21
+ } .input-autocomplete__component_54luj {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1o5l0:not(.input-autocomplete__disabled_1o5l0) {
24
+ } .input-autocomplete__field_54luj:not(.input-autocomplete__disabled_54luj) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1o5l0 {
26
+ } .input-autocomplete__disabled_54luj {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1o5l0 {
28
+ } .input-autocomplete__placeholder_54luj {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1o5l0 {
30
+ } .input-autocomplete__contentWrapper_54luj {
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_1o5l0 {
39
+ } .input-autocomplete__value_54luj {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1o5l0 {
43
+ } .input-autocomplete__focusVisible_54luj {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
@@ -11,7 +11,7 @@ import '@alfalab/core-components-form-control/esm/mobile';
11
11
  import '@alfalab/core-components-shared/esm';
12
12
  import '@alfalab/hooks';
13
13
 
14
- var styles = {"input":"input-autocomplete__input_q39f3"};
14
+ var styles = {"input":"input-autocomplete__input_5rq2g"};
15
15
  require('./mobile.css')
16
16
 
17
17
  var InputAutocompleteMobile = React.forwardRef(function (_a, ref) {
@@ -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_1sl9i","error":"input-autocomplete__error_1sl9i"};
7
+ var styles = {"arrow":"input-autocomplete__arrow_3b1wc","error":"input-autocomplete__error_3b1wc"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 12uxl */
2
- .input-autocomplete__arrow_1sl9i.input-autocomplete__error_1sl9i ~ * {
1
+ /* hash: rlm24 */
2
+ .input-autocomplete__arrow_3b1wc.input-autocomplete__error_3b1wc ~ * {
3
3
  display: none;
4
4
  }
@@ -5,7 +5,7 @@ import { FormControlMobile } from '@alfalab/core-components-form-control/esm/mob
5
5
  import { getDataTestId } from '@alfalab/core-components-shared/esm';
6
6
  import { useFocus } from '@alfalab/hooks';
7
7
 
8
- var styles = {"component":"input-autocomplete__component_1o5l0","field":"input-autocomplete__field_1o5l0","disabled":"input-autocomplete__disabled_1o5l0","placeholder":"input-autocomplete__placeholder_1o5l0","contentWrapper":"input-autocomplete__contentWrapper_1o5l0","value":"input-autocomplete__value_1o5l0","focusVisible":"input-autocomplete__focusVisible_1o5l0"};
8
+ var styles = {"component":"input-autocomplete__component_54luj","field":"input-autocomplete__field_54luj","disabled":"input-autocomplete__disabled_54luj","placeholder":"input-autocomplete__placeholder_54luj","contentWrapper":"input-autocomplete__contentWrapper_54luj","value":"input-autocomplete__value_54luj","focusVisible":"input-autocomplete__focusVisible_54luj"};
9
9
  require('./index.css')
10
10
 
11
11
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 11p4o */
1
+ /* hash: ldbx1 */
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_1o5l0 {
21
+ } .input-autocomplete__component_54luj {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1o5l0:not(.input-autocomplete__disabled_1o5l0) {
24
+ } .input-autocomplete__field_54luj:not(.input-autocomplete__disabled_54luj) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1o5l0 {
26
+ } .input-autocomplete__disabled_54luj {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1o5l0 {
28
+ } .input-autocomplete__placeholder_54luj {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1o5l0 {
30
+ } .input-autocomplete__contentWrapper_54luj {
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_1o5l0 {
39
+ } .input-autocomplete__value_54luj {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1o5l0 {
43
+ } .input-autocomplete__focusVisible_54luj {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 15blr */
1
+ /* hash: u2a88 */
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_q39f3 {
17
+ } .input-autocomplete__input_5rq2g {
18
18
  width: auto;
19
19
  }
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 15blr */
1
+ /* hash: u2a88 */
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_q39f3 {
17
+ } .input-autocomplete__input_5rq2g {
18
18
  width: auto;
19
19
  }
@@ -10,7 +10,7 @@ import '@alfalab/core-components-form-control/modern/mobile';
10
10
  import '@alfalab/core-components-shared/modern';
11
11
  import '@alfalab/hooks';
12
12
 
13
- const styles = {"input":"input-autocomplete__input_q39f3"};
13
+ const styles = {"input":"input-autocomplete__input_5rq2g"};
14
14
  require('./mobile.css')
15
15
 
16
16
  const InputAutocompleteMobile = React.forwardRef(({ Input, value, name, Arrow = null, label, placeholder = '', size = 's', open: openProp, onInput, onOpen, multiple, inputProps, isBottomSheet = true, dataTestId, transitionProps, ...restProps }, ref) => {
@@ -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_1sl9i","error":"input-autocomplete__error_1sl9i"};
6
+ const styles = {"arrow":"input-autocomplete__arrow_3b1wc","error":"input-autocomplete__error_3b1wc"};
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: 12uxl */
2
- .input-autocomplete__arrow_1sl9i.input-autocomplete__error_1sl9i ~ * {
1
+ /* hash: rlm24 */
2
+ .input-autocomplete__arrow_3b1wc.input-autocomplete__error_3b1wc ~ * {
3
3
  display: none;
4
4
  }
@@ -4,7 +4,7 @@ import { FormControlMobile } from '@alfalab/core-components-form-control/modern/
4
4
  import { getDataTestId } from '@alfalab/core-components-shared/modern';
5
5
  import { useFocus } from '@alfalab/hooks';
6
6
 
7
- const styles = {"component":"input-autocomplete__component_1o5l0","field":"input-autocomplete__field_1o5l0","disabled":"input-autocomplete__disabled_1o5l0","placeholder":"input-autocomplete__placeholder_1o5l0","contentWrapper":"input-autocomplete__contentWrapper_1o5l0","value":"input-autocomplete__value_1o5l0","focusVisible":"input-autocomplete__focusVisible_1o5l0"};
7
+ const styles = {"component":"input-autocomplete__component_54luj","field":"input-autocomplete__field_54luj","disabled":"input-autocomplete__disabled_54luj","placeholder":"input-autocomplete__placeholder_54luj","contentWrapper":"input-autocomplete__contentWrapper_54luj","value":"input-autocomplete__value_54luj","focusVisible":"input-autocomplete__focusVisible_54luj"};
8
8
  require('./index.css')
9
9
 
10
10
  const AutocompleteMobileField = ({ size = 'm', open, disabled, value, innerProps, dataTestId, fieldClassName, labelView = 'inner', placeholder, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, FormControlComponent, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 11p4o */
1
+ /* hash: ldbx1 */
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_1o5l0 {
21
+ } .input-autocomplete__component_54luj {
22
22
  width: 100%;
23
23
  outline: none;
24
- } .input-autocomplete__field_1o5l0:not(.input-autocomplete__disabled_1o5l0) {
24
+ } .input-autocomplete__field_54luj:not(.input-autocomplete__disabled_54luj) {
25
25
  cursor: pointer;
26
- } .input-autocomplete__disabled_1o5l0 {
26
+ } .input-autocomplete__disabled_54luj {
27
27
  cursor: var(--disabled-cursor);
28
- } .input-autocomplete__placeholder_1o5l0 {
28
+ } .input-autocomplete__placeholder_54luj {
29
29
  color: var(--color-light-text-secondary);
30
- } .input-autocomplete__contentWrapper_1o5l0 {
30
+ } .input-autocomplete__contentWrapper_54luj {
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_1o5l0 {
39
+ } .input-autocomplete__value_54luj {
40
40
  overflow: hidden;
41
41
  text-overflow: ellipsis;
42
42
  text-align: left;
43
- } .input-autocomplete__focusVisible_1o5l0 {
43
+ } .input-autocomplete__focusVisible_54luj {
44
44
  outline: 2px solid var(--focus-color);
45
45
  outline-offset: 2px;
46
46
  }
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 15blr */
1
+ /* hash: u2a88 */
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_q39f3 {
17
+ } .input-autocomplete__input_5rq2g {
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.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@alfalab/core-components-form-control": "^11.0.0",
18
- "@alfalab/core-components-input": "^13.0.0",
18
+ "@alfalab/core-components-input": "^13.0.1",
19
19
  "@alfalab/core-components-popover": "^6.1.0",
20
- "@alfalab/core-components-select": "^16.0.0",
20
+ "@alfalab/core-components-select": "^16.0.1",
21
21
  "@alfalab/core-components-shared": "^0.8.0",
22
22
  "@alfalab/core-components-mq": "^4.2.0",
23
23
  "@alfalab/hooks": "^1.13.0",