@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.
- package/dist/{ArbitraryClassCompiler-DvzdeHxc.d.ts → ArbitraryClassCompiler-tChQ3nVq.d.ts} +15 -1
- package/dist/{FileTree-DUi7e7Z8.d.ts → FileTree-BSfgp-HH.d.ts} +29 -2
- package/dist/Typography-LZTP72Y4.js +5 -0
- package/dist/{UISlotRenderer-QTHFT6Z4.js → UISlotRenderer-NCGDIXN4.js} +8 -8
- package/dist/avl/index.cjs +4832 -4212
- package/dist/avl/index.d.ts +74 -5
- package/dist/avl/index.js +68 -711
- package/dist/{avl-schema-parser-C0wnAp5x.d.ts → avl-schema-parser-CH1QoZw1.d.ts} +1 -1
- package/dist/{chunk-HCSJHRC4.js → chunk-4ZGXIW3B.js} +1 -1
- package/dist/{chunk-RNY5LJXJ.js → chunk-723MJUU3.js} +1 -1
- package/dist/{chunk-6EV3OEBQ.js → chunk-CHNC4UYE.js} +3 -2
- package/dist/{chunk-SGJHVPHC.js → chunk-GZGDBS4S.js} +2 -2
- package/dist/{chunk-Y53Q55H5.js → chunk-HA7CJWQX.js} +1123 -1121
- package/dist/{chunk-JRW33U35.js → chunk-I5QOYW2Z.js} +1 -1
- package/dist/{chunk-KQXXO42S.js → chunk-KJGVLXEN.js} +78 -1
- package/dist/{chunk-HRCR53OW.js → chunk-LZRW6GXG.js} +18 -3
- package/dist/{chunk-2LFBQ4IS.js → chunk-MZIDOJMD.js} +2 -2
- package/dist/{chunk-QGH4NAQO.js → chunk-N7JIG57B.js} +9 -4
- package/dist/{chunk-XZKGRSIO.js → chunk-PYJ2UQWM.js} +2487 -1156
- package/dist/{chunk-FQM37C56.js → chunk-RHP5WL55.js} +61 -55
- package/dist/chunk-YYYHH5BA.js +2519 -0
- package/dist/{cn-ClXGlIOY.d.ts → cn-DIql5232.d.ts} +152 -24
- package/dist/components/index.cjs +6876 -3072
- package/dist/components/index.d.ts +45 -94
- package/dist/components/index.js +14 -16
- package/dist/context/index.cjs +23 -0
- package/dist/context/index.d.ts +2 -2
- package/dist/context/index.js +20 -1
- package/dist/hooks/index.cjs +2544 -7
- package/dist/hooks/index.d.ts +4 -1
- package/dist/hooks/index.js +7 -6
- package/dist/lib/drawable/three/index.cjs +22 -6
- package/dist/lib/drawable/three/index.d.ts +1 -1
- package/dist/lib/drawable/three/index.js +7 -7
- package/dist/lib/index.cjs +18 -3
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +3 -4
- package/dist/locales/index.cjs +54 -9
- package/dist/locales/index.js +2 -2489
- package/dist/providers/index.cjs +4035 -2382
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +24 -13
- package/dist/runtime/index.cjs +4092 -2447
- package/dist/runtime/index.d.ts +0 -13
- package/dist/runtime/index.js +11 -10
- package/dist/ssr/index.cjs +23 -6
- package/dist/ssr/index.js +23 -6
- package/dist/{useEventBus-JUAH3EFW.js → useEventBus-SWRN475O.js} +1 -1
- package/locales/ar.json +18 -3
- package/locales/en.json +18 -3
- package/locales/sl.json +18 -3
- package/package.json +6 -6
- package/tailwind-preset.cjs +6 -0
- package/themes/_fonts.css +1 -1
- package/themes/_presets.css +1 -0
- package/themes/kflow.css +299 -0
- package/dist/Typography-7PDT62PG.js +0 -5
- package/dist/chunk-F4ZTPKZL.js +0 -284
- 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,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-
|
|
2
|
-
import { Typography } from './chunk-
|
|
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';
|