mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
e4b553a201
Update packages to include these bug fixes from Gutenberg: - Update Pattern block category and add documentation - Fix non existent menu handling in nav block - Make Reusable blocks available in the Site Editor - Add caching to WP_Theme_JSON_Resolver_Gutenberg::get_user_data_from_custom_post_type() - theme.json: add appearanceTools flag to opt-in into appearance UI controls - Update the block theme folders to templates and parts - Remove reference to gutenberg_, swap with wp_ - Use table layout in templates list screen - Update featured image placeholder graphic. - [Inserter]: Adjust order of theme blocks and reorder inserter items - Implement suitable fallback for Nav block on front end of site when no menu selected - Toggle Group Control: add tooltip - Use first non-empty Nav post as primary fallback for Nav block - Change .nvmrc and documentation for Node.js version (LTS to 14.18.1) - Update: Migrate global styles user database data on the rest endpoint - Update global styles public API - Update: Rename user preset origin to custom - Try always generating navigation post title - Show all templates and template parts on the site editor list screens - Highlight "Site" in the navigation panel - Fix template part slug generation when creating through the block placeholder - [Block Library - Post Title]: Fix render error when setting Page to homepage - Add 'Clear customizations' button to template list page - Gallery v1: Allow clicks within replace media placeholder state - Site Editor: Set the <title> on the list page to be same as the CPT name - Gallery: Fix stuck image size options loader - Cover: Fix undo trap - Add success and error snackbars to the templates list page - Fix: theme colors cannot override defaults - Fix: Color palette is not being stored - Add elements support to the typography panel in global styles - Make links plural in global styles - Add: Gradient palette editor - Update some small style regressions in the template list - Add: Transparency support on global styles colors - Fix: apply by slug on all origins - Render empty Nav block if no fallback block can be utilised - Allow filtering of Nav block fallback - Fix Nav block fallback DB query to match on full block grammar start tag - Remove unstable max pages attribute from Nav block - DateTimePicker: set PM hours correctly - Update delete template button - Site Editor: Template list add rename action - Fix Nav block editing wrong entity on creation of new Menu - [REST] Restore the missing double slash in the ID received by /templates - Add icons to navigation sidebar items - Update function names for the public global styles API functions - Templates Controller: Add missing 'is_custom' prop - Rename gutenberg_ to wp_ for some functions that land in WordPress 5.9 - [Block Library - Template Part]:Remove support for conversion to Reusable block - Global Styles: Call "palettes" and not "color palettes" on panel label - Add button text when no colors found - Update: Global Styes: Count all color palette origins on the palette counter - Rename navigationMenuId to ref - Offset the parent iframe when computing Popover position - Fix: Failing PHPUnit test - Show theme, plugin or author in Added By column with appropriate icon or avatar - Add origin and author to template rest api See #54487. Props talldanwp, mamaduka, oandregal. Built from https://develop.svn.wordpress.org/trunk@52275 git-svn-id: http://core.svn.wordpress.org/trunk@51867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
250 lines
5.7 KiB
JSON
250 lines
5.7 KiB
JSON
{
|
|
"version": 2,
|
|
"settings": {
|
|
"appearanceTools": false,
|
|
"border": {
|
|
"color": false,
|
|
"radius": false,
|
|
"style": false,
|
|
"width": false
|
|
},
|
|
"color": {
|
|
"background": true,
|
|
"custom": true,
|
|
"customDuotone": true,
|
|
"customGradient": true,
|
|
"defaultGradients": true,
|
|
"defaultPalette": true,
|
|
"duotone": [
|
|
{
|
|
"name": "Dark grayscale" ,
|
|
"colors": [ "#000000", "#7f7f7f" ],
|
|
"slug": "dark-grayscale"
|
|
},
|
|
{
|
|
"name": "Grayscale" ,
|
|
"colors": [ "#000000", "#ffffff" ],
|
|
"slug": "grayscale"
|
|
},
|
|
{
|
|
"name": "Purple and yellow" ,
|
|
"colors": [ "#8c00b7", "#fcff41" ],
|
|
"slug": "purple-yellow"
|
|
},
|
|
{
|
|
"name": "Blue and red" ,
|
|
"colors": [ "#000097", "#ff4747" ],
|
|
"slug": "blue-red"
|
|
},
|
|
{
|
|
"name": "Midnight" ,
|
|
"colors": [ "#000000", "#00a5ff" ],
|
|
"slug": "midnight"
|
|
},
|
|
{
|
|
"name": "Magenta and yellow" ,
|
|
"colors": [ "#c7005a", "#fff278" ],
|
|
"slug": "magenta-yellow"
|
|
},
|
|
{
|
|
"name": "Purple and green" ,
|
|
"colors": [ "#a60072", "#67ff66" ],
|
|
"slug": "purple-green"
|
|
},
|
|
{
|
|
"name": "Blue and orange" ,
|
|
"colors": [ "#1900d8", "#ffa96b" ],
|
|
"slug": "blue-orange"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Vivid cyan blue to vivid purple",
|
|
"gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",
|
|
"slug": "vivid-cyan-blue-to-vivid-purple"
|
|
},
|
|
{
|
|
"name": "Light green cyan to vivid green cyan",
|
|
"gradient": "linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",
|
|
"slug": "light-green-cyan-to-vivid-green-cyan"
|
|
},
|
|
{
|
|
"name": "Luminous vivid amber to luminous vivid orange",
|
|
"gradient": "linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",
|
|
"slug": "luminous-vivid-amber-to-luminous-vivid-orange"
|
|
},
|
|
{
|
|
"name": "Luminous vivid orange to vivid red",
|
|
"gradient": "linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",
|
|
"slug": "luminous-vivid-orange-to-vivid-red"
|
|
},
|
|
{
|
|
"name": "Very light gray to cyan bluish gray",
|
|
"gradient": "linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",
|
|
"slug": "very-light-gray-to-cyan-bluish-gray"
|
|
},
|
|
{
|
|
"name": "Cool to warm spectrum",
|
|
"gradient": "linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",
|
|
"slug": "cool-to-warm-spectrum"
|
|
},
|
|
{
|
|
"name": "Blush light purple",
|
|
"gradient": "linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",
|
|
"slug": "blush-light-purple"
|
|
},
|
|
{
|
|
"name": "Blush bordeaux",
|
|
"gradient": "linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",
|
|
"slug": "blush-bordeaux"
|
|
},
|
|
{
|
|
"name": "Luminous dusk",
|
|
"gradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",
|
|
"slug": "luminous-dusk"
|
|
},
|
|
{
|
|
"name": "Pale ocean",
|
|
"gradient": "linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",
|
|
"slug": "pale-ocean"
|
|
},
|
|
{
|
|
"name": "Electric grass",
|
|
"gradient": "linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",
|
|
"slug": "electric-grass"
|
|
},
|
|
{
|
|
"name": "Midnight",
|
|
"gradient": "linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",
|
|
"slug": "midnight"
|
|
}
|
|
],
|
|
"link": false,
|
|
"palette": [
|
|
{
|
|
"name": "Black",
|
|
"slug": "black",
|
|
"color": "#000000"
|
|
},
|
|
{
|
|
"name": "Cyan bluish gray",
|
|
"slug": "cyan-bluish-gray",
|
|
"color": "#abb8c3"
|
|
},
|
|
{
|
|
"name": "White",
|
|
"slug": "white",
|
|
"color": "#ffffff"
|
|
},
|
|
{
|
|
"name": "Pale pink",
|
|
"slug": "pale-pink",
|
|
"color": "#f78da7"
|
|
},
|
|
{
|
|
"name": "Vivid red",
|
|
"slug": "vivid-red",
|
|
"color": "#cf2e2e"
|
|
},
|
|
{
|
|
"name": "Luminous vivid orange",
|
|
"slug": "luminous-vivid-orange",
|
|
"color": "#ff6900"
|
|
},
|
|
{
|
|
"name": "Luminous vivid amber",
|
|
"slug": "luminous-vivid-amber",
|
|
"color": "#fcb900"
|
|
},
|
|
{
|
|
"name": "Light green cyan",
|
|
"slug": "light-green-cyan",
|
|
"color": "#7bdcb5"
|
|
},
|
|
{
|
|
"name": "Vivid green cyan",
|
|
"slug": "vivid-green-cyan",
|
|
"color": "#00d084"
|
|
},
|
|
{
|
|
"name": "Pale cyan blue",
|
|
"slug": "pale-cyan-blue",
|
|
"color": "#8ed1fc"
|
|
},
|
|
{
|
|
"name": "Vivid cyan blue",
|
|
"slug": "vivid-cyan-blue",
|
|
"color": "#0693e3"
|
|
},
|
|
{
|
|
"name": "Vivid purple",
|
|
"slug": "vivid-purple",
|
|
"color": "#9b51e0"
|
|
}
|
|
],
|
|
"text": true
|
|
},
|
|
"spacing": {
|
|
"blockGap": null,
|
|
"margin": false,
|
|
"padding": false,
|
|
"units": [ "px", "em", "rem", "vh", "vw", "%" ]
|
|
},
|
|
"typography": {
|
|
"customFontSize": true,
|
|
"dropCap": true,
|
|
"fontSizes": [
|
|
{
|
|
"name": "Small",
|
|
"slug": "small",
|
|
"size": "13px"
|
|
},
|
|
{
|
|
"name": "Normal",
|
|
"slug": "normal",
|
|
"size": "16px"
|
|
},
|
|
{
|
|
"name": "Medium",
|
|
"slug": "medium",
|
|
"size": "20px"
|
|
},
|
|
{
|
|
"name": "Large",
|
|
"slug": "large",
|
|
"size": "36px"
|
|
},
|
|
{
|
|
"name": "Huge",
|
|
"slug": "huge",
|
|
"size": "42px"
|
|
}
|
|
],
|
|
"fontStyle": true,
|
|
"fontWeight": true,
|
|
"letterSpacing": true,
|
|
"lineHeight": false,
|
|
"textDecoration": true,
|
|
"textTransform": true
|
|
},
|
|
"blocks": {
|
|
"core/button": {
|
|
"border": {
|
|
"radius": true
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"border": {
|
|
"color": true,
|
|
"radius": true,
|
|
"style": true,
|
|
"width": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"styles": {
|
|
"spacing": { "blockGap": "24px" }
|
|
}
|
|
}
|