@maxhub/max-ui 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.d.ts.map +1 -1
  2. package/dist/components/BottomSheet/BottomSheet.d.ts +16 -0
  3. package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  4. package/dist/components/BottomSheet/index.d.ts +2 -0
  5. package/dist/components/BottomSheet/index.d.ts.map +1 -0
  6. package/dist/components/Checkbox/Checkbox.d.ts +8 -0
  7. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  8. package/dist/components/Checkbox/index.d.ts +2 -0
  9. package/dist/components/Checkbox/index.d.ts.map +1 -0
  10. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
  11. package/dist/components/ContextMenu/context.d.ts +12 -0
  12. package/dist/components/ContextMenu/context.d.ts.map +1 -1
  13. package/dist/components/ContextMenu/parts/ContextMenuList/ContextMenuList.d.ts.map +1 -1
  14. package/dist/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.d.ts +3 -2
  15. package/dist/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.d.ts.map +1 -1
  16. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.d.ts +4 -3
  17. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.d.ts.map +1 -1
  18. package/dist/components/Dot/Dot.d.ts +3 -0
  19. package/dist/components/Dot/Dot.d.ts.map +1 -1
  20. package/dist/components/Select/Select.d.ts +3 -0
  21. package/dist/components/Select/Select.d.ts.map +1 -0
  22. package/dist/components/Select/context.d.ts +36 -0
  23. package/dist/components/Select/context.d.ts.map +1 -0
  24. package/dist/components/Select/helpers.d.ts +15 -0
  25. package/dist/components/Select/helpers.d.ts.map +1 -0
  26. package/dist/components/Select/hooks.d.ts +18 -0
  27. package/dist/components/Select/hooks.d.ts.map +1 -0
  28. package/dist/components/Select/index.d.ts +7 -0
  29. package/dist/components/Select/index.d.ts.map +1 -0
  30. package/dist/components/Select/parts/SelectContent/SelectContent.d.ts +13 -0
  31. package/dist/components/Select/parts/SelectContent/SelectContent.d.ts.map +1 -0
  32. package/dist/components/Select/parts/SelectContent/index.d.ts +2 -0
  33. package/dist/components/Select/parts/SelectContent/index.d.ts.map +1 -0
  34. package/dist/components/Select/parts/SelectEmpty/SelectEmpty.d.ts +4 -0
  35. package/dist/components/Select/parts/SelectEmpty/SelectEmpty.d.ts.map +1 -0
  36. package/dist/components/Select/parts/SelectEmpty/index.d.ts +2 -0
  37. package/dist/components/Select/parts/SelectEmpty/index.d.ts.map +1 -0
  38. package/dist/components/Select/parts/SelectField/SelectField.d.ts +22 -0
  39. package/dist/components/Select/parts/SelectField/SelectField.d.ts.map +1 -0
  40. package/dist/components/Select/parts/SelectField/index.d.ts +2 -0
  41. package/dist/components/Select/parts/SelectField/index.d.ts.map +1 -0
  42. package/dist/components/Select/parts/SelectOptionRow/SelectOptionRow.d.ts +12 -0
  43. package/dist/components/Select/parts/SelectOptionRow/SelectOptionRow.d.ts.map +1 -0
  44. package/dist/components/Select/parts/SelectOptionRow/index.d.ts +2 -0
  45. package/dist/components/Select/parts/SelectOptionRow/index.d.ts.map +1 -0
  46. package/dist/components/Select/parts/SelectOptions/SelectOptions.d.ts +5 -0
  47. package/dist/components/Select/parts/SelectOptions/SelectOptions.d.ts.map +1 -0
  48. package/dist/components/Select/parts/SelectOptions/index.d.ts +2 -0
  49. package/dist/components/Select/parts/SelectOptions/index.d.ts.map +1 -0
  50. package/dist/components/Select/parts/SelectSearch/SelectSearch.d.ts +5 -0
  51. package/dist/components/Select/parts/SelectSearch/SelectSearch.d.ts.map +1 -0
  52. package/dist/components/Select/parts/SelectSearch/index.d.ts +2 -0
  53. package/dist/components/Select/parts/SelectSearch/index.d.ts.map +1 -0
  54. package/dist/components/Select/types.d.ts +79 -0
  55. package/dist/components/Select/types.d.ts.map +1 -0
  56. package/dist/components/Snackbar/SnackbarProvider.d.ts.map +1 -1
  57. package/dist/components/Snackbar/types.d.ts +2 -0
  58. package/dist/components/Snackbar/types.d.ts.map +1 -1
  59. package/dist/components/StatusBadge/StatusBadge.d.ts +8 -0
  60. package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -0
  61. package/dist/components/StatusBadge/index.d.ts +2 -0
  62. package/dist/components/StatusBadge/index.d.ts.map +1 -0
  63. package/dist/components/Steps/Steps.d.ts +7 -0
  64. package/dist/components/Steps/Steps.d.ts.map +1 -0
  65. package/dist/components/Steps/index.d.ts +2 -0
  66. package/dist/components/Steps/index.d.ts.map +1 -0
  67. package/dist/components/ToolButton/ToolButton.d.ts +3 -0
  68. package/dist/components/ToolButton/ToolButton.d.ts.map +1 -1
  69. package/dist/components/index.d.ts +5 -0
  70. package/dist/components/index.d.ts.map +1 -1
  71. package/dist/hooks/index.d.ts +1 -0
  72. package/dist/hooks/index.d.ts.map +1 -1
  73. package/dist/hooks/use-drag.d.ts +28 -0
  74. package/dist/hooks/use-drag.d.ts.map +1 -0
  75. package/dist/icons/index.d.ts +2 -1
  76. package/dist/icons/index.d.ts.map +1 -1
  77. package/dist/index.js +5 -1
  78. package/dist/index.js.map +1 -1
  79. package/dist/src/components/Button/Button.d.ts.map +1 -1
  80. package/dist/src/components/Button/helpers.d.ts.map +1 -1
  81. package/dist/src/components/CellAction/CellAction.d.ts +1 -1
  82. package/dist/src/components/CellAction/CellAction.d.ts.map +1 -1
  83. package/dist/src/components/CellSimple/CellSimple.d.ts +2 -0
  84. package/dist/src/components/CellSimple/CellSimple.d.ts.map +1 -1
  85. package/dist/src/components/CellSimple/index.d.ts +1 -1
  86. package/dist/src/components/CellSimple/index.d.ts.map +1 -1
  87. package/dist/src/components/IconButton/helpers.d.ts.map +1 -1
  88. package/dist/src/components/Switch/Switch.d.ts +0 -3
  89. package/dist/src/components/Switch/Switch.d.ts.map +1 -1
  90. package/dist/src/components/index.d.ts +0 -1
  91. package/dist/src/components/index.d.ts.map +1 -1
  92. package/dist/src/index.d.ts +1 -0
  93. package/dist/src/index.d.ts.map +1 -1
  94. package/dist/styles.css +1 -1
  95. package/package.json +1 -1
  96. package/dist/components/ClearableInput/ClearableInput.d.ts +0 -9
  97. package/dist/components/ClearableInput/ClearableInput.d.ts.map +0 -1
  98. package/dist/components/ClearableInput/index.d.ts +0 -2
  99. package/dist/components/ClearableInput/index.d.ts.map +0 -1
  100. package/dist/components/Container/Container.d.ts +0 -7
  101. package/dist/components/Container/Container.d.ts.map +0 -1
  102. package/dist/components/Container/index.d.ts +0 -2
  103. package/dist/components/Container/index.d.ts.map +0 -1
  104. package/dist/components/EllipsisText/EllipsisText.d.ts +0 -14
  105. package/dist/components/EllipsisText/EllipsisText.d.ts.map +0 -1
  106. package/dist/components/EllipsisText/index.d.ts +0 -2
  107. package/dist/components/EllipsisText/index.d.ts.map +0 -1
  108. package/dist/components/Flex/Flex.d.ts +0 -19
  109. package/dist/components/Flex/Flex.d.ts.map +0 -1
  110. package/dist/components/Flex/index.d.ts +0 -2
  111. package/dist/components/Flex/index.d.ts.map +0 -1
  112. package/dist/components/Grid/Grid.d.ts +0 -17
  113. package/dist/components/Grid/Grid.d.ts.map +0 -1
  114. package/dist/components/Grid/index.d.ts +0 -2
  115. package/dist/components/Grid/index.d.ts.map +0 -1
  116. package/dist/components/Panel/Panel.d.ts +0 -9
  117. package/dist/components/Panel/Panel.d.ts.map +0 -1
  118. package/dist/components/Panel/index.d.ts +0 -2
  119. package/dist/components/Panel/index.d.ts.map +0 -1
  120. package/dist/components/Ripple/Ripple.d.ts +0 -5
  121. package/dist/components/Ripple/Ripple.d.ts.map +0 -1
  122. package/dist/components/Ripple/index.d.ts +0 -2
  123. package/dist/components/Ripple/index.d.ts.map +0 -1
  124. package/dist/components/SearchInput/SearchInput.d.ts +0 -8
  125. package/dist/components/SearchInput/SearchInput.d.ts.map +0 -1
  126. package/dist/components/SearchInput/index.d.ts +0 -2
  127. package/dist/components/SearchInput/index.d.ts.map +0 -1
  128. package/dist/components/SvgButton/SvgButton.d.ts +0 -6
  129. package/dist/components/SvgButton/SvgButton.d.ts.map +0 -1
  130. package/dist/components/SvgButton/index.d.ts +0 -2
  131. package/dist/components/SvgButton/index.d.ts.map +0 -1
  132. package/dist/components/Tappable/Tappable.d.ts +0 -13
  133. package/dist/components/Tappable/Tappable.d.ts.map +0 -1
  134. package/dist/components/Tappable/helpers.d.ts +0 -11
  135. package/dist/components/Tappable/helpers.d.ts.map +0 -1
  136. package/dist/components/Tappable/index.d.ts +0 -2
  137. package/dist/components/Tappable/index.d.ts.map +0 -1
  138. package/dist/compositions/Profile/Profile.d.ts +0 -6
  139. package/dist/compositions/Profile/Profile.d.ts.map +0 -1
  140. package/dist/compositions/Profile/index.d.ts +0 -2
  141. package/dist/compositions/Profile/index.d.ts.map +0 -1
  142. package/dist/src/components/Dot/Dot.d.ts +0 -10
  143. package/dist/src/components/Dot/Dot.d.ts.map +0 -1
  144. package/dist/src/components/Dot/index.d.ts +0 -2
  145. package/dist/src/components/Dot/index.d.ts.map +0 -1
  146. package/dist/src/components/ToolButton/ToolButton.d.ts +0 -14
  147. package/dist/src/components/ToolButton/ToolButton.d.ts.map +0 -1
  148. package/dist/src/components/ToolButton/index.d.ts +0 -2
  149. package/dist/src/components/ToolButton/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarOnlineDot.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAMxD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAEvE,eAAO,MAAM,eAAe,+HAyB1B,CAAC"}
1
+ {"version":3,"file":"AvatarOnlineDot.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAMxD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAEvE,eAAO,MAAM,eAAe,+HA6B1B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, type ReactNode } from 'react';
2
+ import { InnerClassNamesProp } from "../../types";
3
+ export type BottomSheetProps = {
4
+ open: boolean;
5
+ title?: string;
6
+ onClose: () => void;
7
+ children: ReactNode;
8
+ /**
9
+ * Минимальная высота шторки
10
+ */
11
+ minHeight?: CSSProperties['minHeight'];
12
+ innerClassNames?: InnerClassNamesProp<'overlay' | 'sheet' | 'handle' | 'header'>;
13
+ enableDrag?: boolean;
14
+ };
15
+ export declare const BottomSheet: ({ open, title, onClose, children, minHeight, innerClassNames, enableDrag }: BottomSheetProps) => import("react").JSX.Element | null;
16
+ //# sourceMappingURL=BottomSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAE,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAG/F,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAIhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,mBAAmB,CAAC,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAA;IAChF,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAID,eAAO,MAAM,WAAW,GAAI,4EAEzB,gBAAgB,uCAmIlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { BottomSheet, type BottomSheetProps } from './BottomSheet';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
+ export interface CheckboxProps extends Omit<ComponentProps<'input'>, 'type'> {
3
+ label?: ReactNode;
4
+ caption?: ReactNode;
5
+ indeterminate?: boolean;
6
+ }
7
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
8
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAe,MAAM,OAAO,CAAC;AAMrF,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,QAAQ,yHAsDnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Checkbox, type CheckboxProps } from './Checkbox';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAiCA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA0GhD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0GAItB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAqJhD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0GAItB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { type UseInteractionsReturn } from '@floating-ui/react';
1
2
  import { type InnerClassNamesProp } from '../../types';
2
3
  import { type ContextMenuInnerElementKey, type ContextMenuResolvedMode } from './types';
3
4
  export interface ContextMenuContextInterface {
@@ -9,4 +10,15 @@ export interface ContextMenuContextInterface {
9
10
  }
10
11
  export declare const ContextMenuContext: import("react").Context<ContextMenuContextInterface>;
11
12
  export declare const useContextMenu: () => ContextMenuContextInterface;
13
+ /**
14
+ * Контекст одного уровня меню — корневого или подменю.
15
+ * Каждый уровень держит собственный useListNavigation и раздаёт строкам
16
+ * пропсы для навигации стрелками и roving tabIndex.
17
+ */
18
+ export interface ContextMenuLevelInterface {
19
+ activeIndex: number | null;
20
+ getItemProps: UseInteractionsReturn['getItemProps'];
21
+ }
22
+ export declare const ContextMenuLevelContext: import("react").Context<ContextMenuLevelInterface>;
23
+ export declare const useContextMenuLevel: () => ContextMenuLevelInterface;
12
24
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/context.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAExF,MAAM,WAAW,2BAA2B;IAC1C,yEAAyE;IACzE,IAAI,EAAE,uBAAuB,CAAA;IAC7B,yDAAyD;IACzD,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,eAAe,CAAC,EAAE,mBAAmB,CAAC,0BAA0B,CAAC,CAAA;CAClE;AAED,eAAO,MAAM,kBAAkB,sDAG7B,CAAC;AAEH,eAAO,MAAM,cAAc,QAAO,2BAA6D,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAIhE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAExF,MAAM,WAAW,2BAA2B;IAC1C,yEAAyE;IACzE,IAAI,EAAE,uBAAuB,CAAA;IAC7B,yDAAyD;IACzD,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,eAAe,CAAC,EAAE,mBAAmB,CAAC,0BAA0B,CAAC,CAAA;CAClE;AAED,eAAO,MAAM,kBAAkB,sDAG7B,CAAC;AAEH,eAAO,MAAM,cAAc,QAAO,2BAA6D,CAAC;AAEhG;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,YAAY,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;CACpD;AAOD,eAAO,MAAM,uBAAuB,oDAAgE,CAAC;AAErG,eAAO,MAAM,mBAAmB,QAAO,yBAAgE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuList/ContextMenuList.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,eAAe,EAA8B,MAAM,aAAa,CAAC;AAM/E,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,eAAe;wBAA+B,oBAAoB;;CA6H9E,CAAC"}
1
+ {"version":3,"file":"ContextMenuList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuList/ContextMenuList.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,eAAe,EAA8B,MAAM,aAAa,CAAC;AAM/E,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,eAAe;wBAA+B,oBAAoB;;CAuJ9E,CAAC"}
@@ -1,12 +1,13 @@
1
- import { type MouseEvent } from 'react';
1
+ import { type FocusEvent, type KeyboardEvent, type MouseEvent } from 'react';
2
2
  import { type ContextMenuItem } from '../../types';
3
3
  export interface ContextMenuRowProps {
4
4
  item: ContextMenuItem;
5
- /** Открыто ли подменю (desktop) / раскрын ли аккордеон (mobile) */
6
5
  expanded?: boolean;
7
6
  onClick?: (event: MouseEvent<HTMLElement>) => void;
8
7
  onMouseEnter?: () => void;
9
8
  onMouseLeave?: () => void;
9
+ onFocus?: (event: FocusEvent<HTMLElement>) => void;
10
+ onSubmenuKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
10
11
  className?: string;
11
12
  }
12
13
  export declare const ContextMenuRow: import("react").ForwardRefExoticComponent<ContextMenuRowProps & import("react").RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,K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-1,17 +1,18 @@
1
- import { type MouseEvent, type ReactNode } from 'react';
1
+ import { type FocusEvent, type MouseEvent, type ReactNode } from 'react';
2
2
  import { type ContextMenuItemNested } from '../../types';
3
3
  export interface ContextMenuSubmenuProps {
4
4
  item: ContextMenuItemNested;
5
5
  open: boolean;
6
+ /** Клавиатура просит изменить открытость подменю (ArrowRight/ArrowLeft из useListNavigation) */
7
+ onOpenChange: (open: boolean) => void;
6
8
  onClick?: (event: MouseEvent<HTMLElement>) => void;
7
9
  onRowMouseEnter: (id: string) => void;
8
10
  onRowMouseLeave: () => void;
9
11
  onPanelMouseEnter: () => void;
10
12
  onPanelMouseLeave: () => void;
11
- /** Содержимое плавающей панели подменю — вложенный ContextMenuList, который рендерит родитель */
13
+ onRowFocus?: (event: FocusEvent<HTMLElement>) => void;
12
14
  children: ReactNode;
13
15
  }
14
- /** Desktop: строка с подменю + плавающая панель рядом с ней (справа, при нехватке места — слева) */
15
16
  export declare const ContextMenuSubmenu: {
16
17
  (props: ContextMenuSubmenuProps): import("react").JSX.Element;
17
18
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuSubmenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAClD,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,iGAAiG;IACjG,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,oGAAoG;AACpG,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CA0DhE,CAAC"}
1
+ {"version":3,"file":"ContextMenuSubmenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAKpG,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,gGAAgG;IAChG,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAClD,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IACrD,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAgGhE,CAAC"}
@@ -3,5 +3,8 @@ export type DotAppearance = 'themed' | 'contrast-pinned' | 'neutral-fade' | 'acc
3
3
  export interface DotProps extends ComponentProps<'span'> {
4
4
  appearance?: DotAppearance;
5
5
  }
6
+ /**
7
+ * @deprecated Компонент будет удален в грядущей минорной версии.
8
+ */
6
9
  export declare const Dot: import("react").ForwardRefExoticComponent<Omit<DotProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
7
10
  //# sourceMappingURL=Dot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../../src/components/Dot/Dot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,iBAAiB,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC;AAErG,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,MAAM,CAAC;IACtD,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B;AAED,eAAO,MAAM,GAAG,mHAgBd,CAAC"}
1
+ {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../../src/components/Dot/Dot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,iBAAiB,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC;AAErG,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,MAAM,CAAC;IACtD,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,GAAG,mHAgBd,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type SelectProps } from './types';
2
+ export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AA6CA,OAAO,EAAmE,KAAK,WAAW,EAAoB,MAAM,SAAS,CAAC;AAS9H,eAAO,MAAM,MAAM,wGA6YjB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { type KeyboardEvent, type ReactNode } from 'react';
2
+ import { type InnerClassNamesProp } from '../../types';
3
+ import { type SelectElementKey, type SelectOption } from './types';
4
+ export interface SelectContextInterface {
5
+ multiple: boolean;
6
+ query: string;
7
+ setQuery: (query: string) => void;
8
+ isSelected: (value: string) => boolean;
9
+ /**
10
+ * single — выбрать и закрыть; multiple — переключить.
11
+ * Опция запоминается, чтобы поле могло показать подпись выбранного значения.
12
+ */
13
+ select: (value: string, option?: SelectOption) => void;
14
+ close: () => void;
15
+ /** Опции после фильтрации (в режиме customDropdownMenu пусто) */
16
+ options: SelectOption[];
17
+ listId: string;
18
+ getOptionId: (index: number) => string;
19
+ /** Индекс подсвеченной опции (виртуальный фокус: реальный остаётся на поле или в поиске) */
20
+ activeIndex: number | null;
21
+ setActiveIndex: (index: number | null) => void;
22
+ /** Клавиатурная навигация; вешается на поле и на строку поиска */
23
+ onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
24
+ emptyText: ReactNode;
25
+ loading: boolean;
26
+ /** Доступное имя для listbox */
27
+ listLabel?: {
28
+ 'aria-label'?: string;
29
+ 'aria-labelledby'?: string;
30
+ };
31
+ innerClassNames?: InnerClassNamesProp<SelectElementKey>;
32
+ }
33
+ export declare const SelectContext: import("react").Context<SelectContextInterface>;
34
+ /** Доступ к состоянию Select из customDropdownMenu и внутренних частей */
35
+ export declare const useSelect: () => SelectContextInterface;
36
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/Select/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;IACtC;;;OAGG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,KAAK,IAAI,CAAA;IACtD,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,iEAAiE;IACjE,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACtC,4FAA4F;IAC5F,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,kEAAkE;IAClE,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IACtD,SAAS,EAAE,SAAS,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;IAChB,gCAAgC;IAChC,SAAS,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACjE,eAAe,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;CACxD;AAED,eAAO,MAAM,aAAa,iDAexB,CAAC;AAEH,0EAA0E;AAC1E,eAAO,MAAM,SAAS,QAAO,sBAAmD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type SelectOption, type SelectValue } from './types';
2
+ /** Отступ между полем и панелью */
3
+ export declare const DROPDOWN_OFFSET = 4;
4
+ /** Отступ от краёв экрана при flip/shift/size */
5
+ export declare const COLLISION_PADDING = 8;
6
+ export declare const DEFAULT_EMPTY_TEXT = "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E";
7
+ export declare const DEFAULT_SEARCH_PLACEHOLDER = "\u041F\u043E\u0438\u0441\u043A";
8
+ export declare const EMPTY_OPTIONS: SelectOption[];
9
+ /** Пустая строка в single — «ничего не выбрано» */
10
+ export declare const toValuesArray: (value: SelectValue | undefined) => string[];
11
+ export declare const getOptionSearchText: (option: SelectOption) => string;
12
+ export declare const defaultFilterOption: (option: SelectOption, query: string) => boolean;
13
+ /** Индекс ближайшей неотключённой опции от `from` (не включая) в направлении `step`; -1, если таких нет */
14
+ export declare const findEnabledIndex: (options: SelectOption[], from: number, step: 1 | -1) => number;
15
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/Select/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAE9D,mCAAmC;AACnC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,kBAAkB,iGAAsB,CAAC;AACtD,eAAO,MAAM,0BAA0B,mCAAU,CAAC;AAElD,eAAO,MAAM,aAAa,EAAE,YAAY,EAAO,CAAC;AAEhD,mDAAmD;AACnD,eAAO,MAAM,aAAa,GAAI,OAAO,WAAW,GAAG,SAAS,KAAG,MAAM,EAIpE,CAAC;AAMF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,YAAY,KAAG,MAI1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,YAAY,EAAE,OAAO,MAAM,KAAG,OAEzE,CAAC;AAEF,2GAA2G;AAC3G,eAAO,MAAM,gBAAgB,GAAI,SAAS,YAAY,EAAE,EAAE,MAAM,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAG,MAMtF,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type KeyboardEvent } from 'react';
2
+ import { type SelectOption } from './types';
3
+ export declare const useAppearanceClassNames: () => string;
4
+ interface UseSelectNavigationParams {
5
+ open: boolean;
6
+ options: SelectOption[];
7
+ activeIndex: number | null;
8
+ setActiveIndex: (index: number | null) => void;
9
+ onSelectIndex: (index: number) => void;
10
+ onOpen: () => void;
11
+ /** restoreFocus — вернуть фокус на поле после закрытия */
12
+ onClose: (restoreFocus: boolean) => void;
13
+ /** Очистка значения по Backspace/Delete на закрытом поле */
14
+ onClear?: () => void;
15
+ }
16
+ export declare const useSelectNavigation: (params: UseSelectNavigationParams) => (event: KeyboardEvent<HTMLElement>) => void;
17
+ export {};
18
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/Select/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,uBAAuB,QAAO,MAO1C,CAAC;AAEF,UAAU,yBAAyB;IACjC,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,0DAA0D;IAC1D,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,GAAI,QAAQ,yBAAyB,aAGxC,aAAa,CAAC,WAAW,CAAC,SAqEtD,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { useSelect } from './context';
2
+ export { SelectEmpty, type SelectEmptyProps } from './parts/SelectEmpty';
3
+ export { SelectOptionRow, type SelectOptionRowProps } from './parts/SelectOptionRow';
4
+ export { SelectSearch, type SelectSearchProps } from './parts/SelectSearch';
5
+ export { Select } from './Select';
6
+ export type { SelectBaseProps, SelectDropdownApi, SelectDropdownWidth, SelectElementKey, SelectMode, SelectMultipleProps, SelectOption, SelectProps, SelectSingleProps, SelectSize, SelectValue } from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,WAAW,EACZ,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ import { type SelectDropdownWidth } from '../../types';
3
+ export interface SelectContentProps extends HTMLAttributes<HTMLDivElement> {
4
+ dropdownWidth?: SelectDropdownWidth;
5
+ /** Закреплённая сверху часть (например, строка поиска) — не скроллится вместе со списком */
6
+ header?: ReactNode;
7
+ innerClassNames?: {
8
+ header?: string;
9
+ body?: string;
10
+ };
11
+ }
12
+ export declare const SelectContent: import("react").ForwardRefExoticComponent<SelectContentProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=SelectContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectContent/SelectContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,4FAA4F;IAC5F,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,eAAe,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CACrD;AAED,eAAO,MAAM,aAAa,+GAkCxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectContent, type SelectContentProps } from './SelectContent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export type SelectEmptyProps = Omit<ComponentPropsWithoutRef<'div'>, 'role'>;
3
+ export declare const SelectEmpty: import("react").ForwardRefExoticComponent<SelectEmptyProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ //# sourceMappingURL=SelectEmpty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectEmpty/SelectEmpty.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAMlE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;AAE7E,eAAO,MAAM,WAAW,6GAoBtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectEmpty, type SelectEmptyProps } from './SelectEmpty';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectEmpty/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
2
+ import { type InnerClassNamesProp } from '../../../../types';
3
+ import { type SelectElementKey, type SelectMode, type SelectSize } from '../../types';
4
+ export interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
5
+ mode: SelectMode;
6
+ size: SelectSize;
7
+ open: boolean;
8
+ disabled?: boolean;
9
+ iconBefore?: ReactNode;
10
+ /** Подпись выбранного значения; если пусто — показывается placeholder */
11
+ valueContent?: ReactNode;
12
+ placeholder?: ReactNode;
13
+ /** Сколько значений скрыто за первым (multiple); 0 — счётчик не показывается */
14
+ hiddenCount?: number;
15
+ /** id блока со значением: используется в aria-labelledby поля */
16
+ valueId?: string;
17
+ showClearButton: boolean;
18
+ onClear: () => void;
19
+ innerClassNames?: InnerClassNamesProp<SelectElementKey>;
20
+ }
21
+ export declare const SelectField: import("react").ForwardRefExoticComponent<SelectFieldProps & import("react").RefAttributes<HTMLDivElement>>;
22
+ //# sourceMappingURL=SelectField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectField/SelectField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGtF,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzF,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,yEAAyE;IACzE,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,OAAO,CAAA;IACxB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,eAAe,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;CACxD;AAED,eAAO,MAAM,WAAW,6GA+FtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectField, type SelectFieldProps } from './SelectField';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ import { type SelectOption } from '../../types';
3
+ export interface SelectOptionRowProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick' | 'role'> {
4
+ option: SelectOption;
5
+ /**
6
+ * Позиция в списке: нужна для подсветки клавиатурой (активная строка) и связи через aria-activedescendant.
7
+ * В customDropdownMenu можно не передавать — строка тогда просто выбирается кликом.
8
+ */
9
+ index?: number;
10
+ }
11
+ export declare const SelectOptionRow: import("react").ForwardRefExoticComponent<SelectOptionRowProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ //# sourceMappingURL=SelectOptionRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectOptionRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectOptionRow/SelectOptionRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAiC,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;IAClH,MAAM,EAAE,YAAY,CAAA;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,eAAe,iHAoF1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectOptionRow, type SelectOptionRowProps } from './SelectOptionRow';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectOptionRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const SelectOptions: {
2
+ (): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ //# sourceMappingURL=SelectOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectOptions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectOptions/SelectOptions.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;CAyBzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectOptions } from './SelectOptions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export type SelectSearchProps = Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'onChange' | 'type'>;
3
+ /** Строка поиска внутри панели */
4
+ export declare const SelectSearch: import("react").ForwardRefExoticComponent<SelectSearchProps & import("react").RefAttributes<HTMLInputElement>>;
5
+ //# sourceMappingURL=SelectSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectSearch/SelectSearch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,wBAAwB,EAAiC,MAAM,OAAO,CAAC;AAQrF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;AAEvG,kCAAkC;AAClC,eAAO,MAAM,YAAY,gHAgEvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectSearch, type SelectSearchProps } from './SelectSearch';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/parts/SelectSearch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { type Placement } from '@floating-ui/react';
2
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
3
+ import { type InnerClassNamesProp } from '../../types';
4
+ export type SelectMode = 'default' | 'contrast';
5
+ export type SelectSize = 'large' | 'medium';
6
+ /** 'trigger' — ширина панели равна ширине поля; 'auto' — по содержимому (минимум — ширина поля) */
7
+ export type SelectDropdownWidth = 'trigger' | 'auto';
8
+ export type SelectValue = string | string[];
9
+ export type SelectElementKey = 'container' | 'field' | 'iconBefore' | 'value' | 'counter' | 'chevron' | 'clearButton' | 'hint' | 'content' | 'search' | 'list' | 'loading' | 'empty' | 'option' | 'optionBefore' | 'optionLabel' | 'optionHint' | 'optionCheck';
10
+ export interface SelectOption {
11
+ value: string;
12
+ label: ReactNode;
13
+ before?: ReactNode;
14
+ /** Вспомогательный текст справа */
15
+ hint?: ReactNode;
16
+ searchText?: string;
17
+ disabled?: boolean;
18
+ }
19
+ export interface SelectDropdownApi {
20
+ /** Текущий поисковый запрос (из SelectSearch) */
21
+ query: string;
22
+ multiple: boolean;
23
+ isSelected: (value: string) => boolean;
24
+ /** single — выбрать и закрыть; multiple — переключить */
25
+ select: (value: string, option?: SelectOption) => void;
26
+ close: () => void;
27
+ }
28
+ export interface SelectBaseProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'defaultValue' | 'onChange' | 'placeholder' | 'role'> {
29
+ /** Опции выпадающего списка. Для кастомного содержимого используйте customDropdownMenu */
30
+ options?: SelectOption[];
31
+ /**
32
+ * Своё содержимое выпадающей панели вместо списка опций.
33
+ */
34
+ customDropdownMenu?: ReactNode | ((api: SelectDropdownApi) => ReactNode);
35
+ /**
36
+ * Опции, уже выбранные в controlled-значении
37
+ */
38
+ selectedOptions?: SelectOption[];
39
+ /** Строка поиска в панели (только для режима options) */
40
+ searchable?: boolean;
41
+ searchPlaceholder?: string;
42
+ /**
43
+ * Своя фильтрация
44
+ */
45
+ filterOption?: (option: SelectOption, query: string) => boolean;
46
+ /** Вызывается при вводе в поиск и при закрытии панели */
47
+ onSearchChange?: (query: string) => void;
48
+ loading?: boolean;
49
+ emptyText?: ReactNode;
50
+ placeholder?: ReactNode;
51
+ disabled?: boolean;
52
+ mode?: SelectMode;
53
+ size?: SelectSize;
54
+ hint?: ReactNode;
55
+ iconBefore?: ReactNode;
56
+ withClearButton?: boolean;
57
+ /** Имя для нативной отправки формы: рендерятся скрытые input по одному на значение */
58
+ name?: string;
59
+ open?: boolean;
60
+ defaultOpen?: boolean;
61
+ onOpenChange?: (open: boolean) => void;
62
+ placement?: Placement;
63
+ dropdownWidth?: SelectDropdownWidth;
64
+ innerClassNames?: InnerClassNamesProp<SelectElementKey>;
65
+ }
66
+ export interface SelectSingleProps extends SelectBaseProps {
67
+ multiple?: false;
68
+ value?: string;
69
+ defaultValue?: string;
70
+ onValueChange?: (value: string, option: SelectOption | null) => void;
71
+ }
72
+ export interface SelectMultipleProps extends SelectBaseProps {
73
+ multiple: true;
74
+ value?: string[];
75
+ defaultValue?: string[];
76
+ onValueChange?: (value: string[], options: SelectOption[]) => void;
77
+ }
78
+ export type SelectProps = SelectSingleProps | SelectMultipleProps;
79
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5C,mGAAmG;AACnG,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,WAAW,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MAAM,EAAE,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;CACnE;AAED,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SnackbarProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/SnackbarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAIjG,OAAO,EAIL,KAAK,iBAAiB,EACC,MAAM,SAAS,CAAC;AAWzC,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;CACtC;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAa,EACb,QAA0B,EAC1B,gBAAkC,EACnC,EAAE,qBAAqB,+BAwFvB"}
1
+ {"version":3,"file":"SnackbarProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/SnackbarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAIjG,OAAO,EAIL,KAAK,iBAAiB,EACC,MAAM,SAAS,CAAC;AAWzC,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;CACtC;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAa,EACb,QAA0B,EAC1B,gBAAkC,EACnC,EAAE,qBAAqB,+BA+FvB"}
@@ -34,5 +34,7 @@ export type CloseSnackbarCallback = (id: string) => void;
34
34
  export interface SnackbarContextValue {
35
35
  showSnackbar: ShowSnackbarCallback;
36
36
  closeSnackbar: CloseSnackbarCallback;
37
+ /** Сразу удаляет все уведомления, включая ожидающие, и отменяет их таймеры. */
38
+ clearSnackbars: () => void;
37
39
  }
38
40
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GACzB,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,CAAC;AAEnB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,6BAA6B;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,qBAAqB;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,kCAAkC;IAClC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,iDAAiD;IACjD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,wDAAwD;IACxD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,WAAW,CAAC,GAAG;IACzE,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oFAAoF;IACpF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM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,IAAI,CAAC;AACpE,MAAM,MAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AAEzD,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,oBAAoB,CAAC;IACnC,aAAa,EAAE,qBAAqB,CAAC;IACrC,+EAA+E;IAC/E,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B"}
@@ -0,0 +1,8 @@
1
+ type Status = 'positive' | 'negative' | 'neutral' | 'warning';
2
+ export interface StatusBadgeProps {
3
+ text: string;
4
+ status: Status;
5
+ }
6
+ export declare const StatusBadge: import("react").ForwardRefExoticComponent<StatusBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
7
+ export {};
8
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/StatusBadge.tsx"],"names":[],"mappings":"AAMA,KAAK,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAC9D,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,8GAetB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { StatusBadge, type StatusBadgeProps } from './StatusBadge';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface StepsProps extends HTMLAttributes<HTMLDivElement> {
3
+ count: number;
4
+ progress: number;
5
+ }
6
+ export declare const Steps: import("react").ForwardRefExoticComponent<StepsProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ //# sourceMappingURL=Steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../../src/components/Steps/Steps.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIxD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,KAAK,uGAehB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Steps, type StepsProps } from './Steps';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -7,5 +7,8 @@ export interface ToolButtonProps extends ComponentProps<'button'>, AsChildProp {
7
7
  innerClassNames?: InnerClassNamesProp<ToolButtonElementKey>;
8
8
  appearance?: ToolButtonAppearance;
9
9
  }
10
+ /**
11
+ * @deprecated Компонент будет удален в грядущей минорной версии.
12
+ */
10
13
  export declare const ToolButton: import("react").ForwardRefExoticComponent<Omit<ToolButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
14
  //# sourceMappingURL=ToolButton.d.ts.map