Commit graph

48 commits

Author SHA1 Message Date
H. C. Kruse 70a0a139d8
feat: Add option for unscoping the css 2023-02-10 11:15:07 +01:00
H. C. Kruse 3bc0ca4d97
Merge tag 'v1.1.2' into develop
dist: Release v1.1.2

This release changes the composer namespace
2023-01-29 17:07:38 +01:00
H. C. Kruse 46caba3e1b
Merge branch 'release/v1.1.2' 2023-01-29 17:07:21 +01:00
H. C. Kruse e1d65c7593
dist: Bump version 2023-01-29 17:07:09 +01:00
Hannes dcc4fd7b9f
refactor: Remove 1.39 check 2023-01-23 14:03:27 +01:00
Hannes e6cb46f4a6
Merge tag 'v1.1.1' into develop
dist: Release v1.1.1

THIS RELEASE BUMPS THE REQUIRED MW VERSION TO 1.39
2023-01-14 21:23:36 +01:00
Hannes 51a4c81b04
Merge branch 'release/v1.1.1' 2023-01-14 21:23:16 +01:00
Hannes 3aaad533c6
dist: Release v1.1.1
THIS REQUIRES MW1.39!

This is mainly a bugfix release for MW 1.39
2023-01-14 21:23:07 +01:00
H. C. Kruse ff7ae0ef3d
Merge pull request #9 from Universal-Omega/patch-1
Fix support for MediaWiki 1.39+ / css-sanitizer 4.0.0+
2022-11-03 19:01:30 +00:00
CosmicAlpha 1c5862b601
Fix support for MediaWiki 1.39+ / css-sanitizer 4.0.0+
In css-sanitizer 4.0.0, `MatcherFactory::cssSingleTimingFunction()` was renamed to `cssSingleEasingFunction()`. Therefore, since TemplateStyles on MediaWiki 1.39 uses css-sanitizer 4.0.0, it causes a fatal.
2022-11-03 11:13:38 -06:00
Hannes bc9af680cf
Merge branch 'master' into develop 2022-09-30 15:40:37 +02:00
Hannes c3a5cb4469
Merge branch 'master' of github.com:octfx/mediawiki-extensions-TemplateStylesExtender 2022-09-30 15:40:30 +02:00
Hannes acb8794ee1
Merge tag 'v1.1.0' into develop
dist: Release v1.1.0

This release implements:
- revert and revert layer
- clamp (only for (min/max-)height/width
- mask-image
- aspect-ratio
2022-09-30 15:39:57 +02:00
Hannes b91a311f2f
Merge branch 'release/v1.1.0' 2022-09-30 15:37:45 +02:00
Hannes b0ee7ae4eb
dist: Release v1.1.0 2022-09-30 15:37:22 +02:00
Hannes ff9dd2ede6
feat: Add support for aspect-ratio
NOTE: using `--var` as a substitute for a number is currently NOT supported.

Implements #8
2022-09-30 15:36:11 +02:00
Hannes 477ce7aa99
refactor: Use new TemplateStyles namespace 2022-05-28 18:02:27 +02:00
Hannes 22e68465c7
feat: Partly implement clamp()
Fixes #5

Note: This only covers `(min/max-)height`, `(min/max-)width`
2022-05-08 22:48:05 +02:00
Hannes 0a0dd88e6e
feat: Add webkit mask image prefix
`mask-image` is already implemented, fixes #3
2022-05-08 22:05:32 +02:00
Hannes 15b23983d6
feat: Add revert and revert-layer keywords
Implements #6
2022-05-08 21:39:27 +02:00
Hannes 7d69cb378c
Merge tag 'v1.0.2' into develop
dist: Release v1.0.2

Bugfixes CSS wide keywords like 'inherit'
2021-09-06 17:31:21 +02:00
Hannes aaf3b3a08b
Merge branch 'release/v1.0.2' 2021-09-06 17:31:04 +02:00
Hannes 1f05b67361
dist: Release v1.0.2 2021-09-06 17:30:57 +02:00
Hannes dcc5228bd9
bug: Fix css wide keywords 2021-09-06 17:29:57 +02:00
Hannes 192ab98753
Merge tag 'v1.0.1' into develop
Release v1.0.1

This is a bugfix release, fixing css var declarations
2021-07-19 19:38:44 +02:00
Hannes aefe659761
Merge branch 'release/v1.0.1' 2021-07-19 19:38:24 +02:00
Hannes fcbffe51d6
dist: Release v1.0.1 2021-07-19 19:38:14 +02:00
Hannes 4fe8910a35
bug: Fix declaring css vars 2021-07-19 19:30:28 +02:00
Hannes fe4ff8d5cb
Merge tag 'v1.0.0' into develop
Release v1.0.0
2021-07-19 14:09:49 +02:00
Hannes 1cdb4732d6
Merge branch 'release/v1.0.0' 2021-07-19 14:09:30 +02:00
Hannes fc9c739912
dist: Release v1.0.0 2021-07-19 14:09:25 +02:00
Hannes 37e873bdd0
feat: Add css var declarations 2021-07-19 12:41:06 +02:00
Hannes e286af5b2d
feat: Allow to disable the var matcher 2021-05-21 21:51:31 +02:00
Hannes ec064f083e
feat: Add matcher for pointer-events 2021-05-21 21:51:07 +02:00
Hannes 84035c3c25
config: Raise required php version to >=7.3.1 2021-03-26 09:29:17 +01:00
Hannes 6cd9888ade
bug: Fix matching of rules like '1px solid var( --color )' 2021-03-24 09:25:26 +01:00
Hannes c1361dcfba
config: Change type to parserhook
So that it is displayed below TS
2021-03-23 20:16:00 +01:00
Hannes f5b122aaed
doc: Update comments 2021-03-20 09:25:22 +01:00
Hannes fdabcb7384
refactor: CSS Var matcher 2021-03-20 09:03:23 +01:00
Hannes 932bda9ebb
refactor: Var matcher 2021-03-20 08:12:52 +01:00
Hannes 1e7439f246
feat: Add prefers-color-scheme rule 2021-03-19 22:48:47 +01:00
Hannes 91610a8c7b
bug: Fix matching !important with css vars 2021-03-19 21:57:10 +01:00
Hannes c605dd1119
bug: Fix regex matcher for var names 2021-03-19 21:48:41 +01:00
H. C. Kruse f5793b75a9
Merge pull request #1 from alistair3149/patch-message
Update description to link to TemplateStyles page
2021-03-19 21:42:57 +01:00
Hannes 7b24e89d7e
bug: Fix matching !important after var 2021-03-19 21:42:31 +01:00
Hannes 995c3ae939
feat: Implement requested tasks 2021-03-19 21:41:33 +01:00
alistair3149 995fa96dc4
Update description to link to TemplateStyles page 2021-03-19 16:30:24 -04:00
Hannes 9d3db523eb
initial commit 2021-03-19 21:00:11 +01:00