File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11node_modules
2+ dist
Original file line number Diff line number Diff line change 99 node_js : lts/*
1010 # Advanced: optionally overwrite your default `script` step to skip the tests
1111 # script: skip
12- before_deploy :
13- provider : script
14- skip_cleanup : true
15- script :
16- - npm run prepublish
12+ script :
13+ - npm run prepublish
1714 deploy :
1815 provider : script
1916 skip_cleanup : true
Original file line number Diff line number Diff line change 11{
22 "name" : " react-simple-styleable-select" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.1.4 " ,
44 "description" : " " ,
55 "license" : " MIT" ,
66 "author" : " Daniel Shaefer" ,
4040 "build" : " react-scripts build" ,
4141 "test" : " react-scripts test --env=jsdom" ,
4242 "eject" : " react-scripts eject" ,
43- "prepublish" : " rm -rf dist && babel src"
43+ "prepublish" : " rm -rf dist && npx babel src -d dist --copy-files "
4444 },
4545 "browserslist" : [
4646 " >0.2%" ,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class SimpleSelect extends React.Component {
4242 validOptions : optionValidation . valid ,
4343 invalidReason : optionValidation . reason ,
4444 currentOptionSelected : defaultValue ,
45- legendLabel : props . legendLabel ? props . legendLabel : "Select... " ,
45+ legendLabel : props . legendLabel ? props . legendLabel : "" ,
4646 selectOpen : false ,
4747 options : optionsWithIndexProp ,
4848 width : props . width ? props . width : "" ,
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ function App() {
6262 < SimpleSelect
6363 id = "2"
6464 options = { options } //required
65- legendLabel = "Select things 2" //or blank for "Select..."
6665 width = "300px" //or blank for 100%
6766 fixedHeight //height is fluid by default
6867 onChange = { onChange } //optional
You can’t perform that action at this time.
0 commit comments