@xapp/form-widget 1.76.0 → 1.76.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.
Files changed (32) hide show
  1. package/dist/components/Form/Form.d.ts +0 -0
  2. package/dist/components/FormDisplay/FormDisplay.d.ts +0 -0
  3. package/dist/components/FormDisplay/FormDisplay.stories.d.ts +5 -0
  4. package/dist/components/FormDisplay/index.d.ts +0 -0
  5. package/dist/components/FormDisplay/model.d.ts +0 -0
  6. package/dist/components/FormFieldCard/FormFieldCard.d.ts +0 -0
  7. package/dist/components/FormFieldCard/FormFieldCard.stories.d.ts +4 -1
  8. package/dist/components/FormFieldChips/FormFieldChips.d.ts +0 -0
  9. package/dist/components/FormFieldChips/FormFieldChips.stories.d.ts +3 -0
  10. package/dist/components/FormFieldChips/FormFieldSelect.d.ts +0 -0
  11. package/dist/components/FormFieldDate/FormFieldDate.d.ts +0 -0
  12. package/dist/components/FormFieldDateRange/FormFieldDateRange.d.ts +0 -0
  13. package/dist/components/FormFieldDropdown/FormFieldDropdown.d.ts +0 -0
  14. package/dist/components/FormFieldTextInput/FormFieldTextInput.d.ts +0 -0
  15. package/dist/components/FormResponse/FormResponse.d.ts +0 -0
  16. package/dist/components/FormResponse/FormResponse.stories.d.ts +15 -0
  17. package/dist/components/FormResponse/SearchResponsePart.d.ts +0 -0
  18. package/dist/components/FormResponse/index.d.ts +0 -0
  19. package/dist/components/FormStepDisplay/FormStepDisplay.d.ts +0 -0
  20. package/dist/components/FormStepDisplay/FormStepDisplay.stories.d.ts +1 -0
  21. package/dist/components/ResponseDisplay/ResponseDisplay.d.ts +0 -0
  22. package/dist/components/ResponseDisplay/index.d.ts +0 -0
  23. package/dist/components/index.d.ts +1 -1
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.es.js +169 -132
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/stories/default-form-service-options.d.ts +2 -0
  28. package/dist/stories/default-form.d.ts +2 -0
  29. package/dist/types.d.ts +0 -0
  30. package/dist/xapp-form-widget.css +31 -27
  31. package/dist/xapp-form-widget.js +55 -47
  32. package/package.json +17 -17
@@ -0,0 +1,2 @@
1
+ import { MultistepForm } from "stentor-models";
2
+ export declare const defaultFormServiceOptions: MultistepForm;
@@ -0,0 +1,2 @@
1
+ import { MultistepForm } from "stentor-models";
2
+ export declare const defaultForm: MultistepForm;
Binary file
@@ -344,6 +344,10 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
344
344
  }
345
345
  .FormFieldDate-module_xapp_date_picker_container__d8LYB {
346
346
  height: 100%;
347
+ display: flex;
348
+ flex-direction: column;
349
+ justify-content: center;
350
+ align-items: center;
347
351
  }
348
352
 
349
353
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiDayCalendar-weekDayLabel {
@@ -520,20 +524,28 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
520
524
  .FormStepDisplay-module_xapp_disabled_button__RjSfL:hover {
521
525
  filter: brightness(80%) !important;
522
526
  }
523
- .SearchResponseFormDisplay-module_xapp_formstep__2WhYK {
527
+ .SimpleNavigationHeader-module_xapp_navigation_header__YhCD1 {
528
+ background-color: inherit !important;
529
+ }
530
+
531
+ .SimpleNavigationHeader-module_xapp_navigation_header_showcase__NhRLn {
532
+ background-color: inherit !important;
533
+ padding: 0px !important;
534
+ }
535
+ .FormDisplay-module_xapp_formstep__OW1rY {
524
536
  display: none;
525
537
  padding: 8px;
526
538
  font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
527
539
  }
528
- .SearchResponseFormDisplay-module_xapp_formstep__2WhYK.SearchResponseFormDisplay-module_active__x-n-n {
540
+ .FormDisplay-module_xapp_formstep__OW1rY.FormDisplay-module_active__5wTV3 {
529
541
  display: block;
530
542
  background-color: var(--xapp-form-widget-background-color, #f3f8fb) !important;
531
543
  }
532
- .SearchResponseFormDisplay-module_xapp_formstep__2WhYK.SearchResponseFormDisplay-module_title__okRK- p {
544
+ .FormDisplay-module_xapp_formstep__OW1rY.FormDisplay-module_title__-BtIw p {
533
545
  margin: 10px 0 0 0;
534
546
  }
535
547
 
536
- .SearchResponseFormDisplay-module_xapp_header_container__ayUqb {
548
+ .FormDisplay-module_xapp_header_container__Y-eFl {
537
549
  background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
538
550
  position: absolute;
539
551
  top: 0px;
@@ -544,14 +556,14 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
544
556
  padding-top: 16px;
545
557
  font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
546
558
  }
547
- .SearchResponseFormDisplay-module_xapp_header_container__ayUqb .SearchResponseFormDisplay-module_empty_step_header__ClbsP {
559
+ .FormDisplay-module_xapp_header_container__Y-eFl .FormDisplay-module_empty_step_header__eHbBH {
548
560
  height: 42px;
549
561
  }
550
- .SearchResponseFormDisplay-module_xapp_header_container__ayUqb .MuiTypography-root {
562
+ .FormDisplay-module_xapp_header_container__Y-eFl .MuiTypography-root {
551
563
  color: var(--xapp-form-widget-header-text-color, #b7c5d1) !important;
552
564
  }
553
565
 
554
- .SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy {
566
+ .FormDisplay-module_xapp_header_container_showcase__MWJfr {
555
567
  border-top-left-radius: 12px;
556
568
  border-top-right-radius: 12px;
557
569
  background-color: var(--xapp-form-widget-header-background-color, #012b54) !important;
@@ -560,20 +572,12 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
560
572
  margin-top: 10px;
561
573
  font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
562
574
  }
563
- .SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy .SearchResponseFormDisplay-module_empty_step_header__ClbsP {
575
+ .FormDisplay-module_xapp_header_container_showcase__MWJfr .FormDisplay-module_empty_step_header__eHbBH {
564
576
  height: 42px;
565
577
  }
566
- .SearchResponseFormDisplay-module_xapp_header_container_showcase__-VUjy .MuiTypography-root {
578
+ .FormDisplay-module_xapp_header_container_showcase__MWJfr .MuiTypography-root {
567
579
  color: var(--xapp-form-widget-header-text-color, #b7c5d1) !important;
568
580
  }
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
581
  .SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F {
578
582
  font-family: RobotoRegular, serif;
579
583
  font-weight: normal;
@@ -587,15 +591,6 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
587
591
  .SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F p:last-child {
588
592
  margin-bottom: 0;
589
593
  }
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
594
  .Button-module_xapp_search_btn__cQf3T {
600
595
  display: inline-block;
601
596
  border-radius: 12px;
@@ -636,7 +631,16 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
636
631
  .SuggestedActions-module_xapp_search_suggested_actions__item__Q7nQb {
637
632
  margin-right: 16px;
638
633
  }
639
- .SearchResponse-module_xapp_search_response__nnEM8 {
634
+ .SearchResponsePart-module_xapp_search_response_part__sF6gs {
635
+ margin-bottom: 12px;
636
+ margin-top: 86px;
637
+ box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 4px;
638
+ border-radius: 8px;
639
+ }
640
+ .SearchResponsePart-module_xapp_search_response_part__sF6gs.SearchResponsePart-module_noHeaderForm__HdlyL {
641
+ margin-top: 12px;
642
+ }
643
+ .FormResponse-module_xapp_search_response__r2YN1 {
640
644
  padding: 0 10px;
641
645
  overflow: auto;
642
646
  }