{
  "accessibility" : [
    "Symbol and text form one element with the \"updates frequently\" trait; the symbol is decorative.",
    "A change of label is announced with `AccessibilityNotification.Announcement` at low priority, so it never interrupts speech in progress. Blank and unchanged labels are not announced.",
    "The pulse is a symbol effect that is disabled with Reduce Motion (real or simulated)."
  ],
  "category" : "ai",
  "changelog" : [
    {
      "changes" : [
        "Release 1.1.0: see the project changelog."
      ],
      "date" : "2026-12-03",
      "version" : "1.1.0"
    },
    {
      "changes" : [
        "Initial release."
      ],
      "date" : "2026-12-02",
      "version" : "1.0.0"
    }
  ],
  "dependencies" : [
    {
      "id" : "glass-foundation",
      "version" : "1.1.0"
    }
  ],
  "description" : "Explicit activity indicator with a reduced-motion form; it never shows presumed reasoning.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassThinkingIndicatorExample: GlassExample {\n    public static let componentID = \"glass-thinking-indicator\"\n\n    /// Fictitious activity labels, written by the host — never text coming from a model.\n    private let stages: [(kind: GlassActivityKind, label: String)] = [\n        (.thinking, \"Preparing the sample answer\"),\n        (.searching, \"Searching the sample library\"),\n        (.reading, \"Reading 3 sample documents\"),\n        (.writing, \"Writing the summary\"),\n        (.waiting, \"Waiting for your confirmation\"),\n    ]\n    @State private var stage = 0\n\n    public init() {}\n\n    public var body: some View {\n        VStack(alignment: .leading, spacing: 16) {\n            Text(\"Sample data · simulated activity\")\n                .font(.caption)\n                .foregroundStyle(.secondary)\n\n            GlassThinkingIndicator(stages[stage].kind, label: stages[stage].label)\n            GlassButton(\"Next activity\", systemImage: \"forward.end\") {\n                stage = (stage + 1) % stages.count\n            }\n\n            Divider()\n            ForEach(stages.indices, id: \\.self) { index in\n                GlassThinkingIndicator(stages[index].kind, label: stages[index].label, announcesChanges: false)\n            }\n            GlassThinkingIndicator(.custom(systemImage: \"arrow.down.circle\"), label: \"Downloading the sample model, which has a long label that wraps on narrow screens\", announcesChanges: false)\n            GlassThinkingIndicator(announcesChanges: false)\n            GlassThinkingIndicator(.waiting, label: \"Plain style, for a status line\", announcesChanges: false, style: .plain)\n\n            Divider()\n            Text(\"Reduce Motion (simulated): static symbol\")\n                .font(.caption)\n            GlassThinkingIndicator(.searching, label: \"Searching the sample library\", announcesChanges: false)\n                .glassSimulatedAccessibility(reduceMotion: true)\n        }\n        .padding()\n    }\n}\n\n#Preview(\"GlassThinkingIndicator\") { GlassThinkingIndicatorExample().glassTheme(.crystal) }\n",
      "title" : "GlassThinkingIndicator example"
    }
  ],
  "files" : [
    {
      "bytes" : 7697,
      "path" : "AI/AI/GlassThinkingIndicator.swift",
      "sha256" : "30f79650bfba8c0b4d837fe2b9f2d27df01debaa2d04ebdf17c140283449357e"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-thinking-indicator",
  "kind" : "content-component",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassThinkingIndicator",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "6daa2b481ae49ffe7d71575a068cf634b72ebda9359869e50045780040ed370f",
  "symbols" : [
    "GlassActivityKind",
    "GlassActivityAnnouncement",
    "GlassThinkingIndicatorStyle",
    "GlassThinkingIndicator"
  ],
  "version" : "1.1.0"
}
