@vgip/meta-ui 2.0.0 → 2.1.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 (206) hide show
  1. package/fesm2022/vgip-meta-ui.mjs +5614 -78
  2. package/fesm2022/vgip-meta-ui.mjs.map +1 -1
  3. package/index.d.ts +709 -5
  4. package/package.json +5 -8
  5. package/vendor/volta3/README.md +1 -0
  6. package/vendor/volta3/fonts/Spezia-Regular.eot +0 -0
  7. package/vendor/volta3/fonts/Spezia-Regular.ttf +0 -0
  8. package/vendor/volta3/fonts/Spezia-Regular.woff +0 -0
  9. package/vendor/volta3/fonts/Spezia-Regular.woff2 +0 -0
  10. package/vendor/volta3/fonts/Spezia-SemiBold.eot +0 -0
  11. package/vendor/volta3/fonts/Spezia-SemiBold.ttf +0 -0
  12. package/vendor/volta3/fonts/Spezia-SemiBold.woff +0 -0
  13. package/vendor/volta3/fonts/Spezia-SemiBold.woff2 +0 -0
  14. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.eot +0 -0
  15. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.ttf +0 -0
  16. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff +0 -0
  17. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff2 +0 -0
  18. package/vendor/volta3/fonts/Spezia-WideMedium.eot +0 -0
  19. package/vendor/volta3/fonts/Spezia-WideMedium.ttf +0 -0
  20. package/vendor/volta3/fonts/Spezia-WideMedium.woff +0 -0
  21. package/vendor/volta3/fonts/Spezia-WideMedium.woff2 +0 -0
  22. package/vendor/volta3/scss/components/_accordions.scss +165 -0
  23. package/vendor/volta3/scss/components/_badge.scss +329 -0
  24. package/vendor/volta3/scss/components/_blockquote.scss +35 -0
  25. package/vendor/volta3/scss/components/_boxes.scss +113 -0
  26. package/vendor/volta3/scss/components/_buttons.scss +794 -0
  27. package/vendor/volta3/scss/components/_callouts.scss +427 -0
  28. package/vendor/volta3/scss/components/_card.scss +421 -0
  29. package/vendor/volta3/scss/components/_color-classes.scss +186 -0
  30. package/vendor/volta3/scss/components/_dialpad.scss +224 -0
  31. package/vendor/volta3/scss/components/_dropdowns.scss +495 -0
  32. package/vendor/volta3/scss/components/_empties.scss +77 -0
  33. package/vendor/volta3/scss/components/_flash-messages.scss +39 -0
  34. package/vendor/volta3/scss/components/_form-elements.scss +879 -0
  35. package/vendor/volta3/scss/components/_lists.scss +427 -0
  36. package/vendor/volta3/scss/components/_modals.scss +227 -0
  37. package/vendor/volta3/scss/components/_popups.scss +173 -0
  38. package/vendor/volta3/scss/components/_progress.scss +28 -0
  39. package/vendor/volta3/scss/components/_spinner.scss +105 -0
  40. package/vendor/volta3/scss/components/_steps.scss +242 -0
  41. package/vendor/volta3/scss/components/_switch.scss +353 -0
  42. package/vendor/volta3/scss/components/_tables.scss +739 -0
  43. package/vendor/volta3/scss/components/_tabs.scss +296 -0
  44. package/vendor/volta3/scss/components/_text-separator.scss +61 -0
  45. package/vendor/volta3/scss/components/_tooltips.scss +152 -0
  46. package/vendor/volta3/scss/components/side-navigation/_side-nav--aqua.scss +179 -0
  47. package/vendor/volta3/scss/components/side-navigation/_side-nav--collapsible.scss +381 -0
  48. package/vendor/volta3/scss/components/side-navigation/_side-nav--dark.scss +196 -0
  49. package/vendor/volta3/scss/components/side-navigation/_side-nav--light.scss +174 -0
  50. package/vendor/volta3/scss/components/side-navigation/_side-nav--structure.scss +631 -0
  51. package/vendor/volta3/scss/components/side-navigation/_side-nav--tabs.scss +88 -0
  52. package/vendor/volta3/scss/flatpickr/_flatpickr-volta.scss +407 -0
  53. package/vendor/volta3/scss/flatpickr/_flatpickr.css +785 -0
  54. package/vendor/volta3/scss/layout/_article.scss +119 -0
  55. package/vendor/volta3/scss/layout/_utils.scss +174 -0
  56. package/vendor/volta3/scss/lib/_grid.scss +374 -0
  57. package/vendor/volta3/scss/lib/_mediaqueries.scss +52 -0
  58. package/vendor/volta3/scss/lib/_reset.scss +110 -0
  59. package/vendor/volta3/scss/lib/_type.scss +345 -0
  60. package/vendor/volta3/scss/lib/_utils.scss +26 -0
  61. package/vendor/volta3/scss/lib/_variables.scss +115 -0
  62. package/vendor/volta3/scss/prism/_prism-volta.scss +390 -0
  63. package/vendor/volta3/scss/prism/_prism.css +326 -0
  64. package/vendor/volta3/scss/templates/volta-error-page.scss +57 -0
  65. package/vendor/volta3/scss/templates/volta-templates.scss +114 -0
  66. package/vendor/volta3/scss/volta-flatpickr.scss +10 -0
  67. package/vendor/volta3/scss/volta-prism.scss +7 -0
  68. package/vendor/volta3/scss/volta.scss +39 -0
  69. package/vendor/volta3/symbol/volta-brand-icons.svg +1 -0
  70. package/vendor/volta3/symbol/volta-flag-icons.svg +1 -0
  71. package/vendor/volta3/symbol/volta-icons.svg +1 -0
  72. package/esm2022/lib/common/fieldNormalizer/boolean.mjs +0 -12
  73. package/esm2022/lib/common/fieldNormalizer/datetime.mjs +0 -9
  74. package/esm2022/lib/common/fieldNormalizer/index.mjs +0 -183
  75. package/esm2022/lib/common/fieldNormalizer/number.mjs +0 -14
  76. package/esm2022/lib/common/fieldNormalizer/options.mjs +0 -50
  77. package/esm2022/lib/common/fieldNormalizer/radio.mjs +0 -30
  78. package/esm2022/lib/common/fieldNormalizer/reference.mjs +0 -36
  79. package/esm2022/lib/common/fieldNormalizer/richtext.mjs +0 -15
  80. package/esm2022/lib/common/fieldNormalizer/string.mjs +0 -24
  81. package/esm2022/lib/common/fieldNormalizer/text.mjs +0 -18
  82. package/esm2022/lib/common/fieldNormalizer/uniqueNameFilter.mjs +0 -23
  83. package/esm2022/lib/common/metaAutofocus.directive.mjs +0 -35
  84. package/esm2022/lib/common/metaIcons.pipe.mjs +0 -29
  85. package/esm2022/lib/common/metaModel.pipe.mjs +0 -23
  86. package/esm2022/lib/common/metaNormalizer.mjs +0 -375
  87. package/esm2022/lib/common/metaStripHtml.pipe.mjs +0 -22
  88. package/esm2022/lib/common/utils/colorThemes.mjs +0 -77
  89. package/esm2022/lib/common/utils/indexedDbStore/index.mjs +0 -228
  90. package/esm2022/lib/common/utils/relativeTimeBuilder.mjs +0 -49
  91. package/esm2022/lib/common/utils/resourceCardLabel.mjs +0 -24
  92. package/esm2022/lib/common/utils/smartProp.mjs +0 -31
  93. package/esm2022/lib/common/utils/templateBuilder.mjs +0 -103
  94. package/esm2022/lib/fieldAbstract.mjs +0 -291
  95. package/esm2022/lib/fieldBoolean/index.mjs +0 -53
  96. package/esm2022/lib/fieldComposite/index.mjs +0 -82
  97. package/esm2022/lib/fieldDatetime/index.mjs +0 -365
  98. package/esm2022/lib/fieldHidden/index.mjs +0 -18
  99. package/esm2022/lib/fieldInput/index.mjs +0 -475
  100. package/esm2022/lib/fieldList/index.mjs +0 -74
  101. package/esm2022/lib/fieldRadio/index.mjs +0 -88
  102. package/esm2022/lib/fieldReference/index.mjs +0 -836
  103. package/esm2022/lib/fieldRichtext/index.mjs +0 -93
  104. package/esm2022/lib/fieldSelect/index.mjs +0 -569
  105. package/esm2022/lib/fieldText/index.mjs +0 -83
  106. package/esm2022/lib/fieldUnknown/index.mjs +0 -19
  107. package/esm2022/lib/index.mjs +0 -163
  108. package/esm2022/lib/layout/index.mjs +0 -214
  109. package/esm2022/lib/metaField/index.mjs +0 -151
  110. package/esm2022/lib/refDialog/index.mjs +0 -135
  111. package/esm2022/lib/resource/index.mjs +0 -525
  112. package/esm2022/lib/resourceCard/index.mjs +0 -40
  113. package/esm2022/lib/services/metaContext/index.mjs +0 -52
  114. package/esm2022/lib/services/metaMsg/index.mjs +0 -84
  115. package/esm2022/lib/services/metaReference/index.mjs +0 -94
  116. package/esm2022/lib/services/metaResource/index.mjs +0 -141
  117. package/esm2022/lib/services/metaResource/metaHttpClient.mjs +0 -64
  118. package/esm2022/lib/services/metaTracker/index.mjs +0 -31
  119. package/esm2022/lib/services/resourceDrafts/index.mjs +0 -69
  120. package/esm2022/public-api.mjs +0 -5
  121. package/esm2022/vgip-meta-ui.mjs +0 -5
  122. package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs +0 -399
  123. package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs.map +0 -1
  124. package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs +0 -478
  125. package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs.map +0 -1
  126. package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs +0 -86
  127. package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs.map +0 -1
  128. package/fesm2022/vgip-meta-ui-index-37358620.mjs +0 -158
  129. package/fesm2022/vgip-meta-ui-index-37358620.mjs.map +0 -1
  130. package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs +0 -95
  131. package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs.map +0 -1
  132. package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs +0 -79
  133. package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs.map +0 -1
  134. package/fesm2022/vgip-meta-ui-index-5f68724c.mjs +0 -576
  135. package/fesm2022/vgip-meta-ui-index-5f68724c.mjs.map +0 -1
  136. package/fesm2022/vgip-meta-ui-index-6d502a71.mjs +0 -869
  137. package/fesm2022/vgip-meta-ui-index-6d502a71.mjs.map +0 -1
  138. package/fesm2022/vgip-meta-ui-index-7741951a.mjs +0 -23
  139. package/fesm2022/vgip-meta-ui-index-7741951a.mjs.map +0 -1
  140. package/fesm2022/vgip-meta-ui-index-80ab405f.mjs +0 -93
  141. package/fesm2022/vgip-meta-ui-index-80ab405f.mjs.map +0 -1
  142. package/fesm2022/vgip-meta-ui-index-926ae006.mjs +0 -58
  143. package/fesm2022/vgip-meta-ui-index-926ae006.mjs.map +0 -1
  144. package/fesm2022/vgip-meta-ui-index-b979685f.mjs +0 -87
  145. package/fesm2022/vgip-meta-ui-index-b979685f.mjs.map +0 -1
  146. package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs +0 -24
  147. package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs.map +0 -1
  148. package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs +0 -2062
  149. package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs.map +0 -1
  150. package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs +0 -370
  151. package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs.map +0 -1
  152. package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs +0 -154
  153. package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs.map +0 -1
  154. package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs +0 -26
  155. package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs.map +0 -1
  156. package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs +0 -51
  157. package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs.map +0 -1
  158. package/lib/common/fieldNormalizer/boolean.d.ts +0 -1
  159. package/lib/common/fieldNormalizer/datetime.d.ts +0 -1
  160. package/lib/common/fieldNormalizer/index.d.ts +0 -1
  161. package/lib/common/fieldNormalizer/number.d.ts +0 -1
  162. package/lib/common/fieldNormalizer/options.d.ts +0 -1
  163. package/lib/common/fieldNormalizer/radio.d.ts +0 -1
  164. package/lib/common/fieldNormalizer/reference.d.ts +0 -1
  165. package/lib/common/fieldNormalizer/richtext.d.ts +0 -1
  166. package/lib/common/fieldNormalizer/string.d.ts +0 -1
  167. package/lib/common/fieldNormalizer/text.d.ts +0 -1
  168. package/lib/common/fieldNormalizer/uniqueNameFilter.d.ts +0 -1
  169. package/lib/common/metaAutofocus.directive.d.ts +0 -10
  170. package/lib/common/metaIcons.pipe.d.ts +0 -10
  171. package/lib/common/metaModel.pipe.d.ts +0 -7
  172. package/lib/common/metaNormalizer.d.ts +0 -1
  173. package/lib/common/metaStripHtml.pipe.d.ts +0 -7
  174. package/lib/common/utils/colorThemes.d.ts +0 -8
  175. package/lib/common/utils/indexedDbStore/index.d.ts +0 -25
  176. package/lib/common/utils/relativeTimeBuilder.d.ts +0 -1
  177. package/lib/common/utils/resourceCardLabel.d.ts +0 -1
  178. package/lib/common/utils/smartProp.d.ts +0 -2
  179. package/lib/common/utils/templateBuilder.d.ts +0 -1
  180. package/lib/fieldAbstract.d.ts +0 -61
  181. package/lib/fieldBoolean/index.d.ts +0 -10
  182. package/lib/fieldComposite/index.d.ts +0 -14
  183. package/lib/fieldDatetime/index.d.ts +0 -26
  184. package/lib/fieldHidden/index.d.ts +0 -6
  185. package/lib/fieldInput/index.d.ts +0 -35
  186. package/lib/fieldList/index.d.ts +0 -15
  187. package/lib/fieldRadio/index.d.ts +0 -14
  188. package/lib/fieldReference/index.d.ts +0 -73
  189. package/lib/fieldRichtext/index.d.ts +0 -27
  190. package/lib/fieldSelect/index.d.ts +0 -49
  191. package/lib/fieldText/index.d.ts +0 -15
  192. package/lib/fieldUnknown/index.d.ts +0 -6
  193. package/lib/index.d.ts +0 -65
  194. package/lib/layout/index.d.ts +0 -47
  195. package/lib/metaField/index.d.ts +0 -29
  196. package/lib/refDialog/index.d.ts +0 -33
  197. package/lib/resource/index.d.ts +0 -68
  198. package/lib/resourceCard/index.d.ts +0 -17
  199. package/lib/services/metaContext/index.d.ts +0 -32
  200. package/lib/services/metaMsg/index.d.ts +0 -14
  201. package/lib/services/metaReference/index.d.ts +0 -11
  202. package/lib/services/metaResource/index.d.ts +0 -31
  203. package/lib/services/metaResource/metaHttpClient.d.ts +0 -15
  204. package/lib/services/metaTracker/index.d.ts +0 -19
  205. package/lib/services/resourceDrafts/index.d.ts +0 -26
  206. package/public-api.d.ts +0 -1
@@ -0,0 +1,427 @@
1
+ @use "../lib/utils";
2
+ @use "../lib/variables";
3
+
4
+ //
5
+ // Copyright (c) 2018-present, Vonage. All rights reserved.
6
+ //
7
+
8
+ .Vlt-callout {
9
+ background-color: variables.$white;
10
+ border-radius: 6px;
11
+ box-shadow: inset 0 0 0 1px variables.$grey-dark;
12
+ display: flex;
13
+ margin-bottom: variables.$unit2;
14
+ opacity: 1;
15
+ overflow: hidden;
16
+ padding: 20px;
17
+ padding-left: 21px;
18
+ position: relative;
19
+ text-align: left;
20
+ transition: all 0.3s ease-out;
21
+
22
+ &:before {
23
+ bottom: 0;
24
+ content: '';
25
+ left: 0;
26
+ position: absolute;
27
+ top: 0;
28
+ width: 5px;
29
+ }
30
+
31
+ i {
32
+ background-size: 23px 23px !important;
33
+ flex: 0 0 23px;
34
+ height: 23px;
35
+ margin-right: 12px;
36
+ width: 23px;
37
+ }
38
+
39
+ &__icon {
40
+ flex: 0 0 23px;
41
+ height: 23px;
42
+ margin-right: 12px;
43
+ width: 23px;
44
+
45
+ svg {
46
+ height: 23px;
47
+ width: 23px;
48
+ }
49
+ }
50
+
51
+ h4 {
52
+ font-size: 1.6rem;
53
+ font-weight: 600;
54
+ letter-spacing: -0.5px;
55
+ line-height: 2.2rem;
56
+ margin-bottom: 2px;
57
+ }
58
+
59
+ p {
60
+ color: variables.$black;
61
+ line-height: 1.5;
62
+ margin-bottom: 0;
63
+
64
+ & + p,
65
+ & + ul {
66
+ margin-top: variables.$unit1;
67
+ }
68
+ }
69
+
70
+ &__content {
71
+ align-self: center;
72
+ flex: 2;
73
+ margin-left: variables.$unit0;
74
+ word-break: break-word;
75
+ }
76
+
77
+ &__dismiss {
78
+ @extend .reset-button !optional;
79
+ background-position: center;
80
+ background-size: contain;
81
+ cursor: pointer;
82
+ flex: 0 0 22px;
83
+ height: 22px;
84
+ margin-left: 12px;
85
+ margin-right: -2px;
86
+ margin-top: -2px;
87
+ transition: opacity 0.2s;
88
+ width: 22px;
89
+
90
+ &:hover {
91
+ opacity: 0.6;
92
+ }
93
+ }
94
+
95
+ .Vlt-btn {
96
+ margin-top: variables.$unit2;
97
+ }
98
+
99
+ // to deprecate
100
+ &__cta {
101
+ @extend %Vlt-btn !optional;
102
+ @extend %Vlt-btn--small !optional;
103
+ @extend %Vlt-btn--secondary !optional;
104
+ @extend %Vlt-btn--app !optional;
105
+ line-height: 1.6rem; // needed for Safari
106
+ margin-bottom: 0px;
107
+ margin-top: 10px;
108
+ min-height: 30px;
109
+ }
110
+
111
+ &--dismissed {
112
+ border: 0 !important;
113
+ height: 0;
114
+ opacity: 0;
115
+ overflow: hidden;
116
+ padding: 0;
117
+ }
118
+
119
+ &--bottom {
120
+ margin-bottom: 0;
121
+ margin-top: variables.$unit2;
122
+ }
123
+
124
+ &--warning {
125
+ &:before {
126
+ background-color: variables.$yellow;
127
+ }
128
+
129
+ & .Vlt-callout__icon {
130
+ svg {
131
+ fill: variables.$yellow;
132
+ }
133
+ }
134
+
135
+ i {
136
+ $fill-color: utils.encode-hex-code(variables.$yellow);
137
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M23.8055%2020.7941L13.443%201.36628C12.8278%200.211242%2011.1722%200.211242%2010.5554%201.36628L0.194435%2020.7941C-0.386353%2021.8837%200.403847%2023.2007%201.63905%2023.2007H22.3626C23.5961%2023.2007%2024.3863%2021.8837%2023.8055%2020.7941ZM12%2019.9286C11.0969%2019.9286%2010.364%2019.1957%2010.364%2018.2926C10.364%2017.3895%2011.0969%2016.6566%2012%2016.6566C12.9031%2016.6566%2013.636%2017.3895%2013.636%2018.2926C13.636%2019.1957%2012.9031%2019.9286%2012%2019.9286ZM13.636%2015.0205H10.364V8.47644H13.636V15.0205Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
138
+ background-position: center center;
139
+ background-repeat: no-repeat;
140
+ background-size: contain;
141
+ }
142
+
143
+ .Vlt-callout__dismiss {
144
+ $fill-color: utils.encode-hex-code(variables.$black);
145
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
146
+ background-position: center center;
147
+ background-repeat: no-repeat;
148
+ background-size: contain;
149
+ }
150
+ }
151
+
152
+ &--critical {
153
+ &:before {
154
+ background-color: variables.$red;
155
+ }
156
+
157
+ & .Vlt-callout__icon {
158
+ svg {
159
+ fill: variables.$red;
160
+ }
161
+ }
162
+
163
+ i {
164
+ $fill-color: utils.encode-hex-code(variables.$red);
165
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM9%2012H7V7H9V12ZM8%206C7.4%206%207%205.6%207%205C7%204.4%207.4%204%208%204C8.6%204%209%204.4%209%205C9%205.6%208.6%206%208%206Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
166
+ background-position: center center;
167
+ background-repeat: no-repeat;
168
+ background-size: contain;
169
+ transform: rotate(180deg);
170
+ }
171
+
172
+ .Vlt-callout__dismiss {
173
+ $fill-color: utils.encode-hex-code(variables.$black);
174
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
175
+ background-position: center center;
176
+ background-repeat: no-repeat;
177
+ background-size: contain;
178
+ }
179
+ }
180
+
181
+ &--good {
182
+ &:before {
183
+ background-color: variables.$green;
184
+ }
185
+
186
+ & .Vlt-callout__icon {
187
+ svg {
188
+ fill: variables.$green;
189
+ }
190
+ }
191
+
192
+ i {
193
+ $fill-color: utils.encode-hex-code(variables.$green);
194
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM7%2011.4L3.6%208L5%206.6L7%208.6L11%204.6L12.4%206L7%2011.4Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
195
+ background-position: center center;
196
+ background-repeat: no-repeat;
197
+ background-size: contain;
198
+ }
199
+
200
+ .Vlt-callout__dismiss {
201
+ $fill-color: utils.encode-hex-code(variables.$black);
202
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
203
+ background-position: center center;
204
+ background-repeat: no-repeat;
205
+ background-size: contain;
206
+ }
207
+ }
208
+
209
+ &--shoutout {
210
+ &:before {
211
+ background-color: variables.$indigo;
212
+ }
213
+
214
+ & .Vlt-callout__icon {
215
+ svg {
216
+ fill: variables.$indigo;
217
+ }
218
+ }
219
+
220
+ i {
221
+ $fill-color: utils.encode-hex-code(variables.$indigo);
222
+ background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.9%2C0.2C18.3%2C0.1%2C18.6%2C0%2C19%2C0c2.9%2C0%2C5%2C3.9%2C5%2C9s-2.1%2C9-5%2C9c-0.4%2C0-0.7-0.1-1-0.2L2.7%2C13%0A%09%09c-0.8-0.3-1.6-0.8-2-1.5C0.2%2C10.7-0.1%2C9.9%2C0%2C9c-0.1-0.9%2C0.2-1.7%2C0.7-2.5C1.2%2C5.8%2C1.9%2C5.3%2C2.7%2C5L17.9%2C0.2z%20M16%2C9c0%2C4%2C1.6%2C7%2C3%2C7%0A%09%09c1.4%2C0%2C3-3%2C3-7s-1.6-7-3-7C17.6%2C2%2C16%2C5%2C16%2C9z%20M20%2C9c0-0.7-0.3-1.4-0.8-2c-0.5-0.5-1.2-0.9-1.9-1C17.1%2C7%2C17%2C8%2C17%2C9c0%2C1%2C0.1%2C2%2C0.3%2C3%0A%09%09c0.7-0.1%2C1.4-0.4%2C1.9-1C19.7%2C10.4%2C20%2C9.7%2C20%2C9z%20M11.7%2C17.9l-5.8-1.8l2.6%2C6.5c0.1%2C0.3%2C0.3%2C0.5%2C0.5%2C0.8c0.2%2C0.2%2C0.5%2C0.4%2C0.8%2C0.5%0A%09%09c0.3%2C0.1%2C0.6%2C0.2%2C0.9%2C0.2c0.3%2C0%2C0.6-0.1%2C0.9-0.2s0.5-0.3%2C0.8-0.5c0.2-0.2%2C0.4-0.5%2C0.5-0.8c0.1-0.3%2C0.2-0.6%2C0.2-0.9%0A%09%09c0-0.3-0.1-0.6-0.2-0.9L11.7%2C17.9z%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A');
223
+ background-position: center center;
224
+ background-repeat: no-repeat;
225
+ background-size: contain;
226
+ }
227
+
228
+ .Vlt-callout__dismiss {
229
+ $fill-color: utils.encode-hex-code(variables.$black);
230
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
231
+ background-position: center center;
232
+ background-repeat: no-repeat;
233
+ background-size: contain;
234
+ }
235
+ }
236
+
237
+ &--tip {
238
+ &:before {
239
+ background-color: variables.$purple-dark;
240
+ }
241
+
242
+ & .Vlt-callout__icon {
243
+ svg {
244
+ fill: variables.$purple-dark;
245
+ }
246
+ }
247
+
248
+ i {
249
+ $fill-color: utils.encode-hex-code(variables.$purple-dark);
250
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM9%2012H7V7H9V12ZM8%206C7.4%206%207%205.6%207%205C7%204.4%207.4%204%208%204C8.6%204%209%204.4%209%205C9%205.6%208.6%206%208%206Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
251
+ background-position: center center;
252
+ background-repeat: no-repeat;
253
+ background-size: contain;
254
+ }
255
+
256
+ .Vlt-callout__dismiss {
257
+ $fill-color: utils.encode-hex-code(variables.$black);
258
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
259
+ background-position: center center;
260
+ background-repeat: no-repeat;
261
+ background-size: contain;
262
+ }
263
+ }
264
+
265
+ &--banner {
266
+ align-items: start;
267
+ border-radius: 0;
268
+ box-shadow: none;
269
+ justify-content: center;
270
+ margin: 0 !important;
271
+ padding: variables.$unit2;
272
+ padding-right: 54px;
273
+ text-align: center;
274
+
275
+ i {
276
+ background-size: 20px 20px !important;
277
+ flex: 0 0 20px;
278
+ height: 20px;
279
+ margin-top: 5px;
280
+ width: 20px;
281
+ }
282
+
283
+ .Vlt-callout__icon {
284
+ flex: 0 0 20px;
285
+ height: 20px;
286
+ margin-top: 5px;
287
+ width: 20px;
288
+
289
+ svg {
290
+ height: 20px;
291
+ width: 20px;
292
+ }
293
+ }
294
+
295
+ p,
296
+ .Vlt-callout__link {
297
+ font-size: 1.4rem;
298
+ font-weight: 600;
299
+ line-height: 2.2rem;
300
+ }
301
+
302
+ &:before {
303
+ display: none;
304
+ }
305
+
306
+ &.Vlt-callout--critical {
307
+ background-color: variables.$red;
308
+
309
+ p,
310
+ .Vlt-callout__link {
311
+ color: variables.$white;
312
+ }
313
+
314
+ i {
315
+ $fill-color: utils.encode-hex-code(variables.$white);
316
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM9%2012H7V7H9V12ZM8%206C7.4%206%207%205.6%207%205C7%204.4%207.4%204%208%204C8.6%204%209%204.4%209%205C9%205.6%208.6%206%208%206Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
317
+ transform: rotate(180deg);
318
+ }
319
+
320
+ .Vlt-callout__dismiss {
321
+ $fill-color: utils.encode-hex-code(variables.$white);
322
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
323
+ }
324
+ }
325
+
326
+ &.Vlt-callout--good {
327
+ background-color: variables.$green-light;
328
+
329
+ i {
330
+ $fill-color: utils.encode-hex-code(variables.$black);
331
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM7%2011.4L3.6%208L5%206.6L7%208.6L11%204.6L12.4%206L7%2011.4Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
332
+ }
333
+ }
334
+
335
+ &.Vlt-callout--shoutout {
336
+ background-color: variables.$indigo;
337
+
338
+ p,
339
+ .Vlt-callout__link {
340
+ color: variables.$white;
341
+ }
342
+
343
+ i {
344
+ $fill-color: utils.encode-hex-code(variables.$white);
345
+ background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.9%2C0.2C18.3%2C0.1%2C18.6%2C0%2C19%2C0c2.9%2C0%2C5%2C3.9%2C5%2C9s-2.1%2C9-5%2C9c-0.4%2C0-0.7-0.1-1-0.2L2.7%2C13%0A%09%09c-0.8-0.3-1.6-0.8-2-1.5C0.2%2C10.7-0.1%2C9.9%2C0%2C9c-0.1-0.9%2C0.2-1.7%2C0.7-2.5C1.2%2C5.8%2C1.9%2C5.3%2C2.7%2C5L17.9%2C0.2z%20M16%2C9c0%2C4%2C1.6%2C7%2C3%2C7%0A%09%09c1.4%2C0%2C3-3%2C3-7s-1.6-7-3-7C17.6%2C2%2C16%2C5%2C16%2C9z%20M20%2C9c0-0.7-0.3-1.4-0.8-2c-0.5-0.5-1.2-0.9-1.9-1C17.1%2C7%2C17%2C8%2C17%2C9c0%2C1%2C0.1%2C2%2C0.3%2C3%0A%09%09c0.7-0.1%2C1.4-0.4%2C1.9-1C19.7%2C10.4%2C20%2C9.7%2C20%2C9z%20M11.7%2C17.9l-5.8-1.8l2.6%2C6.5c0.1%2C0.3%2C0.3%2C0.5%2C0.5%2C0.8c0.2%2C0.2%2C0.5%2C0.4%2C0.8%2C0.5%0A%09%09c0.3%2C0.1%2C0.6%2C0.2%2C0.9%2C0.2c0.3%2C0%2C0.6-0.1%2C0.9-0.2s0.5-0.3%2C0.8-0.5c0.2-0.2%2C0.4-0.5%2C0.5-0.8c0.1-0.3%2C0.2-0.6%2C0.2-0.9%0A%09%09c0-0.3-0.1-0.6-0.2-0.9L11.7%2C17.9z%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A');
346
+ }
347
+
348
+ .Vlt-callout__dismiss {
349
+ $fill-color: utils.encode-hex-code(variables.$white);
350
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
351
+ }
352
+ }
353
+
354
+ &.Vlt-callout--tip {
355
+ background-color: variables.$purple-dark;
356
+
357
+ p,
358
+ .Vlt-callout__link {
359
+ color: variables.$white;
360
+ }
361
+
362
+ i {
363
+ $fill-color: utils.encode-hex-code(variables.$white);
364
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M8%200C3.6%200%200%203.6%200%208C0%2012.4%203.6%2016%208%2016C12.4%2016%2016%2012.4%2016%208C16%203.6%2012.4%200%208%200ZM9%2012H7V7H9V12ZM8%206C7.4%206%207%205.6%207%205C7%204.4%207.4%204%208%204C8.6%204%209%204.4%209%205C9%205.6%208.6%206%208%206Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
365
+ }
366
+
367
+ .Vlt-callout__dismiss {
368
+ $fill-color: utils.encode-hex-code(variables.$white);
369
+ background-image: url('data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20style%3D%22enable-background%3Anew%200%200%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12%2012.7223L18.2777%2019L19%2018.2777L12.7223%2012L19%205.72229L18.2777%205L12%2011.2777L5.72229%205L5%205.72229L11.2777%2012L5%2018.2777L5.72229%2019L12%2012.7223Z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
370
+ }
371
+ }
372
+
373
+ &.Vlt-callout--warning {
374
+ background-color: variables.$yellow;
375
+
376
+ i {
377
+ $fill-color: utils.encode-hex-code(variables.$black);
378
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M23.8055%2020.7941L13.443%201.36628C12.8278%200.211242%2011.1722%200.211242%2010.5554%201.36628L0.194435%2020.7941C-0.386353%2021.8837%200.403847%2023.2007%201.63905%2023.2007H22.3626C23.5961%2023.2007%2024.3863%2021.8837%2023.8055%2020.7941ZM12%2019.9286C11.0969%2019.9286%2010.364%2019.1957%2010.364%2018.2926C10.364%2017.3895%2011.0969%2016.6566%2012%2016.6566C12.9031%2016.6566%2013.636%2017.3895%2013.636%2018.2926C13.636%2019.1957%2012.9031%2019.9286%2012%2019.9286ZM13.636%2015.0205H10.364V8.47644H13.636V15.0205Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
379
+ }
380
+ }
381
+
382
+ &.Vlt-callout--good,
383
+ &.Vlt-callout--warning {
384
+ .Vlt-callout__icon {
385
+ svg {
386
+ fill: variables.$black;
387
+ }
388
+ }
389
+ }
390
+
391
+ &.Vlt-callout--critical,
392
+ &.Vlt-callout--shoutout,
393
+ &.Vlt-callout--tip {
394
+ .Vlt-callout__icon {
395
+ svg {
396
+ fill: variables.$white;
397
+ }
398
+ }
399
+ }
400
+
401
+ .Vlt-callout__content {
402
+ flex: inherit;
403
+ margin: 4px 0px
404
+ }
405
+
406
+ .Vlt-btn,
407
+ .Vlt-callout__cta {
408
+ @extend %Vlt-btn--small !optional;
409
+ flex: none;
410
+ margin: 0 0 0 16px;
411
+ }
412
+
413
+ .Vlt-callout__link {
414
+ @extend %Vlt-text-btn !optional;
415
+ color: variables.$black;
416
+ margin-left: 4px;
417
+ margin-top: 4px;
418
+ text-decoration: underline;
419
+ }
420
+
421
+ .Vlt-callout__dismiss {
422
+ position: absolute;
423
+ right: 22px;
424
+ top: 22px;
425
+ }
426
+ }
427
+ }