@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.
Files changed (127) hide show
  1. package/dist/{EntityBindingContext-BbxrwSb9.d.ts → AwaitingSkeletonContext-Bh399p1x.d.ts} +17 -2
  2. package/dist/{Canvas3DHost-CLC_jXh_.d.ts → Canvas3DHost-B-y2TNij.d.ts} +1 -1
  3. package/dist/{FileTree-RKQqRhIM.d.ts → FileTree-DUi7e7Z8.d.ts} +5 -5
  4. package/dist/{GameAudioProvider-BgWLggIy.d.ts → GameAudioProvider-DyBvYP2c.d.ts} +1 -1
  5. package/dist/{NavStackContext-B-XLULCO.d.ts → NavStackContext-04NLdXsY.d.ts} +8 -0
  6. package/dist/Typography-JGSDH4JP.js +5 -0
  7. package/dist/{UISlotContext-DNM8iXna.d.ts → UISlotContext-CS487Uoc.d.ts} +1 -1
  8. package/dist/{UISlotRenderer-7UYHFW4S.js → UISlotRenderer-JT34I3O7.js} +9 -9
  9. package/dist/avl/index.cjs +39958 -38525
  10. package/dist/avl/index.d.ts +8 -5
  11. package/dist/avl/index.js +37 -26
  12. package/dist/{chunk-JXUYEO7U.js → chunk-2LFBQ4IS.js} +7 -1
  13. package/dist/{chunk-GIPZSCND.js → chunk-3EF5SDIJ.js} +31157 -31206
  14. package/dist/{chunk-GHXWGQTX.js → chunk-4OZDHCZV.js} +1 -1
  15. package/dist/{chunk-HQDKHLFG.js → chunk-64WACXM7.js} +15 -1
  16. package/dist/{chunk-FGHRVJCI.js → chunk-6O37FCX4.js} +13 -2
  17. package/dist/{chunk-BUEIZY54.js → chunk-7LM6I3NA.js} +8 -7
  18. package/dist/chunk-CBIJP5PL.js +284 -0
  19. package/dist/{chunk-MWPX2O4M.js → chunk-GMDMOYXD.js} +3 -16
  20. package/dist/{chunk-YKHNK5JH.js → chunk-GODZKHAL.js} +11 -4
  21. package/dist/{chunk-T7IH5ABO.js → chunk-IKULQIDX.js} +199 -88
  22. package/dist/{chunk-NTO555KF.js → chunk-JRW33U35.js} +183 -62
  23. package/dist/{chunk-OLZ3EEML.js → chunk-KQXXO42S.js} +106 -90
  24. package/dist/chunk-OKWD7LPO.js +80 -0
  25. package/dist/{chunk-YHY5K2Y7.js → chunk-PEST66PN.js} +6 -0
  26. package/dist/{chunk-L55SAFKL.js → chunk-UGHAADU5.js} +77 -1
  27. package/dist/{chunk-6CFYRP4S.js → chunk-VHTJRS2N.js} +4 -8
  28. package/dist/{chunk-R4V7IZQP.js → chunk-WPNM2KC6.js} +2 -2
  29. package/dist/{cn-CO-0rolG.d.ts → cn-ClXGlIOY.d.ts} +2 -2
  30. package/dist/components/index.cjs +46084 -44766
  31. package/dist/components/index.d.ts +645 -699
  32. package/dist/components/index.js +621 -13
  33. package/dist/context/index.cjs +20 -7
  34. package/dist/context/index.d.ts +3 -3
  35. package/dist/context/index.js +3 -3
  36. package/dist/hooks/index.cjs +126 -9
  37. package/dist/hooks/index.d.ts +32 -7
  38. package/dist/hooks/index.js +7 -7
  39. package/dist/lib/drawable/three/index.cjs +79 -2
  40. package/dist/lib/drawable/three/index.d.ts +3 -3
  41. package/dist/lib/drawable/three/index.js +7 -7
  42. package/dist/lib/index.cjs +116 -2
  43. package/dist/lib/index.d.ts +29 -6
  44. package/dist/lib/index.js +6 -5
  45. package/dist/locales/index.cjs +231 -3
  46. package/dist/locales/index.js +155 -3
  47. package/dist/{paintDispatch-CMgOyVjS.d.ts → paintDispatch-_6EhJCiL.d.ts} +6 -6
  48. package/dist/providers/index.cjs +36404 -35028
  49. package/dist/providers/index.d.ts +34 -9
  50. package/dist/providers/index.js +82 -19
  51. package/dist/renderer/index.cjs +6 -0
  52. package/dist/renderer/index.d.ts +1 -1
  53. package/dist/renderer/index.js +1 -1
  54. package/dist/runtime/index.cjs +37861 -36437
  55. package/dist/runtime/index.d.ts +6 -4
  56. package/dist/runtime/index.js +11 -11
  57. package/dist/ssr/index.cjs +584 -181
  58. package/dist/ssr/index.d.cts +36 -44
  59. package/dist/ssr/index.d.ts +36 -44
  60. package/dist/ssr/index.js +527 -124
  61. package/dist/{themeTokens-CN9WCXQc.d.ts → themeTokens-Ccu7EmGY.d.ts} +4 -2
  62. package/dist/{useUISlots-CwUWM1ra.d.ts → useUISlots-1dk2TR4j.d.ts} +1 -9
  63. package/dist/{verificationRegistry-DBHfOR9y.d.ts → verificationRegistry-CD7Xb40L.d.ts} +1 -1
  64. package/locales/ar.json +77 -1
  65. package/locales/en.json +77 -1
  66. package/locales/sl.json +77 -1
  67. package/package.json +13 -10
  68. package/tailwind-preset.cjs +37 -1
  69. package/themes/_base.css +114 -8
  70. package/themes/_contract.md +6 -0
  71. package/themes/almadar-website.css +2 -0
  72. package/themes/almadar.css +2 -0
  73. package/themes/aqua.css +5 -3
  74. package/themes/arabesque.css +9 -7
  75. package/themes/art-deco.css +5 -3
  76. package/themes/art-nouveau.css +4 -0
  77. package/themes/atelier.css +10 -8
  78. package/themes/bauhaus.css +2 -0
  79. package/themes/bloomberg-dense.css +13 -11
  80. package/themes/blueprint.css +2 -0
  81. package/themes/clay.css +2 -0
  82. package/themes/comic.css +12 -10
  83. package/themes/constructivist.css +2 -0
  84. package/themes/corporate.css +4 -2
  85. package/themes/cyberpunk.css +2 -0
  86. package/themes/frutiger-aero.css +2 -0
  87. package/themes/game-adventure.css +1 -0
  88. package/themes/game-rpg.css +1 -0
  89. package/themes/game-sci-fi.css +1 -0
  90. package/themes/game-ui-pack.css +1 -0
  91. package/themes/gazette.css +10 -8
  92. package/themes/glass.css +17 -15
  93. package/themes/gothic.css +2 -0
  94. package/themes/ink-wash.css +2 -0
  95. package/themes/kawaii.css +2 -0
  96. package/themes/kiosk.css +17 -15
  97. package/themes/linear-clean.css +12 -10
  98. package/themes/luxury.css +2 -0
  99. package/themes/mac-classic.css +2 -0
  100. package/themes/material.css +2 -0
  101. package/themes/memphis.css +2 -0
  102. package/themes/mid-century.css +2 -0
  103. package/themes/minimalist.css +2 -0
  104. package/themes/mudcloth.css +2 -0
  105. package/themes/neon.css +2 -0
  106. package/themes/neumorphic.css +2 -0
  107. package/themes/newsprint.css +2 -0
  108. package/themes/notion-editorial.css +12 -10
  109. package/themes/pixel.css +2 -0
  110. package/themes/prism.css +20 -18
  111. package/themes/retro.css +2 -0
  112. package/themes/risograph.css +2 -0
  113. package/themes/scandi.css +2 -0
  114. package/themes/sketch.css +2 -0
  115. package/themes/solarpunk.css +2 -0
  116. package/themes/steampunk.css +2 -0
  117. package/themes/swiss.css +2 -0
  118. package/themes/terminal.css +8 -6
  119. package/themes/trait-wars.css +2 -0
  120. package/themes/ukiyo-e.css +2 -0
  121. package/themes/vaporwave.css +2 -0
  122. package/themes/victorian.css +2 -0
  123. package/themes/wabi-sabi.css +2 -0
  124. package/themes/win95.css +2 -0
  125. package/themes/wireframe.css +2 -0
  126. package/themes/zine.css +2 -0
  127. 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-YHY5K2Y7.js';
1
+ import { isNotificationSlot } from './chunk-PEST66PN.js';
2
2
  import React, { useState, useRef, useMemo, useEffect, useCallback } from 'react';
3
- import { UI_SLOTS, isRenderBindingMarker } from '@almadar/core';
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 = UI_SLOTS.filter(
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.animation === content.animation && 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)) {
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-BUEIZY54.js';
2
- import { Typography } from './chunk-MWPX2O4M.js';
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;