Skip to content

Commit fc4fedf

Browse files
committed
Merge develop into recover/pr-307
Resolved conflicts via EOL-aware 3-way merge + per-file decisions: - wedocs.php require_once area: kept both block-styles + DocsGrid registrations. - tailwind.config.js (310): kept PR's CommonJS form (develop's import-tangled form is currently syntactically invalid). - Translations (.pot), build artefacts, .nvmrc: taken from develop. - Files where develop's implementation supersedes PR's intent: taken from develop (canonical).
2 parents acc4198 + 6abe74c commit fc4fedf

252 files changed

Lines changed: 69993 additions & 3725 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
config.codekit
2-
.codekit-cache
3-
plugin-deploy.sh
4-
5-
# OS generated files #
6-
######################
7-
.DS_Store
8-
.DS_Store?
9-
._*
10-
.Spotlight-V100
11-
.Trashes
12-
ehthumbs.db
13-
Thumbs.db
14-
/node_modules
15-
/vendor/
16-
17-
.vscode/
18-
.idea/
19-
wedocs*.zip
1+
config.codekit
2+
.codekit-cache
3+
plugin-deploy.sh
4+
5+
# OS generated files #
6+
######################
7+
.DS_Store
8+
.DS_Store?
9+
._*
10+
.Spotlight-V100
11+
.Trashes
12+
ehthumbs.db
13+
Thumbs.db
14+
/node_modules
15+
/vendor/
16+
17+
.vscode/
18+
.idea/
19+
wedocs*.zip

assets/build/block-rtl.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/block.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'd9ade37484c41fc750b1');
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '8c197fe93c993c9c9b11');

assets/build/block.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/block.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
4+
"name": "wedocs/ai-summary",
5+
"version": "1.0.0",
6+
"title": "weDocs AI-Powered Summary",
7+
"category": "wedocs",
8+
"icon": "lightbulb",
9+
"description": "Display an AI-generated summary of documentation content with collapsible functionality.",
10+
"example": {},
11+
"supports": {
12+
"html": false,
13+
"anchor": true,
14+
"align": [
15+
"wide",
16+
"full"
17+
],
18+
"color": {
19+
"background": false,
20+
"text": false
21+
},
22+
"typography": false,
23+
"spacing": {
24+
"margin": true,
25+
"padding": true,
26+
"__experimentalDefaultControls": {
27+
"padding": true,
28+
"margin": true
29+
}
30+
}
31+
},
32+
"attributes": {
33+
"blockId": {
34+
"type": "string",
35+
"default": ""
36+
},
37+
"postId": {
38+
"type": "number",
39+
"default": 0
40+
},
41+
"title": {
42+
"type": "string",
43+
"default": "AI-Powered Summary"
44+
},
45+
"content": {
46+
"type": "string",
47+
"default": ""
48+
},
49+
"isCollapsible": {
50+
"type": "boolean",
51+
"default": true
52+
},
53+
"isOpenByDefault": {
54+
"type": "boolean",
55+
"default": false
56+
},
57+
"showIcon": {
58+
"type": "boolean",
59+
"default": true
60+
},
61+
"iconType": {
62+
"type": "string",
63+
"default": "sparkles"
64+
},
65+
"backgroundColor": {
66+
"type": "string",
67+
"default": "#ffffff"
68+
},
69+
"textColor": {
70+
"type": "string",
71+
"default": "#000000"
72+
},
73+
"titleColor": {
74+
"type": "string",
75+
"default": "#000000"
76+
},
77+
"titleFontSize": {
78+
"type": "string",
79+
"default": "20px"
80+
},
81+
"titleFontWeight": {
82+
"type": "string",
83+
"default": "600"
84+
},
85+
"contentFontSize": {
86+
"type": "string",
87+
"default": "16px"
88+
},
89+
"borderRadius": {
90+
"type": "string",
91+
"default": "8px"
92+
},
93+
"borderStyle": {
94+
"type": "string",
95+
"default": "solid"
96+
},
97+
"borderWidth": {
98+
"type": "string",
99+
"default": "1px"
100+
},
101+
"borderColor": {
102+
"type": "string",
103+
"default": "#000000"
104+
},
105+
"padding": {
106+
"type": "object",
107+
"default": {
108+
"top": "20px",
109+
"right": "20px",
110+
"bottom": "20px",
111+
"left": "20px"
112+
}
113+
},
114+
"margin": {
115+
"type": "object",
116+
"default": {
117+
"top": "0px",
118+
"right": "0px",
119+
"bottom": "20px",
120+
"left": "0px"
121+
}
122+
}
123+
},
124+
"textdomain": "wedocs-plugin",
125+
"editorScript": "file:./index.js",
126+
"editorStyle": "file:./index.css",
127+
"style": "file:./style-index.css",
128+
"viewScript": "file:./view.js"
129+
}

assets/build/blocks/AISummary/index-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '6406fb9aa6487f9360a1');

assets/build/blocks/AISummary/index.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/blocks/AISummary/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)