@almadar/ui 2.15.13 → 2.16.1

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 (51) hide show
  1. package/dist/avl/index.cjs +1927 -0
  2. package/dist/avl/index.d.cts +314 -0
  3. package/dist/avl/index.d.ts +33 -0
  4. package/dist/avl/index.js +1891 -0
  5. package/dist/components/atoms/avl/AvlApplication.d.ts +8 -0
  6. package/dist/components/atoms/avl/AvlBinding.d.ts +12 -0
  7. package/dist/components/atoms/avl/AvlBindingRef.d.ts +7 -0
  8. package/dist/components/atoms/avl/AvlEffect.d.ts +8 -0
  9. package/dist/components/atoms/avl/AvlEntity.d.ts +9 -0
  10. package/dist/components/atoms/avl/AvlEvent.d.ts +7 -0
  11. package/dist/components/atoms/avl/AvlField.d.ts +10 -0
  12. package/dist/components/atoms/avl/AvlFieldType.d.ts +8 -0
  13. package/dist/components/atoms/avl/AvlGuard.d.ts +7 -0
  14. package/dist/components/atoms/avl/AvlLiteral.d.ts +7 -0
  15. package/dist/components/atoms/avl/AvlOperator.d.ts +8 -0
  16. package/dist/components/atoms/avl/AvlOrbital.d.ts +11 -0
  17. package/dist/components/atoms/avl/AvlPage.d.ts +7 -0
  18. package/dist/components/atoms/avl/AvlPersistence.d.ts +8 -0
  19. package/dist/components/atoms/avl/AvlSExpr.d.ts +8 -0
  20. package/dist/components/atoms/avl/AvlState.d.ts +10 -0
  21. package/dist/components/atoms/avl/AvlTrait.d.ts +13 -0
  22. package/dist/components/atoms/avl/AvlTransition.d.ts +18 -0
  23. package/dist/components/atoms/avl/index.d.ts +20 -0
  24. package/dist/components/atoms/avl/types.d.ts +19 -0
  25. package/dist/components/index.cjs +131 -2411
  26. package/dist/components/index.css +0 -508
  27. package/dist/components/index.js +132 -2411
  28. package/dist/components/molecules/avl/AvlClosedCircuit.d.ts +20 -0
  29. package/dist/components/molecules/avl/AvlEmitListen.d.ts +16 -0
  30. package/dist/components/molecules/avl/AvlExprTree.d.ts +13 -0
  31. package/dist/components/molecules/avl/AvlOrbitalUnit.d.ts +20 -0
  32. package/dist/components/molecules/avl/AvlSlotMap.d.ts +18 -0
  33. package/dist/components/molecules/avl/AvlStateMachine.d.ts +22 -0
  34. package/dist/components/molecules/avl/avl-layout.d.ts +32 -0
  35. package/dist/components/molecules/avl/index.d.ts +7 -0
  36. package/dist/components/organisms/component-registry.generated.d.ts +1 -1
  37. package/dist/components/organisms/game/three/index.cjs +1067 -0
  38. package/dist/components/organisms/game/three/index.css +192 -0
  39. package/dist/components/organisms/game/three/index.d.ts +4 -0
  40. package/dist/components/organisms/game/three/index.js +1068 -5
  41. package/dist/illustrations/index.cjs +1879 -20
  42. package/dist/illustrations/index.d.cts +277 -1
  43. package/dist/illustrations/index.d.ts +24 -0
  44. package/dist/illustrations/index.js +1855 -20
  45. package/dist/providers/index.cjs +152 -1521
  46. package/dist/providers/index.css +0 -508
  47. package/dist/providers/index.js +62 -1430
  48. package/dist/runtime/index.cjs +145 -1514
  49. package/dist/runtime/index.css +0 -508
  50. package/dist/runtime/index.js +63 -1431
  51. package/package.json +6 -1
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlApplicationProps extends AvlBaseProps {
4
+ width?: number;
5
+ height?: number;
6
+ label?: string;
7
+ }
8
+ export declare const AvlApplication: React.FC<AvlApplicationProps>;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface AvlBindingProps {
3
+ x1: number;
4
+ y1: number;
5
+ x2: number;
6
+ y2: number;
7
+ label?: string;
8
+ color?: string;
9
+ opacity?: number;
10
+ className?: string;
11
+ }
12
+ export declare const AvlBinding: React.FC<AvlBindingProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlBindingRefProps extends AvlBaseProps {
4
+ path: string;
5
+ size?: number;
6
+ }
7
+ export declare const AvlBindingRef: React.FC<AvlBindingRefProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps, AvlEffectType } from './types';
3
+ export interface AvlEffectProps extends AvlBaseProps {
4
+ effectType: AvlEffectType;
5
+ size?: number;
6
+ label?: string;
7
+ }
8
+ export declare const AvlEffect: React.FC<AvlEffectProps>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps, AvlPersistenceKind } from './types';
3
+ export interface AvlEntityProps extends AvlBaseProps {
4
+ r?: number;
5
+ fieldCount?: number;
6
+ persistence?: AvlPersistenceKind;
7
+ label?: string;
8
+ }
9
+ export declare const AvlEntity: React.FC<AvlEntityProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlEventProps extends AvlBaseProps {
4
+ size?: number;
5
+ label?: string;
6
+ }
7
+ export declare const AvlEvent: React.FC<AvlEventProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlFieldProps extends AvlBaseProps {
4
+ /** Angle in radians from entity center. */
5
+ angle?: number;
6
+ length?: number;
7
+ required?: boolean;
8
+ label?: string;
9
+ }
10
+ export declare const AvlField: React.FC<AvlFieldProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps, AvlFieldTypeKind } from './types';
3
+ export interface AvlFieldTypeProps extends AvlBaseProps {
4
+ kind: AvlFieldTypeKind;
5
+ size?: number;
6
+ label?: string;
7
+ }
8
+ export declare const AvlFieldType: React.FC<AvlFieldTypeProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlGuardProps extends AvlBaseProps {
4
+ size?: number;
5
+ label?: string;
6
+ }
7
+ export declare const AvlGuard: React.FC<AvlGuardProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlLiteralProps extends AvlBaseProps {
4
+ value: string;
5
+ size?: number;
6
+ }
7
+ export declare const AvlLiteral: React.FC<AvlLiteralProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps, AvlOperatorNamespace } from './types';
3
+ export interface AvlOperatorProps extends AvlBaseProps {
4
+ name: string;
5
+ namespace?: AvlOperatorNamespace;
6
+ size?: number;
7
+ }
8
+ export declare const AvlOperator: React.FC<AvlOperatorProps>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface AvlOrbitalProps {
3
+ cx?: number;
4
+ cy?: number;
5
+ r?: number;
6
+ label?: string;
7
+ color?: string;
8
+ opacity?: number;
9
+ className?: string;
10
+ }
11
+ export declare const AvlOrbital: React.FC<AvlOrbitalProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlPageProps extends AvlBaseProps {
4
+ size?: number;
5
+ label?: string;
6
+ }
7
+ export declare const AvlPage: React.FC<AvlPageProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps, AvlPersistenceKind } from './types';
3
+ export interface AvlPersistenceProps extends AvlBaseProps {
4
+ kind: AvlPersistenceKind;
5
+ size?: number;
6
+ label?: string;
7
+ }
8
+ export declare const AvlPersistence: React.FC<AvlPersistenceProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlSExprProps extends AvlBaseProps {
4
+ width?: number;
5
+ height?: number;
6
+ label?: string;
7
+ }
8
+ export declare const AvlSExpr: React.FC<AvlSExprProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { AvlBaseProps } from './types';
3
+ export interface AvlStateProps extends AvlBaseProps {
4
+ name?: string;
5
+ isInitial?: boolean;
6
+ isTerminal?: boolean;
7
+ width?: number;
8
+ height?: number;
9
+ }
10
+ export declare const AvlState: React.FC<AvlStateProps>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface AvlTraitProps {
3
+ cx?: number;
4
+ cy?: number;
5
+ rx?: number;
6
+ ry?: number;
7
+ rotation?: number;
8
+ label?: string;
9
+ color?: string;
10
+ opacity?: number;
11
+ className?: string;
12
+ }
13
+ export declare const AvlTrait: React.FC<AvlTraitProps>;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface AvlTransitionProps {
3
+ x1: number;
4
+ y1: number;
5
+ x2: number;
6
+ y2: number;
7
+ curved?: boolean;
8
+ /** Center point to curve away from (curves outward if provided). */
9
+ curveAwayFrom?: {
10
+ x: number;
11
+ y: number;
12
+ };
13
+ label?: string;
14
+ color?: string;
15
+ opacity?: number;
16
+ className?: string;
17
+ }
18
+ export declare const AvlTransition: React.FC<AvlTransitionProps>;
@@ -0,0 +1,20 @@
1
+ export type { AvlBaseProps, AvlEffectType, AvlFieldTypeKind, AvlPersistenceKind, AvlOperatorNamespace, } from './types';
2
+ export { AVL_OPERATOR_COLORS, AVL_FIELD_TYPE_SHAPES } from './types';
3
+ export { AvlOrbital, type AvlOrbitalProps } from './AvlOrbital';
4
+ export { AvlEntity, type AvlEntityProps } from './AvlEntity';
5
+ export { AvlTrait, type AvlTraitProps } from './AvlTrait';
6
+ export { AvlPage, type AvlPageProps } from './AvlPage';
7
+ export { AvlApplication, type AvlApplicationProps } from './AvlApplication';
8
+ export { AvlState, type AvlStateProps } from './AvlState';
9
+ export { AvlTransition, type AvlTransitionProps } from './AvlTransition';
10
+ export { AvlEvent, type AvlEventProps } from './AvlEvent';
11
+ export { AvlGuard, type AvlGuardProps } from './AvlGuard';
12
+ export { AvlEffect, type AvlEffectProps } from './AvlEffect';
13
+ export { AvlField, type AvlFieldProps } from './AvlField';
14
+ export { AvlFieldType, type AvlFieldTypeProps } from './AvlFieldType';
15
+ export { AvlBinding, type AvlBindingProps } from './AvlBinding';
16
+ export { AvlPersistence, type AvlPersistenceProps } from './AvlPersistence';
17
+ export { AvlOperator, type AvlOperatorProps } from './AvlOperator';
18
+ export { AvlSExpr, type AvlSExprProps } from './AvlSExpr';
19
+ export { AvlLiteral, type AvlLiteralProps } from './AvlLiteral';
20
+ export { AvlBindingRef, type AvlBindingRefProps } from './AvlBindingRef';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Almadar Visual Language (AVL) shared types.
3
+ *
4
+ * Every AVL atom renders a `<g>` element (not `<svg>`) and accepts
5
+ * AvlBaseProps for positioning and styling within a parent SVG.
6
+ */
7
+ export interface AvlBaseProps {
8
+ x?: number;
9
+ y?: number;
10
+ color?: string;
11
+ opacity?: number;
12
+ className?: string;
13
+ }
14
+ export type AvlEffectType = 'render-ui' | 'set' | 'persist' | 'fetch' | 'emit' | 'navigate' | 'notify' | 'call-service' | 'spawn' | 'despawn' | 'do' | 'if' | 'log';
15
+ export type AvlFieldTypeKind = 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'object' | 'array';
16
+ export type AvlPersistenceKind = 'persistent' | 'runtime' | 'singleton' | 'instance';
17
+ export type AvlOperatorNamespace = 'arithmetic' | 'comparison' | 'logic' | 'string' | 'collection' | 'time' | 'control' | 'async';
18
+ export declare const AVL_OPERATOR_COLORS: Record<AvlOperatorNamespace, string>;
19
+ export declare const AVL_FIELD_TYPE_SHAPES: Record<AvlFieldTypeKind, string>;