[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/tab-list/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/tab-list",
   5      "title": "Tab List",
   6      "description": "Display the tab buttons for a tabbed interface.",
   7      "category": "design",
   8      "textdomain": "default",
   9      "parent": [ "core/tabs" ],
  10      "usesContext": [ "core/tabs-list" ],
  11      "attributes": {
  12          "tabs": {
  13              "type": "array",
  14              "source": "query",
  15              "selector": "button",
  16              "query": {
  17                  "label": {
  18                      "type": "rich-text",
  19                      "source": "rich-text",
  20                      "role": "content"
  21                  }
  22              },
  23              "default": []
  24          }
  25      },
  26      "supports": {
  27          "html": false,
  28          "ariaLabel": true,
  29          "visibility": false,
  30          "lock": false,
  31          "background": {
  32              "backgroundImage": true,
  33              "backgroundSize": true,
  34              "gradient": true,
  35              "__experimentalSkipSerialization": true
  36          },
  37          "color": {
  38              "background": true,
  39              "text": true,
  40              "__experimentalSkipSerialization": true,
  41              "__experimentalDefaultControls": {
  42                  "background": true,
  43                  "text": true
  44              }
  45          },
  46          "typography": {
  47              "fontSize": true,
  48              "lineHeight": true,
  49              "__experimentalFontFamily": true,
  50              "__experimentalFontWeight": true,
  51              "__experimentalTextTransform": true,
  52              "__experimentalLetterSpacing": true
  53          },
  54          "__experimentalBorder": {
  55              "color": true,
  56              "radius": true,
  57              "style": true,
  58              "width": true,
  59              "__experimentalSkipSerialization": true
  60          },
  61          "layout": {
  62              "default": {
  63                  "type": "flex",
  64                  "flexWrap": "wrap"
  65              },
  66              "allowVerticalAlignment": false,
  67              "allowOrientation": false,
  68              "allowWrap": false
  69          },
  70          "spacing": {
  71              "padding": true,
  72              "blockGap": true,
  73              "__experimentalSkipSerialization": [ "padding" ],
  74              "__experimentalDefaultControls": {
  75                  "padding": true,
  76                  "blockGap": true
  77              }
  78          },
  79          "shadow": {
  80              "__experimentalSkipSerialization": true
  81          }
  82      },
  83      "selectors": {
  84          "background": ".wp-block-tab-list button",
  85          "border": ".wp-block-tab-list button",
  86          "shadow": ".wp-block-tab-list button",
  87          "color": {
  88              "background": ".wp-block-tab-list button",
  89              "text": ".wp-block-tab-list button"
  90          },
  91          "spacing": {
  92              "padding": ".wp-block-tab-list button"
  93          }
  94      },
  95      "style": "wp-block-tab-list",
  96      "editorStyle": "wp-block-tab-list-editor"
  97  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref