Thibaud Colas
b81ec15e3d
Fix comment "add" buttons being hidden in StreamField
2023-04-20 14:14:25 +07:00
Thibaud Colas
64ae146e29
Swap comment "add" button icons between default and hover
2023-04-20 14:14:24 +07:00
Thibaud Colas
5ef6af178e
Prevent reaching side panel close button while tabbing
2023-04-20 14:14:24 +07:00
Thibaud Colas
d8731c2dc6
Fix inconsistent comment button positions for fields in and out of StreamField
2023-04-20 14:14:24 +07:00
Thibaud Colas
82ea1fd975
Fix StreamField comment controls initialisation
2023-04-20 14:14:24 +07:00
sage
ed36b5b9b6
Improve customisability of the accessibility checker configuration. Fix #10137 ( #10333 )
...
* Extract userbar BaseItem.get_context_data()
* Extract Axe config into smaller attributes and methods for easier overrides
* Add TypeScript interface for WagtailAxeConfiguration
* Improve typings for userbar.ts
* Separate Axe `runOnly` and `rules` options
* Pass request object to all axe configuration methods
* Remove Axe runOnly option if it's falsy
* Add docs for customising the accessibility checker
* Use lists for Axe include and exclude selectors
* Parse JSON script when testing accessibility checker config
* Add tests for customising accessibility checker configuration
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-20 07:46:56 +01:00
Sage Abdullah
52739832bc
Fix nested SubmenuMenuItem from being hidden when expanded
2023-04-19 15:13:42 +01:00
sage
70bb15a7e1
Prevent long preview mode names from making the select element overflow the side panel. Fix #10240 ( #10354 )
2023-04-19 14:30:21 +01:00
Thibaud Colas
bf1f15c3d5
Update relevant color declarations to use theme-agnostic color tokens
2023-04-19 13:38:23 +01:00
Thibaud Colas
567b999548
Set up new color design tokens for light and dark themes
2023-04-19 13:38:23 +01:00
Thibaud Colas
35868364c5
Remove unused dropzone styles
2023-04-19 13:38:23 +01:00
Thibaud Colas
42600f8bec
Fix Storybook rendering of body element
2023-04-19 13:38:23 +01:00
Thibaud Colas
8f797266d2
Change the width of the minimap
2023-04-18 15:58:07 +01:00
Thibaud Colas
cd867ec952
Make sure link text conveys they can be used to expand minimap
2023-04-18 15:58:07 +01:00
Thibaud Colas
fdf930e49f
Implement nicer hover styles for side panel resizing
2023-04-18 15:58:07 +01:00
Thibaud Colas
6a8096bdb8
Reveal section on minimap click
2023-04-18 15:58:07 +01:00
Thibaud Colas
1c27af0618
Move the minimap to be next to side panels
2023-04-18 15:58:07 +01:00
Thibaud Colas
caf78e1ce9
Make the minimap store its state between page reloads
2023-04-18 15:58:07 +01:00
Thibaud Colas
64058647ec
Update resize icon in side panels
2023-04-18 15:58:07 +01:00
Thibaud Colas
79df3f8f01
Fix minimap overlapping with footer actions on mobile
2023-04-18 15:58:07 +01:00
Thibaud Colas
78eb3d5844
Always set Sass output to expanded so CSS process is identical in dev and prod builds ( #10347 )
2023-04-18 15:32:05 +01:00
LB Johnston
dd2a21bad1
Allow blocking redirect in Stimulus Action controller #10035
...
- If values were false/empty string, it would fall back to the event value
- Instead, ensure that the custom event details OR the param can be used to override this and stop redirection
2023-04-18 15:38:41 +10:00
Karl Hobley
7f297cd019
Update comment list positioning so that they slide in/out with the sidebar ( #8345 )
2023-04-18 00:58:14 +01:00
Aadi jindal
ed58c692ca
Allow Action controller to trigger a redirect
...
- Migrate site switcher to use Stimulus approach via w-action
- Closes #10035
2023-04-18 08:30:22 +10:00
Suyash Srivastava
39fa706ff2
Update ActionController with a click method
...
- Partial change towards #10167
2023-04-18 08:04:01 +10:00
Suyash Srivastava
e72e454ba5
Migrate autosize jQuery to stimulus controller w-autosize
...
- Closes #10170
2023-04-18 05:41:00 +10:00
Lovelyfin00
cc23aa6be7
Migrated initDismissibles to a Stimulus controller w-dismissible
...
- Closes #10166
2023-04-17 23:27:24 +10:00
LB Johnston
39dfa020fe
Rename initDismissible to DismissibleController
2023-04-17 23:27:24 +10:00
Albina
935d29e2f5
Accessibility checker outlines feature ( #10176 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-17 09:59:55 +01:00
Thibaud Colas
a13af28aac
Fix spacing of TableBlock fields
2023-04-17 09:28:16 +01:00
Thibaud Colas
aa7ce61cef
Revise alignment, position, size of StreamField/InlinePanel/RichTextField "Add" buttons
2023-04-17 09:28:16 +01:00
Thibaud Colas
9f47052150
Add target StreamField / InlinePanel nesting highlighting effect with :has
2023-04-17 09:28:16 +01:00
Thibaud Colas
f0a5a16bf6
Implement correct indentation of StreamField and InlinePanel with nesting
2023-04-17 09:28:16 +01:00
Thibaud Colas
859d59b765
Implement vertical alignment of field inputs and panels
2023-04-17 09:28:16 +01:00
Thibaud Colas
9f23b19b17
Rework type scale according to latest designs
2023-04-17 09:28:16 +01:00
Thibaud Colas
e0f9014c91
Add missing w-field__help class to other field markup implementations
2023-04-17 09:28:16 +01:00
Thibaud Colas
b307549e3c
Use an SVG icon for rich text horizontal line
2023-04-14 08:38:01 +01:00
Thibaud Colas
6866293d4e
Styling tweaks for new icons
2023-04-14 08:38:01 +01:00
Thibaud Colas
93732690a3
Update icon visuals to FontAwesome 6, with deprecation warnings for removed icons
2023-04-14 08:38:01 +01:00
Hanoon
70a6230a65
Migrate submit translation bulk toggle to Stimulus Controller (w-bulk)
...
- Closes #10247
- adding BulkController files and removing {% block extra_js %} from submit_translation.html
- add unit tests for new controller
- partial work on CSP compliance #7053
2023-04-13 22:28:17 +10:00
Thibaud Colas
5ffb48a015
Convert workflow and page listing icons to SVG
2023-04-12 11:51:00 +01:00
Thibaud Colas
b3ecfabf64
Earmark icon font setup scheduled for deletion in Wagtail 6.0
2023-04-12 11:51:00 +01:00
LB Johnston
1532eedf20
Ensure datetimepicker widget overlay shows over modals
...
- Update to the exact same z-index as the modal
- Fixes #3604
2023-04-01 01:00:22 +01:00
Thibaud Colas
f82ff1e22c
Move help text above all form fields ( #10302 )
...
* Move all help text above fields
* Adjust vertical spacing of form fields and panels
* Move the page title’s help text below the field
* Release notes
2023-03-31 17:05:20 +01:00
Thibaud Colas
e1861978eb
Always display StreamField "Add" buttons
2023-03-30 00:14:03 +01:00
Thibaud Colas
6b32591c85
Always show StreamField and InlinePanel nesting guide lines
2023-03-30 00:14:03 +01:00
Thibaud Colas
9855382a62
Always show StreamField and InlinePanel block actions
2023-03-30 00:14:03 +01:00
Thibaud Colas
978d62122c
Convert form submissions listings to use the same ordering icons as other listings
2023-03-29 13:20:23 +01:00
Thibaud Colas
e8ead77b7a
Remove dead styles from legacy dropdown
2023-03-29 13:20:23 +01:00
Thibaud Colas
620f4ee11f
Convert add multiple thumbnail icon to SVG
2023-03-29 13:20:23 +01:00