@xapp/form-widget 1.70.2 → 1.72.0

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.
Binary file
@@ -1,3 +1,3 @@
1
- import { FormWidgetTheme } from "../config";
1
+ import { FormWidgetTheme } from "@xapp/stentor-form-widget-channel";
2
2
  export declare function randomTheme(): FormWidgetTheme;
3
3
  export declare function useRandomTheme(): FormWidgetTheme;
Binary file
@@ -8,7 +8,7 @@
8
8
  flex-direction: column;
9
9
  align-items: center;
10
10
  padding: 48px;
11
- z-index: 1000;
11
+ z-index: 15000;
12
12
  }
13
13
  @media (max-width: 640px) {
14
14
  .ModalDialog-module_xapp_search_modal__WpGiJ {
@@ -323,7 +323,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
323
323
  @media (max-width: 640px) {
324
324
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb {
325
325
  min-width: 100px !important;
326
- font-size: 10px !important;
326
+ font-size: 16px !important;
327
327
  }
328
328
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb .MuiChip-label {
329
329
  margin: 0;
@@ -379,9 +379,15 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
379
379
  .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-input:focus {
380
380
  background-color: var(--xapp-form-widget-text-background-color-dark, rgba(0, 0, 0, 0.09)) !important;
381
381
  }
382
+ .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiTextField-root {
383
+ background-color: var(--xapp-form-widget-text-background-color, rgba(0, 0, 0, 0.06)) !important;
384
+ }
382
385
  .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiTextField-root .MuiInputLabel-root.MuiInputLabel-multiline {
383
386
  top: 8px;
384
387
  }
388
+ .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-multiline {
389
+ padding: 0px;
390
+ }
385
391
  .FormFieldDate-module_xapp_date_picker_container__d8LYB {
386
392
  max-height: 260px;
387
393
  }
@@ -397,14 +403,21 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
397
403
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-slideTransition {
398
404
  min-height: 200px !important;
399
405
  }
400
- .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root {
406
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button {
401
407
  color: rgba(0, 0, 0, 0.54) !important;
402
- background-color: transparent !important;
403
408
  }
404
- .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:hover, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:hover {
409
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:hover {
405
410
  background-image: unset !important;
406
411
  }
407
- .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:focus, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:focus {
412
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:focus {
413
+ background-image: unset !important;
414
+ outline: unset !important;
415
+ border: 0 !important;
416
+ }
417
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:hover {
418
+ background-image: unset !important;
419
+ }
420
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:focus {
408
421
  background-image: unset !important;
409
422
  outline: unset !important;
410
423
  border: 0 !important;
@@ -438,9 +451,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
438
451
  }
439
452
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin.Mui-disabled {
440
453
  font-weight: 300 !important;
441
- background-color: rgba(255, 0, 107, 0.1607843137) !important;
442
454
  text-decoration: line-through !important;
443
455
  }
456
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .FormFieldDate-module_xapp_date_picker_past__ECo-S {
457
+ background-color: rgba(48, 49, 53, 0.2392156863) !important;
458
+ }
459
+ .FormFieldDate-module_xapp_date_picker__Rvtj1 .FormFieldDate-module_xapp_date_picker_blocked__e-aNY {
460
+ background-color: rgba(255, 0, 107, 0.1607843137) !important;
461
+ }
444
462
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-weekDayLabel {
445
463
  font-weight: 600 !important;
446
464
  font-size: 0.75rem !important;
@@ -470,6 +488,13 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
470
488
  padding-top: 0 !important;
471
489
  padding-left: 0 !important;
472
490
  }
491
+ .FormFieldTextInputAddress-module_xapp_text_input_address__-FQjM .MuiPopper-root-MuiAutocomplete-popper {
492
+ z-index: 16000;
493
+ }
494
+
495
+ .MuiAutocomplete-popper {
496
+ z-index: 16000 !important;
497
+ }
473
498
  .FormStepDisplay-module_xapp_formfield__hRmVx {
474
499
  display: none;
475
500
  font-family: inherit !important;
@@ -518,6 +543,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
518
543
  .FormStepDisplay-module_xapp_secondary_button__LuMfN:hover {
519
544
  filter: brightness(80%) !important;
520
545
  }
546
+
547
+ .FormStepDisplay-module_xapp_disabled_button__RjSfL {
548
+ background-color: rgba(121, 117, 133, 0.5) !important;
549
+ font-family: inherit !important;
550
+ }
551
+ .FormStepDisplay-module_xapp_disabled_button__RjSfL:hover {
552
+ filter: brightness(80%) !important;
553
+ }
521
554
  .FormFieldSelect-module_xapp_checkbox_select__QccWu {
522
555
  margin: 6px !important;
523
556
  font-size: 12px !important;
@@ -657,40 +690,6 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
657
690
  padding: 0 10px;
658
691
  overflow: auto;
659
692
  }
660
- .SearchResult-module_xapp_search_result__NPyKB {
661
- display: flex;
662
- flex-direction: row;
663
- flex: 1 1 auto;
664
- box-sizing: border-box;
665
- overflow: hidden;
666
- max-height: 100%;
667
- }
668
- .SearchResult-module_xapp_search_result__suggestions__7OBmC, .SearchResult-module_xapp_search_result__preview__vQRcO {
669
- padding-top: 12px;
670
- padding-bottom: 12px;
671
- box-sizing: border-box;
672
- overflow-x: hidden;
673
- overflow-y: auto;
674
- word-break: break-word;
675
- }
676
- .SearchResult-module_xapp_search_result__suggestions__7OBmC {
677
- flex: 0 0 60%;
678
- padding-top: 12px;
679
- padding-bottom: 12px;
680
- box-sizing: border-box;
681
- overflow: auto;
682
- }
683
- .SearchResult-module_xapp_search_result__preview__vQRcO {
684
- flex: 0 0 40%;
685
- border-left: solid 1px #d3d3df;
686
- padding-left: 12px;
687
- padding-right: 12px;
688
- }
689
- .SearchResult-module_xapp_search_result__use__VA7CB {
690
- width: 28px;
691
- padding: 4px;
692
- color: inherit;
693
- }
694
693
  .FormWidget-module_loading__aAJ-B {
695
694
  background-color: rgba(0, 0, 0, 0) !important;
696
695
  border: 0px !important;
@@ -703,7 +702,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
703
702
  background: var(--xapp-form-widget-background-color, #f3f8fb);
704
703
  border-radius: 17.5px;
705
704
  overflow: hidden;
706
- max-width: 100%;
705
+ max-width: 740px;
707
706
  max-height: 100%;
708
707
  box-sizing: border-box;
709
708
  position: relative;
@@ -715,7 +714,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
715
714
  max-height: 100%;
716
715
  min-height: 128px;
717
716
  overflow: hidden;
718
- width: 500px;
717
+ width: 100%;
719
718
  }
720
719
  .FormWidget-module_xapp_form_widget__response__X8Hbz {
721
720
  padding-top: 1em;
@@ -747,20 +746,26 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
747
746
  background-color: #a0a1c5;
748
747
  }
749
748
 
749
+ @media (min-width: 1201px) {
750
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
751
+ width: 740px;
752
+ }
753
+ }
754
+ @media (min-width: 992px) and (max-width: 1200px) {
755
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
756
+ width: 600px;
757
+ }
758
+ }
759
+ @media (min-width: 641px) and (max-width: 991px) {
760
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
761
+ width: 500px;
762
+ }
763
+ }
750
764
  @media (max-width: 640px) {
751
765
  .FormWidget-module_xapp_form_widget__content__a9NXC {
752
766
  width: 100%;
753
767
  }
754
768
  }
755
- .FormWidget-module_xapp_search_suggestions__J3DIf + container {
756
- position: absolute;
757
- top: 74px;
758
- left: 0;
759
- width: 100%;
760
- background-color: var(--xapp-form-widget-background-color, #f3f8fb);
761
- border: solid 1px #d3d3df;
762
- border-radius: 0 0 17.5px 17.5px;
763
- }
764
769
  .ChatButton-module_xapp_chat_button__HH7eW {
765
770
  position: fixed;
766
771
  top: 25px;
@@ -775,7 +780,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
775
780
  animation: ChatButton-module_widget-show-grow__z65qQ 0.5s backwards;
776
781
  width: 75px;
777
782
  height: 75px;
778
- z-index: 1000;
783
+ z-index: 10000;
779
784
  background-color: transparent !important;
780
785
  padding: 0;
781
786
  border-width: 0px;
@@ -818,6 +823,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
818
823
  }
819
824
  .SideButton-module_xapp_form_sticky_button__YqORL {
820
825
  position: fixed;
826
+ z-index: 10000;
821
827
  cursor: pointer;
822
828
  transform: translateY(-50%);
823
829
  text-align: center;