Commit 9b87260a authored by Muhammadali's avatar Muhammadali

update version: 0.6.7

parent f32c9408
{
"name": "boxdialer",
"version": "0.6.6",
"version": "0.6.7",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -2,12 +2,19 @@
import { Menu, Transition } from '@headlessui/react';
import React, { Fragment } from 'react';
import { styled } from 'styled-components';
function classNames(...classes) {
return classes.filter(Boolean).join(' ');
}
const Container = styled.div`
`;
const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
return (
<Container>
<Menu as='div' className='text-left w-full h-full'>
<div className='w-full'>
<Menu.Button
......@@ -40,7 +47,9 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
{({ active }) => (
<p
className={classNames(
active ? 'bg-gray-100 text-gray-900' : 'text-gray-700',
active
? 'bg-gray-100 text-gray-900'
: 'text-gray-700',
'block px-5 py-1 text-lg',
)}>
{value}
......@@ -53,6 +62,7 @@ const DropDownTailwind = ({ reasons, reason, selectFunc }) => {
</Transition>
)}
</Menu>
</Container>
);
};
......
......@@ -167,6 +167,7 @@ const WidjetButton = ({ data, onSetDnd, position }) => {
return (
<>
<WidjetBlock
className='tailwindGlobalCss'
id={'responsible-button'}
onClick={() => {
phoneModal ? setPhoneModal(false) : setPhoneModal(true);
......
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* @tailwind base;
@tailwind components;
@tailwind utilities; */
\ No newline at end of file
......@@ -528,10 +528,12 @@ export class BoxDialer {
},
});
}
closeButtonClick() {
console.log('closeButtonClick');
this.stopCall();
}
transferButtonClick(number) {
if (this.oSipSessionCall) {
if (this.oSipSessionCall.transfer(number) != 0) {
......
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