Skip to content

Commit 4d1a2fe

Browse files
author
Smart Cloud Solutions Inc.
committed
Add gallery, shared theme CSS, and deferred mount to Flow
1 parent b9d7742 commit 4d1a2fe

48 files changed

Lines changed: 3351 additions & 1971 deletions

Some content is hidden

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

admin/dist/chunks/355.0a41f2f3.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.

admin/dist/chunks/355.0fede178.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-data', 'wp-i18n'), 'version' => '78e445423d83434c6635');
1+
<?php return array('dependencies' => array('wp-data', 'wp-i18n'), 'version' => '830c545e00470f640a5b');

admin/dist/editor-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/dist/index.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', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '9cd859085f8c05bb6f7f');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => 'd158f45f02de17f422d2');

admin/dist/index.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: 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' => '3cc06df35bc603489673');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-data', 'wp-i18n'), 'version' => '378e6a54cd6405a2eb64');

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: 39 additions & 41 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.3",
4+
"version": "1.1.4",
55
"type": "module",
66
"exports": {
77
"./editor-runtime": {
@@ -33,23 +33,23 @@
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.4",
37-
"@smart-cloud/gatey-core": "^2.3.0",
38-
"@smart-cloud/wpsuite-core": "^2.3.0",
36+
"@smart-cloud/flow-core": "^1.1.5",
37+
"@smart-cloud/gatey-core": "^2.3.1",
38+
"@smart-cloud/wpsuite-core": "^2.3.1",
3939
"@tabler/icons-react": "^3.44.0",
40-
"@tanstack/react-query": "^5.100.11",
41-
"@tiptap/extension-color": "^3.23.5",
42-
"@tiptap/extension-link": "^3.23.5",
43-
"@tiptap/extension-placeholder": "^3.23.5",
44-
"@tiptap/extension-table": "^3.23.5",
45-
"@tiptap/extension-table-cell": "^3.23.5",
46-
"@tiptap/extension-table-header": "^3.23.5",
47-
"@tiptap/extension-table-row": "^3.23.5",
48-
"@tiptap/extension-text-align": "^3.23.5",
49-
"@tiptap/extension-text-style": "^3.23.5",
50-
"@tiptap/extension-underline": "^3.23.5",
51-
"@tiptap/react": "^3.23.5",
52-
"@tiptap/starter-kit": "^3.23.5",
40+
"@tanstack/react-query": "^5.100.14",
41+
"@tiptap/extension-color": "^3.24.0",
42+
"@tiptap/extension-link": "^3.24.0",
43+
"@tiptap/extension-placeholder": "^3.24.0",
44+
"@tiptap/extension-table": "^3.24.0",
45+
"@tiptap/extension-table-cell": "^3.24.0",
46+
"@tiptap/extension-table-header": "^3.24.0",
47+
"@tiptap/extension-table-row": "^3.24.0",
48+
"@tiptap/extension-text-align": "^3.24.0",
49+
"@tiptap/extension-text-style": "^3.24.0",
50+
"@tiptap/extension-underline": "^3.24.0",
51+
"@tiptap/react": "^3.24.0",
52+
"@tiptap/starter-kit": "^3.24.0",
5353
"@xyflow/react": "^12.10.2",
5454
"aws-amplify": "^6.17.0",
5555
"clsx": "^2.1.1",
@@ -68,15 +68,14 @@
6868
"@mantine/hooks": "^8.3.18",
6969
"@mantine/modals": "^8.3.18",
7070
"@mantine/notifications": "^8.3.18",
71-
"@wordpress/api-fetch": "^7.46.0",
72-
"@wordpress/block-editor": "^15.19.0",
73-
"@wordpress/blocks": "^15.19.0",
74-
"@wordpress/components": "^33.1.0",
75-
"@wordpress/data": "^10.46.0",
76-
"@wordpress/editor": "^14.46.0",
77-
"@wordpress/i18n": "^6.19.0",
78-
"@wordpress/plugins": "^7.46.0",
79-
"dayjs": "^1.11.20",
71+
"@wordpress/api-fetch": "^7.47.0",
72+
"@wordpress/block-editor": "^15.20.0",
73+
"@wordpress/blocks": "^15.20.0",
74+
"@wordpress/data": "^10.47.0",
75+
"@wordpress/editor": "^14.47.0",
76+
"@wordpress/i18n": "^6.20.0",
77+
"@wordpress/plugins": "^7.47.0",
78+
"dayjs": "^1.11.21",
8079
"jquery": "^4.0.0",
8180
"react": "^18.3.1",
8281
"react-dom": "^18.3.1"
@@ -97,22 +96,21 @@
9796
"@types/react": "^18.3.23",
9897
"@types/react-dom": "^18.3.7",
9998
"@types/wordpress__block-editor": "^15.0.6",
100-
"@typescript-eslint/eslint-plugin": "^8.59.4",
101-
"@typescript-eslint/parser": "^8.59.4",
99+
"@typescript-eslint/eslint-plugin": "^8.60.0",
100+
"@typescript-eslint/parser": "^8.60.0",
102101
"@vitejs/plugin-basic-ssl": "^2.3.0",
103102
"@vitejs/plugin-react": "^6.0.1",
104-
"@wordpress/api-fetch": "^7.46.0",
105-
"@wordpress/block-editor": "^15.19.0",
106-
"@wordpress/blocks": "^15.19.0",
107-
"@wordpress/components": "^33.1.0",
108-
"@wordpress/data": "^10.46.0",
109-
"@wordpress/editor": "^14.46.0",
110-
"@wordpress/i18n": "^6.19.0",
111-
"@wordpress/plugins": "^7.46.0",
112-
"@wordpress/scripts": "^32.2.0",
103+
"@wordpress/api-fetch": "^7.47.0",
104+
"@wordpress/block-editor": "^15.20.0",
105+
"@wordpress/blocks": "^15.20.0",
106+
"@wordpress/data": "^10.47.0",
107+
"@wordpress/editor": "^14.47.0",
108+
"@wordpress/i18n": "^6.20.0",
109+
"@wordpress/plugins": "^7.47.0",
110+
"@wordpress/scripts": "^32.3.0",
113111
"ajv": "^8.20.0",
114-
"dayjs": "^1.11.20",
115-
"eslint": "^10.4.0",
112+
"dayjs": "^1.11.21",
113+
"eslint": "^10.4.1",
116114
"eslint-plugin-react-hooks": "^7.1.1",
117115
"eslint-plugin-react-refresh": "^0.5.2",
118116
"globals": "^17.6.0",
@@ -121,7 +119,7 @@
121119
"react": "^18.3.1",
122120
"react-dom": "^18.3.1",
123121
"typescript": "^6.0.3",
124-
"typescript-eslint": "^8.59.4",
125-
"vite": "^8.0.14"
122+
"typescript-eslint": "^8.60.0",
123+
"vite": "^8.0.15"
126124
}
127125
}

admin/php/admin.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ private function getFlowPatternShortcodes(int $post_id): array
229229

230230
if ('smartcloud-flow/content-root' === $block_name) {
231231
$shortcodes['content-root'] = sprintf('[smartcloud-flow-content-root id="%d"]', $post_id);
232+
continue;
233+
}
234+
235+
if ('smartcloud-flow/modal' === $block_name) {
236+
$shortcodes['modal'] = sprintf('[smartcloud-flow-modal id="%d"]', $post_id);
232237
}
233238
}
234239

0 commit comments

Comments
 (0)