Commit Graph

98 Commits

Author SHA1 Message Date
ade021b8a6 Update changelog 2024-01-11 17:17:52 +00:00
5b13a21a82 Set aria-hidden attribute depending on whether a title has been passed in or not 2024-01-11 17:15:51 +00:00
1b917b4cac Add attr svg file to help test aria attributes 2024-01-11 17:15:11 +00:00
440053bf4f Throw more specific exception if an svg file's contents is invalid svg code 2024-01-11 16:50:48 +00:00
a8af463c5c Add invalid svg exception 2024-01-11 16:49:32 +00:00
3f27e50c32 Add invalid svg 2024-01-11 16:49:14 +00:00
3da5e00361 Throw specific error if file is found to be empty 2024-01-11 16:22:14 +00:00
a19f1f4438 Add empty file exception 2024-01-11 16:08:18 +00:00
6e2228b835 Add empty file 2024-01-11 16:08:05 +00:00
15ee51b884 Add docblock 2024-01-11 16:07:57 +00:00
6ab2baeb4e Add a changelog 2024-01-11 16:01:50 +00:00
33892f81aa Update readme 2024-01-11 15:57:48 +00:00
bb7862c6ac Allow using a space-separated string as the value for additional classes 2024-01-11 15:57:42 +00:00
c1ac0faf78 Update readme 1.0.0 2023-06-27 11:41:57 +01:00
1d91b50c32 Set is_safe html to true 0.1.6 2023-06-27 11:33:38 +01:00
9248b51908 Try explicitly loading arguments 0.1.5 2023-06-27 11:30:19 +01:00
0e2ee19f8f Adjust config 0.1.3 0.1.4 2023-06-27 11:13:29 +01:00
6e357ee8b7 Adjust config 0.1.2 2023-06-27 10:56:06 +01:00
3df034d309 Adjust config 0.1.1 2023-06-27 10:51:46 +01:00
abfff194f5 Merge default options into user options 0.1.0 2023-06-27 10:32:08 +01:00
6cf1deb136 Pass in default array 2023-06-27 10:30:20 +01:00
03a1f033ee Pass in default options to runtime test 2023-06-27 10:30:10 +01:00
173c08b0d0 Use constants for default values 2023-06-27 10:27:28 +01:00
e97ef857ef Further refactoring 2023-06-27 10:03:22 +01:00
dbd4ccb35d Further refactoring 2023-06-27 10:01:35 +01:00
4142c24e00 Extract method 2023-06-27 09:55:42 +01:00
8b698bb3fd Use references to edit string in place 2023-06-27 09:51:26 +01:00
692789b21d Test removing current color 2023-06-27 09:36:40 +01:00
3b6a85c3b3 Remove stroke current color 2023-06-27 09:36:32 +01:00
ac6a573ce2 Change double quotes to be single quotes for further testing 2023-06-27 09:35:21 +01:00
f6443f5dff Add failing test case 2023-06-27 09:31:06 +01:00
9c2321fe3a Add stroke current color to icon svg to test removing it 2023-06-27 09:30:45 +01:00
f9e35368c0 Add return docblock type 2023-06-27 09:19:33 +01:00
6d63e2f29b Add comment 2023-06-27 09:15:13 +01:00
brabli
7b76f8f01f Add commented out code for future work 2023-06-26 21:48:08 +01:00
brabli
4ce873d15c Move braces to newline 2023-06-26 21:47:46 +01:00
brabli
f33bf7ce6a Update README 2023-06-26 21:31:22 +01:00
brabli
19076b58e1 Test default config 2023-06-26 21:31:05 +01:00
brabli
fdab83bd28 Add config to set default values 2023-06-26 21:30:55 +01:00
brabli
e3d3818b10 Inline method call 2023-06-26 21:30:41 +01:00
brabli
90a354f822 Change function to be pcm_icon instead of icon 2023-06-26 21:30:07 +01:00
Brabli
6ad58d9cfc Change method name 2023-05-31 12:19:55 +01:00
Brabli
850ba765a2 Add constant, adjust text 2023-05-31 11:56:46 +01:00
Brabli
493f0c275b Split extension into extension and runtime classes to match how the maker bundle creates twig extensions 2023-05-31 11:51:36 +01:00
Brabli
08d906260a Move exceptions to own folder 2023-05-31 11:50:32 +01:00
Brabli
ec4a730b53 Remove validation tests 2023-05-31 11:39:16 +01:00
Brabli
66276640d7 Test config 2023-05-31 11:38:58 +01:00
Brabli
b2e76dd1b3 Remove validation from extension class 2023-05-31 11:38:51 +01:00
Brabli
eec11801b0 Fix config tree issues 2023-05-31 11:38:32 +01:00
Brabli
633e4a284e Replace 'palletes' with 'colours' which is a bit more intuitive and is also spelt correctly. 2023-05-30 17:18:33 +01:00