@vgip/meta-ui 1.9.9 → 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.
- package/fesm2022/vgip-meta-ui.mjs +5614 -78
- package/fesm2022/vgip-meta-ui.mjs.map +1 -1
- package/index.d.ts +709 -5
- package/package.json +5 -8
- package/vendor/volta3/README.md +1 -0
- package/vendor/volta3/fonts/Spezia-Regular.eot +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.eot +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff2 +0 -0
- package/vendor/volta3/scss/components/_accordions.scss +165 -0
- package/vendor/volta3/scss/components/_badge.scss +325 -0
- package/vendor/volta3/scss/components/_blockquote.scss +35 -0
- package/vendor/volta3/scss/components/_boxes.scss +113 -0
- package/vendor/volta3/scss/components/_buttons.scss +794 -0
- package/vendor/volta3/scss/components/_callouts.scss +427 -0
- package/vendor/volta3/scss/components/_card.scss +421 -0
- package/vendor/volta3/scss/components/_color-classes.scss +186 -0
- package/vendor/volta3/scss/components/_dialpad.scss +224 -0
- package/vendor/volta3/scss/components/_dropdowns.scss +495 -0
- package/vendor/volta3/scss/components/_empties.scss +77 -0
- package/vendor/volta3/scss/components/_flash-messages.scss +39 -0
- package/vendor/volta3/scss/components/_form-elements.scss +879 -0
- package/vendor/volta3/scss/components/_lists.scss +427 -0
- package/vendor/volta3/scss/components/_modals.scss +227 -0
- package/vendor/volta3/scss/components/_popups.scss +173 -0
- package/vendor/volta3/scss/components/_progress.scss +28 -0
- package/vendor/volta3/scss/components/_spinner.scss +105 -0
- package/vendor/volta3/scss/components/_steps.scss +242 -0
- package/vendor/volta3/scss/components/_switch.scss +353 -0
- package/vendor/volta3/scss/components/_tables.scss +739 -0
- package/vendor/volta3/scss/components/_tabs.scss +296 -0
- package/vendor/volta3/scss/components/_text-separator.scss +61 -0
- package/vendor/volta3/scss/components/_tooltips.scss +152 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--aqua.scss +179 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--collapsible.scss +381 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--dark.scss +196 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--light.scss +174 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--structure.scss +631 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--tabs.scss +88 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr-volta.scss +407 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr.css +785 -0
- package/vendor/volta3/scss/layout/_article.scss +119 -0
- package/vendor/volta3/scss/layout/_utils.scss +174 -0
- package/vendor/volta3/scss/lib/_grid.scss +374 -0
- package/vendor/volta3/scss/lib/_mediaqueries.scss +52 -0
- package/vendor/volta3/scss/lib/_reset.scss +110 -0
- package/vendor/volta3/scss/lib/_type.scss +345 -0
- package/vendor/volta3/scss/lib/_utils.scss +26 -0
- package/vendor/volta3/scss/lib/_variables.scss +115 -0
- package/vendor/volta3/scss/prism/_prism-volta.scss +390 -0
- package/vendor/volta3/scss/prism/_prism.css +326 -0
- package/vendor/volta3/scss/templates/volta-error-page.scss +57 -0
- package/vendor/volta3/scss/templates/volta-templates.scss +114 -0
- package/vendor/volta3/scss/volta-flatpickr.scss +10 -0
- package/vendor/volta3/scss/volta-prism.scss +7 -0
- package/vendor/volta3/scss/volta.scss +39 -0
- package/vendor/volta3/symbol/volta-brand-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-flag-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-icons.svg +1 -0
- package/esm2022/lib/common/fieldNormalizer/boolean.mjs +0 -12
- package/esm2022/lib/common/fieldNormalizer/datetime.mjs +0 -9
- package/esm2022/lib/common/fieldNormalizer/index.mjs +0 -183
- package/esm2022/lib/common/fieldNormalizer/number.mjs +0 -14
- package/esm2022/lib/common/fieldNormalizer/options.mjs +0 -50
- package/esm2022/lib/common/fieldNormalizer/radio.mjs +0 -30
- package/esm2022/lib/common/fieldNormalizer/reference.mjs +0 -36
- package/esm2022/lib/common/fieldNormalizer/richtext.mjs +0 -15
- package/esm2022/lib/common/fieldNormalizer/string.mjs +0 -24
- package/esm2022/lib/common/fieldNormalizer/text.mjs +0 -18
- package/esm2022/lib/common/fieldNormalizer/uniqueNameFilter.mjs +0 -23
- package/esm2022/lib/common/metaAutofocus.directive.mjs +0 -35
- package/esm2022/lib/common/metaIcons.pipe.mjs +0 -29
- package/esm2022/lib/common/metaModel.pipe.mjs +0 -23
- package/esm2022/lib/common/metaNormalizer.mjs +0 -375
- package/esm2022/lib/common/metaStripHtml.pipe.mjs +0 -22
- package/esm2022/lib/common/utils/colorThemes.mjs +0 -77
- package/esm2022/lib/common/utils/indexedDbStore/index.mjs +0 -228
- package/esm2022/lib/common/utils/relativeTimeBuilder.mjs +0 -49
- package/esm2022/lib/common/utils/resourceCardLabel.mjs +0 -24
- package/esm2022/lib/common/utils/smartProp.mjs +0 -31
- package/esm2022/lib/common/utils/templateBuilder.mjs +0 -103
- package/esm2022/lib/fieldAbstract.mjs +0 -291
- package/esm2022/lib/fieldBoolean/index.mjs +0 -53
- package/esm2022/lib/fieldComposite/index.mjs +0 -82
- package/esm2022/lib/fieldDatetime/index.mjs +0 -365
- package/esm2022/lib/fieldHidden/index.mjs +0 -18
- package/esm2022/lib/fieldInput/index.mjs +0 -475
- package/esm2022/lib/fieldList/index.mjs +0 -74
- package/esm2022/lib/fieldRadio/index.mjs +0 -88
- package/esm2022/lib/fieldReference/index.mjs +0 -834
- package/esm2022/lib/fieldRichtext/index.mjs +0 -93
- package/esm2022/lib/fieldSelect/index.mjs +0 -568
- package/esm2022/lib/fieldText/index.mjs +0 -83
- package/esm2022/lib/fieldUnknown/index.mjs +0 -19
- package/esm2022/lib/index.mjs +0 -163
- package/esm2022/lib/layout/index.mjs +0 -212
- package/esm2022/lib/metaField/index.mjs +0 -148
- package/esm2022/lib/refDialog/index.mjs +0 -135
- package/esm2022/lib/resource/index.mjs +0 -525
- package/esm2022/lib/resourceCard/index.mjs +0 -40
- package/esm2022/lib/services/metaContext/index.mjs +0 -52
- package/esm2022/lib/services/metaMsg/index.mjs +0 -84
- package/esm2022/lib/services/metaReference/index.mjs +0 -94
- package/esm2022/lib/services/metaResource/index.mjs +0 -139
- package/esm2022/lib/services/metaResource/metaHttpClient.mjs +0 -64
- package/esm2022/lib/services/metaTracker/index.mjs +0 -31
- package/esm2022/lib/services/resourceDrafts/index.mjs +0 -69
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/vgip-meta-ui.mjs +0 -5
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs +0 -399
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs +0 -478
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-050d4a8c.mjs +0 -87
- package/fesm2022/vgip-meta-ui-index-050d4a8c.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs +0 -86
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-37358620.mjs +0 -158
- package/fesm2022/vgip-meta-ui-index-37358620.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs +0 -95
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-70d40f26.mjs +0 -79
- package/fesm2022/vgip-meta-ui-index-70d40f26.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs +0 -23
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs +0 -93
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-86d5c4b7.mjs +0 -575
- package/fesm2022/vgip-meta-ui-index-86d5c4b7.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs +0 -58
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-ac6d744b.mjs +0 -867
- package/fesm2022/vgip-meta-ui-index-ac6d744b.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs +0 -24
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-f2a08550.mjs +0 -2058
- package/fesm2022/vgip-meta-ui-index-f2a08550.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs +0 -370
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-fa271433.mjs +0 -151
- package/fesm2022/vgip-meta-ui-index-fa271433.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs +0 -26
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs +0 -51
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs.map +0 -1
- package/lib/common/fieldNormalizer/boolean.d.ts +0 -1
- package/lib/common/fieldNormalizer/datetime.d.ts +0 -1
- package/lib/common/fieldNormalizer/index.d.ts +0 -1
- package/lib/common/fieldNormalizer/number.d.ts +0 -1
- package/lib/common/fieldNormalizer/options.d.ts +0 -1
- package/lib/common/fieldNormalizer/radio.d.ts +0 -1
- package/lib/common/fieldNormalizer/reference.d.ts +0 -1
- package/lib/common/fieldNormalizer/richtext.d.ts +0 -1
- package/lib/common/fieldNormalizer/string.d.ts +0 -1
- package/lib/common/fieldNormalizer/text.d.ts +0 -1
- package/lib/common/fieldNormalizer/uniqueNameFilter.d.ts +0 -1
- package/lib/common/metaAutofocus.directive.d.ts +0 -10
- package/lib/common/metaIcons.pipe.d.ts +0 -10
- package/lib/common/metaModel.pipe.d.ts +0 -7
- package/lib/common/metaNormalizer.d.ts +0 -1
- package/lib/common/metaStripHtml.pipe.d.ts +0 -7
- package/lib/common/utils/colorThemes.d.ts +0 -8
- package/lib/common/utils/indexedDbStore/index.d.ts +0 -25
- package/lib/common/utils/relativeTimeBuilder.d.ts +0 -1
- package/lib/common/utils/resourceCardLabel.d.ts +0 -1
- package/lib/common/utils/smartProp.d.ts +0 -2
- package/lib/common/utils/templateBuilder.d.ts +0 -1
- package/lib/fieldAbstract.d.ts +0 -60
- package/lib/fieldBoolean/index.d.ts +0 -10
- package/lib/fieldComposite/index.d.ts +0 -14
- package/lib/fieldDatetime/index.d.ts +0 -26
- package/lib/fieldHidden/index.d.ts +0 -6
- package/lib/fieldInput/index.d.ts +0 -35
- package/lib/fieldList/index.d.ts +0 -15
- package/lib/fieldRadio/index.d.ts +0 -14
- package/lib/fieldReference/index.d.ts +0 -73
- package/lib/fieldRichtext/index.d.ts +0 -27
- package/lib/fieldSelect/index.d.ts +0 -49
- package/lib/fieldText/index.d.ts +0 -15
- package/lib/fieldUnknown/index.d.ts +0 -6
- package/lib/index.d.ts +0 -65
- package/lib/layout/index.d.ts +0 -46
- package/lib/metaField/index.d.ts +0 -28
- package/lib/refDialog/index.d.ts +0 -33
- package/lib/resource/index.d.ts +0 -68
- package/lib/resourceCard/index.d.ts +0 -17
- package/lib/services/metaContext/index.d.ts +0 -32
- package/lib/services/metaMsg/index.d.ts +0 -14
- package/lib/services/metaReference/index.d.ts +0 -11
- package/lib/services/metaResource/index.d.ts +0 -31
- package/lib/services/metaResource/metaHttpClient.d.ts +0 -15
- package/lib/services/metaTracker/index.d.ts +0 -19
- package/lib/services/resourceDrafts/index.d.ts +0 -26
- package/public-api.d.ts +0 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-popup {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
&__panel {
|
|
12
|
+
max-height: 0;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
position: absolute;
|
|
15
|
+
width: 250px;
|
|
16
|
+
z-index: variables.$z-index-popups;
|
|
17
|
+
|
|
18
|
+
&--width2 {
|
|
19
|
+
min-width: 200px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--width3 {
|
|
23
|
+
min-width: 300px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__content {
|
|
27
|
+
background: variables.$white;
|
|
28
|
+
border-radius: variables.$unit1;
|
|
29
|
+
box-shadow: 0 1px 20px rgba(variables.$black, 0.2);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&_open {
|
|
33
|
+
max-height: 100vh;
|
|
34
|
+
overflow: visible;
|
|
35
|
+
|
|
36
|
+
.Vlt-popup__scroll {
|
|
37
|
+
max-height: 400px;
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__header {
|
|
44
|
+
background: variables.$blue;
|
|
45
|
+
border-top-left-radius: variables.$unit1;
|
|
46
|
+
border-top-right-radius: variables.$unit1;
|
|
47
|
+
color: variables.$white;
|
|
48
|
+
font-size: 1.5rem;
|
|
49
|
+
font-weight: 900;
|
|
50
|
+
padding: variables.$unit1 variables.$unit3;
|
|
51
|
+
text-align: left;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__link {
|
|
55
|
+
color: variables.$black;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
display: flex;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
padding: 12px 20px 0;
|
|
60
|
+
position: relative;
|
|
61
|
+
text-align: left;
|
|
62
|
+
|
|
63
|
+
&--noborder {
|
|
64
|
+
// Fixes the spacing without changing the proportion of the element
|
|
65
|
+
margin-top: -4px;
|
|
66
|
+
|
|
67
|
+
&:before {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&--disabled,
|
|
73
|
+
&--selected {
|
|
74
|
+
color: variables.$grey-dark;
|
|
75
|
+
cursor: default;
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
|
|
78
|
+
& .Vlt-popup__link__icon {
|
|
79
|
+
fill: variables.$grey-dark;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&--highlighted {
|
|
84
|
+
color: variables.$blue;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__icon {
|
|
88
|
+
fill: variables.$blue;
|
|
89
|
+
flex: 0 0 20px;
|
|
90
|
+
height: 20px;
|
|
91
|
+
margin-right: 10px;
|
|
92
|
+
vertical-align: middle;
|
|
93
|
+
width: 20px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__content {
|
|
97
|
+
flex: 1;
|
|
98
|
+
padding-bottom: variables.$unit2;
|
|
99
|
+
position: relative;
|
|
100
|
+
|
|
101
|
+
&:after {
|
|
102
|
+
background: variables.$grey-light;
|
|
103
|
+
bottom: 0;
|
|
104
|
+
content: '';
|
|
105
|
+
display: block;
|
|
106
|
+
height: 1px;
|
|
107
|
+
left: 0;
|
|
108
|
+
position: absolute;
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
h6 {
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
margin-bottom: 0 !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
p {
|
|
118
|
+
margin-top: variables.$unit1;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:hover {
|
|
123
|
+
background: rgba(variables.$black, 0.05);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:active {
|
|
127
|
+
background: rgba(variables.$black, 0.1);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&--nohover {
|
|
131
|
+
&:hover {
|
|
132
|
+
background: transparent;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:last-child {
|
|
137
|
+
border-bottom-left-radius: variables.$unit1;
|
|
138
|
+
border-bottom-right-radius: variables.$unit1;
|
|
139
|
+
|
|
140
|
+
.Vlt-popup__link__content:after {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&--top-left {
|
|
147
|
+
.Vlt-popup__panel {
|
|
148
|
+
bottom: 100%;
|
|
149
|
+
right: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&--top-right {
|
|
154
|
+
.Vlt-popup__panel {
|
|
155
|
+
bottom: 100%;
|
|
156
|
+
left: 0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&--bottom-left {
|
|
161
|
+
.Vlt-popup__panel {
|
|
162
|
+
right: 0;
|
|
163
|
+
top: 100%;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&--bottom-right {
|
|
168
|
+
.Vlt-popup__panel {
|
|
169
|
+
left: 0;
|
|
170
|
+
top: 100%;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-progress {
|
|
8
|
+
background-color: rgba(variables.$grey-darker, 0.45);
|
|
9
|
+
border-radius: 10px;
|
|
10
|
+
display: block;
|
|
11
|
+
height: 6px;
|
|
12
|
+
margin: 7px 0;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
&__bar {
|
|
17
|
+
background-image: linear-gradient(to right, variables.$gradient-blue, variables.$gradient-purple);
|
|
18
|
+
height: 100%;
|
|
19
|
+
left: 0;
|
|
20
|
+
position: absolute;
|
|
21
|
+
transition: width 0.2s ease-out;
|
|
22
|
+
width: 0%;
|
|
23
|
+
|
|
24
|
+
&[class*='Vlt-bg-'] {
|
|
25
|
+
background-image: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-spinner {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
height: 64px;
|
|
10
|
+
margin: variables.$unit1;
|
|
11
|
+
position: relative;
|
|
12
|
+
width: 64px;
|
|
13
|
+
|
|
14
|
+
&:before,
|
|
15
|
+
&:after {
|
|
16
|
+
animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
17
|
+
border: 6px solid variables.$black;
|
|
18
|
+
border-color: variables.$black transparent transparent;
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
content: '';
|
|
22
|
+
display: block;
|
|
23
|
+
height: 75%;
|
|
24
|
+
margin: 6px;
|
|
25
|
+
position: absolute;
|
|
26
|
+
width: 75%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:after {
|
|
30
|
+
animation-delay: -0.1s;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--small {
|
|
34
|
+
height: 32px;
|
|
35
|
+
width: 32px;
|
|
36
|
+
|
|
37
|
+
&:before,
|
|
38
|
+
&:after {
|
|
39
|
+
border-width: 3px;
|
|
40
|
+
margin: 3px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--smaller {
|
|
45
|
+
height: 20px;
|
|
46
|
+
width: 20px;
|
|
47
|
+
|
|
48
|
+
&:before,
|
|
49
|
+
&:after {
|
|
50
|
+
border-width: 2px;
|
|
51
|
+
margin: 2px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--middle {
|
|
56
|
+
vertical-align: middle;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--center {
|
|
60
|
+
display: block;
|
|
61
|
+
margin: 0 auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--white {
|
|
65
|
+
&:before,
|
|
66
|
+
&:after {
|
|
67
|
+
border-color: variables.$white transparent transparent;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.Vlt-btn & {
|
|
72
|
+
height: 20px;
|
|
73
|
+
margin: -3px 6px 0 0;
|
|
74
|
+
vertical-align: middle;
|
|
75
|
+
width: 20px;
|
|
76
|
+
|
|
77
|
+
&:before,
|
|
78
|
+
&:after {
|
|
79
|
+
border-width: 2px;
|
|
80
|
+
margin: 2px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.Vlt-btn--large & {
|
|
85
|
+
height: 24px;
|
|
86
|
+
width: 24px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.Vlt-btn--small & {
|
|
90
|
+
height: 18px;
|
|
91
|
+
margin-top: -4px;
|
|
92
|
+
width: 18px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@keyframes spinner {
|
|
97
|
+
0% {
|
|
98
|
+
transform: rotate(0deg);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
100% {
|
|
102
|
+
transform: rotate(360deg);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
@use "../lib/mediaqueries";
|
|
2
|
+
@use "../lib/utils";
|
|
3
|
+
@use "../lib/variables";
|
|
4
|
+
|
|
5
|
+
//
|
|
6
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
.Vlt-steps {
|
|
10
|
+
counter-reset: steps;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
list-style: none;
|
|
14
|
+
margin: 0;
|
|
15
|
+
overflow: visible;
|
|
16
|
+
padding: 0;
|
|
17
|
+
|
|
18
|
+
&--black {
|
|
19
|
+
.Vlt-steps__item {
|
|
20
|
+
&--selected,
|
|
21
|
+
&_selected {
|
|
22
|
+
&:before {
|
|
23
|
+
background: variables.$black;
|
|
24
|
+
border-color: variables.$black;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--grey {
|
|
31
|
+
.Vlt-steps__item {
|
|
32
|
+
&--selected,
|
|
33
|
+
&_selected {
|
|
34
|
+
&:before {
|
|
35
|
+
background: variables.$grey;
|
|
36
|
+
border-color: variables.$grey;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--white {
|
|
43
|
+
.Vlt-steps__item {
|
|
44
|
+
&:before {
|
|
45
|
+
border-color: variables.$white;
|
|
46
|
+
color: variables.$white;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--selected,
|
|
50
|
+
&_selected {
|
|
51
|
+
&:before {
|
|
52
|
+
background: variables.$white;
|
|
53
|
+
color: variables.$black;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--orange {
|
|
60
|
+
.Vlt-steps__item {
|
|
61
|
+
&--selected,
|
|
62
|
+
&_selected {
|
|
63
|
+
&:before {
|
|
64
|
+
background: variables.$orange;
|
|
65
|
+
border-color: variables.$orange;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&--blue {
|
|
72
|
+
.Vlt-steps__item {
|
|
73
|
+
&--selected,
|
|
74
|
+
&_selected {
|
|
75
|
+
&:before {
|
|
76
|
+
background: variables.$blue;
|
|
77
|
+
border-color: variables.$blue;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&--red {
|
|
84
|
+
.Vlt-steps__item {
|
|
85
|
+
&--selected,
|
|
86
|
+
&_selected {
|
|
87
|
+
&:before {
|
|
88
|
+
background: variables.$red;
|
|
89
|
+
border-color: variables.$red;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&--green {
|
|
96
|
+
.Vlt-steps__item {
|
|
97
|
+
&--selected,
|
|
98
|
+
&_selected {
|
|
99
|
+
&:before {
|
|
100
|
+
background: variables.$green;
|
|
101
|
+
border-color: variables.$green;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&--purple {
|
|
108
|
+
.Vlt-steps__item {
|
|
109
|
+
&--selected,
|
|
110
|
+
&_selected {
|
|
111
|
+
&:before {
|
|
112
|
+
background: variables.$purple;
|
|
113
|
+
border-color: variables.$purple;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&--yellow {
|
|
120
|
+
.Vlt-steps__item {
|
|
121
|
+
&--selected,
|
|
122
|
+
&_selected {
|
|
123
|
+
&:before {
|
|
124
|
+
background: variables.$yellow;
|
|
125
|
+
border-color: variables.$yellow;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&--indigo {
|
|
132
|
+
.Vlt-steps__item {
|
|
133
|
+
&--selected,
|
|
134
|
+
&_selected {
|
|
135
|
+
&:before {
|
|
136
|
+
background: variables.$indigo;
|
|
137
|
+
border-color: variables.$indigo;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&__item {
|
|
144
|
+
align-items: center;
|
|
145
|
+
color: variables.$black;
|
|
146
|
+
counter-increment: steps;
|
|
147
|
+
display: table;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
font-weight: 400;
|
|
150
|
+
margin: 0 65px 0 0;
|
|
151
|
+
position: relative;
|
|
152
|
+
text-align: center;
|
|
153
|
+
|
|
154
|
+
@media #{mediaqueries.$S-only} {
|
|
155
|
+
flex: 1;
|
|
156
|
+
position: relative;
|
|
157
|
+
text-align: center;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
span {
|
|
161
|
+
font-size: 1.1rem;
|
|
162
|
+
font-weight: 400;
|
|
163
|
+
left: 50%;
|
|
164
|
+
line-height: 1.5rem;
|
|
165
|
+
margin-top: 4px;
|
|
166
|
+
position: absolute;
|
|
167
|
+
transform: translateX(-50%);
|
|
168
|
+
white-space: nowrap;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:first-child {
|
|
172
|
+
margin-left: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
a {
|
|
176
|
+
color: variables.$black;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&:before {
|
|
180
|
+
align-items: center;
|
|
181
|
+
border: 1px solid;
|
|
182
|
+
border-color: variables.$black;
|
|
183
|
+
border-radius: 100%;
|
|
184
|
+
color: variables.$black;
|
|
185
|
+
content: counter(steps);
|
|
186
|
+
display: flex;
|
|
187
|
+
flex: 0 0 40px;
|
|
188
|
+
font-size: 14px;
|
|
189
|
+
height: 40px;
|
|
190
|
+
justify-content: center;
|
|
191
|
+
margin: 0 auto;;
|
|
192
|
+
width: 40px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&:after {
|
|
196
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
197
|
+
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%3Cg%20clip-path%3D%22url(%23clip0)%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M9.55892%204.05952C9.89391%203.81589%2010.363%203.88995%2010.6066%204.22494L15.9399%2011.5583C16.1312%2011.8213%2016.1312%2012.1775%2015.9399%2012.4405L10.6066%2019.7739C10.363%2020.1089%209.89391%2020.1829%209.55892%2019.9393C9.22393%2019.6957%209.14987%2019.2266%209.3935%2018.8916L14.406%2011.9994L9.3935%205.1072C9.14987%204.77221%209.22393%204.30315%209.55892%204.05952Z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E');
|
|
198
|
+
background-position: center center;
|
|
199
|
+
background-repeat: no-repeat;
|
|
200
|
+
background-size: contain;
|
|
201
|
+
content: '';
|
|
202
|
+
height: 24px;
|
|
203
|
+
position: absolute;
|
|
204
|
+
right: -45px;
|
|
205
|
+
top: 8px;
|
|
206
|
+
width: 24px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&:last-child {
|
|
210
|
+
margin-right: 0;
|
|
211
|
+
|
|
212
|
+
&:after {
|
|
213
|
+
display: none;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&--selected,
|
|
218
|
+
&_selected {
|
|
219
|
+
&:before {
|
|
220
|
+
background: variables.$black;
|
|
221
|
+
color: variables.$white;
|
|
222
|
+
font-weight: 400;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&_done {
|
|
227
|
+
&:before {
|
|
228
|
+
background-color: variables.$grey;
|
|
229
|
+
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%20d%3D%22M2.904%2012.11L1.5%2013.52%207.958%2020%2022.5%205.409%2021.096%204%207.958%2017.182z%22%2F%3E%3C%2Fsvg%3E');
|
|
230
|
+
background-position: center center;
|
|
231
|
+
background-repeat: no-repeat;
|
|
232
|
+
background-size: 20px 20px;
|
|
233
|
+
border: 0;
|
|
234
|
+
content: '';
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&:after {
|
|
238
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_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%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%23C4CDD5%3B%22%20d%3D%22M13.5%2C12l-5.2%2C5.4c-0.3%2C0.4-0.3%2C0.9%2C0%2C1.3c0.3%2C0.3%2C0.9%2C0.4%2C1.2%2C0c0%2C0%2C0%2C0%2C0%2C0L16%2C12L9.5%2C5.3%0D%0A%09c-0.3-0.3-0.9-0.4-1.2%2C0c0%2C0%2C0%2C0%2C0%2C0c-0.3%2C0.4-0.3%2C0.9%2C0%2C1.3L13.5%2C12z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|