Repository navigation
Commit 5dd4bb1
authored
feat(project): update project to use React 18 (#2661)
* chore(project): add script to set react version
* chore: add ci check for test and type-check
* chore: update workflow syntax
* chore: update install step
* chore: add fail-fast option
* chore: add types packages to set-react-version
* refactor(project): update TypeScript definitions for React 18
* chore: update slots types
* chore: add ts-ignore for package that needs to be updated for react 18
* chore: add changeset
* chore: update ActionMenu story to use React.createElement
* chore: update unused import
* test(ThemeProvider): update test to use userEvents
* test(helpers): add TextEncoder for useMedia
* test(MarkdownEditor): update tests for MarkdownEditor
* test: update TextInputWithTokens test
* test(MarkdownEditor): enable skipped tests
* chore: add spy for console.error() in test
* chore: add globals for react version
* chore: remove storybook-addon-html
* chore: update storybook deps
* chore: remove conditional install step from ci.yml
* Revert "chore: remove conditional install step from ci.yml"
This reverts commit c5778d8.
* feat(project): update to React 18 for development
* ci: update install step to use 18 by default
* chore: update lockfile
* chore: update eslint to warn on useSSRSafeId
* feat(project): add useId hook
* feat(project): update useSSRSafeId to useId
* chore: disable eslint violations
* test: map useId() to useSSRSafeId() in test
* test(storybook): update interaction tests for UnderlineNav
* chore: add changeset
* fix(PageHeader): add PropsWithChildren to ParentLinkProps
* chore: update workflow file
* chore(eslint): remove inferred type annotation
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>1 parent db0db6e commit 5dd4bb1
44 files changed
Lines changed: 26953 additions & 29203 deletions
File tree
- .changeset
- .github/workflows
- .storybook
- script
- src
- ActionList
- AnchoredOverlay
- Autocomplete
- Dialog
- FilteredActionList
- PageHeader
- Pagination
- SelectPanel
- TreeView
- __tests__
- deprecated
- ActionList
- SelectMenu
- drafts
- MarkdownEditor
- hooks
- hooks
- stories
- ActionMenu
- deprecated
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
107 | 120 | | |
108 | 121 | | |
109 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
45 | 57 | | |
46 | 58 | | |
47 | 59 | | |
48 | 60 | | |
| 61 | + | |
| 62 | + | |
49 | 63 | | |
50 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 | | |
52 | 70 | | |
53 | 71 | | |
| |||
58 | 76 | | |
59 | 77 | | |
60 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
61 | 86 | | |
| 87 | + | |
62 | 88 | | |
63 | 89 | | |
64 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | | - | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
40 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
2 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
0 commit comments