Commit 56d961f
authored
[wb1812.3.migratewb] Migrate Wonder Blocks off old id providers (#2391)
## Summary:
This is the last piece in the first batch of work. This migrates all Wonder Blocks components off our old ID providers and onto the new `Id` component.
There are also some documentation tweaks to make the deprecation clearer in our stories, since that's some primary documentation for folks.
With this PR, we can cut a release and then begin updating consumer repos accordingly. First, to include this update, then to migrate them off the old ways and onto the new.
### Release process:
Once this small stack of PRs are landed and released, the following PRs need to be updated with that release, then landed/deployed:
- Perseus: Khan/perseus#2007
- Webapp
- Khan/webapp#28105
- Khan/webapp#28127
Issue: WB-1812
## Test plan:
`yarn test`
`yarn typecheck`
`yarn start:storybook`
Author: somewhatabstract
Reviewers: jandrade, somewhatabstract
Required Reviewers:
Approved By: jandrade
Checks: ⌛ Lint / Lint (ubuntu-latest, 20.x), ⌛ Check build sizes (ubuntu-latest, 20.x), ⌛ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 20.x), ⌛ Publish npm snapshot (ubuntu-latest, 20.x), ⌛ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ⏭️ Chromatic - Skip on Release PR (changesets), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x), ✅ gerald, ⏭️ dependabot
Pull Request URL: #23911 parent 897686b commit 56d961f
File tree
34 files changed
+259
-292
lines changed- .changeset
- __docs__
- wonder-blocks-core
- wonder-blocks-timing
- packages
- wonder-blocks-accordion/src/components
- wonder-blocks-core/src/components
- wonder-blocks-dropdown/src/components
- __tests__
- wonder-blocks-form/src/components
- __tests__
- wonder-blocks-modal/src/components
- wonder-blocks-popover/src/components
- wonder-blocks-search-field/src/components
- __tests__
- wonder-blocks-switch/src/components
- wonder-blocks-testing/src/harness/adapters/__tests__
- wonder-blocks-tooltip/src/components
- __tests__
34 files changed
+259
-292
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
| 54 | + | |
56 | 55 | | |
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
210 | 209 | | |
211 | 210 | | |
212 | | - | |
| 211 | + | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 7 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
| 910 | + | |
| 911 | + | |
915 | 912 | | |
916 | 913 | | |
917 | 914 | | |
| |||
929 | 926 | | |
930 | 927 | | |
931 | 928 | | |
| 929 | + | |
932 | 930 | | |
933 | 931 | | |
934 | 932 | | |
| |||
945 | 943 | | |
946 | 944 | | |
947 | 945 | | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
| 946 | + | |
952 | 947 | | |
953 | 948 | | |
954 | 949 | | |
| |||
1007 | 1002 | | |
1008 | 1003 | | |
1009 | 1004 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
| 1005 | + | |
1014 | 1006 | | |
1015 | 1007 | | |
1016 | 1008 | | |
| |||
1035 | 1027 | | |
1036 | 1028 | | |
1037 | 1029 | | |
1038 | | - | |
| 1030 | + | |
1039 | 1031 | | |
1040 | 1032 | | |
1041 | 1033 | | |
| |||
1058 | 1050 | | |
1059 | 1051 | | |
1060 | 1052 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
| 1053 | + | |
1065 | 1054 | | |
1066 | 1055 | | |
1067 | 1056 | | |
| |||
Lines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1828 | 1828 | | |
1829 | 1829 | | |
1830 | 1830 | | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
| 1831 | + | |
1835 | 1832 | | |
| 1833 | + | |
1836 | 1834 | | |
1837 | 1835 | | |
1838 | 1836 | | |
| |||
1849 | 1847 | | |
1850 | 1848 | | |
1851 | 1849 | | |
| 1850 | + | |
1852 | 1851 | | |
1853 | 1852 | | |
1854 | 1853 | | |
| |||
1866 | 1865 | | |
1867 | 1866 | | |
1868 | 1867 | | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
| 1868 | + | |
1873 | 1869 | | |
| 1870 | + | |
1874 | 1871 | | |
1875 | 1872 | | |
1876 | 1873 | | |
| |||
1930 | 1927 | | |
1931 | 1928 | | |
1932 | 1929 | | |
1933 | | - | |
1934 | | - | |
1935 | | - | |
1936 | | - | |
| 1930 | + | |
1937 | 1931 | | |
1938 | 1932 | | |
1939 | 1933 | | |
| |||
1983 | 1977 | | |
1984 | 1978 | | |
1985 | 1979 | | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
| 1980 | + | |
1990 | 1981 | | |
1991 | 1982 | | |
1992 | 1983 | | |
| |||
0 commit comments