Comparing version 0.0.1-master.ca079e3 to 0.0.1-master.d7ce791
@@ -29,13 +29,15 @@ 'use strict'; | ||
{ | ||
lang: props.lang, | ||
pitch: props.pitch, | ||
rate: props.rate, | ||
speechSynthesis: props.speechSynthesis, | ||
speechSynthesisUtterance: props.speechSynthesisUtterance, | ||
voice: props.voice, | ||
volume: props.volume | ||
speechSynthesisUtterance: props.speechSynthesisUtterance | ||
}, | ||
_react2.default.createElement( | ||
_Say2.default, | ||
{ text: props.text }, | ||
{ | ||
lang: props.lang, | ||
pitch: props.pitch, | ||
rate: props.rate, | ||
text: props.text, | ||
voice: props.voice, | ||
volume: props.volume | ||
}, | ||
props.children | ||
@@ -66,2 +68,2 @@ ) | ||
exports.default = BasicSay; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9CYXNpY1NheS5qcyJdLCJuYW1lcyI6WyJCYXNpY1NheSIsInByb3BzIiwibGFuZyIsInBpdGNoIiwicmF0ZSIsInNwZWVjaFN5bnRoZXNpcyIsInNwZWVjaFN5bnRoZXNpc1V0dGVyYW5jZSIsInZvaWNlIiwidm9sdW1lIiwidGV4dCIsImNoaWxkcmVuIiwiZGVmYXVsdFByb3BzIiwid2luZG93Iiwid2Via2l0U3BlZWNoU3ludGhlc2lzIiwiU3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlIiwid2Via2l0U3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlIiwicHJvcFR5cGVzIiwiUHJvcFR5cGVzIiwic3RyaW5nIiwibnVtYmVyIiwiYW55Il0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUNBOzs7O0FBRUE7Ozs7QUFDQTs7Ozs7O0FBRUEsSUFBTUEsV0FBVyxTQUFYQSxRQUFXO0FBQUEsU0FDZjtBQUFDLHNCQUFEO0FBQUE7QUFDRSxZQUFPQyxNQUFNQyxJQURmO0FBRUUsYUFBUUQsTUFBTUUs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@ 'use strict'; | ||
function createContext(_ref) { | ||
var lang = _ref.lang, | ||
pitch = _ref.pitch, | ||
rate = _ref.rate, | ||
speechSynthesis = _ref.speechSynthesis, | ||
speechSynthesisUtterance = _ref.speechSynthesisUtterance, | ||
voiceURI = _ref.voiceURI, | ||
volume = _ref.volume; | ||
var speechSynthesis = _ref.speechSynthesis, | ||
speechSynthesisUtterance = _ref.speechSynthesisUtterance; | ||
@@ -49,12 +44,24 @@ return { | ||
}, | ||
speak: function speak(text) { | ||
var voice = [].find.call(speechSynthesis.getVoices(), function (v) { | ||
return v.voiceURI === voiceURI; | ||
}); | ||
speak: function speak(_ref2) { | ||
var lang = _ref2.lang, | ||
_ref2$pitch = _ref2.pitch, | ||
pitch = _ref2$pitch === undefined ? 1 : _ref2$pitch, | ||
_ref2$rate = _ref2.rate, | ||
rate = _ref2$rate === undefined ? 1 : _ref2$rate, | ||
text = _ref2.text, | ||
voice = _ref2.voice, | ||
_ref2$volume = _ref2.volume, | ||
volume = _ref2$volume === undefined ? 1 : _ref2$volume; | ||
var utterance = new speechSynthesisUtterance(text); | ||
var _ref3 = voice || {}, | ||
voiceURI = _ref3.voiceURI; | ||
utterance.lang = lang; | ||
utterance.pitch = pitch; | ||
utterance.rate = rate; | ||
utterance.voice = voice; | ||
utterance.voice = voiceURI && [].find.call(speechSynthesis.getVoices(), function (v) { | ||
return v.voiceURI === voiceURI; | ||
}); | ||
utterance.volume = volume; | ||
@@ -68,8 +75,8 @@ | ||
function getVoices(speechSynthesis) { | ||
return speechSynthesis.getVoices().map(function (_ref2) { | ||
var def = _ref2['default'], | ||
lang = _ref2.lang, | ||
localService = _ref2.localService, | ||
name = _ref2.name, | ||
voiceURI = _ref2.voiceURI; | ||
return speechSynthesis.getVoices().map(function (_ref4) { | ||
var def = _ref4['default'], | ||
lang = _ref4.lang, | ||
localService = _ref4.localService, | ||
name = _ref4.name, | ||
voiceURI = _ref4.voiceURI; | ||
return { | ||
@@ -113,3 +120,3 @@ 'default': def, | ||
var changed = ['lang', 'pitch', 'rate', 'speechSynthesis', 'speechSynthesisUtterance', 'voiceURI', 'volume'].some(function (name) { | ||
var changed = ['speechSynthesis', 'speechSynthesisUtterance'].some(function (name) { | ||
return nextProps[name] !== props[name]; | ||
@@ -124,4 +131,4 @@ }); | ||
this.setState(function (_ref3) { | ||
var context = _ref3.context; | ||
this.setState(function (_ref5) { | ||
var context = _ref5.context; | ||
@@ -131,3 +138,4 @@ context.cancel(); | ||
return { | ||
context: createContext(nextProps) | ||
context: createContext(nextProps), | ||
voices: getVoices(nextProps.speechSynthesis) | ||
}; | ||
@@ -139,4 +147,4 @@ }); | ||
key: 'handleVoicesChanged', | ||
value: function handleVoicesChanged(_ref4) { | ||
var target = _ref4.target; | ||
value: function handleVoicesChanged(_ref6) { | ||
var target = _ref6.target; | ||
@@ -178,18 +186,10 @@ var voices = getVoices(target); | ||
Composer.defaultProps = { | ||
pitch: 1, | ||
rate: 1, | ||
speechSynthesis: window.speechSynthesis || window.webkitSpeechSynthesis, | ||
speechSynthesisUtterance: window.SpeechSynthesisUtterance || window.webkitSpeechSynthesisUtterance, | ||
volume: 1 | ||
speechSynthesisUtterance: window.SpeechSynthesisUtterance || window.webkitSpeechSynthesisUtterance | ||
}; | ||
Composer.propTypes = { | ||
lang: _propTypes2.default.string, | ||
pitch: _propTypes2.default.number, | ||
rate: _propTypes2.default.number, | ||
speechSynthesis: _propTypes2.default.any, | ||
speechSynthesisUtterance: _propTypes2.default.any, | ||
voice: _propTypes2.default.any, | ||
volume: _propTypes2.default.number | ||
speechSynthesisUtterance: _propTypes2.default.any | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Db21wb3Nlci5qcyJdLCJuYW1lcyI6WyJjcmVhdGVDb250ZXh0IiwibGFuZyIsInBpdGNoIiwicmF0ZSIsInNwZWVjaFN5bnRoZXNpcyIsInNwZWVjaFN5bnRoZXNpc1V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IuZGVmYXVsdFByb3BzID0ge1xuICBzcGVlY2hTeW50aGVzaXM6IHdpbmRvdy5zcGVlY2hTeW50aGVzaXMgfHwgd2luZG93LndlYmtpdFNwZWVjaFN5bnRoZXNpcyxcbiAgc3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlOiB3aW5kb3cuU3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlIHx8IHdpbmRvdy53ZWJraXRTcGVlY2hTeW50aGVzaXNVdHRlcmFuY2Vcbn07XG5cbkNvbXBvc2VyLnByb3BUeXBlcyA9IHtcbiAgc3BlZWNoU3ludGhlc2lzOiBQcm9wVHlwZXMuYW55LFxuICBzcGVlY2hTeW50aGVzaXNVdHRlcmFuY2U6IFByb3BUeXBlcy5hbnlcbn07XG4iXX0= |
@@ -46,3 +46,9 @@ 'use strict'; | ||
value: function render() { | ||
var props = this.props; | ||
var _props = this.props, | ||
lang = _props.lang, | ||
pitch = _props.pitch, | ||
rate = _props.rate, | ||
text = _props.text, | ||
voice = _props.voice, | ||
volume = _props.volume; | ||
@@ -54,3 +60,3 @@ | ||
function (context) { | ||
return context.speak(props.text); | ||
return context.speak({ lang: lang, pitch: pitch, rate: rate, text: text, voice: voice, volume: volume }); | ||
} | ||
@@ -68,4 +74,11 @@ ); | ||
Say.propTypes = { | ||
text: _propTypes2.default.string | ||
lang: _propTypes2.default.string, | ||
pitch: _propTypes2.default.number, | ||
rate: _propTypes2.default.number, | ||
onEnd: _propTypes2.default.func, | ||
onStart: _propTypes2.default.func, | ||
text: _propTypes2.default.string, | ||
voice: _propTypes2.default.any, | ||
volume: _propTypes2.default.number | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TYXkuanMiXSwibmFtZXMiOlsiU2F5IiwibmV4dFByb3BzIiwidGV4dCIsInByb3BzIiwiY29udGV4dCIsInNwZWFrIiwiUmVhY3QiLCJDb21wb25lbnQiLCJwcm9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Y29udGV4dC5zcGVhayh7IGxhbmcsIHBpdGNoLCByYXRlLCB0ZXh0LCB2b2ljZSwgdm9sdW1lIH0pIH1cbiAgICAgIDwvQ29udGV4dC5Db25zdW1lcj5cbiAgICApO1xuICB9XG59XG5cblNheS5wcm9wVHlwZXMgPSB7XG4gIGxhbmc6IFByb3BUeXBlcy5zdHJpbmcsXG4gIHBpdGNoOiBQcm9wVHlwZXMubnVtYmVyLFxuICByYXRlOiBQcm9wVHlwZXMubnVtYmVyLFxuICBvbkVuZDogUHJvcFR5cGVzLmZ1bmMsXG4gIG9uU3RhcnQ6IFByb3BUeXBlcy5mdW5jLFxuICB0ZXh0OiBQcm9wVHlwZXMuc3RyaW5nLFxuICB2b2ljZTogUHJvcFR5cGVzLmFueSxcbiAgdm9sdW1lOiBQcm9wVHlwZXMubnVtYmVyXG59O1xuIl19 |
@@ -25,3 +25,10 @@ 'use strict'; | ||
{ onClick: function onClick(event) { | ||
context.speak(props.text); | ||
context.speak({ | ||
lang: props.lang, | ||
pitch: props.pitch, | ||
rate: props.rate, | ||
text: props.text, | ||
voice: props.voice, | ||
volume: props.volume | ||
}); | ||
props.onClick && props.onClick(event); | ||
@@ -34,2 +41,2 @@ } }, | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TYXlCdXR0b24uanMiXSwibmFtZXMiOlsiY29udGV4dCIsInNwZWFrIiwicHJvcHMiLCJ0ZXh0Iiwib25DbGljayIsImV2ZW50IiwiY2hpbGRyZW4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOzs7O0FBRUE7Ozs7OztrQkFFZTtBQUFBLFNBQ2I7QUFBQyxxQkFBRCxDQUFTLFFBQVQ7QUFBQTtBQUNJO0FBQUEsYUFDQTtBQUFBO0FBQUEsVUFBUSxTQUFVLHdCQUFTO0FBQ3pCQSxvQkFBUUMsS0FBUixDQUFjQyxNQUFNQyxJQUFwQjtB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biJdfQ== |
{ | ||
"name": "react-say", | ||
"version": "0.0.1-master.ca079e3", | ||
"version": "0.0.1-master.d7ce791", | ||
"description": "A React component that synthesis text into speech using Web Speech API", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
35595
323
0