Commit Graph

5333 Commits

Author SHA1 Message Date
Dave Pearson
8925a0bf90 Merge pull request #1837 from davep/bug/1836/selector-continue
Allow numbers in descendant-combined type selectors (fix #1836)
2023-02-20 21:37:17 +00:00
Will McGugan
2f0918478b missed pop 2023-02-20 21:33:50 +00:00
Dave Pearson
e666ee7286 Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:25:12 +00:00
Dave Pearson
e8e00b1920 Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:25:03 +00:00
Dave Pearson
8ec13c3aba Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:24:48 +00:00
Will McGugan
7d9ef17b10 changelog 2023-02-20 20:51:15 +00:00
Will McGugan
283e034093 changelog 2023-02-20 20:49:06 +00:00
Will McGugan
9045f13837 context syntax 2023-02-20 18:03:36 +00:00
Will McGugan
dfbd933987 Return self 2023-02-20 17:47:32 +00:00
Will McGugan
aaf9431e6d nesting fix 2023-02-20 17:04:00 +00:00
Will McGugan
bd2bbc1625 Allow nesting 2023-02-20 16:49:17 +00:00
Will McGugan
5532075130 remove bool 2023-02-20 16:29:41 +00:00
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