@moldable-ai/ui 0.2.18 → 0.2.19
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/components/chat/chat-panel.d.ts +18 -12
- package/dist/components/chat/chat-panel.d.ts.map +1 -1
- package/dist/components/chat/chat-panel.js +73 -19
- package/dist/components/chat/index.d.ts +2 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +2 -1
- package/dist/components/chat/model-effort-power-effects.d.ts +7 -0
- package/dist/components/chat/model-effort-power-effects.d.ts.map +1 -0
- package/dist/components/chat/model-effort-power-effects.js +54 -0
- package/dist/components/chat/model-effort-selector.d.ts +26 -0
- package/dist/components/chat/model-effort-selector.d.ts.map +1 -0
- package/dist/components/chat/model-effort-selector.js +179 -0
- package/dist/components/chat/model-effort-ultra-effects.d.ts +5 -0
- package/dist/components/chat/model-effort-ultra-effects.d.ts.map +1 -0
- package/dist/components/chat/model-effort-ultra-effects.js +56 -0
- package/dist/components/hardware/bluetooth-panel-helpers.d.ts +9 -0
- package/dist/components/hardware/bluetooth-panel-helpers.d.ts.map +1 -0
- package/dist/components/hardware/bluetooth-panel-helpers.js +37 -0
- package/dist/components/hardware/bluetooth-panel.d.ts +56 -0
- package/dist/components/hardware/bluetooth-panel.d.ts.map +1 -0
- package/dist/components/hardware/bluetooth-panel.js +470 -0
- package/dist/components/hardware/camera-preview.d.ts +39 -0
- package/dist/components/hardware/camera-preview.d.ts.map +1 -0
- package/dist/components/hardware/camera-preview.js +228 -0
- package/dist/components/hardware/capability-badge.d.ts +23 -0
- package/dist/components/hardware/capability-badge.d.ts.map +1 -0
- package/dist/components/hardware/capability-badge.js +39 -0
- package/dist/components/hardware/capability-matrix.d.ts +14 -0
- package/dist/components/hardware/capability-matrix.d.ts.map +1 -0
- package/dist/components/hardware/capability-matrix.js +97 -0
- package/dist/components/hardware/clipboard-button.d.ts +26 -0
- package/dist/components/hardware/clipboard-button.d.ts.map +1 -0
- package/dist/components/hardware/clipboard-button.js +114 -0
- package/dist/components/hardware/device-io-controls.d.ts +4 -0
- package/dist/components/hardware/device-io-controls.d.ts.map +1 -0
- package/dist/components/hardware/device-io-controls.js +28 -0
- package/dist/components/hardware/device-list.d.ts +20 -0
- package/dist/components/hardware/device-list.d.ts.map +1 -0
- package/dist/components/hardware/device-list.js +14 -0
- package/dist/components/hardware/display-map.d.ts +23 -0
- package/dist/components/hardware/display-map.d.ts.map +1 -0
- package/dist/components/hardware/display-map.js +114 -0
- package/dist/components/hardware/haptic-button.d.ts +26 -0
- package/dist/components/hardware/haptic-button.d.ts.map +1 -0
- package/dist/components/hardware/haptic-button.js +94 -0
- package/dist/components/hardware/hardware-panel.d.ts +11 -0
- package/dist/components/hardware/hardware-panel.d.ts.map +1 -0
- package/dist/components/hardware/hardware-panel.js +28 -0
- package/dist/components/hardware/hid-panel.d.ts +40 -0
- package/dist/components/hardware/hid-panel.d.ts.map +1 -0
- package/dist/components/hardware/hid-panel.js +373 -0
- package/dist/components/hardware/index.d.ts +27 -0
- package/dist/components/hardware/index.d.ts.map +1 -0
- package/dist/components/hardware/index.js +26 -0
- package/dist/components/hardware/live-indicator.d.ts +15 -0
- package/dist/components/hardware/live-indicator.d.ts.map +1 -0
- package/dist/components/hardware/live-indicator.js +26 -0
- package/dist/components/hardware/local-auth-button.d.ts +33 -0
- package/dist/components/hardware/local-auth-button.d.ts.map +1 -0
- package/dist/components/hardware/local-auth-button.js +115 -0
- package/dist/components/hardware/location-panel.d.ts +29 -0
- package/dist/components/hardware/location-panel.d.ts.map +1 -0
- package/dist/components/hardware/location-panel.js +154 -0
- package/dist/components/hardware/microphone-meter.d.ts +35 -0
- package/dist/components/hardware/microphone-meter.d.ts.map +1 -0
- package/dist/components/hardware/microphone-meter.js +244 -0
- package/dist/components/hardware/midi-monitor.d.ts +54 -0
- package/dist/components/hardware/midi-monitor.d.ts.map +1 -0
- package/dist/components/hardware/midi-monitor.js +534 -0
- package/dist/components/hardware/notification-panel.d.ts +24 -0
- package/dist/components/hardware/notification-panel.d.ts.map +1 -0
- package/dist/components/hardware/notification-panel.js +124 -0
- package/dist/components/hardware/power-blocker-controller.d.ts +19 -0
- package/dist/components/hardware/power-blocker-controller.d.ts.map +1 -0
- package/dist/components/hardware/power-blocker-controller.js +83 -0
- package/dist/components/hardware/power-panel.d.ts +67 -0
- package/dist/components/hardware/power-panel.d.ts.map +1 -0
- package/dist/components/hardware/power-panel.js +309 -0
- package/dist/components/hardware/readout.d.ts +10 -0
- package/dist/components/hardware/readout.d.ts.map +1 -0
- package/dist/components/hardware/readout.js +11 -0
- package/dist/components/hardware/screen-share-preview.d.ts +36 -0
- package/dist/components/hardware/screen-share-preview.d.ts.map +1 -0
- package/dist/components/hardware/screen-share-preview.js +191 -0
- package/dist/components/hardware/secure-storage-panel.d.ts +36 -0
- package/dist/components/hardware/secure-storage-panel.d.ts.map +1 -0
- package/dist/components/hardware/secure-storage-panel.js +193 -0
- package/dist/components/hardware/serial-console.d.ts +64 -0
- package/dist/components/hardware/serial-console.d.ts.map +1 -0
- package/dist/components/hardware/serial-console.js +399 -0
- package/dist/components/hardware/shortcut-recorder.d.ts +35 -0
- package/dist/components/hardware/shortcut-recorder.d.ts.map +1 -0
- package/dist/components/hardware/shortcut-recorder.js +217 -0
- package/dist/components/hardware/stream-log.d.ts +35 -0
- package/dist/components/hardware/stream-log.d.ts.map +1 -0
- package/dist/components/hardware/stream-log.js +65 -0
- package/dist/components/hardware/system-audio-monitor.d.ts +34 -0
- package/dist/components/hardware/system-audio-monitor.d.ts.map +1 -0
- package/dist/components/hardware/system-audio-monitor.js +275 -0
- package/dist/components/hardware/usb-panel.d.ts +54 -0
- package/dist/components/hardware/usb-panel.d.ts.map +1 -0
- package/dist/components/hardware/usb-panel.js +363 -0
- package/dist/components/hardware/use-capability.d.ts +20 -0
- package/dist/components/hardware/use-capability.d.ts.map +1 -0
- package/dist/components/hardware/use-capability.js +61 -0
- package/dist/components/ui/input-group.d.ts +1 -1
- package/dist/components/ui/slider.d.ts +4 -1
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/slider.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/lib/native-hardware/bluetooth-access.d.ts +14 -0
- package/dist/lib/native-hardware/bluetooth-access.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-access.js +40 -0
- package/dist/lib/native-hardware/bluetooth-connection.d.ts +19 -0
- package/dist/lib/native-hardware/bluetooth-connection.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-connection.js +88 -0
- package/dist/lib/native-hardware/bluetooth-gatt.d.ts +7 -0
- package/dist/lib/native-hardware/bluetooth-gatt.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-gatt.js +77 -0
- package/dist/lib/native-hardware/bluetooth-internal.d.ts +10 -0
- package/dist/lib/native-hardware/bluetooth-internal.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-internal.js +105 -0
- package/dist/lib/native-hardware/bluetooth-native-fallback.d.ts +33 -0
- package/dist/lib/native-hardware/bluetooth-native-fallback.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-native-fallback.js +214 -0
- package/dist/lib/native-hardware/bluetooth-types.d.ts +85 -0
- package/dist/lib/native-hardware/bluetooth-types.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth-types.js +2 -0
- package/dist/lib/native-hardware/bluetooth.d.ts +7 -0
- package/dist/lib/native-hardware/bluetooth.d.ts.map +1 -0
- package/dist/lib/native-hardware/bluetooth.js +4 -0
- package/dist/lib/native-hardware/bridge.d.ts +23 -0
- package/dist/lib/native-hardware/bridge.d.ts.map +1 -0
- package/dist/lib/native-hardware/bridge.js +266 -0
- package/dist/lib/native-hardware/capabilities.d.ts +7 -0
- package/dist/lib/native-hardware/capabilities.d.ts.map +1 -0
- package/dist/lib/native-hardware/capabilities.js +95 -0
- package/dist/lib/native-hardware/clipboard.d.ts +11 -0
- package/dist/lib/native-hardware/clipboard.d.ts.map +1 -0
- package/dist/lib/native-hardware/clipboard.js +55 -0
- package/dist/lib/native-hardware/device-io-errors.d.ts +11 -0
- package/dist/lib/native-hardware/device-io-errors.d.ts.map +1 -0
- package/dist/lib/native-hardware/device-io-errors.js +82 -0
- package/dist/lib/native-hardware/displays.d.ts +38 -0
- package/dist/lib/native-hardware/displays.d.ts.map +1 -0
- package/dist/lib/native-hardware/displays.js +12 -0
- package/dist/lib/native-hardware/global-shortcuts.d.ts +86 -0
- package/dist/lib/native-hardware/global-shortcuts.d.ts.map +1 -0
- package/dist/lib/native-hardware/global-shortcuts.js +351 -0
- package/dist/lib/native-hardware/haptics.d.ts +25 -0
- package/dist/lib/native-hardware/haptics.d.ts.map +1 -0
- package/dist/lib/native-hardware/haptics.js +18 -0
- package/dist/lib/native-hardware/hid-native.d.ts +26 -0
- package/dist/lib/native-hardware/hid-native.d.ts.map +1 -0
- package/dist/lib/native-hardware/hid-native.js +229 -0
- package/dist/lib/native-hardware/hid.d.ts +52 -0
- package/dist/lib/native-hardware/hid.d.ts.map +1 -0
- package/dist/lib/native-hardware/hid.js +160 -0
- package/dist/lib/native-hardware/index.d.ts +38 -0
- package/dist/lib/native-hardware/index.d.ts.map +1 -0
- package/dist/lib/native-hardware/index.js +20 -0
- package/dist/lib/native-hardware/local-authentication.d.ts +32 -0
- package/dist/lib/native-hardware/local-authentication.d.ts.map +1 -0
- package/dist/lib/native-hardware/local-authentication.js +46 -0
- package/dist/lib/native-hardware/location.d.ts +49 -0
- package/dist/lib/native-hardware/location.d.ts.map +1 -0
- package/dist/lib/native-hardware/location.js +114 -0
- package/dist/lib/native-hardware/media-permissions.d.ts +28 -0
- package/dist/lib/native-hardware/media-permissions.d.ts.map +1 -0
- package/dist/lib/native-hardware/media-permissions.js +37 -0
- package/dist/lib/native-hardware/media.d.ts +17 -0
- package/dist/lib/native-hardware/media.d.ts.map +1 -0
- package/dist/lib/native-hardware/media.js +99 -0
- package/dist/lib/native-hardware/midi-access.d.ts +13 -0
- package/dist/lib/native-hardware/midi-access.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi-access.js +66 -0
- package/dist/lib/native-hardware/midi-internal.d.ts +12 -0
- package/dist/lib/native-hardware/midi-internal.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi-internal.js +88 -0
- package/dist/lib/native-hardware/midi-native-fallback.d.ts +27 -0
- package/dist/lib/native-hardware/midi-native-fallback.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi-native-fallback.js +127 -0
- package/dist/lib/native-hardware/midi-ports.d.ts +6 -0
- package/dist/lib/native-hardware/midi-ports.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi-ports.js +115 -0
- package/dist/lib/native-hardware/midi-types.d.ts +25 -0
- package/dist/lib/native-hardware/midi-types.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi-types.js +1 -0
- package/dist/lib/native-hardware/midi.d.ts +6 -0
- package/dist/lib/native-hardware/midi.d.ts.map +1 -0
- package/dist/lib/native-hardware/midi.js +3 -0
- package/dist/lib/native-hardware/native-device-io.d.ts +28 -0
- package/dist/lib/native-hardware/native-device-io.d.ts.map +1 -0
- package/dist/lib/native-hardware/native-device-io.js +91 -0
- package/dist/lib/native-hardware/native-device-lifecycle.d.ts +13 -0
- package/dist/lib/native-hardware/native-device-lifecycle.d.ts.map +1 -0
- package/dist/lib/native-hardware/native-device-lifecycle.js +40 -0
- package/dist/lib/native-hardware/notifications.d.ts +38 -0
- package/dist/lib/native-hardware/notifications.d.ts.map +1 -0
- package/dist/lib/native-hardware/notifications.js +50 -0
- package/dist/lib/native-hardware/power-session.d.ts +113 -0
- package/dist/lib/native-hardware/power-session.d.ts.map +1 -0
- package/dist/lib/native-hardware/power-session.js +264 -0
- package/dist/lib/native-hardware/secure-storage.d.ts +36 -0
- package/dist/lib/native-hardware/secure-storage.d.ts.map +1 -0
- package/dist/lib/native-hardware/secure-storage.js +64 -0
- package/dist/lib/native-hardware/serial-native.d.ts +23 -0
- package/dist/lib/native-hardware/serial-native.d.ts.map +1 -0
- package/dist/lib/native-hardware/serial-native.js +181 -0
- package/dist/lib/native-hardware/serial.d.ts +76 -0
- package/dist/lib/native-hardware/serial.d.ts.map +1 -0
- package/dist/lib/native-hardware/serial.js +212 -0
- package/dist/lib/native-hardware/system-audio.d.ts +127 -0
- package/dist/lib/native-hardware/system-audio.d.ts.map +1 -0
- package/dist/lib/native-hardware/system-audio.js +330 -0
- package/dist/lib/native-hardware/types.d.ts +62 -0
- package/dist/lib/native-hardware/types.d.ts.map +1 -0
- package/dist/lib/native-hardware/types.js +27 -0
- package/dist/lib/native-hardware/usb-native.d.ts +39 -0
- package/dist/lib/native-hardware/usb-native.d.ts.map +1 -0
- package/dist/lib/native-hardware/usb-native.js +217 -0
- package/dist/lib/native-hardware/usb.d.ts +85 -0
- package/dist/lib/native-hardware/usb.d.ts.map +1 -0
- package/dist/lib/native-hardware/usb.js +222 -0
- package/package.json +1 -1
- package/src/styles/index.css +377 -0
package/src/styles/index.css
CHANGED
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
--color-status-stopped: var(--status-stopped);
|
|
58
58
|
--color-status-pending: var(--status-pending);
|
|
59
59
|
--color-status-error: var(--status-error);
|
|
60
|
+
--color-model-effort-blue: var(--model-effort-blue);
|
|
61
|
+
--color-model-effort-purple: var(--model-effort-purple);
|
|
60
62
|
--color-terminal: var(--terminal);
|
|
61
63
|
--color-terminal-header: var(--terminal-header);
|
|
62
64
|
--color-terminal-foreground: var(--terminal-foreground);
|
|
@@ -77,6 +79,361 @@
|
|
|
77
79
|
}
|
|
78
80
|
}
|
|
79
81
|
|
|
82
|
+
@property --model-effort-mask-position {
|
|
83
|
+
syntax: '<percentage>';
|
|
84
|
+
inherits: false;
|
|
85
|
+
initial-value: 0%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@keyframes model-effort-power-reveal {
|
|
89
|
+
from {
|
|
90
|
+
--model-effort-mask-position: 100%;
|
|
91
|
+
}
|
|
92
|
+
to {
|
|
93
|
+
--model-effort-mask-position: 0%;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes model-effort-power-field {
|
|
98
|
+
0% {
|
|
99
|
+
transform: translate3d(-7%, -3%, 0) scale(1.02);
|
|
100
|
+
}
|
|
101
|
+
45% {
|
|
102
|
+
transform: translate3d(6%, 4%, 0) scale(1.12);
|
|
103
|
+
}
|
|
104
|
+
100% {
|
|
105
|
+
transform: translate3d(-1%, -6%, 0) scale(1.06);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@keyframes model-effort-power-particle-stream {
|
|
110
|
+
0% {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
transform: translate3d(102%, -50%, 0);
|
|
113
|
+
}
|
|
114
|
+
10% {
|
|
115
|
+
opacity: calc(var(--particle-opacity) * 0.55);
|
|
116
|
+
transform: translate3d(98%, -50%, 0);
|
|
117
|
+
}
|
|
118
|
+
45% {
|
|
119
|
+
opacity: var(--particle-opacity);
|
|
120
|
+
transform: translate3d(75%, -50%, 0);
|
|
121
|
+
}
|
|
122
|
+
75% {
|
|
123
|
+
opacity: var(--particle-opacity);
|
|
124
|
+
transform: translate3d(38%, -50%, 0);
|
|
125
|
+
}
|
|
126
|
+
100% {
|
|
127
|
+
opacity: 0;
|
|
128
|
+
transform: translate3d(-6%, -50%, 0);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@keyframes model-effort-max-burst {
|
|
133
|
+
0% {
|
|
134
|
+
opacity: 0;
|
|
135
|
+
transform: translate(-50%, -50%) scale(0.35);
|
|
136
|
+
}
|
|
137
|
+
18% {
|
|
138
|
+
opacity: 0.95;
|
|
139
|
+
}
|
|
140
|
+
100% {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transform: translate(
|
|
143
|
+
calc(-50% + var(--burst-x)),
|
|
144
|
+
calc(-50% + var(--burst-y))
|
|
145
|
+
)
|
|
146
|
+
scale(0.12);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@keyframes model-effort-popover-in {
|
|
151
|
+
from {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
transform: scale(0.98);
|
|
154
|
+
}
|
|
155
|
+
to {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
transform: scale(1);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@keyframes model-effort-popover-out {
|
|
162
|
+
from {
|
|
163
|
+
opacity: 1;
|
|
164
|
+
transform: scale(1);
|
|
165
|
+
}
|
|
166
|
+
to {
|
|
167
|
+
opacity: 0;
|
|
168
|
+
transform: scale(0.98);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.model-effort-popover {
|
|
173
|
+
transform-origin: var(--radix-popover-content-transform-origin);
|
|
174
|
+
will-change: opacity, transform;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.model-effort-popover[data-state='open'] {
|
|
178
|
+
animation: model-effort-popover-in 320ms cubic-bezier(0.23, 1, 0.32, 1) 30ms
|
|
179
|
+
both;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.model-effort-popover[data-state='closed'] {
|
|
183
|
+
visibility: visible;
|
|
184
|
+
pointer-events: none;
|
|
185
|
+
animation: model-effort-popover-out 320ms cubic-bezier(0.23, 1, 0.32, 1) both;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.model-effort-power-fill {
|
|
189
|
+
position: absolute;
|
|
190
|
+
z-index: 1;
|
|
191
|
+
inset: 0;
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
border-radius: inherit;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.model-effort-power-fill[data-level='light'] {
|
|
197
|
+
background: linear-gradient(
|
|
198
|
+
90deg,
|
|
199
|
+
color-mix(
|
|
200
|
+
in srgb,
|
|
201
|
+
var(--model-effort-sparkle) 94%,
|
|
202
|
+
var(--model-effort-blue)
|
|
203
|
+
)
|
|
204
|
+
0%,
|
|
205
|
+
color-mix(
|
|
206
|
+
in srgb,
|
|
207
|
+
var(--model-effort-sparkle) 80%,
|
|
208
|
+
var(--model-effort-blue)
|
|
209
|
+
)
|
|
210
|
+
100%
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.model-effort-power-fill[data-level='medium'] {
|
|
215
|
+
background: linear-gradient(
|
|
216
|
+
90deg,
|
|
217
|
+
color-mix(
|
|
218
|
+
in srgb,
|
|
219
|
+
var(--model-effort-sparkle) 76%,
|
|
220
|
+
var(--model-effort-blue)
|
|
221
|
+
)
|
|
222
|
+
0%,
|
|
223
|
+
color-mix(
|
|
224
|
+
in srgb,
|
|
225
|
+
var(--model-effort-sparkle) 48%,
|
|
226
|
+
var(--model-effort-blue)
|
|
227
|
+
)
|
|
228
|
+
100%
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.model-effort-power-fill[data-level='high'] {
|
|
233
|
+
background: linear-gradient(
|
|
234
|
+
90deg,
|
|
235
|
+
color-mix(
|
|
236
|
+
in srgb,
|
|
237
|
+
var(--model-effort-sparkle) 42%,
|
|
238
|
+
var(--model-effort-blue)
|
|
239
|
+
)
|
|
240
|
+
0%,
|
|
241
|
+
color-mix(
|
|
242
|
+
in srgb,
|
|
243
|
+
var(--model-effort-sparkle) 12%,
|
|
244
|
+
var(--model-effort-blue)
|
|
245
|
+
)
|
|
246
|
+
100%
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.model-effort-power-fill[data-level='xhigh'] {
|
|
251
|
+
background: linear-gradient(
|
|
252
|
+
90deg,
|
|
253
|
+
color-mix(
|
|
254
|
+
in srgb,
|
|
255
|
+
var(--model-effort-sparkle) 16%,
|
|
256
|
+
var(--model-effort-blue)
|
|
257
|
+
)
|
|
258
|
+
0%,
|
|
259
|
+
color-mix(in srgb, var(--model-effort-blue) 76%, var(--model-effort-purple))
|
|
260
|
+
58%,
|
|
261
|
+
color-mix(in srgb, var(--model-effort-blue) 54%, var(--model-effort-purple))
|
|
262
|
+
100%
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.model-effort-power-fill[data-level='max'] {
|
|
267
|
+
--model-effort-mask-position: 0%;
|
|
268
|
+
background: linear-gradient(
|
|
269
|
+
90deg,
|
|
270
|
+
color-mix(in srgb, var(--model-effort-blue) 60%, var(--model-effort-purple))
|
|
271
|
+
0%,
|
|
272
|
+
var(--model-effort-purple) 55%,
|
|
273
|
+
color-mix(in srgb, var(--model-effort-purple) 72%, var(--model-effort-blue))
|
|
274
|
+
100%
|
|
275
|
+
);
|
|
276
|
+
--model-effort-reveal-mask: linear-gradient(
|
|
277
|
+
90deg,
|
|
278
|
+
transparent calc(var(--model-effort-mask-position) - 120px),
|
|
279
|
+
black var(--model-effort-mask-position),
|
|
280
|
+
black 100%
|
|
281
|
+
);
|
|
282
|
+
-webkit-mask-image: var(--model-effort-reveal-mask);
|
|
283
|
+
mask-image: var(--model-effort-reveal-mask);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.model-effort-power-fill[data-level='max'][data-reveal='true'] {
|
|
287
|
+
animation: model-effort-power-reveal 2s both;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.model-effort-power-field {
|
|
291
|
+
position: absolute;
|
|
292
|
+
inset: -90% -24%;
|
|
293
|
+
background:
|
|
294
|
+
radial-gradient(
|
|
295
|
+
circle at 18% 35%,
|
|
296
|
+
color-mix(
|
|
297
|
+
in srgb,
|
|
298
|
+
var(--model-effort-blue) 90%,
|
|
299
|
+
var(--model-effort-sparkle)
|
|
300
|
+
)
|
|
301
|
+
0 8%,
|
|
302
|
+
transparent 34%
|
|
303
|
+
),
|
|
304
|
+
radial-gradient(
|
|
305
|
+
circle at 47% 60%,
|
|
306
|
+
color-mix(
|
|
307
|
+
in srgb,
|
|
308
|
+
var(--model-effort-purple) 78%,
|
|
309
|
+
var(--model-effort-sparkle)
|
|
310
|
+
)
|
|
311
|
+
0 11%,
|
|
312
|
+
transparent 38%
|
|
313
|
+
),
|
|
314
|
+
radial-gradient(
|
|
315
|
+
circle at 78% 34%,
|
|
316
|
+
color-mix(in srgb, var(--model-effort-purple) 70%, var(--background)) 0
|
|
317
|
+
10%,
|
|
318
|
+
transparent 36%
|
|
319
|
+
),
|
|
320
|
+
radial-gradient(
|
|
321
|
+
circle at 63% 72%,
|
|
322
|
+
color-mix(
|
|
323
|
+
in srgb,
|
|
324
|
+
var(--model-effort-purple) 84%,
|
|
325
|
+
var(--model-effort-blue)
|
|
326
|
+
)
|
|
327
|
+
0 9%,
|
|
328
|
+
transparent 34%
|
|
329
|
+
);
|
|
330
|
+
mix-blend-mode: luminosity;
|
|
331
|
+
animation: model-effort-power-field 4.8s ease-in-out infinite alternate;
|
|
332
|
+
will-change: transform;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.model-effort-power-fill[data-level='xhigh'] .model-effort-power-field {
|
|
336
|
+
opacity: 0.46;
|
|
337
|
+
animation-duration: 6.4s;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.model-effort-power-fill[data-level='light'] .model-effort-power-field {
|
|
341
|
+
opacity: 0.12;
|
|
342
|
+
animation-duration: 9s;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.model-effort-power-fill[data-level='medium'] .model-effort-power-field {
|
|
346
|
+
opacity: 0.22;
|
|
347
|
+
animation-duration: 8s;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.model-effort-power-fill[data-level='high'] .model-effort-power-field {
|
|
351
|
+
opacity: 0.34;
|
|
352
|
+
animation-duration: 7.1s;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.model-effort-power-fill[data-level='max'] .model-effort-power-field {
|
|
356
|
+
opacity: 0.9;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.model-effort-power-particles {
|
|
360
|
+
position: absolute;
|
|
361
|
+
z-index: 2;
|
|
362
|
+
inset: 0;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.model-effort-power-fill[data-level='xhigh'] .model-effort-power-particles {
|
|
366
|
+
opacity: 0.42;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.model-effort-power-fill[data-level='light'] .model-effort-power-particles {
|
|
370
|
+
opacity: 0.12;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.model-effort-power-fill[data-level='medium'] .model-effort-power-particles {
|
|
374
|
+
opacity: 0.2;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.model-effort-power-fill[data-level='high'] .model-effort-power-particles {
|
|
378
|
+
opacity: 0.3;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.model-effort-power-fill[data-level='light']
|
|
382
|
+
.model-effort-power-particle:not(:nth-child(4n + 1)),
|
|
383
|
+
.model-effort-power-fill[data-level='medium']
|
|
384
|
+
.model-effort-power-particle:nth-child(even) {
|
|
385
|
+
display: none;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.model-effort-power-fill[data-level='xhigh']
|
|
389
|
+
.model-effort-power-particle:nth-child(even) {
|
|
390
|
+
display: none;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.model-effort-power-particle {
|
|
394
|
+
position: absolute;
|
|
395
|
+
right: 0;
|
|
396
|
+
left: 0;
|
|
397
|
+
height: 3px;
|
|
398
|
+
animation-name: model-effort-power-particle-stream;
|
|
399
|
+
animation-timing-function: linear;
|
|
400
|
+
animation-iteration-count: infinite;
|
|
401
|
+
will-change: opacity, transform;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.model-effort-power-particle::before {
|
|
405
|
+
display: block;
|
|
406
|
+
width: 3px;
|
|
407
|
+
height: 3px;
|
|
408
|
+
border-radius: 999px;
|
|
409
|
+
background: color-mix(in srgb, var(--model-effort-sparkle) 72%, transparent);
|
|
410
|
+
box-shadow: 0 0 5px
|
|
411
|
+
color-mix(in srgb, var(--model-effort-sparkle) 34%, transparent);
|
|
412
|
+
content: '';
|
|
413
|
+
transform: scale(var(--particle-scale));
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.model-effort-max-burst {
|
|
417
|
+
position: absolute;
|
|
418
|
+
z-index: -1;
|
|
419
|
+
top: 50%;
|
|
420
|
+
left: 50%;
|
|
421
|
+
width: 76px;
|
|
422
|
+
height: 76px;
|
|
423
|
+
pointer-events: none;
|
|
424
|
+
transform: translate(-50%, -50%);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.model-effort-max-burst-particle {
|
|
428
|
+
position: absolute;
|
|
429
|
+
top: 50%;
|
|
430
|
+
left: 50%;
|
|
431
|
+
width: 5px;
|
|
432
|
+
height: 5px;
|
|
433
|
+
border-radius: 999px;
|
|
434
|
+
animation: model-effort-max-burst 620ms cubic-bezier(0.25, 1, 0.5, 1) both;
|
|
435
|
+
}
|
|
436
|
+
|
|
80
437
|
.moldable-chat-shimmer {
|
|
81
438
|
color: transparent;
|
|
82
439
|
background: linear-gradient(
|
|
@@ -114,6 +471,9 @@
|
|
|
114
471
|
--border: oklch(0.92 0.004 286.32);
|
|
115
472
|
--input: oklch(0.92 0.004 286.32);
|
|
116
473
|
--ring: oklch(0.7145 0.185 45.03);
|
|
474
|
+
--model-effort-blue: #339cff;
|
|
475
|
+
--model-effort-purple: #924ff7;
|
|
476
|
+
--model-effort-sparkle: #fff;
|
|
117
477
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
118
478
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
119
479
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
@@ -167,6 +527,9 @@
|
|
|
167
527
|
--border: oklch(1 0 0 / 10%);
|
|
168
528
|
--input: oklch(1 0 0 / 15%);
|
|
169
529
|
--ring: oklch(0.7145 0.185 45.03);
|
|
530
|
+
--model-effort-blue: #339cff;
|
|
531
|
+
--model-effort-purple: #ad7bf9;
|
|
532
|
+
--model-effort-sparkle: #fff;
|
|
170
533
|
--chart-1: oklch(0.7145 0.185 45.03);
|
|
171
534
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
172
535
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
@@ -223,6 +586,20 @@
|
|
|
223
586
|
}
|
|
224
587
|
}
|
|
225
588
|
|
|
589
|
+
@media (prefers-reduced-motion: reduce) {
|
|
590
|
+
.model-effort-power-fill,
|
|
591
|
+
.model-effort-power-field,
|
|
592
|
+
.model-effort-power-particle,
|
|
593
|
+
.model-effort-max-burst-particle,
|
|
594
|
+
.model-effort-popover {
|
|
595
|
+
animation: none;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.model-effort-max-burst {
|
|
599
|
+
display: none;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
226
603
|
/* Shiki dual-theme support: override inline styles in dark mode */
|
|
227
604
|
.dark .shiki,
|
|
228
605
|
.dark .shiki span {
|