{
  "$schema": "https://json.schemastore.org/web-types",
  "name": "@vaadin/master-detail-layout",
  "version": "25.2.0-beta2",
  "description-markup": "markdown",
  "framework": "lit",
  "framework-config": {
    "enable-when": {
      "node-packages": [
        "lit"
      ]
    }
  },
  "contributions": {
    "html": {
      "elements": [
        {
          "name": "vaadin-master-detail-layout",
          "description": "`<vaadin-master-detail-layout>` is a web component for building UIs with a master\n(or primary) area and a detail (or secondary) area that is displayed next to, or\noverlaid on top of, the master area, depending on configuration and viewport size.\n\n### Slots\n\nThe component has two main content areas: the master area (default slot)\nand the detail area (`detail` slot). When the detail doesn't fit next to\nthe master, it is shown as an overlay on top of the master area:\n\n```html\n<vaadin-master-detail-layout>\n  <div>Master content</div>\n  <div slot=\"detail\">Detail content</div>\n</vaadin-master-detail-layout>\n```\n\nThe component also supports a `detail-placeholder` slot for content shown\nin the detail area when no detail is selected. Unlike the `detail` slot,\nthe placeholder is simply hidden when it doesn't fit next to the master area,\nrather than shown as an overlay:\n\n```html\n<vaadin-master-detail-layout>\n  <div>Master content</div>\n  <div slot=\"detail-placeholder\">Select an item</div>\n</vaadin-master-detail-layout>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name             | Description\n----------------------|----------------------\n`backdrop`            | Backdrop covering the master area in the overlay mode\n`master`              | The master area\n`detail`              | The detail area\n`detail-placeholder`  | The detail placeholder area\n\nThe following state attributes are available for styling:\n\nAttribute                 | Description\n--------------------------|----------------------\n`expand-master`           | Set when the master area expands to fill available space.\n`expand-detail`           | Set when the detail area expands to fill available space.\n`orientation`             | Set to `horizontal` or `vertical` depending on the orientation.\n`has-detail`              | Set when the detail content is provided and visible.\n`has-detail-placeholder`  | Set when the detail placeholder content is provided.\n`overlay`                 | Set when columns don't fit and the detail is shown as an overlay.\n`overlay-containment`     | Set to `layout` or `page`.\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property                                  |\n:----------------------------------------------------|\n| `--vaadin-master-detail-layout-border-color`       |\n| `--vaadin-master-detail-layout-border-width`       |\n| `--vaadin-master-detail-layout-detail-background`  |\n| `--vaadin-master-detail-layout-detail-shadow`      |\n| `--vaadin-overlay-backdrop-background`             |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
          "extension": true,
          "attributes": [
            {
              "name": ".detailSize",
              "description": "Size (in CSS length units) to be set on the detail area in\nthe CSS grid layout. When there is not enough space to show\nmaster and detail areas next to each other, the detail area\nis shown as an overlay.\n<p>\nIf not specified, the size is determined automatically by measuring\nthe detail content in a `min-content` CSS grid column when it first\nbecomes visible, and then caching the resulting intrinsic size. To\nrecalculate the cached intrinsic size, use the `recalculateLayout`\nmethod.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "?expandDetail",
              "description": "When true, the detail area grows to fill the available space.\nIf `expandMaster` is also true, both areas share the available\nspace equally.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "?expandMaster",
              "description": "When true, the master area grows to fill the available space.\nIf `expandDetail` is also true, both areas share the available\nspace equally.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "?forceOverlay",
              "description": "When true, the layout forces the detail area to be shown as an overlay,\neven if there is enough space for master and detail to be shown next to\neach other using the default (split) mode.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": ".masterSize",
              "description": "Size (in CSS length units) to be set on the master area in\nthe CSS grid layout. If there is not enough space to show\nmaster and detail areas next to each other, the detail area\nis shown as an overlay. Defaults to 30em.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "?noAnimation",
              "description": "When true, the layout does not use animated transitions for the detail area.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": ".orientation",
              "description": "Define how master and detail areas are shown next to each other,\nand the way how size and min-size properties are applied to them.\nPossible values are: `horizontal` or `vertical`.\nDefaults to horizontal.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": ".overlayContainment",
              "description": "Defines the containment of the detail area when the layout is in\noverlay mode. When set to `layout`, the overlay is confined to the\nlayout. When set to `page`, the overlay is confined to the\nbrowser's viewport. Defaults to `layout`.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": ".overlaySize",
              "description": "Size (in CSS length units) for the detail area when shown as an\noverlay. When not set, falls back to `detailSize`. Set to `100%`\nto make the detail cover the full layout.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "@backdrop-click",
              "description": "Fired when the user clicks the backdrop in the overlay mode.",
              "value": {
                "kind": "expression"
              }
            },
            {
              "name": "@detail-escape-press",
              "description": "Fired when the user presses Escape in the detail area.",
              "value": {
                "kind": "expression"
              }
            }
          ]
        }
      ]
    }
  }
}