@xapp/form-widget 1.95.1 → 1.96.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/FormFieldChips/FormFieldSelect.test.d.ts +1 -0
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/stories/consultation-form.d.ts +8 -0
- package/dist/stories/consultation-theme.d.ts +8 -0
- package/dist/xapp-form-widget.css +10 -5
- package/dist/xapp-form-widget.js +3 -3
- package/package.json +4 -4
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MultistepForm } from "stentor-models";
|
|
2
|
+
/**
|
|
3
|
+
* Single step "Schedule a Free Consultation" lead form.
|
|
4
|
+
*
|
|
5
|
+
* Areas of Interest is a multi-select CHECK field, which renders centered
|
|
6
|
+
* under its title.
|
|
7
|
+
*/
|
|
8
|
+
export declare const consultationForm: MultistepForm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormWidgetTheme } from "@xapp/stentor-form-widget-channel";
|
|
2
|
+
/** Shared with the form fixture, which uses it for the heading cards. */
|
|
3
|
+
export declare const SERIF = "Georgia, 'Times New Roman', serif";
|
|
4
|
+
/**
|
|
5
|
+
* Warm neutral theme for the "Schedule a Free Consultation" form: serif headings,
|
|
6
|
+
* white inputs on a light stone background, and a light submit button.
|
|
7
|
+
*/
|
|
8
|
+
export declare const consultationTheme: FormWidgetTheme;
|
|
@@ -247,8 +247,9 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
247
247
|
}
|
|
248
248
|
.FormFieldSelect-module_xapp_checkbox_select__QccWu {
|
|
249
249
|
margin: 6px !important;
|
|
250
|
-
font-size:
|
|
251
|
-
font-family: var(--xapp-form-widget-
|
|
250
|
+
font-size: var(--xapp-form-widget-checkbox-font-size, 14px) !important;
|
|
251
|
+
font-family: var(--xapp-form-widget-checkbox-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
|
|
252
|
+
color: var(--xapp-form-widget-checkbox-color, #000000) !important;
|
|
252
253
|
padding: 8px 16px !important;
|
|
253
254
|
height: 32px !important;
|
|
254
255
|
}
|
|
@@ -259,8 +260,12 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
259
260
|
justify-content: center; /* Centers items horizontally */
|
|
260
261
|
}
|
|
261
262
|
|
|
263
|
+
.FormFieldSelect-module_xapp_select_title_container__tnfQy {
|
|
264
|
+
text-align: center; /* Keeps the title over the centered options */
|
|
265
|
+
}
|
|
262
266
|
.FormFieldSelect-module_xapp_select_title_container__tnfQy p {
|
|
263
|
-
font-family: var(--xapp-form-widget-
|
|
267
|
+
font-family: var(--xapp-form-widget-checkbox-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
|
|
268
|
+
color: var(--xapp-form-widget-checkbox-color, #000000);
|
|
264
269
|
}
|
|
265
270
|
.FormFieldSelect-module_xapp_select_title_container__empty__zC4gk p {
|
|
266
271
|
margin: 0;
|
|
@@ -374,7 +379,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
374
379
|
background-color: var(--xapp-form-widget-text-background-color, rgba(0, 0, 0, 0.06)) !important;
|
|
375
380
|
border-radius: var(--xapp-form-widget-border-radius-sm, 8px) !important;
|
|
376
381
|
transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out !important;
|
|
377
|
-
color:
|
|
382
|
+
color: var(--xapp-form-widget-text-color, rgba(0, 0, 0, 0.87)) !important;
|
|
378
383
|
font-size: var(--xapp-form-widget-text-font-size, 1rem) !important;
|
|
379
384
|
font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
|
|
380
385
|
height: auto !important;
|
|
@@ -506,7 +511,7 @@ body.ModalDialog-module_xapp_search_opened__jgDSX {
|
|
|
506
511
|
background-color: var(--xapp-form-widget-text-background-color, rgba(0, 0, 0, 0.06)) !important;
|
|
507
512
|
border-radius: var(--xapp-form-widget-border-radius-sm, 8px) !important;
|
|
508
513
|
transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out !important;
|
|
509
|
-
color:
|
|
514
|
+
color: var(--xapp-form-widget-text-color, rgba(0, 0, 0, 0.87)) !important;
|
|
510
515
|
font-size: var(--xapp-form-widget-text-font-size, 1rem) !important;
|
|
511
516
|
font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif)) !important;
|
|
512
517
|
height: auto !important;
|