@visitscotland/component-library 4.11.1 → 4.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/client/manifest.json +284 -173
  2. package/dist/client/scripts/{fc611497322360797621.js → 005c44021982625bb7c0.js} +1 -1
  3. package/dist/client/scripts/00651c731db1ef87216d.js +1 -0
  4. package/dist/client/scripts/1bc384500a813618908d.js +1 -0
  5. package/dist/client/scripts/{1a36b4136263bab2df9d.js → 1c793f94b5b5eebb96ae.js} +1 -1
  6. package/dist/client/scripts/{25f42cec72efd1f27030.js → 2d10ac82630143ff1075.js} +1 -1
  7. package/dist/client/scripts/{34ed79e8238d0bf3fc62.js → 2f332174174c32ab702d.js} +1 -1
  8. package/dist/client/scripts/{df1c31fbd441961a3f98.js → 36399268f1c86777b2ce.js} +1 -1
  9. package/dist/client/scripts/{753492316266cd4ddf6a.js → 37af489743a9197f73c5.js} +1 -1
  10. package/dist/client/scripts/{bef055047342a5728b4b.js → 39cc995d21686586f6fa.js} +1 -1
  11. package/dist/client/scripts/{9c03e2da038545efa1b4.js → 3bd8d4ba3d920bb1433d.js} +1 -1
  12. package/dist/client/scripts/{2477914832e75c7a98af.js → 3c5c5a8e0fc0e60266b6.js} +1 -1
  13. package/dist/client/scripts/{78a7d711dfa6d7e5e117.js → 4161157d09dfb043fede.js} +1 -1
  14. package/dist/client/scripts/41ce13cac3857a52a8e4.js +1 -0
  15. package/dist/client/scripts/{5122fd98cac3b9518f3f.js → 437ff926d713e601fab7.js} +1 -1
  16. package/dist/client/scripts/{d5ee2a24ae0edc488b2d.js → 5dcf971e77fe98f4ff7c.js} +1 -1
  17. package/dist/client/scripts/{0f67b5eb07bd337752f2.js → 6e7520d815f5c8568575.js} +1 -1
  18. package/dist/client/scripts/79647a1c54f2601195b6.js +1 -0
  19. package/dist/client/scripts/{dc3f24502d7b9b1efc72.js → 7a0a47af01dc9555f5a5.js} +1 -1
  20. package/dist/client/scripts/837c541cd7af0ae0812e.js +1 -0
  21. package/dist/client/scripts/{4814cd011bbd0b5e3b9a.js → 90a8379b7c305c7d82d7.js} +1 -1
  22. package/dist/client/scripts/{392b742726ae953cecc1.js → 93c7da4477c0235064e1.js} +1 -1
  23. package/dist/client/scripts/97705088c5c09bbd893d.js +1 -0
  24. package/dist/client/scripts/{322ab2868109de391b17.js → 9aeea75098e9627f7c22.js} +1 -1
  25. package/dist/client/scripts/{39e54c41740b01bf6be8.js → a5ebc01b63f005414edb.js} +1 -1
  26. package/dist/client/scripts/{866c183151d202876582.js → a7eec1615b85cbbbe0ba.js} +1 -1
  27. package/dist/client/scripts/{dee3f365942bb3b36070.js → aa837d298afb1ff263dc.js} +1 -1
  28. package/dist/client/scripts/d03f15b77fa423b1987e.js +1 -0
  29. package/dist/client/scripts/da98310b584fb18aebb0.js +1 -0
  30. package/dist/client/scripts/{1fdc1483cdd2b8d992e2.js → ddf66730471a7e9e83ca.js} +1 -1
  31. package/dist/client/scripts/{0e50c2c3a74862e7449a.js → ebae7cda3ef35b5ef619.js} +1 -1
  32. package/dist/client/scripts/edfacb376b15dcbffd61.js +1 -0
  33. package/dist/client/scripts/{5f0b6647b3831883a22b.js → f7545efea2c0b0e1359c.js} +1 -1
  34. package/dist/client/scripts/{a6b893ae67cf6afb4ea2.js → f80b7d0372585c62fd5b.js} +1 -1
  35. package/dist/client/scripts/{b54fa069ff3253bcc94b.js → f872849c7ce918f02155.js} +1 -1
  36. package/dist/client/styles/41ce13cac3857a52a8e4.css +1 -0
  37. package/dist/client/styles/{9182f2de912fe63af3b6.css → 79647a1c54f2601195b6.css} +1 -1
  38. package/dist/client/styles/{24057be9ca44741f3c32.css → d03f15b77fa423b1987e.css} +1 -1
  39. package/dist/client/styles/da98310b584fb18aebb0.css +1 -0
  40. package/dist/components/components/caption/Caption.vue.d.ts +1 -0
  41. package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +1 -0
  42. package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +1 -0
  43. package/dist/components/components/checkbox/Checkbox.vue.d.ts +36 -4
  44. package/dist/components/components/filter/VsFilter.vue.d.ts +19 -0
  45. package/dist/components/components/filter/components/VsFilterPanel.vue.d.ts +18 -0
  46. package/dist/components/components/filter/components/VsFilterSection.vue.d.ts +16 -0
  47. package/dist/components/components/filter/index.d.ts +130 -0
  48. package/dist/components/components/form/Form.vue.d.ts +16 -1
  49. package/dist/components/components/hero-section/HeroSection.vue.d.ts +1 -0
  50. package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +1 -0
  51. package/dist/components/components/index.d.ts +3 -0
  52. package/dist/components/components/mega-nav/MegaNav.vue.d.ts +1 -0
  53. package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +1 -0
  54. package/dist/components/vs-component-library.css +1 -1
  55. package/dist/components/vs-component-library.js +166 -166
  56. package/dist/components/vs-component-library.mjs +8912 -8722
  57. package/dist/ssr/index.js +1 -1
  58. package/dist/ssr/manifest.json +1 -1
  59. package/dist/ssr/styles/{a777793af6f1fc3ea4f1.css → db1a00f5f041d9dcc7e0.css} +5 -3
  60. package/package.json +231 -231
  61. package/CHANGELOG.md +0 -2971
  62. package/dist/client/scripts/20f693ecddfc90496f6a.js +0 -1
  63. package/dist/client/scripts/24057be9ca44741f3c32.js +0 -1
  64. package/dist/client/scripts/653c4d8f9a4977eb6f7c.js +0 -1
  65. package/dist/client/scripts/82bedcc106fae3f6d7ae.js +0 -1
  66. package/dist/client/scripts/9182f2de912fe63af3b6.js +0 -1
  67. /package/dist/client/scripts/{62ab079f579db9aaffb9.js → 2a7e933e6683047aa130.js} +0 -0
  68. /package/dist/client/scripts/{56b5442d66b63d14bdb0.js → 875be100962922060621.js} +0 -0
  69. /package/dist/client/scripts/{5a876b0e082974ef731c.js → cda05cc6eb36db4a7728.js} +0 -0
  70. /package/dist/client/styles/{fc611497322360797621.css → 005c44021982625bb7c0.css} +0 -0
  71. /package/dist/client/styles/{82bedcc106fae3f6d7ae.css → 00651c731db1ef87216d.css} +0 -0
  72. /package/dist/client/styles/{20f693ecddfc90496f6a.css → 1bc384500a813618908d.css} +0 -0
  73. /package/dist/client/styles/{62ab079f579db9aaffb9.css → 2a7e933e6683047aa130.css} +0 -0
  74. /package/dist/client/styles/{25f42cec72efd1f27030.css → 2d10ac82630143ff1075.css} +0 -0
  75. /package/dist/client/styles/{34ed79e8238d0bf3fc62.css → 2f332174174c32ab702d.css} +0 -0
  76. /package/dist/client/styles/{df1c31fbd441961a3f98.css → 36399268f1c86777b2ce.css} +0 -0
  77. /package/dist/client/styles/{753492316266cd4ddf6a.css → 37af489743a9197f73c5.css} +0 -0
  78. /package/dist/client/styles/{bef055047342a5728b4b.css → 39cc995d21686586f6fa.css} +0 -0
  79. /package/dist/client/styles/{2477914832e75c7a98af.css → 3c5c5a8e0fc0e60266b6.css} +0 -0
  80. /package/dist/client/styles/{5122fd98cac3b9518f3f.css → 437ff926d713e601fab7.css} +0 -0
  81. /package/dist/client/styles/{d5ee2a24ae0edc488b2d.css → 5dcf971e77fe98f4ff7c.css} +0 -0
  82. /package/dist/client/styles/{0f67b5eb07bd337752f2.css → 6e7520d815f5c8568575.css} +0 -0
  83. /package/dist/client/styles/{dc3f24502d7b9b1efc72.css → 7a0a47af01dc9555f5a5.css} +0 -0
  84. /package/dist/client/styles/{56b5442d66b63d14bdb0.css → 875be100962922060621.css} +0 -0
  85. /package/dist/client/styles/{4814cd011bbd0b5e3b9a.css → 90a8379b7c305c7d82d7.css} +0 -0
  86. /package/dist/client/styles/{392b742726ae953cecc1.css → 93c7da4477c0235064e1.css} +0 -0
  87. /package/dist/client/styles/{653c4d8f9a4977eb6f7c.css → 97705088c5c09bbd893d.css} +0 -0
  88. /package/dist/client/styles/{322ab2868109de391b17.css → 9aeea75098e9627f7c22.css} +0 -0
  89. /package/dist/client/styles/{39e54c41740b01bf6be8.css → a5ebc01b63f005414edb.css} +0 -0
  90. /package/dist/client/styles/{866c183151d202876582.css → a7eec1615b85cbbbe0ba.css} +0 -0
  91. /package/dist/client/styles/{dee3f365942bb3b36070.css → aa837d298afb1ff263dc.css} +0 -0
  92. /package/dist/client/styles/{5a876b0e082974ef731c.css → cda05cc6eb36db4a7728.css} +0 -0
  93. /package/dist/client/styles/{0e50c2c3a74862e7449a.css → ebae7cda3ef35b5ef619.css} +0 -0
  94. /package/dist/client/styles/{5f0b6647b3831883a22b.css → f7545efea2c0b0e1359c.css} +0 -0
  95. /package/dist/client/styles/{a6b893ae67cf6afb4ea2.css → f80b7d0372585c62fd5b.css} +0 -0
  96. /package/dist/client/styles/{b54fa069ff3253bcc94b.css → f872849c7ce918f02155.css} +0 -0
@@ -0,0 +1,16 @@
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ type: string;
8
+ sectionTitle?: string;
9
+ $props: {
10
+ readonly type?: string;
11
+ readonly sectionTitle?: string;
12
+ };
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ declare function __VLS_template(): {
15
+ default?(_: {}): any;
16
+ };
@@ -0,0 +1,130 @@
1
+ declare const _default: {
2
+ VsFilter: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
4
+ applyButtonText: string;
5
+ filterButtonText: string;
6
+ filterId: string;
7
+ $props: {
8
+ readonly applyButtonText?: string;
9
+ readonly filterButtonText?: string;
10
+ readonly filterId?: string;
11
+ };
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
13
+ P: {};
14
+ B: {};
15
+ D: {};
16
+ C: {};
17
+ M: {};
18
+ Defaults: {};
19
+ }, Readonly<{}> & Readonly<{}>, {
20
+ applyButtonText: string;
21
+ filterButtonText: string;
22
+ filterId: string;
23
+ $props: {
24
+ readonly applyButtonText?: string;
25
+ readonly filterButtonText?: string;
26
+ readonly filterId?: string;
27
+ };
28
+ }, {}, {}, {}, {}>;
29
+ __isFragment?: never;
30
+ __isTeleport?: never;
31
+ __isSuspense?: never;
32
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
33
+ applyButtonText: string;
34
+ filterButtonText: string;
35
+ filterId: string;
36
+ $props: {
37
+ readonly applyButtonText?: string;
38
+ readonly filterButtonText?: string;
39
+ readonly filterId?: string;
40
+ };
41
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
42
+ $slots: {
43
+ default?(_: {}): any;
44
+ "no-js"?(_: {}): any;
45
+ };
46
+ });
47
+ VsFilterPanel: {
48
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
49
+ clearFilter: (inputField: any) => void;
50
+ resetAll: () => void;
51
+ resetOne: (filterId: any) => void;
52
+ $emit: (event: "filter-updated", ...args: any[]) => void;
53
+ filterLabel: string;
54
+ $props: {
55
+ readonly filterLabel?: string;
56
+ };
57
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
58
+ P: {};
59
+ B: {};
60
+ D: {};
61
+ C: {};
62
+ M: {};
63
+ Defaults: {};
64
+ }, Readonly<{}> & Readonly<{}>, {
65
+ clearFilter: (inputField: any) => void;
66
+ resetAll: () => void;
67
+ resetOne: (filterId: any) => void;
68
+ $emit: (event: "filter-updated", ...args: any[]) => void;
69
+ filterLabel: string;
70
+ $props: {
71
+ readonly filterLabel?: string;
72
+ };
73
+ }, {}, {}, {}, {}>;
74
+ __isFragment?: never;
75
+ __isTeleport?: never;
76
+ __isSuspense?: never;
77
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
78
+ clearFilter: (inputField: any) => void;
79
+ resetAll: () => void;
80
+ resetOne: (filterId: any) => void;
81
+ $emit: (event: "filter-updated", ...args: any[]) => void;
82
+ filterLabel: string;
83
+ $props: {
84
+ readonly filterLabel?: string;
85
+ };
86
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
87
+ $slots: {
88
+ default?(_: {}): any;
89
+ };
90
+ });
91
+ VsFilterSection: {
92
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
93
+ type: string;
94
+ sectionTitle?: string;
95
+ $props: {
96
+ readonly type?: string;
97
+ readonly sectionTitle?: string;
98
+ };
99
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
100
+ P: {};
101
+ B: {};
102
+ D: {};
103
+ C: {};
104
+ M: {};
105
+ Defaults: {};
106
+ }, Readonly<{}> & Readonly<{}>, {
107
+ type: string;
108
+ sectionTitle?: string;
109
+ $props: {
110
+ readonly type?: string;
111
+ readonly sectionTitle?: string;
112
+ };
113
+ }, {}, {}, {}, {}>;
114
+ __isFragment?: never;
115
+ __isTeleport?: never;
116
+ __isSuspense?: never;
117
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
118
+ type: string;
119
+ sectionTitle?: string;
120
+ $props: {
121
+ readonly type?: string;
122
+ readonly sectionTitle?: string;
123
+ };
124
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
125
+ $slots: {
126
+ default?(_: {}): any;
127
+ };
128
+ });
129
+ };
130
+ export default _default;
@@ -1812,13 +1812,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1812
1812
  type: BooleanConstructor;
1813
1813
  default: boolean;
1814
1814
  };
1815
+ size: {
1816
+ type: StringConstructor;
1817
+ default: any;
1818
+ validator: (value: unknown) => any;
1819
+ };
1815
1820
  }>, {
1816
1821
  v$: import('vue').Ref<import('@vuelidate/core').Validation<import('@vuelidate/core').ValidationArgs<unknown>, unknown>, import('@vuelidate/core').Validation<import('@vuelidate/core').ValidationArgs<unknown>, unknown>>;
1817
1822
  }, {
1818
1823
  inputVal: string;
1819
1824
  errors: any[];
1820
1825
  }, {
1821
- errorClass(): "" | "vs-checkbox--error";
1826
+ checkBoxClasses(): {
1827
+ 'vs-checkbox': boolean;
1828
+ 'vs-checkbox--error': any;
1829
+ 'vs-checkbox--small': boolean;
1830
+ };
1822
1831
  }, {}, {
1823
1832
  data(): {
1824
1833
  inputVal: any;
@@ -1889,8 +1898,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1889
1898
  type: BooleanConstructor;
1890
1899
  default: boolean;
1891
1900
  };
1901
+ size: {
1902
+ type: StringConstructor;
1903
+ default: any;
1904
+ validator: (value: unknown) => any;
1905
+ };
1892
1906
  }>> & Readonly<{}>, {
1893
1907
  value: string;
1908
+ size: string;
1894
1909
  invalid: boolean;
1895
1910
  validationRules: Record<string, any>;
1896
1911
  triggerValidate: boolean;
@@ -427,6 +427,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
427
427
  "heading-s": string;
428
428
  "heading-xs": string;
429
429
  "heading-xxs": string;
430
+ "heading-xxxs": string;
430
431
  "sub-heading-l": string;
431
432
  "sub-heading-m": string;
432
433
  "sub-heading-s": string;
@@ -262,6 +262,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
262
262
  "heading-s": string;
263
263
  "heading-xs": string;
264
264
  "heading-xxs": string;
265
+ "heading-xxxs": string;
265
266
  "sub-heading-l": string;
266
267
  "sub-heading-m": string;
267
268
  "sub-heading-s": string;
@@ -27,6 +27,9 @@ export { default as VsDropdown } from './dropdown/Dropdown.vue';
27
27
  export { default as VsDropdownItem } from './dropdown/components/DropdownItem.vue';
28
28
  export { default as VsEmbedWrapper } from './embed-wrapper/EmbedWrapper.vue';
29
29
  export { default as VsEventCard } from './event-card/EventCard.vue';
30
+ export { default as VsFilter } from './filter/VsFilter.vue';
31
+ export { default as VsFilterPanel } from './filter/components/VsFilterPanel.vue';
32
+ export { default as VsFilterSection } from './filter/components/VsFilterSection.vue';
30
33
  export { default as VsFooter } from './footer/Footer.vue';
31
34
  export { default as VsFooterAccordionItem } from './footer/components/FooterAccordionItem.vue';
32
35
  export { default as VsFooterNavListItem } from './footer/components/FooterNavListItem.vue';
@@ -229,6 +229,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
229
229
  "heading-s": string;
230
230
  "heading-xs": string;
231
231
  "heading-xxs": string;
232
+ "heading-xxxs": string;
232
233
  "sub-heading-l": string;
233
234
  "sub-heading-m": string;
234
235
  "sub-heading-s": string;
@@ -447,6 +447,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
447
447
  "heading-s": string;
448
448
  "heading-xs": string;
449
449
  "heading-xxs": string;
450
+ "heading-xxxs": string;
450
451
  "sub-heading-l": string;
451
452
  "sub-heading-m": string;
452
453
  "sub-heading-s": string;