{
  "name": "panel-layout",
  "componentName": "PanelLayout",
  "displayName": "PanelLayout",
  "regions": [
    {
      "name": "mainContent",
      "description": "Main content area displayed next to the panel.",
      "isDefault": false,
      "displayName": "mainContent"
    },
    {
      "name": "panelContent",
      "description": "Panel contents.",
      "isDefault": false,
      "displayName": "panelContent"
    }
  ],
  "functions": [
    {
      "name": "focusResizeHandle",
      "description": "Focuses the resize handle of the panel layout.",
      "returnType": "void",
      "parameters": []
    }
  ],
  "properties": [
    {
      "name": "defaultPanelSize",
      "type": "number",
      "optional": true,
      "description": "Initial panel size, for uncontrolled behavior.\n\nThe actual size will be constrained by `minPanelSize` and `maxPanelSize`, if set.",
      "formattedType": "number"
    },
    {
      "name": "display",
      "type": "string",
      "inlineType": {
        "name": "PanelLayoutProps.Display",
        "type": "union",
        "values": [
          "all",
          "panel-only",
          "main-only"
        ]
      },
      "optional": true,
      "description": "Determines which content is displayed:\n- 'all': Both panel and main content are displayed.\n- 'panel-only': Only panel is displayed.\n- 'main-only': Only main content is displayed.",
      "defaultValue": "'all'",
      "formattedType": "string"
    },
    {
      "name": "i18nStrings",
      "type": "PanelLayoutProps.I18nStrings",
      "inlineType": {
        "name": "PanelLayoutProps.I18nStrings",
        "type": "object",
        "properties": [
          {
            "name": "resizeHandleAriaLabel",
            "optional": true,
            "type": "string"
          },
          {
            "name": "resizeHandleTooltipText",
            "optional": true,
            "type": "string"
          }
        ]
      },
      "optional": true,
      "description": "An object containing all the necessary localized strings required by the component.",
      "i18nTag": true,
      "formattedType": "PanelLayoutProps.I18nStrings {\n  resizeHandleAriaLabel?: string\n  resizeHandleTooltipText?: string\n}"
    },
    {
      "name": "mainFocusable",
      "type": "PanelLayoutProps.FocusableConfig",
      "inlineType": {
        "name": "PanelLayoutProps.FocusableConfig",
        "type": "object",
        "properties": [
          {
            "name": "ariaLabel",
            "optional": true,
            "type": "string"
          },
          {
            "name": "ariaLabelledby",
            "optional": true,
            "type": "string"
          }
        ]
      },
      "optional": true,
      "description": "Makes the main content area focusable. This should be used if there are no focusable elements\ninside the content, to ensure it is keyboard scrollable when `scrollable` is set.\n\nProvide either `{ariaLabel: \"Main label\"}` or `{ariaLabelledby: \"main-label-id\"}`",
      "formattedType": "PanelLayoutProps.FocusableConfig {\n  ariaLabel?: string\n  ariaLabelledby?: string\n}"
    },
    {
      "name": "maxPanelSize",
      "type": "number",
      "optional": true,
      "description": "The maximum size of the panel.",
      "formattedType": "number"
    },
    {
      "name": "minPanelSize",
      "type": "number",
      "optional": true,
      "description": "The minimum size of the panel.",
      "formattedType": "number"
    },
    {
      "name": "panelFocusable",
      "type": "PanelLayoutProps.FocusableConfig",
      "inlineType": {
        "name": "PanelLayoutProps.FocusableConfig",
        "type": "object",
        "properties": [
          {
            "name": "ariaLabel",
            "optional": true,
            "type": "string"
          },
          {
            "name": "ariaLabelledby",
            "optional": true,
            "type": "string"
          }
        ]
      },
      "optional": true,
      "description": "Makes the panel content focusable. This should be used if there are no focusable elements\ninside the panel, to ensure it is keyboard scrollable when `scrollable` is set.\n\nProvide either `{ariaLabel: \"Panel label\"}` or `{ariaLabelledby: \"panel-label-id\"}`",
      "formattedType": "PanelLayoutProps.FocusableConfig {\n  ariaLabel?: string\n  ariaLabelledby?: string\n}"
    },
    {
      "name": "panelPosition",
      "type": "string",
      "inlineType": {
        "name": "PanelLayoutProps.PanelPosition",
        "type": "union",
        "values": [
          "side-start",
          "side-end"
        ]
      },
      "optional": true,
      "description": "Position of the panel with respect to the main content",
      "defaultValue": "'side-start'",
      "formattedType": "string"
    },
    {
      "name": "panelSize",
      "type": "number",
      "optional": true,
      "description": "Size of the panel. If provided, and panel is resizable, the component is controlled,\nso you must also provide `onPanelResize`.\n\nThe actual size will be constrained by `minPanelSize` and `maxPanelSize`, if set.",
      "formattedType": "number"
    },
    {
      "name": "resizable",
      "type": "boolean",
      "optional": true,
      "description": "Indicates whether the panel is resizable.",
      "defaultValue": "false",
      "formattedType": "boolean"
    },
    {
      "name": "scrollable",
      "type": "boolean",
      "optional": true,
      "description": "Makes the panel and main content areas scrollable.\n\nWhen setting this property to `true`, make sure that all content, including focus rings of interactive elements,\nfits within the panels, otherwise it will be clipped.",
      "defaultValue": "false",
      "formattedType": "boolean"
    }
  ],
  "events": [
    {
      "name": "onLayoutChange",
      "description": "Called when the panel and/or main content size changes. This can be due\nto user resizing or changes to the available space on the page.",
      "cancelable": false,
      "detailType": "PanelLayoutProps.PanelResizeDetail",
      "detailInlineType": {
        "name": "PanelLayoutProps.PanelResizeDetail",
        "type": "object",
        "properties": [
          {
            "name": "panelSize",
            "optional": false,
            "type": "number"
          },
          {
            "name": "totalSize",
            "optional": false,
            "type": "number"
          }
        ]
      },
      "formattedDetailType": "PanelLayoutProps.PanelResizeDetail {\n  panelSize: number\n  totalSize: number\n}"
    },
    {
      "name": "onPanelResize",
      "description": "Called when the user resizes the panel.",
      "cancelable": false,
      "detailType": "PanelLayoutProps.PanelResizeDetail",
      "detailInlineType": {
        "name": "PanelLayoutProps.PanelResizeDetail",
        "type": "object",
        "properties": [
          {
            "name": "panelSize",
            "optional": false,
            "type": "number"
          },
          {
            "name": "totalSize",
            "optional": false,
            "type": "number"
          }
        ]
      },
      "formattedDetailType": "PanelLayoutProps.PanelResizeDetail {\n  panelSize: number\n  totalSize: number\n}"
    }
  ],
  "path": "/components/panel-layout"
}