Commit 219901c
Allow passing in your own
* accept `id` as a prop where it is currently hardcoded (React)
Continuation of #2020
Co-authored-by: Olivier Louvignes <[email protected]>
* accept `id` as a prop where it is currently hardcoded (Vue)
* update changelog
* apply React's hook rules
Co-authored-by: Olivier Louvignes <[email protected]>id prop (#2060)1 parent 7509124 commit 219901c
File tree
26 files changed
+353
-272
lines changed- packages
- @headlessui-react
- src/components
- combobox
- description
- dialog
- disclosure
- label
- listbox
- popover
- radio-group
- switch
- tabs
- @headlessui-vue
- src/components
- combobox
- description
- dialog
- disclosure
- label
- listbox
- popover
- radio-group
- switch
- tabs
26 files changed
+353
-272
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Lines changed: 23 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
661 | 660 | | |
662 | 661 | | |
663 | 662 | | |
| |||
678 | 677 | | |
679 | 678 | | |
680 | 679 | | |
681 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
682 | 688 | | |
683 | 689 | | |
684 | 690 | | |
685 | 691 | | |
686 | 692 | | |
687 | 693 | | |
688 | 694 | | |
689 | | - | |
690 | 695 | | |
691 | 696 | | |
692 | 697 | | |
| |||
931 | 936 | | |
932 | 937 | | |
933 | 938 | | |
934 | | - | |
935 | 939 | | |
936 | 940 | | |
937 | 941 | | |
| |||
949 | 953 | | |
950 | 954 | | |
951 | 955 | | |
952 | | - | |
953 | | - | |
| 956 | + | |
| 957 | + | |
954 | 958 | | |
955 | 959 | | |
956 | 960 | | |
| |||
1017 | 1021 | | |
1018 | 1022 | | |
1019 | 1023 | | |
1020 | | - | |
1021 | 1024 | | |
1022 | 1025 | | |
1023 | 1026 | | |
| |||
1048 | 1051 | | |
1049 | 1052 | | |
1050 | 1053 | | |
1051 | | - | |
| 1054 | + | |
1052 | 1055 | | |
1053 | 1056 | | |
1054 | 1057 | | |
1055 | 1058 | | |
1056 | 1059 | | |
| 1060 | + | |
| 1061 | + | |
1057 | 1062 | | |
1058 | | - | |
1059 | 1063 | | |
1060 | 1064 | | |
1061 | 1065 | | |
| |||
1068 | 1072 | | |
1069 | 1073 | | |
1070 | 1074 | | |
1071 | | - | |
1072 | 1075 | | |
1073 | 1076 | | |
1074 | 1077 | | |
| |||
1090 | 1093 | | |
1091 | 1094 | | |
1092 | 1095 | | |
1093 | | - | |
1094 | 1096 | | |
1095 | 1097 | | |
1096 | 1098 | | |
| |||
1106 | 1108 | | |
1107 | 1109 | | |
1108 | 1110 | | |
1109 | | - | |
| 1111 | + | |
| 1112 | + | |
1110 | 1113 | | |
1111 | 1114 | | |
1112 | 1115 | | |
1113 | 1116 | | |
1114 | | - | |
1115 | | - | |
1116 | 1117 | | |
1117 | 1118 | | |
1118 | 1119 | | |
| |||
1179 | 1180 | | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | | - | |
| 1183 | + | |
1183 | 1184 | | |
1184 | 1185 | | |
1185 | 1186 | | |
| |||
1193 | 1194 | | |
1194 | 1195 | | |
1195 | 1196 | | |
1196 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
1197 | 1204 | | |
1198 | 1205 | | |
1199 | 1206 | | |
1200 | | - | |
1201 | 1207 | | |
1202 | 1208 | | |
1203 | 1209 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | | - | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
Lines changed: 21 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
| |||
295 | 303 | | |
296 | 304 | | |
297 | 305 | | |
298 | | - | |
299 | | - | |
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
| |||
381 | 387 | | |
382 | 388 | | |
383 | 389 | | |
384 | | - | |
| 390 | + | |
385 | 391 | | |
386 | 392 | | |
387 | 393 | | |
388 | 394 | | |
| 395 | + | |
| 396 | + | |
389 | 397 | | |
390 | 398 | | |
391 | 399 | | |
392 | | - | |
393 | | - | |
394 | 400 | | |
395 | 401 | | |
396 | 402 | | |
| |||
404 | 410 | | |
405 | 411 | | |
406 | 412 | | |
407 | | - | |
408 | 413 | | |
409 | 414 | | |
410 | 415 | | |
| |||
427 | 432 | | |
428 | 433 | | |
429 | 434 | | |
430 | | - | |
| 435 | + | |
431 | 436 | | |
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
| 440 | + | |
| 441 | + | |
435 | 442 | | |
436 | 443 | | |
437 | 444 | | |
438 | | - | |
439 | | - | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
| |||
450 | 455 | | |
451 | 456 | | |
452 | 457 | | |
453 | | - | |
454 | 458 | | |
455 | 459 | | |
456 | 460 | | |
| |||
483 | 487 | | |
484 | 488 | | |
485 | 489 | | |
| 490 | + | |
| 491 | + | |
486 | 492 | | |
487 | 493 | | |
488 | 494 | | |
489 | | - | |
490 | | - | |
491 | 495 | | |
492 | 496 | | |
493 | 497 | | |
| |||
499 | 503 | | |
500 | 504 | | |
501 | 505 | | |
502 | | - | |
503 | 506 | | |
504 | 507 | | |
505 | 508 | | |
| |||
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
524 | | - | |
525 | 527 | | |
526 | 528 | | |
527 | | - | |
| 529 | + | |
528 | 530 | | |
529 | 531 | | |
| 532 | + | |
| 533 | + | |
530 | 534 | | |
531 | 535 | | |
532 | | - | |
533 | 536 | | |
534 | 537 | | |
535 | 538 | | |
| |||
542 | 545 | | |
543 | 546 | | |
544 | 547 | | |
545 | | - | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
| |||
0 commit comments