@xapp/form-widget 1.70.2 → 1.71.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
@@ -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 {
410
+ background-image: unset !important;
411
+ }
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 {
405
418
  background-image: unset !important;
406
419
  }
407
- .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:focus, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:focus {
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;
@@ -518,6 +536,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
518
536
  .FormStepDisplay-module_xapp_secondary_button__LuMfN:hover {
519
537
  filter: brightness(80%) !important;
520
538
  }
539
+
540
+ .FormStepDisplay-module_xapp_disabled_button__RjSfL {
541
+ background-color: rgba(121, 117, 133, 0.5) !important;
542
+ font-family: inherit !important;
543
+ }
544
+ .FormStepDisplay-module_xapp_disabled_button__RjSfL:hover {
545
+ filter: brightness(80%) !important;
546
+ }
521
547
  .FormFieldSelect-module_xapp_checkbox_select__QccWu {
522
548
  margin: 6px !important;
523
549
  font-size: 12px !important;
@@ -657,40 +683,6 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
657
683
  padding: 0 10px;
658
684
  overflow: auto;
659
685
  }
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
686
  .FormWidget-module_loading__aAJ-B {
695
687
  background-color: rgba(0, 0, 0, 0) !important;
696
688
  border: 0px !important;
@@ -703,7 +695,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
703
695
  background: var(--xapp-form-widget-background-color, #f3f8fb);
704
696
  border-radius: 17.5px;
705
697
  overflow: hidden;
706
- max-width: 100%;
698
+ max-width: 740px;
707
699
  max-height: 100%;
708
700
  box-sizing: border-box;
709
701
  position: relative;
@@ -715,7 +707,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
715
707
  max-height: 100%;
716
708
  min-height: 128px;
717
709
  overflow: hidden;
718
- width: 500px;
710
+ width: 100%;
719
711
  }
720
712
  .FormWidget-module_xapp_form_widget__response__X8Hbz {
721
713
  padding-top: 1em;
@@ -747,20 +739,26 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
747
739
  background-color: #a0a1c5;
748
740
  }
749
741
 
742
+ @media (min-width: 1201px) {
743
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
744
+ width: 740px;
745
+ }
746
+ }
747
+ @media (min-width: 992px) and (max-width: 1200px) {
748
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
749
+ width: 600px;
750
+ }
751
+ }
752
+ @media (min-width: 641px) and (max-width: 991px) {
753
+ .FormWidget-module_xapp_form_widget__content__a9NXC {
754
+ width: 500px;
755
+ }
756
+ }
750
757
  @media (max-width: 640px) {
751
758
  .FormWidget-module_xapp_form_widget__content__a9NXC {
752
759
  width: 100%;
753
760
  }
754
761
  }
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
762
  .ChatButton-module_xapp_chat_button__HH7eW {
765
763
  position: fixed;
766
764
  top: 25px;
@@ -775,7 +773,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
775
773
  animation: ChatButton-module_widget-show-grow__z65qQ 0.5s backwards;
776
774
  width: 75px;
777
775
  height: 75px;
778
- z-index: 1000;
776
+ z-index: 10000;
779
777
  background-color: transparent !important;
780
778
  padding: 0;
781
779
  border-width: 0px;
@@ -818,6 +816,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
818
816
  }
819
817
  .SideButton-module_xapp_form_sticky_button__YqORL {
820
818
  position: fixed;
819
+ z-index: 10000;
821
820
  cursor: pointer;
822
821
  transform: translateY(-50%);
823
822
  text-align: center;