@loja-integrada/admin-components 0.18.1 → 0.18.3
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/Components/TableList/TableListItem.interface.d.ts +8 -0
- package/dist/Components/Timeline/TimelineItem.interface.d.ts +4 -0
- package/dist/admin-components.cjs.development.js +746 -733
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +746 -733
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/TableList/TableList.stories.tsx +1 -1
- package/src/Components/TableList/TableListItem.interface.ts +8 -0
- package/src/Components/TableList/TableListItem.spec.tsx +0 -1
- package/src/Components/TableList/TableListItem.tsx +13 -1
- package/src/Components/Timeline/Timeline.spec.tsx +14 -0
- package/src/Components/Timeline/Timeline.stories.tsx +4 -2
- package/src/Components/Timeline/TimelineItem.interface.ts +4 -0
- package/src/Components/Timeline/TimelineItem.tsx +3 -2
- package/src/Indicators/Tooltip/Tooltip.tsx +4 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { TippyProps } from '@tippyjs/react';
|
|
2
3
|
import { IconProps } from '../../Icons';
|
|
3
4
|
export declare type TableListItemWrapperProp = React.ComponentClass<any> | React.FunctionComponent<any>;
|
|
4
5
|
export interface TableListItemProps {
|
|
@@ -34,6 +35,13 @@ export interface TableListItemProps {
|
|
|
34
35
|
* Icon to use
|
|
35
36
|
*/
|
|
36
37
|
icon?: IconProps['icon'];
|
|
38
|
+
/**
|
|
39
|
+
* Tooltip to use
|
|
40
|
+
*/
|
|
41
|
+
tooltip?: {
|
|
42
|
+
message: string;
|
|
43
|
+
placement?: TippyProps['placement'];
|
|
44
|
+
};
|
|
37
45
|
};
|
|
38
46
|
/** Force border top at desktop even if is first item
|
|
39
47
|
* @default false
|