@xapp/form-widget 1.65.8 → 1.65.9
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/App.d.ts +0 -0
- package/dist/components/Form/Form.stories.d.ts +0 -1
- package/dist/config/theme.d.ts +0 -0
- package/dist/index.es.js +17 -17
- package/dist/index.es.js.map +1 -1
- package/dist/xapp-form-widget.css +131 -21
- package/dist/xapp-form-widget.js +18 -5
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.ModalDialog-module_xapp_search_modal__WpGiJ {
|
|
2
2
|
position: fixed;
|
|
3
|
-
top:
|
|
3
|
+
top: 0;
|
|
4
4
|
left: 0;
|
|
5
5
|
right: 0;
|
|
6
6
|
bottom: 0;
|
|
@@ -38,6 +38,11 @@
|
|
|
38
38
|
display: flex;
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
}
|
|
41
|
+
@media (max-width: 640px) {
|
|
42
|
+
.ModalDialog-module_xapp_search_modal__body__qK17C {
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
43
48
|
overflow: hidden;
|
|
@@ -299,9 +304,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
299
304
|
display: flex;
|
|
300
305
|
flex-direction: column;
|
|
301
306
|
}
|
|
307
|
+
.MuiChip-label {
|
|
308
|
+
padding-left: 4px !important;
|
|
309
|
+
padding-right: 4px !important;
|
|
310
|
+
}
|
|
311
|
+
|
|
302
312
|
.FormFieldChips-module_xapp_checkbox_chip__8DRkb {
|
|
303
313
|
margin: 6px !important;
|
|
304
|
-
font-size:
|
|
314
|
+
font-size: 0.875em !important;
|
|
305
315
|
padding: 8px 16px !important;
|
|
306
316
|
height: 32px !important;
|
|
307
317
|
border-radius: 16px !important;
|
|
@@ -309,6 +319,15 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
309
319
|
background-color: var(--xapp-form-chip-bg-color, #c4dced) !important;
|
|
310
320
|
transition: background-color 0.3s ease;
|
|
311
321
|
}
|
|
322
|
+
@media (max-width: 640px) {
|
|
323
|
+
.FormFieldChips-module_xapp_checkbox_chip__8DRkb {
|
|
324
|
+
min-width: 100px !important;
|
|
325
|
+
font-size: 10px !important;
|
|
326
|
+
}
|
|
327
|
+
.FormFieldChips-module_xapp_checkbox_chip__8DRkb .MuiChip-label {
|
|
328
|
+
margin: 0;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
312
331
|
|
|
313
332
|
.FormFieldChips-module_xapp_chip_clicked__S8xmo {
|
|
314
333
|
background-color: #6e7ae1 !important;
|
|
@@ -316,60 +335,133 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
316
335
|
|
|
317
336
|
.FormFieldChips-module_xapp_chips_container__ZITF5 {
|
|
318
337
|
display: flex;
|
|
319
|
-
flex-wrap: wrap;
|
|
320
|
-
justify-content: center;
|
|
338
|
+
flex-wrap: wrap;
|
|
339
|
+
justify-content: center;
|
|
321
340
|
}
|
|
322
341
|
|
|
323
342
|
.FormFieldChips-module_xapp_chip_wrapper__AGfKl {
|
|
324
343
|
flex: 0 0 calc(33.33% - 10px);
|
|
325
|
-
|
|
326
|
-
margin: 5px;
|
|
344
|
+
margin: 0 2px;
|
|
327
345
|
text-align: center;
|
|
328
346
|
}
|
|
347
|
+
@media (max-width: 640px) {
|
|
348
|
+
.FormFieldChips-module_xapp_chip_wrapper__AGfKl {
|
|
349
|
+
margin: 0 2px;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
329
352
|
|
|
330
353
|
.FormFieldChips-module_xapp_checkbox_chip__8DRkb:hover {
|
|
331
354
|
--xapp-form-chip-bg-color: calc(var(--xapp-form-chip-bg-color) + 20);
|
|
332
355
|
}
|
|
333
356
|
|
|
357
|
+
.FormFieldChips-module_xapp_chips_title_container__VGw77 {
|
|
358
|
+
margin: inherit;
|
|
359
|
+
}
|
|
334
360
|
.FormFieldChips-module_xapp_chips_title_container__empty__5seHa p {
|
|
335
|
-
margin: 0;
|
|
361
|
+
margin: 10px 0;
|
|
336
362
|
}
|
|
337
363
|
.FormFieldTextInput-module_xapp_text_input_container__title__zeqDT p {
|
|
338
364
|
margin: 0;
|
|
339
365
|
}
|
|
366
|
+
|
|
367
|
+
.FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-input {
|
|
368
|
+
padding: 21px 12px 4px 12px !important;
|
|
369
|
+
border: 0 !important;
|
|
370
|
+
}
|
|
340
371
|
.FormFieldDate-module_xapp_date_picker_container__d8LYB {
|
|
341
372
|
max-height: 250px;
|
|
342
373
|
}
|
|
343
374
|
|
|
344
|
-
.FormFieldDate-module_xapp_date_picker__Rvtj1 .
|
|
345
|
-
|
|
346
|
-
|
|
375
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-weekDayLabel {
|
|
376
|
+
width: 30px !important;
|
|
377
|
+
height: 32px !important;
|
|
378
|
+
}
|
|
379
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersCalendarHeader-root {
|
|
380
|
+
margin-top: 10px !important;
|
|
381
|
+
margin-bottom: 4px !important;
|
|
382
|
+
}
|
|
383
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-slideTransition {
|
|
384
|
+
min-height: 200px !important;
|
|
385
|
+
}
|
|
386
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root {
|
|
387
|
+
color: rgba(0, 0, 0, 0.54) !important;
|
|
388
|
+
background-color: transparent !important;
|
|
389
|
+
}
|
|
390
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:hover, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:hover {
|
|
391
|
+
background-image: unset !important;
|
|
392
|
+
}
|
|
393
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersArrowSwitcher-button:focus, .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.MuiButtonBase-root:focus {
|
|
394
|
+
background-image: unset !important;
|
|
395
|
+
outline: unset !important;
|
|
396
|
+
border: 0 !important;
|
|
347
397
|
}
|
|
348
398
|
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root {
|
|
349
399
|
padding: 0px !important;
|
|
400
|
+
font-family: inherit !important;
|
|
401
|
+
}
|
|
402
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root.Mui-selected {
|
|
403
|
+
color: #fff !important;
|
|
404
|
+
background-color: #1976d2 !important;
|
|
405
|
+
font-weight: 600 !important;
|
|
406
|
+
}
|
|
407
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-today {
|
|
408
|
+
font-weight: bold !important;
|
|
409
|
+
color: #321aa3 !important;
|
|
350
410
|
}
|
|
351
411
|
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin {
|
|
352
412
|
width: 30px !important;
|
|
353
413
|
height: 30px !important;
|
|
414
|
+
font-weight: 600 !important;
|
|
415
|
+
font-size: 0.75rem !important;
|
|
416
|
+
}
|
|
417
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin:hover {
|
|
418
|
+
background-image: unset !important;
|
|
419
|
+
background-color: #cfd8da !important;
|
|
420
|
+
}
|
|
421
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin:focus {
|
|
422
|
+
background-image: unset !important;
|
|
423
|
+
background-color: #1976d2 !important;
|
|
424
|
+
}
|
|
425
|
+
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin.Mui-disabled {
|
|
426
|
+
font-weight: 300 !important;
|
|
354
427
|
}
|
|
355
428
|
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-weekDayLabel {
|
|
356
|
-
|
|
357
|
-
|
|
429
|
+
font-weight: 600 !important;
|
|
430
|
+
font-size: 0.75rem !important;
|
|
358
431
|
}
|
|
359
|
-
.
|
|
360
|
-
margin
|
|
432
|
+
.FormFieldTextInputAddress-module_xapp_text_input_address_container__title__IbovL p {
|
|
433
|
+
margin: 0;
|
|
361
434
|
}
|
|
362
|
-
|
|
363
|
-
|
|
435
|
+
|
|
436
|
+
.FormFieldTextInputAddress-module_xapp_text_input_address__-FQjM .MuiInputBase-input {
|
|
437
|
+
margin: 2.5px 4px !important;
|
|
438
|
+
border: 0 !important;
|
|
439
|
+
}
|
|
440
|
+
.FormFieldTextInputAddress-module_xapp_text_input_address__-FQjM .MuiFilledInput-root {
|
|
441
|
+
padding-top: 14px !important;
|
|
442
|
+
padding-left: 8px !important;
|
|
364
443
|
}
|
|
365
444
|
.FormStepDisplay-module_xapp_formfield__hRmVx {
|
|
366
445
|
display: none;
|
|
446
|
+
font-family: inherit !important;
|
|
367
447
|
}
|
|
368
448
|
.FormStepDisplay-module_xapp_formfield__hRmVx.FormStepDisplay-module_active__fCsMz {
|
|
369
449
|
display: block;
|
|
370
450
|
}
|
|
371
451
|
.FormStepDisplay-module_xapp_formfield_title__INjeF p {
|
|
372
452
|
margin: 10px 0 0 0;
|
|
453
|
+
font-size: 1em;
|
|
454
|
+
}
|
|
455
|
+
.FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-clearIndicator, .FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-popupIndicator {
|
|
456
|
+
color: rgba(0, 0, 0, 0.54) !important;
|
|
457
|
+
background-color: transparent !important;
|
|
458
|
+
}
|
|
459
|
+
.FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-clearIndicator:hover, .FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-popupIndicator:hover {
|
|
460
|
+
background-image: unset !important;
|
|
461
|
+
background-color: #cfd8da !important;
|
|
462
|
+
}
|
|
463
|
+
.FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-clearIndicator:focus, .FormStepDisplay-module_xapp_formfield__hRmVx .MuiAutocomplete-popupIndicator:focus {
|
|
464
|
+
background-image: unset !important;
|
|
373
465
|
}
|
|
374
466
|
|
|
375
467
|
.FormStepDisplay-module_xapp_form_nav_buttons__lI4BI {
|
|
@@ -383,14 +475,16 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
383
475
|
}
|
|
384
476
|
|
|
385
477
|
.FormStepDisplay-module_xapp_primary_button__d2wra {
|
|
386
|
-
background-color: var(--xapp-form-widget-primary-color, #
|
|
478
|
+
background-color: var(--xapp-form-widget-primary-button-color, #ea6539) !important;
|
|
479
|
+
font-family: inherit !important;
|
|
387
480
|
}
|
|
388
481
|
.FormStepDisplay-module_xapp_primary_button__d2wra:hover {
|
|
389
482
|
filter: brightness(80%) !important;
|
|
390
483
|
}
|
|
391
484
|
|
|
392
485
|
.FormStepDisplay-module_xapp_secondary_button__LuMfN {
|
|
393
|
-
background-color: var(--xapp-form-widget-secondary-color, #
|
|
486
|
+
background-color: var(--xapp-form-widget-secondary-button-color, #d24cc7) !important;
|
|
487
|
+
font-family: inherit !important;
|
|
394
488
|
}
|
|
395
489
|
.FormStepDisplay-module_xapp_secondary_button__LuMfN:hover {
|
|
396
490
|
filter: brightness(80%) !important;
|
|
@@ -417,6 +511,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
417
511
|
.SearchResponseFormDisplay-module_xapp_formstep__2WhYK {
|
|
418
512
|
display: none;
|
|
419
513
|
padding: 8px;
|
|
514
|
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
420
515
|
}
|
|
421
516
|
.SearchResponseFormDisplay-module_xapp_formstep__2WhYK.SearchResponseFormDisplay-module_active__x-n-n {
|
|
422
517
|
display: block;
|
|
@@ -426,28 +521,38 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
426
521
|
}
|
|
427
522
|
|
|
428
523
|
.SearchResponseFormDisplay-module_xapp_header_container__ayUqb {
|
|
429
|
-
background-color: var(--xapp-form-widget-header-background-color, #
|
|
524
|
+
background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
|
|
430
525
|
position: absolute;
|
|
431
526
|
top: 0px;
|
|
432
527
|
right: 0px;
|
|
433
528
|
left: 0px;
|
|
434
529
|
z-index: 1000;
|
|
530
|
+
min-height: 88px;
|
|
531
|
+
padding-top: 16px;
|
|
532
|
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
435
533
|
}
|
|
436
534
|
.SearchResponseFormDisplay-module_xapp_header_container__ayUqb .SearchResponseFormDisplay-module_empty_step_header__ClbsP {
|
|
437
535
|
height: 42px;
|
|
438
536
|
}
|
|
537
|
+
.SearchResponseFormDisplay-module_xapp_header_container__ayUqb .MuiTypography-root {
|
|
538
|
+
color: var(--xapp-form-widget-header-color, #b7c5d1) !important;
|
|
539
|
+
}
|
|
439
540
|
|
|
440
541
|
.SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy {
|
|
441
542
|
border-top-left-radius: 12px;
|
|
442
543
|
border-top-right-radius: 12px;
|
|
443
|
-
background-color: var(--xapp-form-widget-header-background-color, #
|
|
544
|
+
background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
|
|
444
545
|
padding-top: 10px;
|
|
445
546
|
padding-bottom: 10px;
|
|
446
547
|
margin-top: 10px;
|
|
548
|
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
447
549
|
}
|
|
448
550
|
.SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy .SearchResponseFormDisplay-module_empty_step_header__ClbsP {
|
|
449
551
|
height: 42px;
|
|
450
552
|
}
|
|
553
|
+
.SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy .MuiTypography-root {
|
|
554
|
+
color: var(--xapp-form-widget-header-color, #b7c5d1) !important;
|
|
555
|
+
}
|
|
451
556
|
.SimpleNavigationHeader-module_xapp_navigation_header__YhCD1 {
|
|
452
557
|
background-color: inherit !important;
|
|
453
558
|
}
|
|
@@ -612,6 +717,11 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
612
717
|
background-color: #a0a1c5;
|
|
613
718
|
}
|
|
614
719
|
|
|
720
|
+
@media (max-width: 640px) {
|
|
721
|
+
.FormWidget-module_xapp_form_widget__content__a9NXC {
|
|
722
|
+
width: 100%;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
615
725
|
.FormWidget-module_xapp_search_suggestions__J3DIf + container {
|
|
616
726
|
position: absolute;
|
|
617
727
|
top: 74px;
|
|
@@ -636,7 +746,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
636
746
|
width: 75px;
|
|
637
747
|
height: 75px;
|
|
638
748
|
z-index: var(--xapp-form-widget-z-index, 1000);
|
|
639
|
-
background-color: transparent;
|
|
749
|
+
background-color: transparent !important;
|
|
640
750
|
padding: 0;
|
|
641
751
|
border-width: 0px;
|
|
642
752
|
}
|