@vgip/meta-ui 2.0.0 → 2.1.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.
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 +325 -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,186 @@
1
+ @use "sass:color";
2
+ @use "../lib/variables";
3
+
4
+ //
5
+ // Copyright (c) 2018-present, Vonage. All rights reserved.
6
+ //
7
+
8
+ $colors: (
9
+ 'white': variables.$white,
10
+ orange-lighter: variables.$orange-lighter,
11
+ orange-light: variables.$orange-light,
12
+ 'orange': variables.$orange,
13
+ orange-dark: variables.$orange-dark,
14
+ orange-darker: variables.$orange-darker,
15
+ blue-lighter: variables.$blue-lighter,
16
+ blue-light: variables.$blue-light,
17
+ 'blue': variables.$blue,
18
+ blue-dark: variables.$blue-dark,
19
+ blue-darker: variables.$blue-darker,
20
+ blue-text: variables.$blue-text,
21
+ green-lighter: variables.$green-lighter,
22
+ green-light: variables.$green-light,
23
+ 'green': variables.$green,
24
+ green-dark: variables.$green-dark,
25
+ green-darker: variables.$green-darker,
26
+ green-text: variables.$green-text,
27
+ purple-lighter: variables.$purple-lighter,
28
+ purple-light: variables.$purple-light,
29
+ 'purple': variables.$purple,
30
+ purple-dark: variables.$purple-dark,
31
+ purple-darker: variables.$purple-darker,
32
+ purple-text: variables.$purple-text,
33
+ teal-lighter: variables.$teal-lighter,
34
+ teal-light: variables.$teal-light,
35
+ 'teal': variables.$teal,
36
+ teal-dark: variables.$teal-dark,
37
+ teal-darker: variables.$teal-darker,
38
+ teal-text: variables.$teal-text,
39
+ yellow-lighter: variables.$yellow-lighter,
40
+ yellow-light: variables.$yellow-light,
41
+ 'yellow': variables.$yellow,
42
+ yellow-dark: variables.$yellow-dark,
43
+ yellow-darker: variables.$yellow-darker,
44
+ yellow-text: variables.$yellow-text,
45
+ indigo-lighter: variables.$indigo-lighter,
46
+ indigo-light: variables.$indigo-light,
47
+ 'indigo': variables.$indigo,
48
+ indigo-dark: variables.$indigo-dark,
49
+ indigo-darker: variables.$indigo-darker,
50
+ indigo-text: variables.$indigo-text,
51
+ grey-lighter: variables.$grey-lighter,
52
+ grey-light: variables.$grey-light,
53
+ 'grey': variables.$grey,
54
+ grey-dark: variables.$grey-dark,
55
+ grey-darker: variables.$grey-darker,
56
+ 'black': variables.$black,
57
+ red-lighter: variables.$red-lighter,
58
+ red-light: variables.$red-light,
59
+ 'red': variables.$red,
60
+ red-dark: variables.$red-dark,
61
+ red-darker: variables.$red-darker,
62
+ red-text: variables.$red-text,
63
+ aqua-lighter: variables.$aqua-lighter,
64
+ aqua-light: variables.$aqua-light,
65
+ 'aqua': variables.$aqua,
66
+ aqua-dark: variables.$aqua-dark,
67
+ aqua-darker: variables.$aqua-darker,
68
+ aqua-text: variables.$aqua-text
69
+ );
70
+
71
+ @each $color, $color-variable in $colors {
72
+ .Vlt-#{$color} {
73
+ color: $color-variable !important;
74
+ fill: $color-variable !important;
75
+ }
76
+
77
+ .Vlt-bg-#{$color} {
78
+ background-color: $color-variable !important;
79
+ }
80
+
81
+ .Vlt-bdr-#{$color} {
82
+ border-color: $color-variable !important;
83
+ }
84
+ }
85
+
86
+ .Vlt-gradient {
87
+ &--blue {
88
+ background: linear-gradient(to right, color.adjust(variables.$blue-dark, $lightness: 5%), color.adjust(variables.$blue-dark, $lightness: -10%)) !important;
89
+ }
90
+
91
+ &--blue-light {
92
+ background: linear-gradient(to right, color.adjust(variables.$blue, $lightness: 5%), color.adjust(variables.$blue, $lightness: -10%)) !important;
93
+ }
94
+
95
+ &--red {
96
+ background: linear-gradient(to right, color.adjust(variables.$red, $lightness: 5%), color.adjust(variables.$red, $lightness: -10%)) !important;
97
+ }
98
+
99
+ &--orange {
100
+ background: linear-gradient(to right, color.adjust(variables.$orange, $lightness: 10%), color.adjust(variables.$orange, $lightness: -5%)) !important;
101
+ }
102
+
103
+ &--indigo {
104
+ background: linear-gradient(to right, color.adjust(variables.$indigo, $lightness: 5%), color.adjust(variables.$indigo, $lightness: -10%)) !important;
105
+ }
106
+
107
+ &--green {
108
+ background: linear-gradient(to right, color.adjust(variables.$green, $lightness: 5%), color.adjust(variables.$green, $lightness: -10%)) !important;
109
+ }
110
+
111
+ &--purple {
112
+ background: linear-gradient(to right, color.adjust(variables.$purple, $lightness: 5%), color.adjust(variables.$purple, $lightness: -10%)) !important;
113
+ }
114
+
115
+ &--teal {
116
+ background: linear-gradient(to right, color.adjust(variables.$teal, $lightness: 5%), color.adjust(variables.$teal, $lightness: -10%)) !important;
117
+ }
118
+
119
+ &--blue-to-pink {
120
+ background: linear-gradient(to right, variables.$gradient-blue, variables.$gradient-pink) !important;
121
+ }
122
+
123
+ &--blue-to-purple {
124
+ background: linear-gradient(to right, variables.$gradient-blue, variables.$gradient-purple) !important;
125
+ }
126
+
127
+ &--pink-to-blue {
128
+ background: linear-gradient(to right, variables.$gradient-pink, variables.$gradient-blue) !important;
129
+ }
130
+
131
+ &--pink-to-peach {
132
+ background: linear-gradient(to right, variables.$gradient-pink, variables.$gradient-peach) !important;
133
+ }
134
+
135
+ &--purple-to-peach {
136
+ background: linear-gradient(to right, variables.$gradient-purple, variables.$gradient-peach) !important;
137
+ }
138
+
139
+ &--gumdrops1 {
140
+ background: variables.$gumdrops1 !important;
141
+ }
142
+
143
+ &--gumdrops2 {
144
+ background: variables.$gumdrops2 !important;
145
+ }
146
+
147
+ &--gumdrops3 {
148
+ background: variables.$gumdrops3 !important;
149
+ }
150
+
151
+ &--lovehearts1 {
152
+ background: variables.$lovehearts1 !important;
153
+ }
154
+
155
+ &--lovehearts2 {
156
+ background: variables.$lovehearts2 !important;
157
+ }
158
+
159
+ &--lovehearts3 {
160
+ background: variables.$lovehearts3 !important;
161
+ }
162
+
163
+ &--skittles1 {
164
+ background: variables.$skittles1 !important;
165
+ }
166
+
167
+ &--skittles2 {
168
+ background: variables.$skittles2 !important;
169
+ }
170
+
171
+ &--skittles3 {
172
+ background: variables.$skittles3 !important;
173
+ }
174
+
175
+ &--twizzlers1 {
176
+ background: variables.$twizzlers1 !important;
177
+ }
178
+
179
+ &--twizzlers2 {
180
+ background: variables.$twizzlers2 !important;
181
+ }
182
+
183
+ &--twizzlers3 {
184
+ background: variables.$twizzlers3 !important;
185
+ }
186
+ }
@@ -0,0 +1,224 @@
1
+ @use "../lib/utils";
2
+ @use "../lib/variables";
3
+
4
+ //
5
+ // Copyright (c) 2018-present, Vonage. All rights reserved.
6
+ //
7
+
8
+ .Vlt-dialpad {
9
+ background: variables.$black;
10
+ border-radius: variables.$unit1;
11
+ box-shadow: 0 5px 10px 0 rgba(variables.$black, 0.25);
12
+ margin: variables.$unit1 auto;
13
+ max-width: 100%;
14
+ width: 300px;
15
+
16
+ &__keypad {
17
+ display: flex;
18
+ flex-flow: row wrap;
19
+ padding: variables.$unit1 variables.$unit1 variables.$unit3;
20
+ }
21
+
22
+ &__key {
23
+ @extend .reset-button !optional;
24
+ align-items: center;
25
+ border-radius: 6px;
26
+ cursor: pointer;
27
+ display: flex;
28
+ flex: 0 0 33%;
29
+ flex-flow: row wrap;
30
+ height: 60px;
31
+ justify-content: center;
32
+ margin: 2px 0;
33
+ transition: background 0.4s;
34
+
35
+ &__main {
36
+ align-self: flex-start;
37
+ color: variables.$white;
38
+ flex: 0 0 100%;
39
+ font-size: 3rem;
40
+ font-weight: 800;
41
+ padding-bottom: 2px;
42
+ padding-top: 10px;
43
+ text-align: center;
44
+ }
45
+
46
+ &__sub {
47
+ align-self: flex-start;
48
+ color: variables.$grey-dark;
49
+ flex: 0 0 100%;
50
+ font-size: 1.2rem;
51
+ font-weight: 600;
52
+ text-align: center;
53
+ text-transform: uppercase;
54
+ }
55
+
56
+ &__sub-plus {
57
+ font-size: 2rem;
58
+ font-weight: 800;
59
+ }
60
+
61
+ &:hover {
62
+ background: rgba(variables.$white, 0.15);
63
+ }
64
+
65
+ &:active {
66
+ background: rgba(variables.$white, 0.25);
67
+ }
68
+
69
+ svg {
70
+ height: 24px;
71
+ width: 24px;
72
+ }
73
+
74
+ .Vlt-btn {
75
+ margin: 0;
76
+
77
+ svg {
78
+ height: 24px;
79
+ margin: 0 -12px;
80
+ width: 24px;
81
+ }
82
+ }
83
+
84
+ &--nohover {
85
+ &:hover {
86
+ background: transparent;
87
+ }
88
+ }
89
+ }
90
+
91
+ &__header {
92
+ color: variables.$white;
93
+ font-size: 1.2rem;
94
+ padding: 12px 32px;
95
+ position: relative;
96
+ text-align: center;
97
+
98
+ &__dismiss {
99
+ $fill-color: utils.encode-hex-code(variables.$white);
100
+ background-color: transparent;
101
+ 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%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
102
+ background-position: center center;
103
+ background-repeat: no-repeat;
104
+ background-size: 100%;
105
+ border: 0;
106
+ box-shadow: none;
107
+ cursor: pointer;
108
+ height: 24px;
109
+ opacity: 1;
110
+ outline: none;
111
+ position: absolute;
112
+ right: 8px;
113
+ top: 8px;
114
+ transition: opacity 0.2s;
115
+ width: 24px;
116
+
117
+ svg {
118
+ display: none;
119
+ }
120
+
121
+ &:hover {
122
+ opacity: 0.7;
123
+ }
124
+ }
125
+ }
126
+
127
+ &__strip {
128
+ align-items: center;
129
+ background: rgba(variables.$white, 0.0625);
130
+ display: flex;
131
+ height: 52px;
132
+ padding: variables.$unit1 variables.$unit2;
133
+
134
+ &__icon {
135
+ flex: 0 0 28px;
136
+ width: 28px;
137
+ }
138
+
139
+ &__backspace {
140
+ cursor: pointer;
141
+ flex: 0 0 28px;
142
+ transition: opacity 0.2s;
143
+ width: 28px;
144
+
145
+ &:hover {
146
+ opacity: 0.7;
147
+ }
148
+ }
149
+
150
+ &__number {
151
+ flex: 1;
152
+ padding: 0 variables.$unit0;
153
+
154
+ input {
155
+ background: transparent;
156
+ border: 0;
157
+ color: variables.$white;
158
+ direction: rtl;
159
+ font-size: 2.1rem;
160
+ font-weight: 800;
161
+ overflow: hidden;
162
+ text-align: center;
163
+ text-overflow: ellipsis;
164
+ white-space: nowrap;
165
+ width: 100%;
166
+
167
+ &:focus {
168
+ direction: ltr;
169
+ outline: none;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ &--light {
176
+ background: variables.$white;
177
+ border: 0;
178
+
179
+ .Vlt-dialpad {
180
+ &__key {
181
+ &__main {
182
+ color: variables.$black;
183
+ }
184
+
185
+ &__sub {
186
+ color: variables.$grey-dark;
187
+ }
188
+
189
+ &:hover {
190
+ background: variables.$grey-lighter;
191
+ }
192
+
193
+ &:active {
194
+ background: variables.$grey-light;
195
+ }
196
+
197
+ &--nohover {
198
+ &:hover {
199
+ background: transparent;
200
+ }
201
+ }
202
+ }
203
+
204
+ &__header {
205
+ color: variables.$grey-darker;
206
+
207
+ &__dismiss {
208
+ $fill-color: utils.encode-hex-code(variables.$black);
209
+ 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%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
210
+ }
211
+ }
212
+
213
+ &__strip {
214
+ background: variables.$grey-lighter;
215
+
216
+ &__number {
217
+ input {
218
+ color: variables.$grey-darker;
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }