Commit 0170d85
committed
fix(cards): align LinkButton stable-id param to
The Wave-A Slack PR's rebase onto #153 surfaced an API inconsistency: #153 landed
LinkButton's optional stable-id param as `id_`, but Button/Select/RadioSelect all
use `id`. Align LinkButton to the `id` convention — it's keyword-only with no
real builtin-shadow issue (Button already does this; ruff's lint config does not
select flake8-builtins), and 0.4.31 is unreleased so nothing depends on `id_` yet.
Also drops this branch's duplicate jsx-runtime non-parity row (keeps #153's
canonical one) and its redundant core LinkButton tests (keeps #153's
TestLinkButtonId).id (not id_), matching Button/Select1 parent 30c6842 commit 0170d85
3 files changed
Lines changed: 13 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
655 | | - | |
656 | | - | |
657 | 655 | | |
658 | 656 | | |
659 | 657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
305 | 306 | | |
306 | 307 | | |
307 | | - | |
308 | | - | |
| 308 | + | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 17 | | |
47 | 18 | | |
48 | 19 | | |
| |||
253 | 224 | | |
254 | 225 | | |
255 | 226 | | |
256 | | - | |
| 227 | + | |
257 | 228 | | |
258 | 229 | | |
259 | 230 | | |
| |||
264 | 235 | | |
265 | 236 | | |
266 | 237 | | |
267 | | - | |
268 | | - | |
| 238 | + | |
| 239 | + | |
269 | 240 | | |
270 | 241 | | |
271 | 242 | | |
272 | 243 | | |
273 | | - | |
| 244 | + | |
274 | 245 | | |
275 | 246 | | |
276 | 247 | | |
0 commit comments