pager-widget 0.2.2 → 0.2.3
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.
- package/App.jsx +5 -2
- package/ConsentPopup.jsx +2 -2
- package/Dropdown.jsx +6 -3
- package/InputConverter.jsx +1 -1
- package/dist/inter.fd2364ba.woff2 +0 -0
- package/dist/lib.js +9 -11
- package/fontStyles.js +9 -19
- package/package.json +1 -1
- package/static/additional.css +14 -13
- package/static/fonts/inter.woff2 +0 -0
- package/yarn-error.log +9536 -0
- package/dist/Gordita-Medium.e5d1fa87.woff2 +0 -0
- package/dist/Gordita-Regular.6d2fd269.woff2 +0 -0
package/App.jsx
CHANGED
|
@@ -3946,6 +3946,7 @@ const ChatHeaderTop = ({ widget, onClick, open, restart, exit, logoshape }) => {
|
|
|
3946
3946
|
</IconSpan> */}
|
|
3947
3947
|
<div
|
|
3948
3948
|
style={{
|
|
3949
|
+
|
|
3949
3950
|
display: "flex",
|
|
3950
3951
|
gap: "8px",
|
|
3951
3952
|
}}
|
|
@@ -3956,8 +3957,9 @@ const ChatHeaderTop = ({ widget, onClick, open, restart, exit, logoshape }) => {
|
|
|
3956
3957
|
color: `${widget.primary_color}`,
|
|
3957
3958
|
background: `${widget.accent_color}`,
|
|
3958
3959
|
border: "1px solid white",
|
|
3959
|
-
padding: "
|
|
3960
|
+
padding: "6px 12px",
|
|
3960
3961
|
borderRadius: "8px",
|
|
3962
|
+
height: "28px"
|
|
3961
3963
|
}}
|
|
3962
3964
|
>
|
|
3963
3965
|
Restart
|
|
@@ -3989,8 +3991,9 @@ const ChatHeaderTop = ({ widget, onClick, open, restart, exit, logoshape }) => {
|
|
|
3989
3991
|
color: `${widget.primary_color}`,
|
|
3990
3992
|
background: `${widget.accent_color}`,
|
|
3991
3993
|
border: "1px solid white",
|
|
3992
|
-
padding: "
|
|
3994
|
+
padding: "6px 12px",
|
|
3993
3995
|
borderRadius: "8px",
|
|
3996
|
+
height: "28px"
|
|
3994
3997
|
}}
|
|
3995
3998
|
>
|
|
3996
3999
|
Exit
|
package/ConsentPopup.jsx
CHANGED
|
@@ -193,9 +193,9 @@ console.log("url location", window.location.origin)
|
|
|
193
193
|
|
|
194
194
|
}}>
|
|
195
195
|
<button
|
|
196
|
-
|
|
196
|
+
|
|
197
197
|
disabled={isVisible == false ? true : false}
|
|
198
|
-
style={{...popupStyles.button, width: "90%", background:widget?.accent_color}}
|
|
198
|
+
style={{...popupStyles.button, width: "90%", background:isVisible === false ?"#E2E8F0":widget?.accent_color}}
|
|
199
199
|
onClick={handleSubmit}
|
|
200
200
|
>
|
|
201
201
|
Submit
|
package/Dropdown.jsx
CHANGED
|
@@ -5,6 +5,7 @@ import styled from "styled-components";
|
|
|
5
5
|
const DropdownWrapper = styled.div`
|
|
6
6
|
width: 100%;
|
|
7
7
|
position: relative;
|
|
8
|
+
|
|
8
9
|
`;
|
|
9
10
|
const DropdownContent = styled.span`
|
|
10
11
|
border-radius: 8px;
|
|
@@ -17,7 +18,7 @@ const DropdownContent = styled.span`
|
|
|
17
18
|
padding: 10px 30px 10px 2px;
|
|
18
19
|
cursor: pointer;
|
|
19
20
|
width: 91%;
|
|
20
|
-
height:
|
|
21
|
+
height: 24px;
|
|
21
22
|
display: flex;
|
|
22
23
|
justify-content: space-between;
|
|
23
24
|
align-items: center;
|
|
@@ -39,7 +40,7 @@ const DropdownList = styled.div`
|
|
|
39
40
|
`;
|
|
40
41
|
const DropdownInput = styled.input`
|
|
41
42
|
width: 100%;
|
|
42
|
-
padding-left:
|
|
43
|
+
padding-left: 20px;
|
|
43
44
|
border-bottom: 1px solid #d0d5dd;
|
|
44
45
|
outline: none;
|
|
45
46
|
border-top: none;
|
|
@@ -47,6 +48,8 @@ const DropdownInput = styled.input`
|
|
|
47
48
|
border-right: none;
|
|
48
49
|
background: transparent;
|
|
49
50
|
height: 40px;
|
|
51
|
+
|
|
52
|
+
|
|
50
53
|
`;
|
|
51
54
|
const DropdownNode = styled.span`
|
|
52
55
|
padding: 8px 8px;
|
|
@@ -101,7 +104,7 @@ const Dropdown = ({error,updateFieldValue, fieldId}) => {
|
|
|
101
104
|
</DropdownContent>
|
|
102
105
|
{isDropDownOpen && (
|
|
103
106
|
<DropdownList>
|
|
104
|
-
<DropdownInput onChange={(e) => setSearchQuery(e.target.value)} />
|
|
107
|
+
<DropdownInput onChange={(e) => setSearchQuery(e.target.value)} placeholder="search..." />
|
|
105
108
|
<div
|
|
106
109
|
style={{
|
|
107
110
|
height: "220px",
|
package/InputConverter.jsx
CHANGED
|
@@ -16,7 +16,7 @@ const InputWrapper = styled.div`
|
|
|
16
16
|
error === "true" ? "var(--red-300, #FFA2A2)" : "var(--k300, #d0d5dd)"};
|
|
17
17
|
background: #fff;
|
|
18
18
|
outline: none;
|
|
19
|
-
height:
|
|
19
|
+
height: 44px;
|
|
20
20
|
width: 100%;
|
|
21
21
|
text-indent: 12px;
|
|
22
22
|
padding-right: 40px; /* Space for icon */
|
|
Binary file
|