@almadar/ui 2.16.0 → 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.
- package/dist/avl/index.cjs +91 -1
- package/dist/avl/index.d.cts +7 -5
- package/dist/avl/index.js +91 -1
- package/dist/components/index.cjs +131 -2411
- package/dist/components/index.css +0 -508
- package/dist/components/index.js +132 -2411
- package/dist/components/molecules/avl/AvlSlotMap.d.ts +5 -4
- package/dist/components/molecules/avl/avl-layout.d.ts +2 -1
- package/dist/components/organisms/component-registry.generated.d.ts +1 -1
- package/dist/components/organisms/game/three/index.cjs +1067 -0
- package/dist/components/organisms/game/three/index.css +192 -0
- package/dist/components/organisms/game/three/index.d.ts +4 -0
- package/dist/components/organisms/game/three/index.js +1068 -5
- package/dist/illustrations/index.cjs +91 -1
- package/dist/illustrations/index.d.cts +5 -4
- package/dist/illustrations/index.js +91 -1
- package/dist/providers/index.cjs +152 -1521
- package/dist/providers/index.css +0 -508
- package/dist/providers/index.js +62 -1430
- package/dist/runtime/index.cjs +145 -1514
- package/dist/runtime/index.css +0 -508
- package/dist/runtime/index.js +63 -1431
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface AvlSlotMapSlot {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
/** Manual position overrides. Omit for auto-layout. */
|
|
5
|
+
x?: number;
|
|
6
|
+
y?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
8
9
|
}
|
|
9
10
|
export interface AvlSlotMapProps {
|
|
10
11
|
slots: AvlSlotMapSlot[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AVL layout utilities for positioning atoms in composed diagrams.
|
|
3
3
|
*/
|
|
4
|
-
/** Distribute N points evenly around a ring.
|
|
4
|
+
/** Distribute N points evenly around a ring.
|
|
5
|
+
* Handles edge cases: 1 state (centered), 2 states (horizontal). */
|
|
5
6
|
export declare function ringPositions(cx: number, cy: number, r: number, count: number, startAngle?: number): Array<{
|
|
6
7
|
x: number;
|
|
7
8
|
y: number;
|