File tree Expand file tree Collapse file tree 4 files changed +1452
-890
lines changed Expand file tree Collapse file tree 4 files changed +1452
-890
lines changed Original file line number Diff line number Diff line change 4545 " movable"
4646 ],
4747 "devDependencies" : {
48- "@ladle/react" : " ^0.2.4 " ,
48+ "@ladle/react" : " ^0.8.1 " ,
4949 "@types/expect-puppeteer" : " ^4.4.5" ,
5050 "@types/jest" : " ^26.0.20" ,
5151 "@types/jest-environment-puppeteer" : " ^4.4.1" ,
Original file line number Diff line number Diff line change 88 schd ,
99 isTouchEvent ,
1010 checkIfInteractive
11- } from './utils' ;
12- import type { IItemProps , IProps , TEvent } from './types' ;
11+ } from './utils.js ' ;
12+ import type { IItemProps , IProps , TEvent } from './types.js ' ;
1313
1414const AUTOSCROLL_ACTIVE_OFFSET = 200 ;
1515const AUTOSCROLL_SPEED_RATIO = 10 ;
@@ -40,9 +40,9 @@ class List<Value = string> extends React.Component<IProps<Value>> {
4040 scrollingSpeed : 0 ,
4141 scrollWindow : false
4242 } ;
43- schdOnMouseMove : { ( e : MouseEvent ) : void ; cancel ( ) : void ; } ;
44- schdOnTouchMove : { ( e : TouchEvent ) : void ; cancel ( ) : void ; } ;
45- schdOnEnd : { ( e : Event ) : void ; cancel ( ) : void ; } ;
43+ schdOnMouseMove : { ( e : MouseEvent ) : void ; cancel ( ) : void } ;
44+ schdOnTouchMove : { ( e : TouchEvent ) : void ; cancel ( ) : void } ;
45+ schdOnEnd : { ( e : Event ) : void ; cancel ( ) : void } ;
4646
4747 constructor ( props : IProps < Value > ) {
4848 super ( props ) ;
Original file line number Diff line number Diff line change 1- import List from './List' ;
2- import { arrayMove , arrayRemove } from './utils' ;
1+ import List from './List.js ' ;
2+ import { arrayMove , arrayRemove } from './utils.js ' ;
33import type {
44 IItemProps ,
55 RenderItemParams ,
@@ -8,7 +8,7 @@ import type {
88 OnChangeMeta ,
99 IProps ,
1010 TEvent
11- } from './types' ;
11+ } from './types.js ' ;
1212
1313export { List , arrayMove , arrayRemove } ;
1414export type {
You can’t perform that action at this time.
0 commit comments