@visitscotland/component-library 5.81.0 → 5.81.2

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 (30) hide show
  1. package/LICENSE.txt +21 -21
  2. package/dist/components/{brandscotland-logo-BZOJyMV0.js → brandscotland-logo-B-rFBsn7.js} +11 -11
  3. package/dist/components/{brandscotland-logo-B2jFWtIJ.mjs → brandscotland-logo-DXuyBzua.mjs} +11 -11
  4. package/dist/components/components/content-swiper/ContentSwiper.vue.d.ts +3 -1
  5. package/dist/components/deprecated-B3DbN99Y.mjs +16 -0
  6. package/dist/components/{deprecated-BJ2e68Yo.js → deprecated-Cl9osRH8.js} +12 -12
  7. package/dist/components/{highland-cow-6AoCzBpF.mjs → highland-cow-BiKfZg7L.mjs} +14 -14
  8. package/dist/components/{highland-cow-DlMGnebG.js → highland-cow-CRm5ANrL.js} +14 -14
  9. package/dist/components/{iCentre-BnLcpIw8.js → iCentre-BeepnBTk.js} +42 -42
  10. package/dist/components/{iCentre-BLimkPxI.mjs → iCentre-DV4_tr7d.mjs} +42 -42
  11. package/dist/components/{map-pin-fZzoZBi5.mjs → map-pin-D38wYeq8.mjs} +3 -3
  12. package/dist/components/{map-pin-BLjt1O7o.js → map-pin-DdqXvStG.js} +3 -3
  13. package/dist/components/{os-logo-maps-DUN8X-lQ.mjs → os-logo-maps-B7DKWN7s.mjs} +9 -9
  14. package/dist/components/{os-logo-maps-QXAuept_.js → os-logo-maps-CF9QEvIX.js} +9 -9
  15. package/dist/components/{os-logo-maps-white-BTtf_Eki.js → os-logo-maps-white-DOUatF7F.js} +6 -6
  16. package/dist/components/{os-logo-maps-white-SKYtuD6d.mjs → os-logo-maps-white-Dl0tLZD_.mjs} +6 -6
  17. package/dist/components/{prototype-lvwJzV8T.mjs → prototype-8NKYzK-s.mjs} +13 -13
  18. package/dist/components/{prototype-DQocvgQh.js → prototype-ggLuAMuB.js} +12 -12
  19. package/dist/components/ready-DQA4tUcz.mjs +15 -0
  20. package/dist/components/{ready-D9pdKFkx.js → ready-DSUouF6L.js} +11 -11
  21. package/dist/components/{review-CknihZl_.mjs → review-B3KwWYuP.mjs} +11 -11
  22. package/dist/components/{review-7L3On10m.js → review-Bi0lAugE.js} +11 -11
  23. package/dist/components/style.css +1 -1
  24. package/dist/components/{visitscotland-logo-Nl4SrWdQ.js → visitscotland-logo-C7HXAX__.js} +31 -31
  25. package/dist/components/{visitscotland-logo-CwdiNzKU.mjs → visitscotland-logo-_463S6rr.mjs} +31 -31
  26. package/dist/components/vs-component-library.js +110 -110
  27. package/dist/components/vs-component-library.mjs +373 -373
  28. package/package.json +195 -195
  29. package/dist/components/deprecated-SV4OJNeR.mjs +0 -16
  30. package/dist/components/ready-CWPx4e9A.mjs +0 -15
package/package.json CHANGED
@@ -1,195 +1,195 @@
1
- {
2
- "name": "@visitscotland/component-library",
3
- "version": "5.81.0",
4
- "description": "VisitScotland Component Library",
5
- "author": "VisitScotland",
6
- "homepage": "https://github.com/visitscotland/vs-component-library#readme",
7
- "files": [
8
- "dist"
9
- ],
10
- "exports": {
11
- ".": {
12
- "require": "./dist/ssr/index.js"
13
- },
14
- "./components": {
15
- "types": "./dist/components/component-entry.d.ts",
16
- "import": "./dist/components/vs-component-library.mjs",
17
- "require": "./dist/components/vs-component-library.js"
18
- },
19
- "./maps": {
20
- "import": "./dist/components/vs-component-library-maps.mjs"
21
- },
22
- "./style.css": "./dist/components/style.css",
23
- "./cludo-search-results.css": "./dist/client/styles/third-party/_cludo-search-results.css",
24
- "./cludo-autocomplete.css": "./dist/client/styles/third-party/_cludo-autocomplete.css"
25
- },
26
- "license": "MIT",
27
- "scripts": {
28
- "storybook": "yarn theo && storybook dev -p 6006",
29
- "storybook:host": "yarn theo && storybook dev -h 127.0.0.1 -p 6006",
30
- "build-storybook": "yarn theo && storybook build",
31
- "build": "yarn theo && npm-run-all third-party build:vite-no-theo",
32
- "build:vite": "yarn theo && vite build",
33
- "build:vite-no-theo": "vite build",
34
- "test": "yarn theo && jest --config ./test/unit/jest.conf.cjs",
35
- "test:no-theo": "jest --config ./test/unit/jest.conf.cjs",
36
- "lint": "eslint",
37
- "lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
38
- "prettier": "prettier --write .",
39
- "prettier:check": "prettier --check .",
40
- "theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
41
- "third-party": "node scripts/build-third-party.mjs",
42
- "commit": "cz",
43
- "prepare": "husky",
44
- "prepack": "yarn && yarn build",
45
- "release:patch": "standard-version --release-as patch",
46
- "release:minor": "standard-version --release-as minor",
47
- "release:major": "standard-version --release-as major"
48
- },
49
- "lint-staged": {
50
- "*.{js,vue,ts}": "eslint"
51
- },
52
- "repository": {
53
- "type": "git",
54
- "url": "https://github.com/visitscotland/vs-component-library.git"
55
- },
56
- "keywords": [
57
- "vue.js",
58
- "visit scotland",
59
- "vue",
60
- "design system",
61
- "design",
62
- "system"
63
- ],
64
- "devDependencies": {
65
- "@babel/core": "^7.23.2",
66
- "@babel/preset-env": "^7.23.2",
67
- "@chromatic-com/storybook": "^5.2.1",
68
- "@eslint/js": "^10.0.1",
69
- "@originjs/vite-plugin-require-context": "^1.0.9",
70
- "@pinia/testing": "^2.0.1",
71
- "@popperjs/core": "^2.11.8",
72
- "@rollup/plugin-replace": "^6.0.2",
73
- "@semantic-release/exec": "^7.1.0",
74
- "@semantic-release/npm": "^13.1.5",
75
- "@storybook/addon-a11y": "10.5.6",
76
- "@storybook/addon-docs": "10.5.7",
77
- "@storybook/addon-links": "10.5.7",
78
- "@storybook/vue3-vite": "10.5.6",
79
- "@types/google.maps": "^3.64.0",
80
- "@types/node": "^26.0.1",
81
- "@types/react": "^19.2.16",
82
- "@vitejs/plugin-vue": "^6.0.7",
83
- "@vue/compiler-dom": "^3.5.35",
84
- "@vue/devtools-api": "^8.1.5",
85
- "@vue/eslint-config-typescript": "^14.7.0",
86
- "@vue/test-utils": "^2.3.2",
87
- "@vue/vue3-jest": "^29.2.6",
88
- "babel-jest": "^30.4.1",
89
- "bootstrap": "^5.3.2",
90
- "chromatic": "^18.0.1",
91
- "commitizen": "^4.3.0",
92
- "cz-conventional-changelog": "^3.3.0",
93
- "eslint": "^10.4.0",
94
- "eslint-config-prettier": "^10.1.8",
95
- "eslint-plugin-storybook": "10.5.5",
96
- "eslint-plugin-vue": "^10.9.1",
97
- "globals": "^17.6.0",
98
- "husky": "^9.1.7",
99
- "jest": "^30.4.2",
100
- "jest-axe": "^11.0.0",
101
- "jest-environment-jsdom": "^30.4.1",
102
- "jest-serializer-vue": "^3.1.0",
103
- "jiti": "^2.7.0",
104
- "lint-staged": "^17.0.7",
105
- "moxios": "^0.4.0",
106
- "npm-run-all": "^4.1.5",
107
- "optimist": "^0.6.1",
108
- "pinia": "^4.0.3",
109
- "prettier": "^3.8.3",
110
- "sass": "^1.62.1",
111
- "semantic-release": "^25.0.3",
112
- "standard-version": "^9.5.0",
113
- "storybook": "^10.5.0",
114
- "storybook-addon-tag-badges": "^3.1.0",
115
- "theo": "^8.1.5",
116
- "ts-jest": "^29.4.11",
117
- "typescript": "5.9.3",
118
- "typescript-eslint": "^8.60.0",
119
- "vite": "7.3.5",
120
- "vite-plugin-dts": "^5.0.2",
121
- "vue-eslint-parser": "^10.4.1",
122
- "vue-tsc": "^3.3.3"
123
- },
124
- "dependencies": {
125
- "@floating-ui/dom": "^1.7.6",
126
- "@googlemaps/js-api-loader": "^2.0.1",
127
- "@mapbox/geojson-extent": "^1.0.1",
128
- "@vuelidate/core": "^2.0.2",
129
- "@vuelidate/validators": "^2.0.2",
130
- "axios": "^1.4.0",
131
- "bootstrap-vue-next": "^0.45.4",
132
- "glob": "^12.0.0",
133
- "lodash": "^4.17.21",
134
- "mapbox-gl": "^1.11.1",
135
- "mitt": "^3.0.0",
136
- "swiper": "^14.0.1",
137
- "vue": "^3.5.35",
138
- "vue-combo-blocks": "^2.1.1",
139
- "vue-recaptcha": "^2.0.1",
140
- "vue-youtube-vue-3": "^1.5.0",
141
- "vue3-charts": "^1.1.33",
142
- "vue3-lazy-hydration": "^1.2.1"
143
- },
144
- "peerDependencies": {
145
- "@popperjs/core": "*",
146
- "@vue/devtools-api": "^8.1.5",
147
- "pinia": "^4.0.3",
148
- "postcss": "*"
149
- },
150
- "engines": {
151
- "node": ">= 24.15.0",
152
- "npm": ">= 6.14.5",
153
- "yarn": ">= 4.14.1"
154
- },
155
- "dependenciesMeta": {
156
- "husky": {
157
- "built": true
158
- }
159
- },
160
- "browserslist": [
161
- "> 1%",
162
- "last 2 versions",
163
- "not Explorer > 0",
164
- "not ExplorerMobile > 0",
165
- "not BlackBerry > 0",
166
- "not OperaMini all",
167
- "not OperaMobile > 0"
168
- ],
169
- "jest": {
170
- "testPathIgnorePatterns": [
171
- ".test",
172
- "node_modules"
173
- ],
174
- "jest.pathToJest": "node_modules/.bin/jest"
175
- },
176
- "config": {
177
- "commitizen": {
178
- "path": "./node_modules/cz-conventional-changelog"
179
- }
180
- },
181
- "bugs": {
182
- "url": "https://github.com/visitscotland/vs-component-library/issues"
183
- },
184
- "resolutions": {
185
- "minimist": "^0.2.4",
186
- "json5": "^1.0.2",
187
- "word-wrap": "^1.2.4",
188
- "highlight.js": "^10.4.1",
189
- "semver": "^7.5.4",
190
- "get-func-name": "^2.0.1",
191
- "svgo": "3.2.0",
192
- "tar": "^7.5.13"
193
- },
194
- "packageManager": "yarn@4.16.0"
195
- }
1
+ {
2
+ "name": "@visitscotland/component-library",
3
+ "version": "5.81.2",
4
+ "description": "VisitScotland Component Library",
5
+ "author": "VisitScotland",
6
+ "homepage": "https://github.com/visitscotland/vs-component-library#readme",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "require": "./dist/ssr/index.js"
13
+ },
14
+ "./components": {
15
+ "types": "./dist/components/component-entry.d.ts",
16
+ "import": "./dist/components/vs-component-library.mjs",
17
+ "require": "./dist/components/vs-component-library.js"
18
+ },
19
+ "./maps": {
20
+ "import": "./dist/components/vs-component-library-maps.mjs"
21
+ },
22
+ "./style.css": "./dist/components/style.css",
23
+ "./cludo-search-results.css": "./dist/client/styles/third-party/_cludo-search-results.css",
24
+ "./cludo-autocomplete.css": "./dist/client/styles/third-party/_cludo-autocomplete.css"
25
+ },
26
+ "license": "MIT",
27
+ "scripts": {
28
+ "storybook": "yarn theo && storybook dev -p 6006",
29
+ "storybook:host": "yarn theo && storybook dev -h 127.0.0.1 -p 6006",
30
+ "build-storybook": "yarn theo && storybook build",
31
+ "build": "yarn theo && npm-run-all third-party build:vite-no-theo",
32
+ "build:vite": "yarn theo && vite build",
33
+ "build:vite-no-theo": "vite build",
34
+ "test": "yarn theo && jest --config ./test/unit/jest.conf.cjs",
35
+ "test:no-theo": "jest --config ./test/unit/jest.conf.cjs",
36
+ "lint": "eslint",
37
+ "lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
38
+ "prettier": "prettier --write .",
39
+ "prettier:check": "prettier --check .",
40
+ "theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
41
+ "third-party": "node scripts/build-third-party.mjs",
42
+ "commit": "cz",
43
+ "prepare": "husky",
44
+ "prepack": "yarn && yarn build",
45
+ "release:patch": "standard-version --release-as patch",
46
+ "release:minor": "standard-version --release-as minor",
47
+ "release:major": "standard-version --release-as major"
48
+ },
49
+ "lint-staged": {
50
+ "*.{js,vue,ts}": "eslint"
51
+ },
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "https://github.com/visitscotland/vs-component-library.git"
55
+ },
56
+ "keywords": [
57
+ "vue.js",
58
+ "visit scotland",
59
+ "vue",
60
+ "design system",
61
+ "design",
62
+ "system"
63
+ ],
64
+ "devDependencies": {
65
+ "@babel/core": "^7.23.2",
66
+ "@babel/preset-env": "^7.23.2",
67
+ "@chromatic-com/storybook": "^5.2.1",
68
+ "@eslint/js": "^10.0.1",
69
+ "@originjs/vite-plugin-require-context": "^1.0.9",
70
+ "@pinia/testing": "^2.0.1",
71
+ "@popperjs/core": "^2.11.8",
72
+ "@rollup/plugin-replace": "^6.0.2",
73
+ "@semantic-release/exec": "^7.1.0",
74
+ "@semantic-release/npm": "^13.1.5",
75
+ "@storybook/addon-a11y": "10.5.6",
76
+ "@storybook/addon-docs": "10.5.7",
77
+ "@storybook/addon-links": "10.5.7",
78
+ "@storybook/vue3-vite": "10.5.6",
79
+ "@types/google.maps": "^3.64.0",
80
+ "@types/node": "^26.0.1",
81
+ "@types/react": "^19.2.16",
82
+ "@vitejs/plugin-vue": "^6.0.7",
83
+ "@vue/compiler-dom": "^3.5.35",
84
+ "@vue/devtools-api": "^8.1.5",
85
+ "@vue/eslint-config-typescript": "^14.7.0",
86
+ "@vue/test-utils": "^2.3.2",
87
+ "@vue/vue3-jest": "^29.2.6",
88
+ "babel-jest": "^30.4.1",
89
+ "bootstrap": "^5.3.2",
90
+ "chromatic": "^18.0.1",
91
+ "commitizen": "^4.3.0",
92
+ "cz-conventional-changelog": "^3.3.0",
93
+ "eslint": "^10.4.0",
94
+ "eslint-config-prettier": "^10.1.8",
95
+ "eslint-plugin-storybook": "10.5.5",
96
+ "eslint-plugin-vue": "^10.9.1",
97
+ "globals": "^17.6.0",
98
+ "husky": "^9.1.7",
99
+ "jest": "^30.4.2",
100
+ "jest-axe": "^11.0.0",
101
+ "jest-environment-jsdom": "^30.4.1",
102
+ "jest-serializer-vue": "^3.1.0",
103
+ "jiti": "^2.7.0",
104
+ "lint-staged": "^17.0.7",
105
+ "moxios": "^0.4.0",
106
+ "npm-run-all": "^4.1.5",
107
+ "optimist": "^0.6.1",
108
+ "pinia": "^4.0.3",
109
+ "prettier": "^3.8.3",
110
+ "sass": "^1.62.1",
111
+ "semantic-release": "^25.0.3",
112
+ "standard-version": "^9.5.0",
113
+ "storybook": "^10.5.0",
114
+ "storybook-addon-tag-badges": "^3.1.0",
115
+ "theo": "^8.1.5",
116
+ "ts-jest": "^29.4.11",
117
+ "typescript": "5.9.3",
118
+ "typescript-eslint": "^8.60.0",
119
+ "vite": "7.3.5",
120
+ "vite-plugin-dts": "^5.0.2",
121
+ "vue-eslint-parser": "^10.4.1",
122
+ "vue-tsc": "^3.3.3"
123
+ },
124
+ "dependencies": {
125
+ "@floating-ui/dom": "^1.7.6",
126
+ "@googlemaps/js-api-loader": "^2.0.1",
127
+ "@mapbox/geojson-extent": "^1.0.1",
128
+ "@vuelidate/core": "^2.0.2",
129
+ "@vuelidate/validators": "^2.0.2",
130
+ "axios": "^1.4.0",
131
+ "bootstrap-vue-next": "^0.45.4",
132
+ "glob": "^12.0.0",
133
+ "lodash": "^4.17.21",
134
+ "mapbox-gl": "^1.11.1",
135
+ "mitt": "^3.0.0",
136
+ "swiper": "^14.0.1",
137
+ "vue": "^3.5.35",
138
+ "vue-combo-blocks": "^2.1.1",
139
+ "vue-recaptcha": "^2.0.1",
140
+ "vue-youtube-vue-3": "^1.5.0",
141
+ "vue3-charts": "^1.1.33",
142
+ "vue3-lazy-hydration": "^1.2.1"
143
+ },
144
+ "peerDependencies": {
145
+ "@popperjs/core": "*",
146
+ "@vue/devtools-api": "^8.1.5",
147
+ "pinia": "^4.0.3",
148
+ "postcss": "*"
149
+ },
150
+ "engines": {
151
+ "node": ">= 24.15.0",
152
+ "npm": ">= 6.14.5",
153
+ "yarn": ">= 4.14.1"
154
+ },
155
+ "dependenciesMeta": {
156
+ "husky": {
157
+ "built": true
158
+ }
159
+ },
160
+ "browserslist": [
161
+ "> 1%",
162
+ "last 2 versions",
163
+ "not Explorer > 0",
164
+ "not ExplorerMobile > 0",
165
+ "not BlackBerry > 0",
166
+ "not OperaMini all",
167
+ "not OperaMobile > 0"
168
+ ],
169
+ "jest": {
170
+ "testPathIgnorePatterns": [
171
+ ".test",
172
+ "node_modules"
173
+ ],
174
+ "jest.pathToJest": "node_modules/.bin/jest"
175
+ },
176
+ "config": {
177
+ "commitizen": {
178
+ "path": "./node_modules/cz-conventional-changelog"
179
+ }
180
+ },
181
+ "bugs": {
182
+ "url": "https://github.com/visitscotland/vs-component-library/issues"
183
+ },
184
+ "resolutions": {
185
+ "minimist": "^0.2.4",
186
+ "json5": "^1.0.2",
187
+ "word-wrap": "^1.2.4",
188
+ "highlight.js": "^10.4.1",
189
+ "semver": "^7.5.4",
190
+ "get-func-name": "^2.0.1",
191
+ "svgo": "3.2.0",
192
+ "tar": "^7.5.13"
193
+ },
194
+ "packageManager": "yarn@4.16.0"
195
+ }
@@ -1,16 +0,0 @@
1
- const e = `<?xml version="1.0" encoding="utf-8"?>\r
2
- <!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\r
3
- <svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
4
- x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\r
5
- <style type="text/css">\r
6
- .st0{fill:#AF0A6E;}\r
7
- </style>\r
8
- <path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M336.1,303\r
9
- c9.4,9.4,9.4,24.6,0,33.9c-9.4,9.4-24.6,9.4-33.9,0l-46.2-47l-47,47c-9.4,9.4-24.6,9.4-33.9,0c-9.4-9.4-9.4-24.6,0-33.9l47-47\r
10
- L175,208.1c-9.4-9.4-9.4-24.6,0-33.9s24.6-9.4,33.9,0l47.1,47.9l47-47c9.4-9.4,24.6-9.4,33.9,0s9.4,24.6,0,33.9l-47,47L336.1,303z"\r
11
- />\r
12
- </svg>\r
13
- `;
14
- export {
15
- e as default
16
- };
@@ -1,15 +0,0 @@
1
- const r = `<?xml version="1.0" encoding="utf-8"?>\r
2
- <!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\r
3
- <svg version="1.1" id="Layer_1" focusable="false" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r
4
- x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\r
5
- <style type="text/css">\r
6
- .st0{fill:#28C7C4;}\r
7
- </style>\r
8
- <path class="st0" d="M256,0C114.6,0,0,114.6,0,256s114.6,256,256,256s256-114.6,256-256S397.4,0,256,0z M371.8,211.8l-128,128\r
9
- c-5.5,5.5-12.6,8.2-19.8,8.2s-14.3-2.7-19.8-8.2l-64-64c-10.9-10.9-10.9-28.7,0-39.6c10.9-10.9,28.7-10.9,39.6,0l44.2,44.2\r
10
- l108.2-108.2c10.9-10.9,28.7-10.9,39.6,0C382.7,183.1,382.7,200.9,371.8,211.8z"/>\r
11
- </svg>\r
12
- `;
13
- export {
14
- r as default
15
- };