Skip to content

Commit 28c4127

Browse files
committed
v6.7.0
1 parent 6120ae0 commit 28c4127

File tree

10 files changed

+102
-38
lines changed

10 files changed

+102
-38
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/bb.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,13 +1556,13 @@ textarea.bb-feedback-required {
15561556

15571557
@keyframes bbRecIconContFade {
15581558
0% {
1559-
fill: #d1160f;
1559+
fill: #b10802;
15601560
}
15611561
50% {
15621562
fill: #ff0000;
15631563
}
15641564
100% {
1565-
fill: #d1160f;
1565+
fill: #b10802;
15661566
}
15671567
}
15681568

@@ -2032,6 +2032,7 @@ textarea.bb-feedback-required {
20322032
align-items: center;
20332033
cursor: pointer;
20342034
}
2035+
20352036
.bb-feedback-dialog-header-close svg {
20362037
width: 24px;
20372038
height: 24px;

demo/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
const Gleap = window.Gleap;
22

3-
Gleap.initialize("Y0ASDsS3Se1PJG1aYNIblrFMMX4zGgig");
3+
Gleap.initialize("UkzcTBCsX5nmsu2cV5hEcENkNuAT838O");

published/6.7.0/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/6.7.0/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/FeedbackForm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ export const hookForm = function (formOptions, submitForm, overrideLanguage) {
593593
);
594594
if (rememberedValue) {
595595
formInput.value = rememberedValue;
596+
formItem.defaultValue = rememberedValue;
596597
}
597598
} catch (exp) {}
598599
}

src/css/index.css

Lines changed: 91 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,14 @@
115115
font-family: "Inter", sans-serif;
116116
border-radius: 21px;
117117
box-sizing: border-box;
118-
padding: 5px;
118+
padding: 5px 8px;
119119
width: auto;
120120
margin-top: 5px;
121-
margin-bottom: 1px;
121+
margin-bottom: 0px;
122122
margin-right: auto;
123123
justify-content: flex-start;
124124
align-items: center;
125+
height: 39px;
125126
}
126127

127128
.bb-feedback-capture-item-selected-label {
@@ -136,7 +137,6 @@
136137
display: flex;
137138
justify-content: center;
138139
align-items: center;
139-
margin-left: 5px;
140140
}
141141

142142
.bb-feedback-capture-item-selected-icon svg {
@@ -151,7 +151,7 @@
151151
align-items: center;
152152
cursor: pointer;
153153
padding: 5px;
154-
margin-left: 5px;
154+
margin-left: 8px;
155155
}
156156

157157
.bb-feedback-capture-item-selected-action svg {
@@ -168,26 +168,31 @@
168168

169169
.bb-feedback-capture-item {
170170
font-family: "Inter", sans-serif;
171-
background-color: #f3f3f3;
172171
border-radius: 21px;
173172
box-sizing: border-box;
174173
padding: 8px 12px;
175174
width: auto;
176175
margin-top: 5px;
177-
margin-right: 5px;
176+
margin-right: 8px;
178177
margin-bottom: 0px;
179178
cursor: pointer;
180179
display: flex;
181-
justify-content: flex-start;
180+
justify-content: center;
181+
align-items: center;
182182
position: relative;
183+
height: 39px;
184+
}
185+
186+
.bb-feedback-capture-item:last-of-type {
187+
margin-right: 0px;
183188
}
184189

185190
.bb-feedback-capture-item:hover {
186191
background-color: #ddd;
187192
}
188193

189194
.bb-feedback-capture-item .bb-item-title {
190-
font-size: 13px;
195+
font-size: 14px;
191196
line-height: 19px;
192197
font-weight: 600;
193198
color: #333;
@@ -550,7 +555,7 @@
550555

551556
.bb-feedback-type-title {
552557
font-family: "Inter", sans-serif;
553-
font-weight: 600;
558+
font-weight: 500;
554559
font-size: 16px;
555560
line-height: 18px;
556561
margin-bottom: 3px;
@@ -689,23 +694,23 @@
689694

690695
.bb-feedback-elementtitle {
691696
font-family: "Inter", sans-serif;
692-
font-size: 16px;
693-
line-height: 22px;
697+
font-size: 15px;
698+
line-height: 19px;
694699
text-align: left;
695700
margin-bottom: 5px;
696701
margin-top: 4px;
697-
font-weight: 600;
702+
font-weight: 500;
698703
color: #000000;
699704
}
700705

701706
.bb-feedback-elementtitle span {
702707
font-family: "Inter", sans-serif;
703-
font-size: 16px;
708+
font-size: 15px;
704709
line-height: 19px;
705710
text-align: left;
706711
margin-bottom: 12px;
707712
margin-top: 0px;
708-
font-weight: 600;
713+
font-weight: 500;
709714
color: #ed4337;
710715
margin-left: 3px;
711716
}
@@ -730,9 +735,47 @@
730735
}
731736

732737
.bb-feedback-dialog-success svg {
733-
width: 30px;
734-
height: 30px;
735-
object-fit: contain;
738+
width: 56px;
739+
height: 56px;
740+
border-radius: 50%;
741+
display: block;
742+
stroke-width: 2;
743+
stroke: #fff;
744+
stroke-miterlimit: 10;
745+
animation: bb-suc-fill 0.4s ease-in-out 0.4s forwards,
746+
bb-suc-scale 0.3s ease-in-out 0.9s both;
747+
}
748+
749+
.bb-feedback-dialog-success svg path {
750+
transform-origin: 50% 50%;
751+
stroke-dasharray: 48;
752+
stroke-dashoffset: 48;
753+
animation: bb-suc-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
754+
}
755+
756+
.bb-feedback-dialog-success svg circle {
757+
stroke-dasharray: 166;
758+
stroke-dashoffset: 166;
759+
stroke-width: 3;
760+
stroke-miterlimit: 10;
761+
fill: none;
762+
animation: bb-suc-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
763+
}
764+
765+
@keyframes bb-suc-stroke {
766+
100% {
767+
stroke-dashoffset: 0;
768+
}
769+
}
770+
771+
@keyframes bb-suc-scale {
772+
0%,
773+
100% {
774+
transform: none;
775+
}
776+
50% {
777+
transform: scale3d(1.1, 1.1, 1);
778+
}
736779
}
737780

738781
.bb-feedback-dialog-body {
@@ -1513,13 +1556,13 @@ textarea.bb-feedback-required {
15131556

15141557
@keyframes bbRecIconContFade {
15151558
0% {
1516-
fill: #d1160f;
1559+
fill: #b10802;
15171560
}
15181561
50% {
15191562
fill: #ff0000;
15201563
}
15211564
100% {
1522-
fill: #d1160f;
1565+
fill: #b10802;
15231566
}
15241567
}
15251568

@@ -1568,7 +1611,11 @@ textarea.bb-feedback-required {
15681611
}
15691612

15701613
.bb-capture-editor-notrecording .bb-capture-editor-borderlayer {
1571-
background-color: rgba(0, 0, 0, 0.6);
1614+
background-color: rgba(0, 0, 0, 0.5);
1615+
}
1616+
1617+
.bb-capture-editor-recording .bb-capture-dismiss {
1618+
display: none;
15721619
}
15731620

15741621
.bb-capture-editor-item-inactive {
@@ -1586,7 +1633,7 @@ textarea.bb-feedback-required {
15861633
}
15871634

15881635
.bb-capture-editor-notrecording .bb-capture-svg {
1589-
pointer-events: none;
1636+
pointer-events: none !important;
15901637
}
15911638

15921639
.bb-screenshot-editor--marked .bb-screenshot-editor-canvas,
@@ -1719,7 +1766,7 @@ textarea.bb-feedback-required {
17191766
.bb-capture-preview-buttons {
17201767
display: flex;
17211768
justify-content: space-between;
1722-
padding: 16px;
1769+
padding: 14px;
17231770
}
17241771

17251772
.bb-capture-preview-retrybutton {
@@ -1755,9 +1802,13 @@ textarea.bb-feedback-required {
17551802
opacity: 0.9;
17561803
}
17571804

1805+
.bb-capture-toolbar-item-recording {
1806+
margin-right: 0px;
1807+
}
1808+
17581809
.bb-capture-toolbar-item-recording svg {
1759-
width: 26px;
1760-
height: 26px;
1810+
width: 33px;
1811+
height: 33px;
17611812
}
17621813

17631814
.bb-capture-toolbar-item-colorpicker {
@@ -1860,13 +1911,18 @@ textarea.bb-feedback-required {
18601911
position: absolute;
18611912
z-index: 1;
18621913
top: initial;
1863-
bottom: 40px;
1914+
bottom: 42px;
18641915
left: 50%;
1865-
transform: translateX(calc(-50% + 2.5px));
18661916
opacity: 0;
18671917
transition: opacity 0.3s;
1868-
max-width: 200px;
1869-
width: 120%;
1918+
transform: translateX(-50%);
1919+
width: 190px;
1920+
}
1921+
1922+
.bb-feedback-capture-item:nth-of-type(2) .bb-tooltip {
1923+
left: auto;
1924+
right: 0px;
1925+
transform: none;
18701926
}
18711927

18721928
.bb-feedback-capture-item .bb-tooltip::after {
@@ -1881,6 +1937,11 @@ textarea.bb-feedback-required {
18811937
border-color: #555 transparent transparent transparent;
18821938
}
18831939

1940+
.bb-feedback-capture-item:nth-of-type(2) .bb-tooltip::after {
1941+
left: auto;
1942+
right: 25%;
1943+
}
1944+
18841945
.bb-feedback-capture-item:hover .bb-tooltip {
18851946
visibility: visible;
18861947
opacity: 1;
@@ -1971,6 +2032,7 @@ textarea.bb-feedback-required {
19712032
align-items: center;
19722033
cursor: pointer;
19732034
}
2035+
19742036
.bb-feedback-dialog-header-close svg {
19752037
width: 24px;
19762038
height: 24px;
@@ -2023,7 +2085,7 @@ textarea.bb-feedback-required {
20232085
display: flex;
20242086
}
20252087

2026-
@media only screen and (max-width: 600px) {
2088+
@media only screen and (max-width: 450px) {
20272089
.bb-feedback-dialog {
20282090
width: calc(100% - 20px);
20292091
box-sizing: border-box;

0 commit comments

Comments
 (0)