@majoo-ui/react 1.39.1-alpha → 1.40.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/README.md +7 -7
- package/components/devicePreview/DevicePreview.d.ts +46 -0
- package/components/devicePreview/index.d.ts +2 -0
- package/index.esm.js +5390 -1562
- package/index.umd.js +5431 -1591
- package/package.json +9 -7
- package/colors/index.d.ts +0 -1
- package/components/index.d.ts +0 -35
- package/components/tooltip/Tooltip.d.ts +0 -30
- package/components/tooltip/index.d.ts +0 -1
- package/index.d.ts +0 -4
- package/layout/index.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.2",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@majoo-ui/core": "^1.30.2",
|
|
6
6
|
"@majoo-ui/helpers": "^1.30.2",
|
|
7
|
-
"@majoo-ui/icons": "^1.
|
|
8
|
-
"@stitches/react": "^1.2.
|
|
7
|
+
"@majoo-ui/icons": "^1.36.0",
|
|
8
|
+
"@stitches/react": "^1.2.8",
|
|
9
9
|
"@radix-ui/react-alert-dialog": "^0.1.7",
|
|
10
10
|
"@radix-ui/react-avatar": "^0.1.4",
|
|
11
|
+
"@radix-ui/react-aspect-ratio": "^0.1.4",
|
|
11
12
|
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
12
13
|
"@radix-ui/react-popover": "^0.1.6",
|
|
13
14
|
"@radix-ui/react-tooltip": "^0.1.7",
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
"dayzed": "^3.2.2",
|
|
30
31
|
"react-table": "^7.7.0",
|
|
31
32
|
"lodash.debounce": "^4.0.8",
|
|
32
|
-
"@floating-ui/react-dom-interactions": "^0.6.0"
|
|
33
|
+
"@floating-ui/react-dom-interactions": "^0.6.0",
|
|
34
|
+
"react-color": "^2.19.3"
|
|
33
35
|
},
|
|
34
36
|
"main": "./index.umd.js",
|
|
35
37
|
"module": "./index.esm.js",
|
|
@@ -42,9 +44,9 @@
|
|
|
42
44
|
"react-dom": "17.0.2",
|
|
43
45
|
"recharts": "^2.1.9",
|
|
44
46
|
"moment": "^2.29.2",
|
|
45
|
-
"@radix-ui/react-dialog": "^0.1.7",
|
|
46
|
-
"react-hook-form": "^7.31.3",
|
|
47
47
|
"@hookform/resolvers": "^2.8.10",
|
|
48
|
-
"
|
|
48
|
+
"react-hook-form": "^7.31.3",
|
|
49
|
+
"yup": "^0.32.11",
|
|
50
|
+
"@radix-ui/react-dialog": "^0.1.7"
|
|
49
51
|
}
|
|
50
52
|
}
|
package/colors/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Colors';
|
package/components/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
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';
|
|
@@ -1,30 +0,0 @@
|
|
|
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 extends TooltipPrimitive.TooltipProps {
|
|
11
|
-
/**
|
|
12
|
-
* Please insert children with react component
|
|
13
|
-
* @defaultValue '<div/>'
|
|
14
|
-
*/
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Please insert label with string
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* Please insert color with string 'light' | 'dark'
|
|
22
|
-
*/
|
|
23
|
-
color: ColorProps;
|
|
24
|
-
css: Stitches.CSS;
|
|
25
|
-
withClick?: boolean;
|
|
26
|
-
side?: Side;
|
|
27
|
-
align?: Align;
|
|
28
|
-
}
|
|
29
|
-
declare const Tooltip: ({ children, label, color, css, withClick, side, align, ...rest }: ITooltipProps) => JSX.Element;
|
|
30
|
-
export default Tooltip;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Tooltip } from './Tooltip';
|
package/index.d.ts
DELETED
package/layout/index.d.ts
DELETED