@almadar/ui 5.154.0 → 5.156.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/{NavStackContext-BoVV9nWb.d.cts → NavStackContext-bw2nlBgT.d.cts} +4 -0
- package/dist/{NavStackContext-BoVV9nWb.d.ts → NavStackContext-bw2nlBgT.d.ts} +4 -0
- package/dist/avl/index.cjs +215 -114
- package/dist/avl/index.js +217 -116
- package/dist/components/index.cjs +215 -114
- package/dist/components/index.d.cts +38 -17
- package/dist/components/index.d.ts +38 -17
- package/dist/components/index.js +217 -116
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/marketing/index.d.cts +2 -1
- package/dist/marketing/index.d.ts +2 -1
- package/dist/{offline-executor-Qz4b6GpF.d.cts → offline-executor-QUdKOj7f.d.cts} +1 -1
- package/dist/{offline-executor-Qz4b6GpF.d.ts → offline-executor-QUdKOj7f.d.ts} +1 -1
- package/dist/providers/index.cjs +252 -119
- package/dist/providers/index.d.cts +26 -4
- package/dist/providers/index.d.ts +26 -4
- package/dist/providers/index.js +252 -121
- package/dist/renderer/index.d.cts +2 -2
- package/dist/renderer/index.d.ts +2 -2
- package/dist/runtime/index.cjs +215 -114
- package/dist/runtime/index.js +217 -116
- package/package.json +4 -4
- package/themes/_fonts-kenney.css +11 -0
- package/themes/index.css +3 -0
|
@@ -4,11 +4,11 @@ export { ANONYMOUS_USER } from '@almadar/core';
|
|
|
4
4
|
import { U as UIThemeDefinition, j as UserData } from '../UserContext-g_LcDiGN.cjs';
|
|
5
5
|
export { a as CurrentPagePathContext, b as CurrentPagePathProvider, c as CurrentPagePathProviderProps, d as DesignThemeProvider, O as OrbitalThemeProvider, e as OrbitalThemeProviderProps, h as UserContext, i as UserContextValue, k as UserProvider, l as UserProviderProps, u as useCurrentPagePath, m as useDesignTheme, n as useHasPermission, o as useHasRole, q as useUser, r as useUserForEvaluation } from '../UserContext-g_LcDiGN.cjs';
|
|
6
6
|
export { E as EntityBindingContext, a as EntityBindingSource, b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, S as SendEventResult, e as ServerBridgeContextValue, f as ServerBridgeProvider, g as ServerBridgeProviderProps, h as ServerBridgeTransport, i as ServerClientEffect, j as ServerResponseMeta, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, u as useEntityBindingSnapshot, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-BfZGeDfX.cjs';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { j as UseOfflineExecutorResult, U as UseOfflineExecutorOptions } from '../offline-executor-QUdKOj7f.cjs';
|
|
8
|
+
export { c as NavigationContextValue, d as NavigationProvider, e as NavigationProviderProps, f as NavigationState, k as comparePathSpecificity, m as extractRouteParams, n as findPageByName, o as findPageByPath, p as getAllPages, q as getDefaultPage, r as matchPath, s as matchPathAmong, t as pathMatches, u as useActivePage, v as useInitPayload, w as useNavigateTo, x as useNavigation, y as useNavigationId, z as useNavigationState } from '../offline-executor-QUdKOj7f.cjs';
|
|
9
9
|
import { E as EventBusContextType } from '../event-bus-types-Bl78kokd.cjs';
|
|
10
10
|
export { G as GameAudioContext, a as GameAudioContextValue, b as GameAudioProvider, c as GameAudioProviderProps, u as useGameAudioContext, d as useGameAudioContextOptional } from '../GameAudioProvider-CQAdPreB.cjs';
|
|
11
|
-
export { N as NavPageDecl, a as NavStackApi, b as NavStackProvider, c as NavStackProviderProps, d as NavStackRouterBridge, e as NavStackRouterBridgeProps, u as useNavStack } from '../NavStackContext-
|
|
11
|
+
export { N as NavPageDecl, a as NavStackApi, b as NavStackProvider, c as NavStackProviderProps, d as NavStackRouterBridge, e as NavStackRouterBridgeProps, u as useNavStack } from '../NavStackContext-bw2nlBgT.cjs';
|
|
12
12
|
import '@almadar/core/patterns';
|
|
13
13
|
import '../types-B3nHgnMG.cjs';
|
|
14
14
|
|
|
@@ -254,6 +254,28 @@ declare namespace OrbitalProvider {
|
|
|
254
254
|
var displayName: string;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
/**
|
|
258
|
+
* RenderSlotContext — which UI slot the current subtree is rendering into.
|
|
259
|
+
*
|
|
260
|
+
* Default is 'main': a compiled app's page body renders patterns directly
|
|
261
|
+
* (no UISlotRenderer), so the absence of a provider IS the main slot. The
|
|
262
|
+
* exceptional hosts declare themselves: the runtime path's UISlotComponent
|
|
263
|
+
* provides its slot name per subtree; the compiled path's ModalSlot /
|
|
264
|
+
* DrawerSlot provide 'modal' / 'drawer'.
|
|
265
|
+
*
|
|
266
|
+
* Consumers gate slot-sensitive behavior on it — e.g. DetailPanel only
|
|
267
|
+
* feeds the loaded record's title into the nav-stack crumb from the routed
|
|
268
|
+
* 'main' slot (a modal or drawer must not relabel the page's crumb).
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
interface RenderSlotProviderProps {
|
|
272
|
+
slot: string;
|
|
273
|
+
children: React__default.ReactNode;
|
|
274
|
+
}
|
|
275
|
+
declare const RenderSlotProvider: React__default.FC<RenderSlotProviderProps>;
|
|
276
|
+
/** The slot name the calling component is rendering inside ('main' by default). */
|
|
277
|
+
declare function useRenderSlot(): string;
|
|
278
|
+
|
|
257
279
|
/**
|
|
258
280
|
* TraitScopeProvider
|
|
259
281
|
*
|
|
@@ -467,4 +489,4 @@ declare function useOfflineMode(): OfflineModeContextValue;
|
|
|
467
489
|
*/
|
|
468
490
|
declare function useOptionalOfflineMode(): OfflineModeContextValue | null;
|
|
469
491
|
|
|
470
|
-
export { EventBusContext, EventBusProvider, type OfflineModeContextValue, OfflineModeProvider, type OfflineModeProviderProps, OrbitalProvider, type OrbitalProviderProps, SelectionContext, type SelectionContextType, SelectionProvider, type TraitScope, TraitScopeProvider, type TraitScopeProviderProps, UIThemeDefinition, UserData, VerificationProvider, type VerificationProviderProps, useOfflineMode, useOptionalOfflineMode, useSelection, useSelectionOptional, useTraitScope, useTraitScopeChain };
|
|
492
|
+
export { EventBusContext, EventBusProvider, type OfflineModeContextValue, OfflineModeProvider, type OfflineModeProviderProps, OrbitalProvider, type OrbitalProviderProps, RenderSlotProvider, type RenderSlotProviderProps, SelectionContext, type SelectionContextType, SelectionProvider, type TraitScope, TraitScopeProvider, type TraitScopeProviderProps, UIThemeDefinition, UserData, VerificationProvider, type VerificationProviderProps, useOfflineMode, useOptionalOfflineMode, useRenderSlot, useSelection, useSelectionOptional, useTraitScope, useTraitScopeChain };
|
|
@@ -4,11 +4,11 @@ export { ANONYMOUS_USER } from '@almadar/core';
|
|
|
4
4
|
import { U as UIThemeDefinition, j as UserData } from '../UserContext-g_LcDiGN.js';
|
|
5
5
|
export { a as CurrentPagePathContext, b as CurrentPagePathProvider, c as CurrentPagePathProviderProps, d as DesignThemeProvider, O as OrbitalThemeProvider, e as OrbitalThemeProviderProps, h as UserContext, i as UserContextValue, k as UserProvider, l as UserProviderProps, u as useCurrentPagePath, m as useDesignTheme, n as useHasPermission, o as useHasRole, q as useUser, r as useUserForEvaluation } from '../UserContext-g_LcDiGN.js';
|
|
6
6
|
export { E as EntityBindingContext, a as EntityBindingSource, b as EntitySchemaContextValue, c as EntitySchemaProvider, d as EntitySchemaProviderProps, S as SendEventResult, e as ServerBridgeContextValue, f as ServerBridgeProvider, g as ServerBridgeProviderProps, h as ServerBridgeTransport, i as ServerClientEffect, j as ServerResponseMeta, T as TraitContext, k as TraitContextValue, l as TraitInstance, m as TraitProvider, n as TraitProviderProps, u as useEntityBindingSnapshot, o as useEntitySchema, p as useEntitySchemaOptional, q as useServerBridge, r as useTrait, s as useTraitContext } from '../EntityBindingContext-BfZGeDfX.js';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { j as UseOfflineExecutorResult, U as UseOfflineExecutorOptions } from '../offline-executor-QUdKOj7f.js';
|
|
8
|
+
export { c as NavigationContextValue, d as NavigationProvider, e as NavigationProviderProps, f as NavigationState, k as comparePathSpecificity, m as extractRouteParams, n as findPageByName, o as findPageByPath, p as getAllPages, q as getDefaultPage, r as matchPath, s as matchPathAmong, t as pathMatches, u as useActivePage, v as useInitPayload, w as useNavigateTo, x as useNavigation, y as useNavigationId, z as useNavigationState } from '../offline-executor-QUdKOj7f.js';
|
|
9
9
|
import { E as EventBusContextType } from '../event-bus-types-Bl78kokd.js';
|
|
10
10
|
export { G as GameAudioContext, a as GameAudioContextValue, b as GameAudioProvider, c as GameAudioProviderProps, u as useGameAudioContext, d as useGameAudioContextOptional } from '../GameAudioProvider-B48iXwz3.js';
|
|
11
|
-
export { N as NavPageDecl, a as NavStackApi, b as NavStackProvider, c as NavStackProviderProps, d as NavStackRouterBridge, e as NavStackRouterBridgeProps, u as useNavStack } from '../NavStackContext-
|
|
11
|
+
export { N as NavPageDecl, a as NavStackApi, b as NavStackProvider, c as NavStackProviderProps, d as NavStackRouterBridge, e as NavStackRouterBridgeProps, u as useNavStack } from '../NavStackContext-bw2nlBgT.js';
|
|
12
12
|
import '@almadar/core/patterns';
|
|
13
13
|
import '../types-B3nHgnMG.js';
|
|
14
14
|
|
|
@@ -254,6 +254,28 @@ declare namespace OrbitalProvider {
|
|
|
254
254
|
var displayName: string;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
/**
|
|
258
|
+
* RenderSlotContext — which UI slot the current subtree is rendering into.
|
|
259
|
+
*
|
|
260
|
+
* Default is 'main': a compiled app's page body renders patterns directly
|
|
261
|
+
* (no UISlotRenderer), so the absence of a provider IS the main slot. The
|
|
262
|
+
* exceptional hosts declare themselves: the runtime path's UISlotComponent
|
|
263
|
+
* provides its slot name per subtree; the compiled path's ModalSlot /
|
|
264
|
+
* DrawerSlot provide 'modal' / 'drawer'.
|
|
265
|
+
*
|
|
266
|
+
* Consumers gate slot-sensitive behavior on it — e.g. DetailPanel only
|
|
267
|
+
* feeds the loaded record's title into the nav-stack crumb from the routed
|
|
268
|
+
* 'main' slot (a modal or drawer must not relabel the page's crumb).
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
interface RenderSlotProviderProps {
|
|
272
|
+
slot: string;
|
|
273
|
+
children: React__default.ReactNode;
|
|
274
|
+
}
|
|
275
|
+
declare const RenderSlotProvider: React__default.FC<RenderSlotProviderProps>;
|
|
276
|
+
/** The slot name the calling component is rendering inside ('main' by default). */
|
|
277
|
+
declare function useRenderSlot(): string;
|
|
278
|
+
|
|
257
279
|
/**
|
|
258
280
|
* TraitScopeProvider
|
|
259
281
|
*
|
|
@@ -467,4 +489,4 @@ declare function useOfflineMode(): OfflineModeContextValue;
|
|
|
467
489
|
*/
|
|
468
490
|
declare function useOptionalOfflineMode(): OfflineModeContextValue | null;
|
|
469
491
|
|
|
470
|
-
export { EventBusContext, EventBusProvider, type OfflineModeContextValue, OfflineModeProvider, type OfflineModeProviderProps, OrbitalProvider, type OrbitalProviderProps, SelectionContext, type SelectionContextType, SelectionProvider, type TraitScope, TraitScopeProvider, type TraitScopeProviderProps, UIThemeDefinition, UserData, VerificationProvider, type VerificationProviderProps, useOfflineMode, useOptionalOfflineMode, useSelection, useSelectionOptional, useTraitScope, useTraitScopeChain };
|
|
492
|
+
export { EventBusContext, EventBusProvider, type OfflineModeContextValue, OfflineModeProvider, type OfflineModeProviderProps, OrbitalProvider, type OrbitalProviderProps, RenderSlotProvider, type RenderSlotProviderProps, SelectionContext, type SelectionContextType, SelectionProvider, type TraitScope, TraitScopeProvider, type TraitScopeProviderProps, UIThemeDefinition, UserData, VerificationProvider, type VerificationProviderProps, useOfflineMode, useOptionalOfflineMode, useRenderSlot, useSelection, useSelectionOptional, useTraitScope, useTraitScopeChain };
|