@product7/product7-js 0.7.2 → 0.7.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/dist/product7-js.js
CHANGED
|
@@ -4333,89 +4333,22 @@
|
|
|
4333
4333
|
.liveChat-feedback-body {
|
|
4334
4334
|
display: flex;
|
|
4335
4335
|
flex-direction: column;
|
|
4336
|
-
gap: var(--spacing-
|
|
4336
|
+
gap: var(--spacing-3);
|
|
4337
4337
|
padding: var(--spacing-5) var(--spacing-4);
|
|
4338
4338
|
flex: 1;
|
|
4339
4339
|
overflow-y: auto;
|
|
4340
4340
|
}
|
|
4341
4341
|
|
|
4342
|
+
.liveChat-feedback-body .sdk-form-group {
|
|
4343
|
+
margin-bottom: 0;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4342
4346
|
.liveChat-feedback-prompt {
|
|
4343
4347
|
margin: 0;
|
|
4344
4348
|
font-size: var(--font-size-sm);
|
|
4345
4349
|
color: var(--text-secondary);
|
|
4346
4350
|
}
|
|
4347
4351
|
|
|
4348
|
-
|
|
4349
|
-
.liveChat-feedback-input {
|
|
4350
|
-
width: 100%;
|
|
4351
|
-
border: 1px solid var(--border-color);
|
|
4352
|
-
border-radius: var(--radius-md);
|
|
4353
|
-
padding: var(--spacing-3);
|
|
4354
|
-
font-size: var(--font-size-sm);
|
|
4355
|
-
font-family: inherit;
|
|
4356
|
-
color: var(--text-primary);
|
|
4357
|
-
background: var(--msg-bg);
|
|
4358
|
-
box-sizing: border-box;
|
|
4359
|
-
transition: border-color var(--transition-fast);
|
|
4360
|
-
}
|
|
4361
|
-
|
|
4362
|
-
.liveChat-feedback-input::placeholder {
|
|
4363
|
-
color: var(--msg-text-secondary);
|
|
4364
|
-
}
|
|
4365
|
-
|
|
4366
|
-
.liveChat-feedback-input:focus {
|
|
4367
|
-
outline: none;
|
|
4368
|
-
border-color: var(--color-primary);
|
|
4369
|
-
}
|
|
4370
|
-
|
|
4371
|
-
.liveChat-feedback-textarea {
|
|
4372
|
-
width: 100%;
|
|
4373
|
-
resize: none;
|
|
4374
|
-
border: 1px solid var(--border-color);
|
|
4375
|
-
border-radius: var(--radius-md);
|
|
4376
|
-
padding: var(--spacing-3);
|
|
4377
|
-
font-size: var(--font-size-sm);
|
|
4378
|
-
font-family: inherit;
|
|
4379
|
-
color: var(--text-primary);
|
|
4380
|
-
background: var(--msg-bg);
|
|
4381
|
-
box-sizing: border-box;
|
|
4382
|
-
transition: border-color var(--transition-fast);
|
|
4383
|
-
}
|
|
4384
|
-
|
|
4385
|
-
.liveChat-feedback-textarea::placeholder {
|
|
4386
|
-
color: var(--msg-text-secondary);
|
|
4387
|
-
}
|
|
4388
|
-
|
|
4389
|
-
.liveChat-feedback-textarea:focus {
|
|
4390
|
-
outline: none;
|
|
4391
|
-
border-color: var(--color-primary);
|
|
4392
|
-
}
|
|
4393
|
-
|
|
4394
|
-
.liveChat-feedback-submit {
|
|
4395
|
-
display: flex;
|
|
4396
|
-
align-items: center;
|
|
4397
|
-
justify-content: center;
|
|
4398
|
-
padding: var(--spacing-3);
|
|
4399
|
-
border-radius: var(--radius-md);
|
|
4400
|
-
font-size: var(--font-size-sm);
|
|
4401
|
-
font-weight: var(--font-weight-medium);
|
|
4402
|
-
font-family: inherit;
|
|
4403
|
-
cursor: pointer;
|
|
4404
|
-
border: none;
|
|
4405
|
-
background: var(--color-primary);
|
|
4406
|
-
color: #ffffff;
|
|
4407
|
-
transition: all var(--transition-fast);
|
|
4408
|
-
}
|
|
4409
|
-
|
|
4410
|
-
.liveChat-feedback-submit:hover:not(:disabled) {
|
|
4411
|
-
background: var(--color-primary-hover);
|
|
4412
|
-
}
|
|
4413
|
-
|
|
4414
|
-
.liveChat-feedback-submit:disabled {
|
|
4415
|
-
opacity: 0.5;
|
|
4416
|
-
cursor: not-allowed;
|
|
4417
|
-
}
|
|
4418
|
-
|
|
4419
4352
|
.liveChat-feedback-error {
|
|
4420
4353
|
font-size: var(--font-size-xs);
|
|
4421
4354
|
color: #ef4444;
|
|
@@ -11687,18 +11620,23 @@
|
|
|
11687
11620
|
</div>
|
|
11688
11621
|
<div class="liveChat-feedback-body">
|
|
11689
11622
|
<p class="liveChat-feedback-prompt">Share your thoughts with us. We read every message.</p>
|
|
11690
|
-
<
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11623
|
+
<div class="sdk-form-group">
|
|
11624
|
+
<label class="sdk-label">Title <span class="sdk-required">*</span></label>
|
|
11625
|
+
<input
|
|
11626
|
+
type="text"
|
|
11627
|
+
class="sdk-input liveChat-feedback-input"
|
|
11628
|
+
placeholder="Brief description of your feedback"
|
|
11629
|
+
/>
|
|
11630
|
+
</div>
|
|
11631
|
+
<div class="sdk-form-group">
|
|
11632
|
+
<label class="sdk-label">Message <span class="sdk-required">*</span></label>
|
|
11633
|
+
<textarea
|
|
11634
|
+
class="sdk-textarea liveChat-feedback-textarea"
|
|
11635
|
+
placeholder="Tell us what you think..."
|
|
11636
|
+
></textarea>
|
|
11637
|
+
</div>
|
|
11700
11638
|
<span class="liveChat-feedback-error" style="display:none;"></span>
|
|
11701
|
-
<button class="liveChat-feedback-submit">Send feedback</button>
|
|
11639
|
+
<button class="sdk-btn-primary sdk-btn-block liveChat-feedback-submit">Send feedback</button>
|
|
11702
11640
|
</div>
|
|
11703
11641
|
`;
|
|
11704
11642
|
this._attachEvents();
|