Skip to content

Commit 1f8838c

Browse files
Version Packages (#2044)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 4f82c31 commit 1f8838c

File tree

16 files changed

+123
-110
lines changed

16 files changed

+123
-110
lines changed

.changeset/brown-flies-notice.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/brown-games-jog.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

.changeset/slow-crabs-fold.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/next/faustwp-getting-started/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@apollo/client": "^3.10.4",
14-
"@faustwp/cli": "^3.1.1",
15-
"@faustwp/core": "^3.2.0",
14+
"@faustwp/cli": "^3.2.1",
15+
"@faustwp/core": "^3.2.1",
1616
"@wordpress/base-styles": "^5.10.0",
1717
"@wordpress/block-library": "^9.10.0",
1818
"classnames": "^2.5.1",

packages/block-editor-utils/CHANGELOG.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/block-editor-utils
22

3+
## 0.3.1
4+
5+
### Patch Changes
6+
7+
- 74e55bc: Updated code formatting config and switch to tabs. Configure your editor config settings for tab sizing preferences.
8+
39
## 0.3.0
410

511
### Minor Changes
@@ -18,15 +24,15 @@
1824
// Component.js
1925

2026
Component.config = {
21-
name: 'CreateBlockBlockB',
22-
editorFields: {
23-
textArea: {
24-
type: 'string',
25-
label: 'My Message',
26-
location: 'editor',
27-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
28-
},
29-
},
27+
name: 'CreateBlockBlockB',
28+
editorFields: {
29+
textArea: {
30+
type: 'string',
31+
label: 'My Message',
32+
location: 'editor',
33+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
34+
},
35+
},
3036
};
3137
```
3238

@@ -60,9 +66,9 @@
6066

6167
```js
6268
<div
63-
style={styles}
64-
className="rich-text"
65-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
69+
style={styles}
70+
className="rich-text"
71+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
6672
/>
6773
```
6874

@@ -113,9 +119,9 @@
113119
import save from './save';
114120

115121
registerFaustBlock(MyFirstBlock, {
116-
blockJson: metadata,
117-
editFn: Edit,
118-
saveFn: save,
122+
blockJson: metadata,
123+
editFn: Edit,
124+
saveFn: save,
119125
});
120126
```
121127

packages/block-editor-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/block-editor-utils",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Faust Block Editor Utils Package",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

packages/blocks/CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# @faustwp/blocks
22

3+
## 6.1.0
4+
5+
### Minor Changes
6+
7+
- 4b1090a: ### WHAT
8+
9+
Refactor: Added CoreListItem block to fix repeating sublist issue
10+
11+
- Added CoreListItem block
12+
- Updated CoreList block
13+
- Updated Corelist.test to accomodate new HTML structure
14+
- Added a new scenario to test nested lists
15+
16+
### WHY
17+
18+
CoreList was rendering values attribute, which happens to return nested list items multiple times.
19+
20+
### HOW
21+
22+
You need to add new CoreListItem fragments to your queries:
23+
24+
```javascript
25+
gql`
26+
${blocks.CoreListItem.fragments.entry}
27+
`;
28+
```
29+
30+
Example query:
31+
32+
```javascript
33+
SingleTemplate.query = gql`
34+
${blocks.CoreList.fragments.entry}
35+
${blocks.CoreListItem.fragments.entry}
36+
query GetPost(
37+
$uri: ID!
38+
) {
39+
post(id: $uri, idType: URI) {
40+
title
41+
content
42+
editorBlocks {
43+
name
44+
__typename
45+
renderedHtml
46+
id: clientId
47+
parentId: parentClientId
48+
...${blocks.CoreList.fragments.key}
49+
...${blocks.CoreListItem.fragments.key}
50+
}
51+
}
52+
}
53+
`;
54+
```
55+
356
## 6.0.0
457

558
### Major Changes

packages/blocks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/blocks",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"description": "Faust Blocks",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

packages/faustwp-cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/cli
22

3+
## 3.2.1
4+
5+
### Patch Changes
6+
7+
- 74e55bc: Updated code formatting config and switch to tabs. Configure your editor config settings for tab sizing preferences.
8+
39
## 3.1.1
410

511
### Patch Changes

packages/faustwp-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/cli",
3-
"version": "3.1.1",
3+
"version": "3.2.1",
44
"description": "This modules provides a CLI to develop, build, and serve your Faust apps",
55
"main": "dist/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)