@opencx/widget-react 4.0.7 → 4.0.9
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/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +923 -880
- package/dist/index.js.map +1 -1
- package/dist/src/components/Dialoger.d.ts +39 -0
- package/dist/src/components/RichText.d.ts +6 -0
- package/dist/src/components/lib/button.d.ts +1 -1
- package/dist-embed/script.js +98 -102
- package/dist-embed/script.js.map +1 -1
- package/package.json +10 -11
- package/dist/src/components/lib/dialog.d.ts +0 -24
- package/dist/src/components/lib/widget-portal.d.ts +0 -9
- /package/dist/src/components/{markdown.d.ts → MemoizedReactMarkdown.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencx/widget-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -20,27 +20,26 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
23
|
-
"@radix-ui/react-dialog": "^1.1.5",
|
|
24
23
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
25
24
|
"@radix-ui/react-popover": "^1.1.2",
|
|
26
25
|
"@radix-ui/react-slot": "^1.1.0",
|
|
27
26
|
"@radix-ui/react-switch": "^1.1.0",
|
|
28
27
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
28
|
+
"@uiw/react-iframe": "^1.0.3",
|
|
29
|
+
"class-variance-authority": "^0.7.0",
|
|
29
30
|
"clsx": "^2.1.1",
|
|
30
31
|
"framer-motion": "^11.3.30",
|
|
31
32
|
"lucide-react": "^0.436.0",
|
|
32
33
|
"react-dropzone": "^14.3.5",
|
|
33
|
-
"tinycolor2": "^1.6.0",
|
|
34
|
-
"zod": "^3.23.8",
|
|
35
34
|
"react-markdown": "^9.0.1",
|
|
36
35
|
"react-use": "^17.5.1",
|
|
37
36
|
"rehype-raw": "^7.0.0",
|
|
38
37
|
"remark-gfm": "^4.0.0",
|
|
39
38
|
"tailwind-merge": "^2.4.0",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"@opencx/widget-core": "4.0.
|
|
43
|
-
"@opencx/widget-react-headless": "4.0.
|
|
39
|
+
"tinycolor2": "^1.6.0",
|
|
40
|
+
"zod": "^3.23.8",
|
|
41
|
+
"@opencx/widget-core": "4.0.9",
|
|
42
|
+
"@opencx/widget-react-headless": "4.0.9"
|
|
44
43
|
},
|
|
45
44
|
"peerDependencies": {
|
|
46
45
|
"@types/react": ">=18 <20",
|
|
@@ -51,11 +50,11 @@
|
|
|
51
50
|
"devDependencies": {
|
|
52
51
|
"@tailwindcss/typography": "^0.5.15",
|
|
53
52
|
"@types/tinycolor2": "^1.4.6",
|
|
53
|
+
"postcss": "^8.4.41",
|
|
54
54
|
"tailwindcss": "^3.4.6",
|
|
55
55
|
"tailwindcss-animate": "^1.0.7",
|
|
56
|
-
"
|
|
57
|
-
"@opencx/eslint-config": "0.0.0"
|
|
58
|
-
"@opencx/tsconfig": "0.0.0"
|
|
56
|
+
"@opencx/tsconfig": "0.0.0",
|
|
57
|
+
"@opencx/eslint-config": "0.0.0"
|
|
59
58
|
},
|
|
60
59
|
"scripts": {
|
|
61
60
|
"clean": "rm -rf node_modules dist .turbo",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
8
|
-
withClose?: boolean;
|
|
9
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const DialogHeader: {
|
|
11
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
declare const DialogBody: {
|
|
15
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
declare const DialogFooter: {
|
|
19
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
23
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
24
|
-
export { Dialog, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
declare function WidgetPortal(): null;
|
|
3
|
-
declare namespace WidgetPortal {
|
|
4
|
-
var Portal: ({ children }: {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}) => React.ReactPortal | null;
|
|
7
|
-
var Container: () => React.JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export { WidgetPortal };
|
|
File without changes
|