{
  "accessibility" : [
    "A real popover is dismissed by tapping outside, by Escape and by the VoiceOver escape gesture; all are the system's.",
    "An adapted popover has no outside area: the added close button uses the system close role (symbol and localised label supplied by the system) and answers Escape on a hardware keyboard.",
    "The title carries the header trait."
  ],
  "category" : "containers",
  "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" : "System popover with anchoring, compact adaptation and an accessible close action.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassPopoverExample: GlassExample {\n    public static let componentID = \"glass-popover\"\n    @State private var showsDetails = false\n    @State private var showsHelp = false\n\n    public init() {}\n\n    public var body: some View {\n        HStack(spacing: 24) {\n            GlassIconButton(systemImage: \"info\", accessibilityLabel: \"Price details\") { showsDetails = true }\n                .glassPopover(isPresented: $showsDetails, title: \"Price details\", arrowEdge: .top, compactAdaptation: .popover) {\n                    Text(\"Sample price, taxes included.\")\n                        .padding()\n                        .frame(minWidth: 220, alignment: .leading)\n                }\n            GlassButton(\"Help\", systemImage: \"questionmark.circle\") { showsHelp = true }\n                .glassPopover(isPresented: $showsHelp, title: \"Help\", compactAdaptation: .sheet) {\n                    Text(\"On a compact width this popover becomes a sheet with a close button.\")\n                        .padding()\n                        .frame(maxWidth: .infinity, alignment: .leading)\n                }\n        }\n        .padding()\n    }\n}\n\n#Preview(\"GlassPopover\") { GlassPopoverExample() }\n",
      "title" : "GlassPopover example"
    }
  ],
  "files" : [
    {
      "bytes" : 6002,
      "path" : "Components/Containers/GlassPopover.swift",
      "sha256" : "8874783cc28a15f227b10894478d484c67bceb479697d6c1189524d3ba29d6b5"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-popover",
  "kind" : "native-wrapper",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassPopover",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "e3fc984bfe8da2ceb42e2ec43e32c460bbd6d6236d2f44930ddfa32675bb9c3c",
  "symbols" : [
    "GlassPopoverAdaptation"
  ],
  "version" : "1.1.0"
}
