{
  "id": "@typed/ui#Composite.State",
  "canonicalId": "@typed/ui/Composite#State",
  "symbol": {
    "id": "@typed/ui#Composite.State",
    "packageName": "@typed/ui",
    "moduleName": ".",
    "exportName": "Composite.State",
    "kind": "interface",
    "signatures": [
      "export interface State {\n    readonly activeId: string | null;\n    readonly orientation: Orientation;\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}"
    ],
    "summary": "Complete renderer-independent state for Composite.",
    "sections": {
      "Why": "Applications can inspect, update, and test Composite behavior without mounting or coupling the\nstate to a renderer.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { State } from \"@typed/ui/Composite\";` Extend the [Composite.makeState\nrunnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Inside the linked program,\n`const snapshot: State = yield* state` exposes focus, orientation, looping, RTL, and\nvirtual-focus policy.",
      "Property: activeId": "Id currently active for keyboard navigation; null means no active item.",
      "Property: loop": "Whether movement wraps between the first and last enabled items.",
      "Property: orientation": "Axis used to interpret Arrow-key movement.",
      "Property: rtl": "Whether horizontal Arrow-key meaning is reversed for right-to-left layout.",
      "Property: virtualFocus": "Whether DOM focus remains on the root and activeId is exposed via aria-activedescendant."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Composite.ts",
      "line": 87
    },
    "since": "1.0.0",
    "category": "Active item state"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui#Composite.State",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/ui",
    "exportName": "Composite",
    "qualifiedName": "Composite.State",
    "declarationKey": "declaration:d24c50255562d55cbbe3af60",
    "family": "interface",
    "signatures": [
      "export interface State {\n    readonly activeId: string | null;\n    readonly orientation: Orientation;\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 87,
          "column": 1
        },
        "end": {
          "line": 118,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 93,
          "column": 3
        },
        "end": {
          "line": 93,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 105,
          "column": 3
        },
        "end": {
          "line": 105,
          "column": 26
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 99,
          "column": 3
        },
        "end": {
          "line": 99,
          "column": 37
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 111,
          "column": 3
        },
        "end": {
          "line": 111,
          "column": 25
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 117,
          "column": 3
        },
        "end": {
          "line": 117,
          "column": 34
        }
      }
    ],
    "aliases": [
      "@typed/ui/Composite#State",
      "@typed/ui/index#Composite.State"
    ],
    "isAlias": true,
    "parentId": "@typed/ui#Composite",
    "static": false,
    "importedFrom": "declaration:d24c50255562d55cbbe3af60"
  },
  "declaration": {
    "declarationKey": "declaration:d24c50255562d55cbbe3af60",
    "name": "State",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface State {\n    readonly activeId: string | null;\n    readonly orientation: Orientation;\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 87,
              "column": 1
            },
            "end": {
              "line": 118,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly activeId: string | null;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 93,
              "column": 3
            },
            "end": {
              "line": 93,
              "column": 36
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly loop: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 105,
              "column": 3
            },
            "end": {
              "line": 105,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly orientation: Orientation;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 99,
              "column": 3
            },
            "end": {
              "line": 99,
              "column": 37
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly rtl: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 111,
              "column": 3
            },
            "end": {
              "line": 111,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly virtualFocus: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 117,
              "column": 3
            },
            "end": {
              "line": 117,
              "column": 34
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface State {\n    readonly activeId: string | null;\n    readonly orientation: Orientation;\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}"
    ],
    "typeParameters": [],
    "summary": "Complete renderer-independent state for Composite.",
    "sections": {
      "Why": "Applications can inspect, update, and test Composite behavior without mounting or coupling the\nstate to a renderer.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { State } from \"@typed/ui/Composite\";` Extend the [Composite.makeState\nrunnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Inside the linked program,\n`const snapshot: State = yield* state` exposes focus, orientation, looping, RTL, and\nvirtual-focus policy.",
      "Property: activeId": "Id currently active for keyboard navigation; null means no active item.",
      "Property: loop": "Whether movement wraps between the first and last enabled items.",
      "Property: orientation": "Axis used to interpret Arrow-key movement.",
      "Property: rtl": "Whether horizontal Arrow-key meaning is reversed for right-to-left layout.",
      "Property: virtualFocus": "Whether DOM focus remains on the root and activeId is exposed via aria-activedescendant."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 87,
          "column": 1
        },
        "end": {
          "line": 118,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 93,
          "column": 3
        },
        "end": {
          "line": 93,
          "column": 36
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 105,
          "column": 3
        },
        "end": {
          "line": 105,
          "column": 26
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 99,
          "column": 3
        },
        "end": {
          "line": 99,
          "column": 37
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 111,
          "column": 3
        },
        "end": {
          "line": 111,
          "column": 25
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 117,
          "column": 3
        },
        "end": {
          "line": 117,
          "column": 34
        }
      }
    ],
    "since": "1.0.0",
    "category": "Active item state"
  }
}
