Commit Graph

5321 Commits

Author SHA1 Message Date
Will McGugan
3d1b3ce7e9 syntax 2023-02-20 16:29:03 +00:00
Will McGugan
c3e84ab9d0 context 2023-02-20 16:27:24 +00:00
Will McGugan
14bbe0445e context compose 2023-02-20 16:26:12 +00:00
Will McGugan
347b94a0fe changelog 2023-02-20 16:16:10 +00:00
Dave Pearson
adca897b44 Add a RadioSet.Changed message 2023-02-20 16:09:58 +00:00
Dave Pearson
3ee35f64d1 Add properties for getting the current pressed button
Either the index of the button (because the caller might be using the
radioset as a menu of sorts, which maps to some other vector-like
structure), or the button itself.
2023-02-20 15:09:08 +00:00
Dave Pearson
fe1261c1ba Tidy up a comment 2023-02-20 15:03:17 +00:00
Dave Pearson
8d63af16ed Ensure a button is pressed on startup 2023-02-20 15:02:22 +00:00
Dave Pearson
54d59ef9af Further explain why we keep an internal list of buttons 2023-02-20 14:27:08 +00:00
Dave Pearson
063e815581 Add a preflight check that all buttons are of a type we can handle 2023-02-20 14:10:05 +00:00
Dave Pearson
6eb2fde70e Add the usual set of widget parameters to the RadioSet 2023-02-20 13:56:48 +00:00
Dave Pearson
791bf124c2 Add missing type annotation 2023-02-20 13:47:55 +00:00
Dave Pearson
9e6cb76e1f Add missing type annotation 2023-02-20 13:47:31 +00:00
Dave Pearson
f97194a64b Add missing type annotation 2023-02-20 13:46:50 +00:00
Dave Pearson
cd3a47b335 Swap to using a button change event for radio switching
This means that a developer can toggle any of the buttons in the set under
the hood and the set should respond accordingly.
2023-02-20 13:32:20 +00:00
Dave Pearson
594c1faad6 Start fleshing out a RadioSet widget
Much more to do with this, but I just wanted to get a feel for the core
working.
2023-02-20 11:51:29 +00:00
Dave Pearson
bf727fcb9f Add a selected message to the toggle button
While the user will often want to know when the value of a toggle button has
changed, it will be useful for them to also optionally know which toggle
button has caused a change to happen. This will become handy when we do a
radio set control.
2023-02-20 11:49:56 +00:00
Dave Pearson
122457a08a Swap the radio button to using a circular character for the inner 2023-02-20 11:12:40 +00:00
Dave Pearson
fb32e53e52 Swap the checkbox to using an actual check mark 2023-02-20 11:12:24 +00:00
Dave Pearson
7da9cbe2ac Add some initial component classes
This might be enough actually, still need to think on this some more. There
is another issue to think though here too. I'm leaning heavily on a base
"toggle" button class from which the checkbox and the radio button derive.
This makes a lot of sense -- they're so similar that it doesn't really make
sense to do it another way.

But... component classes lean on a common prefix; and I can't see an obvious
way of declaring component classes based off the owning class name; not at
the moment anyway. Perhaps I can make that work.
2023-02-20 10:49:02 +00:00
Dave Pearson
f785a51769 Add combined type CSS parsing tests 2023-02-20 10:08:02 +00:00
Dave Pearson
6f4dde42de Merge branch 'main' into toggle-boxen 2023-02-20 08:39:41 +00:00
Will McGugan
ebfced603b micro op 2023-02-20 08:20:43 +00:00
Will McGugan
9b9c878dad micro optimization 2023-02-19 22:28:23 +00:00
Will McGugan
52e522b2e8 test 2023-02-19 22:26:07 +00:00
Will McGugan
d18c794e69 call compute on demand 2023-02-19 22:24:28 +00:00
Will McGugan
433e371dc9 changelog and snapshots 2023-02-19 10:05:37 +00:00
Will McGugan
9b81e59ff8 Merge branch 'optimize-scroll' into batch-update 2023-02-19 10:02:50 +00:00
Dave Pearson
b340c27d6a Update the CHANGELOG 2023-02-19 09:49:40 +00:00
Dave Pearson
55b36ff109 Merge branch 'main' into bug/1836/selector-continue 2023-02-19 09:48:21 +00:00
Dave Pearson
956fd8b114 All numbers in continued selectors
See #1836.
2023-02-19 09:46:47 +00:00
Will McGugan
a63d07f619 enhanced ordered list 2023-02-19 09:18:26 +00:00
Will McGugan
434e6178d3 list item style 2023-02-18 23:25:17 +00:00
Will McGugan
de86b564bb styling for list items 2023-02-18 23:19:43 +00:00
Will McGugan
5a6d718344 list item improvements 2023-02-18 23:15:15 +00:00
Will McGugan
104f784a20 extra space around hr 2023-02-18 22:48:49 +00:00
Will McGugan
c3e5e0490c remove log 2023-02-18 22:46:43 +00:00
Will McGugan
724e0e3f58 Markdown and dictionary example 2023-02-18 22:43:13 +00:00
Will McGugan
665efa2d05 error handling in dictionary 2023-02-18 18:01:25 +00:00
Will McGugan
b6272a3b59 fix dictionary example going down 2023-02-18 17:57:48 +00:00
Will McGugan
463ff3fa8b fix horizontal scroll 2023-02-18 15:20:09 +00:00
Will McGugan
f94f6e4ba4 remote test code 2023-02-18 15:02:14 +00:00
Will McGugan
040e8c941a better thumb math 2023-02-18 14:55:42 +00:00
Will McGugan
017500e76a Merge branch 'optimize-scroll' into scroll-thumb 2023-02-18 12:55:06 +00:00
Will McGugan
16288bd145 Merge branch 'main' into optimize-scroll 2023-02-18 12:54:42 +00:00
Will McGugan
efdfc3846c Merge branch 'optimize-scroll' into scroll-thumb 2023-02-18 12:53:00 +00:00
Will McGugan
e143af1d3c speed up shutdown 2023-02-18 10:46:42 +00:00
Will McGugan
4d1a3a5dc9 speed up shutdown 2023-02-18 10:42:42 +00:00
Will McGugan
ff65748992 comment on test 2023-02-18 10:24:45 +00:00
Will McGugan
b9375c5a14 Added test for batch update 2023-02-18 10:22:29 +00:00