@almadar/ui 6.51.2 → 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-CLC_jXh_.d.ts → Canvas3DHost-B-y2TNij.d.ts} +1 -1
- package/dist/{FileTree-RKQqRhIM.d.ts → FileTree-DUi7e7Z8.d.ts} +5 -5
- package/dist/{GameAudioProvider-BgWLggIy.d.ts → GameAudioProvider-DyBvYP2c.d.ts} +1 -1
- package/dist/{NavStackContext-B-XLULCO.d.ts → NavStackContext-04NLdXsY.d.ts} +8 -0
- package/dist/Typography-JGSDH4JP.js +5 -0
- package/dist/{UISlotContext-DNM8iXna.d.ts → UISlotContext-CS487Uoc.d.ts} +1 -1
- package/dist/{UISlotRenderer-7UYHFW4S.js → UISlotRenderer-JT34I3O7.js} +9 -9
- package/dist/avl/index.cjs +39958 -38525
- package/dist/avl/index.d.ts +8 -5
- package/dist/avl/index.js +37 -26
- package/dist/{chunk-JXUYEO7U.js → chunk-2LFBQ4IS.js} +7 -1
- package/dist/{chunk-GIPZSCND.js → chunk-3EF5SDIJ.js} +31157 -31206
- package/dist/{chunk-GHXWGQTX.js → chunk-4OZDHCZV.js} +1 -1
- package/dist/{chunk-HQDKHLFG.js → chunk-64WACXM7.js} +15 -1
- package/dist/{chunk-FGHRVJCI.js → chunk-6O37FCX4.js} +13 -2
- package/dist/{chunk-BUEIZY54.js → chunk-7LM6I3NA.js} +8 -7
- package/dist/chunk-CBIJP5PL.js +284 -0
- package/dist/{chunk-MWPX2O4M.js → chunk-GMDMOYXD.js} +3 -16
- package/dist/{chunk-YKHNK5JH.js → chunk-GODZKHAL.js} +11 -4
- package/dist/{chunk-T7IH5ABO.js → chunk-IKULQIDX.js} +199 -88
- package/dist/{chunk-NTO555KF.js → chunk-JRW33U35.js} +183 -62
- package/dist/{chunk-OLZ3EEML.js → chunk-KQXXO42S.js} +106 -90
- package/dist/chunk-OKWD7LPO.js +80 -0
- package/dist/{chunk-YHY5K2Y7.js → chunk-PEST66PN.js} +6 -0
- package/dist/{chunk-L55SAFKL.js → chunk-UGHAADU5.js} +77 -1
- package/dist/{chunk-6CFYRP4S.js → chunk-VHTJRS2N.js} +4 -8
- package/dist/{chunk-R4V7IZQP.js → chunk-WPNM2KC6.js} +2 -2
- package/dist/{cn-CO-0rolG.d.ts → cn-ClXGlIOY.d.ts} +2 -2
- package/dist/components/index.cjs +46084 -44766
- package/dist/components/index.d.ts +645 -699
- package/dist/components/index.js +621 -13
- package/dist/context/index.cjs +20 -7
- package/dist/context/index.d.ts +3 -3
- package/dist/context/index.js +3 -3
- package/dist/hooks/index.cjs +126 -9
- package/dist/hooks/index.d.ts +32 -7
- package/dist/hooks/index.js +7 -7
- package/dist/lib/drawable/three/index.cjs +79 -2
- package/dist/lib/drawable/three/index.d.ts +3 -3
- package/dist/lib/drawable/three/index.js +7 -7
- package/dist/lib/index.cjs +116 -2
- package/dist/lib/index.d.ts +29 -6
- package/dist/lib/index.js +6 -5
- package/dist/locales/index.cjs +231 -3
- package/dist/locales/index.js +155 -3
- package/dist/{paintDispatch-CMgOyVjS.d.ts → paintDispatch-_6EhJCiL.d.ts} +6 -6
- package/dist/providers/index.cjs +36404 -35028
- package/dist/providers/index.d.ts +34 -9
- package/dist/providers/index.js +82 -19
- 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 +37861 -36437
- package/dist/runtime/index.d.ts +6 -4
- package/dist/runtime/index.js +11 -11
- package/dist/ssr/index.cjs +584 -181
- package/dist/ssr/index.d.cts +36 -44
- package/dist/ssr/index.d.ts +36 -44
- package/dist/ssr/index.js +527 -124
- package/dist/{themeTokens-CN9WCXQc.d.ts → themeTokens-Ccu7EmGY.d.ts} +4 -2
- package/dist/{useUISlots-CwUWM1ra.d.ts → useUISlots-1dk2TR4j.d.ts} +1 -9
- package/dist/{verificationRegistry-DBHfOR9y.d.ts → verificationRegistry-CD7Xb40L.d.ts} +1 -1
- package/locales/ar.json +77 -1
- package/locales/en.json +77 -1
- package/locales/sl.json +77 -1
- package/package.json +13 -10
- package/tailwind-preset.cjs +37 -1
- package/themes/_base.css +114 -8
- package/themes/_contract.md +6 -0
- package/themes/almadar-website.css +2 -0
- package/themes/almadar.css +2 -0
- package/themes/aqua.css +5 -3
- package/themes/arabesque.css +9 -7
- package/themes/art-deco.css +5 -3
- package/themes/art-nouveau.css +4 -0
- package/themes/atelier.css +10 -8
- package/themes/bauhaus.css +2 -0
- package/themes/bloomberg-dense.css +13 -11
- package/themes/blueprint.css +2 -0
- package/themes/clay.css +2 -0
- package/themes/comic.css +12 -10
- package/themes/constructivist.css +2 -0
- package/themes/corporate.css +4 -2
- package/themes/cyberpunk.css +2 -0
- package/themes/frutiger-aero.css +2 -0
- package/themes/game-adventure.css +1 -0
- package/themes/game-rpg.css +1 -0
- package/themes/game-sci-fi.css +1 -0
- package/themes/game-ui-pack.css +1 -0
- package/themes/gazette.css +10 -8
- package/themes/glass.css +17 -15
- package/themes/gothic.css +2 -0
- package/themes/ink-wash.css +2 -0
- package/themes/kawaii.css +2 -0
- package/themes/kiosk.css +17 -15
- package/themes/linear-clean.css +12 -10
- package/themes/luxury.css +2 -0
- package/themes/mac-classic.css +2 -0
- package/themes/material.css +2 -0
- package/themes/memphis.css +2 -0
- package/themes/mid-century.css +2 -0
- package/themes/minimalist.css +2 -0
- package/themes/mudcloth.css +2 -0
- package/themes/neon.css +2 -0
- package/themes/neumorphic.css +2 -0
- package/themes/newsprint.css +2 -0
- package/themes/notion-editorial.css +12 -10
- package/themes/pixel.css +2 -0
- package/themes/prism.css +20 -18
- package/themes/retro.css +2 -0
- package/themes/risograph.css +2 -0
- package/themes/scandi.css +2 -0
- package/themes/sketch.css +2 -0
- package/themes/solarpunk.css +2 -0
- package/themes/steampunk.css +2 -0
- package/themes/swiss.css +2 -0
- package/themes/terminal.css +8 -6
- package/themes/trait-wars.css +2 -0
- package/themes/ukiyo-e.css +2 -0
- package/themes/vaporwave.css +2 -0
- package/themes/victorian.css +2 -0
- package/themes/wabi-sabi.css +2 -0
- package/themes/win95.css +2 -0
- package/themes/wireframe.css +2 -0
- package/themes/zine.css +2 -0
- package/dist/Typography-2Z3JKWHN.js +0 -5
|
@@ -115,6 +115,7 @@ var en_default = {
|
|
|
115
115
|
"aria.removeFilter": "Remove filter",
|
|
116
116
|
"aria.closeDrawer": "Close drawer",
|
|
117
117
|
"aria.closePanel": "Close panel",
|
|
118
|
+
"aria.dockPanel": "Side panel",
|
|
118
119
|
"aria.previousImage": "Previous image",
|
|
119
120
|
"aria.nextImage": "Next image",
|
|
120
121
|
"aria.dismiss": "Dismiss",
|
|
@@ -136,6 +137,7 @@ var en_default = {
|
|
|
136
137
|
"aria.openMenu": "Open menu",
|
|
137
138
|
"aria.closeMenu": "Close menu",
|
|
138
139
|
"aria.openSidebar": "Open sidebar",
|
|
140
|
+
"aria.openRow": "Open item {{position}}",
|
|
139
141
|
"sidebar.expand": "Expand sidebar",
|
|
140
142
|
"sidebar.collapse": "Collapse sidebar",
|
|
141
143
|
"sidebar.close": "Close sidebar",
|
|
@@ -1151,7 +1153,81 @@ var en_default = {
|
|
|
1151
1153
|
"flowCanvas.presetSize": "{{label}} ({{width}}px)",
|
|
1152
1154
|
"avl.breadcrumb.transitionNumber": "Transition #{{n}}",
|
|
1153
1155
|
"orbInspector.pattern": "Pattern",
|
|
1154
|
-
"orbInspector.slotLabel": "slot: {{slot}}"
|
|
1156
|
+
"orbInspector.slotLabel": "slot: {{slot}}",
|
|
1157
|
+
"detailPanel.section.activity": "Activity",
|
|
1158
|
+
"detailPanel.section.lineItems": "Line items",
|
|
1159
|
+
"detailPanel.tab.overview": "Overview",
|
|
1160
|
+
"detailPanel.thread.empty": "No messages yet",
|
|
1161
|
+
"detailPanel.openImage": "Open image",
|
|
1162
|
+
"detailPanel.showImage": "Show image {{index}}",
|
|
1163
|
+
"aria.clearSelection": "Clear selection",
|
|
1164
|
+
"aria.searchOptions": "Search options",
|
|
1165
|
+
"aria.zoomIn": "Zoom in",
|
|
1166
|
+
"aria.zoomOut": "Zoom out",
|
|
1167
|
+
"aria.previousPage": "Previous page",
|
|
1168
|
+
"aria.nextPage": "Next page",
|
|
1169
|
+
"aria.downloadDocument": "Download document",
|
|
1170
|
+
"aria.printDocument": "Print document",
|
|
1171
|
+
"aria.wrapLines": "Wrap lines",
|
|
1172
|
+
"aria.copyCode": "Copy code",
|
|
1173
|
+
"aria.clearInput": "Clear input",
|
|
1174
|
+
"aria.skipToContent": "Skip to content",
|
|
1175
|
+
"aria.mainNavigation": "Main navigation",
|
|
1176
|
+
"aria.carouselSlides": "Slides",
|
|
1177
|
+
"aria.minimap": "Minimap",
|
|
1178
|
+
"aria.canvasScene": "Game scene",
|
|
1179
|
+
"aria.learningCanvas": "Interactive diagram",
|
|
1180
|
+
"aria.scene3d": "3D scene",
|
|
1181
|
+
"aria.graphCanvas": "Graph",
|
|
1182
|
+
"aria.positionedCanvas": "Floor plan",
|
|
1183
|
+
"aria.walkTraitDone": "completed",
|
|
1184
|
+
"aria.walkTraitPending": "pending",
|
|
1185
|
+
"aria.walkGraph": "State graph for {{trait}}: {{from}} to {{to}}",
|
|
1186
|
+
"aria.loading": "Loading",
|
|
1187
|
+
"agentActivity.toolCall": "Called {{tool}}",
|
|
1188
|
+
"agentActivity.toolResult": "{{tool}} returned",
|
|
1189
|
+
"agentActivity.toolRows": "{{count}} rows",
|
|
1190
|
+
"agentActivity.thinking": "Thinking\u2026",
|
|
1191
|
+
"agentActivity.analyzed": "Analyzed your request \u2014 {{organism}}",
|
|
1192
|
+
"agentActivity.renamed": "Rename {{from}} \u2192 {{to}}",
|
|
1193
|
+
"agentActivity.deleted": "Remove {{orbitalName}}",
|
|
1194
|
+
"agentActivity.roster": "Planning {{count}} orbitals",
|
|
1195
|
+
"agentActivity.orbitalStarted": "Working on {{orbitalName}}\u2026",
|
|
1196
|
+
"agentActivity.orbitalStartedSettled": "Started {{orbitalName}}",
|
|
1197
|
+
"agentActivity.orbitalDone": "{{orbitalName}} ready",
|
|
1198
|
+
"agentActivity.orbitalCounts": "{{traitCount}} traits, {{transitionCount}} transitions",
|
|
1199
|
+
"agentActivity.change.orbital-added": "Added {{orbitalName}}",
|
|
1200
|
+
"agentActivity.change.orbital-removed": "Removed {{orbitalName}}",
|
|
1201
|
+
"agentActivity.change.entity-fields-changed": "Changed the data fields of {{orbitalName}}",
|
|
1202
|
+
"agentActivity.change.trait-added": "Added a behavior to {{orbitalName}}",
|
|
1203
|
+
"agentActivity.change.trait-removed": "Removed a behavior from {{orbitalName}}",
|
|
1204
|
+
"agentActivity.change.state-machine-changed": "Changed the flow of {{orbitalName}}",
|
|
1205
|
+
"agentActivity.change.guard-changed": "Changed a rule in {{orbitalName}}",
|
|
1206
|
+
"agentActivity.change.effect-changed": "Changed what {{orbitalName}} does",
|
|
1207
|
+
"agentActivity.change.render-ui-changed": "Changed the design of {{orbitalName}}",
|
|
1208
|
+
"agentActivity.change.event-wiring-changed": "Changed the connections of {{orbitalName}}",
|
|
1209
|
+
"agentActivity.change.page-changed": "Changed the pages of {{orbitalName}}",
|
|
1210
|
+
"agentActivity.change.behavior-composed": "Composed a behavior into {{orbitalName}}",
|
|
1211
|
+
"agentActivity.done": "Done \u2014 {{count}} orbitals ready",
|
|
1212
|
+
"agentActivity.cancelled": "Cancelled",
|
|
1213
|
+
"agentActivity.jump": "Show",
|
|
1214
|
+
"agentActivity.emptyTitle": "No activity yet",
|
|
1215
|
+
"agentActivity.emptyDescription": "Send a message and the agent's work shows up here.",
|
|
1216
|
+
"agentActivity.fileOperation": "{{operation}}",
|
|
1217
|
+
"agentActivity.schemaDiff": "Edited {{filePath}}",
|
|
1218
|
+
"agentActivity.coordinatorDecision": "Chose {{organism}}",
|
|
1219
|
+
"agentActivity.change.trait-config-changed": "Changed the settings of {{orbitalName}}",
|
|
1220
|
+
"agentActivity.change.theme-changed": "Changed the theme of {{orbitalName}}",
|
|
1221
|
+
"agentActivity.llmResponse": "Raw LLM response",
|
|
1222
|
+
"agentActivity.llmDuration": "{{seconds}}s",
|
|
1223
|
+
"agentActivity.llmTokens": "{{prompt}} in / {{completion}} out tokens",
|
|
1224
|
+
"agentActivity.llmResponseLabel": "Response",
|
|
1225
|
+
"agentActivity.llmSystemPrompt": "System prompt",
|
|
1226
|
+
"agentActivity.llmUserPrompt": "User prompt",
|
|
1227
|
+
"agentActivity.llmToolCalls": "Tool calls",
|
|
1228
|
+
"agentActivity.showRawLlm": "Raw LLM",
|
|
1229
|
+
"agentActivity.earlierConversations": "Earlier conversations ({{count}})",
|
|
1230
|
+
"agentActivity.earlierActivity": "Earlier activity"
|
|
1155
1231
|
};
|
|
1156
1232
|
|
|
1157
1233
|
export { en_default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isNotificationSlot } from './chunk-
|
|
1
|
+
import { isNotificationSlot } from './chunk-PEST66PN.js';
|
|
2
2
|
import React, { useState, useRef, useMemo, useEffect, useCallback } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { RENDERED_SLOTS, isRenderBindingMarker } from '@almadar/core';
|
|
4
4
|
import { createLogger } from '@almadar/logger';
|
|
5
5
|
|
|
6
6
|
function expressionEqual(a, b) {
|
|
@@ -90,9 +90,7 @@ function reconcileSlotProps(prev, next) {
|
|
|
90
90
|
var log = createLogger("almadar:ui:ui-slots");
|
|
91
91
|
var DEFAULT_SOURCE_KEY = "__default__";
|
|
92
92
|
var MULTI_SOURCE_STACK_TRAIT = "__multi_source_stack__";
|
|
93
|
-
var ALL_SLOTS =
|
|
94
|
-
(slot) => !slot.includes(".") && slot !== "hud" && slot !== "screen"
|
|
95
|
-
);
|
|
93
|
+
var ALL_SLOTS = RENDERED_SLOTS;
|
|
96
94
|
var DEFAULT_SLOTS = ALL_SLOTS.reduce(
|
|
97
95
|
(acc, slot) => {
|
|
98
96
|
acc[slot] = null;
|
|
@@ -138,7 +136,6 @@ function aggregateSlot(sources) {
|
|
|
138
136
|
children
|
|
139
137
|
},
|
|
140
138
|
priority: 0,
|
|
141
|
-
animation: "fade",
|
|
142
139
|
sourceTrait: MULTI_SOURCE_STACK_TRAIT
|
|
143
140
|
};
|
|
144
141
|
}
|
|
@@ -202,7 +199,6 @@ function useUISlotManager() {
|
|
|
202
199
|
pattern: config.pattern,
|
|
203
200
|
props: config.props ?? {},
|
|
204
201
|
priority: config.priority ?? 0,
|
|
205
|
-
animation: config.animation ?? "fade",
|
|
206
202
|
onDismiss: config.onDismiss,
|
|
207
203
|
sourceTrait: config.sourceTrait,
|
|
208
204
|
slot: config.target,
|
|
@@ -243,7 +239,7 @@ function useUISlotManager() {
|
|
|
243
239
|
});
|
|
244
240
|
return prev;
|
|
245
241
|
}
|
|
246
|
-
if (existing && existing.priority === content.priority && existing.pattern === content.pattern && existing.
|
|
242
|
+
if (existing && existing.priority === content.priority && existing.pattern === content.pattern && existing.transitionEvent === content.transitionEvent && existing.fromState === content.fromState && existing.entity === content.entity && existing.nodeId === content.nodeId && existing.autoDismissAt === void 0 && content.autoDismissAt === void 0 && existing.onDismiss === void 0 === (content.onDismiss === void 0)) {
|
|
247
243
|
const reconciled = reconcileSlotProps(existing.props, content.props);
|
|
248
244
|
if (reconciled.equal) {
|
|
249
245
|
log.debug("slot:flush-bail", { slot: config.target, sourceKey, pattern: content.pattern });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { avlBlend, AVL_INK, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, avlTint, Box, VStack, effectCategoryOf } from './chunk-
|
|
2
|
-
import { Typography } from './chunk-
|
|
1
|
+
import { avlBlend, AVL_INK, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, avlTint, Box, VStack, effectCategoryOf } from './chunk-7LM6I3NA.js';
|
|
2
|
+
import { Typography } from './chunk-GMDMOYXD.js';
|
|
3
3
|
import { Vector3, QuadraticBezierCurve3, MathUtils, Quaternion } from 'three';
|
|
4
4
|
import { EntityPersistenceSchema } from '@almadar/core';
|
|
5
5
|
import { getStdOperatorMeta } from '@almadar/std/registry';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrbitalSchema } from '@almadar/core';
|
|
1
|
+
import { OrbitalSchema, A11yProps } from '@almadar/core';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
|
|
@@ -107,7 +107,7 @@ declare function parseContentSegments(content: string | undefined | null): Conte
|
|
|
107
107
|
*/
|
|
108
108
|
|
|
109
109
|
type BloomLevel = 'remember' | 'understand' | 'apply' | 'analyze' | 'evaluate' | 'create';
|
|
110
|
-
interface BloomQuizBlockProps {
|
|
110
|
+
interface BloomQuizBlockProps extends A11yProps {
|
|
111
111
|
level: BloomLevel;
|
|
112
112
|
question: string;
|
|
113
113
|
answer: string;
|