Skip to content

Start rewriting keyboard edit code to include focal point #17456

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

Draft
wants to merge 217 commits into
base: 5.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
66092d2
Make cropper container keyboard focusable
gcamacho079 Mar 26, 2025
d4f0b04
Move toggle function, add keydown listener for cropper
gcamacho079 Mar 26, 2025
d5c39e3
Commit
gcamacho079 Mar 31, 2025
f0a3994
Merge branch '5.7' into feature/pt-475-crop-frame-cannot-be-moved-usi…
gcamacho079 Apr 11, 2025
98aab89
Remove default focus outline from cropping canvas, make cropping rect…
gcamacho079 Apr 11, 2025
ad12b4d
Exit keydown handler if not a directional key
gcamacho079 Apr 11, 2025
1e74d0f
Update cropper rectangle placement based on keyboard input
gcamacho079 Apr 14, 2025
9aca6ee
Remove unused function
gcamacho079 Apr 14, 2025
b34ca22
Reuse code for both drag and keyboard move
gcamacho079 Apr 14, 2025
24c329e
Start moving to button versus having the canvas be focuable
gcamacho079 Apr 15, 2025
fd7c25a
Toggle button state on activate, toggle picked up mode
gcamacho079 Apr 15, 2025
79c68fe
Add temp announcer to troubleshoot sr messages, when we add those in
gcamacho079 Apr 16, 2025
cfc1a5c
Find position of cropper center
gcamacho079 Apr 16, 2025
faad842
Fix bug where arrows were still activating tab change, move cropping …
gcamacho079 Apr 16, 2025
d2de5c7
Add button macro and use for all corner resize and crop moving buttons
gcamacho079 Apr 17, 2025
bb73fec
Prep 5.8 WIP changelog
brandonkelly Apr 21, 2025
ce4e351
“Expand/Collapse all blocks” for inline-editable Matrix fields
brandonkelly Apr 21, 2025
9321a55
Release note
brandonkelly Apr 21, 2025
2618d67
Merge pull request #17141 from craftcms/feature/cms-731-expandcollaps…
brandonkelly Apr 21, 2025
7775bcb
Merge branch '5.x' into 5.8
brandonkelly Apr 21, 2025
96953f9
returnUrl param for element edit pages
brandonkelly Apr 21, 2025
7595227
Pass corner info to data attribute on resize handle button
gcamacho079 Apr 21, 2025
420219b
Merge 5.8 and build
gcamacho079 Apr 21, 2025
556d5d2
Start refactoring for exclusive button functionality
gcamacho079 Apr 21, 2025
4f2cd37
Merge branch '5.x' into 5.8
brandonkelly Apr 21, 2025
8dd9187
New slideout/thumb icons
brandonkelly Apr 21, 2025
0d7aa57
Merge branch '5.x' into 5.8
brandonkelly Apr 22, 2025
1a455c4
Merge branch '5.x' into 5.8
brandonkelly Apr 22, 2025
79f6740
Display read-only relational fields using elementSelect
brandonkelly Apr 22, 2025
38a7752
Prep the 4.16 WIP changelog
brandonkelly Apr 23, 2025
32931b0
Merge branch '4.x' into 4.16
brandonkelly Apr 23, 2025
8c9eb85
Merge branch '5.x' into 5.8
brandonkelly Apr 23, 2025
36b5371
Merge branch '4.x' into 4.16
brandonkelly Apr 23, 2025
ef98ea0
Assets and Categories fields can't have site menus
brandonkelly Apr 23, 2025
3a22bd7
Merge branch '4.16' of https://github.com/craftcms/cms into 5.8
brandonkelly Apr 23, 2025
22dedea
“Slideout Position” user preference
brandonkelly Apr 22, 2025
0c9929f
Cleanup
brandonkelly Apr 22, 2025
1b34d94
“Notification Position” user preference
brandonkelly Apr 22, 2025
c189412
Missing translations
brandonkelly Apr 23, 2025
e96af87
Release notes
brandonkelly Apr 23, 2025
443929a
Fixed a JS error when opening an entry in a slideout
brandonkelly Apr 23, 2025
e89ba66
Merge pull request #17169 from craftcms/feature/cms-1392-slideout-pos…
brandonkelly Apr 23, 2025
8a67530
Merge branch '5.x' into 5.8
brandonkelly Apr 24, 2025
f235ac1
bump var-dumper and yaml requirements
brandonkelly Apr 24, 2025
44d7d5b
Track which corner is picked up and change handle color (WIP)
gcamacho079 Apr 24, 2025
663cf3a
Add circle around selected corner based on which one has been picked up
gcamacho079 Apr 24, 2025
c3dc123
Make corner focus ring more apparent and add new fxn for getting corn…
gcamacho079 Apr 24, 2025
660cd22
Refactor position message code
gcamacho079 Apr 24, 2025
c51a778
Show option icons/colors in field previews
brandonkelly Apr 25, 2025
3d6228b
Merge branch '4.x' into 4.16
brandonkelly Apr 25, 2025
adb6229
Improve validation error wording
brandonkelly Apr 25, 2025
424fcba
Cleanup
brandonkelly Apr 25, 2025
dbd725c
Merge branch '5.x' into 5.8
brandonkelly Apr 25, 2025
215bca2
Cleanup
brandonkelly Apr 25, 2025
d08ff40
Merge branch '4.16' of https://github.com/craftcms/cms into 5.8
brandonkelly Apr 25, 2025
725d3b7
Cleanup
brandonkelly Apr 25, 2025
1110c1c
Typo
brandonkelly Apr 25, 2025
706fd29
Merge branch '4.16' of https://github.com/craftcms/cms into 5.8
brandonkelly Apr 25, 2025
f649e64
Clean up styles and containers
gcamacho079 Apr 25, 2025
1e0fffc
Toggle directional controls when a handle or the crop rectangle are p…
gcamacho079 Apr 25, 2025
dc81003
Move crop rectangle on directional arrow press
gcamacho079 Apr 25, 2025
d1308bf
Merge branch '5.x' into 5.8
brandonkelly Apr 25, 2025
21eba8a
Add ElementHelper::EVENT_BEFORE_RENDER_ELEMENT event
leevigraham Apr 26, 2025
08abf55
Merge branch '5.x' into 5.8
brandonkelly Apr 28, 2025
aafa346
Get resize working for keyboard; TODO add edges as handles
gcamacho079 Apr 28, 2025
aa76338
Merge branch '5.x' into 5.8
brandonkelly Apr 28, 2025
3b427af
Merge branch '5.x' into EVENT_BEFORE_RENDER_ELEMENT
brandonkelly Apr 28, 2025
6ccc0ad
Merge branch '5.8' into EVENT_BEFORE_RENDER_ELEMENT
brandonkelly Apr 28, 2025
fc1a46a
Move render logic + event to Element::render()
brandonkelly Apr 28, 2025
c171bd3
Release notes
brandonkelly Apr 28, 2025
013f83c
Merge branch 'EVENT_BEFORE_RENDER_ELEMENT' into 5.8
brandonkelly Apr 28, 2025
5a97735
Referenc #17188
brandonkelly Apr 28, 2025
2376dcd
Fix docblock
brandonkelly Apr 28, 2025
0062459
Make corners move on directional keypress, combine handlePickedUp wit…
gcamacho079 Apr 29, 2025
44ab675
Revert "Make corners move on directional keypress, combine handlePick…
gcamacho079 May 5, 2025
26b84d3
Merge branch '5.x' into 5.8
brandonkelly May 5, 2025
7d80d16
Rename twig corner property to handle
gcamacho079 May 5, 2025
86c8d49
Rename focus outline property to refer to handle, not just corner
gcamacho079 May 5, 2025
86f6a83
Rename handle data attribute
gcamacho079 May 5, 2025
691bc20
Entry type duplication
brandonkelly May 5, 2025
581336c
Merge branch '5.x' into 5.8
brandonkelly May 5, 2025
2058034
Remove duplicated code, rename some methods
gcamacho079 May 5, 2025
6957b11
Replace handleClicked with handlePicked
gcamacho079 May 5, 2025
3697536
Change more references of corner to handle
gcamacho079 May 5, 2025
9efcda1
Merge all option data (so we get the text label)
brandonkelly May 6, 2025
c7a4e16
Cp::buttonGroupHtml() + buttonGroupFieldHtml()
brandonkelly May 6, 2025
afebb0d
Merge branch '5.x' into 5.8
brandonkelly May 6, 2025
92e9ced
Merge branch '4.x' into 4.16
brandonkelly May 6, 2025
f9be3f2
Merge branch '4.x' into 4.16
brandonkelly May 6, 2025
b24f052
Merge branch '5.x' into 5.8
brandonkelly May 6, 2025
5c9a1c5
Fix a couple Button Group bugs
brandonkelly May 6, 2025
2f925b3
Support for non-form slideouts
brandonkelly May 6, 2025
5395601
Add buttons for new handles (t, b, l, r)
gcamacho079 May 7, 2025
1e38c08
Update handle names to include hyphens
gcamacho079 May 7, 2025
628e985
Add other directional handles
gcamacho079 May 7, 2025
b018092
Position focus outlines for b/t/l/r on button press
gcamacho079 May 7, 2025
d2f1a3d
Remove hyphens temporarily because they are causing this to not work
gcamacho079 May 7, 2025
5bfced9
Rename class names to reference handles instead of corners; start add…
gcamacho079 May 12, 2025
6c13e1c
Merge branch '5.x' into 5.8
brandonkelly May 12, 2025
eeade7d
Asset MIME type improvements
brandonkelly May 12, 2025
0446f4f
Release notes
brandonkelly May 12, 2025
7806976
Merge branch '5.x' into 5.8
brandonkelly May 14, 2025
522340e
Merge branch '5.8' into feature/cms-1415-asset-mime-type-improvements
brandonkelly May 14, 2025
5008012
Just call FileHelper::getMimeType() from Asset::getMimeType() directly
brandonkelly May 14, 2025
aab1cce
Simplify
brandonkelly May 14, 2025
18a4588
Set MIME types during indexing, for local/downloaded assets
brandonkelly May 14, 2025
568bd27
One more release note
brandonkelly May 14, 2025
76a1775
Fixed test
brandonkelly May 14, 2025
ed81207
Merge pull request #17254 from craftcms/feature/cms-1415-asset-mime-t…
brandonkelly May 14, 2025
e9bb715
Add listener to edit buttons; TODO add focus styles on focus, update …
gcamacho079 May 14, 2025
672c6dd
Add cropper rectangle/handle focus styles on button focus
gcamacho079 May 14, 2025
6d8955b
Add two-color focus styles to handles
gcamacho079 May 14, 2025
7f51338
More ColorData array keys
brandonkelly May 14, 2025
4acbcf5
Merge branch '4.x' into 4.16
brandonkelly May 14, 2025
69feebe
Merge branch '5.x' into 5.8
brandonkelly May 14, 2025
93339b0
Merge branch '4.16' of https://github.com/craftcms/cms into 5.8
brandonkelly May 14, 2025
10453d6
Merge branch '5.x' into 5.8
brandonkelly May 16, 2025
4e5d2ab
Add persistent active style (TODO: make better) when focus leaves the…
gcamacho079 May 16, 2025
42c1ce0
Element::partialTemplatePathCandidates()
brandonkelly May 16, 2025
631dcb1
“is of type” Link field condition operator
brandonkelly May 17, 2025
91f396b
Release notes
brandonkelly May 19, 2025
7428e08
Merge pull request #17277 from craftcms/feature/cms-1416-is-of-type-o…
brandonkelly May 19, 2025
9a483b4
Add disclosure toggle for visible on-screen controls
gcamacho079 May 19, 2025
0677775
Merge branch '5.x' into 5.8
brandonkelly May 19, 2025
6b6dce9
Merge branch '5.x' into 5.8
brandonkelly May 19, 2025
eb8e115
Make sure directional arrows are not in the focus order when the on-s…
gcamacho079 May 19, 2025
73da221
`<handle>Entry` GraphQL queries for Single sections
brandonkelly May 19, 2025
0a40850
Merge branch '4.x' of https://github.com/craftcms/cms into 5.8
brandonkelly May 19, 2025
5143b56
Merge branch '5.x' into 5.8
brandonkelly May 19, 2025
bfa8240
Start pulling out common styles for focus ring on handles
gcamacho079 May 20, 2025
504a364
Merge branch '5.x' into 5.8
brandonkelly May 20, 2025
899c8a3
Note for #17277
brandonkelly May 20, 2025
5a88f01
Better condition support for multi-instance relation fields
brandonkelly May 20, 2025
52a7424
Release note
brandonkelly May 20, 2025
be65e49
Merge pull request #17295 from craftcms/feature/cms-1417-better-condi…
brandonkelly May 20, 2025
f292574
Merge branch '4.x' into 4.16
brandonkelly May 20, 2025
3306ae0
empty relation field value can also be stored as an empty array
i-just May 21, 2025
5fb6c97
Add additional arrow icons for corner-specific buttons
gcamacho079 May 21, 2025
22b2993
Consolidate focus/active styles into one function
gcamacho079 May 21, 2025
3837d08
Add icon to active indicator when picked up (TODO: only shows when as…
gcamacho079 May 21, 2025
94ff687
Rearrance conditional statement
gcamacho079 May 21, 2025
d5a47f2
Merge pull request #17297 from craftcms/bugfix/17295-tweak-empty-note…
brandonkelly May 21, 2025
8676c7a
Use focusin instead of focus for changing focus styles
gcamacho079 May 21, 2025
013f875
Reintroduce separate active/focused handle indicator props
gcamacho079 May 21, 2025
4d4f9d1
Merge branch '5.x' into 5.8
brandonkelly May 22, 2025
3e6c798
Merge branch '5.x' into 5.8
brandonkelly May 22, 2025
5907769
Add functionality to validate drafts
jamie-s-white May 23, 2025
e69a7f6
Copy consistency
jamie-s-white May 23, 2025
472f54f
Migrate from save menu to hamburger, only show if draft
jamie-s-white May 23, 2025
198c079
Merge branch '5.x' into 5.8
brandonkelly May 27, 2025
27cb2bc
Merge branch '5.8' into feature/draft-validation
brandonkelly May 27, 2025
617b7c2
Add "Copy URL" action to link fieldsj
brianjhanson May 27, 2025
51c4569
Build
brianjhanson May 27, 2025
3992783
Cleanup
brandonkelly May 27, 2025
8ed00c4
Release note
brandonkelly May 27, 2025
c6ec0c0
Merge branch 'feature/draft-validation' into 5.8
brandonkelly May 27, 2025
44be65e
Merge branch '5.x' into 5.8
brandonkelly May 27, 2025
895662a
Lazy eager-load entry authors, rather than setting their IDs up front
brandonkelly May 27, 2025
4951bff
Refactor to include pick up and drop functions, and drop cropper elem…
gcamacho079 May 27, 2025
f219873
Add temp announcement in resize fxn
gcamacho079 May 27, 2025
be9fc9f
Deprecate picturefill
brianjhanson May 27, 2025
964b27b
Merge branch '5.x' into 5.8
brandonkelly May 27, 2025
0c1c567
Merge branch '5.x' into 5.8
brandonkelly May 27, 2025
31811b0
Merge branch '5.8' into feature/copy-link-field-urls
brandonkelly May 27, 2025
288df2c
We still need "Copy the URL" registered
brandonkelly May 27, 2025
150ad82
Release note
brandonkelly May 27, 2025
7318a87
Merge pull request #17339 from craftcms/feature/copy-link-field-urls
brandonkelly May 27, 2025
e840be7
Merge branch '5.8' into deprecate-picturefill
brandonkelly May 28, 2025
b5ad6f1
Release note
brandonkelly May 28, 2025
0499651
Merge pull request #17344 from craftcms/deprecate-picturefill
brandonkelly May 28, 2025
67e9fe8
A bit more code cleanup
gcamacho079 May 28, 2025
1a370ac
More cleanup of functions
gcamacho079 May 28, 2025
bb26b56
Add message for size and position when resizing the rectangle
gcamacho079 May 28, 2025
c4e2aea
Remove visual UI for edit btns
gcamacho079 May 28, 2025
0c17471
always use label hint when adding fields to rule type options; but on…
i-just May 29, 2025
59afdcf
Merge branch '4.16' into bugfix/17284-field-names-and-conditionals
i-just May 29, 2025
8c0e094
allow users with moderateUsers permission to send activation email
i-just May 29, 2025
93b6a93
Merge branch '5.x' into bugfix/17360-send-activation-email-and-permis…
brandonkelly May 29, 2025
10b9add
Merge branch '5.x' into 5.8
brandonkelly May 29, 2025
5aa3448
Merge branch '5.x' into 5.8
brandonkelly May 29, 2025
fc761f6
Merge branch '5.8' into bugfix/17360-send-activation-email-and-permis…
brandonkelly May 29, 2025
c094476
Release note
brandonkelly May 29, 2025
891f756
Merge pull request #17362 from craftcms/bugfix/17360-send-activation-…
brandonkelly May 29, 2025
b68b7ae
Merge branch '4.x' into 4.16
brandonkelly May 29, 2025
320cbc4
Merge branch '4.16' into bugfix/17284-field-names-and-conditionals
brandonkelly May 29, 2025
81d677c
Release note
brandonkelly May 30, 2025
3fa690a
Merge pull request #17361 from craftcms/bugfix/17284-field-names-and-…
brandonkelly May 30, 2025
4f481f4
Merge branch '4.16' of https://github.com/craftcms/cms into 5.8
brandonkelly May 30, 2025
46b6a27
Merge branch '5.8' of https://github.com/craftcms/cms into 5.8
brandonkelly May 30, 2025
a3e2998
Remove cropper edit class and replace with data attribute, remove unu…
gcamacho079 May 30, 2025
6f9923a
More refactoring
gcamacho079 May 30, 2025
92975ba
Move focus outline into getCroppingRectangle fxn, redraw on blur
gcamacho079 May 30, 2025
67b0571
Move all cropping handle indicator logic into one function
gcamacho079 May 30, 2025
0931613
Add active rectangle picked up state
gcamacho079 May 30, 2025
f5dabf9
Start implementing better focus/active outlines for rectangle group
gcamacho079 May 30, 2025
b98d518
Merge branch '5.x' into 5.8
brandonkelly May 31, 2025
8738f44
Fix issue of svg icon not working
gcamacho079 Jun 2, 2025
84d3180
Add color settings for DRY
gcamacho079 Jun 2, 2025
17dd572
Hook up global announcer
gcamacho079 Jun 2, 2025
fb705e9
Undo graphiql build
gcamacho079 Jun 2, 2025
3fa3da2
Undo matrix build
gcamacho079 Jun 2, 2025
d78d282
Add docblocks
gcamacho079 Jun 2, 2025
40b8293
More doc blocks, and change number of args
gcamacho079 Jun 2, 2025
3371ca8
More doc blocks
gcamacho079 Jun 2, 2025
a8eb81f
Register translations
gcamacho079 Jun 2, 2025
3876bf1
Fix hyphenation
gcamacho079 Jun 2, 2025
7c4a981
Merge 5.8 and fix conflicts
gcamacho079 Jun 2, 2025
2c837f8
Wrap buttons in application role
gcamacho079 Jun 13, 2025
d49564b
Start rewriting keyboard edit code to include focal point
gcamacho079 Jun 16, 2025
40044fd
Attach directional key listener to focal point button
gcamacho079 Jun 16, 2025
00959f2
Remove console log
gcamacho079 Jun 16, 2025
effb854
Make it possible to switch between drag and keyboard modes; fix cropp…
gcamacho079 Jun 17, 2025
644ea29
Announce focal point position on move
gcamacho079 Jun 17, 2025
994ccce
Build
gcamacho079 Jun 17, 2025
87cabf2
Get focal point to work on rotate tab
gcamacho079 Jun 17, 2025
1926d91
Continue refactoring for drag vs nondrag mode
gcamacho079 Jun 17, 2025
55dee4c
Start commenting blur to figure out a better alternative
gcamacho079 Jun 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Release Notes for Craft CMS 5.8 (WIP)

> [!NOTE]
> Elements with Link fields created before Craft 5.5.0 should be resaved to take advantage of the new “is of type” condition rule operator. ([#17277](https://github.com/craftcms/cms/pull/17277))

> [!NOTE]
> Elements with multi-instance relation fields created before Craft 5.3.0 should be resaved to ensure their condition rules continue to work properly. ([#17295](https://github.com/craftcms/cms/pull/17295))

### Content Management
- Element edit pages now have “Validate [type]” actions. ([#17316](https://github.com/craftcms/cms/pull/17316))
- Matrix fields set to the “inline-editable blocks” view mode now have “Expand all blocks” and “Collapse all blocks” actions. ([#17141](https://github.com/craftcms/cms/pull/17141))
- Link fields’ condition rules now have an “is of type” operator. ([#17277](https://github.com/craftcms/cms/pull/17277))
- Read-only relational fields now display element chips/cards more consistently with editable fields. ([#17146](https://github.com/craftcms/cms/discussions/17146))
- Added the “Notification Position” and “Sideout Position” user preferences. ([#17169](https://github.com/craftcms/cms/pull/17169))
- Button Group, Dropdown, and Radio Buttons fields now display their selected option’s icon/color within field previews. ([#17178](https://github.com/craftcms/cms/discussions/17178))
- Improved the wording of validation errors caused by relational fields’ “Validate related [type]” settings. ([#9960](https://github.com/craftcms/cms/discussions/9960))
- URL chips within Link fields are now truncated if wider than the container, and have a “Copy URL” action. ([#17339](https://github.com/craftcms/cms/pull/17339))
- Users with “Moderate users” permission can now send activation emails. ([#17362](https://github.com/craftcms/cms/pull/17362))

### Content Management
- Element condition builders now show condition rules for custom fields with duplicate names. ([#17361](https://github.com/craftcms/cms/pull/17361))

### Administration
- Assets and Categories fields no longer have “Show the site menu” settings. ([#17156](https://github.com/craftcms/cms/issues/17156))
- Entry type edit pages now have a “Save as a new entry type” action. ([#15977](https://github.com/craftcms/cms/discussions/15977))
- The `accessibilityDefaults` config setting can now contain `notificationPosition` and `slideoutPosition` keys. ([#17169](https://github.com/craftcms/cms/pull/17169))

### Development
- Added `<handle>Entry` GraphQL queries for each Single section, which resolve to the single entry within them. ([#17278](https://github.com/craftcms/cms/issues/17278))

### Extensibility
- Element edit pages now support being passed a hashed `returnUrl` query string param. ([#17137](https://github.com/craftcms/cms/discussions/17137))
- Added `craft\base\Element::EVENT_RENDER`. ([#17188](https://github.com/craftcms/cms/discussions/17188))
- Added `craft\base\Element::partialTemplatePathCandidates()`.
- Added `craft\base\ElementInterface::render()`.
- Added `craft\elements\Asset::setMimeType()`.
- Added `craft\events\RenderElementEvent`. ([#`17188`](https://github.com/craftcms/cms/discussions/17188))
- Added `craft\fields\BaseRelationField::canShowSiteMenu()`.
- Added `craft\fields\conditions\LinkFieldConditionRule`.
- Added `craft\fields\data\OptionData::$color`.
- Added `craft\fields\data\OptionData::$icon`.
- Added `craft\helpers\Cp::buttonGroupFieldHtml()`.
- Added `craft\helpers\Cp::buttonGroupHtml()`.
- Added `craft\models\FieldLayout::resetUids()`.
- Added `craft\web\Request::getValidatedQueryParam()`.
- `craft\elements\Asset::getMimeType()` now returns the file’s actual MIME type (rather than the MIME type associated with the file’s extension), for locally-stored assets. ([#17254](https://github.com/craftcms/cms/pull/17254))
- `craft\fields\data\ColorData` now extends `craft\base\Model` and includes `blue`, `green`, `hex`, `luma`, `red`, and `rgb` attributes in its array keys. ([#17265](https://github.com/craftcms/cms/issues/17265))
- `craft\services\Assets::replaceAssetFile()` now has a `$mimeType` argument.
- `craft\services\Users::saveUserPhoto()` now has a `$mimeType` argument.
- Added the `buttonGroup` and `buttonGroupField` macros to the `_includes/forms.twig` template.
- Added the `_includes/forms/buttonGroup.twig` template.
- `Craft.CpScreenSlideout` now supports overriding the `closeOnEsc`, `closeOnShadeClick`, `containerElement`, and `containerAttributes` settings. Slideouts with a non-`<form>` container element won’t get a “Save” button, and the close button will be labelled “Close” rather than “Cancel”. ([#13593](https://github.com/craftcms/cms/discussions/13593))
- Deprecated `craft\web\assets\picturefill\PicturefillAsset`. ([#17344](https://github.com/craftcms/cms/pull/17344))

### System
- Assets now keep track of their MIME types when uploaded, improving the accuracy of `craft\elements\Asset::getMimeType()`. ([#17254](https://github.com/craftcms/cms/pull/17254))
- Reduced the number of SQL queries executed when fetching entries. ([#17326](https://github.com/craftcms/cms/discussions/17326))
8 changes: 8 additions & 0 deletions bootstrap/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,15 @@
Craft::setAlias('@appicons/grip-dots.svg', "$customIconsPath/grip-dots.svg");
Craft::setAlias('@appicons/list-flip.svg', "$customIconsPath/list-flip.svg");
Craft::setAlias('@appicons/list-tree-flip.svg', "$customIconsPath/list-tree-flip.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/notification-bottom-left.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/notification-bottom-right.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/notification-top-left.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/notification-top-right.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/share-flip.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/slideout-left.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/slideout-right.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/thumb-left.svg");
Craft::setAlias('@appicons/share-flip.svg', "$customIconsPath/thumb-right.svg");

// Brands
Craft::setAlias('@appicons/amazon.svg', "$brandIconsPath/amazon.svg");
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"symfony/property-access": "^7.0",
"symfony/property-info": "^7.0",
"symfony/serializer": "^6.4",
"symfony/var-dumper": "^5.0|^6.0",
"symfony/yaml": "^5.2.3|^6.0",
"symfony/var-dumper": "^5.0|^6.0|^7.0",
"symfony/yaml": "^5.2.3|^6.0|^7.0",
"theiconic/name-parser": "^1.2",
"twig/twig": "~3.15.0",
"voku/stringy": "^6.4.0",
Expand Down
123 changes: 58 additions & 65 deletions composer.lock

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

Loading
Loading