Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2.0.0-beta.6 #1268

Open
wants to merge 1,546 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1546 commits
Select commit Hold shift + click to select a range
9c16ab2
Streamline network requests
iansvo Dec 3, 2024
9b148b6
Updated button logic
iansvo Dec 3, 2024
97929aa
Lint fixes
iansvo Dec 3, 2024
c876849
Ensure fill is set by default for icons and shapes
iansvo Dec 3, 2024
40b2d1d
Merge pull request #1536 from tomusborne/fix/query-per-page-offset
tomusborne Dec 4, 2024
95b9486
Merge 40b2d1d832f62be227fb18481eb527c62f3412c3 into d2c18b5b89d362693…
tomusborne Dec 4, 2024
3765126
Update dist files
github-actions[bot] Dec 4, 2024
d3635e8
Merge branch 'release/2.0.0' into bug/dynamic-tags-user-author-meta
tomusborne Dec 4, 2024
57f691f
Add BlockAppender to Looper
iansvo Dec 4, 2024
cd5de03
Update components
tomusborne Dec 4, 2024
9ef1ffc
Merge pull request #1540 from tomusborne/bug/dynamic-tags-user-author…
tomusborne Dec 4, 2024
758ec3b
Merge 9ef1ffc398d721890b9c088281da838611b241b3 into d2c18b5b89d362693…
tomusborne Dec 4, 2024
adcee45
Lint fix
iansvo Dec 4, 2024
3e7083d
Merge branch 'release/2.0.0' into bug/query-current
iansvo Dec 4, 2024
7c70492
Update dist files
github-actions[bot] Dec 4, 2024
a3b5958
Query - Add rand to orderby options
iansvo Dec 4, 2024
52d5e81
Merge branch 'bug/looper-inner-blocks' into bug/looper-preview
iansvo Dec 4, 2024
c1a4134
Merge pull request #1547 from tomusborne/tweak/query-toolbar-buttons
tomusborne Dec 4, 2024
fbe0fe6
Merge c1a41346a229787990aa9fc86649570ae2d129e5 into d2c18b5b89d362693…
tomusborne Dec 4, 2024
8552507
Update dist files
github-actions[bot] Dec 4, 2024
010c3ef
Merge branch 'release/2.0.0' into bug/query-current
tomusborne Dec 4, 2024
219567b
Merge pull request #1560 from tomusborne/bug/query-current
tomusborne Dec 4, 2024
6870816
Merge 219567b91c19d7c8792eeefc85b87da1bd74c3c9 into d2c18b5b89d362693…
tomusborne Dec 4, 2024
cff2d9f
Update dist files
github-actions[bot] Dec 4, 2024
20e1ed1
Merge pull request #1565 from tomusborne/tweak/query-add-orderby-rand
tomusborne Dec 4, 2024
823cfb5
Merge pull request #1561 from tomusborne/tweak/icon-fill-color
tomusborne Dec 4, 2024
a14c6f2
Merge 823cfb506c30b8a19c2b69bd3152075a60c5261e into d2c18b5b89d362693…
tomusborne Dec 4, 2024
7b0b42a
Update dist files
github-actions[bot] Dec 4, 2024
840759f
Improve preview handling for the looper
iansvo Dec 4, 2024
57729ff
Merge branch 'release/2.0.0' into bug/looper-inner-blocks
tomusborne Dec 4, 2024
ae6c416
Allow any blocks in the Looper
tomusborne Dec 4, 2024
72d3841
Merge pull request #1564 from tomusborne/bug/looper-inner-blocks
tomusborne Dec 4, 2024
383fd61
Merge 72d3841b0fe35d98715661b1f15719c4e3769b08 into d2c18b5b89d362693…
tomusborne Dec 4, 2024
ebc8cfd
Update dist files
github-actions[bot] Dec 4, 2024
132402a
Merge branch 'release/2.0.0' into bug/looper-preview
tomusborne Dec 4, 2024
d811754
Tweak: Loop item fixes
tomusborne Dec 5, 2024
e1416bb
Merge pull request #1568 from tomusborne/tweak/loop-item
tomusborne Dec 5, 2024
286a252
Merge pull request #1566 from tomusborne/bug/looper-preview
tomusborne Dec 5, 2024
d943340
Merge 286a2529fe9a705f2e32a9f3c0625d8591b74cc0 into d2c18b5b89d362693…
tomusborne Dec 5, 2024
64b8b19
Update dist files
github-actions[bot] Dec 5, 2024
24f84e6
Feature: Add `media` dynamic tag
tomusborne Dec 5, 2024
11353c5
Add srcset capability to `media` tag
tomusborne Dec 5, 2024
70f28ef
Add `alt` to dynamic image
tomusborne Dec 5, 2024
1b00f7a
Target `attachment` post type
tomusborne Dec 5, 2024
2443766
Feature: Add alignment toolbar
tomusborne Dec 6, 2024
a264160
Check tag type
tomusborne Dec 6, 2024
032b863
Fix: Image floating editor issue
tomusborne Dec 6, 2024
b8c9166
Allow data attributes to have empty values
iansvo Dec 6, 2024
5a4f19f
Allow meta handler to properly handle non-single meta
iansvo Dec 6, 2024
7549999
Merge pull request #1573 from tomusborne/tweak/html-attributes-allow-…
tomusborne Dec 7, 2024
93c9dcb
Merge 7549999b7442c117f16ebc3d2bdaabbeb9fec1ec into d2c18b5b89d362693…
tomusborne Dec 7, 2024
3612e0f
Update dist files
github-actions[bot] Dec 7, 2024
7f995ff
Fix: Taxonomy term dynamic tags
tomusborne Dec 7, 2024
ffd435d
Remove variable
tomusborne Dec 7, 2024
39ea6c2
Merge pull request #1569 from tomusborne/feature/add-media-dynamic-tag
tomusborne Dec 7, 2024
6dc59be
Merge branch 'release/2.0.0' into feature/add-alignment-toolbar
tomusborne Dec 7, 2024
fe03b7a
Merge pull request #1576 from tomusborne/fix/taxonomy-term-dynamic-tags
tomusborne Dec 7, 2024
b735782
Merge fe03b7a622c14a97cbc4a2362382d2044efd2341 into d2c18b5b89d362693…
tomusborne Dec 7, 2024
69bb0fa
Update dist files
github-actions[bot] Dec 7, 2024
60f22b6
Merge branch 'release/2.0.0' into feature/add-alignment-toolbar
tomusborne Dec 7, 2024
f0ff964
Tweak: Remove image float options
tomusborne Dec 7, 2024
1ff48e5
Remove image floating
tomusborne Dec 7, 2024
8fd66b5
Improve align check
tomusborne Dec 7, 2024
f0b7abb
Merge pull request #1571 from tomusborne/feature/add-alignment-toolbar
tomusborne Dec 7, 2024
bcdd49d
Merge f0b7abb89037bce64bafdd3e8d9b2da4f909256a into d2c18b5b89d362693…
tomusborne Dec 7, 2024
60e9650
Update dist files
github-actions[bot] Dec 7, 2024
b86efe8
Fix: Unit control improvements
tomusborne Dec 8, 2024
c638a12
Merge pull request #1579 from tomusborne/fix/unit-control-improvements
tomusborne Dec 8, 2024
dc1f73a
Merge c638a127c8d9b263e825afab7e99200eeebd54a1 into d2c18b5b89d362693…
tomusborne Dec 8, 2024
96b33d5
Update dist files
github-actions[bot] Dec 8, 2024
b7acfc2
Fix: Broken columns in Query block
tomusborne Dec 9, 2024
578dbf4
Implement new SelectTerms component
iansvo Dec 9, 2024
50ab9d1
Update Dynamic Tags to use shared component
iansvo Dec 9, 2024
601abc3
Add missing param
iansvo Dec 9, 2024
fe57f21
Alignment
iansvo Dec 9, 2024
3f995b1
Merge pull request #1582 from tomusborne/fix/columns-in-query
iansvo Dec 9, 2024
76e49a5
Merge 3f995b1112ddd9c4b8e04cefe6eb29d23441829e into d2c18b5b89d362693…
tomusborne Dec 9, 2024
acb8674
Update dist files
github-actions[bot] Dec 9, 2024
1189fa3
Merge pull request #1575 from tomusborne/tweak/meta-handler-single
tomusborne Dec 10, 2024
003d0a2
Update components
tomusborne Dec 10, 2024
3f1ba6e
Merge 003d0a2cd3ddbc57a09f9969d278b94a51991caf into d2c18b5b89d362693…
tomusborne Dec 10, 2024
66ad5de
Update dist files
github-actions[bot] Dec 10, 2024
ad84919
Update styles builder
tomusborne Dec 10, 2024
e99f6ef
Merge ad849199a39ab82f4df5f64f7ea84912e4d1273d into d2c18b5b89d362693…
tomusborne Dec 10, 2024
e214575
Update dist files
github-actions[bot] Dec 10, 2024
730a6ae
Fix: Bug when using `button` as a `RichText` tag
tomusborne Dec 10, 2024
2cf88ba
Merge pull request #1585 from tomusborne/fix/button-richtext-bug
iansvo Dec 10, 2024
850bdf5
Merge 2cf88baaf1219b6c8ddf1fcad0f6af310d65a875 into d2c18b5b89d362693…
tomusborne Dec 10, 2024
6472502
Update dist files
github-actions[bot] Dec 10, 2024
cbd91df
Fix Query template styles
iansvo Dec 10, 2024
5b7735b
Tweak: Add responsive grid defaults
tomusborne Dec 10, 2024
4087083
Revert source changes for term_meta
iansvo Dec 10, 2024
80f702b
Use new atRule utilities for dynamic atRules
iansvo Dec 10, 2024
8cef025
Remove console.log
iansvo Dec 10, 2024
62bb7c3
Update styles builder
tomusborne Dec 11, 2024
707463c
Update styles builder
tomusborne Dec 11, 2024
d6b9ab1
Use styles builder util
tomusborne Dec 11, 2024
8f3930b
Merge pull request #1586 from tomusborne/bug/query-template-styles
tomusborne Dec 11, 2024
782929b
Merge 8f3930b6cdfbcc7b298a0c32fcf6f40321d64694 into d2c18b5b89d362693…
tomusborne Dec 11, 2024
2016a22
Update dist files
github-actions[bot] Dec 11, 2024
4fd408a
Merge pull request #1587 from tomusborne/tweak/add-responsive-grid-de…
tomusborne Dec 11, 2024
165815d
Merge 4fd408ae064875ff0119644b3336bb31a49d823e into d2c18b5b89d362693…
tomusborne Dec 11, 2024
6f216e0
Update dist files
github-actions[bot] Dec 11, 2024
58680bb
Match placeholder
tomusborne Dec 11, 2024
f79c97f
Merge branch 'release/2.0.0' into tweak/query-inspector-controls
tomusborne Dec 11, 2024
ca70637
Add `onClear` support
tomusborne Dec 11, 2024
0df898e
Update components
tomusborne Dec 11, 2024
fab5965
Merge pull request #1584 from tomusborne/tweak/query-inspector-controls
tomusborne Dec 11, 2024
09987f5
Merge fab59656f399a3d868716daa053c84d60b98f213 into d2c18b5b89d362693…
tomusborne Dec 11, 2024
7763cb6
Update dist files
github-actions[bot] Dec 11, 2024
e3c11ef
2.0.0-beta.4
tomusborne Dec 11, 2024
d894ea5
Add filter for context
iansvo Dec 11, 2024
c0b196a
Merge branch 'release/2.0.0' into tweak/dynamic-tags-filter-replaceTags
iansvo Dec 11, 2024
fb41f13
Update props for SelectPostType
iansvo Dec 11, 2024
9e61e98
Improve loopItemsContext logic
iansvo Dec 12, 2024
f5e35c1
Merge pull request #1592 from tomusborne/bug/looper-data
tomusborne Dec 13, 2024
aed58b5
Merge f5e35c10157683e978dae0b2d762a4db6f7605b2 into d2c18b5b89d362693…
tomusborne Dec 13, 2024
9e81edc
Update dist files
github-actions[bot] Dec 13, 2024
ede0b00
Add additional support for preview filtering
iansvo Dec 13, 2024
2da111c
Update preview and context handling
iansvo Dec 13, 2024
478cf97
Tweak: Filter local block CSS
tomusborne Dec 16, 2024
7ee8812
Tweak: Separate style replacements
tomusborne Dec 16, 2024
7fecf8b
Avoid a hook inside of a filter
tomusborne Dec 16, 2024
4198598
Added missing param
iansvo Dec 16, 2024
9e69e6f
Merge pull request #1594 from tomusborne/tweak/add-local-block-css-fi…
tomusborne Dec 16, 2024
1427a28
Merge 9e69e6fe789753faced61787478feb845dd77f1f into d2c18b5b89d362693…
tomusborne Dec 16, 2024
0f2e11a
Update dist files
github-actions[bot] Dec 16, 2024
ca2fd2b
Tweak: Add escaping to HTML attributes
tomusborne Dec 16, 2024
f420032
Late escape our block content
tomusborne Dec 16, 2024
667b73a
Update components
tomusborne Dec 17, 2024
bf52699
Merge branch 'release/2.0.0' into tweak/dynamic-tags-filter-replaceTags
tomusborne Dec 17, 2024
9904881
Merge pull request #1595 from tomusborne/tweak/separate-style-replace…
tomusborne Dec 17, 2024
42bf6bb
Merge 990488128d81d5cca2afda8c25862d8fd46e69ed into d2c18b5b89d362693…
tomusborne Dec 17, 2024
c77dbdf
Update dist files
github-actions[bot] Dec 17, 2024
6550650
Merge branch 'release/2.0.0' into tweak/dynamic-tags-filter-replaceTags
tomusborne Dec 17, 2024
b98717c
Merge pull request #1596 from tomusborne/tweak/dynamic-tags-filter-re…
tomusborne Dec 17, 2024
c9ceb79
Merge b98717cb129500469eed81a4345f569a9b70d99f into d2c18b5b89d362693…
tomusborne Dec 17, 2024
2698b44
Update dist files
github-actions[bot] Dec 17, 2024
0fcb5b9
Fix: Loop item bugs
tomusborne Dec 17, 2024
e3b742a
Feature: Add inline background control to Loop Item
tomusborne Dec 17, 2024
fef4b5d
Tweak: Show Looper appender if empty
tomusborne Dec 17, 2024
02f5050
Merge branch 'release/2.0.0' into refactor/dynamic-tag-parser-escaped…
tomusborne Dec 18, 2024
f661301
Improve parsing and add tests
tomusborne Dec 18, 2024
c53ce0c
Merge pull request #1543 from tomusborne/refactor/dynamic-tag-parser-…
tomusborne Dec 18, 2024
33fa55e
Merge pull request #1597 from tomusborne/tweak/escape-html-attributes
tomusborne Dec 18, 2024
5a431df
Merge pull request #1598 from tomusborne/fix/query-item-bugs
tomusborne Dec 18, 2024
4af0351
Merge pull request #1599 from tomusborne/tweak/loop-item-inline-bg
tomusborne Dec 18, 2024
d66095c
Merge pull request #1600 from tomusborne/tweak/conditionally-show-loo…
tomusborne Dec 18, 2024
5a173e8
Merge d66095cddadb3961d99f91a1343de79da97a0bc6 into d2c18b5b89d362693…
tomusborne Dec 18, 2024
15857c6
Update dist files
github-actions[bot] Dec 18, 2024
bb0f610
Tweak: Ensure editor HTML attributes are escaped
tomusborne Dec 18, 2024
c60ed79
Merge pull request #1601 from tomusborne/tweak/escape-html-attributes…
tomusborne Dec 18, 2024
4c35156
Merge c60ed798f7d30c157a79ac171f3de7886f9fe293 into d2c18b5b89d362693…
tomusborne Dec 18, 2024
d1debb4
Feature: Add more CSS properties
tomusborne Dec 18, 2024
7674293
Update dist files
github-actions[bot] Dec 18, 2024
fdc9748
Merge pull request #1602 from tomusborne/feature/add-more-css-properties
tomusborne Dec 18, 2024
92f0043
Tweak: Remove Container Queries in free
tomusborne Dec 18, 2024
f60b2a3
Merge pull request #1603 from tomusborne/tweak/remove-container-queri…
tomusborne Dec 18, 2024
f6ee756
Merge f60b2a317b45f2e376256886fd725852a214e057 into d2c18b5b89d362693…
tomusborne Dec 18, 2024
d7026a3
Update dist files
github-actions[bot] Dec 18, 2024
3578acc
Remove previously added handling
iansvo Dec 18, 2024
238ca0f
Added tweak to prevent extra updates when tag changes
iansvo Dec 18, 2024
8234715
Add ability to disable dynamic tag replacements in the editor
iansvo Dec 18, 2024
de284de
Allow loopItem fallback to work properly
iansvo Dec 18, 2024
5d01a9e
Merge pull request #1604 from tomusborne/bug/revert-meta-handler-change
tomusborne Dec 19, 2024
5477626
Merge pull request #1605 from tomusborne/bug/dynamic-tag-select-state
tomusborne Dec 19, 2024
13b092d
Merge 5477626c5860e63a7266124bb9f6c00f1ffcf904 into d2c18b5b89d362693…
tomusborne Dec 19, 2024
d64e195
Update dist files
github-actions[bot] Dec 19, 2024
6ac5013
2.0.0-beta.5
tomusborne Dec 19, 2024
f6e4c22
Fix: Image block error
tomusborne Dec 20, 2024
e13e66e
Merge branch 'release/2.0.0' into bug/loop-index
iansvo Dec 20, 2024
4863207
Added current post handling and improved fallback
iansvo Dec 20, 2024
a7ae6de
Restore single param to original value
iansvo Dec 20, 2024
3dcb358
Merge pull request #1615 from tomusborne/bug/meta-handler-single-only
iansvo Dec 20, 2024
0abd3c4
PR feedback
iansvo Dec 20, 2024
10641a6
Improve html attribute escaping function
tomusborne Dec 20, 2024
b926803
Add tests
tomusborne Dec 20, 2024
6afc700
Merge pull request #1614 from tomusborne/fix/image-block-error
tomusborne Dec 20, 2024
9b66fe3
Merge 6afc7005736b8a382b987e7f7380d15ed1c80b99 into d2c18b5b89d362693…
tomusborne Dec 20, 2024
0484c71
Update dist files
github-actions[bot] Dec 20, 2024
0676d9e
2.0.0-beta.6
tomusborne Dec 20, 2024
e600dcf
WIP - Client side caching
iansvo Dec 23, 2024
eb19e5c
Implement object cache
iansvo Dec 23, 2024
c174984
Merge branch 'release/2.0.0' into tweak/dynamic-tags-batch-replacements
iansvo Dec 23, 2024
8167fff
lint fixes
iansvo Dec 23, 2024
4ac3224
Add additional extensibility to query types
iansvo Dec 28, 2024
2853188
Tidy up file
iansvo Dec 28, 2024
ee29cc9
Add queryclientprovider to the dynamic tags modal
iansvo Dec 28, 2024
18d89af
Add QueryClientProvider to QueryInspectorControls
iansvo Dec 28, 2024
13492df
Add missing dependency
iansvo Dec 28, 2024
64a0782
Revert "Add additional extensibility to query types"
iansvo Dec 30, 2024
3951bea
Pass additional hook props
iansvo Dec 30, 2024
0e18bdb
Revert content mode change
iansvo Dec 30, 2024
7197db8
Fix: Default button styling
tomusborne Dec 31, 2024
4f82a8f
Merge pull request #1619 from tomusborne/tweak/dynamic-tags-batch-rep…
tomusborne Dec 31, 2024
9b7b248
Merge 4f82a8f6b616e3d1bd9940217b236e2f8c2ad4e7 into d2c18b5b89d362693…
tomusborne Dec 31, 2024
a238740
Update dist files
github-actions[bot] Dec 31, 2024
e8d3597
Merge pull request #1628 from tomusborne/fix/default-button-style
iansvo Dec 31, 2024
76bc00f
Fix: Styles builder element held in memory
tomusborne Jan 2, 2025
5bcdb01
Fix: Inline dynamic bgs
tomusborne Jan 2, 2025
c06ddcc
Merge branch 'release/2.0.0' into feature/dynamic-tags-disable-preview
tomusborne Jan 2, 2025
f5a859e
Merge branch 'release/2.0.0' into bug/loop-index
tomusborne Jan 2, 2025
8bd3c24
Fix: HTML entities in pattern category names
tomusborne Jan 2, 2025
7afe722
Merge pull request #1631 from tomusborne/fix/pattern-category-name-en…
iansvo Jan 2, 2025
d7fe0df
Merge 7afe722b62d65b75d4e0c7c2d172ebc55923e4f2 into d2c18b5b89d362693…
tomusborne Jan 2, 2025
ac74231
Update dist files
github-actions[bot] Jan 2, 2025
06f2614
Merge pull request #1630 from tomusborne/fix/inline-dynamic-bgs
iansvo Jan 2, 2025
3093334
Merge 06f2614dfe203dda70bba4ea140748f4d3a0be04 into d2c18b5b89d362693…
tomusborne Jan 2, 2025
2b9184c
Update dist files
github-actions[bot] Jan 2, 2025
8c3f7bb
Add missing dep, minor tweaks
iansvo Jan 2, 2025
e35b4ac
Merge branch 'release/2.0.0' into fix/memory-issue
tomusborne Jan 3, 2025
d98fccb
Update packages
tomusborne Jan 6, 2025
5ed35a7
Merge pull request #1629 from tomusborne/fix/memory-issue
tomusborne Jan 6, 2025
a5e42ed
Merge 5ed35a75b05c49403acb60c26935509aad907106 into d2c18b5b89d362693…
tomusborne Jan 6, 2025
8ced401
Update dist files
github-actions[bot] Jan 6, 2025
13c85d9
Merge branch 'release/2.0.0' into feature/dynamic-tags-disable-preview
tomusborne Jan 6, 2025
1f13ab2
Merge pull request #1607 from tomusborne/feature/dynamic-tags-disable…
tomusborne Jan 6, 2025
404c5a5
Merge 1f13ab2d1f933fe9de2f315de176bfba1ad3bb55 into d2c18b5b89d362693…
tomusborne Jan 6, 2025
6c8b8cd
Update dist files
github-actions[bot] Jan 6, 2025
5069c45
Merge branch 'release/2.0.0' into bug/excessive-network-requests
tomusborne Jan 6, 2025
57c1be7
Merge branch 'release/2.0.0' into bug/excessive-network-requests
tomusborne Jan 6, 2025
30bc109
Remove console log
tomusborne Jan 6, 2025
89a2bfa
Merge branch 'release/2.0.0' into bug/loop-index
tomusborne Jan 6, 2025
f8cac48
Pass `queryClient` to controls that need it
tomusborne Jan 6, 2025
1c0f31c
Fix: Broken user select
tomusborne Jan 6, 2025
84bf485
Fix: Missing inner blocks
tomusborne Jan 7, 2025
35b8e0e
Simplify post ID output
tomusborne Jan 7, 2025
ab73ba0
Merge pull request #1608 from tomusborne/bug/loop-index
tomusborne Jan 7, 2025
b9d68f2
Merge ab73ba0969d0d9a7bed147e836ecff698ec57b5b into d2c18b5b89d362693…
tomusborne Jan 7, 2025
c63e034
Update dist files
github-actions[bot] Jan 7, 2025
31af7aa
Merge pull request #1623 from tomusborne/tweak/query-block-extensibility
tomusborne Jan 7, 2025
9c80efd
Merge 31af7aaa9ac618a219bf50a47e5ebd496f2307aa into d2c18b5b89d362693…
tomusborne Jan 7, 2025
a0d4a48
Update dist files
github-actions[bot] Jan 7, 2025
30ff458
Update components
tomusborne Jan 7, 2025
c992c30
Merge pull request #1622 from tomusborne/bug/excessive-network-requests
tomusborne Jan 8, 2025
677f461
Merge c992c30f4e844457b04b7cff897e2067c3f2b13d into d2c18b5b89d362693…
tomusborne Jan 8, 2025
ad73a43
Update dist files
github-actions[bot] Jan 8, 2025
3244553
Fix: Broken control
tomusborne Jan 8, 2025
fdf9622
Merge pull request #1636 from tomusborne/fix/broken-control
tomusborne Jan 8, 2025
3239565
Merge fdf962266b6f5161cf72d0f46e9896cac2f722e3 into d2c18b5b89d362693…
tomusborne Jan 8, 2025
839ac0f
Update dist files
github-actions[bot] Jan 8, 2025
d4f3448
Fix: Missing styles in Query
tomusborne Jan 8, 2025
69289de
Fix: Limited terms in dropdown
tomusborne Jan 8, 2025
03b6357
Update package-lock.json
tomusborne Jan 8, 2025
d785463
Update package version
tomusborne Jan 8, 2025
78a2876
Merge d785463f0639940b7b12f99d92c04bbbea3d424f into d2c18b5b89d362693…
tomusborne Jan 8, 2025
fba122a
Update dist files
github-actions[bot] Jan 8, 2025
ce5a8fa
Update package version
tomusborne Jan 8, 2025
3036492
Fix: PHP deprecation
tomusborne Jan 8, 2025
21e641c
Merge pull request #1637 from tomusborne/fix/php-deprecation
tomusborne Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 19 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"generateBlocksStyling": "readonly",
"generateBlocksSettings": "readonly",
"generateBlocksLegacyDefaults": "readonly",
"generateBlocksPatternLibrary": "readonly"
"generateBlocksPatternLibrary": "readonly",
"generateblocksBlockMedia": "readonly",
"generateBlocksEditor": "readonly",
"generateblocksDashboard": "readonly",
"generateblocksBlockText": "readonly"
},
"env": {
"browser": true,
Expand All @@ -33,6 +37,20 @@
"settings": {
"react": {
"pragma": "wp"
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
},
"eslint-import-resolver-custom-alias": {
"extensions": [".js", ".jsx"],
"alias": {
"@utils": "./src/utils",
"@components": "./src/components",
"@hooks": "./src/hooks",
"@hoc": "./src/hoc"
}
}
}
},
"rules": {
Expand Down
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,13 @@ jobs:
if: steps.js-files.outputs.any_changed == 'true'
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'

- name: Configure npm for private registry
if: steps.js-files.outputs.any_changed == 'true'
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Download deps
if: steps.js-files.outputs.any_changed == 'true'
uses: bahmutov/npm-install@v1
Expand Down Expand Up @@ -77,9 +81,13 @@ jobs:
if: steps.js-files.outputs.any_changed == 'true'
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'

- name: Configure npm for private registry
if: steps.js-files.outputs.any_changed == 'true'
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Download deps
if: steps.js-files.outputs.any_changed == 'true'
uses: bahmutov/npm-install@v1
Expand Down Expand Up @@ -111,9 +119,13 @@ jobs:
if: steps.js-files.outputs.any_changed == 'true'
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'

- name: Configure npm for private registry
if: steps.js-files.outputs.any_changed == 'true'
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Download deps
if: steps.js-files.outputs.any_changed == 'true'
uses: bahmutov/npm-install@v1
Expand Down Expand Up @@ -209,7 +221,10 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18

- name: Configure npm for private registry
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Download deps
uses: bahmutov/npm-install@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ composer.lock
## keep compiled files out of version control
# dist/
.phpunit.result.cache
.npmrc
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ module.exports = function( grunt ) {
'!*.sh',
'!*.map',
'!Gruntfile.js',
'!package.json',
'!.gitignore',
'!phpunit.xml',
'!README.md',
Expand All @@ -39,6 +38,7 @@ module.exports = function( grunt ) {
'!.eslintrc.json',
'!*.zip',
'!.nvmrc',
'!config/**',
],
dest: 'package/generateblocks/',
},
Expand Down
12 changes: 12 additions & 0 deletions assets/css/dashboard-global.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@
font-size: 18px;
margin-top: 1px;
}

#adminmenu #toplevel_page_generateblocks a[href="admin.php?page=generateblocks-upgrade"] {
font-weight: 600;
background-color: #0171d5;
color: #fff;
margin: 3px 10px 0;
display: block;
text-align: center;
border-radius: 3px;
transition: all .3s;
box-shadow: 0 0 0;
}
205 changes: 0 additions & 205 deletions assets/css/dashboard.css

This file was deleted.

Binary file added assets/images/placeholder1280x720.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/placeholder800x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions config/webpack-dependency-extraction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const WPDependencyExtractionWebpackPlugin = require( '@wordpress/dependency-extraction-webpack-plugin' );

class DependencyExtractionWebpackPlugin extends WPDependencyExtractionWebpackPlugin {
/**
* Extend the default stringify behavior to sort dependencies by name before returning them.
*
* @param {any} asset Asset Data
* @return {string} Stringified asset data suitable for output
*/
stringify( asset ) {
const prefix = 'generateblocks-';
const sortedDeps = asset.dependencies.sort( ( a, b ) => {
const aMatches = a.startsWith( prefix );
const bMatches = b.startsWith( prefix );

if ( aMatches && ! bMatches ) {
return 1;
}
if ( bMatches && ! aMatches ) {
return -1;
}

return a.localeCompare( b );
} );

const updatedAsset = { ...asset, dependencies: sortedDeps };

// Fallback to the original method with the updated asset.
return super.stringify( updatedAsset );
}
}

module.exports = DependencyExtractionWebpackPlugin;
1 change: 1 addition & 0 deletions dist/block-styles-imported.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => '2584b7c42b58bfba3170');
1 change: 1 addition & 0 deletions dist/block-styles.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'db359c8847d8a33701db');
1 change: 1 addition & 0 deletions dist/block-styles.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading