{
  "id": "@typed/ui/Composite#InitialState",
  "canonicalId": "@typed/ui/Composite#InitialState",
  "symbol": {
    "id": "@typed/ui/Composite#InitialState",
    "packageName": "@typed/ui",
    "moduleName": "Composite",
    "exportName": "InitialState",
    "kind": "interface",
    "signatures": [
      "export interface InitialState {\n    readonly activeId?: string | null;\n    readonly orientation?: Orientation;\n    readonly loop?: boolean;\n    readonly rtl?: boolean;\n    readonly virtualFocus?: boolean;\n}"
    ],
    "summary": "Initial Composite values. activeId defaults to null, orientation to horizontal, loop to true,\nRTL and virtual focus to false.",
    "sections": {
      "Why": "Making initialization explicit documents hydration-sensitive defaults and lets servers and\nclients construct matching state.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { InitialState } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Construct\npolicy explicitly with\n`const initial: InitialState = { activeId: null, orientation: \"vertical\", loop: false, rtl: false, virtualFocus: true }; const state = yield* Composite.makeState(initial)`.",
      "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": 143
    },
    "since": "1.0.0",
    "category": "Active item state"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Composite#InitialState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Composite",
    "consumerSpecifier": "@typed/ui/Composite",
    "exportName": "InitialState",
    "qualifiedName": "InitialState",
    "declarationKey": "declaration:b23ecb0df979fbd80fe8a798",
    "family": "interface",
    "signatures": [
      "export interface InitialState {\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": 143,
          "column": 1
        },
        "end": {
          "line": 174,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 149,
          "column": 3
        },
        "end": {
          "line": 149,
          "column": 37
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 161,
          "column": 3
        },
        "end": {
          "line": 161,
          "column": 27
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 155,
          "column": 3
        },
        "end": {
          "line": 155,
          "column": 38
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 167,
          "column": 3
        },
        "end": {
          "line": 167,
          "column": 26
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 173,
          "column": 3
        },
        "end": {
          "line": 173,
          "column": 35
        }
      }
    ],
    "aliases": [
      "@typed/ui#Composite.InitialState",
      "@typed/ui/index#Composite.InitialState"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:b23ecb0df979fbd80fe8a798",
    "name": "InitialState",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface InitialState {\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": 143,
              "column": 1
            },
            "end": {
              "line": 174,
              "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": 149,
              "column": 3
            },
            "end": {
              "line": 149,
              "column": 37
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly loop?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 161,
              "column": 3
            },
            "end": {
              "line": 161,
              "column": 27
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly orientation?: Orientation;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 155,
              "column": 3
            },
            "end": {
              "line": 155,
              "column": 38
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly rtl?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 167,
              "column": 3
            },
            "end": {
              "line": 167,
              "column": 26
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly virtualFocus?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Composite.ts",
            "start": {
              "line": 173,
              "column": 3
            },
            "end": {
              "line": 173,
              "column": 35
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      }
    ],
    "signatures": [
      "export interface InitialState {\n    readonly activeId?: string | null;\n    readonly orientation?: Orientation;\n    readonly loop?: boolean;\n    readonly rtl?: boolean;\n    readonly virtualFocus?: boolean;\n}"
    ],
    "typeParameters": [],
    "summary": "Initial Composite values. activeId defaults to null, orientation to horizontal, loop to true,\nRTL and virtual focus to false.",
    "sections": {
      "Why": "Making initialization explicit documents hydration-sensitive defaults and lets servers and\nclients construct matching state.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { InitialState } from \"@typed/ui/Composite\";` Extend the\n[Composite.makeState runnable setup](/reference/%40typed%2Fui%2FComposite%23makeState). Construct\npolicy explicitly with\n`const initial: InitialState = { activeId: null, orientation: \"vertical\", loop: false, rtl: false, virtualFocus: true }; const state = yield* Composite.makeState(initial)`.",
      "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": 143,
          "column": 1
        },
        "end": {
          "line": 174,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 149,
          "column": 3
        },
        "end": {
          "line": 149,
          "column": 37
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 161,
          "column": 3
        },
        "end": {
          "line": 161,
          "column": 27
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 155,
          "column": 3
        },
        "end": {
          "line": 155,
          "column": 38
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 167,
          "column": 3
        },
        "end": {
          "line": 167,
          "column": 26
        }
      },
      {
        "file": "packages/ui/src/Composite.ts",
        "start": {
          "line": 173,
          "column": 3
        },
        "end": {
          "line": 173,
          "column": 35
        }
      }
    ],
    "since": "1.0.0",
    "category": "Active item state"
  }
}
