LB Johnston
23d32faf36
Update NPM packages (minor only)
2024-08-29 18:25:19 +01:00
Neeraj P Yetheendran
b0697ac0c4
Install npm mousetrap, types & update other packages
2024-04-07 21:05:28 +10:00
LB Johnston
722d3b2b3c
Upgrade build tooling to latest major versions (npm)
...
- Babel loader v9 (Node version, drop support for Webpack 4) https://github.com/babel/babel-loader/releases/tag/v9.0.0
- Copy webpack plugin (Node version only) https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v11.0.0 & https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v12.0.0
- Expose loader (Node version only) https://github.com/webpack-contrib/expose-loader/blob/master/CHANGELOG.md
- Postcss loader (Node version only) https://github.com/webpack-contrib/postcss-loader/releases/tag/v7.0.0 & https://github.com/webpack-contrib/postcss-loader/releases/tag/v8.0.0
- Sass loader (Node version, emits warnings by default) https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md
- Webpack CLI (Node version, some other breaking changes, dropping Webpack 4 support) https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%405.0.0
2024-02-20 17:01:02 +00:00
LB Johnston
7dff7ff364
Update npm dependencies (non-major)
...
- Includes updates to update-browserslist-db@latest
2024-02-20 16:54:26 +00:00
Matt Westcott
98da2e161a
Fix pre-commit versions for prettier and eslint
...
Ensure that versions are consistent between 1) what we specify in package.json; 2) the tag specified on the pre-commit mirror; 3) the package dependency line in the pre-commit config.
2024-02-20 16:54:07 +00:00
LB Johnston
d06b04c8bd
Update Eslint, Prettier, Stylelint packages & pre-commit versions
...
This un-reverts commit 99dd11510b
with fixes for Prettier mirror (it's rev must be 3.0.3 even if using a newer Prettier).
The original commit which was reverted is 5971ce7f3f
2024-02-08 15:23:48 +00:00
Matt Westcott
99dd11510b
Revert "Update Eslint, Prettier, Stylelint packages & pre-commit versions"
...
This reverts commit 5971ce7f3f
.
2024-02-07 17:12:56 +00:00
LB Johnston
5971ce7f3f
Update Eslint, Prettier, Stylelint packages & pre-commit versions
2024-02-07 16:07:50 +00:00
Aman Pandey
bf3e317a48
Migrate jQuery re-ordering to Stimulus controller w-orderable
...
- Install and use Sortable.js and not a jQuery plugin
- Set up new controller OrderableController / w-orderable
2024-01-19 08:48:48 +10:00
nandini584
e91cdb47da
Update Jest version (package.json)
2024-01-17 12:43:38 +10:00
Thibaud Colas
607f020c2d
Upgrade TypeScript dependencies for linting to support TypeScript 5.2.2
2023-12-19 15:39:49 +00:00
Thibaud Colas
e95158af73
Upgrade ts-loader
2023-12-19 15:39:49 +00:00
Thibaud Colas
b120fccba9
Simplify browserslist definition for ease of future maintenance
2023-12-19 15:39:49 +00:00
LB Johnston
416fc1dde4
Update stylelint & stylelint-config-wagtail packages
...
- Ensure that some rules are always ignored in overrides (aka vendor) styles. This avoids us having to add ignore comments all over these styles.
- Resolves #10719
2023-12-18 13:28:18 +00:00
Thibaud Colas
b7d2618d93
Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript ( #11258 )
...
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2023-12-12 10:54:41 +00:00
LB Johnston
570b9a410c
Upgrade to Node 20
2023-11-12 08:45:58 +11:00
dependabot[bot]
a1f8edc84d
Bump postcss from 8.4.30 to 8.4.31
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 22:04:39 +11:00
Matt Westcott
689c7dcbd8
Update linter versions in package.json, setup.py and pre-commit hooks
2023-09-21 17:25:08 +01:00
LB Johnston
7e3988a438
Update Stimulus to v3.2.2
...
- See https://github.com/hotwired/stimulus/releases/tag/v3.2.2
2023-08-24 17:01:56 +02:00
LB (Ben Johnston)
eb51fb28f0
Update npm packages; a11y-dialog, axe-core, js-cookie ( #10748 )
...
- a11y-dialog (changes to event callbacks did not impact our usage) - https://a11y-dialog.netlify.app/migrating-to-v8/
- axe-core (minor update with a few improvements)
- js-cookie (breaking changes only relate to converters, which we do not use) - https://github.com/js-cookie/js-cookie/releases/tag/v3.0.0
- Closes #10718
2023-08-24 16:31:29 +02:00
LB Johnston
fbde6118b7
Update npm scripts
...
- Add new stylelint fix script & generic 'fix' (all) script in npm scripts.
- Disable autofix on `stylelint-declaration-strict-value` as this requires a custom function to be created.
2023-08-02 21:03:27 +10:00
LB Johnston
614defa6f9
Update npm packages (linting/testing/formatting)
...
- Update various linting packages to align with their latest versions, including fixes.
- Update Prettier to version 3 & remove the need for trailingComma: all (this is now the default), adopt formatting changes
- Sync up Jest types with the Jest version used (missed in previous Jest upgrade) #10043 / #10598
2023-08-02 21:00:25 +10:00
LB (Ben Johnston)
c8823d62b7
Revert "Bump stylelint from 14.3.0 to 15.10.1"
...
This reverts commit 28290e8224
.
2023-07-13 18:12:20 +10:00
dependabot[bot]
28290e8224
Bump stylelint from 14.3.0 to 15.10.1
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.3.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.3.0...15.10.1 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 18:07:13 +10:00
LB Johnston
f90e03ab35
Update Jest to v29, uuid v9 & update stubs
...
- `uuid` update is required to avoid import errors - https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md#900-2022-09-05
- Add stubs for window.scrollTo to avoid console errors when running tests
- Filter out warnings for Draftail React warnings, these are unlikely to be resolved anytime soon and add noise to the Jests tests that are unhelpful
- Closes #10043
2023-07-13 07:51:26 +01:00
Suyash Srivastava
e72e454ba5
Migrate autosize jQuery to stimulus controller w-autosize
...
- Closes #10170
2023-04-18 05:41:00 +10:00
dependabot[bot]
0264e78929
Bump webpack from 5.67.0 to 5.76.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.67.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.67.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 07:23:10 +10:00
Thibaud Colas
667379f9ff
Update to latest pre-release of Draftail. Fixes #9937 , #9942 ( #10006 )
...
Fixes https://github.com/wagtail/wagtail/issues/9937
fixes https://github.com/wagtail/wagtail/issues/9942
6734075b8e
f4d955a39d
b8c0d11b7a
2023-02-03 09:48:04 +00:00
Thibaud Colas
3a7e489cdf
Add new ComboBox React component based on downshift
2023-01-19 16:57:24 +00:00
Thibaud Colas
34f6bab633
Rich text toolbar refinements from usability testing. Fix #9281 ( #9905 )
2023-01-17 17:21:45 +00:00
Albina
1e9f580b8c
Add base Axe accessibility checker integration within userbar, with error count ( #9850 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-12 12:21:58 +00:00
Thibaud Colas
d036f10e61
Remove react-axe package usage ( #9865 )
2023-01-10 11:12:19 +00:00
LB Johnston
ede189ada5
Set up initial stimulus application integration
2022-12-19 14:00:11 +00:00
xomcodes
c4910fe77b
Add jQuery types package dependency
...
- This will make it easier to work with jQuery in TypeScript
2022-11-11 08:08:39 +10:00
LB Johnston
f362377b04
update node usage to node 18
...
- fixes #8499
2022-10-28 06:18:58 +10:00
Joshua Munn
78fe000b19
Add custom jest matcher for block id duplicate tests
2022-09-06 08:08:34 +10:00
Thibaud Colas
f7ecdaaf78
Upgrade to latest Draftail RC, fixing command palette selection issue
2022-08-18 10:01:57 +01:00
Thibaud Colas
2c17d5021a
Update to latest Draftail, draftjs-filters
2022-08-10 15:15:20 +10:00
Thibaud Colas
9b0c9010bd
Update to latest Tailwind release
2022-07-20 12:08:47 +01:00
Thibaud Colas
b070ce1cd3
Add new Draftail toolbars and command palette, with new styles ( #8806 )
2022-07-13 01:35:22 +01:00
Thibaud Colas
d30eec40a8
Update to Draftail v2 alpha
2022-07-11 20:35:27 +01:00
LB Johnston
d9350bc91b
add react-dom types so that Portal is correctly recognised
2022-07-04 11:57:28 +01:00
anujaraj
8766277e44
fix issue where linting/formatting npm scripts would not work on Windows
...
- linting bug changes to allow it working for both windows and mac
- resolving linting issues for windows in lint:format to allow prettier to run
2022-06-29 11:13:13 +10:00
Steve Stein
6343a9558c
Implement new reusable dialog component with a11y-dialog ( #8541 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 15:02:32 +01:00
Thibaud Colas
7129ccefc9
Remove logical properties compatibility styles for Safari 13
...
- update caniuse-db & browserslist
- resolves #8124
2022-05-11 21:41:15 +10:00
Thibaud Colas
5fd3962d7f
Update existing stories with latest storybook-django version
2022-04-23 01:05:27 +01:00
Karl Hobley
2b1d1d0749
Add a script to extract strings from javascript
2022-04-01 17:01:26 -04:00
Steve Stein
af4c4d0653
Change slim sidebar to be fully usable in slim mode. Fix #7918 ( #8197 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
- Removing the peeking attribute so the sidebar only opens when intentionally set to expanded mode by using expand or search or account functionalities
- Adding tooltips on link item hovers
- Expanding of slim sidebar when search is clicked and when account options are clicked
2022-03-28 15:43:35 +01:00
PaarthAgarwal
ff11b9c5c6
update @wagtail/stylelint-config-wagtail npm package
...
- resolves #8121
2022-03-22 08:24:52 +10:00
Thibaud Colas
a50ebe9f83
Tailwind setup follow-up: RTL support and Windows High Contrast mode ( #8117 )
...
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2022-03-15 15:05:18 +00:00