{
  "accessibility" : [
    "The close button uses the system close role: the system provides its symbol and its localised label, and it sits in the cancellation placement where assistive technologies expect it.",
    "The title is a navigation title, announced as a heading.",
    "Keyboard avoidance, focus trapping and the Escape key are the system's.",
    "With `isInteractiveDismissDisabled`, keep `showsCloseButton` on (or provide your own way out) so the sheet can always be left."
  ],
  "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 sheet with detents, keyboard handling and an accessible close action.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassSheetExample: GlassExample {\n    public static let componentID = \"glass-sheet\"\n    @State private var showsFilters = false\n    @State private var showsTerms = false\n    @State private var keyword = \"\"\n    @State private var onlyAvailable = true\n\n    public init() {}\n\n    public var body: some View {\n        VStack(spacing: 16) {\n            GlassButton(\"Filters\", systemImage: \"line.3.horizontal.decrease\") { showsFilters = true }\n            GlassButton(\"Terms of use\") { showsTerms = true }\n        }\n        .padding()\n        .glassSheet(isPresented: $showsFilters, title: \"Filters\", configuration: .halfAndFull) {\n            Form {\n                TextField(\"Keyword\", text: $keyword)\n                Toggle(\"Only available\", isOn: $onlyAvailable)\n            }\n        }\n        .glassSheet(\n            isPresented: $showsTerms,\n            title: \"Terms of use\",\n            configuration: GlassSheetConfiguration(detents: [.fraction(0.4), .large], isInteractiveDismissDisabled: true)\n        ) {\n            ScrollView {\n                Text(\"Sample terms. This sheet cannot be swiped away: the close button is the way out.\")\n                    .frame(maxWidth: .infinity, alignment: .leading)\n                    .padding()\n            }\n        }\n    }\n}\n\n#Preview(\"GlassSheet\") { GlassSheetExample() }\n",
      "title" : "GlassSheet example"
    }
  ],
  "files" : [
    {
      "bytes" : 8253,
      "path" : "Components/Containers/GlassSheet.swift",
      "sha256" : "ec9fee8e9497038d8e87ac6fce699e74a12a7f5813ab99334a17a3822b1261dc"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-sheet",
  "kind" : "native-wrapper",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassSheet",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "89f992d29d218f77b3018d42d6867d5e230a7a342e65e0933403a2c8d3df2c04",
  "symbols" : [
    "GlassSheetDetent",
    "GlassSheetConfiguration"
  ],
  "version" : "1.1.0"
}
