@visitscotland/component-library 4.11.0 → 4.12.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 (93) hide show
  1. package/CHANGELOG.md +79 -19
  2. package/dist/client/manifest.json +214 -103
  3. package/dist/client/scripts/{fc611497322360797621.js → 005c44021982625bb7c0.js} +1 -1
  4. package/dist/client/scripts/00651c731db1ef87216d.js +1 -0
  5. package/dist/client/scripts/{25f42cec72efd1f27030.js → 187f48f7ed89388c22ee.js} +1 -1
  6. package/dist/client/scripts/{1a36b4136263bab2df9d.js → 1c793f94b5b5eebb96ae.js} +1 -1
  7. package/dist/client/scripts/{34ed79e8238d0bf3fc62.js → 2f332174174c32ab702d.js} +1 -1
  8. package/dist/client/scripts/35355c6e9b872753ee97.js +1 -0
  9. package/dist/client/scripts/{df1c31fbd441961a3f98.js → 36399268f1c86777b2ce.js} +1 -1
  10. package/dist/client/scripts/{753492316266cd4ddf6a.js → 37af489743a9197f73c5.js} +1 -1
  11. package/dist/client/scripts/{bef055047342a5728b4b.js → 39cc995d21686586f6fa.js} +1 -1
  12. package/dist/client/scripts/{9c03e2da038545efa1b4.js → 3bd8d4ba3d920bb1433d.js} +1 -1
  13. package/dist/client/scripts/{2477914832e75c7a98af.js → 3c5c5a8e0fc0e60266b6.js} +1 -1
  14. package/dist/client/scripts/{78a7d711dfa6d7e5e117.js → 4161157d09dfb043fede.js} +1 -1
  15. package/dist/client/scripts/41ce13cac3857a52a8e4.js +1 -0
  16. package/dist/client/scripts/{5122fd98cac3b9518f3f.js → 437ff926d713e601fab7.js} +1 -1
  17. package/dist/client/scripts/{20f693ecddfc90496f6a.js → 4c5055864f96ecc32cc7.js} +1 -1
  18. package/dist/client/scripts/52b8403c233554c471d6.js +1 -0
  19. package/dist/client/scripts/{d5ee2a24ae0edc488b2d.js → 5dcf971e77fe98f4ff7c.js} +1 -1
  20. package/dist/client/scripts/{0f67b5eb07bd337752f2.js → 6e7520d815f5c8568575.js} +1 -1
  21. package/dist/client/scripts/79647a1c54f2601195b6.js +1 -0
  22. package/dist/client/scripts/{dc3f24502d7b9b1efc72.js → 7a0a47af01dc9555f5a5.js} +1 -1
  23. package/dist/client/scripts/837c541cd7af0ae0812e.js +1 -0
  24. package/dist/client/scripts/{4814cd011bbd0b5e3b9a.js → 90a8379b7c305c7d82d7.js} +1 -1
  25. package/dist/client/scripts/{392b742726ae953cecc1.js → 93c7da4477c0235064e1.js} +1 -1
  26. package/dist/client/scripts/97705088c5c09bbd893d.js +1 -0
  27. package/dist/client/scripts/{322ab2868109de391b17.js → 9aeea75098e9627f7c22.js} +1 -1
  28. package/dist/client/scripts/{39e54c41740b01bf6be8.js → a5ebc01b63f005414edb.js} +1 -1
  29. package/dist/client/scripts/{23f1a8fabc84617d7929.js → a7eec1615b85cbbbe0ba.js} +1 -1
  30. package/dist/client/scripts/{dee3f365942bb3b36070.js → aa837d298afb1ff263dc.js} +1 -1
  31. package/dist/client/scripts/da98310b584fb18aebb0.js +1 -0
  32. package/dist/client/scripts/df18b654ae827f1e3f2d.js +1 -0
  33. package/dist/client/scripts/{0e50c2c3a74862e7449a.js → ebae7cda3ef35b5ef619.js} +1 -1
  34. package/dist/client/scripts/edfacb376b15dcbffd61.js +1 -0
  35. package/dist/client/scripts/{5f0b6647b3831883a22b.js → f7545efea2c0b0e1359c.js} +1 -1
  36. package/dist/client/scripts/{a6b893ae67cf6afb4ea2.js → f80b7d0372585c62fd5b.js} +1 -1
  37. package/dist/client/scripts/{b54fa069ff3253bcc94b.js → f872849c7ce918f02155.js} +1 -1
  38. package/dist/client/styles/35355c6e9b872753ee97.css +1 -0
  39. package/dist/client/styles/41ce13cac3857a52a8e4.css +1 -0
  40. package/dist/client/styles/52b8403c233554c471d6.css +1 -0
  41. package/dist/client/styles/{9182f2de912fe63af3b6.css → 79647a1c54f2601195b6.css} +1 -1
  42. package/dist/client/styles/da98310b584fb18aebb0.css +1 -0
  43. package/dist/components/components/checkbox/Checkbox.vue.d.ts +36 -4
  44. package/dist/components/components/dropdown/Dropdown.vue.d.ts +19 -0
  45. package/dist/components/components/filter/VsFilter.vue.d.ts +19 -0
  46. package/dist/components/components/filter/components/VsFilterPanel.vue.d.ts +18 -0
  47. package/dist/components/components/filter/components/VsFilterSection.vue.d.ts +16 -0
  48. package/dist/components/components/filter/index.d.ts +130 -0
  49. package/dist/components/components/form/Form.vue.d.ts +16 -1
  50. package/dist/components/components/global-menu/GlobalMenu.vue.d.ts +11 -0
  51. package/dist/components/components/global-menu/components/GlobalMenuDropdown.vue.d.ts +11 -0
  52. package/dist/components/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +11 -0
  53. package/dist/components/components/index.d.ts +3 -0
  54. package/dist/components/vs-component-library.css +1 -1
  55. package/dist/components/vs-component-library.js +45 -45
  56. package/dist/components/vs-component-library.mjs +1609 -1403
  57. package/dist/ssr/index.js +1 -1
  58. package/dist/ssr/manifest.json +1 -1
  59. package/dist/ssr/styles/{c1dc069eed3cafab0cfe.css → bd364c2aa8921fee5b64.css} +6 -4
  60. package/package.json +1 -1
  61. package/dist/client/scripts/26a6c1d32027d37b77b7.js +0 -1
  62. package/dist/client/scripts/653c4d8f9a4977eb6f7c.js +0 -1
  63. package/dist/client/scripts/82bedcc106fae3f6d7ae.js +0 -1
  64. package/dist/client/scripts/9182f2de912fe63af3b6.js +0 -1
  65. package/dist/client/scripts/986cefb939b3ab5e1003.js +0 -1
  66. package/dist/client/scripts/fb2bc8c33c76a3ef1da9.js +0 -1
  67. package/dist/client/styles/26a6c1d32027d37b77b7.css +0 -1
  68. package/dist/client/styles/fb2bc8c33c76a3ef1da9.css +0 -1
  69. /package/dist/client/styles/{fc611497322360797621.css → 005c44021982625bb7c0.css} +0 -0
  70. /package/dist/client/styles/{82bedcc106fae3f6d7ae.css → 00651c731db1ef87216d.css} +0 -0
  71. /package/dist/client/styles/{25f42cec72efd1f27030.css → 187f48f7ed89388c22ee.css} +0 -0
  72. /package/dist/client/styles/{34ed79e8238d0bf3fc62.css → 2f332174174c32ab702d.css} +0 -0
  73. /package/dist/client/styles/{df1c31fbd441961a3f98.css → 36399268f1c86777b2ce.css} +0 -0
  74. /package/dist/client/styles/{753492316266cd4ddf6a.css → 37af489743a9197f73c5.css} +0 -0
  75. /package/dist/client/styles/{bef055047342a5728b4b.css → 39cc995d21686586f6fa.css} +0 -0
  76. /package/dist/client/styles/{2477914832e75c7a98af.css → 3c5c5a8e0fc0e60266b6.css} +0 -0
  77. /package/dist/client/styles/{5122fd98cac3b9518f3f.css → 437ff926d713e601fab7.css} +0 -0
  78. /package/dist/client/styles/{20f693ecddfc90496f6a.css → 4c5055864f96ecc32cc7.css} +0 -0
  79. /package/dist/client/styles/{d5ee2a24ae0edc488b2d.css → 5dcf971e77fe98f4ff7c.css} +0 -0
  80. /package/dist/client/styles/{0f67b5eb07bd337752f2.css → 6e7520d815f5c8568575.css} +0 -0
  81. /package/dist/client/styles/{dc3f24502d7b9b1efc72.css → 7a0a47af01dc9555f5a5.css} +0 -0
  82. /package/dist/client/styles/{4814cd011bbd0b5e3b9a.css → 90a8379b7c305c7d82d7.css} +0 -0
  83. /package/dist/client/styles/{392b742726ae953cecc1.css → 93c7da4477c0235064e1.css} +0 -0
  84. /package/dist/client/styles/{653c4d8f9a4977eb6f7c.css → 97705088c5c09bbd893d.css} +0 -0
  85. /package/dist/client/styles/{322ab2868109de391b17.css → 9aeea75098e9627f7c22.css} +0 -0
  86. /package/dist/client/styles/{39e54c41740b01bf6be8.css → a5ebc01b63f005414edb.css} +0 -0
  87. /package/dist/client/styles/{23f1a8fabc84617d7929.css → a7eec1615b85cbbbe0ba.css} +0 -0
  88. /package/dist/client/styles/{dee3f365942bb3b36070.css → aa837d298afb1ff263dc.css} +0 -0
  89. /package/dist/client/styles/{986cefb939b3ab5e1003.css → df18b654ae827f1e3f2d.css} +0 -0
  90. /package/dist/client/styles/{0e50c2c3a74862e7449a.css → ebae7cda3ef35b5ef619.css} +0 -0
  91. /package/dist/client/styles/{5f0b6647b3831883a22b.css → f7545efea2c0b0e1359c.css} +0 -0
  92. /package/dist/client/styles/{a6b893ae67cf6afb4ea2.css → f80b7d0372585c62fd5b.css} +0 -0
  93. /package/dist/client/styles/{b54fa069ff3253bcc94b.css → f872849c7ce918f02155.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,41 +2,101 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## [4.11.0](https://github.com/visitscotland/vs-component-library/compare/v4.10.3...v4.11.0) (2025-02-14)
5
+ ## [4.12.0](https://github.com/visitscotland/vs-component-library/compare/v4.11.1...v4.12.0) (2025-02-19)
6
6
 
7
7
 
8
8
  ### 📝 Docs
9
9
 
10
- * **pagination:** update story to reflect component changes ([fb0ff83](https://github.com/visitscotland/vs-component-library/commit/fb0ff833840d193bb8221fcfaaa670751edf7f02))
10
+ * **filter:** add mobile story ([dd85d3c](https://github.com/visitscotland/vs-component-library/commit/dd85d3c44d8016efd589bd20c7e0f961b93947f8))
11
+ * **filter:** update story ([bcb36ec](https://github.com/visitscotland/vs-component-library/commit/bcb36ec0795affa184f9800d235acde1de905fb3))
11
12
 
12
13
 
13
- ### 🎨 Styling
14
+ ### Features
14
15
 
15
- * **pagination:** fix typos and remove commented out code ([2d83df1](https://github.com/visitscotland/vs-component-library/commit/2d83df115f3110775e81914ebd7c5a24892aa1f6))
16
+ * **filter:** add new component ([93c74e4](https://github.com/visitscotland/vs-component-library/commit/93c74e48db948ff106c4c8fcdb5f54ce443a990e))
17
+ * **filter:** add nojs fallback ([8a502cf](https://github.com/visitscotland/vs-component-library/commit/8a502cf4a0c6abe61b71887bad56a8b891fbb4fc))
18
+ * **filter:** close modal when resizing screen ([7f1b058](https://github.com/visitscotland/vs-component-library/commit/7f1b058e4709f9665025e07a1605999c76d6821c))
19
+ * **filter:** develop new component ([2c715f8](https://github.com/visitscotland/vs-component-library/commit/2c715f8f63bd767edb2f8b1e255f3163f8a323c3))
20
+ * **filter:** set filter button text ([b42c89c](https://github.com/visitscotland/vs-component-library/commit/b42c89cebb2593b17a11d366fe6bd195c80fe269))
21
+ * **filter:** setup new component ([5e16519](https://github.com/visitscotland/vs-component-library/commit/5e165198edb3e3ffbabda58307a3fb164147a6d3))
22
+ * **filter:** tidy up code ([d7bd5c1](https://github.com/visitscotland/vs-component-library/commit/d7bd5c16ac312ea4fe618e086cebe623141acf2d))
23
+ * **filter:** tidy up code ([c0ded56](https://github.com/visitscotland/vs-component-library/commit/c0ded56d10cc62ecf54ebfb2c311abafdda77936))
24
+ * **filter:** work on mobile version ([83fc02e](https://github.com/visitscotland/vs-component-library/commit/83fc02e7e5d1c8fed6ab27f86c080fffcfaf5de9))
25
+ * **modal:** add emitter listener for hideModal event ([69d3f29](https://github.com/visitscotland/vs-component-library/commit/69d3f29feca38ded5f6c4e01ef14f75a5d51cfc8))
16
26
 
17
27
 
18
28
  ### ✅ Tests
19
29
 
20
- * **pagination:** add tests for logic displaying page numbers ([774508b](https://github.com/visitscotland/vs-component-library/commit/774508b734ab03c4a1b887a2ea4e0a36c9af533a))
21
- * **pagination:** add tests for previous and next buttons ([471ad44](https://github.com/visitscotland/vs-component-library/commit/471ad447e5a3fcca880dc24c64f3348d521f1f66))
22
- * **pagination:** add unit tests ([142b7a7](https://github.com/visitscotland/vs-component-library/commit/142b7a72a812073d7424a29b919737aa402b1bcc))
23
-
24
-
25
- ### ✨ Features
26
-
27
- * **pagination:** add new component ([01582dd](https://github.com/visitscotland/vs-component-library/commit/01582dd00658424f2748ddb1e8d00f07998beded))
28
- * **pagination:** add styles and mobile version ([2cb36a9](https://github.com/visitscotland/vs-component-library/commit/2cb36a91eb799b36e9c600d1ef35c4ae8d2d8e48))
29
- * **pagination:** correct style issues ([43851ea](https://github.com/visitscotland/vs-component-library/commit/43851eafae048e31e052c42f8c53c1384f27d052))
30
- * **pagination:** rework component ([fa569e1](https://github.com/visitscotland/vs-component-library/commit/fa569e1f7415b47dd356773611807e8faeb23277))
31
- * **pagination:** update styling ([fabd7ef](https://github.com/visitscotland/vs-component-library/commit/fabd7ef0f7718c6f79aed932ca9f87d570fb6aa7))
32
- * **pagination:** use a function to set button classes ([f931e5d](https://github.com/visitscotland/vs-component-library/commit/f931e5d7da6c647cafebaa0ea43c76f9019b27d7))
30
+ * **checkbox:** add test for size prop ([3f5ec91](https://github.com/visitscotland/vs-component-library/commit/3f5ec91e651bca57b199a41a5f155551c4b578ef))
31
+ * **filter:** add unit tests for the filter components ([ec0c024](https://github.com/visitscotland/vs-component-library/commit/ec0c024b8bd325ead4a1fe60f85026ce64098249))
32
+ * **filter:** update test ([8d539a7](https://github.com/visitscotland/vs-component-library/commit/8d539a7928e280b1cc13f6fe100f28e1324f59fa))
33
+ * **filter:** update unit tests ([90e763b](https://github.com/visitscotland/vs-component-library/commit/90e763b217006148a71c85209de1f1d6642a1cb1))
33
34
 
34
35
 
35
36
  ### 🐛 Bug Fixes
36
37
 
37
- * **pagination:** accessibility fixes ([1ce3584](https://github.com/visitscotland/vs-component-library/commit/1ce35846a32a4e59e7d268ae7970c7daaffb5d3b))
38
- * **storybook:** reset viewport when switching between stories ([b3121b9](https://github.com/visitscotland/vs-component-library/commit/b3121b92b9cb2838d82e3784b1a947205f1f759f))
38
+ * **bootstrap:** suppress deprecation warnings ([05e7b67](https://github.com/visitscotland/vs-component-library/commit/05e7b6773560e9025a24dbbc0f415b395dd3676d))
39
+ * **filter:** date picker width ([b9b9acb](https://github.com/visitscotland/vs-component-library/commit/b9b9acbec6b9974f2293a41abf808021db277a33))
40
+ * **filter:** minor changes ([79e7367](https://github.com/visitscotland/vs-component-library/commit/79e73678260ee6bc1949be1d1f8175fb3aaa0974))
39
41
 
42
+ ### [4.11.1](https://github.com/visitscotland/vs-component-library/compare/v4.11.0...v4.11.1) (2025-02-19)
43
+
44
+
45
+ ### ♻️ Code Refactoring
46
+
47
+ * **eventcard:** fixed css spacing ([4c23aca](https://github.com/visitscotland/vs-component-library/commit/4c23acad34ab3aea8c5f4c1281a7c200b967f19a))
48
+
49
+
50
+ ### 🐛 Bug Fixes
51
+
52
+ * **eventcard:** fixes cta button spacing on mobile ([3c47c86](https://github.com/visitscotland/vs-component-library/commit/3c47c86aaa467747023cb48dfc3388645d819240))
53
+ * **pagination:** enable two-way binding ([d454877](https://github.com/visitscotland/vs-component-library/commit/d45487799d923baff1a8882a6cb68f3f501bb80b))
54
+
55
+
56
+ ### ✨ Features
57
+
58
+ * **dropdown:** add secondary colour variant ([f01b6f4](https://github.com/visitscotland/vs-component-library/commit/f01b6f428c32ca93c9c32d4ccc7d285624bd432b))
59
+
60
+
61
+ ### ✅ Tests
62
+
63
+ * **dropdown:** add unit test ([332dadc](https://github.com/visitscotland/vs-component-library/commit/332dadc762dbde21918a25dd1fc15af8467d8f9a))
64
+
65
+ ## [4.11.0](https://github.com/visitscotland/vs-component-library/compare/v4.10.3...v4.11.0) (2025-02-14)
66
+
67
+
68
+ ### 📝 Docs
69
+
70
+ * **pagination:** update story to reflect component changes ([fb0ff83](https://github.com/visitscotland/vs-component-library/commit/fb0ff833840d193bb8221fcfaaa670751edf7f02))
71
+
72
+
73
+ ### 🎨 Styling
74
+
75
+ * **pagination:** fix typos and remove commented out code ([2d83df1](https://github.com/visitscotland/vs-component-library/commit/2d83df115f3110775e81914ebd7c5a24892aa1f6))
76
+
77
+
78
+ ### ✅ Tests
79
+
80
+ * **pagination:** add tests for logic displaying page numbers ([774508b](https://github.com/visitscotland/vs-component-library/commit/774508b734ab03c4a1b887a2ea4e0a36c9af533a))
81
+ * **pagination:** add tests for previous and next buttons ([471ad44](https://github.com/visitscotland/vs-component-library/commit/471ad447e5a3fcca880dc24c64f3348d521f1f66))
82
+ * **pagination:** add unit tests ([142b7a7](https://github.com/visitscotland/vs-component-library/commit/142b7a72a812073d7424a29b919737aa402b1bcc))
83
+
84
+
85
+ ### ✨ Features
86
+
87
+ * **pagination:** add new component ([01582dd](https://github.com/visitscotland/vs-component-library/commit/01582dd00658424f2748ddb1e8d00f07998beded))
88
+ * **pagination:** add styles and mobile version ([2cb36a9](https://github.com/visitscotland/vs-component-library/commit/2cb36a91eb799b36e9c600d1ef35c4ae8d2d8e48))
89
+ * **pagination:** correct style issues ([43851ea](https://github.com/visitscotland/vs-component-library/commit/43851eafae048e31e052c42f8c53c1384f27d052))
90
+ * **pagination:** rework component ([fa569e1](https://github.com/visitscotland/vs-component-library/commit/fa569e1f7415b47dd356773611807e8faeb23277))
91
+ * **pagination:** update styling ([fabd7ef](https://github.com/visitscotland/vs-component-library/commit/fabd7ef0f7718c6f79aed932ca9f87d570fb6aa7))
92
+ * **pagination:** use a function to set button classes ([f931e5d](https://github.com/visitscotland/vs-component-library/commit/f931e5d7da6c647cafebaa0ea43c76f9019b27d7))
93
+
94
+
95
+ ### 🐛 Bug Fixes
96
+
97
+ * **pagination:** accessibility fixes ([1ce3584](https://github.com/visitscotland/vs-component-library/commit/1ce35846a32a4e59e7d268ae7970c7daaffb5d3b))
98
+ * **storybook:** reset viewport when switching between stories ([b3121b9](https://github.com/visitscotland/vs-component-library/commit/b3121b92b9cb2838d82e3784b1a947205f1f759f))
99
+
40
100
  ### [4.10.3](https://github.com/visitscotland/vs-component-library/compare/v4.10.2...v4.10.3) (2025-02-14)
41
101
 
42
102