Files
teleport/web/packages/shared/components/ButtonFileUpload
cb642ce2e3 Upgrade to React 19 (#54460)
* update package.json

* codemod scoped-jsx

* refobject-defaults

* Fix some tests

* Lint

* Move import after license comment

* Fix test types for a wrapper of Button

I couldn't get it to work when destructuring rest props, e.g.:

    const { size, children, ...buttonProps } = props;

so for now I just removed it altogether. I don't know why it works
in ForwardedAsWrapper, I suppose it has to do either with the css prop
passed to ButtonPrimary? Or maybe the forwardedAs prop accepted by
ForwardedAsWrapper?

* revert most ReactElement<any>

* Fix tests

* Remove extra useEffect from useTable

* Pass null to useRef when dealing with DOM elements

* Bring back just `ReactElement` without `<any>` where possible

* Remove defaultProps

* pnpm dedupe

* revert test and fix stories

* Import JSX in StatusInfo.tsx

---------

Co-authored-by: Grzegorz Zdunek <grzegorz.zdunek@goteleport.com>
Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
Co-authored-by: Lisa Kim <lisa@goteleport.com>
2025-05-09 14:05:15 +00:00
..
…