{
  "accessibility" : [
    "The label is the accessibility label of the editor. While it is empty, the placeholder is read as its value; the painted placeholder itself is hidden from assistive technologies.",
    "The limit counts user-perceived characters: an emoji, a flag or an accented letter counts as one and is never cut in two.",
    "The counter has a spoken form with words, and digits follow the locale.",
    "The minimum height grows with the text size; the editor scrolls inside it."
  ],
  "category" : "forms",
  "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-forms-support",
      "version" : "1.1.0"
    },
    {
      "id" : "glass-foundation",
      "version" : "1.1.0"
    }
  ],
  "description" : "Multiline editor with an accessible placeholder, optional limit and counter.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassTextAreaExample: GlassExample {\n    public static let componentID = \"glass-text-area\"\n    @State private var notes = \"\"\n    @State private var bio = \"Hiking 🥾, bread 🍞 and old maps 🗺️.\"\n    @State private var feedback = \"Too short\"\n\n    public init() {}\n\n    public var body: some View {\n        ScrollView {\n            VStack(alignment: .leading, spacing: 20) {\n                GlassTextArea(\"Notes\", text: $notes, placeholder: \"Anything the team should know before the visit\", helper: \"Visible to your team only.\")\n\n                GlassTextArea(\"Short bio\", text: $bio, limit: 40)\n\n                GlassTextArea(\n                    \"Feedback\",\n                    text: $feedback,\n                    showsCounter: true,\n                    minHeight: 72,\n                    errorMessage: feedback.count < 20 ? \"Please write at least 20 characters.\" : nil\n                )\n\n                GlassTextArea(\"Archived comment\", text: .constant(\"This comment can no longer be edited.\"))\n                    .disabled(true)\n            }\n            .padding()\n        }\n    }\n}\n\n#Preview(\"GlassTextArea\") { GlassTextAreaExample().glassTheme(.solar) }\n",
      "title" : "GlassTextArea example"
    }
  ],
  "files" : [
    {
      "bytes" : 7833,
      "path" : "Forms/Forms/GlassTextArea.swift",
      "sha256" : "67557315d95d86fcc3f8b4eaeb46073936ea28d227dea8a6ab0d774d8c378a6b"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-text-area",
  "kind" : "content-component",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassTextArea",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "bb4267441df985765ba40cdfb70a5732b48be169b709d0f8925cd3ded636b124",
  "symbols" : [
    "GlassTextLimit",
    "GlassTextArea"
  ],
  "version" : "1.1.0"
}
