@visitscotland/component-library 4.23.0 → 4.24.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.
- package/dist/client/manifest.json +25 -24
- package/dist/client/scripts/6069eb3b71eb41d6632e.js +1 -0
- package/dist/client/scripts/d84e0e90f5b7e70d5436.js +1 -0
- package/dist/client/scripts/d9053e61ed7e29dd8716.js +1 -0
- package/dist/client/scripts/fad71b4ec0ca375306a5.js +1 -0
- package/dist/client/styles/{358c009b66b455e075e8.css → 32b910f8c089a2bdac6d.css} +1 -1
- package/dist/client/styles/6069eb3b71eb41d6632e.css +1 -0
- package/dist/client/styles/d84e0e90f5b7e70d5436.css +1 -0
- package/dist/components/components/badge/Badge.vue.d.ts +433 -0
- package/dist/components/components/badge/index.d.ts +1 -1
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +2 -0
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts +2 -0
- package/dist/components/components/card/Card.vue.d.ts +16 -3
- package/dist/components/components/checkbox/Checkbox.vue.d.ts +1 -0
- package/dist/components/components/form/Form.vue.d.ts +8 -2
- package/dist/components/components/index.d.ts +1 -1
- package/dist/components/components/input/Input.vue.d.ts +1 -0
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +1 -0
- package/dist/components/components/number-input/NumberInput.vue.d.ts +1 -0
- package/dist/components/components/radio-button/RadioButton.vue.d.ts +1 -0
- package/dist/components/components/select/Select.vue.d.ts +1 -0
- package/dist/components/components/site-search/components/SiteSearchForm.vue.d.ts +1 -0
- package/dist/components/components/textarea/Textarea.vue.d.ts +5 -2
- package/dist/components/mixins/validateFormElementMixin.d.ts +1 -0
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +9 -9
- package/dist/components/vs-component-library.mjs +140 -106
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{e71dd279024362bff8d7.css → d2a5404a7ecd4d926716.css} +3 -3
- package/package.json +1 -1
- package/dist/client/scripts/35c18916245c104df979.js +0 -1
- package/dist/client/scripts/8f58ab422cb2f9354a28.js +0 -1
- package/dist/client/scripts/9388acba3683b5c6e8be.js +0 -1
- package/dist/client/scripts/cb991e60689f62d952f3.js +0 -1
- package/dist/client/styles/35c18916245c104df979.css +0 -1
- package/dist/client/styles/9388acba3683b5c6e8be.css +0 -1
- package/dist/components/components/badge/VsBadge.vue.d.ts +0 -9
- /package/dist/client/scripts/{358c009b66b455e075e8.js → 32b910f8c089a2bdac6d.js} +0 -0
- /package/dist/client/styles/{8f58ab422cb2f9354a28.css → fad71b4ec0ca375306a5.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-badge{margin-right:.5rem;padding:.25rem .5rem;border-radius:.25rem;display:inline-block;line-height:1}.vs-badge--default{border:1px solid #a3a3cc;color:#606060;font-size:.875rem}.vs-badge--subtle{background:rgba(0,0,0,0);color:#a8308c;font-size:1rem;font-weight:700}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-card{position:relative;display:flex;flex-direction:column;border-radius:.25rem;height:100%}.vs-card:hover{cursor:pointer}.vs-card:hover .img-zoom-on-hover{transform:scale(1.05)}.vs-card__header{overflow:hidden;border-radius:.25rem}.vs-card__body{display:flex;flex-direction:column;flex-grow:1}.vs-card--elevated{box-shadow:0px 1px 2px 0px rgba(0,0,0,.3),0px 1px 3px 1px rgba(0,0,0,.15)}.vs-card--outlined{border:1px solid #e9e9e9;transition:all .2s}.vs-card--outlined:hover{border-color:#200f2e}.vs-card--filled{background-color:#fff}.vs-card--accent-bar{border-left:8px solid #e9e9e9}.vs-card--horizontal{flex-direction:row}.vs-card--horizontal .vs-card__header{flex:1 1 35%}.vs-card--horizontal .vs-card__body{flex:1 1 75%}@media(min-width: 576px){.vs-card--horizontal .vs-card__header{flex-basis:40%}.vs-card--horizontal .vs-card__body{flex-basis:60%}}
|
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Variant of the badge
|
|
4
|
+
* @values default, subtle
|
|
5
|
+
*/
|
|
6
|
+
variant: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
validator: (value: unknown) => any;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {
|
|
12
|
+
badgeClasses(): string[];
|
|
13
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* Variant of the badge
|
|
16
|
+
* @values default, subtle
|
|
17
|
+
*/
|
|
18
|
+
variant: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: unknown) => any;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
variant: string;
|
|
25
|
+
}, {}, {
|
|
26
|
+
BBadge: {
|
|
27
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
replace: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
variant: {
|
|
33
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
icon: {
|
|
37
|
+
type: import('vue').PropType<boolean>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
tag: {
|
|
41
|
+
type: import('vue').PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
target: {
|
|
45
|
+
type: import('vue').PropType<import('bootstrap-vue-next').LinkTarget>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
to: RouteLocationRaw;
|
|
49
|
+
append: {
|
|
50
|
+
type: import('vue').PropType<boolean>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
disabled: {
|
|
54
|
+
type: import('vue').PropType<boolean>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
href: {
|
|
58
|
+
type: import('vue').PropType<string>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
rel: {
|
|
62
|
+
type: import('vue').PropType<string>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
active: {
|
|
66
|
+
type: import('vue').PropType<boolean>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
activeClass: {
|
|
70
|
+
type: import('vue').PropType<string>;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
routerComponentName: {
|
|
74
|
+
type: import('vue').PropType<string>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
opacity: {
|
|
78
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
opacityHover: {
|
|
82
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
underlineVariant: {
|
|
86
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
underlineOffset: {
|
|
90
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
underlineOffsetHover: {
|
|
94
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
underlineOpacity: {
|
|
98
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
underlineOpacityHover: {
|
|
102
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
pill: {
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
exactActiveClass: {
|
|
110
|
+
type: import('vue').PropType<string>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
bgVariant: {
|
|
114
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
115
|
+
default: null;
|
|
116
|
+
};
|
|
117
|
+
textVariant: {
|
|
118
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseTextColorVariant>;
|
|
119
|
+
default: null;
|
|
120
|
+
};
|
|
121
|
+
dotIndicator: {
|
|
122
|
+
type: import('vue').PropType<boolean>;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
textIndicator: {
|
|
126
|
+
type: import('vue').PropType<boolean>;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
130
|
+
tag: string;
|
|
131
|
+
replace: boolean;
|
|
132
|
+
target: import('bootstrap-vue-next').LinkTarget;
|
|
133
|
+
to: import('vue-router').RouteLocationRaw;
|
|
134
|
+
append: boolean;
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
href: string;
|
|
137
|
+
rel: string;
|
|
138
|
+
active: boolean;
|
|
139
|
+
activeClass: string;
|
|
140
|
+
routerComponentName: string;
|
|
141
|
+
variant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
142
|
+
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
143
|
+
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
144
|
+
underlineVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
145
|
+
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3";
|
|
146
|
+
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3";
|
|
147
|
+
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
148
|
+
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
149
|
+
pill: boolean;
|
|
150
|
+
icon: boolean;
|
|
151
|
+
exactActiveClass: string;
|
|
152
|
+
bgVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
153
|
+
textVariant: keyof import('bootstrap-vue-next').BaseTextColorVariant | null;
|
|
154
|
+
dotIndicator: boolean;
|
|
155
|
+
textIndicator: boolean;
|
|
156
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
157
|
+
P: {};
|
|
158
|
+
B: {};
|
|
159
|
+
D: {};
|
|
160
|
+
C: {};
|
|
161
|
+
M: {};
|
|
162
|
+
Defaults: {};
|
|
163
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
164
|
+
replace: {
|
|
165
|
+
type: import('vue').PropType<boolean>;
|
|
166
|
+
default: undefined;
|
|
167
|
+
};
|
|
168
|
+
variant: {
|
|
169
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
icon: {
|
|
173
|
+
type: import('vue').PropType<boolean>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
tag: {
|
|
177
|
+
type: import('vue').PropType<string>;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
target: {
|
|
181
|
+
type: import('vue').PropType<import('bootstrap-vue-next').LinkTarget>;
|
|
182
|
+
default: undefined;
|
|
183
|
+
};
|
|
184
|
+
to: RouteLocationRaw;
|
|
185
|
+
append: {
|
|
186
|
+
type: import('vue').PropType<boolean>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
disabled: {
|
|
190
|
+
type: import('vue').PropType<boolean>;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
href: {
|
|
194
|
+
type: import('vue').PropType<string>;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
rel: {
|
|
198
|
+
type: import('vue').PropType<string>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
active: {
|
|
202
|
+
type: import('vue').PropType<boolean>;
|
|
203
|
+
default: undefined;
|
|
204
|
+
};
|
|
205
|
+
activeClass: {
|
|
206
|
+
type: import('vue').PropType<string>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
routerComponentName: {
|
|
210
|
+
type: import('vue').PropType<string>;
|
|
211
|
+
default: undefined;
|
|
212
|
+
};
|
|
213
|
+
opacity: {
|
|
214
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
215
|
+
default: undefined;
|
|
216
|
+
};
|
|
217
|
+
opacityHover: {
|
|
218
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
219
|
+
default: undefined;
|
|
220
|
+
};
|
|
221
|
+
underlineVariant: {
|
|
222
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
underlineOffset: {
|
|
226
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
underlineOffsetHover: {
|
|
230
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
231
|
+
default: undefined;
|
|
232
|
+
};
|
|
233
|
+
underlineOpacity: {
|
|
234
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
235
|
+
default: undefined;
|
|
236
|
+
};
|
|
237
|
+
underlineOpacityHover: {
|
|
238
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
239
|
+
default: undefined;
|
|
240
|
+
};
|
|
241
|
+
pill: {
|
|
242
|
+
type: import('vue').PropType<boolean>;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
exactActiveClass: {
|
|
246
|
+
type: import('vue').PropType<string>;
|
|
247
|
+
default: undefined;
|
|
248
|
+
};
|
|
249
|
+
bgVariant: {
|
|
250
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
251
|
+
default: null;
|
|
252
|
+
};
|
|
253
|
+
textVariant: {
|
|
254
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseTextColorVariant>;
|
|
255
|
+
default: null;
|
|
256
|
+
};
|
|
257
|
+
dotIndicator: {
|
|
258
|
+
type: import('vue').PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
textIndicator: {
|
|
262
|
+
type: import('vue').PropType<boolean>;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
}>>, {}, {}, {}, {}, {
|
|
266
|
+
tag: string;
|
|
267
|
+
replace: boolean;
|
|
268
|
+
target: import('bootstrap-vue-next').LinkTarget;
|
|
269
|
+
to: import('vue-router').RouteLocationRaw;
|
|
270
|
+
append: boolean;
|
|
271
|
+
disabled: boolean;
|
|
272
|
+
href: string;
|
|
273
|
+
rel: string;
|
|
274
|
+
active: boolean;
|
|
275
|
+
activeClass: string;
|
|
276
|
+
routerComponentName: string;
|
|
277
|
+
variant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
278
|
+
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
279
|
+
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
280
|
+
underlineVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
281
|
+
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3";
|
|
282
|
+
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3";
|
|
283
|
+
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
284
|
+
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
285
|
+
pill: boolean;
|
|
286
|
+
icon: boolean;
|
|
287
|
+
exactActiveClass: string;
|
|
288
|
+
bgVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
289
|
+
textVariant: keyof import('bootstrap-vue-next').BaseTextColorVariant | null;
|
|
290
|
+
dotIndicator: boolean;
|
|
291
|
+
textIndicator: boolean;
|
|
292
|
+
}>;
|
|
293
|
+
__isFragment?: never;
|
|
294
|
+
__isTeleport?: never;
|
|
295
|
+
__isSuspense?: never;
|
|
296
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
297
|
+
replace: {
|
|
298
|
+
type: import('vue').PropType<boolean>;
|
|
299
|
+
default: undefined;
|
|
300
|
+
};
|
|
301
|
+
variant: {
|
|
302
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
305
|
+
icon: {
|
|
306
|
+
type: import('vue').PropType<boolean>;
|
|
307
|
+
default: undefined;
|
|
308
|
+
};
|
|
309
|
+
tag: {
|
|
310
|
+
type: import('vue').PropType<string>;
|
|
311
|
+
default: string;
|
|
312
|
+
};
|
|
313
|
+
target: {
|
|
314
|
+
type: import('vue').PropType<import('bootstrap-vue-next').LinkTarget>;
|
|
315
|
+
default: undefined;
|
|
316
|
+
};
|
|
317
|
+
to: RouteLocationRaw;
|
|
318
|
+
append: {
|
|
319
|
+
type: import('vue').PropType<boolean>;
|
|
320
|
+
default: undefined;
|
|
321
|
+
};
|
|
322
|
+
disabled: {
|
|
323
|
+
type: import('vue').PropType<boolean>;
|
|
324
|
+
default: undefined;
|
|
325
|
+
};
|
|
326
|
+
href: {
|
|
327
|
+
type: import('vue').PropType<string>;
|
|
328
|
+
default: undefined;
|
|
329
|
+
};
|
|
330
|
+
rel: {
|
|
331
|
+
type: import('vue').PropType<string>;
|
|
332
|
+
default: undefined;
|
|
333
|
+
};
|
|
334
|
+
active: {
|
|
335
|
+
type: import('vue').PropType<boolean>;
|
|
336
|
+
default: undefined;
|
|
337
|
+
};
|
|
338
|
+
activeClass: {
|
|
339
|
+
type: import('vue').PropType<string>;
|
|
340
|
+
default: undefined;
|
|
341
|
+
};
|
|
342
|
+
routerComponentName: {
|
|
343
|
+
type: import('vue').PropType<string>;
|
|
344
|
+
default: undefined;
|
|
345
|
+
};
|
|
346
|
+
opacity: {
|
|
347
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
348
|
+
default: undefined;
|
|
349
|
+
};
|
|
350
|
+
opacityHover: {
|
|
351
|
+
type: import('vue').PropType<10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
352
|
+
default: undefined;
|
|
353
|
+
};
|
|
354
|
+
underlineVariant: {
|
|
355
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
356
|
+
default: undefined;
|
|
357
|
+
};
|
|
358
|
+
underlineOffset: {
|
|
359
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
360
|
+
default: undefined;
|
|
361
|
+
};
|
|
362
|
+
underlineOffsetHover: {
|
|
363
|
+
type: import('vue').PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
364
|
+
default: undefined;
|
|
365
|
+
};
|
|
366
|
+
underlineOpacity: {
|
|
367
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
368
|
+
default: undefined;
|
|
369
|
+
};
|
|
370
|
+
underlineOpacityHover: {
|
|
371
|
+
type: import('vue').PropType<0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100">;
|
|
372
|
+
default: undefined;
|
|
373
|
+
};
|
|
374
|
+
pill: {
|
|
375
|
+
type: import('vue').PropType<boolean>;
|
|
376
|
+
default: boolean;
|
|
377
|
+
};
|
|
378
|
+
exactActiveClass: {
|
|
379
|
+
type: import('vue').PropType<string>;
|
|
380
|
+
default: undefined;
|
|
381
|
+
};
|
|
382
|
+
bgVariant: {
|
|
383
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseColorVariant>;
|
|
384
|
+
default: null;
|
|
385
|
+
};
|
|
386
|
+
textVariant: {
|
|
387
|
+
type: import('vue').PropType<keyof import('bootstrap-vue-next').BaseTextColorVariant>;
|
|
388
|
+
default: null;
|
|
389
|
+
};
|
|
390
|
+
dotIndicator: {
|
|
391
|
+
type: import('vue').PropType<boolean>;
|
|
392
|
+
default: boolean;
|
|
393
|
+
};
|
|
394
|
+
textIndicator: {
|
|
395
|
+
type: import('vue').PropType<boolean>;
|
|
396
|
+
default: boolean;
|
|
397
|
+
};
|
|
398
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
399
|
+
tag: string;
|
|
400
|
+
replace: boolean;
|
|
401
|
+
target: import('bootstrap-vue-next').LinkTarget;
|
|
402
|
+
to: import('vue-router').RouteLocationRaw;
|
|
403
|
+
append: boolean;
|
|
404
|
+
disabled: boolean;
|
|
405
|
+
href: string;
|
|
406
|
+
rel: string;
|
|
407
|
+
active: boolean;
|
|
408
|
+
activeClass: string;
|
|
409
|
+
routerComponentName: string;
|
|
410
|
+
variant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
411
|
+
opacity: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
412
|
+
opacityHover: 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
413
|
+
underlineVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
414
|
+
underlineOffset: 1 | 2 | 3 | "1" | "2" | "3";
|
|
415
|
+
underlineOffsetHover: 1 | 2 | 3 | "1" | "2" | "3";
|
|
416
|
+
underlineOpacity: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
417
|
+
underlineOpacityHover: 0 | "0" | 10 | "10" | 100 | 50 | 25 | 75 | "25" | "50" | "75" | "100";
|
|
418
|
+
pill: boolean;
|
|
419
|
+
icon: boolean;
|
|
420
|
+
exactActiveClass: string;
|
|
421
|
+
bgVariant: keyof import('bootstrap-vue-next').BaseColorVariant | null;
|
|
422
|
+
textVariant: keyof import('bootstrap-vue-next').BaseTextColorVariant | null;
|
|
423
|
+
dotIndicator: boolean;
|
|
424
|
+
textIndicator: boolean;
|
|
425
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
426
|
+
$slots: Readonly<{
|
|
427
|
+
default?: ((props: Record<string, never>) => any) | undefined;
|
|
428
|
+
}> & {
|
|
429
|
+
default?: ((props: Record<string, never>) => any) | undefined;
|
|
430
|
+
};
|
|
431
|
+
});
|
|
432
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
433
|
+
export default _default;
|
|
@@ -3863,6 +3863,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3863
3863
|
resetErrors(): void;
|
|
3864
3864
|
valueChanged(newData: any): void;
|
|
3865
3865
|
}, {
|
|
3866
|
+
emits: string[];
|
|
3866
3867
|
data(): {
|
|
3867
3868
|
inputVal: any;
|
|
3868
3869
|
isInvalid: any;
|
|
@@ -4657,6 +4658,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4657
4658
|
decrementValue(event: any): void;
|
|
4658
4659
|
incrementValue(event: any): void;
|
|
4659
4660
|
}, {
|
|
4661
|
+
emits: string[];
|
|
4660
4662
|
data(): {
|
|
4661
4663
|
inputVal: any;
|
|
4662
4664
|
isInvalid: any;
|
package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts
CHANGED
|
@@ -500,6 +500,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
500
500
|
resetErrors(): void;
|
|
501
501
|
valueChanged(newData: any): void;
|
|
502
502
|
}, {
|
|
503
|
+
emits: string[];
|
|
503
504
|
data(): {
|
|
504
505
|
inputVal: any;
|
|
505
506
|
isInvalid: any;
|
|
@@ -1285,6 +1286,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1285
1286
|
decrementValue(event: any): void;
|
|
1286
1287
|
incrementValue(event: any): void;
|
|
1287
1288
|
}, {
|
|
1289
|
+
emits: string[];
|
|
1288
1290
|
data(): {
|
|
1289
1291
|
inputVal: any;
|
|
1290
1292
|
isInvalid: any;
|
|
@@ -13,6 +13,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
+
* Adds an accent bar to the left of the card
|
|
17
|
+
*/
|
|
18
|
+
accentBar: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
16
23
|
* Sets the card to horizontal layout
|
|
17
24
|
*/
|
|
18
25
|
horizontal: {
|
|
@@ -216,10 +223,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
216
223
|
}, {
|
|
217
224
|
cardClasses(): (string | {
|
|
218
225
|
'vs-card--horizontal': boolean;
|
|
226
|
+
'vs-card--accent-bar': boolean;
|
|
219
227
|
})[];
|
|
220
|
-
bodyClasses(): {
|
|
221
|
-
'vs-card__body--centered': boolean;
|
|
222
|
-
};
|
|
223
228
|
cardStyles(): {
|
|
224
229
|
'background-color': any;
|
|
225
230
|
};
|
|
@@ -238,6 +243,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
238
243
|
default: string;
|
|
239
244
|
};
|
|
240
245
|
/**
|
|
246
|
+
* Adds an accent bar to the left of the card
|
|
247
|
+
*/
|
|
248
|
+
accentBar: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
241
253
|
* Sets the card to horizontal layout
|
|
242
254
|
*/
|
|
243
255
|
horizontal: {
|
|
@@ -248,5 +260,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
248
260
|
horizontal: boolean;
|
|
249
261
|
cardStyle: string;
|
|
250
262
|
fillColor: string;
|
|
263
|
+
accentBar: boolean;
|
|
251
264
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
252
265
|
export default _default;
|
|
@@ -450,6 +450,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
450
450
|
validateErrors(): void;
|
|
451
451
|
resetErrors(): void;
|
|
452
452
|
}, {
|
|
453
|
+
emits: string[];
|
|
453
454
|
data(): {
|
|
454
455
|
inputVal: any;
|
|
455
456
|
isInvalid: any;
|
|
@@ -1553,6 +1554,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1553
1554
|
}, {
|
|
1554
1555
|
autocompleteValue(fieldName: any): string;
|
|
1555
1556
|
}, {
|
|
1557
|
+
emits: string[];
|
|
1556
1558
|
data(): {
|
|
1557
1559
|
inputVal: any;
|
|
1558
1560
|
isInvalid: any;
|
|
@@ -1828,6 +1830,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1828
1830
|
'vs-checkbox--small': boolean;
|
|
1829
1831
|
};
|
|
1830
1832
|
}, {}, {
|
|
1833
|
+
emits: string[];
|
|
1831
1834
|
data(): {
|
|
1832
1835
|
inputVal: any;
|
|
1833
1836
|
isInvalid: any;
|
|
@@ -4225,6 +4228,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4225
4228
|
validateErrors(): void;
|
|
4226
4229
|
resetErrors(): void;
|
|
4227
4230
|
}, {
|
|
4231
|
+
emits: string[];
|
|
4228
4232
|
data(): {
|
|
4229
4233
|
inputVal: any;
|
|
4230
4234
|
isInvalid: any;
|
|
@@ -4249,7 +4253,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4249
4253
|
computed: {
|
|
4250
4254
|
ariaDescription(): string;
|
|
4251
4255
|
};
|
|
4252
|
-
}, import('vue').ComponentOptionsMixin,
|
|
4256
|
+
}, import('vue').ComponentOptionsMixin, "updated"[], "updated", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4253
4257
|
value: {
|
|
4254
4258
|
type: StringConstructor;
|
|
4255
4259
|
default: string;
|
|
@@ -4306,7 +4310,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4306
4310
|
type: StringConstructor | NumberConstructor;
|
|
4307
4311
|
default: number;
|
|
4308
4312
|
};
|
|
4309
|
-
}>> & Readonly<{
|
|
4313
|
+
}>> & Readonly<{
|
|
4314
|
+
onUpdated?: (...args: any[]) => any;
|
|
4315
|
+
}>, {
|
|
4310
4316
|
name: string;
|
|
4311
4317
|
value: string;
|
|
4312
4318
|
disabled: boolean;
|
|
@@ -7,7 +7,7 @@ export { default as VsArticle } from './article/Article.vue';
|
|
|
7
7
|
export { default as VsArticleSection } from './article/components/ArticleSection.vue';
|
|
8
8
|
export { default as VsArticleSidebar } from './article/components/ArticleSidebar.vue';
|
|
9
9
|
export { default as VsBackToTop } from './back-to-top/BackToTop.vue';
|
|
10
|
-
export { default as VsBadge } from './badge/
|
|
10
|
+
export { default as VsBadge } from './badge/Badge.vue';
|
|
11
11
|
export { default as VsBanner } from './banner/Banner.vue';
|
|
12
12
|
export { default as VsBlogDetails } from './blog-details/BlogDetails.vue';
|
|
13
13
|
export { default as VsBreadcrumb } from './breadcrumb/Breadcrumb.vue';
|