@consta/uikit 5.19.1 → 5.19.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.
Files changed (120) hide show
  1. package/__internal__/src/components/Attachment/Attachment.d.ts +1 -1
  2. package/__internal__/src/components/AutoComplete/types.d.ts +2 -2
  3. package/__internal__/src/components/AutoComplete/useAutoComplete.d.ts +2 -2
  4. package/__internal__/src/components/AutoCompleteCanary/types.d.ts +2 -2
  5. package/__internal__/src/components/AutoCompleteCanary/useAutoComplete.d.ts +2 -2
  6. package/__internal__/src/components/AutoCompleteCanary/useRenderItemDefault.d.ts +2 -2
  7. package/__internal__/src/components/Badge/Badge.d.ts +1 -1
  8. package/__internal__/src/components/BadgeGroup/types.d.ts +3 -3
  9. package/__internal__/src/components/BookmarkTabs/types.d.ts +3 -3
  10. package/__internal__/src/components/CheckboxGroup/types.d.ts +1 -1
  11. package/__internal__/src/components/Chips/ChipsChoice/types.d.ts +2 -2
  12. package/__internal__/src/components/Chips/ChipsItem/ChipsItem.d.ts +1 -1
  13. package/__internal__/src/components/Chips/types.d.ts +3 -3
  14. package/__internal__/src/components/Collapse/types.d.ts +1 -1
  15. package/__internal__/src/components/CollapseGroup/helpers.d.ts +2 -2
  16. package/__internal__/src/components/Combobox/Combobox.d.ts +1 -1
  17. package/__internal__/src/components/Combobox/helpers.d.ts +2 -2
  18. package/__internal__/src/components/ContextMenu/ContextMenuLevels/useSize.d.ts +1 -1
  19. package/__internal__/src/components/ContextMenu/types.d.ts +4 -4
  20. package/__internal__/src/components/DatePicker/DatePickerAdditionalControls/DatePickerAdditionalControls.d.ts +1 -1
  21. package/__internal__/src/components/DatePicker/DatePickerDropdown/DatePickerDropdown.d.ts +4 -4
  22. package/__internal__/src/components/DatePicker/DatePickerFieldTypeDate/DatePickerFieldTypeDate.d.ts +4 -4
  23. package/__internal__/src/components/DatePicker/DatePickerFieldTypeDate/helpers.d.ts +2 -2
  24. package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateRange/helpers.d.ts +1 -1
  25. package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateTime/DatePickerFieldTypeDateTime.d.ts +4 -4
  26. package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateTime/helpers.d.ts +2 -2
  27. package/__internal__/src/components/DatePicker/DatePickerFieldTypeMonth/DatePickerFieldTypeMonth.d.ts +4 -4
  28. package/__internal__/src/components/DatePicker/DatePickerFieldTypeMonth/helpers.d.ts +2 -2
  29. package/__internal__/src/components/DatePicker/DatePickerFieldTypeTime/DatePickerFieldTypeTime.d.ts +4 -4
  30. package/__internal__/src/components/DatePicker/DatePickerFieldTypeTime/helpers.d.ts +2 -2
  31. package/__internal__/src/components/DatePicker/DatePickerFieldTypeYear/DatePickerFieldTypeYear.d.ts +4 -4
  32. package/__internal__/src/components/DatePicker/DatePickerFieldTypeYear/helpers.d.ts +2 -2
  33. package/__internal__/src/components/DatePicker/helpers.d.ts +2 -2
  34. package/__internal__/src/components/DatePicker/useCalendarVisible.d.ts +1 -1
  35. package/__internal__/src/components/DateTime/helpers/useCurrentVisibleDate.d.ts +1 -1
  36. package/__internal__/src/components/DragNDropFieldCanary/types.d.ts +1 -1
  37. package/__internal__/src/components/FieldComponents/FieldArrayValueInlineControl/types.d.ts +1 -1
  38. package/__internal__/src/components/FieldComponents/FieldArrayValueItem/FieldArrayValueItem.d.ts +1 -1
  39. package/__internal__/src/components/FieldComponents/FieldButton/FieldButton.d.ts +1 -1
  40. package/__internal__/src/components/FieldComponents/FieldCaption/FieldCaption.d.ts +1 -1
  41. package/__internal__/src/components/FieldComponents/FieldClearButton/FieldClearButton.d.ts +2 -2
  42. package/__internal__/src/components/FieldComponents/FieldControlLayout/types.d.ts +1 -1
  43. package/__internal__/src/components/FieldComponents/FieldCounter/FieldCounter.d.ts +1 -1
  44. package/__internal__/src/components/FieldComponents/FieldInput/FieldInput.d.ts +1 -1
  45. package/__internal__/src/components/FieldComponents/FieldLabel/FieldLabel.d.ts +1 -1
  46. package/__internal__/src/components/FieldComponents/FieldLabel/helpers.d.ts +1 -1
  47. package/__internal__/src/components/FieldComponents/FieldToggleVisiblePasswordButton/FieldToggleVisiblePasswordButton.d.ts +2 -2
  48. package/__internal__/src/components/FieldComponents/FieldWrapper/FieldWrapper.d.ts +1 -1
  49. package/__internal__/src/components/FieldComponents/FieldWrapper/helpers.d.ts +2 -2
  50. package/__internal__/src/components/File/File.d.ts +1 -1
  51. package/__internal__/src/components/FileField/FileField.d.ts +1 -1
  52. package/__internal__/src/components/Grid/Grid.d.ts +1 -1
  53. package/__internal__/src/components/Grid/GridItem/GridItem.d.ts +1 -1
  54. package/__internal__/src/components/GridDeprecated/GridDeprecated.d.ts +1 -1
  55. package/__internal__/src/components/ListCanary/ListBox/mapVerticalSpace.d.ts +1 -1
  56. package/__internal__/src/components/ListCanary/ListLoader/ListLoader.d.ts +1 -1
  57. package/__internal__/src/components/ListCanary/maps.d.ts +1 -1
  58. package/__internal__/src/components/ListCanary/renderHeader.d.ts +1 -1
  59. package/__internal__/src/components/ListCanary/types.d.ts +5 -5
  60. package/__internal__/src/components/Modal/Modal.d.ts +1 -1
  61. package/__internal__/src/components/Pagination/types.d.ts +3 -3
  62. package/__internal__/src/components/Picture/types.d.ts +1 -1
  63. package/__internal__/src/components/Popover/Popover.d.ts +2 -2
  64. package/__internal__/src/components/Responses/Responses.d.ts +2 -2
  65. package/__internal__/src/components/Responses/createResponses.d.ts +1 -1
  66. package/__internal__/src/components/Responses403/index.d.ts +1 -1
  67. package/__internal__/src/components/Responses404/index.d.ts +1 -1
  68. package/__internal__/src/components/Responses500/index.d.ts +1 -1
  69. package/__internal__/src/components/Responses503/index.d.ts +1 -1
  70. package/__internal__/src/components/ResponsesConnectionError/index.d.ts +1 -1
  71. package/__internal__/src/components/ResponsesDeleted/index.d.ts +1 -1
  72. package/__internal__/src/components/ResponsesEmptyBox/index.d.ts +1 -1
  73. package/__internal__/src/components/ResponsesEmptyPockets/index.d.ts +1 -1
  74. package/__internal__/src/components/ResponsesNothingFound/index.d.ts +1 -1
  75. package/__internal__/src/components/ResponsesSuccess/index.d.ts +1 -1
  76. package/__internal__/src/components/Select/Select.d.ts +1 -1
  77. package/__internal__/src/components/SelectCanary/SelectControlLayout/SelectControlLayout.d.ts +1 -1
  78. package/__internal__/src/components/SelectCanary/SelectCreateButton/SelectCreateButton.d.ts +2 -2
  79. package/__internal__/src/components/SelectCanary/SelectDropdown/SelectDropdown.d.ts +4 -4
  80. package/__internal__/src/components/SelectCanary/SelectGroupLabel/SelectGroupLabel.d.ts +2 -2
  81. package/__internal__/src/components/SelectCanary/SelectInput/SelectInput.d.ts +1 -1
  82. package/__internal__/src/components/SelectCanary/SelectItem/SelectItem.d.ts +3 -3
  83. package/__internal__/src/components/SelectCanary/SelectItemAll/SelectItemAll.d.ts +2 -2
  84. package/__internal__/src/components/SelectCanary/SelectPopover/SelectPopover.d.ts +3 -3
  85. package/__internal__/src/components/SelectCanary/defaultProps.d.ts +1 -1
  86. package/__internal__/src/components/SelectCanary/helpers.d.ts +4 -4
  87. package/__internal__/src/components/SelectCanary/types.d.ts +2 -2
  88. package/__internal__/src/components/SelectCanary/useSelect/useSelect.d.ts +1 -1
  89. package/__internal__/src/components/SelectComponents/SelectContainer/SelectContainer.d.ts +1 -1
  90. package/__internal__/src/components/SelectComponents/SelectCreateButton/SelectCreateButton.d.ts +1 -1
  91. package/__internal__/src/components/SelectComponents/SelectDropdown/SelectDropdown.d.ts +3 -3
  92. package/__internal__/src/components/SelectComponents/SelectGroupLabel/SelectGroupLabel.d.ts +1 -1
  93. package/__internal__/src/components/SelectComponents/SelectItem/SelectItem.d.ts +2 -2
  94. package/__internal__/src/components/SelectComponents/SelectItemAll/SelectItemAll.d.ts +1 -1
  95. package/__internal__/src/components/SelectComponents/useSelect/useSelect.d.ts +2 -2
  96. package/__internal__/src/components/SelectComponentsDeprecated/SelectCreateButton/SelectCreateButton.d.ts +1 -1
  97. package/__internal__/src/components/SelectComponentsDeprecated/SelectDropdown/SelectDropdown.d.ts +1 -1
  98. package/__internal__/src/components/Sidebar/Sidebar.d.ts +2 -2
  99. package/__internal__/src/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +1 -1
  100. package/__internal__/src/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +1 -1
  101. package/__internal__/src/components/Skeleton/SkeletonText/SkeletonText.d.ts +2 -2
  102. package/__internal__/src/components/Spoiler/SpoilerButton/SpoilerButton.d.ts +1 -1
  103. package/__internal__/src/components/Spoiler/types.d.ts +2 -2
  104. package/__internal__/src/components/Switch/types.d.ts +1 -1
  105. package/__internal__/src/components/Tabs/types.d.ts +2 -2
  106. package/__internal__/src/components/Tag/Tag.d.ts +1 -1
  107. package/__internal__/src/components/TextFieldCanary/types.d.ts +3 -3
  108. package/__internal__/src/components/ThemeToggler/types.d.ts +3 -3
  109. package/__internal__/src/components/Tooltip/types.d.ts +2 -2
  110. package/__internal__/src/components/UserSelect/UserSelect.d.ts +1 -1
  111. package/__internal__/src/components/UserSelectDeprecated/UserSelectItem/UserSelectItem.d.ts +1 -1
  112. package/__internal__/src/hocs/withTooltip/withTooltip.d.ts +1 -1
  113. package/__internal__/src/hooks/useComponentBreakpointsDeprecated/index.d.ts +1 -1
  114. package/__internal__/src/hooks/useComponentBreakpointsDeprecated/useComponentBreakpointsDeprecated.d.ts +1 -1
  115. package/__internal__/src/hooks/useComponentSize/getElementSize.d.ts +1 -1
  116. package/__internal__/src/hooks/useGlobalKeys/useGlobalKeys.d.ts +1 -1
  117. package/__internal__/src/hooks/useKeys/useKeys.d.ts +1 -1
  118. package/__internal__/src/hooks/useKeysRef/useKeysRef.d.ts +1 -1
  119. package/__internal__/src/utils/date/isDisableDate.d.ts +1 -1
  120. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import './Attachment.css';
2
2
  import { AttachmentProps } from './types';
3
3
  declare const cnAttachment: import("@bem-react/classname").ClassNameFormatter;
4
- declare const Attachment: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<AttachmentProps, "div">;
4
+ declare const Attachment: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<AttachmentProps, "div">;
5
5
  export { Attachment, cnAttachment };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { PropRenderItem } from '##/components/Select';
3
- import { TextFieldProps } from '##/components/TextField';
2
+ import { PropRenderItem } from '../Select';
3
+ import { TextFieldProps } from '../TextField';
4
4
  export type AutoCompleteItemDefault = {
5
5
  id: string | number;
6
6
  label: string;
@@ -39,12 +39,12 @@ type GetOptionPropsResult = {
39
39
  };
40
40
  export declare function useAutoComplete<ITEM, GROUP>(params: UseAutoCompleteProps<ITEM, GROUP>): {
41
41
  isOpen: boolean;
42
- visibleItems: import("##/utils/getGroups").GetGroupsResult<ITEM, GROUP>;
42
+ visibleItems: import("../../utils/getGroups").GetGroupsResult<ITEM, GROUP>;
43
43
  getOptionProps: ({ index, item, }: OptionProps<ITEM>) => GetOptionPropsResult;
44
44
  handleInputFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
45
45
  handleInputBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
46
46
  inputRef: React.RefObject<HTMLInputElement>;
47
- getKeyProps: (rest?: import("##/hooks/useKeysDeprecated").KeyProps) => import("##/hooks/useKeysDeprecated").KeyProps;
47
+ getKeyProps: (rest?: import("../../hooks/useKeysDeprecated").KeyProps) => import("../../hooks/useKeysDeprecated").KeyProps;
48
48
  hasItems: boolean;
49
49
  optionsRefs: React.RefObject<HTMLDivElement>[];
50
50
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { PropRenderItem } from '##/components/Select';
3
- import { TextFieldProps } from '##/components/TextFieldCanary';
2
+ import { PropRenderItem } from '../Select';
3
+ import { TextFieldProps } from '../TextFieldCanary';
4
4
  export type AutoCompleteItemDefault = {
5
5
  id: string | number;
6
6
  label: string;
@@ -35,11 +35,11 @@ type GetOptionPropsResult = {
35
35
  };
36
36
  export declare function useAutoComplete<ITEM, GROUP>(params: UseAutoCompleteProps<ITEM, GROUP>): {
37
37
  isOpen: boolean;
38
- visibleItems: import("##/utils/getGroups").GetGroupsResult<ITEM, GROUP>;
38
+ visibleItems: import("../../utils/getGroups").GetGroupsResult<ITEM, GROUP>;
39
39
  getOptionProps: ({ index, item, }: OptionProps<ITEM>) => GetOptionPropsResult;
40
40
  handleInputFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
41
41
  inputRef: React.RefObject<HTMLInputElement>;
42
- getKeyProps: (rest?: import("##/hooks/useKeysDeprecated").KeyProps) => import("##/hooks/useKeysDeprecated").KeyProps;
42
+ getKeyProps: (rest?: import("../../hooks/useKeysDeprecated").KeyProps) => import("../../hooks/useKeysDeprecated").KeyProps;
43
43
  hasItems: boolean;
44
44
  optionsRefs: React.RefObject<HTMLDivElement>[];
45
45
  handleChange: AutoCompletePropOnChange<"text">;
@@ -1,4 +1,4 @@
1
- import { FieldPropSize } from '##/components/FieldComponents';
2
- import { PropRenderItem } from '##/components/Select';
1
+ import { FieldPropSize } from '../FieldComponents';
2
+ import { PropRenderItem } from '../Select';
3
3
  import { AutoCompleteItemDefault, AutoCompletePropDropdownForm, AutoCompletePropGetItemLabel } from './types';
4
4
  export declare const useRenderItemDefault: (getItemLabel: AutoCompletePropGetItemLabel<AutoCompleteItemDefault>, disabled: boolean, size: FieldPropSize, dropdownForm: AutoCompletePropDropdownForm) => PropRenderItem<AutoCompleteItemDefault>;
@@ -1,3 +1,3 @@
1
1
  import './Badge.css';
2
2
  import { BadgeProps } from './types';
3
- export declare const Badge: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<BadgeProps, "div">;
3
+ export declare const Badge: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<BadgeProps, "div">;
@@ -1,8 +1,8 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { BadgePropForm, BadgePropSize, BadgePropStatus, BadgePropView } from '##/components/Badge';
4
- import { AsAttributes, AsTags } from '##/utils/types/AsTags';
5
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { BadgePropForm, BadgePropSize, BadgePropStatus, BadgePropView } from '../Badge';
4
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
5
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
6
6
  export type BadgeGroupDefaultItem = {
7
7
  key: string | number;
8
8
  status?: BadgePropStatus;
@@ -1,8 +1,8 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { AsAttributes, AsTags } from '##/utils/types/AsTags';
4
- import { PropsWithAsAttributes } from '##/utils/types/PropsWithAsAttributes';
5
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
4
+ import { PropsWithAsAttributes } from '../../utils/types/PropsWithAsAttributes';
5
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
6
6
  export declare const bookmarkTabsPropSize: readonly ["m", "s"];
7
7
  export type BookmarkTabsPropSize = typeof bookmarkTabsPropSize[number];
8
8
  export declare const bookmarkTabsPropSizeDefault: BookmarkTabsPropSize;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
3
3
  type CheckboxGroupPropAttributes = Omit<JSX.IntrinsicElements['label'], 'ref' | 'onChange' | 'onFocus' | 'children' | 'onBlur'>;
4
4
  export type CheckboxGroupDefaultItem = {
5
5
  key?: string | number;
@@ -1,5 +1,5 @@
1
- import { ChipsItemProps, ChipsPropActiveView, ChipsPropGetItemIconLeft, ChipsPropGetItemLabel, ChipsPropGetItemRef, ChipsPropGetItemStatus, ChipsPropSize } from '##/components/Chips';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
1
+ import { ChipsItemProps, ChipsPropActiveView, ChipsPropGetItemIconLeft, ChipsPropGetItemLabel, ChipsPropGetItemRef, ChipsPropGetItemStatus, ChipsPropSize } from '..';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  export type ChipsChoiceDefaultItem = Omit<ChipsItemProps, 'size' | 'activeView' | 'interactive' | 'onRightIconClick' | 'iconRight' | 'as'> & {
4
4
  key: string;
5
5
  };
@@ -1,3 +1,3 @@
1
1
  import './ChipsItem.css';
2
2
  import { ChipsItemProps } from '../types';
3
- export declare const ChipsItem: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<ChipsItemProps, "span">;
3
+ export declare const ChipsItem: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<ChipsItemProps, "span">;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
- import { BadgePropStatus } from '##/components/Badge';
3
- import { AsAttributes, AsTags } from '##/utils/types/AsTags';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { BadgePropStatus } from '../Badge';
3
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export declare const chipsPropSize: readonly ["xs", "s", "m", "l"];
6
6
  export type ChipsPropSize = typeof chipsPropSize[number];
7
7
  export declare const chipsPropSizeDefault: ChipsPropSize;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent, IconProps } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributes, PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes, PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
4
4
  export declare const collapsePropSize: readonly ["m", "l", "s", "xs", "2xs"];
5
5
  export type CollapsePropSize = typeof collapsePropSize[number];
6
6
  export declare const collapsePropSizeDefault: "m";
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { CollapseIconPropDirection, CollapsePropForm, CollapsePropHorizontalSpace, CollapsePropIconView, CollapsePropSize, CollapsePropView } from '##/components/Collapse';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { CollapseIconPropDirection, CollapsePropForm, CollapsePropHorizontalSpace, CollapsePropIconView, CollapsePropSize, CollapsePropView } from '../Collapse';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export type DefaultItem = {
6
6
  label: React.ReactNode;
7
7
  content: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import '##/components/SelectComponents/Select.css';
1
+ import '../SelectComponents/Select.css';
2
2
  import { ComboboxComponent } from './helpers';
3
3
  export declare const COMPONENT_NAME: "Combobox";
4
4
  export declare const Combobox: ComboboxComponent;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { PropForm, PropSize, PropStatus, PropView, RenderItemProps } from '##/components/SelectComponents/types';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropForm, PropSize, PropStatus, PropView, RenderItemProps } from '../SelectComponents/types';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export type ComboboxItemDefault = {
6
6
  label: string;
7
7
  id: string | number;
@@ -1,2 +1,2 @@
1
- import { ComponentSize } from '##/hooks/useComponentSize';
1
+ import { ComponentSize } from '../../../hooks/useComponentSize';
2
2
  export declare const useSize: (refs: React.RefObject<HTMLDivElement>[], setFn: React.Dispatch<React.SetStateAction<ComponentSize>>, isActive?: boolean) => void;
@@ -1,8 +1,8 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
- import { ListPropForm } from '##/components/ListCanary';
3
- import { ComponentSize } from '##/hooks/useComponentSize';
4
- import { Animate } from '##/mixs/MixPopoverAnimate';
5
- import { AsAttributes, AsTags } from '##/utils/types/AsTags';
2
+ import { ListPropForm } from '../ListCanary';
3
+ import { ComponentSize } from '../../hooks/useComponentSize';
4
+ import { Animate } from '../../mixs/MixPopoverAnimate';
5
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
6
6
  import { ClickOutsideHandler } from '../../hooks/useClickOutside/useClickOutside';
7
7
  import { PropsWithAsAttributes } from '../../utils/types/PropsWithAsAttributes';
8
8
  import { PropsWithHTMLAttributes, PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
@@ -1,6 +1,6 @@
1
1
  import './DatePickerAdditionalControls.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { DatePickerAdditionalControlRenderProp, DatePickerPropDateTimeView, DatePickerPropType } from '../types';
5
5
  type Props = PropsWithHTMLAttributes<{
6
6
  renderAdditionalControls?: DatePickerAdditionalControlRenderProp;
@@ -1,9 +1,9 @@
1
1
  import './DatePickerDropdown.css';
2
2
  import React from 'react';
3
- import { DateTimePropOnChange, DateTimePropType } from '##/components/DateTime';
4
- import { DateTimePropDisableDates } from '##/components/DateTime/helpers/types';
5
- import { DateRange } from '##/utils/types/Date';
6
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { DateTimePropOnChange, DateTimePropType } from '../../DateTime';
4
+ import { DateTimePropDisableDates } from '../../DateTime/helpers/types';
5
+ import { DateRange } from '../../../utils/types/Date';
6
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
7
7
  import { DatePickerAdditionalControlRenderProp, DatePickerPropDateTimeView, DatePickerPropDropdownForm } from '../types';
8
8
  export type DatePickerDropdownPropOnChange = DateTimePropOnChange;
9
9
  export type DatePickerDropdownProps = PropsWithHTMLAttributesAndRef<{
@@ -9,10 +9,10 @@ export declare const DatePickerFieldTypeDate: React.ForwardRefExoticComponent<{
9
9
  id?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- size?: import("##/components/TextField").TextFieldPropSize;
13
- view?: import("##/components/TextField").TextFieldPropView;
14
- form?: import("##/components/TextField").TextFieldPropForm;
15
- status?: import("##/components/TextField").TextFieldPropStatus;
12
+ size?: import("../../TextField").TextFieldPropSize;
13
+ view?: import("../../TextField").TextFieldPropView;
14
+ form?: import("../../TextField").TextFieldPropForm;
15
+ status?: import("../../TextField").TextFieldPropStatus;
16
16
  onFocus?: React.FocusEventHandler<HTMLElement>;
17
17
  onBlur?: React.FocusEventHandler<HTMLElement>;
18
18
  autoFocus?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
- import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '##/components/TextField';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '../../TextField';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { DatePickerPropOnError } from '../types';
5
5
  type DatePickerFieldTypeDatePropOnChange = (value: Date | null, props: {
6
6
  e: Event;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { DateRange } from '##/utils/types/Date';
3
+ import { DateRange } from '../../../utils/types/Date';
4
4
  import { DatePickerFieldTypeDateProps } from '../DatePickerFieldTypeDate/helpers';
5
5
  type DatePickerFieldTypeDateRangePropOnChange = (value: DateRange | null, props: {
6
6
  e: Event;
@@ -9,10 +9,10 @@ export declare const DatePickerFieldTypeDateTime: React.ForwardRefExoticComponen
9
9
  id?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- size?: import("##/components/TextField").TextFieldPropSize;
13
- view?: import("##/components/TextField").TextFieldPropView;
14
- form?: import("##/components/TextField").TextFieldPropForm;
15
- status?: import("##/components/TextField").TextFieldPropStatus;
12
+ size?: import("../../TextField").TextFieldPropSize;
13
+ view?: import("../../TextField").TextFieldPropView;
14
+ form?: import("../../TextField").TextFieldPropForm;
15
+ status?: import("../../TextField").TextFieldPropStatus;
16
16
  onFocus?: React.FocusEventHandler<HTMLElement>;
17
17
  onBlur?: React.FocusEventHandler<HTMLElement>;
18
18
  autoFocus?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '##/components/TextField/TextField';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '../../TextField/TextField';
4
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  import { DatePickerPropOnError } from '../types';
6
6
  type DatePickerFieldTypeDateTimePropOnChange = (value: Date | null, props: {
7
7
  e: Event;
@@ -9,10 +9,10 @@ export declare const DatePickerFieldTypeMonth: React.ForwardRefExoticComponent<{
9
9
  id?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- size?: import("##/components/TextField").TextFieldPropSize;
13
- view?: import("##/components/TextField").TextFieldPropView;
14
- form?: import("##/components/TextField").TextFieldPropForm;
15
- status?: import("##/components/TextField").TextFieldPropStatus;
12
+ size?: import("../../TextField").TextFieldPropSize;
13
+ view?: import("../../TextField").TextFieldPropView;
14
+ form?: import("../../TextField").TextFieldPropForm;
15
+ status?: import("../../TextField").TextFieldPropStatus;
16
16
  onFocus?: React.FocusEventHandler<HTMLElement>;
17
17
  onBlur?: React.FocusEventHandler<HTMLElement>;
18
18
  autoFocus?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
- import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '##/components/TextField';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '../../TextField';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { DatePickerPropOnError } from '../types';
5
5
  type DatePickerFieldTypeMonthPropOnChange = (value: Date | null, props: {
6
6
  e: Event;
@@ -9,10 +9,10 @@ export declare const DatePickerFieldTypeTime: React.ForwardRefExoticComponent<{
9
9
  id?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- size?: import("##/components/TextField").TextFieldPropSize;
13
- view?: import("##/components/TextField").TextFieldPropView;
14
- form?: import("##/components/TextField").TextFieldPropForm;
15
- status?: import("##/components/TextField").TextFieldPropStatus;
12
+ size?: import("../../TextField").TextFieldPropSize;
13
+ view?: import("../../TextField").TextFieldPropView;
14
+ form?: import("../../TextField").TextFieldPropForm;
15
+ status?: import("../../TextField").TextFieldPropStatus;
16
16
  onFocus?: React.FocusEventHandler<HTMLElement>;
17
17
  onBlur?: React.FocusEventHandler<HTMLElement>;
18
18
  autoFocus?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '##/components/TextField';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '../../TextField';
4
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  import { DatePickerPropOnError } from '../types';
6
6
  type DatePickerFieldTypeTimePropOnChange = (value: Date | null, props: {
7
7
  e: Event;
@@ -9,10 +9,10 @@ export declare const DatePickerFieldTypeYear: React.ForwardRefExoticComponent<{
9
9
  id?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- size?: import("##/components/TextField").TextFieldPropSize;
13
- view?: import("##/components/TextField").TextFieldPropView;
14
- form?: import("##/components/TextField").TextFieldPropForm;
15
- status?: import("##/components/TextField").TextFieldPropStatus;
12
+ size?: import("../../TextField").TextFieldPropSize;
13
+ view?: import("../../TextField").TextFieldPropView;
14
+ form?: import("../../TextField").TextFieldPropForm;
15
+ status?: import("../../TextField").TextFieldPropStatus;
16
16
  onFocus?: React.FocusEventHandler<HTMLElement>;
17
17
  onBlur?: React.FocusEventHandler<HTMLElement>;
18
18
  autoFocus?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
- import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '##/components/TextField';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { TextFieldPropForm, TextFieldPropSize, TextFieldPropStatus, TextFieldPropView } from '../../TextField';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { DatePickerPropOnError } from '../types';
5
5
  type DatePickerFieldTypeYearPropOnChange = (value: Date | null, props: {
6
6
  e: Event;
@@ -1,6 +1,6 @@
1
1
  import { useIMask } from 'react-imask';
2
- import { TextFieldPropForm } from '##/components/TextField';
3
- import { DateRange } from '##/utils/types/Date';
2
+ import { TextFieldPropForm } from '../TextField';
3
+ import { DateRange } from '../../utils/types/Date';
4
4
  import { DatePickerPropType } from './types';
5
5
  export declare const datePickerPropSeparatorDefault = ".";
6
6
  export declare const datePickerPropFormatTypeDate = "dd.MM.yyyy";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Flag } from '##/hooks/useFlag';
2
+ import { Flag } from '../../hooks/useFlag';
3
3
  type UseCalendarVisibleParams = {
4
4
  onDropdownOpen?: (isOpen: boolean) => void;
5
5
  dropdownOpen?: boolean;
@@ -1,4 +1,4 @@
1
- import { DateRange } from '##/utils/types/Date';
1
+ import { DateRange } from '../../../utils/types/Date';
2
2
  type GetCurrentVisibleDateProps = {
3
3
  currentVisibleDate: Date | undefined;
4
4
  minDate: Date | undefined;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import { Accept, DropEvent, FileRejection, FileWithPath } from 'react-dropzone';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
4
4
  export type DragNDropFieldChildrenRenderFn = (props: {
5
5
  openFileDialog: () => void;
6
6
  isFocused: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  import { FieldPropSize } from '../types';
4
4
  export type FieldArrayValueInlineControlProps<ITEM> = PropsWithHTMLAttributesAndRef<{
5
5
  children?: never;
@@ -1,6 +1,6 @@
1
1
  import './FieldArrayValueItem.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  type FieldArrayValueItemProps = PropsWithHTMLAttributesAndRef<{
5
5
  label: string;
6
6
  size: 's' | 'm' | 'l' | 'xs';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  type FieldButtonProps = PropsWithHTMLAttributesAndRef<{
4
4
  children: React.ReactNode;
5
5
  }, HTMLButtonElement>;
@@ -2,5 +2,5 @@ import { FieldPropStatus } from '../types';
2
2
  type FieldCaptionProps = {
3
3
  status?: FieldPropStatus;
4
4
  };
5
- export declare const FieldCaption: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<FieldCaptionProps, "div">;
5
+ export declare const FieldCaption: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<FieldCaptionProps, "div">;
6
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { FieldPropSize } from '##/components/FieldComponents';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { FieldPropSize } from '..';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  type FieldClearButtonProps = PropsWithHTMLAttributesAndRef<{
6
6
  size?: FieldPropSize;
7
7
  children?: never;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  import { FieldPropForm, FieldPropSize, FieldPropStatus, FieldPropView } from '../types';
4
4
  export type FieldControlLayoutProps = PropsWithHTMLAttributesAndRef<{
5
5
  size?: FieldPropSize;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  type FieldCounterProps = PropsWithHTMLAttributesAndRef<{
4
4
  children?: never;
5
5
  onIncrementClick?: React.MouseEventHandler<HTMLButtonElement>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
2
+ import { PropsWithJsxAttributes } from '../../../utils/types/PropsWithJsxAttributes';
3
3
  type FieldInputProps = PropsWithJsxAttributes<{
4
4
  children?: never;
5
5
  }, 'input'>;
@@ -7,5 +7,5 @@ type FieldLabelProps = {
7
7
  required?: boolean;
8
8
  iconRef?: React.Ref<HTMLSpanElement>;
9
9
  };
10
- export declare const FieldLabel: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<FieldLabelProps, "div">;
10
+ export declare const FieldLabel: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<FieldLabelProps, "div">;
11
11
  export {};
@@ -1,5 +1,5 @@
1
1
  import { IconPropSize } from '@consta/icons/Icon';
2
- import { Space } from '##/mixs/MixSpace';
2
+ import { Space } from '../../../mixs/MixSpace';
3
3
  import { FieldPropSize } from '../types';
4
4
  export declare const iconSizeMap: Record<FieldPropSize, IconPropSize>;
5
5
  export declare const iconSpaceMap: Record<FieldPropSize, Space>;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { FieldPropSize } from '##/components/FieldComponents';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { FieldPropSize } from '..';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  type FieldToggleVisiblePasswordButtonProps = PropsWithHTMLAttributesAndRef<{
6
6
  size?: FieldPropSize;
7
7
  active?: boolean;
@@ -1,2 +1,2 @@
1
1
  import { FieldWrapperProps } from './types';
2
- export declare const FieldWrapper: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<FieldWrapperProps, "div">;
2
+ export declare const FieldWrapper: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<FieldWrapperProps, "div">;
@@ -1,5 +1,5 @@
1
- import { MixFlexPropDirection } from '##/mixs/MixFlex';
2
- import { Space } from '##/mixs/MixSpace';
1
+ import { MixFlexPropDirection } from '../../../mixs/MixFlex';
2
+ import { Space } from '../../../mixs/MixSpace';
3
3
  import { FieldPropSize } from '../types';
4
4
  import { FieldWrapperProps } from './types';
5
5
  export declare const spaceMap: Record<FieldPropSize, Space>;
@@ -1,6 +1,6 @@
1
1
  import './File.css';
2
2
  import React from 'react';
3
- import { FileIconProps } from '##/fileIcons/FileIcon/FileIcon';
3
+ import { FileIconProps } from '../../fileIcons/FileIcon/FileIcon';
4
4
  type Props = {
5
5
  extension?: string;
6
6
  loading?: boolean;
@@ -1,6 +1,6 @@
1
1
  import './FileField.css';
2
2
  import React from 'react';
3
- import { AsTags } from '##/utils/types/AsTags';
3
+ import { AsTags } from '../../utils/types/AsTags';
4
4
  import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes';
5
5
  type ComponentProps = {
6
6
  role: string;
@@ -1,4 +1,4 @@
1
1
  import './Grid.css';
2
2
  import { GridProps } from './types';
3
3
  export declare const cnGrid: import("@bem-react/classname").ClassNameFormatter;
4
- export declare const Grid: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<GridProps, "div">;
4
+ export declare const Grid: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<GridProps, "div">;
@@ -1,4 +1,4 @@
1
1
  import './GridItem.css';
2
2
  import { GridItemProps } from '../types';
3
3
  export declare const cnGridItem: import("@bem-react/classname").ClassNameFormatter;
4
- export declare const GridItem: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<GridItemProps, "div">;
4
+ export declare const GridItem: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<GridItemProps, "div">;
@@ -30,4 +30,4 @@ export type GridProps = Breakpoint & {
30
30
  breakpoints?: BreakpointsProps;
31
31
  };
32
32
  export declare const cnGrid: import("@bem-react/classname").ClassNameFormatter;
33
- export declare const Grid: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<GridProps, "div">;
33
+ export declare const Grid: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<GridProps, "div">;
@@ -1,3 +1,3 @@
1
- import { Space } from '##/mixs/MixSpace';
1
+ import { Space } from '../../../mixs/MixSpace';
2
2
  import { ListPropSize } from '../types';
3
3
  export declare const mapVerticalSpace: Record<ListPropSize, Space>;
@@ -1,6 +1,6 @@
1
1
  import './ListLoader.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { ListPropInnerOffset, ListPropSize } from '../types';
5
5
  export declare const cnListLoader: import("@bem-react/classname").ClassNameFormatter;
6
6
  type Props = PropsWithHTMLAttributesAndRef<{
@@ -1,5 +1,5 @@
1
1
  import { IconPropSize } from '@consta/icons/Icon';
2
- import { Space } from '##/mixs/MixSpace';
2
+ import { Space } from '../../mixs/MixSpace';
3
3
  import { ListPropSize } from './types';
4
4
  export declare const mapHorizontalSpace: Record<ListPropSize, Space>;
5
5
  export declare const mapHorizontalSpaceIncreased: Record<ListPropSize, Space>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { MixSpaceProps } from '##/mixs/MixSpace';
2
+ import { MixSpaceProps } from '../../mixs/MixSpace';
3
3
  import { ListPropSize } from './types';
4
4
  export declare const renderHeader: (label: string | undefined, first: boolean, size: ListPropSize, rightSide: React.ReactNode, labelSpace: MixSpaceProps | undefined, dividerSpace: MixSpaceProps | undefined, className: string | undefined) => React.ReactNode | null;