@alfalab/core-components-input-autocomplete 7.4.8 → 7.5.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.
Files changed (57) hide show
  1. package/Component-7ca84eff.d.ts +12 -0
  2. package/Component.d.ts +2 -2
  3. package/Component.js +1 -1
  4. package/Component.mobile.js +2 -2
  5. package/autocomplete-field/Component.js +2 -2
  6. package/autocomplete-field/index.css +2 -2
  7. package/autocomplete-field/index.js +1 -1
  8. package/autocomplete-mobile-field/Component.js +2 -2
  9. package/autocomplete-mobile-field/index.css +8 -8
  10. package/autocomplete-mobile-field/index.js +1 -1
  11. package/cssm/Component-7ca84eff.d.ts +12 -0
  12. package/cssm/Component.d.ts +3 -3
  13. package/cssm/Component.mobile.d.ts +1 -1
  14. package/cssm/getDataTestId-3fe0d3e6.d.ts +2 -0
  15. package/cssm/index-7ca84eff.d.ts +1 -0
  16. package/cssm/index-ebda875c.d.ts +5 -1
  17. package/cssm/mobile.module.css +4 -0
  18. package/esm/Component-7ca84eff.d.ts +12 -0
  19. package/esm/Component.d.ts +2 -2
  20. package/esm/Component.js +1 -1
  21. package/esm/Component.mobile.js +2 -2
  22. package/esm/autocomplete-field/Component.js +2 -2
  23. package/esm/autocomplete-field/index.css +2 -2
  24. package/esm/autocomplete-field/index.js +1 -1
  25. package/esm/autocomplete-mobile-field/Component.js +2 -2
  26. package/esm/autocomplete-mobile-field/index.css +8 -8
  27. package/esm/autocomplete-mobile-field/index.js +1 -1
  28. package/esm/getDataTestId-3fe0d3e6.d.ts +2 -0
  29. package/esm/index-7ca84eff.d.ts +1 -0
  30. package/esm/index-ebda875c.d.ts +5 -1
  31. package/esm/index.js +1 -1
  32. package/esm/mobile.css +7 -3
  33. package/esm/mobile.js +1 -1
  34. package/esm/{tslib.es6-201815d7.d.ts → tslib.es6-260b8f6a.d.ts} +0 -0
  35. package/esm/{tslib.es6-201815d7.js → tslib.es6-260b8f6a.js} +0 -0
  36. package/getDataTestId-3fe0d3e6.d.ts +2 -0
  37. package/index-7ca84eff.d.ts +1 -0
  38. package/index-ebda875c.d.ts +5 -1
  39. package/index.js +1 -1
  40. package/mobile.css +7 -3
  41. package/mobile.js +1 -1
  42. package/modern/Component-7ca84eff.d.ts +12 -0
  43. package/modern/Component.d.ts +3 -3
  44. package/modern/Component.mobile.d.ts +1 -1
  45. package/modern/Component.mobile.js +1 -1
  46. package/modern/autocomplete-field/Component.js +2 -2
  47. package/modern/autocomplete-field/index.css +2 -2
  48. package/modern/autocomplete-mobile-field/Component.js +1 -1
  49. package/modern/autocomplete-mobile-field/index.css +8 -8
  50. package/modern/getDataTestId-3fe0d3e6.d.ts +2 -0
  51. package/modern/index-7ca84eff.d.ts +1 -0
  52. package/modern/index-ebda875c.d.ts +5 -1
  53. package/modern/mobile.css +7 -3
  54. package/package.json +7 -7
  55. package/{tslib.es6-5d901e13.d.ts → tslib.es6-66d5a0c3.d.ts} +0 -0
  56. package/{tslib.es6-5d901e13.js → tslib.es6-66d5a0c3.js} +0 -0
  57. package/CHANGELOG.md +0 -801
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-201815d7.js';
1
+ import '../tslib.es6-260b8f6a.js';
2
2
  import 'classnames';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
@@ -1,10 +1,10 @@
1
- import { _ as __rest, a as __assign } from '../tslib.es6-201815d7.js';
1
+ import { _ as __rest, a as __assign } from '../tslib.es6-260b8f6a.js';
2
2
  import cn from 'classnames';
3
3
  import React, { useState, useRef } from 'react';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { FormControl } from '@alfalab/core-components-form-control/esm';
6
6
 
7
- var styles = {"component":"input-autocomplete__component_kfppz","field":"input-autocomplete__field_kfppz","disabled":"input-autocomplete__disabled_kfppz","placeholder":"input-autocomplete__placeholder_kfppz","contentWrapper":"input-autocomplete__contentWrapper_kfppz","value":"input-autocomplete__value_kfppz","focusVisible":"input-autocomplete__focusVisible_kfppz"};
7
+ var styles = {"component":"input-autocomplete__component_1escn","field":"input-autocomplete__field_1escn","disabled":"input-autocomplete__disabled_1escn","placeholder":"input-autocomplete__placeholder_1escn","contentWrapper":"input-autocomplete__contentWrapper_1escn","value":"input-autocomplete__value_1escn","focusVisible":"input-autocomplete__focusVisible_1escn"};
8
8
  require('./index.css')
9
9
 
10
10
  var AutocompleteMobileField = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 61qle */
1
+ /* hash: y0ohj */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: #546272;
@@ -15,20 +15,20 @@
15
15
  --focus-color: var(--color-light-border-link);
16
16
  --disabled-cursor: not-allowed;
17
17
  }
18
- .input-autocomplete__component_kfppz {
18
+ .input-autocomplete__component_1escn {
19
19
  width: 100%;
20
20
  outline: none;
21
21
  }
22
- .input-autocomplete__field_kfppz:not(.input-autocomplete__disabled_kfppz) {
22
+ .input-autocomplete__field_1escn:not(.input-autocomplete__disabled_1escn) {
23
23
  cursor: pointer;
24
24
  }
25
- .input-autocomplete__disabled_kfppz {
25
+ .input-autocomplete__disabled_1escn {
26
26
  cursor: var(--disabled-cursor);
27
27
  }
28
- .input-autocomplete__placeholder_kfppz {
28
+ .input-autocomplete__placeholder_1escn {
29
29
  color: var(--color-light-text-secondary);
30
30
  }
31
- .input-autocomplete__contentWrapper_kfppz {
31
+ .input-autocomplete__contentWrapper_1escn {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -38,12 +38,12 @@
38
38
  overflow: hidden;
39
39
  width: 100%;
40
40
  }
41
- .input-autocomplete__value_kfppz {
41
+ .input-autocomplete__value_1escn {
42
42
  overflow: hidden;
43
43
  text-overflow: ellipsis;
44
44
  text-align: left;
45
45
  }
46
- .input-autocomplete__focusVisible_kfppz {
46
+ .input-autocomplete__focusVisible_1escn {
47
47
  outline: 2px solid var(--focus-color);
48
48
  outline-offset: 2px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-201815d7.js';
1
+ import '../tslib.es6-260b8f6a.js';
2
2
  import 'classnames';
3
3
  import 'react';
4
4
  import '@alfalab/hooks';
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string | undefined, element?: string | undefined) => string | undefined;
2
+ export { getDataTestId };
@@ -193,3 +193,4 @@ type SwipeableBackdropProps = BackdropProps & {
193
193
  };
194
194
  declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
195
195
  export { BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop };
196
+ export * from "./getDataTestId-3fe0d3e6";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react-transition-group" />
2
2
  /// <reference types="react" />
3
3
  import React from "react";
4
- import { MouseEvent } from "react";
4
+ import { MouseEvent, ReactNode } from "react";
5
5
  import { TransitionProps } from "react-transition-group/Transition";
6
6
  import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
7
7
  type BackdropProps = Partial<TransitionProps> & {
@@ -31,6 +31,10 @@ type BackdropProps = Partial<TransitionProps> & {
31
31
  * Идентификатор для систем автоматизированного тестирования
32
32
  */
33
33
  dataTestId?: string;
34
+ /**
35
+ * Дочерние элементы.
36
+ */
37
+ children?: ReactNode;
34
38
  };
35
39
  declare const Backdrop: React.FC<BackdropProps>;
36
40
  export { BackdropProps, Backdrop };
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-201815d7.js';
1
+ import './tslib.es6-260b8f6a.js';
2
2
  import 'classnames';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: stj1z */
1
+ /* hash: zt1qs */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -9,11 +9,15 @@
9
9
  }
10
10
  :root {
11
11
  --gap-xs: 8px;
12
+ --gap-m: 16px;
12
13
  }
13
- .input-autocomplete__bottomSheetInput_kl0e0 {
14
+ .input-autocomplete__bottomSheetInput_ap8s9 {
14
15
  padding: 0 var(--gap-xs) var(--gap-xs);
15
16
  box-sizing: border-box;
16
17
  }
17
- .input-autocomplete__footer_kl0e0 {
18
+ .input-autocomplete__footer_ap8s9 {
18
19
  display: flex
19
20
  }
21
+ .input-autocomplete__footer_ap8s9 > button + button {
22
+ margin-left: var(--gap-m);
23
+ }
package/esm/mobile.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-201815d7.js';
1
+ import './tslib.es6-260b8f6a.js';
2
2
  import 'classnames';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string | undefined, element?: string | undefined) => string | undefined;
2
+ export { getDataTestId };
@@ -193,3 +193,4 @@ type SwipeableBackdropProps = BackdropProps & {
193
193
  };
194
194
  declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
195
195
  export { BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop };
196
+ export * from "./getDataTestId-3fe0d3e6";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react-transition-group" />
2
2
  /// <reference types="react" />
3
3
  import React from "react";
4
- import { MouseEvent } from "react";
4
+ import { MouseEvent, ReactNode } from "react";
5
5
  import { TransitionProps } from "react-transition-group/Transition";
6
6
  import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
7
7
  type BackdropProps = Partial<TransitionProps> & {
@@ -31,6 +31,10 @@ type BackdropProps = Partial<TransitionProps> & {
31
31
  * Идентификатор для систем автоматизированного тестирования
32
32
  */
33
33
  dataTestId?: string;
34
+ /**
35
+ * Дочерние элементы.
36
+ */
37
+ children?: ReactNode;
34
38
  };
35
39
  declare const Backdrop: React.FC<BackdropProps>;
36
40
  export { BackdropProps, Backdrop };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-5d901e13.js');
5
+ require('./tslib.es6-66d5a0c3.js');
6
6
  require('classnames');
7
7
  require('react');
8
8
  require('react-merge-refs');
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: stj1z */
1
+ /* hash: zt1qs */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -9,11 +9,15 @@
9
9
  }
10
10
  :root {
11
11
  --gap-xs: 8px;
12
+ --gap-m: 16px;
12
13
  }
13
- .input-autocomplete__bottomSheetInput_kl0e0 {
14
+ .input-autocomplete__bottomSheetInput_ap8s9 {
14
15
  padding: 0 var(--gap-xs) var(--gap-xs);
15
16
  box-sizing: border-box;
16
17
  }
17
- .input-autocomplete__footer_kl0e0 {
18
+ .input-autocomplete__footer_ap8s9 {
18
19
  display: flex
19
20
  }
21
+ .input-autocomplete__footer_ap8s9 > button + button {
22
+ margin-left: var(--gap-m);
23
+ }
package/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-5d901e13.js');
5
+ require('./tslib.es6-66d5a0c3.js');
6
6
  require('classnames');
7
7
  require('react');
8
8
  require('react-merge-refs');
@@ -39,6 +39,10 @@ type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
39
39
  * Размер кнопки
40
40
  */
41
41
  size?: IconButtonProps["size"];
42
+ /**
43
+ * Идентификатор для систем автоматизированного тестирования
44
+ */
45
+ dataTestId?: string;
42
46
  /**
43
47
  * Иконка
44
48
  */
@@ -158,6 +162,10 @@ type BackerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
158
162
  * Иконка
159
163
  */
160
164
  icon?: ElementType;
165
+ /**
166
+ * Идентификатор для систем автоматизированного тестирования
167
+ */
168
+ dataTestId?: string;
161
169
  /**
162
170
  * Обработчик нажатия
163
171
  */
@@ -218,6 +226,10 @@ type HeaderProps = {
218
226
  * Фиксирует шапку
219
227
  */
220
228
  sticky?: boolean;
229
+ /**
230
+ * Идентификатор для систем автоматизированного тестирования
231
+ */
232
+ dataTestId?: string;
221
233
  /**
222
234
  * Обработчик нажатия на стрелку назад
223
235
  */
@@ -33,11 +33,11 @@ type InputAutocompleteProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> &
33
33
  */
34
34
  updatePopover?: BaseSelectProps['updatePopover'];
35
35
  };
36
- declare const InputAutocomplete: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "size" | "block" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "fieldClassName" | "error" | "hint" | "multiple" | "preventFlip" | "popperClassName" | "open" | "options" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
36
+ declare const InputAutocomplete: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "onScroll" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "multiple" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
37
37
  /**
38
38
  * Компонент ввода значения
39
39
  */
40
- Input?: React.FC<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width"> & {
40
+ Input?: React.FC<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "disabled" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "pattern" | "list" | "step" | "height" | "name" | "width" | "multiple" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
41
41
  value?: string | undefined;
42
42
  defaultValue?: string | undefined;
43
43
  block?: boolean | undefined;
@@ -72,7 +72,7 @@ declare const InputAutocomplete: React.ForwardRefExoticComponent<Pick<BaseSelect
72
72
  /**
73
73
  * Пропсы, которые будут прокинуты в инпут
74
74
  */
75
- inputProps?: (Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width"> & {
75
+ inputProps?: (Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "disabled" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "pattern" | "list" | "step" | "height" | "name" | "width" | "multiple" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
76
76
  value?: string | undefined;
77
77
  defaultValue?: string | undefined;
78
78
  block?: boolean | undefined;
@@ -46,7 +46,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
46
46
  */
47
47
  cancelButtonProps?: ButtonProps;
48
48
  };
49
- declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "size" | "block" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "disabled" | "name" | "fieldClassName" | "error" | "hint" | "preventFlip" | "popperClassName" | "open" | "options" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "Field" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
49
+ declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "Field" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & {
50
50
  /**
51
51
  * Обработчик выбора
52
52
  */
@@ -9,7 +9,7 @@ import '@alfalab/hooks';
9
9
  import '@alfalab/core-components-form-control/modern';
10
10
  import { AutocompleteMobileField } from './autocomplete-mobile-field/Component.js';
11
11
 
12
- var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_kl0e0","footer":"input-autocomplete__footer_kl0e0"};
12
+ var styles = {"bottomSheetInput":"input-autocomplete__bottomSheetInput_ap8s9","footer":"input-autocomplete__footer_ap8s9"};
13
13
  require('./mobile.css')
14
14
 
15
15
  const SELECTED = [];
@@ -3,14 +3,14 @@ import React, { useRef, useCallback } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import { Input } from '@alfalab/core-components-input/modern';
5
5
 
6
- var styles = {"arrow":"input-autocomplete__arrow_qagir","error":"input-autocomplete__error_qagir"};
6
+ var styles = {"arrow":"input-autocomplete__arrow_geox0","error":"input-autocomplete__error_geox0"};
7
7
  require('./index.css')
8
8
 
9
9
  const AutocompleteField = ({ label, placeholder, size, Arrow, Input: Input$1 = Input, value, error, success, hint, disabled, readOnly, onInput, inputProps = {}, innerProps, }) => {
10
10
  const inputRef = useRef(null);
11
11
  const { onClick, onFocus } = innerProps;
12
12
  const inputDisabled = disabled || readOnly;
13
- const handleClick = useCallback(event => {
13
+ const handleClick = useCallback((event) => {
14
14
  if (onClick)
15
15
  onClick(event);
16
16
  if (inputRef.current) {
@@ -1,4 +1,4 @@
1
- /* hash: 1suht */
2
- .input-autocomplete__arrow_qagir.input-autocomplete__error_qagir ~ * {
1
+ /* hash: 10vjx */
2
+ .input-autocomplete__arrow_geox0.input-autocomplete__error_geox0 ~ * {
3
3
  display: none;
4
4
  }
@@ -3,7 +3,7 @@ import React, { useState, useRef } from 'react';
3
3
  import { useFocus } from '@alfalab/hooks';
4
4
  import { FormControl } from '@alfalab/core-components-form-control/modern';
5
5
 
6
- var styles = {"component":"input-autocomplete__component_kfppz","field":"input-autocomplete__field_kfppz","disabled":"input-autocomplete__disabled_kfppz","placeholder":"input-autocomplete__placeholder_kfppz","contentWrapper":"input-autocomplete__contentWrapper_kfppz","value":"input-autocomplete__value_kfppz","focusVisible":"input-autocomplete__focusVisible_kfppz"};
6
+ var styles = {"component":"input-autocomplete__component_1escn","field":"input-autocomplete__field_1escn","disabled":"input-autocomplete__disabled_1escn","placeholder":"input-autocomplete__placeholder_1escn","contentWrapper":"input-autocomplete__contentWrapper_1escn","value":"input-autocomplete__value_1escn","focusVisible":"input-autocomplete__focusVisible_1escn"};
7
7
  require('./index.css')
8
8
 
9
9
  const AutocompleteMobileField = ({ size = 'm', open, error, hint, disabled, label, placeholder, value, innerProps, dataTestId, fieldClassName, Arrow, valueRenderer, toggleMenu, setSelectedItems, selectedMultiple, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 61qle */
1
+ /* hash: y0ohj */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: #546272;
@@ -15,20 +15,20 @@
15
15
  --focus-color: var(--color-light-border-link);
16
16
  --disabled-cursor: not-allowed;
17
17
  }
18
- .input-autocomplete__component_kfppz {
18
+ .input-autocomplete__component_1escn {
19
19
  width: 100%;
20
20
  outline: none;
21
21
  }
22
- .input-autocomplete__field_kfppz:not(.input-autocomplete__disabled_kfppz) {
22
+ .input-autocomplete__field_1escn:not(.input-autocomplete__disabled_1escn) {
23
23
  cursor: pointer;
24
24
  }
25
- .input-autocomplete__disabled_kfppz {
25
+ .input-autocomplete__disabled_1escn {
26
26
  cursor: var(--disabled-cursor);
27
27
  }
28
- .input-autocomplete__placeholder_kfppz {
28
+ .input-autocomplete__placeholder_1escn {
29
29
  color: var(--color-light-text-secondary);
30
30
  }
31
- .input-autocomplete__contentWrapper_kfppz {
31
+ .input-autocomplete__contentWrapper_1escn {
32
32
  font-size: 16px;
33
33
  line-height: 20px;
34
34
  font-weight: 400;
@@ -38,12 +38,12 @@
38
38
  overflow: hidden;
39
39
  width: 100%;
40
40
  }
41
- .input-autocomplete__value_kfppz {
41
+ .input-autocomplete__value_1escn {
42
42
  overflow: hidden;
43
43
  text-overflow: ellipsis;
44
44
  text-align: left;
45
45
  }
46
- .input-autocomplete__focusVisible_kfppz {
46
+ .input-autocomplete__focusVisible_1escn {
47
47
  outline: 2px solid var(--focus-color);
48
48
  outline-offset: 2px;
49
49
  }
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string | undefined, element?: string | undefined) => string | undefined;
2
+ export { getDataTestId };
@@ -193,3 +193,4 @@ type SwipeableBackdropProps = BackdropProps & {
193
193
  };
194
194
  declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
195
195
  export { BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop };
196
+ export * from "./getDataTestId-3fe0d3e6";
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react-transition-group" />
2
2
  /// <reference types="react" />
3
3
  import React from "react";
4
- import { MouseEvent } from "react";
4
+ import { MouseEvent, ReactNode } from "react";
5
5
  import { TransitionProps } from "react-transition-group/Transition";
6
6
  import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
7
7
  type BackdropProps = Partial<TransitionProps> & {
@@ -31,6 +31,10 @@ type BackdropProps = Partial<TransitionProps> & {
31
31
  * Идентификатор для систем автоматизированного тестирования
32
32
  */
33
33
  dataTestId?: string;
34
+ /**
35
+ * Дочерние элементы.
36
+ */
37
+ children?: ReactNode;
34
38
  };
35
39
  declare const Backdrop: React.FC<BackdropProps>;
36
40
  export { BackdropProps, Backdrop };
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: stj1z */
1
+ /* hash: zt1qs */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -9,11 +9,15 @@
9
9
  }
10
10
  :root {
11
11
  --gap-xs: 8px;
12
+ --gap-m: 16px;
12
13
  }
13
- .input-autocomplete__bottomSheetInput_kl0e0 {
14
+ .input-autocomplete__bottomSheetInput_ap8s9 {
14
15
  padding: 0 var(--gap-xs) var(--gap-xs);
15
16
  box-sizing: border-box;
16
17
  }
17
- .input-autocomplete__footer_kl0e0 {
18
+ .input-autocomplete__footer_ap8s9 {
18
19
  display: flex
19
20
  }
21
+ .input-autocomplete__footer_ap8s9 > button + button {
22
+ margin-left: var(--gap-m);
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-input-autocomplete",
3
- "version": "7.4.8",
3
+ "version": "7.5.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,15 +14,15 @@
14
14
  "directory": "dist"
15
15
  },
16
16
  "peerDependencies": {
17
- "react": "^16.9.0 || ^17.0.1"
17
+ "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-button": "^5.2.3",
21
- "@alfalab/core-components-form-control": "^7.5.3",
22
- "@alfalab/core-components-input": "^8.2.3",
23
- "@alfalab/core-components-select": "^10.12.8",
20
+ "@alfalab/core-components-button": "^5.3.0",
21
+ "@alfalab/core-components-form-control": "^7.6.0",
22
+ "@alfalab/core-components-input": "^9.1.0",
23
+ "@alfalab/core-components-select": "^11.1.1",
24
24
  "@alfalab/hooks": "^1.4.1",
25
- "classnames": "^2.2.6",
25
+ "classnames": "^2.3.1",
26
26
  "lodash.throttle": "^4.1.1",
27
27
  "react-merge-refs": "^1.1.0"
28
28
  },
File without changes