@xapp/form-widget 1.110.8 → 1.111.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.
@@ -15,6 +15,10 @@
15
15
  *
16
16
  * Use this instead of writing the query by hand, so the definition lives in one place.
17
17
  */
18
+ /**
19
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
20
+ * until #1741, so a validation message sits exactly where it always has.
21
+ */
18
22
  .ModalDialog-module_xapp_search_modal__WpGiJ {
19
23
  position: fixed;
20
24
  top: 0;
@@ -91,6 +95,10 @@
91
95
  *
92
96
  * Use this instead of writing the query by hand, so the definition lives in one place.
93
97
  */
98
+ /**
99
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
100
+ * until #1741, so a validation message sits exactly where it always has.
101
+ */
94
102
  .Card-module_xapp_search_card__9iVCv {
95
103
  border: solid 0 var(--xapp-form-widget-border-color, #d3d3df);
96
104
  border-radius: 12px;
@@ -283,6 +291,10 @@
283
291
  *
284
292
  * Use this instead of writing the query by hand, so the definition lives in one place.
285
293
  */
294
+ /**
295
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
296
+ * until #1741, so a validation message sits exactly where it always has.
297
+ */
286
298
  .CarouselItem-module_xapp_search_carousel_item__xNpwo {
287
299
  display: inline-flex;
288
300
  flex-direction: column;
@@ -320,12 +332,39 @@
320
332
  *
321
333
  * Use this instead of writing the query by hand, so the definition lives in one place.
322
334
  */
335
+ /**
336
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
337
+ * until #1741, so a validation message sits exactly where it always has.
338
+ */
339
+ .FormFieldSelect-module_xapp_select_option__m-RaK {
340
+ display: inline-flex;
341
+ align-items: center;
342
+ vertical-align: middle;
343
+ margin: 0 16px 0 -10px;
344
+ cursor: pointer;
345
+ -webkit-tap-highlight-color: transparent;
346
+ }
347
+
348
+ .FormFieldSelect-module_xapp_select_label__U70Ur {
349
+ font-family: var(--xapp-form-widget-checkbox-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif));
350
+ font-size: 1rem;
351
+ font-weight: 400;
352
+ line-height: 1.5;
353
+ letter-spacing: 0.00938em;
354
+ }
355
+
323
356
  .FormFieldSelect-module_xapp_checkbox_select__QccWu {
324
- margin: 6px !important;
357
+ display: inline-flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ position: relative;
361
+ box-sizing: border-box;
362
+ flex-shrink: 0;
363
+ margin: 6px 0 !important;
325
364
  font-size: var(--xapp-form-widget-checkbox-font-size, 14px) !important;
326
365
  font-family: var(--xapp-form-widget-checkbox-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
327
366
  color: var(--xapp-form-widget-checkbox-color, #000000) !important;
328
- padding: 8px 16px !important;
367
+ padding: 8px 10px !important;
329
368
  height: 32px !important;
330
369
  }
331
370
  @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
@@ -334,6 +373,43 @@
334
373
  }
335
374
  }
336
375
 
376
+ .FormFieldSelect-module_xapp_select_input__UcGaw {
377
+ position: absolute;
378
+ top: 0;
379
+ left: 0;
380
+ width: 100%;
381
+ height: 100%;
382
+ margin: 0 !important;
383
+ padding: 0 !important;
384
+ opacity: 0;
385
+ z-index: 1;
386
+ cursor: inherit;
387
+ -webkit-appearance: none;
388
+ appearance: none;
389
+ }
390
+
391
+ .FormFieldSelect-module_xapp_select_icon__BgEGq {
392
+ font-size: 24px;
393
+ flex-shrink: 0;
394
+ border-radius: 2px;
395
+ }
396
+
397
+ .FormFieldSelect-module_xapp_select_input__UcGaw:focus-visible + .FormFieldSelect-module_xapp_select_icon__BgEGq {
398
+ outline: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
399
+ outline-offset: 0px;
400
+ }
401
+
402
+ .FormFieldSelect-module_xapp_select_helper__T4Eyt {
403
+ margin: 3px 14px 0 !important;
404
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
405
+ font-size: 0.75rem !important;
406
+ font-weight: 400;
407
+ line-height: 1.66 !important;
408
+ letter-spacing: 0.03333em;
409
+ text-align: left;
410
+ color: #d32f2f !important;
411
+ }
412
+
337
413
  .FormFieldSelect-module_xapp_select_container__HWy4J {
338
414
  display: flex;
339
415
  flex-wrap: wrap; /* Allows items to wrap onto a new row */
@@ -353,6 +429,158 @@
353
429
  .FormFieldCard-module_xapp_form_card__AcVAf img {
354
430
  width: 50% !important;
355
431
  }
432
+
433
+ .FormFieldCard-module_xapp_form_card_body__vuEht {
434
+ display: flex;
435
+ flex-direction: column;
436
+ align-items: center;
437
+ justify-content: center;
438
+ overflow: hidden;
439
+ border-radius: 4px;
440
+ background-color: transparent;
441
+ font-family: var(--xapp-form-widget-card-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif));
442
+ }
443
+
444
+ .FormFieldCard-module_xapp_form_card_header__SS1vk {
445
+ display: flex;
446
+ flex-direction: column;
447
+ padding: 16px;
448
+ font-family: inherit;
449
+ }
450
+
451
+ .FormFieldCard-module_xapp_form_card_header_title__xZzN5 {
452
+ display: block;
453
+ font-size: 1.5rem;
454
+ font-weight: 400;
455
+ line-height: 1.334;
456
+ color: var(--xapp-form-widget-card-color, rgba(0, 0, 0, 0.87));
457
+ }
458
+
459
+ .FormFieldCard-module_xapp_form_card_header_subheader__zOL4x {
460
+ display: block;
461
+ font-size: 1rem;
462
+ font-weight: 400;
463
+ line-height: 1.5;
464
+ color: rgba(0, 0, 0, 0.6);
465
+ }
466
+
467
+ .FormFieldCard-module_xapp_form_card_media__o6A6S {
468
+ display: block;
469
+ object-fit: cover;
470
+ background-size: cover;
471
+ background-repeat: no-repeat;
472
+ background-position: center;
473
+ }
474
+
475
+ .FormFieldCard-module_xapp_form_card_content__xk0qq {
476
+ padding: 4px;
477
+ }
478
+
479
+ .FormFieldCard-module_xapp_form_card_text__L-a2X {
480
+ margin: 0;
481
+ font-family: inherit;
482
+ }
483
+
484
+ .FormFieldCard-module_xapp_form_card_text_h1__YgA4Z {
485
+ font-size: 6rem;
486
+ font-weight: 300;
487
+ line-height: 1.167;
488
+ letter-spacing: -0.01562em;
489
+ }
490
+
491
+ .FormFieldCard-module_xapp_form_card_text_h2__Tx0rO {
492
+ font-size: 3.75rem;
493
+ font-weight: 300;
494
+ line-height: 1.2;
495
+ letter-spacing: -0.00833em;
496
+ }
497
+
498
+ .FormFieldCard-module_xapp_form_card_text_h3__Js1Op {
499
+ font-size: 3rem;
500
+ font-weight: 400;
501
+ line-height: 1.167;
502
+ letter-spacing: 0;
503
+ }
504
+
505
+ .FormFieldCard-module_xapp_form_card_text_h4__9yry6 {
506
+ font-size: 2.125rem;
507
+ font-weight: 400;
508
+ line-height: 1.235;
509
+ letter-spacing: 0.00735em;
510
+ }
511
+
512
+ .FormFieldCard-module_xapp_form_card_text_h5__toyJR {
513
+ font-size: 1.5rem;
514
+ font-weight: 400;
515
+ line-height: 1.334;
516
+ letter-spacing: 0;
517
+ }
518
+
519
+ .FormFieldCard-module_xapp_form_card_text_h6__0-eii {
520
+ font-size: 1.25rem;
521
+ font-weight: 500;
522
+ line-height: 1.6;
523
+ letter-spacing: 0.0075em;
524
+ }
525
+
526
+ .FormFieldCard-module_xapp_form_card_text_subtitle1__NANlV {
527
+ font-size: 1rem;
528
+ font-weight: 400;
529
+ line-height: 1.75;
530
+ letter-spacing: 0.00938em;
531
+ }
532
+
533
+ .FormFieldCard-module_xapp_form_card_text_subtitle2__MYx4s {
534
+ font-size: 0.875rem;
535
+ font-weight: 500;
536
+ line-height: 1.57;
537
+ letter-spacing: 0.00714em;
538
+ }
539
+
540
+ .FormFieldCard-module_xapp_form_card_text_body1__mLBa1 {
541
+ font-size: 1rem;
542
+ font-weight: 400;
543
+ line-height: 1.5;
544
+ letter-spacing: 0.00938em;
545
+ }
546
+
547
+ .FormFieldCard-module_xapp_form_card_text_body2__LVGQo {
548
+ font-size: 0.875rem;
549
+ font-weight: 400;
550
+ line-height: 1.43;
551
+ letter-spacing: 0.01071em;
552
+ }
553
+
554
+ .FormFieldCard-module_xapp_form_card_text_inherit__v3d-Y {
555
+ font: inherit;
556
+ letter-spacing: inherit;
557
+ }
558
+
559
+ .FormFieldCard-module_xapp_form_card_text_button__2t1tt {
560
+ display: block;
561
+ font-size: 0.875rem;
562
+ font-weight: 500;
563
+ line-height: 1.75;
564
+ letter-spacing: 0.02857em;
565
+ text-transform: uppercase;
566
+ }
567
+
568
+ .FormFieldCard-module_xapp_form_card_text_caption__GcGFA {
569
+ display: block;
570
+ font-size: 0.75rem;
571
+ font-weight: 400;
572
+ line-height: 1.66;
573
+ letter-spacing: 0.03333em;
574
+ }
575
+
576
+ .FormFieldCard-module_xapp_form_card_text_overline__ial1O {
577
+ display: block;
578
+ font-size: 0.75rem;
579
+ font-weight: 400;
580
+ line-height: 2.66;
581
+ letter-spacing: 0.08333em;
582
+ text-transform: uppercase;
583
+ }
356
584
  /**
357
585
  * The phone breakpoint.
358
586
  *
@@ -370,12 +598,27 @@
370
598
  *
371
599
  * Use this instead of writing the query by hand, so the definition lives in one place.
372
600
  */
373
- .MuiChip-label {
374
- padding-left: 4px !important;
375
- padding-right: 4px !important;
376
- }
377
-
601
+ /**
602
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
603
+ * until #1741, so a validation message sits exactly where it always has.
604
+ */
378
605
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb {
606
+ display: inline-flex !important;
607
+ align-items: center;
608
+ justify-content: center;
609
+ position: relative;
610
+ box-sizing: border-box !important;
611
+ max-width: 100%;
612
+ vertical-align: middle;
613
+ white-space: nowrap;
614
+ border: 0 !important;
615
+ outline: 0;
616
+ line-height: 1.5 !important;
617
+ text-transform: none !important;
618
+ text-decoration: none !important;
619
+ letter-spacing: normal;
620
+ user-select: none;
621
+ -webkit-tap-highlight-color: transparent;
379
622
  margin: 6px !important;
380
623
  font-size: var(--xapp-form-widget-chips-font-size, 0.875em) !important;
381
624
  font-family: var(--xapp-form-widget-chips-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
@@ -388,9 +631,6 @@
388
631
  cursor: pointer;
389
632
  transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out, transform 150ms ease-in-out !important;
390
633
  }
391
- .FormFieldChips-module_xapp_checkbox_chip__8DRkb .MuiChip-label {
392
- font-family: var(--xapp-form-widget-chips-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
393
- }
394
634
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb:hover {
395
635
  box-shadow: var(--xapp-form-widget-box-shadow-subtle, 0 2px 8px rgba(0, 0, 0, 0.08)) !important;
396
636
  transform: translateY(-1px);
@@ -411,9 +651,37 @@
411
651
  font-size: 16px !important;
412
652
  height: 44px !important;
413
653
  }
414
- .FormFieldChips-module_xapp_checkbox_chip__8DRkb .MuiChip-label {
415
- margin: 0;
416
- }
654
+ }
655
+
656
+ .FormFieldChips-module_xapp_chip_label__Yua52 {
657
+ overflow: hidden;
658
+ text-overflow: ellipsis;
659
+ white-space: nowrap;
660
+ padding-left: 4px;
661
+ padding-right: 4px;
662
+ font-family: var(--xapp-form-widget-chips-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
663
+ }
664
+
665
+ .FormFieldChips-module_xapp_chip_link__yhO-O .FormFieldChips-module_xapp_chip_label__Yua52 {
666
+ text-decoration: underline;
667
+ }
668
+
669
+ .FormFieldChips-module_xapp_chip_icon__Awxmc {
670
+ flex-shrink: 0;
671
+ font-size: 1.5rem;
672
+ margin-left: 5px;
673
+ margin-right: -6px;
674
+ }
675
+
676
+ .FormFieldChips-module_xapp_chips_helper__2gCIL {
677
+ margin: 3px 14px 0 !important;
678
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
679
+ font-size: 0.75rem !important;
680
+ font-weight: 400;
681
+ line-height: 1.66 !important;
682
+ letter-spacing: 0.03333em;
683
+ text-align: left;
684
+ color: #d32f2f !important;
417
685
  }
418
686
 
419
687
  .FormFieldChips-module_xapp_chip_clicked__S8xmo {
@@ -452,6 +720,27 @@
452
720
  .FormFieldChips-module_xapp_chips_title_container__empty__5seHa p {
453
721
  margin: 10px 0;
454
722
  }
723
+ /**
724
+ * The phone breakpoint.
725
+ *
726
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
727
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
728
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
729
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
730
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
731
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
732
+ *
733
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
734
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
735
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
736
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
737
+ *
738
+ * Use this instead of writing the query by hand, so the definition lives in one place.
739
+ */
740
+ /**
741
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
742
+ * until #1741, so a validation message sits exactly where it always has.
743
+ */
455
744
  .FormFieldTextInput-module_xapp_text_input_container__title__zeqDT p {
456
745
  margin: 0;
457
746
  font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
@@ -474,20 +763,78 @@
474
763
  font-weight: 500;
475
764
  }
476
765
 
477
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiFilledInput-root::before,
478
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiFilledInput-root::after {
766
+ .FormFieldTextInput-module_xapp_text_input_text__3rHVn {
767
+ display: inline-flex;
768
+ flex-direction: column;
769
+ position: relative;
770
+ width: 100%;
771
+ min-width: 0;
772
+ margin: 16px 0 8px;
773
+ padding: 0;
774
+ border: 0;
775
+ box-sizing: border-box;
776
+ vertical-align: top;
777
+ }
778
+
779
+ .FormFieldTextInput-module_xapp_text_input_root__LhuLl {
780
+ position: relative;
781
+ display: flex;
782
+ align-items: center;
783
+ width: 100%;
784
+ box-sizing: border-box;
785
+ font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif));
786
+ font-size: 1rem;
787
+ line-height: 1.4375em;
788
+ cursor: text;
789
+ }
790
+ .FormFieldTextInput-module_xapp_text_input_root__LhuLl::before, .FormFieldTextInput-module_xapp_text_input_root__LhuLl::after {
479
791
  display: var(--xapp-form-widget-text-underline-display, block) !important;
792
+ content: "";
793
+ position: absolute;
794
+ left: 0;
795
+ right: 0;
796
+ bottom: 0;
797
+ pointer-events: none;
798
+ }
799
+ .FormFieldTextInput-module_xapp_text_input_root__LhuLl::before {
800
+ border-bottom: 1px solid rgba(0, 0, 0, 0.42);
801
+ transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
802
+ }
803
+ .FormFieldTextInput-module_xapp_text_input_root__LhuLl::after {
804
+ border-bottom: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
805
+ transform: scaleX(0);
806
+ transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
807
+ }
808
+ .FormFieldTextInput-module_xapp_text_input_root__LhuLl:hover::before {
809
+ border-bottom-color: rgba(0, 0, 0, 0.87);
480
810
  }
481
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-input {
811
+
812
+ .FormFieldTextInput-module_xapp_text_input_focused__TMVDB::after {
813
+ transform: scaleX(1);
814
+ }
815
+
816
+ .FormFieldTextInput-module_xapp_text_input_error__t0djn .FormFieldTextInput-module_xapp_text_input_root__LhuLl::before, .FormFieldTextInput-module_xapp_text_input_error__t0djn .FormFieldTextInput-module_xapp_text_input_root__LhuLl::after {
817
+ border-bottom-color: #d32f2f;
818
+ }
819
+ .FormFieldTextInput-module_xapp_text_input_error__t0djn .FormFieldTextInput-module_xapp_text_input_root__LhuLl::after {
820
+ transform: scaleX(1);
821
+ }
822
+
823
+ .FormFieldTextInput-module_xapp_text_input_control__GO3Jw {
824
+ display: block;
825
+ min-width: 0;
482
826
  padding: 21px 12px 4px 12px !important;
483
827
  border: var(--xapp-form-widget-text-border-width, 0) solid var(--xapp-form-widget-text-border-color, transparent) !important;
484
828
  background-color: var(--xapp-form-widget-text-background-color, rgba(0, 0, 0, 0.06)) !important;
485
- border-radius: var(--xapp-form-widget-border-radius-sm, 8px) !important;
829
+ border-radius: var(--xapp-form-widget-border-radius-sm, 8px) var(--xapp-form-widget-border-radius-sm, 8px) var(--xapp-form-widget-text-bottom-radius, 0) var(--xapp-form-widget-text-bottom-radius, 0) !important;
486
830
  transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out !important;
487
831
  color: var(--xapp-form-widget-text-color, rgba(0, 0, 0, 0.87)) !important;
488
832
  font-size: var(--xapp-form-widget-text-font-size, 1rem) !important;
489
- font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
833
+ font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif)) !important;
834
+ line-height: 1.4375em !important;
835
+ letter-spacing: inherit;
490
836
  height: auto !important;
837
+ min-height: 0 !important;
491
838
  width: 100% !important;
492
839
  max-width: 100% !important;
493
840
  box-sizing: border-box !important;
@@ -495,35 +842,81 @@
495
842
  margin-bottom: 0 !important;
496
843
  border-width: var(--xapp-form-widget-text-border-width, 0) !important;
497
844
  border-style: solid !important;
845
+ box-shadow: none;
498
846
  -webkit-appearance: none !important;
499
847
  appearance: none !important;
500
848
  }
501
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-input:hover {
849
+ .FormFieldTextInput-module_xapp_text_input_control__GO3Jw::placeholder {
850
+ color: currentColor;
851
+ opacity: 0.42;
852
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
853
+ }
854
+ .FormFieldTextInput-module_xapp_text_input_control__GO3Jw[data-shrink=false]::placeholder {
855
+ opacity: 0 !important;
856
+ }
857
+ .FormFieldTextInput-module_xapp_text_input_control__GO3Jw:hover {
502
858
  background-color: var(--xapp-form-widget-text-background-color-dark, rgba(0, 0, 0, 0.09)) !important;
503
859
  border-color: var(--xapp-form-widget-text-border-color-focus, var(--xapp-form-widget-text-border-color, transparent)) !important;
504
860
  }
505
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-input:focus {
861
+ .FormFieldTextInput-module_xapp_text_input_control__GO3Jw:focus {
506
862
  background-color: var(--xapp-form-widget-text-background-color-dark, rgba(0, 0, 0, 0.09)) !important;
507
863
  border-color: var(--xapp-form-widget-text-border-color-focus, var(--xapp-form-widget-text-border-color, transparent)) !important;
508
864
  outline: none !important;
509
865
  box-shadow: inset 0 0 0 2px var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54)) !important;
510
866
  }
511
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiTextField-root {
512
- background-color: var(--xapp-form-widget-text-background-color, rgba(0, 0, 0, 0.06)) !important;
513
- border-radius: var(--xapp-form-widget-border-radius-sm, 8px);
514
- }
515
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiTextField-root .MuiInputLabel-root.MuiInputLabel-multiline {
516
- top: 8px;
867
+
868
+ textarea.FormFieldTextInput-module_xapp_text_input_control__GO3Jw {
869
+ resize: none;
870
+ overflow: auto;
517
871
  }
518
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputLabel-root {
872
+
873
+ .FormFieldTextInput-module_xapp_text_input_label__mNAse {
874
+ position: absolute !important;
875
+ left: 0;
876
+ top: 0;
877
+ z-index: 1;
878
+ display: block;
879
+ max-width: calc(100% - 24px);
880
+ margin: 0 !important;
881
+ padding: 0 !important;
882
+ overflow: hidden;
883
+ white-space: nowrap;
884
+ text-overflow: ellipsis;
885
+ pointer-events: none;
886
+ transform-origin: top left;
519
887
  transform: translate(12px, 13px) scale(1) !important;
520
888
  transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms !important;
521
- }
522
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputLabel-root.MuiInputLabel-shrink {
889
+ color: rgba(0, 0, 0, 0.6);
890
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif) !important;
891
+ font-size: 1rem !important;
892
+ font-weight: 400 !important;
893
+ line-height: 1.4375em !important;
894
+ letter-spacing: 0.00938em;
895
+ }
896
+ .FormFieldTextInput-module_xapp_text_input_label__mNAse[data-shrink=true] {
897
+ max-width: calc(133% - 24px);
523
898
  transform: translate(12px, 4px) scale(0.75) !important;
524
899
  }
525
- .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-multiline {
526
- padding: 0px;
900
+ .FormFieldTextInput-module_xapp_text_input_focused__TMVDB .FormFieldTextInput-module_xapp_text_input_label__mNAse {
901
+ color: var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
902
+ }
903
+ .FormFieldTextInput-module_xapp_text_input_error__t0djn .FormFieldTextInput-module_xapp_text_input_label__mNAse {
904
+ color: #d32f2f;
905
+ }
906
+
907
+ .FormFieldTextInput-module_xapp_text_input_error__t0djn .FormFieldTextInput-module_xapp_text_input_asterisk__sODty {
908
+ color: #d32f2f;
909
+ }
910
+
911
+ .FormFieldTextInput-module_xapp_text_input_helper__scKZk {
912
+ margin: 3px 14px 0 !important;
913
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
914
+ font-size: 0.75rem !important;
915
+ font-weight: 400;
916
+ line-height: 1.66 !important;
917
+ letter-spacing: 0.03333em;
918
+ text-align: left;
919
+ color: #d32f2f !important;
527
920
  }
528
921
  /**
529
922
  * The phone breakpoint.
@@ -542,18 +935,185 @@
542
935
  *
543
936
  * Use this instead of writing the query by hand, so the definition lives in one place.
544
937
  */
938
+ /**
939
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
940
+ * until #1741, so a validation message sits exactly where it always has.
941
+ */
545
942
  .FormFieldDropdown-module_xapp_dropdown_container__4oRlr {
546
943
  margin-top: 20px;
547
944
  margin-bottom: 20px;
548
945
  }
549
- .FormFieldDropdown-module_xapp_dropdown_container__4oRlr .MuiInputBase-input,
550
- .FormFieldDropdown-module_xapp_dropdown_container__4oRlr select {
946
+
947
+ .FormFieldDropdown-module_xapp_dropdown_control__Dbrih {
948
+ position: relative;
949
+ display: flex;
950
+ align-items: center;
951
+ width: 100%;
952
+ box-sizing: border-box;
953
+ border-radius: 4px;
954
+ background-color: var(--xapp-form-widget-dropdown-background-color, transparent);
955
+ }
956
+
957
+ .FormFieldDropdown-module_xapp_dropdown_select__CH-Gc {
958
+ display: block;
959
+ width: 100% !important;
960
+ max-width: 100% !important;
961
+ height: auto !important;
962
+ min-height: 1.4375em;
963
+ box-sizing: border-box !important;
964
+ margin: 0 !important;
965
+ padding: 8.5px 32px 8.5px 14px !important;
966
+ border: 0 !important;
967
+ border-radius: 4px;
968
+ outline: 0;
969
+ background: transparent none !important;
970
+ box-shadow: none !important;
971
+ -webkit-appearance: none !important;
972
+ -moz-appearance: none !important;
973
+ appearance: none !important;
974
+ cursor: pointer;
975
+ color: var(--xapp-form-widget-dropdown-color, rgba(0, 0, 0, 0.87)) !important;
976
+ font-size: var(--xapp-form-widget-dropdown-font-size, 14px);
977
+ font-family: var(--xapp-form-widget-dropdown-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif));
978
+ line-height: 1.4375em !important;
979
+ text-overflow: ellipsis;
980
+ white-space: nowrap;
981
+ overflow: hidden;
982
+ }
983
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
984
+ .FormFieldDropdown-module_xapp_dropdown_select__CH-Gc {
985
+ font-size: var(--xapp-form-widget-dropdown-font-size-mobile, 16px);
986
+ }
987
+ }
988
+
989
+ .FormFieldDropdown-module_xapp_dropdown_arrow__hX1wc {
990
+ position: absolute;
991
+ right: 7px;
992
+ top: calc(50% - 0.5em);
993
+ font-size: 24px;
994
+ color: rgba(0, 0, 0, 0.54);
995
+ pointer-events: none;
996
+ }
997
+
998
+ .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy {
999
+ position: absolute;
1000
+ inset: -5px 0 0;
1001
+ margin: 0 !important;
1002
+ padding: 0 8px !important;
1003
+ min-width: 0;
1004
+ border: 1px solid rgba(0, 0, 0, 0.23) !important;
1005
+ border-radius: inherit;
1006
+ text-align: left;
1007
+ overflow: hidden;
1008
+ pointer-events: none;
1009
+ }
1010
+ .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy legend {
1011
+ float: unset;
1012
+ display: block;
1013
+ width: auto;
1014
+ max-width: 100%;
1015
+ height: 11px;
1016
+ margin: 0 !important;
1017
+ padding: 0 !important;
1018
+ border: 0 !important;
1019
+ font-size: 0.75em;
1020
+ visibility: hidden;
1021
+ white-space: nowrap;
1022
+ }
1023
+ .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy legend > span {
1024
+ display: inline-block;
1025
+ padding-left: 5px;
1026
+ padding-right: 5px;
1027
+ opacity: 0;
1028
+ }
1029
+
1030
+ .FormFieldDropdown-module_xapp_dropdown_control__Dbrih:hover .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy {
1031
+ border-color: rgba(0, 0, 0, 0.87) !important;
1032
+ }
1033
+
1034
+ .FormFieldDropdown-module_xapp_dropdown_control__Dbrih:focus-within .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy {
1035
+ border: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54)) !important;
1036
+ }
1037
+
1038
+ .FormFieldDropdown-module_xapp_dropdown_label__chOkA {
1039
+ position: absolute !important;
1040
+ left: 0;
1041
+ top: 0;
1042
+ z-index: 1;
1043
+ max-width: calc(133% - 32px);
1044
+ margin: 0 !important;
1045
+ padding: 0 !important;
1046
+ overflow: hidden;
1047
+ white-space: nowrap;
1048
+ text-overflow: ellipsis;
1049
+ pointer-events: none;
1050
+ transform-origin: top left;
1051
+ transform: translate(14px, -9px) scale(0.75) !important;
1052
+ color: rgba(0, 0, 0, 0.6);
1053
+ font-family: var(--xapp-form-widget-dropdown-font-family, var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif));
1054
+ font-size: 1rem !important;
1055
+ font-weight: 400;
1056
+ line-height: 1.4375em;
1057
+ letter-spacing: 0.00938em;
1058
+ }
1059
+ .FormFieldDropdown-module_xapp_dropdown_control__Dbrih:focus-within .FormFieldDropdown-module_xapp_dropdown_label__chOkA {
1060
+ color: var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
1061
+ }
1062
+
1063
+ .FormFieldDropdown-module_xapp_dropdown_error__-pG-B .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy, .FormFieldDropdown-module_xapp_dropdown_error__-pG-B:hover .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy, .FormFieldDropdown-module_xapp_dropdown_error__-pG-B:focus-within .FormFieldDropdown-module_xapp_dropdown_outline__fxBhy {
1064
+ border-color: #d32f2f !important;
1065
+ }
1066
+ .FormFieldDropdown-module_xapp_dropdown_error__-pG-B .FormFieldDropdown-module_xapp_dropdown_label__chOkA, .FormFieldDropdown-module_xapp_dropdown_error__-pG-B:focus-within .FormFieldDropdown-module_xapp_dropdown_label__chOkA {
1067
+ color: #d32f2f;
1068
+ }
1069
+
1070
+ .FormFieldDropdown-module_xapp_dropdown_helper__uYy73 {
1071
+ margin: 3px 14px 0 !important;
1072
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
1073
+ font-size: 0.75rem !important;
1074
+ font-weight: 400;
1075
+ line-height: 1.66 !important;
1076
+ letter-spacing: 0.03333em;
1077
+ text-align: left;
1078
+ color: #d32f2f !important;
1079
+ }
1080
+
1081
+ .FormFieldDropdown-module_xapp_dropdown_free_form__h8qhc {
1082
+ margin-top: 8px;
1083
+ }
1084
+
1085
+ .FormFieldDropdown-module_xapp_dropdown_free_form_input__Fc7Ow {
1086
+ display: block;
1087
+ width: 100% !important;
1088
+ max-width: 100% !important;
1089
+ height: auto !important;
1090
+ box-sizing: border-box !important;
1091
+ margin: 0 !important;
1092
+ padding: 8.5px 14px !important;
1093
+ border: 1px solid rgba(0, 0, 0, 0.23) !important;
1094
+ border-radius: 4px !important;
1095
+ background: var(--xapp-form-widget-dropdown-background-color, transparent) !important;
1096
+ box-shadow: none !important;
1097
+ color: var(--xapp-form-widget-dropdown-color, rgba(0, 0, 0, 0.87)) !important;
551
1098
  font-size: var(--xapp-form-widget-dropdown-font-size, 14px);
552
1099
  font-family: var(--xapp-form-widget-dropdown-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
1100
+ line-height: 1.4375em !important;
1101
+ -webkit-appearance: none;
1102
+ appearance: none;
1103
+ }
1104
+ .FormFieldDropdown-module_xapp_dropdown_free_form_input__Fc7Ow:hover {
1105
+ border-color: rgba(0, 0, 0, 0.87) !important;
1106
+ }
1107
+ .FormFieldDropdown-module_xapp_dropdown_free_form_input__Fc7Ow:focus {
1108
+ outline: 0;
1109
+ border: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54)) !important;
1110
+ padding: 7.5px 13px !important;
1111
+ }
1112
+ .FormFieldDropdown-module_xapp_dropdown_free_form_input__Fc7Ow.FormFieldDropdown-module_xapp_dropdown_error__-pG-B {
1113
+ border-color: #d32f2f !important;
553
1114
  }
554
1115
  @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
555
- .FormFieldDropdown-module_xapp_dropdown_container__4oRlr .MuiInputBase-input,
556
- .FormFieldDropdown-module_xapp_dropdown_container__4oRlr select {
1116
+ .FormFieldDropdown-module_xapp_dropdown_free_form_input__Fc7Ow {
557
1117
  font-size: var(--xapp-form-widget-dropdown-font-size-mobile, 16px);
558
1118
  }
559
1119
  }
@@ -574,6 +1134,10 @@
574
1134
  *
575
1135
  * Use this instead of writing the query by hand, so the definition lives in one place.
576
1136
  */
1137
+ /**
1138
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
1139
+ * until #1741, so a validation message sits exactly where it always has.
1140
+ */
577
1141
  .FormFieldDate-module_xapp_date_picker_container__d8LYB {
578
1142
  height: 100%;
579
1143
  display: flex;
@@ -715,6 +1279,10 @@
715
1279
  *
716
1280
  * Use this instead of writing the query by hand, so the definition lives in one place.
717
1281
  */
1282
+ /**
1283
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
1284
+ * until #1741, so a validation message sits exactly where it always has.
1285
+ */
718
1286
  .FormFieldDateTime-module_xapp_datetime__rPNwE {
719
1287
  display: flex;
720
1288
  flex-direction: column;
@@ -948,6 +1516,10 @@
948
1516
  *
949
1517
  * Use this instead of writing the query by hand, so the definition lives in one place.
950
1518
  */
1519
+ /**
1520
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
1521
+ * until #1741, so a validation message sits exactly where it always has.
1522
+ */
951
1523
  .FormStepDisplay-module_xapp_step_iframe_wrapper__BBFRw {
952
1524
  display: flex;
953
1525
  flex-direction: column;
@@ -1107,6 +1679,34 @@
1107
1679
  flex-grow: 1;
1108
1680
  }
1109
1681
 
1682
+ .FormStepDisplay-module_xapp_step_button__KeEND {
1683
+ display: inline-flex !important;
1684
+ align-items: center;
1685
+ justify-content: center;
1686
+ position: relative;
1687
+ box-sizing: border-box !important;
1688
+ min-width: 64px;
1689
+ margin: 0 !important;
1690
+ border: 0;
1691
+ outline: 0;
1692
+ vertical-align: middle;
1693
+ cursor: pointer;
1694
+ user-select: none;
1695
+ -webkit-appearance: none;
1696
+ appearance: none;
1697
+ -webkit-tap-highlight-color: transparent;
1698
+ color: #fff !important;
1699
+ line-height: 1.75 !important;
1700
+ letter-spacing: 0.02857em;
1701
+ text-transform: uppercase !important;
1702
+ text-decoration: none !important;
1703
+ text-shadow: none !important;
1704
+ }
1705
+ .FormStepDisplay-module_xapp_step_button__KeEND:disabled {
1706
+ color: rgba(0, 0, 0, 0.26) !important;
1707
+ pointer-events: none;
1708
+ }
1709
+
1110
1710
  .FormStepDisplay-module_xapp_primary_button__d2wra {
1111
1711
  background-color: var(--xapp-form-widget-primary-button-color, #ea6539) !important;
1112
1712
  font-family: inherit !important;
@@ -1322,6 +1922,27 @@
1322
1922
  letter-spacing: 1px;
1323
1923
  white-space: nowrap;
1324
1924
  }
1925
+ /**
1926
+ * The phone breakpoint.
1927
+ *
1928
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1929
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1930
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1931
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1932
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1933
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1934
+ *
1935
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1936
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1937
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1938
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1939
+ *
1940
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1941
+ */
1942
+ /**
1943
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
1944
+ * until #1741, so a validation message sits exactly where it always has.
1945
+ */
1325
1946
  .SimpleNavigationHeader-module_xapp_navigation_header__YhCD1 {
1326
1947
  background-color: inherit !important;
1327
1948
  }
@@ -1334,6 +1955,85 @@
1334
1955
  .SimpleNavigationHeader-module_xapp_navigation_header_container__V9y-e {
1335
1956
  background-color: inherit !important;
1336
1957
  }
1958
+
1959
+ .SimpleNavigationHeader-module_xapp_navigation_header_row__rmXFD {
1960
+ display: flex;
1961
+ justify-content: center;
1962
+ gap: 16px;
1963
+ padding: 16px;
1964
+ }
1965
+
1966
+ .SimpleNavigationHeader-module_xapp_navigation_header_title__yVgEi {
1967
+ margin: 0;
1968
+ color: var(--xapp-form-widget-header-text-color, #b7c5d1);
1969
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
1970
+ font-size: 2.125rem;
1971
+ font-weight: 400;
1972
+ line-height: 1.235;
1973
+ letter-spacing: 0.00735em;
1974
+ }
1975
+
1976
+ .SimpleNavigationHeader-module_xapp_navigation_header_track__Ktw8x {
1977
+ position: relative;
1978
+ display: flex;
1979
+ align-items: center;
1980
+ justify-content: center;
1981
+ width: 100%;
1982
+ min-height: 50px;
1983
+ }
1984
+ .SimpleNavigationHeader-module_xapp_navigation_header_track__Ktw8x::before {
1985
+ content: "";
1986
+ position: absolute;
1987
+ top: 50%;
1988
+ left: 0;
1989
+ right: 0;
1990
+ height: 3px;
1991
+ background-color: white;
1992
+ z-index: 1;
1993
+ }
1994
+
1995
+ .SimpleNavigationHeader-module_xapp_navigation_header_step__tTjar {
1996
+ position: relative;
1997
+ top: 10px;
1998
+ z-index: 2;
1999
+ display: flex;
2000
+ flex-direction: column;
2001
+ align-items: center;
2002
+ min-width: 100px;
2003
+ }
2004
+
2005
+ .SimpleNavigationHeader-module_xapp_navigation_header_dot__THRsN {
2006
+ display: flex;
2007
+ align-items: center;
2008
+ justify-content: center;
2009
+ box-sizing: border-box;
2010
+ width: 30px !important;
2011
+ min-width: auto;
2012
+ height: 30px !important;
2013
+ margin: 0;
2014
+ padding: 0 !important;
2015
+ border: 3px solid white !important;
2016
+ border-radius: 50% !important;
2017
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
2018
+ cursor: pointer;
2019
+ }
2020
+ .SimpleNavigationHeader-module_xapp_navigation_header_dot__THRsN:focus {
2021
+ outline: none;
2022
+ }
2023
+ .SimpleNavigationHeader-module_xapp_navigation_header_dot__THRsN:focus-visible {
2024
+ outline: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
2025
+ outline-offset: 0px;
2026
+ }
2027
+
2028
+ .SimpleNavigationHeader-module_xapp_navigation_header_label__tLrJ6 {
2029
+ margin: 8px;
2030
+ color: var(--xapp-form-widget-header-text-color, #b7c5d1);
2031
+ font-family: var(--xapp-form-widget-font-family, RobotoRegular, Roboto, Helvetica, Arial, sans-serif);
2032
+ font-size: 0.875rem;
2033
+ font-weight: 400;
2034
+ line-height: 1.43;
2035
+ letter-spacing: 0.01071em;
2036
+ }
1337
2037
  .FormDisplay-module_xapp_formstep__OW1rY {
1338
2038
  display: none;
1339
2039
  padding: 8px;
@@ -1403,6 +2103,10 @@
1403
2103
  *
1404
2104
  * Use this instead of writing the query by hand, so the definition lives in one place.
1405
2105
  */
2106
+ /**
2107
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
2108
+ * until #1741, so a validation message sits exactly where it always has.
2109
+ */
1406
2110
  .SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F {
1407
2111
  font-family: var(--xapp-form-widget-font-family, RobotoRegular, serif);
1408
2112
  font-weight: normal;
@@ -1433,6 +2137,10 @@
1433
2137
  *
1434
2138
  * Use this instead of writing the query by hand, so the definition lives in one place.
1435
2139
  */
2140
+ /**
2141
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
2142
+ * until #1741, so a validation message sits exactly where it always has.
2143
+ */
1436
2144
  .Button-module_xapp_search_btn__cQf3T {
1437
2145
  display: inline-block;
1438
2146
  border-radius: var(--xapp-form-widget-border-radius-md, 12px);
@@ -1483,6 +2191,10 @@
1483
2191
  *
1484
2192
  * Use this instead of writing the query by hand, so the definition lives in one place.
1485
2193
  */
2194
+ /**
2195
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
2196
+ * until #1741, so a validation message sits exactly where it always has.
2197
+ */
1486
2198
  .SuggestedAction-module_xapp_search_suggested_action__gbLCz {
1487
2199
  display: inline-block;
1488
2200
  border-radius: var(--xapp-form-widget-border-radius-md, 12px);
@@ -1552,6 +2264,10 @@
1552
2264
  *
1553
2265
  * Use this instead of writing the query by hand, so the definition lives in one place.
1554
2266
  */
2267
+ /**
2268
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
2269
+ * until #1741, so a validation message sits exactly where it always has.
2270
+ */
1555
2271
  .FormWidget-module_loading__aAJ-B {
1556
2272
  background-color: rgba(0, 0, 0, 0) !important;
1557
2273
  border: 0px !important;
@@ -1718,6 +2434,10 @@
1718
2434
  *
1719
2435
  * Use this instead of writing the query by hand, so the definition lives in one place.
1720
2436
  */
2437
+ /**
2438
+ * A field's helper / error line. The metrics are MUI's FormHelperText, which every field used
2439
+ * until #1741, so a validation message sits exactly where it always has.
2440
+ */
1721
2441
  .SideButton-module_xapp_form_sticky_button__YqORL {
1722
2442
  position: fixed;
1723
2443
  z-index: 10000;