@alfalab/core-components-input-autocomplete 10.2.2 → 10.3.0
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.
- package/Component.desktop.d.ts +3 -3
- package/Component.mobile.d.ts +2 -2
- package/Component.mobile.js +1 -1
- package/Component.modal.mobile.d.ts +3 -3
- package/Component.modal.mobile.js +1 -1
- package/Component.responsive.d.ts +6 -6
- package/Component.responsive.js +1 -1
- package/autocomplete-field/Component.d.ts +1 -1
- package/autocomplete-field/Component.js +1 -1
- package/autocomplete-field/index.css +2 -2
- package/autocomplete-mobile-field/Component.d.ts +2 -2
- package/autocomplete-mobile-field/Component.js +1 -1
- package/autocomplete-mobile-field/index.css +8 -8
- package/cssm/Component.desktop.d.ts +3 -3
- package/cssm/Component.mobile.d.ts +2 -2
- package/cssm/Component.modal.mobile.d.ts +3 -3
- package/cssm/Component.responsive.d.ts +6 -6
- package/cssm/autocomplete-field/Component.d.ts +1 -1
- package/cssm/autocomplete-mobile-field/Component.d.ts +2 -2
- package/cssm/{desktop.d.ts → desktop/index.d.ts} +1 -1
- package/cssm/{desktop.js → desktop/index.js} +3 -3
- package/{mobile.d.ts → cssm/mobile/index.d.ts} +2 -2
- package/cssm/{mobile.js → mobile/index.js} +5 -5
- package/{modern/desktop.d.ts → desktop/index.d.ts} +1 -1
- package/{desktop.js → desktop/index.js} +2 -2
- package/desktop/package.json +3 -0
- package/esm/Component.desktop.d.ts +3 -3
- package/esm/Component.mobile.d.ts +2 -2
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.modal.mobile.d.ts +3 -3
- package/esm/Component.modal.mobile.js +1 -1
- package/esm/Component.responsive.d.ts +6 -6
- package/esm/Component.responsive.js +1 -1
- package/esm/autocomplete-field/Component.d.ts +1 -1
- package/esm/autocomplete-field/Component.js +1 -1
- package/esm/autocomplete-field/index.css +2 -2
- package/esm/autocomplete-mobile-field/Component.d.ts +2 -2
- package/esm/autocomplete-mobile-field/Component.js +1 -1
- package/esm/autocomplete-mobile-field/index.css +8 -8
- package/{desktop.d.ts → esm/desktop/index.d.ts} +1 -1
- package/esm/{desktop.js → desktop/index.js} +2 -2
- package/esm/index.js +1 -1
- package/{cssm/mobile.d.ts → esm/mobile/index.d.ts} +2 -2
- package/esm/{mobile.js → mobile/index.js} +4 -4
- package/esm/mobile.css +4 -4
- package/esm/{mobile.module-a36ccaa2.js → mobile.module-846d8b52.js} +1 -1
- package/index.js +1 -1
- package/{modern/mobile.d.ts → mobile/index.d.ts} +2 -2
- package/{mobile.js → mobile/index.js} +4 -4
- package/mobile/package.json +3 -0
- package/mobile.css +4 -4
- package/{mobile.module-ef956a02.js → mobile.module-7c0f2a72.js} +1 -1
- package/modern/Component.desktop.d.ts +4 -4
- package/modern/Component.mobile.d.ts +3 -3
- package/modern/Component.mobile.js +1 -1
- package/modern/Component.modal.mobile.d.ts +4 -4
- package/modern/Component.modal.mobile.js +1 -1
- package/modern/Component.responsive.d.ts +9 -9
- package/modern/Component.responsive.js +1 -1
- package/modern/autocomplete-field/Component.d.ts +1 -1
- package/modern/autocomplete-field/Component.js +1 -1
- package/modern/autocomplete-field/index.css +2 -2
- package/modern/autocomplete-mobile-field/Component.d.ts +2 -2
- package/modern/autocomplete-mobile-field/Component.js +1 -1
- package/modern/autocomplete-mobile-field/index.css +8 -8
- package/{esm/desktop.d.ts → modern/desktop/index.d.ts} +1 -1
- package/modern/{desktop.js → desktop/index.js} +2 -2
- package/modern/index.js +1 -1
- package/{esm/mobile.d.ts → modern/mobile/index.d.ts} +2 -2
- package/modern/{mobile.js → mobile/index.js} +4 -4
- package/modern/mobile.css +4 -4
- package/modern/{mobile.module-ba8a299e.js → mobile.module-7bf90bfc.js} +1 -1
- package/package.json +6 -26
- package/src/{desktop.ts → desktop/index.ts} +1 -1
- package/src/desktop/package.json +3 -0
- package/src/{mobile.ts → mobile/index.ts} +2 -2
- package/src/mobile/package.json +3 -0
- package/Component-0f4b9bed.d.ts +0 -72
- package/Component-69921c40.d.ts +0 -184
- package/Component-89f0cb07.d.ts +0 -38
- package/Component-bdb4c6b9.d.ts +0 -12
- package/Component-c76d6398.d.ts +0 -5
- package/Component-ebda875c.d.ts +0 -12
- package/Component.desktop-ebda875c.d.ts +0 -6
- package/Component.mobile-f1f15074.d.ts +0 -34
- package/Component.mobile-f28cbba0.d.ts +0 -41
- package/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/Context-bdb4c6b9.d.ts +0 -4
- package/ResponsiveContext-baf4875b.d.ts +0 -5
- package/consts-f777ba1a.d.ts +0 -2
- package/cssm/Component-0f4b9bed.d.ts +0 -72
- package/cssm/Component-69921c40.d.ts +0 -184
- package/cssm/Component-89f0cb07.d.ts +0 -38
- package/cssm/Component-bdb4c6b9.d.ts +0 -12
- package/cssm/Component-c76d6398.d.ts +0 -5
- package/cssm/Component-ebda875c.d.ts +0 -12
- package/cssm/Component.desktop-ebda875c.d.ts +0 -6
- package/cssm/Component.mobile-f1f15074.d.ts +0 -34
- package/cssm/Component.mobile-f28cbba0.d.ts +0 -41
- package/cssm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/cssm/Context-bdb4c6b9.d.ts +0 -4
- package/cssm/ResponsiveContext-baf4875b.d.ts +0 -5
- package/cssm/consts-f777ba1a.d.ts +0 -2
- package/cssm/desktop-69921c40.d.ts +0 -6
- package/cssm/hook-8abfea97.d.ts +0 -90
- package/cssm/index-136acbb1.d.ts +0 -28
- package/cssm/index-72dda473.d.ts +0 -12
- package/cssm/index-bdb4c6b9.d.ts +0 -2
- package/cssm/index-c76d6398.d.ts +0 -185
- package/cssm/index-ebda875c.d.ts +0 -146
- package/cssm/index-f12ee135.d.ts +0 -52
- package/cssm/mobile-89f0cb07.d.ts +0 -6
- package/cssm/mobile-96988a65.d.ts +0 -6
- package/cssm/mobile-f28cbba0.d.ts +0 -5
- package/cssm/shared-4cd3936b.d.ts +0 -65
- package/cssm/types-1b036d4b.d.ts +0 -13
- package/cssm/types-72dda473.d.ts +0 -276
- package/cssm/typings-0f4b9bed.d.ts +0 -576
- package/cssm/typings-89f0cb07.d.ts +0 -93
- package/cssm/typings-bdb4c6b9.d.ts +0 -52
- package/cssm/useSkeleton-ebda875c.d.ts +0 -12
- package/cssm/utils-0f4b9bed.d.ts +0 -41
- package/cssm/utils-1574ad8b.d.ts +0 -29
- package/desktop-69921c40.d.ts +0 -6
- package/esm/Component-0f4b9bed.d.ts +0 -72
- package/esm/Component-69921c40.d.ts +0 -184
- package/esm/Component-89f0cb07.d.ts +0 -38
- package/esm/Component-bdb4c6b9.d.ts +0 -12
- package/esm/Component-c76d6398.d.ts +0 -5
- package/esm/Component-ebda875c.d.ts +0 -12
- package/esm/Component.desktop-ebda875c.d.ts +0 -6
- package/esm/Component.mobile-f1f15074.d.ts +0 -34
- package/esm/Component.mobile-f28cbba0.d.ts +0 -41
- package/esm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/esm/Context-bdb4c6b9.d.ts +0 -4
- package/esm/ResponsiveContext-baf4875b.d.ts +0 -5
- package/esm/consts-f777ba1a.d.ts +0 -2
- package/esm/desktop-69921c40.d.ts +0 -6
- package/esm/hook-8abfea97.d.ts +0 -90
- package/esm/index-136acbb1.d.ts +0 -28
- package/esm/index-72dda473.d.ts +0 -12
- package/esm/index-bdb4c6b9.d.ts +0 -2
- package/esm/index-c76d6398.d.ts +0 -185
- package/esm/index-ebda875c.d.ts +0 -146
- package/esm/index-f12ee135.d.ts +0 -52
- package/esm/mobile-89f0cb07.d.ts +0 -6
- package/esm/mobile-96988a65.d.ts +0 -6
- package/esm/mobile-f28cbba0.d.ts +0 -5
- package/esm/shared-4cd3936b.d.ts +0 -65
- package/esm/types-1b036d4b.d.ts +0 -13
- package/esm/types-72dda473.d.ts +0 -276
- package/esm/typings-0f4b9bed.d.ts +0 -576
- package/esm/typings-89f0cb07.d.ts +0 -93
- package/esm/typings-bdb4c6b9.d.ts +0 -52
- package/esm/useSkeleton-ebda875c.d.ts +0 -12
- package/esm/utils-0f4b9bed.d.ts +0 -41
- package/esm/utils-1574ad8b.d.ts +0 -29
- package/hook-8abfea97.d.ts +0 -90
- package/index-136acbb1.d.ts +0 -28
- package/index-72dda473.d.ts +0 -12
- package/index-bdb4c6b9.d.ts +0 -2
- package/index-c76d6398.d.ts +0 -185
- package/index-ebda875c.d.ts +0 -146
- package/index-f12ee135.d.ts +0 -52
- package/mobile-89f0cb07.d.ts +0 -6
- package/mobile-96988a65.d.ts +0 -6
- package/mobile-f28cbba0.d.ts +0 -5
- package/modern/Component-0f4b9bed.d.ts +0 -72
- package/modern/Component-69921c40.d.ts +0 -184
- package/modern/Component-89f0cb07.d.ts +0 -38
- package/modern/Component-bdb4c6b9.d.ts +0 -12
- package/modern/Component-c76d6398.d.ts +0 -5
- package/modern/Component-ebda875c.d.ts +0 -12
- package/modern/Component.desktop-ebda875c.d.ts +0 -6
- package/modern/Component.mobile-f1f15074.d.ts +0 -34
- package/modern/Component.mobile-f28cbba0.d.ts +0 -41
- package/modern/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/modern/Context-bdb4c6b9.d.ts +0 -4
- package/modern/ResponsiveContext-baf4875b.d.ts +0 -5
- package/modern/consts-f777ba1a.d.ts +0 -2
- package/modern/desktop-69921c40.d.ts +0 -6
- package/modern/hook-8abfea97.d.ts +0 -90
- package/modern/index-136acbb1.d.ts +0 -28
- package/modern/index-72dda473.d.ts +0 -12
- package/modern/index-bdb4c6b9.d.ts +0 -2
- package/modern/index-c76d6398.d.ts +0 -185
- package/modern/index-ebda875c.d.ts +0 -146
- package/modern/index-f12ee135.d.ts +0 -52
- package/modern/mobile-89f0cb07.d.ts +0 -6
- package/modern/mobile-96988a65.d.ts +0 -6
- package/modern/mobile-f28cbba0.d.ts +0 -5
- package/modern/shared-4cd3936b.d.ts +0 -65
- package/modern/types-1b036d4b.d.ts +0 -13
- package/modern/types-72dda473.d.ts +0 -276
- package/modern/typings-0f4b9bed.d.ts +0 -576
- package/modern/typings-89f0cb07.d.ts +0 -93
- package/modern/typings-bdb4c6b9.d.ts +0 -52
- package/modern/useSkeleton-ebda875c.d.ts +0 -12
- package/modern/utils-0f4b9bed.d.ts +0 -41
- package/modern/utils-1574ad8b.d.ts +0 -29
- package/shared-4cd3936b.d.ts +0 -65
- package/types-1b036d4b.d.ts +0 -13
- package/types-72dda473.d.ts +0 -276
- package/typings-0f4b9bed.d.ts +0 -576
- package/typings-89f0cb07.d.ts +0 -93
- package/typings-bdb4c6b9.d.ts +0 -52
- package/useSkeleton-ebda875c.d.ts +0 -12
- package/utils-0f4b9bed.d.ts +0 -41
- package/utils-1574ad8b.d.ts +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 158ng */
|
|
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-
|
|
21
|
+
} .input-autocomplete__component_16kcs {
|
|
22
22
|
width: 100%;
|
|
23
23
|
outline: none;
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__field_16kcs:not(.input-autocomplete__disabled_16kcs) {
|
|
25
25
|
cursor: pointer;
|
|
26
|
-
} .input-
|
|
26
|
+
} .input-autocomplete__disabled_16kcs {
|
|
27
27
|
cursor: var(--disabled-cursor);
|
|
28
|
-
} .input-
|
|
28
|
+
} .input-autocomplete__placeholder_16kcs {
|
|
29
29
|
color: var(--color-light-text-secondary);
|
|
30
|
-
} .input-
|
|
30
|
+
} .input-autocomplete__contentWrapper_16kcs {
|
|
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-
|
|
39
|
+
} .input-autocomplete__value_16kcs {
|
|
40
40
|
overflow: hidden;
|
|
41
41
|
text-overflow: ellipsis;
|
|
42
42
|
text-align: left;
|
|
43
|
-
} .input-
|
|
43
|
+
} .input-autocomplete__focusVisible_16kcs {
|
|
44
44
|
outline: 2px solid var(--focus-color);
|
|
45
45
|
outline-offset: 2px;
|
|
46
46
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from "
|
|
1
|
+
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from "../Component.desktop";
|
|
2
2
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { InputAutocompleteDesktop } from '
|
|
1
|
+
export { InputAutocompleteDesktop } from '../Component.desktop.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@alfalab/core-components-select/esm/shared';
|
|
5
|
-
import '
|
|
5
|
+
import '../autocomplete-field/Component.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '@alfalab/core-components-input/esm/desktop';
|
package/esm/index.js
CHANGED
|
@@ -16,4 +16,4 @@ import '@alfalab/core-components-select/esm/mobile';
|
|
|
16
16
|
import './autocomplete-mobile-field/Component.js';
|
|
17
17
|
import '@alfalab/core-components-form-control/esm/mobile';
|
|
18
18
|
import '@alfalab/core-components-shared/esm';
|
|
19
|
-
import './mobile.module-
|
|
19
|
+
import './mobile.module-846d8b52.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "
|
|
2
|
-
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "
|
|
1
|
+
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "../Component.mobile";
|
|
2
|
+
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "../Component.modal.mobile";
|
|
3
3
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { InputAutocompleteMobile } from '
|
|
2
|
-
export { InputAutocompleteModalMobile } from '
|
|
1
|
+
export { InputAutocompleteMobile } from '../Component.mobile.js';
|
|
2
|
+
export { InputAutocompleteModalMobile } from '../Component.modal.mobile.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-merge-refs';
|
|
@@ -8,8 +8,8 @@ import 'lodash.throttle';
|
|
|
8
8
|
import '@alfalab/core-components-button/esm/mobile';
|
|
9
9
|
import '@alfalab/core-components-input/esm';
|
|
10
10
|
import '@alfalab/core-components-select/esm/mobile';
|
|
11
|
-
import '
|
|
11
|
+
import '../autocomplete-mobile-field/Component.js';
|
|
12
12
|
import '@alfalab/core-components-form-control/esm/mobile';
|
|
13
13
|
import '@alfalab/core-components-shared/esm';
|
|
14
14
|
import '@alfalab/hooks';
|
|
15
|
-
import '
|
|
15
|
+
import '../mobile.module-846d8b52.js';
|
package/esm/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tawb */
|
|
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-
|
|
19
|
+
} .input-autocomplete__bottomAddonInput_17ohn {
|
|
20
20
|
padding: var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_17ohn {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_17ohn > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var styles = {"bottomAddonInput":"input-
|
|
1
|
+
var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_17ohn","footer":"input-autocomplete__footer_17ohn"};
|
|
2
2
|
require('./mobile.css')
|
|
3
3
|
|
|
4
4
|
export { styles as s };
|
package/index.js
CHANGED
|
@@ -20,7 +20,7 @@ require('@alfalab/core-components-select/mobile');
|
|
|
20
20
|
require('./autocomplete-mobile-field/Component.js');
|
|
21
21
|
require('@alfalab/core-components-form-control/mobile');
|
|
22
22
|
require('@alfalab/core-components-shared');
|
|
23
|
-
require('./mobile.module-
|
|
23
|
+
require('./mobile.module-7c0f2a72.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "
|
|
2
|
-
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "
|
|
1
|
+
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "../Component.mobile";
|
|
2
|
+
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "../Component.modal.mobile";
|
|
3
3
|
export {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Component_mobile = require('
|
|
6
|
-
var Component_modal_mobile = require('
|
|
5
|
+
var Component_mobile = require('../Component.mobile.js');
|
|
6
|
+
var Component_modal_mobile = require('../Component.modal.mobile.js');
|
|
7
7
|
require('tslib');
|
|
8
8
|
require('react');
|
|
9
9
|
require('react-merge-refs');
|
|
@@ -12,11 +12,11 @@ require('lodash.throttle');
|
|
|
12
12
|
require('@alfalab/core-components-button/mobile');
|
|
13
13
|
require('@alfalab/core-components-input');
|
|
14
14
|
require('@alfalab/core-components-select/mobile');
|
|
15
|
-
require('
|
|
15
|
+
require('../autocomplete-mobile-field/Component.js');
|
|
16
16
|
require('@alfalab/core-components-form-control/mobile');
|
|
17
17
|
require('@alfalab/core-components-shared');
|
|
18
18
|
require('@alfalab/hooks');
|
|
19
|
-
require('
|
|
19
|
+
require('../mobile.module-7c0f2a72.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
package/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tawb */
|
|
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-
|
|
19
|
+
} .input-autocomplete__bottomAddonInput_17ohn {
|
|
20
20
|
padding: var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_17ohn {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_17ohn > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var styles = {"bottomAddonInput":"input-
|
|
3
|
+
var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_17ohn","footer":"input-autocomplete__footer_17ohn"};
|
|
4
4
|
require('./mobile.css')
|
|
5
5
|
|
|
6
6
|
exports.styles = styles;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, FC, RefAttributes } from "react";
|
|
4
4
|
import { InputProps } from "@alfalab/core-components-input";
|
|
5
|
-
import { BaseSelectProps } from "
|
|
5
|
+
import { BaseSelectProps } from "@alfalab/core-components-select/shared";
|
|
6
6
|
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент ввода значения
|
|
@@ -33,18 +33,18 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
|
|
|
33
33
|
*/
|
|
34
34
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
35
35
|
};
|
|
36
|
-
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "
|
|
36
|
+
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field" | "showSearch" | "Search" | "searchProps"> & {
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
40
|
-
Input?: React.FC<Omit<import("
|
|
40
|
+
Input?: React.FC<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
41
41
|
breakpoint?: number | undefined;
|
|
42
42
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
43
43
|
} & React.RefAttributes<HTMLInputElement>> | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Пропсы, которые будут прокинуты в инпут
|
|
46
46
|
*/
|
|
47
|
-
inputProps?: (Omit<import("
|
|
47
|
+
inputProps?: (Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
48
48
|
breakpoint?: number | undefined;
|
|
49
49
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
50
50
|
} & Record<string, unknown>) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "
|
|
5
|
-
import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "
|
|
4
|
+
import { ButtonMobileProps } from "@alfalab/core-components-button/mobile";
|
|
5
|
+
import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "@alfalab/core-components-select/shared";
|
|
6
6
|
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Обработчик выбора
|
|
@@ -49,7 +49,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
|
|
|
49
49
|
*/
|
|
50
50
|
Input?: ElementType;
|
|
51
51
|
};
|
|
52
|
-
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "
|
|
52
|
+
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "Checkmark" | "nativeSelect" | "OptionsList" | "showSearch" | "Search" | "searchProps"> & {
|
|
53
53
|
/**
|
|
54
54
|
* Обработчик выбора
|
|
55
55
|
*/
|
|
@@ -6,7 +6,7 @@ import { ButtonMobile } from '@alfalab/core-components-button/modern/mobile';
|
|
|
6
6
|
import { Input } from '@alfalab/core-components-input/modern';
|
|
7
7
|
import { SelectMobile } 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-
|
|
9
|
+
import { s as styles } from './mobile.module-7bf90bfc.js';
|
|
10
10
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
11
11
|
import '@alfalab/core-components-shared/modern';
|
|
12
12
|
import '@alfalab/hooks';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "
|
|
5
|
-
import { SelectModalMobileProps } from "
|
|
6
|
-
import { BaseSelectChangePayload } from "
|
|
4
|
+
import { ButtonMobileProps } from "@alfalab/core-components-button/mobile";
|
|
5
|
+
import { SelectModalMobileProps } from "@alfalab/core-components-select/mobile";
|
|
6
|
+
import { BaseSelectChangePayload } from "@alfalab/core-components-select/shared";
|
|
7
7
|
type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
8
8
|
/**
|
|
9
9
|
* Обработчик выбора
|
|
@@ -46,7 +46,7 @@ type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsLi
|
|
|
46
46
|
*/
|
|
47
47
|
Input?: ElementType;
|
|
48
48
|
};
|
|
49
|
-
declare const InputAutocompleteModalMobile: React.ForwardRefExoticComponent<Omit<SelectModalMobileProps, "onScroll" | "
|
|
49
|
+
declare const InputAutocompleteModalMobile: React.ForwardRefExoticComponent<Omit<SelectModalMobileProps, "onScroll" | "autocomplete" | "valueRenderer" | "Checkmark" | "nativeSelect" | "OptionsList"> & {
|
|
50
50
|
/**
|
|
51
51
|
* Обработчик выбора
|
|
52
52
|
*/
|
|
@@ -6,7 +6,7 @@ import { ButtonMobile } from '@alfalab/core-components-button/modern/mobile';
|
|
|
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-
|
|
9
|
+
import { s as styles } from './mobile.module-7bf90bfc.js';
|
|
10
10
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
11
11
|
import '@alfalab/core-components-shared/modern';
|
|
12
12
|
import '@alfalab/hooks';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ButtonMobileProps } from "
|
|
4
|
-
import { BaseSelectProps } from "
|
|
3
|
+
import { ButtonMobileProps } from "@alfalab/core-components-button/mobile";
|
|
4
|
+
import { BaseSelectProps } from "@alfalab/core-components-select/shared";
|
|
5
5
|
import { InputAutocompleteDesktopProps } from "./Component.desktop";
|
|
6
6
|
import { InputAutocompleteMobileProps } from "./Component.mobile";
|
|
7
7
|
type InputAutocompleteResponsiveProps = InputAutocompleteDesktopProps & InputAutocompleteMobileProps & {
|
|
@@ -12,12 +12,12 @@ type InputAutocompleteResponsiveProps = InputAutocompleteDesktopProps & InputAut
|
|
|
12
12
|
breakpoint?: number;
|
|
13
13
|
};
|
|
14
14
|
type InputAutocompleteMedia = 'desktop' | 'mobile';
|
|
15
|
-
declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "
|
|
16
|
-
Input?: React.FC<Omit<import("
|
|
15
|
+
declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field" | "showSearch" | "Search" | "searchProps"> & {
|
|
16
|
+
Input?: React.FC<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
17
17
|
breakpoint?: number | undefined;
|
|
18
18
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
19
19
|
} & React.RefAttributes<HTMLInputElement>> | undefined;
|
|
20
|
-
inputProps?: (Omit<import("
|
|
20
|
+
inputProps?: (Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
21
21
|
breakpoint?: number | undefined;
|
|
22
22
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
23
23
|
} & Record<string, unknown>) | undefined;
|
|
@@ -26,14 +26,14 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
26
26
|
success?: boolean | undefined;
|
|
27
27
|
onInput?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
28
28
|
updatePopover?: React.MutableRefObject<() => void> | undefined;
|
|
29
|
-
} & Omit<BaseSelectProps, "onScroll" | "
|
|
30
|
-
onChange: (payload: string | import("
|
|
29
|
+
} & Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "Checkmark" | "nativeSelect" | "OptionsList" | "showSearch" | "Search" | "searchProps"> & {
|
|
30
|
+
onChange: (payload: string | import("@alfalab/core-components-select/shared").BaseSelectChangePayload) => void;
|
|
31
31
|
onFilter: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
32
32
|
value?: string | undefined;
|
|
33
33
|
filter?: string | undefined;
|
|
34
34
|
onCancel?: (() => void) | undefined;
|
|
35
35
|
onClearFilter?: (() => void) | undefined;
|
|
36
|
-
bottomSheetProps?: Partial<import("
|
|
36
|
+
bottomSheetProps?: Partial<import("@alfalab/core-components-bottom-sheet").BottomSheetProps> | undefined;
|
|
37
37
|
bottomSheetHeaderAddonsProps?: Record<string, unknown> | undefined;
|
|
38
38
|
continueButtonProps?: ButtonMobileProps | undefined;
|
|
39
39
|
cancelButtonProps?: ButtonMobileProps | undefined;
|
|
@@ -44,5 +44,5 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
44
44
|
* @default 1024
|
|
45
45
|
*/
|
|
46
46
|
breakpoint?: number | undefined;
|
|
47
|
-
} & React.RefAttributes<
|
|
47
|
+
} & React.RefAttributes<HTMLInputElement | HTMLDivElement>>;
|
|
48
48
|
export { InputAutocompleteResponsiveProps, InputAutocompleteMedia, InputAutocompleteResponsive };
|
|
@@ -14,7 +14,7 @@ import '@alfalab/core-components-select/modern/mobile';
|
|
|
14
14
|
import './autocomplete-mobile-field/Component.js';
|
|
15
15
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
16
16
|
import '@alfalab/core-components-shared/modern';
|
|
17
|
-
import './mobile.module-
|
|
17
|
+
import './mobile.module-7bf90bfc.js';
|
|
18
18
|
|
|
19
19
|
const InputAutocompleteResponsive = forwardRef(({ breakpoint = 1024, ...restProps }, ref) => {
|
|
20
20
|
const [view] = useMedia([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { FieldProps } from "
|
|
3
|
+
import { FieldProps } from "@alfalab/core-components-select/shared";
|
|
4
4
|
import { InputAutocompleteDesktopProps } from "../Component.desktop";
|
|
5
5
|
type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
|
|
6
6
|
declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
|
|
@@ -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-
|
|
6
|
+
const styles = {"arrow":"input-autocomplete__arrow_b5doo","error":"input-autocomplete__error_b5doo"};
|
|
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,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ElementType } from "react";
|
|
4
|
-
import { FormControlMobileProps } from "
|
|
5
|
-
import { FieldProps as BaseFieldProps } from "
|
|
4
|
+
import { FormControlMobileProps } from "@alfalab/core-components-form-control/mobile";
|
|
5
|
+
import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
|
|
6
6
|
type FieldProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент FormControl
|
|
@@ -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-
|
|
7
|
+
const styles = {"component":"input-autocomplete__component_16kcs","field":"input-autocomplete__field_16kcs","disabled":"input-autocomplete__disabled_16kcs","placeholder":"input-autocomplete__placeholder_16kcs","contentWrapper":"input-autocomplete__contentWrapper_16kcs","value":"input-autocomplete__value_16kcs","focusVisible":"input-autocomplete__focusVisible_16kcs"};
|
|
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:
|
|
1
|
+
/* hash: 158ng */
|
|
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-
|
|
21
|
+
} .input-autocomplete__component_16kcs {
|
|
22
22
|
width: 100%;
|
|
23
23
|
outline: none;
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__field_16kcs:not(.input-autocomplete__disabled_16kcs) {
|
|
25
25
|
cursor: pointer;
|
|
26
|
-
} .input-
|
|
26
|
+
} .input-autocomplete__disabled_16kcs {
|
|
27
27
|
cursor: var(--disabled-cursor);
|
|
28
|
-
} .input-
|
|
28
|
+
} .input-autocomplete__placeholder_16kcs {
|
|
29
29
|
color: var(--color-light-text-secondary);
|
|
30
|
-
} .input-
|
|
30
|
+
} .input-autocomplete__contentWrapper_16kcs {
|
|
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-
|
|
39
|
+
} .input-autocomplete__value_16kcs {
|
|
40
40
|
overflow: hidden;
|
|
41
41
|
text-overflow: ellipsis;
|
|
42
42
|
text-align: left;
|
|
43
|
-
} .input-
|
|
43
|
+
} .input-autocomplete__focusVisible_16kcs {
|
|
44
44
|
outline: 2px solid var(--focus-color);
|
|
45
45
|
outline-offset: 2px;
|
|
46
46
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from "
|
|
1
|
+
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from "../Component.desktop";
|
|
2
2
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { InputAutocompleteDesktop } from '
|
|
1
|
+
export { InputAutocompleteDesktop } from '../Component.desktop.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-select/modern/shared';
|
|
4
|
-
import '
|
|
4
|
+
import '../autocomplete-field/Component.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '@alfalab/core-components-input/modern/desktop';
|
package/modern/index.js
CHANGED
|
@@ -15,4 +15,4 @@ import '@alfalab/core-components-select/modern/mobile';
|
|
|
15
15
|
import './autocomplete-mobile-field/Component.js';
|
|
16
16
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
17
17
|
import '@alfalab/core-components-shared/modern';
|
|
18
|
-
import './mobile.module-
|
|
18
|
+
import './mobile.module-7bf90bfc.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "
|
|
2
|
-
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "
|
|
1
|
+
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from "../Component.mobile";
|
|
2
|
+
export { InputAutocompleteModalMobile, InputAutocompleteModalMobileProps } from "../Component.modal.mobile";
|
|
3
3
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { InputAutocompleteMobile } from '
|
|
2
|
-
export { InputAutocompleteModalMobile } from '
|
|
1
|
+
export { InputAutocompleteMobile } from '../Component.mobile.js';
|
|
2
|
+
export { InputAutocompleteModalMobile } from '../Component.modal.mobile.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
@@ -7,8 +7,8 @@ import 'lodash.throttle';
|
|
|
7
7
|
import '@alfalab/core-components-button/modern/mobile';
|
|
8
8
|
import '@alfalab/core-components-input/modern';
|
|
9
9
|
import '@alfalab/core-components-select/modern/mobile';
|
|
10
|
-
import '
|
|
10
|
+
import '../autocomplete-mobile-field/Component.js';
|
|
11
11
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
12
12
|
import '@alfalab/core-components-shared/modern';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '
|
|
14
|
+
import '../mobile.module-7bf90bfc.js';
|
package/modern/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tawb */
|
|
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-
|
|
19
|
+
} .input-autocomplete__bottomAddonInput_17ohn {
|
|
20
20
|
padding: var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_17ohn {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_17ohn > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const styles = {"bottomAddonInput":"input-
|
|
1
|
+
const styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_17ohn","footer":"input-autocomplete__footer_17ohn"};
|
|
2
2
|
require('./mobile.css')
|
|
3
3
|
|
|
4
4
|
export { styles as s };
|
package/package.json
CHANGED
|
@@ -1,31 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-input-autocomplete",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./index.js"
|
|
13
|
-
},
|
|
14
|
-
"./mobile": {
|
|
15
|
-
"import": "./esm/mobile.js",
|
|
16
|
-
"require": "./mobile.js"
|
|
17
|
-
},
|
|
18
|
-
"./desktop": {
|
|
19
|
-
"import": "./esm/desktop.js",
|
|
20
|
-
"require": "./desktop.js"
|
|
21
|
-
},
|
|
22
|
-
"./esm": "./esm/index.js",
|
|
23
|
-
"./cssm": "./cssm/index.js",
|
|
24
|
-
"./modern": "./modern/index.js",
|
|
25
|
-
"./esm/*": "./esm/*",
|
|
26
|
-
"./cssm/*": "./cssm/*",
|
|
27
|
-
"./modern/*": "./modern/*"
|
|
28
|
-
},
|
|
29
9
|
"publishConfig": {
|
|
30
10
|
"access": "public",
|
|
31
11
|
"directory": "dist"
|
|
@@ -34,11 +14,11 @@
|
|
|
34
14
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
35
15
|
},
|
|
36
16
|
"dependencies": {
|
|
37
|
-
"@alfalab/core-components-button": "^9.0
|
|
38
|
-
"@alfalab/core-components-form-control": "^10.
|
|
39
|
-
"@alfalab/core-components-input": "^12.
|
|
40
|
-
"@alfalab/core-components-select": "^15.
|
|
41
|
-
"@alfalab/core-components-shared": "^0.
|
|
17
|
+
"@alfalab/core-components-button": "^9.1.0",
|
|
18
|
+
"@alfalab/core-components-form-control": "^10.2.0",
|
|
19
|
+
"@alfalab/core-components-input": "^12.3.0",
|
|
20
|
+
"@alfalab/core-components-select": "^15.3.0",
|
|
21
|
+
"@alfalab/core-components-shared": "^0.7.0",
|
|
42
22
|
"@alfalab/hooks": "^1.13.0",
|
|
43
23
|
"classnames": "^2.3.1",
|
|
44
24
|
"lodash.throttle": "^4.1.1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from '
|
|
1
|
+
export { InputAutocompleteDesktop, InputAutocompleteDesktopProps } from '../Component.desktop';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from '
|
|
1
|
+
export { InputAutocompleteMobile, InputAutocompleteMobileProps } from '../Component.mobile';
|
|
2
2
|
export {
|
|
3
3
|
InputAutocompleteModalMobile,
|
|
4
4
|
InputAutocompleteModalMobileProps,
|
|
5
|
-
} from '
|
|
5
|
+
} from '../Component.modal.mobile';
|