Skip to content

Commit

Permalink
navigation border added
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkalpagdar committed Oct 24, 2024
1 parent 67fca2e commit 759ab02
Showing 1 changed file with 42 additions and 7 deletions.
49 changes: 42 additions & 7 deletions packages/block-library/src/navigation/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
"core/buttons"
],
"description": "A collection of blocks that allow visitors to get around your site.",
"keywords": [ "menu", "navigation", "links" ],
"keywords": [
"menu",
"navigation",
"links"
],
"textdomain": "default",
"attributes": {
"ref": {
Expand Down Expand Up @@ -82,8 +86,16 @@
"default": 5
},
"templateLock": {
"type": [ "string", "boolean" ],
"enum": [ "all", "insert", "contentOnly", false ]
"type": [
"string",
"boolean"
],
"enum": [
"all",
"insert",
"contentOnly",
false
]
}
},
"providesContext": {
Expand All @@ -103,7 +115,10 @@
"maxNestingLevel": "maxNestingLevel"
},
"supports": {
"align": [ "wide", "full" ],
"align": [
"wide",
"full"
],
"ariaLabel": true,
"html": false,
"inserter": true,
Expand All @@ -116,14 +131,22 @@
"__experimentalFontFamily": true,
"__experimentalLetterSpacing": true,
"__experimentalTextDecoration": true,
"__experimentalSkipSerialization": [ "textDecoration" ],
"__experimentalSkipSerialization": [
"textDecoration"
],
"__experimentalDefaultControls": {
"fontSize": true
}
},
"spacing": {
"blockGap": true,
"units": [ "px", "em", "rem", "vh", "vw" ],
"units": [
"px",
"em",
"rem",
"vh",
"vw"
],
"__experimentalDefaultControls": {
"blockGap": true
}
Expand All @@ -137,9 +160,21 @@
"type": "flex"
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"radius": true,
"color": true,
"width": true,
"style": true
}
},
"interactivity": true,
"renaming": false
},
"editorStyle": "wp-block-navigation-editor",
"style": "wp-block-navigation"
}
}

0 comments on commit 759ab02

Please sign in to comment.