mod-build 4.0.6 → 4.0.7

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 (112) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/public/resources/scripts/abandonment/abandonment-1df90ee155f6c0893d90.min.js +2 -0
  4. package/public/resources/scripts/abandonment/abandonment.min.js +2 -0
  5. package/public/resources/scripts/callrail/callrail-5c7c537f04af468600cf.min.js +2 -0
  6. package/public/resources/scripts/callrail/callrail.min.js +2 -0
  7. package/public/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +2 -0
  8. package/public/resources/scripts/footer/footer-component.min.js +2 -0
  9. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js +2 -0
  10. package/public/resources/scripts/helpers/initNumericOnlyFields.min.js.map +1 -0
  11. package/public/resources/scripts/helpers/isZipCodeValid.min.js +2 -0
  12. package/public/resources/scripts/helpers/isZipCodeValid.min.js.map +1 -0
  13. package/public/resources/scripts/jornaya.hbs +35 -0
  14. package/public/resources/scripts/jornaya.html +35 -0
  15. package/public/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +2 -0
  16. package/public/resources/scripts/mod-alytics/modalytics.min.js +2 -0
  17. package/public/resources/scripts/mod-form/form/homeowner-62292fdc874b2d2f5c82.min.js +2 -0
  18. package/public/resources/scripts/mod-form/form/homeowner.min.js +2 -0
  19. package/public/resources/scripts/mod-utils/modutils-15069d7b728a555fb3f7.min.js +2 -0
  20. package/public/resources/scripts/mod-utils/modutils.min.js +2 -0
  21. package/public/resources/scripts/trusted-form.hbs +38 -0
  22. package/public/resources/scripts/trusted-form.html +38 -0
  23. package/public/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +1 -0
  24. package/public/resources/styles/components/abandonment/abandonment.min.css +1 -0
  25. package/public/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +1 -0
  26. package/public/resources/styles/components/footer/mod-footer.min.css +1 -0
  27. package/public/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +1 -0
  28. package/public/resources/styles/components/footer/qs-footer.min.css +1 -0
  29. package/siteconfig.js +1 -0
  30. package/src/accessible-components/button/_button.scss +319 -0
  31. package/src/accessible-components/button/back-button.html +8 -0
  32. package/src/accessible-components/button/button.html +17 -0
  33. package/src/accessible-components/carousel/_carousel.scss +112 -0
  34. package/src/accessible-components/carousel/carousel.html +25 -0
  35. package/src/accessible-components/carousel/carousel.js +3426 -0
  36. package/src/accessible-components/carousel/carousel.js.map +1 -0
  37. package/src/accessible-components/carousel/carousel.min.js +6 -0
  38. package/src/accessible-components/carousel/carousel.min.js.map +1 -0
  39. package/src/accessible-components/checkbox/_checkbox.scss +153 -0
  40. package/src/accessible-components/checkbox/checkbox-group.html +18 -0
  41. package/src/accessible-components/checkbox/checkbox.html +8 -0
  42. package/src/accessible-components/expand-collapse/_expand-collapse.scss +129 -0
  43. package/src/accessible-components/expand-collapse/expand-collapse.html +14 -0
  44. package/src/accessible-components/expand-collapse/expand-collapse.js +52 -0
  45. package/src/accessible-components/expand-collapse/expand-collapse.min.js +2 -0
  46. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +1 -0
  47. package/src/accessible-components/featured-block/_featured-block.scss +221 -0
  48. package/src/accessible-components/featured-block/featured-block.html +54 -0
  49. package/src/accessible-components/foot-assets/foot-assets.html +112 -0
  50. package/src/accessible-components/footer/footer.html +2 -0
  51. package/src/accessible-components/gtm-body/gtm-body.html +4 -0
  52. package/src/accessible-components/head/head.html +187 -0
  53. package/src/accessible-components/header/_header.scss +289 -0
  54. package/src/accessible-components/header/header.html +66 -0
  55. package/src/accessible-components/hero/_hero.scss +405 -0
  56. package/src/accessible-components/hero/hero.html +53 -0
  57. package/src/accessible-components/how-it-works/_how-it-works.scss +217 -0
  58. package/src/accessible-components/how-it-works/how-it-works-carousel.html +12 -0
  59. package/src/accessible-components/how-it-works/how-it-works-static.html +12 -0
  60. package/src/accessible-components/how-it-works/how-it-works.html +14 -0
  61. package/src/accessible-components/information/_information.scss +96 -0
  62. package/src/accessible-components/information/information.html +32 -0
  63. package/src/accessible-components/input/_input.scss +204 -0
  64. package/src/accessible-components/input/input.html +22 -0
  65. package/src/accessible-components/input/textarea.html +9 -0
  66. package/src/accessible-components/partners/_partners.scss +234 -0
  67. package/src/accessible-components/partners/partners.html +56 -0
  68. package/src/accessible-components/picture/picture.html +19 -0
  69. package/src/accessible-components/preloader/_preloader.scss +61 -0
  70. package/src/accessible-components/preloader/preloader.html +23 -0
  71. package/src/accessible-components/progress-bar/_progress-bar.scss +140 -0
  72. package/src/accessible-components/progress-bar/progress-bar.html +21 -0
  73. package/src/accessible-components/progress-bar/progress-bar.js +37 -0
  74. package/src/accessible-components/progress-bar/progress-bar.min.js +2 -0
  75. package/src/accessible-components/progress-bar/progress-bar.min.js.map +1 -0
  76. package/src/accessible-components/radio-button/_radio-button.scss +586 -0
  77. package/src/accessible-components/radio-button/radio-button.html +33 -0
  78. package/src/accessible-components/reviews/_reviews.scss +180 -0
  79. package/src/accessible-components/reviews/reviews-carousel.html +12 -0
  80. package/src/accessible-components/reviews/reviews-static.html +12 -0
  81. package/src/accessible-components/reviews/reviews.html +37 -0
  82. package/src/accessible-components/select/_select.scss +87 -0
  83. package/src/accessible-components/select/select.html +10 -0
  84. package/src/accessible-components/steps/_steps.scss +640 -0
  85. package/src/accessible-components/steps/defaultFormFieldConfig.json +109 -0
  86. package/src/accessible-components/steps/step-fields.html +38 -0
  87. package/src/accessible-components/steps/steps.html +168 -0
  88. package/src/accessible-components/tcpa/_tcpa.scss +49 -0
  89. package/src/accessible-components/tcpa/tcpa.html +9 -0
  90. package/src/accessible-components/tile/_tile.scss +117 -0
  91. package/src/accessible-components/tile/tile.html +14 -0
  92. package/src/accessible-components/value-props/_value-props.scss +102 -0
  93. package/src/accessible-components/value-props/value-props.html +17 -0
  94. package/src/accessible-components/zip-control/_zip-control.scss +79 -0
  95. package/src/accessible-components/zip-control/zip-control.html +10 -0
  96. package/src/resources/data/tcpa.json +4 -0
  97. package/src/resources/templates/modals/about/index.hbs +9 -0
  98. package/src/resources/templates/modals/about/index.html +9 -0
  99. package/src/resources/templates/modals/contact-us/index.hbs +348 -0
  100. package/src/resources/templates/modals/contact-us/index.html +348 -0
  101. package/src/resources/templates/modals/faq/index.hbs +9 -0
  102. package/src/resources/templates/modals/faq/index.html +9 -0
  103. package/src/resources/templates/modals/privacy/index.hbs +236 -0
  104. package/src/resources/templates/modals/privacy/index.html +236 -0
  105. package/src/resources/templates/modals/terms/index.hbs +166 -0
  106. package/src/resources/templates/modals/terms/index.html +166 -0
  107. package/src/scripts/retry-axios.js +21 -0
  108. package/tasks/grab-cdn.js +7 -1
  109. package/tasks/grab-form-helpers.js +11 -2
  110. package/tasks/grab-shared-components.js +10 -3
  111. package/tasks/grab-shared-scripts.js +8 -1
  112. package/tasks/templates.js +11 -2
@@ -0,0 +1,180 @@
1
+ $reviews-background: $color-white !default;
2
+ $reviews-border-bottom: 0 !default;
3
+ $reviews-padding: 40px 0 !default;
4
+ $reviews-padding-tablet: 60px 0 !default;
5
+ $reviews-padding-desktop: 80px 0 !default;
6
+ $reviews-text-align: center !default;
7
+
8
+ $reviews-title-color: $color-charcoal8 !default;
9
+ $reviews-title-font-size: 1.375rem !default;
10
+ $reviews-title-font-size-desktop: 1.5rem !default;
11
+ $reviews-title-font-weight: 700 !default;
12
+ $reviews-title-line-height: 1.25 !default;
13
+ $reviews-title-margin: 0 0 35px !default;
14
+
15
+ $reviews-content-margin: 0 auto !default;
16
+ $reviews-content-max-width: 100% !default;
17
+
18
+ $reviews-card-background: $color-white !default;
19
+ $reviews-card-border: 1px solid $color-charcoal1 !default;
20
+ $reviews-card-border-radius: 6px !default;
21
+ $reviews-card-box-shadow: 0 8px 16px 0 rgba($color-black, .1) !default;
22
+ $reviews-card-list-style: none !default;
23
+ $reviews-card-min-height: 270px !default;
24
+ $reviews-card-min-height-tablet: 335px !default;
25
+ $reviews-card-min-height-desktop: 290px !default;
26
+ $reviews-card-padding: 50px 25px 30px !default;
27
+ $reviews-card-position: relative !default;
28
+ $reviews-card-text-align: center !default;
29
+
30
+ $reviews-avatar-border-radius: 100px !default;
31
+ $reviews-avatar-height: 73px !default;
32
+ $reviews-avatar-position-top: -40px !default;
33
+ $reviews-avatar-position-left: 50% !default;
34
+ $reviews-avatar-position: absolute !default;
35
+ $reviews-avatar-transform: translate(-50%) !default;
36
+ $reviews-avatar-width: $reviews-avatar-height !default;
37
+
38
+ $reviews-review-color: $color-charcoal6 !default;
39
+ $reviews-review-font-size: 1rem !default;
40
+ $reviews-review-font-size-desktop: $reviews-review-font-size !default;
41
+ $reviews-review-font-style: italic !default;
42
+ $reviews-review-line-height: 1.35 !default;
43
+ $reviews-review-margin: 15px 0 !default;
44
+ $reviews-review-text-align: left !default;
45
+
46
+ $reviews-author-color: $reviews-review-color !default;
47
+ $reviews-author-font-size: $reviews-review-font-size !default;
48
+ $reviews-author-position-bottom: 25px !default;
49
+ $reviews-author-position-left: 50% !default;
50
+ $reviews-author-position: absolute !default;
51
+ $reviews-author-transform: translate(-50%) !default;
52
+ $reviews-author-name-display: block !default;
53
+
54
+ $reviews-author-includes-rating-name-display: inline-block !default;
55
+ $reviews-author-includes-rating-name-vertical-align: middle !default;
56
+
57
+ $reviews-location-display: block !default;
58
+ $reviews-location-font-size: $reviews-author-font-size !default;
59
+ $reviews-location-margin: 0 !default;
60
+
61
+ $reviews-date-border-right: 1px solid $reviews-author-color !default;
62
+ $reviews-date-margin-right: 4px !default;
63
+ $reviews-date-padding-right: 7px !default;
64
+
65
+ .reviews {
66
+ background: $reviews-background;
67
+ border-bottom: $reviews-border-bottom;
68
+ padding: $reviews-padding;
69
+ text-align: $reviews-text-align;
70
+
71
+ &__title {
72
+ color: $reviews-title-color;
73
+ font-size: $reviews-title-font-size;
74
+ font-weight: $reviews-title-font-weight;
75
+ line-height: $reviews-title-line-height;
76
+ margin: $reviews-title-margin;
77
+ }
78
+
79
+ &__content {
80
+ margin: $reviews-content-margin;
81
+ max-width: $reviews-content-max-width;
82
+ }
83
+ }
84
+
85
+ .reviews-card {
86
+ background: $reviews-card-background;
87
+ border: $reviews-card-border;
88
+ border-radius: $reviews-card-border-radius;
89
+ box-shadow: $reviews-card-box-shadow;
90
+ list-style: $reviews-card-list-style;
91
+ min-height: $reviews-card-min-height;
92
+ padding: $reviews-card-padding;
93
+ position: $reviews-card-position;
94
+ text-align: $reviews-card-text-align;
95
+
96
+ &__avatar {
97
+ border-radius: $reviews-avatar-border-radius;
98
+ height: $reviews-avatar-height;
99
+ left: $reviews-avatar-position-left;
100
+ position: $reviews-avatar-position;
101
+ top: $reviews-avatar-position-top;
102
+ transform: $reviews-avatar-transform;
103
+ width: $reviews-avatar-width;
104
+
105
+ img {
106
+ border-radius: $reviews-avatar-border-radius;
107
+ height: 100%;
108
+ width: 100%;
109
+ }
110
+ }
111
+
112
+ &__review {
113
+ color: $reviews-review-color;
114
+ font-size: $reviews-review-font-size;
115
+ font-style: $reviews-review-font-style;
116
+ line-height: $reviews-review-line-height;
117
+ margin: $reviews-review-margin;
118
+ text-align: $reviews-review-text-align;
119
+ }
120
+
121
+ &__author {
122
+ bottom: $reviews-author-position-bottom;
123
+ color: $reviews-author-color;
124
+ font-size: $reviews-author-font-size;
125
+ left: $reviews-author-position-left;
126
+ position: $reviews-author-position;
127
+ transform: $reviews-author-transform;
128
+
129
+ strong {
130
+ display: $reviews-author-name-display;
131
+ }
132
+
133
+ &--includes-rating {
134
+ strong {
135
+ display: $reviews-author-includes-rating-name-display;
136
+ vertical-align: $reviews-author-includes-rating-name-vertical-align;
137
+ }
138
+ }
139
+ }
140
+
141
+ &__location {
142
+ display: $reviews-location-display;
143
+ font-size: $reviews-location-font-size;
144
+ margin: $reviews-location-margin;
145
+ }
146
+
147
+ &__date {
148
+ border-right: $reviews-date-border-right;
149
+ margin-right: $reviews-date-margin-right;
150
+ padding-right: $reviews-date-padding-right;
151
+ }
152
+ }
153
+
154
+ @include breakpoint-md {
155
+ .reviews {
156
+ padding: $reviews-padding-tablet;
157
+
158
+ &__title {
159
+ font-size: $reviews-title-font-size-desktop;
160
+ }
161
+ }
162
+
163
+ .reviews-card {
164
+ min-height: $reviews-card-min-height-tablet;
165
+
166
+ &__review {
167
+ font-size: $reviews-review-font-size-desktop;
168
+ }
169
+ }
170
+ }
171
+
172
+ @include breakpoint-lg {
173
+ .reviews {
174
+ padding: $reviews-padding-desktop;
175
+ }
176
+
177
+ .reviews-card {
178
+ min-height: $reviews-card-min-height-desktop;
179
+ }
180
+ }
@@ -0,0 +1,12 @@
1
+ <section class="reviews{{#xif 'this.reviews.attributes && this.reviews.attributes.class'}} {{this.reviews.attributes.class}}{{/xif}}" {{{addAttributes this.reviews 'class'}}}>
2
+ <div class="reviews__container container">
3
+ {{#if this.reviews.title}}
4
+ <h2 class="reviews__title{{#xif 'this.reviews.title.attributes && this.reviews.title.attributes.class'}} {{this.reviews.title.attributes.class}}{{/xif}}" {{{addAttributes this.reviews.title 'class'}}}>{{{this.reviews.title.text}}}</h2>
5
+ {{/if}}
6
+ {{#reviews}}
7
+ {{ fileInclude 'src/accessible-components/carousel/carousel.html'
8
+ carousel = this
9
+ }}
10
+ {{/reviews}}
11
+ </div>
12
+ </section>
@@ -0,0 +1,12 @@
1
+ <section class="reviews{{#xif 'this.reviews.attributes && this.reviews.attributes.class'}} {{this.reviews.attributes.class}}{{/xif}}" {{{addAttributes this.reviews 'class'}}}>
2
+ <div class="reviews__container container">
3
+ {{#if this.reviews.title}}
4
+ <h2 class="reviews__title{{#xif 'this.reviews.title.attributes && this.reviews.title.attributes.class'}} {{this.reviews.title.attributes.class}}{{/xif}}" {{{addAttributes this.reviews.title 'class'}}}>{{{this.reviews.title.text}}}</h2>
5
+ {{/if}}
6
+ <ul class="reviews__content">
7
+ {{ fileInclude 'src/accessible-components/reviews/reviews.html'
8
+ items = this.reviews.items
9
+ }}
10
+ </ul>
11
+ </div>
12
+ </section>
@@ -0,0 +1,37 @@
1
+ {{#each this.items}}
2
+ <li class="reviews-card{{#if ../this.carouselOptions}} swiper-slide{{/if}}{{#xif 'this.attributes && this.attributes.class'}} {{this.attributes.class}}{{/xif}}" {{{addAttributes this 'class'}}}>
3
+ {{#if this.avatar}}
4
+ <picture class="reviews-card__avatar">
5
+ <source data-srcset="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/images/avatars/people/{{this.avatar}}.webp" type="image/webp">
6
+ <img data-src="https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/images/avatars/people/{{this.avatar}}.jpg" class="swiper-lazy">
7
+ </picture>
8
+ {{/if}}
9
+ {{#if ../this.carouselOptions}}
10
+ <div class="swiper-lazy-preloader"></div>
11
+ {{/if}}
12
+ {{#unless this.showRatingNextToAuthor}}
13
+ <span class="star-rating star-rating--sm">
14
+ <span class="star-rating__stars star-rating__stars--{{this.starRating}}"></span>
15
+ </span>
16
+ {{/unless}}
17
+ <p class="reviews-card__review">{{#unless this.excludeQuotes}}"{{/unless}}{{{this.reviewText}}}{{#unless this.excludeQuotes}}"{{/unless}}</p>
18
+ <p class="reviews-card__author{{#if this.showRatingNextToAuthor}} reviews-card__author--includes-rating{{/if}}">
19
+ {{#if this.showRatingNextToAuthor}}
20
+ <span class="star-rating star-rating--sm">
21
+ <span class="star-rating__stars star-rating__stars--{{this.starRating}}"></span>
22
+ </span>
23
+ {{/if}}
24
+ <strong>{{this.authorName}}</strong>
25
+ <span class="reviews-card__location">
26
+ {{#if this.date}}
27
+ <span class="reviews-card__date">{{this.date}}</span>
28
+ {{/if}}
29
+ {{#if this.useGeoLocation}}
30
+ <span class="user-location">{{this.location}}</span>
31
+ {{else}}
32
+ {{this.location}}
33
+ {{/if}}
34
+ </span>
35
+ </p>
36
+ </li>
37
+ {{/each}}
@@ -0,0 +1,87 @@
1
+ $select-background-color: transparent !default;
2
+ $select-border: 1px solid darken($color-charcoal3, 5%) !default;
3
+ $select-border-radius: 4px !default;
4
+ $select-box-shadow: none !default;
5
+ $select-font-size: 1rem !default;
6
+ $select-font-size-desktop: 1.125rem !default;
7
+ $select-line-height: 1.1875 !default;
8
+ $select-margin: 0 0 15px !default;
9
+ $select-padding: 14px 15px 13px !default;
10
+ $select-text-color: $color-charcoal8 !default;
11
+ $select-text-overflow: clip !default;
12
+ $select-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
13
+ $select-white-space: normal !default;
14
+ $select-error-color: $color-a11y-red !default;
15
+
16
+ $select-focus-border: 1px solid $color-charcoal5 !default;
17
+ $select-focus-box-shadow: none !default;
18
+
19
+ $select-option-color: initial !default;
20
+
21
+ $select-arrow-position-right: 15px !default;
22
+ $select-arrow-position-top: calc(50% - 7px) !default;
23
+ $select-arrow-color: $color-charcoal4 !default;
24
+ $select-arrow-font-size: 1rem !default;
25
+
26
+ .select-wrapper {
27
+ margin: $select-margin;
28
+ position: relative;
29
+ }
30
+
31
+ .select {
32
+ appearance: none;
33
+ background-color: $select-background-color;
34
+ border: $select-border;
35
+ border-radius: $select-border-radius;
36
+ box-shadow: $select-box-shadow;
37
+ color: $select-text-color;
38
+ cursor: pointer;
39
+ font-size: $select-font-size;
40
+ line-height: $select-line-height;
41
+ margin: 0;
42
+ padding: $select-padding;
43
+ position: relative;
44
+ text-overflow: $select-text-overflow;
45
+ transition: $select-transition;
46
+ white-space: $select-white-space;
47
+ width: 100%;
48
+
49
+ &:focus {
50
+ border: $select-focus-border;
51
+ box-shadow: $select-focus-box-shadow;
52
+ }
53
+
54
+ &__caret {
55
+ color: $select-arrow-color;
56
+ font-size: $select-arrow-font-size;
57
+ margin-top: 0;
58
+ pointer-events: none;
59
+ position: absolute;
60
+ right: $select-arrow-position-right;
61
+ top: $select-arrow-position-top;
62
+ }
63
+
64
+ &--border-bottom-only {
65
+ border-left: 0 !important;
66
+ border-radius: 0;
67
+ border-right: 0 !important;
68
+ border-top: 0 !important;
69
+ }
70
+
71
+ option {
72
+ color: $select-option-color;
73
+ }
74
+ }
75
+
76
+ .has-error {
77
+ .select {
78
+ color: $select-error-color;
79
+ border-color: $select-error-color;
80
+ }
81
+ }
82
+
83
+ @include breakpoint-md {
84
+ .select {
85
+ font-size: $select-font-size-desktop;
86
+ }
87
+ }
@@ -0,0 +1,10 @@
1
+ {{#if this.field}}
2
+ <div class="select-wrapper">
3
+ <select class="select{{#if this.field.attributes.class}} {{this.field.attributes.class}}{{/if}}" {{{addAttributes this.field 'class'}}}>
4
+ {{#each this.field.options}}
5
+ <option value="{{this.attributes.value}}" {{{addAttributes this 'value'}}}>{{this.text}}</option>
6
+ {{/each}}
7
+ </select>
8
+ <span class="select__caret icon icon-caret-down"></span>
9
+ </div>
10
+ {{/if}}