@almadar/ui 6.52.0 → 6.53.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/{EntityBindingContext-BbxrwSb9.d.ts → AwaitingSkeletonContext-Bh399p1x.d.ts} +17 -2
- package/dist/{Canvas3DHost-CWO0tswb.d.ts → Canvas3DHost-B-y2TNij.d.ts} +1 -1
- package/dist/{GameAudioProvider-_hPzjqp-.d.ts → GameAudioProvider-DyBvYP2c.d.ts} +1 -1
- package/dist/Typography-JGSDH4JP.js +5 -0
- package/dist/{UISlotRenderer-CR7SCAMR.js → UISlotRenderer-JT34I3O7.js} +9 -9
- package/dist/avl/index.cjs +39792 -40170
- package/dist/avl/index.d.ts +5 -2
- package/dist/avl/index.js +25 -17
- package/dist/{chunk-XUSSAWKL.js → chunk-2LFBQ4IS.js} +1 -1
- package/dist/{chunk-EERAGPBW.js → chunk-3EF5SDIJ.js} +31499 -32794
- package/dist/{chunk-V5AGW2JN.js → chunk-4OZDHCZV.js} +1 -1
- package/dist/{chunk-MSBMVG3B.js → chunk-6O37FCX4.js} +1 -0
- package/dist/{chunk-BHZG4PDZ.js → chunk-7LM6I3NA.js} +629 -626
- package/dist/chunk-CBIJP5PL.js +284 -0
- package/dist/{chunk-CLSLVFSP.js → chunk-GMDMOYXD.js} +2 -2
- package/dist/{chunk-NCNP2RKZ.js → chunk-GODZKHAL.js} +2 -2
- package/dist/{chunk-QWDKMVLX.js → chunk-IKULQIDX.js} +141 -82
- package/dist/{chunk-TWHYH25Q.js → chunk-JRW33U35.js} +80 -80
- package/dist/{chunk-G4GMXYMY.js → chunk-KQXXO42S.js} +93 -171
- package/dist/chunk-OKWD7LPO.js +80 -0
- package/dist/{chunk-YHY5K2Y7.js → chunk-PEST66PN.js} +6 -0
- package/dist/{chunk-WB2A6V3I.js → chunk-UGHAADU5.js} +47 -1
- package/dist/{chunk-2QB2PXOO.js → chunk-VHTJRS2N.js} +3 -5
- package/dist/{chunk-5GCI6C7J.js → chunk-WPNM2KC6.js} +2 -2
- package/dist/components/index.cjs +42017 -42467
- package/dist/components/index.d.ts +182 -319
- package/dist/components/index.js +621 -13
- package/dist/context/index.cjs +8 -3
- package/dist/context/index.js +3 -3
- package/dist/hooks/index.cjs +54 -4
- package/dist/hooks/index.js +7 -7
- package/dist/lib/drawable/three/index.cjs +47 -1
- package/dist/lib/drawable/three/index.d.ts +5 -5
- package/dist/lib/drawable/three/index.js +7 -7
- package/dist/lib/index.cjs +48 -1
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.js +6 -5
- package/dist/locales/index.cjs +141 -3
- package/dist/locales/index.js +95 -3
- package/dist/{paintDispatch-DHo3WhaU.d.ts → paintDispatch-_6EhJCiL.d.ts} +3 -3
- package/dist/providers/index.cjs +34611 -35020
- package/dist/providers/index.d.ts +33 -8
- package/dist/providers/index.js +36 -12
- package/dist/renderer/index.cjs +6 -0
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.js +1 -1
- package/dist/runtime/index.cjs +41106 -41488
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +11 -11
- package/dist/ssr/index.cjs +375 -137
- package/dist/ssr/index.d.cts +5 -1
- package/dist/ssr/index.d.ts +5 -1
- package/dist/ssr/index.js +311 -73
- package/dist/{verificationRegistry-BYD3cVhS.d.ts → verificationRegistry-CD7Xb40L.d.ts} +1 -1
- package/locales/ar.json +47 -1
- package/locales/en.json +47 -1
- package/locales/sl.json +47 -1
- package/package.json +6 -6
- package/tailwind-preset.cjs +13 -0
- package/themes/_base.css +28 -8
- package/themes/_contract.md +5 -0
- package/dist/Typography-7FRZOS2H.js +0 -5
- package/dist/{avl-3d-context-DLteNEwu.d.ts → avl-3d-context-MAt_NuU9.d.ts} +3 -3
- package/dist/{chunk-IN3BVW2Z.js → chunk-64WACXM7.js} +14 -14
package/locales/ar.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"aria.removeFilter": "إزالة الفلتر",
|
|
111
111
|
"aria.closeDrawer": "إغلاق اللوحة",
|
|
112
112
|
"aria.closePanel": "إغلاق اللوحة",
|
|
113
|
+
"aria.dockPanel": "اللوحة الجانبية",
|
|
113
114
|
"aria.previousImage": "الصورة السابقة",
|
|
114
115
|
"aria.nextImage": "الصورة التالية",
|
|
115
116
|
"aria.dismiss": "تجاهل",
|
|
@@ -131,6 +132,7 @@
|
|
|
131
132
|
"aria.openMenu": "فتح القائمة",
|
|
132
133
|
"aria.closeMenu": "إغلاق القائمة",
|
|
133
134
|
"aria.openSidebar": "فتح الشريط الجانبي",
|
|
135
|
+
"aria.openRow": "فتح العنصر {{position}}",
|
|
134
136
|
"sidebar.expand": "توسيع الشريط الجانبي",
|
|
135
137
|
"sidebar.collapse": "طي الشريط الجانبي",
|
|
136
138
|
"sidebar.close": "إغلاق الشريط الجانبي",
|
|
@@ -1180,5 +1182,49 @@
|
|
|
1180
1182
|
"aria.walkTraitDone": "مكتمل",
|
|
1181
1183
|
"aria.walkTraitPending": "قيد الانتظار",
|
|
1182
1184
|
"aria.walkGraph": "مخطط الحالات لـ {{trait}}: من {{from}} إلى {{to}}",
|
|
1183
|
-
"aria.loading": "جارٍ التحميل"
|
|
1185
|
+
"aria.loading": "جارٍ التحميل",
|
|
1186
|
+
"agentActivity.toolCall": "استدعاء {{tool}}",
|
|
1187
|
+
"agentActivity.toolResult": "نتيجة {{tool}}",
|
|
1188
|
+
"agentActivity.toolRows": "{{count}} صفوف",
|
|
1189
|
+
"agentActivity.thinking": "جارٍ التفكير…",
|
|
1190
|
+
"agentActivity.analyzed": "تم تحليل طلبك — {{organism}}",
|
|
1191
|
+
"agentActivity.renamed": "إعادة تسمية {{from}} ← {{to}}",
|
|
1192
|
+
"agentActivity.deleted": "إزالة {{orbitalName}}",
|
|
1193
|
+
"agentActivity.roster": "تخطيط {{count}} من الوحدات",
|
|
1194
|
+
"agentActivity.orbitalStarted": "جارٍ العمل على {{orbitalName}}…",
|
|
1195
|
+
"agentActivity.orbitalStartedSettled": "بدأ العمل على {{orbitalName}}",
|
|
1196
|
+
"agentActivity.orbitalDone": "{{orbitalName}} جاهز",
|
|
1197
|
+
"agentActivity.orbitalCounts": "{{traitCount}} سمات، {{transitionCount}} انتقالات",
|
|
1198
|
+
"agentActivity.change.orbital-added": "تمت إضافة {{orbitalName}}",
|
|
1199
|
+
"agentActivity.change.orbital-removed": "تمت إزالة {{orbitalName}}",
|
|
1200
|
+
"agentActivity.change.entity-fields-changed": "تم تغيير حقول بيانات {{orbitalName}}",
|
|
1201
|
+
"agentActivity.change.trait-added": "تمت إضافة سلوك إلى {{orbitalName}}",
|
|
1202
|
+
"agentActivity.change.trait-removed": "تمت إزالة سلوك من {{orbitalName}}",
|
|
1203
|
+
"agentActivity.change.state-machine-changed": "تم تغيير تدفق {{orbitalName}}",
|
|
1204
|
+
"agentActivity.change.guard-changed": "تم تغيير قاعدة في {{orbitalName}}",
|
|
1205
|
+
"agentActivity.change.effect-changed": "تم تغيير ما يفعله {{orbitalName}}",
|
|
1206
|
+
"agentActivity.change.render-ui-changed": "تم تغيير تصميم {{orbitalName}}",
|
|
1207
|
+
"agentActivity.change.event-wiring-changed": "تم تغيير اتصالات {{orbitalName}}",
|
|
1208
|
+
"agentActivity.change.page-changed": "تم تغيير صفحات {{orbitalName}}",
|
|
1209
|
+
"agentActivity.change.behavior-composed": "تم دمج سلوك في {{orbitalName}}",
|
|
1210
|
+
"agentActivity.done": "تم — {{count}} من الوحدات جاهزة",
|
|
1211
|
+
"agentActivity.cancelled": "تم الإلغاء",
|
|
1212
|
+
"agentActivity.jump": "عرض",
|
|
1213
|
+
"agentActivity.emptyTitle": "لا يوجد نشاط بعد",
|
|
1214
|
+
"agentActivity.emptyDescription": "أرسل رسالة وسيظهر عمل الوكيل هنا.",
|
|
1215
|
+
"agentActivity.fileOperation": "{{operation}}",
|
|
1216
|
+
"agentActivity.schemaDiff": "تم تعديل {{filePath}}",
|
|
1217
|
+
"agentActivity.coordinatorDecision": "تم اختيار {{organism}}",
|
|
1218
|
+
"agentActivity.change.trait-config-changed": "تم تغيير إعدادات {{orbitalName}}",
|
|
1219
|
+
"agentActivity.change.theme-changed": "تم تغيير سمة {{orbitalName}}",
|
|
1220
|
+
"agentActivity.llmResponse": "استجابة LLM خام",
|
|
1221
|
+
"agentActivity.llmDuration": "{{seconds}} ث",
|
|
1222
|
+
"agentActivity.llmTokens": "{{prompt}} داخل / {{completion}} خارج",
|
|
1223
|
+
"agentActivity.llmResponseLabel": "الاستجابة",
|
|
1224
|
+
"agentActivity.llmSystemPrompt": "موجّه النظام",
|
|
1225
|
+
"agentActivity.llmUserPrompt": "موجّه المستخدم",
|
|
1226
|
+
"agentActivity.llmToolCalls": "استدعاءات الأدوات",
|
|
1227
|
+
"agentActivity.showRawLlm": "LLM خام",
|
|
1228
|
+
"agentActivity.earlierConversations": "المحادثات السابقة ({{count}})",
|
|
1229
|
+
"agentActivity.earlierActivity": "نشاط سابق"
|
|
1184
1230
|
}
|
package/locales/en.json
CHANGED
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
"aria.removeFilter": "Remove filter",
|
|
115
115
|
"aria.closeDrawer": "Close drawer",
|
|
116
116
|
"aria.closePanel": "Close panel",
|
|
117
|
+
"aria.dockPanel": "Side panel",
|
|
117
118
|
"aria.previousImage": "Previous image",
|
|
118
119
|
"aria.nextImage": "Next image",
|
|
119
120
|
"aria.dismiss": "Dismiss",
|
|
@@ -135,6 +136,7 @@
|
|
|
135
136
|
"aria.openMenu": "Open menu",
|
|
136
137
|
"aria.closeMenu": "Close menu",
|
|
137
138
|
"aria.openSidebar": "Open sidebar",
|
|
139
|
+
"aria.openRow": "Open item {{position}}",
|
|
138
140
|
"sidebar.expand": "Expand sidebar",
|
|
139
141
|
"sidebar.collapse": "Collapse sidebar",
|
|
140
142
|
"sidebar.close": "Close sidebar",
|
|
@@ -1180,5 +1182,49 @@
|
|
|
1180
1182
|
"aria.walkTraitDone": "completed",
|
|
1181
1183
|
"aria.walkTraitPending": "pending",
|
|
1182
1184
|
"aria.walkGraph": "State graph for {{trait}}: {{from}} to {{to}}",
|
|
1183
|
-
"aria.loading": "Loading"
|
|
1185
|
+
"aria.loading": "Loading",
|
|
1186
|
+
"agentActivity.toolCall": "Called {{tool}}",
|
|
1187
|
+
"agentActivity.toolResult": "{{tool}} returned",
|
|
1188
|
+
"agentActivity.toolRows": "{{count}} rows",
|
|
1189
|
+
"agentActivity.thinking": "Thinking…",
|
|
1190
|
+
"agentActivity.analyzed": "Analyzed your request — {{organism}}",
|
|
1191
|
+
"agentActivity.renamed": "Rename {{from}} → {{to}}",
|
|
1192
|
+
"agentActivity.deleted": "Remove {{orbitalName}}",
|
|
1193
|
+
"agentActivity.roster": "Planning {{count}} orbitals",
|
|
1194
|
+
"agentActivity.orbitalStarted": "Working on {{orbitalName}}…",
|
|
1195
|
+
"agentActivity.orbitalStartedSettled": "Started {{orbitalName}}",
|
|
1196
|
+
"agentActivity.orbitalDone": "{{orbitalName}} ready",
|
|
1197
|
+
"agentActivity.orbitalCounts": "{{traitCount}} traits, {{transitionCount}} transitions",
|
|
1198
|
+
"agentActivity.change.orbital-added": "Added {{orbitalName}}",
|
|
1199
|
+
"agentActivity.change.orbital-removed": "Removed {{orbitalName}}",
|
|
1200
|
+
"agentActivity.change.entity-fields-changed": "Changed the data fields of {{orbitalName}}",
|
|
1201
|
+
"agentActivity.change.trait-added": "Added a behavior to {{orbitalName}}",
|
|
1202
|
+
"agentActivity.change.trait-removed": "Removed a behavior from {{orbitalName}}",
|
|
1203
|
+
"agentActivity.change.state-machine-changed": "Changed the flow of {{orbitalName}}",
|
|
1204
|
+
"agentActivity.change.guard-changed": "Changed a rule in {{orbitalName}}",
|
|
1205
|
+
"agentActivity.change.effect-changed": "Changed what {{orbitalName}} does",
|
|
1206
|
+
"agentActivity.change.render-ui-changed": "Changed the design of {{orbitalName}}",
|
|
1207
|
+
"agentActivity.change.event-wiring-changed": "Changed the connections of {{orbitalName}}",
|
|
1208
|
+
"agentActivity.change.page-changed": "Changed the pages of {{orbitalName}}",
|
|
1209
|
+
"agentActivity.change.behavior-composed": "Composed a behavior into {{orbitalName}}",
|
|
1210
|
+
"agentActivity.done": "Done — {{count}} orbitals ready",
|
|
1211
|
+
"agentActivity.cancelled": "Cancelled",
|
|
1212
|
+
"agentActivity.jump": "Show",
|
|
1213
|
+
"agentActivity.emptyTitle": "No activity yet",
|
|
1214
|
+
"agentActivity.emptyDescription": "Send a message and the agent's work shows up here.",
|
|
1215
|
+
"agentActivity.fileOperation": "{{operation}}",
|
|
1216
|
+
"agentActivity.schemaDiff": "Edited {{filePath}}",
|
|
1217
|
+
"agentActivity.coordinatorDecision": "Chose {{organism}}",
|
|
1218
|
+
"agentActivity.change.trait-config-changed": "Changed the settings of {{orbitalName}}",
|
|
1219
|
+
"agentActivity.change.theme-changed": "Changed the theme of {{orbitalName}}",
|
|
1220
|
+
"agentActivity.llmResponse": "Raw LLM response",
|
|
1221
|
+
"agentActivity.llmDuration": "{{seconds}}s",
|
|
1222
|
+
"agentActivity.llmTokens": "{{prompt}} in / {{completion}} out tokens",
|
|
1223
|
+
"agentActivity.llmResponseLabel": "Response",
|
|
1224
|
+
"agentActivity.llmSystemPrompt": "System prompt",
|
|
1225
|
+
"agentActivity.llmUserPrompt": "User prompt",
|
|
1226
|
+
"agentActivity.llmToolCalls": "Tool calls",
|
|
1227
|
+
"agentActivity.showRawLlm": "Raw LLM",
|
|
1228
|
+
"agentActivity.earlierConversations": "Earlier conversations ({{count}})",
|
|
1229
|
+
"agentActivity.earlierActivity": "Earlier activity"
|
|
1184
1230
|
}
|
package/locales/sl.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"aria.removeFilter": "Odstrani filter",
|
|
111
111
|
"aria.closeDrawer": "Zapri predal",
|
|
112
112
|
"aria.closePanel": "Zapri ploščo",
|
|
113
|
+
"aria.dockPanel": "Stranska plošča",
|
|
113
114
|
"aria.previousImage": "Prejšnja slika",
|
|
114
115
|
"aria.nextImage": "Naslednja slika",
|
|
115
116
|
"aria.dismiss": "Opusti",
|
|
@@ -131,6 +132,7 @@
|
|
|
131
132
|
"aria.openMenu": "Odpri meni",
|
|
132
133
|
"aria.closeMenu": "Zapri meni",
|
|
133
134
|
"aria.openSidebar": "Odpri stransko vrstico",
|
|
135
|
+
"aria.openRow": "Odpri element {{position}}",
|
|
134
136
|
"sidebar.expand": "Razširi stransko vrstico",
|
|
135
137
|
"sidebar.collapse": "Strni stransko vrstico",
|
|
136
138
|
"sidebar.close": "Zapri stransko vrstico",
|
|
@@ -1180,5 +1182,49 @@
|
|
|
1180
1182
|
"aria.walkTraitDone": "končano",
|
|
1181
1183
|
"aria.walkTraitPending": "čaka",
|
|
1182
1184
|
"aria.walkGraph": "Graf stanj za {{trait}}: od {{from}} do {{to}}",
|
|
1183
|
-
"aria.loading": "Nalaganje"
|
|
1185
|
+
"aria.loading": "Nalaganje",
|
|
1186
|
+
"agentActivity.toolCall": "Klic {{tool}}",
|
|
1187
|
+
"agentActivity.toolResult": "{{tool}} je vrnil",
|
|
1188
|
+
"agentActivity.toolRows": "Vrstic: {{count}}",
|
|
1189
|
+
"agentActivity.thinking": "Razmišljam…",
|
|
1190
|
+
"agentActivity.analyzed": "Zahteva analizirana — {{organism}}",
|
|
1191
|
+
"agentActivity.renamed": "Preimenuj {{from}} → {{to}}",
|
|
1192
|
+
"agentActivity.deleted": "Odstrani {{orbitalName}}",
|
|
1193
|
+
"agentActivity.roster": "Načrtovanje {{count}} orbital",
|
|
1194
|
+
"agentActivity.orbitalStarted": "Delo na {{orbitalName}}…",
|
|
1195
|
+
"agentActivity.orbitalStartedSettled": "Začeto: {{orbitalName}}",
|
|
1196
|
+
"agentActivity.orbitalDone": "{{orbitalName}} pripravljen",
|
|
1197
|
+
"agentActivity.orbitalCounts": "{{traitCount}} lastnosti, {{transitionCount}} prehodov",
|
|
1198
|
+
"agentActivity.change.orbital-added": "Dodan {{orbitalName}}",
|
|
1199
|
+
"agentActivity.change.orbital-removed": "Odstranjen {{orbitalName}}",
|
|
1200
|
+
"agentActivity.change.entity-fields-changed": "Spremenjena podatkovna polja {{orbitalName}}",
|
|
1201
|
+
"agentActivity.change.trait-added": "Dodano vedenje v {{orbitalName}}",
|
|
1202
|
+
"agentActivity.change.trait-removed": "Odstranjeno vedenje iz {{orbitalName}}",
|
|
1203
|
+
"agentActivity.change.state-machine-changed": "Spremenjen tok {{orbitalName}}",
|
|
1204
|
+
"agentActivity.change.guard-changed": "Spremenjeno pravilo v {{orbitalName}}",
|
|
1205
|
+
"agentActivity.change.effect-changed": "Spremenjeno delovanje {{orbitalName}}",
|
|
1206
|
+
"agentActivity.change.render-ui-changed": "Spremenjen videz {{orbitalName}}",
|
|
1207
|
+
"agentActivity.change.event-wiring-changed": "Spremenjene povezave {{orbitalName}}",
|
|
1208
|
+
"agentActivity.change.page-changed": "Spremenjene strani {{orbitalName}}",
|
|
1209
|
+
"agentActivity.change.behavior-composed": "Vedenje vgrajeno v {{orbitalName}}",
|
|
1210
|
+
"agentActivity.done": "Končano — {{count}} orbital pripravljenih",
|
|
1211
|
+
"agentActivity.cancelled": "Preklicano",
|
|
1212
|
+
"agentActivity.jump": "Pokaži",
|
|
1213
|
+
"agentActivity.emptyTitle": "Še ni dejavnosti",
|
|
1214
|
+
"agentActivity.emptyDescription": "Pošljite sporočilo in tukaj se bo prikazalo delo agenta.",
|
|
1215
|
+
"agentActivity.fileOperation": "{{operation}}",
|
|
1216
|
+
"agentActivity.schemaDiff": "Urejeno {{filePath}}",
|
|
1217
|
+
"agentActivity.coordinatorDecision": "Izbrano {{organism}}",
|
|
1218
|
+
"agentActivity.change.trait-config-changed": "Spremenjene nastavitve {{orbitalName}}",
|
|
1219
|
+
"agentActivity.change.theme-changed": "Spremenjena tema {{orbitalName}}",
|
|
1220
|
+
"agentActivity.llmResponse": "Surov odgovor LLM",
|
|
1221
|
+
"agentActivity.llmDuration": "{{seconds}} s",
|
|
1222
|
+
"agentActivity.llmTokens": "{{prompt}} vhodnih / {{completion}} izhodnih žetonov",
|
|
1223
|
+
"agentActivity.llmResponseLabel": "Odgovor",
|
|
1224
|
+
"agentActivity.llmSystemPrompt": "Sistemski poziv",
|
|
1225
|
+
"agentActivity.llmUserPrompt": "Uporabniški poziv",
|
|
1226
|
+
"agentActivity.llmToolCalls": "Klici orodij",
|
|
1227
|
+
"agentActivity.showRawLlm": "Surovi LLM",
|
|
1228
|
+
"agentActivity.earlierConversations": "Prejšnji pogovori ({{count}})",
|
|
1229
|
+
"agentActivity.earlierActivity": "Prejšnja dejavnost"
|
|
1184
1230
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.53.0",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
"access": "public"
|
|
127
127
|
},
|
|
128
128
|
"dependencies": {
|
|
129
|
-
"@almadar/core": "^10.
|
|
129
|
+
"@almadar/core": "^10.115.0",
|
|
130
130
|
"@almadar/evaluator": "^2.53.0",
|
|
131
131
|
"@almadar/logger": "^1.15.0",
|
|
132
|
-
"@almadar/runtime": "^6.
|
|
133
|
-
"@almadar/std": "^16.
|
|
132
|
+
"@almadar/runtime": "^6.101.0",
|
|
133
|
+
"@almadar/std": "^16.239.0",
|
|
134
134
|
"@almadar/syntax": "^1.19.0",
|
|
135
135
|
"@dnd-kit/core": "^6.3.1",
|
|
136
136
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
"devDependencies": {
|
|
194
|
-
"@almadar-io/behaviors": "^0.16.
|
|
194
|
+
"@almadar-io/behaviors": "^0.16.186",
|
|
195
195
|
"@almadar/eslint-plugin": "^2.21.0",
|
|
196
196
|
"@react-three/drei": "^10.7.7",
|
|
197
197
|
"@react-three/fiber": "^9.6.0",
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
},
|
|
256
256
|
"scripts": {
|
|
257
257
|
"build": "rm -rf dist && NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
258
|
-
"build:dev": "NODE_OPTIONS=--max-old-space-size=8192 UI_SKIP_DTS=1 tsup",
|
|
258
|
+
"build:dev": "rm -f dist/chunk-* && NODE_OPTIONS=--max-old-space-size=8192 UI_SKIP_DTS=1 tsup",
|
|
259
259
|
"build:watch": "tsup --watch",
|
|
260
260
|
"typecheck": "tsc --noEmit",
|
|
261
261
|
"test": "vitest run",
|
package/tailwind-preset.cjs
CHANGED
|
@@ -856,6 +856,19 @@ module.exports = {
|
|
|
856
856
|
'backdrop-filter': 'var(--surface-backdrop, none)',
|
|
857
857
|
'-webkit-backdrop-filter': 'var(--surface-backdrop, none)',
|
|
858
858
|
},
|
|
859
|
+
// Content surface: the box behind a content block (table, calendar, list,
|
|
860
|
+
// chart …). Every value is a theme hook with a paint-site fallback, so a
|
|
861
|
+
// [data-theme] subtree's colors apply (never alias these on :root).
|
|
862
|
+
'.surface-content': {
|
|
863
|
+
'background-color': 'var(--surface-content-bg, var(--color-card))',
|
|
864
|
+
'background-image': 'var(--surface-card-image, none)',
|
|
865
|
+
'backdrop-filter': 'var(--surface-backdrop, none)',
|
|
866
|
+
'-webkit-backdrop-filter': 'var(--surface-backdrop, none)',
|
|
867
|
+
'border-width': 'var(--surface-content-border-width, var(--border-width, 1px))',
|
|
868
|
+
'border-color': 'var(--surface-content-border-color, var(--color-border))',
|
|
869
|
+
'border-radius': 'var(--surface-content-radius, var(--radius-container, var(--radius-md)))',
|
|
870
|
+
'box-shadow': 'var(--surface-content-shadow, var(--elevation-card, var(--shadow-sm)))',
|
|
871
|
+
},
|
|
859
872
|
// Surface material on the page background (app shell / themed root).
|
|
860
873
|
'.surface-page': {
|
|
861
874
|
'background-image': 'var(--surface-page-image, none)',
|
package/themes/_base.css
CHANGED
|
@@ -226,6 +226,9 @@
|
|
|
226
226
|
/* A busy control shows its spinner only once its action outlasts this
|
|
227
227
|
* (under it the action reads as instant — no flash on fast actions). */
|
|
228
228
|
--motion-busy-delay: 300ms;
|
|
229
|
+
/* An empty slot awaiting its server render shows the compiler-predicted
|
|
230
|
+
* skeleton (`block`) or nothing (`none`), fading in after the busy delay. */
|
|
231
|
+
--awaiting-skeleton-display: none;
|
|
229
232
|
--motion-enter-stagger: 40ms;
|
|
230
233
|
--motion-enter-rise-from-transform: translateY(12px);
|
|
231
234
|
--motion-enter-scale-from-transform: scale(0.96);
|
|
@@ -233,12 +236,12 @@
|
|
|
233
236
|
--motion-enter-slide-from-transform: translateX(calc(16px * var(--motion-enter-slide-sign)));
|
|
234
237
|
|
|
235
238
|
/* ----------------------------------------------------------------
|
|
236
|
-
* Skeleton shimmer — the loading-placeholder sweep.
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
+
* Skeleton shimmer — the loading-placeholder sweep. A theme may set
|
|
240
|
+
* --skeleton-base / --skeleton-highlight to restyle the tone; unset, the
|
|
241
|
+
* shimmer paints the active theme's --color-muted / --color-surface
|
|
242
|
+
* (resolved at `.almadar-shimmer`, not here — a :root alias would freeze
|
|
243
|
+
* the root theme's colors for every [data-theme] subtree).
|
|
239
244
|
* ---------------------------------------------------------------- */
|
|
240
|
-
--skeleton-base: var(--color-muted, rgba(128, 128, 128, 0.18));
|
|
241
|
-
--skeleton-highlight: var(--color-surface, rgba(255, 255, 255, 0.55));
|
|
242
245
|
--duration-shimmer: 1.5s;
|
|
243
246
|
}
|
|
244
247
|
|
|
@@ -284,6 +287,13 @@
|
|
|
284
287
|
animation: almadar-row-pending var(--duration-fast, 150ms) var(--easing-standard, ease) var(--motion-busy-delay, 300ms) forwards;
|
|
285
288
|
}
|
|
286
289
|
|
|
290
|
+
/* Awaiting-server skeleton: theme-switched, appears only once the round trip outlasts --motion-busy-delay. */
|
|
291
|
+
.almadar-awaiting-skeleton {
|
|
292
|
+
display: var(--awaiting-skeleton-display, none);
|
|
293
|
+
opacity: 0;
|
|
294
|
+
animation: almadar-busy-show var(--duration-fast, 150ms) var(--easing-standard, ease) var(--motion-busy-delay, 300ms) forwards;
|
|
295
|
+
}
|
|
296
|
+
|
|
287
297
|
/* Slot content: plays the theme's default entry (restarted when the content changes). */
|
|
288
298
|
.almadar-enter-slot {
|
|
289
299
|
animation-name: var(--motion-enter-default, none);
|
|
@@ -316,9 +326,9 @@
|
|
|
316
326
|
.almadar-shimmer {
|
|
317
327
|
background-image: linear-gradient(
|
|
318
328
|
90deg,
|
|
319
|
-
var(--skeleton-base) 0%,
|
|
320
|
-
var(--skeleton-highlight) 50%,
|
|
321
|
-
var(--skeleton-base) 100%
|
|
329
|
+
var(--skeleton-base, var(--color-muted)) 0%,
|
|
330
|
+
var(--skeleton-highlight, var(--color-surface)) 50%,
|
|
331
|
+
var(--skeleton-base, var(--color-muted)) 100%
|
|
322
332
|
);
|
|
323
333
|
background-size: 200% 100%;
|
|
324
334
|
background-repeat: no-repeat;
|
|
@@ -341,3 +351,13 @@
|
|
|
341
351
|
scroll-behavior: auto !important;
|
|
342
352
|
}
|
|
343
353
|
}
|
|
354
|
+
|
|
355
|
+
/* The `dock` slot (a right panel that pushes the page) sets this inset while open. */
|
|
356
|
+
body {
|
|
357
|
+
padding-inline-end: var(--almadar-dock-inset, 0px);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* A `dock` inside a contained preview pushes that preview, not the page. */
|
|
361
|
+
.ui-slot-renderer {
|
|
362
|
+
padding-inline-end: var(--almadar-dock-contained-inset, 0px);
|
|
363
|
+
}
|
package/themes/_contract.md
CHANGED
|
@@ -236,6 +236,11 @@ These separate artistic styles (Art Deco vs Win95 vs wabi-sabi) along dimensions
|
|
|
236
236
|
| `surface.cardImage` | `--surface-card-image` | `.surface-material`: `background-image` over the card color | `none` |
|
|
237
237
|
| `surface.pageImage` | `--surface-page-image` | `.surface-page` (app shells, themed orbital roots) | `none` |
|
|
238
238
|
| `surface.pageImageSize` | `--surface-page-image-size` | `.surface-page` | `auto` |
|
|
239
|
+
| `surface.contentBg` | `--surface-content-bg` | `.surface-content`: the background behind every content block (table, calendar, list, chart …) and the default `Card` | `--color-card` |
|
|
240
|
+
| `surface.contentBorderWidth` | `--surface-content-border-width` | `.surface-content` | `--border-width` |
|
|
241
|
+
| `surface.contentBorderColor` | `--surface-content-border-color` | `.surface-content` | `--color-border` |
|
|
242
|
+
| `surface.contentRadius` | `--surface-content-radius` | `.surface-content` | `--radius-container` |
|
|
243
|
+
| `surface.contentShadow` | `--surface-content-shadow` | `.surface-content` | `--elevation-card` |
|
|
239
244
|
|
|
240
245
|
| `motion.shapes.modalEnter` / `modalExit` | `--motion-modal-enter-from-transform` / `--motion-modal-exit-to-transform` | `Modal` (every modal slot: runtime, contained preview, compiled) | `scale(.96) translateY(8px)` / `scale(.92) translateY(16px)` |
|
|
241
246
|
| `motion.shapes.popoverEnter` / `popoverExit` | `--motion-popover-enter-from-transform` / `--motion-popover-exit-to-transform` | `Popover`, menus | `scale(.95)` |
|
|
@@ -45,12 +45,12 @@ declare const AVL_3D_COLORS: {
|
|
|
45
45
|
readonly lightAmbient: "var(--color-info)";
|
|
46
46
|
readonly lightDirectional: string;
|
|
47
47
|
readonly lightFill: string;
|
|
48
|
-
readonly "op:effect": string;
|
|
49
|
-
readonly "op:collection": string;
|
|
50
|
-
readonly "op:logic": string;
|
|
51
48
|
readonly "op:control": string;
|
|
52
49
|
readonly "op:arithmetic": string;
|
|
53
50
|
readonly "op:comparison": string;
|
|
51
|
+
readonly "op:logic": string;
|
|
52
|
+
readonly "op:effect": string;
|
|
53
|
+
readonly "op:collection": string;
|
|
54
54
|
readonly "op:std-math": string;
|
|
55
55
|
readonly "op:std-str": string;
|
|
56
56
|
readonly "op:std-array": string;
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { extendTailwindMerge } from 'tailwind-merge';
|
|
3
3
|
|
|
4
|
-
// lib/domPassthrough.ts
|
|
5
|
-
var GLOBAL_ATTRIBUTES = /* @__PURE__ */ new Set(["role", "id", "lang", "dir", "tabIndex"]);
|
|
6
|
-
function domPassthrough(props) {
|
|
7
|
-
const out = {};
|
|
8
|
-
for (const [key, value] of Object.entries(props)) {
|
|
9
|
-
if (key.startsWith("aria-") || key.startsWith("data-") || GLOBAL_ATTRIBUTES.has(key)) {
|
|
10
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean" || value === void 0) {
|
|
11
|
-
out[key] = value;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return out;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
4
|
// lib/theme-scale.ts
|
|
19
5
|
var THEME_SCALE_KEYS = {
|
|
20
6
|
height: ["button-sm", "button-md", "button-lg", "input-sm", "input-md", "input-lg", "row-compact", "row-normal", "row-spacious", "icon-default"],
|
|
@@ -47,4 +33,18 @@ function cn(...inputs) {
|
|
|
47
33
|
return twMerge(clsx(inputs));
|
|
48
34
|
}
|
|
49
35
|
|
|
36
|
+
// lib/domPassthrough.ts
|
|
37
|
+
var GLOBAL_ATTRIBUTES = /* @__PURE__ */ new Set(["role", "id", "lang", "dir", "tabIndex"]);
|
|
38
|
+
function domPassthrough(props) {
|
|
39
|
+
const out = {};
|
|
40
|
+
for (const [key, value] of Object.entries(props)) {
|
|
41
|
+
if (key.startsWith("aria-") || key.startsWith("data-") || GLOBAL_ATTRIBUTES.has(key)) {
|
|
42
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean" || value === void 0) {
|
|
43
|
+
out[key] = value;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return out;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
50
|
export { cn, domPassthrough };
|