Commit 0c4d7ab
authored
Refine Attribute Resolution (#97)
* Wrap up low level placeholder handling into PlaceholderConfig helper class.
* Draft version of special class handling with merging and distinct sequence vs dict typing.
* Use True instead of None since we only init from literal.
* Add style equivalent to class merging.
* Remove old style processing code.
* Add mixed class types back in but without sequence nesting.
* Allow attributes created via aria dict to clear literal attributes.
* Allow attributes created via data dict to clear literal attributes.
* Move special class and style handling state and logic into helper classes.
* Expand style testing.
* Sp.
* Try to uniform design with prior processor.
* Make things *right.
* Rename to expander to accommodate allocator, pull up into main resolution.
* Re-format.
* Remove excess docstrings.
* Adjust docs, drop classnames helper.
* Ignore None to easily support passing through a kwarg with a None default.
* Allow special attributes to be None to allow pass-through from components or template functions.
* Try to add all forms to class attr smoketest.
* Restrict each class attr to either toggle or add list for now.
* Drop support for booleans in interpolated class attributes.
* Add space separated classes to smoketest.1 parent ccf05aa commit 0c4d7ab
File tree
6 files changed
+342
-246
lines changed- tdom
6 files changed
+342
-246
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | | - | |
| 136 | + | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
143 | | - | |
144 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
148 | | - | |
149 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
158 | 172 | | |
159 | 173 | | |
160 | 174 | | |
| |||
195 | 209 | | |
196 | 210 | | |
197 | 211 | | |
198 | | - | |
| 212 | + | |
199 | 213 | | |
200 | 214 | | |
201 | 215 | | |
| |||
539 | 553 | | |
540 | 554 | | |
541 | 555 | | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | 556 | | |
579 | 557 | | |
580 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments