code7-leia 0.1.150 → 0.1.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1628,7 +1628,8 @@ var CustomSelect = function CustomSelect(_ref) {
1628
1628
  return React__default.createElement("div", {
1629
1629
  key: option.value,
1630
1630
  style: {
1631
- background: option.value === selectedValue ? '#a0b7f5' : 'none'
1631
+ background: option.value === selectedValue ? '#a0b7f5' : undefined,
1632
+ color: option.value === selectedValue ? 'white' : 'black'
1632
1633
  },
1633
1634
  className: "option",
1634
1635
  onClick: function onClick() {
@@ -1638,25 +1639,20 @@ var CustomSelect = function CustomSelect(_ref) {
1638
1639
  }))));
1639
1640
  };
1640
1641
 
1641
- var _templateObject$b, _templateObject2$7, _templateObject3$6, _templateObject4$3;
1642
+ var _templateObject$b, _templateObject2$7;
1642
1643
  var Container$5 = /*#__PURE__*/styled__default.div(_templateObject$b || (_templateObject$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n margin-right: 5px;\n"])));
1643
1644
  var StyledInput = /*#__PURE__*/styled__default.input(_templateObject2$7 || (_templateObject2$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-left: 10px;\n padding-right: 40px;\n border-radius: 5px;\n border: 1px solid #ccc;\n height: 45px;\n width: 100%;\n\n &:focus {\n outline: none;\n box-shadow: 0 0 0 3px #6690ff;\n }\n"])));
1644
- var RecordAudioButton = /*#__PURE__*/styled__default.div(_templateObject3$6 || (_templateObject3$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 14px;\n right: 10px;\n cursor: pointer;\n"])));
1645
- var StyledMicrophoneIcon = /*#__PURE__*/styled__default(fa.FaMicrophone)(_templateObject4$3 || (_templateObject4$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n pointer-events: none;\n"])));
1646
1645
 
1647
1646
  var InputTest = function InputTest(_ref) {
1648
1647
  var placeholder = _ref.placeholder,
1649
- _onChange = _ref.onChange,
1650
- onRecordAudio = _ref.onRecordAudio;
1648
+ _onChange = _ref.onChange;
1651
1649
  return React__default.createElement(Container$5, null, React__default.createElement(StyledInput, {
1652
1650
  type: "text",
1653
1651
  onChange: function onChange(e) {
1654
1652
  return _onChange(e.target.value);
1655
1653
  },
1656
1654
  placeholder: placeholder
1657
- }), React__default.createElement(RecordAudioButton, {
1658
- onClick: onRecordAudio
1659
- }, React__default.createElement(StyledMicrophoneIcon, null)));
1655
+ }));
1660
1656
  };
1661
1657
 
1662
1658
  var TestArea = function TestArea() {
@@ -1704,9 +1700,6 @@ var TestArea = function TestArea() {
1704
1700
  var handleSearch = function handleSearch(value) {
1705
1701
  setSearch(value);
1706
1702
  };
1707
- var handleRecordAudio = function handleRecordAudio() {
1708
- console.log('Iniciando gravação de áudio...');
1709
- };
1710
1703
  var handleTest = function handleTest() {
1711
1704
  dispatch(testAction(search, profile, presset, id));
1712
1705
  };
@@ -1719,8 +1712,7 @@ var TestArea = function TestArea() {
1719
1712
  className: 'infos'
1720
1713
  }, React__default.createElement("h2", null, t.test), React__default.createElement("p", null, t.testArea.description))), React__default.createElement(Inputs, null, React__default.createElement(InputTest, {
1721
1714
  placeholder: t.testArea.typeSentence,
1722
- onChange: handleSearch,
1723
- onRecordAudio: handleRecordAudio
1715
+ onChange: handleSearch
1724
1716
  }), React__default.createElement(CustomSelect, {
1725
1717
  placeholder: t.testArea.selectPersona,
1726
1718
  options: optionsPersona,