Skip to content

Commit 3bacd81

Browse files
author
Smart Cloud Solutions Inc.
committed
Release Flow 1.1.5 with modal runtime and smarter endpoint requests
1 parent a88ad71 commit 3bacd81

411 files changed

Lines changed: 59542 additions & 45 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.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '701157ee3ae9d6495107');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '3cc06df35bc603489673');

admin/dist/operations-runtime.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.

admin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@smart-cloud/flow-admin",
33
"private": true,
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"type": "module",
66
"exports": {
77
"./editor-runtime": {
@@ -33,7 +33,7 @@
3333
"@hello-pangea/dnd": "^18.0.1",
3434
"@mantine/tiptap": "^8.3.18",
3535
"@monaco-editor/react": "^4.7.0",
36-
"@smart-cloud/flow-core": "^1.1.1",
36+
"@smart-cloud/flow-core": "^1.1.2",
3737
"@smart-cloud/gatey-core": "^2.3.0",
3838
"@smart-cloud/wpsuite-core": "^2.3.0",
3939
"@tabler/icons-react": "^3.44.0",

admin/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3784,10 +3784,10 @@
37843784
lodash "4.18.1"
37853785
tslib "^2.5.2"
37863786

3787-
"@smart-cloud/flow-core@^1.1.1":
3788-
version "1.1.1"
3789-
resolved "https://registry.npmjs.org/@smart-cloud/flow-core/-/flow-core-1.1.1.tgz#e4c543be0ed335c26a2cc0416307248db2b6e5f6"
3790-
integrity sha512-HSj4TlZqUaCwBE2XIhqe4IhUBRqvvdtfKZmov4+zAOZewKKeTb/HZLbvIK/6ll5Q+4Csn5xzhzlTOu/1KAFG3w==
3787+
"@smart-cloud/flow-core@^1.1.2":
3788+
version "1.1.2"
3789+
resolved "https://registry.npmjs.org/@smart-cloud/flow-core/-/flow-core-1.1.2.tgz#09fb3abdcb6f11948c7aeda042c93bc42d22e64c"
3790+
integrity sha512-SAWPB87HDvJ0Rc80zJupR6rbeNk2sex7B6RHpnKl9XW5OL5sVj4AnzjTmvtzcuGj56McMhj9X22MxmrL3n04Jg==
37913791
dependencies:
37923792
"@smart-cloud/gatey-core" "^2.3.0"
37933793
"@smart-cloud/wpsuite-core" "^2.3.0"

blocks/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# WP Suite Forms Starter
2+
3+
Starter repository for a Gutenberg + Mantine + React 18 form plugin.
4+
5+
Included:
6+
- single React tree per form on the frontend
7+
- Context + useReducer runtime
8+
- minimal field blocks
9+
- admin submissions screen skeleton
10+
- API client contract placeholders
11+
12+
The frontend rendering model is:
13+
- `save.tsx` writes config placeholders
14+
- `form/view.tsx` finds each saved form root
15+
- one React root mounts for each form
16+
- children read runtime state via context hooks
17+
18+
## WordPress plugin bootstrap
19+
20+
A minimal plugin bootstrap file (`smartcloud-flow.php`) and WordPress.org-style `readme.txt` are included so the starter can be tried as a real plugin after running `yarn build-wp`.

blocks/checkbox-group-field/block.json renamed to blocks/dist/checkbox-group-field/block.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "smartcloud-flow/checkbox-group-field",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"title": "Checkbox group field",
77
"category": "smartcloud-flow",
88
"parent": [
@@ -49,6 +49,26 @@
4949
"type": "string",
5050
"default": "Option 1|option1\nOption 2|option2"
5151
},
52+
"manualOptionsText": {
53+
"type": "string",
54+
"default": ""
55+
},
56+
"clearAllEnabled": {
57+
"type": "boolean",
58+
"default": false
59+
},
60+
"clearAllLabel": {
61+
"type": "string",
62+
"default": "Clear all"
63+
},
64+
"clearAllValue": {
65+
"type": "string",
66+
"default": "__clear_all__"
67+
},
68+
"exclusiveValuesText": {
69+
"type": "string",
70+
"default": ""
71+
},
5272
"optionsSource": {
5373
"type": "string",
5474
"default": "static",
@@ -86,6 +106,14 @@
86106
"type": "string",
87107
"default": ""
88108
},
109+
"apiSelectedPath": {
110+
"type": "string",
111+
"default": ""
112+
},
113+
"apiSelectedValue": {
114+
"type": "string",
115+
"default": ""
116+
},
89117
"cacheEnabled": {
90118
"type": "boolean",
91119
"default": true

0 commit comments

Comments
 (0)