@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,10 +1,10 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { MixSpaceProps } from '##/mixs/MixSpace';
4
- import { Group } from '##/utils/getGroups';
5
- import { AsAttributes, AsTags } from '##/utils/types/AsTags';
6
- import { PropsWithAsAttributes } from '##/utils/types/PropsWithAsAttributes';
7
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { MixSpaceProps } from '../../mixs/MixSpace';
4
+ import { Group } from '../../utils/getGroups';
5
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
6
+ import { PropsWithAsAttributes } from '../../utils/types/PropsWithAsAttributes';
7
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
8
8
  export declare const listPropSize: readonly ["m", "xs", "s", "l"];
9
9
  export type ListPropSize = typeof listPropSize[number];
10
10
  export declare const defaultListPropSize: "m";
@@ -1,6 +1,6 @@
1
1
  import './Modal.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
4
4
  declare const modalPropWidth: readonly ["auto"];
5
5
  type ModalPropWidth = typeof modalPropWidth[number];
6
6
  declare const modalPropPosition: readonly ["center", "top"];
@@ -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 { PropsWithHTMLAttributes, PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
4
+ import { PropsWithAsAttributes } from '../../utils/types/PropsWithAsAttributes';
5
+ import { PropsWithHTMLAttributes, PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
6
6
  export declare const paginationPropForm: readonly ["default", "brick", "round"];
7
7
  export type PaginationPropForm = typeof paginationPropForm[number];
8
8
  export declare const paginationPropFormDefault: PaginationPropForm;
@@ -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
  export type PicturePropGetImageSettings = (image: string) => {
4
4
  theme?: string;
5
5
  size?: number;
@@ -1,7 +1,7 @@
1
1
  import './Popover.css';
2
2
  import React from 'react';
3
- import { ClickOutsideHandler } from '##/hooks/useClickOutside';
4
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
3
+ import { ClickOutsideHandler } from '../../hooks/useClickOutside';
4
+ import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes';
5
5
  /**
6
6
  * Стороны упорядочены по приоритету:
7
7
  * Используется первая сторона, в которую смог вписаться поповер.
@@ -1,7 +1,7 @@
1
1
  import './Responses.css';
2
2
  import React from 'react';
3
- import { ResponsesImageProps } from '##/responsesImages/ResponsesImage/ResponsesImage';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { ResponsesImageProps } from '../../responsesImages/ResponsesImage/ResponsesImage';
4
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export declare const responsesPropSize: readonly ["l", "m"];
6
6
  export type ResponsesPropSize = typeof responsesPropSize[number];
7
7
  export declare const responsesPropSizeDefault: ResponsesPropSize;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ResponsesImageProps } from '##/responsesImages/ResponsesImage/ResponsesImage';
2
+ import { ResponsesImageProps } from '../../responsesImages/ResponsesImage/ResponsesImage';
3
3
  import { ResponsesProps } from './Responses';
4
4
  type CreateResponsesArguments = {
5
5
  name: string;
@@ -1,2 +1,2 @@
1
1
  export * from './Responses403';
2
- export * from '##/responsesImages/ResponsesImage403/ResponsesImage403';
2
+ export * from '../../responsesImages/ResponsesImage403/ResponsesImage403';
@@ -1,2 +1,2 @@
1
1
  export * from './Responses404';
2
- export * from '##/responsesImages/ResponsesImage404/ResponsesImage404';
2
+ export * from '../../responsesImages/ResponsesImage404/ResponsesImage404';
@@ -1,2 +1,2 @@
1
1
  export * from './Responses500';
2
- export * from '##/responsesImages/ResponsesImage500/ResponsesImage500';
2
+ export * from '../../responsesImages/ResponsesImage500/ResponsesImage500';
@@ -1,2 +1,2 @@
1
1
  export * from './Responses503';
2
- export * from '##/responsesImages/ResponsesImage503/ResponsesImage503';
2
+ export * from '../../responsesImages/ResponsesImage503/ResponsesImage503';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesConnectionError';
2
- export * from '##/responsesImages/ResponsesImageConnectionError/ResponsesImageConnectionError';
2
+ export * from '../../responsesImages/ResponsesImageConnectionError/ResponsesImageConnectionError';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesDeleted';
2
- export * from '##/responsesImages/ResponsesImageDeleted/ResponsesImageDeleted';
2
+ export * from '../../responsesImages/ResponsesImageDeleted/ResponsesImageDeleted';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesEmptyBox';
2
- export * from '##/responsesImages/ResponsesImageEmptyBox/ResponsesImageEmptyBox';
2
+ export * from '../../responsesImages/ResponsesImageEmptyBox/ResponsesImageEmptyBox';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesEmptyPockets';
2
- export * from '##/responsesImages/ResponsesImageEmptyPockets/ResponsesImageEmptyPockets';
2
+ export * from '../../responsesImages/ResponsesImageEmptyPockets/ResponsesImageEmptyPockets';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesNothingFound';
2
- export * from '##/responsesImages/ResponsesImageNothingFound/ResponsesImageNothingFound';
2
+ export * from '../../responsesImages/ResponsesImageNothingFound/ResponsesImageNothingFound';
@@ -1,2 +1,2 @@
1
1
  export * from './ResponsesSuccess';
2
- export * from '##/responsesImages/ResponsesImageSuccess/ResponsesImageSuccess';
2
+ export * from '../../responsesImages/ResponsesImageSuccess/ResponsesImageSuccess';
@@ -1,4 +1,4 @@
1
- import '##/components/SelectComponents/Select.css';
1
+ import '../SelectComponents/Select.css';
2
2
  import { SelectComponent } from './helpers';
3
3
  export declare const Select: SelectComponent;
4
4
  export * from './helpers';
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import { AtomMut } from '@reatom/framework';
3
3
  import React from 'react';
4
- import { FieldControlLayoutProps } from '##/components/FieldComponents';
4
+ import { FieldControlLayoutProps } from '../../FieldComponents';
5
5
  type FieldButtonProps = Omit<FieldControlLayoutProps, 'leftSide' | 'rightSide'> & {
6
6
  openAtom: AtomMut<boolean>;
7
7
  focusAtom: AtomMut<boolean>;
@@ -1,8 +1,8 @@
1
1
  import './SelectCreateButton.css';
2
2
  import { AtomMut } from '@reatom/framework';
3
3
  import React from 'react';
4
- import { FieldPropSize } from '##/components/FieldComponents';
5
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
4
+ import { FieldPropSize } from '../../FieldComponents';
5
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
6
6
  type LabelForCreate = ((label: string | undefined) => React.ReactNode) | React.ReactNode;
7
7
  type SelectCreateButtonProps = PropsWithHTMLAttributesAndRef<{
8
8
  labelForCreate?: LabelForCreate;
@@ -1,10 +1,10 @@
1
1
  import './SelectDropdown.css';
2
2
  import { AtomMut } from '@reatom/framework';
3
3
  import React from 'react';
4
- import { FieldPropSize } from '##/components/FieldComponents';
5
- import { PopoverPropOffset } from '##/components/Popover';
6
- import { GetOptionPropsResult, OptionForCreate, OptionProps } from '##/components/SelectCanary/useSelect';
7
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
4
+ import { FieldPropSize } from '../../FieldComponents';
5
+ import { PopoverPropOffset } from '../../Popover';
6
+ import { GetOptionPropsResult, OptionForCreate, OptionProps } from '../useSelect';
7
+ import { PropsWithJsxAttributes } from '../../../utils/types/PropsWithJsxAttributes';
8
8
  import { CountedGroup } from '../types';
9
9
  export declare const selectDropdownForm: readonly ["default", "brick", "round"];
10
10
  export type SelectDropdownPropForm = typeof selectDropdownForm[number];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { FieldPropSize } from '##/components/FieldComponents';
3
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { FieldPropSize } from '../../FieldComponents';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  type SelectGroupLabelProps = PropsWithHTMLAttributesAndRef<{
5
5
  label: string;
6
6
  size: FieldPropSize;
@@ -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?: React.ReactNode;
5
5
  }, 'input'>;
@@ -1,8 +1,8 @@
1
1
  import './SelectItem.css';
2
2
  import React from 'react';
3
- import { CheckboxPropSize } from '##/components/Checkbox';
4
- import { FieldPropSize } from '##/components/FieldComponents';
5
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { CheckboxPropSize } from '../../Checkbox';
4
+ import { FieldPropSize } from '../../FieldComponents';
5
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
6
6
  export type SelectItemProps = PropsWithHTMLAttributesAndRef<{
7
7
  label: string;
8
8
  active: boolean;
@@ -1,7 +1,7 @@
1
1
  import { AtomMut } from '@reatom/framework';
2
2
  import React from 'react';
3
- import { FieldPropSize } from '##/components/FieldComponents';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { FieldPropSize } from '../../FieldComponents';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  export type SelectItemAllProps = PropsWithHTMLAttributesAndRef<{
6
6
  size: FieldPropSize;
7
7
  hovered?: boolean;
@@ -1,8 +1,8 @@
1
1
  import { AtomMut } from '@reatom/framework';
2
2
  import React from 'react';
3
- import { FieldPropSize } from '##/components/FieldComponents';
4
- import { PopoverPropOffset } from '##/components/Popover';
5
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
3
+ import { FieldPropSize } from '../../FieldComponents';
4
+ import { PopoverPropOffset } from '../../Popover';
5
+ import { PropsWithJsxAttributes } from '../../../utils/types/PropsWithJsxAttributes';
6
6
  export declare const SelectPopoverForm: readonly ["default", "brick", "round"];
7
7
  export type SelectPopoverPropForm = typeof SelectPopoverForm[number];
8
8
  export declare const defaultSelectPopoverPropForm: "default";
@@ -1,4 +1,4 @@
1
- import { WithDefaultReturn } from '##/utils/object';
1
+ import { WithDefaultReturn } from '../../utils/object';
2
2
  import { SelectGroupDefault, SelectItemDefault, SelectPropsInit } from '.';
3
3
  export declare const defaultLabelForEmptyItems = "\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442";
4
4
  export declare const defaultSelectAllLabel = "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435";
@@ -1,5 +1,5 @@
1
1
  import { IconPropSize } from '@consta/icons/Icon';
2
- import { FieldPropSize } from '##/components/FieldComponents';
2
+ import { FieldPropSize } from '../FieldComponents';
3
3
  import { SelectGroupDefault, SelectItemDefault, SelectPropGetGroupKey, SelectPropGetGroupLabel, SelectPropGetItemDisabled, SelectPropGetItemGroupKey, SelectPropGetItemKey, SelectPropGetItemLabel, SelectProps } from '.';
4
4
  export declare const defaultGetItemKey: SelectPropGetItemKey<SelectItemDefault>;
5
5
  export declare const defaultGetItemLabel: SelectPropGetItemLabel<SelectItemDefault>;
@@ -13,13 +13,13 @@ export declare function withDefaultGetters<ITEM = SelectItemDefault, GROUP = Sel
13
13
  items: ITEM[];
14
14
  onChange: import("./types").SelectPropOnChange<ITEM, MULTIPLE>;
15
15
  disabled?: boolean;
16
- form?: import("##/components/FieldComponents").FieldPropForm;
16
+ form?: import("../FieldComponents").FieldPropForm;
17
17
  dropdownForm?: "default" | "brick" | "round";
18
18
  size?: FieldPropSize;
19
- view?: import("##/components/FieldComponents").FieldPropView;
19
+ view?: import("../FieldComponents").FieldPropView;
20
20
  placeholder?: string;
21
21
  'aria-Label'?: string;
22
- status?: import("##/components/FieldComponents").FieldPropStatus;
22
+ status?: import("../FieldComponents").FieldPropStatus;
23
23
  isLoading?: boolean;
24
24
  dropdownClassName?: string;
25
25
  dropdownRef?: React.Ref<HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { FieldPropForm, FieldPropSize, FieldPropStatus, FieldPropView } from '##/components/FieldComponents';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { FieldPropForm, FieldPropSize, FieldPropStatus, FieldPropView } from '../FieldComponents';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export type RenderItemProps<ITEM> = {
6
6
  item: ITEM;
7
7
  active: boolean;
@@ -1,6 +1,6 @@
1
1
  import { AtomMut } from '@reatom/framework';
2
2
  import React from 'react';
3
- import { GetGroupsResult } from '##/utils/getGroups';
3
+ import { GetGroupsResult } from '../../../utils/getGroups';
4
4
  import { PropsWithDefault } from '../../SelectCanary/defaultProps';
5
5
  import { SelectGroupDefault, SelectItemDefault } from '..';
6
6
  import { CountedGroup, Group, SelectAllItem } from '../types';
@@ -1,6 +1,6 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { PropForm, PropSize, PropStatus, PropView } from '../types';
5
5
  export type SelectContainerProps = PropsWithHTMLAttributesAndRef<{
6
6
  disabled?: boolean;
@@ -1,6 +1,6 @@
1
1
  import './SelectCreateButton.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { PropSize } from '../types';
5
5
  type SelectCreateButtonProps = PropsWithHTMLAttributesAndRef<{
6
6
  labelForCreate?: string;
@@ -1,8 +1,8 @@
1
1
  import './SelectDropdown.css';
2
2
  import React from 'react';
3
- import { PopoverPropOffset } from '##/components/Popover';
4
- import { SelectAllItem } from '##/utils/getGroups';
5
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
3
+ import { PopoverPropOffset } from '../../Popover';
4
+ import { SelectAllItem } from '../../../utils/getGroups';
5
+ import { PropsWithJsxAttributes } from '../../../utils/types/PropsWithJsxAttributes';
6
6
  import { PropSize, RenderItemProps } from '../types';
7
7
  import { GetOptionPropsResult, OptionForCreate, OptionProps } from '../useSelect';
8
8
  export declare const selectDropdownForm: readonly ["default", "brick", "round"];
@@ -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 { PropSize } from '../types';
4
4
  type SelectGroupLabelProps = PropsWithHTMLAttributesAndRef<{
5
5
  label: string;
@@ -1,7 +1,7 @@
1
1
  import './SelectItem.css';
2
2
  import React from 'react';
3
- import { CheckboxPropSize } from '##/components/Checkbox';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { CheckboxPropSize } from '../../Checkbox';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  import { PropSize } from '../types';
6
6
  export type SelectItemProps = PropsWithHTMLAttributesAndRef<{
7
7
  label: string;
@@ -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 { PropSize } from '../types';
4
4
  export type SelectItemAllProps = PropsWithHTMLAttributesAndRef<{
5
5
  checked: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { CountedGroup, SelectAllItem } from '##/utils/getGroups';
2
+ import { CountedGroup, SelectAllItem } from '../../../utils/getGroups';
3
3
  type IndexForHighlight = number | ((oldIndex: number) => number);
4
4
  type Group<ITEM, GROUP> = {
5
5
  items: ITEM[];
@@ -73,7 +73,7 @@ export declare function useSelect<ITEM, GROUP, MULTIPLE extends boolean>(params:
73
73
  handleToggleDropdown: () => void;
74
74
  handleInputClick: () => void;
75
75
  inputRef: React.RefObject<HTMLInputElement>;
76
- getKeyProps: (rest?: import("##/hooks/useKeysDeprecated").KeyProps) => import("##/hooks/useKeysDeprecated").KeyProps;
76
+ getKeyProps: (rest?: import("../../../hooks/useKeysDeprecated").KeyProps) => import("../../../hooks/useKeysDeprecated").KeyProps;
77
77
  handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
78
78
  searchValue: string;
79
79
  clearValue: (e: React.SyntheticEvent) => void;
@@ -1,6 +1,6 @@
1
1
  import './SelectCreateButton.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  import { PropSize } from '../types';
5
5
  type SelectCreateButtonProps = PropsWithHTMLAttributes<{
6
6
  labelForCreate?: string;
@@ -1,6 +1,6 @@
1
1
  import './SelectDropdown.css';
2
2
  import React from 'react';
3
- import { SelectAllItem } from '##/utils/getGroups';
3
+ import { SelectAllItem } from '../../../utils/getGroups';
4
4
  import { GetOptionPropsResult, OptionForCreate, OptionProps } from '../../../hooks/useSelect/useSelect';
5
5
  import { PropsWithJsxAttributes } from '../../../utils/types/PropsWithJsxAttributes';
6
6
  import { PopoverPropOffset } from '../../Popover/Popover';
@@ -1,7 +1,7 @@
1
1
  import './Sidebar.css';
2
2
  import React from 'react';
3
- import { AsTagAttribute } from '##/utils/types/AsTags';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { AsTagAttribute } from '../../utils/types/AsTags';
4
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  declare const sidebarPropPosition: readonly ["right", "bottom", "left", "top"];
6
6
  type SidebarPropPosition = typeof sidebarPropPosition[number];
7
7
  export declare const sidebarPropSize: readonly ["s", "m", "l", "full", "1/2", "1/3", "1/4", "2/3", "3/4"];
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
3
3
  type SkeletonBrickProps = PropsWithHTMLAttributes<{
4
4
  width?: CSSProperties['width'];
5
5
  height: CSSProperties['height'];
@@ -1,6 +1,6 @@
1
1
  import './SkeletonCircle.css';
2
2
  import { CSSProperties } from 'react';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  type SkeletonCircleProps = PropsWithHTMLAttributes<{
5
5
  size: CSSProperties['width'] & CSSProperties['height'];
6
6
  }, HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import './SkeletonText.css';
2
2
  import React from 'react';
3
- import { TextPropLineHeight, TextPropSize } from '##/components/Text';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { TextPropLineHeight, TextPropSize } from '../../Text';
4
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
5
5
  import { SkeletonBrick } from '../Skeleton';
6
6
  type SkeletonTextProps = PropsWithHTMLAttributes<{
7
7
  rows: number;
@@ -1,4 +1,4 @@
1
1
  import './SpoilerButton.css';
2
2
  import { SpoilerButtonProps } from '../types';
3
3
  export declare const cnSpoilerButton: import("@bem-react/classname").ClassNameFormatter;
4
- export declare const SpoilerButton: import("##/utils/types/PropsWithAsAttributes").ComponentWithAs<SpoilerButtonProps, "div">;
4
+ export declare const SpoilerButton: import("../../../utils/types/PropsWithAsAttributes").ComponentWithAs<SpoilerButtonProps, "div">;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { Space } from '##/mixs/MixSpace';
4
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { Space } from '../../mixs/MixSpace';
4
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export declare const spoilerPropSize: readonly ["xs", "s", "m", "l"];
6
6
  export type SpoilerPropSize = typeof spoilerPropSize[number];
7
7
  export declare const defaultSpoilerPropSize = "m";
@@ -1,4 +1,4 @@
1
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
1
+ import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
2
2
  export declare const switchPropSize: readonly ["m", "xs", "s", "l"];
3
3
  export type SwitchPropSize = typeof switchPropSize[number];
4
4
  export declare const switchPropSizeDefault: SwitchPropSize;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent, IconPropSize } 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';
3
+ import { AsAttributes, AsTags } from '../../utils/types/AsTags';
4
+ import { PropsWithAsAttributes } from '../../utils/types/PropsWithAsAttributes';
5
5
  import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
6
6
  export type TabDimensions = {
7
7
  size: number;
@@ -1,6 +1,6 @@
1
1
  import { IconComponent, IconProps } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { AsTagAttribute, AsTags } from '##/utils/types/AsTags';
3
+ import { AsTagAttribute, AsTags } from '../../utils/types/AsTags';
4
4
  import { TagBase } from '../TagBase/TagBase';
5
5
  type TagBaseProps = React.ComponentProps<typeof TagBase>;
6
6
  export declare const tagPropMode: readonly ["button", "check", "cancel", "link", "info"];
@@ -1,8 +1,8 @@
1
1
  import { IconComponent, IconPropSize } from '@consta/icons/Icon';
2
2
  import React from 'react';
3
- import { FieldPropForm, FieldPropSize, FieldPropStatus, FieldPropView } from '##/components/FieldComponents';
4
- import { AutoCompete } from '##/utils/types/AutoComplete';
5
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { FieldPropForm, FieldPropSize, FieldPropStatus, FieldPropView } from '../FieldComponents';
4
+ import { AutoCompete } from '../../utils/types/AutoComplete';
5
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
6
6
  export type TextFieldPropValue<TYPE> = TYPE extends 'textarray' ? string[] | null : string | null;
7
7
  export type TextFieldPropDefaultValue<TYPE> = TYPE extends 'textarray' ? never : string | null;
8
8
  export type TextFieldPropSize = FieldPropSize;
@@ -1,7 +1,7 @@
1
1
  import { IconComponent } from '@consta/icons/Icon';
2
- import { ButtonPropView } from '##/components/Button';
3
- import { Direction } from '##/components/Popover';
4
- import { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';
2
+ import { ButtonPropView } from '../Button';
3
+ import { Direction } from '../Popover';
4
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
5
5
  export declare const themeTogglerPropSize: readonly ["m", "l", "s", "xs"];
6
6
  export type ThemeTogglerPropSize = typeof themeTogglerPropSize[number];
7
7
  export declare const themeTogglerPropSizeDefault: ThemeTogglerPropSize;
@@ -1,5 +1,5 @@
1
- import { ClickOutsideHandler } from '##/hooks/useClickOutside/useClickOutside';
2
- import { PropsWithJsxAttributes } from '##/utils/types/PropsWithJsxAttributes';
1
+ import { ClickOutsideHandler } from '../../hooks/useClickOutside/useClickOutside';
2
+ import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes';
3
3
  import { Direction, PositioningProps } from '../Popover/Popover';
4
4
  export declare const tooltipPropSizes: readonly ["m", "s", "l"];
5
5
  export type TooltipPropSize = typeof tooltipPropSizes[number];
@@ -1,4 +1,4 @@
1
- import '##/components/SelectComponents/Select.css';
1
+ import '../SelectComponents/Select.css';
2
2
  import { UserSelectComponent } from './helpers';
3
3
  export declare const COMPONENT_NAME: "UserSelect";
4
4
  export declare const UserSelect: UserSelectComponent;
@@ -1,6 +1,6 @@
1
1
  import './UserSelectItem.css';
2
2
  import React from 'react';
3
- import { PropsWithHTMLAttributes } from '##/utils/types/PropsWithHTMLAttributes';
3
+ import { PropsWithHTMLAttributes } from '../../../utils/types/PropsWithHTMLAttributes';
4
4
  type UserSelectItemProps = PropsWithHTMLAttributes<{
5
5
  label: string;
6
6
  active: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TooltipProps as TooltipComponentProps } from '##/components/Tooltip';
2
+ import { TooltipProps as TooltipComponentProps } from '../../components/Tooltip';
3
3
  export declare const withTooltipPropMode: readonly ["mouseover", "click"];
4
4
  export declare const withTooltipPropModeDefault: "mouseover";
5
5
  type WithTooltipPropMode = typeof withTooltipPropMode[number];
@@ -1,2 +1,2 @@
1
1
  export * from './useComponentBreakpointsDeprecated';
2
- export * from '##/hooks/useBreakpoints/getLastPoint';
2
+ export * from '../useBreakpoints/getLastPoint';
@@ -1,2 +1,2 @@
1
- import { Map, Returned } from '##/hooks/useBreakpoints/types';
1
+ import { Map, Returned } from '../useBreakpoints/types';
2
2
  export declare const useComponentBreakpoints: <POINTS extends string>(ref: React.RefObject<HTMLElement | SVGGraphicsElement>, map: Map<POINTS>) => Returned<POINTS>;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @deprecated use import { getElementSize } from '@consta/uikit/useResizeObserved'
3
3
  */
4
- export declare const getElementSize: (el: HTMLElement | SVGGraphicsElement | null) => import("##/hooks/useResizeObserved/getElementSize").ComponentSize;
4
+ export declare const getElementSize: (el: HTMLElement | SVGGraphicsElement | null) => import("../useResizeObserved/getElementSize").ComponentSize;
@@ -1,4 +1,4 @@
1
- import { KeyCode } from '##/utils/types/KeyCode';
1
+ import { KeyCode } from '../../utils/types/KeyCode';
2
2
  export type KeyHandlers = Partial<Record<KeyCode, (e: KeyboardEvent) => void>> & {
3
3
  [key: string]: (e: KeyboardEvent) => void;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { KeyCode } from '##/utils/types/KeyCode';
1
+ import { KeyCode } from '../../utils/types/KeyCode';
2
2
  export type UseKeysPropKeys<ELEMENT = Element> = Partial<Record<KeyCode, React.KeyboardEventHandler<ELEMENT>>> & {
3
3
  [key: string]: React.KeyboardEventHandler;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { KeyCode } from '##/utils/types/KeyCode';
2
+ import { KeyCode } from '../../utils/types/KeyCode';
3
3
  export type KeyHandlers = Partial<Record<KeyCode, (e: KeyboardEvent) => void>> & {
4
4
  [key: string]: (e: KeyboardEvent) => void;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { DateTimePropDisableDates, DateTimePropType } from '##/components/DateTime';
1
+ import { DateTimePropDisableDates, DateTimePropType } from '../../components/DateTime';
2
2
  export declare const isEqualDates: (firstDate: Date, secondDate: Date, mode: DateTimePropType | undefined, timeType?: "hours" | "minutes" | "seconds" | undefined) => boolean;
3
3
  export declare const isDisableDate: <TYPE extends DateTimePropType>(params: {
4
4
  date: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit",
3
- "version": "5.19.1",
3
+ "version": "5.19.2",
4
4
  "keywords": [
5
5
  "ui-kit",
6
6
  "design-system",