@aquiles-ai/renderize 1.5.0 → 1.7.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/index.cjs +29 -29
- package/dist/index.js +29 -29
- package/package.json +1 -1
- package/src/Renderize.tsx +1 -1
- package/src/template.ts +28 -28
package/dist/index.cjs
CHANGED
|
@@ -45,37 +45,37 @@ function buildTemplate(code) {
|
|
|
45
45
|
"react/jsx-runtime": "https://esm.sh/react@18/jsx-runtime",
|
|
46
46
|
"react-dom": "https://esm.sh/react-dom@18",
|
|
47
47
|
"react-dom/client": "https://esm.sh/react-dom@18/client",
|
|
48
|
-
"lucide-react": "https://esm.sh/lucide-react
|
|
48
|
+
"lucide-react": "https://esm.sh/lucide-react?external=react",
|
|
49
49
|
"clsx": "https://esm.sh/clsx",
|
|
50
50
|
"class-variance-authority": "https://esm.sh/class-variance-authority",
|
|
51
51
|
"tailwind-merge": "https://esm.sh/tailwind-merge",
|
|
52
|
-
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion",
|
|
53
|
-
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog",
|
|
54
|
-
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar",
|
|
55
|
-
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox",
|
|
56
|
-
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible",
|
|
57
|
-
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu",
|
|
58
|
-
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog",
|
|
59
|
-
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu",
|
|
60
|
-
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card",
|
|
61
|
-
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label",
|
|
62
|
-
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar",
|
|
63
|
-
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu",
|
|
64
|
-
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover",
|
|
65
|
-
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress",
|
|
66
|
-
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group",
|
|
67
|
-
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area",
|
|
68
|
-
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select",
|
|
69
|
-
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator",
|
|
70
|
-
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider",
|
|
71
|
-
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot",
|
|
72
|
-
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch",
|
|
73
|
-
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs",
|
|
74
|
-
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast",
|
|
75
|
-
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle",
|
|
76
|
-
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group",
|
|
77
|
-
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar",
|
|
78
|
-
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip"
|
|
52
|
+
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion?external=react,react-dom",
|
|
53
|
+
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog?external=react,react-dom",
|
|
54
|
+
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar?external=react,react-dom",
|
|
55
|
+
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox?external=react,react-dom",
|
|
56
|
+
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible?external=react,react-dom",
|
|
57
|
+
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu?external=react,react-dom",
|
|
58
|
+
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog?external=react,react-dom",
|
|
59
|
+
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu?external=react,react-dom",
|
|
60
|
+
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card?external=react,react-dom",
|
|
61
|
+
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label?external=react,react-dom",
|
|
62
|
+
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar?external=react,react-dom",
|
|
63
|
+
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu?external=react,react-dom",
|
|
64
|
+
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover?external=react,react-dom",
|
|
65
|
+
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress?external=react,react-dom",
|
|
66
|
+
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group?external=react,react-dom",
|
|
67
|
+
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area?external=react,react-dom",
|
|
68
|
+
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select?external=react,react-dom",
|
|
69
|
+
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator?external=react,react-dom",
|
|
70
|
+
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider?external=react,react-dom",
|
|
71
|
+
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot?external=react,react-dom",
|
|
72
|
+
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch?external=react,react-dom",
|
|
73
|
+
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs?external=react,react-dom",
|
|
74
|
+
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast?external=react,react-dom",
|
|
75
|
+
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle?external=react,react-dom",
|
|
76
|
+
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group?external=react,react-dom",
|
|
77
|
+
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar?external=react,react-dom",
|
|
78
|
+
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip?external=react,react-dom"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
</script>
|
|
@@ -137,7 +137,7 @@ function Renderize({
|
|
|
137
137
|
{
|
|
138
138
|
srcDoc,
|
|
139
139
|
title: "Renderize Sandbox",
|
|
140
|
-
sandbox: "allow-scripts",
|
|
140
|
+
sandbox: "allow-scripts allow-forms allow-modals allow-popups allow-downloads",
|
|
141
141
|
style: {
|
|
142
142
|
width: "100%",
|
|
143
143
|
height: "100%",
|
package/dist/index.js
CHANGED
|
@@ -19,37 +19,37 @@ function buildTemplate(code) {
|
|
|
19
19
|
"react/jsx-runtime": "https://esm.sh/react@18/jsx-runtime",
|
|
20
20
|
"react-dom": "https://esm.sh/react-dom@18",
|
|
21
21
|
"react-dom/client": "https://esm.sh/react-dom@18/client",
|
|
22
|
-
"lucide-react": "https://esm.sh/lucide-react
|
|
22
|
+
"lucide-react": "https://esm.sh/lucide-react?external=react",
|
|
23
23
|
"clsx": "https://esm.sh/clsx",
|
|
24
24
|
"class-variance-authority": "https://esm.sh/class-variance-authority",
|
|
25
25
|
"tailwind-merge": "https://esm.sh/tailwind-merge",
|
|
26
|
-
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion",
|
|
27
|
-
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog",
|
|
28
|
-
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar",
|
|
29
|
-
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox",
|
|
30
|
-
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible",
|
|
31
|
-
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu",
|
|
32
|
-
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog",
|
|
33
|
-
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu",
|
|
34
|
-
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card",
|
|
35
|
-
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label",
|
|
36
|
-
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar",
|
|
37
|
-
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu",
|
|
38
|
-
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover",
|
|
39
|
-
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress",
|
|
40
|
-
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group",
|
|
41
|
-
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area",
|
|
42
|
-
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select",
|
|
43
|
-
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator",
|
|
44
|
-
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider",
|
|
45
|
-
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot",
|
|
46
|
-
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch",
|
|
47
|
-
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs",
|
|
48
|
-
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast",
|
|
49
|
-
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle",
|
|
50
|
-
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group",
|
|
51
|
-
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar",
|
|
52
|
-
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip"
|
|
26
|
+
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion?external=react,react-dom",
|
|
27
|
+
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog?external=react,react-dom",
|
|
28
|
+
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar?external=react,react-dom",
|
|
29
|
+
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox?external=react,react-dom",
|
|
30
|
+
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible?external=react,react-dom",
|
|
31
|
+
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu?external=react,react-dom",
|
|
32
|
+
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog?external=react,react-dom",
|
|
33
|
+
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu?external=react,react-dom",
|
|
34
|
+
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card?external=react,react-dom",
|
|
35
|
+
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label?external=react,react-dom",
|
|
36
|
+
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar?external=react,react-dom",
|
|
37
|
+
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu?external=react,react-dom",
|
|
38
|
+
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover?external=react,react-dom",
|
|
39
|
+
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress?external=react,react-dom",
|
|
40
|
+
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group?external=react,react-dom",
|
|
41
|
+
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area?external=react,react-dom",
|
|
42
|
+
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select?external=react,react-dom",
|
|
43
|
+
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator?external=react,react-dom",
|
|
44
|
+
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider?external=react,react-dom",
|
|
45
|
+
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot?external=react,react-dom",
|
|
46
|
+
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch?external=react,react-dom",
|
|
47
|
+
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs?external=react,react-dom",
|
|
48
|
+
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast?external=react,react-dom",
|
|
49
|
+
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle?external=react,react-dom",
|
|
50
|
+
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group?external=react,react-dom",
|
|
51
|
+
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar?external=react,react-dom",
|
|
52
|
+
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip?external=react,react-dom"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
</script>
|
|
@@ -111,7 +111,7 @@ function Renderize({
|
|
|
111
111
|
{
|
|
112
112
|
srcDoc,
|
|
113
113
|
title: "Renderize Sandbox",
|
|
114
|
-
sandbox: "allow-scripts",
|
|
114
|
+
sandbox: "allow-scripts allow-forms allow-modals allow-popups allow-downloads",
|
|
115
115
|
style: {
|
|
116
116
|
width: "100%",
|
|
117
117
|
height: "100%",
|
package/package.json
CHANGED
package/src/Renderize.tsx
CHANGED
package/src/template.ts
CHANGED
|
@@ -15,37 +15,37 @@ export function buildTemplate(code: string): string {
|
|
|
15
15
|
"react/jsx-runtime": "https://esm.sh/react@18/jsx-runtime",
|
|
16
16
|
"react-dom": "https://esm.sh/react-dom@18",
|
|
17
17
|
"react-dom/client": "https://esm.sh/react-dom@18/client",
|
|
18
|
-
"lucide-react": "https://esm.sh/lucide-react
|
|
18
|
+
"lucide-react": "https://esm.sh/lucide-react?external=react",
|
|
19
19
|
"clsx": "https://esm.sh/clsx",
|
|
20
20
|
"class-variance-authority": "https://esm.sh/class-variance-authority",
|
|
21
21
|
"tailwind-merge": "https://esm.sh/tailwind-merge",
|
|
22
|
-
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion",
|
|
23
|
-
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog",
|
|
24
|
-
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar",
|
|
25
|
-
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox",
|
|
26
|
-
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible",
|
|
27
|
-
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu",
|
|
28
|
-
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog",
|
|
29
|
-
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu",
|
|
30
|
-
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card",
|
|
31
|
-
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label",
|
|
32
|
-
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar",
|
|
33
|
-
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu",
|
|
34
|
-
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover",
|
|
35
|
-
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress",
|
|
36
|
-
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group",
|
|
37
|
-
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area",
|
|
38
|
-
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select",
|
|
39
|
-
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator",
|
|
40
|
-
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider",
|
|
41
|
-
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot",
|
|
42
|
-
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch",
|
|
43
|
-
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs",
|
|
44
|
-
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast",
|
|
45
|
-
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle",
|
|
46
|
-
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group",
|
|
47
|
-
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar",
|
|
48
|
-
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip"
|
|
22
|
+
"@radix-ui/react-accordion": "https://esm.sh/@radix-ui/react-accordion?external=react,react-dom",
|
|
23
|
+
"@radix-ui/react-alert-dialog": "https://esm.sh/@radix-ui/react-alert-dialog?external=react,react-dom",
|
|
24
|
+
"@radix-ui/react-avatar": "https://esm.sh/@radix-ui/react-avatar?external=react,react-dom",
|
|
25
|
+
"@radix-ui/react-checkbox": "https://esm.sh/@radix-ui/react-checkbox?external=react,react-dom",
|
|
26
|
+
"@radix-ui/react-collapsible": "https://esm.sh/@radix-ui/react-collapsible?external=react,react-dom",
|
|
27
|
+
"@radix-ui/react-context-menu": "https://esm.sh/@radix-ui/react-context-menu?external=react,react-dom",
|
|
28
|
+
"@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog?external=react,react-dom",
|
|
29
|
+
"@radix-ui/react-dropdown-menu": "https://esm.sh/@radix-ui/react-dropdown-menu?external=react,react-dom",
|
|
30
|
+
"@radix-ui/react-hover-card": "https://esm.sh/@radix-ui/react-hover-card?external=react,react-dom",
|
|
31
|
+
"@radix-ui/react-label": "https://esm.sh/@radix-ui/react-label?external=react,react-dom",
|
|
32
|
+
"@radix-ui/react-menubar": "https://esm.sh/@radix-ui/react-menubar?external=react,react-dom",
|
|
33
|
+
"@radix-ui/react-navigation-menu": "https://esm.sh/@radix-ui/react-navigation-menu?external=react,react-dom",
|
|
34
|
+
"@radix-ui/react-popover": "https://esm.sh/@radix-ui/react-popover?external=react,react-dom",
|
|
35
|
+
"@radix-ui/react-progress": "https://esm.sh/@radix-ui/react-progress?external=react,react-dom",
|
|
36
|
+
"@radix-ui/react-radio-group": "https://esm.sh/@radix-ui/react-radio-group?external=react,react-dom",
|
|
37
|
+
"@radix-ui/react-scroll-area": "https://esm.sh/@radix-ui/react-scroll-area?external=react,react-dom",
|
|
38
|
+
"@radix-ui/react-select": "https://esm.sh/@radix-ui/react-select?external=react,react-dom",
|
|
39
|
+
"@radix-ui/react-separator": "https://esm.sh/@radix-ui/react-separator?external=react,react-dom",
|
|
40
|
+
"@radix-ui/react-slider": "https://esm.sh/@radix-ui/react-slider?external=react,react-dom",
|
|
41
|
+
"@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot?external=react,react-dom",
|
|
42
|
+
"@radix-ui/react-switch": "https://esm.sh/@radix-ui/react-switch?external=react,react-dom",
|
|
43
|
+
"@radix-ui/react-tabs": "https://esm.sh/@radix-ui/react-tabs?external=react,react-dom",
|
|
44
|
+
"@radix-ui/react-toast": "https://esm.sh/@radix-ui/react-toast?external=react,react-dom",
|
|
45
|
+
"@radix-ui/react-toggle": "https://esm.sh/@radix-ui/react-toggle?external=react,react-dom",
|
|
46
|
+
"@radix-ui/react-toggle-group": "https://esm.sh/@radix-ui/react-toggle-group?external=react,react-dom",
|
|
47
|
+
"@radix-ui/react-toolbar": "https://esm.sh/@radix-ui/react-toolbar?external=react,react-dom",
|
|
48
|
+
"@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip?external=react,react-dom"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
<\/script>
|