@almadar/ui 5.121.2 → 5.121.4

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.
@@ -13,7 +13,7 @@ import { C as ContentSegment, b as DomLayoutData, d as DomStateNode, V as Visual
13
13
  export { n as cn } from '../cn-D3H9UzCW.cjs';
14
14
  import { b as SlotContent } from '../useUISlots-BesZYMks.cjs';
15
15
  export { D as DEFAULT_SLOTS, S as SlotAnimation, a as SlotChangeCallback, c as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-BesZYMks.cjs';
16
- export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryChangeSummary, HistoryTimelineItem, I18nContextValue, I18nProvider, InfiniteScrollOptions, InfiniteScrollResult, LongPressHandlers, LongPressOptions, OpenFile, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, RevertResult, SelectedFile, SharedEntityStore, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TapRevealOptions, TapRevealResult, TraitListenSpec, TranslateFunction, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createSharedEntityStore, createTranslate, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInfiniteScroll, useLongPress, useOrbitalHistory, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSwipeGesture, useTapReveal, useTraitListens, useTranslate, useUIEvents, useValidation } from '../hooks/index.cjs';
16
+ export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryChangeSummary, HistoryTimelineItem, I18nContextValue, I18nProvider, InfiniteScrollOptions, InfiniteScrollResult, LongPressHandlers, LongPressOptions, OpenFile, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, RevertResult, SelectedFile, SharedEntityStore, SharedEntityStoreContext, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TapRevealOptions, TapRevealResult, TraitListenSpec, TranslateFunction, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createSharedEntityStore, createTranslate, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInfiniteScroll, useLongPress, useOrbitalHistory, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useSwipeGesture, useTapReveal, useTraitListens, useTranslate, useUIEvents, useValidation } from '../hooks/index.cjs';
17
17
  export { u as useEmitEvent, a as useEventBus, b as useEventListener } from '../useEventBus-Ckr4wqW3.cjs';
18
18
  export { E as EventBusContextType } from '../event-bus-types-Bl78kokd.cjs';
19
19
  import 'clsx';
@@ -309,7 +309,13 @@ interface InputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputEl
309
309
  disabled?: boolean;
310
310
  /** Declarative event name for trait dispatch */
311
311
  action?: EventKey;
312
- /** Input type - supports 'select' and 'textarea' in addition to standard types */
312
+ /**
313
+ * Input type — selects the field's data mode. Use 'password' for masked
314
+ * credentials / secret / passphrase entry (there is no separate password
315
+ * pattern); 'email', 'tel', 'url', 'number', 'search', 'date', and 'time'
316
+ * for their respective values; and 'select' / 'textarea' for choice and
317
+ * multi-line entry in addition to the standard single-line types.
318
+ */
313
319
  inputType?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | "date" | "datetime-local" | "time" | "checkbox" | "select" | "textarea";
314
320
  label?: string;
315
321
  helperText?: string;
@@ -1487,6 +1493,8 @@ interface AnimatedCounterProps {
1487
1493
  prefix?: string;
1488
1494
  /** Text to display after the number */
1489
1495
  suffix?: string;
1496
+ /** Display format: "number" (locale grouping), "currency" ($x.xx), "percent" (rounded %). Unset preserves the value's own decimals. */
1497
+ format?: string;
1490
1498
  /** Additional class names */
1491
1499
  className?: string;
1492
1500
  }
@@ -3585,6 +3593,8 @@ interface LoadingStateProps {
3585
3593
  title?: string;
3586
3594
  message?: string;
3587
3595
  className?: string;
3596
+ /** Center over the whole viewport (fix: inset-0 overlay) instead of inline. */
3597
+ fullPage?: boolean;
3588
3598
  }
3589
3599
  declare const LoadingState: React__default.FC<LoadingStateProps>;
3590
3600
 
@@ -4873,7 +4883,12 @@ interface WizardProgressProps {
4873
4883
  compact?: boolean;
4874
4884
  /** Additional CSS classes */
4875
4885
  className?: string;
4876
- /** Declarative step click event — emits UI:{stepClickEvent} with { stepIndex } */
4886
+ /**
4887
+ * Declarative step click event — emits UI:{stepClickEvent} with { stepIndex }.
4888
+ * Setting it requires declaring that event (with a `{ stepIndex }` payload)
4889
+ * and a transition handling it in the same trait; omit this prop for
4890
+ * non-clickable progress indicators.
4891
+ */
4877
4892
  stepClickEvent?: EventEmit<{
4878
4893
  stepIndex: number;
4879
4894
  }>;
@@ -5209,7 +5224,7 @@ interface RepeatableFormSectionProps {
5209
5224
  title: string;
5210
5225
  /** Items in the section */
5211
5226
  items: RepeatableItem[];
5212
- /** Render function for each item */
5227
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
5213
5228
  renderItem: (item: RepeatableItem, index: number) => React__default.ReactNode;
5214
5229
  /** Minimum items required */
5215
5230
  minItems?: number;
@@ -6237,6 +6252,7 @@ interface DataGridProps extends DataDndProps {
6237
6252
  * Per-item render function (schema-level alias for children render prop).
6238
6253
  * In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }]
6239
6254
  * The compiler converts this to the children render prop.
6255
+ * In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6240
6256
  * @deprecated Use children render prop in React code. This prop exists for pattern registry sync.
6241
6257
  */
6242
6258
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6363,6 +6379,7 @@ interface DataListProps extends DataDndProps {
6363
6379
  * Per-item render function (schema-level alias for children render prop).
6364
6380
  * In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }]
6365
6381
  * The compiler converts this to the children render prop.
6382
+ * In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6366
6383
  * @deprecated Use children render prop in React code. This prop exists for pattern registry sync.
6367
6384
  */
6368
6385
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6473,6 +6490,7 @@ interface TableViewProps extends DataDndProps {
6473
6490
  /**
6474
6491
  * Per-row render function (schema alias). In .orb: ["fn","item",{...}].
6475
6492
  * The compiler converts this to the children render prop.
6493
+ * In .lolo, author the per-row renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6476
6494
  * @deprecated Use children in React code; exists for pattern registry sync.
6477
6495
  */
6478
6496
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6630,6 +6648,7 @@ declare const SwipeableRow: React__default.FC<SwipeableRowProps>;
6630
6648
 
6631
6649
  interface SortableListProps {
6632
6650
  items: readonly EntityRow[];
6651
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
6633
6652
  renderItem: (item: EntityRow, index: number) => React__default.ReactNode;
6634
6653
  reorderEvent: EventKey;
6635
6654
  reorderPayload?: EventPayload;
@@ -6656,7 +6675,7 @@ interface CarouselItem {
6656
6675
  interface CarouselProps<T = CarouselItem> {
6657
6676
  /** Array of items to display as slides */
6658
6677
  items: T[];
6659
- /** Render function for each slide */
6678
+ /** Render function for each slide. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
6660
6679
  renderItem?: (item: T, index: number) => React__default.ReactNode;
6661
6680
  /** Children-as-function fallback for renderItem (compiler compatibility) */
6662
6681
  children?: (item: T, index: number) => React__default.ReactNode;
@@ -9533,6 +9552,7 @@ interface ListProps extends DisplayStateProps {
9533
9552
  showDividers?: boolean;
9534
9553
  variant?: "default" | "card";
9535
9554
  emptyMessage?: string;
9555
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
9536
9556
  renderItem?: (item: ListItem, index: number) => React__default.ReactNode;
9537
9557
  children?: React__default.ReactNode;
9538
9558
  /** Fields to display - accepts string[] or {key, header}[] for unified interface */
@@ -13,7 +13,7 @@ import { C as ContentSegment, b as DomLayoutData, d as DomStateNode, V as Visual
13
13
  export { n as cn } from '../cn-Dm0VrLRG.js';
14
14
  import { b as SlotContent } from '../useUISlots-BesZYMks.js';
15
15
  export { D as DEFAULT_SLOTS, S as SlotAnimation, a as SlotChangeCallback, c as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-BesZYMks.js';
16
- export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryChangeSummary, HistoryTimelineItem, I18nContextValue, I18nProvider, InfiniteScrollOptions, InfiniteScrollResult, LongPressHandlers, LongPressOptions, OpenFile, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, RevertResult, SelectedFile, SharedEntityStore, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TapRevealOptions, TapRevealResult, TraitListenSpec, TranslateFunction, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createSharedEntityStore, createTranslate, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInfiniteScroll, useLongPress, useOrbitalHistory, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSwipeGesture, useTapReveal, useTraitListens, useTranslate, useUIEvents, useValidation } from '../hooks/index.js';
16
+ export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryChangeSummary, HistoryTimelineItem, I18nContextValue, I18nProvider, InfiniteScrollOptions, InfiniteScrollResult, LongPressHandlers, LongPressOptions, OpenFile, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, RevertResult, SelectedFile, SharedEntityStore, SharedEntityStoreContext, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TapRevealOptions, TapRevealResult, TraitListenSpec, TranslateFunction, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createSharedEntityStore, createTranslate, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInfiniteScroll, useLongPress, useOrbitalHistory, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useSwipeGesture, useTapReveal, useTraitListens, useTranslate, useUIEvents, useValidation } from '../hooks/index.js';
17
17
  export { u as useEmitEvent, a as useEventBus, b as useEventListener } from '../useEventBus-CQWyAWpK.js';
18
18
  export { E as EventBusContextType } from '../event-bus-types-Bl78kokd.js';
19
19
  import 'clsx';
@@ -309,7 +309,13 @@ interface InputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputEl
309
309
  disabled?: boolean;
310
310
  /** Declarative event name for trait dispatch */
311
311
  action?: EventKey;
312
- /** Input type - supports 'select' and 'textarea' in addition to standard types */
312
+ /**
313
+ * Input type — selects the field's data mode. Use 'password' for masked
314
+ * credentials / secret / passphrase entry (there is no separate password
315
+ * pattern); 'email', 'tel', 'url', 'number', 'search', 'date', and 'time'
316
+ * for their respective values; and 'select' / 'textarea' for choice and
317
+ * multi-line entry in addition to the standard single-line types.
318
+ */
313
319
  inputType?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | "date" | "datetime-local" | "time" | "checkbox" | "select" | "textarea";
314
320
  label?: string;
315
321
  helperText?: string;
@@ -1487,6 +1493,8 @@ interface AnimatedCounterProps {
1487
1493
  prefix?: string;
1488
1494
  /** Text to display after the number */
1489
1495
  suffix?: string;
1496
+ /** Display format: "number" (locale grouping), "currency" ($x.xx), "percent" (rounded %). Unset preserves the value's own decimals. */
1497
+ format?: string;
1490
1498
  /** Additional class names */
1491
1499
  className?: string;
1492
1500
  }
@@ -3585,6 +3593,8 @@ interface LoadingStateProps {
3585
3593
  title?: string;
3586
3594
  message?: string;
3587
3595
  className?: string;
3596
+ /** Center over the whole viewport (fix: inset-0 overlay) instead of inline. */
3597
+ fullPage?: boolean;
3588
3598
  }
3589
3599
  declare const LoadingState: React__default.FC<LoadingStateProps>;
3590
3600
 
@@ -4873,7 +4883,12 @@ interface WizardProgressProps {
4873
4883
  compact?: boolean;
4874
4884
  /** Additional CSS classes */
4875
4885
  className?: string;
4876
- /** Declarative step click event — emits UI:{stepClickEvent} with { stepIndex } */
4886
+ /**
4887
+ * Declarative step click event — emits UI:{stepClickEvent} with { stepIndex }.
4888
+ * Setting it requires declaring that event (with a `{ stepIndex }` payload)
4889
+ * and a transition handling it in the same trait; omit this prop for
4890
+ * non-clickable progress indicators.
4891
+ */
4877
4892
  stepClickEvent?: EventEmit<{
4878
4893
  stepIndex: number;
4879
4894
  }>;
@@ -5209,7 +5224,7 @@ interface RepeatableFormSectionProps {
5209
5224
  title: string;
5210
5225
  /** Items in the section */
5211
5226
  items: RepeatableItem[];
5212
- /** Render function for each item */
5227
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
5213
5228
  renderItem: (item: RepeatableItem, index: number) => React__default.ReactNode;
5214
5229
  /** Minimum items required */
5215
5230
  minItems?: number;
@@ -6237,6 +6252,7 @@ interface DataGridProps extends DataDndProps {
6237
6252
  * Per-item render function (schema-level alias for children render prop).
6238
6253
  * In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }]
6239
6254
  * The compiler converts this to the children render prop.
6255
+ * In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6240
6256
  * @deprecated Use children render prop in React code. This prop exists for pattern registry sync.
6241
6257
  */
6242
6258
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6363,6 +6379,7 @@ interface DataListProps extends DataDndProps {
6363
6379
  * Per-item render function (schema-level alias for children render prop).
6364
6380
  * In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }]
6365
6381
  * The compiler converts this to the children render prop.
6382
+ * In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6366
6383
  * @deprecated Use children render prop in React code. This prop exists for pattern registry sync.
6367
6384
  */
6368
6385
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6473,6 +6490,7 @@ interface TableViewProps extends DataDndProps {
6473
6490
  /**
6474
6491
  * Per-row render function (schema alias). In .orb: ["fn","item",{...}].
6475
6492
  * The compiler converts this to the children render prop.
6493
+ * In .lolo, author the per-row renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.
6476
6494
  * @deprecated Use children in React code; exists for pattern registry sync.
6477
6495
  */
6478
6496
  renderItem?: (item: EntityRow, index: number) => React__default.ReactNode;
@@ -6630,6 +6648,7 @@ declare const SwipeableRow: React__default.FC<SwipeableRowProps>;
6630
6648
 
6631
6649
  interface SortableListProps {
6632
6650
  items: readonly EntityRow[];
6651
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
6633
6652
  renderItem: (item: EntityRow, index: number) => React__default.ReactNode;
6634
6653
  reorderEvent: EventKey;
6635
6654
  reorderPayload?: EventPayload;
@@ -6656,7 +6675,7 @@ interface CarouselItem {
6656
6675
  interface CarouselProps<T = CarouselItem> {
6657
6676
  /** Array of items to display as slides */
6658
6677
  items: T[];
6659
- /** Render function for each slide */
6678
+ /** Render function for each slide. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
6660
6679
  renderItem?: (item: T, index: number) => React__default.ReactNode;
6661
6680
  /** Children-as-function fallback for renderItem (compiler compatibility) */
6662
6681
  children?: (item: T, index: number) => React__default.ReactNode;
@@ -9533,6 +9552,7 @@ interface ListProps extends DisplayStateProps {
9533
9552
  showDividers?: boolean;
9534
9553
  variant?: "default" | "card";
9535
9554
  emptyMessage?: string;
9555
+ /** Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field. */
9536
9556
  renderItem?: (item: ListItem, index: number) => React__default.ReactNode;
9537
9557
  children?: React__default.ReactNode;
9538
9558
  /** Fields to display - accepts string[] or {key, header}[] for unified interface */