react-godot-shader-preview 0.5.9 → 0.6.1

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.
@@ -140,7 +140,6 @@
140
140
  padding: 10px 12px 12px;
141
141
  background: var(--rgs-bg);
142
142
  border: 1px solid var(--rgs-b);
143
- border-radius: 8px;
144
143
  font-size: 12px;
145
144
  }
146
145
 
package/dist/style.css CHANGED
@@ -140,7 +140,6 @@
140
140
  padding: 10px 12px 12px;
141
141
  background: var(--rgs-bg);
142
142
  border: 1px solid var(--rgs-b);
143
- border-radius: 8px;
144
143
  font-size: 12px;
145
144
  }
146
145
 
package/godot/index.html CHANGED
@@ -11,7 +11,7 @@
11
11
  h1 { margin: 0 0 16px 0; font-size: 1.5rem; color: #c6c6c6; }
12
12
  .viewer-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; min-height: 400px; }
13
13
  .viewer-code { flex: 1; min-width: 0; display: flex; flex-direction: column; }
14
- .viewer-code .code-wrap { flex: 1; min-height: 360px; position: relative; border: 1px solid #444; border-radius: 6px; overflow: hidden; background: #1a1a1a; }
14
+ .viewer-code .code-wrap { flex: 1; min-height: 360px; position: relative; border: 1px solid #444; overflow: hidden; background: #1a1a1a; }
15
15
  .code-wrap textarea { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 12px 14px; resize: none; border: none; background: transparent; color: transparent; caret-color: #c6c6c6; font: 14px/1.5 'Consolas', 'Monaco', monospace; outline: none; z-index: 2; }
16
16
  .code-wrap pre { margin: 0; padding: 12px 14px; overflow: auto; font: 14px/1.5 'Consolas', 'Monaco', monospace; white-space: pre; word-wrap: normal; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: transparent; color: #c6c6c6; }
17
17
  .code-wrap pre code { font: inherit; background: transparent; }
@@ -29,7 +29,7 @@
29
29
  .code-wrap .token.operator { color: #a4c1f4; }
30
30
  .code-wrap .token.punctuation { color: #a4c1f4; }
31
31
  .code-wrap .token.variable { color: #c6c6c6; }
32
- .validation-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; padding: 4px 12px; margin-top: 0; font-size: 12px; font-family: 'Consolas', 'Monaco', monospace; background: #252525; border: 1px solid #444; border-top: none; border-radius: 0 0 6px 6px; color: #c6c6c6; }
32
+ .validation-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; padding: 4px 12px; margin-top: 0; font-size: 12px; font-family: 'Consolas', 'Monaco', monospace; background: #252525; border: 1px solid #444; border-top: none; color: #c6c6c6; }
33
33
  .validation-bar .validation-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
34
34
  .validation-bar .validation-chevron { color: #888; cursor: pointer; user-select: none; }
35
35
  .validation-bar.collapsed .validation-message { display: none; }
@@ -38,13 +38,12 @@
38
38
  .validation-bar.has-error .validation-message { color: #e07c6e; }
39
39
  .validation-bar .validation-meta { display: flex; align-items: center; gap: 12px; color: #888; flex-shrink: 0; }
40
40
  .validation-bar .validation-meta span { white-space: nowrap; }
41
- .viewer-code .code-wrap { border-radius: 6px 6px 0 0; }
42
41
  .viewer-code .toolbar { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
43
42
  .viewer-code .toolbar button { background: #4a9eff; color: white; border: none; padding: 8px 16px; font-size: 14px; cursor: pointer; border-radius: 4px; }
44
43
  .viewer-code .toolbar button:disabled { opacity: 0.5; cursor: not-allowed; }
45
44
  .viewer-code .toolbar button:hover { background: #3a8eef; }
46
45
  .viewer-preview-wrap { flex: 0 0 320px; max-width: 100%; min-width: 0; }
47
- .viewer-preview { width: 100%; padding-bottom: 100%; height: 0; position: relative; overflow: hidden; border: 1px solid #444; border-radius: 6px; background: #000; }
46
+ .viewer-preview { width: 100%; padding-bottom: 100%; height: 0; position: relative; overflow: hidden; border: 1px solid #444; background: #000; }
48
47
  @media (max-width: 700px) { .viewer-row { flex-direction: column; } .viewer-preview-wrap { flex: 0 0 auto; width: 100%; max-width: 400px; } }
49
48
  #godot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; }
50
49
  .status { padding: 8px 12px; border-radius: 4px; font-size: 13px; margin-top: 8px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-godot-shader-preview",
3
- "version": "0.5.9",
3
+ "version": "0.6.1",
4
4
  "description": "React component for live Godot shader preview via WebAssembly. Load shader code, switch mesh (sphere/plane), edit uniforms and samplers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",