@almadar/ui 5.76.6 → 5.76.7
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 +13 -9
- package/dist/avl/index.css +3 -3
- package/dist/avl/index.js +13 -9
- package/dist/components/core/atoms/FlipContainer.d.ts +1 -1
- package/dist/components/core/molecules/Card.d.ts +1 -1
- package/dist/components/core/molecules/DataGrid.d.ts +1 -1
- package/dist/components/core/molecules/DataList.d.ts +1 -1
- package/dist/components/core/molecules/DocPagination.d.ts +8 -1
- package/dist/components/core/molecules/DocSearch.d.ts +8 -1
- package/dist/components/core/molecules/FlipCard.d.ts +1 -1
- package/dist/components/core/molecules/MapView.d.ts +18 -1
- package/dist/components/core/molecules/SortableList.d.ts +1 -1
- package/dist/components/core/molecules/TableView.d.ts +1 -1
- package/dist/components/core/organisms/DataTable.d.ts +1 -1
- package/dist/components/core/organisms/debug/RuntimeDebugger.d.ts +10 -1
- package/dist/components/core/organisms/debug/tabs/EntitiesTab.d.ts +2 -1
- package/dist/components/core/organisms/debug/tabs/EventDispatcherTab.d.ts +2 -1
- package/dist/components/core/organisms/debug/tabs/EventFlowTab.d.ts +6 -1
- package/dist/components/core/organisms/debug/tabs/GuardsPanel.d.ts +6 -1
- package/dist/components/core/organisms/debug/tabs/ServerBridgeTab.d.ts +12 -1
- package/dist/components/core/organisms/debug/tabs/TicksTab.d.ts +2 -1
- package/dist/components/core/organisms/debug/tabs/TraitsTab.d.ts +2 -1
- package/dist/components/core/organisms/debug/tabs/TransitionTimeline.d.ts +11 -1
- package/dist/components/core/organisms/debug/tabs/VerificationTab.d.ts +8 -1
- package/dist/components/game/2d/atoms/ActionButton.d.ts +2 -1
- package/dist/components/game/2d/atoms/ChoiceButton.d.ts +2 -1
- package/dist/components/game/2d/atoms/ComboCounter.d.ts +2 -1
- package/dist/components/game/2d/atoms/ControlButton.d.ts +2 -1
- package/dist/components/game/2d/atoms/DamageNumber.d.ts +2 -1
- package/dist/components/game/2d/atoms/DialogueBubble.d.ts +2 -1
- package/dist/components/game/2d/atoms/GameIcon.d.ts +2 -1
- package/dist/components/game/2d/atoms/HealthBar.d.ts +2 -1
- package/dist/components/game/2d/atoms/ItemSlot.d.ts +2 -1
- package/dist/components/game/2d/atoms/MiniMap.d.ts +2 -1
- package/dist/components/game/2d/atoms/ResourceCounter.d.ts +2 -1
- package/dist/components/game/2d/atoms/ScoreDisplay.d.ts +2 -1
- package/dist/components/game/2d/atoms/StatusEffect.d.ts +2 -1
- package/dist/components/game/2d/atoms/TimerDisplay.d.ts +2 -1
- package/dist/components/game/2d/atoms/TurnIndicator.d.ts +2 -1
- package/dist/components/game/2d/atoms/WaypointMarker.d.ts +2 -1
- package/dist/components/game/2d/molecules/GameHud.d.ts +2 -1
- package/dist/components/game/2d/molecules/GameMenu.d.ts +2 -1
- package/dist/components/game/2d/molecules/InventoryGrid.d.ts +2 -1
- package/dist/components/game/2d/molecules/ResourceBar.d.ts +2 -1
- package/dist/components/game/2d/molecules/StatBadge.d.ts +2 -1
- package/dist/components/game/shared/lib/editorUtils.d.ts +8 -8
- package/dist/components/index.cjs +9 -5
- package/dist/components/index.css +3 -3
- package/dist/components/index.js +9 -5
- package/dist/hooks/useGitHub.d.ts +7 -7
- package/dist/marketing/index.cjs +2 -2
- package/dist/marketing/index.js +2 -2
- package/dist/providers/EventBusProvider.d.ts +1 -1
- package/dist/providers/SelectionProvider.d.ts +1 -1
- package/dist/providers/ServerBridge.d.ts +1 -1
- package/dist/providers/index.cjs +9 -5
- package/dist/providers/index.css +3 -3
- package/dist/providers/index.js +9 -5
- package/dist/runtime/index.cjs +9 -5
- package/dist/runtime/index.css +3 -3
- package/dist/runtime/index.js +9 -5
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -630,7 +630,7 @@ var init_AvlFieldType = __esm({
|
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
632
|
|
|
633
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
633
|
+
// node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
634
634
|
function r(e) {
|
|
635
635
|
var t, f3, n = "";
|
|
636
636
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -645,11 +645,11 @@ function clsx() {
|
|
|
645
645
|
return n;
|
|
646
646
|
}
|
|
647
647
|
var init_clsx = __esm({
|
|
648
|
-
"node_modules/clsx/dist/clsx.mjs"() {
|
|
648
|
+
"node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"() {
|
|
649
649
|
}
|
|
650
650
|
});
|
|
651
651
|
|
|
652
|
-
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
652
|
+
// node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
653
653
|
function twJoin() {
|
|
654
654
|
let index = 0;
|
|
655
655
|
let argument;
|
|
@@ -693,7 +693,7 @@ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
|
693
693
|
}
|
|
694
694
|
var CLASS_PART_SEPARATOR, createClassGroupUtils, getGroupRecursive, arbitraryPropertyRegex, getGroupIdForArbitraryProperty, createClassMap, processClassesRecursively, getPart, isThemeGetter, getPrefixedClassGroupEntries, createLruCache, IMPORTANT_MODIFIER, createParseClassName, sortModifiers, createConfigUtils, SPLIT_CLASSES_REGEX, mergeClassList, toValue, fromTheme, arbitraryValueRegex, fractionRegex, stringLengths, tshirtUnitRegex, lengthUnitRegex, colorFunctionRegex, shadowRegex, imageRegex, isLength, isArbitraryLength, isNumber, isArbitraryNumber, isInteger, isPercent, isArbitraryValue, isTshirtSize, sizeLabels, isArbitrarySize, isArbitraryPosition, imageLabels, isArbitraryImage, isArbitraryShadow, isAny, getIsArbitraryValue, isLengthOnly, isNever, isShadow, isImage, getDefaultConfig, twMerge;
|
|
695
695
|
var init_bundle_mjs = __esm({
|
|
696
|
-
"node_modules/tailwind-merge/dist/bundle-mjs.mjs"() {
|
|
696
|
+
"node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs"() {
|
|
697
697
|
CLASS_PART_SEPARATOR = "-";
|
|
698
698
|
createClassGroupUtils = (config) => {
|
|
699
699
|
const classMap = createClassMap(config);
|
|
@@ -8555,7 +8555,11 @@ var init_Switch = __esm({
|
|
|
8555
8555
|
disabled,
|
|
8556
8556
|
onClick: handleClick,
|
|
8557
8557
|
className: cn(
|
|
8558
|
-
|
|
8558
|
+
// Fixed rem sizes instead of spacing tokens: themes like atelier
|
|
8559
|
+
// redefine --space-11 to 68px, which makes w-11 enormous and leaves
|
|
8560
|
+
// the thumb stuck near the left edge. The switch geometry must stay
|
|
8561
|
+
// proportional regardless of a theme's density scale.
|
|
8562
|
+
"relative inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
|
|
8559
8563
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
8560
8564
|
isChecked ? "bg-primary" : "bg-muted",
|
|
8561
8565
|
disabled && "cursor-not-allowed opacity-50"
|
|
@@ -8564,8 +8568,8 @@ var init_Switch = __esm({
|
|
|
8564
8568
|
"span",
|
|
8565
8569
|
{
|
|
8566
8570
|
className: cn(
|
|
8567
|
-
"pointer-events-none block h-
|
|
8568
|
-
isChecked ? "translate-x-
|
|
8571
|
+
"pointer-events-none block h-[1.25rem] w-[1.25rem] rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
8572
|
+
isChecked ? "translate-x-[1.25rem]" : "translate-x-0"
|
|
8569
8573
|
)
|
|
8570
8574
|
}
|
|
8571
8575
|
)
|
|
@@ -25572,9 +25576,9 @@ var init_AuthLayout = __esm({
|
|
|
25572
25576
|
}
|
|
25573
25577
|
});
|
|
25574
25578
|
|
|
25575
|
-
// node_modules/katex/dist/katex.min.css
|
|
25579
|
+
// node_modules/.pnpm/katex@0.16.47/node_modules/katex/dist/katex.min.css
|
|
25576
25580
|
var init_katex_min = __esm({
|
|
25577
|
-
"node_modules/katex/dist/katex.min.css"() {
|
|
25581
|
+
"node_modules/.pnpm/katex@0.16.47/node_modules/katex/dist/katex.min.css"() {
|
|
25578
25582
|
}
|
|
25579
25583
|
});
|
|
25580
25584
|
var Tabs;
|
package/dist/avl/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* node_modules/katex/dist/katex.min.css */
|
|
1
|
+
/* node_modules/.pnpm/katex@0.16.47/node_modules/katex/dist/katex.min.css */
|
|
2
2
|
@font-face {
|
|
3
3
|
font-display: block;
|
|
4
4
|
font-family: KaTeX_AMS;
|
|
@@ -214,11 +214,11 @@
|
|
|
214
214
|
border-color: currentColor;
|
|
215
215
|
}
|
|
216
216
|
.katex .katex-version:after {
|
|
217
|
-
content: "0.16.
|
|
217
|
+
content: "0.16.47";
|
|
218
218
|
}
|
|
219
219
|
.katex .katex-mathml {
|
|
220
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
221
220
|
border: 0;
|
|
221
|
+
clip-path: inset(50%);
|
|
222
222
|
height: 1px;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
padding: 0;
|
package/dist/avl/index.js
CHANGED
|
@@ -584,7 +584,7 @@ var init_AvlFieldType = __esm({
|
|
|
584
584
|
}
|
|
585
585
|
});
|
|
586
586
|
|
|
587
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
587
|
+
// node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
588
588
|
function r(e) {
|
|
589
589
|
var t, f3, n = "";
|
|
590
590
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -599,11 +599,11 @@ function clsx() {
|
|
|
599
599
|
return n;
|
|
600
600
|
}
|
|
601
601
|
var init_clsx = __esm({
|
|
602
|
-
"node_modules/clsx/dist/clsx.mjs"() {
|
|
602
|
+
"node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"() {
|
|
603
603
|
}
|
|
604
604
|
});
|
|
605
605
|
|
|
606
|
-
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
606
|
+
// node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
607
607
|
function twJoin() {
|
|
608
608
|
let index = 0;
|
|
609
609
|
let argument;
|
|
@@ -647,7 +647,7 @@ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
|
647
647
|
}
|
|
648
648
|
var CLASS_PART_SEPARATOR, createClassGroupUtils, getGroupRecursive, arbitraryPropertyRegex, getGroupIdForArbitraryProperty, createClassMap, processClassesRecursively, getPart, isThemeGetter, getPrefixedClassGroupEntries, createLruCache, IMPORTANT_MODIFIER, createParseClassName, sortModifiers, createConfigUtils, SPLIT_CLASSES_REGEX, mergeClassList, toValue, fromTheme, arbitraryValueRegex, fractionRegex, stringLengths, tshirtUnitRegex, lengthUnitRegex, colorFunctionRegex, shadowRegex, imageRegex, isLength, isArbitraryLength, isNumber, isArbitraryNumber, isInteger, isPercent, isArbitraryValue, isTshirtSize, sizeLabels, isArbitrarySize, isArbitraryPosition, imageLabels, isArbitraryImage, isArbitraryShadow, isAny, getIsArbitraryValue, isLengthOnly, isNever, isShadow, isImage, getDefaultConfig, twMerge;
|
|
649
649
|
var init_bundle_mjs = __esm({
|
|
650
|
-
"node_modules/tailwind-merge/dist/bundle-mjs.mjs"() {
|
|
650
|
+
"node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs"() {
|
|
651
651
|
CLASS_PART_SEPARATOR = "-";
|
|
652
652
|
createClassGroupUtils = (config) => {
|
|
653
653
|
const classMap = createClassMap(config);
|
|
@@ -8509,7 +8509,11 @@ var init_Switch = __esm({
|
|
|
8509
8509
|
disabled,
|
|
8510
8510
|
onClick: handleClick,
|
|
8511
8511
|
className: cn(
|
|
8512
|
-
|
|
8512
|
+
// Fixed rem sizes instead of spacing tokens: themes like atelier
|
|
8513
|
+
// redefine --space-11 to 68px, which makes w-11 enormous and leaves
|
|
8514
|
+
// the thumb stuck near the left edge. The switch geometry must stay
|
|
8515
|
+
// proportional regardless of a theme's density scale.
|
|
8516
|
+
"relative inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
|
|
8513
8517
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
8514
8518
|
isChecked ? "bg-primary" : "bg-muted",
|
|
8515
8519
|
disabled && "cursor-not-allowed opacity-50"
|
|
@@ -8518,8 +8522,8 @@ var init_Switch = __esm({
|
|
|
8518
8522
|
"span",
|
|
8519
8523
|
{
|
|
8520
8524
|
className: cn(
|
|
8521
|
-
"pointer-events-none block h-
|
|
8522
|
-
isChecked ? "translate-x-
|
|
8525
|
+
"pointer-events-none block h-[1.25rem] w-[1.25rem] rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
8526
|
+
isChecked ? "translate-x-[1.25rem]" : "translate-x-0"
|
|
8523
8527
|
)
|
|
8524
8528
|
}
|
|
8525
8529
|
)
|
|
@@ -25526,9 +25530,9 @@ var init_AuthLayout = __esm({
|
|
|
25526
25530
|
}
|
|
25527
25531
|
});
|
|
25528
25532
|
|
|
25529
|
-
// node_modules/katex/dist/katex.min.css
|
|
25533
|
+
// node_modules/.pnpm/katex@0.16.47/node_modules/katex/dist/katex.min.css
|
|
25530
25534
|
var init_katex_min = __esm({
|
|
25531
|
-
"node_modules/katex/dist/katex.min.css"() {
|
|
25535
|
+
"node_modules/.pnpm/katex@0.16.47/node_modules/katex/dist/katex.min.css"() {
|
|
25532
25536
|
}
|
|
25533
25537
|
});
|
|
25534
25538
|
var Tabs;
|
|
@@ -16,6 +16,6 @@ export interface FlipContainerProps {
|
|
|
16
16
|
onClick?: () => void;
|
|
17
17
|
}
|
|
18
18
|
export declare const FlipContainer: {
|
|
19
|
-
({ flipped, className, children, onClick, }: FlipContainerProps):
|
|
19
|
+
({ flipped, className, children, onClick, }: FlipContainerProps): React.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
@@ -51,7 +51,7 @@ export interface CardProps {
|
|
|
51
51
|
/**
|
|
52
52
|
* Card component for displaying content in a contained box
|
|
53
53
|
*/
|
|
54
|
-
export declare function Card({ title, subtitle, image, actions, children, onClick, className, action, longPressEvent, longPressPayload, }: CardProps):
|
|
54
|
+
export declare function Card({ title, subtitle, image, actions, children, onClick, className, action, longPressEvent, longPressPayload, }: CardProps): React.JSX.Element;
|
|
55
55
|
export declare namespace Card {
|
|
56
56
|
var displayName: string;
|
|
57
57
|
}
|
|
@@ -111,7 +111,7 @@ export interface DataGridProps extends DataDndProps {
|
|
|
111
111
|
*/
|
|
112
112
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
113
113
|
}
|
|
114
|
-
export declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean |
|
|
114
|
+
export declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataGridProps): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
115
115
|
export declare namespace DataGrid {
|
|
116
116
|
var displayName: string;
|
|
117
117
|
}
|
|
@@ -123,7 +123,7 @@ export interface DataListProps extends DataDndProps {
|
|
|
123
123
|
*/
|
|
124
124
|
look?: "dense" | "spacious" | "striped" | "borderless" | "card-rows";
|
|
125
125
|
}
|
|
126
|
-
export declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean |
|
|
126
|
+
export declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, currentUser, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, }: DataListProps): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
|
|
127
127
|
export declare namespace DataList {
|
|
128
128
|
var displayName: string;
|
|
129
129
|
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocPagination Molecule
|
|
3
|
+
*
|
|
4
|
+
* Previous/Next navigation links for documentation pages.
|
|
5
|
+
* Composed from HStack, Box, VStack, Icon, and Typography atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
1
8
|
export interface DocPaginationLink {
|
|
2
9
|
label: string;
|
|
3
10
|
href: string;
|
|
@@ -11,4 +18,4 @@ export interface DocPaginationProps {
|
|
|
11
18
|
/** Additional class names */
|
|
12
19
|
className?: string;
|
|
13
20
|
}
|
|
14
|
-
export declare function DocPagination({ prev, next, className }: DocPaginationProps):
|
|
21
|
+
export declare function DocPagination({ prev, next, className }: DocPaginationProps): React.JSX.Element | null;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocSearch — documentation search input with inline results dropdown (distinct from SearchInput).
|
|
3
|
+
* SearchInput emits bus events for entity-list filtering with debounce.
|
|
4
|
+
* DocSearch drives a callback-based result list with keyboard navigation and
|
|
5
|
+
* popover dropdown; designed for docs site navigation, not data-list filtering.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
1
8
|
export interface DocSearchResult {
|
|
2
9
|
title: string;
|
|
3
10
|
href: string;
|
|
@@ -12,4 +19,4 @@ export interface DocSearchProps {
|
|
|
12
19
|
/** Additional class names */
|
|
13
20
|
className?: string;
|
|
14
21
|
}
|
|
15
|
-
export declare function DocSearch({ placeholder, onSearch, className, }: DocSearchProps):
|
|
22
|
+
export declare function DocSearch({ placeholder, onSearch, className, }: DocSearchProps): React.JSX.Element;
|
|
@@ -19,6 +19,6 @@ export interface FlipCardProps {
|
|
|
19
19
|
height?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare const FlipCard: {
|
|
22
|
-
({ front, back, flipped, onFlip, className, height, }: FlipCardProps):
|
|
22
|
+
({ front, back, flipped, onFlip, className, height, }: FlipCardProps): React.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MapView Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Interactive map using react-leaflet with OpenStreetMap tiles.
|
|
5
|
+
* Supports both programmatic callbacks (onMapClick) and schema-driven
|
|
6
|
+
* event dispatch (mapClickEvent) via the event bus.
|
|
7
|
+
*
|
|
8
|
+
* Why this file looks weird: Leaflet's core/Util.js evaluates
|
|
9
|
+
* `window.requestAnimationFrame` at module load time, which crashes any
|
|
10
|
+
* SSR/SSG environment (Docusaurus, Next.js RSC, etc.) the moment a
|
|
11
|
+
* consumer statically imports something that transitively reaches MapView.
|
|
12
|
+
* To stay SSR-safe, the actual leaflet bindings are loaded lazily inside
|
|
13
|
+
* a `React.lazy(async () => …)` callback so the leaflet module is only
|
|
14
|
+
* evaluated when the component is rendered for the first time, which
|
|
15
|
+
* never happens on the server because Suspense shows the fallback there.
|
|
16
|
+
*/
|
|
17
|
+
import React from 'react';
|
|
1
18
|
import type { EventEmit } from '@almadar/core';
|
|
2
19
|
export type MapMarkerData = {
|
|
3
20
|
/** Unique marker identifier */
|
|
@@ -67,4 +84,4 @@ export interface MapViewProps {
|
|
|
67
84
|
* lazy implementation finishes loading on the client) so SSR never reaches
|
|
68
85
|
* the leaflet code.
|
|
69
86
|
*/
|
|
70
|
-
export declare function MapView(props: MapViewProps):
|
|
87
|
+
export declare function MapView(props: MapViewProps): React.JSX.Element;
|
|
@@ -14,6 +14,6 @@ export interface SortableListProps {
|
|
|
14
14
|
dragHandlePosition?: 'left' | 'right';
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
|
-
declare function SortableListInner({ items: initialItemsProp, renderItem, reorderEvent, reorderPayload, dragHandlePosition, className, }: SortableListProps):
|
|
17
|
+
declare function SortableListInner({ items: initialItemsProp, renderItem, reorderEvent, reorderPayload, dragHandlePosition, className, }: SortableListProps): React.JSX.Element;
|
|
18
18
|
export declare const SortableList: typeof SortableListInner;
|
|
19
19
|
export {};
|
|
@@ -105,7 +105,7 @@ export interface TableViewProps extends DataDndProps {
|
|
|
105
105
|
*/
|
|
106
106
|
look?: 'dense' | 'spacious' | 'striped' | 'borderless' | 'bordered';
|
|
107
107
|
}
|
|
108
|
-
export declare function TableView({ entity, columns, fields, itemActions, maxInlineActions, selectable, selectEvent, selectedIds, sortEvent, sortColumn, sortDirection, className, emptyMessage, isLoading, error, groupBy, pageSize, children, renderItem: _schemaRenderItem, look, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, }: TableViewProps):
|
|
108
|
+
export declare function TableView({ entity, columns, fields, itemActions, maxInlineActions, selectable, selectEvent, selectedIds, sortEvent, sortColumn, sortDirection, className, emptyMessage, isLoading, error, groupBy, pageSize, children, renderItem: _schemaRenderItem, look, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, }: TableViewProps): React.JSX.Element;
|
|
109
109
|
export declare namespace TableView {
|
|
110
110
|
var displayName: string;
|
|
111
111
|
}
|
|
@@ -69,7 +69,7 @@ export interface DataTableProps<T extends EntityRow & {
|
|
|
69
69
|
}
|
|
70
70
|
export declare function DataTable<T extends EntityRow & {
|
|
71
71
|
id: string | number;
|
|
72
|
-
}>({ fields, columns, entity, itemActions, isLoading, error, emptyIcon, emptyTitle, emptyDescription, emptyAction, selectable, selectedIds, sortBy, sortDirection, searchable, searchValue, searchPlaceholder, page, pageSize, totalCount, rowActions: externalRowActions, bulkActions, headerActions, showTotal, className, look, }: DataTableProps<T>):
|
|
72
|
+
}>({ fields, columns, entity, itemActions, isLoading, error, emptyIcon, emptyTitle, emptyDescription, emptyAction, selectable, selectedIds, sortBy, sortDirection, searchable, searchValue, searchPlaceholder, page, pageSize, totalCount, rowActions: externalRowActions, bulkActions, headerActions, showTotal, className, look, }: DataTableProps<T>): React.JSX.Element;
|
|
73
73
|
export declare namespace DataTable {
|
|
74
74
|
var displayName: string;
|
|
75
75
|
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RuntimeDebugger - Main debug panel for KFlow applications
|
|
3
|
+
*
|
|
4
|
+
* Press backtick (`) to toggle. Displays traits, ticks, entities, events,
|
|
5
|
+
* guards, verification checks, transition timeline, and server bridge health.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import * as React from 'react';
|
|
1
10
|
import type { OrbitalSchema } from '@almadar/core';
|
|
2
11
|
import './RuntimeDebugger.css';
|
|
3
12
|
export interface RuntimeDebuggerProps {
|
|
@@ -14,7 +23,7 @@ export interface RuntimeDebuggerProps {
|
|
|
14
23
|
/** Raw schema for EventDispatcherTab payload extraction */
|
|
15
24
|
schema?: OrbitalSchema;
|
|
16
25
|
}
|
|
17
|
-
export declare function RuntimeDebugger({ position, defaultCollapsed, className, mode, defaultTab, schema, }: RuntimeDebuggerProps):
|
|
26
|
+
export declare function RuntimeDebugger({ position, defaultCollapsed, className, mode, defaultTab, schema, }: RuntimeDebuggerProps): React.JSX.Element | null;
|
|
18
27
|
export declare namespace RuntimeDebugger {
|
|
19
28
|
var displayName: string;
|
|
20
29
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* EntitiesTab - Displays entity snapshots
|
|
3
3
|
* Uses existing component library atoms/molecules.
|
|
4
4
|
*/
|
|
5
|
+
import * as React from 'react';
|
|
5
6
|
import type { EntitySnapshot } from '../../../../../lib/entityDebug';
|
|
6
7
|
interface EntitiesTabProps {
|
|
7
8
|
snapshot: EntitySnapshot | null;
|
|
8
9
|
}
|
|
9
|
-
export declare function EntitiesTab({ snapshot }: EntitiesTabProps):
|
|
10
|
+
export declare function EntitiesTab({ snapshot }: EntitiesTabProps): React.JSX.Element;
|
|
10
11
|
export declare namespace EntitiesTab {
|
|
11
12
|
var displayName: string;
|
|
12
13
|
}
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
* Shows available transitions per trait based on current state,
|
|
5
5
|
* lets users click to fire events, and displays a compact transition log.
|
|
6
6
|
*/
|
|
7
|
+
import * as React from 'react';
|
|
7
8
|
import type { OrbitalSchema } from '@almadar/core';
|
|
8
9
|
import type { TraitDebugInfo } from '../../../../../lib/traitRegistry';
|
|
9
10
|
interface EventDispatcherTabProps {
|
|
10
11
|
traits: TraitDebugInfo[];
|
|
11
12
|
schema?: OrbitalSchema;
|
|
12
13
|
}
|
|
13
|
-
export declare function EventDispatcherTab({ traits, schema }: EventDispatcherTabProps):
|
|
14
|
+
export declare function EventDispatcherTab({ traits, schema }: EventDispatcherTabProps): React.JSX.Element;
|
|
14
15
|
export declare namespace EventDispatcherTab {
|
|
15
16
|
var displayName: string;
|
|
16
17
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EventFlowTab - Displays event flow and debug messages
|
|
3
|
+
* Uses existing component library atoms/molecules.
|
|
4
|
+
*/
|
|
5
|
+
import * as React from 'react';
|
|
1
6
|
import type { DebugEvent } from '../../../../../lib/debugRegistry';
|
|
2
7
|
interface EventFlowTabProps {
|
|
3
8
|
events: DebugEvent[];
|
|
4
9
|
}
|
|
5
|
-
export declare function EventFlowTab({ events }: EventFlowTabProps):
|
|
10
|
+
export declare function EventFlowTab({ events }: EventFlowTabProps): React.JSX.Element;
|
|
6
11
|
export declare namespace EventFlowTab {
|
|
7
12
|
var displayName: string;
|
|
8
13
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GuardsPanel - Displays guard evaluation history
|
|
3
|
+
* Uses existing component library atoms/molecules.
|
|
4
|
+
*/
|
|
5
|
+
import * as React from 'react';
|
|
1
6
|
import type { GuardEvaluation } from '../../../../../lib/guardRegistry';
|
|
2
7
|
interface GuardsPanelProps {
|
|
3
8
|
guards: GuardEvaluation[];
|
|
4
9
|
}
|
|
5
|
-
export declare function GuardsPanel({ guards }: GuardsPanelProps):
|
|
10
|
+
export declare function GuardsPanel({ guards }: GuardsPanelProps): React.JSX.Element;
|
|
6
11
|
export declare namespace GuardsPanel {
|
|
7
12
|
var displayName: string;
|
|
8
13
|
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ServerBridgeTab - Displays ServerBridge health and connectivity status
|
|
3
|
+
*
|
|
4
|
+
* Shows:
|
|
5
|
+
* - Connection status (connected/disconnected)
|
|
6
|
+
* - Events forwarded (client → server) count
|
|
7
|
+
* - Events received (server → client) count
|
|
8
|
+
* - Last error if any
|
|
9
|
+
* - Last heartbeat timestamp
|
|
10
|
+
*/
|
|
11
|
+
import * as React from 'react';
|
|
1
12
|
import type { BridgeHealth } from '../../../../../lib/verificationRegistry';
|
|
2
13
|
interface ServerBridgeTabProps {
|
|
3
14
|
bridge: BridgeHealth | null;
|
|
4
15
|
}
|
|
5
|
-
export declare function ServerBridgeTab({ bridge }: ServerBridgeTabProps):
|
|
16
|
+
export declare function ServerBridgeTab({ bridge }: ServerBridgeTabProps): React.JSX.Element;
|
|
6
17
|
export declare namespace ServerBridgeTab {
|
|
7
18
|
var displayName: string;
|
|
8
19
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* TicksTab - Displays tick execution timing and status
|
|
3
3
|
* Uses existing component library atoms/molecules.
|
|
4
4
|
*/
|
|
5
|
+
import * as React from 'react';
|
|
5
6
|
import type { TickExecution } from '../../../../../lib/tickRegistry';
|
|
6
7
|
interface TicksTabProps {
|
|
7
8
|
ticks: TickExecution[];
|
|
8
9
|
}
|
|
9
|
-
export declare function TicksTab({ ticks }: TicksTabProps):
|
|
10
|
+
export declare function TicksTab({ ticks }: TicksTabProps): React.JSX.Element;
|
|
10
11
|
export declare namespace TicksTab {
|
|
11
12
|
var displayName: string;
|
|
12
13
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* TraitsTab - Displays active traits and their state machines
|
|
3
3
|
* Uses existing component library atoms/molecules.
|
|
4
4
|
*/
|
|
5
|
+
import * as React from 'react';
|
|
5
6
|
import type { TraitDebugInfo } from '../../../../../lib/traitRegistry';
|
|
6
7
|
interface TraitsTabProps {
|
|
7
8
|
traits: TraitDebugInfo[];
|
|
8
9
|
}
|
|
9
|
-
export declare function TraitsTab({ traits }: TraitsTabProps):
|
|
10
|
+
export declare function TraitsTab({ traits }: TraitsTabProps): React.JSX.Element;
|
|
10
11
|
export declare namespace TraitsTab {
|
|
11
12
|
var displayName: string;
|
|
12
13
|
}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TransitionTimeline - Visual timeline of state machine transitions
|
|
3
|
+
*
|
|
4
|
+
* Shows each transition with:
|
|
5
|
+
* - Trait name, from → to state, triggering event
|
|
6
|
+
* - Guard result (if any)
|
|
7
|
+
* - Effect execution results (green = executed, red = failed)
|
|
8
|
+
* - Timestamp
|
|
9
|
+
*/
|
|
10
|
+
import * as React from 'react';
|
|
1
11
|
import type { TransitionTrace } from '../../../../../lib/verificationRegistry';
|
|
2
12
|
interface TransitionTimelineProps {
|
|
3
13
|
transitions: TransitionTrace[];
|
|
4
14
|
}
|
|
5
|
-
export declare function TransitionTimeline({ transitions }: TransitionTimelineProps):
|
|
15
|
+
export declare function TransitionTimeline({ transitions }: TransitionTimelineProps): React.JSX.Element;
|
|
6
16
|
export declare namespace TransitionTimeline {
|
|
7
17
|
var displayName: string;
|
|
8
18
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VerificationTab - Displays pass/fail verification checklist
|
|
3
|
+
*
|
|
4
|
+
* Shows all registered checks with their status, grouped by category.
|
|
5
|
+
* Green = pass, Red = fail, Yellow = warn, Gray = pending.
|
|
6
|
+
*/
|
|
7
|
+
import * as React from 'react';
|
|
1
8
|
import type { VerificationCheck, VerificationSummary } from '../../../../../lib/verificationRegistry';
|
|
2
9
|
interface VerificationTabProps {
|
|
3
10
|
checks: VerificationCheck[];
|
|
4
11
|
summary: VerificationSummary;
|
|
5
12
|
}
|
|
6
|
-
export declare function VerificationTab({ checks, summary }: VerificationTabProps):
|
|
13
|
+
export declare function VerificationTab({ checks, summary }: VerificationTabProps): React.JSX.Element;
|
|
7
14
|
export declare namespace VerificationTab {
|
|
8
15
|
var displayName: string;
|
|
9
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { type IconInput } from '../../../core/atoms/Icon';
|
|
2
3
|
import type { Asset } from '@almadar/core';
|
|
3
4
|
export interface ActionButtonProps {
|
|
@@ -22,7 +23,7 @@ export interface ActionButtonProps {
|
|
|
22
23
|
/** Additional CSS classes */
|
|
23
24
|
className?: string;
|
|
24
25
|
}
|
|
25
|
-
export declare function ActionButton({ assetUrl, label, icon, cooldown, disabled, hotkey, size, variant, onClick, className, }: ActionButtonProps):
|
|
26
|
+
export declare function ActionButton({ assetUrl, label, icon, cooldown, disabled, hotkey, size, variant, onClick, className, }: ActionButtonProps): React.JSX.Element;
|
|
26
27
|
export declare namespace ActionButton {
|
|
27
28
|
var displayName: string;
|
|
28
29
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { type IconInput } from '../../../core/atoms/Icon';
|
|
2
3
|
import type { Asset } from '@almadar/core';
|
|
3
4
|
export interface ChoiceButtonProps {
|
|
@@ -18,7 +19,7 @@ export interface ChoiceButtonProps {
|
|
|
18
19
|
/** Additional CSS classes */
|
|
19
20
|
className?: string;
|
|
20
21
|
}
|
|
21
|
-
export declare function ChoiceButton({ text, index, assetUrl, icon, disabled, selected, onClick, className, }: ChoiceButtonProps):
|
|
22
|
+
export declare function ChoiceButton({ text, index, assetUrl, icon, disabled, selected, onClick, className, }: ChoiceButtonProps): React.JSX.Element;
|
|
22
23
|
export declare namespace ChoiceButton {
|
|
23
24
|
var displayName: string;
|
|
24
25
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Asset } from '@almadar/core';
|
|
2
3
|
export interface ComboCounterProps {
|
|
3
4
|
/** Sprite asset displayed alongside the combo number */
|
|
@@ -13,7 +14,7 @@ export interface ComboCounterProps {
|
|
|
13
14
|
/** Additional CSS classes */
|
|
14
15
|
className?: string;
|
|
15
16
|
}
|
|
16
|
-
export declare function ComboCounter({ assetUrl, combo, multiplier, streak, size, className, }: ComboCounterProps):
|
|
17
|
+
export declare function ComboCounter({ assetUrl, combo, multiplier, streak, size, className, }: ComboCounterProps): React.JSX.Element | null;
|
|
17
18
|
export declare namespace ComboCounter {
|
|
18
19
|
var displayName: string;
|
|
19
20
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { EventKey, Asset } from "@almadar/core";
|
|
2
3
|
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
4
|
export interface ControlButtonProps {
|
|
@@ -28,7 +29,7 @@ export interface ControlButtonProps {
|
|
|
28
29
|
/** Additional CSS classes */
|
|
29
30
|
className?: string;
|
|
30
31
|
}
|
|
31
|
-
export declare function ControlButton({ assetUrl, label, icon, size, shape, variant, onPress, onRelease, pressEvent, releaseEvent, pressed, disabled, className, }: ControlButtonProps):
|
|
32
|
+
export declare function ControlButton({ assetUrl, label, icon, size, shape, variant, onPress, onRelease, pressEvent, releaseEvent, pressed, disabled, className, }: ControlButtonProps): React.JSX.Element;
|
|
32
33
|
export declare namespace ControlButton {
|
|
33
34
|
var displayName: string;
|
|
34
35
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Asset } from '@almadar/core';
|
|
2
3
|
export interface DamageNumberProps {
|
|
3
4
|
/** Sprite asset — displayed as a hit-effect icon alongside the number */
|
|
@@ -11,7 +12,7 @@ export interface DamageNumberProps {
|
|
|
11
12
|
/** Additional CSS classes */
|
|
12
13
|
className?: string;
|
|
13
14
|
}
|
|
14
|
-
export declare function DamageNumber({ assetUrl, value, type, size, className, }: DamageNumberProps):
|
|
15
|
+
export declare function DamageNumber({ assetUrl, value, type, size, className, }: DamageNumberProps): React.JSX.Element;
|
|
15
16
|
export declare namespace DamageNumber {
|
|
16
17
|
var displayName: string;
|
|
17
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Asset } from '@almadar/core';
|
|
2
3
|
export interface DialogueBubbleProps {
|
|
3
4
|
/** Speaker name displayed at the top */
|
|
@@ -11,7 +12,7 @@ export interface DialogueBubbleProps {
|
|
|
11
12
|
/** Additional CSS classes */
|
|
12
13
|
className?: string;
|
|
13
14
|
}
|
|
14
|
-
export declare function DialogueBubble({ speaker, text, portrait, position, className, }: DialogueBubbleProps):
|
|
15
|
+
export declare function DialogueBubble({ speaker, text, portrait, position, className, }: DialogueBubbleProps): React.JSX.Element;
|
|
15
16
|
export declare namespace DialogueBubble {
|
|
16
17
|
var displayName: string;
|
|
17
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Asset } from '@almadar/core';
|
|
2
3
|
import { type IconInput } from '../../../core/atoms/Icon';
|
|
3
4
|
export interface GameIconProps {
|
|
@@ -12,7 +13,7 @@ export interface GameIconProps {
|
|
|
12
13
|
/** Additional CSS classes. */
|
|
13
14
|
className?: string;
|
|
14
15
|
}
|
|
15
|
-
export declare function GameIcon({ assetUrl, icon, size, alt, className }: GameIconProps):
|
|
16
|
+
export declare function GameIcon({ assetUrl, icon, size, alt, className }: GameIconProps): React.JSX.Element;
|
|
16
17
|
export declare namespace GameIcon {
|
|
17
18
|
var displayName: string;
|
|
18
19
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface HealthBarProps {
|
|
2
3
|
/** Current value */
|
|
3
4
|
current: number;
|
|
@@ -20,7 +21,7 @@ export interface HealthBarProps {
|
|
|
20
21
|
/** Animation on change */
|
|
21
22
|
animated?: boolean;
|
|
22
23
|
}
|
|
23
|
-
export declare function HealthBar({ current, max, format, level, showLabel, labelSuffix, size, className, animated, }: HealthBarProps):
|
|
24
|
+
export declare function HealthBar({ current, max, format, level, showLabel, labelSuffix, size, className, animated, }: HealthBarProps): React.JSX.Element;
|
|
24
25
|
export declare namespace HealthBar {
|
|
25
26
|
var displayName: string;
|
|
26
27
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { type IconInput } from '../../../core/atoms/Icon';
|
|
2
3
|
import type { Asset } from '@almadar/core';
|
|
3
4
|
export interface ItemSlotProps {
|
|
@@ -22,7 +23,7 @@ export interface ItemSlotProps {
|
|
|
22
23
|
/** Additional CSS classes */
|
|
23
24
|
className?: string;
|
|
24
25
|
}
|
|
25
|
-
export declare function ItemSlot({ assetUrl, icon, label, quantity, rarity, empty, size, selected, onClick, className, }: ItemSlotProps):
|
|
26
|
+
export declare function ItemSlot({ assetUrl, icon, label, quantity, rarity, empty, size, selected, onClick, className, }: ItemSlotProps): React.JSX.Element;
|
|
26
27
|
export declare namespace ItemSlot {
|
|
27
28
|
var displayName: string;
|
|
28
29
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Rect } from '../../../core/atoms/types';
|
|
2
3
|
export interface MiniMapTile {
|
|
3
4
|
x: number;
|
|
@@ -28,7 +29,7 @@ export interface MiniMapProps {
|
|
|
28
29
|
/** Additional CSS classes */
|
|
29
30
|
className?: string;
|
|
30
31
|
}
|
|
31
|
-
export declare function MiniMap({ tiles, units, width, height, mapWidth, mapHeight, viewportRect, className, }: MiniMapProps):
|
|
32
|
+
export declare function MiniMap({ tiles, units, width, height, mapWidth, mapHeight, viewportRect, className, }: MiniMapProps): React.JSX.Element;
|
|
32
33
|
export declare namespace MiniMap {
|
|
33
34
|
var displayName: string;
|
|
34
35
|
}
|