@plaudit/gutenberg-api-extensions 2.80.1 → 2.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +162 -0
- package/README.md +10 -2
- package/dist/blocks/hooks/useSuspendableOptions.js.map +1 -1
- package/dist/editor/simple-gutenberg-endpoints-impl.d.ts +1 -0
- package/dist/editor/simple-gutenberg-endpoints-impl.js +6 -0
- package/dist/editor/simple-gutenberg-endpoints-impl.js.map +1 -1
- package/package.json +19 -15
- package/simple-native-properties.md +1100 -0
- package/src/blocks/hooks/useSuspendableOptions.ts +2 -2
- package/src/editor/simple-gutenberg-endpoints-impl.ts +8 -1
- package/src/schemas/README.md +1 -0
- package/src/schemas/plaudit-block-schema.json +818 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.81.1] - 2025-12-23
|
|
9
|
+
### Fixed
|
|
10
|
+
- An improper method of grabbing the `MapSelect` type
|
|
11
|
+
|
|
12
|
+
## [2.81.0] - 2025-12-12
|
|
13
|
+
### Added
|
|
14
|
+
- Improved documentation for SNPs
|
|
15
|
+
- A `registeredEndpoints` getter to the `plaudit/simple-gutenberg-apis` Redux store
|
|
16
|
+
|
|
17
|
+
## [2.80.1] - 2025-11-28
|
|
18
|
+
### Fixed
|
|
19
|
+
- A WordPress 6.9 compatibility issue within `Custom Block Bindings`
|
|
20
|
+
|
|
21
|
+
## [2.80.0] - 2025-11-15
|
|
22
|
+
### Added
|
|
23
|
+
- Sufficient type exposure to type-check a wizard for adding CSNPs to blocks
|
|
24
|
+
|
|
25
|
+
### Internals
|
|
26
|
+
- Restructured a large amount of the internal typings to not rely on WordPress exposing sufficient type data to work with their stuff
|
|
27
|
+
- Why? Because WordPress.
|
|
28
|
+
|
|
29
|
+
## [2.79.0] - 2025-11-07
|
|
30
|
+
### Added
|
|
31
|
+
- A `user` CSNP in the same vein as the `post` CSNP
|
|
32
|
+
- The `<ExtendedUserPicker>` component
|
|
33
|
+
|
|
34
|
+
## [2.78.3] - 2025-11-03
|
|
35
|
+
### Changed
|
|
36
|
+
- Updated the `@wordpress/block-editor` typedefs version
|
|
37
|
+
|
|
38
|
+
## [2.78.2] - 2025-10-30
|
|
39
|
+
### Changed
|
|
40
|
+
- Stripped out a few more unnecessary and/or temporally-unstable properties from the stored image data
|
|
41
|
+
|
|
42
|
+
## [2.78.1] - 2025-10-20
|
|
43
|
+
### Fixed
|
|
44
|
+
- The storage mode flag not being accessible via CSNPs
|
|
45
|
+
|
|
46
|
+
## [2.78.0] - 2025-10-20
|
|
47
|
+
### Added
|
|
48
|
+
- A `slim` storage mode to the `ImageControl` for cases where a lot of images will be used
|
|
49
|
+
- It is currently opt-in
|
|
50
|
+
|
|
51
|
+
## [2.77.5] - 2025-10-15
|
|
52
|
+
### Fixed
|
|
53
|
+
- The `ImageControl` storing *significantly* more data than was needed or desired
|
|
54
|
+
|
|
55
|
+
## [2.77.4] - 2025-10-15
|
|
56
|
+
### Fixed
|
|
57
|
+
- The `useSortableItemsModel` hook failing due to a purity error when running React in debug mode
|
|
58
|
+
|
|
59
|
+
## [2.77.3] - 2025-10-14
|
|
60
|
+
### Fixed
|
|
61
|
+
- Adding a new group with an `ExtendedTermPicker` control causing an infinite recursive update
|
|
62
|
+
|
|
63
|
+
## [2.77.2] - 2025-09-26
|
|
64
|
+
### Changed
|
|
65
|
+
- Rolled back the switch to using `wp-${version}` tags for `@wordpress/*` dependencies
|
|
66
|
+
|
|
67
|
+
## [2.77.1] - 2025-09-25
|
|
68
|
+
### Fixed
|
|
69
|
+
- Adding a field in a `ToolsPanel` instance resetting every other field in the panel
|
|
70
|
+
|
|
71
|
+
## [2.77.0] - 2025-09-15
|
|
72
|
+
### Added
|
|
73
|
+
- A built-in `term` control for SNPs
|
|
74
|
+
- An `ExtendedTermPicker` control
|
|
75
|
+
|
|
76
|
+
### Changed
|
|
77
|
+
- Significantly refactored the logic backing the `ExtendedFormTokenField` component
|
|
78
|
+
|
|
79
|
+
## [2.76.1] - 2025-09-04
|
|
80
|
+
### Fixed
|
|
81
|
+
- The radios in the date format picker being mangled [Clint]
|
|
82
|
+
|
|
83
|
+
## [2.76.0] - 2025-09-03
|
|
84
|
+
### Added
|
|
85
|
+
- Support for `help` text to all layered style controls
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
- Expanded the supported type for help text from `string` to `ReactNode` across the Layered Styles and SNP APIs
|
|
89
|
+
|
|
90
|
+
## [2.75.0] - 2025-07-18
|
|
91
|
+
### Added
|
|
92
|
+
- The `supports` attribute to `RegisterBlockAttrs`
|
|
93
|
+
|
|
94
|
+
## [2.74.4] - 2025-07-11
|
|
95
|
+
### Changed
|
|
96
|
+
- Hid the "How To" text for ExtendedFormTokenField when it is being used as a single-item-picker because the text always implies that it's multi-select
|
|
97
|
+
|
|
98
|
+
## [2.74.3] - 2025-07-07
|
|
99
|
+
### Changed
|
|
100
|
+
- Updated to the latest version of `@types/wordpress__block-editor`
|
|
101
|
+
|
|
102
|
+
## [2.74.2] - 2025-06-26
|
|
103
|
+
### Fixed
|
|
104
|
+
- Root-level ToolsPanel SNP Groups causing WordPress to register edits during the loading process
|
|
105
|
+
|
|
106
|
+
## [2.74.1] - 2025-06-13
|
|
107
|
+
### Removed
|
|
108
|
+
- Some commented-out code from my first attempt at contextual post provision
|
|
109
|
+
|
|
110
|
+
## [2.74.0] - 2025-06-13
|
|
111
|
+
### Added
|
|
112
|
+
- Typedefs for `useBlockBindingsUtils()` and `useBlockEditContext()`
|
|
113
|
+
|
|
114
|
+
### Changed
|
|
115
|
+
- Refactored Custom Block Bindings Support to use cleaner APIs and allow for more flexibility in endpoint construction
|
|
116
|
+
|
|
117
|
+
## [2.73.0] - 2025-06-09
|
|
118
|
+
### Added
|
|
119
|
+
- Support for an array of block names to `registerBlockStyles`, `unregisterBlockStyles`, `registerBlockVariations`, and `unregisterBlockVariations`
|
|
120
|
+
|
|
121
|
+
## [2.72.1] - 2025-06-06
|
|
122
|
+
### Fixed
|
|
123
|
+
- A bug in the Suspendable Options filtering code that caused the Conditional Display block to crash
|
|
124
|
+
|
|
125
|
+
### Changed
|
|
126
|
+
- Greatly improved how Suspense boundaries are arranged
|
|
127
|
+
|
|
128
|
+
## [2.72.0] - 2025-05-27
|
|
129
|
+
### Added
|
|
130
|
+
- Added a filter for postProcessing instead of hard-coding it for the "setting" protocol
|
|
131
|
+
- Full default implementations for the `select` and `settings` protocols
|
|
132
|
+
- IDE config files into the repo
|
|
133
|
+
|
|
134
|
+
### Changed
|
|
135
|
+
- Switched the Suspendable Options feature to use a URI syntax instead of the cobbled-together colon-separated one
|
|
136
|
+
- Replaced the hardcoded logic with an extensible system built on filters
|
|
137
|
+
- Reworked attribute passing to be controlled via a query parameter
|
|
138
|
+
- Changed the resolution logic to be single-pass
|
|
139
|
+
- Renamed the `setting` protocol to `settings`
|
|
140
|
+
|
|
141
|
+
### Removed
|
|
142
|
+
- Warnings about children of toolsPanels needing default values
|
|
143
|
+
|
|
144
|
+
## [2.71.0] - 2025-05-22
|
|
145
|
+
### Added
|
|
146
|
+
- An optional `identifier` property to panels and tabs to allow for deduplication logic.
|
|
147
|
+
|
|
148
|
+
## [2.70.0] - 2025-05-20
|
|
149
|
+
### Added
|
|
150
|
+
- The `ActualBlockSaveProps` type
|
|
151
|
+
|
|
152
|
+
### Changed
|
|
153
|
+
- Reworked some of the rendering logic to better-match how WordPress sends properties around.
|
|
154
|
+
- Switched to the shared deployment script.
|
|
155
|
+
|
|
156
|
+
## [2.69.0] - 2025-05-16
|
|
157
|
+
### Added
|
|
158
|
+
- Dynamic registration of protocols for Suspendable Options
|
|
159
|
+
- A default implementation of the "setting" protocol
|
|
160
|
+
|
|
161
|
+
### Fixed
|
|
162
|
+
- An issue where SNP rebuilds wouldn't occur when registering properties to a single block.
|
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# Gutenberg API Extensions
|
|
2
2
|
|
|
3
|
-
A comprehensive TypeScript library that extends WordPress Gutenberg with custom APIs, enhanced block controls, and advanced editor functionality.
|
|
3
|
+
A comprehensive TypeScript library that extends WordPress Gutenberg with custom APIs, enhanced block controls, and advanced editor functionality.
|
|
4
|
+
This package provides a suite of tools for building sophisticated Gutenberg blocks with native property support, custom controls, and enhanced data management capabilities.
|
|
4
5
|
|
|
5
6
|
## Features
|
|
6
7
|
|
|
7
|
-
- **Simple Native Properties (
|
|
8
|
+
- **Simple Native Properties (SNPs)**: Advanced block property management with flexible data binding
|
|
9
|
+
- See [simple-native-properties.md](simple-native-properties.md) for more information
|
|
8
10
|
- **Custom Controls**: Extended form controls including sortable items, image controls, and enhanced pickers
|
|
9
11
|
- **Editor Extensions**: Post featured image targeting and simple Gutenberg endpoint APIs
|
|
10
12
|
- **State Management**: Redux-based state management with WordPress data store integration
|
|
@@ -24,3 +26,9 @@ pnpm install
|
|
|
24
26
|
```bash
|
|
25
27
|
pnpm build
|
|
26
28
|
```
|
|
29
|
+
# Deploy Schema
|
|
30
|
+
`src/schemas/plaudit-block-schema.json` file needs to be copied to plaudit.com, specifically
|
|
31
|
+
* Repo: git@bitbucket.org:plaudit/plaudit-plaudit.com.git
|
|
32
|
+
* Path: ./src/main/webapp-static/schemas/json/block.json
|
|
33
|
+
|
|
34
|
+
Once done, the schema will be available at: `https://schemas.plaudit.net/json/block.json`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspendableOptions.js","sourceRoot":"","sources":["../../../src/blocks/hooks/useSuspendableOptions.ts"],"names":[],"mappings":";;;;;AAWA,oDAEC;AAGD,sDAuCC;AAvDD,
|
|
1
|
+
{"version":3,"file":"useSusp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
18
18
|
resolve(name: string, args?: ApiCallArgs): Promise<unknown>;
|
|
19
|
+
registeredEndpoints(): string[];
|
|
19
20
|
};
|
|
20
21
|
type Actions = {
|
|
21
22
|
registerEndpoint(name: string, endpoint: ((args: ApiCallArgs, name: string) => Promise<unknown>) | Parameters<typeof apiFetch>[0], options?: EndpointOptions<any, unknown>): void;
|
|
@@ -69,6 +69,9 @@ exports.store = {
|
|
|
69
69
|
},
|
|
70
70
|
resolve(name, args) {
|
|
71
71
|
return handleCacheMiss(name, args);
|
|
72
|
+
},
|
|
73
|
+
registeredEndpoints() {
|
|
74
|
+
return Object.keys(endpoints);
|
|
72
75
|
}
|
|
73
76
|
};
|
|
74
77
|
const suspendSelectors = {
|
|
@@ -77,6 +80,9 @@ exports.store = {
|
|
|
77
80
|
},
|
|
78
81
|
resolve(name, args) {
|
|
79
82
|
return (0, promise_handlers_1.useToPromise)(handleCacheMiss(name, args));
|
|
83
|
+
},
|
|
84
|
+
registeredEndpoints() {
|
|
85
|
+
return Object.keys(endpoints);
|
|
80
86
|
}
|
|
81
87
|
};
|
|
82
88
|
// noinspection JSUnusedGlobalSymbols
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-gutenberg-endpoints-impl.js","sourceRoot":"","sources":["../../src/editor/simple-gutenberg-endpoints-impl.ts"],"names":[],"mappings":";;;;;;AAqBA,8EAKC;AA1BD,qEAA4C;AAC5C,0CAAgE;AAChE,4CAA8C;AAE9C,4CAAuD;AACvD,uEAAqH;AAYrH,SAAS,SAAS,CAAC,IAAiB;IACnC,OAAO,IAAI,YAAY,eAAe,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACpH,CAAC;AAED,SAAgB,iCAAiC;IAChD,IAAI,CAAC,iCAAiC,CAAC,MAAM,EAAE,CAAC;QAC/C,i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OAAO,EAAE,+DAA+D;YAC/F,SAAS,EAAE,CAAC,QAAoB,EAAE,EAAE;gBACnC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACxB,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACzC,CAAC;SACD,CAAC;IACH,CAAC;CACD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaudit/gutenberg-api-extensions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.81.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist",
|
|
7
7
|
"./styles",
|
|
8
|
-
"./src"
|
|
8
|
+
"./src",
|
|
9
|
+
"CHANGELOG.md",
|
|
10
|
+
"LICENSE.md",
|
|
11
|
+
"README.md",
|
|
12
|
+
"simple-native-properties.md"
|
|
9
13
|
],
|
|
10
14
|
"sideEffects": false,
|
|
11
15
|
"exports": {
|
|
@@ -19,21 +23,21 @@
|
|
|
19
23
|
"dependencies": {
|
|
20
24
|
"@reduxjs/toolkit": "^1.9.7",
|
|
21
25
|
"@types/react": "^18.3.27",
|
|
22
|
-
"@types/wordpress__block-editor": "^14.21.
|
|
26
|
+
"@types/wordpress__block-editor": "^14.21.4",
|
|
23
27
|
"@types/wordpress__blocks": "^12.5.18",
|
|
24
|
-
"@wordpress/block-editor": "^15.
|
|
25
|
-
"@wordpress/blocks": "^15.
|
|
28
|
+
"@wordpress/block-editor": "^15.10.0",
|
|
29
|
+
"@wordpress/blocks": "^15.10.0",
|
|
26
30
|
"@wordpress/components": "^30.9.0",
|
|
27
|
-
"@wordpress/compose": "^7.
|
|
28
|
-
"@wordpress/core-data": "^7.
|
|
29
|
-
"@wordpress/data": "^10.
|
|
30
|
-
"@wordpress/editor": "^14.
|
|
31
|
-
"@wordpress/element": "^6.
|
|
32
|
-
"@wordpress/hooks": "^4.
|
|
33
|
-
"@wordpress/i18n": "^6.
|
|
34
|
-
"@wordpress/icons": "^11.
|
|
35
|
-
"framer-motion": "^12.23.
|
|
36
|
-
"html-react-parser": "^5.2.
|
|
31
|
+
"@wordpress/compose": "^7.37.0",
|
|
32
|
+
"@wordpress/core-data": "^7.37.0",
|
|
33
|
+
"@wordpress/data": "^10.37.0",
|
|
34
|
+
"@wordpress/editor": "^14.37.0",
|
|
35
|
+
"@wordpress/element": "^6.37.0",
|
|
36
|
+
"@wordpress/hooks": "^4.37.0",
|
|
37
|
+
"@wordpress/i18n": "^6.10.0",
|
|
38
|
+
"@wordpress/icons": "^11.4.0",
|
|
39
|
+
"framer-motion": "^12.23.26",
|
|
40
|
+
"html-react-parser": "^5.2.11",
|
|
37
41
|
"immer": "^9.0.21",
|
|
38
42
|
"react": "^18.3.1",
|
|
39
43
|
"react-dom": "^18.3.1",
|