@almadar/core 10.104.0 → 10.106.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.
@@ -1,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-DhsB3usU.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-CjwAD-Y4.js';
3
- import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DoFyUfui.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-DtAf51pB.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-aRqGRPE_.js';
3
+ import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-CzhNoRw4.js';
4
4
  import { S as SExpr } from './expression-CfeHdS-f.js';
5
5
  import 'zod';
6
6
  import './json-D8gmyK3l.js';
@@ -1,4 +1,4 @@
1
- import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-DhsB3usU.js';
1
+ import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-DtAf51pB.js';
2
2
  import { z } from 'zod';
3
3
  import { a as EventPayloadValue, b as EventPayload } from './expression-CfeHdS-f.js';
4
4
 
@@ -2840,8 +2840,8 @@ type EntityData = Record<string, EntityRow[]>;
2840
2840
  *
2841
2841
  * DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
2842
2842
  *
2843
- * Generated: 2026-09-25T03:49:13.655Z
2844
- * Pattern count: 246
2843
+ * Generated: 2026-09-26T10:53:57.286Z
2844
+ * Pattern count: 248
2845
2845
  */
2846
2846
 
2847
2847
  /**
@@ -2853,7 +2853,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
2853
2853
  * All valid pattern type names from @almadar/core/patterns registry.
2854
2854
  * Use this type in render-ui effects for compile-time validation.
2855
2855
  */
2856
- type PatternType = 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'command-palette' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'control-button' | 'control-grid' | 'counter-template' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'dock-layout' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-skinned-mesh' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-grid' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'floating-toolbar' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-cue' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'gantt' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hstack' | 'icon' | 'image' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'jazari-state-machine' | 'label' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'progress-bar' | 'progress-dots' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'status-dot' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-input' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2856
+ type PatternType = 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'command-palette' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'control-button' | 'control-grid' | 'counter-template' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'dock-layout' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-skinned-mesh' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-grid' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'floating-toolbar' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-cue' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'gantt' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hstack' | 'icon' | 'icon-button' | 'image' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'jazari-state-machine' | 'label' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'progress-bar' | 'progress-dots' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'status-dot' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-input' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'top-nav-item' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2857
2857
  /**
2858
2858
  * Pattern props map — each pattern type maps to its valid props interface.
2859
2859
  */
@@ -3815,6 +3815,12 @@ interface PatternPropsMap {
3815
3815
  bottomPanelMinSize?: number | string | SExpr;
3816
3816
  secondarySidebarCollapsed?: boolean | string | SExpr;
3817
3817
  onSecondarySidebarCollapsedChange?: ((...args: unknown[]) => unknown) | string | SExpr;
3818
+ compact?: boolean | string | SExpr;
3819
+ secondarySidebarLabel?: string | SExpr;
3820
+ secondarySidebarIcon?: unknown | string | SExpr;
3821
+ bottomPanelLabel?: string | SExpr;
3822
+ bottomPanelIcon?: unknown | string | SExpr;
3823
+ topBarActions?: unknown | string | SExpr;
3818
3824
  className?: string | SExpr;
3819
3825
  railClassName?: string | SExpr;
3820
3826
  sidebarClassName?: string | SExpr;
@@ -4641,6 +4647,22 @@ interface PatternPropsMap {
4641
4647
  strokeWidth?: number | string | SExpr;
4642
4648
  style?: PatternPropValue | string | SExpr;
4643
4649
  };
4650
+ 'icon-button': {
4651
+ type: 'icon-button';
4652
+ className?: string | SExpr;
4653
+ variant?: string | SExpr;
4654
+ size?: string | SExpr;
4655
+ isLoading?: boolean | string | SExpr;
4656
+ iconAsset?: PatternPropValue | string | SExpr;
4657
+ action?: string | SExpr;
4658
+ actionPayload?: PatternPropValue | string | SExpr;
4659
+ disabled?: boolean | string | SExpr;
4660
+ href?: string | SExpr;
4661
+ 'data-testid'?: string | SExpr;
4662
+ icon: unknown | string | SExpr;
4663
+ label: string | SExpr;
4664
+ tooltipPosition?: string | SExpr;
4665
+ };
4644
4666
  'image': {
4645
4667
  type: 'image';
4646
4668
  src: unknown | string | SExpr;
@@ -6066,6 +6088,13 @@ interface PatternPropsMap {
6066
6088
  showArrow?: boolean | string | SExpr;
6067
6089
  className?: string | SExpr;
6068
6090
  };
6091
+ 'top-nav-item': {
6092
+ type: 'top-nav-item';
6093
+ item: PatternPropValue | string | SExpr;
6094
+ activeHref?: string | SExpr;
6095
+ tone?: string | SExpr;
6096
+ className?: string | SExpr;
6097
+ };
6069
6098
  'trait-frame': {
6070
6099
  type: 'trait-frame';
6071
6100
  traitName: string | SExpr;
@@ -1,5 +1,5 @@
1
- import { O as OrbitalEntity } from './effect-DhsB3usU.js';
2
- import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-CjwAD-Y4.js';
1
+ import { O as OrbitalEntity } from './effect-DtAf51pB.js';
2
+ import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-aRqGRPE_.js';
3
3
  import { S as SExpr } from './expression-CfeHdS-f.js';
4
4
 
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-DBAbXfRk.js';
2
- export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-DBAbXfRk.js';
3
- import { a as EntityPersistence, E as EntityField } from '../effect-DhsB3usU.js';
4
- import { a as TraitReference } from '../trait-DoFyUfui.js';
1
+ import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-4EKT1Oco.js';
2
+ export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-4EKT1Oco.js';
3
+ import { a as EntityPersistence, E as EntityField } from '../effect-DtAf51pB.js';
4
+ import { a as TraitReference } from '../trait-CzhNoRw4.js';
5
5
  export { J as JsonValue } from '../json-D8gmyK3l.js';
6
6
  import 'zod';
7
7
  import '../expression-CfeHdS-f.js';
@@ -10360,6 +10360,11 @@ var patterns_registry_default = {
10360
10360
  ],
10361
10361
  kind: "event"
10362
10362
  },
10363
+ href: {
10364
+ types: [
10365
+ "string"
10366
+ ]
10367
+ },
10363
10368
  url: {
10364
10369
  types: [
10365
10370
  "string"
@@ -13002,6 +13007,7 @@ var patterns_registry_default = {
13002
13007
  header: {
13003
13008
  type: "header",
13004
13009
  category: "header",
13010
+ sourceFile: "components/core/molecules/Header.tsx",
13005
13011
  tier: "molecules",
13006
13012
  family: "core",
13007
13013
  description: "Header Organism Component A header component for mobile/responsive layouts with menu toggle, brand, and user avatar. Styled to match the main Layout component's mobile header.",
@@ -13070,6 +13076,18 @@ var patterns_registry_default = {
13070
13076
  types: [
13071
13077
  "boolean"
13072
13078
  ]
13079
+ },
13080
+ children: {
13081
+ types: [
13082
+ "array"
13083
+ ],
13084
+ items: {
13085
+ types: [
13086
+ "object"
13087
+ ],
13088
+ cyclic: true,
13089
+ cyclicTypeName: "HeaderNavigationItem"
13090
+ }
13073
13091
  }
13074
13092
  },
13075
13093
  required: [
@@ -49776,6 +49794,7 @@ var patterns_registry_default = {
49776
49794
  "dock-layout": {
49777
49795
  type: "dock-layout",
49778
49796
  category: "layout",
49797
+ sourceFile: "components/core/organisms/layout/DockLayout.tsx",
49779
49798
  tier: "organisms",
49780
49799
  family: "core",
49781
49800
  description: "DockLayout component",
@@ -49827,8 +49846,7 @@ var patterns_registry_default = {
49827
49846
  types: [
49828
49847
  "number"
49829
49848
  ],
49830
- description: "Width of `rail` in pixels. @default 56",
49831
- default: 56
49849
+ description: "Width of `rail` in pixels; the rail sizes the column itself when omitted."
49832
49850
  },
49833
49851
  secondarySidebarWidth: {
49834
49852
  types: [
@@ -49841,8 +49859,7 @@ var patterns_registry_default = {
49841
49859
  types: [
49842
49860
  "boolean"
49843
49861
  ],
49844
- description: "Whether `sidebar` is collapsed. @default false",
49845
- default: false
49862
+ description: "Whether `sidebar` is collapsed. @default false"
49846
49863
  },
49847
49864
  onSidebarCollapsedChange: {
49848
49865
  types: [
@@ -49888,8 +49905,7 @@ var patterns_registry_default = {
49888
49905
  types: [
49889
49906
  "boolean"
49890
49907
  ],
49891
- description: "Whether `bottomPanel` is collapsed. @default false",
49892
- default: false
49908
+ description: "Whether `bottomPanel` is collapsed. @default false"
49893
49909
  },
49894
49910
  onBottomPanelCollapsedChange: {
49895
49911
  types: [
@@ -49935,8 +49951,7 @@ var patterns_registry_default = {
49935
49951
  types: [
49936
49952
  "boolean"
49937
49953
  ],
49938
- description: "Whether `secondarySidebar` is collapsed. @default false",
49939
- default: false
49954
+ description: "Whether `secondarySidebar` is collapsed. @default false"
49940
49955
  },
49941
49956
  onSecondarySidebarCollapsedChange: {
49942
49957
  types: [
@@ -49951,6 +49966,44 @@ var patterns_registry_default = {
49951
49966
  }
49952
49967
  ]
49953
49968
  },
49969
+ compact: {
49970
+ types: [
49971
+ "boolean"
49972
+ ],
49973
+ description: "The mobile variant; decided by the viewport (narrower than 1024px) when omitted."
49974
+ },
49975
+ secondarySidebarLabel: {
49976
+ types: [
49977
+ "string"
49978
+ ],
49979
+ description: 'Compact: the top-bar button that opens `secondarySidebar` (e.g. "Inspector", "Chat").'
49980
+ },
49981
+ secondarySidebarIcon: {
49982
+ types: [
49983
+ "icon",
49984
+ "string"
49985
+ ],
49986
+ description: "secondarySidebarIcon prop"
49987
+ },
49988
+ bottomPanelLabel: {
49989
+ types: [
49990
+ "string"
49991
+ ],
49992
+ description: "Compact: the top-bar button that opens `bottomPanel`."
49993
+ },
49994
+ bottomPanelIcon: {
49995
+ types: [
49996
+ "icon",
49997
+ "string"
49998
+ ],
49999
+ description: "bottomPanelIcon prop"
50000
+ },
50001
+ topBarActions: {
50002
+ types: [
50003
+ "node"
50004
+ ],
50005
+ description: "Compact: the host's own actions at the end of the top bar (e.g. Run)."
50006
+ },
49954
50007
  className: {
49955
50008
  types: [
49956
50009
  "string"
@@ -51221,6 +51274,318 @@ var patterns_registry_default = {
51221
51274
  description: "className prop"
51222
51275
  }
51223
51276
  }
51277
+ },
51278
+ "icon-button": {
51279
+ type: "icon-button",
51280
+ category: "component",
51281
+ sourceFile: "components/core/molecules/IconButton.tsx",
51282
+ tier: "molecules",
51283
+ family: "core",
51284
+ description: "IconButton component",
51285
+ suggestedFor: [
51286
+ "icon",
51287
+ "button",
51288
+ "icon button"
51289
+ ],
51290
+ typicalSize: "medium",
51291
+ propsSchema: {
51292
+ className: {
51293
+ types: [
51294
+ "string"
51295
+ ],
51296
+ description: "Additional CSS classes applied to the root element."
51297
+ },
51298
+ variant: {
51299
+ types: [
51300
+ "string"
51301
+ ],
51302
+ description: "variant prop",
51303
+ enumValues: [
51304
+ "primary",
51305
+ "secondary",
51306
+ "ghost",
51307
+ "danger",
51308
+ "success",
51309
+ "warning",
51310
+ "default",
51311
+ "link"
51312
+ ],
51313
+ default: "ghost"
51314
+ },
51315
+ size: {
51316
+ types: [
51317
+ "string"
51318
+ ],
51319
+ description: "size prop",
51320
+ enumValues: [
51321
+ "sm",
51322
+ "md",
51323
+ "lg"
51324
+ ],
51325
+ default: "sm"
51326
+ },
51327
+ isLoading: {
51328
+ types: [
51329
+ "boolean"
51330
+ ],
51331
+ description: "isLoading prop"
51332
+ },
51333
+ iconAsset: {
51334
+ types: [
51335
+ "object"
51336
+ ],
51337
+ description: "Asset image rendered as the leading icon; takes precedence over icon/leftIcon when provided.",
51338
+ properties: {
51339
+ url: {
51340
+ types: [
51341
+ "asset"
51342
+ ]
51343
+ },
51344
+ role: {
51345
+ types: [
51346
+ "string"
51347
+ ]
51348
+ },
51349
+ category: {
51350
+ types: [
51351
+ "string"
51352
+ ]
51353
+ },
51354
+ animations: {
51355
+ types: [
51356
+ "array"
51357
+ ],
51358
+ items: {
51359
+ types: [
51360
+ "string"
51361
+ ]
51362
+ }
51363
+ },
51364
+ style: {
51365
+ types: [
51366
+ "string"
51367
+ ],
51368
+ enumValues: [
51369
+ "pixel",
51370
+ "vector",
51371
+ "hd",
51372
+ "1-bit",
51373
+ "isometric"
51374
+ ]
51375
+ },
51376
+ variant: {
51377
+ types: [
51378
+ "string"
51379
+ ]
51380
+ },
51381
+ dimension: {
51382
+ types: [
51383
+ "string"
51384
+ ],
51385
+ enumValues: [
51386
+ "2d",
51387
+ "3d"
51388
+ ]
51389
+ },
51390
+ aspect: {
51391
+ types: [
51392
+ "string"
51393
+ ],
51394
+ enumValues: [
51395
+ "1:1",
51396
+ "16:9",
51397
+ "5:7",
51398
+ "8:1",
51399
+ "4:1",
51400
+ "5:3",
51401
+ "1:2"
51402
+ ]
51403
+ },
51404
+ atlas: {
51405
+ types: [
51406
+ "asset"
51407
+ ]
51408
+ },
51409
+ sprite: {
51410
+ types: [
51411
+ "string"
51412
+ ]
51413
+ },
51414
+ name: {
51415
+ types: [
51416
+ "string"
51417
+ ]
51418
+ },
51419
+ thumbnailUrl: {
51420
+ types: [
51421
+ "string"
51422
+ ]
51423
+ }
51424
+ },
51425
+ propertyRequired: [
51426
+ "url",
51427
+ "role",
51428
+ "category"
51429
+ ]
51430
+ },
51431
+ action: {
51432
+ types: [
51433
+ "string"
51434
+ ],
51435
+ description: "Declarative event name \u2014 emits UI:{action} via eventBus on click",
51436
+ kind: "event"
51437
+ },
51438
+ actionPayload: {
51439
+ types: [
51440
+ "object"
51441
+ ],
51442
+ description: "Payload to include with the action event",
51443
+ payloadFor: "action",
51444
+ eventPayloadBrand: true
51445
+ },
51446
+ disabled: {
51447
+ types: [
51448
+ "boolean"
51449
+ ],
51450
+ description: "Disable the button (greys out, blocks click events)"
51451
+ },
51452
+ href: {
51453
+ types: [
51454
+ "string"
51455
+ ],
51456
+ description: "Makes the button a link: `#anchor` scrolls, an absolute URL loads, a path navigates in-app"
51457
+ },
51458
+ "data-testid": {
51459
+ types: [
51460
+ "string"
51461
+ ],
51462
+ description: "Test identifier for automated tests"
51463
+ },
51464
+ icon: {
51465
+ types: [
51466
+ "icon",
51467
+ "string"
51468
+ ],
51469
+ description: "icon prop",
51470
+ required: true
51471
+ },
51472
+ label: {
51473
+ types: [
51474
+ "string"
51475
+ ],
51476
+ description: "What the button does \u2014 its accessible name and its tooltip.",
51477
+ required: true
51478
+ },
51479
+ tooltipPosition: {
51480
+ types: [
51481
+ "string"
51482
+ ],
51483
+ description: "Where the tooltip opens.",
51484
+ enumValues: [
51485
+ "top",
51486
+ "bottom",
51487
+ "left",
51488
+ "right"
51489
+ ],
51490
+ default: "right"
51491
+ }
51492
+ }
51493
+ },
51494
+ "top-nav-item": {
51495
+ type: "top-nav-item",
51496
+ category: "navigation",
51497
+ sourceFile: "components/core/molecules/TopNavItem.tsx",
51498
+ tier: "molecules",
51499
+ family: "core",
51500
+ description: "TopNavItem component",
51501
+ suggestedFor: [
51502
+ "top",
51503
+ "nav",
51504
+ "item",
51505
+ "top nav item"
51506
+ ],
51507
+ typicalSize: "medium",
51508
+ propsSchema: {
51509
+ item: {
51510
+ types: [
51511
+ "object"
51512
+ ],
51513
+ description: "item prop",
51514
+ required: true,
51515
+ properties: {
51516
+ label: {
51517
+ types: [
51518
+ "string"
51519
+ ]
51520
+ },
51521
+ href: {
51522
+ types: [
51523
+ "string"
51524
+ ]
51525
+ },
51526
+ icon: {
51527
+ types: [
51528
+ "icon",
51529
+ "string"
51530
+ ]
51531
+ },
51532
+ badge: {
51533
+ types: [
51534
+ "string",
51535
+ "number"
51536
+ ]
51537
+ },
51538
+ active: {
51539
+ types: [
51540
+ "boolean"
51541
+ ]
51542
+ },
51543
+ onClick: {
51544
+ types: [
51545
+ "function"
51546
+ ]
51547
+ },
51548
+ children: {
51549
+ types: [
51550
+ "array"
51551
+ ],
51552
+ items: {
51553
+ types: [
51554
+ "object"
51555
+ ],
51556
+ cyclic: true,
51557
+ cyclicTypeName: "TopNavItemData"
51558
+ }
51559
+ }
51560
+ },
51561
+ propertyRequired: [
51562
+ "label"
51563
+ ]
51564
+ },
51565
+ activeHref: {
51566
+ types: [
51567
+ "string"
51568
+ ],
51569
+ description: "The href of the active page, used to mark the item (or its parent) active."
51570
+ },
51571
+ tone: {
51572
+ types: [
51573
+ "string"
51574
+ ],
51575
+ description: "Active styling: `solid` fills with the primary colour (dashboard top bar); `soft` tints it (site header).",
51576
+ enumValues: [
51577
+ "solid",
51578
+ "soft"
51579
+ ],
51580
+ default: "solid"
51581
+ },
51582
+ className: {
51583
+ types: [
51584
+ "string"
51585
+ ],
51586
+ description: "className prop"
51587
+ }
51588
+ }
51224
51589
  }
51225
51590
  }};
51226
51591
  var JsonValueSchema = z.lazy(