telerik/kendo-react

v6.1.1 -> v8.2.0 migration issue: Package path ./Window is not exported

szombatha opened this issue · 2 comments

I'm submitting a...

  • Bug report

Current behavior

with kendoreact v6.1.1 import WindowWithoutContext class this way (it's works fine):

import { WindowWithoutContext } from '@progress/kendo-react-dialogs/dist/npm/Window';

i try to switch kendoreact 8.2.0 but doesnt works

import { WindowWithoutContext } from '@progress/kendo-react-dialogs/Window';

got this error message:
ERROR in ../Common/src/visualComponents/CommonComponents/TronWindow/KendoWindow.ts 7:0-76
Module not found: Error: Package path ./Window is not exported from package C:\work\atom\sources\projects\tron\frontend\Common\node_modules@progress\kendo-react-dialogs (see exports field in C:\work\atom\sources\projects\tron\frontend\Common\node_modules@progress\kendo-react-dialogs\package.json)

Expected behavior

i wolud like to use WindowWithoutContext class in my code with kendoreac v8.2.0

Minimal reproduction of the problem with instructions

change kendoreact version to 8.2.0

here is my package.json relevant parts:

 "dependencies": {
    "@atom/tron-kendofix": "^1.2.0",
    "@babel/compat-data": "7.20.5",
    "@babel/core": "7.20.5",
    "@babel/generator": "7.20.5",
    "@babel/helper-compilation-targets": "7.20.0",
    "@babel/helper-create-class-features-plugin": "7.20.5",
    "@babel/helper-module-transforms": "7.20.2",
    "@progress/kendo-data-query": "1.7.0",
    "@progress/kendo-drawing": "1.20.1",
    "@progress/kendo-licensing": "1.3.4",
    "@progress/kendo-react-buttons": "8.2.0",
    "@progress/kendo-react-data-tools": "8.2.0",
    "@progress/kendo-react-dateinputs": "8.2.0",
    "@progress/kendo-react-dialogs": "8.2.0",
    "@progress/kendo-react-dropdowns": "8.2.0",
    "@progress/kendo-react-excel-export": "8.2.0",
    "@progress/kendo-react-grid": "8.2.0",
    "@progress/kendo-react-inputs": "8.2.0",
    "@progress/kendo-react-intl": "8.2.0",
    "@progress/kendo-react-layout": "8.2.0",
    "@progress/kendo-react-notification": "8.2.0",
    "@progress/kendo-react-popup": "8.2.0",
    "@progress/kendo-react-progressbars": "8.2.0",
    "@progress/kendo-react-tooltip": "8.2.0",
    "@progress/kendo-react-treeview": "8.2.0",
    "@progress/kendo-react-upload": "8.2.0",
    "@progress/kendo-theme-default": "8.2.1",
    "axios": "1.7.2",
    "immer": "9.0.16",
    "moment": "2.29.4",
    "react": "18.2.0",
    "react-custom-scrollbars-2": "4.5.0",
    "react-dom": "18.2.0",
    "react-router-dom": "6.4.3"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "5.16.5",
    "@testing-library/react": "13.4.0",
    "@testing-library/user-event": "14.4.3",
    "@types/jest": "29.2.3",
    "@types/lodash": "4.14.190",
    "@types/node": "18.11.9",
    "@types/react": "18.2.6",
    "@types/react-dom": "18.0.9",
    "@types/react-router-dom": "5.3.3",
    "react-scripts": "5.0.1",
    "rimraf": "3.0.2",
    "sass": "1.57.1",
    "tslint": "6.1.3",
    "typescript": "4.9.3"
  },
 
try importing _WindowWithoutContext_ class:

import { WindowWithoutContext } from '@progress/kendo-react-dialogs/Window';

Environment

Package versions:
npm ls --depth 0"

tron-common@0.1.2 C:\work\atom\sources\projects\tron\frontend\Common
├── @atom/tron-kendofix@1.2.0
├── @babel/compat-data@7.20.5
├── @babel/core@7.20.5
├── @babel/generator@7.20.5
├── @babel/helper-compilation-targets@7.20.0
├── @babel/helper-create-class-features-plugin@7.20.5
├── @babel/helper-module-transforms@7.20.2
├── @progress/kendo-data-query@1.7.0
├── @progress/kendo-drawing@1.20.1
├── @progress/kendo-licensing@1.3.4
├── @progress/kendo-react-buttons@8.2.0
├── @progress/kendo-react-data-tools@8.2.0
├── @progress/kendo-react-dateinputs@8.2.0
├── @progress/kendo-react-dialogs@8.2.0
├── @progress/kendo-react-dropdowns@8.2.0
├── @progress/kendo-react-excel-export@8.2.0
├── @progress/kendo-react-grid@8.2.0
├── @progress/kendo-react-inputs@8.2.0
├── @progress/kendo-react-intl@8.2.0
├── @progress/kendo-react-layout@8.2.0
├── @progress/kendo-react-notification@8.2.0
├── @progress/kendo-react-popup@8.2.0
├── @progress/kendo-react-progressbars@8.2.0
├── @progress/kendo-react-tooltip@8.2.0
├── @progress/kendo-react-treeview@8.2.0
├── @progress/kendo-react-upload@8.2.0
├── @progress/kendo-theme-default@8.2.1
├── @testing-library/jest-dom@5.16.5
├── @testing-library/react@13.4.0
├── @testing-library/user-event@14.4.3
├── @types/jest@29.2.3
├── @types/lodash@4.14.190
├── @types/node@18.11.9
├── @types/react-dom@18.0.9
├── @types/react-router-dom@5.3.3
├── @types/react@18.2.6
├── axios@1.7.2
├── immer@9.0.16
├── moment@2.29.4
├── react-custom-scrollbars-2@4.5.0
├── react-dom@18.2.0
├── react-router-dom@6.4.3
├── react-scripts@5.0.1
├── react@18.2.0
├── rimraf@3.0.2
├── sass@1.57.1
├── tslint@6.1.3
└── typescript@4.9.3

Browser:

  • Chrome (desktop) version 127.0.6533.89

System:

  • TypeScript version: 4.9.3
  • Node version: 20.11.0
  • Platform: Windows10

thank you very mutch

Hi @szombatha,

The WindowWithoutContext is exported and will be included in the next version of the KendoReact Dialogs Package which will be published in the upcoming weeks. When that happens, I will come here to the issue to inform you.

Best regards,
Stoyan

Hello @szombatha ,

I'm happy to say that the WindoWithoutContext is expored in the following 8.3.0-develop.5 version of the KendoReact Dialogs Package.

Best regards,
Stoyan