Commit Graph

93 Commits

Author SHA1 Message Date
darrenburns
5e64a9fb90 Introduce _typing module for version-dependent typing imports (#1088)
* Introduce _typing module for version-dependent typing imports

* Remove unused import
2022-11-01 17:13:42 +00:00
Will McGugan
ac3d756e51 unmount event 2022-10-27 17:43:02 +01:00
Darren Burns
72dff52212 Unit test for Styles.css 2022-10-07 14:38:02 +01:00
Will McGugan
314142e161 test fix 2022-09-14 10:03:46 +01:00
Will McGugan
d7eb1e21f4 test fix 2022-09-02 10:04:58 +01:00
Will McGugan
e555b8512f Default css 2022-09-02 09:56:04 +01:00
Darren Burns
4ed9e780de Merge branch 'css' of github.com:willmcgugan/textual into opacity-changes 2022-08-31 14:16:02 +01:00
Darren Burns
210214260d Renaming opacity to text-opacity in code 2022-08-31 13:39:34 +01:00
Darren Burns
45fbad2931 Merge branch 'css' of github.com:Textualize/textual into delay-transition 2022-08-30 16:07:46 +01:00
Darren Burns
779f49f858 Merge branch 'css' of github.com:Textualize/textual into delay-transition 2022-08-30 12:03:30 +01:00
Darren Burns
6ff6047417 text-align testing 2022-08-26 15:38:09 +01:00
Darren Burns
ad803a7753 Text justify has become text align 2022-08-26 15:33:42 +01:00
Darren Burns
6017bdd6d9 Merge branch 'css' of github.com:willmcgugan/textual into text-justify 2022-08-26 12:28:23 +01:00
Darren Burns
57620fee8c Test that text-justify property with empty value uses default 2022-08-26 12:28:08 +01:00
Darren Burns
a45bf58f7e Adding tests for text-justify CSS property 2022-08-26 11:34:50 +01:00
Will McGugan
b22436933a lots of docstrings 2022-08-25 09:08:35 +01:00
Darren Burns
9fe0a5f21c Add animation/transition delay support 2022-08-16 15:37:09 +01:00
Will McGugan
fa4b971bff more docs 2022-08-04 15:27:41 +01:00
Will McGugan
1abe8f933d test fixes, tests for partition 2022-07-27 15:37:33 +01:00
Will McGugan
a43cb126f5 test fix 2022-07-20 19:08:10 +01:00
Will McGugan
e0a59d0e9a fix test 2022-07-20 16:23:11 +01:00
Will McGugan
49764a3ec7 improved color harmony 2022-07-19 21:41:34 +01:00
Will McGugan
d751048350 Merge pull request #602 from Textualize/render-cache
Render cache
2022-07-05 13:27:22 +01:00
Will McGugan
0ba3ffb171 size properties 2022-07-04 21:15:24 +01:00
Darren Burns
908e2e940a Feedback from code review 2022-06-29 13:30:21 +01:00
Darren Burns
8617cbdc70 Update test over user css over widget css to show important widget css can be overridden by users too 2022-06-28 18:39:39 +01:00
Darren Burns
972aeece64 Add Specificity5 for user defined CSS 2022-06-28 17:26:18 +01:00
Darren Burns
7ebac6b860 Add wip test for user over widget css, use type alias 2022-06-28 13:52:58 +01:00
Will McGugan
2999626973 Merge branch 'css' into scroll-view 2022-06-21 10:33:29 +01:00
Will McGugan
f4c12704fe fix tests 2022-06-17 16:03:05 +01:00
Darren Burns
c9fb0f0423 Testing HSL and testing spaces in rgb(..), hsl(..) css declarations 2022-06-17 15:33:12 +01:00
Darren Burns
c4c7e537f2 Fix regex, fix some broken tests around HSL support 2022-06-17 15:33:12 +01:00
Darren Burns
be771a0fca Add extra test 2022-06-16 15:47:41 +01:00
Darren Burns
4dd0d9fae4 Add various additional tests around CSS specificity 2022-06-16 15:33:53 +01:00
Darren Burns
dc30ace121 Fix specificity ordering 2022-06-16 15:01:15 +01:00
Darren Burns
2d033d0e0f Checking empty rules 2022-06-16 14:33:27 +01:00
Darren Burns
a07f97e627 Take final rule in event of specificity clash 2022-06-16 14:32:38 +01:00
Darren Burns
2086062b56 Testing HSL and testing spaces in rgb(..), hsl(..) css declarations 2022-06-07 16:11:19 +01:00
Darren Burns
d7159d905a Fix regex, fix some broken tests around HSL support 2022-06-07 15:36:45 +01:00
Will McGugan
96c013aa39 Scroll view widget 2022-05-31 10:48:40 +01:00
Will McGugan
b806779267 Merge pull request #540 from Textualize/docs-structure
Docs Refresh
2022-05-27 12:01:25 +01:00
Will McGugan
303254f9ac test fixes 2022-05-27 10:24:32 +01:00
Olivier Philippon
159d52b0f3 [css] Fix a bug with our now-flexible scrollbars sizes
Also add test cases for it in order to prevent potential regressions on this
2022-05-25 16:33:19 +01:00
Olivier Philippon
685a2fb510 [css][scrollbar gutter] Manage the scrollbar-gutter: stable CSS property
(only for vertical content though; we may see later on if we want to also apply that logic for horizontal scrolls?)
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter
2022-05-12 10:19:46 +01:00
Olivier Philippon
aa7b19a193 [css] Address PR feedback for "Did you mean" suggestions 2022-05-11 10:45:38 +01:00
Olivier Philippon
e37036c816 [css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one 2022-05-10 11:13:38 +01:00
Darren Burns
07c14c6e64 Fix broken overflow, add regression test 2022-05-04 12:11:12 +01:00
Darren Burns
4a6b5a31f4 Merge pull request #459 from Textualize/expanded-css-hex-support
Support 3 and 4 character hex strings for colours
2022-05-04 10:23:54 +01:00
Darren Burns
568f183862 Fix test asserting that we dont support hex3 values 2022-05-03 17:32:25 +01:00
Olivier Philippon
26f138e69b [css] Address "did you mean" PR feedback 2022-05-03 15:40:06 +01:00