Commit 3c89fd8
feat: add support for React 18 (#2965)
* build: add React18 Support (#2682)
* build: add React18 Support
Update packages dependencies to include React v18
* refactor: add PropsWithChildren pros
Add React.PropsWithChildren for compatibility with React v18
* chore: update React version on missing packages
* fix: added newer proptypes types (react 18) (#3)
* refactor(yarn.lock): update yarn.lock file
* chore: update eslint and React versions
* chore: fixing eslint issues
* WIP: Fix react fc typings (#5)
* fix: un-needed React.FC typing with no children
* fix: removing unknown from interface PropsWithChildren as not needed
* fix: types on the rest of the files
* fix(components): radio and button-group React18 fix
* fix: update React app tests
Co-authored-by: Pablo Espinosa <[email protected]>
* chore: upgrade react-helmet types
* [AIONAPFMWK-174]: refactor react-uid & React 18 useId (#2903)
* chore: added useUIDSeed custom using React useId method
(cherry picked from commit d39cdc9)
* fix: update yarn.lock file
* fix: react type version and include prop-type types (#2913)
* chore: upgraded @react-spring (#2914)
* fix: fix functionality of useUIDSeed and update tests (#2917)
* [AIONAPFMWK-170] Types Fix (#2915)
* chore: WIP updates on react 18 (#2868)
* chore: upgrade emotion libs
* chore: upgrade react-spring for animation lib
This reverts commit 62d59e8.
* chore: remove obsolete react imports
* chore: remove more react imports
* chore: fix types in TableOfContentsList (Scrollspy)
* chore: disable eslint rule for react imports
* chore: fix lint error
* chore: auto-fix lint warnings
* chore: removing un-used imports
Co-authored-by: Eirini Pappa <[email protected]>
Co-authored-by: Eirini Pappa <[email protected]>
* fix: added back missing import (#2921)
* chore: update Storybook to v7 and use Vite (#2895) (#2922)
* chore: update to Storybook v7
* chore: remove old babel plugins
* chore: update to use vite
* fix: address build issue
* refactor: use TypeScript for SB files
* fix: gets builds to work
* fix: disable Chromatic on gatsby stories
* fix: mock gatsby exports
* refactor: output generic tokens as esm
* chore: add changeset
* ci: bump memory
* fix: remove barrel imports of prop-types
* fix: chat-log story structure
* chore: update changeset
* chore: update storybook
* docs: add comments
* fix: get env vars properly in vite
* fix: set profiling alias properly
* chore: update changeset
* chore: use separate changeset for tokens
* chore: include mainFields
* fix: only set mainFields for dev
* chore: remove flag
* fix: adjust test-storybook
* fix: wait for SB to load
* chore: delete empty package.json
* fix: don't use mainFields for test-runner
Co-authored-by: Robert Niznik <[email protected]>
* fix: react 18 - fix reakit ssr issues with portals (#2926)
* fix: reakit ssr issues with portals
* chore: more detailed comments at top of reakti Portal file
* chore: remove unecessary exports from reakit library
* feat/react 18 fix tests for 16 and 17 (#2929)
* fix: broken tests with jest
* fix: update all '@testing-library/react-hooks' imports
* build: create new test directory with util methods to help with jest tests
* chore: linting update on test files
* chore: empty commit to test pipelines
* chore: re-introduce button tests
* chore: minor update to test pipelines
* fix: remove cache from pipelines
* fix: async issues with tooltip tests
* fix: additional async tests added for updated userEvent methods
* chore: trigger pipelines with empty commit
* fix: resolve remaining tests for react 18
* fix: re-introduce react import on paste-website files
* fix: increase timeout on failing test
* chore: split composable cell test into smaller tests
* fix: address issues with user event and fix root.render errors
* fix: react-dom tests
* chore: fix test using reactUID
* chore: add react 17 tests to github workflow
* chore: update comments and create react-dom monkey patch
* fix: fix broken tests from react dom patch
* chore: update react-dom helper method for tests
* chore: remove async from synchronous test
* chore: linting updates on tests
* feat: add react 18 as dependency on new components (#2941)
* fix: add react 18 as dependency on new packages
* fix: add disclaimer at top of yarn lock
* chore: upgrade react and react-router-dom in cra template (#2944)
* chore: ignore tsx check on react imports marked as unused (#2945)
* fix: AIONAPFMWK-171: fix Hydration issues SSR on Paste Remix (#2933)
* fix: betaBadge to show modal on useEffect, fixes hydration problem
* fix: storybook quiet mode script introduced here #230
* fix: prevent select showing options server-side which leads to hydration issues
* fix: using styled on Nextjs Link component (hydration issue)
* revert: adam fix reakit Portal #2926
* fix: use @niznikr/reakit for portal fix
* chore: update prettier format
* fix: get gatsby to build
* fix: update lockfile
* fix: delete old changesets
* fix: address dep issue
* fix: update snapshot
* fix: update comment style
* fix: ignore lint issues for patches
* chore: updates from rebase
* chore: upgrade to next 13 to fix hydration errors
* chore: fix date rendering
* chore: add changeset
* chore: add sharp
* chore: fix dep pins
* chore: remove resolution
* chore: pin versions
* chore: undo mock changes
* chore: update lock
* chore: update changeset
* chore: update forked reakit
* ci: wait for docsearch render
* fix: correct copy button double render
* ci: bump wait for double render
* chore: update reakit to include popover render fix
* chore: add changeset
* chore: switch to twilio namespaced reakit fork
* chore: new website image fix to be updated to next 13
* chore: update upgrade-guide.mdx
* fix: missing props with children type conversion
---------
Co-authored-by: Andrea Z <[email protected]>
Co-authored-by: Pablo Espinosa <[email protected]>
Co-authored-by: Andrea Z <[email protected]>
Co-authored-by: adamb-92 <[email protected]>
Co-authored-by: Eirini Pappa <[email protected]>
Co-authored-by: Eirini Pappa <[email protected]>
Co-authored-by: Si Taggart <[email protected]>
Co-authored-by: TheSisb <[email protected]>1 parent dbd9bf9 commit 3c89fd8
File tree
480 files changed
+2894
-2093
lines changed- .changeset
- .github/workflows
- .storybook
- .vscode
- cypress/support/commands
- internal-docs/engineering/doc-site
- packages
- paste-core
- components
- alert-dialog
- stories
- alert
- anchor
- avatar
- src
- badge
- __tests__
- src
- stories
- base-radio-checkbox
- breadcrumb
- __tests__
- src
- button-group
- button
- src
- stories
- callout
- __tests__
- stories
- card
- chat-composer
- __tests__
- src
- stories
- chat-log
- __tests__
- stories/components
- checkbox
- __tests__
- code-block
- __tests__
- src
- combobox
- __tests__
- src
- multiselect
- singleselect
- stories
- data-grid
- __tests__
- src
- utils
- stories/components
- date-picker
- stories
- description-list
- detail-text
- disclosure
- __tests__
- src
- stories
- display-heading
- display-pill-group
- stories
- file-picker
- file-uploader
- form-pill-group
- __tests__
- src
- stories
- form
- heading
- help-text
- inline-code
- inline-control-group
- stories
- input-box
- src
- FauxInput
- stories
- input
- label
- src
- list
- minimizable-dialog
- __tests__
- src
- stories
- modal
- __tests__
- stories
- pagination
- src/PaginationArrow
- stories
- paragraph
- popover
- src
- stories
- radio-button-group
- radio-group
- __tests__
- screen-reader-only
- select
- __tests__
- src
- separator
- side-modal
- __tests__
- src
- skeleton-loader
- stories
- spinner
- stories
- switch
- table
- stories
- tabs
- __tests__
- src
- stories
- textarea
- stories
- time-picker
- stories
- toast
- __tests__
- src
- stories
- tooltip
- __test__
- src
- stories
- truncate
- core-bundle
- layout
- aspect-ratio
- flex
- grid
- media-object
- stack
- __tests__
- primitives
- box
- __fixtures__
- stories
- combobox
- __tests__
- stories
- disclosure
- stories
- listbox
- modal-dialog
- stories
- non-modal-dialog
- sibling-box
- src
- tabs
- text
- __fixtures__
- stories
- tooltip
- paste-cra-template
- template/src
- components
- pages
- paste-customization
- __tests__
- src
- types
- stories
- paste-icons
- paste-libraries
- animation
- clipboard-copy
- data-visualization
- __test__
- dropdown
- lexical
- src
- react-textarea-autosize
- reakit
- src
- Popover
- styling
- syntax-highlighter
- uid
- src
- stories
- paste-nextjs-template
- pages
- paste-style-props
- paste-theme-designer
- components
- layout/editor-wrapper
- preview
- token-option
- topbar
- pages
- paste-theme
- __tests__
- src
- stories
- paste-token-contrast-checker
- src
- components
- pages
- paste-types
- paste-utils
- __tests__
- paste-website
- src
- __tests__
- assets/illustrations
- component-examples
- filter-group
- components
- components
- Roadmap
- breadcrumb
- codeblock
- color-swatch
- component-overview-table
- component-status
- customization-landing-page
- LandingPageDesigner
- image-slider
- empty-state
- homepage
- icons-list
- icons
- images
- open-graph-card
- page-components/customization/customization-provider
- paste-mdx-provider
- shortcodes
- feedback-popover
- generic-header
- live-preview
- normalized-component-header
- normalized-pattern-header
- package-status-legend
- table-of-contents
- site-wrapper
- sidebar
- sidebar-disclosure
- site-header
- tokens-list
- token-card
- token-example
- word-list
- layouts
- pages
- blog
- components
- anchor
- avatar
- card
- core
- foundations/data-visualization
- patterns/button-vs-anchor
- styles
- stories
- tools
- build
- __fixtures__/random_package/src
- __tests__
- __snapshots__
- plop-templates
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
480 files changed
+2894
-2093
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 | + | |
| 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 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
206 | 254 | | |
207 | 255 | | |
208 | 256 | | |
| |||
229 | 277 | | |
230 | 278 | | |
231 | 279 | | |
232 | | - | |
| 280 | + | |
233 | 281 | | |
234 | 282 | | |
235 | 283 | | |
236 | 284 | | |
237 | 285 | | |
238 | 286 | | |
239 | 287 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
243 | 292 | | |
244 | 293 | | |
245 | 294 | | |
| |||
This file was deleted.
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments