Commit fe454ed6 authored by Muhammadali's avatar Muhammadali

update-

parent ed73a152
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.5.9", "version": "4.6.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -44,7 +44,7 @@ const CallHistoryInputDropdown = ({ ...@@ -44,7 +44,7 @@ const CallHistoryInputDropdown = ({
console.log('input_modal: ', modal, numberSelectHistory); console.log('input_modal: ', modal, numberSelectHistory);
document.querySelector('body').addEventListener('click', function (e) { document.querySelector('body').addEventListener('click', function (e) {
console.log('body_clicked_2: ', e); if (modal) setModal(false);
}); });
return ( return (
<Block> <Block>
...@@ -74,11 +74,11 @@ const CallHistoryInputDropdown = ({ ...@@ -74,11 +74,11 @@ const CallHistoryInputDropdown = ({
))} ))}
</ModalDropDown.Inset> </ModalDropDown.Inset>
</ModalDropDown> </ModalDropDown>
<ModalDropDown.FullWindow {/* <ModalDropDown.FullWindow
id='full-size' id='full-size'
visiblevalue={modal} visiblevalue={modal}
onClick={() => setModal(!modal)} onClick={() => setModal(!modal)}
/> /> */}
</> </>
)} )}
</Block> </Block>
......
...@@ -20,8 +20,8 @@ const ModalPhoneNumpadStyle = styled.div` ...@@ -20,8 +20,8 @@ const ModalPhoneNumpadStyle = styled.div`
${({ hiddenValue, position, variant }) => ${({ hiddenValue, position, variant }) =>
hiddenValue hiddenValue
? boxDialerWidjetPosition[variant][position].numpad.hidden ? boxDialerWidjetPosition[variant][position].numpad.hidden
: boxDialerWidjetPosition[variant][position].numpad : boxDialerWidjetPosition[variant][position].numpad.seen}
.seen} /* border-radius: 20px; */ border-radius: 20px;
padding: 15px; padding: 15px;
display: grid; display: grid;
grid-template-rows: 40px 1fr; grid-template-rows: 40px 1fr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment