wineater-bot 3.2.0 → 3.2.1
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/dist/wineater-chatbot.mjs +9 -12
- package/dist/wineater-chatbot.umd.js +9 -12
- package/index.html +1 -1
- package/package.json +1 -1
- package/src/js/widget-styles.js +9 -12
|
@@ -6979,17 +6979,18 @@ body {
|
|
|
6979
6979
|
#wine-widget-container #wine-widget-search {
|
|
6980
6980
|
position: relative;
|
|
6981
6981
|
margin: 12px auto;
|
|
6982
|
+
padding: 0 6px;
|
|
6982
6983
|
display: flex;
|
|
6983
|
-
|
|
6984
|
+
align-items: center;
|
|
6985
|
+
border: 2px solid #D5D9EE;
|
|
6986
|
+
border-radius: 10px;
|
|
6984
6987
|
}
|
|
6985
6988
|
|
|
6986
6989
|
#wine-widget-container .search-icon {
|
|
6987
|
-
position: absolute;
|
|
6988
6990
|
left: 12px;
|
|
6989
|
-
top: 50%;
|
|
6990
|
-
transform: translateY(-50%);
|
|
6991
6991
|
width: 24px;
|
|
6992
6992
|
height: 24px;
|
|
6993
|
+
flex: 0 0 auto;
|
|
6993
6994
|
background-image: url('https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media//search.svg?x=1');
|
|
6994
6995
|
background-repeat: no-repeat;
|
|
6995
6996
|
background-size: contain;
|
|
@@ -6997,14 +6998,13 @@ body {
|
|
|
6997
6998
|
}
|
|
6998
6999
|
|
|
6999
7000
|
#wine-widget-container #wine-search-input {
|
|
7000
|
-
|
|
7001
|
-
padding: 12px
|
|
7001
|
+
flex: 1 1 auto;
|
|
7002
|
+
padding: 12px; /* место под иконку и кнопку */
|
|
7002
7003
|
font-size: 16px;
|
|
7003
|
-
border:
|
|
7004
|
+
border: none;
|
|
7004
7005
|
border-radius: 10px;
|
|
7005
7006
|
outline: none;
|
|
7006
7007
|
transition: border 0.2s ease;
|
|
7007
|
-
background-color: #fff;
|
|
7008
7008
|
}
|
|
7009
7009
|
|
|
7010
7010
|
#wine-search-input::placeholder {
|
|
@@ -7022,10 +7022,7 @@ body {
|
|
|
7022
7022
|
|
|
7023
7023
|
/* Кнопка поиска */
|
|
7024
7024
|
#wine-search-button {
|
|
7025
|
-
|
|
7026
|
-
right: 6px;
|
|
7027
|
-
top: 50%;
|
|
7028
|
-
transform: translateY(-50%);
|
|
7025
|
+
flex: 0 0 auto;
|
|
7029
7026
|
background-color: var(--wineater-color);
|
|
7030
7027
|
color: #fff;
|
|
7031
7028
|
border: none;
|
|
@@ -791,17 +791,18 @@ body {
|
|
|
791
791
|
#wine-widget-container #wine-widget-search {
|
|
792
792
|
position: relative;
|
|
793
793
|
margin: 12px auto;
|
|
794
|
+
padding: 0 6px;
|
|
794
795
|
display: flex;
|
|
795
|
-
|
|
796
|
+
align-items: center;
|
|
797
|
+
border: 2px solid #D5D9EE;
|
|
798
|
+
border-radius: 10px;
|
|
796
799
|
}
|
|
797
800
|
|
|
798
801
|
#wine-widget-container .search-icon {
|
|
799
|
-
position: absolute;
|
|
800
802
|
left: 12px;
|
|
801
|
-
top: 50%;
|
|
802
|
-
transform: translateY(-50%);
|
|
803
803
|
width: 24px;
|
|
804
804
|
height: 24px;
|
|
805
|
+
flex: 0 0 auto;
|
|
805
806
|
background-image: url('https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media//search.svg?x=1');
|
|
806
807
|
background-repeat: no-repeat;
|
|
807
808
|
background-size: contain;
|
|
@@ -809,14 +810,13 @@ body {
|
|
|
809
810
|
}
|
|
810
811
|
|
|
811
812
|
#wine-widget-container #wine-search-input {
|
|
812
|
-
|
|
813
|
-
padding: 12px
|
|
813
|
+
flex: 1 1 auto;
|
|
814
|
+
padding: 12px; /* место под иконку и кнопку */
|
|
814
815
|
font-size: 16px;
|
|
815
|
-
border:
|
|
816
|
+
border: none;
|
|
816
817
|
border-radius: 10px;
|
|
817
818
|
outline: none;
|
|
818
819
|
transition: border 0.2s ease;
|
|
819
|
-
background-color: #fff;
|
|
820
820
|
}
|
|
821
821
|
|
|
822
822
|
#wine-search-input::placeholder {
|
|
@@ -834,10 +834,7 @@ body {
|
|
|
834
834
|
|
|
835
835
|
/* Кнопка поиска */
|
|
836
836
|
#wine-search-button {
|
|
837
|
-
|
|
838
|
-
right: 6px;
|
|
839
|
-
top: 50%;
|
|
840
|
-
transform: translateY(-50%);
|
|
837
|
+
flex: 0 0 auto;
|
|
841
838
|
background-color: var(--wineater-color);
|
|
842
839
|
color: #fff;
|
|
843
840
|
border: none;
|
package/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Chatbot</title>
|
|
7
|
-
<script>window.wineaterData = {CLIENT_TOKEN: '
|
|
7
|
+
<script>window.wineaterData = {CLIENT_TOKEN: 'dRBwg6wB6LeEKFUiLHdlXa84TgSVDuR8HhE0hhq1l4vVeq3cE12DJkPDwXvuhT01', TYPE: 'widget', WIDGET_TYPE: 'store', WIDGET_WRAPPER: 'wineater-widget-conteiner'};</script>
|
|
8
8
|
<!-- <script type="module" src="./dist/wineater-chatbot.umd.js"></script> -->
|
|
9
9
|
<script type="module" src="./src/index.js"></script>
|
|
10
10
|
</head>
|
package/package.json
CHANGED
package/src/js/widget-styles.js
CHANGED
|
@@ -125,17 +125,18 @@ body {
|
|
|
125
125
|
#wine-widget-container #wine-widget-search {
|
|
126
126
|
position: relative;
|
|
127
127
|
margin: 12px auto;
|
|
128
|
+
padding: 0 6px;
|
|
128
129
|
display: flex;
|
|
129
|
-
|
|
130
|
+
align-items: center;
|
|
131
|
+
border: 2px solid #D5D9EE;
|
|
132
|
+
border-radius: 10px;
|
|
130
133
|
}
|
|
131
134
|
|
|
132
135
|
#wine-widget-container .search-icon {
|
|
133
|
-
position: absolute;
|
|
134
136
|
left: 12px;
|
|
135
|
-
top: 50%;
|
|
136
|
-
transform: translateY(-50%);
|
|
137
137
|
width: 24px;
|
|
138
138
|
height: 24px;
|
|
139
|
+
flex: 0 0 auto;
|
|
139
140
|
background-image: url('https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media//search.svg?x=1');
|
|
140
141
|
background-repeat: no-repeat;
|
|
141
142
|
background-size: contain;
|
|
@@ -143,14 +144,13 @@ body {
|
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
#wine-widget-container #wine-search-input {
|
|
146
|
-
|
|
147
|
-
padding: 12px
|
|
147
|
+
flex: 1 1 auto;
|
|
148
|
+
padding: 12px; /* место под иконку и кнопку */
|
|
148
149
|
font-size: 16px;
|
|
149
|
-
border:
|
|
150
|
+
border: none;
|
|
150
151
|
border-radius: 10px;
|
|
151
152
|
outline: none;
|
|
152
153
|
transition: border 0.2s ease;
|
|
153
|
-
background-color: #fff;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
#wine-search-input::placeholder {
|
|
@@ -168,10 +168,7 @@ body {
|
|
|
168
168
|
|
|
169
169
|
/* Кнопка поиска */
|
|
170
170
|
#wine-search-button {
|
|
171
|
-
|
|
172
|
-
right: 6px;
|
|
173
|
-
top: 50%;
|
|
174
|
-
transform: translateY(-50%);
|
|
171
|
+
flex: 0 0 auto;
|
|
175
172
|
background-color: var(--wineater-color);
|
|
176
173
|
color: #fff;
|
|
177
174
|
border: none;
|