@visitscotland/component-library 4.7.5 → 4.8.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 (98) hide show
  1. package/CHANGELOG.md +2782 -0
  2. package/dist/client/manifest.json +360 -309
  3. package/dist/client/scripts/{81fd72d8040ac8baac97.js → 005c44021982625bb7c0.js} +1 -1
  4. package/dist/client/scripts/{1df52238448347fbc7ff.js → 05484fd4b55edc9f20f1.js} +1 -1
  5. package/dist/client/scripts/{5fe12b27379292e19661.js → 124d87b30b4163349aaf.js} +1 -1
  6. package/dist/client/scripts/1879fe770e24e75a90ff.js +1 -0
  7. package/dist/client/scripts/{14cde2cad7e2e1037fa6.js → 1c793f94b5b5eebb96ae.js} +1 -1
  8. package/dist/client/scripts/{b0d373ff54879b810b56.js → 1fdc1483cdd2b8d992e2.js} +1 -1
  9. package/dist/client/scripts/22b75a23f61fad07af64.js +1 -0
  10. package/dist/client/scripts/{297f534c3b01b924fd5c.js → 2961c6dd5863b2ead56a.js} +1 -1
  11. package/dist/client/scripts/{c8ce3a05680623b8d334.js → 2f332174174c32ab702d.js} +1 -1
  12. package/dist/client/scripts/{edc00e7359868e4b7dd3.js → 34179e2ab08fac601704.js} +1 -1
  13. package/dist/client/scripts/{15c09dca1ff963f19cd4.js → 37421ef20d3c36af6e11.js} +1 -1
  14. package/dist/client/scripts/{d88e1e53842cc326fc62.js → 37c4a91d58c0f33c627c.js} +1 -1
  15. package/dist/client/scripts/{72febcec45518d172708.js → 38ce1d0c3513df64f443.js} +1 -1
  16. package/dist/client/scripts/{aae39bc95d29fcf6f860.js → 39cc995d21686586f6fa.js} +1 -1
  17. package/dist/client/scripts/{e5565d20467017a2c620.js → 3bd8d4ba3d920bb1433d.js} +1 -1
  18. package/dist/client/scripts/{8f8ea12bdf5599e542f8.js → 437ff926d713e601fab7.js} +1 -1
  19. package/dist/client/scripts/{01527cee581757e82bbd.js → 4983897f9fb28ac41410.js} +1 -1
  20. package/dist/client/scripts/4c84677e2fa89a2f4830.js +1 -0
  21. package/dist/client/scripts/{b5e7eef853d2b3885063.js → 5dcf971e77fe98f4ff7c.js} +1 -1
  22. package/dist/client/scripts/7252358fb9222632188a.js +1 -0
  23. package/dist/client/scripts/{7598be4ae5f3a7c45c3a.js → 84625c1f677d28cc8e8f.js} +1 -1
  24. package/dist/client/scripts/{3e161476a901afaa0a49.js → 89be3960fe6a420c9c56.js} +1 -1
  25. package/dist/client/scripts/931e439b7e0146d7adb6.js +1 -0
  26. package/dist/client/scripts/{f8f62c1a26dc38a2341c.js → 93c7da4477c0235064e1.js} +1 -1
  27. package/dist/client/scripts/{b0037533f99665d7dc59.js → 9afc1db0ddd0f6a1ed60.js} +1 -1
  28. package/dist/client/scripts/{51515f8d5a356ce4ca41.js → a5270813af7692184177.js} +1 -1
  29. package/dist/client/scripts/a711485aacf81264be3e.js +1 -0
  30. package/dist/client/scripts/{36399268f1c86777b2ce.js → df1c31fbd441961a3f98.js} +1 -1
  31. package/dist/client/scripts/e0c7a3100e78722074c8.js +1 -0
  32. package/dist/client/scripts/{5667dfb3c11eb5cc3afa.js → eb8bd7cab79c8b156c1d.js} +1 -1
  33. package/dist/client/scripts/{3f4adc84d2a1d26f30ca.js → ebae7cda3ef35b5ef619.js} +1 -1
  34. package/dist/client/scripts/{57a774270d0314146286.js → f3291c43cf0110450425.js} +1 -1
  35. package/dist/client/scripts/{8e385b0dd7f538a68ee5.js → f9bf53ffdde95c45efb0.js} +1 -1
  36. package/dist/client/styles/05484fd4b55edc9f20f1.css +1 -0
  37. package/dist/client/styles/1879fe770e24e75a90ff.css +1 -0
  38. package/dist/client/styles/22b75a23f61fad07af64.css +1 -0
  39. package/dist/client/styles/4c84677e2fa89a2f4830.css +1 -0
  40. package/dist/client/styles/{9a9ca8faa6c5bdff70de.css → 574797bfb7a95a799897.css} +1 -1
  41. package/dist/client/styles/a5270813af7692184177.css +1 -0
  42. package/dist/client/styles/a711485aacf81264be3e.css +1 -0
  43. package/dist/components/components/blog-details/BlogDetails.vue.d.ts +100 -8
  44. package/dist/components/components/caption/Caption.vue.d.ts +34 -29
  45. package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +34 -29
  46. package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +34 -29
  47. package/dist/components/components/form/Form.vue.d.ts +0 -9
  48. package/dist/components/components/hero-section/HeroSection.vue.d.ts +800 -876
  49. package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +890 -0
  50. package/dist/components/components/hero-section/index.d.ts +6 -1
  51. package/dist/components/components/icon/Icon.vue.d.ts +2 -2
  52. package/dist/components/components/mega-nav/MegaNav.vue.d.ts +34 -29
  53. package/dist/components/components/select/Select.vue.d.ts +12 -27
  54. package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +34 -29
  55. package/dist/components/vs-component-library.css +1 -1
  56. package/dist/components/vs-component-library.js +117 -117
  57. package/dist/components/vs-component-library.mjs +8208 -8131
  58. package/dist/ssr/index.js +1 -1
  59. package/dist/ssr/manifest.json +1 -1
  60. package/dist/ssr/styles/{bb8533f3d75ac430afdb.css → fb9081f42e653ff0dbe5.css} +7 -6
  61. package/package.json +231 -231
  62. package/dist/client/scripts/3fe776ae6a1a4a2de255.js +0 -1
  63. package/dist/client/scripts/51ed41fd6db0d0868840.js +0 -1
  64. package/dist/client/scripts/63d29726a2e5382258a4.js +0 -1
  65. package/dist/client/scripts/90785f08597825e82756.js +0 -1
  66. package/dist/client/scripts/f7eeed5f7866331afb6b.js +0 -1
  67. package/dist/client/styles/1df52238448347fbc7ff.css +0 -1
  68. package/dist/client/styles/3fe776ae6a1a4a2de255.css +0 -1
  69. package/dist/client/styles/51515f8d5a356ce4ca41.css +0 -1
  70. package/dist/client/styles/90785f08597825e82756.css +0 -1
  71. package/dist/client/styles/f7eeed5f7866331afb6b.css +0 -1
  72. /package/dist/client/scripts/{7a78f9955611cb4b7a4b.js → 56b5442d66b63d14bdb0.js} +0 -0
  73. /package/dist/client/scripts/{9a9ca8faa6c5bdff70de.js → 574797bfb7a95a799897.js} +0 -0
  74. /package/dist/client/scripts/{82712cda3bf62ebabf41.js → 5a876b0e082974ef731c.js} +0 -0
  75. /package/dist/client/styles/{81fd72d8040ac8baac97.css → 005c44021982625bb7c0.css} +0 -0
  76. /package/dist/client/styles/{5fe12b27379292e19661.css → 124d87b30b4163349aaf.css} +0 -0
  77. /package/dist/client/styles/{297f534c3b01b924fd5c.css → 2961c6dd5863b2ead56a.css} +0 -0
  78. /package/dist/client/styles/{c8ce3a05680623b8d334.css → 2f332174174c32ab702d.css} +0 -0
  79. /package/dist/client/styles/{edc00e7359868e4b7dd3.css → 34179e2ab08fac601704.css} +0 -0
  80. /package/dist/client/styles/{15c09dca1ff963f19cd4.css → 37421ef20d3c36af6e11.css} +0 -0
  81. /package/dist/client/styles/{72febcec45518d172708.css → 38ce1d0c3513df64f443.css} +0 -0
  82. /package/dist/client/styles/{aae39bc95d29fcf6f860.css → 39cc995d21686586f6fa.css} +0 -0
  83. /package/dist/client/styles/{8f8ea12bdf5599e542f8.css → 437ff926d713e601fab7.css} +0 -0
  84. /package/dist/client/styles/{01527cee581757e82bbd.css → 4983897f9fb28ac41410.css} +0 -0
  85. /package/dist/client/styles/{7a78f9955611cb4b7a4b.css → 56b5442d66b63d14bdb0.css} +0 -0
  86. /package/dist/client/styles/{82712cda3bf62ebabf41.css → 5a876b0e082974ef731c.css} +0 -0
  87. /package/dist/client/styles/{b5e7eef853d2b3885063.css → 5dcf971e77fe98f4ff7c.css} +0 -0
  88. /package/dist/client/styles/{7598be4ae5f3a7c45c3a.css → 84625c1f677d28cc8e8f.css} +0 -0
  89. /package/dist/client/styles/{3e161476a901afaa0a49.css → 89be3960fe6a420c9c56.css} +0 -0
  90. /package/dist/client/styles/{51ed41fd6db0d0868840.css → 931e439b7e0146d7adb6.css} +0 -0
  91. /package/dist/client/styles/{f8f62c1a26dc38a2341c.css → 93c7da4477c0235064e1.css} +0 -0
  92. /package/dist/client/styles/{b0037533f99665d7dc59.css → 9afc1db0ddd0f6a1ed60.css} +0 -0
  93. /package/dist/client/styles/{36399268f1c86777b2ce.css → df1c31fbd441961a3f98.css} +0 -0
  94. /package/dist/client/styles/{63d29726a2e5382258a4.css → e0c7a3100e78722074c8.css} +0 -0
  95. /package/dist/client/styles/{5667dfb3c11eb5cc3afa.css → eb8bd7cab79c8b156c1d.css} +0 -0
  96. /package/dist/client/styles/{3f4adc84d2a1d26f30ca.css → ebae7cda3ef35b5ef619.css} +0 -0
  97. /package/dist/client/styles/{57a774270d0314146286.css → f3291c43cf0110450425.css} +0 -0
  98. /package/dist/client/styles/{8e385b0dd7f538a68ee5.css → f9bf53ffdde95c45efb0.css} +0 -0
@@ -1,2 +1,7 @@
1
1
  import { default as VsHeroSection } from './HeroSection.vue';
2
- export default VsHeroSection;
2
+ import { default as VsHeroSectionImage } from './components/HeroSectionImage.vue';
3
+ declare namespace _default {
4
+ export { VsHeroSection };
5
+ export { VsHeroSectionImage };
6
+ }
7
+ export default _default;
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
9
9
  };
10
10
  /**
11
11
  * The color of the icon.
12
- * `default|primary|inverse|disabled|tertiary|danger|warning`
12
+ * `default|primary|secondary|inverse|disabled|tertiary|danger|warning`
13
13
  */
14
14
  variant: {
15
15
  type: StringConstructor;
@@ -80,7 +80,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
80
80
  };
81
81
  /**
82
82
  * The color of the icon.
83
- * `default|primary|inverse|disabled|tertiary|danger|warning`
83
+ * `default|primary|secondary|inverse|disabled|tertiary|danger|warning`
84
84
  */
85
85
  variant: {
86
86
  type: StringConstructor;
@@ -143,6 +143,40 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
143
143
  "vs-color-text-error": string;
144
144
  "vs-color-text-success": string;
145
145
  "vs-color-text-disabled": string;
146
+ breakpoint_xl: string;
147
+ grid_container_width_xl: string;
148
+ breakpoint_md: string;
149
+ max_container_width_xl: string;
150
+ grid_container_width_md: string;
151
+ breakpoint_sm: string;
152
+ breakpoint_lg: string;
153
+ breakpoint_xs: string;
154
+ max_container_width_md: string;
155
+ grid_container_width_sm: string;
156
+ grid_container_width_lg: string;
157
+ max_container_width_sm: string;
158
+ max_container_width_lg: string;
159
+ max_container_width_xxl: string;
160
+ grid_container_width_xxl: string;
161
+ breakpoint_xxl: string;
162
+ grid_columns: string;
163
+ grid_gutter_width: string;
164
+ "spacer-0": string;
165
+ "spacer-0125": string;
166
+ "spacer-025": string;
167
+ "spacer-050": string;
168
+ "spacer-075": string;
169
+ "spacer-100": string;
170
+ "spacer-125": string;
171
+ "spacer-150": string;
172
+ "spacer-175": string;
173
+ "spacer-200": string;
174
+ "spacer-250": string;
175
+ "spacer-300": string;
176
+ "spacer-400": string;
177
+ "spacer-500": string;
178
+ "spacer-600": string;
179
+ "spacer-700": string;
146
180
  "vs-elevation-shadow-raised": string;
147
181
  "vs-elevation-shadow-overlay": string;
148
182
  "vs-elevation-surface": string;
@@ -182,17 +216,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
182
216
  duration_quickly: string;
183
217
  duration_base: string;
184
218
  duration_slowly: string;
185
- breakpoint_xl: string;
186
- breakpoint_md: string;
187
- max_container_width_xl: string;
188
- breakpoint_sm: string;
189
- breakpoint_lg: string;
190
- breakpoint_xs: string;
191
- max_container_width_md: string;
192
- max_container_width_sm: string;
193
- max_container_width_lg: string;
194
- max_container_width_xxl: string;
195
- breakpoint_xxl: string;
196
219
  "vs-box-shadow-focus": string;
197
220
  "vs-box-shadow-focus-on-dark": string;
198
221
  "display-l": string;
@@ -220,22 +243,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
220
243
  border_radius_lg: string;
221
244
  border_radius_sm: string;
222
245
  border_radius_pill: string;
223
- "spacer-0": string;
224
- "spacer-0125": string;
225
- "spacer-025": string;
226
- "spacer-050": string;
227
- "spacer-075": string;
228
- "spacer-100": string;
229
- "spacer-125": string;
230
- "spacer-150": string;
231
- "spacer-175": string;
232
- "spacer-200": string;
233
- "spacer-250": string;
234
- "spacer-300": string;
235
- "spacer-400": string;
236
- "spacer-500": string;
237
- "spacer-600": string;
238
- "spacer-700": string;
239
246
  line_height_m: string;
240
247
  line_height_xl: string;
241
248
  line_height_s: string;
@@ -246,8 +253,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
246
253
  "line-height-body": string;
247
254
  "line-height-heading": string;
248
255
  line_height_l: string;
249
- grid_columns: string;
250
- grid_gutter_width: string;
251
256
  no_javascript: string;
252
257
  theme_dark: string;
253
258
  theme_grey: string;
@@ -6,10 +6,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
6
  type: ArrayConstructor;
7
7
  required: true;
8
8
  };
9
- multiple: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
9
  /**
14
10
  * Name of the field (for name and id attributes)
15
11
  */
@@ -128,10 +124,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
128
124
  type: ArrayConstructor;
129
125
  required: true;
130
126
  };
131
- multiple: {
132
- type: BooleanConstructor;
133
- default: boolean;
134
- };
135
127
  /**
136
128
  * Name of the field (for name and id attributes)
137
129
  */
@@ -218,7 +210,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
218
210
  genericValidation: Record<string, any>;
219
211
  reAlertErrors: boolean;
220
212
  hintText: string;
221
- multiple: boolean;
222
213
  countryListUrl: string;
223
214
  countries: boolean;
224
215
  }, {}, {
@@ -243,7 +234,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
243
234
  htmlField?: string | undefined;
244
235
  disabledField?: string | undefined;
245
236
  optionsField?: string | undefined;
246
- labelField?: string | undefined;
237
+ labelField? /**
238
+ * Name of the field (for name and id attributes)
239
+ */: string | undefined;
247
240
  selectSize?: import('node_modules/bootstrap-vue-next/dist/src/types').Numberish | undefined;
248
241
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
249
242
  slots: Readonly<{
@@ -261,11 +254,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
261
254
  focus: () => void;
262
255
  }>) => void) | undefined, __VLS_setup?: Promise<{
263
256
  props: {
264
- name? /**
265
- * Prop to define invalid from parent
266
- */: string | undefined;
257
+ name?: string | undefined;
267
258
  id?: string | undefined;
268
- ariaInvalid?: import('node_modules/bootstrap-vue-next/dist/src/types').AriaInvalid | undefined;
259
+ ariaInvalid? /**
260
+ * Validation messages
261
+ */: import('node_modules/bootstrap-vue-next/dist/src/types').AriaInvalid | undefined;
269
262
  autofocus?: boolean | undefined;
270
263
  disabled?: boolean | undefined;
271
264
  form?: string | undefined;
@@ -276,7 +269,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
276
269
  state?: boolean | null | undefined;
277
270
  modelValue?: ((string | number | boolean | readonly unknown[] | Readonly<Record<string, unknown>> | null) & T) | undefined;
278
271
  options?: readonly unknown[] | undefined;
279
- valueField?: string | undefined;
272
+ valueField? /**
273
+ * Whether the options should be a countries list
274
+ */: string | undefined;
280
275
  textField?: string | undefined;
281
276
  htmlField?: string | undefined;
282
277
  disabledField?: string | undefined;
@@ -320,20 +315,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
320
315
  textField?: string | undefined;
321
316
  htmlField?: string | undefined;
322
317
  disabledField?: string | undefined;
323
- optionsField
324
- /**
325
- * Watch for prop changing to allow parent
326
- * to trigger validation
327
- */
328
- ? /**
329
- * Watch for prop changing to allow parent
330
- * to trigger validation
331
- */: string | undefined;
318
+ optionsField?: string | undefined;
332
319
  labelField?: string | undefined;
333
320
  selectSize?: import('node_modules/bootstrap-vue-next/dist/src/types').Numberish | undefined;
334
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue' /**
335
- * import country list
336
- */).ComponentCustomProps;
321
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
337
322
  expose(exposed: import('vue').ShallowUnwrapRef<{
338
323
  blur: () => void;
339
324
  element: import('vue').Ref<HTMLElement | null>;
@@ -361,6 +361,40 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
361
361
  "vs-color-text-error": string;
362
362
  "vs-color-text-success": string;
363
363
  "vs-color-text-disabled": string;
364
+ breakpoint_xl: string;
365
+ grid_container_width_xl: string;
366
+ breakpoint_md: string;
367
+ max_container_width_xl: string;
368
+ grid_container_width_md: string;
369
+ breakpoint_sm: string;
370
+ breakpoint_lg: string;
371
+ breakpoint_xs: string;
372
+ max_container_width_md: string;
373
+ grid_container_width_sm: string;
374
+ grid_container_width_lg: string;
375
+ max_container_width_sm: string;
376
+ max_container_width_lg: string;
377
+ max_container_width_xxl: string;
378
+ grid_container_width_xxl: string;
379
+ breakpoint_xxl: string;
380
+ grid_columns: string;
381
+ grid_gutter_width: string;
382
+ "spacer-0": string;
383
+ "spacer-0125": string;
384
+ "spacer-025": string;
385
+ "spacer-050": string;
386
+ "spacer-075": string;
387
+ "spacer-100": string;
388
+ "spacer-125": string;
389
+ "spacer-150": string;
390
+ "spacer-175": string;
391
+ "spacer-200": string;
392
+ "spacer-250": string;
393
+ "spacer-300": string;
394
+ "spacer-400": string;
395
+ "spacer-500": string;
396
+ "spacer-600": string;
397
+ "spacer-700": string;
364
398
  "vs-elevation-shadow-raised": string;
365
399
  "vs-elevation-shadow-overlay": string;
366
400
  "vs-elevation-surface": string;
@@ -400,17 +434,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
400
434
  duration_quickly: string;
401
435
  duration_base: string;
402
436
  duration_slowly: string;
403
- breakpoint_xl: string;
404
- breakpoint_md: string;
405
- max_container_width_xl: string;
406
- breakpoint_sm: string;
407
- breakpoint_lg: string;
408
- breakpoint_xs: string;
409
- max_container_width_md: string;
410
- max_container_width_sm: string;
411
- max_container_width_lg: string;
412
- max_container_width_xxl: string;
413
- breakpoint_xxl: string;
414
437
  "vs-box-shadow-focus": string;
415
438
  "vs-box-shadow-focus-on-dark": string;
416
439
  "display-l": string;
@@ -438,22 +461,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
438
461
  border_radius_lg: string;
439
462
  border_radius_sm: string;
440
463
  border_radius_pill: string;
441
- "spacer-0": string;
442
- "spacer-0125": string;
443
- "spacer-025": string;
444
- "spacer-050": string;
445
- "spacer-075": string;
446
- "spacer-100": string;
447
- "spacer-125": string;
448
- "spacer-150": string;
449
- "spacer-175": string;
450
- "spacer-200": string;
451
- "spacer-250": string;
452
- "spacer-300": string;
453
- "spacer-400": string;
454
- "spacer-500": string;
455
- "spacer-600": string;
456
- "spacer-700": string;
457
464
  line_height_m: string;
458
465
  line_height_xl: string;
459
466
  line_height_s: string;
@@ -464,8 +471,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
464
471
  "line-height-body": string;
465
472
  "line-height-heading": string;
466
473
  line_height_l: string;
467
- grid_columns: string;
468
- grid_gutter_width: string;
469
474
  no_javascript: string;
470
475
  theme_dark: string;
471
476
  theme_grey: string;