0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
Commit Graph

179 Commits

Author SHA1 Message Date
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
Thibaud Colas
14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00
LB Johnston
dc8fdeb11e update browserslist - not ie 11 2022-03-02 20:16:03 +10:00
Steve Stein
3bf9b65c06
Tailwind package setup (#8003)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-27 16:08:38 +00:00
Thibaud Colas
d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
Thibaud Colas
3aae7d0583 Add base pattern library setup with Storybook 2022-02-24 21:22:45 +10:00
Thibaud Colas
939fa98ef0 Move storybook configuration to a dotless folder, for linting 2022-02-24 21:22:45 +10:00
Thibaud Colas
e2b30c1690 Remove ESLint --max-warnings mistakenly added back in #7876 2022-02-23 10:39:46 +00:00
Thibaud Colas
33c5216cbd Remove unused postcss-calc 2022-02-15 16:31:57 +00:00
Thibaud Colas
d2d4651853 Remove polyfills only installed for IE11 2022-02-15 16:31:57 +00:00
LB (Ben Johnston)
f2257acc2e
Remove dateformat library usage (#7907). Fix #7904
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-04 14:13:48 +00:00