@teamturing/react-kit 2.46.5 → 2.47.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.
- package/dist/core/AvatarGroup/AvatarGroupItem.d.ts +10 -0
- package/dist/core/AvatarGroup/index.d.ts +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2706 -2569
- package/esm/core/Avatar/index.js +2 -2
- package/esm/core/AvatarGroup/AvatarGroupItem.js +29 -0
- package/esm/core/AvatarGroup/index.js +128 -0
- package/esm/core/FormControl/FormControlTooltipIcon.js +1 -0
- package/esm/index.js +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LiHTMLAttributes } from 'react';
|
|
2
|
+
import { AvatarProps } from '../Avatar';
|
|
3
|
+
type Props = {
|
|
4
|
+
alt: NonNullable<AvatarProps['alt']>;
|
|
5
|
+
} & Omit<AvatarProps, 'size' | 'alt'> & Pick<LiHTMLAttributes<HTMLElement>, 'onClick'>;
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<{
|
|
7
|
+
alt: string;
|
|
8
|
+
} & Omit<AvatarProps, "size" | "alt"> & Pick<LiHTMLAttributes<HTMLElement>, "onClick"> & import("react").RefAttributes<HTMLImageElement>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
export type { Props as AvatarGroupItemProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProp } from '../../utils/styled-system';
|
|
3
|
+
type Props = {
|
|
4
|
+
maxItemCount?: number;
|
|
5
|
+
} & SxProp;
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<{
|
|
7
|
+
maxItemCount?: number | undefined;
|
|
8
|
+
} & SxProp & {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
} & React.RefAttributes<HTMLDivElement>> & {
|
|
11
|
+
Item: React.ForwardRefExoticComponent<{
|
|
12
|
+
alt: string;
|
|
13
|
+
} & Omit<import("../Avatar").AvatarProps, "size" | "alt"> & Pick<React.LiHTMLAttributes<HTMLElement>, "onClick"> & React.RefAttributes<HTMLImageElement>>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export type { Props as AvatarGroupProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export { default as AnimatePresence } from './core/AnimatePresence';
|
|
|
9
9
|
export type { AnimatePresenceProps } from './core/AnimatePresence';
|
|
10
10
|
export { default as Avatar } from './core/Avatar';
|
|
11
11
|
export type { AvatarProps } from './core/Avatar';
|
|
12
|
+
export { default as AvatarGroup } from './core/AvatarGroup';
|
|
13
|
+
export type { AvatarGroupProps } from './core/AvatarGroup';
|
|
12
14
|
export { default as BadgeAttacher } from './core/BadgeAttacher';
|
|
13
15
|
export type { BadgeAttacherProps } from './core/BadgeAttacher';
|
|
14
16
|
export { default as Breadcrumbs } from './core/Breadcrumbs';
|