@almadar/ui 6.55.0 → 6.57.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 (59) hide show
  1. package/dist/{ArbitraryClassCompiler-DvzdeHxc.d.ts → ArbitraryClassCompiler-tChQ3nVq.d.ts} +15 -1
  2. package/dist/{FileTree-DUi7e7Z8.d.ts → FileTree-BSfgp-HH.d.ts} +29 -2
  3. package/dist/Typography-LZTP72Y4.js +5 -0
  4. package/dist/{UISlotRenderer-QTHFT6Z4.js → UISlotRenderer-NCGDIXN4.js} +8 -8
  5. package/dist/avl/index.cjs +4832 -4212
  6. package/dist/avl/index.d.ts +74 -5
  7. package/dist/avl/index.js +68 -711
  8. package/dist/{avl-schema-parser-C0wnAp5x.d.ts → avl-schema-parser-CH1QoZw1.d.ts} +1 -1
  9. package/dist/{chunk-HCSJHRC4.js → chunk-4ZGXIW3B.js} +1 -1
  10. package/dist/{chunk-RNY5LJXJ.js → chunk-723MJUU3.js} +1 -1
  11. package/dist/{chunk-6EV3OEBQ.js → chunk-CHNC4UYE.js} +3 -2
  12. package/dist/{chunk-SGJHVPHC.js → chunk-GZGDBS4S.js} +2 -2
  13. package/dist/{chunk-Y53Q55H5.js → chunk-HA7CJWQX.js} +1123 -1121
  14. package/dist/{chunk-JRW33U35.js → chunk-I5QOYW2Z.js} +1 -1
  15. package/dist/{chunk-KQXXO42S.js → chunk-KJGVLXEN.js} +78 -1
  16. package/dist/{chunk-HRCR53OW.js → chunk-LZRW6GXG.js} +18 -3
  17. package/dist/{chunk-2LFBQ4IS.js → chunk-MZIDOJMD.js} +2 -2
  18. package/dist/{chunk-QGH4NAQO.js → chunk-N7JIG57B.js} +9 -4
  19. package/dist/{chunk-XZKGRSIO.js → chunk-PYJ2UQWM.js} +2487 -1156
  20. package/dist/{chunk-FQM37C56.js → chunk-RHP5WL55.js} +61 -55
  21. package/dist/chunk-YYYHH5BA.js +2519 -0
  22. package/dist/{cn-ClXGlIOY.d.ts → cn-DIql5232.d.ts} +152 -24
  23. package/dist/components/index.cjs +6876 -3072
  24. package/dist/components/index.d.ts +45 -94
  25. package/dist/components/index.js +14 -16
  26. package/dist/context/index.cjs +23 -0
  27. package/dist/context/index.d.ts +2 -2
  28. package/dist/context/index.js +20 -1
  29. package/dist/hooks/index.cjs +2544 -7
  30. package/dist/hooks/index.d.ts +4 -1
  31. package/dist/hooks/index.js +7 -6
  32. package/dist/lib/drawable/three/index.cjs +22 -6
  33. package/dist/lib/drawable/three/index.d.ts +1 -1
  34. package/dist/lib/drawable/three/index.js +7 -7
  35. package/dist/lib/index.cjs +18 -3
  36. package/dist/lib/index.d.ts +1 -1
  37. package/dist/lib/index.js +3 -4
  38. package/dist/locales/index.cjs +54 -9
  39. package/dist/locales/index.js +2 -2489
  40. package/dist/providers/index.cjs +4035 -2382
  41. package/dist/providers/index.d.ts +2 -2
  42. package/dist/providers/index.js +24 -13
  43. package/dist/runtime/index.cjs +4092 -2447
  44. package/dist/runtime/index.d.ts +0 -13
  45. package/dist/runtime/index.js +11 -10
  46. package/dist/ssr/index.cjs +23 -6
  47. package/dist/ssr/index.js +23 -6
  48. package/dist/{useEventBus-JUAH3EFW.js → useEventBus-SWRN475O.js} +1 -1
  49. package/locales/ar.json +18 -3
  50. package/locales/en.json +18 -3
  51. package/locales/sl.json +18 -3
  52. package/package.json +6 -6
  53. package/tailwind-preset.cjs +6 -0
  54. package/themes/_fonts.css +1 -1
  55. package/themes/_presets.css +1 -0
  56. package/themes/kflow.css +299 -0
  57. package/dist/Typography-7PDT62PG.js +0 -5
  58. package/dist/chunk-F4ZTPKZL.js +0 -284
  59. package/dist/chunk-OKWD7LPO.js +0 -80
@@ -128,4 +128,4 @@ declare function traitLevelFromTrait(trait: Trait, linkedEntity: string): TraitL
128
128
  */
129
129
  declare function parseTransitionLevel(schema: OrbitalSchema, orbitalName: string, traitName: string, transitionIndex: number): TransitionLevelData | null;
130
130
 
131
- export { type ApplicationLevelData as A, type CrossLink as C, type ExternalLink as E, type FieldInfo as F, type OrbitalTraitInfo as O, type TraitLevelData as T, type OrbitalPageInfo as a, type OrbitalLevelData as b, type TransitionLevelData as c, type TraitTransitionInfo as d, parseOrbitalLevel as e, parseTraitLevel as f, parseTransitionLevel as g, parseApplicationLevel as p, traitLevelFromTrait as t };
131
+ export { type ApplicationLevelData as A, type CrossLink as C, type ExternalLink as E, type FieldInfo as F, type OrbitalTraitInfo as O, type SerializedEffect as S, type TraitLevelData as T, type OrbitalPageInfo as a, type OrbitalLevelData as b, type TransitionLevelData as c, type TraitTransitionInfo as d, parseOrbitalLevel as e, parseTraitLevel as f, parseTransitionLevel as g, parseApplicationLevel as p, traitLevelFromTrait as t };
@@ -1,5 +1,5 @@
1
1
  import { cn, domPassthrough } from './chunk-64WACXM7.js';
2
- import { formatValue } from './chunk-RNY5LJXJ.js';
2
+ import { formatValue } from './chunk-723MJUU3.js';
3
3
  import React from 'react';
4
4
  import { useFormatContext } from '@almadar/ui/hooks';
5
5
 
@@ -1,4 +1,4 @@
1
- import { en_default } from './chunk-HRCR53OW.js';
1
+ import { en_default } from './chunk-LZRW6GXG.js';
2
2
 
3
3
  // lib/format.ts
4
4
  var { $meta: _meta, ...coreMessages } = en_default;
@@ -1,5 +1,6 @@
1
1
  import { useContext, useMemo, useRef, useEffect, useCallback } from 'react';
2
2
  import { EventBusContext, useTraitScopeChain } from '@almadar/ui/providers';
3
+ import { isSystemUiEvent } from '@almadar/core';
3
4
  import { createLogger } from '@almadar/logger';
4
5
 
5
6
  var log = createLogger("almadar:eventbus");
@@ -89,7 +90,7 @@ function useEventBus() {
89
90
  return {
90
91
  ...baseBus,
91
92
  emit: (type, payload, source) => {
92
- if (typeof type === "string" && type.startsWith("UI:") && !type.slice(3).includes(".") && !source?.trait) {
93
+ if (typeof type === "string" && type.startsWith("UI:") && !type.slice(3).includes(".") && !isSystemUiEvent(type.slice(3)) && !source?.trait) {
93
94
  scopeLog.warn("emit:bare-key-no-scope", { type });
94
95
  }
95
96
  baseBus.emit(type, payload, source);
@@ -99,7 +100,7 @@ function useEventBus() {
99
100
  return {
100
101
  ...baseBus,
101
102
  emit: (type, payload, source) => {
102
- if (typeof type === "string" && type.startsWith("UI:")) {
103
+ if (typeof type === "string" && type.startsWith("UI:") && !isSystemUiEvent(type.slice(3))) {
103
104
  const tail = type.slice(3);
104
105
  const isQualified = tail.includes(".");
105
106
  const event = isQualified ? tail.split(".").slice(2).join(".") : tail;
@@ -1,5 +1,5 @@
1
- import { avlBlend, AVL_INK, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, avlTint, Box, VStack, effectCategoryOf } from './chunk-Y53Q55H5.js';
2
- import { Typography } from './chunk-HCSJHRC4.js';
1
+ import { avlBlend, AVL_INK, EFFECT_CATEGORY_COLORS, OPERATOR_CATEGORY_COLORS, avlTint, Box, VStack, effectCategoryOf } from './chunk-HA7CJWQX.js';
2
+ import { Typography } from './chunk-4ZGXIW3B.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';