@xapp/form-widget 1.76.0 → 1.77.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.
- package/dist/components/Form/Form.d.ts +0 -0
- package/dist/components/FormDisplay/FormDisplay.d.ts +0 -0
- package/dist/components/FormDisplay/FormDisplay.stories.d.ts +6 -0
- package/dist/components/FormDisplay/index.d.ts +0 -0
- package/dist/components/FormDisplay/model.d.ts +0 -0
- package/dist/components/FormFieldCard/FormFieldCard.d.ts +0 -0
- package/dist/components/FormFieldCard/FormFieldCard.stories.d.ts +5 -1
- package/dist/components/FormFieldChips/FormFieldChips.d.ts +0 -0
- package/dist/components/FormFieldChips/FormFieldChips.stories.d.ts +3 -0
- package/dist/components/FormFieldChips/FormFieldSelect.d.ts +0 -0
- package/dist/components/FormFieldDate/FormFieldDate.d.ts +0 -0
- package/dist/components/FormFieldDateRange/FormFieldDateRange.d.ts +0 -0
- package/dist/components/FormFieldDropdown/FormFieldDropdown.d.ts +0 -0
- package/dist/components/FormFieldTextInput/FormFieldTextInput.d.ts +0 -0
- package/dist/components/FormResponse/FormResponse.d.ts +0 -0
- package/dist/components/FormResponse/FormResponse.stories.d.ts +15 -0
- package/dist/components/FormResponse/SearchResponsePart.d.ts +0 -0
- package/dist/components/FormResponse/index.d.ts +0 -0
- package/dist/components/FormStepDisplay/FormStepDisplay.d.ts +0 -0
- package/dist/components/FormStepDisplay/FormStepDisplay.stories.d.ts +1 -0
- package/dist/components/ResponseDisplay/ResponseDisplay.d.ts +0 -0
- package/dist/components/ResponseDisplay/index.d.ts +0 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +162 -132
- package/dist/index.es.js.map +1 -1
- package/dist/stories/default-form-service-options-zip-code-service-area.d.ts +2 -0
- package/dist/stories/default-form-service-options.d.ts +2 -0
- package/dist/stories/default-form.d.ts +2 -0
- package/dist/types.d.ts +0 -0
- package/dist/utils/__test__/extractZipFromAddress.test.d.ts +1 -0
- package/dist/utils/__test__/isInServiceArea.test.d.ts +2 -0
- package/dist/utils/comparator.d.ts +0 -0
- package/dist/utils/extractZipFromAddress.d.ts +0 -0
- package/dist/utils/isInServiceArea.d.ts +0 -0
- package/dist/xapp-form-widget.css +32 -27
- package/dist/xapp-form-widget.js +57 -47
- package/package.json +17 -17
package/dist/types.d.ts
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -291,6 +291,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
291
291
|
|
|
292
292
|
.FormFieldChips-module_xapp_chips_container__ZITF5 {
|
|
293
293
|
display: flex;
|
|
294
|
+
width: 100%;
|
|
294
295
|
flex-wrap: wrap;
|
|
295
296
|
justify-content: center;
|
|
296
297
|
}
|
|
@@ -344,6 +345,10 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
344
345
|
}
|
|
345
346
|
.FormFieldDate-module_xapp_date_picker_container__d8LYB {
|
|
346
347
|
height: 100%;
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-direction: column;
|
|
350
|
+
justify-content: center;
|
|
351
|
+
align-items: center;
|
|
347
352
|
}
|
|
348
353
|
|
|
349
354
|
.FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-weekDayLabel {
|
|
@@ -520,20 +525,28 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
520
525
|
.FormStepDisplay-module_xapp_disabled_button__RjSfL:hover {
|
|
521
526
|
filter: brightness(80%) !important;
|
|
522
527
|
}
|
|
523
|
-
.
|
|
528
|
+
.SimpleNavigationHeader-module_xapp_navigation_header__YhCD1 {
|
|
529
|
+
background-color: inherit !important;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.SimpleNavigationHeader-module_xapp_navigation_header_showcase__NhRLn {
|
|
533
|
+
background-color: inherit !important;
|
|
534
|
+
padding: 0px !important;
|
|
535
|
+
}
|
|
536
|
+
.FormDisplay-module_xapp_formstep__OW1rY {
|
|
524
537
|
display: none;
|
|
525
538
|
padding: 8px;
|
|
526
539
|
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
527
540
|
}
|
|
528
|
-
.
|
|
541
|
+
.FormDisplay-module_xapp_formstep__OW1rY.FormDisplay-module_active__5wTV3 {
|
|
529
542
|
display: block;
|
|
530
543
|
background-color: var(--xapp-form-widget-background-color, #f3f8fb) !important;
|
|
531
544
|
}
|
|
532
|
-
.
|
|
545
|
+
.FormDisplay-module_xapp_formstep__OW1rY.FormDisplay-module_title__-BtIw p {
|
|
533
546
|
margin: 10px 0 0 0;
|
|
534
547
|
}
|
|
535
548
|
|
|
536
|
-
.
|
|
549
|
+
.FormDisplay-module_xapp_header_container__Y-eFl {
|
|
537
550
|
background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
|
|
538
551
|
position: absolute;
|
|
539
552
|
top: 0px;
|
|
@@ -544,14 +557,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
544
557
|
padding-top: 16px;
|
|
545
558
|
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
546
559
|
}
|
|
547
|
-
.
|
|
560
|
+
.FormDisplay-module_xapp_header_container__Y-eFl .FormDisplay-module_empty_step_header__eHbBH {
|
|
548
561
|
height: 42px;
|
|
549
562
|
}
|
|
550
|
-
.
|
|
563
|
+
.FormDisplay-module_xapp_header_container__Y-eFl .MuiTypography-root {
|
|
551
564
|
color: var(--xapp-form-widget-header-text-color, #b7c5d1) !important;
|
|
552
565
|
}
|
|
553
566
|
|
|
554
|
-
.
|
|
567
|
+
.FormDisplay-module_xapp_header_container_showcase__MWJfr {
|
|
555
568
|
border-top-left-radius: 12px;
|
|
556
569
|
border-top-right-radius: 12px;
|
|
557
570
|
background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
|
|
@@ -560,20 +573,12 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
560
573
|
margin-top: 10px;
|
|
561
574
|
font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
|
|
562
575
|
}
|
|
563
|
-
.
|
|
576
|
+
.FormDisplay-module_xapp_header_container_showcase__MWJfr .FormDisplay-module_empty_step_header__eHbBH {
|
|
564
577
|
height: 42px;
|
|
565
578
|
}
|
|
566
|
-
.
|
|
579
|
+
.FormDisplay-module_xapp_header_container_showcase__MWJfr .MuiTypography-root {
|
|
567
580
|
color: var(--xapp-form-widget-header-text-color, #b7c5d1) !important;
|
|
568
581
|
}
|
|
569
|
-
.SimpleNavigationHeader-module_xapp_navigation_header__YhCD1 {
|
|
570
|
-
background-color: inherit !important;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.SimpleNavigationHeader-module_xapp_navigation_header_showcase__NhRLn {
|
|
574
|
-
background-color: inherit !important;
|
|
575
|
-
padding: 0px !important;
|
|
576
|
-
}
|
|
577
582
|
.SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F {
|
|
578
583
|
font-family: RobotoRegular, serif;
|
|
579
584
|
font-weight: normal;
|
|
@@ -587,15 +592,6 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
587
592
|
.SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F p:last-child {
|
|
588
593
|
margin-bottom: 0;
|
|
589
594
|
}
|
|
590
|
-
.SearchResponsePart-module_xapp_search_response_part__DRpYu {
|
|
591
|
-
margin-bottom: 12px;
|
|
592
|
-
margin-top: 86px;
|
|
593
|
-
box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 4px;
|
|
594
|
-
border-radius: 8px;
|
|
595
|
-
}
|
|
596
|
-
.SearchResponsePart-module_xapp_search_response_part__DRpYu.SearchResponsePart-module_noHeaderForm__4wLFH {
|
|
597
|
-
margin-top: 12px;
|
|
598
|
-
}
|
|
599
595
|
.Button-module_xapp_search_btn__cQf3T {
|
|
600
596
|
display: inline-block;
|
|
601
597
|
border-radius: 12px;
|
|
@@ -636,7 +632,16 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
636
632
|
.SuggestedActions-module_xapp_search_suggested_actions__item__Q7nQb {
|
|
637
633
|
margin-right: 16px;
|
|
638
634
|
}
|
|
639
|
-
.
|
|
635
|
+
.SearchResponsePart-module_xapp_search_response_part__sF6gs {
|
|
636
|
+
margin-bottom: 12px;
|
|
637
|
+
margin-top: 86px;
|
|
638
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 4px;
|
|
639
|
+
border-radius: 8px;
|
|
640
|
+
}
|
|
641
|
+
.SearchResponsePart-module_xapp_search_response_part__sF6gs.SearchResponsePart-module_noHeaderForm__HdlyL {
|
|
642
|
+
margin-top: 12px;
|
|
643
|
+
}
|
|
644
|
+
.FormResponse-module_xapp_search_response__r2YN1 {
|
|
640
645
|
padding: 0 10px;
|
|
641
646
|
overflow: auto;
|
|
642
647
|
}
|