sunrize 2.4.0 → 2.5.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/package.json +7 -7
- package/src/Application/Application.js +21 -2
- package/src/Application/Dashboard.js +21 -19
- package/src/Application/DataStorage.js +10 -37
- package/src/Application/Document.js +149 -22
- package/src/Application/Footer.js +62 -16
- package/src/Application/Hierarchy.js +1 -1
- package/src/Application/Interface.js +1 -1
- package/src/Application/Sidebar.js +12 -9
- package/src/Application/Tabs.js +79 -11
- package/src/Controls/Splitter.js +146 -19
- package/src/Controls/Tabs.js +17 -12
- package/src/Editors/AnimationEditor.js +203 -194
- package/src/Editors/AnimationMemberList.js +37 -6
- package/src/Editors/BrowserFrame.js +17 -10
- package/src/Editors/Console.js +9 -13
- package/src/Editors/MediaRecorder.js +27 -0
- package/src/Editors/NodeList.js +35 -0
- package/src/Editors/OutlineEditor.js +20 -20
- package/src/Editors/OutlineView.js +85 -61
- package/src/Editors/Panel.js +6 -3
- package/src/Editors/RouteGraph.js +72 -102
- package/src/Editors/SceneProperties.js +4 -4
- package/src/Editors/ScriptEditor.js +37 -23
- package/src/Tools/Core/X3DBaseTool.js +11 -10
- package/src/Tools/Core/X3DImportedNodeInstanceTool.js +52 -0
- package/src/Tools/Core/X3DPrototypeInstanceTool.js +6 -6
- package/src/Tools/Grids/GridTool.js +6 -2
- package/src/Tools/Grids/X3DGridNodeTool.js +1 -1
- package/src/Tools.js +0 -3
- package/src/Undo/Editor.js +19 -16
- package/src/Undo/UndoManager.js +1 -1
- package/src/assets/fonts/Roboto/OFL.txt +93 -0
- package/src/assets/fonts/Roboto/README.txt +118 -0
- package/src/assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf +0 -0
- package/src/assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf +0 -0
- package/src/assets/fonts/Roboto_Mono/OFL.txt +93 -0
- package/src/assets/fonts/Roboto_Mono/README.txt +77 -0
- package/src/assets/fonts/Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf +0 -0
- package/src/assets/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf +0 -0
- package/src/assets/html/application.html +34 -9
- package/src/assets/html/window.html +6 -7
- package/src/assets/themes/default.css +133 -156
- package/src/assets/themes/{system-colors.css → definitions.css} +50 -7
- package/src/assets/themes/media-template.css +3 -2
- package/src/assets/themes/media.css +3 -2
- package/src/assets/themes/prompt-template.css +4 -1
- package/src/assets/themes/prompt.css +4 -1
- package/src/assets/html/application-template.html +0 -164
- package/src/assets/html/window-template.html +0 -39
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
2
|
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: "Roboto";
|
|
5
|
+
src: url(../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf);
|
|
6
|
+
font-display: swap;
|
|
7
|
+
font-weight: 100 900;
|
|
8
|
+
font-stretch: 75% 125%;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-optical-sizing: auto;
|
|
11
|
+
font-variation-settings: "wdth" 100;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: "Roboto";
|
|
16
|
+
src: url(../fonts/Roboto/Roboto-Italic-VariableFont_wdth\,wght.ttf);
|
|
17
|
+
font-display: swap;
|
|
18
|
+
font-weight: 100 900;
|
|
19
|
+
font-stretch: 75% 125%;
|
|
20
|
+
font-style: italic;
|
|
21
|
+
font-optical-sizing: auto;
|
|
22
|
+
font-variation-settings: "wdth" 100;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: "Roboto Mono";
|
|
27
|
+
src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
|
|
28
|
+
font-display: swap;
|
|
29
|
+
font-weight: 100 900;
|
|
30
|
+
font-stretch: 75% 125%;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-optical-sizing: auto;
|
|
33
|
+
font-variation-settings: "wdth" 100;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Roboto Mono";
|
|
38
|
+
src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
|
|
39
|
+
font-display: swap;
|
|
40
|
+
font-weight: 100 900;
|
|
41
|
+
font-stretch: 75% 125%;
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-optical-sizing: auto;
|
|
44
|
+
font-variation-settings: "wdth" 100;
|
|
45
|
+
}
|
|
46
|
+
|
|
3
47
|
@media (prefers-color-scheme: light) {
|
|
4
48
|
:root {
|
|
5
49
|
/* Colors */
|
|
@@ -41,11 +85,11 @@
|
|
|
41
85
|
|
|
42
86
|
/* Special Colors */
|
|
43
87
|
|
|
44
|
-
--secondary-toolbar-color: hsl(214,
|
|
45
|
-
--
|
|
46
|
-
--sidebar-background-color: hsl(211, 36%, 86%);
|
|
88
|
+
--secondary-toolbar-color: hsl(214, 35%, 90%);
|
|
89
|
+
--sidebar-background-color: hsl(211, 46%, 86%);
|
|
47
90
|
--tint-color1: rgba(255, 255, 255, 0.4);
|
|
48
91
|
--tint-color2: rgba(255, 255, 255, 0.6);
|
|
92
|
+
--tabs-icon-color: white;
|
|
49
93
|
|
|
50
94
|
/* TweakPanel colors */
|
|
51
95
|
|
|
@@ -120,11 +164,10 @@
|
|
|
120
164
|
/* Special Colors */
|
|
121
165
|
|
|
122
166
|
--secondary-toolbar-color: hsl(220, 9%, 17%);
|
|
123
|
-
--secondary-toolbar-transparent: hsla(220, 9%, 17%, 0);
|
|
124
167
|
--sidebar-background-color: hsl(217, 20%, 21%);
|
|
125
|
-
--sidebar-transparent: hsla(217, 20%, 21%, 0);
|
|
126
168
|
--tint-color1: rgba(0, 0, 0, 0.2);
|
|
127
169
|
--tint-color2: rgba(0, 0, 0, 0.4);
|
|
170
|
+
--tabs-icon-color: var(--system-gray6);
|
|
128
171
|
|
|
129
172
|
/* TweakPanel colors */
|
|
130
173
|
|
|
@@ -175,8 +218,8 @@ body {
|
|
|
175
218
|
--topbar-height: 8px;
|
|
176
219
|
--toolbar-outer-radius: 15px;
|
|
177
220
|
--toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
|
|
178
|
-
--toolbar-
|
|
179
|
-
--icon-size:
|
|
221
|
+
--toolbar-size: 30px;
|
|
222
|
+
--icon-size: 23px;
|
|
180
223
|
--medium-icon-size: 18px;
|
|
181
224
|
--large-icon-size: 28px;
|
|
182
225
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@import url(../../node_modules/
|
|
2
|
-
@import url(../../node_modules/
|
|
1
|
+
@import url(../../node_modules/jquery-ui-dist/jquery-ui.min.css);
|
|
2
|
+
@import url(../../node_modules/qtip2/dist/jquery.qtip.min.css);
|
|
3
3
|
@import url(../../node_modules/spectrum-colorpicker2/dist/spectrum.css);
|
|
4
|
+
@import url(../../node_modules/material-symbols/index.css);
|
|
4
5
|
@import url(../../node_modules/@vscode/codicons/dist/codicon.css);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/
|
|
2
|
-
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/
|
|
1
|
+
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/jquery-ui-dist/jquery-ui.min.css);
|
|
2
|
+
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/qtip2/dist/jquery.qtip.min.css);
|
|
3
3
|
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/spectrum-colorpicker2/dist/spectrum.css);
|
|
4
|
+
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
|
|
4
5
|
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/@vscode/codicons/dist/codicon.css);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
|
-
@import url(
|
|
2
|
+
@import url(definitions.css);
|
|
3
3
|
|
|
4
4
|
body {
|
|
5
5
|
overflow: hidden !important;
|
|
6
6
|
background-color: var(--background-color);
|
|
7
7
|
color: var(--text-color);
|
|
8
|
+
font-family: var(--sans-serif);
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
#container {
|
|
@@ -32,6 +33,7 @@ input {
|
|
|
32
33
|
border: 1px solid var(--system-gray3) !important;
|
|
33
34
|
background: none !important;
|
|
34
35
|
color: var(--text-color) !important;
|
|
36
|
+
font-family: var(--sans-serif) !important;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
input:focus {
|
|
@@ -53,4 +55,5 @@ input:focus {
|
|
|
53
55
|
border-radius: 7px !important;
|
|
54
56
|
padding: 0.3em 1.8em !important;
|
|
55
57
|
width: 100px !important;
|
|
58
|
+
font-family: var(--sans-serif) !important;
|
|
56
59
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
|
-
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/
|
|
2
|
+
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/definitions.css);
|
|
3
3
|
|
|
4
4
|
body {
|
|
5
5
|
overflow: hidden !important;
|
|
6
6
|
background-color: var(--background-color);
|
|
7
7
|
color: var(--text-color);
|
|
8
|
+
font-family: var(--sans-serif);
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
#container {
|
|
@@ -32,6 +33,7 @@ input {
|
|
|
32
33
|
border: 1px solid var(--system-gray3) !important;
|
|
33
34
|
background: none !important;
|
|
34
35
|
color: var(--text-color) !important;
|
|
36
|
+
font-family: var(--sans-serif) !important;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
input:focus {
|
|
@@ -53,4 +55,5 @@ input:focus {
|
|
|
53
55
|
border-radius: 7px !important;
|
|
54
56
|
padding: 0.3em 1.8em !important;
|
|
55
57
|
width: 100px !important;
|
|
58
|
+
font-family: var(--sans-serif) !important;
|
|
56
59
|
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
<html lang="en">
|
|
2
|
-
<head>
|
|
3
|
-
<meta charset="utf-8"/>
|
|
4
|
-
<!-- Theme -->
|
|
5
|
-
<link rel="stylesheet" type="text/css" href="../themes/default.css"/>
|
|
6
|
-
</head>
|
|
7
|
-
<body>
|
|
8
|
-
<tab-group sortable="true">
|
|
9
|
-
<style>
|
|
10
|
-
@import url(../themes/media.css);
|
|
11
|
-
|
|
12
|
-
.material-symbols-outlined {
|
|
13
|
-
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
::-webkit-scrollbar {
|
|
17
|
-
width: 4px;
|
|
18
|
-
height: 4px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
::-webkit-scrollbar-track, /* Track */
|
|
22
|
-
::-webkit-scrollbar-thumb:window-inactive, /* Handle */
|
|
23
|
-
::-webkit-scrollbar-corner { /* Corner */
|
|
24
|
-
background-color: transparent;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Handle */
|
|
28
|
-
::-webkit-scrollbar-thumb {
|
|
29
|
-
background-color: var(--scrollbar-thumb-color);
|
|
30
|
-
border-radius: 2px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:hover::-webkit-scrollbar-thumb {
|
|
34
|
-
background-color: var(--scrollbar-thumb-color-hover);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.etabs .buttons {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.etabs .nav {
|
|
42
|
-
height: var(--window-tabs-height);
|
|
43
|
-
background: var(--background-color);
|
|
44
|
-
box-shadow: none;
|
|
45
|
-
border: none;
|
|
46
|
-
overflow-x: auto;
|
|
47
|
-
overflow-y: hidden;
|
|
48
|
-
white-space: nowrap;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.etabs .tab:not(.active, :hover, :focus, :first-child)::before {
|
|
52
|
-
content: "•";
|
|
53
|
-
display: block;
|
|
54
|
-
position: absolute;
|
|
55
|
-
transform: translateY(1px);
|
|
56
|
-
left: -3px;
|
|
57
|
-
color: var(--text-disabled);
|
|
58
|
-
line-height: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.etabs .tab:is(.active, :hover, :focus) + .tab::before {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.etabs .tab {
|
|
66
|
-
background: none;
|
|
67
|
-
border: 1px solid transparent !important;
|
|
68
|
-
border-radius: var(--window-tabs-height);
|
|
69
|
-
padding: 4px 6px 4px 9px !important;
|
|
70
|
-
color: var(--window-tabs-text-color);
|
|
71
|
-
font-family: var(--sans-serif);
|
|
72
|
-
box-shadow: none;
|
|
73
|
-
transition: background-color 200ms, border-color 200ms, color 200ms;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.etabs .tab:hover,
|
|
77
|
-
.etabs .tab.active {
|
|
78
|
-
background-color: var(--window-tabs-background-color);
|
|
79
|
-
border-color: var(--border-color) !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.etabs .tab.active {
|
|
83
|
-
color: var(--window-tabs-highlight-color);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.etabs .tab:focus {
|
|
87
|
-
border-color: var(--system-blue) !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.etabs .tab-icon {
|
|
91
|
-
width: 16px;
|
|
92
|
-
height: 16px;
|
|
93
|
-
transform: scale(1.4);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.etabs .tab-icon img {
|
|
97
|
-
width: 16px;
|
|
98
|
-
height: 16px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.etabs .tab-title {
|
|
102
|
-
margin-left: 5px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.etabs .tab-mute,
|
|
106
|
-
.etabs .tab-pin,
|
|
107
|
-
.etabs .tab-close,
|
|
108
|
-
.etabs .tab-close button {
|
|
109
|
-
appearance: none;
|
|
110
|
-
position: relative;
|
|
111
|
-
border: none;
|
|
112
|
-
border-radius: 4px;
|
|
113
|
-
background: none;
|
|
114
|
-
color: var(--window-tabs-text-color);
|
|
115
|
-
font-size: 18px;
|
|
116
|
-
top: 0px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@media (prefers-color-scheme: light) {
|
|
120
|
-
.etabs .tab-mute:hover,
|
|
121
|
-
.etabs .tab-close:hover,
|
|
122
|
-
.etabs .tab-close:hover button {
|
|
123
|
-
background-color: var(--system-gray4);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.etabs .tab-mute:hover,
|
|
128
|
-
.etabs .tab-close:hover,
|
|
129
|
-
.etabs .tab-close:hover button {
|
|
130
|
-
color: var(--system-gray0);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.etabs .tab-pin,
|
|
134
|
-
.etabs .tab-mute {
|
|
135
|
-
display: none;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.etabs .tab:not(.active) .tab-mute {
|
|
139
|
-
display: none !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.etabs .tab:not(.active, :hover, :focus) :where(.tab-close button, .tab-mute, .tab-pin) {
|
|
143
|
-
color: var(--text-disabled);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.etabs .tab-mute {
|
|
147
|
-
margin-right: -3px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.etabs .tab-mute,
|
|
151
|
-
.etabs .tab-pin,
|
|
152
|
-
.etabs .tab-close {
|
|
153
|
-
margin-left: 5px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.etabs .tab-pin span {
|
|
157
|
-
margin-right: 2px;
|
|
158
|
-
font-size: inherit;
|
|
159
|
-
transform: rotate(45deg);
|
|
160
|
-
}
|
|
161
|
-
</style>
|
|
162
|
-
</tab-group>
|
|
163
|
-
</body>
|
|
164
|
-
</html>
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<html lang="en">
|
|
2
|
-
<head>
|
|
3
|
-
<meta charset="utf-8"/>
|
|
4
|
-
<link rel="stylesheet" type="text/css" href="../node_modules/jquery-ui-dist/jquery-ui.min.css"/>
|
|
5
|
-
<link rel="stylesheet" type="text/css" href="../node_modules/qtip2/dist/jquery.qtip.min.css"/>
|
|
6
|
-
<link rel="stylesheet" type="text/css" href="../themes/default.css"/>
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<div id="vertical-splitter" class="vertical-splitter">
|
|
10
|
-
<div class="vertical-splitter-left">
|
|
11
|
-
<div id="horizontal-splitter" class="horizontal-splitter">
|
|
12
|
-
<div class="horizontal-splitter-top">
|
|
13
|
-
<div id="browser-pane">
|
|
14
|
-
<div id="browser-top-bar"></div>
|
|
15
|
-
<div id="browser-frame">
|
|
16
|
-
<x3d-canvas
|
|
17
|
-
id="browser"
|
|
18
|
-
cache="false"
|
|
19
|
-
contextMenu="false"
|
|
20
|
-
debug="true"
|
|
21
|
-
preserveDrawingBuffer="true"
|
|
22
|
-
splashScreen="false"
|
|
23
|
-
update="auto"
|
|
24
|
-
xrSessionMode="NONE"></x3d-canvas>
|
|
25
|
-
</div>
|
|
26
|
-
<div id="secondary-toolbar" class="toolbar vertical-toolbar large-toolbar"></div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="horizontal-splitter-bottom">
|
|
30
|
-
<div id="footer"></div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="vertical-splitter-right">
|
|
35
|
-
<div id="sidebar" class="sidebar"></div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</body>
|
|
39
|
-
</html>
|