Compiling fails with antd versions 5.0.x-5.7.x, so it works only for the latest versions. Also, for more stability, it would be nice to perform additional tests with different versions of antd using tox.
Failed to compile.
Attempted import error: 'initComponentToken' is not exported from 'antd/es/input/style' (imported as 'inputHelper').
ERROR in ./node_modules/antd-phone-input/style.js 14:117-147
export 'initComponentToken' (imported as 'inputHelper') was not found in 'antd/es/input/style' (possible exports: default, genActiveStyle, genBasicInputStyle, genDisabledStyle, genHoverStyle, genInputGroupStyle, genInputSmallStyle, genPlaceholderStyle, genStatusStyle, initInputToken)
webpack compiled with 1 error
Bug description
Compiling fails with
antd
versions 5.0.x-5.7.x, so it works only for the latest versions. Also, for more stability, it would be nice to perform additional tests with different versions ofantd
using tox.Reproduction URL
https://github.com/ArtyomVancyan/antd-phone-input/tree/master/examples/antd5.x
Reproduction steps
cd examples/antd5.x
npm i && npm i antd@5.2.0
npm run build
Logs