@almadar/ui 5.18.1 → 5.19.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/avl/index.cjs +7427 -7671
- package/dist/avl/index.d.cts +8 -0
- package/dist/avl/index.js +6292 -6536
- package/dist/components/index.cjs +7635 -7873
- package/dist/components/index.js +6686 -6921
- package/dist/components/{organisms → molecules}/ContentRenderer.d.ts +1 -1
- package/dist/components/{organisms → molecules}/FormSection.d.ts +1 -1
- package/dist/components/molecules/avl/ModuleCard.d.ts +8 -0
- package/dist/components/molecules/index.d.ts +17 -1
- package/dist/components/organisms/game/GameAudioProvider.d.ts +6 -0
- package/dist/components/organisms/game/GameAudioToggle.d.ts +4 -2
- package/dist/components/organisms/game/three/index.cjs +180 -172
- package/dist/components/organisms/game/three/index.js +18 -10
- package/dist/components/organisms/game/three/renderers/FeatureRenderer.d.ts +7 -13
- package/dist/components/organisms/index.d.ts +0 -18
- package/dist/providers/index.cjs +7019 -7271
- package/dist/providers/index.js +6254 -6506
- package/dist/runtime/index.cjs +7058 -7310
- package/dist/runtime/index.js +6257 -6509
- package/package.json +1 -1
- package/dist/components/molecules/CodeExample.d.ts +0 -23
- package/dist/components/organisms/Meter.d.ts +0 -59
- package/dist/components/organisms/Table.d.ts +0 -100
- /package/dist/components/{organisms → molecules}/Chart.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/CodeViewer.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/ConfirmDialog.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/DocumentViewer.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/GraphCanvas.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/Header.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/JazariStateMachine.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/Navigation.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/OrbitalVisualization.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/PageHeader.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/Section.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/Sidebar.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/SignaturePad.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/Split.d.ts +0 -0
- /package/dist/components/{organisms → molecules}/WizardContainer.d.ts +0 -0
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import { type ContentSegment } from '../../lib/parseContentSegments';
|
|
14
|
-
import type { EntityDisplayProps } from '
|
|
14
|
+
import type { EntityDisplayProps } from '../organisms/types';
|
|
15
15
|
export interface ContentRendererProps extends EntityDisplayProps {
|
|
16
16
|
/** Raw content string — auto-parsed into segments */
|
|
17
17
|
content?: string;
|
|
@@ -11,4 +11,12 @@ import type { AvlNodeData } from './avl-canvas-types';
|
|
|
11
11
|
export interface ModuleCardProps {
|
|
12
12
|
data: AvlNodeData;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Self-contained ModuleCard. The connection `<Handle>`s need the ReactFlow store,
|
|
16
|
+
* so standalone they'd throw ("no zustand provider as an ancestor"). When this
|
|
17
|
+
* card isn't already a flow node (`useNodeId() === null`) it bundles its own
|
|
18
|
+
* `<ReactFlowProvider>` so it renders anywhere; inside `<FlowCanvas>` it's a real
|
|
19
|
+
* node and renders raw (no nested provider). The provider is an implementation
|
|
20
|
+
* detail, never a precondition for using the component.
|
|
21
|
+
*/
|
|
14
22
|
export declare const ModuleCard: React.FC<ModuleCardProps>;
|
|
@@ -73,7 +73,6 @@ export { StatsGrid, type StatsGridProps } from './StatsGrid';
|
|
|
73
73
|
export { ServiceCatalog, type ServiceCatalogProps, type ServiceCatalogItem } from './ServiceCatalog';
|
|
74
74
|
export { CaseStudyCard, type CaseStudyCardProps } from './CaseStudyCard';
|
|
75
75
|
export { ArticleSection, type ArticleSectionProps } from './ArticleSection';
|
|
76
|
-
export { CodeExample, type CodeExampleProps } from './CodeExample';
|
|
77
76
|
export { SocialProof, type SocialProofProps, type SocialProofItem } from './SocialProof';
|
|
78
77
|
export { StepFlow, type StepFlowProps, type StepItemProps } from './StepFlow';
|
|
79
78
|
export { SplitSection, type SplitSectionProps } from './SplitSection';
|
|
@@ -105,3 +104,20 @@ export { MarketingFooter, type MarketingFooterProps, type FooterLinkColumn, type
|
|
|
105
104
|
export { PullQuote, type PullQuoteProps } from './PullQuote';
|
|
106
105
|
export { BehaviorView, type BehaviorViewProps } from './avl/BehaviorView';
|
|
107
106
|
export { ModuleCard, type ModuleCardProps } from './avl/ModuleCard';
|
|
107
|
+
export { PageHeader, type PageHeaderProps, type PageBreadcrumb, } from "./PageHeader";
|
|
108
|
+
export { FormSection, FormLayout, FormActions, type FormSectionProps, type FormLayoutProps, type FormActionsProps, } from "./FormSection";
|
|
109
|
+
export { Header, type HeaderProps } from "./Header";
|
|
110
|
+
export { Navigation, type NavigationProps, type NavigationItem, } from "./Navigation";
|
|
111
|
+
export { Section, type SectionProps } from "./Section";
|
|
112
|
+
export { Sidebar, type SidebarProps, type SidebarItem } from "./Sidebar";
|
|
113
|
+
export { Split, type SplitProps } from "./Split";
|
|
114
|
+
export { ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, } from "./ConfirmDialog";
|
|
115
|
+
export { WizardContainer, type WizardContainerProps, type WizardStep, } from "./WizardContainer";
|
|
116
|
+
export { OrbitalVisualization, type OrbitalVisualizationProps, } from "./OrbitalVisualization";
|
|
117
|
+
export { JazariStateMachine, type JazariStateMachineProps, } from "./JazariStateMachine";
|
|
118
|
+
export { ContentRenderer, type ContentRendererProps, } from "./ContentRenderer";
|
|
119
|
+
export { Chart, type ChartProps, type ChartType, type ChartSeries, } from "./Chart";
|
|
120
|
+
export { SignaturePad, type SignaturePadProps, } from "./SignaturePad";
|
|
121
|
+
export { DocumentViewer, type DocumentViewerProps, type DocumentType, } from "./DocumentViewer";
|
|
122
|
+
export { GraphCanvas, type GraphCanvasProps, type GraphNode, type GraphEdge, } from "./GraphCanvas";
|
|
123
|
+
export { CodeViewer, type CodeViewerProps, type CodeViewerMode, type DiffLine, } from "./CodeViewer";
|
|
@@ -26,6 +26,12 @@ export declare const GameAudioContext: React.Context<GameAudioContextValue | nul
|
|
|
26
26
|
* Must be called from within a `<GameAudioProvider>` tree.
|
|
27
27
|
*/
|
|
28
28
|
export declare function useGameAudioContext(): GameAudioContextValue;
|
|
29
|
+
/**
|
|
30
|
+
* Access the game audio context, or `null` when there is no `<GameAudioProvider>`
|
|
31
|
+
* ancestor. Lets a component stay self-contained (render standalone with a local
|
|
32
|
+
* fallback) — the provider is an implementation detail, never a hard precondition.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useGameAudioContextOptional(): GameAudioContextValue | null;
|
|
29
35
|
export interface GameAudioProviderProps {
|
|
30
36
|
/** Sound manifest — keys mapped to SoundEntry definitions */
|
|
31
37
|
manifest: AudioManifest;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GameAudioToggle
|
|
3
3
|
*
|
|
4
|
-
* A small mute/unmute button for game HUDs.
|
|
5
|
-
*
|
|
4
|
+
* A small mute/unmute button for game HUDs. Self-contained: inside a
|
|
5
|
+
* <GameAudioProvider> it drives the shared audio state; standalone it falls back
|
|
6
|
+
* to a local muted state so it renders without a provider (the provider is an
|
|
7
|
+
* implementation detail, not a precondition).
|
|
6
8
|
*
|
|
7
9
|
* Shows 🔊 when sound is on and 🔇 when muted.
|
|
8
10
|
*
|