@maxhub/max-ui 0.5.0 → 0.6.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 (140) hide show
  1. package/dist/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.d.ts.map +1 -1
  2. package/dist/components/ClearableInput/ClearableInput.d.ts +9 -0
  3. package/dist/components/ClearableInput/ClearableInput.d.ts.map +1 -0
  4. package/dist/components/ClearableInput/index.d.ts +2 -0
  5. package/dist/components/ClearableInput/index.d.ts.map +1 -0
  6. package/dist/components/Container/Container.d.ts +7 -0
  7. package/dist/components/Container/Container.d.ts.map +1 -0
  8. package/dist/components/Container/index.d.ts +2 -0
  9. package/dist/components/Container/index.d.ts.map +1 -0
  10. package/dist/components/ContextMenu/ContextMenu.d.ts +9 -0
  11. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -0
  12. package/dist/components/ContextMenu/context.d.ts +12 -0
  13. package/dist/components/ContextMenu/context.d.ts.map +1 -0
  14. package/dist/components/ContextMenu/helpers.d.ts +20 -0
  15. package/dist/components/ContextMenu/helpers.d.ts.map +1 -0
  16. package/dist/components/ContextMenu/index.d.ts +3 -0
  17. package/dist/components/ContextMenu/index.d.ts.map +1 -0
  18. package/dist/components/ContextMenu/parts/ContextMenuActionBar/ContextMenuActionBar.d.ts +9 -0
  19. package/dist/components/ContextMenu/parts/ContextMenuActionBar/ContextMenuActionBar.d.ts.map +1 -0
  20. package/dist/components/ContextMenu/parts/ContextMenuActionBar/index.d.ts +2 -0
  21. package/dist/components/ContextMenu/parts/ContextMenuActionBar/index.d.ts.map +1 -0
  22. package/dist/components/ContextMenu/parts/ContextMenuContent/ContextMenuContent.d.ts +4 -0
  23. package/dist/components/ContextMenu/parts/ContextMenuContent/ContextMenuContent.d.ts.map +1 -0
  24. package/dist/components/ContextMenu/parts/ContextMenuContent/index.d.ts +2 -0
  25. package/dist/components/ContextMenu/parts/ContextMenuContent/index.d.ts.map +1 -0
  26. package/dist/components/ContextMenu/parts/ContextMenuDivider/ContextMenuDivider.d.ts +7 -0
  27. package/dist/components/ContextMenu/parts/ContextMenuDivider/ContextMenuDivider.d.ts.map +1 -0
  28. package/dist/components/ContextMenu/parts/ContextMenuDivider/index.d.ts +2 -0
  29. package/dist/components/ContextMenu/parts/ContextMenuDivider/index.d.ts.map +1 -0
  30. package/dist/components/ContextMenu/parts/ContextMenuList/ContextMenuList.d.ts +11 -0
  31. package/dist/components/ContextMenu/parts/ContextMenuList/ContextMenuList.d.ts.map +1 -0
  32. package/dist/components/ContextMenu/parts/ContextMenuList/index.d.ts +2 -0
  33. package/dist/components/ContextMenu/parts/ContextMenuList/index.d.ts.map +1 -0
  34. package/dist/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.d.ts +13 -0
  35. package/dist/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.d.ts.map +1 -0
  36. package/dist/components/ContextMenu/parts/ContextMenuRow/index.d.ts +2 -0
  37. package/dist/components/ContextMenu/parts/ContextMenuRow/index.d.ts.map +1 -0
  38. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.d.ts +19 -0
  39. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/ContextMenuSubmenu.d.ts.map +1 -0
  40. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/index.d.ts +2 -0
  41. package/dist/components/ContextMenu/parts/ContextMenuSubmenu/index.d.ts.map +1 -0
  42. package/dist/components/ContextMenu/parts/index.d.ts +7 -0
  43. package/dist/components/ContextMenu/parts/index.d.ts.map +1 -0
  44. package/dist/components/ContextMenu/types.d.ts +77 -0
  45. package/dist/components/ContextMenu/types.d.ts.map +1 -0
  46. package/dist/components/Dot/Dot.d.ts +0 -3
  47. package/dist/components/Dot/Dot.d.ts.map +1 -1
  48. package/dist/components/EllipsisText/EllipsisText.d.ts +14 -0
  49. package/dist/components/EllipsisText/EllipsisText.d.ts.map +1 -0
  50. package/dist/components/EllipsisText/index.d.ts +2 -0
  51. package/dist/components/EllipsisText/index.d.ts.map +1 -0
  52. package/dist/components/Flex/Flex.d.ts +19 -0
  53. package/dist/components/Flex/Flex.d.ts.map +1 -0
  54. package/dist/components/Flex/index.d.ts +2 -0
  55. package/dist/components/Flex/index.d.ts.map +1 -0
  56. package/dist/components/Grid/Grid.d.ts +17 -0
  57. package/dist/components/Grid/Grid.d.ts.map +1 -0
  58. package/dist/components/Grid/index.d.ts +2 -0
  59. package/dist/components/Grid/index.d.ts.map +1 -0
  60. package/dist/components/Panel/Panel.d.ts +9 -0
  61. package/dist/components/Panel/Panel.d.ts.map +1 -0
  62. package/dist/components/Panel/index.d.ts +2 -0
  63. package/dist/components/Panel/index.d.ts.map +1 -0
  64. package/dist/components/Ripple/Ripple.d.ts +5 -0
  65. package/dist/components/Ripple/Ripple.d.ts.map +1 -0
  66. package/dist/components/Ripple/index.d.ts +2 -0
  67. package/dist/components/Ripple/index.d.ts.map +1 -0
  68. package/dist/components/SearchInput/SearchInput.d.ts +8 -0
  69. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
  70. package/dist/components/SearchInput/index.d.ts +2 -0
  71. package/dist/components/SearchInput/index.d.ts.map +1 -0
  72. package/dist/components/Segmented/Segmented.d.ts +14 -0
  73. package/dist/components/Segmented/Segmented.d.ts.map +1 -0
  74. package/dist/components/Segmented/index.d.ts +2 -0
  75. package/dist/components/Segmented/index.d.ts.map +1 -0
  76. package/dist/components/Snackbar/SnackbarContainer.d.ts +8 -0
  77. package/dist/components/Snackbar/SnackbarContainer.d.ts.map +1 -0
  78. package/dist/components/Snackbar/SnackbarItem.d.ts +7 -0
  79. package/dist/components/Snackbar/SnackbarItem.d.ts.map +1 -0
  80. package/dist/components/Snackbar/SnackbarProvider.d.ts +10 -0
  81. package/dist/components/Snackbar/SnackbarProvider.d.ts.map +1 -0
  82. package/dist/components/Snackbar/context.d.ts +3 -0
  83. package/dist/components/Snackbar/context.d.ts.map +1 -0
  84. package/dist/components/Snackbar/index.d.ts +5 -0
  85. package/dist/components/Snackbar/index.d.ts.map +1 -0
  86. package/dist/components/Snackbar/types.d.ts +38 -0
  87. package/dist/components/Snackbar/types.d.ts.map +1 -0
  88. package/dist/components/SvgButton/SvgButton.d.ts +6 -0
  89. package/dist/components/SvgButton/SvgButton.d.ts.map +1 -0
  90. package/dist/components/SvgButton/index.d.ts +2 -0
  91. package/dist/components/SvgButton/index.d.ts.map +1 -0
  92. package/dist/components/Tabs/Tabs.d.ts +16 -0
  93. package/dist/components/Tabs/Tabs.d.ts.map +1 -0
  94. package/dist/components/Tabs/index.d.ts +2 -0
  95. package/dist/components/Tabs/index.d.ts.map +1 -0
  96. package/dist/components/Tappable/Tappable.d.ts +13 -0
  97. package/dist/components/Tappable/Tappable.d.ts.map +1 -0
  98. package/dist/components/Tappable/helpers.d.ts +11 -0
  99. package/dist/components/Tappable/helpers.d.ts.map +1 -0
  100. package/dist/components/Tappable/index.d.ts +2 -0
  101. package/dist/components/Tappable/index.d.ts.map +1 -0
  102. package/dist/components/ToolButton/ToolButton.d.ts +0 -3
  103. package/dist/components/ToolButton/ToolButton.d.ts.map +1 -1
  104. package/dist/components/index.d.ts +4 -0
  105. package/dist/components/index.d.ts.map +1 -1
  106. package/dist/compositions/Profile/Profile.d.ts +6 -0
  107. package/dist/compositions/Profile/Profile.d.ts.map +1 -0
  108. package/dist/compositions/Profile/index.d.ts +2 -0
  109. package/dist/compositions/Profile/index.d.ts.map +1 -0
  110. package/dist/hooks/index.d.ts +1 -0
  111. package/dist/hooks/index.d.ts.map +1 -1
  112. package/dist/hooks/use-snackbar.d.ts +2 -0
  113. package/dist/hooks/use-snackbar.d.ts.map +1 -0
  114. package/dist/index.js +1 -1
  115. package/dist/index.js.map +1 -1
  116. package/dist/src/components/Button/Button.d.ts.map +1 -1
  117. package/dist/src/components/Button/helpers.d.ts.map +1 -1
  118. package/dist/src/components/CellAction/CellAction.d.ts +1 -1
  119. package/dist/src/components/CellAction/CellAction.d.ts.map +1 -1
  120. package/dist/src/components/CellSimple/CellSimple.d.ts +0 -2
  121. package/dist/src/components/CellSimple/CellSimple.d.ts.map +1 -1
  122. package/dist/src/components/CellSimple/index.d.ts +1 -1
  123. package/dist/src/components/CellSimple/index.d.ts.map +1 -1
  124. package/dist/src/components/Dot/Dot.d.ts +10 -0
  125. package/dist/src/components/Dot/Dot.d.ts.map +1 -0
  126. package/dist/src/components/Dot/index.d.ts +2 -0
  127. package/dist/src/components/Dot/index.d.ts.map +1 -0
  128. package/dist/src/components/IconButton/helpers.d.ts.map +1 -1
  129. package/dist/src/components/Switch/Switch.d.ts +3 -0
  130. package/dist/src/components/Switch/Switch.d.ts.map +1 -1
  131. package/dist/src/components/ToolButton/ToolButton.d.ts +14 -0
  132. package/dist/src/components/ToolButton/ToolButton.d.ts.map +1 -0
  133. package/dist/src/components/ToolButton/index.d.ts +2 -0
  134. package/dist/src/components/ToolButton/index.d.ts.map +1 -0
  135. package/dist/src/components/index.d.ts +1 -0
  136. package/dist/src/components/index.d.ts.map +1 -1
  137. package/dist/src/index.d.ts +0 -1
  138. package/dist/src/index.d.ts.map +1 -1
  139. package/dist/styles.css +1 -1
  140. package/package.json +2 -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,+HA6B1B,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,+HAyB1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type InnerClassNamesProp } from '../../types';
3
+ export type ClearableInputElementKey = 'input' | 'clearButton';
4
+ export interface ClearableInputProps extends ComponentProps<'input'> {
5
+ innerClassNames?: InnerClassNamesProp<ClearableInputElementKey>;
6
+ withClearButton?: boolean;
7
+ }
8
+ export declare const ClearableInput: import("react").ForwardRefExoticComponent<Omit<ClearableInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
9
+ //# sourceMappingURL=ClearableInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableInput.d.ts","sourceRoot":"","sources":["../../../src/components/ClearableInput/ClearableInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAgD,MAAM,OAAO,CAAC;AAK1F,OAAO,EAAE,KAAK,mBAAmB,EAAqB,MAAM,aAAa,CAAC;AAS1E,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,aAAa,CAAC;AAE/D,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,OAAO,CAAC;IAClE,eAAe,CAAC,EAAE,mBAAmB,CAAC,wBAAwB,CAAC,CAAA;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,cAAc,+HA4CzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ClearableInput, type ClearableInputElementKey, type ClearableInputProps } from './ClearableInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ClearableInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type AsChildProp } from '../../types';
3
+ export interface ContainerProps extends ComponentProps<'div'>, AsChildProp {
4
+ fullWidth?: boolean;
5
+ }
6
+ export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ //# sourceMappingURL=Container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACxE,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,SAAS,wHAyBpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Container, type ContainerProps } from './Container';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ContextMenuProps } from './types';
2
+ /**
3
+ * Дерево плавающих узлов: рут и все панели подменю регистрируются в нём,
4
+ * чтобы клики по порталу подменю не считались «outside press» для корневого меню.
5
+ * Хуки внутреннего компонента должны выполняться внутри провайдера,
6
+ * поэтому ContextMenu вынесен в отдельный wrapper.
7
+ */
8
+ export declare const ContextMenu: import("react").ForwardRefExoticComponent<ContextMenuProps & import("react").RefAttributes<HTMLElement>>;
9
+ //# sourceMappingURL=ContextMenu.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,12 @@
1
+ import { type InnerClassNamesProp } from '../../types';
2
+ import { type ContextMenuInnerElementKey, type ContextMenuResolvedMode } from './types';
3
+ export interface ContextMenuContextInterface {
4
+ /** Разрешённый режим: 'desktop' — подменю сбоку, 'mobile' — аккордеон */
5
+ mode: ContextMenuResolvedMode;
6
+ /** Закрыть всё меню целиком (вместе со всеми подменю) */
7
+ close: () => void;
8
+ innerClassNames?: InnerClassNamesProp<ContextMenuInnerElementKey>;
9
+ }
10
+ export declare const ContextMenuContext: import("react").Context<ContextMenuContextInterface>;
11
+ export declare const useContextMenu: () => ContextMenuContextInterface;
12
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,20 @@
1
+ import { type ContextMenuMode, type ContextMenuOpenOn, type ContextMenuResolvedMode } from './types';
2
+ /** Задержка открытия вложенного меню при наведении на пункт (desktop) */
3
+ export declare const SUBMENU_OPEN_DELAY = 100;
4
+ /** Задержка закрытия вложенного меню — чтобы курсор успел переехать со строки на панель */
5
+ export declare const SUBMENU_CLOSE_DELAY = 300;
6
+ /** Задержки открытия/закрытия корневого меню при наведении на триггер */
7
+ export declare const TRIGGER_HOVER_DELAY: {
8
+ open: number;
9
+ close: number;
10
+ };
11
+ /** Отступ между триггером и корневым меню */
12
+ export declare const MENU_OFFSET = 4;
13
+ /** Отступ между строкой-родителем и вложенной панелью; с учётом inset строки 8px визуальный зазор между панелями — 8px */
14
+ export declare const SUBMENU_OFFSET = 16;
15
+ /** Отступ от краёв экрана при flip/shift — меню должно целиком помещаться на экране */
16
+ export declare const COLLISION_PADDING = 8;
17
+ export declare const normalizeOpenOn: (openOn: ContextMenuOpenOn | ContextMenuOpenOn[]) => ContextMenuOpenOn[];
18
+ /** Разрешает mode='auto' в 'mobile' для сенсорного указателя и 'desktop' иначе, с подпиской на изменения */
19
+ export declare const useResolvedMode: (mode: ContextMenuMode) => ContextMenuResolvedMode;
20
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAErG,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,MAAM,CAAC;AACtC,2FAA2F;AAC3F,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,yEAAyE;AACzE,eAAO,MAAM,mBAAmB;;;CAA4B,CAAC;AAC7D,6CAA6C;AAC7C,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,0HAA0H;AAC1H,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,uFAAuF;AACvF,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,eAAO,MAAM,eAAe,GAAI,QAAQ,iBAAiB,GAAG,iBAAiB,EAAE,KAAG,iBAAiB,EAElG,CAAC;AAQF,4GAA4G;AAC5G,eAAO,MAAM,eAAe,GAAI,MAAM,eAAe,KAAG,uBAsBvD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ContextMenu } from './ContextMenu';
2
+ export type { ContextMenuActionBar, ContextMenuActionButton, ContextMenuInnerElementKey, ContextMenuItem, ContextMenuItemAction, ContextMenuItemMode, ContextMenuItemNested, ContextMenuMode, ContextMenuOpenOn, ContextMenuProps, ContextMenuResolvedMode } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ContextMenuActionBar as ContextMenuActionBarButtons } from '../../types';
2
+ export interface ContextMenuActionBarProps {
3
+ buttons: ContextMenuActionBarButtons;
4
+ }
5
+ export declare const ContextMenuActionBar: {
6
+ ({ buttons }: ContextMenuActionBarProps): import("react").JSX.Element;
7
+ displayName: string;
8
+ };
9
+ //# sourceMappingURL=ContextMenuActionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuActionBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuActionBar/ContextMenuActionBar.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,IAAI,2BAA2B,EAA+B,MAAM,aAAa,CAAC;AAIpH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,2BAA2B,CAAA;CACrC;AAED,eAAO,MAAM,oBAAoB;kBAAiB,yBAAyB;;CAwC1E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuActionBar, type ContextMenuActionBarProps } from './ContextMenuActionBar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuActionBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type ContextMenuContentProps = HTMLAttributes<HTMLDivElement>;
3
+ export declare const ContextMenuContent: import("react").ForwardRefExoticComponent<ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ //# sourceMappingURL=ContextMenuContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuContent/ContextMenuContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAMxD,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAKrE,eAAO,MAAM,kBAAkB,oHAoB7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuContent, type ContextMenuContentProps } from './ContextMenuContent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type ContextMenuDividerProps = HTMLAttributes<HTMLDivElement>;
3
+ export declare const ContextMenuDivider: {
4
+ ({ className, ...rest }: ContextMenuDividerProps): import("react").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ //# sourceMappingURL=ContextMenuDivider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuDivider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuDivider/ContextMenuDivider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB;6BAA4B,uBAAuB;;CAQjF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuDivider, type ContextMenuDividerProps } from './ContextMenuDivider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuDivider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type ContextMenuItem } from '../../types';
2
+ export interface ContextMenuListProps {
3
+ items: ContextMenuItem[];
4
+ /** Вложенный уровень мобильного аккордеона — добавляет отступ слева */
5
+ nested?: boolean;
6
+ }
7
+ export declare const ContextMenuList: {
8
+ ({ items, nested }: ContextMenuListProps): import("react").JSX.Element;
9
+ displayName: string;
10
+ };
11
+ //# sourceMappingURL=ContextMenuList.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuList, type ContextMenuListProps } from './ContextMenuList';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type MouseEvent } from 'react';
2
+ import { type ContextMenuItem } from '../../types';
3
+ export interface ContextMenuRowProps {
4
+ item: ContextMenuItem;
5
+ /** Открыто ли подменю (desktop) / раскрын ли аккордеон (mobile) */
6
+ expanded?: boolean;
7
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
8
+ onMouseEnter?: () => void;
9
+ onMouseLeave?: () => void;
10
+ className?: string;
11
+ }
12
+ export declare const ContextMenuRow: import("react").ForwardRefExoticComponent<ContextMenuRowProps & import("react").RefAttributes<HTMLElement>>;
13
+ //# sourceMappingURL=ContextMenuRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuRow/ContextMenuRow.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAMxE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,eAAe,CAAA;IACrB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAClD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,cAAc,6GA2EzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuRow, type ContextMenuRowProps } from './ContextMenuRow';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type MouseEvent, type ReactNode } from 'react';
2
+ import { type ContextMenuItemNested } from '../../types';
3
+ export interface ContextMenuSubmenuProps {
4
+ item: ContextMenuItemNested;
5
+ open: boolean;
6
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
7
+ onRowMouseEnter: (id: string) => void;
8
+ onRowMouseLeave: () => void;
9
+ onPanelMouseEnter: () => void;
10
+ onPanelMouseLeave: () => void;
11
+ /** Содержимое плавающей панели подменю — вложенный ContextMenuList, который рендерит родитель */
12
+ children: ReactNode;
13
+ }
14
+ /** Desktop: строка с подменю + плавающая панель рядом с ней (справа, при нехватке места — слева) */
15
+ export declare const ContextMenuSubmenu: {
16
+ (props: ContextMenuSubmenuProps): import("react").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ //# sourceMappingURL=ContextMenuSubmenu.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export { ContextMenuSubmenu, type ContextMenuSubmenuProps } from './ContextMenuSubmenu';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/parts/ContextMenuSubmenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { ContextMenuActionBar, type ContextMenuActionBarProps } from './ContextMenuActionBar';
2
+ export { ContextMenuContent, type ContextMenuContentProps } from './ContextMenuContent';
3
+ export { ContextMenuDivider, type ContextMenuDividerProps } from './ContextMenuDivider';
4
+ export { ContextMenuList, type ContextMenuListProps } from './ContextMenuList';
5
+ export { ContextMenuRow, type ContextMenuRowProps } from './ContextMenuRow';
6
+ export { ContextMenuSubmenu, type ContextMenuSubmenuProps } from './ContextMenuSubmenu';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ContextMenu/parts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { type Placement } from '@floating-ui/react';
2
+ import { type MouseEvent, type ReactNode } from 'react';
3
+ import { type AsChildProp, type InnerClassNamesProp } from '../../types';
4
+ export type ContextMenuOpenOn = 'click' | 'hover';
5
+ export type ContextMenuMode = 'auto' | 'desktop' | 'mobile';
6
+ export type ContextMenuResolvedMode = 'desktop' | 'mobile';
7
+ export type ContextMenuItemMode = 'default' | 'destructive';
8
+ export type ContextMenuInnerElementKey = 'trigger' | 'content' | 'actionBar' | 'actionBarButton' | 'actionBarButtonIcon' | 'actionBarButtonLabel' | 'list' | 'row' | 'before' | 'label' | 'hint' | 'chevron' | 'accordion' | 'divider';
9
+ /** Кнопка Action bar — опциональной панели сверху меню */
10
+ export interface ContextMenuActionButton {
11
+ id: string;
12
+ icon: ReactNode;
13
+ /** Подпись под иконкой, необязательная */
14
+ label?: ReactNode;
15
+ disabled?: boolean;
16
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
17
+ }
18
+ /** По спеке в Action bar может быть только 2 или 3 кнопки, меньше двух — нельзя */
19
+ export type ContextMenuActionBar = [ContextMenuActionButton, ContextMenuActionButton] | [ContextMenuActionButton, ContextMenuActionButton, ContextMenuActionButton];
20
+ interface ContextMenuItemBase {
21
+ /** Уникальный идентификатор пункта */
22
+ id: string;
23
+ /** Основной текст пункта */
24
+ label: ReactNode;
25
+ /** Слот слева (иконка и любой другой контент) */
26
+ before?: ReactNode;
27
+ /**
28
+ * Зарезервировать место под иконку слева, когда `before` не задан.
29
+ * Используется, если у большинства пунктов меню есть иконки — так текст остаётся на одной оси.
30
+ */
31
+ offset?: boolean;
32
+ /** Разделитель над пунктом (группировка пунктов); перед первой строкой не рисуется */
33
+ divider?: boolean;
34
+ /** 'destructive' — красный текст пункта */
35
+ mode?: ContextMenuItemMode;
36
+ disabled?: boolean;
37
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
38
+ }
39
+ /** Обычный пункт: справа может быть вспомогательный контент (например, хоткей) */
40
+ export interface ContextMenuItemAction extends ContextMenuItemBase {
41
+ hint?: ReactNode;
42
+ items?: undefined;
43
+ }
44
+ /** Вложенный пункт: справа автоматически рисуется Chevron, вспомогательный текст не предусмотрен */
45
+ export interface ContextMenuItemNested extends ContextMenuItemBase {
46
+ /** Вложенное подменю, глубина не ограничена */
47
+ items: ContextMenuItem[];
48
+ hint?: undefined;
49
+ }
50
+ export type ContextMenuItem = ContextMenuItemAction | ContextMenuItemNested;
51
+ export interface ContextMenuProps extends AsChildProp {
52
+ /** Пункты меню */
53
+ items: ContextMenuItem[];
54
+ /** Action bar сверху меню: 2–3 кнопки, Divider после него добавляется автоматически */
55
+ actionBar?: ContextMenuActionBar;
56
+ /** Элемент, по которому открывается меню (кнопка, объект, выделенный текст и т.д.) */
57
+ children: ReactNode;
58
+ /** Способ открытия меню; можно передать оба значения сразу. Default: 'click' */
59
+ openOn?: ContextMenuOpenOn | ContextMenuOpenOn[];
60
+ /**
61
+ * 'desktop' — вложенные меню открываются рядом при наведении;
62
+ * 'mobile' — вложенные меню раскрываются аккордеоном внутри основного;
63
+ * 'auto' — определяется по типу указателя (matchMedia '(pointer: coarse)'). Default: 'auto'
64
+ */
65
+ mode?: ContextMenuMode;
66
+ /** Расположение корневого меню относительно триггера; при нехватке места переворачивается. Default: 'bottom-start' */
67
+ placement?: Placement;
68
+ /** Controlled-состояние открытости */
69
+ open?: boolean;
70
+ defaultOpen?: boolean;
71
+ onOpenChange?: (open: boolean) => void;
72
+ /** Класс триггера (обёртки, если не используется asChild) */
73
+ className?: string;
74
+ innerClassNames?: InnerClassNamesProp<ContextMenuInnerElementKey>;
75
+ }
76
+ export {};
77
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/types.ts"],"names":[],"mappings":"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"}
@@ -3,8 +3,5 @@ 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
- */
9
6
  export declare const Dot: import("react").ForwardRefExoticComponent<Omit<DotProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
10
7
  //# 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;;GAEG;AACH,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,eAAO,MAAM,GAAG,mHAgBd,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type AsChildProp } from '../../types';
3
+ export interface EllipsisTextProps extends ComponentProps<'div'>, AsChildProp {
4
+ /**
5
+ * Максимальное количество видимых строк
6
+ *
7
+ * FYI: при `maxLines > 1` используется свойство line-clamp, которое поддерживается не всеми версиями браузеров
8
+ *
9
+ * https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
10
+ */
11
+ maxLines?: number;
12
+ }
13
+ export declare const EllipsisText: import("react").ForwardRefExoticComponent<Omit<EllipsisTextProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ //# sourceMappingURL=EllipsisText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EllipsisText.d.ts","sourceRoot":"","sources":["../../../src/components/EllipsisText/EllipsisText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IAC3E;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,YAAY,2HA+BvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EllipsisText, type EllipsisTextProps } from './EllipsisText';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EllipsisText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type AsChildProp } from '../../types';
3
+ export type FlexDisplay = 'flex' | 'inline-flex';
4
+ export type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
5
+ export type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
6
+ export type FlexJustify = 'start' | 'center' | 'end' | 'space-between';
7
+ export type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
8
+ export interface FlexProps extends ComponentProps<'div'>, AsChildProp {
9
+ display?: FlexDisplay;
10
+ direction?: FlexDirection;
11
+ align?: FlexAlign;
12
+ justify?: FlexJustify;
13
+ wrap?: FlexWrap;
14
+ gap?: number | string;
15
+ gapX?: number | string;
16
+ gapY?: number | string;
17
+ }
18
+ export declare const Flex: import("react").ForwardRefExoticComponent<Omit<FlexProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
+ //# sourceMappingURL=Flex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAChF,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AACtF,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AACvE,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,CAAC;AAE1D,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACnE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,IAAI,mHAoCf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Flex, type FlexAlign, type FlexDirection, type FlexDisplay, type FlexJustify, type FlexProps, type FlexWrap } from './Flex';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type AsChildProp } from '../../types';
3
+ export type GridDisplay = 'grid' | 'inline-grid';
4
+ export type GridAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
5
+ export type GridJustify = 'start' | 'center' | 'end' | 'space-between';
6
+ export interface GridProps extends ComponentProps<'div'>, AsChildProp {
7
+ display?: GridDisplay;
8
+ align?: GridAlign;
9
+ justify?: GridJustify;
10
+ gap?: number | string;
11
+ gapX?: number | string;
12
+ gapY?: number | string;
13
+ cols?: number;
14
+ rows?: number;
15
+ }
16
+ export declare const Grid: import("react").ForwardRefExoticComponent<Omit<GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
17
+ //# sourceMappingURL=Grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;AAC5E,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,eAAe,CAAC;AAEvE,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IACnE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,IAAI,mHAoCf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Grid, type GridAlign, type GridDisplay, type GridJustify, type GridProps } from './Grid';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ComponentProps } from 'react';
2
+ export type PanelMode = 'primary' | 'secondary';
3
+ export interface PanelProps extends ComponentProps<'div'> {
4
+ mode?: PanelMode;
5
+ centeredX?: boolean;
6
+ centeredY?: boolean;
7
+ }
8
+ export declare const Panel: import("react").ForwardRefExoticComponent<Omit<PanelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ //# sourceMappingURL=Panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEhD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,KAAK,CAAC;IACvD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,KAAK,oHA0BhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Panel, type PanelMode, type PanelProps } from './Panel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ComponentProps } from 'react';
2
+ export interface RippleProps extends ComponentProps<'span'> {
3
+ }
4
+ export declare const Ripple: import("react").ForwardRefExoticComponent<Omit<RippleProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
5
+ //# sourceMappingURL=Ripple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ripple.d.ts","sourceRoot":"","sources":["../../../src/components/Ripple/Ripple.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAiC,MAAM,OAAO,CAAC;AAK3E,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAE9D,eAAO,MAAM,MAAM,sHAkEjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Ripple, type RippleProps } from './Ripple';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Ripple/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type ComponentProps } from 'react';
2
+ import { type InnerClassNamesProp } from '../../types';
3
+ export type SearchInputElementKey = 'input' | 'clearButton' | 'body';
4
+ export interface SearchInputProps extends ComponentProps<'input'> {
5
+ innerClassNames?: InnerClassNamesProp<SearchInputElementKey>;
6
+ }
7
+ export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
8
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,CAAC;AAErE,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,OAAO,CAAC;IAC/D,eAAe,CAAC,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,CAAA;CAC7D;AAED,eAAO,MAAM,WAAW,4HAiCtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SearchInput, type SearchInputElementKey, type SearchInputProps } from './SearchInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { InnerClassNamesProp } from "../../types";
2
+ export type SegmentedElementKey = 'list' | 'item';
3
+ export interface SegmentedItem {
4
+ id: string;
5
+ title: string;
6
+ }
7
+ export interface SegmentedProps {
8
+ items: SegmentedItem[];
9
+ activeItem: string;
10
+ onClick: (id: string) => void;
11
+ innerClassNames?: InnerClassNamesProp<SegmentedElementKey>;
12
+ }
13
+ export declare const Segmented: ({ items, activeItem, onClick, innerClassNames }: SegmentedProps) => import("react").JSX.Element;
14
+ //# sourceMappingURL=Segmented.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Segmented.d.ts","sourceRoot":"","sources":["../../../src/components/Segmented/Segmented.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAAC;AAClD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,eAAe,CAAC,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;CAC3D;AAED,eAAO,MAAM,SAAS,GAAI,iDAA+C,cAAc,gCA0DtF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Segmented, type SegmentedElementKey, type SegmentedItem, type SegmentedProps } from './Segmented';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Segmented/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,mBAAmB,EAAC,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type SnackbarItemProps } from './SnackbarItem';
2
+ import type { SnackbarQueueItem } from './types';
3
+ export interface SnackbarContainerProps {
4
+ queue: SnackbarQueueItem[];
5
+ onExited?: SnackbarItemProps['onExited'];
6
+ }
7
+ export declare function SnackbarContainer({ queue, onExited }: SnackbarContainerProps): import("react").JSX.Element;
8
+ //# sourceMappingURL=SnackbarContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnackbarContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/SnackbarContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;CAC1C;AA0ED,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BA2B5E"}