author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
16 | 1 |
{ |
19 | 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
3 |
"apiVersion": 3, |
16 | 4 |
"name": "core/social-links", |
18 | 5 |
"title": "Social Icons", |
16 | 6 |
"category": "widgets", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
7 |
"allowedBlocks": [ "core/social-link" ], |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
8 |
"description": "Display icons linking to your social profiles or sites.", |
18 | 9 |
"keywords": [ "links" ], |
10 |
"textdomain": "default", |
|
11 |
"attributes": { |
|
12 |
"iconColor": { |
|
13 |
"type": "string" |
|
14 |
}, |
|
15 |
"customIconColor": { |
|
16 |
"type": "string" |
|
17 |
}, |
|
18 |
"iconColorValue": { |
|
19 |
"type": "string" |
|
20 |
}, |
|
21 |
"iconBackgroundColor": { |
|
22 |
"type": "string" |
|
23 |
}, |
|
24 |
"customIconBackgroundColor": { |
|
25 |
"type": "string" |
|
26 |
}, |
|
27 |
"iconBackgroundColorValue": { |
|
28 |
"type": "string" |
|
29 |
}, |
|
30 |
"openInNewTab": { |
|
31 |
"type": "boolean", |
|
32 |
"default": false |
|
33 |
}, |
|
19 | 34 |
"showLabels": { |
35 |
"type": "boolean", |
|
36 |
"default": false |
|
37 |
}, |
|
18 | 38 |
"size": { |
39 |
"type": "string" |
|
40 |
} |
|
41 |
}, |
|
42 |
"providesContext": { |
|
43 |
"openInNewTab": "openInNewTab", |
|
19 | 44 |
"showLabels": "showLabels", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
"iconColor": "iconColor", |
18 | 46 |
"iconColorValue": "iconColorValue", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
47 |
"iconBackgroundColor": "iconBackgroundColor", |
18 | 48 |
"iconBackgroundColorValue": "iconBackgroundColorValue" |
49 |
}, |
|
16 | 50 |
"supports": { |
18 | 51 |
"align": [ "left", "center", "right" ], |
19 | 52 |
"anchor": true, |
53 |
"__experimentalExposeControlsToChildren": true, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
54 |
"layout": { |
19 | 55 |
"allowSwitching": false, |
56 |
"allowInheriting": false, |
|
57 |
"allowVerticalAlignment": false, |
|
58 |
"default": { |
|
59 |
"type": "flex" |
|
60 |
} |
|
61 |
}, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
62 |
"color": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
63 |
"enableContrastChecker": false, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
64 |
"background": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
65 |
"gradients": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
66 |
"text": false, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
67 |
"__experimentalDefaultControls": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
68 |
"background": false |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
69 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
70 |
}, |
19 | 71 |
"spacing": { |
72 |
"blockGap": [ "horizontal", "vertical" ], |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
73 |
"margin": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
74 |
"padding": true, |
19 | 75 |
"units": [ "px", "em", "rem", "vh", "vw" ], |
76 |
"__experimentalDefaultControls": { |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
77 |
"blockGap": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
78 |
"margin": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
79 |
"padding": false |
19 | 80 |
} |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
81 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
82 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
83 |
"clientNavigation": true |
19 | 84 |
} |
18 | 85 |
}, |
86 |
"styles": [ |
|
87 |
{ "name": "default", "label": "Default", "isDefault": true }, |
|
88 |
{ "name": "logos-only", "label": "Logos Only" }, |
|
89 |
{ "name": "pill-shape", "label": "Pill Shape" } |
|
90 |
], |
|
91 |
"editorStyle": "wp-block-social-links-editor", |
|
92 |
"style": "wp-block-social-links" |
|
16 | 93 |
} |