File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
packages/pf3-component-mapper
src/form-fields/date-time-picker Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 45
45
"eslint-plugin-react" : " ^7.11.1" ,
46
46
"html-webpack-plugin" : " ^3.2.0" ,
47
47
"mini-css-extract-plugin" : " ^0.4.4" ,
48
- "node-sass" : " ^4.10 .0" ,
48
+ "node-sass" : " ^4.12 .0" ,
49
49
"patternfly-react" : " ^2.28.2" ,
50
50
"prop-types" : " ^15.6.2" ,
51
51
"react" : " ^16.6.3" ,
58
58
"rollup-plugin-commonjs" : " ^10.1.0" ,
59
59
"rollup-plugin-node-globals" : " ^1.4.0" ,
60
60
"rollup-plugin-node-resolve" : " ^5.2.0" ,
61
+ "rollup-plugin-postcss" : " ^2.0.3" ,
61
62
"rollup-plugin-replace" : " ^2.2.0" ,
62
- "rollup-plugin-sass" : " ^1.2.2" ,
63
63
"rollup-plugin-size-snapshot" : " ^0.10.0" ,
64
64
"rollup-plugin-terser" : " ^5.1.2" ,
65
65
"sass-loader" : " ^7.1.0" ,
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import replace from 'rollup-plugin-replace';
5
5
import nodeGlobals from 'rollup-plugin-node-globals' ;
6
6
import { terser } from 'rollup-plugin-terser' ;
7
7
import { sizeSnapshot } from 'rollup-plugin-size-snapshot' ;
8
- import sass from 'rollup-plugin-sass' ;
9
8
import async from 'rollup-plugin-async' ;
9
+ import postcss from 'rollup-plugin-postcss' ;
10
10
11
11
const globals = {
12
12
react : 'React' ,
@@ -51,8 +51,8 @@ export default [{
51
51
keep_classnames : true ,
52
52
keep_fnames : true ,
53
53
} ) ,
54
- sass ( {
55
- insert : true ,
54
+ postcss ( {
55
+ inject : true ,
56
56
} ) ,
57
57
] ,
58
58
} ] ;
Original file line number Diff line number Diff line change 1
- @import ' ~react-day-picker/lib/style.css' ;
2
-
3
1
.picker-input [readonly ]:hover {
4
2
border-color : #7dc3e8 ;
5
3
}
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import PickerInput from './picker-input';
5
5
import PopoverRoot from './popover-root' ;
6
6
import { createDisabledDays } from './helpers' ;
7
7
8
+ import 'react-day-picker/lib/style.css' ;
9
+
8
10
const selectValidDate = ( newDate , disabledDays ) => {
9
11
const { after, before } = disabledDays . find ( item => typeof item === 'object' && ! ( item instanceof Date ) ) || { } ;
10
12
if ( before && newDate < before ) {
You can’t perform that action at this time.
0 commit comments