This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree 12 files changed +63
-15
lines changed
12 files changed +63
-15
lines changed Original file line number Diff line number Diff line change 12
12
dist
13
13
packages /** /CHANGELOG.md
14
14
.vscode /
15
+ test /types /index.ts
16
+ test /types /tsconfig.json
Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ matrix:
22
22
install : npm i
23
23
script : npm run lint
24
24
25
- # TODO(issues/936): Fix existing errors before requiring this to pass
26
- # - node_js: 10
27
- # env: TEST_SUITE=types
28
- # install: npm i
29
- # script: npm run test:types
25
+ - node_js : 10
26
+ env : TEST_SUITE=types
27
+ install : npm i
28
+ script : npm run test:types
30
29
31
30
- node_js : 10
32
31
install : npm i
Original file line number Diff line number Diff line change 22
22
23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
25
+ import {
26
+ withRipple ,
27
+ InjectedProps ,
28
+ // @ts -ignore TODO(issues/955) Remove once possible
29
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ } from '@material/react-ripple' ;
26
31
27
32
import { CSS_CLASSES } from './constant' ;
28
33
Original file line number Diff line number Diff line change 22
22
23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
25
+ import {
26
+ withRipple ,
27
+ InjectedProps ,
28
+ // @ts -ignore TODO(issues/955) Remove once possible
29
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ } from '@material/react-ripple' ;
26
31
27
32
import { CSS_CLASSES } from './constant' ;
28
33
Original file line number Diff line number Diff line change @@ -25,7 +25,12 @@ import classnames from 'classnames';
25
25
import { MDCCheckboxFoundation } from '@material/checkbox/foundation' ;
26
26
import { MDCCheckboxAdapter } from '@material/checkbox/adapter' ;
27
27
import { cssClasses } from '@material/checkbox/constants' ;
28
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
28
+ import {
29
+ withRipple ,
30
+ InjectedProps ,
31
+ // @ts -ignore TODO(issues/955) Remove once possible
32
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
33
+ } from '@material/react-ripple' ;
29
34
30
35
import NativeControl from './NativeControl' ;
31
36
Original file line number Diff line number Diff line change 21
21
// THE SOFTWARE.
22
22
import React from 'react' ;
23
23
import classnames from 'classnames' ;
24
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
24
+ import {
25
+ withRipple ,
26
+ InjectedProps ,
27
+ // @ts -ignore TODO(issues/955) Remove once possible
28
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
29
+ } from '@material/react-ripple' ;
25
30
import { MDCChipFoundation } from '@material/chips/chip/foundation' ;
26
31
import { MDCChipAdapter } from '@material/chips/chip/adapter' ;
27
32
Original file line number Diff line number Diff line change 22
22
23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
25
+ import {
26
+ withRipple ,
27
+ InjectedProps ,
28
+ // @ts -ignore TODO(issues/955) Remove once possible
29
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ } from '@material/react-ripple' ;
26
31
27
32
import { CSS_CLASSES } from './constant' ;
28
33
Original file line number Diff line number Diff line change 22
22
23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
25
+ import {
26
+ withRipple ,
27
+ InjectedProps ,
28
+ // @ts -ignore TODO(issues/955) Remove once possible
29
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ } from '@material/react-ripple' ;
26
31
import { MDCIconButtonToggleAdapter } from '@material/icon-button/adapter' ;
27
32
import { MDCIconButtonToggleFoundation } from '@material/icon-button/foundation' ;
28
33
import { MDCIconButtonToggleEventDetail } from '@material/icon-button/types' ;
Original file line number Diff line number Diff line change 23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
25
import { closest } from '@material/dom/ponyfill' ;
26
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
26
+ import {
27
+ withRipple ,
28
+ InjectedProps ,
29
+ // @ts -ignore TODO(issues/955) Remove once possible
30
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
31
+ } from '@material/react-ripple' ;
27
32
import { MDCListFoundation } from '@material/list/foundation' ;
28
33
29
34
import { ListItemContext , ListItemContextShape } from './index' ;
Original file line number Diff line number Diff line change 22
22
23
23
import React from 'react' ;
24
24
import classnames from 'classnames' ;
25
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
25
+ import {
26
+ withRipple ,
27
+ InjectedProps ,
28
+ // @ts -ignore TODO(issues/955) Remove once possible
29
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ } from '@material/react-ripple' ;
26
31
27
32
export interface MaterialIconDefaultProps
28
33
extends React . HTMLAttributes < HTMLElement > {
Original file line number Diff line number Diff line change @@ -24,7 +24,12 @@ import React from 'react';
24
24
import classnames from 'classnames' ;
25
25
import { MDCRadioFoundation } from '@material/radio/foundation' ;
26
26
import { MDCRadioAdapter } from '@material/radio/adapter' ;
27
- import { withRipple , InjectedProps } from '@material/react-ripple' ;
27
+ import {
28
+ withRipple ,
29
+ InjectedProps ,
30
+ // @ts -ignore TODO(issues/955) Remove once possible
31
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
32
+ } from '@material/react-ripple' ;
28
33
import NativeControl , { NativeControlProps } from './NativeControl' ; // eslint-disable-line @typescript-eslint/no-unused-vars
29
34
30
35
export interface RadioProps
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ import {
27
27
withRipple ,
28
28
InjectedProps ,
29
29
RippledComponentInterface ,
30
- RippledComponentState , // eslint-disable-line @typescript-eslint/no-unused-vars
30
+ // @ts -ignore TODO(issues/955) Remove once possible
31
+ RippledComponentProps , // eslint-disable-line @typescript-eslint/no-unused-vars
32
+ RippledComponentState ,
31
33
} from '@material/react-ripple' ;
32
34
33
35
export interface TabRippleProps
You can’t perform that action at this time.
0 commit comments