cja-phoenix 1.2.39 → 1.2.41

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 (184) hide show
  1. package/dist/module.d.mts +6 -2
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +29 -16
  4. package/dist/runtime/assets/iconia/fonts/CGG-icomoon.svg +94 -0
  5. package/dist/runtime/assets/iconia/fonts/CGG-icomoon.ttf +0 -0
  6. package/dist/runtime/assets/iconia/fonts/CGG-icomoon.woff +0 -0
  7. package/dist/runtime/assets/iconia/selection.json +1 -0
  8. package/dist/runtime/assets/iconia/style.css +281 -0
  9. package/dist/runtime/assets/scss/main.scss +6 -0
  10. package/dist/runtime/assets/scss/mixins/_funnel.scss +15 -0
  11. package/dist/runtime/assets/scss/mixins/_index.scss +46 -0
  12. package/dist/runtime/assets/scss/mixins/_media-queries.scss +109 -0
  13. package/dist/runtime/assets/scss/mixins/_results.scss +235 -0
  14. package/dist/runtime/assets/scss/tippy.scss +31 -0
  15. package/dist/runtime/assets/scss/variables/_breakpoints.scss +18 -0
  16. package/dist/runtime/assets/scss/variables/_colors.scss +100 -0
  17. package/dist/runtime/assets/scss/variables/_forms.scss +121 -0
  18. package/dist/runtime/assets/scss/variables/_grid.scss +12 -0
  19. package/dist/runtime/assets/scss/variables/_index.scss +6 -0
  20. package/dist/runtime/assets/scss/variables/_shadows.scss +7 -0
  21. package/dist/runtime/assets/scss/variables/_z-index.scss +6 -0
  22. package/dist/runtime/components/CjaButton.d.vue.ts +33 -0
  23. package/dist/runtime/components/CjaButton.vue +437 -0
  24. package/dist/runtime/components/CjaButton.vue.d.ts +33 -0
  25. package/dist/runtime/components/CollapseContainer.d.vue.ts +35 -0
  26. package/dist/runtime/components/CollapseContainer.vue +112 -0
  27. package/dist/runtime/components/CollapseContainer.vue.d.ts +35 -0
  28. package/dist/runtime/components/ContentTabs.d.vue.ts +23 -0
  29. package/dist/runtime/components/ContentTabs.vue +103 -0
  30. package/dist/runtime/components/ContentTabs.vue.d.ts +23 -0
  31. package/dist/runtime/components/Drawer.d.vue.ts +52 -0
  32. package/dist/runtime/components/Drawer.vue +169 -0
  33. package/dist/runtime/components/Drawer.vue.d.ts +52 -0
  34. package/dist/runtime/components/FixedContainer.d.vue.ts +37 -0
  35. package/dist/runtime/components/FixedContainer.vue +95 -0
  36. package/dist/runtime/components/FixedContainer.vue.d.ts +37 -0
  37. package/dist/runtime/components/GridContainer.d.vue.ts +13 -0
  38. package/dist/runtime/components/GridContainer.vue +37 -0
  39. package/dist/runtime/components/GridContainer.vue.d.ts +13 -0
  40. package/dist/runtime/components/GridItem.d.vue.ts +29 -0
  41. package/dist/runtime/components/GridItem.vue +93 -0
  42. package/dist/runtime/components/GridItem.vue.d.ts +29 -0
  43. package/dist/runtime/components/InfoMessage.d.vue.ts +28 -0
  44. package/dist/runtime/components/InfoMessage.vue +141 -0
  45. package/dist/runtime/components/InfoMessage.vue.d.ts +28 -0
  46. package/dist/runtime/components/LoadingSpinner.d.vue.ts +10 -0
  47. package/dist/runtime/components/LoadingSpinner.vue +39 -0
  48. package/dist/runtime/components/LoadingSpinner.vue.d.ts +10 -0
  49. package/dist/runtime/components/Modal.d.vue.ts +39 -0
  50. package/dist/runtime/components/Modal.vue +195 -0
  51. package/dist/runtime/components/Modal.vue.d.ts +39 -0
  52. package/dist/runtime/components/Scaffold.d.vue.ts +13 -0
  53. package/dist/runtime/components/Scaffold.vue +3 -0
  54. package/dist/runtime/components/Scaffold.vue.d.ts +13 -0
  55. package/dist/runtime/components/StickyContainer.d.vue.ts +21 -0
  56. package/dist/runtime/components/StickyContainer.vue +57 -0
  57. package/dist/runtime/components/StickyContainer.vue.d.ts +21 -0
  58. package/dist/runtime/components/form/CheckboxInput.d.vue.ts +42 -0
  59. package/dist/runtime/components/form/CheckboxInput.vue +163 -0
  60. package/dist/runtime/components/form/CheckboxInput.vue.d.ts +42 -0
  61. package/dist/runtime/components/form/CheckboxInputList.d.vue.ts +37 -0
  62. package/dist/runtime/components/form/CheckboxInputList.vue +84 -0
  63. package/dist/runtime/components/form/CheckboxInputList.vue.d.ts +37 -0
  64. package/dist/runtime/components/form/CurrencyInput.d.vue.ts +37 -0
  65. package/dist/runtime/components/form/CurrencyInput.vue +134 -0
  66. package/dist/runtime/components/form/CurrencyInput.vue.d.ts +37 -0
  67. package/dist/runtime/components/form/DateInput.d.vue.ts +40 -0
  68. package/dist/runtime/components/form/DateInput.vue +325 -0
  69. package/dist/runtime/components/form/DateInput.vue.d.ts +40 -0
  70. package/dist/runtime/components/form/FileInput.d.vue.ts +46 -0
  71. package/dist/runtime/components/form/FileInput.vue +202 -0
  72. package/dist/runtime/components/form/FileInput.vue.d.ts +46 -0
  73. package/dist/runtime/components/form/NumberInput.d.vue.ts +41 -0
  74. package/dist/runtime/components/form/NumberInput.vue +162 -0
  75. package/dist/runtime/components/form/NumberInput.vue.d.ts +41 -0
  76. package/dist/runtime/components/form/PhoneInput.d.vue.ts +44 -0
  77. package/dist/runtime/components/form/PhoneInput.vue +143 -0
  78. package/dist/runtime/components/form/PhoneInput.vue.d.ts +44 -0
  79. package/dist/runtime/components/form/RadioInput.d.vue.ts +42 -0
  80. package/dist/runtime/components/form/RadioInput.vue +181 -0
  81. package/dist/runtime/components/form/RadioInput.vue.d.ts +42 -0
  82. package/dist/runtime/components/form/RadioInputList.d.vue.ts +57 -0
  83. package/dist/runtime/components/form/RadioInputList.vue +130 -0
  84. package/dist/runtime/components/form/RadioInputList.vue.d.ts +57 -0
  85. package/dist/runtime/components/form/SelectInput.d.vue.ts +46 -0
  86. package/dist/runtime/components/form/SelectInput.vue +362 -0
  87. package/dist/runtime/components/form/SelectInput.vue.d.ts +46 -0
  88. package/dist/runtime/components/form/SelectionTiles.d.vue.ts +44 -0
  89. package/dist/runtime/components/form/SelectionTiles.vue +329 -0
  90. package/dist/runtime/components/form/SelectionTiles.vue.d.ts +44 -0
  91. package/dist/runtime/components/form/SliderInput.d.vue.ts +51 -0
  92. package/dist/runtime/components/form/SliderInput.vue +175 -0
  93. package/dist/runtime/components/form/SliderInput.vue.d.ts +51 -0
  94. package/dist/runtime/components/form/TextInput.d.vue.ts +56 -0
  95. package/dist/runtime/components/form/TextInput.vue +227 -0
  96. package/dist/runtime/components/form/TextInput.vue.d.ts +56 -0
  97. package/dist/runtime/components/form/TextareaInput.d.vue.ts +37 -0
  98. package/dist/runtime/components/form/TextareaInput.vue +76 -0
  99. package/dist/runtime/components/form/TextareaInput.vue.d.ts +37 -0
  100. package/dist/runtime/components/form/TileCheckboxInput.d.vue.ts +40 -0
  101. package/dist/runtime/components/form/TileCheckboxInput.vue +108 -0
  102. package/dist/runtime/components/form/TileCheckboxInput.vue.d.ts +40 -0
  103. package/dist/runtime/components/form/ToggleInput.d.vue.ts +43 -0
  104. package/dist/runtime/components/form/ToggleInput.vue +119 -0
  105. package/dist/runtime/components/form/ToggleInput.vue.d.ts +43 -0
  106. package/dist/runtime/components/form/structure/Container.d.vue.ts +16 -0
  107. package/dist/runtime/components/form/structure/Container.vue +31 -0
  108. package/dist/runtime/components/form/structure/Container.vue.d.ts +16 -0
  109. package/dist/runtime/components/form/structure/Description.d.vue.ts +9 -0
  110. package/dist/runtime/components/form/structure/Description.vue +26 -0
  111. package/dist/runtime/components/form/structure/Description.vue.d.ts +9 -0
  112. package/dist/runtime/components/form/structure/Error.d.vue.ts +9 -0
  113. package/dist/runtime/components/form/structure/Error.vue +23 -0
  114. package/dist/runtime/components/form/structure/Error.vue.d.ts +9 -0
  115. package/dist/runtime/components/form/structure/Title.d.vue.ts +12 -0
  116. package/dist/runtime/components/form/structure/Title.vue +43 -0
  117. package/dist/runtime/components/form/structure/Title.vue.d.ts +12 -0
  118. package/dist/runtime/components/funnel/Header.d.vue.ts +18 -0
  119. package/dist/runtime/components/funnel/Header.vue +62 -0
  120. package/dist/runtime/components/funnel/Header.vue.d.ts +18 -0
  121. package/dist/runtime/composables/useCjaGtm.d.ts +19 -0
  122. package/dist/runtime/composables/useCjaGtm.js +164 -0
  123. package/dist/runtime/composables/useFunnelConfig.d.ts +11 -0
  124. package/dist/runtime/composables/useFunnelConfig.js +51 -0
  125. package/dist/runtime/composables/useFunnelSummary.d.ts +14 -0
  126. package/dist/runtime/composables/useFunnelSummary.js +16 -0
  127. package/dist/runtime/composables/useHeaderHeight.d.ts +3 -0
  128. package/dist/runtime/composables/useHeaderHeight.js +24 -0
  129. package/dist/runtime/composables/useJourneyConfig.d.ts +11 -0
  130. package/dist/runtime/composables/useJourneyConfig.js +13 -0
  131. package/dist/runtime/composables/useValidateForm.d.ts +11 -0
  132. package/dist/runtime/composables/useValidateForm.js +33 -0
  133. package/dist/runtime/data/dialCodes.d.ts +7 -0
  134. package/dist/runtime/data/dialCodes.js +1466 -0
  135. package/dist/runtime/data/phoneDigits.d.ts +2 -0
  136. package/dist/runtime/data/phoneDigits.js +231 -0
  137. package/dist/runtime/plugins/tippy.d.ts +4 -0
  138. package/dist/runtime/plugins/tippy.js +12 -0
  139. package/dist/runtime/plugins/v-calendar.d.ts +3 -0
  140. package/dist/runtime/plugins/v-calendar.js +6 -0
  141. package/dist/runtime/server/tsconfig.json +3 -0
  142. package/dist/runtime/types/Form.d.ts +34 -0
  143. package/dist/runtime/types/Form.js +20 -0
  144. package/dist/runtime/types/Grid.d.ts +4 -0
  145. package/dist/runtime/types/Grid.js +0 -0
  146. package/dist/runtime/types/Icon.d.ts +2 -0
  147. package/dist/runtime/types/Icon.js +85 -0
  148. package/dist/runtime/types/JourneyConfig.d.ts +9 -0
  149. package/dist/runtime/types/JourneyConfig.js +0 -0
  150. package/dist/runtime/types/index.d.ts +4 -0
  151. package/dist/runtime/types/index.js +4 -0
  152. package/dist/runtime/utils/applyProductData.d.ts +10 -0
  153. package/dist/runtime/utils/applyProductData.js +22 -0
  154. package/dist/runtime/utils/convertDate.d.ts +5 -0
  155. package/dist/runtime/utils/convertDate.js +17 -0
  156. package/dist/runtime/utils/findScrollAncestor.d.ts +1 -0
  157. package/dist/runtime/utils/findScrollAncestor.js +14 -0
  158. package/dist/runtime/utils/formValidations.d.ts +78 -0
  159. package/dist/runtime/utils/formValidations.js +180 -0
  160. package/dist/runtime/utils/formatValue.d.ts +4 -0
  161. package/dist/runtime/utils/formatValue.js +20 -0
  162. package/dist/runtime/utils/getAbTestVersion.d.ts +9 -0
  163. package/dist/runtime/utils/getAbTestVersion.js +48 -0
  164. package/dist/runtime/utils/getCalendarUrl.d.ts +8 -0
  165. package/dist/runtime/utils/getCalendarUrl.js +24 -0
  166. package/dist/runtime/utils/getFromUrl.d.ts +2 -0
  167. package/dist/runtime/utils/getFromUrl.js +25 -0
  168. package/dist/runtime/utils/getStoryblokUrl.d.ts +71 -0
  169. package/dist/runtime/utils/getStoryblokUrl.js +35 -0
  170. package/dist/runtime/utils/jsonReviver.d.ts +1 -0
  171. package/dist/runtime/utils/jsonReviver.js +18 -0
  172. package/dist/runtime/utils/mediaBreakpoints.d.ts +28 -0
  173. package/dist/runtime/utils/mediaBreakpoints.js +28 -0
  174. package/dist/runtime/utils/toggleScroll.d.ts +1 -0
  175. package/dist/runtime/utils/toggleScroll.js +6 -0
  176. package/dist/runtime/utils/updateForm.d.ts +11 -0
  177. package/dist/runtime/utils/updateForm.js +74 -0
  178. package/dist/runtime/utils/updateMarketingConsent.d.ts +4 -0
  179. package/dist/runtime/utils/updateMarketingConsent.js +13 -0
  180. package/dist/runtime/utils/uploadFile.d.ts +8 -0
  181. package/dist/runtime/utils/uploadFile.js +13 -0
  182. package/dist/types.d.mts +6 -10
  183. package/package.json +9 -8
  184. package/dist/module.d.cts +0 -2
@@ -0,0 +1,46 @@
1
+ @use "../variables" as *;
2
+
3
+ @forward "media-queries";
4
+ @forward "funnel";
5
+ @forward "results";
6
+
7
+ @mixin text-gradient-dark-blue {
8
+ display: inline-block; /* inline-block assures gradient display across all text */
9
+ background-image: linear-gradient(90deg, $extra-dark-blue, $main-blue);
10
+ background-clip: text;
11
+ -webkit-text-fill-color: transparent;
12
+ }
13
+
14
+ @mixin text-gradient-cja {
15
+ display: inline-block; /* inline-block assures gradient display across all text */
16
+ background-image: linear-gradient(90deg, $main-blue 10%, $main-green);
17
+ background-clip: text;
18
+ -webkit-text-fill-color: transparent;
19
+ }
20
+
21
+ @mixin backdrop {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ width: 100%;
26
+ height: 100dvh;
27
+ background-color: rgba(0, 0, 0, 0.4);
28
+ transition: all 0.4s ease-in-out;
29
+ }
30
+
31
+ @mixin fade-transition($duration: 0.6s) {
32
+ .fade-enter-active,
33
+ .fade-leave-active {
34
+ transition: all $duration ease-in-out;
35
+ }
36
+
37
+ .fade-enter-from,
38
+ .fade-leave-to {
39
+ opacity: 0;
40
+ }
41
+
42
+ .fade-enter-to,
43
+ .fade-leave-from {
44
+ opacity: 1;
45
+ }
46
+ }
@@ -0,0 +1,109 @@
1
+ @use "../variables/breakpoints" as *;
2
+
3
+ @mixin screen-xxs-max {
4
+ @media (max-width: $break-xxs-max) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ @mixin screen-xs-min {
10
+ @media (min-width: $break-xs-min) {
11
+ @content;
12
+ }
13
+ }
14
+
15
+ @mixin screen-xs-max {
16
+ @media (max-width: $break-xs-max) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin screen-xs-only {
22
+ @media (min-width: $break-xs-min) and (max-width: $break-xs-max) {
23
+ @content;
24
+ }
25
+ }
26
+
27
+ @mixin screen-sm-min {
28
+ @media (min-width: $break-sm-min) {
29
+ @content;
30
+ }
31
+ }
32
+
33
+ @mixin screen-sm-max {
34
+ @media (max-width: $break-sm-max) {
35
+ @content;
36
+ }
37
+ }
38
+
39
+ @mixin screen-sm-only {
40
+ @media (min-width: $break-sm-min) and (max-width: $break-sm-max) {
41
+ @content;
42
+ }
43
+ }
44
+
45
+ @mixin screen-md-min {
46
+ @media (min-width: $break-md-min) {
47
+ @content;
48
+ }
49
+ }
50
+
51
+ @mixin screen-md-max {
52
+ @media (max-width: $break-md-max) {
53
+ @content;
54
+ }
55
+ }
56
+
57
+ @mixin screen-md-only {
58
+ @media (min-width: $break-md-min) and (max-width: $break-md-max) {
59
+ @content;
60
+ }
61
+ }
62
+
63
+ @mixin screen-lg-min {
64
+ @media (min-width: $break-lg-min) {
65
+ @content;
66
+ }
67
+ }
68
+
69
+ @mixin screen-lg-max {
70
+ @media (max-width: $break-lg-max) {
71
+ @content;
72
+ }
73
+ }
74
+
75
+ @mixin screen-lg-only {
76
+ @media (min-width: $break-lg-min) and (max-width: $break-lg-max) {
77
+ @content;
78
+ }
79
+ }
80
+
81
+ @mixin screen-xl-min {
82
+ @media (min-width: $break-xl-min) {
83
+ @content;
84
+ }
85
+ }
86
+
87
+ @mixin screen-xl-max {
88
+ @media (max-width: $break-xl-max) {
89
+ @content;
90
+ }
91
+ }
92
+
93
+ @mixin screen-xl-only {
94
+ @media (min-width: $break-xl-min) and (max-width: $break-xl-max) {
95
+ @content;
96
+ }
97
+ }
98
+
99
+ @mixin screen-xxl-min {
100
+ @media (min-width: $break-xxl-min) {
101
+ @content;
102
+ }
103
+ }
104
+
105
+ @mixin screen-custom($min, $max) {
106
+ @media (min-width: $min) and (max-width: $max) {
107
+ @content;
108
+ }
109
+ }
@@ -0,0 +1,235 @@
1
+ @use "../variables" as *;
2
+ @use "media-queries" as *;
3
+
4
+ @mixin results-info {
5
+ .sidebar-product-info {
6
+ display: grid;
7
+ grid-template-rows: auto 1fr auto;
8
+ height: 100%;
9
+ background: $white;
10
+ box-shadow: $box-shadow-m;
11
+ overflow: hidden;
12
+
13
+ .sidebar-header {
14
+ display: grid;
15
+ grid-template-columns: 100px 1fr auto;
16
+ align-items: center;
17
+ padding: 24px;
18
+ gap: 20px;
19
+ box-shadow: $box-shadow-s;
20
+
21
+ @include screen-md-min {
22
+ grid-template-columns: 115px 1fr auto;
23
+ padding: 24px 48px;
24
+ gap: 48px;
25
+ }
26
+
27
+ .product-image {
28
+ img {
29
+ display: block;
30
+ width: 100%;
31
+ }
32
+ }
33
+
34
+ .product-title {
35
+ font-size: 13px;
36
+ line-height: 17px;
37
+ }
38
+
39
+ .btn-container button {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ border: none;
44
+ background: none;
45
+ width: 24px;
46
+ height: 24px;
47
+ font-size: 14px;
48
+ padding: 0;
49
+ cursor: pointer;
50
+ transition: all 0.2s ease-in-out;
51
+ color: $dark-blue;
52
+
53
+ &:hover {
54
+ color: $main-blue;
55
+ }
56
+ }
57
+ }
58
+
59
+ .sidebar-body {
60
+ padding: 24px;
61
+ overflow-y: auto;
62
+
63
+ @include screen-md-min {
64
+ padding: 24px 40px;
65
+ }
66
+
67
+ .product-data {
68
+ margin-bottom: 32px;
69
+
70
+ .title {
71
+ font-size: 16px;
72
+ font-weight: 700;
73
+ line-height: 20px;
74
+ margin-bottom: 16px;
75
+ }
76
+
77
+ .data-list {
78
+ display: grid;
79
+ grid-template-columns: repeat(2, 1fr);
80
+ gap: 16px;
81
+
82
+ .data-group {
83
+ display: grid;
84
+ align-items: center;
85
+ gap: 16px;
86
+
87
+ &:not(.bordered):not(.highlight) {
88
+ @include screen-sm-min {
89
+ padding: 12px 16px;
90
+ border-radius: 8px;
91
+ border: 1px solid $light-grey;
92
+ }
93
+ }
94
+
95
+ &.bordered {
96
+ padding: 12px 16px;
97
+ border-radius: 8px;
98
+ border: 1px solid $light-grey;
99
+ }
100
+
101
+ &.highlight {
102
+ padding: 12px 16px;
103
+ border-radius: 8px;
104
+ background: $light-blue;
105
+ grid-area: 1 / 1 / 2 / 2;
106
+
107
+ .data-item {
108
+ .item-title {
109
+ font-size: 13px;
110
+ line-height: 17px;
111
+ }
112
+
113
+ .item-amount {
114
+ font-size: 24px;
115
+ font-weight: 800;
116
+ }
117
+ }
118
+ }
119
+
120
+ .data-item {
121
+ display: flex;
122
+ flex-direction: column;
123
+ justify-content: center;
124
+ gap: 4px;
125
+ font-size: 14px;
126
+ line-height: 18px;
127
+
128
+ .item-amount {
129
+ font-weight: 700;
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+
136
+ .info-section {
137
+ + .info-section {
138
+ border-top: 1px solid $light-grey;
139
+ padding-top: 16px;
140
+ margin-top: 16px;
141
+ }
142
+
143
+ :deep(.collapse-header .header-wrapper) {
144
+ font-size: 16px;
145
+ font-weight: 700;
146
+ line-height: 28px;
147
+ }
148
+
149
+ :deep(.content-container .collapse-header .header-wrapper) {
150
+ color: $main-blue;
151
+ font-size: 14px;
152
+ font-weight: 700;
153
+ line-height: 28px;
154
+ }
155
+ }
156
+
157
+ .features-list {
158
+ display: grid;
159
+ gap: 8px;
160
+ list-style: none;
161
+ padding: 0;
162
+ margin: 0;
163
+
164
+ li {
165
+ display: grid;
166
+ grid-template-columns: auto 1fr;
167
+ gap: 4px 16px;
168
+
169
+ .icon {
170
+ font-size: 16px;
171
+ line-height: 21px;
172
+
173
+ &.m-cgg-icon--check {
174
+ color: $main-green;
175
+ }
176
+
177
+ &.m-cgg-icon--cross {
178
+ color: $alert-red;
179
+ }
180
+ }
181
+
182
+ .text {
183
+ color: text-grey;
184
+ font-size: 14px;
185
+ line-height: 21px;
186
+ }
187
+ }
188
+ }
189
+
190
+ .info-list {
191
+ display: flex;
192
+ flex-direction: column;
193
+ gap: 8px;
194
+ list-style: none;
195
+ padding: 0;
196
+ margin: 0;
197
+
198
+ li {
199
+ display: flex;
200
+ justify-content: space-between;
201
+ gap: 16px;
202
+ font-size: 14px;
203
+ line-height: 28px;
204
+ padding-top: 8px;
205
+ border-top: 1px solid $disabled-grey;
206
+
207
+ .item-title {
208
+ display: flex;
209
+ align-items: center;
210
+ gap: 8px;
211
+
212
+ .m-cgg-icon--question {
213
+ color: $main-blue;
214
+ }
215
+ }
216
+
217
+ .item-amount {
218
+ font-weight: 700;
219
+ }
220
+ }
221
+ }
222
+ }
223
+
224
+ .sidebar-footer {
225
+ display: grid;
226
+ padding: 24px;
227
+ box-shadow: $box-shadow-s;
228
+
229
+ @include screen-xs-min {
230
+ justify-content: center;
231
+ grid-template-columns: 200px;
232
+ }
233
+ }
234
+ }
235
+ }
@@ -0,0 +1,31 @@
1
+ @use "variables" as *;
2
+
3
+ .tippy-box {
4
+ &[data-theme~="cja"] {
5
+ background: $light-blue;
6
+ border: 1px solid $main-blue;
7
+ color: $main-blue;
8
+
9
+ @each $position in (top, bottom, left, right) {
10
+ &[data-placement="#{$position}"] > .tippy-arrow::before {
11
+ border-#{$position}-color: $light-blue;
12
+ }
13
+ }
14
+ }
15
+
16
+ &[data-theme~="white"] {
17
+ background: $white;
18
+ border: 1px solid $extra-dark-blue;
19
+ color: $extra-dark-blue;
20
+
21
+ @each $position in (top, bottom, left, right) {
22
+ &[data-placement="#{$position}"] > .tippy-arrow::before {
23
+ border-#{$position}-color: $white;
24
+ }
25
+ }
26
+ }
27
+
28
+ ul {
29
+ padding-left: 16px;
30
+ }
31
+ }
@@ -0,0 +1,18 @@
1
+ $break-xxs-max: 419px;
2
+
3
+ $break-xs-min: 420px;
4
+ $break-xs-max: 559px;
5
+
6
+ $break-sm-min: 560px;
7
+ $break-sm-max: 767px;
8
+
9
+ $break-md-min: 768px;
10
+ $break-md-max: 1023px;
11
+
12
+ $break-lg-min: 1024px;
13
+ $break-lg-max: 1199px;
14
+
15
+ $break-xl-min: 1200px;
16
+ $break-xl-max: 1439px;
17
+
18
+ $break-xxl-min: 1440px;
@@ -0,0 +1,100 @@
1
+ $extra-light-blue: #f4f9fc;
2
+ $light-blue: #e6f1f9;
3
+ $medium-blue: #9bc6e7;
4
+ $bright-blue: #5fbbff;
5
+ $main-blue: #076b9c;
6
+ $dark-blue: #155072;
7
+ $extra-dark-blue: #0d2745;
8
+
9
+ $extra-light-green: #f3f7ef;
10
+ $light-green: #eef4e8;
11
+ $bright-green: #b5e187;
12
+ $main-green: #77aa43;
13
+ $dark-green: #56924b;
14
+ $extra-dark-green: #0f4209;
15
+
16
+ $bright-orange: #f9b377;
17
+ $light-orange: #fdf1e2;
18
+ $main-orange: #f58423;
19
+ $dark-orange: #e36f09;
20
+ $extra-dark-orange: #cf5b00;
21
+
22
+ $light-yellow: #fff9e6;
23
+ $main-yellow: #facb1a;
24
+
25
+ $light-purple: #f0f2ff;
26
+ $medium-purple: #cfd5ff;
27
+ $main-purple: #4054de;
28
+
29
+ $light-turquoise: #eefafa;
30
+
31
+ $dark-grey: #979290;
32
+ $text-grey: #312f2e;
33
+ $blue-grey: #9fabbc;
34
+
35
+ $light-grey: #dedede;
36
+ $dark-white: #fafafa;
37
+ $disabled-grey: #f1f5f9;
38
+
39
+ $white: #ffffff;
40
+ $black: #000000;
41
+
42
+ $alert-blue: #076b9c;
43
+ $alert-green: #56924b;
44
+ $alert-yellow: #e98c00;
45
+ $alert-red: #ef4444;
46
+
47
+ $alert-bg-blue: #e6f1f9;
48
+ $alert-bg-green: #f2f7ec;
49
+ $alert-bg-yellow: #fff9e6;
50
+ $alert-bg-red: #fef2f2;
51
+
52
+ $gradient-hl: linear-gradient(75deg, #f1f7ee, $white);
53
+ $gradient-pl: linear-gradient(75deg, #f4f9fc, $white);
54
+ $gradient-in: linear-gradient(75deg, #f6f4ff, $white);
55
+ $gradient-en: linear-gradient(75deg, #fffbef, $white);
56
+ $gradient-bb: linear-gradient(75deg, #fff7f1, $white);
57
+ $gradient-cc: linear-gradient(75deg, #fff4ff, $white);
58
+ $gradient-sa: linear-gradient(75deg, #e8f1f1, $white);
59
+ $gradient-cja-1: linear-gradient(90deg, $bright-green 2.5%, $main-blue 100%);
60
+
61
+ $colors: (
62
+ "white": $white,
63
+ "dark-white": $dark-white,
64
+ "disabled-grey": $disabled-grey,
65
+ "black": $black,
66
+ "extra-dark-blue": $extra-dark-blue,
67
+ "dark-blue": $dark-blue,
68
+ "main-blue": $main-blue,
69
+ "medium-blue": $medium-blue,
70
+ "bright-blue": $bright-blue,
71
+ "light-blue": $light-blue,
72
+ "extra-light-blue": $extra-light-blue,
73
+ "extra-dark-green": $extra-dark-green,
74
+ "dark-green": $dark-green,
75
+ "main-green": $main-green,
76
+ "bright-green": $bright-green,
77
+ "light-green": $light-green,
78
+ "extra-light-green": $extra-light-green,
79
+ "extra-dark-orange": $extra-dark-orange,
80
+ "dark-orange": $dark-orange,
81
+ "main-orange": $main-orange,
82
+ "bright-orange": $bright-orange,
83
+ "light-orange": $light-orange,
84
+ "main-yellow": $main-yellow,
85
+ "light-yellow": $light-yellow,
86
+ "main-purple": $main-purple,
87
+ "medium-purple": $medium-purple,
88
+ "light-purple": $light-purple,
89
+ "light-turquoise": $light-turquoise,
90
+ );
91
+
92
+ $gradients: (
93
+ "hl": $gradient-hl,
94
+ "pl": $gradient-pl,
95
+ "in": $gradient-in,
96
+ "en": $gradient-en,
97
+ "bb": $gradient-bb,
98
+ "cc": $gradient-cc,
99
+ "sa": $gradient-sa,
100
+ );
@@ -0,0 +1,121 @@
1
+ @use "sass:map";
2
+ @use "colors" as *;
3
+
4
+ $input-border-color: $light-grey;
5
+ $input-border: 1px solid $input-border-color;
6
+ $input-border-focus-color: $main-blue;
7
+ $input-border-focus: 1px solid $input-border-focus-color;
8
+ $input-border-error-color: $alert-red;
9
+ $input-border-error: 1px solid $input-border-error-color;
10
+ $input-border-radius: 8px;
11
+ $input-transition: all 0.1s ease-in;
12
+ $input-placeholder-color: $dark-grey;
13
+ $input-disabled-color: $light-grey;
14
+
15
+ $sm-padding-v: 8px;
16
+ $sm-padding-h: 10px;
17
+ $sm-font-size: 14px;
18
+ $sm-line-height: 18px;
19
+ $sm-height: 36px;
20
+
21
+ $md-padding-v: 12px;
22
+ $md-padding-h: 12px;
23
+ $md-font-size: 16px;
24
+ $md-line-height: 18px;
25
+ $md-height: 44px;
26
+
27
+ $lg-padding-v: 16px;
28
+ $lg-padding-h: 18px;
29
+ $lg-font-size: 18px;
30
+ $lg-line-height: 22px;
31
+ $lg-height: 56px;
32
+
33
+ $input-sizes: (
34
+ "sm": (
35
+ padding-v: $sm-padding-v,
36
+ padding-h: $sm-padding-h,
37
+ font-size: $sm-font-size,
38
+ line-height: $sm-line-height,
39
+ height: $sm-height,
40
+ ),
41
+ "md": (
42
+ padding-v: $md-padding-v,
43
+ padding-h: $md-padding-h,
44
+ font-size: $md-font-size,
45
+ line-height: $md-line-height,
46
+ height: $md-height,
47
+ ),
48
+ "lg": (
49
+ padding-v: $lg-padding-v,
50
+ padding-h: $lg-padding-h,
51
+ font-size: $lg-font-size,
52
+ line-height: $lg-line-height,
53
+ height: $lg-height,
54
+ ),
55
+ );
56
+
57
+ @mixin input-template {
58
+ background-color: $white;
59
+ width: 100%;
60
+ outline: none;
61
+ border: 1px solid $input-border-color;
62
+ border-radius: $input-border-radius;
63
+ transition: $input-transition;
64
+
65
+ &::placeholder {
66
+ color: $input-placeholder-color;
67
+ }
68
+
69
+ &:active:not(:disabled),
70
+ &:focus:not(:disabled) {
71
+ border-color: $input-border-focus-color;
72
+ outline: none;
73
+ }
74
+
75
+ &:disabled,
76
+ &:disabled::placeholder {
77
+ color: $input-disabled-color;
78
+ }
79
+
80
+ @each $size-name, $size in $input-sizes {
81
+ &.size-#{$size-name} {
82
+ padding: map.get($size, padding-v) map.get($size, padding-h);
83
+ font-size: map.get($size, font-size);
84
+ line-height: map.get($size, line-height);
85
+
86
+ &:not(textarea) {
87
+ height: map.get($size, height);
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ @mixin input-error {
94
+ border-color: $input-border-error-color;
95
+ }
96
+
97
+ $sm-title-font-size: 14px;
98
+ $sm-title-line-height: 18px;
99
+
100
+ $md-title-font-size: 16px;
101
+ $md-title-line-height: 20px;
102
+
103
+ $lg-title-font-size: 18px;
104
+ $lg-title-line-height: 22px;
105
+
106
+ @mixin input-title {
107
+ &.size-sm {
108
+ font-size: $sm-title-font-size;
109
+ line-height: $sm-title-line-height;
110
+ }
111
+
112
+ &.size-md {
113
+ font-size: $md-title-font-size;
114
+ line-height: $md-title-line-height;
115
+ }
116
+
117
+ &.size-lg {
118
+ font-size: $lg-title-font-size;
119
+ line-height: $lg-title-line-height;
120
+ }
121
+ }
@@ -0,0 +1,12 @@
1
+ $grid-columns-lg: repeat(12, 1fr);
2
+ $grid-column-gap-lg: 24px;
3
+ $grid-side-padding-lg: 32px;
4
+ $grid-side-padding-xl: 64px;
5
+
6
+ $grid-columns-md: repeat(4, 1fr);
7
+ $grid-column-gap-md: 24px;
8
+ $grid-side-padding-md: 40px;
9
+
10
+ $grid-columns-sm: repeat(2, 1fr);
11
+ $grid-column-gap-sm: 16px;
12
+ $grid-side-padding-sm: 24px;
@@ -0,0 +1,6 @@
1
+ @forward "grid";
2
+ @forward "colors";
3
+ @forward "z-index";
4
+ @forward "breakpoints";
5
+ @forward "forms";
6
+ @forward "shadows";
@@ -0,0 +1,7 @@
1
+ $box-shadow-s: 0px 2px 10px rgba(0, 0, 0, 0.1);
2
+ $box-shadow-s-dark: 0px 2px 10px rgba(0, 0, 0, 0.15);
3
+ $box-shadow-s-inner-bottom: inset 0px -22px 20px -20px rgba(0, 0, 0, 0.1);
4
+ $box-shadow-m: 0px 4px 20px rgba(0, 0, 0, 0.1);
5
+ $box-shadow-m-dark: 0px 4px 20px rgba(0, 0, 0, 0.15);
6
+ $box-shadow-m-inner-bottom: inset 0px -24px 20px -20px rgba(0, 0, 0, 0.1);
7
+ $box-shadow-l: 0px 4px 40px rgba(0, 0, 0, 0.15);
@@ -0,0 +1,6 @@
1
+ $level-over-content: 100;
2
+ $level-drawer: 200;
3
+ $level-navbar: 300;
4
+ $level-modal: 400;
5
+ $level-select: 500;
6
+ $level-toast: 600;