{
  "definitions": {
    "events": {
      "$ref": "#/definitions/Events",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Events": {
          "additionalProperties": false,
          "properties": {
            "clipboardCopyText": {
              "additionalProperties": false,
              "properties": {
                "text": {
                  "type": "string"
                }
              },
              "required": [
                "text"
              ],
              "type": "object"
            }
          },
          "required": [
            "clipboardCopyText"
          ],
          "type": "object"
        }
      }
    },
    "component": {
      "$ref": "#/definitions/Component",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Component": {
          "additionalProperties": false,
          "properties": {
            "content": {
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "content"
          ],
          "type": "object"
        }
      }
    }
  },
  "description": "Frameless code area (no Bulma `box`): copy + optional success tag floated top-right over the `<pre><code>` snippet; `:host` and root wrapper have no margin or padding. Copy dispatches `clipboardCopyText` with `{ text }`. Theme follows `bulma-wc-host-theme-tokens`; snippet uses primitive `hsl` tokens. The extra-deep dark panel (`scheme-main-l` + `border-l` + inset highlight) applies only with explicit `data-theme=\"dark\"` / `.theme-dark` on `html`/`body`/host — not with `@media (prefers-color-scheme: dark)` alone, so light Bulma tokens on `:host` cannot resolve `scheme-main-l` to white. System dark uses the default `main-bis-l` strip from `:host` tokens; `color-scheme` on `:host` follows explicit/system theme.",
  "storybookArgs": {
    "content": {
      "control": {
        "type": "text"
      }
    },
    "clipboardCopyText": {
      "action": "clipboardCopyTextEvent"
    }
  },
  "styleSetup": {
    "vars": [],
    "parts": [
      {
        "name": "content",
        "description": "The `<pre>` snippet wrapper (hb-area-code-snippet); use `::part(content)` for overflow, padding, or framing."
      }
    ]
  },
  "contributors": [],
  "htmlSlots": [],
  "i18n": [],
  "examples": [
    {
      "name": "default",
      "description": "Short snippet in a code block with copy control.",
      "data": {
        "content": "desc"
      }
    },
    {
      "name": "minimal",
      "description": "Single-line value typical for env vars or tokens.",
      "data": {
        "content": "API_KEY=sk-…"
      }
    },
    {
      "name": "longText",
      "description": "Stress-test wrapping and copy for long pasted content.",
      "data": {
        "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
      }
    },
    {
      "name": "multiline",
      "description": "Newlines preserved inside the code area.",
      "data": {
        "content": "npm install\nnpm run build\nnpm run preview"
      }
    }
  ],
  "iifeIntegrity": "sha384-UVSDuCLJyUlANkA1oWJHZI43oAtDvdR1YMnR18FaFzokP/Ur0bM7j/UsXEAA0Dwo",
  "dependencies": [],
  "screenshots": [],
  "licenses": [
    {
      "type": "Apache-2.0",
      "path": "LICENSE.md",
      "cost": 0,
      "currency": "EUR"
    }
  ],
  "readmePath": "README.md",
  "name": "hb-area-code",
  "category": "utilities",
  "tags": [
    "utilities",
    "developer"
  ],
  "size": {},
  "iifePath": "main.iife.js",
  "repoName": "@htmlbricks/hb-area-code",
  "version": "0.76.5"
}