@norskvideo/norsk-studio 1.27.0-2025-03-25-b3450d18 → 1.27.0-2025-03-27-1a33b215
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/lib/client/creator.js +1 -1
- package/lib/client/creator.js.map +1 -1
- package/lib/client/jsx/connection-editor.js +15 -1
- package/lib/client/jsx/connection-editor.js.map +1 -1
- package/lib/client/jsx/connection.js +5 -7
- package/lib/client/jsx/connection.js.map +1 -1
- package/lib/client/jsx/node-editor.d.ts +1 -0
- package/lib/client/jsx/node-editor.js +14 -11
- package/lib/client/jsx/node-editor.js.map +1 -1
- package/lib/client/jsx/node.js +5 -2
- package/lib/client/jsx/node.js.map +1 -1
- package/lib/client/jsx/selected-connection.js +1 -1
- package/lib/client/jsx/selected-connection.js.map +1 -1
- package/lib/client/jsx/selected-node.js +20 -22
- package/lib/client/jsx/selected-node.js.map +1 -1
- package/lib/client/jsx/selected.js +1 -1
- package/lib/client/jsx/selected.js.map +1 -1
- package/lib/client/jsx/shadcn-ui/tooltip.d.ts +7 -0
- package/lib/client/jsx/shadcn-ui/tooltip.js +45 -0
- package/lib/client/jsx/shadcn-ui/tooltip.js.map +1 -0
- package/lib/client/jsx/toolbox.d.ts +1 -0
- package/lib/client/jsx/toolbox.js +23 -3
- package/lib/client/jsx/toolbox.js.map +1 -1
- package/lib/client/session-view.js +7 -4
- package/lib/client/session-view.js.map +1 -1
- package/lib/client/studio-layout.js +2 -2
- package/lib/client/studio-layout.js.map +1 -1
- package/lib/client/tools.d.ts +2 -3
- package/lib/client/tools.js +48 -52
- package/lib/client/tools.js.map +1 -1
- package/lib/extension/base-nodes.d.ts +7 -7
- package/lib/extension/base-nodes.js.map +1 -1
- package/lib/extension/client-types.d.ts +34 -1
- package/lib/extension/client-types.js +36 -2
- package/lib/extension/client-types.js.map +1 -1
- package/lib/library/utils.d.ts +2 -0
- package/lib/library/utils.js +9 -0
- package/lib/library/utils.js.map +1 -0
- package/lib/runtime/stream-registration.js +2 -1
- package/lib/runtime/stream-registration.js.map +1 -1
- package/package.json +10 -3
- package/static/style.css +561 -59
- package/static/tailwind.css +121 -0
- package/tailwind-theme.js +11 -1
- package/tailwind.config.js +1 -0
- package/ui/index.html +4 -4
- package/ui/index.js +8117 -3491
package/static/tailwind.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@tailwind components;
|
|
3
3
|
@tailwind utilities;
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
.node-editor-label {
|
|
6
7
|
@apply block mb-0.5 text-sm font-medium text-gray-900 dark:text-white
|
|
7
8
|
}
|
|
@@ -55,6 +56,126 @@
|
|
|
55
56
|
padding-bottom: 1em;
|
|
56
57
|
}
|
|
57
58
|
|
|
59
|
+
/* Shadcn styles
|
|
60
|
+
:root {
|
|
61
|
+
--background: oklch(1 0 0);
|
|
62
|
+
--foreground: oklch(0.145 0 0);
|
|
63
|
+
--card: oklch(1 0 0);
|
|
64
|
+
--card-foreground: oklch(0.145 0 0);
|
|
65
|
+
--popover: oklch(1 0 0);
|
|
66
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
67
|
+
--primary: oklch(0.205 0 0);
|
|
68
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
69
|
+
--secondary: oklch(0.97 0 0);
|
|
70
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
71
|
+
--muted: oklch(0.97 0 0);
|
|
72
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
73
|
+
--accent: oklch(0.97 0 0);
|
|
74
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
75
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
76
|
+
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
77
|
+
--border: oklch(0.922 0 0);
|
|
78
|
+
--input: oklch(0.922 0 0);
|
|
79
|
+
--ring: oklch(0.708 0 0);
|
|
80
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
81
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
82
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
83
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
84
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
85
|
+
--radius: 0.625rem;
|
|
86
|
+
--sidebar: oklch(0.985 0 0);
|
|
87
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
88
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
89
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
90
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
91
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
92
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
93
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.dark {
|
|
97
|
+
--background: oklch(0.145 0 0);
|
|
98
|
+
--foreground: oklch(0.985 0 0);
|
|
99
|
+
--card: oklch(0.145 0 0);
|
|
100
|
+
--card-foreground: oklch(0.985 0 0);
|
|
101
|
+
--popover: oklch(0.145 0 0);
|
|
102
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
103
|
+
--primary: oklch(0.985 0 0);
|
|
104
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
105
|
+
--secondary: oklch(0.269 0 0);
|
|
106
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
107
|
+
--muted: oklch(0.269 0 0);
|
|
108
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
109
|
+
--accent: oklch(0.269 0 0);
|
|
110
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
111
|
+
--destructive: oklch(0.396 0.141 25.723);
|
|
112
|
+
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
113
|
+
--border: oklch(0.269 0 0);
|
|
114
|
+
--input: oklch(0.269 0 0);
|
|
115
|
+
--ring: oklch(0.439 0 0);
|
|
116
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
117
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
118
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
119
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
120
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
121
|
+
--sidebar: oklch(0.205 0 0);
|
|
122
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
123
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
124
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
125
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
126
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
127
|
+
--sidebar-border: oklch(0.269 0 0);
|
|
128
|
+
--sidebar-ring: oklch(0.439 0 0);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@theme inline {
|
|
132
|
+
--color-background: var(--background);
|
|
133
|
+
--color-foreground: var(--foreground);
|
|
134
|
+
--color-card: var(--card);
|
|
135
|
+
--color-card-foreground: var(--card-foreground);
|
|
136
|
+
--color-popover: var(--popover);
|
|
137
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
138
|
+
--color-primary: var(--primary);
|
|
139
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
140
|
+
--color-secondary: var(--secondary);
|
|
141
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
142
|
+
--color-muted: var(--muted);
|
|
143
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
144
|
+
--color-accent: var(--accent);
|
|
145
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
146
|
+
--color-destructive: var(--destructive);
|
|
147
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
148
|
+
--color-border: var(--border);
|
|
149
|
+
--color-input: var(--input);
|
|
150
|
+
--color-ring: var(--ring);
|
|
151
|
+
--color-chart-1: var(--chart-1);
|
|
152
|
+
--color-chart-2: var(--chart-2);
|
|
153
|
+
--color-chart-3: var(--chart-3);
|
|
154
|
+
--color-chart-4: var(--chart-4);
|
|
155
|
+
--color-chart-5: var(--chart-5);
|
|
156
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
157
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
158
|
+
--radius-lg: var(--radius);
|
|
159
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
160
|
+
--color-sidebar: var(--sidebar);
|
|
161
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
162
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
163
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
164
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
165
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
166
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
167
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
168
|
+
} */
|
|
169
|
+
|
|
170
|
+
/* @layer base {
|
|
171
|
+
* {
|
|
172
|
+
@apply border-border outline-ring/50;
|
|
173
|
+
}
|
|
174
|
+
body {
|
|
175
|
+
@apply bg-background text-foreground;
|
|
176
|
+
}
|
|
177
|
+
} */
|
|
178
|
+
|
|
58
179
|
/* For some reason, type=file was excluded */
|
|
59
180
|
input[type="file"]:focus {
|
|
60
181
|
outline: 2px solid transparent;
|
package/tailwind-theme.js
CHANGED
|
@@ -6,7 +6,17 @@ module.exports = {
|
|
|
6
6
|
theme: {
|
|
7
7
|
extend: {
|
|
8
8
|
colors: {
|
|
9
|
-
primary: { "50": "#eff6ff", "100": "#dbeafe", "200": "#bfdbfe", "300": "#93c5fd", "400": "#60a5fa", "500": "#3b82f6", "600": "#2563eb", "700": "#1d4ed8", "800": "#1e40af", "900": "#1e3a8a", "950": "#172554" }
|
|
9
|
+
primary: { "50": "#eff6ff", "100": "#dbeafe", "200": "#bfdbfe", "300": "#93c5fd", "400": "#60a5fa", "500": "#3b82f6", "600": "#2563eb", "700": "#1d4ed8", "800": "#1e40af", "900": "#1e3a8a", "950": "#172554" },
|
|
10
|
+
gray: {
|
|
11
|
+
"800": "#1E2530",
|
|
12
|
+
"900": "#121923"
|
|
13
|
+
},
|
|
14
|
+
connection: {
|
|
15
|
+
"default": "#0B65FF",
|
|
16
|
+
"highlight": "#05DF72",
|
|
17
|
+
"noData": "#E61818",
|
|
18
|
+
"hasData": "#0B65FF",
|
|
19
|
+
}
|
|
10
20
|
},
|
|
11
21
|
keyframes: {
|
|
12
22
|
activeSubscription: {
|
package/tailwind.config.js
CHANGED
package/ui/index.html
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
<link href="studio.css" rel="stylesheet" />
|
|
9
9
|
</head>
|
|
10
10
|
<body class="bg-gray-50 dark:bg-gray-900 antialiased dark h-full">
|
|
11
|
-
<div class="antialiased text-gray-900 dark:text-white bg-gray-50 dark:bg-gray-900 h-full w-full flex flex-col">
|
|
11
|
+
<div class="relative antialiased text-gray-900 dark:text-white bg-gray-50 dark:bg-gray-900 h-full w-full flex flex-col p-4">
|
|
12
12
|
|
|
13
13
|
<nav id="nav"
|
|
14
|
-
class="w-full bg-white
|
|
14
|
+
class="w-full bg-white px-4 py-2.5 dark:bg-gray-800 z-50 rounded-lg">
|
|
15
15
|
<div class="flex flex-wrap justify-between items-center">
|
|
16
16
|
<div class="flex justify-start items-center">
|
|
17
17
|
<a target="_blank" href="https://norsk.video" class="flex items-center justify-between mr-4">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
</nav>
|
|
96
96
|
|
|
97
|
-
<div class="flex-grow">
|
|
97
|
+
<div class="flex-grow mt-4 overflow-hidden">
|
|
98
98
|
<div class="flex flex-row h-full">
|
|
99
99
|
<div class="relative">
|
|
100
100
|
<div id="controls"></div>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
|
-
<div style="z-index: 41">
|
|
106
|
+
<div style="z-index: 41; position: absolute; bottom: 0; left: 0; right: 0; min-height: 0;">
|
|
107
107
|
<div id="drawer-console"
|
|
108
108
|
class="h-20 w-full overflow-y-auto bg-white border-t border-gray-200 dark:border-gray-700 dark:bg-gray-800"
|
|
109
109
|
tabindex="-1" aria-labelledby="drawer-console-label">
|