@majoo-ui/react 1.38.1-alpha → 1.38.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.d.ts +35 -0
- package/components/tooltip/Tooltip.d.ts +20 -0
- package/components/tooltip/index.d.ts +1 -0
- package/index.d.ts +4 -9765
- package/index.esm.js +1498 -1198
- package/index.umd.js +1520 -1213
- package/package.json +15 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from './banner';
|
|
2
|
+
export * from './button';
|
|
3
|
+
export * from './card';
|
|
4
|
+
export * from './heading';
|
|
5
|
+
export * from './text';
|
|
6
|
+
export * from './paragraph';
|
|
7
|
+
export * from './breadcrumb';
|
|
8
|
+
export * from './badge';
|
|
9
|
+
export * from './avatar';
|
|
10
|
+
export * from './image';
|
|
11
|
+
export * from './tooltip';
|
|
12
|
+
export * from './progress';
|
|
13
|
+
export * from './toast';
|
|
14
|
+
export * from './form';
|
|
15
|
+
export * from './popover';
|
|
16
|
+
export * from './slider';
|
|
17
|
+
export * from './tag';
|
|
18
|
+
export * from './tagStatus';
|
|
19
|
+
export * from './tabs';
|
|
20
|
+
export * from './separator';
|
|
21
|
+
export * from './buttonGroup';
|
|
22
|
+
export * from './notificationBadge';
|
|
23
|
+
export * from './paper';
|
|
24
|
+
export * from './iconButton';
|
|
25
|
+
export * from './modalDialog';
|
|
26
|
+
export * from './drawer';
|
|
27
|
+
export * from './accordion';
|
|
28
|
+
export * from './datePicker';
|
|
29
|
+
export * from './table';
|
|
30
|
+
export * from './pagination';
|
|
31
|
+
export * from './pageDialog';
|
|
32
|
+
export * from './dialog';
|
|
33
|
+
export * from './alertDialog';
|
|
34
|
+
export * from './dropdownMenu';
|
|
35
|
+
export * from './upload';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
import type * as Stitches from '@stitches/react';
|
|
4
|
+
import { Side, Align } from '@radix-ui/popper';
|
|
5
|
+
export declare const TooltipBase: any;
|
|
6
|
+
export declare const Provider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
7
|
+
export declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export declare const TooltipContent: any;
|
|
9
|
+
declare type ColorProps = 'light' | 'dark';
|
|
10
|
+
export interface ITooltipProps {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
label: string;
|
|
13
|
+
color: ColorProps;
|
|
14
|
+
css: Stitches.CSS;
|
|
15
|
+
withClick?: boolean;
|
|
16
|
+
side?: Side;
|
|
17
|
+
align?: Align;
|
|
18
|
+
}
|
|
19
|
+
declare const Tooltip: ({ children, label, color, css, withClick, side, align, ...rest }: ITooltipProps) => JSX.Element;
|
|
20
|
+
export default Tooltip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tooltip } from './Tooltip';
|