@alfalab/core-components-input-autocomplete 10.2.0 → 10.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{cssm/Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
- package/Component-89f0cb07.d.ts +38 -0
- package/Component.desktop.d.ts +2 -2
- package/{cssm/Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
- package/Component.mobile.d.ts +3 -3
- package/Component.mobile.js +1 -1
- package/{Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/Component.modal.mobile.d.ts +2 -2
- package/Component.modal.mobile.js +1 -1
- package/Component.responsive.d.ts +3 -3
- package/Component.responsive.js +1 -1
- package/autocomplete-field/Component.js +1 -1
- package/autocomplete-field/index.css +2 -2
- package/autocomplete-mobile-field/Component.js +1 -1
- package/autocomplete-mobile-field/index.css +8 -8
- package/{Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
- package/cssm/Component-89f0cb07.d.ts +38 -0
- package/cssm/Component.desktop.d.ts +2 -2
- package/{esm/Component.mobile-ade26e99.d.ts → cssm/Component.mobile-f28cbba0.d.ts} +1 -1
- package/cssm/Component.mobile.d.ts +3 -3
- package/{esm/Component.modal.mobile-dd8ca091.d.ts → cssm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/cssm/Component.modal.mobile.d.ts +2 -2
- package/cssm/Component.responsive.d.ts +3 -3
- package/cssm/desktop-69921c40.d.ts +6 -0
- package/cssm/hook-8abfea97.d.ts +8 -8
- package/cssm/index-c76d6398.d.ts +1 -1
- package/cssm/mobile-89f0cb07.d.ts +6 -0
- package/cssm/mobile-96988a65.d.ts +5 -2
- package/cssm/mobile-f28cbba0.d.ts +5 -0
- package/cssm/mobile.module.css +1 -1
- package/cssm/shared-4cd3936b.d.ts +5 -5
- package/cssm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/cssm/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/cssm/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/desktop-69921c40.d.ts +6 -0
- package/esm/{Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
- package/esm/Component-89f0cb07.d.ts +38 -0
- package/esm/Component.desktop.d.ts +2 -2
- package/{Component.mobile-ade26e99.d.ts → esm/Component.mobile-f28cbba0.d.ts} +1 -1
- package/esm/Component.mobile.d.ts +3 -3
- package/esm/Component.mobile.js +1 -1
- package/{cssm/Component.modal.mobile-dd8ca091.d.ts → esm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/esm/Component.modal.mobile.d.ts +2 -2
- package/esm/Component.modal.mobile.js +1 -1
- package/esm/Component.responsive.d.ts +3 -3
- package/esm/Component.responsive.js +1 -1
- package/esm/autocomplete-field/Component.js +1 -1
- package/esm/autocomplete-field/index.css +2 -2
- package/esm/autocomplete-mobile-field/Component.js +1 -1
- package/esm/autocomplete-mobile-field/index.css +8 -8
- package/esm/desktop-69921c40.d.ts +6 -0
- package/esm/hook-8abfea97.d.ts +8 -8
- package/esm/index-c76d6398.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile-89f0cb07.d.ts +6 -0
- package/esm/mobile-96988a65.d.ts +5 -2
- package/esm/mobile-f28cbba0.d.ts +5 -0
- package/esm/mobile.css +5 -5
- package/esm/mobile.js +1 -1
- package/esm/{mobile.module-db1787d4.js → mobile.module-a36ccaa2.js} +1 -1
- package/esm/shared-4cd3936b.d.ts +5 -5
- package/esm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/esm/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/esm/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/hook-8abfea97.d.ts +8 -8
- package/index-c76d6398.d.ts +1 -1
- package/index.js +1 -1
- package/mobile-89f0cb07.d.ts +6 -0
- package/mobile-96988a65.d.ts +5 -2
- package/mobile-f28cbba0.d.ts +5 -0
- package/mobile.css +5 -5
- package/mobile.js +1 -1
- package/{mobile.module-a683dbb2.js → mobile.module-ef956a02.js} +1 -1
- package/modern/{Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
- package/modern/Component-89f0cb07.d.ts +38 -0
- package/modern/Component.desktop.d.ts +2 -2
- package/modern/{Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
- package/modern/Component.mobile.d.ts +3 -3
- package/modern/Component.mobile.js +1 -1
- package/modern/{Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/modern/Component.modal.mobile.d.ts +2 -2
- package/modern/Component.modal.mobile.js +1 -1
- package/modern/Component.responsive.d.ts +3 -3
- package/modern/Component.responsive.js +1 -1
- package/modern/autocomplete-field/Component.js +1 -1
- package/modern/autocomplete-field/index.css +2 -2
- package/modern/autocomplete-mobile-field/Component.js +1 -1
- package/modern/autocomplete-mobile-field/index.css +8 -8
- package/modern/desktop-69921c40.d.ts +6 -0
- package/modern/hook-8abfea97.d.ts +8 -8
- package/modern/index-c76d6398.d.ts +1 -1
- package/modern/index.js +1 -1
- package/modern/mobile-89f0cb07.d.ts +6 -0
- package/modern/mobile-96988a65.d.ts +5 -2
- package/modern/mobile-f28cbba0.d.ts +5 -0
- package/modern/mobile.css +5 -5
- package/modern/mobile.js +1 -1
- package/modern/{mobile.module-5660f91c.js → mobile.module-ba8a299e.js} +1 -1
- package/modern/shared-4cd3936b.d.ts +5 -5
- package/modern/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/modern/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/modern/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/package.json +6 -6
- package/shared-4cd3936b.d.ts +5 -5
- package/src/Component.desktop.tsx +4 -1
- package/src/Component.mobile.tsx +9 -1
- package/src/mobile.module.css +1 -1
- package/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/Component.mobile-ebda875c.d.ts +0 -6
- package/cssm/Component.mobile-ebda875c.d.ts +0 -6
- package/cssm/desktop-63dec22f.d.ts +0 -6
- package/cssm/mobile-ade26e99.d.ts +0 -5
- package/desktop-63dec22f.d.ts +0 -6
- package/esm/Component.mobile-ebda875c.d.ts +0 -6
- package/esm/desktop-63dec22f.d.ts +0 -6
- package/esm/mobile-ade26e99.d.ts +0 -5
- package/mobile-ade26e99.d.ts +0 -5
- package/modern/Component.mobile-ebda875c.d.ts +0 -6
- package/modern/desktop-63dec22f.d.ts +0 -6
- package/modern/mobile-ade26e99.d.ts +0 -5
- /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
|
|
5
|
+
type SpinnerProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Управление видимостью компонента
|
|
8
|
+
*/
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Размер компонента
|
|
12
|
+
*/
|
|
13
|
+
size?: "xs" | "s" | "m";
|
|
14
|
+
/**
|
|
15
|
+
* Дополнительный класс
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Идентификатор компонента в DOM
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
24
|
+
*/
|
|
25
|
+
dataTestId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Палитра, в контексте которой используется спиннер
|
|
28
|
+
*/
|
|
29
|
+
colors?: "default" | "inverted";
|
|
30
|
+
};
|
|
31
|
+
declare const Spinner: FC<SpinnerProps>;
|
|
32
|
+
/**
|
|
33
|
+
* Минимальное время отображения лоадера - 500мс,
|
|
34
|
+
* чтобы при быстрых ответах от сервера кнопка не «моргала».
|
|
35
|
+
*/
|
|
36
|
+
declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
|
|
37
|
+
declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
38
|
+
export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ChangeEvent, FC, RefAttributes } from "react";
|
|
4
4
|
import { InputProps } from "@alfalab/core-components-input";
|
|
5
5
|
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> & {
|
|
6
|
+
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент ввода значения
|
|
9
9
|
*/
|
|
@@ -33,7 +33,7 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
|
|
|
33
33
|
*/
|
|
34
34
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
35
35
|
};
|
|
36
|
-
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
|
|
36
|
+
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
5
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
6
|
-
import { BaseSelectProps } from "./typings-
|
|
6
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
7
7
|
type AdditionalMobileProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Футер
|
|
@@ -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 "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
5
|
import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
6
|
+
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Обработчик выбора
|
|
9
9
|
*/
|
|
@@ -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" | "valueRenderer" | "autocomplete" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
|
|
52
|
+
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "valueRenderer" | "autocomplete" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
|
|
53
53
|
/**
|
|
54
54
|
* Обработчик выбора
|
|
55
55
|
*/
|
package/esm/Component.mobile.js
CHANGED
|
@@ -7,7 +7,7 @@ import { ButtonMobile } from '@alfalab/core-components-button/esm/mobile';
|
|
|
7
7
|
import { Input } from '@alfalab/core-components-input/esm';
|
|
8
8
|
import { SelectMobile } 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-
|
|
10
|
+
import { s as styles } from './mobile.module-a36ccaa2.js';
|
|
11
11
|
import '@alfalab/core-components-form-control/esm/mobile';
|
|
12
12
|
import '@alfalab/core-components-shared/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
package/{cssm/Component.modal.mobile-dd8ca091.d.ts → esm/Component.modal.mobile-0f4b9bed.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ModalMobile } from "./Component.mobile-f1f15074";
|
|
4
4
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Показывать кнопку очистки
|
|
@@ -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 "./mobile-
|
|
5
|
-
import { SelectModalMobileProps } from "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
|
+
import { SelectModalMobileProps } from "./mobile-f28cbba0";
|
|
6
6
|
import { BaseSelectChangePayload } from "./shared-4cd3936b";
|
|
7
7
|
type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
8
8
|
/**
|
|
@@ -7,7 +7,7 @@ import { ButtonMobile } from '@alfalab/core-components-button/esm/mobile';
|
|
|
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-
|
|
10
|
+
import { s as styles } from './mobile.module-a36ccaa2.js';
|
|
11
11
|
import '@alfalab/core-components-form-control/esm/mobile';
|
|
12
12
|
import '@alfalab/core-components-shared/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ButtonMobileProps } from "./mobile-
|
|
3
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
4
4
|
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
5
5
|
import { InputAutocompleteDesktopProps } from "./Component.desktop";
|
|
6
6
|
import { InputAutocompleteMobileProps } from "./Component.mobile";
|
|
@@ -12,7 +12,7 @@ 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" | "Field"> & {
|
|
15
|
+
declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
|
|
16
16
|
Input?: React.FC<Omit<import("./autocomplete-field/Component").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
17
17
|
breakpoint?: number | undefined;
|
|
18
18
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -26,7 +26,7 @@ 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" | "valueRenderer" | "autocomplete" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
|
|
29
|
+
} & Omit<BaseSelectProps, "onScroll" | "valueRenderer" | "autocomplete" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
|
|
30
30
|
onChange: (payload: string | import("./shared-4cd3936b").BaseSelectChangePayload) => void;
|
|
31
31
|
onFilter: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
32
32
|
value?: string | undefined;
|
|
@@ -15,7 +15,7 @@ import '@alfalab/core-components-select/esm/mobile';
|
|
|
15
15
|
import './autocomplete-mobile-field/Component.js';
|
|
16
16
|
import '@alfalab/core-components-form-control/esm/mobile';
|
|
17
17
|
import '@alfalab/core-components-shared/esm';
|
|
18
|
-
import './mobile.module-
|
|
18
|
+
import './mobile.module-a36ccaa2.js';
|
|
19
19
|
|
|
20
20
|
var InputAutocompleteResponsive = forwardRef(function (_a, ref) {
|
|
21
21
|
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 { InputDesktop } from '@alfalab/core-components-input/esm/desktop';
|
|
6
6
|
|
|
7
|
-
var styles = {"arrow":"input-
|
|
7
|
+
var styles = {"arrow":"input-autocomplete__arrow_st6vv","error":"input-autocomplete__error_st6vv"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var AutocompleteField = function (_a) {
|
|
@@ -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-
|
|
8
|
+
var styles = {"component":"input-autocomplete__component_btb9r","field":"input-autocomplete__field_btb9r","disabled":"input-autocomplete__disabled_btb9r","placeholder":"input-autocomplete__placeholder_btb9r","contentWrapper":"input-autocomplete__contentWrapper_btb9r","value":"input-autocomplete__value_btb9r","focusVisible":"input-autocomplete__focusVisible_btb9r"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var AutocompleteMobileField = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qzst */
|
|
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_btb9r {
|
|
22
22
|
width: 100%;
|
|
23
23
|
outline: none;
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__field_btb9r:not(.input-autocomplete__disabled_btb9r) {
|
|
25
25
|
cursor: pointer;
|
|
26
|
-
} .input-
|
|
26
|
+
} .input-autocomplete__disabled_btb9r {
|
|
27
27
|
cursor: var(--disabled-cursor);
|
|
28
|
-
} .input-
|
|
28
|
+
} .input-autocomplete__placeholder_btb9r {
|
|
29
29
|
color: var(--color-light-text-secondary);
|
|
30
|
-
} .input-
|
|
30
|
+
} .input-autocomplete__contentWrapper_btb9r {
|
|
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_btb9r {
|
|
40
40
|
overflow: hidden;
|
|
41
41
|
text-overflow: ellipsis;
|
|
42
42
|
text-align: left;
|
|
43
|
-
} .input-
|
|
43
|
+
} .input-autocomplete__focusVisible_btb9r {
|
|
44
44
|
outline: 2px solid var(--focus-color);
|
|
45
45
|
outline-offset: 2px;
|
|
46
46
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonDesktop };
|
|
6
|
+
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|
package/esm/hook-8abfea97.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseSelectProps, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
type UseSelectWithApplyProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Список выбранных пунктов
|
|
@@ -44,20 +44,20 @@ type UseSelectWithApplyProps = {
|
|
|
44
44
|
};
|
|
45
45
|
declare const SELECT_ALL_KEY = "select_all";
|
|
46
46
|
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
|
|
47
|
-
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-
|
|
47
|
+
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-0f4b9bed").OptionsListProps & {
|
|
48
48
|
showClear?: boolean | undefined;
|
|
49
49
|
onClose?: (() => void) | undefined; /**
|
|
50
50
|
* Компонент выпадающего меню
|
|
51
51
|
*/
|
|
52
52
|
selectedDraft?: OptionShape[] | undefined;
|
|
53
|
-
OptionsList?: import("react").FC<import("./typings-
|
|
54
|
-
Footer?: import("react").FC<import("./Component-
|
|
53
|
+
OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
54
|
+
Footer?: import("react").FC<import("./Component-0f4b9bed").FooterProps> | undefined;
|
|
55
55
|
Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
|
|
56
56
|
headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
|
|
57
57
|
showHeaderWithSelectAll?: boolean | undefined;
|
|
58
58
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
59
|
optionsListProps: {
|
|
60
|
-
OptionsList: import("react").FC<import("./typings-
|
|
60
|
+
OptionsList: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
61
61
|
showClear: boolean;
|
|
62
62
|
onClear: () => void;
|
|
63
63
|
onApply: () => void;
|
|
@@ -72,11 +72,11 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
72
72
|
};
|
|
73
73
|
allowUnselect: boolean;
|
|
74
74
|
multiple: boolean;
|
|
75
|
-
options: (OptionShape | import("./typings-
|
|
75
|
+
options: (OptionShape | import("./typings-0f4b9bed").GroupShape | {
|
|
76
76
|
key: string;
|
|
77
77
|
content: string;
|
|
78
78
|
})[];
|
|
79
|
-
onChange: (payload: import("./typings-
|
|
79
|
+
onChange: (payload: import("./typings-0f4b9bed").BaseSelectChangePayload) => void;
|
|
80
80
|
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
81
81
|
showSearch: boolean | undefined;
|
|
82
82
|
searchProps: {
|
|
@@ -86,5 +86,5 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
86
86
|
accessor?: ((option: OptionShape) => string) | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
};
|
|
89
|
-
export * from "./Component-
|
|
89
|
+
export * from "./Component-0f4b9bed";
|
|
90
90
|
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
package/esm/index-c76d6398.d.ts
CHANGED
|
@@ -181,5 +181,5 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
181
181
|
colors?: "default" | "inverted" | undefined;
|
|
182
182
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
183
183
|
export { NavigationBar, IconButtonProps, IconButton };
|
|
184
|
-
export * from "./Component-
|
|
184
|
+
export * from "./Component-69921c40";
|
|
185
185
|
export type { NavigationBarProps };
|
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-a36ccaa2.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonMobile };
|
|
6
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
package/esm/mobile-96988a65.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
|
+
type FormControlMobileProps = Omit<BaseFormControlProps, "styles" | "colorStyles">;
|
|
5
|
+
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { SelectMobile } from "./Component.mobile-f28cbba0";
|
|
2
|
+
export { SelectModalMobile } from "./Component.modal.mobile-0f4b9bed";
|
|
3
|
+
export type { SelectMobileProps } from "./Component.mobile-f28cbba0";
|
|
4
|
+
export type { SelectModalMobileProps } from "./Component.modal.mobile-0f4b9bed";
|
|
5
|
+
export {};
|
package/esm/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g0xmq */
|
|
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-
|
|
20
|
-
padding:
|
|
19
|
+
} .input-autocomplete__bottomAddonInput_1pcau {
|
|
20
|
+
padding: var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_1pcau {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_1pcau > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
package/esm/mobile.js
CHANGED
|
@@ -12,4 +12,4 @@ 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 './mobile.module-
|
|
15
|
+
import './mobile.module-a36ccaa2.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var styles = {"bottomAddonInput":"input-
|
|
1
|
+
var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_1pcau","footer":"input-autocomplete__footer_1pcau"};
|
|
2
2
|
require('./mobile.css')
|
|
3
3
|
|
|
4
4
|
export { styles as s };
|
package/esm/shared-4cd3936b.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-
|
|
3
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
5
|
type useSelectWithLoadingProps = {
|
|
6
6
|
loading?: boolean;
|
|
@@ -57,9 +57,9 @@ declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton
|
|
|
57
57
|
reset: () => void;
|
|
58
58
|
};
|
|
59
59
|
export * from "./index-ebda875c";
|
|
60
|
-
export * from "./Component-
|
|
60
|
+
export * from "./Component-0f4b9bed";
|
|
61
61
|
export { useSelectWithLoading, useLazyLoading };
|
|
62
62
|
export * from "./hook-8abfea97";
|
|
63
|
-
export * from "./typings-
|
|
64
|
-
export * from "./utils-
|
|
65
|
-
export type { AdditionalMobileProps } from "./Component.mobile-
|
|
63
|
+
export * from "./typings-0f4b9bed";
|
|
64
|
+
export * from "./utils-0f4b9bed";
|
|
65
|
+
export type { AdditionalMobileProps } from "./Component.mobile-f28cbba0";
|
|
@@ -459,6 +459,10 @@ type OptionsListProps = {
|
|
|
459
459
|
* Обработчик отмены изменений
|
|
460
460
|
*/
|
|
461
461
|
onClear?: () => void;
|
|
462
|
+
/**
|
|
463
|
+
* Указать индекс пункта для hover состояния
|
|
464
|
+
*/
|
|
465
|
+
setHighlightedIndex?: (index: number) => void;
|
|
462
466
|
};
|
|
463
467
|
type OptgroupProps = {
|
|
464
468
|
/**
|
|
@@ -69,6 +69,8 @@ type ComponentProps = {
|
|
|
69
69
|
* Дочерние элементы.
|
|
70
70
|
*/
|
|
71
71
|
children?: ReactNode;
|
|
72
|
+
};
|
|
73
|
+
type PrivateButtonProps = {
|
|
72
74
|
/**
|
|
73
75
|
* Основные стили компонента.
|
|
74
76
|
*/
|
|
@@ -80,16 +82,12 @@ type ComponentProps = {
|
|
|
80
82
|
*/
|
|
81
83
|
colorStylesMap: StyleColors;
|
|
82
84
|
};
|
|
83
|
-
type
|
|
84
|
-
type
|
|
85
|
-
type BaseButtonProps = Partial<AnchorBaseButtonProps | NativeBaseButtonProps>;
|
|
86
|
-
type AnchorButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
87
|
-
type NativeButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
88
|
-
type ButtonProps = Partial<AnchorButtonProps | NativeButtonProps> & {
|
|
85
|
+
type CommonButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
86
|
+
type ButtonProps = CommonButtonProps & {
|
|
89
87
|
/**
|
|
90
88
|
* Контрольная точка, с нее начинается desktop версия
|
|
91
89
|
* @default 1024
|
|
92
90
|
*/
|
|
93
91
|
breakpoint?: number;
|
|
94
92
|
};
|
|
95
|
-
export { StyleColors, ComponentProps,
|
|
93
|
+
export { StyleColors, ComponentProps, PrivateButtonProps, CommonButtonProps, ButtonProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
package/hook-8abfea97.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseSelectProps, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
type UseSelectWithApplyProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Список выбранных пунктов
|
|
@@ -44,20 +44,20 @@ type UseSelectWithApplyProps = {
|
|
|
44
44
|
};
|
|
45
45
|
declare const SELECT_ALL_KEY = "select_all";
|
|
46
46
|
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
|
|
47
|
-
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-
|
|
47
|
+
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-0f4b9bed").OptionsListProps & {
|
|
48
48
|
showClear?: boolean | undefined;
|
|
49
49
|
onClose?: (() => void) | undefined; /**
|
|
50
50
|
* Компонент выпадающего меню
|
|
51
51
|
*/
|
|
52
52
|
selectedDraft?: OptionShape[] | undefined;
|
|
53
|
-
OptionsList?: import("react").FC<import("./typings-
|
|
54
|
-
Footer?: import("react").FC<import("./Component-
|
|
53
|
+
OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
54
|
+
Footer?: import("react").FC<import("./Component-0f4b9bed").FooterProps> | undefined;
|
|
55
55
|
Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
|
|
56
56
|
headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
|
|
57
57
|
showHeaderWithSelectAll?: boolean | undefined;
|
|
58
58
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
59
|
optionsListProps: {
|
|
60
|
-
OptionsList: import("react").FC<import("./typings-
|
|
60
|
+
OptionsList: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
61
61
|
showClear: boolean;
|
|
62
62
|
onClear: () => void;
|
|
63
63
|
onApply: () => void;
|
|
@@ -72,11 +72,11 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
72
72
|
};
|
|
73
73
|
allowUnselect: boolean;
|
|
74
74
|
multiple: boolean;
|
|
75
|
-
options: (OptionShape | import("./typings-
|
|
75
|
+
options: (OptionShape | import("./typings-0f4b9bed").GroupShape | {
|
|
76
76
|
key: string;
|
|
77
77
|
content: string;
|
|
78
78
|
})[];
|
|
79
|
-
onChange: (payload: import("./typings-
|
|
79
|
+
onChange: (payload: import("./typings-0f4b9bed").BaseSelectChangePayload) => void;
|
|
80
80
|
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
81
81
|
showSearch: boolean | undefined;
|
|
82
82
|
searchProps: {
|
|
@@ -86,5 +86,5 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
86
86
|
accessor?: ((option: OptionShape) => string) | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
};
|
|
89
|
-
export * from "./Component-
|
|
89
|
+
export * from "./Component-0f4b9bed";
|
|
90
90
|
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
package/index-c76d6398.d.ts
CHANGED
|
@@ -181,5 +181,5 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
181
181
|
colors?: "default" | "inverted" | undefined;
|
|
182
182
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
183
183
|
export { NavigationBar, IconButtonProps, IconButton };
|
|
184
|
-
export * from "./Component-
|
|
184
|
+
export * from "./Component-69921c40";
|
|
185
185
|
export type { NavigationBarProps };
|
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-ef956a02.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonMobile };
|
|
6
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
package/mobile-96988a65.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
|
+
type FormControlMobileProps = Omit<BaseFormControlProps, "styles" | "colorStyles">;
|
|
5
|
+
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { SelectMobile } from "./Component.mobile-f28cbba0";
|
|
2
|
+
export { SelectModalMobile } from "./Component.modal.mobile-0f4b9bed";
|
|
3
|
+
export type { SelectMobileProps } from "./Component.mobile-f28cbba0";
|
|
4
|
+
export type { SelectModalMobileProps } from "./Component.modal.mobile-0f4b9bed";
|
|
5
|
+
export {};
|
package/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g0xmq */
|
|
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-
|
|
20
|
-
padding:
|
|
19
|
+
} .input-autocomplete__bottomAddonInput_1pcau {
|
|
20
|
+
padding: var(--gap-xs);
|
|
21
21
|
box-sizing: border-box;
|
|
22
|
-
} .input-
|
|
22
|
+
} .input-autocomplete__footer_1pcau {
|
|
23
23
|
display: flex
|
|
24
|
-
} .input-
|
|
24
|
+
} .input-autocomplete__footer_1pcau > button + button {
|
|
25
25
|
margin-left: var(--gap-m);
|
|
26
26
|
}
|
package/mobile.js
CHANGED
|
@@ -16,7 +16,7 @@ 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('./mobile.module-
|
|
19
|
+
require('./mobile.module-ef956a02.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var styles = {"bottomAddonInput":"input-
|
|
3
|
+
var styles = {"bottomAddonInput":"input-autocomplete__bottomAddonInput_1pcau","footer":"input-autocomplete__footer_1pcau"};
|
|
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 { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|